[2026-10-16 00:00:00] local.INFO: TCP Data received {"connection_id":219292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140cf9b70012d7c240005dad510000300ea21..."} 
[2026-10-16 00:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140cf9b70012d7c240005dad510000300ea21..."} 
[2026-10-16 00:00:00] local.INFO: Processing buffer {"connection_id":219292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140cf9b70012d7c240005dad510000300ea21..."} 
[2026-10-16 00:00:00] local.INFO: Packet analysis {"connection_id":219292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140cf"} 
[2026-10-16 00:00:00] local.INFO: Extracted packet for processing {"connection_id":219292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140cf"} 
[2026-10-16 00:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774632704001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792088710000,"timestamp_ms":1792088710000,"timestamp_seconds":1792088710,"priority":1,"record_length":96,"hex_timestamp":"000001a140cf9b70"} 
[2026-10-16 00:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:00:00] 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-10-16 00: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-10-16 00:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774632704001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774632704001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:00:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774632704001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":219292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:00:00] local.INFO: GPS data processed {"connection_id":219292,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:00:00] local.INFO: Acknowledgment sent {"connection_id":219292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:00:17] local.INFO: TCP Data received {"connection_id":217545,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:00:17] local.INFO: Processing buffer {"connection_id":217545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:00:17] local.INFO: IMEI packet received {"connection_id":217545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":217545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:00:22] local.INFO: TCP Data received {"connection_id":216018,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:00:22] local.INFO: Processing buffer {"connection_id":216018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:00:22] local.INFO: IMEI packet received {"connection_id":216018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":216018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:00:23] local.INFO: TCP Data received {"connection_id":217545,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:00:23] local.INFO: Processing buffer {"connection_id":217545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:00:23] local.INFO: IMEI packet received {"connection_id":217545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":217545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:00:24] local.INFO: TCP Data received {"connection_id":217545,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:00:24] local.INFO: Processing buffer {"connection_id":217545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:00:24] local.INFO: Packet analysis {"connection_id":217545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d0"} 
[2026-10-16 00:00:24] local.INFO: Extracted packet for processing {"connection_id":217545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d0"} 
[2026-10-16 00:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":11,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774651904001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900725209088,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792088786000,"timestamp_ms":1792088786000,"timestamp_seconds":1792088786,"priority":1,"record_length":96,"hex_timestamp":"000001a140d0c450"} 
[2026-10-16 00:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 00:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774651904001,"66":26604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199868900725209088},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774651904001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:00:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:00:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900725209088,"description":"Unknown IO ID 45"} 
[2026-10-16 00:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774651904001,"power":26604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199868900725209088}} 
[2026-10-16 00:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":217545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:00:24] local.INFO: GPS data processed {"connection_id":217545,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:00:24] local.INFO: Acknowledgment sent {"connection_id":217545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:00:27] local.INFO: TCP Data received {"connection_id":216018,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:00:27] local.INFO: Processing buffer {"connection_id":216018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:00:27] local.INFO: IMEI packet received {"connection_id":216018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":216018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:00:27] local.INFO: TCP Data received {"connection_id":216018,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:00:27] local.INFO: Processing buffer {"connection_id":216018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:00:27] local.INFO: Packet analysis {"connection_id":216018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:00:27] local.INFO: Extracted packet for processing {"connection_id":216018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774709760001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792089011000,"timestamp_ms":1792089011000,"timestamp_seconds":1792089011,"priority":1,"record_length":96,"hex_timestamp":"000001a140d43338"} 
[2026-10-16 00:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:00:27] 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-10-16 00:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774709760001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774709760001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:00:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774709760001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":216018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:00:28] local.INFO: GPS data processed {"connection_id":216018,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:00:28] local.INFO: Acknowledgment sent {"connection_id":216018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:00:30] local.INFO: TCP Data received {"connection_id":216017,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:00:30] local.INFO: Processing buffer {"connection_id":216017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:00:30] local.INFO: Packet analysis {"connection_id":216017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:00:30] local.INFO: Extracted packet for processing {"connection_id":216017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:00: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-10-16 00:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774695168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792088954000,"timestamp_ms":1792088954000,"timestamp_seconds":1792088954,"priority":1,"record_length":96,"hex_timestamp":"000001a140d35490"} 
[2026-10-16 00:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:00: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":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:00: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-10-16 00:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774695168001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774695168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:00:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774695168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":216017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:00:30] local.INFO: GPS data processed {"connection_id":216017,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:00:30] local.INFO: Acknowledgment sent {"connection_id":216017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:00:53] local.INFO: TCP Data received {"connection_id":216019,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:00:53] local.INFO: Processing buffer {"connection_id":216019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:00:53] local.INFO: IMEI packet received {"connection_id":216019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":216019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:00:56] local.INFO: TCP Data received {"connection_id":217545,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:00:56] local.INFO: Processing buffer {"connection_id":217545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:00:56] local.INFO: Packet analysis {"connection_id":217545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d0"} 
[2026-10-16 00:00:56] local.INFO: Extracted packet for processing {"connection_id":217545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d0"} 
[2026-10-16 00:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":11,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774651904001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900725209088,"note":"Value kept but may cause issues"} 
[2026-10-16 00:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792088786000,"timestamp_ms":1792088786000,"timestamp_seconds":1792088786,"priority":1,"record_length":96,"hex_timestamp":"000001a140d0c450"} 
[2026-10-16 00:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 00:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774651904001,"66":26604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199868900725209088},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774651904001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:00:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:00:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900725209088,"description":"Unknown IO ID 45"} 
[2026-10-16 00:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774651904001,"power":26604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199868900725209088}} 
[2026-10-16 00:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":217545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:00:56] local.INFO: GPS data processed {"connection_id":217545,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:00:56] local.INFO: Acknowledgment sent {"connection_id":217545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:00:58] local.INFO: TCP Data received {"connection_id":216019,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:00:58] local.INFO: Processing buffer {"connection_id":216019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:00:58] local.INFO: IMEI packet received {"connection_id":216019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":216019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:01:02] local.INFO: TCP Data received {"connection_id":216018,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:01:02] local.INFO: Processing buffer {"connection_id":216018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:01:02] local.INFO: Packet analysis {"connection_id":216018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:01:02] local.INFO: Extracted packet for processing {"connection_id":216018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774709760001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792089011000,"timestamp_ms":1792089011000,"timestamp_seconds":1792089011,"priority":1,"record_length":96,"hex_timestamp":"000001a140d43338"} 
[2026-10-16 00:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774709760001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774709760001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:01:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774709760001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":216018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:01:02] local.INFO: GPS data processed {"connection_id":216018,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:01:02] local.INFO: Acknowledgment sent {"connection_id":216018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:01:03] local.INFO: TCP Data received {"connection_id":216019,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:01:03] local.INFO: Processing buffer {"connection_id":216019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:01:03] local.INFO: Packet analysis {"connection_id":216019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:01:03] local.INFO: Extracted packet for processing {"connection_id":216019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774695168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792088954000,"timestamp_ms":1792088954000,"timestamp_seconds":1792088954,"priority":1,"record_length":96,"hex_timestamp":"000001a140d35490"} 
[2026-10-16 00:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774695168001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774695168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:01:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774695168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":216019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:01:03] local.INFO: GPS data processed {"connection_id":216019,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:01:03] local.INFO: Acknowledgment sent {"connection_id":216019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:01:21] local.INFO: TCP Data received {"connection_id":216203,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:01:21] local.INFO: Processing buffer {"connection_id":216203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:01:21] local.INFO: IMEI packet received {"connection_id":216203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":216203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:01:23] local.INFO: TCP Data received {"connection_id":219293,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:01:23] local.INFO: Processing buffer {"connection_id":219293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:01:23] local.INFO: IMEI packet received {"connection_id":219293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":219293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:01:27] local.INFO: TCP Data received {"connection_id":216203,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:01:27] local.INFO: Processing buffer {"connection_id":216203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:01:27] local.INFO: IMEI packet received {"connection_id":216203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":216203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:01:27] local.INFO: TCP Data received {"connection_id":216203,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:01:27] local.INFO: Processing buffer {"connection_id":216203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:01:27] local.INFO: Packet analysis {"connection_id":216203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:01:27] local.INFO: Extracted packet for processing {"connection_id":216203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774709760001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792089011000,"timestamp_ms":1792089011000,"timestamp_seconds":1792089011,"priority":1,"record_length":96,"hex_timestamp":"000001a140d43338"} 
[2026-10-16 00:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:01: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-10-16 00:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774709760001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774709760001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:01:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774709760001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":216203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:01:27] local.INFO: GPS data processed {"connection_id":216203,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:01:27] local.INFO: Acknowledgment sent {"connection_id":216203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:01:28] local.INFO: TCP Data received {"connection_id":219293,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:01:28] local.INFO: Processing buffer {"connection_id":219293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:01:28] local.INFO: IMEI packet received {"connection_id":219293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":219293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:01:30] local.INFO: TCP Data received {"connection_id":219293,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:01:30] local.INFO: Processing buffer {"connection_id":219293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:01:30] local.INFO: Packet analysis {"connection_id":219293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d0"} 
[2026-10-16 00:01:30] local.INFO: Extracted packet for processing {"connection_id":219293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d0"} 
[2026-10-16 00:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":11,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774651904001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900725209088,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792088786000,"timestamp_ms":1792088786000,"timestamp_seconds":1792088786,"priority":1,"record_length":96,"hex_timestamp":"000001a140d0c450"} 
[2026-10-16 00:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 00:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774651904001,"66":26604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199868900725209088},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774651904001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:01:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:01:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900725209088,"description":"Unknown IO ID 45"} 
[2026-10-16 00:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774651904001,"power":26604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199868900725209088}} 
[2026-10-16 00:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":219293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:01:30] local.INFO: GPS data processed {"connection_id":219293,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:01:30] local.INFO: Acknowledgment sent {"connection_id":219293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:01:34] local.INFO: TCP Data received {"connection_id":216019,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:01:34] local.INFO: Processing buffer {"connection_id":216019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:01:34] local.INFO: Packet analysis {"connection_id":216019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:01:34] local.INFO: Extracted packet for processing {"connection_id":216019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774695168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792088954000,"timestamp_ms":1792088954000,"timestamp_seconds":1792088954,"priority":1,"record_length":96,"hex_timestamp":"000001a140d35490"} 
[2026-10-16 00:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774695168001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774695168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:01:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774695168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":216019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:01:34] local.INFO: GPS data processed {"connection_id":216019,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:01:34] local.INFO: Acknowledgment sent {"connection_id":216019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:01:55] local.INFO: TCP Data received {"connection_id":219294,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:01:55] local.INFO: Processing buffer {"connection_id":219294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:01:55] local.INFO: IMEI packet received {"connection_id":219294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":219294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:01:58] local.INFO: TCP Data received {"connection_id":219294,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:01:58] local.INFO: Processing buffer {"connection_id":219294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:01:58] local.INFO: IMEI packet received {"connection_id":219294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":219294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:01:59] local.INFO: TCP Data received {"connection_id":216203,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:01:59] local.INFO: Processing buffer {"connection_id":216203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:01:59] local.INFO: Packet analysis {"connection_id":216203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:01:59] local.INFO: Extracted packet for processing {"connection_id":216203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774709760001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089011000,"timestamp_ms":1792089011000,"timestamp_seconds":1792089011,"priority":1,"record_length":96,"hex_timestamp":"000001a140d43338"} 
[2026-10-16 00:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:01:59] 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-10-16 00:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:01: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-10-16 00:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774709760001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774709760001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:01:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774709760001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":216203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:01:59] local.INFO: GPS data processed {"connection_id":216203,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:01:59] local.INFO: Acknowledgment sent {"connection_id":216203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:01:59] local.INFO: TCP Data received {"connection_id":219294,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:01:59] local.INFO: Processing buffer {"connection_id":219294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:01:59] local.INFO: Packet analysis {"connection_id":219294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:01:59] local.INFO: Extracted packet for processing {"connection_id":219294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774695168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792088954000,"timestamp_ms":1792088954000,"timestamp_seconds":1792088954,"priority":1,"record_length":96,"hex_timestamp":"000001a140d35490"} 
[2026-10-16 00:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774695168001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774695168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774695168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":219294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:01:59] local.INFO: GPS data processed {"connection_id":219294,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:01:59] local.INFO: Acknowledgment sent {"connection_id":219294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:02:01] local.INFO: TCP Data received {"connection_id":219293,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:02:01] local.INFO: Processing buffer {"connection_id":219293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d0c450012d7fac4005afe350000b00a62c..."} 
[2026-10-16 00:02:01] local.INFO: Packet analysis {"connection_id":219293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d0"} 
[2026-10-16 00:02:01] local.INFO: Extracted packet for processing {"connection_id":219293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d0"} 
[2026-10-16 00:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":11,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774651904001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900725209088,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792088786000,"timestamp_ms":1792088786000,"timestamp_seconds":1792088786,"priority":1,"record_length":96,"hex_timestamp":"000001a140d0c450"} 
[2026-10-16 00:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 00:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774651904001,"66":26604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199868900725209088},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774651904001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:02:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:02:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900725209088,"description":"Unknown IO ID 45"} 
[2026-10-16 00:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774651904001,"power":26604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199868900725209088}} 
[2026-10-16 00:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":219293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:02:01] local.INFO: GPS data processed {"connection_id":219293,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:02:01] local.INFO: Acknowledgment sent {"connection_id":219293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:02:17] local.INFO: TCP Data received {"connection_id":216020,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:02:17] local.INFO: Processing buffer {"connection_id":216020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:02:17] local.INFO: IMEI packet received {"connection_id":216020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":216020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:02:21] local.INFO: TCP Data received {"connection_id":217546,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:02:21] local.INFO: Processing buffer {"connection_id":217546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:02:21] local.INFO: IMEI packet received {"connection_id":217546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":217546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:02:23] local.INFO: TCP Data received {"connection_id":216020,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:02:23] local.INFO: Processing buffer {"connection_id":216020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:02:23] local.INFO: IMEI packet received {"connection_id":216020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":216020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:02:26] local.INFO: TCP Data received {"connection_id":216020,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:02:26] local.INFO: Processing buffer {"connection_id":216020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:02:26] local.INFO: Packet analysis {"connection_id":216020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:02:26] local.INFO: Extracted packet for processing {"connection_id":216020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:02:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792089087000,"timestamp_ms":1792089087000,"timestamp_seconds":1792089087,"priority":1,"record_length":96,"hex_timestamp":"000001a140d55c18"} 
[2026-10-16 00:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-16 00:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774729216001,"66":26158,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:02:26] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:02:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774729216001,"power":26158,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":216020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:02:26] local.INFO: GPS data processed {"connection_id":216020,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:02:26] local.INFO: Acknowledgment sent {"connection_id":216020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:02:27] local.INFO: TCP Data received {"connection_id":217546,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:02:27] local.INFO: Processing buffer {"connection_id":217546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:02:27] local.INFO: IMEI packet received {"connection_id":217546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":217546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:02:28] local.INFO: TCP Data received {"connection_id":217546,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:02:28] local.INFO: Processing buffer {"connection_id":217546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:02:28] local.INFO: Packet analysis {"connection_id":217546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:02:28] local.INFO: Extracted packet for processing {"connection_id":217546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774709760001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089011000,"timestamp_ms":1792089011000,"timestamp_seconds":1792089011,"priority":1,"record_length":96,"hex_timestamp":"000001a140d43338"} 
[2026-10-16 00:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774709760001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774709760001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:02:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774709760001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":217546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:02:28] local.INFO: GPS data processed {"connection_id":217546,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:02:28] local.INFO: Acknowledgment sent {"connection_id":217546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:02:31] local.INFO: TCP Data received {"connection_id":219294,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:02:31] local.INFO: Processing buffer {"connection_id":219294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:02:31] local.INFO: Packet analysis {"connection_id":219294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:02:31] local.INFO: Extracted packet for processing {"connection_id":219294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774695168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792088954000,"timestamp_ms":1792088954000,"timestamp_seconds":1792088954,"priority":1,"record_length":96,"hex_timestamp":"000001a140d35490"} 
[2026-10-16 00:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774695168001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774695168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:02:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:02:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774695168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":219294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:02:31] local.INFO: GPS data processed {"connection_id":219294,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:02:31] local.INFO: Acknowledgment sent {"connection_id":219294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:02:53] local.INFO: TCP Data received {"connection_id":216204,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:02:53] local.INFO: Processing buffer {"connection_id":216204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:02:53] local.INFO: IMEI packet received {"connection_id":216204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":216204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:02:58] local.INFO: TCP Data received {"connection_id":216020,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:02:58] local.INFO: Processing buffer {"connection_id":216020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:02:58] local.INFO: Packet analysis {"connection_id":216020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:02:58] local.INFO: Extracted packet for processing {"connection_id":216020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792089087000,"timestamp_ms":1792089087000,"timestamp_seconds":1792089087,"priority":1,"record_length":96,"hex_timestamp":"000001a140d55c18"} 
[2026-10-16 00:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-16 00:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774729216001,"66":26158,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:02:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:02:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774729216001,"power":26158,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":216020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:02:58] local.INFO: GPS data processed {"connection_id":216020,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:02:58] local.INFO: Acknowledgment sent {"connection_id":216020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:02:58] local.INFO: TCP Data received {"connection_id":216204,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:02:58] local.INFO: Processing buffer {"connection_id":216204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:02:58] local.INFO: IMEI packet received {"connection_id":216204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":216204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:02:59] local.INFO: TCP Data received {"connection_id":216204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:02:59] local.INFO: Processing buffer {"connection_id":216204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:02:59] local.INFO: Packet analysis {"connection_id":216204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:02:59] local.INFO: Extracted packet for processing {"connection_id":216204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774695168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792088954000,"timestamp_ms":1792088954000,"timestamp_seconds":1792088954,"priority":1,"record_length":96,"hex_timestamp":"000001a140d35490"} 
[2026-10-16 00:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774695168001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774695168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:02:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774695168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":216204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:02:59] local.INFO: GPS data processed {"connection_id":216204,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:02:59] local.INFO: Acknowledgment sent {"connection_id":216204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:03:00] local.INFO: TCP Data received {"connection_id":217546,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:03:00] local.INFO: Processing buffer {"connection_id":217546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:03:00] local.INFO: Packet analysis {"connection_id":217546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:03:00] local.INFO: Extracted packet for processing {"connection_id":217546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774709760001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792089011000,"timestamp_ms":1792089011000,"timestamp_seconds":1792089011,"priority":1,"record_length":96,"hex_timestamp":"000001a140d43338"} 
[2026-10-16 00:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:03:00] 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-10-16 00:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774709760001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774709760001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:03:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774709760001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":217546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:03:00] local.INFO: GPS data processed {"connection_id":217546,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:03:00] local.INFO: Acknowledgment sent {"connection_id":217546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:03:17] local.INFO: TCP Data received {"connection_id":216021,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:03:17] local.INFO: Processing buffer {"connection_id":216021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:03:17] local.INFO: IMEI packet received {"connection_id":216021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":216021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:03:23] local.INFO: TCP Data received {"connection_id":216021,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:03:23] local.INFO: Processing buffer {"connection_id":216021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:03:23] local.INFO: IMEI packet received {"connection_id":216021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":216021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:03:24] local.INFO: TCP Data received {"connection_id":216021,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:03:24] local.INFO: Processing buffer {"connection_id":216021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:03:24] local.INFO: Packet analysis {"connection_id":216021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:03:24] local.INFO: Extracted packet for processing {"connection_id":216021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:03:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792089087000,"timestamp_ms":1792089087000,"timestamp_seconds":1792089087,"priority":1,"record_length":96,"hex_timestamp":"000001a140d55c18"} 
[2026-10-16 00:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-16 00:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774729216001,"66":26158,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:03:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:03:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774729216001,"power":26158,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":216021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:03:24] local.INFO: GPS data processed {"connection_id":216021,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:03:24] local.INFO: Acknowledgment sent {"connection_id":216021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:03:27] local.INFO: TCP Data received {"connection_id":219295,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:03:27] local.INFO: Processing buffer {"connection_id":219295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:03:27] local.INFO: IMEI packet received {"connection_id":219295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":219295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:03:30] local.INFO: TCP Data received {"connection_id":216204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:03:30] local.INFO: Processing buffer {"connection_id":216204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:03:30] local.INFO: Packet analysis {"connection_id":216204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:03:30] local.INFO: Extracted packet for processing {"connection_id":216204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774695168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792088954000,"timestamp_ms":1792088954000,"timestamp_seconds":1792088954,"priority":1,"record_length":96,"hex_timestamp":"000001a140d35490"} 
[2026-10-16 00:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774695168001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774695168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:03:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774695168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":216204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:03:30] local.INFO: GPS data processed {"connection_id":216204,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:03:30] local.INFO: Acknowledgment sent {"connection_id":216204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:03:32] local.INFO: TCP Data received {"connection_id":219295,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:03:32] local.INFO: Processing buffer {"connection_id":219295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:03:32] local.INFO: IMEI packet received {"connection_id":219295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":219295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:03:33] local.INFO: TCP Data received {"connection_id":219295,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:03:33] local.INFO: Processing buffer {"connection_id":219295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:03:33] local.INFO: Packet analysis {"connection_id":219295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:03:33] local.INFO: Extracted packet for processing {"connection_id":219295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774709760001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792089011000,"timestamp_ms":1792089011000,"timestamp_seconds":1792089011,"priority":1,"record_length":96,"hex_timestamp":"000001a140d43338"} 
[2026-10-16 00:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774709760001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774709760001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:03:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774709760001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":219295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:03:33] local.INFO: GPS data processed {"connection_id":219295,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:03:33] local.INFO: Acknowledgment sent {"connection_id":219295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:03:47] local.INFO: TCP Data received {"connection_id":219295,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:03:47] local.INFO: Processing buffer {"connection_id":219295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:03:47] local.INFO: Packet analysis {"connection_id":219295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:03:47] local.INFO: Extracted packet for processing {"connection_id":219295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774709760001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792089011000,"timestamp_ms":1792089011000,"timestamp_seconds":1792089011,"priority":1,"record_length":96,"hex_timestamp":"000001a140d43338"} 
[2026-10-16 00:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":219295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":219295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":219295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774709760001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774709760001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:03:47] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774709760001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":219295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:03:48] local.INFO: GPS data processed {"connection_id":219295,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:03:48] local.INFO: Acknowledgment sent {"connection_id":219295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:03:56] local.INFO: TCP Data received {"connection_id":216021,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:03:56] local.INFO: Processing buffer {"connection_id":216021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:03:56] local.INFO: Packet analysis {"connection_id":216021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:03:56] local.INFO: Extracted packet for processing {"connection_id":216021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792089087000,"timestamp_ms":1792089087000,"timestamp_seconds":1792089087,"priority":1,"record_length":96,"hex_timestamp":"000001a140d55c18"} 
[2026-10-16 00:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-16 00:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774729216001,"66":26158,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:03:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:03:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774729216001,"power":26158,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":216021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:03:56] local.INFO: GPS data processed {"connection_id":216021,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:03:56] local.INFO: Acknowledgment sent {"connection_id":216021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:03:58] local.INFO: TCP Data received {"connection_id":216022,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:03:58] local.INFO: Processing buffer {"connection_id":216022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:03:58] local.INFO: IMEI packet received {"connection_id":216022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":216022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:04:03] local.INFO: TCP Data received {"connection_id":216022,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:03] local.INFO: Processing buffer {"connection_id":216022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:03] local.INFO: IMEI packet received {"connection_id":216022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":216022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:04:04] local.INFO: TCP Data received {"connection_id":216022,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:04:04] local.INFO: Processing buffer {"connection_id":216022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:04:04] local.INFO: Packet analysis {"connection_id":216022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:04:04] local.INFO: Extracted packet for processing {"connection_id":216022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774695168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792088954000,"timestamp_ms":1792088954000,"timestamp_seconds":1792088954,"priority":1,"record_length":96,"hex_timestamp":"000001a140d35490"} 
[2026-10-16 00:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:04: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-10-16 00:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774695168001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774695168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:04:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774695168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":216022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:04:04] local.INFO: GPS data processed {"connection_id":216022,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:04:04] local.INFO: Acknowledgment sent {"connection_id":216022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:04:08] local.INFO: TCP Data received {"connection_id":216022,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:04:08] local.INFO: Processing buffer {"connection_id":216022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d35490012d196500071ff048003b014623..."} 
[2026-10-16 00:04:08] local.INFO: Packet analysis {"connection_id":216022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:04:08] local.INFO: Extracted packet for processing {"connection_id":216022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d3"} 
[2026-10-16 00:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774695168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792088954000,"timestamp_ms":1792088954000,"timestamp_seconds":1792088954,"priority":1,"record_length":96,"hex_timestamp":"000001a140d35490"} 
[2026-10-16 00:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774695168001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774695168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:04:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774695168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":216022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:04:08] local.INFO: GPS data processed {"connection_id":216022,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:04:08] local.INFO: Acknowledgment sent {"connection_id":216022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:04:22] local.INFO: TCP Data received {"connection_id":216023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:04:22] local.INFO: Processing buffer {"connection_id":216023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:04:22] local.INFO: IMEI packet received {"connection_id":216023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":216023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:04:23] local.INFO: TCP Data received {"connection_id":216024,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:04:23] local.INFO: Processing buffer {"connection_id":216024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:04:23] local.INFO: IMEI packet received {"connection_id":216024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":216024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:04:27] local.INFO: TCP Data received {"connection_id":216023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:04:27] local.INFO: Processing buffer {"connection_id":216023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:04:27] local.INFO: IMEI packet received {"connection_id":216023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":216023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:04:28] local.INFO: TCP Data received {"connection_id":216024,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:04:28] local.INFO: Processing buffer {"connection_id":216024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:04:28] local.INFO: IMEI packet received {"connection_id":216024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":216024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:04:29] local.INFO: TCP Data received {"connection_id":216024,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:04:29] local.INFO: Processing buffer {"connection_id":216024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:04:29] local.INFO: Packet analysis {"connection_id":216024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:04:29] local.INFO: Extracted packet for processing {"connection_id":216024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:04: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-10-16 00:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792089087000,"timestamp_ms":1792089087000,"timestamp_seconds":1792089087,"priority":1,"record_length":96,"hex_timestamp":"000001a140d55c18"} 
[2026-10-16 00:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:04: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-16 00:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:04: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-10-16 00:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774729216001,"66":26158,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:04:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:04:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774729216001,"power":26158,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":216024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:04:29] local.INFO: GPS data processed {"connection_id":216024,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:04:29] local.INFO: Acknowledgment sent {"connection_id":216024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:04:31] local.INFO: TCP Data received {"connection_id":216023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:04:31] local.INFO: Processing buffer {"connection_id":216023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:04:31] local.INFO: Packet analysis {"connection_id":216023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:04:31] local.INFO: Extracted packet for processing {"connection_id":216023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774709760001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792089011000,"timestamp_ms":1792089011000,"timestamp_seconds":1792089011,"priority":1,"record_length":96,"hex_timestamp":"000001a140d43338"} 
[2026-10-16 00:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:04:31] 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-10-16 00:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774709760001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774709760001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:04:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774709760001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":216023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:04:31] local.INFO: GPS data processed {"connection_id":216023,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:04:31] local.INFO: Acknowledgment sent {"connection_id":216023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:04:34] local.INFO: TCP Data received {"connection_id":216024,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:04:34] local.INFO: Processing buffer {"connection_id":216024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:04:34] local.INFO: Packet analysis {"connection_id":216024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:04:34] local.INFO: Extracted packet for processing {"connection_id":216024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792089087000,"timestamp_ms":1792089087000,"timestamp_seconds":1792089087,"priority":1,"record_length":96,"hex_timestamp":"000001a140d55c18"} 
[2026-10-16 00:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-16 00:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774729216001,"66":26158,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:04:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:04:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774729216001,"power":26158,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":216024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:04:34] local.INFO: GPS data processed {"connection_id":216024,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:04:34] local.INFO: Acknowledgment sent {"connection_id":216024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:04:53] local.INFO: TCP Data received {"connection_id":216025,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:53] local.INFO: Processing buffer {"connection_id":216025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:53] local.INFO: IMEI packet received {"connection_id":216025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":216025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:04:54] local.INFO: TCP Data received {"connection_id":216025,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:54] local.INFO: Processing buffer {"connection_id":216025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:54] local.INFO: IMEI packet received {"connection_id":216025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":216025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:04:58] local.INFO: TCP Data received {"connection_id":216025,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:58] local.INFO: Processing buffer {"connection_id":216025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:04:58] local.INFO: IMEI packet received {"connection_id":216025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":216025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:04:59] local.INFO: TCP Data received {"connection_id":216025,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:04:59] local.INFO: Processing buffer {"connection_id":216025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:04:59] local.INFO: Packet analysis {"connection_id":216025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:04:59] local.INFO: Extracted packet for processing {"connection_id":216025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774772224001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089255000,"timestamp_ms":1792089255000,"timestamp_seconds":1792089255,"priority":1,"record_length":96,"hex_timestamp":"000001a140d7ec58"} 
[2026-10-16 00:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:04:59] 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-10-16 00:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774772224001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774772224001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:04:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774772224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":216025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:04:59] local.INFO: GPS data processed {"connection_id":216025,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:04:59] local.INFO: Acknowledgment sent {"connection_id":216025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:05:03] local.INFO: TCP Data received {"connection_id":216023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:05:03] local.INFO: Processing buffer {"connection_id":216023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d43338012d7c240005dad510000300ea21..."} 
[2026-10-16 00:05:03] local.INFO: Packet analysis {"connection_id":216023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:05:03] local.INFO: Extracted packet for processing {"connection_id":216023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d4"} 
[2026-10-16 00:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774709760001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792089011000,"timestamp_ms":1792089011000,"timestamp_seconds":1792089011,"priority":1,"record_length":96,"hex_timestamp":"000001a140d43338"} 
[2026-10-16 00:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:05:03] 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-10-16 00:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:05: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-10-16 00:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774709760001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774709760001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:05:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:05:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774709760001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":216023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:05:03] local.INFO: GPS data processed {"connection_id":216023,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:05:03] local.INFO: Acknowledgment sent {"connection_id":216023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:05:03] local.INFO: TCP Data received {"connection_id":216025,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:05:03] local.INFO: Processing buffer {"connection_id":216025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:05:03] local.INFO: Packet analysis {"connection_id":216025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:05:03] local.INFO: Extracted packet for processing {"connection_id":216025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774772224001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792089255000,"timestamp_ms":1792089255000,"timestamp_seconds":1792089255,"priority":1,"record_length":96,"hex_timestamp":"000001a140d7ec58"} 
[2026-10-16 00:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774772224001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774772224001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:05:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774772224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":216025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:05:04] local.INFO: GPS data processed {"connection_id":216025,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:05:04] local.INFO: Acknowledgment sent {"connection_id":216025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:05:18] local.INFO: TCP Data received {"connection_id":216205,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:05:18] local.INFO: Processing buffer {"connection_id":216205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:05:18] local.INFO: IMEI packet received {"connection_id":216205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":216205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:05:22] local.INFO: TCP Data received {"connection_id":217547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:05:22] local.INFO: Processing buffer {"connection_id":217547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:05:22] local.INFO: IMEI packet received {"connection_id":217547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":217547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:05:22] local.INFO: TCP Data received {"connection_id":219296,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:05:22] local.INFO: Processing buffer {"connection_id":219296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:05:22] local.INFO: IMEI packet received {"connection_id":219296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":219296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:05:23] local.INFO: TCP Data received {"connection_id":216205,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:05:23] local.INFO: Processing buffer {"connection_id":216205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:05:23] local.INFO: IMEI packet received {"connection_id":216205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":216205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:05:25] local.INFO: TCP Data received {"connection_id":216205,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:05:25] local.INFO: Processing buffer {"connection_id":216205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:05:25] local.INFO: Packet analysis {"connection_id":216205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:05:25] local.INFO: Extracted packet for processing {"connection_id":216205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792089087000,"timestamp_ms":1792089087000,"timestamp_seconds":1792089087,"priority":1,"record_length":96,"hex_timestamp":"000001a140d55c18"} 
[2026-10-16 00:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-16 00:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774729216001,"66":26158,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:05:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:05:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774729216001,"power":26158,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":216205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:05:25] local.INFO: GPS data processed {"connection_id":216205,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:05:25] local.INFO: Acknowledgment sent {"connection_id":216205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:05:27] local.INFO: TCP Data received {"connection_id":217547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:05:27] local.INFO: Processing buffer {"connection_id":217547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:05:27] local.INFO: IMEI packet received {"connection_id":217547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":217547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:05:27] local.INFO: TCP Data received {"connection_id":219296,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:05:27] local.INFO: Processing buffer {"connection_id":219296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:05:27] local.INFO: IMEI packet received {"connection_id":219296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":219296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:05:28] local.INFO: TCP Data received {"connection_id":217547,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:05:28] local.INFO: Processing buffer {"connection_id":217547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:05:28] local.INFO: Packet analysis {"connection_id":217547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:05:28] local.INFO: Extracted packet for processing {"connection_id":217547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774786816001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089312000,"timestamp_ms":1792089312000,"timestamp_seconds":1792089312,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8cb00"} 
[2026-10-16 00:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:05:28] local.INFO: IO Element 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-10-16 00:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:05: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-10-16 00:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:05: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-10-16 00:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774786816001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774786816001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:05:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774786816001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":217547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:05:28] local.INFO: GPS data processed {"connection_id":217547,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:05:28] local.INFO: Acknowledgment sent {"connection_id":217547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:05:29] local.INFO: TCP Data received {"connection_id":219296,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d81750012d77aac005f25508000d016226..."} 
[2026-10-16 00:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d81750012d77aac005f25508000d016226..."} 
[2026-10-16 00:05:29] local.INFO: Processing buffer {"connection_id":219296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d81750012d77aac005f25508000d016226..."} 
[2026-10-16 00:05:29] local.INFO: Packet analysis {"connection_id":219296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:05:29] local.INFO: Extracted packet for processing {"connection_id":219296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:05:29] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99767560,"longitude_deg":76.2817216,"latitude_deg":9.976756,"altitude":13,"angle":354,"satellites":38,"speed":28,"hex_longitude":"2d77aac0","hex_latitude":"05f25508","is_valid_coordinates":true} 
[2026-10-16 00:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774852096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11899683634937856,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327264256,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792089266000,"timestamp_ms":1792089266000,"timestamp_seconds":1792089266,"priority":1,"record_length":96,"hex_timestamp":"000001a140d81750"} 
[2026-10-16 00:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 00:05:29] 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-10-16 00:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774852096001,"66":27713,"3":206,"9":24832,"24":28,"16":11899683634937856,"45":8622915568327264256},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-10-16 00:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774852096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:05:29] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-10-16 00:05:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11899683634937856,"km_value":11899683634937.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327264256,"description":"Unknown IO ID 45"} 
[2026-10-16 00:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774852096001,"power":27713,"unknown_3":206,"unknown_9":24832,"ignition":28,"odometer":null,"unknown_45":8622915568327264256}} 
[2026-10-16 00:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":219296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:05:29] local.INFO: GPS data processed {"connection_id":219296,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:05:29] local.INFO: Acknowledgment sent {"connection_id":219296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:05:33] local.INFO: TCP Data received {"connection_id":219296,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d81750012d77aac005f25508000d016226..."} 
[2026-10-16 00:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d81750012d77aac005f25508000d016226..."} 
[2026-10-16 00:05:33] local.INFO: Processing buffer {"connection_id":219296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d81750012d77aac005f25508000d016226..."} 
[2026-10-16 00:05:33] local.INFO: Packet analysis {"connection_id":219296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:05:33] local.INFO: Extracted packet for processing {"connection_id":219296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:05:33] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99767560,"longitude_deg":76.2817216,"latitude_deg":9.976756,"altitude":13,"angle":354,"satellites":38,"speed":28,"hex_longitude":"2d77aac0","hex_latitude":"05f25508","is_valid_coordinates":true} 
[2026-10-16 00:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774852096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11899683634937856,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327264256,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792089266000,"timestamp_ms":1792089266000,"timestamp_seconds":1792089266,"priority":1,"record_length":96,"hex_timestamp":"000001a140d81750"} 
[2026-10-16 00:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 00:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774852096001,"66":27713,"3":206,"9":24832,"24":28,"16":11899683634937856,"45":8622915568327264256},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-10-16 00:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774852096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:05:33] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-10-16 00:05:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11899683634937856,"km_value":11899683634937.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327264256,"description":"Unknown IO ID 45"} 
[2026-10-16 00:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774852096001,"power":27713,"unknown_3":206,"unknown_9":24832,"ignition":28,"odometer":null,"unknown_45":8622915568327264256}} 
[2026-10-16 00:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":219296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:05:33] local.INFO: GPS data processed {"connection_id":219296,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:05:33] local.INFO: Acknowledgment sent {"connection_id":219296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:05:35] local.INFO: TCP Data received {"connection_id":216025,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:05:35] local.INFO: Processing buffer {"connection_id":216025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:05:35] local.INFO: Packet analysis {"connection_id":216025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:05:35] local.INFO: Extracted packet for processing {"connection_id":216025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774772224001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792089255000,"timestamp_ms":1792089255000,"timestamp_seconds":1792089255,"priority":1,"record_length":96,"hex_timestamp":"000001a140d7ec58"} 
[2026-10-16 00:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:05:35] 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-10-16 00:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774772224001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774772224001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:05:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774772224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":216025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:05:35] local.INFO: GPS data processed {"connection_id":216025,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:05:35] local.INFO: Acknowledgment sent {"connection_id":216025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:05:53] local.INFO: TCP Data received {"connection_id":216206,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:05:53] local.INFO: Processing buffer {"connection_id":216206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:05:53] local.INFO: IMEI packet received {"connection_id":216206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":216206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:05:57] local.INFO: TCP Data received {"connection_id":216205,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:05:57] local.INFO: Processing buffer {"connection_id":216205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:05:57] local.INFO: Packet analysis {"connection_id":216205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:05:57] local.INFO: Extracted packet for processing {"connection_id":216205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792089087000,"timestamp_ms":1792089087000,"timestamp_seconds":1792089087,"priority":1,"record_length":96,"hex_timestamp":"000001a140d55c18"} 
[2026-10-16 00:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-16 00:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774729216001,"66":26158,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:05:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:05:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774729216001,"power":26158,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":216205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:05:57] local.INFO: GPS data processed {"connection_id":216205,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:05:57] local.INFO: Acknowledgment sent {"connection_id":216205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:05:58] local.INFO: TCP Data received {"connection_id":216206,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:05:58] local.INFO: Processing buffer {"connection_id":216206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:05:58] local.INFO: IMEI packet received {"connection_id":216206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":216206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:05:59] local.INFO: TCP Data received {"connection_id":216206,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:05:59] local.INFO: Processing buffer {"connection_id":216206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:05:59] local.INFO: Packet analysis {"connection_id":216206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:05:59] local.INFO: Extracted packet for processing {"connection_id":216206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774772224001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089255000,"timestamp_ms":1792089255000,"timestamp_seconds":1792089255,"priority":1,"record_length":96,"hex_timestamp":"000001a140d7ec58"} 
[2026-10-16 00:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:05:59] 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-10-16 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774772224001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774772224001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:05:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774772224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:05:59] local.INFO: TCP Data received {"connection_id":217547,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:05:59] local.INFO: Processing buffer {"connection_id":217547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:05:59] local.INFO: Packet analysis {"connection_id":217547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:05:59] local.INFO: Extracted packet for processing {"connection_id":217547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774786816001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089312000,"timestamp_ms":1792089312000,"timestamp_seconds":1792089312,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8cb00"} 
[2026-10-16 00:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:05:59] 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-10-16 00: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-10-16 00:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774786816001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774786816001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:05:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774786816001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":216206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:05:59] local.INFO: GPS data processed {"connection_id":216206,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:05:59] local.INFO: Acknowledgment sent {"connection_id":216206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":217547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:05:59] local.INFO: GPS data processed {"connection_id":217547,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:05:59] local.INFO: Acknowledgment sent {"connection_id":217547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:06:04] local.INFO: TCP Data received {"connection_id":219296,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d81750012d77aac005f25508000d016226..."} 
[2026-10-16 00:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d81750012d77aac005f25508000d016226..."} 
[2026-10-16 00:06:04] local.INFO: Processing buffer {"connection_id":219296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d81750012d77aac005f25508000d016226..."} 
[2026-10-16 00:06:04] local.INFO: Packet analysis {"connection_id":219296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:06:04] local.INFO: Extracted packet for processing {"connection_id":219296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:06:04] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99767560,"longitude_deg":76.2817216,"latitude_deg":9.976756,"altitude":13,"angle":354,"satellites":38,"speed":28,"hex_longitude":"2d77aac0","hex_latitude":"05f25508","is_valid_coordinates":true} 
[2026-10-16 00:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774852096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11899683634937856,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327264256,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792089266000,"timestamp_ms":1792089266000,"timestamp_seconds":1792089266,"priority":1,"record_length":96,"hex_timestamp":"000001a140d81750"} 
[2026-10-16 00:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 00:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":219296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":219296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":219296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774852096001,"66":27713,"3":206,"9":24832,"24":28,"16":11899683634937856,"45":8622915568327264256},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-10-16 00:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774852096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:06:04] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-10-16 00:06:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11899683634937856,"km_value":11899683634937.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327264256,"description":"Unknown IO ID 45"} 
[2026-10-16 00:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774852096001,"power":27713,"unknown_3":206,"unknown_9":24832,"ignition":28,"odometer":null,"unknown_45":8622915568327264256}} 
[2026-10-16 00:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":219296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042854,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:06:04] local.INFO: GPS data processed {"connection_id":219296,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:06:04] local.INFO: Acknowledgment sent {"connection_id":219296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:06:17] local.INFO: TCP Data received {"connection_id":217548,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:06:17] local.INFO: Processing buffer {"connection_id":217548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:06:17] local.INFO: IMEI packet received {"connection_id":217548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":217548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:06:21] local.INFO: TCP Data received {"connection_id":219297,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:06:21] local.INFO: Processing buffer {"connection_id":219297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:06:21] local.INFO: IMEI packet received {"connection_id":219297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":219297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:06:22] local.INFO: TCP Data received {"connection_id":216207,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:06:22] local.INFO: Processing buffer {"connection_id":216207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:06:22] local.INFO: IMEI packet received {"connection_id":216207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":216207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:06:23] local.INFO: TCP Data received {"connection_id":217548,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:06:23] local.INFO: Processing buffer {"connection_id":217548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:06:23] local.INFO: IMEI packet received {"connection_id":217548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":217548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:06:24] local.INFO: TCP Data received {"connection_id":217548,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:06:24] local.INFO: Processing buffer {"connection_id":217548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:06:24] local.INFO: Packet analysis {"connection_id":217548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:06:24] local.INFO: Extracted packet for processing {"connection_id":217548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792089087000,"timestamp_ms":1792089087000,"timestamp_seconds":1792089087,"priority":1,"record_length":96,"hex_timestamp":"000001a140d55c18"} 
[2026-10-16 00:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-16 00:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774729216001,"66":26158,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:06:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:06:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774729216001,"power":26158,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":217548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:06:24] local.INFO: GPS data processed {"connection_id":217548,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:06:24] local.INFO: Acknowledgment sent {"connection_id":217548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:06:27] local.INFO: TCP Data received {"connection_id":219297,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:06:27] local.INFO: Processing buffer {"connection_id":219297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:06:27] local.INFO: IMEI packet received {"connection_id":219297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":219297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:06:27] local.INFO: TCP Data received {"connection_id":216207,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:06:27] local.INFO: Processing buffer {"connection_id":216207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:06:27] local.INFO: IMEI packet received {"connection_id":216207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":216207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:06:27] local.INFO: TCP Data received {"connection_id":219297,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:06:27] local.INFO: Processing buffer {"connection_id":219297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:06:27] local.INFO: Packet analysis {"connection_id":219297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:06:27] local.INFO: Extracted packet for processing {"connection_id":219297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774786816001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792089312000,"timestamp_ms":1792089312000,"timestamp_seconds":1792089312,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8cb00"} 
[2026-10-16 00:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:06:27] 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-10-16 00: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-10-16 00:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774786816001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774786816001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:06:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774786816001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":219297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:06:28] local.INFO: GPS data processed {"connection_id":219297,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:06:28] local.INFO: Acknowledgment sent {"connection_id":219297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:06:28] local.INFO: TCP Data received {"connection_id":216207,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d84630012d77a7c005f277d80009016021..."} 
[2026-10-16 00:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d84630012d77a7c005f277d80009016021..."} 
[2026-10-16 00:06:28] local.INFO: Processing buffer {"connection_id":216207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d84630012d77a7c005f277d80009016021..."} 
[2026-10-16 00:06:28] local.INFO: Packet analysis {"connection_id":216207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:06:28] local.INFO: Extracted packet for processing {"connection_id":216207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:06:28] local.INFO: GPS Element Parsed {"raw_longitude":762816448,"raw_latitude":99776472,"longitude_deg":76.2816448,"latitude_deg":9.9776472,"altitude":9,"angle":352,"satellites":33,"speed":28,"hex_longitude":"2d77a7c0","hex_latitude":"05f277d8","is_valid_coordinates":true} 
[2026-10-16 00:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774852096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900117426634752,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327264256,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089278000,"timestamp_ms":1792089278000,"timestamp_seconds":1792089278,"priority":1,"record_length":96,"hex_timestamp":"000001a140d84630"} 
[2026-10-16 00:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 00:06:28] 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-10-16 00:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774852096001,"66":27745,"163":206,"9":24832,"24":28,"16":11900117426634752,"45":8622915568327264256},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774852096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:06:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:06:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900117426634752,"km_value":11900117426634.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327264256,"description":"Unknown IO ID 45"} 
[2026-10-16 00:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774852096001,"power":27745,"unknown_163":206,"unknown_9":24832,"ignition":28,"odometer":null,"unknown_45":8622915568327264256}} 
[2026-10-16 00:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":216207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:06:28] local.INFO: GPS data processed {"connection_id":216207,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:06:28] local.INFO: Acknowledgment sent {"connection_id":216207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:06:34] local.INFO: TCP Data received {"connection_id":216206,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:06:34] local.INFO: Processing buffer {"connection_id":216206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:06:34] local.INFO: Packet analysis {"connection_id":216206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:06:34] local.INFO: Extracted packet for processing {"connection_id":216206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774772224001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792089255000,"timestamp_ms":1792089255000,"timestamp_seconds":1792089255,"priority":1,"record_length":96,"hex_timestamp":"000001a140d7ec58"} 
[2026-10-16 00:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:06:34] 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-10-16 00:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774772224001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774772224001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:06:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774772224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":216206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:06:34] local.INFO: GPS data processed {"connection_id":216206,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:06:34] local.INFO: Acknowledgment sent {"connection_id":216206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:06:53] local.INFO: TCP Data received {"connection_id":216026,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:06:53] local.INFO: Processing buffer {"connection_id":216026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:06:53] local.INFO: IMEI packet received {"connection_id":216026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":216026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:06:56] local.INFO: TCP Data received {"connection_id":217548,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:06:56] local.INFO: Processing buffer {"connection_id":217548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d55c18012d7fac4005afe350000f00a625..."} 
[2026-10-16 00:06:56] local.INFO: Packet analysis {"connection_id":217548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:06:56] local.INFO: Extracted packet for processing {"connection_id":217548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d5"} 
[2026-10-16 00:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792089087000,"timestamp_ms":1792089087000,"timestamp_seconds":1792089087,"priority":1,"record_length":96,"hex_timestamp":"000001a140d55c18"} 
[2026-10-16 00:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-10-16 00:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774729216001,"66":26158,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:06:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:06:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774729216001,"power":26158,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":217548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:06:56] local.INFO: GPS data processed {"connection_id":217548,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:06:56] local.INFO: Acknowledgment sent {"connection_id":217548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:06:58] local.INFO: TCP Data received {"connection_id":216026,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:06:58] local.INFO: Processing buffer {"connection_id":216026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:06:58] local.INFO: IMEI packet received {"connection_id":216026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":216026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:06:59] local.INFO: TCP Data received {"connection_id":216026,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:06:59] local.INFO: Processing buffer {"connection_id":216026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:06:59] local.INFO: Packet analysis {"connection_id":216026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:06:59] local.INFO: Extracted packet for processing {"connection_id":216026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:06: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-10-16 00:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774772224001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089255000,"timestamp_ms":1792089255000,"timestamp_seconds":1792089255,"priority":1,"record_length":96,"hex_timestamp":"000001a140d7ec58"} 
[2026-10-16 00:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:06:59] 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-10-16 00:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:06: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-10-16 00:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774772224001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774772224001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:06:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774772224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":216026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:06:59] local.INFO: GPS data processed {"connection_id":216026,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:06:59] local.INFO: Acknowledgment sent {"connection_id":216026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:06:59] local.INFO: TCP Data received {"connection_id":219297,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:06:59] local.INFO: Processing buffer {"connection_id":219297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:06:59] local.INFO: Packet analysis {"connection_id":219297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:06:59] local.INFO: Extracted packet for processing {"connection_id":219297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:06: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-10-16 00:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774786816001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089312000,"timestamp_ms":1792089312000,"timestamp_seconds":1792089312,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8cb00"} 
[2026-10-16 00:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:06:59] 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-10-16 00:06: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-10-16 00:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774786816001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774786816001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:06:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774786816001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":219297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:06:59] local.INFO: GPS data processed {"connection_id":219297,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:06:59] local.INFO: Acknowledgment sent {"connection_id":219297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:07:00] local.INFO: TCP Data received {"connection_id":216207,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d87128012d77a54005f29ba80007016221..."} 
[2026-10-16 00:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d87128012d77a54005f29ba80007016221..."} 
[2026-10-16 00:07:00] local.INFO: Processing buffer {"connection_id":216207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d87128012d77a54005f29ba80007016221..."} 
[2026-10-16 00:07:00] local.INFO: Packet analysis {"connection_id":216207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:07:00] local.INFO: Extracted packet for processing {"connection_id":216207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:07:00] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99785640,"longitude_deg":76.2815808,"latitude_deg":9.978564,"altitude":7,"angle":354,"satellites":33,"speed":32,"hex_longitude":"2d77a540","hex_latitude":"05f29ba8","is_valid_coordinates":true} 
[2026-10-16 00:07: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-10-16 00:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774855168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900564103233536,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622071143399413760,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792089289000,"timestamp_ms":1792089289000,"timestamp_seconds":1792089289,"priority":1,"record_length":96,"hex_timestamp":"000001a140d87128"} 
[2026-10-16 00:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 00:07:00] 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-10-16 00:07: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-10-16 00:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774855168001,"66":27789,"163":206,"9":24832,"24":32,"16":11900564103233536,"45":8622071143399413760},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774855168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:07:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:07:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900564103233536,"km_value":11900564103233.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622071143399413760,"description":"Unknown IO ID 45"} 
[2026-10-16 00:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774855168001,"power":27789,"unknown_163":206,"unknown_9":24832,"ignition":32,"odometer":null,"unknown_45":8622071143399413760}} 
[2026-10-16 00:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":216207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:07:00] local.INFO: GPS data processed {"connection_id":216207,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:07:00] local.INFO: Acknowledgment sent {"connection_id":216207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:07:21] local.INFO: TCP Data received {"connection_id":219298,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:07:21] local.INFO: Processing buffer {"connection_id":219298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:07:21] local.INFO: IMEI packet received {"connection_id":219298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":219298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:07:21] local.INFO: TCP Data received {"connection_id":219299,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:07:21] local.INFO: Processing buffer {"connection_id":219299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:07:21] local.INFO: IMEI packet received {"connection_id":219299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":219299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:07:22] local.INFO: TCP Data received {"connection_id":219298,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:07:22] local.INFO: Processing buffer {"connection_id":219298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:07:22] local.INFO: IMEI packet received {"connection_id":219298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":219298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:07:23] local.INFO: TCP Data received {"connection_id":216027,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:07:23] local.INFO: Processing buffer {"connection_id":216027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:07:23] local.INFO: IMEI packet received {"connection_id":216027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":216027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:07:27] local.INFO: TCP Data received {"connection_id":219299,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:07:27] local.INFO: Processing buffer {"connection_id":219299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:07:27] local.INFO: IMEI packet received {"connection_id":219299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":219299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:07:27] local.INFO: TCP Data received {"connection_id":219298,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:07:27] local.INFO: Processing buffer {"connection_id":219298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:07:27] local.INFO: IMEI packet received {"connection_id":219298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":219298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:07:28] local.INFO: TCP Data received {"connection_id":219299,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:07:28] local.INFO: Processing buffer {"connection_id":219299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:07:28] local.INFO: Packet analysis {"connection_id":219299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:07:28] local.INFO: Extracted packet for processing {"connection_id":219299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774786816001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089312000,"timestamp_ms":1792089312000,"timestamp_seconds":1792089312,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8cb00"} 
[2026-10-16 00:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774786816001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774786816001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:07:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774786816001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":219299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:07:28] local.INFO: GPS data processed {"connection_id":219299,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:07:28] local.INFO: Acknowledgment sent {"connection_id":219299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:07:28] local.INFO: TCP Data received {"connection_id":219298,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d88898012d77a44005f2a688000b001821..."} 
[2026-10-16 00:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d88898012d77a44005f2a688000b001821..."} 
[2026-10-16 00:07:28] local.INFO: Processing buffer {"connection_id":219298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d88898012d77a44005f2a688000b001821..."} 
[2026-10-16 00:07:28] local.INFO: Packet analysis {"connection_id":219298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:07:28] local.INFO: Extracted packet for processing {"connection_id":219298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:07:28] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788424,"longitude_deg":76.2815552,"latitude_deg":9.9788424,"altitude":11,"angle":24,"satellites":33,"speed":7,"hex_longitude":"2d77a440","hex_latitude":"05f2a688","is_valid_coordinates":true} 
[2026-10-16 00:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774857984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900701542187008,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455959984128,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089295000,"timestamp_ms":1792089295000,"timestamp_seconds":1792089295,"priority":1,"record_length":96,"hex_timestamp":"000001a140d88898"} 
[2026-10-16 00:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-10-16 00:07:28] 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-10-16 00:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774857984001,"66":27376,"163":206,"9":24832,"24":7,"16":11900701542187008,"45":8621367455959984128},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774857984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:07:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:07:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900701542187008,"km_value":11900701542187.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455959984128,"description":"Unknown IO ID 45"} 
[2026-10-16 00:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774857984001,"power":27376,"unknown_163":206,"unknown_9":24832,"ignition":7,"odometer":null,"unknown_45":8621367455959984128}} 
[2026-10-16 00:07:28] local.INFO: TCP Data received {"connection_id":216027,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:07:28] local.INFO: Processing buffer {"connection_id":216027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:07:28] local.INFO: IMEI packet received {"connection_id":216027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":216027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":219298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:07:28] local.INFO: GPS data processed {"connection_id":219298,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:07:28] local.INFO: Acknowledgment sent {"connection_id":219298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:07:29] local.INFO: TCP Data received {"connection_id":216027,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:07:29] local.INFO: Processing buffer {"connection_id":216027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:07:29] local.INFO: Packet analysis {"connection_id":216027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:07:29] local.INFO: Extracted packet for processing {"connection_id":216027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:07: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-10-16 00:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:07: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-10-16 00:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:07:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:07:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":216027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:07:29] local.INFO: GPS data processed {"connection_id":216027,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:07:29] local.INFO: Acknowledgment sent {"connection_id":216027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:07:30] local.INFO: TCP Data received {"connection_id":216026,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:07:30] local.INFO: Processing buffer {"connection_id":216026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:07:30] local.INFO: Packet analysis {"connection_id":216026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:07:30] local.INFO: Extracted packet for processing {"connection_id":216026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774772224001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792089255000,"timestamp_ms":1792089255000,"timestamp_seconds":1792089255,"priority":1,"record_length":96,"hex_timestamp":"000001a140d7ec58"} 
[2026-10-16 00:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:07:30] 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-10-16 00:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:07: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-10-16 00:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774772224001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774772224001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:07:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774772224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":216026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:07:30] local.INFO: GPS data processed {"connection_id":216026,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:07:30] local.INFO: Acknowledgment sent {"connection_id":216026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:07:34] local.INFO: TCP Data received {"connection_id":216027,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:07:34] local.INFO: Processing buffer {"connection_id":216027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:07:34] local.INFO: Packet analysis {"connection_id":216027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:07:34] local.INFO: Extracted packet for processing {"connection_id":216027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:07:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:07:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":216027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:07:34] local.INFO: GPS data processed {"connection_id":216027,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:07:34] local.INFO: Acknowledgment sent {"connection_id":216027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:07:58] local.INFO: TCP Data received {"connection_id":217549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:07:58] local.INFO: Processing buffer {"connection_id":217549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:07:58] local.INFO: IMEI packet received {"connection_id":217549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":217549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:07:59] local.INFO: TCP Data received {"connection_id":219298,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d88c80012d77a48005f2a740000b002921..."} 
[2026-10-16 00:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d88c80012d77a48005f2a740000b002921..."} 
[2026-10-16 00:07:59] local.INFO: Processing buffer {"connection_id":219298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d88c80012d77a48005f2a740000b002921..."} 
[2026-10-16 00:07:59] local.INFO: Packet analysis {"connection_id":219298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:07:59] local.INFO: Extracted packet for processing {"connection_id":219298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:07:59] local.INFO: GPS Element Parsed {"raw_longitude":762815616,"raw_latitude":99788608,"longitude_deg":76.2815616,"latitude_deg":9.9788608,"altitude":11,"angle":41,"satellites":33,"speed":7,"hex_longitude":"2d77a480","hex_latitude":"05f2a740","is_valid_coordinates":true} 
[2026-10-16 00:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774859520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900710132121600,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983986176,"note":"Value kept but may cause issues"} 
[2026-10-16 00:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089296000,"timestamp_ms":1792089296000,"timestamp_seconds":1792089296,"priority":1,"record_length":96,"hex_timestamp":"000001a140d88c80"} 
[2026-10-16 00:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 00:07:59] 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-10-16 00:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774859520001,"66":27376,"163":206,"9":24832,"24":7,"16":11900710132121600,"45":8621085980983986176},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774859520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:07:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:07:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900710132121600,"km_value":11900710132121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983986176,"description":"Unknown IO ID 45"} 
[2026-10-16 00:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774859520001,"power":27376,"unknown_163":206,"unknown_9":24832,"ignition":7,"odometer":null,"unknown_45":8621085980983986176}} 
[2026-10-16 00:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":219298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:07:59] local.INFO: GPS data processed {"connection_id":219298,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:07:59] local.INFO: Acknowledgment sent {"connection_id":219298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:08:00] local.INFO: TCP Data received {"connection_id":219299,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:08:00] local.INFO: Processing buffer {"connection_id":219299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:08:00] local.INFO: Packet analysis {"connection_id":219299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:08:00] local.INFO: Extracted packet for processing {"connection_id":219299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774786816001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792089312000,"timestamp_ms":1792089312000,"timestamp_seconds":1792089312,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8cb00"} 
[2026-10-16 00:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:08:00] 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-10-16 00:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774786816001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774786816001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:08:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774786816001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":219299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:08:00] local.INFO: GPS data processed {"connection_id":219299,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:08:00] local.INFO: Acknowledgment sent {"connection_id":219299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:08:03] local.INFO: TCP Data received {"connection_id":217549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:08:03] local.INFO: Processing buffer {"connection_id":217549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:08:03] local.INFO: IMEI packet received {"connection_id":217549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":217549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:08:07] local.INFO: TCP Data received {"connection_id":217549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:08:07] local.INFO: Processing buffer {"connection_id":217549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:08:07] local.INFO: Packet analysis {"connection_id":217549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:08:07] local.INFO: Extracted packet for processing {"connection_id":217549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774772224001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792089255000,"timestamp_ms":1792089255000,"timestamp_seconds":1792089255,"priority":1,"record_length":96,"hex_timestamp":"000001a140d7ec58"} 
[2026-10-16 00:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:08: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-10-16 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":217549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":217549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":217549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774772224001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774772224001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:08:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774772224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":217549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:08:07] local.INFO: GPS data processed {"connection_id":217549,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:08:07] local.INFO: Acknowledgment sent {"connection_id":217549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:08:18] local.INFO: TCP Data received {"connection_id":216208,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:08:18] local.INFO: Processing buffer {"connection_id":216208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:08:18] local.INFO: IMEI packet received {"connection_id":216208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":216208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:08:19] local.INFO: TCP Data received {"connection_id":216028,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:08:19] local.INFO: Processing buffer {"connection_id":216028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:08:19] local.INFO: IMEI packet received {"connection_id":216028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":216028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:08:21] local.INFO: TCP Data received {"connection_id":219300,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:08:21] local.INFO: Processing buffer {"connection_id":219300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:08:21] local.INFO: IMEI packet received {"connection_id":219300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":219300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:08:21] local.INFO: TCP Data received {"connection_id":216028,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:08:21] local.INFO: Processing buffer {"connection_id":216028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:08:21] local.INFO: IMEI packet received {"connection_id":216028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":216028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:08:23] local.INFO: TCP Data received {"connection_id":216208,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:08:23] local.INFO: Processing buffer {"connection_id":216208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:08:23] local.INFO: IMEI packet received {"connection_id":216208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":216208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:08:24] local.INFO: TCP Data received {"connection_id":216208,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:08:24] local.INFO: Processing buffer {"connection_id":216208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:08:24] local.INFO: Packet analysis {"connection_id":216208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:08:24] local.INFO: Extracted packet for processing {"connection_id":216208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:08:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:08:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":216208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:08:24] local.INFO: GPS data processed {"connection_id":216208,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:08:24] local.INFO: Acknowledgment sent {"connection_id":216208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:08:27] local.INFO: TCP Data received {"connection_id":219300,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:08:27] local.INFO: Processing buffer {"connection_id":219300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:08:27] local.INFO: IMEI packet received {"connection_id":219300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":219300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:08:27] local.INFO: TCP Data received {"connection_id":216028,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:08:27] local.INFO: Processing buffer {"connection_id":216028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:08:27] local.INFO: IMEI packet received {"connection_id":216028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":216028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:08:27] local.INFO: TCP Data received {"connection_id":219300,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:08:27] local.INFO: Processing buffer {"connection_id":219300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:08:27] local.INFO: Packet analysis {"connection_id":219300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:08:27] local.INFO: Extracted packet for processing {"connection_id":219300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774786816001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792089312000,"timestamp_ms":1792089312000,"timestamp_seconds":1792089312,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8cb00"} 
[2026-10-16 00:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:08:27] 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-10-16 00:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:08:27] 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-10-16 00:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774786816001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774786816001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:08:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774786816001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":219300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:08:28] local.INFO: GPS data processed {"connection_id":219300,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:08:28] local.INFO: Acknowledgment sent {"connection_id":219300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:08:28] local.INFO: TCP Data received {"connection_id":216028,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d89068012d77a58005f2a7c0000b003b24..."} 
[2026-10-16 00:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d89068012d77a58005f2a7c0000b003b24..."} 
[2026-10-16 00:08:28] local.INFO: Processing buffer {"connection_id":216028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d89068012d77a58005f2a7c0000b003b24..."} 
[2026-10-16 00:08:28] local.INFO: Packet analysis {"connection_id":216028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:08:28] local.INFO: Extracted packet for processing {"connection_id":216028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:08:28] local.INFO: GPS Element Parsed {"raw_longitude":762815872,"raw_latitude":99788736,"longitude_deg":76.2815872,"latitude_deg":9.9788736,"altitude":11,"angle":59,"satellites":36,"speed":9,"hex_longitude":"2d77a580","hex_latitude":"05f2a7c0","is_valid_coordinates":true} 
[2026-10-16 00:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774859776001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900723017023488,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621156349728210944,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089297000,"timestamp_ms":1792089297000,"timestamp_seconds":1792089297,"priority":1,"record_length":96,"hex_timestamp":"000001a140d89068"} 
[2026-10-16 00:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 00:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774859776001,"66":27365,"163":206,"9":24832,"24":9,"16":11900723017023488,"45":8621156349728210944},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774859776001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:08:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:08:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900723017023488,"km_value":11900723017023.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621156349728210944,"description":"Unknown IO ID 45"} 
[2026-10-16 00:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774859776001,"power":27365,"unknown_163":206,"unknown_9":24832,"ignition":9,"odometer":null,"unknown_45":8621156349728210944}} 
[2026-10-16 00:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":216028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:08:29] local.INFO: GPS data processed {"connection_id":216028,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:08:29] local.INFO: Acknowledgment sent {"connection_id":216028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:08:29] local.INFO: TCP Data received {"connection_id":216208,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:08:29] local.INFO: Processing buffer {"connection_id":216208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:08:29] local.INFO: Packet analysis {"connection_id":216208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:08:29] local.INFO: Extracted packet for processing {"connection_id":216208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:08:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:08:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":216208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:08:29] local.INFO: GPS data processed {"connection_id":216208,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:08:29] local.INFO: Acknowledgment sent {"connection_id":216208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:08:53] local.INFO: TCP Data received {"connection_id":217550,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:08:53] local.INFO: Processing buffer {"connection_id":217550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:08:53] local.INFO: IMEI packet received {"connection_id":217550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":217550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:08:58] local.INFO: TCP Data received {"connection_id":217550,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:08:58] local.INFO: Processing buffer {"connection_id":217550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:08:58] local.INFO: IMEI packet received {"connection_id":217550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":217550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:08:59] local.INFO: TCP Data received {"connection_id":217550,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:08:59] local.INFO: Processing buffer {"connection_id":217550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:08:59] local.INFO: Packet analysis {"connection_id":217550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:08:59] local.INFO: Extracted packet for processing {"connection_id":217550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774772224001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089255000,"timestamp_ms":1792089255000,"timestamp_seconds":1792089255,"priority":1,"record_length":96,"hex_timestamp":"000001a140d7ec58"} 
[2026-10-16 00:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:08:59] 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-10-16 00:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:08: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-10-16 00:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774772224001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774772224001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:08:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774772224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":217550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:08:59] local.INFO: GPS data processed {"connection_id":217550,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:08:59] local.INFO: Acknowledgment sent {"connection_id":217550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:08:59] local.INFO: TCP Data received {"connection_id":219300,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:08:59] local.INFO: Processing buffer {"connection_id":219300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:08:59] local.INFO: Packet analysis {"connection_id":219300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:08:59] local.INFO: Extracted packet for processing {"connection_id":219300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774786816001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089312000,"timestamp_ms":1792089312000,"timestamp_seconds":1792089312,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8cb00"} 
[2026-10-16 00:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:08:59] 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-10-16 00:08: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-10-16 00:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:08:59] 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-10-16 00:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774786816001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774786816001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:08:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:08:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774786816001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":219300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:08:59] local.INFO: GPS data processed {"connection_id":219300,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:08:59] local.INFO: Acknowledgment sent {"connection_id":219300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:09:00] local.INFO: TCP Data received {"connection_id":216028,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d89450012d77a64005f2a7f8000b004e24..."} 
[2026-10-16 00:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d89450012d77a64005f2a7f8000b004e24..."} 
[2026-10-16 00:09:00] local.INFO: Processing buffer {"connection_id":216028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d89450012d77a64005f2a7f8000b004e24..."} 
[2026-10-16 00:09:00] local.INFO: Packet analysis {"connection_id":216028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:09:00] local.INFO: Extracted packet for processing {"connection_id":216028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:09:00] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99788792,"longitude_deg":76.2816064,"latitude_deg":9.9788792,"altitude":11,"angle":78,"satellites":36,"speed":9,"hex_longitude":"2d77a640","hex_latitude":"05f2a7f8","is_valid_coordinates":true} 
[2026-10-16 00:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774860032001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900731606958080,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621437824704954368,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792089298000,"timestamp_ms":1792089298000,"timestamp_seconds":1792089298,"priority":1,"record_length":96,"hex_timestamp":"000001a140d89450"} 
[2026-10-16 00:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 00:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774860032001,"66":27365,"163":206,"9":24832,"24":9,"16":11900731606958080,"45":8621437824704954368},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774860032001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:09:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:09:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900731606958080,"km_value":11900731606958.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621437824704954368,"description":"Unknown IO ID 45"} 
[2026-10-16 00:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774860032001,"power":27365,"unknown_163":206,"unknown_9":24832,"ignition":9,"odometer":null,"unknown_45":8621437824704954368}} 
[2026-10-16 00:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":216028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:09:00] local.INFO: GPS data processed {"connection_id":216028,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:09:00] local.INFO: Acknowledgment sent {"connection_id":216028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:09:01] local.INFO: TCP Data received {"connection_id":216208,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:09:01] local.INFO: Processing buffer {"connection_id":216208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:09:01] local.INFO: Packet analysis {"connection_id":216208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:09:01] local.INFO: Extracted packet for processing {"connection_id":216208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:09:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:09:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":216208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:09:01] local.INFO: GPS data processed {"connection_id":216208,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:09:01] local.INFO: Acknowledgment sent {"connection_id":216208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:09:18] local.INFO: TCP Data received {"connection_id":217551,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:09:18] local.INFO: Processing buffer {"connection_id":217551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:09:18] local.INFO: IMEI packet received {"connection_id":217551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":217551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:09:22] local.INFO: TCP Data received {"connection_id":216029,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:09:22] local.INFO: Processing buffer {"connection_id":216029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:09:22] local.INFO: IMEI packet received {"connection_id":216029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":216029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:09:23] local.INFO: TCP Data received {"connection_id":217551,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:09:23] local.INFO: Processing buffer {"connection_id":217551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:09:23] local.INFO: IMEI packet received {"connection_id":217551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":217551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:09:24] local.INFO: TCP Data received {"connection_id":217551,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:09:24] local.INFO: Processing buffer {"connection_id":217551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:09:24] local.INFO: Packet analysis {"connection_id":217551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:09:24] local.INFO: Extracted packet for processing {"connection_id":217551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:09:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:09:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":217551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:09:24] local.INFO: GPS data processed {"connection_id":217551,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:09:24] local.INFO: Acknowledgment sent {"connection_id":217551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:09:27] local.INFO: TCP Data received {"connection_id":216030,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:09:27] local.INFO: Processing buffer {"connection_id":216030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:09:27] local.INFO: IMEI packet received {"connection_id":216030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":216030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:09:27] local.INFO: TCP Data received {"connection_id":216029,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:09:27] local.INFO: Processing buffer {"connection_id":216029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:09:27] local.INFO: IMEI packet received {"connection_id":216029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":216029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:09:28] local.INFO: TCP Data received {"connection_id":216029,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8e658012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8e658012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:09:28] local.INFO: Processing buffer {"connection_id":216029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8e658012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:09:28] local.INFO: Packet analysis {"connection_id":216029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:09:28] local.INFO: Extracted packet for processing {"connection_id":216029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:09:28] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774860288001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930937501696,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089319000,"timestamp_ms":1792089319000,"timestamp_seconds":1792089319,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8e658"} 
[2026-10-16 00:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 00:09: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-10-16 00:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774860288001,"66":28332,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621648930937501696},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774860288001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:09:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:09:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930937501696,"description":"Unknown IO ID 45"} 
[2026-10-16 00:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774860288001,"power":28332,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930937501696}} 
[2026-10-16 00:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":216029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042880,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:09:28] local.INFO: GPS data processed {"connection_id":216029,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:09:28] local.INFO: Acknowledgment sent {"connection_id":216029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:09:32] local.INFO: TCP Data received {"connection_id":216030,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:09:32] local.INFO: Processing buffer {"connection_id":216030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:09:32] local.INFO: IMEI packet received {"connection_id":216030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":216030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:09:33] local.INFO: TCP Data received {"connection_id":216030,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:09:33] local.INFO: Processing buffer {"connection_id":216030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:09:33] local.INFO: Packet analysis {"connection_id":216030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:09:33] local.INFO: Extracted packet for processing {"connection_id":216030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774786816001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792089312000,"timestamp_ms":1792089312000,"timestamp_seconds":1792089312,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8cb00"} 
[2026-10-16 00:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774786816001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774786816001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:09:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774786816001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":216030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:09:33] local.INFO: GPS data processed {"connection_id":216030,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:09:33] local.INFO: Acknowledgment sent {"connection_id":216030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:09:33] local.INFO: TCP Data received {"connection_id":217550,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:09:33] local.INFO: Processing buffer {"connection_id":217550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d7ec58012d196500071ff048003b014622..."} 
[2026-10-16 00:09:33] local.INFO: Packet analysis {"connection_id":217550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:09:33] local.INFO: Extracted packet for processing {"connection_id":217550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d7"} 
[2026-10-16 00:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774772224001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792089255000,"timestamp_ms":1792089255000,"timestamp_seconds":1792089255,"priority":1,"record_length":96,"hex_timestamp":"000001a140d7ec58"} 
[2026-10-16 00:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:09:33] 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-10-16 00:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774772224001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774772224001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:09:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:09:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774772224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":217550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:09:33] local.INFO: GPS data processed {"connection_id":217550,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:09:33] local.INFO: Acknowledgment sent {"connection_id":217550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:09:53] local.INFO: TCP Data received {"connection_id":219301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:09:53] local.INFO: Processing buffer {"connection_id":219301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:09:53] local.INFO: IMEI packet received {"connection_id":219301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":219301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:09:54] local.INFO: TCP Data received {"connection_id":219301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:09:54] local.INFO: Processing buffer {"connection_id":219301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:09:54] local.INFO: IMEI packet received {"connection_id":219301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":219301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:09:56] local.INFO: TCP Data received {"connection_id":217551,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:09:56] local.INFO: Processing buffer {"connection_id":217551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:09:56] local.INFO: Packet analysis {"connection_id":217551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:09:56] local.INFO: Extracted packet for processing {"connection_id":217551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:09:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:09:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":217551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:09:56] local.INFO: GPS data processed {"connection_id":217551,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:09:56] local.INFO: Acknowledgment sent {"connection_id":217551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:09:58] local.INFO: TCP Data received {"connection_id":219301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:09:58] local.INFO: Processing buffer {"connection_id":219301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:09:58] local.INFO: IMEI packet received {"connection_id":219301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":219301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:09:59] local.INFO: TCP Data received {"connection_id":219301,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:09:59] local.INFO: Processing buffer {"connection_id":219301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:09:59] local.INFO: Packet analysis {"connection_id":219301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:09:59] local.INFO: Extracted packet for processing {"connection_id":219301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774849280001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089556000,"timestamp_ms":1792089556000,"timestamp_seconds":1792089556,"priority":1,"record_length":96,"hex_timestamp":"000001a140dc8420"} 
[2026-10-16 00:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774849280001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774849280001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:09:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774849280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":219301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:09:59] local.INFO: GPS data processed {"connection_id":219301,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:09:59] local.INFO: Acknowledgment sent {"connection_id":219301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:09:59] local.INFO: TCP Data received {"connection_id":216029,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d93860012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d93860012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:09:59] local.INFO: Processing buffer {"connection_id":216029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d93860012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:09:59] local.INFO: Packet analysis {"connection_id":216029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:09:59] local.INFO: Extracted packet for processing {"connection_id":216029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774865664001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089340000,"timestamp_ms":1792089340000,"timestamp_seconds":1792089340,"priority":1,"record_length":96,"hex_timestamp":"000001a140d93860"} 
[2026-10-16 00:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-16 00:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774865664001,"66":28300,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774865664001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:09:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:09:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774865664001,"power":28300,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":216029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:09:59] local.INFO: GPS data processed {"connection_id":216029,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:09:59] local.INFO: Acknowledgment sent {"connection_id":216029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:10:04] local.INFO: TCP Data received {"connection_id":216030,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:10:04] local.INFO: Processing buffer {"connection_id":216030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d8cb00012d7c240005dad510000300ea24..."} 
[2026-10-16 00:10:04] local.INFO: Packet analysis {"connection_id":216030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:10:04] local.INFO: Extracted packet for processing {"connection_id":216030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d8"} 
[2026-10-16 00:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774786816001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792089312000,"timestamp_ms":1792089312000,"timestamp_seconds":1792089312,"priority":1,"record_length":96,"hex_timestamp":"000001a140d8cb00"} 
[2026-10-16 00:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:10:04] 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-10-16 00:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774786816001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774786816001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:10:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774786816001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":216030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:10:04] local.INFO: GPS data processed {"connection_id":216030,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:10:04] local.INFO: Acknowledgment sent {"connection_id":216030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:10:17] local.INFO: TCP Data received {"connection_id":217552,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:10:17] local.INFO: Processing buffer {"connection_id":217552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:10:17] local.INFO: IMEI packet received {"connection_id":217552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":217552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:10:21] local.INFO: TCP Data received {"connection_id":217554,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:10:21] local.INFO: Processing buffer {"connection_id":217554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:10:21] local.INFO: IMEI packet received {"connection_id":217554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":217554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:10:22] local.INFO: TCP Data received {"connection_id":217553,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:10:22] local.INFO: Processing buffer {"connection_id":217553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:10:22] local.INFO: IMEI packet received {"connection_id":217553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":217553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:10:23] local.INFO: TCP Data received {"connection_id":217552,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:10:23] local.INFO: Processing buffer {"connection_id":217552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:10:23] local.INFO: IMEI packet received {"connection_id":217552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":217552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:10:24] local.INFO: TCP Data received {"connection_id":217552,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:10:24] local.INFO: Processing buffer {"connection_id":217552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:10:24] local.INFO: Packet analysis {"connection_id":217552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:10:24] local.INFO: Extracted packet for processing {"connection_id":217552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:10:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:10:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":217552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:10:24] local.INFO: GPS data processed {"connection_id":217552,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:10:24] local.INFO: Acknowledgment sent {"connection_id":217552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:10:26] local.INFO: TCP Data received {"connection_id":217554,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:10:26] local.INFO: Processing buffer {"connection_id":217554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:10:26] local.INFO: IMEI packet received {"connection_id":217554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":217554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:10:27] local.INFO: TCP Data received {"connection_id":217553,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:10:27] local.INFO: Processing buffer {"connection_id":217553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:10:27] local.INFO: IMEI packet received {"connection_id":217553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":217553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:10:28] local.INFO: TCP Data received {"connection_id":217554,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d98a68012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d98a68012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:10:28] local.INFO: Processing buffer {"connection_id":217554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d98a68012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:10:28] local.INFO: Packet analysis {"connection_id":217554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:10:28] local.INFO: Extracted packet for processing {"connection_id":217554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:10:28] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774871040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089361000,"timestamp_ms":1792089361000,"timestamp_seconds":1792089361,"priority":1,"record_length":96,"hex_timestamp":"000001a140d98a68"} 
[2026-10-16 00:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 00:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774871040001,"66":28332,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774871040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:10:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:10:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774871040001,"power":28332,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":217554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:10:28] local.INFO: GPS data processed {"connection_id":217554,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:10:28] local.INFO: Acknowledgment sent {"connection_id":217554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:10:28] local.INFO: TCP Data received {"connection_id":217553,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:10:28] local.INFO: Processing buffer {"connection_id":217553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:10:28] local.INFO: Packet analysis {"connection_id":217553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:10:28] local.INFO: Extracted packet for processing {"connection_id":217553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774863872001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089613000,"timestamp_ms":1792089613000,"timestamp_seconds":1792089613,"priority":1,"record_length":96,"hex_timestamp":"000001a140dd62c8"} 
[2026-10-16 00:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:10: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-10-16 00:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774863872001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774863872001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:10:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774863872001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":217553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:10:28] local.INFO: GPS data processed {"connection_id":217553,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:10:28] local.INFO: Acknowledgment sent {"connection_id":217553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:10:30] local.INFO: TCP Data received {"connection_id":219301,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:10:30] local.INFO: Processing buffer {"connection_id":219301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:10:30] local.INFO: Packet analysis {"connection_id":219301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:10:30] local.INFO: Extracted packet for processing {"connection_id":219301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:10: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-10-16 00:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774849280001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792089556000,"timestamp_ms":1792089556000,"timestamp_seconds":1792089556,"priority":1,"record_length":96,"hex_timestamp":"000001a140dc8420"} 
[2026-10-16 00:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:10: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":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:10: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-10-16 00:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774849280001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774849280001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:10:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774849280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":219301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:10:30] local.INFO: GPS data processed {"connection_id":219301,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:10:30] local.INFO: Acknowledgment sent {"connection_id":219301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:10:53] local.INFO: TCP Data received {"connection_id":219302,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:10:53] local.INFO: Processing buffer {"connection_id":219302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:10:53] local.INFO: IMEI packet received {"connection_id":219302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":219302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:10:56] local.INFO: TCP Data received {"connection_id":217552,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:10:56] local.INFO: Processing buffer {"connection_id":217552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:10:56] local.INFO: Packet analysis {"connection_id":217552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:10:56] local.INFO: Extracted packet for processing {"connection_id":217552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:10:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:10:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":217552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:10:56] local.INFO: GPS data processed {"connection_id":217552,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:10:56] local.INFO: Acknowledgment sent {"connection_id":217552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:10:58] local.INFO: TCP Data received {"connection_id":219302,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:10:58] local.INFO: Processing buffer {"connection_id":219302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:10:58] local.INFO: IMEI packet received {"connection_id":219302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":219302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:10:59] local.INFO: TCP Data received {"connection_id":217554,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9dc70012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9dc70012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:10:59] local.INFO: Processing buffer {"connection_id":217554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9dc70012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:10:59] local.INFO: Packet analysis {"connection_id":217554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:10:59] local.INFO: Extracted packet for processing {"connection_id":217554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:10:59] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774876416001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089382000,"timestamp_ms":1792089382000,"timestamp_seconds":1792089382,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9dc70"} 
[2026-10-16 00:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-16 00:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774876416001,"66":28419,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774876416001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774876416001,"power":28419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":217554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:10:59] local.INFO: GPS data processed {"connection_id":217554,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:10:59] local.INFO: Acknowledgment sent {"connection_id":217554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:10:59] local.INFO: TCP Data received {"connection_id":219302,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:10:59] local.INFO: Processing buffer {"connection_id":219302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:10:59] local.INFO: Packet analysis {"connection_id":219302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:10:59] local.INFO: Extracted packet for processing {"connection_id":219302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774849280001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089556000,"timestamp_ms":1792089556000,"timestamp_seconds":1792089556,"priority":1,"record_length":96,"hex_timestamp":"000001a140dc8420"} 
[2026-10-16 00:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774849280001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774849280001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774849280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":219302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:10:59] local.INFO: GPS data processed {"connection_id":219302,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:10:59] local.INFO: Acknowledgment sent {"connection_id":219302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:10:59] local.INFO: TCP Data received {"connection_id":217553,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:10:59] local.INFO: Processing buffer {"connection_id":217553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:10:59] local.INFO: Packet analysis {"connection_id":217553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:10:59] local.INFO: Extracted packet for processing {"connection_id":217553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774863872001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089613000,"timestamp_ms":1792089613000,"timestamp_seconds":1792089613,"priority":1,"record_length":96,"hex_timestamp":"000001a140dd62c8"} 
[2026-10-16 00:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:10:59] 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-10-16 00:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774863872001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774863872001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774863872001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":217553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:10:59] local.INFO: GPS data processed {"connection_id":217553,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:10:59] local.INFO: Acknowledgment sent {"connection_id":217553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:11:21] local.INFO: TCP Data received {"connection_id":216031,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:11:21] local.INFO: Processing buffer {"connection_id":216031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:11:21] local.INFO: IMEI packet received {"connection_id":216031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":216031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:11:21] local.INFO: TCP Data received {"connection_id":217555,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:11:21] local.INFO: Processing buffer {"connection_id":217555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:11:21] local.INFO: IMEI packet received {"connection_id":217555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":217555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:11:23] local.INFO: TCP Data received {"connection_id":216209,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:11:23] local.INFO: Processing buffer {"connection_id":216209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:11:23] local.INFO: IMEI packet received {"connection_id":216209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":216209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:11:26] local.INFO: TCP Data received {"connection_id":217555,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:11:26] local.INFO: Processing buffer {"connection_id":217555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:11:26] local.INFO: IMEI packet received {"connection_id":217555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":217555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:11:27] local.INFO: TCP Data received {"connection_id":216031,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:11:27] local.INFO: Processing buffer {"connection_id":216031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:11:27] local.INFO: IMEI packet received {"connection_id":216031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":216031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:11:27] local.INFO: TCP Data received {"connection_id":217555,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140da2e78012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140da2e78012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:11:27] local.INFO: Processing buffer {"connection_id":217555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140da2e78012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:11:27] local.INFO: Packet analysis {"connection_id":217555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140da"} 
[2026-10-16 00:11:27] local.INFO: Extracted packet for processing {"connection_id":217555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140da"} 
[2026-10-16 00:11:27] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774881792001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792089403000,"timestamp_ms":1792089403000,"timestamp_seconds":1792089403,"priority":1,"record_length":96,"hex_timestamp":"000001a140da2e78"} 
[2026-10-16 00:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00: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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 00:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774881792001,"66":28332,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774881792001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:11:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:11:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774881792001,"power":28332,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":217555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:11:27] local.INFO: GPS data processed {"connection_id":217555,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:11:27] local.INFO: Acknowledgment sent {"connection_id":217555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:11:28] local.INFO: TCP Data received {"connection_id":216031,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:11:28] local.INFO: Processing buffer {"connection_id":216031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:11:28] local.INFO: Packet analysis {"connection_id":216031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:11:28] local.INFO: Extracted packet for processing {"connection_id":216031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774863872001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089613000,"timestamp_ms":1792089613000,"timestamp_seconds":1792089613,"priority":1,"record_length":96,"hex_timestamp":"000001a140dd62c8"} 
[2026-10-16 00:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:11:28] 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-10-16 00:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774863872001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774863872001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:11:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774863872001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":216031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:11:28] local.INFO: GPS data processed {"connection_id":216031,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:11:28] local.INFO: Acknowledgment sent {"connection_id":216031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:11:28] local.INFO: TCP Data received {"connection_id":216209,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:11:28] local.INFO: Processing buffer {"connection_id":216209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:11:28] local.INFO: IMEI packet received {"connection_id":216209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":216209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:11:29] local.INFO: TCP Data received {"connection_id":216209,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:11:29] local.INFO: Processing buffer {"connection_id":216209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:11:29] local.INFO: Packet analysis {"connection_id":216209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:11:29] local.INFO: Extracted packet for processing {"connection_id":216209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:11:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:11:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":216209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:11:29] local.INFO: GPS data processed {"connection_id":216209,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:11:29] local.INFO: Acknowledgment sent {"connection_id":216209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:11:30] local.INFO: TCP Data received {"connection_id":219302,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:11:30] local.INFO: Processing buffer {"connection_id":219302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:11:30] local.INFO: Packet analysis {"connection_id":219302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:11:30] local.INFO: Extracted packet for processing {"connection_id":219302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774849280001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792089556000,"timestamp_ms":1792089556000,"timestamp_seconds":1792089556,"priority":1,"record_length":96,"hex_timestamp":"000001a140dc8420"} 
[2026-10-16 00:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774849280001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774849280001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:11:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774849280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":219302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:11:30] local.INFO: GPS data processed {"connection_id":219302,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:11:30] local.INFO: Acknowledgment sent {"connection_id":219302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:11:34] local.INFO: TCP Data received {"connection_id":216209,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:11:34] local.INFO: Processing buffer {"connection_id":216209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140d9f3e0012d7fac4005afe350000f00a62f..."} 
[2026-10-16 00:11:34] local.INFO: Packet analysis {"connection_id":216209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:11:34] local.INFO: Extracted packet for processing {"connection_id":216209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140d9"} 
[2026-10-16 00:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":15,"angle":166,"satellites":47,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774806272001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792089388000,"timestamp_ms":1792089388000,"timestamp_seconds":1792089388,"priority":1,"record_length":96,"hex_timestamp":"000001a140d9f3e0"} 
[2026-10-16 00:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 00:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774806272001,"66":26082,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774806272001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:11:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:11:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774806272001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":216209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:11:34] local.INFO: GPS data processed {"connection_id":216209,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:11:34] local.INFO: Acknowledgment sent {"connection_id":216209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:11:58] local.INFO: TCP Data received {"connection_id":219303,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:11:58] local.INFO: Processing buffer {"connection_id":219303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:11:58] local.INFO: IMEI packet received {"connection_id":219303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":219303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:11:59] local.INFO: TCP Data received {"connection_id":216031,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:11:59] local.INFO: Processing buffer {"connection_id":216031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:11:59] local.INFO: Packet analysis {"connection_id":216031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:11:59] local.INFO: Extracted packet for processing {"connection_id":216031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:11: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-10-16 00:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774863872001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089613000,"timestamp_ms":1792089613000,"timestamp_seconds":1792089613,"priority":1,"record_length":96,"hex_timestamp":"000001a140dd62c8"} 
[2026-10-16 00:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:11:59] 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-10-16 00:11: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-10-16 00:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:11:59] 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-10-16 00:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774863872001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774863872001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:11:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774863872001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":216031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:11:59] local.INFO: GPS data processed {"connection_id":216031,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:11:59] local.INFO: Acknowledgment sent {"connection_id":216031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:11:59] local.INFO: TCP Data received {"connection_id":217555,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140da8080012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140da8080012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:11:59] local.INFO: Processing buffer {"connection_id":217555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140da8080012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:11:59] local.INFO: Packet analysis {"connection_id":217555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140da"} 
[2026-10-16 00:11:59] local.INFO: Extracted packet for processing {"connection_id":217555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140da"} 
[2026-10-16 00:11:59] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00:11: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-10-16 00:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774887168001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089424000,"timestamp_ms":1792089424000,"timestamp_seconds":1792089424,"priority":1,"record_length":96,"hex_timestamp":"000001a140da8080"} 
[2026-10-16 00:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:11: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-16 00:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:11: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-10-16 00:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774887168001,"66":28148,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774887168001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:11:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:11:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774887168001,"power":28148,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":217555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042901,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:11:59] local.INFO: GPS data processed {"connection_id":217555,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:11:59] local.INFO: Acknowledgment sent {"connection_id":217555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:12:03] local.INFO: TCP Data received {"connection_id":219303,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:12:03] local.INFO: Processing buffer {"connection_id":219303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:12:03] local.INFO: IMEI packet received {"connection_id":219303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":219303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:12:04] local.INFO: TCP Data received {"connection_id":219303,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:12:04] local.INFO: Processing buffer {"connection_id":219303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:12:04] local.INFO: Packet analysis {"connection_id":219303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:12:04] local.INFO: Extracted packet for processing {"connection_id":219303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774849280001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792089556000,"timestamp_ms":1792089556000,"timestamp_seconds":1792089556,"priority":1,"record_length":96,"hex_timestamp":"000001a140dc8420"} 
[2026-10-16 00:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":219303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":219303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":219303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774849280001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774849280001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:12:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774849280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":219303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:12:04] local.INFO: GPS data processed {"connection_id":219303,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:12:04] local.INFO: Acknowledgment sent {"connection_id":219303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:12:08] local.INFO: TCP Data received {"connection_id":219303,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:12:08] local.INFO: Processing buffer {"connection_id":219303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:12:08] local.INFO: Packet analysis {"connection_id":219303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:12:08] local.INFO: Extracted packet for processing {"connection_id":219303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774849280001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792089556000,"timestamp_ms":1792089556000,"timestamp_seconds":1792089556,"priority":1,"record_length":96,"hex_timestamp":"000001a140dc8420"} 
[2026-10-16 00:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00: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-10-16 00: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-10-16 00:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":219303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":219303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":219303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774849280001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774849280001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:12:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774849280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":219303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:12:08] local.INFO: GPS data processed {"connection_id":219303,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:12:08] local.INFO: Acknowledgment sent {"connection_id":219303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:12:18] local.INFO: TCP Data received {"connection_id":216032,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:12:18] local.INFO: Processing buffer {"connection_id":216032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:12:18] local.INFO: IMEI packet received {"connection_id":216032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":216032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:12:21] local.INFO: TCP Data received {"connection_id":217556,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:12:21] local.INFO: Processing buffer {"connection_id":217556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:12:21] local.INFO: IMEI packet received {"connection_id":217556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":217556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:12:23] local.INFO: TCP Data received {"connection_id":216032,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:12:23] local.INFO: Processing buffer {"connection_id":216032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:12:23] local.INFO: IMEI packet received {"connection_id":216032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":216032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:12:25] local.INFO: TCP Data received {"connection_id":216032,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:12:25] local.INFO: Processing buffer {"connection_id":216032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:12:25] local.INFO: Packet analysis {"connection_id":216032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:12:25] local.INFO: Extracted packet for processing {"connection_id":216032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":41,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774883328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792089689000,"timestamp_ms":1792089689000,"timestamp_seconds":1792089689,"priority":1,"record_length":96,"hex_timestamp":"000001a140de8ba8"} 
[2026-10-16 00:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 00:12:25] 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-10-16 00:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774883328001,"66":25995,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774883328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:12:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:12:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774883328001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":216032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:12:25] local.INFO: GPS data processed {"connection_id":216032,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:12:25] local.INFO: Acknowledgment sent {"connection_id":216032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:12:27] local.INFO: TCP Data received {"connection_id":217556,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:12:27] local.INFO: Processing buffer {"connection_id":217556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:12:27] local.INFO: IMEI packet received {"connection_id":217556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":217556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:12:27] local.INFO: TCP Data received {"connection_id":217557,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:12:27] local.INFO: Processing buffer {"connection_id":217557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:12:27] local.INFO: IMEI packet received {"connection_id":217557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":217557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:12:27] local.INFO: TCP Data received {"connection_id":217556,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:12:27] local.INFO: Processing buffer {"connection_id":217556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:12:27] local.INFO: Packet analysis {"connection_id":217556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:12:27] local.INFO: Extracted packet for processing {"connection_id":217556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774863872001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792089613000,"timestamp_ms":1792089613000,"timestamp_seconds":1792089613,"priority":1,"record_length":96,"hex_timestamp":"000001a140dd62c8"} 
[2026-10-16 00:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:12: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-10-16 00:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774863872001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774863872001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:12:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774863872001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":217556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:12:27] local.INFO: GPS data processed {"connection_id":217556,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:12:27] local.INFO: Acknowledgment sent {"connection_id":217556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:12:32] local.INFO: TCP Data received {"connection_id":217557,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:12:32] local.INFO: Processing buffer {"connection_id":217557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:12:32] local.INFO: IMEI packet received {"connection_id":217557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":217557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:12:33] local.INFO: TCP Data received {"connection_id":217557,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dad288012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dad288012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:12:33] local.INFO: Processing buffer {"connection_id":217557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dad288012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:12:33] local.INFO: Packet analysis {"connection_id":217557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140da"} 
[2026-10-16 00:12:33] local.INFO: Extracted packet for processing {"connection_id":217557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140da"} 
[2026-10-16 00:12:33] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774892544001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792089445000,"timestamp_ms":1792089445000,"timestamp_seconds":1792089445,"priority":1,"record_length":96,"hex_timestamp":"000001a140dad288"} 
[2026-10-16 00:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-16 00:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774892544001,"66":28300,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774892544001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:12:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:12:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774892544001,"power":28300,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":217557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:12:33] local.INFO: GPS data processed {"connection_id":217557,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:12:33] local.INFO: Acknowledgment sent {"connection_id":217557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:12:38] local.INFO: TCP Data received {"connection_id":217557,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140db1108012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140db1108012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:12:38] local.INFO: Processing buffer {"connection_id":217557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140db1108012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:12:38] local.INFO: Packet analysis {"connection_id":217557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140db"} 
[2026-10-16 00:12:38] local.INFO: Extracted packet for processing {"connection_id":217557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140db"} 
[2026-10-16 00:12:38] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00:12: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-10-16 00:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774897920001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792089461000,"timestamp_ms":1792089461000,"timestamp_seconds":1792089461,"priority":1,"record_length":96,"hex_timestamp":"000001a140db1108"} 
[2026-10-16 00:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00: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-10-16 00: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 00:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774897920001,"66":28398,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774897920001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:12:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:12:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774897920001,"power":28398,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":217557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042907,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:12:38] local.INFO: GPS data processed {"connection_id":217557,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:12:38] local.INFO: Acknowledgment sent {"connection_id":217557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:12:53] local.INFO: TCP Data received {"connection_id":217558,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:12:53] local.INFO: Processing buffer {"connection_id":217558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:12:53] local.INFO: IMEI packet received {"connection_id":217558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":217558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:12:57] local.INFO: TCP Data received {"connection_id":216032,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:12:57] local.INFO: Processing buffer {"connection_id":216032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:12:57] local.INFO: Packet analysis {"connection_id":216032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:12:57] local.INFO: Extracted packet for processing {"connection_id":216032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":41,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774883328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792089689000,"timestamp_ms":1792089689000,"timestamp_seconds":1792089689,"priority":1,"record_length":96,"hex_timestamp":"000001a140de8ba8"} 
[2026-10-16 00:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:12: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-10-16 00:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 00:12:57] 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-10-16 00:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774883328001,"66":25995,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774883328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:12:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:12:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774883328001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":216032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:12:57] local.INFO: GPS data processed {"connection_id":216032,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:12:57] local.INFO: Acknowledgment sent {"connection_id":216032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:12:58] local.INFO: TCP Data received {"connection_id":217558,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:12:58] local.INFO: Processing buffer {"connection_id":217558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:12:58] local.INFO: IMEI packet received {"connection_id":217558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":217558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:12:59] local.INFO: TCP Data received {"connection_id":217558,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:12:59] local.INFO: Processing buffer {"connection_id":217558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:12:59] local.INFO: Packet analysis {"connection_id":217558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:12:59] local.INFO: Extracted packet for processing {"connection_id":217558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774849280001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089556000,"timestamp_ms":1792089556000,"timestamp_seconds":1792089556,"priority":1,"record_length":96,"hex_timestamp":"000001a140dc8420"} 
[2026-10-16 00:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774849280001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774849280001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:12:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774849280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":217558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:12:59] local.INFO: GPS data processed {"connection_id":217558,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:12:59] local.INFO: Acknowledgment sent {"connection_id":217558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:12:59] local.INFO: TCP Data received {"connection_id":217556,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:12:59] local.INFO: Processing buffer {"connection_id":217556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:12:59] local.INFO: Packet analysis {"connection_id":217556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:12:59] local.INFO: Extracted packet for processing {"connection_id":217556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774863872001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089613000,"timestamp_ms":1792089613000,"timestamp_seconds":1792089613,"priority":1,"record_length":96,"hex_timestamp":"000001a140dd62c8"} 
[2026-10-16 00:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:12:59] 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-10-16 00:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774863872001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774863872001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:12:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774863872001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":217556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:12:59] local.INFO: GPS data processed {"connection_id":217556,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:12:59] local.INFO: Acknowledgment sent {"connection_id":217556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:13:17] local.INFO: TCP Data received {"connection_id":219304,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:13:17] local.INFO: Processing buffer {"connection_id":219304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:13:17] local.INFO: IMEI packet received {"connection_id":219304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":219304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:13:21] local.INFO: TCP Data received {"connection_id":216210,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:13:21] local.INFO: Processing buffer {"connection_id":216210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:13:21] local.INFO: IMEI packet received {"connection_id":216210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":216210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:13:22] local.INFO: TCP Data received {"connection_id":219305,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:13:22] local.INFO: Processing buffer {"connection_id":219305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:13:22] local.INFO: IMEI packet received {"connection_id":219305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":219305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:13:22] local.INFO: TCP Data received {"connection_id":219304,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:13:22] local.INFO: Processing buffer {"connection_id":219304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:13:22] local.INFO: IMEI packet received {"connection_id":219304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":219304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:13:23] local.INFO: TCP Data received {"connection_id":219305,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:13:23] local.INFO: Processing buffer {"connection_id":219305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:13:23] local.INFO: IMEI packet received {"connection_id":219305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":219305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:13:23] local.INFO: TCP Data received {"connection_id":219304,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:13:23] local.INFO: Processing buffer {"connection_id":219304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:13:23] local.INFO: Packet analysis {"connection_id":219304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:13:23] local.INFO: Extracted packet for processing {"connection_id":219304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":41,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774883328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792089689000,"timestamp_ms":1792089689000,"timestamp_seconds":1792089689,"priority":1,"record_length":96,"hex_timestamp":"000001a140de8ba8"} 
[2026-10-16 00:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 00:13:23] 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-10-16 00:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774883328001,"66":25995,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774883328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:13:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:13:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774883328001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":219304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:13:23] local.INFO: GPS data processed {"connection_id":219304,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:13:23] local.INFO: Acknowledgment sent {"connection_id":219304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:13:26] local.INFO: TCP Data received {"connection_id":219305,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:13:26] local.INFO: Processing buffer {"connection_id":219305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:13:26] local.INFO: IMEI packet received {"connection_id":219305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":219305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:13:27] local.INFO: TCP Data received {"connection_id":216210,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:13:27] local.INFO: Processing buffer {"connection_id":216210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:13:27] local.INFO: IMEI packet received {"connection_id":216210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":216210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:13:27] local.INFO: TCP Data received {"connection_id":219305,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:13:27] local.INFO: Processing buffer {"connection_id":219305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:13:27] local.INFO: Packet analysis {"connection_id":219305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:13:27] local.INFO: Extracted packet for processing {"connection_id":219305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:13:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:13:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:13:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":219305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:13:28] local.INFO: GPS data processed {"connection_id":219305,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:13:28] local.INFO: Acknowledgment sent {"connection_id":219305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:13:28] local.INFO: TCP Data received {"connection_id":216210,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:13:28] local.INFO: Processing buffer {"connection_id":216210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:13:28] local.INFO: Packet analysis {"connection_id":216210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:13:28] local.INFO: Extracted packet for processing {"connection_id":216210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774863872001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089613000,"timestamp_ms":1792089613000,"timestamp_seconds":1792089613,"priority":1,"record_length":96,"hex_timestamp":"000001a140dd62c8"} 
[2026-10-16 00:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:13: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-10-16 00:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:13: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-10-16 00:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774863872001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774863872001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:13:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774863872001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":216210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:13:28] local.INFO: GPS data processed {"connection_id":216210,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:13:28] local.INFO: Acknowledgment sent {"connection_id":216210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:13:32] local.INFO: TCP Data received {"connection_id":219305,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:13:32] local.INFO: Processing buffer {"connection_id":219305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:13:32] local.INFO: Packet analysis {"connection_id":219305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:13:32] local.INFO: Extracted packet for processing {"connection_id":219305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:13:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:13:32] 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-10-16 00:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:13:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:13:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":219305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:13:33] local.INFO: GPS data processed {"connection_id":219305,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:13:33] local.INFO: Acknowledgment sent {"connection_id":219305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:13:34] local.INFO: TCP Data received {"connection_id":217558,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:13:34] local.INFO: Processing buffer {"connection_id":217558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:13:34] local.INFO: Packet analysis {"connection_id":217558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:13:34] local.INFO: Extracted packet for processing {"connection_id":217558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:13:34] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774849280001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792089556000,"timestamp_ms":1792089556000,"timestamp_seconds":1792089556,"priority":1,"record_length":96,"hex_timestamp":"000001a140dc8420"} 
[2026-10-16 00:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:13: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-10-16 00:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774849280001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774849280001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:13:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774849280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":217558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:13:34] local.INFO: GPS data processed {"connection_id":217558,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:13:34] local.INFO: Acknowledgment sent {"connection_id":217558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:13:53] local.INFO: TCP Data received {"connection_id":216211,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:13:53] local.INFO: Processing buffer {"connection_id":216211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:13:53] local.INFO: IMEI packet received {"connection_id":216211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":216211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:13:55] local.INFO: TCP Data received {"connection_id":219304,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:13:55] local.INFO: Processing buffer {"connection_id":219304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:13:55] local.INFO: Packet analysis {"connection_id":219304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:13:55] local.INFO: Extracted packet for processing {"connection_id":219304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":41,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:13: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-10-16 00:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774883328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792089689000,"timestamp_ms":1792089689000,"timestamp_seconds":1792089689,"priority":1,"record_length":96,"hex_timestamp":"000001a140de8ba8"} 
[2026-10-16 00:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:13: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 00:13:55] 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-10-16 00:13: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-10-16 00:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774883328001,"66":25995,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774883328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:13:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:13:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774883328001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":219304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:13:55] local.INFO: GPS data processed {"connection_id":219304,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:13:55] local.INFO: Acknowledgment sent {"connection_id":219304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:13:58] local.INFO: TCP Data received {"connection_id":216211,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:13:58] local.INFO: Processing buffer {"connection_id":216211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:13:58] local.INFO: IMEI packet received {"connection_id":216211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":216211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:13:59] local.INFO: TCP Data received {"connection_id":216211,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:13:59] local.INFO: Processing buffer {"connection_id":216211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:13:59] local.INFO: Packet analysis {"connection_id":216211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:13:59] local.INFO: Extracted packet for processing {"connection_id":216211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774849280001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089556000,"timestamp_ms":1792089556000,"timestamp_seconds":1792089556,"priority":1,"record_length":96,"hex_timestamp":"000001a140dc8420"} 
[2026-10-16 00:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774849280001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774849280001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:13:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774849280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":216211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:13:59] local.INFO: GPS data processed {"connection_id":216211,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:13:59] local.INFO: Acknowledgment sent {"connection_id":216211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:13:59] local.INFO: TCP Data received {"connection_id":216210,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:13:59] local.INFO: Processing buffer {"connection_id":216210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:13:59] local.INFO: Packet analysis {"connection_id":216210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:13:59] local.INFO: Extracted packet for processing {"connection_id":216210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774863872001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089613000,"timestamp_ms":1792089613000,"timestamp_seconds":1792089613,"priority":1,"record_length":96,"hex_timestamp":"000001a140dd62c8"} 
[2026-10-16 00:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:13:59] 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-10-16 00:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774863872001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774863872001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:13:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774863872001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":216210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:13:59] local.INFO: GPS data processed {"connection_id":216210,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:13:59] local.INFO: Acknowledgment sent {"connection_id":216210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:14:05] local.INFO: TCP Data received {"connection_id":219305,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:14:05] local.INFO: Processing buffer {"connection_id":219305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:14:05] local.INFO: Packet analysis {"connection_id":219305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:14:05] local.INFO: Extracted packet for processing {"connection_id":219305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:14:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:14: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-10-16 00:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":219305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":219305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":219305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:14:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:14:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":219305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:14:05] local.INFO: GPS data processed {"connection_id":219305,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:14:05] local.INFO: Acknowledgment sent {"connection_id":219305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:14:17] local.INFO: TCP Data received {"connection_id":217559,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:14:17] local.INFO: Processing buffer {"connection_id":217559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:14:17] local.INFO: IMEI packet received {"connection_id":217559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":217559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:14:21] local.INFO: TCP Data received {"connection_id":217560,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:14:21] local.INFO: Processing buffer {"connection_id":217560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:14:21] local.INFO: IMEI packet received {"connection_id":217560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":217560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:14:23] local.INFO: TCP Data received {"connection_id":217559,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:14:23] local.INFO: Processing buffer {"connection_id":217559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:14:23] local.INFO: IMEI packet received {"connection_id":217559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":217559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:14:24] local.INFO: TCP Data received {"connection_id":217559,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:14:24] local.INFO: Processing buffer {"connection_id":217559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:14:24] local.INFO: Packet analysis {"connection_id":217559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:14:24] local.INFO: Extracted packet for processing {"connection_id":217559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":41,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774883328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792089689000,"timestamp_ms":1792089689000,"timestamp_seconds":1792089689,"priority":1,"record_length":96,"hex_timestamp":"000001a140de8ba8"} 
[2026-10-16 00:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 00:14:24] 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-10-16 00:14: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-10-16 00:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774883328001,"66":25995,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774883328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:14:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:14:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774883328001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":217559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:14:24] local.INFO: GPS data processed {"connection_id":217559,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:14:24] local.INFO: Acknowledgment sent {"connection_id":217559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:14:27] local.INFO: TCP Data received {"connection_id":216212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:14:27] local.INFO: Processing buffer {"connection_id":216212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:14:27] local.INFO: IMEI packet received {"connection_id":216212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":216212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:14:27] local.INFO: TCP Data received {"connection_id":217560,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:14:27] local.INFO: Processing buffer {"connection_id":217560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:14:27] local.INFO: IMEI packet received {"connection_id":217560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":217560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:14:28] local.INFO: TCP Data received {"connection_id":217560,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:14:28] local.INFO: Processing buffer {"connection_id":217560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:14:28] local.INFO: Packet analysis {"connection_id":217560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:14:28] local.INFO: Extracted packet for processing {"connection_id":217560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:14:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:14:28] 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-10-16 00:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:14:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:14:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":217560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:14:28] local.INFO: GPS data processed {"connection_id":217560,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:14:28] local.INFO: Acknowledgment sent {"connection_id":217560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:14:30] local.INFO: TCP Data received {"connection_id":216211,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:14:30] local.INFO: Processing buffer {"connection_id":216211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dc8420012d196500071ff048003b014626..."} 
[2026-10-16 00:14:30] local.INFO: Packet analysis {"connection_id":216211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:14:30] local.INFO: Extracted packet for processing {"connection_id":216211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dc"} 
[2026-10-16 00:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774849280001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792089556000,"timestamp_ms":1792089556000,"timestamp_seconds":1792089556,"priority":1,"record_length":96,"hex_timestamp":"000001a140dc8420"} 
[2026-10-16 00:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774849280001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774849280001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:14:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:14:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774849280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":216211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:14:30] local.INFO: GPS data processed {"connection_id":216211,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:14:30] local.INFO: Acknowledgment sent {"connection_id":216211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:14:32] local.INFO: TCP Data received {"connection_id":216212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:14:32] local.INFO: Processing buffer {"connection_id":216212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:14:32] local.INFO: IMEI packet received {"connection_id":216212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":216212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:14:32] local.INFO: TCP Data received {"connection_id":216212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:14:32] local.INFO: Processing buffer {"connection_id":216212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:14:32] local.INFO: Packet analysis {"connection_id":216212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:14:32] local.INFO: Extracted packet for processing {"connection_id":216212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774863872001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792089613000,"timestamp_ms":1792089613000,"timestamp_seconds":1792089613,"priority":1,"record_length":96,"hex_timestamp":"000001a140dd62c8"} 
[2026-10-16 00:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:14:32] 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-10-16 00: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-10-16 00:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774863872001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774863872001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:14:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774863872001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":216212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:14:32] local.INFO: GPS data processed {"connection_id":216212,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:14:32] local.INFO: Acknowledgment sent {"connection_id":216212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:14:37] local.INFO: TCP Data received {"connection_id":216212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:14:37] local.INFO: Processing buffer {"connection_id":216212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dd62c8012d7c240005dad510000300ea23..."} 
[2026-10-16 00:14:37] local.INFO: Packet analysis {"connection_id":216212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:14:37] local.INFO: Extracted packet for processing {"connection_id":216212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140dd"} 
[2026-10-16 00:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774863872001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792089613000,"timestamp_ms":1792089613000,"timestamp_seconds":1792089613,"priority":1,"record_length":96,"hex_timestamp":"000001a140dd62c8"} 
[2026-10-16 00:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:14: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-10-16 00:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:14:37] 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-10-16 00:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774863872001,"66":12667,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774863872001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:14:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774863872001,"power":12667,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":216212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:14:37] local.INFO: GPS data processed {"connection_id":216212,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:14:37] local.INFO: Acknowledgment sent {"connection_id":216212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:14:53] local.INFO: TCP Data received {"connection_id":217561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:14:53] local.INFO: Processing buffer {"connection_id":217561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:14:53] local.INFO: IMEI packet received {"connection_id":217561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":217561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:14:55] local.INFO: TCP Data received {"connection_id":217561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:14:55] local.INFO: Processing buffer {"connection_id":217561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:14:55] local.INFO: IMEI packet received {"connection_id":217561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":217561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:14:56] local.INFO: TCP Data received {"connection_id":217559,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:14:56] local.INFO: Processing buffer {"connection_id":217559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:14:56] local.INFO: Packet analysis {"connection_id":217559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:14:56] local.INFO: Extracted packet for processing {"connection_id":217559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":41,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774883328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792089689000,"timestamp_ms":1792089689000,"timestamp_seconds":1792089689,"priority":1,"record_length":96,"hex_timestamp":"000001a140de8ba8"} 
[2026-10-16 00:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:14: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-10-16 00:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 00:14:56] 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-10-16 00:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774883328001,"66":25995,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774883328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:14:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:14:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774883328001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":217559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:14:56] local.INFO: GPS data processed {"connection_id":217559,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:14:56] local.INFO: Acknowledgment sent {"connection_id":217559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:14:58] local.INFO: TCP Data received {"connection_id":217561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:14:58] local.INFO: Processing buffer {"connection_id":217561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:14:58] local.INFO: IMEI packet received {"connection_id":217561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":217561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:15:06] local.INFO: TCP Data received {"connection_id":217560,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:15:06] local.INFO: Processing buffer {"connection_id":217560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:15:06] local.INFO: Packet analysis {"connection_id":217560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:15:06] local.INFO: Extracted packet for processing {"connection_id":217560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:15:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:15:06] 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-10-16 00: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:15:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:15:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":217560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042926,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:15:06] local.INFO: GPS data processed {"connection_id":217560,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:15:06] local.INFO: Acknowledgment sent {"connection_id":217560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:15:12] local.INFO: TCP Data received {"connection_id":217561,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:15:12] local.INFO: Processing buffer {"connection_id":217561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:15:12] local.INFO: Packet analysis {"connection_id":217561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:15:12] local.INFO: Extracted packet for processing {"connection_id":217561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:15:12] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774926336001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792089857000,"timestamp_ms":1792089857000,"timestamp_seconds":1792089857,"priority":1,"record_length":96,"hex_timestamp":"000001a140e11be8"} 
[2026-10-16 00:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":217561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":217561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":217561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774926336001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774926336001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:15:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774926336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":217561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:15:12] local.INFO: GPS data processed {"connection_id":217561,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:15:12] local.INFO: Acknowledgment sent {"connection_id":217561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:15:21] local.INFO: TCP Data received {"connection_id":216034,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:15:21] local.INFO: Processing buffer {"connection_id":216034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:15:21] local.INFO: IMEI packet received {"connection_id":216034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":216034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:15:22] local.INFO: TCP Data received {"connection_id":216033,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:15:22] local.INFO: Processing buffer {"connection_id":216033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:15:22] local.INFO: IMEI packet received {"connection_id":216033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":216033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:15:23] local.INFO: TCP Data received {"connection_id":219306,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:15:23] local.INFO: Processing buffer {"connection_id":219306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:15:23] local.INFO: IMEI packet received {"connection_id":219306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":219306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:15:27] local.INFO: TCP Data received {"connection_id":216033,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:15:27] local.INFO: Processing buffer {"connection_id":216033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:15:27] local.INFO: IMEI packet received {"connection_id":216033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":216033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:15:27] local.INFO: TCP Data received {"connection_id":216034,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:15:27] local.INFO: Processing buffer {"connection_id":216034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:15:27] local.INFO: IMEI packet received {"connection_id":216034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":216034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:15:27] local.INFO: TCP Data received {"connection_id":216033,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:15:27] local.INFO: Processing buffer {"connection_id":216033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:15:27] local.INFO: Packet analysis {"connection_id":216033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:15:27] local.INFO: Extracted packet for processing {"connection_id":216033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774940928001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792089914000,"timestamp_ms":1792089914000,"timestamp_seconds":1792089914,"priority":1,"record_length":96,"hex_timestamp":"000001a140e1fa90"} 
[2026-10-16 00:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774940928001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774940928001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:15:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774940928001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":216033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:15:28] local.INFO: GPS data processed {"connection_id":216033,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:15:28] local.INFO: Acknowledgment sent {"connection_id":216033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:15:28] local.INFO: TCP Data received {"connection_id":216034,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:15:28] local.INFO: Processing buffer {"connection_id":216034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:15:28] local.INFO: Packet analysis {"connection_id":216034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:15:28] local.INFO: Extracted packet for processing {"connection_id":216034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:15:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:15:28] 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-10-16 00:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:15:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:15:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":216034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042929,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:15:28] local.INFO: GPS data processed {"connection_id":216034,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:15:28] local.INFO: Acknowledgment sent {"connection_id":216034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:15:28] local.INFO: TCP Data received {"connection_id":219306,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:15:28] local.INFO: Processing buffer {"connection_id":219306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:15:28] local.INFO: IMEI packet received {"connection_id":219306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":219306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:15:29] local.INFO: TCP Data received {"connection_id":219306,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:15:29] local.INFO: Processing buffer {"connection_id":219306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:15:29] local.INFO: Packet analysis {"connection_id":219306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:15:29] local.INFO: Extracted packet for processing {"connection_id":219306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:15:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":41,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774883328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792089689000,"timestamp_ms":1792089689000,"timestamp_seconds":1792089689,"priority":1,"record_length":96,"hex_timestamp":"000001a140de8ba8"} 
[2026-10-16 00:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 00:15:29] 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-10-16 00:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774883328001,"66":25995,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774883328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:15:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:15:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774883328001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":219306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:15:29] local.INFO: GPS data processed {"connection_id":219306,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:15:29] local.INFO: Acknowledgment sent {"connection_id":219306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:15:34] local.INFO: TCP Data received {"connection_id":219306,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:15:34] local.INFO: Processing buffer {"connection_id":219306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:15:34] local.INFO: Packet analysis {"connection_id":219306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:15:34] local.INFO: Extracted packet for processing {"connection_id":219306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":41,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774883328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792089689000,"timestamp_ms":1792089689000,"timestamp_seconds":1792089689,"priority":1,"record_length":96,"hex_timestamp":"000001a140de8ba8"} 
[2026-10-16 00:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 00:15:34] 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-10-16 00:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774883328001,"66":25995,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774883328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:15:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:15:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774883328001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":219306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:15:34] local.INFO: GPS data processed {"connection_id":219306,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:15:34] local.INFO: Acknowledgment sent {"connection_id":219306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:15:58] local.INFO: TCP Data received {"connection_id":217562,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:15:58] local.INFO: Processing buffer {"connection_id":217562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:15:58] local.INFO: IMEI packet received {"connection_id":217562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":217562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:15:59] local.INFO: TCP Data received {"connection_id":216033,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:15:59] local.INFO: Processing buffer {"connection_id":216033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:15:59] local.INFO: Packet analysis {"connection_id":216033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:15:59] local.INFO: Extracted packet for processing {"connection_id":216033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774940928001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089914000,"timestamp_ms":1792089914000,"timestamp_seconds":1792089914,"priority":1,"record_length":96,"hex_timestamp":"000001a140e1fa90"} 
[2026-10-16 00:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:15:59] 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-10-16 00:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774940928001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774940928001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:15:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774940928001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":216033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:15:59] local.INFO: GPS data processed {"connection_id":216033,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:15:59] local.INFO: Acknowledgment sent {"connection_id":216033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:16:00] local.INFO: TCP Data received {"connection_id":216034,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:16:00] local.INFO: Processing buffer {"connection_id":216034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:16:00] local.INFO: Packet analysis {"connection_id":216034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:16:00] local.INFO: Extracted packet for processing {"connection_id":216034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:16:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:16:00] 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-10-16 00:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:16:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:16:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":216034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042933,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:16:00] local.INFO: GPS data processed {"connection_id":216034,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:16:00] local.INFO: Acknowledgment sent {"connection_id":216034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:16:03] local.INFO: TCP Data received {"connection_id":217562,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:16:03] local.INFO: Processing buffer {"connection_id":217562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:16:03] local.INFO: IMEI packet received {"connection_id":217562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":217562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:16:04] local.INFO: TCP Data received {"connection_id":217562,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:16:04] local.INFO: Processing buffer {"connection_id":217562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:16:04] local.INFO: Packet analysis {"connection_id":217562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:16:04] local.INFO: Extracted packet for processing {"connection_id":217562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774926336001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792089857000,"timestamp_ms":1792089857000,"timestamp_seconds":1792089857,"priority":1,"record_length":96,"hex_timestamp":"000001a140e11be8"} 
[2026-10-16 00:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":217562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":217562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":217562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774926336001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774926336001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:16:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774926336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":217562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:16:04] local.INFO: GPS data processed {"connection_id":217562,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:16:04] local.INFO: Acknowledgment sent {"connection_id":217562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:16:08] local.INFO: TCP Data received {"connection_id":217562,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:16:08] local.INFO: Processing buffer {"connection_id":217562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:16:08] local.INFO: Packet analysis {"connection_id":217562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:16:08] local.INFO: Extracted packet for processing {"connection_id":217562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774926336001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792089857000,"timestamp_ms":1792089857000,"timestamp_seconds":1792089857,"priority":1,"record_length":96,"hex_timestamp":"000001a140e11be8"} 
[2026-10-16 00:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:16: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-10-16 00: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-10-16 00:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":217562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":217562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":217562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774926336001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774926336001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:16:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774926336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":217562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:16:08] local.INFO: GPS data processed {"connection_id":217562,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:16:08] local.INFO: Acknowledgment sent {"connection_id":217562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:16:18] local.INFO: TCP Data received {"connection_id":216213,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:16:18] local.INFO: Processing buffer {"connection_id":216213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:16:18] local.INFO: IMEI packet received {"connection_id":216213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":216213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:16:21] local.INFO: TCP Data received {"connection_id":217563,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:16:21] local.INFO: Processing buffer {"connection_id":217563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:16:21] local.INFO: IMEI packet received {"connection_id":217563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":217563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:16:22] local.INFO: TCP Data received {"connection_id":216035,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:16:22] local.INFO: Processing buffer {"connection_id":216035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:16:22] local.INFO: IMEI packet received {"connection_id":216035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":216035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:16:23] local.INFO: TCP Data received {"connection_id":216213,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:16:23] local.INFO: Processing buffer {"connection_id":216213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:16:23] local.INFO: IMEI packet received {"connection_id":216213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":216213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:16:24] local.INFO: TCP Data received {"connection_id":216213,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:16:24] local.INFO: Processing buffer {"connection_id":216213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:16:24] local.INFO: Packet analysis {"connection_id":216213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:16:24] local.INFO: Extracted packet for processing {"connection_id":216213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":41,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774883328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792089689000,"timestamp_ms":1792089689000,"timestamp_seconds":1792089689,"priority":1,"record_length":96,"hex_timestamp":"000001a140de8ba8"} 
[2026-10-16 00:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 00:16:24] 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-10-16 00: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-10-16 00:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774883328001,"66":25995,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774883328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:16:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:16:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774883328001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":216213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:16:24] local.INFO: GPS data processed {"connection_id":216213,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:16:24] local.INFO: Acknowledgment sent {"connection_id":216213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:16:27] local.INFO: TCP Data received {"connection_id":216035,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:16:27] local.INFO: Processing buffer {"connection_id":216035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:16:27] local.INFO: IMEI packet received {"connection_id":216035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":216035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:16:27] local.INFO: TCP Data received {"connection_id":217563,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:16:27] local.INFO: Processing buffer {"connection_id":217563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:16:27] local.INFO: IMEI packet received {"connection_id":217563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":217563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:16:28] local.INFO: TCP Data received {"connection_id":217563,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:16:28] local.INFO: Processing buffer {"connection_id":217563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:16:28] local.INFO: Packet analysis {"connection_id":217563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:16:28] local.INFO: Extracted packet for processing {"connection_id":217563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:16:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:16:28] 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-10-16 00: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:16:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:16:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":217563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:16:28] local.INFO: GPS data processed {"connection_id":217563,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:16:28] local.INFO: Acknowledgment sent {"connection_id":217563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:16:32] local.INFO: TCP Data received {"connection_id":216035,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:16:32] local.INFO: Processing buffer {"connection_id":216035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:16:32] local.INFO: Packet analysis {"connection_id":216035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:16:32] local.INFO: Extracted packet for processing {"connection_id":216035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774940928001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792089914000,"timestamp_ms":1792089914000,"timestamp_seconds":1792089914,"priority":1,"record_length":96,"hex_timestamp":"000001a140e1fa90"} 
[2026-10-16 00:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:16:32] 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-10-16 00:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774940928001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774940928001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:16:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774940928001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":216035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:16:32] local.INFO: GPS data processed {"connection_id":216035,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:16:32] local.INFO: Acknowledgment sent {"connection_id":216035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:16:53] local.INFO: TCP Data received {"connection_id":216214,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:16:53] local.INFO: Processing buffer {"connection_id":216214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:16:53] local.INFO: IMEI packet received {"connection_id":216214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":216214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:16:56] local.INFO: TCP Data received {"connection_id":216213,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:16:56] local.INFO: Processing buffer {"connection_id":216213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140de8ba8012d7fac4005afe350002900a626..."} 
[2026-10-16 00:16:56] local.INFO: Packet analysis {"connection_id":216213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:16:56] local.INFO: Extracted packet for processing {"connection_id":216213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140de"} 
[2026-10-16 00:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":41,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774883328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792089689000,"timestamp_ms":1792089689000,"timestamp_seconds":1792089689,"priority":1,"record_length":96,"hex_timestamp":"000001a140de8ba8"} 
[2026-10-16 00:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:16: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-10-16 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 00:16:56] 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-10-16 00: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-10-16 00:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774883328001,"66":25995,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774883328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:16:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:16:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774883328001,"power":25995,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":216213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:16:56] local.INFO: GPS data processed {"connection_id":216213,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:16:56] local.INFO: Acknowledgment sent {"connection_id":216213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:16:58] local.INFO: TCP Data received {"connection_id":216214,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:16:58] local.INFO: Processing buffer {"connection_id":216214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:16:58] local.INFO: IMEI packet received {"connection_id":216214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":216214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:16:59] local.INFO: TCP Data received {"connection_id":216214,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:16:59] local.INFO: Processing buffer {"connection_id":216214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:16:59] local.INFO: Packet analysis {"connection_id":216214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:16:59] local.INFO: Extracted packet for processing {"connection_id":216214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774926336001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089857000,"timestamp_ms":1792089857000,"timestamp_seconds":1792089857,"priority":1,"record_length":96,"hex_timestamp":"000001a140e11be8"} 
[2026-10-16 00:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774926336001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774926336001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:16:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:16:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774926336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":216214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:16:59] local.INFO: GPS data processed {"connection_id":216214,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:16:59] local.INFO: Acknowledgment sent {"connection_id":216214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:17:00] local.INFO: TCP Data received {"connection_id":217563,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:17:00] local.INFO: Processing buffer {"connection_id":217563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:17:00] local.INFO: Packet analysis {"connection_id":217563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:17:00] local.INFO: Extracted packet for processing {"connection_id":217563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:17:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:17: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-10-16 00:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:17:00] 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-10-16 00:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:17: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-10-16 00:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:17:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:17:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":217563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042941,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:17:00] local.INFO: GPS data processed {"connection_id":217563,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:17:00] local.INFO: Acknowledgment sent {"connection_id":217563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:17:03] local.INFO: TCP Data received {"connection_id":216035,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:17:03] local.INFO: Processing buffer {"connection_id":216035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:17:03] local.INFO: Packet analysis {"connection_id":216035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:17:03] local.INFO: Extracted packet for processing {"connection_id":216035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774940928001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792089914000,"timestamp_ms":1792089914000,"timestamp_seconds":1792089914,"priority":1,"record_length":96,"hex_timestamp":"000001a140e1fa90"} 
[2026-10-16 00:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:17:03] 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-10-16 00: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-10-16 00:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774940928001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774940928001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:17:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774940928001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":216035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:17:03] local.INFO: GPS data processed {"connection_id":216035,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:17:03] local.INFO: Acknowledgment sent {"connection_id":216035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:17:17] local.INFO: TCP Data received {"connection_id":216215,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:17:17] local.INFO: Processing buffer {"connection_id":216215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:17:17] local.INFO: IMEI packet received {"connection_id":216215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":216215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:17:21] local.INFO: TCP Data received {"connection_id":216036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:17:21] local.INFO: Processing buffer {"connection_id":216036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:17:21] local.INFO: IMEI packet received {"connection_id":216036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":216036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:17:23] local.INFO: TCP Data received {"connection_id":216215,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:17:23] local.INFO: Processing buffer {"connection_id":216215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:17:23] local.INFO: IMEI packet received {"connection_id":216215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":216215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:17:24] local.INFO: TCP Data received {"connection_id":216215,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:17:24] local.INFO: Processing buffer {"connection_id":216215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:17:24] local.INFO: Packet analysis {"connection_id":216215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:17:24] local.INFO: Extracted packet for processing {"connection_id":216215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774960384001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792089990000,"timestamp_ms":1792089990000,"timestamp_seconds":1792089990,"priority":1,"record_length":96,"hex_timestamp":"000001a140e32370"} 
[2026-10-16 00:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 00:17:24] 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-10-16 00:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774960384001,"66":25941,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774960384001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:17:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:17:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774960384001,"power":25941,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":216215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:17:24] local.INFO: GPS data processed {"connection_id":216215,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:17:24] local.INFO: Acknowledgment sent {"connection_id":216215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:17:27] local.INFO: TCP Data received {"connection_id":216036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:17:27] local.INFO: Processing buffer {"connection_id":216036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:17:27] local.INFO: IMEI packet received {"connection_id":216036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":216036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:17:27] local.INFO: TCP Data received {"connection_id":217564,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:17:27] local.INFO: Processing buffer {"connection_id":217564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:17:27] local.INFO: IMEI packet received {"connection_id":217564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":217564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:17:28] local.INFO: TCP Data received {"connection_id":216036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:17:28] local.INFO: Processing buffer {"connection_id":216036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:17:28] local.INFO: Packet analysis {"connection_id":216036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:17:28] local.INFO: Extracted packet for processing {"connection_id":216036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774940928001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792089914000,"timestamp_ms":1792089914000,"timestamp_seconds":1792089914,"priority":1,"record_length":96,"hex_timestamp":"000001a140e1fa90"} 
[2026-10-16 00:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:17:28] 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-10-16 00:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774940928001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774940928001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:17:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774940928001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":216036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:17:28] local.INFO: GPS data processed {"connection_id":216036,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:17:28] local.INFO: Acknowledgment sent {"connection_id":216036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:17:29] local.INFO: TCP Data received {"connection_id":216214,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:17:29] local.INFO: Processing buffer {"connection_id":216214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:17:29] local.INFO: Packet analysis {"connection_id":216214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:17:29] local.INFO: Extracted packet for processing {"connection_id":216214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774926336001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792089857000,"timestamp_ms":1792089857000,"timestamp_seconds":1792089857,"priority":1,"record_length":96,"hex_timestamp":"000001a140e11be8"} 
[2026-10-16 00:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774926336001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774926336001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:17:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774926336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":216214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:17:30] local.INFO: GPS data processed {"connection_id":216214,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:17:30] local.INFO: Acknowledgment sent {"connection_id":216214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:17:32] local.INFO: TCP Data received {"connection_id":217564,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:17:32] local.INFO: Processing buffer {"connection_id":217564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:17:32] local.INFO: IMEI packet received {"connection_id":217564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":217564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:17:33] local.INFO: TCP Data received {"connection_id":217564,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:17:33] local.INFO: Processing buffer {"connection_id":217564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:17:33] local.INFO: Packet analysis {"connection_id":217564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:17:33] local.INFO: Extracted packet for processing {"connection_id":217564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:17:33] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:17:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:17:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":217564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042946,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:17:33] local.INFO: GPS data processed {"connection_id":217564,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:17:33] local.INFO: Acknowledgment sent {"connection_id":217564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:17:53] local.INFO: TCP Data received {"connection_id":217565,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:17:53] local.INFO: Processing buffer {"connection_id":217565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:17:53] local.INFO: IMEI packet received {"connection_id":217565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":217565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:17:56] local.INFO: TCP Data received {"connection_id":216215,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:17:56] local.INFO: Processing buffer {"connection_id":216215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:17:56] local.INFO: Packet analysis {"connection_id":216215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:17:56] local.INFO: Extracted packet for processing {"connection_id":216215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774960384001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792089990000,"timestamp_ms":1792089990000,"timestamp_seconds":1792089990,"priority":1,"record_length":96,"hex_timestamp":"000001a140e32370"} 
[2026-10-16 00:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 00:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774960384001,"66":25941,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774960384001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:17:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:17:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774960384001,"power":25941,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":216215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:17:56] local.INFO: GPS data processed {"connection_id":216215,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:17:56] local.INFO: Acknowledgment sent {"connection_id":216215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:17:58] local.INFO: TCP Data received {"connection_id":217565,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:17:58] local.INFO: Processing buffer {"connection_id":217565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:17:58] local.INFO: IMEI packet received {"connection_id":217565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":217565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:17:59] local.INFO: TCP Data received {"connection_id":217565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:17:59] local.INFO: Processing buffer {"connection_id":217565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:17:59] local.INFO: Packet analysis {"connection_id":217565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:17:59] local.INFO: Extracted packet for processing {"connection_id":217565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:17: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-10-16 00:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774926336001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089857000,"timestamp_ms":1792089857000,"timestamp_seconds":1792089857,"priority":1,"record_length":96,"hex_timestamp":"000001a140e11be8"} 
[2026-10-16 00:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:17: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-10-16 00:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774926336001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774926336001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774926336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":217565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:17:59] local.INFO: GPS data processed {"connection_id":217565,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:17:59] local.INFO: Acknowledgment sent {"connection_id":217565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:17:59] local.INFO: TCP Data received {"connection_id":216036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:17:59] local.INFO: Processing buffer {"connection_id":216036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:17:59] local.INFO: Packet analysis {"connection_id":216036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:17:59] local.INFO: Extracted packet for processing {"connection_id":216036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:17: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-10-16 00:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774940928001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792089914000,"timestamp_ms":1792089914000,"timestamp_seconds":1792089914,"priority":1,"record_length":96,"hex_timestamp":"000001a140e1fa90"} 
[2026-10-16 00:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:17:59] 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-10-16 00:17: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-10-16 00:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:17:59] 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-10-16 00:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774940928001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774940928001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:17:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774940928001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":216036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:17:59] local.INFO: GPS data processed {"connection_id":216036,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:17:59] local.INFO: Acknowledgment sent {"connection_id":216036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:18:05] local.INFO: TCP Data received {"connection_id":217564,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:18:05] local.INFO: Processing buffer {"connection_id":217564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140dfb488012d77a94005f2a800000b005925..."} 
[2026-10-16 00:18:05] local.INFO: Packet analysis {"connection_id":217564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:18:05] local.INFO: Extracted packet for processing {"connection_id":217564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140df"} 
[2026-10-16 00:18:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792089765000,"timestamp_ms":1792089765000,"timestamp_seconds":1792089765,"priority":1,"record_length":96,"hex_timestamp":"000001a140dfb488"} 
[2026-10-16 00:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:18: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-10-16 00: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 00:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774902016001,"66":26876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:18:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:18:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774902016001,"power":26876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":217564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:18:05] local.INFO: GPS data processed {"connection_id":217564,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:18:05] local.INFO: Acknowledgment sent {"connection_id":217564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:18:21] local.INFO: TCP Data received {"connection_id":219307,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:18:21] local.INFO: Processing buffer {"connection_id":219307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:18:21] local.INFO: IMEI packet received {"connection_id":219307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":219307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:18:22] local.INFO: TCP Data received {"connection_id":216217,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:18:22] local.INFO: Processing buffer {"connection_id":216217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:18:22] local.INFO: IMEI packet received {"connection_id":216217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":216217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:18:23] local.INFO: TCP Data received {"connection_id":216216,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:18:23] local.INFO: Processing buffer {"connection_id":216216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:18:23] local.INFO: IMEI packet received {"connection_id":216216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":216216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:18:23] local.INFO: TCP Data received {"connection_id":216217,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:18:23] local.INFO: Processing buffer {"connection_id":216217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:18:23] local.INFO: IMEI packet received {"connection_id":216217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":216217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:18:24] local.INFO: TCP Data received {"connection_id":216217,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:18:24] local.INFO: Processing buffer {"connection_id":216217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:18:24] local.INFO: Packet analysis {"connection_id":216217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:18:24] local.INFO: Extracted packet for processing {"connection_id":216217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:18:24] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792090066000,"timestamp_ms":1792090066000,"timestamp_seconds":1792090066,"priority":1,"record_length":96,"hex_timestamp":"000001a140e44c50"} 
[2026-10-16 00:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 00:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774979840001,"66":25897,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:18:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:18:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774979840001,"power":25897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":216217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:18:24] local.INFO: GPS data processed {"connection_id":216217,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:18:24] local.INFO: Acknowledgment sent {"connection_id":216217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:18:27] local.INFO: TCP Data received {"connection_id":219307,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:18:27] local.INFO: Processing buffer {"connection_id":219307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:18:27] local.INFO: IMEI packet received {"connection_id":219307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":219307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:18:28] local.INFO: TCP Data received {"connection_id":216216,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:18:28] local.INFO: Processing buffer {"connection_id":216216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:18:28] local.INFO: IMEI packet received {"connection_id":216216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":216216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:18:29] local.INFO: TCP Data received {"connection_id":216216,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:18:29] local.INFO: Processing buffer {"connection_id":216216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:18:29] local.INFO: Packet analysis {"connection_id":216216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:18:29] local.INFO: Extracted packet for processing {"connection_id":216216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774960384001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792089990000,"timestamp_ms":1792089990000,"timestamp_seconds":1792089990,"priority":1,"record_length":96,"hex_timestamp":"000001a140e32370"} 
[2026-10-16 00:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 00:18:29] 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-10-16 00:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774960384001,"66":25941,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774960384001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:18:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:18:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774960384001,"power":25941,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":216216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:18:29] local.INFO: GPS data processed {"connection_id":216216,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:18:29] local.INFO: Acknowledgment sent {"connection_id":216216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:18:31] local.INFO: TCP Data received {"connection_id":219307,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:18:31] local.INFO: Processing buffer {"connection_id":219307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:18:31] local.INFO: Packet analysis {"connection_id":219307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:18:31] local.INFO: Extracted packet for processing {"connection_id":219307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774940928001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792089914000,"timestamp_ms":1792089914000,"timestamp_seconds":1792089914,"priority":1,"record_length":96,"hex_timestamp":"000001a140e1fa90"} 
[2026-10-16 00:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:18:31] 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-10-16 00:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774940928001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774940928001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:18:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774940928001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":219307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:18:31] local.INFO: GPS data processed {"connection_id":219307,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:18:31] local.INFO: Acknowledgment sent {"connection_id":219307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:18:32] local.INFO: TCP Data received {"connection_id":217565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:18:32] local.INFO: Processing buffer {"connection_id":217565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:18:32] local.INFO: Packet analysis {"connection_id":217565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:18:32] local.INFO: Extracted packet for processing {"connection_id":217565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774926336001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792089857000,"timestamp_ms":1792089857000,"timestamp_seconds":1792089857,"priority":1,"record_length":96,"hex_timestamp":"000001a140e11be8"} 
[2026-10-16 00:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774926336001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774926336001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:18:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774926336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":217565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:18:33] local.INFO: GPS data processed {"connection_id":217565,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:18:33] local.INFO: Acknowledgment sent {"connection_id":217565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:18:34] local.INFO: TCP Data received {"connection_id":216216,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:18:34] local.INFO: Processing buffer {"connection_id":216216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:18:34] local.INFO: Packet analysis {"connection_id":216216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:18:34] local.INFO: Extracted packet for processing {"connection_id":216216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774960384001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792089990000,"timestamp_ms":1792089990000,"timestamp_seconds":1792089990,"priority":1,"record_length":96,"hex_timestamp":"000001a140e32370"} 
[2026-10-16 00:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 00:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774960384001,"66":25941,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774960384001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:18:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:18:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774960384001,"power":25941,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":216216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:18:34] local.INFO: GPS data processed {"connection_id":216216,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:18:34] local.INFO: Acknowledgment sent {"connection_id":216216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:18:53] local.INFO: TCP Data received {"connection_id":219308,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:18:53] local.INFO: Processing buffer {"connection_id":219308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:18:53] local.INFO: IMEI packet received {"connection_id":219308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":219308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:18:57] local.INFO: TCP Data received {"connection_id":216217,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:18:57] local.INFO: Processing buffer {"connection_id":216217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:18:57] local.INFO: Packet analysis {"connection_id":216217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:18:57] local.INFO: Extracted packet for processing {"connection_id":216217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:18:57] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792090066000,"timestamp_ms":1792090066000,"timestamp_seconds":1792090066,"priority":1,"record_length":96,"hex_timestamp":"000001a140e44c50"} 
[2026-10-16 00:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:18:57] 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-10-16 00:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 00:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774979840001,"66":25897,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:18:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:18:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774979840001,"power":25897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":216217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:18:57] local.INFO: GPS data processed {"connection_id":216217,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:18:57] local.INFO: Acknowledgment sent {"connection_id":216217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:18:58] local.INFO: TCP Data received {"connection_id":219308,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:18:58] local.INFO: Processing buffer {"connection_id":219308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:18:58] local.INFO: IMEI packet received {"connection_id":219308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":219308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:19:03] local.INFO: TCP Data received {"connection_id":219307,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:19:03] local.INFO: Processing buffer {"connection_id":219307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:19:03] local.INFO: Packet analysis {"connection_id":219307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:19:03] local.INFO: Extracted packet for processing {"connection_id":219307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774940928001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792089914000,"timestamp_ms":1792089914000,"timestamp_seconds":1792089914,"priority":1,"record_length":96,"hex_timestamp":"000001a140e1fa90"} 
[2026-10-16 00:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:19:03] 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-10-16 00: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-10-16 00:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":219307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":219307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":219307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774940928001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774940928001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:19:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:19:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774940928001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":219307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:19:03] local.INFO: GPS data processed {"connection_id":219307,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:19:03] local.INFO: Acknowledgment sent {"connection_id":219307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:19:18] local.INFO: TCP Data received {"connection_id":219308,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:19:18] local.INFO: Processing buffer {"connection_id":219308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e11be8012d196500071ff048003b014624..."} 
[2026-10-16 00:19:18] local.INFO: Packet analysis {"connection_id":219308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:19:18] local.INFO: Extracted packet for processing {"connection_id":219308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774926336001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792089857000,"timestamp_ms":1792089857000,"timestamp_seconds":1792089857,"priority":1,"record_length":96,"hex_timestamp":"000001a140e11be8"} 
[2026-10-16 00:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 00:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":219308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":219308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":219308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774926336001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774926336001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:19:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774926336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":219308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:19:18] local.INFO: GPS data processed {"connection_id":219308,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:19:18] local.INFO: Acknowledgment sent {"connection_id":219308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:19:18] local.INFO: TCP Data received {"connection_id":219309,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:19:18] local.INFO: Processing buffer {"connection_id":219309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:19:18] local.INFO: IMEI packet received {"connection_id":219309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":219309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:19:21] local.INFO: TCP Data received {"connection_id":217566,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:19:21] local.INFO: Processing buffer {"connection_id":217566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:19:21] local.INFO: IMEI packet received {"connection_id":217566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":217566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:19:23] local.INFO: TCP Data received {"connection_id":219309,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:19:23] local.INFO: Processing buffer {"connection_id":219309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:19:23] local.INFO: IMEI packet received {"connection_id":219309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":219309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:19:24] local.INFO: TCP Data received {"connection_id":219309,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:19:24] local.INFO: Processing buffer {"connection_id":219309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:19:24] local.INFO: Packet analysis {"connection_id":219309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:19:24] local.INFO: Extracted packet for processing {"connection_id":219309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774960384001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792089990000,"timestamp_ms":1792089990000,"timestamp_seconds":1792089990,"priority":1,"record_length":96,"hex_timestamp":"000001a140e32370"} 
[2026-10-16 00:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 00:19:24] 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-10-16 00:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774960384001,"66":25941,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774960384001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:19:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:19:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774960384001,"power":25941,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":219309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:19:24] local.INFO: GPS data processed {"connection_id":219309,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:19:24] local.INFO: Acknowledgment sent {"connection_id":219309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:19:27] local.INFO: TCP Data received {"connection_id":216218,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:19:27] local.INFO: Processing buffer {"connection_id":216218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:19:27] local.INFO: IMEI packet received {"connection_id":216218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":216218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:19:27] local.INFO: TCP Data received {"connection_id":217566,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:19:27] local.INFO: Processing buffer {"connection_id":217566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:19:27] local.INFO: IMEI packet received {"connection_id":217566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":217566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:19:28] local.INFO: TCP Data received {"connection_id":217566,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:19:28] local.INFO: Processing buffer {"connection_id":217566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:19:28] local.INFO: Packet analysis {"connection_id":217566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:19:28] local.INFO: Extracted packet for processing {"connection_id":217566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:19:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090066000,"timestamp_ms":1792090066000,"timestamp_seconds":1792090066,"priority":1,"record_length":96,"hex_timestamp":"000001a140e44c50"} 
[2026-10-16 00:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 00:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774979840001,"66":25897,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:19:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:19:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774979840001,"power":25897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":217566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042960,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:19:28] local.INFO: GPS data processed {"connection_id":217566,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:19:28] local.INFO: Acknowledgment sent {"connection_id":217566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:19:32] local.INFO: TCP Data received {"connection_id":216218,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:19:32] local.INFO: Processing buffer {"connection_id":216218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:19:32] local.INFO: IMEI packet received {"connection_id":216218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":216218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:19:33] local.INFO: TCP Data received {"connection_id":216218,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:19:33] local.INFO: Processing buffer {"connection_id":216218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:19:33] local.INFO: Packet analysis {"connection_id":216218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:19:33] local.INFO: Extracted packet for processing {"connection_id":216218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774940928001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792089914000,"timestamp_ms":1792089914000,"timestamp_seconds":1792089914,"priority":1,"record_length":96,"hex_timestamp":"000001a140e1fa90"} 
[2026-10-16 00:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:19: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-10-16 00:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774940928001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774940928001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:19:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774940928001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":216218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:19:33] local.INFO: GPS data processed {"connection_id":216218,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:19:33] local.INFO: Acknowledgment sent {"connection_id":216218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:19:41] local.INFO: TCP Data received {"connection_id":216218,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:19:41] local.INFO: Processing buffer {"connection_id":216218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e1fa90012d7c240005dad510000d00ea28..."} 
[2026-10-16 00:19:41] local.INFO: Packet analysis {"connection_id":216218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:19:41] local.INFO: Extracted packet for processing {"connection_id":216218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e1"} 
[2026-10-16 00:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774940928001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792089914000,"timestamp_ms":1792089914000,"timestamp_seconds":1792089914,"priority":1,"record_length":96,"hex_timestamp":"000001a140e1fa90"} 
[2026-10-16 00:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 00:19:41] 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-10-16 00:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":216218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":216218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":216218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:19:41] 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-10-16 00:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774940928001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774940928001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:19:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774940928001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":216218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:19:41] local.INFO: GPS data processed {"connection_id":216218,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:19:41] local.INFO: Acknowledgment sent {"connection_id":216218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:19:53] local.INFO: TCP Data received {"connection_id":216219,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:19:53] local.INFO: Processing buffer {"connection_id":216219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:19:53] local.INFO: IMEI packet received {"connection_id":216219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":216219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:19:56] local.INFO: TCP Data received {"connection_id":219309,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:19:56] local.INFO: Processing buffer {"connection_id":219309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:19:56] local.INFO: Packet analysis {"connection_id":219309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:19:56] local.INFO: Extracted packet for processing {"connection_id":219309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774960384001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792089990000,"timestamp_ms":1792089990000,"timestamp_seconds":1792089990,"priority":1,"record_length":96,"hex_timestamp":"000001a140e32370"} 
[2026-10-16 00:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 00:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774960384001,"66":25941,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774960384001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:19:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:19:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774960384001,"power":25941,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":219309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:19:56] local.INFO: GPS data processed {"connection_id":219309,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:19:56] local.INFO: Acknowledgment sent {"connection_id":219309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:19:56] local.INFO: TCP Data received {"connection_id":216219,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:19:56] local.INFO: Processing buffer {"connection_id":216219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:19:56] local.INFO: IMEI packet received {"connection_id":216219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":216219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:19:57] local.INFO: TCP Data received {"connection_id":216219,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:19:57] local.INFO: Processing buffer {"connection_id":216219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:19:57] local.INFO: Packet analysis {"connection_id":216219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:19:57] local.INFO: Extracted packet for processing {"connection_id":216219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775003392001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792090158000,"timestamp_ms":1792090158000,"timestamp_seconds":1792090158,"priority":1,"record_length":96,"hex_timestamp":"000001a140e5b3b0"} 
[2026-10-16 00:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775003392001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775003392001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:19:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775003392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":216219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:19:57] local.INFO: GPS data processed {"connection_id":216219,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:19:57] local.INFO: Acknowledgment sent {"connection_id":216219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:20:00] local.INFO: TCP Data received {"connection_id":217566,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:20:00] local.INFO: Processing buffer {"connection_id":217566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:20:00] local.INFO: Packet analysis {"connection_id":217566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:20:00] local.INFO: Extracted packet for processing {"connection_id":217566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:20:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090066000,"timestamp_ms":1792090066000,"timestamp_seconds":1792090066,"priority":1,"record_length":96,"hex_timestamp":"000001a140e44c50"} 
[2026-10-16 00:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:20:00] 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-10-16 00:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 00:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774979840001,"66":25897,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:20:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:20:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774979840001,"power":25897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":217566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:20:00] local.INFO: GPS data processed {"connection_id":217566,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:20:00] local.INFO: Acknowledgment sent {"connection_id":217566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:20:17] local.INFO: TCP Data received {"connection_id":216037,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:20:17] local.INFO: Processing buffer {"connection_id":216037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:20:17] local.INFO: IMEI packet received {"connection_id":216037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":216037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:20:22] local.INFO: TCP Data received {"connection_id":216220,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:20:22] local.INFO: Processing buffer {"connection_id":216220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:20:22] local.INFO: IMEI packet received {"connection_id":216220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":216220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:20:23] local.INFO: TCP Data received {"connection_id":216037,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:20:23] local.INFO: Processing buffer {"connection_id":216037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:20:23] local.INFO: IMEI packet received {"connection_id":216037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":216037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:20:25] local.INFO: TCP Data received {"connection_id":216037,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:20:25] local.INFO: Processing buffer {"connection_id":216037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:20:25] local.INFO: Packet analysis {"connection_id":216037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:20:25] local.INFO: Extracted packet for processing {"connection_id":216037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774960384001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792089990000,"timestamp_ms":1792089990000,"timestamp_seconds":1792089990,"priority":1,"record_length":96,"hex_timestamp":"000001a140e32370"} 
[2026-10-16 00:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 00:20:25] 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-10-16 00:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774960384001,"66":25941,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774960384001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:20:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:20:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774960384001,"power":25941,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":216037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:20:25] local.INFO: GPS data processed {"connection_id":216037,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:20:25] local.INFO: Acknowledgment sent {"connection_id":216037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:20:27] local.INFO: TCP Data received {"connection_id":216220,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:20:27] local.INFO: Processing buffer {"connection_id":216220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:20:27] local.INFO: IMEI packet received {"connection_id":216220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":216220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:20:27] local.INFO: TCP Data received {"connection_id":216221,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:20:27] local.INFO: Processing buffer {"connection_id":216221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:20:27] local.INFO: IMEI packet received {"connection_id":216221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":216221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:20:28] local.INFO: TCP Data received {"connection_id":216219,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:20:28] local.INFO: Processing buffer {"connection_id":216219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:20:28] local.INFO: Packet analysis {"connection_id":216219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:20:28] local.INFO: Extracted packet for processing {"connection_id":216219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775003392001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090158000,"timestamp_ms":1792090158000,"timestamp_seconds":1792090158,"priority":1,"record_length":96,"hex_timestamp":"000001a140e5b3b0"} 
[2026-10-16 00:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775003392001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775003392001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:20:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775003392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":216219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:20:28] local.INFO: GPS data processed {"connection_id":216219,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:20:28] local.INFO: Acknowledgment sent {"connection_id":216219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:20:30] local.INFO: TCP Data received {"connection_id":216220,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:20:30] local.INFO: Processing buffer {"connection_id":216220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:20:30] local.INFO: Packet analysis {"connection_id":216220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:20:30] local.INFO: Extracted packet for processing {"connection_id":216220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":19,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:20: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-10-16 00:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792090215000,"timestamp_ms":1792090215000,"timestamp_seconds":1792090215,"priority":1,"record_length":96,"hex_timestamp":"000001a140e69258"} 
[2026-10-16 00:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:20:30] 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-10-16 00:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:20:30] 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-10-16 00:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775017984001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:20:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775017984001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":216220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:20:30] local.INFO: GPS data processed {"connection_id":216220,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:20:30] local.INFO: Acknowledgment sent {"connection_id":216220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:20:32] local.INFO: TCP Data received {"connection_id":216221,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:20:32] local.INFO: Processing buffer {"connection_id":216221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:20:32] local.INFO: IMEI packet received {"connection_id":216221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":216221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:20:37] local.INFO: TCP Data received {"connection_id":216221,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:20:37] local.INFO: Processing buffer {"connection_id":216221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:20:37] local.INFO: Packet analysis {"connection_id":216221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:20:37] local.INFO: Extracted packet for processing {"connection_id":216221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:20:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792090066000,"timestamp_ms":1792090066000,"timestamp_seconds":1792090066,"priority":1,"record_length":96,"hex_timestamp":"000001a140e44c50"} 
[2026-10-16 00:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:20:37] 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-10-16 00: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 00:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774979840001,"66":25897,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:20:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:20:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774979840001,"power":25897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":216221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:20:37] local.INFO: GPS data processed {"connection_id":216221,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:20:37] local.INFO: Acknowledgment sent {"connection_id":216221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:20:38] local.INFO: TCP Data received {"connection_id":216221,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:20:38] local.INFO: Processing buffer {"connection_id":216221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:20:38] local.INFO: Packet analysis {"connection_id":216221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:20:38] local.INFO: Extracted packet for processing {"connection_id":216221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:20:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792090066000,"timestamp_ms":1792090066000,"timestamp_seconds":1792090066,"priority":1,"record_length":96,"hex_timestamp":"000001a140e44c50"} 
[2026-10-16 00:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:20:38] 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-10-16 00: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 00:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774979840001,"66":25897,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:20:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:20:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774979840001,"power":25897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":216221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042970,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:20:38] local.INFO: GPS data processed {"connection_id":216221,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:20:38] local.INFO: Acknowledgment sent {"connection_id":216221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:20:53] local.INFO: TCP Data received {"connection_id":216038,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:20:53] local.INFO: Processing buffer {"connection_id":216038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:20:53] local.INFO: IMEI packet received {"connection_id":216038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":216038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:20:56] local.INFO: TCP Data received {"connection_id":216037,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:20:56] local.INFO: Processing buffer {"connection_id":216037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:20:56] local.INFO: Packet analysis {"connection_id":216037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:20:56] local.INFO: Extracted packet for processing {"connection_id":216037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774960384001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792089990000,"timestamp_ms":1792089990000,"timestamp_seconds":1792089990,"priority":1,"record_length":96,"hex_timestamp":"000001a140e32370"} 
[2026-10-16 00:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 00:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774960384001,"66":25941,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774960384001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:20:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:20:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774960384001,"power":25941,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":216037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:20:56] local.INFO: GPS data processed {"connection_id":216037,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:20:56] local.INFO: Acknowledgment sent {"connection_id":216037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:20:58] local.INFO: TCP Data received {"connection_id":216038,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:20:58] local.INFO: Processing buffer {"connection_id":216038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:20:58] local.INFO: IMEI packet received {"connection_id":216038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":216038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:20:59] local.INFO: TCP Data received {"connection_id":216038,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:20:59] local.INFO: Processing buffer {"connection_id":216038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:20:59] local.INFO: Packet analysis {"connection_id":216038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:20:59] local.INFO: Extracted packet for processing {"connection_id":216038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775003392001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090158000,"timestamp_ms":1792090158000,"timestamp_seconds":1792090158,"priority":1,"record_length":96,"hex_timestamp":"000001a140e5b3b0"} 
[2026-10-16 00:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775003392001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775003392001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:20:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775003392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":216038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:20:59] local.INFO: GPS data processed {"connection_id":216038,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:20:59] local.INFO: Acknowledgment sent {"connection_id":216038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:21:01] local.INFO: TCP Data received {"connection_id":216220,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:21:01] local.INFO: Processing buffer {"connection_id":216220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:21:01] local.INFO: Packet analysis {"connection_id":216220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:21:01] local.INFO: Extracted packet for processing {"connection_id":216220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":19,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792090215000,"timestamp_ms":1792090215000,"timestamp_seconds":1792090215,"priority":1,"record_length":96,"hex_timestamp":"000001a140e69258"} 
[2026-10-16 00:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:21:01] 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-10-16 00:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775017984001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:21:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775017984001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":216220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:21:01] local.INFO: GPS data processed {"connection_id":216220,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:21:01] local.INFO: Acknowledgment sent {"connection_id":216220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:21:17] local.INFO: TCP Data received {"connection_id":217567,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:21:17] local.INFO: Processing buffer {"connection_id":217567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:21:17] local.INFO: IMEI packet received {"connection_id":217567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":217567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:21:21] local.INFO: TCP Data received {"connection_id":217569,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:21:21] local.INFO: Processing buffer {"connection_id":217569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:21:21] local.INFO: IMEI packet received {"connection_id":217569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":217569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:21:22] local.INFO: TCP Data received {"connection_id":217568,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:21:22] local.INFO: Processing buffer {"connection_id":217568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:21:22] local.INFO: IMEI packet received {"connection_id":217568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":217568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:21:23] local.INFO: TCP Data received {"connection_id":217567,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:21:23] local.INFO: Processing buffer {"connection_id":217567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:21:23] local.INFO: IMEI packet received {"connection_id":217567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":217567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:21:24] local.INFO: TCP Data received {"connection_id":217567,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:21:24] local.INFO: Processing buffer {"connection_id":217567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:21:24] local.INFO: Packet analysis {"connection_id":217567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:21:24] local.INFO: Extracted packet for processing {"connection_id":217567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:21:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774960384001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792089990000,"timestamp_ms":1792089990000,"timestamp_seconds":1792089990,"priority":1,"record_length":96,"hex_timestamp":"000001a140e32370"} 
[2026-10-16 00:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 00:21:24] 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-10-16 00:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774960384001,"66":25941,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774960384001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:21:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:21:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774960384001,"power":25941,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":217567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:21:24] local.INFO: GPS data processed {"connection_id":217567,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:21:24] local.INFO: Acknowledgment sent {"connection_id":217567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:21:27] local.INFO: TCP Data received {"connection_id":217569,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:21:27] local.INFO: Processing buffer {"connection_id":217569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:21:27] local.INFO: IMEI packet received {"connection_id":217569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":217569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:21:27] local.INFO: TCP Data received {"connection_id":217569,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:21:27] local.INFO: Processing buffer {"connection_id":217569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:21:27] local.INFO: Packet analysis {"connection_id":217569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:21:27] local.INFO: Extracted packet for processing {"connection_id":217569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":19,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792090215000,"timestamp_ms":1792090215000,"timestamp_seconds":1792090215,"priority":1,"record_length":96,"hex_timestamp":"000001a140e69258"} 
[2026-10-16 00:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:21:27] 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-10-16 00:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:21:27] 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-10-16 00:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775017984001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:21:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775017984001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":217569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:21:28] local.INFO: GPS data processed {"connection_id":217569,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:21:28] local.INFO: Acknowledgment sent {"connection_id":217569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:21:30] local.INFO: TCP Data received {"connection_id":216038,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:21:30] local.INFO: Processing buffer {"connection_id":216038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:21:30] local.INFO: Packet analysis {"connection_id":216038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:21:30] local.INFO: Extracted packet for processing {"connection_id":216038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775003392001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792090158000,"timestamp_ms":1792090158000,"timestamp_seconds":1792090158,"priority":1,"record_length":96,"hex_timestamp":"000001a140e5b3b0"} 
[2026-10-16 00:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:21: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-10-16 00:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775003392001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775003392001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:21:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775003392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":216038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:21:30] local.INFO: GPS data processed {"connection_id":216038,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:21:30] local.INFO: Acknowledgment sent {"connection_id":216038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:21:33] local.INFO: TCP Data received {"connection_id":217568,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:21:33] local.INFO: Processing buffer {"connection_id":217568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:21:33] local.INFO: IMEI packet received {"connection_id":217568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":217568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:21:37] local.INFO: TCP Data received {"connection_id":217568,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:21:37] local.INFO: Processing buffer {"connection_id":217568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:21:37] local.INFO: Packet analysis {"connection_id":217568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:21:37] local.INFO: Extracted packet for processing {"connection_id":217568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:21:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792090066000,"timestamp_ms":1792090066000,"timestamp_seconds":1792090066,"priority":1,"record_length":96,"hex_timestamp":"000001a140e44c50"} 
[2026-10-16 00:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:21:37] 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-10-16 00:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 00:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774979840001,"66":25897,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:21:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:21:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774979840001,"power":25897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":217568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:21:37] local.INFO: GPS data processed {"connection_id":217568,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:21:37] local.INFO: Acknowledgment sent {"connection_id":217568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:21:38] local.INFO: TCP Data received {"connection_id":217568,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:21:38] local.INFO: Processing buffer {"connection_id":217568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:21:38] local.INFO: Packet analysis {"connection_id":217568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:21:38] local.INFO: Extracted packet for processing {"connection_id":217568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792090066000,"timestamp_ms":1792090066000,"timestamp_seconds":1792090066,"priority":1,"record_length":96,"hex_timestamp":"000001a140e44c50"} 
[2026-10-16 00:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:21:38] 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-10-16 00: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 00:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774979840001,"66":25897,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:21:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:21:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774979840001,"power":25897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":217568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042978,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:21:38] local.INFO: GPS data processed {"connection_id":217568,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:21:38] local.INFO: Acknowledgment sent {"connection_id":217568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:21:56] local.INFO: TCP Data received {"connection_id":217567,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:21:56] local.INFO: Processing buffer {"connection_id":217567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e32370012d7fac4005afe350002600a626..."} 
[2026-10-16 00:21:56] local.INFO: Packet analysis {"connection_id":217567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:21:56] local.INFO: Extracted packet for processing {"connection_id":217567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e3"} 
[2026-10-16 00:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774960384001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792089990000,"timestamp_ms":1792089990000,"timestamp_seconds":1792089990,"priority":1,"record_length":96,"hex_timestamp":"000001a140e32370"} 
[2026-10-16 00:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 00:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774960384001,"66":25941,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774960384001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:21:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:21:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774960384001,"power":25941,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":217567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:21:56] local.INFO: GPS data processed {"connection_id":217567,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:21:56] local.INFO: Acknowledgment sent {"connection_id":217567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:21:58] local.INFO: TCP Data received {"connection_id":216222,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:21:58] local.INFO: Processing buffer {"connection_id":216222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:21:58] local.INFO: IMEI packet received {"connection_id":216222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":216222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:21:59] local.INFO: TCP Data received {"connection_id":217569,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:21:59] local.INFO: Processing buffer {"connection_id":217569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:21:59] local.INFO: Packet analysis {"connection_id":217569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:21:59] local.INFO: Extracted packet for processing {"connection_id":217569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":19,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090215000,"timestamp_ms":1792090215000,"timestamp_seconds":1792090215,"priority":1,"record_length":96,"hex_timestamp":"000001a140e69258"} 
[2026-10-16 00:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:21:59] 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-10-16 00:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:21:59] 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-10-16 00:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775017984001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:21:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775017984001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":217569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:21:59] local.INFO: GPS data processed {"connection_id":217569,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:21:59] local.INFO: Acknowledgment sent {"connection_id":217569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:22:03] local.INFO: TCP Data received {"connection_id":216222,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:22:03] local.INFO: Processing buffer {"connection_id":216222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:22:03] local.INFO: IMEI packet received {"connection_id":216222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":216222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:22:04] local.INFO: TCP Data received {"connection_id":216222,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:22:04] local.INFO: Processing buffer {"connection_id":216222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:22:04] local.INFO: Packet analysis {"connection_id":216222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:22:04] local.INFO: Extracted packet for processing {"connection_id":216222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775003392001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792090158000,"timestamp_ms":1792090158000,"timestamp_seconds":1792090158,"priority":1,"record_length":96,"hex_timestamp":"000001a140e5b3b0"} 
[2026-10-16 00:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:22: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-10-16 00: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-10-16 00:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775003392001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775003392001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:22:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775003392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":216222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:22:04] local.INFO: GPS data processed {"connection_id":216222,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:22:04] local.INFO: Acknowledgment sent {"connection_id":216222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:22:13] local.INFO: TCP Data received {"connection_id":216222,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:22:13] local.INFO: Processing buffer {"connection_id":216222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:22:13] local.INFO: Packet analysis {"connection_id":216222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:22:13] local.INFO: Extracted packet for processing {"connection_id":216222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775003392001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792090158000,"timestamp_ms":1792090158000,"timestamp_seconds":1792090158,"priority":1,"record_length":96,"hex_timestamp":"000001a140e5b3b0"} 
[2026-10-16 00:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775003392001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775003392001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:22:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775003392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":216222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:22:13] local.INFO: GPS data processed {"connection_id":216222,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:22:13] local.INFO: Acknowledgment sent {"connection_id":216222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:22:21] local.INFO: TCP Data received {"connection_id":219310,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:22:21] local.INFO: Processing buffer {"connection_id":219310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:22:21] local.INFO: IMEI packet received {"connection_id":219310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":219310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:22:22] local.INFO: TCP Data received {"connection_id":216039,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:22:22] local.INFO: Processing buffer {"connection_id":216039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:22:22] local.INFO: IMEI packet received {"connection_id":216039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":216039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:22:27] local.INFO: TCP Data received {"connection_id":219311,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:22:27] local.INFO: Processing buffer {"connection_id":219311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:22:27] local.INFO: IMEI packet received {"connection_id":219311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":219311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:22:27] local.INFO: TCP Data received {"connection_id":219310,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:22:27] local.INFO: Processing buffer {"connection_id":219310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:22:27] local.INFO: IMEI packet received {"connection_id":219310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":219310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:22:29] local.INFO: TCP Data received {"connection_id":216039,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:22:29] local.INFO: Processing buffer {"connection_id":216039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:22:29] local.INFO: IMEI packet received {"connection_id":216039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":216039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:22:30] local.INFO: TCP Data received {"connection_id":219310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:22:30] local.INFO: Processing buffer {"connection_id":219310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:22:30] local.INFO: Packet analysis {"connection_id":219310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:22:30] local.INFO: Extracted packet for processing {"connection_id":219310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":19,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792090215000,"timestamp_ms":1792090215000,"timestamp_seconds":1792090215,"priority":1,"record_length":96,"hex_timestamp":"000001a140e69258"} 
[2026-10-16 00:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:22:30] 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-10-16 00:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775017984001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:22:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775017984001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":219310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:22:30] local.INFO: GPS data processed {"connection_id":219310,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:22:30] local.INFO: Acknowledgment sent {"connection_id":219310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:22:31] local.INFO: TCP Data received {"connection_id":216039,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:22:31] local.INFO: Processing buffer {"connection_id":216039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:22:31] local.INFO: Packet analysis {"connection_id":216039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:22:31] local.INFO: Extracted packet for processing {"connection_id":216039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775037440001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792090291000,"timestamp_ms":1792090291000,"timestamp_seconds":1792090291,"priority":1,"record_length":96,"hex_timestamp":"000001a140e7bb38"} 
[2026-10-16 00:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 00:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775037440001,"66":25919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775037440001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:22:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:22:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775037440001,"power":25919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":216039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:22:31] local.INFO: GPS data processed {"connection_id":216039,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:22:31] local.INFO: Acknowledgment sent {"connection_id":216039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:22:31] local.INFO: TCP Data received {"connection_id":219311,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:22:31] local.INFO: Processing buffer {"connection_id":219311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:22:31] local.INFO: IMEI packet received {"connection_id":219311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":219311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:22:32] local.INFO: TCP Data received {"connection_id":219311,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:22:32] local.INFO: Processing buffer {"connection_id":219311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:22:32] local.INFO: Packet analysis {"connection_id":219311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:22:32] local.INFO: Extracted packet for processing {"connection_id":219311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:22:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792090066000,"timestamp_ms":1792090066000,"timestamp_seconds":1792090066,"priority":1,"record_length":96,"hex_timestamp":"000001a140e44c50"} 
[2026-10-16 00:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 00:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774979840001,"66":25897,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:22:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:22:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774979840001,"power":25897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":219311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:22:32] local.INFO: GPS data processed {"connection_id":219311,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:22:32] local.INFO: Acknowledgment sent {"connection_id":219311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:22:37] local.INFO: TCP Data received {"connection_id":219311,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:22:37] local.INFO: Processing buffer {"connection_id":219311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e44c50012d77a94005f2a800000b005925..."} 
[2026-10-16 00:22:37] local.INFO: Packet analysis {"connection_id":219311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:22:37] local.INFO: Extracted packet for processing {"connection_id":219311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e4"} 
[2026-10-16 00:22:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458774979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792090066000,"timestamp_ms":1792090066000,"timestamp_seconds":1792090066,"priority":1,"record_length":96,"hex_timestamp":"000001a140e44c50"} 
[2026-10-16 00:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:22:37] 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-10-16 00: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 00:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":219311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":219311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":219311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458774979840001,"66":25897,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458774979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:22:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:22:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458774979840001,"power":25897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":219311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042986,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:22:37] local.INFO: GPS data processed {"connection_id":219311,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:22:37] local.INFO: Acknowledgment sent {"connection_id":219311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:22:53] local.INFO: TCP Data received {"connection_id":217570,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:22:53] local.INFO: Processing buffer {"connection_id":217570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:22:53] local.INFO: IMEI packet received {"connection_id":217570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":217570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:22:58] local.INFO: TCP Data received {"connection_id":217570,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:22:58] local.INFO: Processing buffer {"connection_id":217570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:22:58] local.INFO: IMEI packet received {"connection_id":217570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":217570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:22:59] local.INFO: TCP Data received {"connection_id":217570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:22:59] local.INFO: Processing buffer {"connection_id":217570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:22:59] local.INFO: Packet analysis {"connection_id":217570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:22:59] local.INFO: Extracted packet for processing {"connection_id":217570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775003392001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090158000,"timestamp_ms":1792090158000,"timestamp_seconds":1792090158,"priority":1,"record_length":96,"hex_timestamp":"000001a140e5b3b0"} 
[2026-10-16 00:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775003392001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775003392001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:22:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775003392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":217570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:22:59] local.INFO: GPS data processed {"connection_id":217570,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:22:59] local.INFO: Acknowledgment sent {"connection_id":217570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:23:02] local.INFO: TCP Data received {"connection_id":219310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:23:02] local.INFO: Processing buffer {"connection_id":219310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:23:02] local.INFO: Packet analysis {"connection_id":219310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:23:02] local.INFO: Extracted packet for processing {"connection_id":219310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":19,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792090215000,"timestamp_ms":1792090215000,"timestamp_seconds":1792090215,"priority":1,"record_length":96,"hex_timestamp":"000001a140e69258"} 
[2026-10-16 00:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":219310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":219310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":219310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775017984001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:23:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775017984001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":219310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:23:02] local.INFO: GPS data processed {"connection_id":219310,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:23:02] local.INFO: Acknowledgment sent {"connection_id":219310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:23:02] local.INFO: TCP Data received {"connection_id":216039,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:23:02] local.INFO: Processing buffer {"connection_id":216039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:23:02] local.INFO: Packet analysis {"connection_id":216039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:23:02] local.INFO: Extracted packet for processing {"connection_id":216039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775037440001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792090291000,"timestamp_ms":1792090291000,"timestamp_seconds":1792090291,"priority":1,"record_length":96,"hex_timestamp":"000001a140e7bb38"} 
[2026-10-16 00:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 00:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775037440001,"66":25919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775037440001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:23:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:23:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775037440001,"power":25919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":216039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:23:02] local.INFO: GPS data processed {"connection_id":216039,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:23:02] local.INFO: Acknowledgment sent {"connection_id":216039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:23:17] local.INFO: TCP Data received {"connection_id":216040,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:23:17] local.INFO: Processing buffer {"connection_id":216040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:23:17] local.INFO: IMEI packet received {"connection_id":216040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":216040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:23:21] local.INFO: TCP Data received {"connection_id":216223,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:23:21] local.INFO: Processing buffer {"connection_id":216223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:23:21] local.INFO: IMEI packet received {"connection_id":216223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:23:21] local.INFO: TCP Data received {"connection_id":216224,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:23:21] local.INFO: Processing buffer {"connection_id":216224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:23:21] local.INFO: IMEI packet received {"connection_id":216224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:23:23] local.INFO: TCP Data received {"connection_id":216040,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:23:23] local.INFO: Processing buffer {"connection_id":216040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:23:23] local.INFO: IMEI packet received {"connection_id":216040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":216040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:23:24] local.INFO: TCP Data received {"connection_id":216040,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:23:24] local.INFO: Processing buffer {"connection_id":216040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:23:24] local.INFO: Packet analysis {"connection_id":216040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:23:24] local.INFO: Extracted packet for processing {"connection_id":216040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:23:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775037440001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792090291000,"timestamp_ms":1792090291000,"timestamp_seconds":1792090291,"priority":1,"record_length":96,"hex_timestamp":"000001a140e7bb38"} 
[2026-10-16 00:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 00:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775037440001,"66":25919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775037440001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:23:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:23:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775037440001,"power":25919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":216040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:23:24] local.INFO: GPS data processed {"connection_id":216040,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:23:24] local.INFO: Acknowledgment sent {"connection_id":216040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:23:26] local.INFO: TCP Data received {"connection_id":216224,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:23:26] local.INFO: Processing buffer {"connection_id":216224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:23:26] local.INFO: IMEI packet received {"connection_id":216224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":216224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:23:26] local.INFO: TCP Data received {"connection_id":216224,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:23:26] local.INFO: Processing buffer {"connection_id":216224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:23:26] local.INFO: IMEI packet received {"connection_id":216224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":216224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:23:27] local.INFO: TCP Data received {"connection_id":216223,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:23:27] local.INFO: Processing buffer {"connection_id":216223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:23:27] local.INFO: IMEI packet received {"connection_id":216223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":216223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:23:28] local.INFO: TCP Data received {"connection_id":216224,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:23:28] local.INFO: Processing buffer {"connection_id":216224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:23:28] local.INFO: Packet analysis {"connection_id":216224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:23:28] local.INFO: Extracted packet for processing {"connection_id":216224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:23:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775056896001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090367000,"timestamp_ms":1792090367000,"timestamp_seconds":1792090367,"priority":1,"record_length":96,"hex_timestamp":"000001a140e8e418"} 
[2026-10-16 00:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 00:23:28] 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-10-16 00:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775056896001,"66":25223,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775056896001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:23:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:23:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775056896001,"power":25223,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":216224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:23:28] local.INFO: GPS data processed {"connection_id":216224,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:23:28] local.INFO: Acknowledgment sent {"connection_id":216224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:23:28] local.INFO: TCP Data received {"connection_id":216223,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:23:28] local.INFO: Processing buffer {"connection_id":216223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:23:28] local.INFO: Packet analysis {"connection_id":216223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:23:28] local.INFO: Extracted packet for processing {"connection_id":216223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":19,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090215000,"timestamp_ms":1792090215000,"timestamp_seconds":1792090215,"priority":1,"record_length":96,"hex_timestamp":"000001a140e69258"} 
[2026-10-16 00:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:23:28] 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-10-16 00:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775017984001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:23:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775017984001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":216223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:23:28] local.INFO: GPS data processed {"connection_id":216223,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:23:28] local.INFO: Acknowledgment sent {"connection_id":216223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:23:30] local.INFO: TCP Data received {"connection_id":217570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:23:30] local.INFO: Processing buffer {"connection_id":217570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:23:30] local.INFO: Packet analysis {"connection_id":217570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:23:30] local.INFO: Extracted packet for processing {"connection_id":217570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:23: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-10-16 00:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775003392001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792090158000,"timestamp_ms":1792090158000,"timestamp_seconds":1792090158,"priority":1,"record_length":96,"hex_timestamp":"000001a140e5b3b0"} 
[2026-10-16 00:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:23: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-10-16 00:23: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-10-16 00:23: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-10-16 00:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775003392001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775003392001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:23:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775003392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":217570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:23:30] local.INFO: GPS data processed {"connection_id":217570,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:23:30] local.INFO: Acknowledgment sent {"connection_id":217570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:23:52] local.INFO: TCP Data received {"connection_id":219312,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:23:52] local.INFO: Processing buffer {"connection_id":219312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:23:52] local.INFO: IMEI packet received {"connection_id":219312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":219312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:23:56] local.INFO: TCP Data received {"connection_id":216040,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:23:56] local.INFO: Processing buffer {"connection_id":216040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:23:56] local.INFO: Packet analysis {"connection_id":216040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:23:56] local.INFO: Extracted packet for processing {"connection_id":216040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775037440001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792090291000,"timestamp_ms":1792090291000,"timestamp_seconds":1792090291,"priority":1,"record_length":96,"hex_timestamp":"000001a140e7bb38"} 
[2026-10-16 00:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:23: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-10-16 00:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 00:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775037440001,"66":25919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775037440001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:23:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:23:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775037440001,"power":25919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":216040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:23:56] local.INFO: GPS data processed {"connection_id":216040,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:23:56] local.INFO: Acknowledgment sent {"connection_id":216040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:23:58] local.INFO: TCP Data received {"connection_id":219312,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:23:58] local.INFO: Processing buffer {"connection_id":219312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:23:58] local.INFO: IMEI packet received {"connection_id":219312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":219312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:24:00] local.INFO: TCP Data received {"connection_id":216224,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:24:00] local.INFO: Processing buffer {"connection_id":216224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:24:00] local.INFO: Packet analysis {"connection_id":216224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:24:00] local.INFO: Extracted packet for processing {"connection_id":216224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:24:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775056896001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090367000,"timestamp_ms":1792090367000,"timestamp_seconds":1792090367,"priority":1,"record_length":96,"hex_timestamp":"000001a140e8e418"} 
[2026-10-16 00:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 00:24:00] 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-10-16 00:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775056896001,"66":25223,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775056896001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:24:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:24:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775056896001,"power":25223,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":216224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:24:00] local.INFO: GPS data processed {"connection_id":216224,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:24:00] local.INFO: Acknowledgment sent {"connection_id":216224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:24:00] local.INFO: TCP Data received {"connection_id":216223,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:24:00] local.INFO: Processing buffer {"connection_id":216223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:24:00] local.INFO: Packet analysis {"connection_id":216223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:24:00] local.INFO: Extracted packet for processing {"connection_id":216223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":19,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090215000,"timestamp_ms":1792090215000,"timestamp_seconds":1792090215,"priority":1,"record_length":96,"hex_timestamp":"000001a140e69258"} 
[2026-10-16 00:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:24:00] 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-10-16 00:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:24:00] 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-10-16 00:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775017984001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:24:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775017984001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":216223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:24:00] local.INFO: GPS data processed {"connection_id":216223,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:24:00] local.INFO: Acknowledgment sent {"connection_id":216223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:24:08] local.INFO: TCP Data received {"connection_id":219312,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:24:08] local.INFO: Processing buffer {"connection_id":219312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e5b3b0012d196500071ff048003b014627..."} 
[2026-10-16 00:24:08] local.INFO: Packet analysis {"connection_id":219312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:24:08] local.INFO: Extracted packet for processing {"connection_id":219312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e5"} 
[2026-10-16 00:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775003392001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792090158000,"timestamp_ms":1792090158000,"timestamp_seconds":1792090158,"priority":1,"record_length":96,"hex_timestamp":"000001a140e5b3b0"} 
[2026-10-16 00:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":219312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":219312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":219312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775003392001,"66":2144,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775003392001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:24:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775003392001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":219312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:24:08] local.INFO: GPS data processed {"connection_id":219312,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:24:08] local.INFO: Acknowledgment sent {"connection_id":219312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:24:17] local.INFO: TCP Data received {"connection_id":216041,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:24:17] local.INFO: Processing buffer {"connection_id":216041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:24:17] local.INFO: IMEI packet received {"connection_id":216041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":216041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:24:23] local.INFO: TCP Data received {"connection_id":216041,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:24:23] local.INFO: Processing buffer {"connection_id":216041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:24:23] local.INFO: IMEI packet received {"connection_id":216041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":216041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:24:25] local.INFO: TCP Data received {"connection_id":216041,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:24:25] local.INFO: Processing buffer {"connection_id":216041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:24:25] local.INFO: Packet analysis {"connection_id":216041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:24:25] local.INFO: Extracted packet for processing {"connection_id":216041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775037440001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792090291000,"timestamp_ms":1792090291000,"timestamp_seconds":1792090291,"priority":1,"record_length":96,"hex_timestamp":"000001a140e7bb38"} 
[2026-10-16 00:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 00:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775037440001,"66":25919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775037440001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:24:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:24:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775037440001,"power":25919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":216041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:24:25] local.INFO: GPS data processed {"connection_id":216041,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:24:25] local.INFO: Acknowledgment sent {"connection_id":216041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:24:27] local.INFO: TCP Data received {"connection_id":217571,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:24:27] local.INFO: Processing buffer {"connection_id":217571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:24:27] local.INFO: IMEI packet received {"connection_id":217571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":217571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:24:27] local.INFO: TCP Data received {"connection_id":217572,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:24:27] local.INFO: Processing buffer {"connection_id":217572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:24:27] local.INFO: IMEI packet received {"connection_id":217572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":217572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:24:32] local.INFO: TCP Data received {"connection_id":217571,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:24:32] local.INFO: Processing buffer {"connection_id":217571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:24:32] local.INFO: IMEI packet received {"connection_id":217571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":217571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:24:32] local.INFO: TCP Data received {"connection_id":217572,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:24:32] local.INFO: Processing buffer {"connection_id":217572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:24:32] local.INFO: IMEI packet received {"connection_id":217572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":217572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:24:33] local.INFO: TCP Data received {"connection_id":217571,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:24:33] local.INFO: Processing buffer {"connection_id":217571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:24:33] local.INFO: Packet analysis {"connection_id":217571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:24:33] local.INFO: Extracted packet for processing {"connection_id":217571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":19,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792090215000,"timestamp_ms":1792090215000,"timestamp_seconds":1792090215,"priority":1,"record_length":96,"hex_timestamp":"000001a140e69258"} 
[2026-10-16 00:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775017984001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:24:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775017984001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":217571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:24:33] local.INFO: GPS data processed {"connection_id":217571,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:24:33] local.INFO: Acknowledgment sent {"connection_id":217571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:24:33] local.INFO: TCP Data received {"connection_id":217572,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:24:33] local.INFO: Processing buffer {"connection_id":217572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:24:33] local.INFO: Packet analysis {"connection_id":217572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:24:33] local.INFO: Extracted packet for processing {"connection_id":217572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:24:33] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775056896001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792090367000,"timestamp_ms":1792090367000,"timestamp_seconds":1792090367,"priority":1,"record_length":96,"hex_timestamp":"000001a140e8e418"} 
[2026-10-16 00:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 00:24:33] 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-10-16 00:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775056896001,"66":25223,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775056896001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:24:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:24:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775056896001,"power":25223,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":217572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043000,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:24:33] local.INFO: GPS data processed {"connection_id":217572,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:24:33] local.INFO: Acknowledgment sent {"connection_id":217572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:24:37] local.INFO: TCP Data received {"connection_id":217571,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:24:37] local.INFO: Processing buffer {"connection_id":217571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e69258012d7c240005dad510001300ea23..."} 
[2026-10-16 00:24:37] local.INFO: Packet analysis {"connection_id":217571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:24:37] local.INFO: Extracted packet for processing {"connection_id":217571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e6"} 
[2026-10-16 00:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":19,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792090215000,"timestamp_ms":1792090215000,"timestamp_seconds":1792090215,"priority":1,"record_length":96,"hex_timestamp":"000001a140e69258"} 
[2026-10-16 00:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:24: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-10-16 00: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-10-16 00:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775017984001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:24:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775017984001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":217571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:24:37] local.INFO: GPS data processed {"connection_id":217571,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:24:37] local.INFO: Acknowledgment sent {"connection_id":217571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:24:37] local.INFO: TCP Data received {"connection_id":217572,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:24:37] local.INFO: Processing buffer {"connection_id":217572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:24:37] local.INFO: Packet analysis {"connection_id":217572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:24:37] local.INFO: Extracted packet for processing {"connection_id":217572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:24:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775056896001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792090367000,"timestamp_ms":1792090367000,"timestamp_seconds":1792090367,"priority":1,"record_length":96,"hex_timestamp":"000001a140e8e418"} 
[2026-10-16 00:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:24: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-10-16 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 00:24: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-10-16 00: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-10-16 00:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775056896001,"66":25223,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775056896001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:24:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:24:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775056896001,"power":25223,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":217572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:24:38] local.INFO: GPS data processed {"connection_id":217572,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:24:38] local.INFO: Acknowledgment sent {"connection_id":217572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:24:52] local.INFO: TCP Data received {"connection_id":216042,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:24:52] local.INFO: Processing buffer {"connection_id":216042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:24:52] local.INFO: IMEI packet received {"connection_id":216042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":216042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:24:56] local.INFO: TCP Data received {"connection_id":216041,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:24:56] local.INFO: Processing buffer {"connection_id":216041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:24:56] local.INFO: Packet analysis {"connection_id":216041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:24:56] local.INFO: Extracted packet for processing {"connection_id":216041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775037440001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792090291000,"timestamp_ms":1792090291000,"timestamp_seconds":1792090291,"priority":1,"record_length":96,"hex_timestamp":"000001a140e7bb38"} 
[2026-10-16 00:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:24: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-10-16 00: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 00:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775037440001,"66":25919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775037440001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:24:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:24:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775037440001,"power":25919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":216041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:24:57] local.INFO: GPS data processed {"connection_id":216041,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:24:57] local.INFO: Acknowledgment sent {"connection_id":216041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:24:57] local.INFO: TCP Data received {"connection_id":216042,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:24:57] local.INFO: Processing buffer {"connection_id":216042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:24:57] local.INFO: IMEI packet received {"connection_id":216042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":216042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:24:57] local.INFO: TCP Data received {"connection_id":216042,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:24:58] local.INFO: Processing buffer {"connection_id":216042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:24:58] local.INFO: IMEI packet received {"connection_id":216042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":216042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:24:58] local.INFO: TCP Data received {"connection_id":216042,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:24:58] local.INFO: Processing buffer {"connection_id":216042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:24:58] local.INFO: Packet analysis {"connection_id":216042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:24:58] local.INFO: Extracted packet for processing {"connection_id":216042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:24:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":216042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:24:58] local.INFO: GPS data processed {"connection_id":216042,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:24:58] local.INFO: Acknowledgment sent {"connection_id":216042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:25:03] local.INFO: TCP Data received {"connection_id":216042,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:25:03] local.INFO: Processing buffer {"connection_id":216042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:25:03] local.INFO: Packet analysis {"connection_id":216042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:25:03] local.INFO: Extracted packet for processing {"connection_id":216042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:25:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":216042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:25:03] local.INFO: GPS data processed {"connection_id":216042,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:25:03] local.INFO: Acknowledgment sent {"connection_id":216042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:25:22] local.INFO: TCP Data received {"connection_id":219313,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:25:22] local.INFO: Processing buffer {"connection_id":219313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:25:22] local.INFO: IMEI packet received {"connection_id":219313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":219313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:25:22] local.INFO: TCP Data received {"connection_id":216225,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:25:22] local.INFO: Processing buffer {"connection_id":216225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:25:22] local.INFO: IMEI packet received {"connection_id":216225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":216225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:25:23] local.INFO: TCP Data received {"connection_id":216226,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:25:23] local.INFO: Processing buffer {"connection_id":216226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:25:23] local.INFO: IMEI packet received {"connection_id":216226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":216226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:25:27] local.INFO: TCP Data received {"connection_id":219313,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:25:27] local.INFO: Processing buffer {"connection_id":219313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:25:27] local.INFO: IMEI packet received {"connection_id":219313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":219313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:25:27] local.INFO: TCP Data received {"connection_id":216225,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:25:27] local.INFO: Processing buffer {"connection_id":216225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:25:27] local.INFO: IMEI packet received {"connection_id":216225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":216225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:25:27] local.INFO: TCP Data received {"connection_id":219313,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:25:27] local.INFO: Processing buffer {"connection_id":219313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:25:27] local.INFO: Packet analysis {"connection_id":219313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:25:27] local.INFO: Extracted packet for processing {"connection_id":219313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:25:27] 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-10-16 00:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:25:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":219313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:25:28] local.INFO: GPS data processed {"connection_id":219313,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:25:28] local.INFO: Acknowledgment sent {"connection_id":219313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:25:28] local.INFO: TCP Data received {"connection_id":216225,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:25:28] local.INFO: Processing buffer {"connection_id":216225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:25:28] local.INFO: Packet analysis {"connection_id":216225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:25:28] local.INFO: Extracted packet for processing {"connection_id":216225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:25:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775056896001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090367000,"timestamp_ms":1792090367000,"timestamp_seconds":1792090367,"priority":1,"record_length":96,"hex_timestamp":"000001a140e8e418"} 
[2026-10-16 00:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 00:25:28] 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-10-16 00:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775056896001,"66":25223,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775056896001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:25:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:25:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775056896001,"power":25223,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":216225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043007,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:25:28] local.INFO: GPS data processed {"connection_id":216225,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:25:28] local.INFO: Acknowledgment sent {"connection_id":216225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:25:28] local.INFO: TCP Data received {"connection_id":216226,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:25:28] local.INFO: Processing buffer {"connection_id":216226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:25:28] local.INFO: IMEI packet received {"connection_id":216226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":216226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:25:29] local.INFO: TCP Data received {"connection_id":216226,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:25:29] local.INFO: Processing buffer {"connection_id":216226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:25:29] local.INFO: Packet analysis {"connection_id":216226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:25:29] local.INFO: Extracted packet for processing {"connection_id":216226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775037440001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792090291000,"timestamp_ms":1792090291000,"timestamp_seconds":1792090291,"priority":1,"record_length":96,"hex_timestamp":"000001a140e7bb38"} 
[2026-10-16 00:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 00:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775037440001,"66":25919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775037440001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:25:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:25:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775037440001,"power":25919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":216226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:25:29] local.INFO: GPS data processed {"connection_id":216226,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:25:29] local.INFO: Acknowledgment sent {"connection_id":216226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:25:34] local.INFO: TCP Data received {"connection_id":216226,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:25:34] local.INFO: Processing buffer {"connection_id":216226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:25:34] local.INFO: Packet analysis {"connection_id":216226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:25:34] local.INFO: Extracted packet for processing {"connection_id":216226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775037440001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792090291000,"timestamp_ms":1792090291000,"timestamp_seconds":1792090291,"priority":1,"record_length":96,"hex_timestamp":"000001a140e7bb38"} 
[2026-10-16 00:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 00:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775037440001,"66":25919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775037440001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:25:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:25:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775037440001,"power":25919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":216226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:25:34] local.INFO: GPS data processed {"connection_id":216226,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:25:34] local.INFO: Acknowledgment sent {"connection_id":216226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:25:34] local.INFO: TCP Data received {"connection_id":216042,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:25:34] local.INFO: Processing buffer {"connection_id":216042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:25:34] local.INFO: Packet analysis {"connection_id":216042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:25:34] local.INFO: Extracted packet for processing {"connection_id":216042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:25:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":216042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:25:34] local.INFO: GPS data processed {"connection_id":216042,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:25:34] local.INFO: Acknowledgment sent {"connection_id":216042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:25:53] local.INFO: TCP Data received {"connection_id":217573,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:25:53] local.INFO: Processing buffer {"connection_id":217573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:25:53] local.INFO: IMEI packet received {"connection_id":217573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":217573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:25:58] local.INFO: TCP Data received {"connection_id":217573,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:25:58] local.INFO: Processing buffer {"connection_id":217573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:25:58] local.INFO: IMEI packet received {"connection_id":217573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":217573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:25:59] local.INFO: TCP Data received {"connection_id":219313,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:25:59] local.INFO: Processing buffer {"connection_id":219313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:25:59] local.INFO: Packet analysis {"connection_id":219313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:25:59] local.INFO: Extracted packet for processing {"connection_id":219313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:25:59] 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-10-16 00:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:25:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":219313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:25:59] local.INFO: GPS data processed {"connection_id":219313,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:25:59] local.INFO: Acknowledgment sent {"connection_id":219313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:26:00] local.INFO: TCP Data received {"connection_id":216225,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:26:00] local.INFO: Processing buffer {"connection_id":216225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:26:00] local.INFO: Packet analysis {"connection_id":216225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:26:00] local.INFO: Extracted packet for processing {"connection_id":216225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:26:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775056896001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090367000,"timestamp_ms":1792090367000,"timestamp_seconds":1792090367,"priority":1,"record_length":96,"hex_timestamp":"000001a140e8e418"} 
[2026-10-16 00:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 00:26:00] 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-10-16 00:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775056896001,"66":25223,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775056896001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:26:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:26:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775056896001,"power":25223,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":216225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:26:00] local.INFO: GPS data processed {"connection_id":216225,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:26:00] local.INFO: Acknowledgment sent {"connection_id":216225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:26:03] local.INFO: TCP Data received {"connection_id":217573,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:26:03] local.INFO: Processing buffer {"connection_id":217573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:26:03] local.INFO: Packet analysis {"connection_id":217573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:26:03] local.INFO: Extracted packet for processing {"connection_id":217573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:26:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":217573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:26:03] local.INFO: GPS data processed {"connection_id":217573,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:26:03] local.INFO: Acknowledgment sent {"connection_id":217573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:26:18] local.INFO: TCP Data received {"connection_id":216043,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:26:18] local.INFO: Processing buffer {"connection_id":216043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:26:18] local.INFO: IMEI packet received {"connection_id":216043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":216043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:26:21] local.INFO: TCP Data received {"connection_id":219314,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:26:21] local.INFO: Processing buffer {"connection_id":219314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:26:21] local.INFO: IMEI packet received {"connection_id":219314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":219314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:26:23] local.INFO: TCP Data received {"connection_id":216043,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:26:23] local.INFO: Processing buffer {"connection_id":216043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:26:23] local.INFO: IMEI packet received {"connection_id":216043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":216043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:26:24] local.INFO: TCP Data received {"connection_id":216043,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:26:24] local.INFO: Processing buffer {"connection_id":216043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:26:24] local.INFO: Packet analysis {"connection_id":216043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:26:24] local.INFO: Extracted packet for processing {"connection_id":216043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775037440001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792090291000,"timestamp_ms":1792090291000,"timestamp_seconds":1792090291,"priority":1,"record_length":96,"hex_timestamp":"000001a140e7bb38"} 
[2026-10-16 00:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 00:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775037440001,"66":25919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775037440001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:26:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:26:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775037440001,"power":25919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":216043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:26:24] local.INFO: GPS data processed {"connection_id":216043,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:26:24] local.INFO: Acknowledgment sent {"connection_id":216043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:26:24] local.INFO: TCP Data received {"connection_id":216227,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:26:24] local.INFO: Processing buffer {"connection_id":216227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:26:24] local.INFO: IMEI packet received {"connection_id":216227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":216227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:26:26] local.INFO: TCP Data received {"connection_id":216227,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:26:26] local.INFO: Processing buffer {"connection_id":216227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:26:26] local.INFO: IMEI packet received {"connection_id":216227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":216227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:26:27] local.INFO: TCP Data received {"connection_id":219314,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:26:27] local.INFO: Processing buffer {"connection_id":219314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:26:27] local.INFO: IMEI packet received {"connection_id":219314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":219314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:26:27] local.INFO: TCP Data received {"connection_id":216227,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:26:27] local.INFO: Processing buffer {"connection_id":216227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:26:27] local.INFO: Packet analysis {"connection_id":216227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:26:27] local.INFO: Extracted packet for processing {"connection_id":216227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:26:27] 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-10-16 00:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:26:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":216227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:26:27] local.INFO: GPS data processed {"connection_id":216227,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:26:27] local.INFO: Acknowledgment sent {"connection_id":216227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:26:28] local.INFO: TCP Data received {"connection_id":219314,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:26:28] local.INFO: Processing buffer {"connection_id":219314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:26:28] local.INFO: Packet analysis {"connection_id":219314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:26:28] local.INFO: Extracted packet for processing {"connection_id":219314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:26:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775056896001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090367000,"timestamp_ms":1792090367000,"timestamp_seconds":1792090367,"priority":1,"record_length":96,"hex_timestamp":"000001a140e8e418"} 
[2026-10-16 00:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 00:26:28] 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-10-16 00:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775056896001,"66":25223,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775056896001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:26:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:26:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775056896001,"power":25223,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":219314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043016,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:26:28] local.INFO: GPS data processed {"connection_id":219314,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:26:28] local.INFO: Acknowledgment sent {"connection_id":219314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:26:32] local.INFO: TCP Data received {"connection_id":216227,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:26:32] local.INFO: Processing buffer {"connection_id":216227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:26:32] local.INFO: Packet analysis {"connection_id":216227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:26:32] local.INFO: Extracted packet for processing {"connection_id":216227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:26:32] 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-10-16 00:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:26:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":216227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:26:32] local.INFO: GPS data processed {"connection_id":216227,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:26:32] local.INFO: Acknowledgment sent {"connection_id":216227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:26:48] local.INFO: TCP Data received {"connection_id":217573,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:26:48] local.INFO: Processing buffer {"connection_id":217573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:26:48] local.INFO: Packet analysis {"connection_id":217573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:26:48] local.INFO: Extracted packet for processing {"connection_id":217573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":217573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":217573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":217573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:26:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":217573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:26:48] local.INFO: GPS data processed {"connection_id":217573,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:26:48] local.INFO: Acknowledgment sent {"connection_id":217573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:26:53] local.INFO: TCP Data received {"connection_id":217574,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:26:53] local.INFO: Processing buffer {"connection_id":217574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:26:53] local.INFO: IMEI packet received {"connection_id":217574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":217574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:26:55] local.INFO: TCP Data received {"connection_id":216043,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:26:55] local.INFO: Processing buffer {"connection_id":216043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e7bb38012d7fac4005afe350002600a628..."} 
[2026-10-16 00:26:55] local.INFO: Packet analysis {"connection_id":216043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:26:55] local.INFO: Extracted packet for processing {"connection_id":216043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e7"} 
[2026-10-16 00:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775037440001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792090291000,"timestamp_ms":1792090291000,"timestamp_seconds":1792090291,"priority":1,"record_length":96,"hex_timestamp":"000001a140e7bb38"} 
[2026-10-16 00:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 00:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775037440001,"66":25919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775037440001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:26:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:26:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775037440001,"power":25919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":216043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:26:55] local.INFO: GPS data processed {"connection_id":216043,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:26:55] local.INFO: Acknowledgment sent {"connection_id":216043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:26:58] local.INFO: TCP Data received {"connection_id":217574,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:26:58] local.INFO: Processing buffer {"connection_id":217574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:26:58] local.INFO: IMEI packet received {"connection_id":217574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":217574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:26:59] local.INFO: TCP Data received {"connection_id":217574,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:26:59] local.INFO: Processing buffer {"connection_id":217574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:26:59] local.INFO: Packet analysis {"connection_id":217574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:26:59] local.INFO: Extracted packet for processing {"connection_id":217574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:26:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":217574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:26:59] local.INFO: GPS data processed {"connection_id":217574,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:26:59] local.INFO: Acknowledgment sent {"connection_id":217574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:27:00] local.INFO: TCP Data received {"connection_id":219314,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:27:00] local.INFO: Processing buffer {"connection_id":219314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:27:00] local.INFO: Packet analysis {"connection_id":219314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:27:00] local.INFO: Extracted packet for processing {"connection_id":219314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:27:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775056896001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090367000,"timestamp_ms":1792090367000,"timestamp_seconds":1792090367,"priority":1,"record_length":96,"hex_timestamp":"000001a140e8e418"} 
[2026-10-16 00:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 00:27:00] 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-10-16 00:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775056896001,"66":25223,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775056896001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:27:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:27:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775056896001,"power":25223,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":219314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:27:00] local.INFO: GPS data processed {"connection_id":219314,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:27:00] local.INFO: Acknowledgment sent {"connection_id":219314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:27:04] local.INFO: TCP Data received {"connection_id":216227,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:27:04] local.INFO: Processing buffer {"connection_id":216227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:27:04] local.INFO: Packet analysis {"connection_id":216227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:27:04] local.INFO: Extracted packet for processing {"connection_id":216227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:27:04] 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-10-16 00:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00: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-10-16 00:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:27:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":216227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:27:04] local.INFO: GPS data processed {"connection_id":216227,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:27:04] local.INFO: Acknowledgment sent {"connection_id":216227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:27:17] local.INFO: TCP Data received {"connection_id":217575,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:27:17] local.INFO: Processing buffer {"connection_id":217575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:27:17] local.INFO: IMEI packet received {"connection_id":217575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":217575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:27:21] local.INFO: TCP Data received {"connection_id":216228,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:27:21] local.INFO: Processing buffer {"connection_id":216228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:27:21] local.INFO: IMEI packet received {"connection_id":216228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":216228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:27:22] local.INFO: TCP Data received {"connection_id":216044,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:27:22] local.INFO: Processing buffer {"connection_id":216044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:27:22] local.INFO: IMEI packet received {"connection_id":216044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":216044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:27:23] local.INFO: TCP Data received {"connection_id":217575,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:27:23] local.INFO: Processing buffer {"connection_id":217575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:27:23] local.INFO: IMEI packet received {"connection_id":217575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":217575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:27:24] local.INFO: TCP Data received {"connection_id":217575,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:27:24] local.INFO: Processing buffer {"connection_id":217575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:27:24] local.INFO: Packet analysis {"connection_id":217575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:27:24] local.INFO: Extracted packet for processing {"connection_id":217575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:27: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-10-16 00:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:27: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:27:24] 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-10-16 00:27: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-10-16 00:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:27:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:27:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":217575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:27:24] local.INFO: GPS data processed {"connection_id":217575,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:27:24] local.INFO: Acknowledgment sent {"connection_id":217575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:27:27] local.INFO: TCP Data received {"connection_id":216228,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:27:27] local.INFO: Processing buffer {"connection_id":216228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:27:27] local.INFO: IMEI packet received {"connection_id":216228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":216228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:27:27] local.INFO: TCP Data received {"connection_id":216044,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:27:27] local.INFO: Processing buffer {"connection_id":216044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:27:27] local.INFO: IMEI packet received {"connection_id":216044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":216044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:27:28] local.INFO: TCP Data received {"connection_id":216228,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:27:28] local.INFO: Processing buffer {"connection_id":216228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:27:28] local.INFO: Packet analysis {"connection_id":216228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:27:28] local.INFO: Extracted packet for processing {"connection_id":216228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:27:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:27:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:27:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:27:28] local.INFO: TCP Data received {"connection_id":216044,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:27:28] local.INFO: Processing buffer {"connection_id":216044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:27:28] local.INFO: Packet analysis {"connection_id":216044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:27:28] local.INFO: Extracted packet for processing {"connection_id":216044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:27:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775056896001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090367000,"timestamp_ms":1792090367000,"timestamp_seconds":1792090367,"priority":1,"record_length":96,"hex_timestamp":"000001a140e8e418"} 
[2026-10-16 00:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 00:27:28] 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-10-16 00:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775056896001,"66":25223,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775056896001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:27:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:27:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775056896001,"power":25223,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":216228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:27:28] local.INFO: GPS data processed {"connection_id":216228,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:27:28] local.INFO: Acknowledgment sent {"connection_id":216228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":216044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:27:28] local.INFO: GPS data processed {"connection_id":216044,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:27:28] local.INFO: Acknowledgment sent {"connection_id":216044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:27:30] local.INFO: TCP Data received {"connection_id":217574,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:27:30] local.INFO: Processing buffer {"connection_id":217574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:27:30] local.INFO: Packet analysis {"connection_id":217574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:27:30] local.INFO: Extracted packet for processing {"connection_id":217574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:27: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-10-16 00:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:27: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-10-16 00:27: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-10-16 00:27: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-10-16 00:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:27:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":217574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:27:30] local.INFO: GPS data processed {"connection_id":217574,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:27:30] local.INFO: Acknowledgment sent {"connection_id":217574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:27:53] local.INFO: TCP Data received {"connection_id":216229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:27:53] local.INFO: Processing buffer {"connection_id":216229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:27:53] local.INFO: IMEI packet received {"connection_id":216229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":216229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:27:56] local.INFO: TCP Data received {"connection_id":217575,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:27:56] local.INFO: Processing buffer {"connection_id":217575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:27:56] local.INFO: Packet analysis {"connection_id":217575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:27:56] local.INFO: Extracted packet for processing {"connection_id":217575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:27:56] 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-10-16 00:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:27:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:27:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":217575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:27:56] local.INFO: GPS data processed {"connection_id":217575,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:27:56] local.INFO: Acknowledgment sent {"connection_id":217575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:27:58] local.INFO: TCP Data received {"connection_id":216229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:27:58] local.INFO: Processing buffer {"connection_id":216229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:27:58] local.INFO: IMEI packet received {"connection_id":216229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":216229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:28:02] local.INFO: TCP Data received {"connection_id":216229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:28:02] local.INFO: Processing buffer {"connection_id":216229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:28:02] local.INFO: Packet analysis {"connection_id":216229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:28:02] local.INFO: Extracted packet for processing {"connection_id":216229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:28:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":216229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:28:03] local.INFO: GPS data processed {"connection_id":216229,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:28:03] local.INFO: Acknowledgment sent {"connection_id":216229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:28:04] local.INFO: TCP Data received {"connection_id":216044,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:28:04] local.INFO: Processing buffer {"connection_id":216044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140e8e418012d77a94005f2a800000b005925..."} 
[2026-10-16 00:28:04] local.INFO: Packet analysis {"connection_id":216044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:28:04] local.INFO: Extracted packet for processing {"connection_id":216044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140e8"} 
[2026-10-16 00:28:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775056896001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792090367000,"timestamp_ms":1792090367000,"timestamp_seconds":1792090367,"priority":1,"record_length":96,"hex_timestamp":"000001a140e8e418"} 
[2026-10-16 00:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 00:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775056896001,"66":25223,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775056896001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:28:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:28:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775056896001,"power":25223,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":216044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:28:04] local.INFO: GPS data processed {"connection_id":216044,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:28:04] local.INFO: Acknowledgment sent {"connection_id":216044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:28:09] local.INFO: TCP Data received {"connection_id":216228,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:28:09] local.INFO: Processing buffer {"connection_id":216228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:28:09] local.INFO: Packet analysis {"connection_id":216228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:28:09] local.INFO: Extracted packet for processing {"connection_id":216228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:28: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-10-16 00: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-10-16 00:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:28:09] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":216228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:28:09] local.INFO: GPS data processed {"connection_id":216228,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:28:09] local.INFO: Acknowledgment sent {"connection_id":216228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:28:21] local.INFO: TCP Data received {"connection_id":217577,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:28:21] local.INFO: Processing buffer {"connection_id":217577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:28:21] local.INFO: IMEI packet received {"connection_id":217577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":217577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:28:23] local.INFO: TCP Data received {"connection_id":217576,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:28:23] local.INFO: Processing buffer {"connection_id":217576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:28:23] local.INFO: IMEI packet received {"connection_id":217576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":217576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:28:26] local.INFO: TCP Data received {"connection_id":216045,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:28:26] local.INFO: Processing buffer {"connection_id":216045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:28:26] local.INFO: IMEI packet received {"connection_id":216045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":216045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:28:27] local.INFO: TCP Data received {"connection_id":216045,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:28:27] local.INFO: Processing buffer {"connection_id":216045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:28:27] local.INFO: IMEI packet received {"connection_id":216045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":216045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:28:27] local.INFO: TCP Data received {"connection_id":217577,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:28:27] local.INFO: Processing buffer {"connection_id":217577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:28:27] local.INFO: IMEI packet received {"connection_id":217577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":217577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:28:28] local.INFO: TCP Data received {"connection_id":217576,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:28:28] local.INFO: Processing buffer {"connection_id":217576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:28:28] local.INFO: IMEI packet received {"connection_id":217576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":217576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:28:29] local.INFO: TCP Data received {"connection_id":217576,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:28:29] local.INFO: Processing buffer {"connection_id":217576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:28:29] local.INFO: Packet analysis {"connection_id":217576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:28:29] local.INFO: Extracted packet for processing {"connection_id":217576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:28:29] 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-10-16 00:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:28:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:28:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":217576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:28:29] local.INFO: GPS data processed {"connection_id":217576,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:28:29] local.INFO: Acknowledgment sent {"connection_id":217576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:28:31] local.INFO: TCP Data received {"connection_id":217577,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:28:31] local.INFO: Processing buffer {"connection_id":217577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:28:31] local.INFO: Packet analysis {"connection_id":217577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:28:31] local.INFO: Extracted packet for processing {"connection_id":217577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:28:31] 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-10-16 00:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":217577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":217577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":217577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:28:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":217577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:28:31] local.INFO: GPS data processed {"connection_id":217577,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:28:31] local.INFO: Acknowledgment sent {"connection_id":217577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:28:32] local.INFO: TCP Data received {"connection_id":216045,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:28:32] local.INFO: Processing buffer {"connection_id":216045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:28:32] local.INFO: IMEI packet received {"connection_id":216045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":216045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:28:33] local.INFO: TCP Data received {"connection_id":216045,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:28:33] local.INFO: Processing buffer {"connection_id":216045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:28:33] local.INFO: Packet analysis {"connection_id":216045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:28:33] local.INFO: Extracted packet for processing {"connection_id":216045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:28:33] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775133952001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792090668000,"timestamp_ms":1792090668000,"timestamp_seconds":1792090668,"priority":1,"record_length":96,"hex_timestamp":"000001a140ed7be0"} 
[2026-10-16 00:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-16 00:28:33] 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-10-16 00:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775133952001,"66":24680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775133952001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:28:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:28:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775133952001,"power":24680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":216045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:28:33] local.INFO: GPS data processed {"connection_id":216045,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:28:33] local.INFO: Acknowledgment sent {"connection_id":216045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:28:34] local.INFO: TCP Data received {"connection_id":217576,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:28:34] local.INFO: Processing buffer {"connection_id":217576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:28:34] local.INFO: Packet analysis {"connection_id":217576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:28:34] local.INFO: Extracted packet for processing {"connection_id":217576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:28:34] 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-10-16 00:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:28:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:28:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":217576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:28:34] local.INFO: GPS data processed {"connection_id":217576,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:28:34] local.INFO: Acknowledgment sent {"connection_id":217576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:28:34] local.INFO: TCP Data received {"connection_id":216229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:28:34] local.INFO: Processing buffer {"connection_id":216229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:28:34] local.INFO: Packet analysis {"connection_id":216229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:28:34] local.INFO: Extracted packet for processing {"connection_id":216229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:28:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":216229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:28:34] local.INFO: GPS data processed {"connection_id":216229,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:28:34] local.INFO: Acknowledgment sent {"connection_id":216229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:28:52] local.INFO: TCP Data received {"connection_id":217578,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:28:52] local.INFO: Processing buffer {"connection_id":217578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:28:52] local.INFO: IMEI packet received {"connection_id":217578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":217578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:28:58] local.INFO: TCP Data received {"connection_id":217578,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:28:58] local.INFO: Processing buffer {"connection_id":217578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:28:58] local.INFO: IMEI packet received {"connection_id":217578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":217578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:28:59] local.INFO: TCP Data received {"connection_id":217578,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:28:59] local.INFO: Processing buffer {"connection_id":217578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:28:59] local.INFO: Packet analysis {"connection_id":217578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:28:59] local.INFO: Extracted packet for processing {"connection_id":217578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:28:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":217578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:28:59] local.INFO: GPS data processed {"connection_id":217578,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:28:59] local.INFO: Acknowledgment sent {"connection_id":217578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:29:04] local.INFO: TCP Data received {"connection_id":216045,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:29:04] local.INFO: Processing buffer {"connection_id":216045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:29:04] local.INFO: Packet analysis {"connection_id":216045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:29:04] local.INFO: Extracted packet for processing {"connection_id":216045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:29:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775133952001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792090668000,"timestamp_ms":1792090668000,"timestamp_seconds":1792090668,"priority":1,"record_length":96,"hex_timestamp":"000001a140ed7be0"} 
[2026-10-16 00:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:29:04] 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-10-16 00:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-16 00:29:04] 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-10-16 00:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775133952001,"66":24680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775133952001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:29:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:29:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775133952001,"power":24680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":216045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:29:05] local.INFO: GPS data processed {"connection_id":216045,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:29:05] local.INFO: Acknowledgment sent {"connection_id":216045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:29:05] local.INFO: TCP Data received {"connection_id":217577,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:29:05] local.INFO: Processing buffer {"connection_id":217577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:29:05] local.INFO: Packet analysis {"connection_id":217577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:29:05] local.INFO: Extracted packet for processing {"connection_id":217577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:29: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-10-16 00:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:29:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":217577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:29:05] local.INFO: GPS data processed {"connection_id":217577,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:29:05] local.INFO: Acknowledgment sent {"connection_id":217577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:29:18] local.INFO: TCP Data received {"connection_id":216230,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:29:18] local.INFO: Processing buffer {"connection_id":216230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:29:18] local.INFO: IMEI packet received {"connection_id":216230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":216230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:29:21] local.INFO: TCP Data received {"connection_id":219315,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:29:21] local.INFO: Processing buffer {"connection_id":219315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:29:21] local.INFO: IMEI packet received {"connection_id":219315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":219315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:29:23] local.INFO: TCP Data received {"connection_id":216230,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:29:23] local.INFO: Processing buffer {"connection_id":216230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:29:23] local.INFO: IMEI packet received {"connection_id":216230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":216230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:29:24] local.INFO: TCP Data received {"connection_id":216230,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:29:24] local.INFO: Processing buffer {"connection_id":216230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:29:24] local.INFO: Packet analysis {"connection_id":216230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:29:24] local.INFO: Extracted packet for processing {"connection_id":216230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:29:24] 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-10-16 00:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:29:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:29:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":216230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:29:24] local.INFO: GPS data processed {"connection_id":216230,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:29:24] local.INFO: Acknowledgment sent {"connection_id":216230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:29:27] local.INFO: TCP Data received {"connection_id":216046,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:29:27] local.INFO: Processing buffer {"connection_id":216046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:29:27] local.INFO: IMEI packet received {"connection_id":216046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":216046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:29:27] local.INFO: TCP Data received {"connection_id":219315,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:29:27] local.INFO: Processing buffer {"connection_id":219315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:29:27] local.INFO: IMEI packet received {"connection_id":219315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":219315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:29:28] local.INFO: TCP Data received {"connection_id":219315,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:29:28] local.INFO: Processing buffer {"connection_id":219315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:29:28] local.INFO: Packet analysis {"connection_id":219315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:29:28] local.INFO: Extracted packet for processing {"connection_id":219315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:29:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775133952001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090668000,"timestamp_ms":1792090668000,"timestamp_seconds":1792090668,"priority":1,"record_length":96,"hex_timestamp":"000001a140ed7be0"} 
[2026-10-16 00:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-16 00:29:28] 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-10-16 00:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775133952001,"66":24680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775133952001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:29:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:29:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775133952001,"power":24680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":219315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:29:28] local.INFO: GPS data processed {"connection_id":219315,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:29:28] local.INFO: Acknowledgment sent {"connection_id":219315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:29:28] local.INFO: TCP Data received {"connection_id":216230,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:29:28] local.INFO: Processing buffer {"connection_id":216230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:29:28] local.INFO: Packet analysis {"connection_id":216230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:29:28] local.INFO: Extracted packet for processing {"connection_id":216230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:29:28] 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-10-16 00:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:29:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:29:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":216230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:29:28] local.INFO: GPS data processed {"connection_id":216230,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:29:28] local.INFO: Acknowledgment sent {"connection_id":216230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:29:30] local.INFO: TCP Data received {"connection_id":217578,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:29:30] local.INFO: Processing buffer {"connection_id":217578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ea4b78012d196500071ff048003b014625..."} 
[2026-10-16 00:29:30] local.INFO: Packet analysis {"connection_id":217578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:29:30] local.INFO: Extracted packet for processing {"connection_id":217578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ea"} 
[2026-10-16 00:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775080448001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792090459000,"timestamp_ms":1792090459000,"timestamp_seconds":1792090459,"priority":1,"record_length":96,"hex_timestamp":"000001a140ea4b78"} 
[2026-10-16 00:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 00:29: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-10-16 00:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775080448001,"66":2155,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775080448001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:29:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775080448001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":217578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:29:30] local.INFO: GPS data processed {"connection_id":217578,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:29:30] local.INFO: Acknowledgment sent {"connection_id":217578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:29:32] local.INFO: TCP Data received {"connection_id":216046,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:29:32] local.INFO: Processing buffer {"connection_id":216046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:29:32] local.INFO: IMEI packet received {"connection_id":216046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":216046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:29:35] local.INFO: TCP Data received {"connection_id":216046,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:29:35] local.INFO: Processing buffer {"connection_id":216046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:29:35] local.INFO: Packet analysis {"connection_id":216046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:29:35] local.INFO: Extracted packet for processing {"connection_id":216046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:29:35] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:29:35] 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-10-16 00:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:29: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-10-16 00:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:29:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:29:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":216046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:29:35] local.INFO: GPS data processed {"connection_id":216046,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:29:35] local.INFO: Acknowledgment sent {"connection_id":216046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:29:37] local.INFO: TCP Data received {"connection_id":216046,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:29:37] local.INFO: Processing buffer {"connection_id":216046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eb2a20012d7c240005dad510001400ea23..."} 
[2026-10-16 00:29:37] local.INFO: Packet analysis {"connection_id":216046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:29:37] local.INFO: Extracted packet for processing {"connection_id":216046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140eb"} 
[2026-10-16 00:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775095040001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792090516000,"timestamp_ms":1792090516000,"timestamp_seconds":1792090516,"priority":1,"record_length":96,"hex_timestamp":"000001a140eb2a20"} 
[2026-10-16 00:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:29: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-10-16 00: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-10-16 00:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:29:37] 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-10-16 00:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775095040001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775095040001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:29:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775095040001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":216046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:29:37] local.INFO: GPS data processed {"connection_id":216046,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:29:37] local.INFO: Acknowledgment sent {"connection_id":216046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:29:52] local.INFO: TCP Data received {"connection_id":217579,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:29:52] local.INFO: Processing buffer {"connection_id":217579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:29:52] local.INFO: IMEI packet received {"connection_id":217579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":217579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:29:58] local.INFO: TCP Data received {"connection_id":217579,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:29:58] local.INFO: Processing buffer {"connection_id":217579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:29:58] local.INFO: IMEI packet received {"connection_id":217579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":217579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:29:59] local.INFO: TCP Data received {"connection_id":217579,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:29:59] local.INFO: Processing buffer {"connection_id":217579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:29:59] local.INFO: Packet analysis {"connection_id":217579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:29:59] local.INFO: Extracted packet for processing {"connection_id":217579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775157504001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090760000,"timestamp_ms":1792090760000,"timestamp_seconds":1792090760,"priority":1,"record_length":96,"hex_timestamp":"000001a140eee340"} 
[2026-10-16 00:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:29:59] 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-10-16 00:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775157504001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775157504001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:29:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775157504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":217579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:29:59] local.INFO: GPS data processed {"connection_id":217579,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:29:59] local.INFO: Acknowledgment sent {"connection_id":217579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:30:00] local.INFO: TCP Data received {"connection_id":219315,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:30:00] local.INFO: Processing buffer {"connection_id":219315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:30:00] local.INFO: Packet analysis {"connection_id":219315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:30:00] local.INFO: Extracted packet for processing {"connection_id":219315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:30:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775133952001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090668000,"timestamp_ms":1792090668000,"timestamp_seconds":1792090668,"priority":1,"record_length":96,"hex_timestamp":"000001a140ed7be0"} 
[2026-10-16 00:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:30:00] 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-10-16 00:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-16 00:30:00] 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-10-16 00:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775133952001,"66":24680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775133952001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:30:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:30:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775133952001,"power":24680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":219315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:30:00] local.INFO: GPS data processed {"connection_id":219315,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:30:00] local.INFO: Acknowledgment sent {"connection_id":219315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:30:00] local.INFO: TCP Data received {"connection_id":216230,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:30:00] local.INFO: Processing buffer {"connection_id":216230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:30:00] local.INFO: Packet analysis {"connection_id":216230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:30:00] local.INFO: Extracted packet for processing {"connection_id":216230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:30:00] 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-10-16 00:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:30:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:30:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":216230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:30:00] local.INFO: GPS data processed {"connection_id":216230,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:30:00] local.INFO: Acknowledgment sent {"connection_id":216230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:30:18] local.INFO: TCP Data received {"connection_id":219316,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:30:18] local.INFO: TCP Data received {"connection_id":216231,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:30:18] local.INFO: Processing buffer {"connection_id":219316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:30:18] local.INFO: IMEI packet received {"connection_id":219316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":219316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:30:18] local.INFO: Processing buffer {"connection_id":216231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:30:18] local.INFO: IMEI packet received {"connection_id":216231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":216231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:30:21] local.INFO: TCP Data received {"connection_id":219317,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:30:21] local.INFO: Processing buffer {"connection_id":219317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:30:21] local.INFO: IMEI packet received {"connection_id":219317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":219317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:30:22] local.INFO: TCP Data received {"connection_id":216231,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:30:22] local.INFO: Processing buffer {"connection_id":216231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:30:22] local.INFO: IMEI packet received {"connection_id":216231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":216231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:30:23] local.INFO: TCP Data received {"connection_id":219316,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:30:23] local.INFO: Processing buffer {"connection_id":219316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:30:23] local.INFO: IMEI packet received {"connection_id":219316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":219316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:30:24] local.INFO: TCP Data received {"connection_id":219316,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:30:24] local.INFO: Processing buffer {"connection_id":219316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:30:24] local.INFO: Packet analysis {"connection_id":219316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:30:24] local.INFO: Extracted packet for processing {"connection_id":219316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:30:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:30:24] 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-10-16 00:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:30:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:30:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":219316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:30:24] local.INFO: GPS data processed {"connection_id":219316,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:30:24] local.INFO: Acknowledgment sent {"connection_id":219316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:30:27] local.INFO: TCP Data received {"connection_id":219317,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:30:27] local.INFO: Processing buffer {"connection_id":219317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:30:27] local.INFO: IMEI packet received {"connection_id":219317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":219317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:30:27] local.INFO: TCP Data received {"connection_id":216231,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:30:27] local.INFO: Processing buffer {"connection_id":216231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:30:27] local.INFO: IMEI packet received {"connection_id":216231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":216231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:30:28] local.INFO: TCP Data received {"connection_id":219317,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:30:28] local.INFO: Processing buffer {"connection_id":219317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:30:28] local.INFO: Packet analysis {"connection_id":219317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:30:28] local.INFO: Extracted packet for processing {"connection_id":219317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:30:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775133952001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090668000,"timestamp_ms":1792090668000,"timestamp_seconds":1792090668,"priority":1,"record_length":96,"hex_timestamp":"000001a140ed7be0"} 
[2026-10-16 00:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-16 00:30:28] 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-10-16 00:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775133952001,"66":24680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775133952001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:30:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:30:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775133952001,"power":24680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":219317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:30:28] local.INFO: GPS data processed {"connection_id":219317,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:30:28] local.INFO: Acknowledgment sent {"connection_id":219317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:30:29] local.INFO: TCP Data received {"connection_id":216231,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:30:29] local.INFO: Processing buffer {"connection_id":216231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:30:29] local.INFO: Packet analysis {"connection_id":216231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:30:29] local.INFO: Extracted packet for processing {"connection_id":216231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775172096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792090817000,"timestamp_ms":1792090817000,"timestamp_seconds":1792090817,"priority":1,"record_length":96,"hex_timestamp":"000001a140efc1e8"} 
[2026-10-16 00:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:30:29] 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-10-16 00:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775172096001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775172096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:30:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775172096001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":216231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:30:29] local.INFO: GPS data processed {"connection_id":216231,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:30:29] local.INFO: Acknowledgment sent {"connection_id":216231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:30:34] local.INFO: TCP Data received {"connection_id":217579,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:30:34] local.INFO: Processing buffer {"connection_id":217579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:30:34] local.INFO: Packet analysis {"connection_id":217579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:30:34] local.INFO: Extracted packet for processing {"connection_id":217579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775157504001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792090760000,"timestamp_ms":1792090760000,"timestamp_seconds":1792090760,"priority":1,"record_length":96,"hex_timestamp":"000001a140eee340"} 
[2026-10-16 00:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:30:34] 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-10-16 00:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775157504001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775157504001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:30:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775157504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":217579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:30:34] local.INFO: GPS data processed {"connection_id":217579,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:30:34] local.INFO: Acknowledgment sent {"connection_id":217579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:30:53] local.INFO: TCP Data received {"connection_id":216232,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:30:53] local.INFO: Processing buffer {"connection_id":216232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:30:53] local.INFO: IMEI packet received {"connection_id":216232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":216232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:30:56] local.INFO: TCP Data received {"connection_id":219316,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:30:56] local.INFO: Processing buffer {"connection_id":219316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:30:56] local.INFO: Packet analysis {"connection_id":219316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:30:56] local.INFO: Extracted packet for processing {"connection_id":219316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:30:56] 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-10-16 00:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:30:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:30:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":219316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:30:56] local.INFO: GPS data processed {"connection_id":219316,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:30:56] local.INFO: Acknowledgment sent {"connection_id":219316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:30:58] local.INFO: TCP Data received {"connection_id":216232,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:30:58] local.INFO: Processing buffer {"connection_id":216232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:30:58] local.INFO: IMEI packet received {"connection_id":216232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":216232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:30:59] local.INFO: TCP Data received {"connection_id":216232,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:30:59] local.INFO: Processing buffer {"connection_id":216232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:30:59] local.INFO: Packet analysis {"connection_id":216232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:30:59] local.INFO: Extracted packet for processing {"connection_id":216232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775157504001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090760000,"timestamp_ms":1792090760000,"timestamp_seconds":1792090760,"priority":1,"record_length":96,"hex_timestamp":"000001a140eee340"} 
[2026-10-16 00:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:30:59] 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-10-16 00:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775157504001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775157504001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:30:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775157504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":216232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:30:59] local.INFO: GPS data processed {"connection_id":216232,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:30:59] local.INFO: Acknowledgment sent {"connection_id":216232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:30:59] local.INFO: TCP Data received {"connection_id":219317,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:30:59] local.INFO: Processing buffer {"connection_id":219317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:30:59] local.INFO: Packet analysis {"connection_id":219317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:30:59] local.INFO: Extracted packet for processing {"connection_id":219317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:30:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775133952001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090668000,"timestamp_ms":1792090668000,"timestamp_seconds":1792090668,"priority":1,"record_length":96,"hex_timestamp":"000001a140ed7be0"} 
[2026-10-16 00:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:30:59] 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-10-16 00:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-16 00:30:59] 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-10-16 00:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775133952001,"66":24680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775133952001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:30:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:30:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775133952001,"power":24680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":219317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:30:59] local.INFO: GPS data processed {"connection_id":219317,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:30:59] local.INFO: Acknowledgment sent {"connection_id":219317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:31:00] local.INFO: TCP Data received {"connection_id":216231,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:31:00] local.INFO: Processing buffer {"connection_id":216231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:31:00] local.INFO: Packet analysis {"connection_id":216231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:31:00] local.INFO: Extracted packet for processing {"connection_id":216231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:31: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-10-16 00:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775172096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090817000,"timestamp_ms":1792090817000,"timestamp_seconds":1792090817,"priority":1,"record_length":96,"hex_timestamp":"000001a140efc1e8"} 
[2026-10-16 00:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:31: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-10-16 00:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:31:00] 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-10-16 00:31: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-10-16 00:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775172096001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775172096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:31:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775172096001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":216231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:31:00] local.INFO: GPS data processed {"connection_id":216231,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:31:00] local.INFO: Acknowledgment sent {"connection_id":216231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:31:17] local.INFO: TCP Data received {"connection_id":217580,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:31:17] local.INFO: Processing buffer {"connection_id":217580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:31:17] local.INFO: IMEI packet received {"connection_id":217580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":217580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:31:21] local.INFO: TCP Data received {"connection_id":216047,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:31:21] local.INFO: Processing buffer {"connection_id":216047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:31:21] local.INFO: IMEI packet received {"connection_id":216047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":216047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:31:21] local.INFO: TCP Data received {"connection_id":216048,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:31:21] local.INFO: Processing buffer {"connection_id":216048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:31:21] local.INFO: IMEI packet received {"connection_id":216048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":216048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:31:23] local.INFO: TCP Data received {"connection_id":217580,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:31:23] local.INFO: Processing buffer {"connection_id":217580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:31:23] local.INFO: IMEI packet received {"connection_id":217580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":217580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:31:24] local.INFO: TCP Data received {"connection_id":217580,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:31:24] local.INFO: Processing buffer {"connection_id":217580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:31:24] local.INFO: Packet analysis {"connection_id":217580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:31:24] local.INFO: Extracted packet for processing {"connection_id":217580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:31:24] 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-10-16 00:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:31:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:31:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":217580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:31:24] local.INFO: GPS data processed {"connection_id":217580,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:31:24] local.INFO: Acknowledgment sent {"connection_id":217580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:31:27] local.INFO: TCP Data received {"connection_id":216048,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:31:27] local.INFO: Processing buffer {"connection_id":216048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:31:27] local.INFO: IMEI packet received {"connection_id":216048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":216048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:31:28] local.INFO: TCP Data received {"connection_id":216048,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:31:28] local.INFO: Processing buffer {"connection_id":216048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:31:28] local.INFO: Packet analysis {"connection_id":216048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:31:28] local.INFO: Extracted packet for processing {"connection_id":216048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:31:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775133952001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090668000,"timestamp_ms":1792090668000,"timestamp_seconds":1792090668,"priority":1,"record_length":96,"hex_timestamp":"000001a140ed7be0"} 
[2026-10-16 00:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-16 00:31:28] 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-10-16 00:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775133952001,"66":24680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775133952001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:31:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:31:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775133952001,"power":24680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":216048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043057,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:31:28] local.INFO: GPS data processed {"connection_id":216048,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:31:28] local.INFO: Acknowledgment sent {"connection_id":216048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:31:29] local.INFO: TCP Data received {"connection_id":216047,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:31:29] local.INFO: Processing buffer {"connection_id":216047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:31:29] local.INFO: IMEI packet received {"connection_id":216047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":216047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:31:30] local.INFO: TCP Data received {"connection_id":216232,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:31:30] local.INFO: Processing buffer {"connection_id":216232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:31:30] local.INFO: Packet analysis {"connection_id":216232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:31:30] local.INFO: Extracted packet for processing {"connection_id":216232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775157504001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792090760000,"timestamp_ms":1792090760000,"timestamp_seconds":1792090760,"priority":1,"record_length":96,"hex_timestamp":"000001a140eee340"} 
[2026-10-16 00:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:31:30] 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-10-16 00:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775157504001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775157504001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:31:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775157504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":216232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:31:30] local.INFO: GPS data processed {"connection_id":216232,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:31:30] local.INFO: Acknowledgment sent {"connection_id":216232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:31:31] local.INFO: TCP Data received {"connection_id":216047,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:31:31] local.INFO: Processing buffer {"connection_id":216047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:31:31] local.INFO: Packet analysis {"connection_id":216047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:31:31] local.INFO: Extracted packet for processing {"connection_id":216047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775172096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792090817000,"timestamp_ms":1792090817000,"timestamp_seconds":1792090817,"priority":1,"record_length":96,"hex_timestamp":"000001a140efc1e8"} 
[2026-10-16 00:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:31:31] 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-10-16 00:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775172096001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775172096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:31:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775172096001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":216047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:31:31] local.INFO: GPS data processed {"connection_id":216047,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:31:31] local.INFO: Acknowledgment sent {"connection_id":216047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:31:54] local.INFO: TCP Data received {"connection_id":219318,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:31:54] local.INFO: Processing buffer {"connection_id":219318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:31:54] local.INFO: IMEI packet received {"connection_id":219318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":219318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:31:56] local.INFO: TCP Data received {"connection_id":217580,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:31:56] local.INFO: Processing buffer {"connection_id":217580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ec5300012d7fac4005afe350002600a629..."} 
[2026-10-16 00:31:56] local.INFO: Packet analysis {"connection_id":217580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:31:56] local.INFO: Extracted packet for processing {"connection_id":217580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ec"} 
[2026-10-16 00:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775114496001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792090592000,"timestamp_ms":1792090592000,"timestamp_seconds":1792090592,"priority":1,"record_length":96,"hex_timestamp":"000001a140ec5300"} 
[2026-10-16 00:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 00:31:56] 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-10-16 00:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775114496001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775114496001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:31:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:31:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775114496001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":217580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:31:56] local.INFO: GPS data processed {"connection_id":217580,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:31:56] local.INFO: Acknowledgment sent {"connection_id":217580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:31:58] local.INFO: TCP Data received {"connection_id":219318,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:31:58] local.INFO: Processing buffer {"connection_id":219318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:31:58] local.INFO: IMEI packet received {"connection_id":219318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":219318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:31:59] local.INFO: TCP Data received {"connection_id":219318,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:31:59] local.INFO: Processing buffer {"connection_id":219318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:31:59] local.INFO: Packet analysis {"connection_id":219318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:31:59] local.INFO: Extracted packet for processing {"connection_id":219318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775157504001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090760000,"timestamp_ms":1792090760000,"timestamp_seconds":1792090760,"priority":1,"record_length":96,"hex_timestamp":"000001a140eee340"} 
[2026-10-16 00:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:31:59] 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-10-16 00:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775157504001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775157504001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:31:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775157504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":219318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:31:59] local.INFO: GPS data processed {"connection_id":219318,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:31:59] local.INFO: Acknowledgment sent {"connection_id":219318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:32:00] local.INFO: TCP Data received {"connection_id":216048,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:32:00] local.INFO: Processing buffer {"connection_id":216048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:32:00] local.INFO: Packet analysis {"connection_id":216048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:32:00] local.INFO: Extracted packet for processing {"connection_id":216048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:32:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775133952001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090668000,"timestamp_ms":1792090668000,"timestamp_seconds":1792090668,"priority":1,"record_length":96,"hex_timestamp":"000001a140ed7be0"} 
[2026-10-16 00:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:32:00] 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-10-16 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-16 00:32:00] 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-10-16 00: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-10-16 00:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775133952001,"66":24680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775133952001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:32:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:32:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775133952001,"power":24680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":216048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:32:00] local.INFO: GPS data processed {"connection_id":216048,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:32:00] local.INFO: Acknowledgment sent {"connection_id":216048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:32:06] local.INFO: TCP Data received {"connection_id":216047,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:32:06] local.INFO: Processing buffer {"connection_id":216047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:32:06] local.INFO: Packet analysis {"connection_id":216047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:32:06] local.INFO: Extracted packet for processing {"connection_id":216047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775172096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792090817000,"timestamp_ms":1792090817000,"timestamp_seconds":1792090817,"priority":1,"record_length":96,"hex_timestamp":"000001a140efc1e8"} 
[2026-10-16 00:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:32: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-10-16 00: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-10-16 00:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775172096001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775172096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:32:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775172096001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":216047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:32:06] local.INFO: GPS data processed {"connection_id":216047,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:32:06] local.INFO: Acknowledgment sent {"connection_id":216047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:32:17] local.INFO: TCP Data received {"connection_id":216049,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:32:17] local.INFO: Processing buffer {"connection_id":216049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:32:17] local.INFO: IMEI packet received {"connection_id":216049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":216049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:32:21] local.INFO: TCP Data received {"connection_id":217581,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:32:21] local.INFO: Processing buffer {"connection_id":217581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:32:21] local.INFO: IMEI packet received {"connection_id":217581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":217581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:32:23] local.INFO: TCP Data received {"connection_id":216049,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:32:23] local.INFO: Processing buffer {"connection_id":216049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:32:23] local.INFO: IMEI packet received {"connection_id":216049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":216049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:32:24] local.INFO: TCP Data received {"connection_id":216049,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:32:24] local.INFO: Processing buffer {"connection_id":216049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:32:24] local.INFO: Packet analysis {"connection_id":216049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:32:24] local.INFO: Extracted packet for processing {"connection_id":216049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":32,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:32: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-10-16 00:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792090892000,"timestamp_ms":1792090892000,"timestamp_seconds":1792090892,"priority":1,"record_length":96,"hex_timestamp":"000001a140f0e6e0"} 
[2026-10-16 00:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:32: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:32:24] 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-10-16 00:32: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-10-16 00:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775191552001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:32:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:32:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775191552001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":216049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:32:24] local.INFO: GPS data processed {"connection_id":216049,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:32:24] local.INFO: Acknowledgment sent {"connection_id":216049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:32:27] local.INFO: TCP Data received {"connection_id":217581,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:32:27] local.INFO: Processing buffer {"connection_id":217581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:32:27] local.INFO: IMEI packet received {"connection_id":217581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":217581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:32:27] local.INFO: TCP Data received {"connection_id":216233,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:32:27] local.INFO: Processing buffer {"connection_id":216233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:32:27] local.INFO: IMEI packet received {"connection_id":216233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":216233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:32:28] local.INFO: TCP Data received {"connection_id":217581,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:32:28] local.INFO: Processing buffer {"connection_id":217581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:32:28] local.INFO: Packet analysis {"connection_id":217581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:32:28] local.INFO: Extracted packet for processing {"connection_id":217581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775172096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090817000,"timestamp_ms":1792090817000,"timestamp_seconds":1792090817,"priority":1,"record_length":96,"hex_timestamp":"000001a140efc1e8"} 
[2026-10-16 00:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775172096001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775172096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:32:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775172096001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":217581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:32:28] local.INFO: GPS data processed {"connection_id":217581,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:32:28] local.INFO: Acknowledgment sent {"connection_id":217581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:32:30] local.INFO: TCP Data received {"connection_id":219318,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:32:30] local.INFO: Processing buffer {"connection_id":219318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:32:30] local.INFO: Packet analysis {"connection_id":219318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:32:30] local.INFO: Extracted packet for processing {"connection_id":219318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775157504001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792090760000,"timestamp_ms":1792090760000,"timestamp_seconds":1792090760,"priority":1,"record_length":96,"hex_timestamp":"000001a140eee340"} 
[2026-10-16 00:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:32:30] 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-10-16 00:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775157504001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775157504001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:32:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775157504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":219318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:32:30] local.INFO: GPS data processed {"connection_id":219318,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:32:30] local.INFO: Acknowledgment sent {"connection_id":219318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:32:32] local.INFO: TCP Data received {"connection_id":216233,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:32:32] local.INFO: Processing buffer {"connection_id":216233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:32:32] local.INFO: IMEI packet received {"connection_id":216233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":216233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:32:33] local.INFO: TCP Data received {"connection_id":216233,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:32:33] local.INFO: Processing buffer {"connection_id":216233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:32:33] local.INFO: Packet analysis {"connection_id":216233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:32:33] local.INFO: Extracted packet for processing {"connection_id":216233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:32:33] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775133952001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792090668000,"timestamp_ms":1792090668000,"timestamp_seconds":1792090668,"priority":1,"record_length":96,"hex_timestamp":"000001a140ed7be0"} 
[2026-10-16 00:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-16 00:32:33] 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-10-16 00:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775133952001,"66":24680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775133952001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:32:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:32:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775133952001,"power":24680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":216233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:32:33] local.INFO: GPS data processed {"connection_id":216233,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:32:33] local.INFO: Acknowledgment sent {"connection_id":216233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:32:37] local.INFO: TCP Data received {"connection_id":216233,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:32:37] local.INFO: Processing buffer {"connection_id":216233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140ed7be0012d77a94005f2a800000b005925..."} 
[2026-10-16 00:32:37] local.INFO: Packet analysis {"connection_id":216233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:32:37] local.INFO: Extracted packet for processing {"connection_id":216233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ed"} 
[2026-10-16 00:32:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775133952001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792090668000,"timestamp_ms":1792090668000,"timestamp_seconds":1792090668,"priority":1,"record_length":96,"hex_timestamp":"000001a140ed7be0"} 
[2026-10-16 00:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:32:37] 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-10-16 00:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-10-16 00:32:37] 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-10-16 00: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-10-16 00:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775133952001,"66":24680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775133952001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:32:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:32:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775133952001,"power":24680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":216233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:32:37] local.INFO: GPS data processed {"connection_id":216233,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:32:37] local.INFO: Acknowledgment sent {"connection_id":216233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:32:52] local.INFO: TCP Data received {"connection_id":219319,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:32:52] local.INFO: Processing buffer {"connection_id":219319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:32:52] local.INFO: IMEI packet received {"connection_id":219319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":219319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:32:56] local.INFO: TCP Data received {"connection_id":216049,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:32:56] local.INFO: Processing buffer {"connection_id":216049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:32:56] local.INFO: Packet analysis {"connection_id":216049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:32:56] local.INFO: Extracted packet for processing {"connection_id":216049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":32,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792090892000,"timestamp_ms":1792090892000,"timestamp_seconds":1792090892,"priority":1,"record_length":96,"hex_timestamp":"000001a140f0e6e0"} 
[2026-10-16 00:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:32: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-10-16 00:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:32:56] 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-10-16 00:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775191552001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:32:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:32:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775191552001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":216049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:32:56] local.INFO: GPS data processed {"connection_id":216049,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:32:56] local.INFO: Acknowledgment sent {"connection_id":216049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:32:57] local.INFO: TCP Data received {"connection_id":219319,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:32:57] local.INFO: Processing buffer {"connection_id":219319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:32:57] local.INFO: IMEI packet received {"connection_id":219319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":219319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:33:03] local.INFO: TCP Data received {"connection_id":217581,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:33:03] local.INFO: Processing buffer {"connection_id":217581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:33:03] local.INFO: Packet analysis {"connection_id":217581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:33:03] local.INFO: Extracted packet for processing {"connection_id":217581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775172096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792090817000,"timestamp_ms":1792090817000,"timestamp_seconds":1792090817,"priority":1,"record_length":96,"hex_timestamp":"000001a140efc1e8"} 
[2026-10-16 00:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:33: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-10-16 00:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775172096001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775172096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:33:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:33:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775172096001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":217581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:33:03] local.INFO: GPS data processed {"connection_id":217581,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:33:03] local.INFO: Acknowledgment sent {"connection_id":217581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:33:04] local.INFO: TCP Data received {"connection_id":219319,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:33:04] local.INFO: Processing buffer {"connection_id":219319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:33:04] local.INFO: Packet analysis {"connection_id":219319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:33:04] local.INFO: Extracted packet for processing {"connection_id":219319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775157504001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792090760000,"timestamp_ms":1792090760000,"timestamp_seconds":1792090760,"priority":1,"record_length":96,"hex_timestamp":"000001a140eee340"} 
[2026-10-16 00:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:33: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-10-16 00:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":219319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":219319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":219319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775157504001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775157504001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:33:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775157504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":219319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:33:04] local.INFO: GPS data processed {"connection_id":219319,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:33:04] local.INFO: Acknowledgment sent {"connection_id":219319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:33:18] local.INFO: TCP Data received {"connection_id":216234,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:33:18] local.INFO: Processing buffer {"connection_id":216234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:33:18] local.INFO: IMEI packet received {"connection_id":216234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":216234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:33:21] local.INFO: TCP Data received {"connection_id":217582,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:33:21] local.INFO: Processing buffer {"connection_id":217582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:33:21] local.INFO: IMEI packet received {"connection_id":217582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":217582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:33:22] local.INFO: TCP Data received {"connection_id":216235,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:33:22] local.INFO: Processing buffer {"connection_id":216235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:33:22] local.INFO: IMEI packet received {"connection_id":216235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":216235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:33:23] local.INFO: TCP Data received {"connection_id":216234,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:33:23] local.INFO: Processing buffer {"connection_id":216234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:33:23] local.INFO: IMEI packet received {"connection_id":216234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":216234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:33:24] local.INFO: TCP Data received {"connection_id":216234,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:33:24] local.INFO: Processing buffer {"connection_id":216234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:33:24] local.INFO: Packet analysis {"connection_id":216234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:33:24] local.INFO: Extracted packet for processing {"connection_id":216234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":32,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792090892000,"timestamp_ms":1792090892000,"timestamp_seconds":1792090892,"priority":1,"record_length":96,"hex_timestamp":"000001a140f0e6e0"} 
[2026-10-16 00:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:33:24] 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-10-16 00:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775191552001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:33:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:33:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775191552001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":216234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:33:24] local.INFO: GPS data processed {"connection_id":216234,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:33:24] local.INFO: Acknowledgment sent {"connection_id":216234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:33:27] local.INFO: TCP Data received {"connection_id":217582,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:33:27] local.INFO: Processing buffer {"connection_id":217582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:33:27] local.INFO: IMEI packet received {"connection_id":217582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":217582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:33:27] local.INFO: TCP Data received {"connection_id":216235,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:33:27] local.INFO: Processing buffer {"connection_id":216235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:33:27] local.INFO: IMEI packet received {"connection_id":216235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":216235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:33:28] local.INFO: TCP Data received {"connection_id":216235,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:33:28] local.INFO: Processing buffer {"connection_id":216235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:33:28] local.INFO: Packet analysis {"connection_id":216235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:33:28] local.INFO: Extracted packet for processing {"connection_id":216235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:33:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775211008001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090969000,"timestamp_ms":1792090969000,"timestamp_seconds":1792090969,"priority":1,"record_length":96,"hex_timestamp":"000001a140f213a8"} 
[2026-10-16 00:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775211008001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775211008001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:33:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:33:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775211008001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":216235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:33:28] local.INFO: GPS data processed {"connection_id":216235,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:33:28] local.INFO: Acknowledgment sent {"connection_id":216235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:33:28] local.INFO: TCP Data received {"connection_id":217582,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:33:28] local.INFO: Processing buffer {"connection_id":217582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:33:28] local.INFO: Packet analysis {"connection_id":217582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:33:28] local.INFO: Extracted packet for processing {"connection_id":217582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775172096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090817000,"timestamp_ms":1792090817000,"timestamp_seconds":1792090817,"priority":1,"record_length":96,"hex_timestamp":"000001a140efc1e8"} 
[2026-10-16 00:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:33:28] 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-10-16 00:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775172096001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775172096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:33:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775172096001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":217582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:33:28] local.INFO: GPS data processed {"connection_id":217582,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:33:28] local.INFO: Acknowledgment sent {"connection_id":217582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:33:35] local.INFO: TCP Data received {"connection_id":219319,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:33:35] local.INFO: Processing buffer {"connection_id":219319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:33:35] local.INFO: Packet analysis {"connection_id":219319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:33:35] local.INFO: Extracted packet for processing {"connection_id":219319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775157504001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792090760000,"timestamp_ms":1792090760000,"timestamp_seconds":1792090760,"priority":1,"record_length":96,"hex_timestamp":"000001a140eee340"} 
[2026-10-16 00:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:33:35] 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-10-16 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":219319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":219319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":219319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775157504001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775157504001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:33:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775157504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":219319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:33:35] local.INFO: GPS data processed {"connection_id":219319,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:33:35] local.INFO: Acknowledgment sent {"connection_id":219319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:33:52] local.INFO: TCP Data received {"connection_id":217583,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:33:52] local.INFO: Processing buffer {"connection_id":217583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:33:52] local.INFO: IMEI packet received {"connection_id":217583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 00:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":217583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:33:56] local.INFO: TCP Data received {"connection_id":216234,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:33:56] local.INFO: Processing buffer {"connection_id":216234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:33:56] local.INFO: Packet analysis {"connection_id":216234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:33:56] local.INFO: Extracted packet for processing {"connection_id":216234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":32,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792090892000,"timestamp_ms":1792090892000,"timestamp_seconds":1792090892,"priority":1,"record_length":96,"hex_timestamp":"000001a140f0e6e0"} 
[2026-10-16 00:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:33: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-10-16 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:33:56] 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-10-16 00: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-10-16 00:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775191552001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:33:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:33:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775191552001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":216234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:33:56] local.INFO: GPS data processed {"connection_id":216234,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:33:56] local.INFO: Acknowledgment sent {"connection_id":216234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:33:58] local.INFO: TCP Data received {"connection_id":217583,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:33:58] local.INFO: Processing buffer {"connection_id":217583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 00:33:58] local.INFO: IMEI packet received {"connection_id":217583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 00:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":217583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:33:59] local.INFO: TCP Data received {"connection_id":217583,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:33:59] local.INFO: Processing buffer {"connection_id":217583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140eee340012d196500071ff048003b014628..."} 
[2026-10-16 00:33:59] local.INFO: Packet analysis {"connection_id":217583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:33:59] local.INFO: Extracted packet for processing {"connection_id":217583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ee"} 
[2026-10-16 00:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533640,"longitude_deg":75.6638976,"latitude_deg":11.953364,"altitude":59,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-10-16 00:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775157504001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196586496,"note":"Value kept but may cause issues"} 
[2026-10-16 00:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090760000,"timestamp_ms":1792090760000,"timestamp_seconds":1792090760,"priority":1,"record_length":96,"hex_timestamp":"000001a140eee340"} 
[2026-10-16 00:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:33:59] 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-10-16 00:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-10-16 00:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 00:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 00:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 00:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775157504001,"66":2166,"102":206,"83":41984,"24":0,"16":28021448970862592,"45":1829868854196586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 00:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 00:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 00:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775157504001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 00:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 00:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021448970862592,"km_value":28021448970862.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196586496,"description":"Unknown IO ID 45"} 
[2026-10-16 00:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775157504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196586496}} 
[2026-10-16 00:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":217583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:33:59] local.INFO: GPS data processed {"connection_id":217583,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:33:59] local.INFO: Acknowledgment sent {"connection_id":217583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:34:00] local.INFO: TCP Data received {"connection_id":216235,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:34:00] local.INFO: Processing buffer {"connection_id":216235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:34:00] local.INFO: Packet analysis {"connection_id":216235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:34:00] local.INFO: Extracted packet for processing {"connection_id":216235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:34:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775211008001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090969000,"timestamp_ms":1792090969000,"timestamp_seconds":1792090969,"priority":1,"record_length":96,"hex_timestamp":"000001a140f213a8"} 
[2026-10-16 00:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775211008001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775211008001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:34:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:34:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775211008001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:34:00] local.INFO: TCP Data received {"connection_id":217582,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:34:00] local.INFO: Processing buffer {"connection_id":217582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:34:00] local.INFO: Packet analysis {"connection_id":217582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:34:00] local.INFO: Extracted packet for processing {"connection_id":217582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775172096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090817000,"timestamp_ms":1792090817000,"timestamp_seconds":1792090817,"priority":1,"record_length":96,"hex_timestamp":"000001a140efc1e8"} 
[2026-10-16 00:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:34: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-10-16 00:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:34:00] 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-10-16 00:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:34: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-10-16 00:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775172096001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775172096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:34:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:34:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775172096001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":216235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043078,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:34:00] local.INFO: GPS data processed {"connection_id":216235,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:34:00] local.INFO: Acknowledgment sent {"connection_id":216235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":217582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:34:00] local.INFO: GPS data processed {"connection_id":217582,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:34:00] local.INFO: Acknowledgment sent {"connection_id":217582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:34:18] local.INFO: TCP Data received {"connection_id":219320,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:34:18] local.INFO: Processing buffer {"connection_id":219320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:34:18] local.INFO: IMEI packet received {"connection_id":219320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":219320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:34:21] local.INFO: TCP Data received {"connection_id":217584,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:34:21] local.INFO: Processing buffer {"connection_id":217584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:34:21] local.INFO: IMEI packet received {"connection_id":217584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":217584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:34:22] local.INFO: TCP Data received {"connection_id":219320,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:34:22] local.INFO: Processing buffer {"connection_id":219320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:34:22] local.INFO: IMEI packet received {"connection_id":219320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":219320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:34:23] local.INFO: TCP Data received {"connection_id":219320,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:34:23] local.INFO: Processing buffer {"connection_id":219320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:34:23] local.INFO: Packet analysis {"connection_id":219320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:34:23] local.INFO: Extracted packet for processing {"connection_id":219320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":32,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792090892000,"timestamp_ms":1792090892000,"timestamp_seconds":1792090892,"priority":1,"record_length":96,"hex_timestamp":"000001a140f0e6e0"} 
[2026-10-16 00:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:34:23] 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-10-16 00:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775191552001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:34:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:34:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775191552001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":219320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:34:23] local.INFO: GPS data processed {"connection_id":219320,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:34:23] local.INFO: Acknowledgment sent {"connection_id":219320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:34:27] local.INFO: TCP Data received {"connection_id":216050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:34:27] local.INFO: Processing buffer {"connection_id":216050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:34:27] local.INFO: IMEI packet received {"connection_id":216050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":216050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:34:27] local.INFO: TCP Data received {"connection_id":217584,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:34:27] local.INFO: Processing buffer {"connection_id":217584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:34:27] local.INFO: IMEI packet received {"connection_id":217584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":217584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:34:28] local.INFO: TCP Data received {"connection_id":217584,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:34:28] local.INFO: Processing buffer {"connection_id":217584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:34:28] local.INFO: Packet analysis {"connection_id":217584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:34:28] local.INFO: Extracted packet for processing {"connection_id":217584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:34:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775211008001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090969000,"timestamp_ms":1792090969000,"timestamp_seconds":1792090969,"priority":1,"record_length":96,"hex_timestamp":"000001a140f213a8"} 
[2026-10-16 00:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775211008001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775211008001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:34:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:34:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775211008001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":217584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:34:28] local.INFO: GPS data processed {"connection_id":217584,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:34:28] local.INFO: Acknowledgment sent {"connection_id":217584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:34:32] local.INFO: TCP Data received {"connection_id":216050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:34:32] local.INFO: Processing buffer {"connection_id":216050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:34:32] local.INFO: IMEI packet received {"connection_id":216050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":216050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:34:35] local.INFO: TCP Data received {"connection_id":216050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:34:35] local.INFO: Processing buffer {"connection_id":216050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:34:35] local.INFO: Packet analysis {"connection_id":216050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:34:35] local.INFO: Extracted packet for processing {"connection_id":216050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:34:35] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775172096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792090817000,"timestamp_ms":1792090817000,"timestamp_seconds":1792090817,"priority":1,"record_length":96,"hex_timestamp":"000001a140efc1e8"} 
[2026-10-16 00:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:34:35] 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-10-16 00:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:34: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-10-16 00:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775172096001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775172096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:34:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:34:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775172096001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":216050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:34:35] local.INFO: GPS data processed {"connection_id":216050,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:34:35] local.INFO: Acknowledgment sent {"connection_id":216050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:34:46] local.INFO: TCP Data received {"connection_id":216050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:34:46] local.INFO: Processing buffer {"connection_id":216050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140efc1e8012d7c240005dad510001400ea21..."} 
[2026-10-16 00:34:46] local.INFO: Packet analysis {"connection_id":216050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:34:46] local.INFO: Extracted packet for processing {"connection_id":216050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140ef"} 
[2026-10-16 00:34:46] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775172096001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792090817000,"timestamp_ms":1792090817000,"timestamp_seconds":1792090817,"priority":1,"record_length":96,"hex_timestamp":"000001a140efc1e8"} 
[2026-10-16 00:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:34:46] 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-10-16 00: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-10-16 00:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:34: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-10-16 00:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775172096001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775172096001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:34:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:34:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775172096001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":216050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:34:46] local.INFO: GPS data processed {"connection_id":216050,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:34:46] local.INFO: Acknowledgment sent {"connection_id":216050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:34:55] local.INFO: TCP Data received {"connection_id":219320,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:34:55] local.INFO: Processing buffer {"connection_id":219320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:34:55] local.INFO: Packet analysis {"connection_id":219320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:34:55] local.INFO: Extracted packet for processing {"connection_id":219320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":32,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792090892000,"timestamp_ms":1792090892000,"timestamp_seconds":1792090892,"priority":1,"record_length":96,"hex_timestamp":"000001a140f0e6e0"} 
[2026-10-16 00:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:34:55] 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-10-16 00:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775191552001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:34:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:34:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775191552001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":219320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:34:55] local.INFO: GPS data processed {"connection_id":219320,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:34:55] local.INFO: Acknowledgment sent {"connection_id":219320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:35:00] local.INFO: TCP Data received {"connection_id":217584,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:35:00] local.INFO: Processing buffer {"connection_id":217584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:35:00] local.INFO: Packet analysis {"connection_id":217584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:35:00] local.INFO: Extracted packet for processing {"connection_id":217584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:35:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775211008001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090969000,"timestamp_ms":1792090969000,"timestamp_seconds":1792090969,"priority":1,"record_length":96,"hex_timestamp":"000001a140f213a8"} 
[2026-10-16 00:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775211008001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775211008001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:35:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:35:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775211008001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":217584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:35:00] local.INFO: GPS data processed {"connection_id":217584,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:35:00] local.INFO: Acknowledgment sent {"connection_id":217584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:35:17] local.INFO: TCP Data received {"connection_id":219321,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:35:17] local.INFO: Processing buffer {"connection_id":219321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:35:17] local.INFO: IMEI packet received {"connection_id":219321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":219321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:35:19] local.INFO: TCP Data received {"connection_id":219322,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:35:19] local.INFO: Processing buffer {"connection_id":219322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:35:19] local.INFO: IMEI packet received {"connection_id":219322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":219322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:35:21] local.INFO: TCP Data received {"connection_id":219322,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:35:21] local.INFO: Processing buffer {"connection_id":219322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:35:21] local.INFO: IMEI packet received {"connection_id":219322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":219322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:35:22] local.INFO: TCP Data received {"connection_id":219321,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:35:22] local.INFO: Processing buffer {"connection_id":219321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:35:22] local.INFO: IMEI packet received {"connection_id":219321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":219321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:35:24] local.INFO: TCP Data received {"connection_id":219321,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:35:24] local.INFO: Processing buffer {"connection_id":219321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:35:24] local.INFO: Packet analysis {"connection_id":219321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:35:24] local.INFO: Extracted packet for processing {"connection_id":219321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":32,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792090892000,"timestamp_ms":1792090892000,"timestamp_seconds":1792090892,"priority":1,"record_length":96,"hex_timestamp":"000001a140f0e6e0"} 
[2026-10-16 00:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:35:24] 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-10-16 00:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775191552001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:35:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:35:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775191552001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":219321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:35:24] local.INFO: GPS data processed {"connection_id":219321,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:35:24] local.INFO: Acknowledgment sent {"connection_id":219321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:35:27] local.INFO: TCP Data received {"connection_id":219322,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:35:27] local.INFO: Processing buffer {"connection_id":219322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:35:27] local.INFO: IMEI packet received {"connection_id":219322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":219322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:35:27] local.INFO: TCP Data received {"connection_id":217585,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:35:27] local.INFO: Processing buffer {"connection_id":217585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:35:27] local.INFO: IMEI packet received {"connection_id":217585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":217585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:35:28] local.INFO: TCP Data received {"connection_id":219322,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:35:28] local.INFO: Processing buffer {"connection_id":219322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:35:28] local.INFO: Packet analysis {"connection_id":219322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:35:28] local.INFO: Extracted packet for processing {"connection_id":219322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775249152001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091118000,"timestamp_ms":1792091118000,"timestamp_seconds":1792091118,"priority":1,"record_length":96,"hex_timestamp":"000001a140f459b0"} 
[2026-10-16 00:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:35:28] 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-10-16 00:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775249152001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775249152001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:35:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775249152001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":219322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:35:28] local.INFO: GPS data processed {"connection_id":219322,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:35:28] local.INFO: Acknowledgment sent {"connection_id":219322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:35:32] local.INFO: TCP Data received {"connection_id":217585,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:35:32] local.INFO: Processing buffer {"connection_id":217585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:35:32] local.INFO: IMEI packet received {"connection_id":217585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":217585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:35:33] local.INFO: TCP Data received {"connection_id":217585,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:35:33] local.INFO: Processing buffer {"connection_id":217585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:35:33] local.INFO: Packet analysis {"connection_id":217585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:35:33] local.INFO: Extracted packet for processing {"connection_id":217585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:35:33] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775211008001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792090969000,"timestamp_ms":1792090969000,"timestamp_seconds":1792090969,"priority":1,"record_length":96,"hex_timestamp":"000001a140f213a8"} 
[2026-10-16 00:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775211008001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775211008001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:35:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:35:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775211008001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":217585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:35:33] local.INFO: GPS data processed {"connection_id":217585,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:35:33] local.INFO: Acknowledgment sent {"connection_id":217585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:35:37] local.INFO: TCP Data received {"connection_id":217585,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:35:37] local.INFO: Processing buffer {"connection_id":217585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:35:37] local.INFO: Packet analysis {"connection_id":217585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:35:37] local.INFO: Extracted packet for processing {"connection_id":217585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:35:37] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775211008001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792090969000,"timestamp_ms":1792090969000,"timestamp_seconds":1792090969,"priority":1,"record_length":96,"hex_timestamp":"000001a140f213a8"} 
[2026-10-16 00:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:35: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-10-16 00: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775211008001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775211008001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:35:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:35:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775211008001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":217585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:35:37] local.INFO: GPS data processed {"connection_id":217585,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:35:37] local.INFO: Acknowledgment sent {"connection_id":217585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:35:56] local.INFO: TCP Data received {"connection_id":219321,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:35:56] local.INFO: Processing buffer {"connection_id":219321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:35:56] local.INFO: Packet analysis {"connection_id":219321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:35:56] local.INFO: Extracted packet for processing {"connection_id":219321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":32,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792090892000,"timestamp_ms":1792090892000,"timestamp_seconds":1792090892,"priority":1,"record_length":96,"hex_timestamp":"000001a140f0e6e0"} 
[2026-10-16 00:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:35: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-10-16 00:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:35:56] 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-10-16 00:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775191552001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:35:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:35:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775191552001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":219321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:35:56] local.INFO: GPS data processed {"connection_id":219321,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:35:56] local.INFO: Acknowledgment sent {"connection_id":219321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:35:59] local.INFO: TCP Data received {"connection_id":219322,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:35:59] local.INFO: Processing buffer {"connection_id":219322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:35:59] local.INFO: Packet analysis {"connection_id":219322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:35:59] local.INFO: Extracted packet for processing {"connection_id":219322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775249152001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091118000,"timestamp_ms":1792091118000,"timestamp_seconds":1792091118,"priority":1,"record_length":96,"hex_timestamp":"000001a140f459b0"} 
[2026-10-16 00:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:35:59] 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-10-16 00:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:35: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-10-16 00:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775249152001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775249152001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:35:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775249152001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":219322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:35:59] local.INFO: GPS data processed {"connection_id":219322,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:35:59] local.INFO: Acknowledgment sent {"connection_id":219322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:36:21] local.INFO: TCP Data received {"connection_id":216237,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:36:21] local.INFO: Processing buffer {"connection_id":216237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:36:21] local.INFO: IMEI packet received {"connection_id":216237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":216237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:36:22] local.INFO: TCP Data received {"connection_id":216051,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:36:22] local.INFO: Processing buffer {"connection_id":216051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:36:22] local.INFO: IMEI packet received {"connection_id":216051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":216051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:36:23] local.INFO: TCP Data received {"connection_id":216236,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:36:23] local.INFO: Processing buffer {"connection_id":216236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:36:23] local.INFO: IMEI packet received {"connection_id":216236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":216236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:36:27] local.INFO: TCP Data received {"connection_id":216237,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:36:27] local.INFO: Processing buffer {"connection_id":216237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:36:27] local.INFO: IMEI packet received {"connection_id":216237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":216237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:36:27] local.INFO: TCP Data received {"connection_id":216051,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:36:27] local.INFO: Processing buffer {"connection_id":216051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:36:27] local.INFO: IMEI packet received {"connection_id":216051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":216051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:36:28] local.INFO: TCP Data received {"connection_id":216237,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:36:28] local.INFO: Processing buffer {"connection_id":216237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:36:28] local.INFO: Packet analysis {"connection_id":216237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:36:28] local.INFO: Extracted packet for processing {"connection_id":216237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775249152001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091118000,"timestamp_ms":1792091118000,"timestamp_seconds":1792091118,"priority":1,"record_length":96,"hex_timestamp":"000001a140f459b0"} 
[2026-10-16 00:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775249152001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775249152001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:36:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775249152001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":216237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:36:28] local.INFO: GPS data processed {"connection_id":216237,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:36:28] local.INFO: Acknowledgment sent {"connection_id":216237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:36:28] local.INFO: TCP Data received {"connection_id":216236,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:36:28] local.INFO: Processing buffer {"connection_id":216236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:36:28] local.INFO: IMEI packet received {"connection_id":216236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":216236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:36:28] local.INFO: TCP Data received {"connection_id":216051,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:36:28] local.INFO: Processing buffer {"connection_id":216051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:36:28] local.INFO: Packet analysis {"connection_id":216051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:36:28] local.INFO: Extracted packet for processing {"connection_id":216051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:36:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775211008001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090969000,"timestamp_ms":1792090969000,"timestamp_seconds":1792090969,"priority":1,"record_length":96,"hex_timestamp":"000001a140f213a8"} 
[2026-10-16 00:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216051,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216051,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775211008001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775211008001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:36:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:36:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775211008001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":216051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:36:28] local.INFO: GPS data processed {"connection_id":216051,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:36:28] local.INFO: Acknowledgment sent {"connection_id":216051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:36:29] local.INFO: TCP Data received {"connection_id":216236,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:36:29] local.INFO: Processing buffer {"connection_id":216236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:36:29] local.INFO: Packet analysis {"connection_id":216236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:36:29] local.INFO: Extracted packet for processing {"connection_id":216236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":32,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792090892000,"timestamp_ms":1792090892000,"timestamp_seconds":1792090892,"priority":1,"record_length":96,"hex_timestamp":"000001a140f0e6e0"} 
[2026-10-16 00:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:36:29] 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-10-16 00:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775191552001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:36:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:36:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775191552001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":216236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:36:29] local.INFO: GPS data processed {"connection_id":216236,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:36:29] local.INFO: Acknowledgment sent {"connection_id":216236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:36:34] local.INFO: TCP Data received {"connection_id":216236,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:36:34] local.INFO: Processing buffer {"connection_id":216236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f0e6e0012d7fac4005afe350002000a62b..."} 
[2026-10-16 00:36:34] local.INFO: Packet analysis {"connection_id":216236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:36:34] local.INFO: Extracted packet for processing {"connection_id":216236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f0"} 
[2026-10-16 00:36:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":32,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792090892000,"timestamp_ms":1792090892000,"timestamp_seconds":1792090892,"priority":1,"record_length":96,"hex_timestamp":"000001a140f0e6e0"} 
[2026-10-16 00:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775191552001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:36:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:36:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775191552001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":216236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:36:34] local.INFO: GPS data processed {"connection_id":216236,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:36:34] local.INFO: Acknowledgment sent {"connection_id":216236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:36:59] local.INFO: TCP Data received {"connection_id":216237,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:36:59] local.INFO: Processing buffer {"connection_id":216237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:36:59] local.INFO: Packet analysis {"connection_id":216237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:36:59] local.INFO: Extracted packet for processing {"connection_id":216237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775249152001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091118000,"timestamp_ms":1792091118000,"timestamp_seconds":1792091118,"priority":1,"record_length":96,"hex_timestamp":"000001a140f459b0"} 
[2026-10-16 00:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:36:59] 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-10-16 00:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775249152001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775249152001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:36:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775249152001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":216237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:36:59] local.INFO: GPS data processed {"connection_id":216237,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:36:59] local.INFO: Acknowledgment sent {"connection_id":216237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:37:00] local.INFO: TCP Data received {"connection_id":216051,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:37:00] local.INFO: Processing buffer {"connection_id":216051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:37:00] local.INFO: Packet analysis {"connection_id":216051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:37:00] local.INFO: Extracted packet for processing {"connection_id":216051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:37:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775211008001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792090969000,"timestamp_ms":1792090969000,"timestamp_seconds":1792090969,"priority":1,"record_length":96,"hex_timestamp":"000001a140f213a8"} 
[2026-10-16 00:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216051,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216051,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775211008001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775211008001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:37:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:37:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775211008001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":216051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:37:00] local.INFO: GPS data processed {"connection_id":216051,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:37:00] local.INFO: Acknowledgment sent {"connection_id":216051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:37:18] local.INFO: TCP Data received {"connection_id":219323,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:37:18] local.INFO: Processing buffer {"connection_id":219323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:37:18] local.INFO: IMEI packet received {"connection_id":219323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":219323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:37:21] local.INFO: TCP Data received {"connection_id":216239,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:37:21] local.INFO: Processing buffer {"connection_id":216239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:37:21] local.INFO: IMEI packet received {"connection_id":216239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":216239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:37:22] local.INFO: TCP Data received {"connection_id":216238,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:37:22] local.INFO: Processing buffer {"connection_id":216238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:37:22] local.INFO: IMEI packet received {"connection_id":216238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":216238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:37:23] local.INFO: TCP Data received {"connection_id":219323,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:37:23] local.INFO: Processing buffer {"connection_id":219323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:37:23] local.INFO: IMEI packet received {"connection_id":219323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":219323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:37:25] local.INFO: TCP Data received {"connection_id":219323,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:37:25] local.INFO: Processing buffer {"connection_id":219323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:37:25] local.INFO: Packet analysis {"connection_id":219323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:37:25] local.INFO: Extracted packet for processing {"connection_id":219323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:37:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:37:25] 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-10-16 00: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-10-16 00:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":219323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":219323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":219323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:37:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:37:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":219323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:37:25] local.INFO: GPS data processed {"connection_id":219323,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:37:25] local.INFO: Acknowledgment sent {"connection_id":219323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:37:27] local.INFO: TCP Data received {"connection_id":216239,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:37:27] local.INFO: Processing buffer {"connection_id":216239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:37:27] local.INFO: IMEI packet received {"connection_id":216239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":216239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:37:27] local.INFO: TCP Data received {"connection_id":216238,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:37:27] local.INFO: Processing buffer {"connection_id":216238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:37:27] local.INFO: IMEI packet received {"connection_id":216238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":216238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:37:28] local.INFO: TCP Data received {"connection_id":216238,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:37:28] local.INFO: Processing buffer {"connection_id":216238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:37:28] local.INFO: Packet analysis {"connection_id":216238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:37:28] local.INFO: Extracted packet for processing {"connection_id":216238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:37:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775211008001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792090969000,"timestamp_ms":1792090969000,"timestamp_seconds":1792090969,"priority":1,"record_length":96,"hex_timestamp":"000001a140f213a8"} 
[2026-10-16 00:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775211008001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775211008001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:37:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:37:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775211008001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":216238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:37:28] local.INFO: GPS data processed {"connection_id":216238,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:37:28] local.INFO: Acknowledgment sent {"connection_id":216238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:37:28] local.INFO: TCP Data received {"connection_id":216239,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:37:28] local.INFO: Processing buffer {"connection_id":216239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:37:28] local.INFO: Packet analysis {"connection_id":216239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:37:28] local.INFO: Extracted packet for processing {"connection_id":216239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:37:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775249152001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091118000,"timestamp_ms":1792091118000,"timestamp_seconds":1792091118,"priority":1,"record_length":96,"hex_timestamp":"000001a140f459b0"} 
[2026-10-16 00:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:37:28] 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-10-16 00:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775249152001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775249152001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:37:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:37:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775249152001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":216239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:37:28] local.INFO: GPS data processed {"connection_id":216239,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:37:28] local.INFO: Acknowledgment sent {"connection_id":216239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:37:29] local.INFO: TCP Data received {"connection_id":219323,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:37:29] local.INFO: Processing buffer {"connection_id":219323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:37:29] local.INFO: Packet analysis {"connection_id":219323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:37:29] local.INFO: Extracted packet for processing {"connection_id":219323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:37:29] 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-10-16 00:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:37:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:37:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":219323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:37:29] local.INFO: GPS data processed {"connection_id":219323,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:37:29] local.INFO: Acknowledgment sent {"connection_id":219323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:37:59] local.INFO: TCP Data received {"connection_id":216239,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:37:59] local.INFO: Processing buffer {"connection_id":216239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:37:59] local.INFO: Packet analysis {"connection_id":216239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:37:59] local.INFO: Extracted packet for processing {"connection_id":216239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775249152001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091118000,"timestamp_ms":1792091118000,"timestamp_seconds":1792091118,"priority":1,"record_length":96,"hex_timestamp":"000001a140f459b0"} 
[2026-10-16 00:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:37:59] 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-10-16 00:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:37: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-10-16 00:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775249152001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775249152001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:37:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775249152001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":216239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:37:59] local.INFO: GPS data processed {"connection_id":216239,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:37:59] local.INFO: Acknowledgment sent {"connection_id":216239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:37:59] local.INFO: TCP Data received {"connection_id":216238,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:37:59] local.INFO: Processing buffer {"connection_id":216238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f213a8012d77a94005f2a800000b005925..."} 
[2026-10-16 00:37:59] local.INFO: Packet analysis {"connection_id":216238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:37:59] local.INFO: Extracted packet for processing {"connection_id":216238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f2"} 
[2026-10-16 00:37:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775211008001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792090969000,"timestamp_ms":1792090969000,"timestamp_seconds":1792090969,"priority":1,"record_length":96,"hex_timestamp":"000001a140f213a8"} 
[2026-10-16 00:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775211008001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775211008001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:37:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:37:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775211008001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":216238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:38:00] local.INFO: GPS data processed {"connection_id":216238,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:38:00] local.INFO: Acknowledgment sent {"connection_id":216238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:38:01] local.INFO: TCP Data received {"connection_id":219323,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:38:01] local.INFO: Processing buffer {"connection_id":219323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:38:01] local.INFO: Packet analysis {"connection_id":219323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:38:01] local.INFO: Extracted packet for processing {"connection_id":219323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:38:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:38:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":219323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:38:01] local.INFO: GPS data processed {"connection_id":219323,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:38:01] local.INFO: Acknowledgment sent {"connection_id":219323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:38:17] local.INFO: TCP Data received {"connection_id":216240,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:38:17] local.INFO: Processing buffer {"connection_id":216240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:38:17] local.INFO: IMEI packet received {"connection_id":216240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":216240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:38:21] local.INFO: TCP Data received {"connection_id":216052,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:38:21] local.INFO: Processing buffer {"connection_id":216052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:38:21] local.INFO: IMEI packet received {"connection_id":216052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":216052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:38:21] local.INFO: TCP Data received {"connection_id":219324,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:38:21] local.INFO: Processing buffer {"connection_id":219324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:38:21] local.INFO: IMEI packet received {"connection_id":219324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":219324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:38:23] local.INFO: TCP Data received {"connection_id":216240,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:38:23] local.INFO: Processing buffer {"connection_id":216240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:38:23] local.INFO: IMEI packet received {"connection_id":216240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":216240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:38:25] local.INFO: TCP Data received {"connection_id":216240,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:38:25] local.INFO: Processing buffer {"connection_id":216240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:38:25] local.INFO: Packet analysis {"connection_id":216240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:38:25] local.INFO: Extracted packet for processing {"connection_id":216240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:38:25] 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-10-16 00: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-10-16 00:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:38:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:38:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":216240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:38:25] local.INFO: GPS data processed {"connection_id":216240,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:38:25] local.INFO: Acknowledgment sent {"connection_id":216240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:38:27] local.INFO: TCP Data received {"connection_id":216052,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:38:27] local.INFO: Processing buffer {"connection_id":216052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:38:27] local.INFO: IMEI packet received {"connection_id":216052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":216052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:38:27] local.INFO: TCP Data received {"connection_id":219324,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:38:27] local.INFO: Processing buffer {"connection_id":219324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:38:27] local.INFO: IMEI packet received {"connection_id":219324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":219324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:38:27] local.INFO: TCP Data received {"connection_id":216052,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:38:27] local.INFO: Processing buffer {"connection_id":216052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:38:27] local.INFO: Packet analysis {"connection_id":216052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:38:27] local.INFO: Extracted packet for processing {"connection_id":216052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775249152001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792091118000,"timestamp_ms":1792091118000,"timestamp_seconds":1792091118,"priority":1,"record_length":96,"hex_timestamp":"000001a140f459b0"} 
[2026-10-16 00:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:38:27] 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-10-16 00: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-10-16 00:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:38:27] 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-10-16 00:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775249152001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775249152001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:38:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775249152001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":216052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:38:28] local.INFO: GPS data processed {"connection_id":216052,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:38:28] local.INFO: Acknowledgment sent {"connection_id":216052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:38:28] local.INFO: TCP Data received {"connection_id":219324,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:38:28] local.INFO: Processing buffer {"connection_id":219324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:38:28] local.INFO: Packet analysis {"connection_id":219324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:38:28] local.INFO: Extracted packet for processing {"connection_id":219324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:38:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:38:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:38:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":219324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:38:28] local.INFO: GPS data processed {"connection_id":219324,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:38:28] local.INFO: Acknowledgment sent {"connection_id":219324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:38:57] local.INFO: TCP Data received {"connection_id":216240,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:38:57] local.INFO: Processing buffer {"connection_id":216240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:38:57] local.INFO: Packet analysis {"connection_id":216240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:38:57] local.INFO: Extracted packet for processing {"connection_id":216240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:38: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-10-16 00:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:38:57] 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-10-16 00:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:38:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:38:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":216240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:38:57] local.INFO: GPS data processed {"connection_id":216240,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:38:57] local.INFO: Acknowledgment sent {"connection_id":216240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:38:59] local.INFO: TCP Data received {"connection_id":216052,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:38:59] local.INFO: Processing buffer {"connection_id":216052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:38:59] local.INFO: Packet analysis {"connection_id":216052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:38:59] local.INFO: Extracted packet for processing {"connection_id":216052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775249152001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091118000,"timestamp_ms":1792091118000,"timestamp_seconds":1792091118,"priority":1,"record_length":96,"hex_timestamp":"000001a140f459b0"} 
[2026-10-16 00:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:38:59] 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-10-16 00:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:38:59] 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-10-16 00:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775249152001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775249152001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:38:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775249152001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":216052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:38:59] local.INFO: GPS data processed {"connection_id":216052,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:38:59] local.INFO: Acknowledgment sent {"connection_id":216052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:38:59] local.INFO: TCP Data received {"connection_id":219324,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:38:59] local.INFO: Processing buffer {"connection_id":219324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:38:59] local.INFO: Packet analysis {"connection_id":219324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:38:59] local.INFO: Extracted packet for processing {"connection_id":219324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:38:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:38:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:38:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":219324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:38:59] local.INFO: GPS data processed {"connection_id":219324,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:38:59] local.INFO: Acknowledgment sent {"connection_id":219324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:39:21] local.INFO: TCP Data received {"connection_id":219325,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:39:21] local.INFO: Processing buffer {"connection_id":219325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:39:21] local.INFO: IMEI packet received {"connection_id":219325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":219325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:39:22] local.INFO: TCP Data received {"connection_id":217586,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:39:22] local.INFO: Processing buffer {"connection_id":217586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:39:22] local.INFO: IMEI packet received {"connection_id":217586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":217586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:39:27] local.INFO: TCP Data received {"connection_id":216241,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:39:27] local.INFO: Processing buffer {"connection_id":216241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:39:27] local.INFO: IMEI packet received {"connection_id":216241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":216241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:39:27] local.INFO: TCP Data received {"connection_id":219325,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:39:27] local.INFO: Processing buffer {"connection_id":219325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:39:27] local.INFO: IMEI packet received {"connection_id":219325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":219325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:39:28] local.INFO: TCP Data received {"connection_id":219325,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:39:28] local.INFO: Processing buffer {"connection_id":219325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:39:28] local.INFO: Packet analysis {"connection_id":219325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:39:28] local.INFO: Extracted packet for processing {"connection_id":219325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:39:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:39:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:39:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":219325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:39:28] local.INFO: GPS data processed {"connection_id":219325,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:39:28] local.INFO: Acknowledgment sent {"connection_id":219325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:39:28] local.INFO: TCP Data received {"connection_id":217586,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:39:28] local.INFO: Processing buffer {"connection_id":217586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:39:28] local.INFO: IMEI packet received {"connection_id":217586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":217586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:39:29] local.INFO: TCP Data received {"connection_id":217586,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:39:29] local.INFO: Processing buffer {"connection_id":217586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:39:29] local.INFO: Packet analysis {"connection_id":217586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:39:29] local.INFO: Extracted packet for processing {"connection_id":217586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:39:29] 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-10-16 00:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:39:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:39:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":217586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:39:29] local.INFO: GPS data processed {"connection_id":217586,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:39:29] local.INFO: Acknowledgment sent {"connection_id":217586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:39:32] local.INFO: TCP Data received {"connection_id":216241,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:39:32] local.INFO: Processing buffer {"connection_id":216241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:39:32] local.INFO: IMEI packet received {"connection_id":216241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":216241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:39:32] local.INFO: TCP Data received {"connection_id":216241,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:39:32] local.INFO: Processing buffer {"connection_id":216241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:39:32] local.INFO: Packet analysis {"connection_id":216241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:39:32] local.INFO: Extracted packet for processing {"connection_id":216241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775249152001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792091118000,"timestamp_ms":1792091118000,"timestamp_seconds":1792091118,"priority":1,"record_length":96,"hex_timestamp":"000001a140f459b0"} 
[2026-10-16 00:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:39:32] 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-10-16 00:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775249152001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775249152001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:39:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775249152001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":216241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:39:33] local.INFO: GPS data processed {"connection_id":216241,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:39:33] local.INFO: Acknowledgment sent {"connection_id":216241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:39:37] local.INFO: TCP Data received {"connection_id":216241,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:39:37] local.INFO: Processing buffer {"connection_id":216241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f459b0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:39:37] local.INFO: Packet analysis {"connection_id":216241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:39:37] local.INFO: Extracted packet for processing {"connection_id":216241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f4"} 
[2026-10-16 00:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775249152001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792091118000,"timestamp_ms":1792091118000,"timestamp_seconds":1792091118,"priority":1,"record_length":96,"hex_timestamp":"000001a140f459b0"} 
[2026-10-16 00:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:39: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-10-16 00: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-10-16 00:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775249152001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775249152001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:39:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775249152001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":216241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:39:37] local.INFO: GPS data processed {"connection_id":216241,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:39:37] local.INFO: Acknowledgment sent {"connection_id":216241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:40:00] local.INFO: TCP Data received {"connection_id":219325,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:40:00] local.INFO: Processing buffer {"connection_id":219325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:40:00] local.INFO: Packet analysis {"connection_id":219325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:40:00] local.INFO: Extracted packet for processing {"connection_id":219325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:40:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:40: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-10-16 00:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:40: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-10-16 00:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:40:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:40:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":219325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:40:00] local.INFO: GPS data processed {"connection_id":219325,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:40:00] local.INFO: Acknowledgment sent {"connection_id":219325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:40:01] local.INFO: TCP Data received {"connection_id":217586,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:40:01] local.INFO: Processing buffer {"connection_id":217586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:40:01] local.INFO: Packet analysis {"connection_id":217586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:40:01] local.INFO: Extracted packet for processing {"connection_id":217586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:40:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:40:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":217586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:40:01] local.INFO: GPS data processed {"connection_id":217586,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:40:01] local.INFO: Acknowledgment sent {"connection_id":217586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:40:17] local.INFO: TCP Data received {"connection_id":216053,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:40:17] local.INFO: Processing buffer {"connection_id":216053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:40:17] local.INFO: IMEI packet received {"connection_id":216053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":216053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:40:21] local.INFO: TCP Data received {"connection_id":217587,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:40:21] local.INFO: Processing buffer {"connection_id":217587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:40:21] local.INFO: IMEI packet received {"connection_id":217587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":217587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:40:21] local.INFO: TCP Data received {"connection_id":217587,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:40:21] local.INFO: Processing buffer {"connection_id":217587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:40:21] local.INFO: IMEI packet received {"connection_id":217587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":217587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:40:21] local.INFO: TCP Data received {"connection_id":216242,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:40:21] local.INFO: Processing buffer {"connection_id":216242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:40:21] local.INFO: IMEI packet received {"connection_id":216242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":216242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:40:23] local.INFO: TCP Data received {"connection_id":216053,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:40:23] local.INFO: Processing buffer {"connection_id":216053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:40:23] local.INFO: IMEI packet received {"connection_id":216053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":216053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:40:24] local.INFO: TCP Data received {"connection_id":216053,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:40:24] local.INFO: Processing buffer {"connection_id":216053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:40:24] local.INFO: Packet analysis {"connection_id":216053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:40:24] local.INFO: Extracted packet for processing {"connection_id":216053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:40:24] 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-10-16 00:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:40:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:40:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":216053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:40:24] local.INFO: GPS data processed {"connection_id":216053,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:40:24] local.INFO: Acknowledgment sent {"connection_id":216053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:40:27] local.INFO: TCP Data received {"connection_id":217587,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:40:27] local.INFO: Processing buffer {"connection_id":217587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:40:27] local.INFO: IMEI packet received {"connection_id":217587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":217587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:40:27] local.INFO: TCP Data received {"connection_id":216242,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:40:27] local.INFO: Processing buffer {"connection_id":216242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:40:27] local.INFO: IMEI packet received {"connection_id":216242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":216242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:40:27] local.INFO: TCP Data received {"connection_id":217587,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:40:27] local.INFO: Processing buffer {"connection_id":217587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:40:27] local.INFO: Packet analysis {"connection_id":217587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:40:27] local.INFO: Extracted packet for processing {"connection_id":217587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:40:27] 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-10-16 00:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:40:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":217587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:40:27] local.INFO: GPS data processed {"connection_id":217587,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:40:27] local.INFO: Acknowledgment sent {"connection_id":217587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:40:28] local.INFO: TCP Data received {"connection_id":216242,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:40:28] local.INFO: Processing buffer {"connection_id":216242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:40:28] local.INFO: Packet analysis {"connection_id":216242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:40:28] local.INFO: Extracted packet for processing {"connection_id":216242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:40:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:40:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:40:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":216242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:40:28] local.INFO: GPS data processed {"connection_id":216242,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:40:28] local.INFO: Acknowledgment sent {"connection_id":216242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:40:56] local.INFO: TCP Data received {"connection_id":216053,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:40:56] local.INFO: Processing buffer {"connection_id":216053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:40:56] local.INFO: Packet analysis {"connection_id":216053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:40:56] local.INFO: Extracted packet for processing {"connection_id":216053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:40: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-10-16 00:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:40:56] 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-10-16 00:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:40:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:40:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":216053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:40:56] local.INFO: GPS data processed {"connection_id":216053,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:40:56] local.INFO: Acknowledgment sent {"connection_id":216053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:40:59] local.INFO: TCP Data received {"connection_id":217587,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:40:59] local.INFO: Processing buffer {"connection_id":217587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:40:59] local.INFO: Packet analysis {"connection_id":217587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:40:59] local.INFO: Extracted packet for processing {"connection_id":217587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:40:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":217587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:40:59] local.INFO: GPS data processed {"connection_id":217587,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:40:59] local.INFO: Acknowledgment sent {"connection_id":217587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:40:59] local.INFO: TCP Data received {"connection_id":216242,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:40:59] local.INFO: Processing buffer {"connection_id":216242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:40:59] local.INFO: Packet analysis {"connection_id":216242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:40:59] local.INFO: Extracted packet for processing {"connection_id":216242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:40:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:40:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:40:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":216242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:40:59] local.INFO: GPS data processed {"connection_id":216242,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:40:59] local.INFO: Acknowledgment sent {"connection_id":216242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:41:17] local.INFO: TCP Data received {"connection_id":219326,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:41:17] local.INFO: Processing buffer {"connection_id":219326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:41:17] local.INFO: IMEI packet received {"connection_id":219326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":219326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:41:21] local.INFO: TCP Data received {"connection_id":219327,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:41:21] local.INFO: Processing buffer {"connection_id":219327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:41:21] local.INFO: IMEI packet received {"connection_id":219327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":219327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:41:21] local.INFO: TCP Data received {"connection_id":217588,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:41:21] local.INFO: Processing buffer {"connection_id":217588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:41:21] local.INFO: IMEI packet received {"connection_id":217588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":217588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:41:23] local.INFO: TCP Data received {"connection_id":219326,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:41:23] local.INFO: Processing buffer {"connection_id":219326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:41:23] local.INFO: IMEI packet received {"connection_id":219326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":219326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:41:24] local.INFO: TCP Data received {"connection_id":219326,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:41:24] local.INFO: Processing buffer {"connection_id":219326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:41:24] local.INFO: Packet analysis {"connection_id":219326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:41:24] local.INFO: Extracted packet for processing {"connection_id":219326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:41: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-10-16 00:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:41: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:41:24] 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-10-16 00:41: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-10-16 00:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:41:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:41:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":219326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:41:24] local.INFO: GPS data processed {"connection_id":219326,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:41:24] local.INFO: Acknowledgment sent {"connection_id":219326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:41:27] local.INFO: TCP Data received {"connection_id":219327,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:41:27] local.INFO: Processing buffer {"connection_id":219327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:41:27] local.INFO: IMEI packet received {"connection_id":219327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":219327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:41:27] local.INFO: TCP Data received {"connection_id":217588,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:41:27] local.INFO: Processing buffer {"connection_id":217588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:41:27] local.INFO: IMEI packet received {"connection_id":217588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":217588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:41:27] local.INFO: TCP Data received {"connection_id":219327,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:41:27] local.INFO: Processing buffer {"connection_id":219327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:41:27] local.INFO: Packet analysis {"connection_id":219327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:41:27] local.INFO: Extracted packet for processing {"connection_id":219327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:41:27] 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-10-16 00:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:41:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":219327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:41:27] local.INFO: GPS data processed {"connection_id":219327,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:41:27] local.INFO: Acknowledgment sent {"connection_id":219327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:41:28] local.INFO: TCP Data received {"connection_id":217588,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:41:28] local.INFO: Processing buffer {"connection_id":217588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:41:28] local.INFO: Packet analysis {"connection_id":217588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:41:28] local.INFO: Extracted packet for processing {"connection_id":217588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:41:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:41:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:41:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":217588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:41:28] local.INFO: GPS data processed {"connection_id":217588,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:41:28] local.INFO: Acknowledgment sent {"connection_id":217588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:41:56] local.INFO: TCP Data received {"connection_id":219326,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:41:56] local.INFO: Processing buffer {"connection_id":219326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f57ea8012d7fac4005afe350001a00a62b..."} 
[2026-10-16 00:41:56] local.INFO: Packet analysis {"connection_id":219326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:41:56] local.INFO: Extracted packet for processing {"connection_id":219326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f5"} 
[2026-10-16 00:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":26,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775268352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792091193000,"timestamp_ms":1792091193000,"timestamp_seconds":1792091193,"priority":1,"record_length":96,"hex_timestamp":"000001a140f57ea8"} 
[2026-10-16 00:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:41: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-10-16 00:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 00:41:56] 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-10-16 00:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775268352001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775268352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:41:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:41:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775268352001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":219326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:41:56] local.INFO: GPS data processed {"connection_id":219326,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:41:56] local.INFO: Acknowledgment sent {"connection_id":219326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:41:59] local.INFO: TCP Data received {"connection_id":219327,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:41:59] local.INFO: Processing buffer {"connection_id":219327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:41:59] local.INFO: Packet analysis {"connection_id":219327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:41:59] local.INFO: Extracted packet for processing {"connection_id":219327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:41:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":219327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:41:59] local.INFO: GPS data processed {"connection_id":219327,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:41:59] local.INFO: Acknowledgment sent {"connection_id":219327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:41:59] local.INFO: TCP Data received {"connection_id":217588,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:41:59] local.INFO: Processing buffer {"connection_id":217588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:41:59] local.INFO: Packet analysis {"connection_id":217588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:41:59] local.INFO: Extracted packet for processing {"connection_id":217588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:41:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:41:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:41:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":217588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:41:59] local.INFO: GPS data processed {"connection_id":217588,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:41:59] local.INFO: Acknowledgment sent {"connection_id":217588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:42:21] local.INFO: TCP Data received {"connection_id":217589,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:42:21] local.INFO: Processing buffer {"connection_id":217589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:42:21] local.INFO: IMEI packet received {"connection_id":217589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":217589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:42:23] local.INFO: TCP Data received {"connection_id":219328,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:42:23] local.INFO: Processing buffer {"connection_id":219328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:42:23] local.INFO: IMEI packet received {"connection_id":219328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":219328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:42:27] local.INFO: TCP Data received {"connection_id":217589,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:42:27] local.INFO: Processing buffer {"connection_id":217589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:42:27] local.INFO: IMEI packet received {"connection_id":217589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":217589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:42:27] local.INFO: TCP Data received {"connection_id":219329,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:42:27] local.INFO: Processing buffer {"connection_id":219329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:42:27] local.INFO: IMEI packet received {"connection_id":219329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":219329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:42:27] local.INFO: TCP Data received {"connection_id":217589,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:42:27] local.INFO: Processing buffer {"connection_id":217589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:42:27] local.INFO: Packet analysis {"connection_id":217589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:42:27] local.INFO: Extracted packet for processing {"connection_id":217589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:42:27] 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-10-16 00:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:42:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":217589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:42:27] local.INFO: GPS data processed {"connection_id":217589,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:42:27] local.INFO: Acknowledgment sent {"connection_id":217589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:42:28] local.INFO: TCP Data received {"connection_id":219328,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:42:28] local.INFO: Processing buffer {"connection_id":219328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:42:28] local.INFO: IMEI packet received {"connection_id":219328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":219328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:42:29] local.INFO: TCP Data received {"connection_id":219328,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:42:29] local.INFO: Processing buffer {"connection_id":219328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:42:29] local.INFO: Packet analysis {"connection_id":219328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:42:29] local.INFO: Extracted packet for processing {"connection_id":219328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:42:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":25,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:42: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-10-16 00:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775345408001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792091494000,"timestamp_ms":1792091494000,"timestamp_seconds":1792091494,"priority":1,"record_length":96,"hex_timestamp":"000001a140fa1670"} 
[2026-10-16 00:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 00:42:29] 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-10-16 00:42: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-10-16 00:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775345408001,"66":25778,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775345408001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:42:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:42:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775345408001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":219328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:42:29] local.INFO: GPS data processed {"connection_id":219328,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:42:29] local.INFO: Acknowledgment sent {"connection_id":219328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:42:32] local.INFO: TCP Data received {"connection_id":219329,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:42:32] local.INFO: Processing buffer {"connection_id":219329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:42:32] local.INFO: IMEI packet received {"connection_id":219329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":219329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:42:33] local.INFO: TCP Data received {"connection_id":219329,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:42:33] local.INFO: Processing buffer {"connection_id":219329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:42:33] local.INFO: Packet analysis {"connection_id":219329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:42:33] local.INFO: Extracted packet for processing {"connection_id":219329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:42:33] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:42:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:42:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":219329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:42:33] local.INFO: GPS data processed {"connection_id":219329,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:42:33] local.INFO: Acknowledgment sent {"connection_id":219329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:42:34] local.INFO: TCP Data received {"connection_id":219328,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:42:34] local.INFO: Processing buffer {"connection_id":219328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:42:34] local.INFO: Packet analysis {"connection_id":219328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:42:34] local.INFO: Extracted packet for processing {"connection_id":219328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":25,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775345408001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792091494000,"timestamp_ms":1792091494000,"timestamp_seconds":1792091494,"priority":1,"record_length":96,"hex_timestamp":"000001a140fa1670"} 
[2026-10-16 00:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 00:42:34] 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-10-16 00:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775345408001,"66":25778,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775345408001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:42:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:42:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775345408001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":219328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:42:34] local.INFO: GPS data processed {"connection_id":219328,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:42:34] local.INFO: Acknowledgment sent {"connection_id":219328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:42:38] local.INFO: TCP Data received {"connection_id":219329,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:42:38] local.INFO: Processing buffer {"connection_id":219329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:42:38] local.INFO: Packet analysis {"connection_id":219329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:42:38] local.INFO: Extracted packet for processing {"connection_id":219329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:42:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:42: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-10-16 00:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":219329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":219329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":219329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:42:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:42:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":219329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:42:38] local.INFO: GPS data processed {"connection_id":219329,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:42:38] local.INFO: Acknowledgment sent {"connection_id":219329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:42:59] local.INFO: TCP Data received {"connection_id":217589,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:42:59] local.INFO: Processing buffer {"connection_id":217589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:42:59] local.INFO: Packet analysis {"connection_id":217589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:42:59] local.INFO: Extracted packet for processing {"connection_id":217589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:42:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":217589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:42:59] local.INFO: GPS data processed {"connection_id":217589,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:42:59] local.INFO: Acknowledgment sent {"connection_id":217589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:43:17] local.INFO: TCP Data received {"connection_id":216054,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:43:17] local.INFO: Processing buffer {"connection_id":216054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:43:17] local.INFO: IMEI packet received {"connection_id":216054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":216054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:43:22] local.INFO: TCP Data received {"connection_id":219330,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:43:22] local.INFO: Processing buffer {"connection_id":219330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:43:22] local.INFO: IMEI packet received {"connection_id":219330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":219330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:43:23] local.INFO: TCP Data received {"connection_id":216054,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:43:23] local.INFO: Processing buffer {"connection_id":216054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:43:23] local.INFO: IMEI packet received {"connection_id":216054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":216054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:43:24] local.INFO: TCP Data received {"connection_id":216054,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:43:24] local.INFO: Processing buffer {"connection_id":216054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:43:24] local.INFO: Packet analysis {"connection_id":216054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:43:24] local.INFO: Extracted packet for processing {"connection_id":216054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:43:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":25,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:43: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-10-16 00:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775345408001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792091494000,"timestamp_ms":1792091494000,"timestamp_seconds":1792091494,"priority":1,"record_length":96,"hex_timestamp":"000001a140fa1670"} 
[2026-10-16 00:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:43: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 00:43:24] 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-10-16 00:43: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-10-16 00:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775345408001,"66":25778,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775345408001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:43:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:43:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775345408001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":216054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:43:24] local.INFO: GPS data processed {"connection_id":216054,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:43:24] local.INFO: Acknowledgment sent {"connection_id":216054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:43:27] local.INFO: TCP Data received {"connection_id":216055,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:43:27] local.INFO: Processing buffer {"connection_id":216055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:43:27] local.INFO: IMEI packet received {"connection_id":216055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":216055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:43:27] local.INFO: TCP Data received {"connection_id":219330,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:43:27] local.INFO: Processing buffer {"connection_id":219330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:43:27] local.INFO: IMEI packet received {"connection_id":219330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":219330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:43:28] local.INFO: TCP Data received {"connection_id":219330,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:43:28] local.INFO: Processing buffer {"connection_id":219330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f6ab70012d77a94005f2a800000b005925..."} 
[2026-10-16 00:43:28] local.INFO: Packet analysis {"connection_id":219330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:43:28] local.INFO: Extracted packet for processing {"connection_id":219330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f6"} 
[2026-10-16 00:43:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775288064001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091270000,"timestamp_ms":1792091270000,"timestamp_seconds":1792091270,"priority":1,"record_length":96,"hex_timestamp":"000001a140f6ab70"} 
[2026-10-16 00:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775288064001,"66":25756,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775288064001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:43:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:43:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775288064001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":219330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:43:28] local.INFO: GPS data processed {"connection_id":219330,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:43:28] local.INFO: Acknowledgment sent {"connection_id":219330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:43:32] local.INFO: TCP Data received {"connection_id":216055,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:43:32] local.INFO: Processing buffer {"connection_id":216055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:43:32] local.INFO: IMEI packet received {"connection_id":216055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":216055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:43:32] local.INFO: TCP Data received {"connection_id":216055,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:43:32] local.INFO: Processing buffer {"connection_id":216055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:43:32] local.INFO: Packet analysis {"connection_id":216055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:43:32] local.INFO: Extracted packet for processing {"connection_id":216055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:43:32] 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-10-16 00:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:43:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":216055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:43:33] local.INFO: GPS data processed {"connection_id":216055,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:43:33] local.INFO: Acknowledgment sent {"connection_id":216055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:43:37] local.INFO: TCP Data received {"connection_id":216055,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:43:37] local.INFO: Processing buffer {"connection_id":216055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:43:37] local.INFO: Packet analysis {"connection_id":216055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:43:37] local.INFO: Extracted packet for processing {"connection_id":216055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:43:37] 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-10-16 00: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-10-16 00:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:43:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":216055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:43:37] local.INFO: GPS data processed {"connection_id":216055,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:43:37] local.INFO: Acknowledgment sent {"connection_id":216055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:43:56] local.INFO: TCP Data received {"connection_id":216054,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:43:56] local.INFO: Processing buffer {"connection_id":216054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:43:56] local.INFO: Packet analysis {"connection_id":216054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:43:56] local.INFO: Extracted packet for processing {"connection_id":216054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":25,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775345408001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792091494000,"timestamp_ms":1792091494000,"timestamp_seconds":1792091494,"priority":1,"record_length":96,"hex_timestamp":"000001a140fa1670"} 
[2026-10-16 00:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:43: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-10-16 00: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 00:43:56] 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-10-16 00: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-10-16 00:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775345408001,"66":25778,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775345408001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:43:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:43:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775345408001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":216054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:43:56] local.INFO: GPS data processed {"connection_id":216054,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:43:56] local.INFO: Acknowledgment sent {"connection_id":216054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:43:59] local.INFO: TCP Data received {"connection_id":219330,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:43:59] local.INFO: Processing buffer {"connection_id":219330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:43:59] local.INFO: Packet analysis {"connection_id":219330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fb"} 
[2026-10-16 00:43:59] local.INFO: Extracted packet for processing {"connection_id":219330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fb"} 
[2026-10-16 00:43:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775365120001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091571000,"timestamp_ms":1792091571000,"timestamp_seconds":1792091571,"priority":1,"record_length":96,"hex_timestamp":"000001a140fb4338"} 
[2026-10-16 00:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775365120001,"66":25680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775365120001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:43:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:43:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775365120001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":219330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:44:00] local.INFO: GPS data processed {"connection_id":219330,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:44:00] local.INFO: Acknowledgment sent {"connection_id":219330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:44:17] local.INFO: TCP Data received {"connection_id":216056,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:44:17] local.INFO: Processing buffer {"connection_id":216056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:44:17] local.INFO: IMEI packet received {"connection_id":216056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":216056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:44:21] local.INFO: TCP Data received {"connection_id":219331,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:44:21] local.INFO: Processing buffer {"connection_id":219331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:44:21] local.INFO: IMEI packet received {"connection_id":219331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":219331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:44:22] local.INFO: TCP Data received {"connection_id":216243,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:44:22] local.INFO: Processing buffer {"connection_id":216243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:44:22] local.INFO: IMEI packet received {"connection_id":216243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":216243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:44:23] local.INFO: TCP Data received {"connection_id":216056,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:44:23] local.INFO: Processing buffer {"connection_id":216056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:44:23] local.INFO: IMEI packet received {"connection_id":216056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":216056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:44:24] local.INFO: TCP Data received {"connection_id":216056,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:44:24] local.INFO: Processing buffer {"connection_id":216056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:44:24] local.INFO: Packet analysis {"connection_id":216056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:44:24] local.INFO: Extracted packet for processing {"connection_id":216056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:44:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":25,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775345408001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792091494000,"timestamp_ms":1792091494000,"timestamp_seconds":1792091494,"priority":1,"record_length":96,"hex_timestamp":"000001a140fa1670"} 
[2026-10-16 00:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 00:44:24] 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-10-16 00:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775345408001,"66":25778,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775345408001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:44:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:44:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775345408001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":216056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:44:24] local.INFO: GPS data processed {"connection_id":216056,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:44:24] local.INFO: Acknowledgment sent {"connection_id":216056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:44:27] local.INFO: TCP Data received {"connection_id":216243,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:44:27] local.INFO: Processing buffer {"connection_id":216243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:44:27] local.INFO: IMEI packet received {"connection_id":216243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":216243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:44:27] local.INFO: TCP Data received {"connection_id":219331,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:44:27] local.INFO: Processing buffer {"connection_id":219331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:44:27] local.INFO: IMEI packet received {"connection_id":219331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":219331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:44:27] local.INFO: TCP Data received {"connection_id":216243,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:44:27] local.INFO: Processing buffer {"connection_id":216243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:44:27] local.INFO: Packet analysis {"connection_id":216243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:44:27] local.INFO: Extracted packet for processing {"connection_id":216243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:44:27] 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-10-16 00:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:44:27] 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-10-16 00:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:44:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":216243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:44:27] local.INFO: GPS data processed {"connection_id":216243,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:44:27] local.INFO: Acknowledgment sent {"connection_id":216243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:44:28] local.INFO: TCP Data received {"connection_id":219331,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:44:28] local.INFO: Processing buffer {"connection_id":219331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:44:28] local.INFO: Packet analysis {"connection_id":219331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fb"} 
[2026-10-16 00:44:28] local.INFO: Extracted packet for processing {"connection_id":219331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fb"} 
[2026-10-16 00:44:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775365120001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091571000,"timestamp_ms":1792091571000,"timestamp_seconds":1792091571,"priority":1,"record_length":96,"hex_timestamp":"000001a140fb4338"} 
[2026-10-16 00:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775365120001,"66":25680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775365120001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:44:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:44:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775365120001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":219331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:44:28] local.INFO: GPS data processed {"connection_id":219331,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:44:28] local.INFO: Acknowledgment sent {"connection_id":219331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:44:32] local.INFO: TCP Data received {"connection_id":216243,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:44:32] local.INFO: Processing buffer {"connection_id":216243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:44:32] local.INFO: Packet analysis {"connection_id":216243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:44:32] local.INFO: Extracted packet for processing {"connection_id":216243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:44:32] 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-10-16 00:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:44:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":216243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:44:32] local.INFO: GPS data processed {"connection_id":216243,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:44:32] local.INFO: Acknowledgment sent {"connection_id":216243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:44:56] local.INFO: TCP Data received {"connection_id":216056,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:44:56] local.INFO: Processing buffer {"connection_id":216056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:44:56] local.INFO: Packet analysis {"connection_id":216056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:44:56] local.INFO: Extracted packet for processing {"connection_id":216056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":25,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 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-10-16 00:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775345408001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792091494000,"timestamp_ms":1792091494000,"timestamp_seconds":1792091494,"priority":1,"record_length":96,"hex_timestamp":"000001a140fa1670"} 
[2026-10-16 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-10-16 00:44: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-10-16 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 00:44:56] 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-10-16 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-10-16 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-10-16 00:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775345408001,"66":25778,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775345408001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:44:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:44:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775345408001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":216056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:44:56] local.INFO: GPS data processed {"connection_id":216056,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:44:56] local.INFO: Acknowledgment sent {"connection_id":216056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:45:00] local.INFO: TCP Data received {"connection_id":219331,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:45:00] local.INFO: Processing buffer {"connection_id":219331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:45:00] local.INFO: Packet analysis {"connection_id":219331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fb"} 
[2026-10-16 00:45:00] local.INFO: Extracted packet for processing {"connection_id":219331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fb"} 
[2026-10-16 00:45:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775365120001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792091571000,"timestamp_ms":1792091571000,"timestamp_seconds":1792091571,"priority":1,"record_length":96,"hex_timestamp":"000001a140fb4338"} 
[2026-10-16 00:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775365120001,"66":25680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775365120001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:45:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:45:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775365120001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":219331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:45:00] local.INFO: GPS data processed {"connection_id":219331,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:45:00] local.INFO: Acknowledgment sent {"connection_id":219331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:45:03] local.INFO: TCP Data received {"connection_id":216243,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:45:03] local.INFO: Processing buffer {"connection_id":216243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140f8f178012d7c240005dad510001400ea1e..."} 
[2026-10-16 00:45:03] local.INFO: Packet analysis {"connection_id":216243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:45:03] local.INFO: Extracted packet for processing {"connection_id":216243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140f8"} 
[2026-10-16 00:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775326208001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792091419000,"timestamp_ms":1792091419000,"timestamp_seconds":1792091419,"priority":1,"record_length":96,"hex_timestamp":"000001a140f8f178"} 
[2026-10-16 00:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 00:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775326208001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775326208001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:45:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775326208001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":216243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:45:03] local.INFO: GPS data processed {"connection_id":216243,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:45:03] local.INFO: Acknowledgment sent {"connection_id":216243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:45:22] local.INFO: TCP Data received {"connection_id":216057,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:45:22] local.INFO: Processing buffer {"connection_id":216057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:45:22] local.INFO: IMEI packet received {"connection_id":216057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":216057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:45:22] local.INFO: TCP Data received {"connection_id":216057,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:45:22] local.INFO: Processing buffer {"connection_id":216057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:45:22] local.INFO: IMEI packet received {"connection_id":216057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":216057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:45:23] local.INFO: TCP Data received {"connection_id":216058,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:45:23] local.INFO: Processing buffer {"connection_id":216058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:45:23] local.INFO: IMEI packet received {"connection_id":216058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":216058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:45:27] local.INFO: TCP Data received {"connection_id":216057,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:45:27] local.INFO: Processing buffer {"connection_id":216057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:45:27] local.INFO: IMEI packet received {"connection_id":216057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":216057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:45:27] local.INFO: TCP Data received {"connection_id":216059,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:45:27] local.INFO: Processing buffer {"connection_id":216059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:45:27] local.INFO: IMEI packet received {"connection_id":216059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":216059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:45:27] local.INFO: TCP Data received {"connection_id":216057,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:45:27] local.INFO: Processing buffer {"connection_id":216057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:45:27] local.INFO: Packet analysis {"connection_id":216057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:45:27] local.INFO: Extracted packet for processing {"connection_id":216057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775403264001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792091720000,"timestamp_ms":1792091720000,"timestamp_seconds":1792091720,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd8940"} 
[2026-10-16 00:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:45:27] 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-10-16 00:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:45: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-10-16 00:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775403264001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775403264001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:45:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775403264001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":216057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:45:27] local.INFO: GPS data processed {"connection_id":216057,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:45:27] local.INFO: Acknowledgment sent {"connection_id":216057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:45:28] local.INFO: TCP Data received {"connection_id":216058,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:45:28] local.INFO: Processing buffer {"connection_id":216058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:45:28] local.INFO: IMEI packet received {"connection_id":216058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":216058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:45:29] local.INFO: TCP Data received {"connection_id":216058,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:45:29] local.INFO: Processing buffer {"connection_id":216058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:45:29] local.INFO: Packet analysis {"connection_id":216058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:45:29] local.INFO: Extracted packet for processing {"connection_id":216058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":25,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:45: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-10-16 00:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775345408001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792091494000,"timestamp_ms":1792091494000,"timestamp_seconds":1792091494,"priority":1,"record_length":96,"hex_timestamp":"000001a140fa1670"} 
[2026-10-16 00:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 00:45:29] 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-10-16 00:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775345408001,"66":25778,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775345408001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:45:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:45:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775345408001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":216058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:45:29] local.INFO: GPS data processed {"connection_id":216058,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:45:29] local.INFO: Acknowledgment sent {"connection_id":216058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:45:32] local.INFO: TCP Data received {"connection_id":216059,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:45:32] local.INFO: Processing buffer {"connection_id":216059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:45:32] local.INFO: IMEI packet received {"connection_id":216059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":216059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:45:33] local.INFO: TCP Data received {"connection_id":216059,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:45:33] local.INFO: Processing buffer {"connection_id":216059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:45:33] local.INFO: Packet analysis {"connection_id":216059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fb"} 
[2026-10-16 00:45:33] local.INFO: Extracted packet for processing {"connection_id":216059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fb"} 
[2026-10-16 00:45:33] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775365120001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792091571000,"timestamp_ms":1792091571000,"timestamp_seconds":1792091571,"priority":1,"record_length":96,"hex_timestamp":"000001a140fb4338"} 
[2026-10-16 00:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775365120001,"66":25680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775365120001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:45:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:45:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775365120001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":216059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:45:33] local.INFO: GPS data processed {"connection_id":216059,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:45:33] local.INFO: Acknowledgment sent {"connection_id":216059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:45:34] local.INFO: TCP Data received {"connection_id":216058,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:45:34] local.INFO: Processing buffer {"connection_id":216058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:45:34] local.INFO: Packet analysis {"connection_id":216058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:45:34] local.INFO: Extracted packet for processing {"connection_id":216058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:45:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":25,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775345408001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792091494000,"timestamp_ms":1792091494000,"timestamp_seconds":1792091494,"priority":1,"record_length":96,"hex_timestamp":"000001a140fa1670"} 
[2026-10-16 00:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 00:45:34] 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-10-16 00:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775345408001,"66":25778,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775345408001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:45:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:45:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775345408001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":216058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:45:34] local.INFO: GPS data processed {"connection_id":216058,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:45:34] local.INFO: Acknowledgment sent {"connection_id":216058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:45:38] local.INFO: TCP Data received {"connection_id":216059,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:45:38] local.INFO: Processing buffer {"connection_id":216059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fb4338012d77a94005f2a800000b005925..."} 
[2026-10-16 00:45:38] local.INFO: Packet analysis {"connection_id":216059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fb"} 
[2026-10-16 00:45:38] local.INFO: Extracted packet for processing {"connection_id":216059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fb"} 
[2026-10-16 00:45:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775365120001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792091571000,"timestamp_ms":1792091571000,"timestamp_seconds":1792091571,"priority":1,"record_length":96,"hex_timestamp":"000001a140fb4338"} 
[2026-10-16 00:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00: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-10-16 00:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775365120001,"66":25680,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775365120001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:45:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:45:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775365120001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":216059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:45:38] local.INFO: GPS data processed {"connection_id":216059,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:45:38] local.INFO: Acknowledgment sent {"connection_id":216059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:46:03] local.INFO: TCP Data received {"connection_id":216057,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:46:03] local.INFO: Processing buffer {"connection_id":216057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:46:03] local.INFO: Packet analysis {"connection_id":216057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:46:03] local.INFO: Extracted packet for processing {"connection_id":216057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775403264001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792091720000,"timestamp_ms":1792091720000,"timestamp_seconds":1792091720,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd8940"} 
[2026-10-16 00:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:46: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-10-16 00: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-10-16 00:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:46: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-10-16 00:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775403264001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775403264001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:46:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775403264001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":216057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:46:03] local.INFO: GPS data processed {"connection_id":216057,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:46:03] local.INFO: Acknowledgment sent {"connection_id":216057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:46:18] local.INFO: TCP Data received {"connection_id":219332,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:46:18] local.INFO: Processing buffer {"connection_id":219332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:46:18] local.INFO: IMEI packet received {"connection_id":219332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":219332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:46:21] local.INFO: TCP Data received {"connection_id":216244,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:46:21] local.INFO: Processing buffer {"connection_id":216244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:46:21] local.INFO: IMEI packet received {"connection_id":216244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":216244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:46:23] local.INFO: TCP Data received {"connection_id":219332,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:46:23] local.INFO: Processing buffer {"connection_id":219332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:46:23] local.INFO: IMEI packet received {"connection_id":219332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":219332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:46:25] local.INFO: TCP Data received {"connection_id":219332,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:46:25] local.INFO: Processing buffer {"connection_id":219332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:46:25] local.INFO: Packet analysis {"connection_id":219332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:46:25] local.INFO: Extracted packet for processing {"connection_id":219332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":25,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775345408001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792091494000,"timestamp_ms":1792091494000,"timestamp_seconds":1792091494,"priority":1,"record_length":96,"hex_timestamp":"000001a140fa1670"} 
[2026-10-16 00:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 00:46:25] 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-10-16 00:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":219332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":219332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":219332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775345408001,"66":25778,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775345408001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:46:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:46:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775345408001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":219332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:46:25] local.INFO: GPS data processed {"connection_id":219332,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:46:25] local.INFO: Acknowledgment sent {"connection_id":219332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:46:27] local.INFO: TCP Data received {"connection_id":216244,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:46:27] local.INFO: Processing buffer {"connection_id":216244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:46:27] local.INFO: IMEI packet received {"connection_id":216244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":216244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:46:28] local.INFO: TCP Data received {"connection_id":216244,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:46:28] local.INFO: Processing buffer {"connection_id":216244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:46:28] local.INFO: Packet analysis {"connection_id":216244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:46:28] local.INFO: Extracted packet for processing {"connection_id":216244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775403264001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091720000,"timestamp_ms":1792091720000,"timestamp_seconds":1792091720,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd8940"} 
[2026-10-16 00:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:46:28] 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-10-16 00:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775403264001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775403264001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:46:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775403264001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":216244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:46:28] local.INFO: GPS data processed {"connection_id":216244,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:46:28] local.INFO: Acknowledgment sent {"connection_id":216244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:46:32] local.INFO: TCP Data received {"connection_id":216060,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:46:32] local.INFO: Processing buffer {"connection_id":216060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:46:32] local.INFO: IMEI packet received {"connection_id":216060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":216060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:46:36] local.INFO: TCP Data received {"connection_id":216060,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:46:36] local.INFO: Processing buffer {"connection_id":216060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:46:36] local.INFO: IMEI packet received {"connection_id":216060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":216060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:46:38] local.INFO: TCP Data received {"connection_id":216060,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd5678012d77a94005f2a800000b005925..."} 
[2026-10-16 00:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd5678012d77a94005f2a800000b005925..."} 
[2026-10-16 00:46:38] local.INFO: Processing buffer {"connection_id":216060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd5678012d77a94005f2a800000b005925..."} 
[2026-10-16 00:46:38] local.INFO: Packet analysis {"connection_id":216060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:46:38] local.INFO: Extracted packet for processing {"connection_id":216060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:46:38] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99788800,"longitude_deg":76.2816832,"latitude_deg":9.97888,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-10-16 00:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775442176001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792091707000,"timestamp_ms":1792091707000,"timestamp_seconds":1792091707,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd5678"} 
[2026-10-16 00:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00: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-10-16 00:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775442176001,"66":25778,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775442176001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:46:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:46:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775442176001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":216060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:46:38] local.INFO: GPS data processed {"connection_id":216060,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:46:38] local.INFO: Acknowledgment sent {"connection_id":216060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:46:56] local.INFO: TCP Data received {"connection_id":219332,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:46:56] local.INFO: Processing buffer {"connection_id":219332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fa1670012d7fac4005afe350001900a628..."} 
[2026-10-16 00:46:56] local.INFO: Packet analysis {"connection_id":219332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:46:56] local.INFO: Extracted packet for processing {"connection_id":219332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fa"} 
[2026-10-16 00:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":25,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775345408001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792091494000,"timestamp_ms":1792091494000,"timestamp_seconds":1792091494,"priority":1,"record_length":96,"hex_timestamp":"000001a140fa1670"} 
[2026-10-16 00:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:46: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-10-16 00:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 00:46:56] 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-10-16 00:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775345408001,"66":25778,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775345408001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:46:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:46:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775345408001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":219332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:46:56] local.INFO: GPS data processed {"connection_id":219332,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:46:56] local.INFO: Acknowledgment sent {"connection_id":219332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:46:59] local.INFO: TCP Data received {"connection_id":216244,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:46:59] local.INFO: Processing buffer {"connection_id":216244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:46:59] local.INFO: Packet analysis {"connection_id":216244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:46:59] local.INFO: Extracted packet for processing {"connection_id":216244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:46: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-10-16 00:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775403264001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091720000,"timestamp_ms":1792091720000,"timestamp_seconds":1792091720,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd8940"} 
[2026-10-16 00:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:46:59] 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-10-16 00:46: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-10-16 00:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:46: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-10-16 00:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775403264001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775403264001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:46:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:46:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775403264001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":216244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:46:59] local.INFO: GPS data processed {"connection_id":216244,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:46:59] local.INFO: Acknowledgment sent {"connection_id":216244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:47:17] local.INFO: TCP Data received {"connection_id":216061,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:47:17] local.INFO: Processing buffer {"connection_id":216061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:47:17] local.INFO: IMEI packet received {"connection_id":216061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":216061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:47:21] local.INFO: TCP Data received {"connection_id":219334,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:47:21] local.INFO: Processing buffer {"connection_id":219334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:47:21] local.INFO: IMEI packet received {"connection_id":219334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":219334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:47:21] local.INFO: TCP Data received {"connection_id":219333,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:47:21] local.INFO: Processing buffer {"connection_id":219333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:47:21] local.INFO: IMEI packet received {"connection_id":219333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":219333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:47:23] local.INFO: TCP Data received {"connection_id":216061,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:47:23] local.INFO: Processing buffer {"connection_id":216061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:47:23] local.INFO: IMEI packet received {"connection_id":216061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":216061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:47:24] local.INFO: TCP Data received {"connection_id":219333,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:47:24] local.INFO: Processing buffer {"connection_id":219333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:47:24] local.INFO: IMEI packet received {"connection_id":219333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":219333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:47:24] local.INFO: TCP Data received {"connection_id":216061,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:47:24] local.INFO: Processing buffer {"connection_id":216061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:47:24] local.INFO: Packet analysis {"connection_id":216061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:47:24] local.INFO: Extracted packet for processing {"connection_id":216061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:47:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775422464001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792091795000,"timestamp_ms":1792091795000,"timestamp_seconds":1792091795,"priority":1,"record_length":96,"hex_timestamp":"000001a140feae38"} 
[2026-10-16 00:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:47:24] 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-10-16 00: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-10-16 00:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775422464001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775422464001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:47:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:47:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775422464001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":216061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:47:24] local.INFO: GPS data processed {"connection_id":216061,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:47:24] local.INFO: Acknowledgment sent {"connection_id":216061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:47:27] local.INFO: TCP Data received {"connection_id":219334,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:47:27] local.INFO: Processing buffer {"connection_id":219334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:47:27] local.INFO: IMEI packet received {"connection_id":219334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":219334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:47:27] local.INFO: TCP Data received {"connection_id":219333,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:47:27] local.INFO: Processing buffer {"connection_id":219333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:47:27] local.INFO: IMEI packet received {"connection_id":219333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":219333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:47:27] local.INFO: TCP Data received {"connection_id":219334,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:47:27] local.INFO: Processing buffer {"connection_id":219334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:47:27] local.INFO: Packet analysis {"connection_id":219334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:47:27] local.INFO: Extracted packet for processing {"connection_id":219334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775403264001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792091720000,"timestamp_ms":1792091720000,"timestamp_seconds":1792091720,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd8940"} 
[2026-10-16 00:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:47:27] 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-10-16 00:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775403264001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775403264001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:47:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775403264001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":219334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:47:27] local.INFO: GPS data processed {"connection_id":219334,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:47:27] local.INFO: Acknowledgment sent {"connection_id":219334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:47:28] local.INFO: TCP Data received {"connection_id":219333,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140fdb050012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fdb050012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:47:28] local.INFO: Processing buffer {"connection_id":219333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fdb050012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:47:28] local.INFO: Packet analysis {"connection_id":219333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:47:28] local.INFO: Extracted packet for processing {"connection_id":219333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:47:28] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775476992001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355867635712,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091730000,"timestamp_ms":1792091730000,"timestamp_seconds":1792091730,"priority":1,"record_length":96,"hex_timestamp":"000001a140fdb050"} 
[2026-10-16 00:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775476992001,"66":27082,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8622493355867635712},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775476992001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:47:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:47:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355867635712,"description":"Unknown IO ID 45"} 
[2026-10-16 00:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775476992001,"power":27082,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355867635712}} 
[2026-10-16 00:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":219333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:47:28] local.INFO: GPS data processed {"connection_id":219333,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:47:28] local.INFO: Acknowledgment sent {"connection_id":219333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:47:56] local.INFO: TCP Data received {"connection_id":216061,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:47:56] local.INFO: Processing buffer {"connection_id":216061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:47:56] local.INFO: Packet analysis {"connection_id":216061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:47:56] local.INFO: Extracted packet for processing {"connection_id":216061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775422464001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792091795000,"timestamp_ms":1792091795000,"timestamp_seconds":1792091795,"priority":1,"record_length":96,"hex_timestamp":"000001a140feae38"} 
[2026-10-16 00:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:47: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-10-16 00:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775422464001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775422464001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:47:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:47:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775422464001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":216061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:47:56] local.INFO: GPS data processed {"connection_id":216061,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:47:56] local.INFO: Acknowledgment sent {"connection_id":216061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:47:59] local.INFO: TCP Data received {"connection_id":219334,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:47:59] local.INFO: Processing buffer {"connection_id":219334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:47:59] local.INFO: Packet analysis {"connection_id":219334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:47:59] local.INFO: Extracted packet for processing {"connection_id":219334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775403264001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091720000,"timestamp_ms":1792091720000,"timestamp_seconds":1792091720,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd8940"} 
[2026-10-16 00:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:47:59] 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-10-16 00:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775403264001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775403264001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:47:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775403264001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":219334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:47:59] local.INFO: GPS data processed {"connection_id":219334,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:47:59] local.INFO: Acknowledgment sent {"connection_id":219334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:47:59] local.INFO: TCP Data received {"connection_id":219333,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140fe0258012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fe0258012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:47:59] local.INFO: Processing buffer {"connection_id":219333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fe0258012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:47:59] local.INFO: Packet analysis {"connection_id":219333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:47:59] local.INFO: Extracted packet for processing {"connection_id":219333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:47:59] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775482880001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091751000,"timestamp_ms":1792091751000,"timestamp_seconds":1792091751,"priority":1,"record_length":96,"hex_timestamp":"000001a140fe0258"} 
[2026-10-16 00:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 00:47:59] 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-10-16 00:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775482880001,"66":27876,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775482880001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:47:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:47:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775482880001,"power":27876,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":219333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:47:59] local.INFO: GPS data processed {"connection_id":219333,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:47:59] local.INFO: Acknowledgment sent {"connection_id":219333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:48:18] local.INFO: TCP Data received {"connection_id":219335,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:48:18] local.INFO: Processing buffer {"connection_id":219335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:48:18] local.INFO: IMEI packet received {"connection_id":219335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":219335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:48:23] local.INFO: TCP Data received {"connection_id":219335,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:48:23] local.INFO: Processing buffer {"connection_id":219335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:48:23] local.INFO: IMEI packet received {"connection_id":219335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":219335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:48:24] local.INFO: TCP Data received {"connection_id":219335,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:48:24] local.INFO: Processing buffer {"connection_id":219335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:48:24] local.INFO: Packet analysis {"connection_id":219335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:48:24] local.INFO: Extracted packet for processing {"connection_id":219335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:48:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775422464001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792091795000,"timestamp_ms":1792091795000,"timestamp_seconds":1792091795,"priority":1,"record_length":96,"hex_timestamp":"000001a140feae38"} 
[2026-10-16 00:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:48:24] 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-10-16 00:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775422464001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775422464001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:48:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:48:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775422464001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":219335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:48:24] local.INFO: GPS data processed {"connection_id":219335,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:48:24] local.INFO: Acknowledgment sent {"connection_id":219335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:48:26] local.INFO: TCP Data received {"connection_id":217591,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:48:26] local.INFO: Processing buffer {"connection_id":217591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:48:26] local.INFO: IMEI packet received {"connection_id":217591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":217591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:48:27] local.INFO: TCP Data received {"connection_id":217590,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:48:27] local.INFO: Processing buffer {"connection_id":217590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:48:27] local.INFO: IMEI packet received {"connection_id":217590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":217590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:48:31] local.INFO: TCP Data received {"connection_id":217591,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:48:31] local.INFO: Processing buffer {"connection_id":217591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:48:31] local.INFO: IMEI packet received {"connection_id":217591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":217591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:48:32] local.INFO: TCP Data received {"connection_id":217590,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:48:32] local.INFO: Processing buffer {"connection_id":217590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:48:32] local.INFO: IMEI packet received {"connection_id":217590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":217590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:48:32] local.INFO: TCP Data received {"connection_id":217591,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a140fe5460012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fe5460012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:48:32] local.INFO: Processing buffer {"connection_id":217591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fe5460012d77a74005f2a7e0000b005925..."} 
[2026-10-16 00:48:32] local.INFO: Packet analysis {"connection_id":217591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:48:32] local.INFO: Extracted packet for processing {"connection_id":217591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:48:32] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788768,"longitude_deg":76.281632,"latitude_deg":9.9788768,"altitude":11,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-10-16 00:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775488256001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11900744491859968,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914206208,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792091772000,"timestamp_ms":1792091772000,"timestamp_seconds":1792091772,"priority":1,"record_length":96,"hex_timestamp":"000001a140fe5460"} 
[2026-10-16 00:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-16 00:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775488256001,"66":27789,"163":206,"9":24832,"24":0,"16":11900744491859968,"45":8621930405914206208},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-10-16 00:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775488256001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:48:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 00:48:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11900744491859968,"km_value":11900744491859.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914206208,"description":"Unknown IO ID 45"} 
[2026-10-16 00:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775488256001,"power":27789,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914206208}} 
[2026-10-16 00:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":217591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:48:32] local.INFO: GPS data processed {"connection_id":217591,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:48:32] local.INFO: Acknowledgment sent {"connection_id":217591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:48:36] local.INFO: TCP Data received {"connection_id":217590,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:48:36] local.INFO: Processing buffer {"connection_id":217590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:48:36] local.INFO: Packet analysis {"connection_id":217590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:48:36] local.INFO: Extracted packet for processing {"connection_id":217590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775403264001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792091720000,"timestamp_ms":1792091720000,"timestamp_seconds":1792091720,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd8940"} 
[2026-10-16 00:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:48: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-10-16 00: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-10-16 00:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":217590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":217590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":217590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775403264001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775403264001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:48:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775403264001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":217590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:48:36] local.INFO: GPS data processed {"connection_id":217590,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:48:36] local.INFO: Acknowledgment sent {"connection_id":217590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:48:37] local.INFO: TCP Data received {"connection_id":217590,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:48:37] local.INFO: Processing buffer {"connection_id":217590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:48:37] local.INFO: Packet analysis {"connection_id":217590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:48:37] local.INFO: Extracted packet for processing {"connection_id":217590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775403264001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792091720000,"timestamp_ms":1792091720000,"timestamp_seconds":1792091720,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd8940"} 
[2026-10-16 00:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:48: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-10-16 00: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-10-16 00:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:48:37] 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-10-16 00:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775403264001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775403264001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:48:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775403264001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":217590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:48:37] local.INFO: GPS data processed {"connection_id":217590,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:48:37] local.INFO: Acknowledgment sent {"connection_id":217590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:48:56] local.INFO: TCP Data received {"connection_id":219335,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:48:56] local.INFO: Processing buffer {"connection_id":219335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:48:56] local.INFO: Packet analysis {"connection_id":219335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:48:56] local.INFO: Extracted packet for processing {"connection_id":219335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775422464001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792091795000,"timestamp_ms":1792091795000,"timestamp_seconds":1792091795,"priority":1,"record_length":96,"hex_timestamp":"000001a140feae38"} 
[2026-10-16 00:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:48: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-10-16 00:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775422464001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775422464001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:48:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:48:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775422464001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":219335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:48:56] local.INFO: GPS data processed {"connection_id":219335,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:48:56] local.INFO: Acknowledgment sent {"connection_id":219335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:49:12] local.INFO: TCP Data received {"connection_id":217591,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141001d68012d77774005f3aa50000b014b25..."} 
[2026-10-16 00:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141001d68012d77774005f3aa50000b014b25..."} 
[2026-10-16 00:49:12] local.INFO: Processing buffer {"connection_id":217591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141001d68012d77774005f3aa50000b014b25..."} 
[2026-10-16 00:49:12] local.INFO: Packet analysis {"connection_id":217591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14100"} 
[2026-10-16 00:49:12] local.INFO: Extracted packet for processing {"connection_id":217591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14100"} 
[2026-10-16 00:49:12] local.INFO: GPS Element Parsed {"raw_longitude":762804032,"raw_latitude":99854928,"longitude_deg":76.2804032,"latitude_deg":9.9854928,"altitude":11,"angle":331,"satellites":37,"speed":9,"hex_longitude":"2d777740","hex_latitude":"05f3aa50","is_valid_coordinates":true} 
[2026-10-16 00:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775523328001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11904021551906816,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8608489975793135616,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792091889000,"timestamp_ms":1792091889000,"timestamp_seconds":1792091889,"priority":1,"record_length":96,"hex_timestamp":"000001a141001d68"} 
[2026-10-16 00:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:49: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-10-16 00:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-10-16 00:49:12] 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-10-16 00:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":217591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":217591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":217591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775523328001,"66":26984,"104":206,"9":24832,"24":9,"16":11904021551906816,"45":8608489975793135616},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-10-16 00:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775523328001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:49:12] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-10-16 00:49:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11904021551906816,"km_value":11904021551906.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8608489975793135616,"description":"Unknown IO ID 45"} 
[2026-10-16 00:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775523328001,"power":26984,"unknown_104":206,"unknown_9":24832,"ignition":9,"odometer":null,"unknown_45":8608489975793135616}} 
[2026-10-16 00:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":217591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:49:12] local.INFO: GPS data processed {"connection_id":217591,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:49:12] local.INFO: Acknowledgment sent {"connection_id":217591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:49:17] local.INFO: TCP Data received {"connection_id":219336,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:49:17] local.INFO: Processing buffer {"connection_id":219336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:49:17] local.INFO: IMEI packet received {"connection_id":219336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":219336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:49:22] local.INFO: TCP Data received {"connection_id":217592,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:49:22] local.INFO: Processing buffer {"connection_id":217592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:49:22] local.INFO: IMEI packet received {"connection_id":217592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":217592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:49:23] local.INFO: TCP Data received {"connection_id":219336,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:49:23] local.INFO: Processing buffer {"connection_id":219336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:49:23] local.INFO: IMEI packet received {"connection_id":219336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":219336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:49:23] local.INFO: TCP Data received {"connection_id":217593,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:49:23] local.INFO: Processing buffer {"connection_id":217593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:49:23] local.INFO: IMEI packet received {"connection_id":217593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":217593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:49:24] local.INFO: TCP Data received {"connection_id":219336,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:49:24] local.INFO: Processing buffer {"connection_id":219336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:49:24] local.INFO: Packet analysis {"connection_id":219336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:49:24] local.INFO: Extracted packet for processing {"connection_id":219336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:49:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775422464001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792091795000,"timestamp_ms":1792091795000,"timestamp_seconds":1792091795,"priority":1,"record_length":96,"hex_timestamp":"000001a140feae38"} 
[2026-10-16 00:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:49:24] 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-10-16 00:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775422464001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775422464001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:49:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:49:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775422464001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":219336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:49:24] local.INFO: GPS data processed {"connection_id":219336,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:49:24] local.INFO: Acknowledgment sent {"connection_id":219336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:49:27] local.INFO: TCP Data received {"connection_id":217592,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:49:27] local.INFO: Processing buffer {"connection_id":217592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:49:27] local.INFO: IMEI packet received {"connection_id":217592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":217592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:49:27] local.INFO: TCP Data received {"connection_id":217593,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:49:27] local.INFO: Processing buffer {"connection_id":217593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:49:27] local.INFO: IMEI packet received {"connection_id":217593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":217593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:49:28] local.INFO: TCP Data received {"connection_id":217592,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:49:28] local.INFO: Processing buffer {"connection_id":217592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:49:28] local.INFO: Packet analysis {"connection_id":217592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:49:28] local.INFO: Extracted packet for processing {"connection_id":217592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775403264001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091720000,"timestamp_ms":1792091720000,"timestamp_seconds":1792091720,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd8940"} 
[2026-10-16 00:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:49:28] 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-10-16 00:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775403264001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775403264001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:49:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775403264001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":217592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:49:28] local.INFO: GPS data processed {"connection_id":217592,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:49:28] local.INFO: Acknowledgment sent {"connection_id":217592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:49:28] local.INFO: TCP Data received {"connection_id":217593,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141002920012d7775c005f3ac98000d013029..."} 
[2026-10-16 00:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141002920012d7775c005f3ac98000d013029..."} 
[2026-10-16 00:49:28] local.INFO: Processing buffer {"connection_id":217593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141002920012d7775c005f3ac98000d013029..."} 
[2026-10-16 00:49:28] local.INFO: Packet analysis {"connection_id":217593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14100"} 
[2026-10-16 00:49:28] local.INFO: Extracted packet for processing {"connection_id":217593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14100"} 
[2026-10-16 00:49:28] local.INFO: GPS Element Parsed {"raw_longitude":762803648,"raw_latitude":99855512,"longitude_deg":76.2803648,"latitude_deg":9.9855512,"altitude":13,"angle":304,"satellites":41,"speed":9,"hex_longitude":"2d7775c0","hex_latitude":"05f3ac98","is_valid_coordinates":true} 
[2026-10-16 00:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775523584001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11904055911645184,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8608419607049031680,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792091892000,"timestamp_ms":1792091892000,"timestamp_seconds":1792091892,"priority":1,"record_length":96,"hex_timestamp":"000001a141002920"} 
[2026-10-16 00:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 00:49:28] 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-10-16 00:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775523584001,"66":27865,"104":206,"9":24832,"24":9,"16":11904055911645184,"45":8608419607049031680},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-10-16 00:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775523584001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:49:28] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-10-16 00:49:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11904055911645184,"km_value":11904055911645.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8608419607049031680,"description":"Unknown IO ID 45"} 
[2026-10-16 00:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775523584001,"power":27865,"unknown_104":206,"unknown_9":24832,"ignition":9,"odometer":null,"unknown_45":8608419607049031680}} 
[2026-10-16 00:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":217593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:49:28] local.INFO: GPS data processed {"connection_id":217593,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:49:28] local.INFO: Acknowledgment sent {"connection_id":217593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:49:33] local.INFO: TCP Data received {"connection_id":217593,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141002d08012d77748005f3ad00000d011829..."} 
[2026-10-16 00:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141002d08012d77748005f3ad00000d011829..."} 
[2026-10-16 00:49:33] local.INFO: Processing buffer {"connection_id":217593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141002d08012d77748005f3ad00000d011829..."} 
[2026-10-16 00:49:33] local.INFO: Packet analysis {"connection_id":217593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14100"} 
[2026-10-16 00:49:33] local.INFO: Extracted packet for processing {"connection_id":217593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14100"} 
[2026-10-16 00:49:33] local.INFO: GPS Element Parsed {"raw_longitude":762803328,"raw_latitude":99855616,"longitude_deg":76.2803328,"latitude_deg":9.9855616,"altitude":13,"angle":280,"satellites":41,"speed":11,"hex_longitude":"2d777480","hex_latitude":"05f3ad00","is_valid_coordinates":true} 
[2026-10-16 00:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775524352001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11904068796547072,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8607997394584115200,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792091893000,"timestamp_ms":1792091893000,"timestamp_seconds":1792091893,"priority":1,"record_length":96,"hex_timestamp":"000001a141002d08"} 
[2026-10-16 00:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 00:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775524352001,"66":27767,"104":206,"9":24832,"24":11,"16":11904068796547072,"45":8607997394584115200},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-10-16 00:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775524352001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:49:33] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-10-16 00:49:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11904068796547072,"km_value":11904068796547.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8607997394584115200,"description":"Unknown IO ID 45"} 
[2026-10-16 00:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775524352001,"power":27767,"unknown_104":206,"unknown_9":24832,"ignition":11,"odometer":null,"unknown_45":8607997394584115200}} 
[2026-10-16 00:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":217593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043174,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:49:33] local.INFO: GPS data processed {"connection_id":217593,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:49:33] local.INFO: Acknowledgment sent {"connection_id":217593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:49:56] local.INFO: TCP Data received {"connection_id":219336,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:49:56] local.INFO: Processing buffer {"connection_id":219336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:49:56] local.INFO: Packet analysis {"connection_id":219336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:49:56] local.INFO: Extracted packet for processing {"connection_id":219336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775422464001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792091795000,"timestamp_ms":1792091795000,"timestamp_seconds":1792091795,"priority":1,"record_length":96,"hex_timestamp":"000001a140feae38"} 
[2026-10-16 00:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00: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-10-16 00: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":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775422464001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775422464001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:49:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:49:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775422464001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":219336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:49:56] local.INFO: GPS data processed {"connection_id":219336,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:49:56] local.INFO: Acknowledgment sent {"connection_id":219336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:49:59] local.INFO: TCP Data received {"connection_id":217592,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:49:59] local.INFO: Processing buffer {"connection_id":217592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140fd8940012d7c240005dad510001400ea22..."} 
[2026-10-16 00:49:59] local.INFO: Packet analysis {"connection_id":217592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:49:59] local.INFO: Extracted packet for processing {"connection_id":217592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fd"} 
[2026-10-16 00:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775403264001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792091720000,"timestamp_ms":1792091720000,"timestamp_seconds":1792091720,"priority":1,"record_length":96,"hex_timestamp":"000001a140fd8940"} 
[2026-10-16 00:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 00:49:59] 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-10-16 00:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:49: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-10-16 00:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775403264001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775403264001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:49:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775403264001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":217592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:49:59] local.INFO: GPS data processed {"connection_id":217592,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:49:59] local.INFO: Acknowledgment sent {"connection_id":217592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:50:04] local.INFO: TCP Data received {"connection_id":217593,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141010f980100000000000000000000000000..."} 
[2026-10-16 00:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141010f980100000000000000000000000000..."} 
[2026-10-16 00:50:04] local.INFO: Processing buffer {"connection_id":217593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141010f980100000000000000000000000000..."} 
[2026-10-16 00:50:04] local.INFO: Packet analysis {"connection_id":217593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14101"} 
[2026-10-16 00:50:04] local.INFO: Extracted packet for processing {"connection_id":217593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14101"} 
[2026-10-16 00:50: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-10-16 00:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775524608001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11904068796547072,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8607645550863253504,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792091951000,"timestamp_ms":1792091951000,"timestamp_seconds":1792091951,"priority":1,"record_length":96,"hex_timestamp":"000001a141010f98"} 
[2026-10-16 00:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 00:50:04] 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-10-16 00:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":217593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":217593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":217593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":217593,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 00:50:04] local.INFO: GPS data processed {"connection_id":217593,"processed":0,"errors":0,"total":1} 
[2026-10-16 00:50:04] local.INFO: Acknowledgment sent {"connection_id":217593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:50:17] local.INFO: TCP Data received {"connection_id":219337,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:50:17] local.INFO: Processing buffer {"connection_id":219337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:50:17] local.INFO: IMEI packet received {"connection_id":219337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":219337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:50:21] local.INFO: TCP Data received {"connection_id":216062,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:50:21] local.INFO: Processing buffer {"connection_id":216062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:50:21] local.INFO: IMEI packet received {"connection_id":216062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":216062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:50:22] local.INFO: TCP Data received {"connection_id":216062,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:50:22] local.INFO: Processing buffer {"connection_id":216062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:50:22] local.INFO: IMEI packet received {"connection_id":216062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":216062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:50:23] local.INFO: TCP Data received {"connection_id":219337,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:50:23] local.INFO: Processing buffer {"connection_id":219337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:50:23] local.INFO: IMEI packet received {"connection_id":219337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":219337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:50:24] local.INFO: TCP Data received {"connection_id":219337,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:50:24] local.INFO: Processing buffer {"connection_id":219337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:50:24] local.INFO: Packet analysis {"connection_id":219337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:50:24] local.INFO: Extracted packet for processing {"connection_id":219337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775422464001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792091795000,"timestamp_ms":1792091795000,"timestamp_seconds":1792091795,"priority":1,"record_length":96,"hex_timestamp":"000001a140feae38"} 
[2026-10-16 00:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:50:24] 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-10-16 00:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775422464001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775422464001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:50:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:50:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775422464001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":219337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:50:24] local.INFO: GPS data processed {"connection_id":219337,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:50:24] local.INFO: Acknowledgment sent {"connection_id":219337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:50:27] local.INFO: TCP Data received {"connection_id":216062,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:50:27] local.INFO: Processing buffer {"connection_id":216062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:50:27] local.INFO: IMEI packet received {"connection_id":216062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":216062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:50:27] local.INFO: TCP Data received {"connection_id":216062,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:50:27] local.INFO: Processing buffer {"connection_id":216062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:50:27] local.INFO: Packet analysis {"connection_id":216062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:50:27] local.INFO: Extracted packet for processing {"connection_id":216062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775480320001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092021000,"timestamp_ms":1792092021000,"timestamp_seconds":1792092021,"priority":1,"record_length":96,"hex_timestamp":"000001a141022108"} 
[2026-10-16 00:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:50:27] 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-10-16 00:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775480320001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775480320001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:50:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775480320001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":216062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:50:27] local.INFO: GPS data processed {"connection_id":216062,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:50:27] local.INFO: Acknowledgment sent {"connection_id":216062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:50:32] local.INFO: TCP Data received {"connection_id":219338,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:50:32] local.INFO: Processing buffer {"connection_id":219338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:50:32] local.INFO: IMEI packet received {"connection_id":219338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":219338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:50:37] local.INFO: TCP Data received {"connection_id":219338,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:50:37] local.INFO: Processing buffer {"connection_id":219338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:50:37] local.INFO: IMEI packet received {"connection_id":219338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":219338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:50:38] local.INFO: TCP Data received {"connection_id":219338,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141008eb0012d77330005f3a0780009010a28..."} 
[2026-10-16 00:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141008eb0012d77330005f3a0780009010a28..."} 
[2026-10-16 00:50:38] local.INFO: Processing buffer {"connection_id":219338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141008eb0012d77330005f3a0780009010a28..."} 
[2026-10-16 00:50:38] local.INFO: Packet analysis {"connection_id":219338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14100"} 
[2026-10-16 00:50:38] local.INFO: Extracted packet for processing {"connection_id":219338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14100"} 
[2026-10-16 00:50:38] local.INFO: GPS Element Parsed {"raw_longitude":762786560,"raw_latitude":99852408,"longitude_deg":76.278656,"latitude_deg":9.9852408,"altitude":9,"angle":266,"satellites":40,"speed":37,"hex_longitude":"2d773300","hex_latitude":"05f3a078","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11904068796547072,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 00:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792091918000,"timestamp_ms":1792091918000,"timestamp_seconds":1792091918,"priority":1,"record_length":96,"hex_timestamp":"000001a141008eb0"} 
[2026-10-16 00:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:50: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00: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":179,"data_length":795,"current_offset":136} 
[2026-10-16 00:50:38] 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-10-16 00: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-10-16 00:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":219338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":219338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":219338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27713,"104":206,"9":24832,"24":37,"16":11904068796547072},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16]} 
[2026-10-16 00:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 00:50:38] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-10-16 00:50:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11904068796547072,"km_value":11904068796547.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:50:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27713,"unknown_104":206,"unknown_9":24832,"ignition":37,"odometer":null}} 
[2026-10-16 00:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":219338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:50:38] local.INFO: GPS data processed {"connection_id":219338,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:50:38] local.INFO: Acknowledgment sent {"connection_id":219338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:50:56] local.INFO: TCP Data received {"connection_id":219337,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:50:56] local.INFO: Processing buffer {"connection_id":219337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:50:56] local.INFO: Packet analysis {"connection_id":219337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:50:56] local.INFO: Extracted packet for processing {"connection_id":219337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775422464001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792091795000,"timestamp_ms":1792091795000,"timestamp_seconds":1792091795,"priority":1,"record_length":96,"hex_timestamp":"000001a140feae38"} 
[2026-10-16 00:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:50: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-10-16 00:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775422464001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775422464001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:50:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:50:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775422464001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":219337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:50:56] local.INFO: GPS data processed {"connection_id":219337,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:50:56] local.INFO: Acknowledgment sent {"connection_id":219337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:50:59] local.INFO: TCP Data received {"connection_id":216062,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:50:59] local.INFO: Processing buffer {"connection_id":216062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:50:59] local.INFO: Packet analysis {"connection_id":216062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:50:59] local.INFO: Extracted packet for processing {"connection_id":216062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775480320001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792092021000,"timestamp_ms":1792092021000,"timestamp_seconds":1792092021,"priority":1,"record_length":96,"hex_timestamp":"000001a141022108"} 
[2026-10-16 00:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:50:59] 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-10-16 00:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775480320001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775480320001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:50:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775480320001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":216062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:50:59] local.INFO: GPS data processed {"connection_id":216062,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:50:59] local.INFO: Acknowledgment sent {"connection_id":216062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:51:21] local.INFO: TCP Data received {"connection_id":217594,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:51:21] local.INFO: Processing buffer {"connection_id":217594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:51:21] local.INFO: IMEI packet received {"connection_id":217594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":217594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:51:23] local.INFO: TCP Data received {"connection_id":216245,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:51:23] local.INFO: Processing buffer {"connection_id":216245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:51:23] local.INFO: IMEI packet received {"connection_id":216245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":216245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:51:27] local.INFO: TCP Data received {"connection_id":217594,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:51:27] local.INFO: Processing buffer {"connection_id":217594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:51:27] local.INFO: IMEI packet received {"connection_id":217594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":217594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:51:28] local.INFO: TCP Data received {"connection_id":216245,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:51:28] local.INFO: Processing buffer {"connection_id":216245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:51:28] local.INFO: IMEI packet received {"connection_id":216245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":216245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:51:29] local.INFO: TCP Data received {"connection_id":216245,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:51:29] local.INFO: Processing buffer {"connection_id":216245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:51:29] local.INFO: Packet analysis {"connection_id":216245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:51:29] local.INFO: Extracted packet for processing {"connection_id":216245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775422464001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792091795000,"timestamp_ms":1792091795000,"timestamp_seconds":1792091795,"priority":1,"record_length":96,"hex_timestamp":"000001a140feae38"} 
[2026-10-16 00:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:51:29] 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-10-16 00:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775422464001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775422464001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:51:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:51:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775422464001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":216245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:51:29] local.INFO: GPS data processed {"connection_id":216245,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:51:29] local.INFO: Acknowledgment sent {"connection_id":216245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:51:30] local.INFO: TCP Data received {"connection_id":217594,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:51:30] local.INFO: Processing buffer {"connection_id":217594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:51:30] local.INFO: Packet analysis {"connection_id":217594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:51:30] local.INFO: Extracted packet for processing {"connection_id":217594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775480320001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792092021000,"timestamp_ms":1792092021000,"timestamp_seconds":1792092021,"priority":1,"record_length":96,"hex_timestamp":"000001a141022108"} 
[2026-10-16 00:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:51:30] 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-10-16 00:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775480320001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775480320001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:51:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:51:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775480320001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":217594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:51:30] local.INFO: GPS data processed {"connection_id":217594,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:51:30] local.INFO: Acknowledgment sent {"connection_id":217594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:51:34] local.INFO: TCP Data received {"connection_id":216245,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:51:34] local.INFO: Processing buffer {"connection_id":216245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a140feae38012d7fac4005afe350001800a628..."} 
[2026-10-16 00:51:34] local.INFO: Packet analysis {"connection_id":216245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:51:34] local.INFO: Extracted packet for processing {"connection_id":216245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a140fe"} 
[2026-10-16 00:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775422464001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792091795000,"timestamp_ms":1792091795000,"timestamp_seconds":1792091795,"priority":1,"record_length":96,"hex_timestamp":"000001a140feae38"} 
[2026-10-16 00:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 00:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775422464001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775422464001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:51:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:51:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775422464001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":216245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:51:34] local.INFO: GPS data processed {"connection_id":216245,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:51:34] local.INFO: Acknowledgment sent {"connection_id":216245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:51:53] local.INFO: TCP Data received {"connection_id":219339,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:51:53] local.INFO: Processing buffer {"connection_id":219339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:51:53] local.INFO: IMEI packet received {"connection_id":219339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":219339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:51:56] local.INFO: TCP Data received {"connection_id":219339,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:51:56] local.INFO: Processing buffer {"connection_id":219339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:51:56] local.INFO: IMEI packet received {"connection_id":219339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":219339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:52:01] local.INFO: TCP Data received {"connection_id":217594,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:52:01] local.INFO: Processing buffer {"connection_id":217594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:52:01] local.INFO: Packet analysis {"connection_id":217594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:52:01] local.INFO: Extracted packet for processing {"connection_id":217594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775480320001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792092021000,"timestamp_ms":1792092021000,"timestamp_seconds":1792092021,"priority":1,"record_length":96,"hex_timestamp":"000001a141022108"} 
[2026-10-16 00:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:52:01] 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-10-16 00:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775480320001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775480320001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:52:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775480320001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":217594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:52:01] local.INFO: GPS data processed {"connection_id":217594,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:52:01] local.INFO: Acknowledgment sent {"connection_id":217594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:52:14] local.INFO: TCP Data received {"connection_id":216063,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:52:14] local.INFO: Processing buffer {"connection_id":216063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:52:14] local.INFO: IMEI packet received {"connection_id":216063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":216063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:52:19] local.INFO: TCP Data received {"connection_id":216063,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:52:19] local.INFO: Processing buffer {"connection_id":216063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:52:19] local.INFO: IMEI packet received {"connection_id":216063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":216063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:52:21] local.INFO: TCP Data received {"connection_id":219339,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:52:21] local.INFO: Processing buffer {"connection_id":219339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:52:21] local.INFO: IMEI packet received {"connection_id":219339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":219339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:52:21] local.INFO: TCP Data received {"connection_id":216246,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:52:21] local.INFO: Processing buffer {"connection_id":216246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:52:21] local.INFO: IMEI packet received {"connection_id":216246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":216246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:52:23] local.INFO: TCP Data received {"connection_id":216063,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:52:23] local.INFO: Processing buffer {"connection_id":216063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:52:23] local.INFO: IMEI packet received {"connection_id":216063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":216063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:52:24] local.INFO: TCP Data received {"connection_id":216063,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:52:24] local.INFO: Processing buffer {"connection_id":216063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:52:24] local.INFO: Packet analysis {"connection_id":216063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:52:24] local.INFO: Extracted packet for processing {"connection_id":216063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:52:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:52: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-10-16 00:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:52: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:52:24] 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-10-16 00:52: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-10-16 00:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:52:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:52:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":216063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:52:24] local.INFO: GPS data processed {"connection_id":216063,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:52:24] local.INFO: Acknowledgment sent {"connection_id":216063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:52:27] local.INFO: TCP Data received {"connection_id":216246,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:52:27] local.INFO: Processing buffer {"connection_id":216246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:52:27] local.INFO: IMEI packet received {"connection_id":216246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":216246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:52:27] local.INFO: TCP Data received {"connection_id":216246,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:52:27] local.INFO: Processing buffer {"connection_id":216246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:52:27] local.INFO: Packet analysis {"connection_id":216246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:52:27] local.INFO: Extracted packet for processing {"connection_id":216246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775480320001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092021000,"timestamp_ms":1792092021000,"timestamp_seconds":1792092021,"priority":1,"record_length":96,"hex_timestamp":"000001a141022108"} 
[2026-10-16 00:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:52:27] 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-10-16 00:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:52:27] 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-10-16 00:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775480320001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775480320001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:52:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775480320001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":216246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:52:27] local.INFO: GPS data processed {"connection_id":216246,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:52:27] local.INFO: Acknowledgment sent {"connection_id":216246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:52:29] local.INFO: TCP Data received {"connection_id":216063,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:52:29] local.INFO: Processing buffer {"connection_id":216063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:52:29] local.INFO: Packet analysis {"connection_id":216063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:52:29] local.INFO: Extracted packet for processing {"connection_id":216063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:52:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:52: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-10-16 00:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:52: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-10-16 00:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:52:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:52:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":216063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:52:29] local.INFO: GPS data processed {"connection_id":216063,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:52:29] local.INFO: Acknowledgment sent {"connection_id":216063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:52:56] local.INFO: TCP Data received {"connection_id":216247,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:52:56] local.INFO: Processing buffer {"connection_id":216247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:52:56] local.INFO: IMEI packet received {"connection_id":216247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":216247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:52:59] local.INFO: TCP Data received {"connection_id":216246,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:52:59] local.INFO: Processing buffer {"connection_id":216246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:52:59] local.INFO: Packet analysis {"connection_id":216246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:52:59] local.INFO: Extracted packet for processing {"connection_id":216246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775480320001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792092021000,"timestamp_ms":1792092021000,"timestamp_seconds":1792092021,"priority":1,"record_length":96,"hex_timestamp":"000001a141022108"} 
[2026-10-16 00:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:52:59] 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-10-16 00:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:52:59] 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-10-16 00:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775480320001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775480320001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:52:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775480320001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":216246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:52:59] local.INFO: GPS data processed {"connection_id":216246,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:52:59] local.INFO: Acknowledgment sent {"connection_id":216246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:53:01] local.INFO: TCP Data received {"connection_id":216063,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:53:01] local.INFO: Processing buffer {"connection_id":216063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:53:01] local.INFO: Packet analysis {"connection_id":216063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:53:01] local.INFO: Extracted packet for processing {"connection_id":216063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:53:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:53:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":216063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:53:01] local.INFO: GPS data processed {"connection_id":216063,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:53:01] local.INFO: Acknowledgment sent {"connection_id":216063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:53:17] local.INFO: TCP Data received {"connection_id":216064,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:53:17] local.INFO: Processing buffer {"connection_id":216064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:53:17] local.INFO: IMEI packet received {"connection_id":216064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":216064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:53:23] local.INFO: TCP Data received {"connection_id":216064,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:53:23] local.INFO: Processing buffer {"connection_id":216064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:53:23] local.INFO: IMEI packet received {"connection_id":216064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":216064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:53:24] local.INFO: TCP Data received {"connection_id":216064,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:53:24] local.INFO: Processing buffer {"connection_id":216064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:53:24] local.INFO: Packet analysis {"connection_id":216064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:53:24] local.INFO: Extracted packet for processing {"connection_id":216064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:53:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:53:24] 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-10-16 00:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:53:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:53:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":216064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:53:24] local.INFO: GPS data processed {"connection_id":216064,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:53:24] local.INFO: Acknowledgment sent {"connection_id":216064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:53:27] local.INFO: TCP Data received {"connection_id":216248,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:53:27] local.INFO: Processing buffer {"connection_id":216248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:53:27] local.INFO: IMEI packet received {"connection_id":216248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":216248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:53:32] local.INFO: TCP Data received {"connection_id":216248,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:53:32] local.INFO: Processing buffer {"connection_id":216248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:53:32] local.INFO: IMEI packet received {"connection_id":216248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":216248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:53:32] local.INFO: TCP Data received {"connection_id":216248,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:53:32] local.INFO: Processing buffer {"connection_id":216248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:53:32] local.INFO: Packet analysis {"connection_id":216248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:53:32] local.INFO: Extracted packet for processing {"connection_id":216248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775480320001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792092021000,"timestamp_ms":1792092021000,"timestamp_seconds":1792092021,"priority":1,"record_length":96,"hex_timestamp":"000001a141022108"} 
[2026-10-16 00:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:53:32] 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-10-16 00: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-10-16 00:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775480320001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775480320001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:53:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775480320001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":216248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:53:32] local.INFO: GPS data processed {"connection_id":216248,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:53:32] local.INFO: Acknowledgment sent {"connection_id":216248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:53:37] local.INFO: TCP Data received {"connection_id":216248,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:53:37] local.INFO: Processing buffer {"connection_id":216248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:53:37] local.INFO: Packet analysis {"connection_id":216248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:53:37] local.INFO: Extracted packet for processing {"connection_id":216248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775480320001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792092021000,"timestamp_ms":1792092021000,"timestamp_seconds":1792092021,"priority":1,"record_length":96,"hex_timestamp":"000001a141022108"} 
[2026-10-16 00:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:53:37] 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-10-16 00: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-10-16 00:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:53:37] 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-10-16 00:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775480320001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775480320001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:53:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775480320001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":216248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:53:37] local.INFO: GPS data processed {"connection_id":216248,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:53:37] local.INFO: Acknowledgment sent {"connection_id":216248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:53:57] local.INFO: TCP Data received {"connection_id":216064,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:53:57] local.INFO: Processing buffer {"connection_id":216064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:53:57] local.INFO: Packet analysis {"connection_id":216064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:53:57] local.INFO: Extracted packet for processing {"connection_id":216064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:53: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-10-16 00:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:53:57] 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-10-16 00:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:53:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:53:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":216064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:53:57] local.INFO: GPS data processed {"connection_id":216064,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:53:57] local.INFO: Acknowledgment sent {"connection_id":216064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:54:22] local.INFO: TCP Data received {"connection_id":217597,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:54:22] local.INFO: Processing buffer {"connection_id":217597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:54:22] local.INFO: IMEI packet received {"connection_id":217597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":217597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:54:23] local.INFO: TCP Data received {"connection_id":217596,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:54:23] local.INFO: Processing buffer {"connection_id":217596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:54:23] local.INFO: IMEI packet received {"connection_id":217596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":217596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:54:27] local.INFO: TCP Data received {"connection_id":217597,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:54:27] local.INFO: Processing buffer {"connection_id":217597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:54:27] local.INFO: IMEI packet received {"connection_id":217597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":217597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:54:28] local.INFO: TCP Data received {"connection_id":217596,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:54:28] local.INFO: Processing buffer {"connection_id":217596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:54:28] local.INFO: IMEI packet received {"connection_id":217596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":217596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:54:29] local.INFO: TCP Data received {"connection_id":217596,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:54:29] local.INFO: Processing buffer {"connection_id":217596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:54:29] local.INFO: Packet analysis {"connection_id":217596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:54:29] local.INFO: Extracted packet for processing {"connection_id":217596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:54:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:54:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":217596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:54:29] local.INFO: GPS data processed {"connection_id":217596,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:54:29] local.INFO: Acknowledgment sent {"connection_id":217596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:54:31] local.INFO: TCP Data received {"connection_id":217597,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:54:31] local.INFO: Processing buffer {"connection_id":217597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:54:31] local.INFO: Packet analysis {"connection_id":217597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:54:31] local.INFO: Extracted packet for processing {"connection_id":217597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775480320001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792092021000,"timestamp_ms":1792092021000,"timestamp_seconds":1792092021,"priority":1,"record_length":96,"hex_timestamp":"000001a141022108"} 
[2026-10-16 00:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:54:31] 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-10-16 00:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":217597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":217597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":217597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775480320001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775480320001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:54:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775480320001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":217597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:54:31] local.INFO: GPS data processed {"connection_id":217597,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:54:31] local.INFO: Acknowledgment sent {"connection_id":217597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:54:34] local.INFO: TCP Data received {"connection_id":217596,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:54:34] local.INFO: Processing buffer {"connection_id":217596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:54:34] local.INFO: Packet analysis {"connection_id":217596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:54:34] local.INFO: Extracted packet for processing {"connection_id":217596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:54:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:54:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":217596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:54:34] local.INFO: GPS data processed {"connection_id":217596,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:54:34] local.INFO: Acknowledgment sent {"connection_id":217596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:55:03] local.INFO: TCP Data received {"connection_id":217597,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:55:03] local.INFO: Processing buffer {"connection_id":217597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141022108012d7c240005dad510001400ea22..."} 
[2026-10-16 00:55:03] local.INFO: Packet analysis {"connection_id":217597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:55:03] local.INFO: Extracted packet for processing {"connection_id":217597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14102"} 
[2026-10-16 00:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775480320001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792092021000,"timestamp_ms":1792092021000,"timestamp_seconds":1792092021,"priority":1,"record_length":96,"hex_timestamp":"000001a141022108"} 
[2026-10-16 00:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:55:03] 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-10-16 00:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775480320001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775480320001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:55:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:55:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775480320001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":217597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:55:03] local.INFO: GPS data processed {"connection_id":217597,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:55:03] local.INFO: Acknowledgment sent {"connection_id":217597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:55:18] local.INFO: TCP Data received {"connection_id":219341,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:55:18] local.INFO: Processing buffer {"connection_id":219341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:55:18] local.INFO: IMEI packet received {"connection_id":219341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":219341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:55:22] local.INFO: TCP Data received {"connection_id":216065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:55:22] local.INFO: Processing buffer {"connection_id":216065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:55:22] local.INFO: IMEI packet received {"connection_id":216065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":216065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:55:23] local.INFO: TCP Data received {"connection_id":219341,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:55:23] local.INFO: Processing buffer {"connection_id":219341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:55:23] local.INFO: IMEI packet received {"connection_id":219341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":219341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:55:23] local.INFO: TCP Data received {"connection_id":216065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:55:23] local.INFO: Processing buffer {"connection_id":216065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:55:23] local.INFO: IMEI packet received {"connection_id":216065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":216065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:55:24] local.INFO: TCP Data received {"connection_id":219341,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:55:24] local.INFO: Processing buffer {"connection_id":219341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:55:24] local.INFO: Packet analysis {"connection_id":219341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:55:24] local.INFO: Extracted packet for processing {"connection_id":219341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:55:24] 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-10-16 00:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:55:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:55:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":219341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:55:24] local.INFO: GPS data processed {"connection_id":219341,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:55:24] local.INFO: Acknowledgment sent {"connection_id":219341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:55:27] local.INFO: TCP Data received {"connection_id":216065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:55:27] local.INFO: Processing buffer {"connection_id":216065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:55:27] local.INFO: IMEI packet received {"connection_id":216065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":216065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:55:28] local.INFO: TCP Data received {"connection_id":219341,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:55:28] local.INFO: Processing buffer {"connection_id":219341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:55:28] local.INFO: Packet analysis {"connection_id":219341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:55:28] local.INFO: Extracted packet for processing {"connection_id":219341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:55:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:55:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":219341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:55:28] local.INFO: GPS data processed {"connection_id":219341,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:55:28] local.INFO: Acknowledgment sent {"connection_id":219341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:55:31] local.INFO: TCP Data received {"connection_id":216065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:55:31] local.INFO: Processing buffer {"connection_id":216065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:55:31] local.INFO: Packet analysis {"connection_id":216065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:55:31] local.INFO: Extracted packet for processing {"connection_id":216065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775557376001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792092322000,"timestamp_ms":1792092322000,"timestamp_seconds":1792092322,"priority":1,"record_length":96,"hex_timestamp":"000001a14106b8d0"} 
[2026-10-16 00:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:55:31] 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-10-16 00:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775557376001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775557376001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:55:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775557376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":216065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:55:31] local.INFO: GPS data processed {"connection_id":216065,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:55:31] local.INFO: Acknowledgment sent {"connection_id":216065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:55:37] local.INFO: TCP Data received {"connection_id":216065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:55:37] local.INFO: Processing buffer {"connection_id":216065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:55:37] local.INFO: Packet analysis {"connection_id":216065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:55:37] local.INFO: Extracted packet for processing {"connection_id":216065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775557376001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792092322000,"timestamp_ms":1792092322000,"timestamp_seconds":1792092322,"priority":1,"record_length":96,"hex_timestamp":"000001a14106b8d0"} 
[2026-10-16 00:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:55:37] 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-10-16 00: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-10-16 00:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775557376001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775557376001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:55:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775557376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":216065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:55:37] local.INFO: GPS data processed {"connection_id":216065,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:55:37] local.INFO: Acknowledgment sent {"connection_id":216065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:56:00] local.INFO: TCP Data received {"connection_id":219341,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:56:00] local.INFO: Processing buffer {"connection_id":219341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:56:00] local.INFO: Packet analysis {"connection_id":219341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:56:00] local.INFO: Extracted packet for processing {"connection_id":219341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:56:00] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:56: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-10-16 00:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:56: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-10-16 00:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:56:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:56:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":219341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:56:00] local.INFO: GPS data processed {"connection_id":219341,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:56:00] local.INFO: Acknowledgment sent {"connection_id":219341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:56:17] local.INFO: TCP Data received {"connection_id":217598,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:56:17] local.INFO: Processing buffer {"connection_id":217598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:56:17] local.INFO: IMEI packet received {"connection_id":217598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":217598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:56:21] local.INFO: TCP Data received {"connection_id":216249,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:56:21] local.INFO: Processing buffer {"connection_id":216249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:56:21] local.INFO: IMEI packet received {"connection_id":216249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":216249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:56:22] local.INFO: TCP Data received {"connection_id":217598,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:56:22] local.INFO: Processing buffer {"connection_id":217598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:56:22] local.INFO: IMEI packet received {"connection_id":217598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":217598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:56:24] local.INFO: TCP Data received {"connection_id":217598,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:56:24] local.INFO: Processing buffer {"connection_id":217598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:56:24] local.INFO: Packet analysis {"connection_id":217598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:56:24] local.INFO: Extracted packet for processing {"connection_id":217598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:56: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-10-16 00:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:56: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:56:24] 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-10-16 00:56: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-10-16 00:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:56:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:56:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":217598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:56:24] local.INFO: GPS data processed {"connection_id":217598,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:56:24] local.INFO: Acknowledgment sent {"connection_id":217598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:56:27] local.INFO: TCP Data received {"connection_id":216249,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:56:27] local.INFO: Processing buffer {"connection_id":216249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:56:27] local.INFO: IMEI packet received {"connection_id":216249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":216249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:56:28] local.INFO: TCP Data received {"connection_id":216249,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:56:28] local.INFO: Processing buffer {"connection_id":216249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:56:28] local.INFO: Packet analysis {"connection_id":216249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:56:28] local.INFO: Extracted packet for processing {"connection_id":216249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775557376001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792092322000,"timestamp_ms":1792092322000,"timestamp_seconds":1792092322,"priority":1,"record_length":96,"hex_timestamp":"000001a14106b8d0"} 
[2026-10-16 00:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:56:28] 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-10-16 00:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775557376001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775557376001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:56:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775557376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":216249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:56:28] local.INFO: GPS data processed {"connection_id":216249,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:56:28] local.INFO: Acknowledgment sent {"connection_id":216249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:56:56] local.INFO: TCP Data received {"connection_id":217598,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:56:56] local.INFO: Processing buffer {"connection_id":217598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141034600012d7fac4005afe350001800a625..."} 
[2026-10-16 00:56:56] local.INFO: Packet analysis {"connection_id":217598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:56:56] local.INFO: Extracted packet for processing {"connection_id":217598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14103"} 
[2026-10-16 00:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775499520001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792092096000,"timestamp_ms":1792092096000,"timestamp_seconds":1792092096,"priority":1,"record_length":96,"hex_timestamp":"000001a141034600"} 
[2026-10-16 00:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:56: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-10-16 00:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775499520001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775499520001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:56:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:56:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775499520001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":217598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:56:56] local.INFO: GPS data processed {"connection_id":217598,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:56:56] local.INFO: Acknowledgment sent {"connection_id":217598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:56:59] local.INFO: TCP Data received {"connection_id":216249,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:56:59] local.INFO: Processing buffer {"connection_id":216249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:56:59] local.INFO: Packet analysis {"connection_id":216249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:56:59] local.INFO: Extracted packet for processing {"connection_id":216249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775557376001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792092322000,"timestamp_ms":1792092322000,"timestamp_seconds":1792092322,"priority":1,"record_length":96,"hex_timestamp":"000001a14106b8d0"} 
[2026-10-16 00:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:56:59] 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-10-16 00:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775557376001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775557376001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:56:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775557376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":216249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:56:59] local.INFO: GPS data processed {"connection_id":216249,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:56:59] local.INFO: Acknowledgment sent {"connection_id":216249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:57:17] local.INFO: TCP Data received {"connection_id":217599,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:57:17] local.INFO: Processing buffer {"connection_id":217599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:57:17] local.INFO: IMEI packet received {"connection_id":217599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":217599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:57:21] local.INFO: TCP Data received {"connection_id":216066,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:57:21] local.INFO: Processing buffer {"connection_id":216066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:57:21] local.INFO: IMEI packet received {"connection_id":216066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":216066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:57:23] local.INFO: TCP Data received {"connection_id":217599,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:57:23] local.INFO: Processing buffer {"connection_id":217599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:57:23] local.INFO: IMEI packet received {"connection_id":217599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":217599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:57:24] local.INFO: TCP Data received {"connection_id":217599,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:57:24] local.INFO: Processing buffer {"connection_id":217599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:57:24] local.INFO: Packet analysis {"connection_id":217599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:57:24] local.INFO: Extracted packet for processing {"connection_id":217599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:57:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775576576001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092397000,"timestamp_ms":1792092397000,"timestamp_seconds":1792092397,"priority":1,"record_length":96,"hex_timestamp":"000001a14107ddc8"} 
[2026-10-16 00:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:57:24] 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-10-16 00:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775576576001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775576576001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:57:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:57:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775576576001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":217599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:57:24] local.INFO: GPS data processed {"connection_id":217599,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:57:24] local.INFO: Acknowledgment sent {"connection_id":217599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:57:27] local.INFO: TCP Data received {"connection_id":216066,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:57:27] local.INFO: Processing buffer {"connection_id":216066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:57:27] local.INFO: IMEI packet received {"connection_id":216066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":216066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:57:29] local.INFO: TCP Data received {"connection_id":216066,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:57:29] local.INFO: Processing buffer {"connection_id":216066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:57:29] local.INFO: Packet analysis {"connection_id":216066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:57:29] local.INFO: Extracted packet for processing {"connection_id":216066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:57: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-10-16 00:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775557376001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792092322000,"timestamp_ms":1792092322000,"timestamp_seconds":1792092322,"priority":1,"record_length":96,"hex_timestamp":"000001a14106b8d0"} 
[2026-10-16 00:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:57: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:57:29] 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-10-16 00:57: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-10-16 00:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775557376001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775557376001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:57:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775557376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":216066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:57:29] local.INFO: GPS data processed {"connection_id":216066,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:57:29] local.INFO: Acknowledgment sent {"connection_id":216066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:57:56] local.INFO: TCP Data received {"connection_id":217599,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:57:56] local.INFO: Processing buffer {"connection_id":217599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:57:56] local.INFO: Packet analysis {"connection_id":217599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:57:56] local.INFO: Extracted packet for processing {"connection_id":217599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775576576001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792092397000,"timestamp_ms":1792092397000,"timestamp_seconds":1792092397,"priority":1,"record_length":96,"hex_timestamp":"000001a14107ddc8"} 
[2026-10-16 00:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:57: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-10-16 00:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775576576001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775576576001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:57:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:57:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775576576001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":217599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:57:56] local.INFO: GPS data processed {"connection_id":217599,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:57:56] local.INFO: Acknowledgment sent {"connection_id":217599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:58:00] local.INFO: TCP Data received {"connection_id":216066,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:58:00] local.INFO: Processing buffer {"connection_id":216066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:58:00] local.INFO: Packet analysis {"connection_id":216066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:58:00] local.INFO: Extracted packet for processing {"connection_id":216066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775557376001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792092322000,"timestamp_ms":1792092322000,"timestamp_seconds":1792092322,"priority":1,"record_length":96,"hex_timestamp":"000001a14106b8d0"} 
[2026-10-16 00:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:58: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-10-16 00:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:58:00] 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-10-16 00:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775557376001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775557376001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:58:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775557376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":216066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:58:00] local.INFO: GPS data processed {"connection_id":216066,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:58:00] local.INFO: Acknowledgment sent {"connection_id":216066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:58:01] local.INFO: TCP Data received {"connection_id":217600,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:58:01] local.INFO: Processing buffer {"connection_id":217600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:58:01] local.INFO: IMEI packet received {"connection_id":217600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":217600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:58:06] local.INFO: TCP Data received {"connection_id":217600,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a14107e9800100000000000000000000000000..."} 
[2026-10-16 00:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107e9800100000000000000000000000000..."} 
[2026-10-16 00:58:06] local.INFO: Processing buffer {"connection_id":217600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107e9800100000000000000000000000000..."} 
[2026-10-16 00:58:06] local.INFO: Packet analysis {"connection_id":217600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:58:06] local.INFO: Extracted packet for processing {"connection_id":217600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:58: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-10-16 00: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-10-16 00:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775639552001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11905928517386240,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8272057009879791616,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792092400000,"timestamp_ms":1792092400000,"timestamp_seconds":1792092400,"priority":1,"record_length":96,"hex_timestamp":"000001a14107e980"} 
[2026-10-16 00:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00: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-10-16 00: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 00:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00: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-10-16 00:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":217600,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 00:58:06] local.INFO: GPS data processed {"connection_id":217600,"processed":0,"errors":0,"total":1} 
[2026-10-16 00:58:06] local.INFO: Acknowledgment sent {"connection_id":217600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:58:18] local.INFO: TCP Data received {"connection_id":216067,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:58:18] local.INFO: Processing buffer {"connection_id":216067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:58:18] local.INFO: IMEI packet received {"connection_id":216067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":216067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:58:23] local.INFO: TCP Data received {"connection_id":216067,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:58:23] local.INFO: Processing buffer {"connection_id":216067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:58:23] local.INFO: IMEI packet received {"connection_id":216067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":216067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:58:25] local.INFO: TCP Data received {"connection_id":216067,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:58:25] local.INFO: Processing buffer {"connection_id":216067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:58:25] local.INFO: Packet analysis {"connection_id":216067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:58:25] local.INFO: Extracted packet for processing {"connection_id":216067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:58:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775576576001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792092397000,"timestamp_ms":1792092397000,"timestamp_seconds":1792092397,"priority":1,"record_length":96,"hex_timestamp":"000001a14107ddc8"} 
[2026-10-16 00:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:58:25] 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-10-16 00:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775576576001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775576576001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:58:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:58:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775576576001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":216067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:58:25] local.INFO: GPS data processed {"connection_id":216067,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:58:25] local.INFO: Acknowledgment sent {"connection_id":216067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:58:27] local.INFO: TCP Data received {"connection_id":216068,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:58:27] local.INFO: Processing buffer {"connection_id":216068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:58:27] local.INFO: IMEI packet received {"connection_id":216068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":216068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:58:27] local.INFO: TCP Data received {"connection_id":216250,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:58:27] local.INFO: Processing buffer {"connection_id":216250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:58:27] local.INFO: IMEI packet received {"connection_id":216250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":216250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:58:32] local.INFO: TCP Data received {"connection_id":216068,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:58:32] local.INFO: Processing buffer {"connection_id":216068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:58:32] local.INFO: IMEI packet received {"connection_id":216068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":216068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:58:32] local.INFO: TCP Data received {"connection_id":216250,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:58:32] local.INFO: Processing buffer {"connection_id":216250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:58:32] local.INFO: IMEI packet received {"connection_id":216250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":216250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:58:33] local.INFO: TCP Data received {"connection_id":216250,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410764b0012d7297c005f39698000a00f930..."} 
[2026-10-16 00:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410764b0012d7297c005f39698000a00f930..."} 
[2026-10-16 00:58:33] local.INFO: Processing buffer {"connection_id":216250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410764b0012d7297c005f39698000a00f930..."} 
[2026-10-16 00:58:33] local.INFO: Packet analysis {"connection_id":216250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:58:33] local.INFO: Extracted packet for processing {"connection_id":216250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:58:33] local.INFO: GPS Element Parsed {"raw_longitude":762484672,"raw_latitude":99849880,"longitude_deg":76.2484672,"latitude_deg":9.984988,"altitude":10,"angle":249,"satellites":48,"speed":28,"hex_longitude":"2d7297c0","hex_latitude":"05f39698","is_valid_coordinates":true} 
[2026-10-16 00:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11905928517386240,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,77,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 00:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792092366000,"timestamp_ms":1792092366000,"timestamp_seconds":1792092366,"priority":1,"record_length":96,"hex_timestamp":"000001a1410764b0"} 
[2026-10-16 00:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 00:58:33] 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-10-16 00:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"77":206,"9":24832,"24":28,"16":11905928517386240},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,9,24,16]} 
[2026-10-16 00:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 00:58:33] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-10-16 00:58:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11905928517386240,"km_value":11905928517386.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:58:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_77":206,"unknown_9":24832,"ignition":28,"odometer":null}} 
[2026-10-16 00:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":216250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:58:33] local.INFO: GPS data processed {"connection_id":216250,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:58:33] local.INFO: Acknowledgment sent {"connection_id":216250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:58:34] local.INFO: TCP Data received {"connection_id":216068,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:58:34] local.INFO: Processing buffer {"connection_id":216068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:58:34] local.INFO: Packet analysis {"connection_id":216068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:58:34] local.INFO: Extracted packet for processing {"connection_id":216068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775557376001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792092322000,"timestamp_ms":1792092322000,"timestamp_seconds":1792092322,"priority":1,"record_length":96,"hex_timestamp":"000001a14106b8d0"} 
[2026-10-16 00:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:58:34] 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-10-16 00:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775557376001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775557376001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:58:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775557376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":216068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:58:34] local.INFO: GPS data processed {"connection_id":216068,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:58:34] local.INFO: Acknowledgment sent {"connection_id":216068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:58:37] local.INFO: TCP Data received {"connection_id":216068,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:58:37] local.INFO: Processing buffer {"connection_id":216068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:58:37] local.INFO: Packet analysis {"connection_id":216068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:58:37] local.INFO: Extracted packet for processing {"connection_id":216068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00: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-10-16 00:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775557376001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792092322000,"timestamp_ms":1792092322000,"timestamp_seconds":1792092322,"priority":1,"record_length":96,"hex_timestamp":"000001a14106b8d0"} 
[2026-10-16 00:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:58:37] 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-10-16 00: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-10-16 00:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775557376001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775557376001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:58:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775557376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":216068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:58:37] local.INFO: GPS data processed {"connection_id":216068,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:58:37] local.INFO: Acknowledgment sent {"connection_id":216068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:58:57] local.INFO: TCP Data received {"connection_id":216067,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:58:57] local.INFO: Processing buffer {"connection_id":216067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:58:57] local.INFO: Packet analysis {"connection_id":216067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:58:57] local.INFO: Extracted packet for processing {"connection_id":216067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775576576001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792092397000,"timestamp_ms":1792092397000,"timestamp_seconds":1792092397,"priority":1,"record_length":96,"hex_timestamp":"000001a14107ddc8"} 
[2026-10-16 00:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:58: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-10-16 00:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:58:57] 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-10-16 00:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775576576001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775576576001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:58:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:58:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775576576001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":216067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:58:57] local.INFO: GPS data processed {"connection_id":216067,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:58:57] local.INFO: Acknowledgment sent {"connection_id":216067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:59:04] local.INFO: TCP Data received {"connection_id":216250,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a14107b6b8012d72610005f381a0000500f631..."} 
[2026-10-16 00:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107b6b8012d72610005f381a0000500f631..."} 
[2026-10-16 00:59:04] local.INFO: Processing buffer {"connection_id":216250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107b6b8012d72610005f381a0000500f631..."} 
[2026-10-16 00:59:04] local.INFO: Packet analysis {"connection_id":216250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:59:04] local.INFO: Extracted packet for processing {"connection_id":216250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:59:04] local.INFO: GPS Element Parsed {"raw_longitude":762470656,"raw_latitude":99844512,"longitude_deg":76.2470656,"latitude_deg":9.9844512,"altitude":5,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d726100","hex_latitude":"05f381a0","is_valid_coordinates":true} 
[2026-10-16 00:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775645696001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11905928517386240,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8257279573601196032,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792092387000,"timestamp_ms":1792092387000,"timestamp_seconds":1792092387,"priority":1,"record_length":96,"hex_timestamp":"000001a14107b6b8"} 
[2026-10-16 00:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 00:59:04] 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-10-16 00:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775645696001,"66":27745,"77":206,"9":24832,"24":0,"16":11905928517386240,"45":8257279573601196032},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,9,24,16,45]} 
[2026-10-16 00:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775645696001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:59:04] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-10-16 00:59:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11905928517386240,"km_value":11905928517386.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8257279573601196032,"description":"Unknown IO ID 45"} 
[2026-10-16 00:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775645696001,"power":27745,"unknown_77":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8257279573601196032}} 
[2026-10-16 00:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":216250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:59:04] local.INFO: GPS data processed {"connection_id":216250,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:59:04] local.INFO: Acknowledgment sent {"connection_id":216250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:59:17] local.INFO: TCP Data received {"connection_id":219344,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:59:17] local.INFO: Processing buffer {"connection_id":219344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:59:17] local.INFO: IMEI packet received {"connection_id":219344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 00:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":219344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:59:22] local.INFO: TCP Data received {"connection_id":217601,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:59:22] local.INFO: Processing buffer {"connection_id":217601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:59:22] local.INFO: IMEI packet received {"connection_id":217601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 00:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":217601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:59:22] local.INFO: TCP Data received {"connection_id":219345,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:59:22] local.INFO: Processing buffer {"connection_id":219345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:59:22] local.INFO: IMEI packet received {"connection_id":219345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 00:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":219345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 00:59:23] local.INFO: TCP Data received {"connection_id":219344,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:59:23] local.INFO: Processing buffer {"connection_id":219344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 00:59:23] local.INFO: IMEI packet received {"connection_id":219344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 00:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":219344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:59:24] local.INFO: TCP Data received {"connection_id":219344,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:59:24] local.INFO: Processing buffer {"connection_id":219344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:59:24] local.INFO: Packet analysis {"connection_id":219344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:59:24] local.INFO: Extracted packet for processing {"connection_id":219344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:59: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-10-16 00:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775576576001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092397000,"timestamp_ms":1792092397000,"timestamp_seconds":1792092397,"priority":1,"record_length":96,"hex_timestamp":"000001a14107ddc8"} 
[2026-10-16 00:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:59: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:59:24] 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-10-16 00:59: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-10-16 00:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775576576001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775576576001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:59:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:59:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775576576001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":219344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:59:24] local.INFO: GPS data processed {"connection_id":219344,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:59:24] local.INFO: Acknowledgment sent {"connection_id":219344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:59:26] local.INFO: TCP Data received {"connection_id":219345,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:59:26] local.INFO: Processing buffer {"connection_id":219345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 00:59:26] local.INFO: IMEI packet received {"connection_id":219345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 00:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":219345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:59:27] local.INFO: TCP Data received {"connection_id":217601,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:59:27] local.INFO: Processing buffer {"connection_id":217601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 00:59:27] local.INFO: IMEI packet received {"connection_id":217601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 00:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":217601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 00:59:27] local.INFO: TCP Data received {"connection_id":219345,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410899480100000000000000000000000000..."} 
[2026-10-16 00:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410899480100000000000000000000000000..."} 
[2026-10-16 00:59:27] local.INFO: Processing buffer {"connection_id":219345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410899480100000000000000000000000000..."} 
[2026-10-16 00:59:27] local.INFO: Packet analysis {"connection_id":219345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14108"} 
[2026-10-16 00:59:27] local.INFO: Extracted packet for processing {"connection_id":219345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14108"} 
[2026-10-16 00:59:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 00:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775651072001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11905928517386240,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8241868818624913408,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092445000,"timestamp_ms":1792092445000,"timestamp_seconds":1792092445,"priority":1,"record_length":96,"hex_timestamp":"000001a141089948"} 
[2026-10-16 00:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 00:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":219345,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 00:59:27] local.INFO: GPS data processed {"connection_id":219345,"processed":0,"errors":0,"total":1} 
[2026-10-16 00:59:27] local.INFO: Acknowledgment sent {"connection_id":219345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:59:28] local.INFO: TCP Data received {"connection_id":217601,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:59:28] local.INFO: Processing buffer {"connection_id":217601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:59:28] local.INFO: Packet analysis {"connection_id":217601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:59:28] local.INFO: Extracted packet for processing {"connection_id":217601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775557376001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792092322000,"timestamp_ms":1792092322000,"timestamp_seconds":1792092322,"priority":1,"record_length":96,"hex_timestamp":"000001a14106b8d0"} 
[2026-10-16 00:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:59:28] 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-10-16 00:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775557376001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775557376001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:59:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775557376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":217601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:59:28] local.INFO: GPS data processed {"connection_id":217601,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:59:28] local.INFO: Acknowledgment sent {"connection_id":217601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:59:56] local.INFO: TCP Data received {"connection_id":219344,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:59:56] local.INFO: Processing buffer {"connection_id":219344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 00:59:56] local.INFO: Packet analysis {"connection_id":219344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:59:56] local.INFO: Extracted packet for processing {"connection_id":219344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 00:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 00:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775576576001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792092397000,"timestamp_ms":1792092397000,"timestamp_seconds":1792092397,"priority":1,"record_length":96,"hex_timestamp":"000001a14107ddc8"} 
[2026-10-16 00:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:59: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-10-16 00:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 00:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 00:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 00:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 00:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775576576001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 00:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 00:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 00:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775576576001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:59:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 00:59:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 00:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 00:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775576576001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 00:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":219344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:59:56] local.INFO: GPS data processed {"connection_id":219344,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:59:56] local.INFO: Acknowledgment sent {"connection_id":219344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:59:59] local.INFO: TCP Data received {"connection_id":219345,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410a1818012d713f8005f42778000501542f..."} 
[2026-10-16 00:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410a1818012d713f8005f42778000501542f..."} 
[2026-10-16 00:59:59] local.INFO: Processing buffer {"connection_id":219345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410a1818012d713f8005f42778000501542f..."} 
[2026-10-16 00:59:59] local.INFO: Packet analysis {"connection_id":219345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410a"} 
[2026-10-16 00:59:59] local.INFO: Extracted packet for processing {"connection_id":219345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410a"} 
[2026-10-16 00:59:59] local.INFO: GPS Element Parsed {"raw_longitude":762396544,"raw_latitude":99886968,"longitude_deg":76.2396544,"latitude_deg":9.9886968,"altitude":5,"angle":340,"satellites":47,"speed":51,"hex_longitude":"2d713f80","hex_latitude":"05f42778","is_valid_coordinates":true} 
[2026-10-16 00:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775689216001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11909222757302272,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8163478037619695616,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792092543000,"timestamp_ms":1792092543000,"timestamp_seconds":1792092543,"priority":1,"record_length":96,"hex_timestamp":"000001a1410a1818"} 
[2026-10-16 00:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 00:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-16 00:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 00:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 00:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 00:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 00:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775689216001,"66":27397,"224":206,"9":24832,"24":51,"16":11909222757302272,"45":8163478037619695616},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,9,24,16,45]} 
[2026-10-16 00:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 00:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 00:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775689216001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:59:59] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-10-16 00:59:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 00:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11909222757302272,"km_value":11909222757302.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8163478037619695616,"description":"Unknown IO ID 45"} 
[2026-10-16 00:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775689216001,"power":27397,"unknown_224":206,"unknown_9":24832,"ignition":51,"odometer":null,"unknown_45":8163478037619695616}} 
[2026-10-16 00:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":219345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:59:59] local.INFO: GPS data processed {"connection_id":219345,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:59:59] local.INFO: Acknowledgment sent {"connection_id":219345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 00:59:59] local.INFO: TCP Data received {"connection_id":217601,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:59:59] local.INFO: Processing buffer {"connection_id":217601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14106b8d0012d7c240005dad510001400ea24..."} 
[2026-10-16 00:59:59] local.INFO: Packet analysis {"connection_id":217601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:59:59] local.INFO: Extracted packet for processing {"connection_id":217601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14106"} 
[2026-10-16 00:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 00:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 00:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775557376001,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 00:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 00:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792092322000,"timestamp_ms":1792092322000,"timestamp_seconds":1792092322,"priority":1,"record_length":96,"hex_timestamp":"000001a14106b8d0"} 
[2026-10-16 00:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 00:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 00:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 00:59:59] 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-10-16 00:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 00:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 00:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 00:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 00:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 00:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 00:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 00:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 00:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775557376001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 00:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 00:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 00:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775557376001,"description":"Unknown IO ID 0"} 
[2026-10-16 00:59:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 00:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 00:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 00:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 00:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775557376001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 00:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":217601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 00:59:59] local.INFO: GPS data processed {"connection_id":217601,"processed":1,"errors":0,"total":1} 
[2026-10-16 00:59:59] local.INFO: Acknowledgment sent {"connection_id":217601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:00:17] local.INFO: TCP Data received {"connection_id":219346,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:00:17] local.INFO: Processing buffer {"connection_id":219346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:00:17] local.INFO: IMEI packet received {"connection_id":219346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":219346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:00:21] local.INFO: TCP Data received {"connection_id":216069,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:00:21] local.INFO: Processing buffer {"connection_id":216069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:00:21] local.INFO: IMEI packet received {"connection_id":216069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":216069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:00:22] local.INFO: TCP Data received {"connection_id":217602,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:00:22] local.INFO: Processing buffer {"connection_id":217602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:00:22] local.INFO: IMEI packet received {"connection_id":217602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":217602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:00:23] local.INFO: TCP Data received {"connection_id":219346,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:00:23] local.INFO: Processing buffer {"connection_id":219346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:00:23] local.INFO: IMEI packet received {"connection_id":219346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":219346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:00:25] local.INFO: TCP Data received {"connection_id":216069,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:00:25] local.INFO: Processing buffer {"connection_id":216069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:00:25] local.INFO: IMEI packet received {"connection_id":216069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":216069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:00:25] local.INFO: TCP Data received {"connection_id":217602,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:00:25] local.INFO: Processing buffer {"connection_id":217602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:00:25] local.INFO: IMEI packet received {"connection_id":217602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":217602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:00:25] local.INFO: TCP Data received {"connection_id":219346,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:00:25] local.INFO: Processing buffer {"connection_id":219346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:00:25] local.INFO: Packet analysis {"connection_id":219346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 01:00:25] local.INFO: Extracted packet for processing {"connection_id":219346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 01:00:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775576576001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792092397000,"timestamp_ms":1792092397000,"timestamp_seconds":1792092397,"priority":1,"record_length":96,"hex_timestamp":"000001a14107ddc8"} 
[2026-10-16 01:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:00:25] 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-10-16 01:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":219346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":219346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":219346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775576576001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775576576001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:00:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:00:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775576576001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":219346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:00:25] local.INFO: GPS data processed {"connection_id":219346,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:00:25] local.INFO: Acknowledgment sent {"connection_id":219346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:00:26] local.INFO: TCP Data received {"connection_id":217602,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:00:26] local.INFO: TCP Data received {"connection_id":216069,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410a3370012d71330005f448d80004015430..."} 
[2026-10-16 01:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:00:26] local.INFO: Processing buffer {"connection_id":217602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:00:26] local.INFO: Packet analysis {"connection_id":217602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:00:26] local.INFO: Extracted packet for processing {"connection_id":217602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775634432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792092623000,"timestamp_ms":1792092623000,"timestamp_seconds":1792092623,"priority":1,"record_length":96,"hex_timestamp":"000001a1410b5098"} 
[2026-10-16 01:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:00:26] 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-10-16 01:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":217602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":217602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":217602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:00: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-10-16 01:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410a3370012d71330005f448d80004015430..."} 
[2026-10-16 01:00:26] local.INFO: Processing buffer {"connection_id":216069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410a3370012d71330005f448d80004015430..."} 
[2026-10-16 01:00:26] local.INFO: Packet analysis {"connection_id":216069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410a"} 
[2026-10-16 01:00:26] local.INFO: Extracted packet for processing {"connection_id":216069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410a"} 
[2026-10-16 01:00:26] local.INFO: GPS Element Parsed {"raw_longitude":762393344,"raw_latitude":99895512,"longitude_deg":76.2393344,"latitude_deg":9.9895512,"altitude":4,"angle":340,"satellites":48,"speed":51,"hex_longitude":"2d713300","hex_latitude":"05f448d8","is_valid_coordinates":true} 
[2026-10-16 01:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775634432001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775691008001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11909660843966464,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8160381812878047232,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792092550000,"timestamp_ms":1792092550000,"timestamp_seconds":1792092550,"priority":1,"record_length":96,"hex_timestamp":"000001a1410a3370"} 
[2026-10-16 01:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 01:00:26] 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-10-16 01:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775634432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:00:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775634432001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775691008001,"66":27310,"224":206,"9":24832,"24":51,"16":11909660843966464,"45":8160381812878047232},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,9,24,16,45]} 
[2026-10-16 01:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775691008001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:00:26] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-10-16 01:00:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 01:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11909660843966464,"km_value":11909660843966.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8160381812878047232,"description":"Unknown IO ID 45"} 
[2026-10-16 01:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775691008001,"power":27310,"unknown_224":206,"unknown_9":24832,"ignition":51,"odometer":null,"unknown_45":8160381812878047232}} 
[2026-10-16 01:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":217602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:00:26] local.INFO: GPS data processed {"connection_id":217602,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:00:26] local.INFO: Acknowledgment sent {"connection_id":217602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":216069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:00:26] local.INFO: GPS data processed {"connection_id":216069,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:00:26] local.INFO: Acknowledgment sent {"connection_id":216069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:00:56] local.INFO: TCP Data received {"connection_id":219346,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:00:56] local.INFO: Processing buffer {"connection_id":219346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:00:56] local.INFO: Packet analysis {"connection_id":219346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 01:00:56] local.INFO: Extracted packet for processing {"connection_id":219346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 01:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775576576001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792092397000,"timestamp_ms":1792092397000,"timestamp_seconds":1792092397,"priority":1,"record_length":96,"hex_timestamp":"000001a14107ddc8"} 
[2026-10-16 01:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:00: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-10-16 01:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775576576001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775576576001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:00:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:00:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775576576001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":219346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:00:56] local.INFO: GPS data processed {"connection_id":219346,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:00:56] local.INFO: Acknowledgment sent {"connection_id":219346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:00:57] local.INFO: TCP Data received {"connection_id":216069,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410a4ec8012d71268005f469d0000401562f..."} 
[2026-10-16 01:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410a4ec8012d71268005f469d0000401562f..."} 
[2026-10-16 01:00:57] local.INFO: Processing buffer {"connection_id":216069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410a4ec8012d71268005f469d0000401562f..."} 
[2026-10-16 01:00:57] local.INFO: Packet analysis {"connection_id":216069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410a"} 
[2026-10-16 01:00:57] local.INFO: Extracted packet for processing {"connection_id":216069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410a"} 
[2026-10-16 01:00:57] local.INFO: GPS Element Parsed {"raw_longitude":762390144,"raw_latitude":99903952,"longitude_deg":76.2390144,"latitude_deg":9.9903952,"altitude":4,"angle":342,"satellites":47,"speed":50,"hex_longitude":"2d712680","hex_latitude":"05f469d0","is_valid_coordinates":true} 
[2026-10-16 01:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775692800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11910098930630656,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8156863375671351296,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792092557000,"timestamp_ms":1792092557000,"timestamp_seconds":1792092557,"priority":1,"record_length":96,"hex_timestamp":"000001a1410a4ec8"} 
[2026-10-16 01:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 01:00:57] 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-10-16 01:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775692800001,"66":27484,"224":206,"9":24832,"24":50,"16":11910098930630656,"45":8156863375671351296},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,9,24,16,45]} 
[2026-10-16 01:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775692800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:00:57] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-10-16 01:00:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 01:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11910098930630656,"km_value":11910098930630.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8156863375671351296,"description":"Unknown IO ID 45"} 
[2026-10-16 01:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775692800001,"power":27484,"unknown_224":206,"unknown_9":24832,"ignition":50,"odometer":null,"unknown_45":8156863375671351296}} 
[2026-10-16 01:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":216069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:00:57] local.INFO: GPS data processed {"connection_id":216069,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:00:57] local.INFO: Acknowledgment sent {"connection_id":216069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:00:57] local.INFO: TCP Data received {"connection_id":217602,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:00:57] local.INFO: Processing buffer {"connection_id":217602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:00:57] local.INFO: Packet analysis {"connection_id":217602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:00:57] local.INFO: Extracted packet for processing {"connection_id":217602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775634432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792092623000,"timestamp_ms":1792092623000,"timestamp_seconds":1792092623,"priority":1,"record_length":96,"hex_timestamp":"000001a1410b5098"} 
[2026-10-16 01:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:00: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-10-16 01:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:00:57] 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-10-16 01:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775634432001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775634432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:00:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:00:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775634432001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":217602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:00:57] local.INFO: GPS data processed {"connection_id":217602,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:00:57] local.INFO: Acknowledgment sent {"connection_id":217602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:01:21] local.INFO: TCP Data received {"connection_id":216251,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:01:21] local.INFO: Processing buffer {"connection_id":216251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:01:21] local.INFO: IMEI packet received {"connection_id":216251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":216251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:01:21] local.INFO: TCP Data received {"connection_id":217603,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:01:21] local.INFO: Processing buffer {"connection_id":217603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:01:21] local.INFO: IMEI packet received {"connection_id":217603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":217603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:01:23] local.INFO: TCP Data received {"connection_id":219347,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:01:23] local.INFO: Processing buffer {"connection_id":219347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:01:23] local.INFO: IMEI packet received {"connection_id":219347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":219347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:01:23] local.INFO: TCP Data received {"connection_id":217603,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:01:23] local.INFO: Processing buffer {"connection_id":217603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:01:23] local.INFO: IMEI packet received {"connection_id":217603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":217603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:01:27] local.INFO: TCP Data received {"connection_id":216251,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:01:27] local.INFO: Processing buffer {"connection_id":216251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:01:27] local.INFO: IMEI packet received {"connection_id":216251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":216251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:01:27] local.INFO: TCP Data received {"connection_id":217603,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:01:27] local.INFO: Processing buffer {"connection_id":217603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:01:27] local.INFO: IMEI packet received {"connection_id":217603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":217603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:01:27] local.INFO: TCP Data received {"connection_id":216251,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:01:27] local.INFO: Processing buffer {"connection_id":216251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:01:27] local.INFO: Packet analysis {"connection_id":216251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:01:27] local.INFO: Extracted packet for processing {"connection_id":216251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775634432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092623000,"timestamp_ms":1792092623000,"timestamp_seconds":1792092623,"priority":1,"record_length":96,"hex_timestamp":"000001a1410b5098"} 
[2026-10-16 01:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:01:27] 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-10-16 01:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:01:27] 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-10-16 01:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775634432001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775634432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:01:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775634432001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":216251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:01:27] local.INFO: GPS data processed {"connection_id":216251,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:01:27] local.INFO: Acknowledgment sent {"connection_id":216251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:01:28] local.INFO: TCP Data received {"connection_id":219347,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:01:28] local.INFO: Processing buffer {"connection_id":219347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:01:28] local.INFO: IMEI packet received {"connection_id":219347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":219347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:01:29] local.INFO: TCP Data received {"connection_id":219347,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:01:29] local.INFO: Processing buffer {"connection_id":219347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:01:29] local.INFO: Packet analysis {"connection_id":219347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 01:01:29] local.INFO: Extracted packet for processing {"connection_id":219347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 01:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775576576001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792092397000,"timestamp_ms":1792092397000,"timestamp_seconds":1792092397,"priority":1,"record_length":96,"hex_timestamp":"000001a14107ddc8"} 
[2026-10-16 01:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775576576001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775576576001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:01:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:01:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775576576001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":219347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:01:29] local.INFO: GPS data processed {"connection_id":219347,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:01:29] local.INFO: Acknowledgment sent {"connection_id":219347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:01:32] local.INFO: TCP Data received {"connection_id":217603,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410a6a20012d711c4005f48b40000401572e..."} 
[2026-10-16 01:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410a6a20012d711c4005f48b40000401572e..."} 
[2026-10-16 01:01:32] local.INFO: Processing buffer {"connection_id":217603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410a6a20012d711c4005f48b40000401572e..."} 
[2026-10-16 01:01:32] local.INFO: Packet analysis {"connection_id":217603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410a"} 
[2026-10-16 01:01:32] local.INFO: Extracted packet for processing {"connection_id":217603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410a"} 
[2026-10-16 01:01:32] local.INFO: GPS Element Parsed {"raw_longitude":762387520,"raw_latitude":99912512,"longitude_deg":76.238752,"latitude_deg":9.9912512,"altitude":4,"angle":343,"satellites":46,"speed":49,"hex_longitude":"2d711c40","hex_latitude":"05f48b40","is_valid_coordinates":true} 
[2026-10-16 01:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775694592001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11910532722327552,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8153344938464628736,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792092564000,"timestamp_ms":1792092564000,"timestamp_seconds":1792092564,"priority":1,"record_length":96,"hex_timestamp":"000001a1410a6a20"} 
[2026-10-16 01:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 01:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775694592001,"66":27289,"224":206,"9":24832,"24":49,"16":11910532722327552,"45":8153344938464628736},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,9,24,16,45]} 
[2026-10-16 01:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775694592001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:01:32] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-10-16 01:01:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 01:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11910532722327552,"km_value":11910532722327.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8153344938464628736,"description":"Unknown IO ID 45"} 
[2026-10-16 01:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775694592001,"power":27289,"unknown_224":206,"unknown_9":24832,"ignition":49,"odometer":null,"unknown_45":8153344938464628736}} 
[2026-10-16 01:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":217603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:01:32] local.INFO: GPS data processed {"connection_id":217603,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:01:32] local.INFO: Acknowledgment sent {"connection_id":217603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:01:33] local.INFO: TCP Data received {"connection_id":219347,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:01:33] local.INFO: Processing buffer {"connection_id":219347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14107ddc8012d7fac4005afe350001800a62b..."} 
[2026-10-16 01:01:33] local.INFO: Packet analysis {"connection_id":219347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 01:01:33] local.INFO: Extracted packet for processing {"connection_id":219347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14107"} 
[2026-10-16 01:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":24,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775576576001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792092397000,"timestamp_ms":1792092397000,"timestamp_seconds":1792092397,"priority":1,"record_length":96,"hex_timestamp":"000001a14107ddc8"} 
[2026-10-16 01:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775576576001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775576576001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:01:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:01:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775576576001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":219347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:01:33] local.INFO: GPS data processed {"connection_id":219347,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:01:33] local.INFO: Acknowledgment sent {"connection_id":219347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:01:59] local.INFO: TCP Data received {"connection_id":216251,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:01:59] local.INFO: Processing buffer {"connection_id":216251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:01:59] local.INFO: Packet analysis {"connection_id":216251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:01:59] local.INFO: Extracted packet for processing {"connection_id":216251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775634432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792092623000,"timestamp_ms":1792092623000,"timestamp_seconds":1792092623,"priority":1,"record_length":96,"hex_timestamp":"000001a1410b5098"} 
[2026-10-16 01:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:01:59] 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-10-16 01:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:01:59] 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-10-16 01:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775634432001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775634432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:01:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775634432001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":216251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:01:59] local.INFO: GPS data processed {"connection_id":216251,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:01:59] local.INFO: Acknowledgment sent {"connection_id":216251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:02:06] local.INFO: TCP Data received {"connection_id":217603,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410bf890012d70540005f653580004014e2e..."} 
[2026-10-16 01:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410bf890012d70540005f653580004014e2e..."} 
[2026-10-16 01:02:06] local.INFO: Processing buffer {"connection_id":217603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410bf890012d70540005f653580004014e2e..."} 
[2026-10-16 01:02:06] local.INFO: Packet analysis {"connection_id":217603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:02:06] local.INFO: Extracted packet for processing {"connection_id":217603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:02:06] local.INFO: GPS Element Parsed {"raw_longitude":762336256,"raw_latitude":100029272,"longitude_deg":76.2336256,"latitude_deg":10.0029272,"altitude":4,"angle":334,"satellites":46,"speed":50,"hex_longitude":"2d705400","hex_latitude":"05f65358","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775720448001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11916713180266496,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8098809161756700672,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792092666000,"timestamp_ms":1792092666000,"timestamp_seconds":1792092666,"priority":1,"record_length":96,"hex_timestamp":"000001a1410bf890"} 
[2026-10-16 01:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01: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-10-16 01: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 01:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775720448001,"66":27517,"237":206,"9":24832,"24":50,"16":11916713180266496,"45":8098809161756700672},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,9,24,16,45]} 
[2026-10-16 01:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775720448001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:02:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-10-16 01:02:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 01:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11916713180266496,"km_value":11916713180266.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8098809161756700672,"description":"Unknown IO ID 45"} 
[2026-10-16 01:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775720448001,"power":27517,"unknown_237":206,"unknown_9":24832,"ignition":50,"odometer":null,"unknown_45":8098809161756700672}} 
[2026-10-16 01:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":217603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:02:07] local.INFO: GPS data processed {"connection_id":217603,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:02:07] local.INFO: Acknowledgment sent {"connection_id":217603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:02:16] local.INFO: TCP Data received {"connection_id":219348,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:02:16] local.INFO: Processing buffer {"connection_id":219348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:02:16] local.INFO: IMEI packet received {"connection_id":219348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":219348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:02:17] local.INFO: TCP Data received {"connection_id":219348,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:02:17] local.INFO: Processing buffer {"connection_id":219348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:02:17] local.INFO: IMEI packet received {"connection_id":219348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":219348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:02:21] local.INFO: TCP Data received {"connection_id":216252,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:02:21] local.INFO: Processing buffer {"connection_id":216252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:02:21] local.INFO: IMEI packet received {"connection_id":216252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":216252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:02:22] local.INFO: TCP Data received {"connection_id":217604,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:02:22] local.INFO: Processing buffer {"connection_id":217604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:02:22] local.INFO: IMEI packet received {"connection_id":217604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":217604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:02:23] local.INFO: TCP Data received {"connection_id":217604,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:02:23] local.INFO: Processing buffer {"connection_id":217604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:02:23] local.INFO: IMEI packet received {"connection_id":217604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":217604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:02:23] local.INFO: TCP Data received {"connection_id":219348,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:02:23] local.INFO: Processing buffer {"connection_id":219348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:02:23] local.INFO: IMEI packet received {"connection_id":219348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":219348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:02:25] local.INFO: TCP Data received {"connection_id":219348,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:02:25] local.INFO: Processing buffer {"connection_id":219348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:02:25] local.INFO: Packet analysis {"connection_id":219348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:02:25] local.INFO: Extracted packet for processing {"connection_id":219348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":20,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775653632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792092698000,"timestamp_ms":1792092698000,"timestamp_seconds":1792092698,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c7590"} 
[2026-10-16 01:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:02:25] 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-10-16 01:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":219348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":219348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":219348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775653632001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775653632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:02:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:02:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775653632001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":219348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:02:25] local.INFO: GPS data processed {"connection_id":219348,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:02:25] local.INFO: Acknowledgment sent {"connection_id":219348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:02:27] local.INFO: TCP Data received {"connection_id":217604,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:02:27] local.INFO: Processing buffer {"connection_id":217604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:02:27] local.INFO: IMEI packet received {"connection_id":217604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":217604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:02:27] local.INFO: TCP Data received {"connection_id":216252,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:02:27] local.INFO: Processing buffer {"connection_id":216252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:02:27] local.INFO: IMEI packet received {"connection_id":216252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":216252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:02:27] local.INFO: TCP Data received {"connection_id":216252,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:02:27] local.INFO: Processing buffer {"connection_id":216252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:02:27] local.INFO: Packet analysis {"connection_id":216252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:02:27] local.INFO: Extracted packet for processing {"connection_id":216252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775634432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092623000,"timestamp_ms":1792092623000,"timestamp_seconds":1792092623,"priority":1,"record_length":96,"hex_timestamp":"000001a1410b5098"} 
[2026-10-16 01:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:02:27] 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-10-16 01:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775634432001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775634432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:02:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775634432001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":216252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:02:27] local.INFO: GPS data processed {"connection_id":216252,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:02:27] local.INFO: Acknowledgment sent {"connection_id":216252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:02:28] local.INFO: TCP Data received {"connection_id":217604,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c13e8012d7044c005f672f80003014c30..."} 
[2026-10-16 01:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c13e8012d7044c005f672f80003014c30..."} 
[2026-10-16 01:02:28] local.INFO: Processing buffer {"connection_id":217604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c13e8012d7044c005f672f80003014c30..."} 
[2026-10-16 01:02:28] local.INFO: Packet analysis {"connection_id":217604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:02:28] local.INFO: Extracted packet for processing {"connection_id":217604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:02:28] local.INFO: GPS Element Parsed {"raw_longitude":762332352,"raw_latitude":100037368,"longitude_deg":76.2332352,"latitude_deg":10.0037368,"altitude":3,"angle":332,"satellites":48,"speed":49,"hex_longitude":"2d7044c0","hex_latitude":"05f672f8","is_valid_coordinates":true} 
[2026-10-16 01:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775722496001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11917151266930688,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8094094455899117568,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792092673000,"timestamp_ms":1792092673000,"timestamp_seconds":1792092673,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c13e8"} 
[2026-10-16 01:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 01:02:28] 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-10-16 01:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775722496001,"66":27463,"237":206,"9":24832,"24":49,"16":11917151266930688,"45":8094094455899117568},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,9,24,16,45]} 
[2026-10-16 01:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775722496001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:02:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-10-16 01:02:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 01:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11917151266930688,"km_value":11917151266930.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8094094455899117568,"description":"Unknown IO ID 45"} 
[2026-10-16 01:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775722496001,"power":27463,"unknown_237":206,"unknown_9":24832,"ignition":49,"odometer":null,"unknown_45":8094094455899117568}} 
[2026-10-16 01:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":217604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:02:28] local.INFO: GPS data processed {"connection_id":217604,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:02:28] local.INFO: Acknowledgment sent {"connection_id":217604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:02:57] local.INFO: TCP Data received {"connection_id":219348,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:02:57] local.INFO: Processing buffer {"connection_id":219348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:02:57] local.INFO: Packet analysis {"connection_id":219348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:02:57] local.INFO: Extracted packet for processing {"connection_id":219348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":20,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775653632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792092698000,"timestamp_ms":1792092698000,"timestamp_seconds":1792092698,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c7590"} 
[2026-10-16 01:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:02:57] 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-10-16 01: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-10-16 01:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775653632001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775653632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:02:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:02:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775653632001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":219348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:02:57] local.INFO: GPS data processed {"connection_id":219348,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:02:57] local.INFO: Acknowledgment sent {"connection_id":219348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:02:59] local.INFO: TCP Data received {"connection_id":216252,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:02:59] local.INFO: Processing buffer {"connection_id":216252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:02:59] local.INFO: Packet analysis {"connection_id":216252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:02:59] local.INFO: Extracted packet for processing {"connection_id":216252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775634432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792092623000,"timestamp_ms":1792092623000,"timestamp_seconds":1792092623,"priority":1,"record_length":96,"hex_timestamp":"000001a1410b5098"} 
[2026-10-16 01:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:02:59] 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-10-16 01:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775634432001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775634432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:02:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775634432001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":216252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:02:59] local.INFO: GPS data processed {"connection_id":216252,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:02:59] local.INFO: Acknowledgment sent {"connection_id":216252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:03:00] local.INFO: TCP Data received {"connection_id":217604,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c3328012d70330005f694e80003014d2f..."} 
[2026-10-16 01:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c3328012d70330005f694e80003014d2f..."} 
[2026-10-16 01:03:00] local.INFO: Processing buffer {"connection_id":217604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c3328012d70330005f694e80003014d2f..."} 
[2026-10-16 01:03:00] local.INFO: Packet analysis {"connection_id":217604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:03:00] local.INFO: Extracted packet for processing {"connection_id":217604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:03:00] local.INFO: GPS Element Parsed {"raw_longitude":762327808,"raw_latitude":100046056,"longitude_deg":76.2327808,"latitude_deg":10.0046056,"altitude":3,"angle":333,"satellites":47,"speed":49,"hex_longitude":"2d703300","hex_latitude":"05f694e8","is_valid_coordinates":true} 
[2026-10-16 01:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775724288001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11917623713333248,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8089801962506352640,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792092681000,"timestamp_ms":1792092681000,"timestamp_seconds":1792092681,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c3328"} 
[2026-10-16 01:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 01:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775724288001,"66":27430,"237":206,"9":24832,"24":49,"16":11917623713333248,"45":8089801962506352640},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,9,24,16,45]} 
[2026-10-16 01:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775724288001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:03:00] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-10-16 01:03:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 01:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11917623713333248,"km_value":11917623713333.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8089801962506352640,"description":"Unknown IO ID 45"} 
[2026-10-16 01:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775724288001,"power":27430,"unknown_237":206,"unknown_9":24832,"ignition":49,"odometer":null,"unknown_45":8089801962506352640}} 
[2026-10-16 01:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":217604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:03:00] local.INFO: GPS data processed {"connection_id":217604,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:03:00] local.INFO: Acknowledgment sent {"connection_id":217604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:03:23] local.INFO: TCP Data received {"connection_id":216070,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:03:23] local.INFO: Processing buffer {"connection_id":216070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:03:23] local.INFO: IMEI packet received {"connection_id":216070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":216070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:03:26] local.INFO: TCP Data received {"connection_id":217606,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:03:26] local.INFO: Processing buffer {"connection_id":217606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:03:26] local.INFO: IMEI packet received {"connection_id":217606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":217606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:03:27] local.INFO: TCP Data received {"connection_id":217605,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:03:27] local.INFO: Processing buffer {"connection_id":217605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:03:27] local.INFO: IMEI packet received {"connection_id":217605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":217605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:03:27] local.INFO: TCP Data received {"connection_id":217606,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:03:27] local.INFO: Processing buffer {"connection_id":217606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:03:27] local.INFO: IMEI packet received {"connection_id":217606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":217606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:03:28] local.INFO: TCP Data received {"connection_id":216070,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:03:28] local.INFO: Processing buffer {"connection_id":216070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:03:28] local.INFO: IMEI packet received {"connection_id":216070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":216070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:03:29] local.INFO: TCP Data received {"connection_id":216070,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:03:29] local.INFO: Processing buffer {"connection_id":216070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:03:29] local.INFO: Packet analysis {"connection_id":216070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:03:29] local.INFO: Extracted packet for processing {"connection_id":216070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:03:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":20,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775653632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792092698000,"timestamp_ms":1792092698000,"timestamp_seconds":1792092698,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c7590"} 
[2026-10-16 01:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775653632001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775653632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:03:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:03:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775653632001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":216070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:03:29] local.INFO: GPS data processed {"connection_id":216070,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:03:29] local.INFO: Acknowledgment sent {"connection_id":216070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:03:32] local.INFO: TCP Data received {"connection_id":217605,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:03:32] local.INFO: Processing buffer {"connection_id":217605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:03:32] local.INFO: IMEI packet received {"connection_id":217605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":217605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:03:32] local.INFO: TCP Data received {"connection_id":217606,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:03:32] local.INFO: Processing buffer {"connection_id":217606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:03:32] local.INFO: IMEI packet received {"connection_id":217606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":217606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:03:32] local.INFO: TCP Data received {"connection_id":217605,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:03:32] local.INFO: Processing buffer {"connection_id":217605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:03:32] local.INFO: Packet analysis {"connection_id":217605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:03:32] local.INFO: Extracted packet for processing {"connection_id":217605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775634432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792092623000,"timestamp_ms":1792092623000,"timestamp_seconds":1792092623,"priority":1,"record_length":96,"hex_timestamp":"000001a1410b5098"} 
[2026-10-16 01:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:03:32] 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-10-16 01:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775634432001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775634432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:03:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775634432001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":217605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:03:32] local.INFO: GPS data processed {"connection_id":217605,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:03:32] local.INFO: Acknowledgment sent {"connection_id":217605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:03:33] local.INFO: TCP Data received {"connection_id":217606,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c5268012d70240005f6b6c80003015030..."} 
[2026-10-16 01:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c5268012d70240005f6b6c80003015030..."} 
[2026-10-16 01:03:33] local.INFO: Processing buffer {"connection_id":217606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c5268012d70240005f6b6c80003015030..."} 
[2026-10-16 01:03:33] local.INFO: Packet analysis {"connection_id":217606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:03:33] local.INFO: Extracted packet for processing {"connection_id":217606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:03:33] local.INFO: GPS Element Parsed {"raw_longitude":762323968,"raw_latitude":100054728,"longitude_deg":76.2323968,"latitude_deg":10.0054728,"altitude":3,"angle":336,"satellites":48,"speed":45,"hex_longitude":"2d702400","hex_latitude":"05f6b6c8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775726336001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11918083274833920,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8084805781671962624,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792092689000,"timestamp_ms":1792092689000,"timestamp_seconds":1792092689,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c5268"} 
[2026-10-16 01:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 01:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775726336001,"66":27517,"237":206,"9":24832,"24":45,"16":11918083274833920,"45":8084805781671962624},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,9,24,16,45]} 
[2026-10-16 01:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775726336001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:03:33] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-10-16 01:03:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-10-16 01:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11918083274833920,"km_value":11918083274833.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8084805781671962624,"description":"Unknown IO ID 45"} 
[2026-10-16 01:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775726336001,"power":27517,"unknown_237":206,"unknown_9":24832,"ignition":45,"odometer":null,"unknown_45":8084805781671962624}} 
[2026-10-16 01:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":217606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:03:33] local.INFO: GPS data processed {"connection_id":217606,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:03:33] local.INFO: Acknowledgment sent {"connection_id":217606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:03:34] local.INFO: TCP Data received {"connection_id":216070,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:03:34] local.INFO: Processing buffer {"connection_id":216070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:03:34] local.INFO: Packet analysis {"connection_id":216070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:03:34] local.INFO: Extracted packet for processing {"connection_id":216070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":20,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775653632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792092698000,"timestamp_ms":1792092698000,"timestamp_seconds":1792092698,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c7590"} 
[2026-10-16 01:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775653632001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775653632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:03:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:03:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775653632001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":216070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:03:34] local.INFO: GPS data processed {"connection_id":216070,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:03:34] local.INFO: Acknowledgment sent {"connection_id":216070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:03:35] local.INFO: TCP Data received {"connection_id":217606,"ip":"117.224.108.23","data_length":93,"data_hex":"00000000000000518e01000001a1410c71a8012d70158005f6d7680003014d2f..."} 
[2026-10-16 01:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217606,"packet_length":93,"packet_hex":"00000000000000518e01000001a1410c71a8012d70158005f6d7680003014d2f..."} 
[2026-10-16 01:03:35] local.INFO: Processing buffer {"connection_id":217606,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1410c71a8012d70158005f6d7680003014d2f..."} 
[2026-10-16 01:03:35] local.INFO: Packet analysis {"connection_id":217606,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1410c"} 
[2026-10-16 01:03:35] local.INFO: Extracted packet for processing {"connection_id":217606,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1410c"} 
[2026-10-16 01:03:35] local.INFO: GPS Element Parsed {"raw_longitude":762320256,"raw_latitude":100063080,"longitude_deg":76.2320256,"latitude_deg":10.006308,"altitude":3,"angle":333,"satellites":47,"speed":45,"hex_longitude":"2d701580","hex_latitude":"05f6d768","is_valid_coordinates":true} 
[2026-10-16 01:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-10-16 01:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:03:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:03:35] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 01:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":217606,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-10-16 01:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":217606,"device_imei":"862567071632322","avl_records_count":0} 
[2026-10-16 01:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":217606,"device_imei":"862567071632322","avl_records_count":0} 
[2026-10-16 01:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 01:03:35] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 01:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":217606,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 01:03:35] local.ERROR: GPS data processing failed {"connection_id":217606,"error":"No valid data to process"} 
[2026-10-16 01:03:35] local.INFO: Acknowledgment sent {"connection_id":217606,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 01:03:37] local.INFO: TCP Data received {"connection_id":217605,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:03:37] local.INFO: Processing buffer {"connection_id":217605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:03:37] local.INFO: Packet analysis {"connection_id":217605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:03:37] local.INFO: Extracted packet for processing {"connection_id":217605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775634432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792092623000,"timestamp_ms":1792092623000,"timestamp_seconds":1792092623,"priority":1,"record_length":96,"hex_timestamp":"000001a1410b5098"} 
[2026-10-16 01:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:03: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-10-16 01: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-10-16 01:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775634432001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775634432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:03:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775634432001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":217605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:03:37] local.INFO: GPS data processed {"connection_id":217605,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:03:37] local.INFO: Acknowledgment sent {"connection_id":217605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:04:06] local.INFO: TCP Data received {"connection_id":217606,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410ddcf0012d6f494005f863180003014f2c..."} 
[2026-10-16 01:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410ddcf0012d6f494005f863180003014f2c..."} 
[2026-10-16 01:04:06] local.INFO: Processing buffer {"connection_id":217606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410ddcf0012d6f494005f863180003014f2c..."} 
[2026-10-16 01:04:06] local.INFO: Packet analysis {"connection_id":217606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410d"} 
[2026-10-16 01:04:06] local.INFO: Extracted packet for processing {"connection_id":217606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410d"} 
[2026-10-16 01:04:06] local.INFO: GPS Element Parsed {"raw_longitude":762267968,"raw_latitude":100164376,"longitude_deg":76.2267968,"latitude_deg":10.0164376,"altitude":3,"angle":335,"satellites":44,"speed":51,"hex_longitude":"2d6f4940","hex_latitude":"05f86318","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775752448001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11924044689440768,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8023233130544697344,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792092790000,"timestamp_ms":1792092790000,"timestamp_seconds":1792092790,"priority":1,"record_length":96,"hex_timestamp":"000001a1410ddcf0"} 
[2026-10-16 01:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:04: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-10-16 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 01:04:06] 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-10-16 01: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-10-16 01:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775752448001,"66":27343,"77":206,"8":65280,"24":51,"16":11924044689440768,"45":8023233130544697344},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,8,24,16,45]} 
[2026-10-16 01:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775752448001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:04:06] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-10-16 01:04:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11924044689440768,"km_value":11924044689440.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8023233130544697344,"description":"Unknown IO ID 45"} 
[2026-10-16 01:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775752448001,"power":27343,"unknown_77":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":8023233130544697344}} 
[2026-10-16 01:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":217606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:04:06] local.INFO: GPS data processed {"connection_id":217606,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:04:06] local.INFO: Acknowledgment sent {"connection_id":217606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:04:18] local.INFO: TCP Data received {"connection_id":216253,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:04:18] local.INFO: Processing buffer {"connection_id":216253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:04:18] local.INFO: IMEI packet received {"connection_id":216253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":216253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:04:21] local.INFO: TCP Data received {"connection_id":219349,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:04:21] local.INFO: Processing buffer {"connection_id":219349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:04:21] local.INFO: IMEI packet received {"connection_id":219349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":219349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:04:22] local.INFO: TCP Data received {"connection_id":217607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:04:22] local.INFO: Processing buffer {"connection_id":217607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:04:22] local.INFO: IMEI packet received {"connection_id":217607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":217607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:04:23] local.INFO: TCP Data received {"connection_id":216253,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:04:23] local.INFO: Processing buffer {"connection_id":216253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:04:23] local.INFO: IMEI packet received {"connection_id":216253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":216253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:04:24] local.INFO: TCP Data received {"connection_id":219349,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:04:24] local.INFO: Processing buffer {"connection_id":219349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:04:24] local.INFO: IMEI packet received {"connection_id":219349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":219349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:04:25] local.INFO: TCP Data received {"connection_id":216253,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:04:25] local.INFO: Processing buffer {"connection_id":216253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:04:25] local.INFO: Packet analysis {"connection_id":216253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:04:25] local.INFO: Extracted packet for processing {"connection_id":216253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":20,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775653632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792092698000,"timestamp_ms":1792092698000,"timestamp_seconds":1792092698,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c7590"} 
[2026-10-16 01:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:04:25] 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-10-16 01:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775653632001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775653632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:04:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:04:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775653632001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":216253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:04:25] local.INFO: GPS data processed {"connection_id":216253,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:04:25] local.INFO: Acknowledgment sent {"connection_id":216253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:04:26] local.INFO: TCP Data received {"connection_id":219349,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:04:26] local.INFO: Processing buffer {"connection_id":219349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:04:26] local.INFO: IMEI packet received {"connection_id":219349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":219349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:04:27] local.INFO: TCP Data received {"connection_id":217607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:04:27] local.INFO: Processing buffer {"connection_id":217607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:04:27] local.INFO: IMEI packet received {"connection_id":217607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":217607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:04:27] local.INFO: TCP Data received {"connection_id":219349,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410df848012d6f3b0005f88370000301502c..."} 
[2026-10-16 01:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410df848012d6f3b0005f88370000301502c..."} 
[2026-10-16 01:04:27] local.INFO: Processing buffer {"connection_id":219349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410df848012d6f3b0005f88370000301502c..."} 
[2026-10-16 01:04:27] local.INFO: Packet analysis {"connection_id":219349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410d"} 
[2026-10-16 01:04:27] local.INFO: Extracted packet for processing {"connection_id":219349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410d"} 
[2026-10-16 01:04:27] local.INFO: GPS Element Parsed {"raw_longitude":762264320,"raw_latitude":100172656,"longitude_deg":76.226432,"latitude_deg":10.0172656,"altitude":3,"angle":336,"satellites":44,"speed":51,"hex_longitude":"2d6f3b00","hex_latitude":"05f88370","is_valid_coordinates":true} 
[2026-10-16 01:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775754240001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11924482776104960,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8019011005896136704,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092797000,"timestamp_ms":1792092797000,"timestamp_seconds":1792092797,"priority":1,"record_length":96,"hex_timestamp":"000001a1410df848"} 
[2026-10-16 01:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 01:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775754240001,"66":27571,"77":206,"8":65280,"24":51,"16":11924482776104960,"45":8019011005896136704},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,8,24,16,45]} 
[2026-10-16 01:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775754240001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:04:27] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-10-16 01:04:27] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11924482776104960,"km_value":11924482776104.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8019011005896136704,"description":"Unknown IO ID 45"} 
[2026-10-16 01:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775754240001,"power":27571,"unknown_77":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":8019011005896136704}} 
[2026-10-16 01:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":219349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:04:27] local.INFO: GPS data processed {"connection_id":219349,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:04:27] local.INFO: Acknowledgment sent {"connection_id":219349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:04:27] local.INFO: TCP Data received {"connection_id":217607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:04:27] local.INFO: Processing buffer {"connection_id":217607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:04:27] local.INFO: Packet analysis {"connection_id":217607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:04:27] local.INFO: Extracted packet for processing {"connection_id":217607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775634432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092623000,"timestamp_ms":1792092623000,"timestamp_seconds":1792092623,"priority":1,"record_length":96,"hex_timestamp":"000001a1410b5098"} 
[2026-10-16 01:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:04:27] 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-10-16 01:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:04: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-10-16 01:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775634432001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775634432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:04:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775634432001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":217607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:04:27] local.INFO: GPS data processed {"connection_id":217607,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:04:27] local.INFO: Acknowledgment sent {"connection_id":217607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:04:32] local.INFO: TCP Data received {"connection_id":219349,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410e13a0012d6f2c4005f8a380000401502f..."} 
[2026-10-16 01:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410e13a0012d6f2c4005f8a380000401502f..."} 
[2026-10-16 01:04:32] local.INFO: Processing buffer {"connection_id":219349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410e13a0012d6f2c4005f8a380000401502f..."} 
[2026-10-16 01:04:32] local.INFO: Packet analysis {"connection_id":219349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410e"} 
[2026-10-16 01:04:32] local.INFO: Extracted packet for processing {"connection_id":219349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410e"} 
[2026-10-16 01:04:32] local.INFO: GPS Element Parsed {"raw_longitude":762260544,"raw_latitude":100180864,"longitude_deg":76.2260544,"latitude_deg":10.0180864,"altitude":4,"angle":336,"satellites":47,"speed":49,"hex_longitude":"2d6f2c40","hex_latitude":"05f8a380","is_valid_coordinates":true} 
[2026-10-16 01:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775756032001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11924920862769152,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8014999987480129536,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792092804000,"timestamp_ms":1792092804000,"timestamp_seconds":1792092804,"priority":1,"record_length":96,"hex_timestamp":"000001a1410e13a0"} 
[2026-10-16 01:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 01:04:32] 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-10-16 01:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775756032001,"66":27234,"78":206,"8":65280,"24":49,"16":11924920862769152,"45":8014999987480129536},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,8,24,16,45]} 
[2026-10-16 01:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775756032001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:04:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-16 01:04:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11924920862769152,"km_value":11924920862769.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8014999987480129536,"description":"Unknown IO ID 45"} 
[2026-10-16 01:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775756032001,"power":27234,"unknown_78":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":8014999987480129536}} 
[2026-10-16 01:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":219349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:04:32] local.INFO: GPS data processed {"connection_id":219349,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:04:32] local.INFO: Acknowledgment sent {"connection_id":219349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:04:57] local.INFO: TCP Data received {"connection_id":216253,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:04:57] local.INFO: Processing buffer {"connection_id":216253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:04:57] local.INFO: Packet analysis {"connection_id":216253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:04:57] local.INFO: Extracted packet for processing {"connection_id":216253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":20,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775653632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792092698000,"timestamp_ms":1792092698000,"timestamp_seconds":1792092698,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c7590"} 
[2026-10-16 01:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:04:57] 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-10-16 01: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-10-16 01:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775653632001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775653632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:04:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:04:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775653632001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":216253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:04:57] local.INFO: GPS data processed {"connection_id":216253,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:04:57] local.INFO: Acknowledgment sent {"connection_id":216253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:04:59] local.INFO: TCP Data received {"connection_id":217607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:04:59] local.INFO: Processing buffer {"connection_id":217607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410b5098012d7c240005dad510001400ea23..."} 
[2026-10-16 01:04:59] local.INFO: Packet analysis {"connection_id":217607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:04:59] local.INFO: Extracted packet for processing {"connection_id":217607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410b"} 
[2026-10-16 01:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775634432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792092623000,"timestamp_ms":1792092623000,"timestamp_seconds":1792092623,"priority":1,"record_length":96,"hex_timestamp":"000001a1410b5098"} 
[2026-10-16 01:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:04:59] 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-10-16 01:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775634432001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775634432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:04:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775634432001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":217607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:04:59] local.INFO: GPS data processed {"connection_id":217607,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:04:59] local.INFO: Acknowledgment sent {"connection_id":217607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:05:04] local.INFO: TCP Data received {"connection_id":219349,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410e32e0012d6f1dc005f8c7300004015230..."} 
[2026-10-16 01:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410e32e0012d6f1dc005f8c7300004015230..."} 
[2026-10-16 01:05:04] local.INFO: Processing buffer {"connection_id":219349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410e32e0012d6f1dc005f8c7300004015230..."} 
[2026-10-16 01:05:04] local.INFO: Packet analysis {"connection_id":219349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410e"} 
[2026-10-16 01:05:04] local.INFO: Extracted packet for processing {"connection_id":219349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410e"} 
[2026-10-16 01:05:04] local.INFO: GPS Element Parsed {"raw_longitude":762256832,"raw_latitude":100190000,"longitude_deg":76.2256832,"latitude_deg":10.019,"altitude":4,"angle":338,"satellites":48,"speed":50,"hex_longitude":"2d6f1dc0","hex_latitude":"05f8c730","is_valid_coordinates":true} 
[2026-10-16 01:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775757824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11925397604139008,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8010848231575748608,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792092812000,"timestamp_ms":1792092812000,"timestamp_seconds":1792092812,"priority":1,"record_length":96,"hex_timestamp":"000001a1410e32e0"} 
[2026-10-16 01:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 01:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":219349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":219349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":219349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775757824001,"66":27789,"78":206,"8":65280,"24":50,"16":11925397604139008,"45":8010848231575748608},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,8,24,16,45]} 
[2026-10-16 01:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775757824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:05:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-16 01:05:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11925397604139008,"km_value":11925397604139.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8010848231575748608,"description":"Unknown IO ID 45"} 
[2026-10-16 01:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775757824001,"power":27789,"unknown_78":206,"unknown_8":65280,"ignition":50,"odometer":null,"unknown_45":8010848231575748608}} 
[2026-10-16 01:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":219349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:05:04] local.INFO: GPS data processed {"connection_id":219349,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:05:04] local.INFO: Acknowledgment sent {"connection_id":219349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:05:17] local.INFO: TCP Data received {"connection_id":216254,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:05:17] local.INFO: Processing buffer {"connection_id":216254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:05:17] local.INFO: IMEI packet received {"connection_id":216254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":216254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:05:22] local.INFO: TCP Data received {"connection_id":217608,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:05:22] local.INFO: Processing buffer {"connection_id":217608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:05:22] local.INFO: IMEI packet received {"connection_id":217608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":217608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:05:23] local.INFO: TCP Data received {"connection_id":216254,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:05:23] local.INFO: Processing buffer {"connection_id":216254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:05:23] local.INFO: IMEI packet received {"connection_id":216254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":216254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:05:24] local.INFO: TCP Data received {"connection_id":216254,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:05:24] local.INFO: Processing buffer {"connection_id":216254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:05:24] local.INFO: Packet analysis {"connection_id":216254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:05:24] local.INFO: Extracted packet for processing {"connection_id":216254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":20,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775653632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092698000,"timestamp_ms":1792092698000,"timestamp_seconds":1792092698,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c7590"} 
[2026-10-16 01:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:05:24] 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-10-16 01:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775653632001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775653632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:05:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:05:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775653632001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":216254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:05:24] local.INFO: GPS data processed {"connection_id":216254,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:05:24] local.INFO: Acknowledgment sent {"connection_id":216254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:05:26] local.INFO: TCP Data received {"connection_id":217608,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:05:26] local.INFO: Processing buffer {"connection_id":217608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:05:26] local.INFO: IMEI packet received {"connection_id":217608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":217608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:05:27] local.INFO: TCP Data received {"connection_id":217608,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:05:27] local.INFO: Processing buffer {"connection_id":217608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:05:27] local.INFO: Packet analysis {"connection_id":217608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:05:27] local.INFO: Extracted packet for processing {"connection_id":217608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775711488001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092924000,"timestamp_ms":1792092924000,"timestamp_seconds":1792092924,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fe860"} 
[2026-10-16 01:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:05:27] 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-10-16 01:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775711488001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775711488001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:05:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775711488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":217608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:05:27] local.INFO: GPS data processed {"connection_id":217608,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:05:27] local.INFO: Acknowledgment sent {"connection_id":217608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:05:32] local.INFO: TCP Data received {"connection_id":217609,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:05:32] local.INFO: Processing buffer {"connection_id":217609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:05:32] local.INFO: IMEI packet received {"connection_id":217609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":217609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:05:35] local.INFO: TCP Data received {"connection_id":217609,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:05:35] local.INFO: Processing buffer {"connection_id":217609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:05:35] local.INFO: IMEI packet received {"connection_id":217609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":217609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:05:36] local.INFO: TCP Data received {"connection_id":217609,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:05:36] local.INFO: Processing buffer {"connection_id":217609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:05:36] local.INFO: IMEI packet received {"connection_id":217609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":217609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:05:37] local.INFO: TCP Data received {"connection_id":217609,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410e5220012d6f0ec005f8eae00006014f30..."} 
[2026-10-16 01:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410e5220012d6f0ec005f8eae00006014f30..."} 
[2026-10-16 01:05:37] local.INFO: Processing buffer {"connection_id":217609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410e5220012d6f0ec005f8eae00006014f30..."} 
[2026-10-16 01:05:37] local.INFO: Packet analysis {"connection_id":217609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410e"} 
[2026-10-16 01:05:37] local.INFO: Extracted packet for processing {"connection_id":217609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410e"} 
[2026-10-16 01:05:37] local.INFO: GPS Element Parsed {"raw_longitude":762252992,"raw_latitude":100199136,"longitude_deg":76.2252992,"latitude_deg":10.0199136,"altitude":6,"angle":335,"satellites":48,"speed":49,"hex_longitude":"2d6f0ec0","hex_latitude":"05f8eae0","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775759872001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11925878640476160,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8006766844415782912,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792092820000,"timestamp_ms":1792092820000,"timestamp_seconds":1792092820,"priority":1,"record_length":96,"hex_timestamp":"000001a1410e5220"} 
[2026-10-16 01:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:05: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-10-16 01: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-10-16 01:05: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-10-16 01: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-10-16 01:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775759872001,"66":27343,"78":206,"8":65280,"24":49,"16":11925878640476160,"45":8006766844415782912},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,8,24,16,45]} 
[2026-10-16 01:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775759872001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:05:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-10-16 01:05:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11925878640476160,"km_value":11925878640476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8006766844415782912,"description":"Unknown IO ID 45"} 
[2026-10-16 01:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775759872001,"power":27343,"unknown_78":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":8006766844415782912}} 
[2026-10-16 01:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":217609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:05:37] local.INFO: GPS data processed {"connection_id":217609,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:05:37] local.INFO: Acknowledgment sent {"connection_id":217609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:05:56] local.INFO: TCP Data received {"connection_id":216254,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:05:56] local.INFO: Processing buffer {"connection_id":216254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:05:56] local.INFO: Packet analysis {"connection_id":216254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:05:56] local.INFO: Extracted packet for processing {"connection_id":216254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":20,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775653632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792092698000,"timestamp_ms":1792092698000,"timestamp_seconds":1792092698,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c7590"} 
[2026-10-16 01:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775653632001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775653632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:05:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:05:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775653632001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":216254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:05:56] local.INFO: GPS data processed {"connection_id":216254,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:05:56] local.INFO: Acknowledgment sent {"connection_id":216254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:05:58] local.INFO: TCP Data received {"connection_id":217608,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:05:58] local.INFO: Processing buffer {"connection_id":217608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:05:58] local.INFO: Packet analysis {"connection_id":217608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:05:58] local.INFO: Extracted packet for processing {"connection_id":217608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775711488001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792092924000,"timestamp_ms":1792092924000,"timestamp_seconds":1792092924,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fe860"} 
[2026-10-16 01:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775711488001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775711488001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:05:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:05:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775711488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":217608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:05:58] local.INFO: GPS data processed {"connection_id":217608,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:05:58] local.INFO: Acknowledgment sent {"connection_id":217608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:06:17] local.INFO: TCP Data received {"connection_id":216255,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:06:17] local.INFO: Processing buffer {"connection_id":216255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:06:17] local.INFO: IMEI packet received {"connection_id":216255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":216255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:06:21] local.INFO: TCP Data received {"connection_id":216071,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:06:21] local.INFO: Processing buffer {"connection_id":216071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:06:21] local.INFO: IMEI packet received {"connection_id":216071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":216071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:06:23] local.INFO: TCP Data received {"connection_id":216255,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:06:23] local.INFO: Processing buffer {"connection_id":216255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:06:23] local.INFO: IMEI packet received {"connection_id":216255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":216255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:06:24] local.INFO: TCP Data received {"connection_id":216255,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:06:24] local.INFO: Processing buffer {"connection_id":216255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:06:24] local.INFO: Packet analysis {"connection_id":216255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:06:24] local.INFO: Extracted packet for processing {"connection_id":216255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":20,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775653632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092698000,"timestamp_ms":1792092698000,"timestamp_seconds":1792092698,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c7590"} 
[2026-10-16 01:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:06:24] 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-10-16 01: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-10-16 01:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775653632001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775653632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:06:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:06:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775653632001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":216255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:06:24] local.INFO: GPS data processed {"connection_id":216255,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:06:24] local.INFO: Acknowledgment sent {"connection_id":216255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:06:26] local.INFO: TCP Data received {"connection_id":219350,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:06:26] local.INFO: Processing buffer {"connection_id":219350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:06:26] local.INFO: IMEI packet received {"connection_id":219350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":219350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:06:27] local.INFO: TCP Data received {"connection_id":216071,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:06:27] local.INFO: Processing buffer {"connection_id":216071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:06:27] local.INFO: IMEI packet received {"connection_id":216071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":216071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:06:27] local.INFO: TCP Data received {"connection_id":219350,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:06:27] local.INFO: Processing buffer {"connection_id":219350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:06:27] local.INFO: IMEI packet received {"connection_id":219350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":219350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:06:27] local.INFO: TCP Data received {"connection_id":216071,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:06:27] local.INFO: Processing buffer {"connection_id":216071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:06:27] local.INFO: Packet analysis {"connection_id":216071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:06:27] local.INFO: Extracted packet for processing {"connection_id":216071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775711488001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092924000,"timestamp_ms":1792092924000,"timestamp_seconds":1792092924,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fe860"} 
[2026-10-16 01:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:06:27] 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-10-16 01: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-10-16 01:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775711488001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775711488001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:06:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775711488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":216071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:06:27] local.INFO: GPS data processed {"connection_id":216071,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:06:27] local.INFO: Acknowledgment sent {"connection_id":216071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:06:32] local.INFO: TCP Data received {"connection_id":219350,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:06:32] local.INFO: Processing buffer {"connection_id":219350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:06:32] local.INFO: IMEI packet received {"connection_id":219350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":219350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:06:33] local.INFO: TCP Data received {"connection_id":219350,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fbd68012d6e840005faaf800005015730..."} 
[2026-10-16 01:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fbd68012d6e840005faaf800005015730..."} 
[2026-10-16 01:06:33] local.INFO: Processing buffer {"connection_id":219350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fbd68012d6e840005faaf800005015730..."} 
[2026-10-16 01:06:33] local.INFO: Packet analysis {"connection_id":219350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:06:33] local.INFO: Extracted packet for processing {"connection_id":219350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:06:33] local.INFO: GPS Element Parsed {"raw_longitude":762217472,"raw_latitude":100315008,"longitude_deg":76.2217472,"latitude_deg":10.0315008,"altitude":5,"angle":343,"satellites":48,"speed":48,"hex_longitude":"2d6e8400","hex_latitude":"05faaf80","is_valid_coordinates":true} 
[2026-10-16 01:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775783680001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11931758450704384,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7966445554031611904,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792092913000,"timestamp_ms":1792092913000,"timestamp_seconds":1792092913,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fbd68"} 
[2026-10-16 01:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 01:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775783680001,"66":27745,"114":206,"8":65280,"24":48,"16":11931758450704384,"45":7966445554031611904},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,8,24,16,45]} 
[2026-10-16 01:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775783680001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:06:33] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-10-16 01:06:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11931758450704384,"km_value":11931758450704.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7966445554031611904,"description":"Unknown IO ID 45"} 
[2026-10-16 01:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775783680001,"power":27745,"unknown_114":206,"unknown_8":65280,"ignition":48,"odometer":null,"unknown_45":7966445554031611904}} 
[2026-10-16 01:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":219350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:06:33] local.INFO: GPS data processed {"connection_id":219350,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:06:33] local.INFO: Acknowledgment sent {"connection_id":219350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:06:34] local.INFO: TCP Data received {"connection_id":219350,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fdca8012d6e778005fad5180003015630..."} 
[2026-10-16 01:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fdca8012d6e778005fad5180003015630..."} 
[2026-10-16 01:06:34] local.INFO: Processing buffer {"connection_id":219350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fdca8012d6e778005fad5180003015630..."} 
[2026-10-16 01:06:34] local.INFO: Packet analysis {"connection_id":219350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:06:34] local.INFO: Extracted packet for processing {"connection_id":219350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:06:34] local.INFO: GPS Element Parsed {"raw_longitude":762214272,"raw_latitude":100324632,"longitude_deg":76.2214272,"latitude_deg":10.0324632,"altitude":3,"angle":342,"satellites":48,"speed":52,"hex_longitude":"2d6e7780","hex_latitude":"05fad518","is_valid_coordinates":true} 
[2026-10-16 01:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775785728001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11932248076976128,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7963490066778521600,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792092921000,"timestamp_ms":1792092921000,"timestamp_seconds":1792092921,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fdca8"} 
[2026-10-16 01:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:06: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-10-16 01:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 01:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775785728001,"66":27593,"114":206,"8":65280,"24":52,"16":11932248076976128,"45":7963490066778521600},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,8,24,16,45]} 
[2026-10-16 01:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775785728001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:06:34] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-10-16 01:06:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11932248076976128,"km_value":11932248076976.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7963490066778521600,"description":"Unknown IO ID 45"} 
[2026-10-16 01:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775785728001,"power":27593,"unknown_114":206,"unknown_8":65280,"ignition":52,"odometer":null,"unknown_45":7963490066778521600}} 
[2026-10-16 01:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":219350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:06:34] local.INFO: GPS data processed {"connection_id":219350,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:06:34] local.INFO: Acknowledgment sent {"connection_id":219350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:06:56] local.INFO: TCP Data received {"connection_id":216255,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:06:56] local.INFO: Processing buffer {"connection_id":216255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410c7590012d7fac4005afe350001400a62c..."} 
[2026-10-16 01:06:56] local.INFO: Packet analysis {"connection_id":216255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:06:56] local.INFO: Extracted packet for processing {"connection_id":216255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410c"} 
[2026-10-16 01:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":20,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775653632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792092698000,"timestamp_ms":1792092698000,"timestamp_seconds":1792092698,"priority":1,"record_length":96,"hex_timestamp":"000001a1410c7590"} 
[2026-10-16 01:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 01:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775653632001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775653632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:06:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:06:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775653632001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":216255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:06:56] local.INFO: GPS data processed {"connection_id":216255,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:06:56] local.INFO: Acknowledgment sent {"connection_id":216255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:07:06] local.INFO: TCP Data received {"connection_id":219350,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1410ff800012d6e6c8005faf8c80003015730..."} 
[2026-10-16 01:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410ff800012d6e6c8005faf8c80003015730..."} 
[2026-10-16 01:07:06] local.INFO: Processing buffer {"connection_id":219350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410ff800012d6e6c8005faf8c80003015730..."} 
[2026-10-16 01:07:06] local.INFO: Packet analysis {"connection_id":219350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:07:06] local.INFO: Extracted packet for processing {"connection_id":219350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:07:06] local.INFO: GPS Element Parsed {"raw_longitude":762211456,"raw_latitude":100333768,"longitude_deg":76.2211456,"latitude_deg":10.0333768,"altitude":3,"angle":343,"satellites":48,"speed":55,"hex_longitude":"2d6e6c80","hex_latitude":"05faf8c8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775787776001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11932711933444096,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7959971629572102144,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792092928000,"timestamp_ms":1792092928000,"timestamp_seconds":1792092928,"priority":1,"record_length":96,"hex_timestamp":"000001a1410ff800"} 
[2026-10-16 01:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:07: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-10-16 01: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 01:07:06] 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-10-16 01: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-10-16 01:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":219350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":219350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":219350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775787776001,"66":27071,"114":206,"8":65280,"24":55,"16":11932711933444096,"45":7959971629572102144},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,8,24,16,45]} 
[2026-10-16 01:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775787776001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:07:06] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-10-16 01:07:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11932711933444096,"km_value":11932711933444.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7959971629572102144,"description":"Unknown IO ID 45"} 
[2026-10-16 01:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775787776001,"power":27071,"unknown_114":206,"unknown_8":65280,"ignition":55,"odometer":null,"unknown_45":7959971629572102144}} 
[2026-10-16 01:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":219350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:07:06] local.INFO: GPS data processed {"connection_id":219350,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:07:06] local.INFO: Acknowledgment sent {"connection_id":219350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:07:07] local.INFO: TCP Data received {"connection_id":216071,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:07:07] local.INFO: Processing buffer {"connection_id":216071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:07:07] local.INFO: Packet analysis {"connection_id":216071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:07:07] local.INFO: Extracted packet for processing {"connection_id":216071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775711488001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792092924000,"timestamp_ms":1792092924000,"timestamp_seconds":1792092924,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fe860"} 
[2026-10-16 01:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:07:07] 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-10-16 01: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-10-16 01:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775711488001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775711488001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:07:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775711488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":216071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:07:07] local.INFO: GPS data processed {"connection_id":216071,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:07:07] local.INFO: Acknowledgment sent {"connection_id":216071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:07:21] local.INFO: TCP Data received {"connection_id":216072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:07:21] local.INFO: Processing buffer {"connection_id":216072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:07:21] local.INFO: IMEI packet received {"connection_id":216072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":216072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:07:22] local.INFO: TCP Data received {"connection_id":219351,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:07:22] local.INFO: Processing buffer {"connection_id":219351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:07:22] local.INFO: IMEI packet received {"connection_id":219351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":219351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:07:23] local.INFO: TCP Data received {"connection_id":219352,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:07:23] local.INFO: Processing buffer {"connection_id":219352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:07:23] local.INFO: IMEI packet received {"connection_id":219352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":219352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:07:23] local.INFO: TCP Data received {"connection_id":219351,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:07:23] local.INFO: Processing buffer {"connection_id":219351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:07:23] local.INFO: IMEI packet received {"connection_id":219351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":219351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:07:24] local.INFO: TCP Data received {"connection_id":219351,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141101358012d6e62c005fb1d380004015a30..."} 
[2026-10-16 01:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141101358012d6e62c005fb1d380004015a30..."} 
[2026-10-16 01:07:24] local.INFO: Processing buffer {"connection_id":219351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141101358012d6e62c005fb1d380004015a30..."} 
[2026-10-16 01:07:24] local.INFO: Packet analysis {"connection_id":219351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14110"} 
[2026-10-16 01:07:24] local.INFO: Extracted packet for processing {"connection_id":219351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14110"} 
[2026-10-16 01:07:24] local.INFO: GPS Element Parsed {"raw_longitude":762208960,"raw_latitude":100343096,"longitude_deg":76.220896,"latitude_deg":10.0343096,"altitude":4,"angle":346,"satellites":48,"speed":54,"hex_longitude":"2d6e62c0","hex_latitude":"05fb1d38","is_valid_coordinates":true} 
[2026-10-16 01:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775789568001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11933180084879360,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7956875404830623744,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092935000,"timestamp_ms":1792092935000,"timestamp_seconds":1792092935,"priority":1,"record_length":96,"hex_timestamp":"000001a141101358"} 
[2026-10-16 01:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 01:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775789568001,"66":27604,"114":206,"8":65280,"24":54,"16":11933180084879360,"45":7956875404830623744},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,8,24,16,45]} 
[2026-10-16 01:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775789568001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:07:24] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-10-16 01:07:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11933180084879360,"km_value":11933180084879.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7956875404830623744,"description":"Unknown IO ID 45"} 
[2026-10-16 01:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775789568001,"power":27604,"unknown_114":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":7956875404830623744}} 
[2026-10-16 01:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":219351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:07:24] local.INFO: GPS data processed {"connection_id":219351,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:07:24] local.INFO: Acknowledgment sent {"connection_id":219351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:07:27] local.INFO: TCP Data received {"connection_id":216072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:07:27] local.INFO: Processing buffer {"connection_id":216072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:07:27] local.INFO: IMEI packet received {"connection_id":216072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":216072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:07:27] local.INFO: TCP Data received {"connection_id":219351,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141102eb0012d6e5a0005fb41580004015830..."} 
[2026-10-16 01:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141102eb0012d6e5a0005fb41580004015830..."} 
[2026-10-16 01:07:27] local.INFO: Processing buffer {"connection_id":219351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141102eb0012d6e5a0005fb41580004015830..."} 
[2026-10-16 01:07:27] local.INFO: Packet analysis {"connection_id":219351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14110"} 
[2026-10-16 01:07:27] local.INFO: Extracted packet for processing {"connection_id":219351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14110"} 
[2026-10-16 01:07:27] local.INFO: GPS Element Parsed {"raw_longitude":762206720,"raw_latitude":100352344,"longitude_deg":76.220672,"latitude_deg":10.0352344,"altitude":4,"angle":344,"satellites":48,"speed":53,"hex_longitude":"2d6e5a00","hex_latitude":"05fb4158","is_valid_coordinates":true} 
[2026-10-16 01:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775791360001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11933639646380032,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7954131023810082816,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092942000,"timestamp_ms":1792092942000,"timestamp_seconds":1792092942,"priority":1,"record_length":96,"hex_timestamp":"000001a141102eb0"} 
[2026-10-16 01:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 01:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775791360001,"66":27550,"114":206,"8":65280,"24":53,"16":11933639646380032,"45":7954131023810082816},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,8,24,16,45]} 
[2026-10-16 01:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775791360001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:07:27] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-10-16 01:07:27] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11933639646380032,"km_value":11933639646380.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7954131023810082816,"description":"Unknown IO ID 45"} 
[2026-10-16 01:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775791360001,"power":27550,"unknown_114":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7954131023810082816}} 
[2026-10-16 01:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":219351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:07:27] local.INFO: GPS data processed {"connection_id":219351,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:07:27] local.INFO: Acknowledgment sent {"connection_id":219351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:07:28] local.INFO: TCP Data received {"connection_id":219352,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:07:28] local.INFO: Processing buffer {"connection_id":219352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:07:28] local.INFO: IMEI packet received {"connection_id":219352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":219352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:07:28] local.INFO: TCP Data received {"connection_id":216072,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:07:28] local.INFO: Processing buffer {"connection_id":216072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:07:28] local.INFO: Packet analysis {"connection_id":216072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:07:28] local.INFO: Extracted packet for processing {"connection_id":216072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775711488001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792092924000,"timestamp_ms":1792092924000,"timestamp_seconds":1792092924,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fe860"} 
[2026-10-16 01:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:07:28] 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-10-16 01:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775711488001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775711488001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:07:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775711488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":216072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:07:28] local.INFO: GPS data processed {"connection_id":216072,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:07:28] local.INFO: Acknowledgment sent {"connection_id":216072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:07:30] local.INFO: TCP Data received {"connection_id":219352,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:07:30] local.INFO: Processing buffer {"connection_id":219352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:07:30] local.INFO: Packet analysis {"connection_id":219352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:07:30] local.INFO: Extracted packet for processing {"connection_id":219352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":21,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775730688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792092999000,"timestamp_ms":1792092999000,"timestamp_seconds":1792092999,"priority":1,"record_length":96,"hex_timestamp":"000001a141110d58"} 
[2026-10-16 01:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 01:07:30] 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-10-16 01:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775730688001,"66":25745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775730688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:07:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:07:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775730688001,"power":25745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":219352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:07:30] local.INFO: GPS data processed {"connection_id":219352,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:07:30] local.INFO: Acknowledgment sent {"connection_id":219352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:07:33] local.INFO: TCP Data received {"connection_id":219352,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:07:33] local.INFO: Processing buffer {"connection_id":219352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:07:33] local.INFO: Packet analysis {"connection_id":219352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:07:33] local.INFO: Extracted packet for processing {"connection_id":219352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":21,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775730688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792092999000,"timestamp_ms":1792092999000,"timestamp_seconds":1792092999,"priority":1,"record_length":96,"hex_timestamp":"000001a141110d58"} 
[2026-10-16 01:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 01:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775730688001,"66":25745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775730688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:07:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:07:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775730688001,"power":25745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":219352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:07:33] local.INFO: GPS data processed {"connection_id":219352,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:07:33] local.INFO: Acknowledgment sent {"connection_id":219352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:07:59] local.INFO: TCP Data received {"connection_id":216072,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:07:59] local.INFO: Processing buffer {"connection_id":216072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:07:59] local.INFO: Packet analysis {"connection_id":216072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:07:59] local.INFO: Extracted packet for processing {"connection_id":216072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775711488001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792092924000,"timestamp_ms":1792092924000,"timestamp_seconds":1792092924,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fe860"} 
[2026-10-16 01:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775711488001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775711488001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:07:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775711488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":216072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:07:59] local.INFO: GPS data processed {"connection_id":216072,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:07:59] local.INFO: Acknowledgment sent {"connection_id":216072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:08:00] local.INFO: TCP Data received {"connection_id":219351,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141115f60012d6deac005fcc5d0000401582b..."} 
[2026-10-16 01:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141115f60012d6deac005fcc5d0000401582b..."} 
[2026-10-16 01:08:00] local.INFO: Processing buffer {"connection_id":219351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141115f60012d6deac005fcc5d0000401582b..."} 
[2026-10-16 01:08:00] local.INFO: Packet analysis {"connection_id":219351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:00] local.INFO: Extracted packet for processing {"connection_id":219351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:00] local.INFO: GPS Element Parsed {"raw_longitude":762178240,"raw_latitude":100451792,"longitude_deg":76.217824,"latitude_deg":10.0451792,"altitude":4,"angle":344,"satellites":43,"speed":45,"hex_longitude":"2d6deac0","hex_latitude":"05fcc5d0","is_valid_coordinates":true} 
[2026-10-16 01:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775811072001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11938656168181760,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7923379882629728256,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792093020000,"timestamp_ms":1792093020000,"timestamp_seconds":1792093020,"priority":1,"record_length":96,"hex_timestamp":"000001a141115f60"} 
[2026-10-16 01:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 01:08:00] 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-10-16 01:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775811072001,"66":27604,"115":206,"8":65280,"24":45,"16":11938656168181760,"45":7923379882629728256},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,8,24,16,45]} 
[2026-10-16 01:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775811072001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:08:00] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 01:08:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11938656168181760,"km_value":11938656168181.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7923379882629728256,"description":"Unknown IO ID 45"} 
[2026-10-16 01:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775811072001,"power":27604,"unknown_115":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":7923379882629728256}} 
[2026-10-16 01:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":219351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043272,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:08:01] local.INFO: GPS data processed {"connection_id":219351,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:08:01] local.INFO: Acknowledgment sent {"connection_id":219351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:08:17] local.INFO: TCP Data received {"connection_id":217610,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:08:17] local.INFO: Processing buffer {"connection_id":217610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:08:17] local.INFO: IMEI packet received {"connection_id":217610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":217610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:08:23] local.INFO: TCP Data received {"connection_id":217610,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:08:23] local.INFO: Processing buffer {"connection_id":217610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:08:23] local.INFO: IMEI packet received {"connection_id":217610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":217610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:08:24] local.INFO: TCP Data received {"connection_id":217610,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:08:24] local.INFO: Processing buffer {"connection_id":217610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:08:24] local.INFO: Packet analysis {"connection_id":217610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:24] local.INFO: Extracted packet for processing {"connection_id":217610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":21,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775730688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092999000,"timestamp_ms":1792092999000,"timestamp_seconds":1792092999,"priority":1,"record_length":96,"hex_timestamp":"000001a141110d58"} 
[2026-10-16 01:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 01:08:24] 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-10-16 01:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775730688001,"66":25745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775730688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:08:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:08:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775730688001,"power":25745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":217610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:08:24] local.INFO: GPS data processed {"connection_id":217610,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:08:24] local.INFO: Acknowledgment sent {"connection_id":217610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:08:25] local.INFO: TCP Data received {"connection_id":217611,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:08:25] local.INFO: Processing buffer {"connection_id":217611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:08:25] local.INFO: IMEI packet received {"connection_id":217611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":217611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:08:25] local.INFO: TCP Data received {"connection_id":217611,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:08:25] local.INFO: Processing buffer {"connection_id":217611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:08:25] local.INFO: IMEI packet received {"connection_id":217611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":217611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:08:26] local.INFO: TCP Data received {"connection_id":217611,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:08:26] local.INFO: Processing buffer {"connection_id":217611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:08:26] local.INFO: IMEI packet received {"connection_id":217611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":217611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:08:27] local.INFO: TCP Data received {"connection_id":217612,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:08:27] local.INFO: Processing buffer {"connection_id":217612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:08:27] local.INFO: IMEI packet received {"connection_id":217612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":217612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:08:30] local.INFO: TCP Data received {"connection_id":217611,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141117ea0012d6de0c005fce8800005015629..."} 
[2026-10-16 01:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141117ea0012d6de0c005fce8800005015629..."} 
[2026-10-16 01:08:30] local.INFO: Processing buffer {"connection_id":217611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141117ea0012d6de0c005fce8800005015629..."} 
[2026-10-16 01:08:30] local.INFO: Packet analysis {"connection_id":217611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:30] local.INFO: Extracted packet for processing {"connection_id":217611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:30] local.INFO: GPS Element Parsed {"raw_longitude":762175680,"raw_latitude":100460672,"longitude_deg":76.217568,"latitude_deg":10.0460672,"altitude":5,"angle":342,"satellites":41,"speed":47,"hex_longitude":"2d6de0c0","hex_latitude":"05fce880","is_valid_coordinates":true} 
[2026-10-16 01:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775813120001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11939102844780544,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7920354026632630272,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792093028000,"timestamp_ms":1792093028000,"timestamp_seconds":1792093028,"priority":1,"record_length":96,"hex_timestamp":"000001a141117ea0"} 
[2026-10-16 01:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 01:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775813120001,"66":27550,"115":206,"8":65280,"24":47,"16":11939102844780544,"45":7920354026632630272},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,8,24,16,45]} 
[2026-10-16 01:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775813120001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:08:30] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 01:08:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11939102844780544,"km_value":11939102844780.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7920354026632630272,"description":"Unknown IO ID 45"} 
[2026-10-16 01:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775813120001,"power":27550,"unknown_115":206,"unknown_8":65280,"ignition":47,"odometer":null,"unknown_45":7920354026632630272}} 
[2026-10-16 01:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":217611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:08:30] local.INFO: GPS data processed {"connection_id":217611,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:08:30] local.INFO: Acknowledgment sent {"connection_id":217611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:08:32] local.INFO: TCP Data received {"connection_id":217612,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:08:32] local.INFO: Processing buffer {"connection_id":217612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:08:32] local.INFO: IMEI packet received {"connection_id":217612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":217612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:08:33] local.INFO: TCP Data received {"connection_id":217612,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:08:33] local.INFO: Processing buffer {"connection_id":217612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:08:33] local.INFO: Packet analysis {"connection_id":217612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:08:33] local.INFO: Extracted packet for processing {"connection_id":217612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775711488001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792092924000,"timestamp_ms":1792092924000,"timestamp_seconds":1792092924,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fe860"} 
[2026-10-16 01:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:08: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-10-16 01:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775711488001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775711488001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:08:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775711488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":217612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:08:33] local.INFO: GPS data processed {"connection_id":217612,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:08:33] local.INFO: Acknowledgment sent {"connection_id":217612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:08:40] local.INFO: TCP Data received {"connection_id":217611,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141119de0012d6dd68005fd0b580005015f2d..."} 
[2026-10-16 01:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141119de0012d6dd68005fd0b580005015f2d..."} 
[2026-10-16 01:08:40] local.INFO: Processing buffer {"connection_id":217611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141119de0012d6dd68005fd0b580005015f2d..."} 
[2026-10-16 01:08:40] local.INFO: Packet analysis {"connection_id":217611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:40] local.INFO: Extracted packet for processing {"connection_id":217611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:40] local.INFO: GPS Element Parsed {"raw_longitude":762173056,"raw_latitude":100469592,"longitude_deg":76.2173056,"latitude_deg":10.0469592,"altitude":5,"angle":351,"satellites":45,"speed":37,"hex_longitude":"2d6dd680","hex_latitude":"05fd0b58","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775815168001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11939553816346624,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7917539276867796992,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792093036000,"timestamp_ms":1792093036000,"timestamp_seconds":1792093036,"priority":1,"record_length":96,"hex_timestamp":"000001a141119de0"} 
[2026-10-16 01:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:08: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-10-16 01: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-16 01:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":217611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":217611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":217611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775815168001,"66":27713,"115":206,"8":65280,"24":37,"16":11939553816346624,"45":7917539276867796992},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,8,24,16,45]} 
[2026-10-16 01:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775815168001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:08:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 01:08:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11939553816346624,"km_value":11939553816346.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7917539276867796992,"description":"Unknown IO ID 45"} 
[2026-10-16 01:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775815168001,"power":27713,"unknown_115":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":7917539276867796992}} 
[2026-10-16 01:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":217611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:08:40] local.INFO: GPS data processed {"connection_id":217611,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:08:40] local.INFO: Acknowledgment sent {"connection_id":217611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:08:41] local.INFO: TCP Data received {"connection_id":217611,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a14111c8d8012d6dcf4005fd3020000701592e..."} 
[2026-10-16 01:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14111c8d8012d6dcf4005fd3020000701592e..."} 
[2026-10-16 01:08:41] local.INFO: Processing buffer {"connection_id":217611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14111c8d8012d6dcf4005fd3020000701592e..."} 
[2026-10-16 01:08:41] local.INFO: Packet analysis {"connection_id":217611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:41] local.INFO: Extracted packet for processing {"connection_id":217611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:41] local.INFO: GPS Element Parsed {"raw_longitude":762171200,"raw_latitude":100479008,"longitude_deg":76.21712,"latitude_deg":10.0479008,"altitude":7,"angle":345,"satellites":46,"speed":34,"hex_longitude":"2d6dcf40","hex_latitude":"05fd3020","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775817216001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11940017672814592,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7914654158358796288,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792093047000,"timestamp_ms":1792093047000,"timestamp_seconds":1792093047,"priority":1,"record_length":96,"hex_timestamp":"000001a14111c8d8"} 
[2026-10-16 01:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 01:08:41] 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-10-16 01: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-10-16 01:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":217611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":217611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":217611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775817216001,"66":27213,"115":206,"8":65280,"24":34,"16":11940017672814592,"45":7914654158358796288},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,8,24,16,45]} 
[2026-10-16 01:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775817216001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:08:41] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 01:08:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11940017672814592,"km_value":11940017672814.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7914654158358796288,"description":"Unknown IO ID 45"} 
[2026-10-16 01:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775817216001,"power":27213,"unknown_115":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":7914654158358796288}} 
[2026-10-16 01:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":217611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:08:41] local.INFO: GPS data processed {"connection_id":217611,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:08:41] local.INFO: Acknowledgment sent {"connection_id":217611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:08:41] local.INFO: TCP Data received {"connection_id":217612,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:08:41] local.INFO: Processing buffer {"connection_id":217612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:08:41] local.INFO: Packet analysis {"connection_id":217612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:08:41] local.INFO: Extracted packet for processing {"connection_id":217612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775711488001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792092924000,"timestamp_ms":1792092924000,"timestamp_seconds":1792092924,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fe860"} 
[2026-10-16 01:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:08: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-10-16 01: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-10-16 01:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":217612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":217612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":217612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:08:41] 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-10-16 01:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775711488001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775711488001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:08:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775711488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":217612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:08:41] local.INFO: GPS data processed {"connection_id":217612,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:08:41] local.INFO: Acknowledgment sent {"connection_id":217612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:08:56] local.INFO: TCP Data received {"connection_id":217610,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:08:56] local.INFO: Processing buffer {"connection_id":217610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:08:56] local.INFO: Packet analysis {"connection_id":217610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:56] local.INFO: Extracted packet for processing {"connection_id":217610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":21,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775730688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792092999000,"timestamp_ms":1792092999000,"timestamp_seconds":1792092999,"priority":1,"record_length":96,"hex_timestamp":"000001a141110d58"} 
[2026-10-16 01:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:08: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-10-16 01:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 01:08:56] 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-10-16 01: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-10-16 01:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775730688001,"66":25745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775730688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:08:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:08:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775730688001,"power":25745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":217610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:08:56] local.INFO: GPS data processed {"connection_id":217610,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:08:56] local.INFO: Acknowledgment sent {"connection_id":217610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:09:20] local.INFO: TCP Data received {"connection_id":216074,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:09:20] local.INFO: Processing buffer {"connection_id":216074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:09:20] local.INFO: IMEI packet received {"connection_id":216074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":216074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:09:21] local.INFO: TCP Data received {"connection_id":216074,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:09:21] local.INFO: Processing buffer {"connection_id":216074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:09:21] local.INFO: IMEI packet received {"connection_id":216074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":216074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:09:22] local.INFO: TCP Data received {"connection_id":216073,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:09:22] local.INFO: Processing buffer {"connection_id":216073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:09:22] local.INFO: IMEI packet received {"connection_id":216073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":216073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:09:24] local.INFO: TCP Data received {"connection_id":216256,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:09:24] local.INFO: Processing buffer {"connection_id":216256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:09:24] local.INFO: IMEI packet received {"connection_id":216256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":216256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:09:27] local.INFO: TCP Data received {"connection_id":216073,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:09:27] local.INFO: Processing buffer {"connection_id":216073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:09:27] local.INFO: IMEI packet received {"connection_id":216073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":216073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:09:27] local.INFO: TCP Data received {"connection_id":216074,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:09:27] local.INFO: Processing buffer {"connection_id":216074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:09:27] local.INFO: IMEI packet received {"connection_id":216074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":216074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:09:27] local.INFO: TCP Data received {"connection_id":216073,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:09:27] local.INFO: Processing buffer {"connection_id":216073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:09:27] local.INFO: Packet analysis {"connection_id":216073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:09:27] local.INFO: Extracted packet for processing {"connection_id":216073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775711488001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792092924000,"timestamp_ms":1792092924000,"timestamp_seconds":1792092924,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fe860"} 
[2026-10-16 01:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:09:27] 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-10-16 01: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-10-16 01:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775711488001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775711488001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:09:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775711488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":216073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:09:27] local.INFO: GPS data processed {"connection_id":216073,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:09:27] local.INFO: Acknowledgment sent {"connection_id":216073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:09:28] local.INFO: TCP Data received {"connection_id":216256,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:09:28] local.INFO: Processing buffer {"connection_id":216256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:09:28] local.INFO: IMEI packet received {"connection_id":216256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":216256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:09:29] local.INFO: TCP Data received {"connection_id":216256,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:09:29] local.INFO: Processing buffer {"connection_id":216256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:09:29] local.INFO: Packet analysis {"connection_id":216256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:09:29] local.INFO: Extracted packet for processing {"connection_id":216256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:09:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":21,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:09: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-10-16 01:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775730688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792092999000,"timestamp_ms":1792092999000,"timestamp_seconds":1792092999,"priority":1,"record_length":96,"hex_timestamp":"000001a141110d58"} 
[2026-10-16 01:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 01:09:29] 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-10-16 01:09: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-10-16 01:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775730688001,"66":25745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775730688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:09:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:09:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775730688001,"power":25745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":216256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:09:29] local.INFO: GPS data processed {"connection_id":216256,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:09:29] local.INFO: Acknowledgment sent {"connection_id":216256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:09:33] local.INFO: TCP Data received {"connection_id":216074,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a14111efe8012d6dc7c005fd54580005015d2b..."} 
[2026-10-16 01:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14111efe8012d6dc7c005fd54580005015d2b..."} 
[2026-10-16 01:09:33] local.INFO: Processing buffer {"connection_id":216074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14111efe8012d6dc7c005fd54580005015d2b..."} 
[2026-10-16 01:09:33] local.INFO: Packet analysis {"connection_id":216074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:09:33] local.INFO: Extracted packet for processing {"connection_id":216074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:09:33] local.INFO: GPS Element Parsed {"raw_longitude":762169280,"raw_latitude":100488280,"longitude_deg":76.216928,"latitude_deg":10.048828,"altitude":5,"angle":349,"satellites":43,"speed":45,"hex_longitude":"2d6dc7c0","hex_latitude":"05fd5458","is_valid_coordinates":true} 
[2026-10-16 01:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775820032001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11940477234315264,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7912613464780054528,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792093057000,"timestamp_ms":1792093057000,"timestamp_seconds":1792093057,"priority":1,"record_length":96,"hex_timestamp":"000001a14111efe8"} 
[2026-10-16 01:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 01:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775820032001,"66":27517,"115":206,"8":65280,"24":45,"16":11940477234315264,"45":7912613464780054528},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,8,24,16,45]} 
[2026-10-16 01:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775820032001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:09:33] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 01:09:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11940477234315264,"km_value":11940477234315.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7912613464780054528,"description":"Unknown IO ID 45"} 
[2026-10-16 01:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775820032001,"power":27517,"unknown_115":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":7912613464780054528}} 
[2026-10-16 01:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":216074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:09:33] local.INFO: GPS data processed {"connection_id":216074,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:09:33] local.INFO: Acknowledgment sent {"connection_id":216074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:09:59] local.INFO: TCP Data received {"connection_id":216073,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:09:59] local.INFO: Processing buffer {"connection_id":216073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1410fe860012d7c240005dad510001400ea23..."} 
[2026-10-16 01:09:59] local.INFO: Packet analysis {"connection_id":216073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:09:59] local.INFO: Extracted packet for processing {"connection_id":216073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1410f"} 
[2026-10-16 01:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":20,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775711488001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792092924000,"timestamp_ms":1792092924000,"timestamp_seconds":1792092924,"priority":1,"record_length":96,"hex_timestamp":"000001a1410fe860"} 
[2026-10-16 01:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775711488001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775711488001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:09:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775711488001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":216073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:09:59] local.INFO: GPS data processed {"connection_id":216073,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:09:59] local.INFO: Acknowledgment sent {"connection_id":216073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:10:01] local.INFO: TCP Data received {"connection_id":216256,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:10:01] local.INFO: Processing buffer {"connection_id":216256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:10:01] local.INFO: Packet analysis {"connection_id":216256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:10:01] local.INFO: Extracted packet for processing {"connection_id":216256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":21,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775730688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792092999000,"timestamp_ms":1792092999000,"timestamp_seconds":1792092999,"priority":1,"record_length":96,"hex_timestamp":"000001a141110d58"} 
[2026-10-16 01:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 01:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775730688001,"66":25745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775730688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:10:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:10:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775730688001,"power":25745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":216256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:10:01] local.INFO: GPS data processed {"connection_id":216256,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:10:01] local.INFO: Acknowledgment sent {"connection_id":216256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:10:06] local.INFO: TCP Data received {"connection_id":216074,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141134b90012d6d600005fedec8000301512b..."} 
[2026-10-16 01:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141134b90012d6d600005fedec8000301512b..."} 
[2026-10-16 01:10:06] local.INFO: Processing buffer {"connection_id":216074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141134b90012d6d600005fedec8000301512b..."} 
[2026-10-16 01:10:06] local.INFO: Packet analysis {"connection_id":216074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14113"} 
[2026-10-16 01:10:06] local.INFO: Extracted packet for processing {"connection_id":216074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14113"} 
[2026-10-16 01:10:06] local.INFO: GPS Element Parsed {"raw_longitude":762142720,"raw_latitude":100589256,"longitude_deg":76.214272,"latitude_deg":10.0589256,"altitude":3,"angle":337,"satellites":43,"speed":47,"hex_longitude":"2d6d6000","hex_latitude":"05fedec8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775843328001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11945618310168576,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7885240023320768512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792093146000,"timestamp_ms":1792093146000,"timestamp_seconds":1792093146,"priority":1,"record_length":96,"hex_timestamp":"000001a141134b90"} 
[2026-10-16 01:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 01:10: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-10-16 01: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-10-16 01:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775843328001,"66":27234,"213":206,"8":65280,"24":47,"16":11945618310168576,"45":7885240023320768512},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,8,24,16,45]} 
[2026-10-16 01:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775843328001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:10:06] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-10-16 01:10:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11945618310168576,"km_value":11945618310168.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7885240023320768512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775843328001,"power":27234,"unknown_213":206,"unknown_8":65280,"ignition":47,"odometer":null,"unknown_45":7885240023320768512}} 
[2026-10-16 01:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":216074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:10:06] local.INFO: GPS data processed {"connection_id":216074,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:10:06] local.INFO: Acknowledgment sent {"connection_id":216074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:10:17] local.INFO: TCP Data received {"connection_id":216257,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:10:17] local.INFO: Processing buffer {"connection_id":216257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:10:17] local.INFO: IMEI packet received {"connection_id":216257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":216257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:10:21] local.INFO: TCP Data received {"connection_id":216075,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:10:21] local.INFO: Processing buffer {"connection_id":216075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:10:21] local.INFO: IMEI packet received {"connection_id":216075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":216075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:10:22] local.INFO: TCP Data received {"connection_id":219353,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:10:22] local.INFO: Processing buffer {"connection_id":219353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:10:22] local.INFO: IMEI packet received {"connection_id":219353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":219353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:10:22] local.INFO: TCP Data received {"connection_id":216075,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:10:22] local.INFO: Processing buffer {"connection_id":216075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:10:22] local.INFO: IMEI packet received {"connection_id":216075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":216075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:10:23] local.INFO: TCP Data received {"connection_id":216257,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:10:23] local.INFO: Processing buffer {"connection_id":216257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:10:23] local.INFO: IMEI packet received {"connection_id":216257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":216257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:10:24] local.INFO: TCP Data received {"connection_id":216257,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:10:24] local.INFO: Processing buffer {"connection_id":216257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:10:24] local.INFO: Packet analysis {"connection_id":216257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:10:24] local.INFO: Extracted packet for processing {"connection_id":216257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":21,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775730688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092999000,"timestamp_ms":1792092999000,"timestamp_seconds":1792092999,"priority":1,"record_length":96,"hex_timestamp":"000001a141110d58"} 
[2026-10-16 01:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 01:10:24] 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-10-16 01:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775730688001,"66":25745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775730688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:10:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:10:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775730688001,"power":25745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":216257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:10:24] local.INFO: GPS data processed {"connection_id":216257,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:10:24] local.INFO: Acknowledgment sent {"connection_id":216257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:10:27] local.INFO: TCP Data received {"connection_id":219353,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:10:27] local.INFO: Processing buffer {"connection_id":219353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:10:27] local.INFO: IMEI packet received {"connection_id":219353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":219353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:10:27] local.INFO: TCP Data received {"connection_id":219353,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:10:27] local.INFO: Processing buffer {"connection_id":219353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:10:27] local.INFO: Packet analysis {"connection_id":219353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:10:27] local.INFO: Extracted packet for processing {"connection_id":219353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:10:27] 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-10-16 01:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:10:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":219353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:10:27] local.INFO: GPS data processed {"connection_id":219353,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:10:27] local.INFO: Acknowledgment sent {"connection_id":219353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:10:28] local.INFO: TCP Data received {"connection_id":216075,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:10:28] local.INFO: Processing buffer {"connection_id":216075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:10:28] local.INFO: IMEI packet received {"connection_id":216075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":216075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:10:37] local.INFO: TCP Data received {"connection_id":216075,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141136300012d6d574005fef9300003015e2f..."} 
[2026-10-16 01:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141136300012d6d574005fef9300003015e2f..."} 
[2026-10-16 01:10:37] local.INFO: Processing buffer {"connection_id":216075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141136300012d6d574005fef9300003015e2f..."} 
[2026-10-16 01:10:37] local.INFO: Packet analysis {"connection_id":216075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14113"} 
[2026-10-16 01:10:37] local.INFO: Extracted packet for processing {"connection_id":216075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14113"} 
[2026-10-16 01:10:37] local.INFO: GPS Element Parsed {"raw_longitude":762140480,"raw_latitude":100596016,"longitude_deg":76.214048,"latitude_deg":10.0596016,"altitude":3,"angle":350,"satellites":47,"speed":48,"hex_longitude":"2d6d5740","hex_latitude":"05fef930","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775845376001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11945961907552256,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7881299373649217536,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792093152000,"timestamp_ms":1792093152000,"timestamp_seconds":1792093152,"priority":1,"record_length":96,"hex_timestamp":"000001a141136300"} 
[2026-10-16 01:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:10: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-10-16 01:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 01:10: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-10-16 01: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-10-16 01:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775845376001,"66":27691,"213":206,"8":65280,"24":48,"16":11945961907552256,"45":7881299373649217536},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,8,24,16,45]} 
[2026-10-16 01:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775845376001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:10:37] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-10-16 01:10:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11945961907552256,"km_value":11945961907552.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7881299373649217536,"description":"Unknown IO ID 45"} 
[2026-10-16 01:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775845376001,"power":27691,"unknown_213":206,"unknown_8":65280,"ignition":48,"odometer":null,"unknown_45":7881299373649217536}} 
[2026-10-16 01:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":216075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:10:37] local.INFO: GPS data processed {"connection_id":216075,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:10:37] local.INFO: Acknowledgment sent {"connection_id":216075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:10:38] local.INFO: TCP Data received {"connection_id":216075,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141138240012d6d524005ff1eb80003015c2e..."} 
[2026-10-16 01:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141138240012d6d524005ff1eb80003015c2e..."} 
[2026-10-16 01:10:38] local.INFO: Processing buffer {"connection_id":216075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141138240012d6d524005ff1eb80003015c2e..."} 
[2026-10-16 01:10:38] local.INFO: Packet analysis {"connection_id":216075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14113"} 
[2026-10-16 01:10:38] local.INFO: Extracted packet for processing {"connection_id":216075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14113"} 
[2026-10-16 01:10:38] local.INFO: GPS Element Parsed {"raw_longitude":762139200,"raw_latitude":100605624,"longitude_deg":76.21392,"latitude_deg":10.0605624,"altitude":3,"angle":348,"satellites":46,"speed":46,"hex_longitude":"2d6d5240","hex_latitude":"05ff1eb8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775846912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11946434353954816,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7878836467604729856,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792093160000,"timestamp_ms":1792093160000,"timestamp_seconds":1792093160,"priority":1,"record_length":96,"hex_timestamp":"000001a141138240"} 
[2026-10-16 01:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:10: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-10-16 01:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-10-16 01:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775846912001,"66":27789,"213":206,"8":65280,"24":46,"16":11946434353954816,"45":7878836467604729856},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,8,24,16,45]} 
[2026-10-16 01:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775846912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:10:38] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-10-16 01:10:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11946434353954816,"km_value":11946434353954.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7878836467604729856,"description":"Unknown IO ID 45"} 
[2026-10-16 01:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775846912001,"power":27789,"unknown_213":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":7878836467604729856}} 
[2026-10-16 01:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":216075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:10:38] local.INFO: GPS data processed {"connection_id":216075,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:10:38] local.INFO: Acknowledgment sent {"connection_id":216075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:10:56] local.INFO: TCP Data received {"connection_id":216257,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:10:56] local.INFO: Processing buffer {"connection_id":216257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:10:56] local.INFO: Packet analysis {"connection_id":216257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:10:56] local.INFO: Extracted packet for processing {"connection_id":216257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":21,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775730688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792092999000,"timestamp_ms":1792092999000,"timestamp_seconds":1792092999,"priority":1,"record_length":96,"hex_timestamp":"000001a141110d58"} 
[2026-10-16 01:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:10: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-10-16 01:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 01:10:56] 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-10-16 01:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775730688001,"66":25745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775730688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:10:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:10:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775730688001,"power":25745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":216257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:10:56] local.INFO: GPS data processed {"connection_id":216257,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:10:56] local.INFO: Acknowledgment sent {"connection_id":216257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:10:58] local.INFO: TCP Data received {"connection_id":219353,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:10:58] local.INFO: Processing buffer {"connection_id":219353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:10:58] local.INFO: Packet analysis {"connection_id":219353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:10:58] local.INFO: Extracted packet for processing {"connection_id":219353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:10:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:10:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":219353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:10:58] local.INFO: GPS data processed {"connection_id":219353,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:10:58] local.INFO: Acknowledgment sent {"connection_id":219353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:11:17] local.INFO: TCP Data received {"connection_id":216258,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:11:17] local.INFO: Processing buffer {"connection_id":216258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:11:17] local.INFO: IMEI packet received {"connection_id":216258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":216258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:11:21] local.INFO: TCP Data received {"connection_id":217613,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:11:21] local.INFO: Processing buffer {"connection_id":217613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:11:21] local.INFO: IMEI packet received {"connection_id":217613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":217613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:11:21] local.INFO: TCP Data received {"connection_id":217614,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:11:21] local.INFO: Processing buffer {"connection_id":217614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:11:21] local.INFO: IMEI packet received {"connection_id":217614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":217614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:11:23] local.INFO: TCP Data received {"connection_id":216258,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:11:23] local.INFO: Processing buffer {"connection_id":216258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:11:23] local.INFO: IMEI packet received {"connection_id":216258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":216258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:11:24] local.INFO: TCP Data received {"connection_id":216258,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:11:24] local.INFO: Processing buffer {"connection_id":216258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:11:24] local.INFO: Packet analysis {"connection_id":216258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:11:24] local.INFO: Extracted packet for processing {"connection_id":216258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:11:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":21,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:11: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-10-16 01:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775730688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792092999000,"timestamp_ms":1792092999000,"timestamp_seconds":1792092999,"priority":1,"record_length":96,"hex_timestamp":"000001a141110d58"} 
[2026-10-16 01:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 01:11:24] 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-10-16 01:11: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-10-16 01:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775730688001,"66":25745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775730688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:11:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:11:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775730688001,"power":25745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":216258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:11:24] local.INFO: GPS data processed {"connection_id":216258,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:11:24] local.INFO: Acknowledgment sent {"connection_id":216258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:11:27] local.INFO: TCP Data received {"connection_id":217613,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:11:27] local.INFO: Processing buffer {"connection_id":217613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:11:27] local.INFO: IMEI packet received {"connection_id":217613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":217613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:11:27] local.INFO: TCP Data received {"connection_id":217614,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:11:27] local.INFO: Processing buffer {"connection_id":217614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:11:27] local.INFO: IMEI packet received {"connection_id":217614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":217614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:11:27] local.INFO: TCP Data received {"connection_id":217613,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:11:27] local.INFO: Processing buffer {"connection_id":217613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:11:27] local.INFO: Packet analysis {"connection_id":217613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:11:27] local.INFO: Extracted packet for processing {"connection_id":217613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:11:27] 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-10-16 01: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-10-16 01:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:11:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":217613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:11:28] local.INFO: GPS data processed {"connection_id":217613,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:11:28] local.INFO: Acknowledgment sent {"connection_id":217613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:11:28] local.INFO: TCP Data received {"connection_id":217614,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a14113a180012d6d4a4005ff43300004015931..."} 
[2026-10-16 01:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14113a180012d6d4a4005ff43300004015931..."} 
[2026-10-16 01:11:28] local.INFO: Processing buffer {"connection_id":217614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14113a180012d6d4a4005ff43300004015931..."} 
[2026-10-16 01:11:28] local.INFO: Packet analysis {"connection_id":217614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14113"} 
[2026-10-16 01:11:28] local.INFO: Extracted packet for processing {"connection_id":217614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14113"} 
[2026-10-16 01:11:28] local.INFO: GPS Element Parsed {"raw_longitude":762137152,"raw_latitude":100614960,"longitude_deg":76.2137152,"latitude_deg":10.061496,"altitude":4,"angle":345,"satellites":49,"speed":48,"hex_longitude":"2d6d4a40","hex_latitude":"05ff4330","is_valid_coordinates":true} 
[2026-10-16 01:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775848960001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11946898210422784,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7877429092723636224,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792093168000,"timestamp_ms":1792093168000,"timestamp_seconds":1792093168,"priority":1,"record_length":96,"hex_timestamp":"000001a14113a180"} 
[2026-10-16 01:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-10-16 01:11:28] 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-10-16 01:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775848960001,"66":27604,"214":206,"8":65280,"24":48,"16":11946898210422784,"45":7877429092723636224},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,8,24,16,45]} 
[2026-10-16 01:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775848960001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:11:28] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-10-16 01:11:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11946898210422784,"km_value":11946898210422.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7877429092723636224,"description":"Unknown IO ID 45"} 
[2026-10-16 01:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775848960001,"power":27604,"unknown_214":206,"unknown_8":65280,"ignition":48,"odometer":null,"unknown_45":7877429092723636224}} 
[2026-10-16 01:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":217614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043294,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:11:28] local.INFO: GPS data processed {"connection_id":217614,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:11:28] local.INFO: Acknowledgment sent {"connection_id":217614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:11:56] local.INFO: TCP Data received {"connection_id":216258,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:11:56] local.INFO: Processing buffer {"connection_id":216258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141110d58012d7fac4005afe350001500a62c..."} 
[2026-10-16 01:11:56] local.INFO: Packet analysis {"connection_id":216258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:11:56] local.INFO: Extracted packet for processing {"connection_id":216258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14111"} 
[2026-10-16 01:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":21,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775730688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792092999000,"timestamp_ms":1792092999000,"timestamp_seconds":1792092999,"priority":1,"record_length":96,"hex_timestamp":"000001a141110d58"} 
[2026-10-16 01:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:11: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-10-16 01:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 01:11:56] 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-10-16 01:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775730688001,"66":25745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775730688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:11:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:11:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775730688001,"power":25745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":216258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:11:56] local.INFO: GPS data processed {"connection_id":216258,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:11:56] local.INFO: Acknowledgment sent {"connection_id":216258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:11:59] local.INFO: TCP Data received {"connection_id":217613,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:11:59] local.INFO: Processing buffer {"connection_id":217613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:11:59] local.INFO: Packet analysis {"connection_id":217613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:11:59] local.INFO: Extracted packet for processing {"connection_id":217613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:11: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-10-16 01:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:11: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-10-16 01:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:11:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":217613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:11:59] local.INFO: GPS data processed {"connection_id":217613,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:11:59] local.INFO: Acknowledgment sent {"connection_id":217613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:11:59] local.INFO: TCP Data received {"connection_id":217614,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a14114f940012d6d04000600d2a8000301612b..."} 
[2026-10-16 01:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14114f940012d6d04000600d2a8000301612b..."} 
[2026-10-16 01:11:59] local.INFO: Processing buffer {"connection_id":217614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14114f940012d6d04000600d2a8000301612b..."} 
[2026-10-16 01:11:59] local.INFO: Packet analysis {"connection_id":217614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:11:59] local.INFO: Extracted packet for processing {"connection_id":217614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:11:59] local.INFO: GPS Element Parsed {"raw_longitude":762119168,"raw_latitude":100717224,"longitude_deg":76.2119168,"latitude_deg":10.0717224,"altitude":3,"angle":353,"satellites":43,"speed":49,"hex_longitude":"2d6d0400","hex_latitude":"0600d2a8","is_valid_coordinates":true} 
[2026-10-16 01:11: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-10-16 01:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775871744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11951944796995584,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7856459206985005056,"note":"Value kept but may cause issues"} 
[2026-10-16 01:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093256000,"timestamp_ms":1792093256000,"timestamp_seconds":1792093256,"priority":1,"record_length":96,"hex_timestamp":"000001a14114f940"} 
[2026-10-16 01:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 01:11:59] 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-10-16 01:11: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-10-16 01:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775871744001,"66":27517,"2":206,"8":65280,"24":49,"16":11951944796995584,"45":7856459206985005056},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,8,24,16,45]} 
[2026-10-16 01:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775871744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:11:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11951944796995584,"km_value":11951944796995.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7856459206985005056,"description":"Unknown IO ID 45"} 
[2026-10-16 01:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775871744001,"power":27517,"power_alt":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":7856459206985005056}} 
[2026-10-16 01:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":217614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:11:59] local.INFO: GPS data processed {"connection_id":217614,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:11:59] local.INFO: Acknowledgment sent {"connection_id":217614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:12:21] local.INFO: TCP Data received {"connection_id":216260,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:12:21] local.INFO: Processing buffer {"connection_id":216260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:12:21] local.INFO: IMEI packet received {"connection_id":216260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":216260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:12:23] local.INFO: TCP Data received {"connection_id":216259,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:12:23] local.INFO: Processing buffer {"connection_id":216259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:12:23] local.INFO: IMEI packet received {"connection_id":216259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":216259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:12:27] local.INFO: TCP Data received {"connection_id":216260,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:12:27] local.INFO: Processing buffer {"connection_id":216260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:12:27] local.INFO: IMEI packet received {"connection_id":216260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":216260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:12:27] local.INFO: TCP Data received {"connection_id":216076,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:12:27] local.INFO: Processing buffer {"connection_id":216076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:12:27] local.INFO: IMEI packet received {"connection_id":216076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":216076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:12:27] local.INFO: TCP Data received {"connection_id":216076,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:12:27] local.INFO: Processing buffer {"connection_id":216076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:12:27] local.INFO: IMEI packet received {"connection_id":216076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":216076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:12:28] local.INFO: TCP Data received {"connection_id":216260,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:12:28] local.INFO: Processing buffer {"connection_id":216260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:12:28] local.INFO: Packet analysis {"connection_id":216260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:12:28] local.INFO: Extracted packet for processing {"connection_id":216260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:12:28] 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-10-16 01: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-10-16 01:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:12:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":216260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:12:28] local.INFO: GPS data processed {"connection_id":216260,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:12:28] local.INFO: Acknowledgment sent {"connection_id":216260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:12:28] local.INFO: TCP Data received {"connection_id":216259,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:12:28] local.INFO: Processing buffer {"connection_id":216259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:12:28] local.INFO: IMEI packet received {"connection_id":216259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":216259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:12:29] local.INFO: TCP Data received {"connection_id":216259,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:12:29] local.INFO: Processing buffer {"connection_id":216259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:12:29] local.INFO: Packet analysis {"connection_id":216259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:12:29] local.INFO: Extracted packet for processing {"connection_id":216259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775807744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792093300000,"timestamp_ms":1792093300000,"timestamp_seconds":1792093300,"priority":1,"record_length":96,"hex_timestamp":"000001a14115a520"} 
[2026-10-16 01:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 01:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775807744001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775807744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:12:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:12:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775807744001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":216259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:12:29] local.INFO: GPS data processed {"connection_id":216259,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:12:29] local.INFO: Acknowledgment sent {"connection_id":216259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:12:31] local.INFO: TCP Data received {"connection_id":216076,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:12:31] local.INFO: Processing buffer {"connection_id":216076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:12:31] local.INFO: IMEI packet received {"connection_id":216076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":216076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:12:32] local.INFO: TCP Data received {"connection_id":216076,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141151880012d6cff800600f7b8000301672b..."} 
[2026-10-16 01:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141151880012d6cff800600f7b8000301672b..."} 
[2026-10-16 01:12:32] local.INFO: Processing buffer {"connection_id":216076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141151880012d6cff800600f7b8000301672b..."} 
[2026-10-16 01:12:32] local.INFO: Packet analysis {"connection_id":216076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:12:32] local.INFO: Extracted packet for processing {"connection_id":216076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:12:32] local.INFO: GPS Element Parsed {"raw_longitude":762118016,"raw_latitude":100726712,"longitude_deg":76.2118016,"latitude_deg":10.0726712,"altitude":3,"angle":359,"satellites":43,"speed":48,"hex_longitude":"2d6cff80","hex_latitude":"0600f7b8","is_valid_coordinates":true} 
[2026-10-16 01:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775873536001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11952408653463552,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7855403675824596992,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792093264000,"timestamp_ms":1792093264000,"timestamp_seconds":1792093264,"priority":1,"record_length":96,"hex_timestamp":"000001a141151880"} 
[2026-10-16 01:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 01:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775873536001,"66":27604,"2":206,"8":65280,"24":48,"16":11952408653463552,"45":7855403675824596992},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,8,24,16,45]} 
[2026-10-16 01:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775873536001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:12:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11952408653463552,"km_value":11952408653463.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7855403675824596992,"description":"Unknown IO ID 45"} 
[2026-10-16 01:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775873536001,"power":27604,"power_alt":206,"unknown_8":65280,"ignition":48,"odometer":null,"unknown_45":7855403675824596992}} 
[2026-10-16 01:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":216076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:12:32] local.INFO: GPS data processed {"connection_id":216076,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:12:32] local.INFO: Acknowledgment sent {"connection_id":216076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:12:34] local.INFO: TCP Data received {"connection_id":216259,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:12:34] local.INFO: Processing buffer {"connection_id":216259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:12:34] local.INFO: Packet analysis {"connection_id":216259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:12:34] local.INFO: Extracted packet for processing {"connection_id":216259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775807744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792093300000,"timestamp_ms":1792093300000,"timestamp_seconds":1792093300,"priority":1,"record_length":96,"hex_timestamp":"000001a14115a520"} 
[2026-10-16 01:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 01:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775807744001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775807744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:12:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:12:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775807744001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":216259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:12:34] local.INFO: GPS data processed {"connection_id":216259,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:12:34] local.INFO: Acknowledgment sent {"connection_id":216259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:12:59] local.INFO: TCP Data received {"connection_id":216260,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:12:59] local.INFO: Processing buffer {"connection_id":216260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:12:59] local.INFO: Packet analysis {"connection_id":216260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:12:59] local.INFO: Extracted packet for processing {"connection_id":216260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:12:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":216260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:12:59] local.INFO: GPS data processed {"connection_id":216260,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:12:59] local.INFO: Acknowledgment sent {"connection_id":216260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:13:04] local.INFO: TCP Data received {"connection_id":216076,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1411537c0012d6cfd4006011e00000401602d..."} 
[2026-10-16 01:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411537c0012d6cfd4006011e00000401602d..."} 
[2026-10-16 01:13:04] local.INFO: Processing buffer {"connection_id":216076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411537c0012d6cfd4006011e00000401602d..."} 
[2026-10-16 01:13:04] local.INFO: Packet analysis {"connection_id":216076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:13:04] local.INFO: Extracted packet for processing {"connection_id":216076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:13:04] local.INFO: GPS Element Parsed {"raw_longitude":762117440,"raw_latitude":100736512,"longitude_deg":76.211744,"latitude_deg":10.0736512,"altitude":4,"angle":352,"satellites":45,"speed":44,"hex_longitude":"2d6cfd40","hex_latitude":"06011e00","is_valid_coordinates":true} 
[2026-10-16 01:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775875584001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11952885394833408,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854137038431827968,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792093272000,"timestamp_ms":1792093272000,"timestamp_seconds":1792093272,"priority":1,"record_length":96,"hex_timestamp":"000001a1411537c0"} 
[2026-10-16 01:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 01:13:04] 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-10-16 01:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775875584001,"66":27571,"2":206,"8":65280,"24":44,"16":11952885394833408,"45":7854137038431827968},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,8,24,16,45]} 
[2026-10-16 01:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775875584001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:13:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11952885394833408,"km_value":11952885394833.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854137038431827968,"description":"Unknown IO ID 45"} 
[2026-10-16 01:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775875584001,"power":27571,"power_alt":206,"unknown_8":65280,"ignition":44,"odometer":null,"unknown_45":7854137038431827968}} 
[2026-10-16 01:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":216076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:13:04] local.INFO: GPS data processed {"connection_id":216076,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:13:04] local.INFO: Acknowledgment sent {"connection_id":216076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:13:17] local.INFO: TCP Data received {"connection_id":217615,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:13:17] local.INFO: Processing buffer {"connection_id":217615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:13:17] local.INFO: IMEI packet received {"connection_id":217615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":217615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:13:21] local.INFO: TCP Data received {"connection_id":219355,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:13:21] local.INFO: Processing buffer {"connection_id":219355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:13:21] local.INFO: IMEI packet received {"connection_id":219355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":219355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:13:21] local.INFO: TCP Data received {"connection_id":219354,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:13:21] local.INFO: Processing buffer {"connection_id":219354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:13:21] local.INFO: IMEI packet received {"connection_id":219354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":219354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:13:23] local.INFO: TCP Data received {"connection_id":217615,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:13:23] local.INFO: Processing buffer {"connection_id":217615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:13:23] local.INFO: IMEI packet received {"connection_id":217615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":217615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:13:24] local.INFO: TCP Data received {"connection_id":219354,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:13:24] local.INFO: Processing buffer {"connection_id":219354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:13:24] local.INFO: IMEI packet received {"connection_id":219354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":219354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:13:24] local.INFO: TCP Data received {"connection_id":217615,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:13:24] local.INFO: Processing buffer {"connection_id":217615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:13:24] local.INFO: Packet analysis {"connection_id":217615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:13:24] local.INFO: Extracted packet for processing {"connection_id":217615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775807744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792093300000,"timestamp_ms":1792093300000,"timestamp_seconds":1792093300,"priority":1,"record_length":96,"hex_timestamp":"000001a14115a520"} 
[2026-10-16 01:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 01:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775807744001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775807744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:13:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:13:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775807744001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":217615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:13:24] local.INFO: GPS data processed {"connection_id":217615,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:13:24] local.INFO: Acknowledgment sent {"connection_id":217615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:13:26] local.INFO: TCP Data received {"connection_id":219354,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:13:26] local.INFO: Processing buffer {"connection_id":219354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:13:26] local.INFO: IMEI packet received {"connection_id":219354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":219354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:13:27] local.INFO: TCP Data received {"connection_id":219355,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:13:27] local.INFO: Processing buffer {"connection_id":219355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:13:27] local.INFO: IMEI packet received {"connection_id":219355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":219355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:13:27] local.INFO: TCP Data received {"connection_id":219354,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1411562b8012d6cf640060143880003015b2d..."} 
[2026-10-16 01:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411562b8012d6cf640060143880003015b2d..."} 
[2026-10-16 01:13:27] local.INFO: Processing buffer {"connection_id":219354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411562b8012d6cf640060143880003015b2d..."} 
[2026-10-16 01:13:27] local.INFO: Packet analysis {"connection_id":219354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:13:27] local.INFO: Extracted packet for processing {"connection_id":219354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:13:27] local.INFO: GPS Element Parsed {"raw_longitude":762115648,"raw_latitude":100746120,"longitude_deg":76.2115648,"latitude_deg":10.074612,"altitude":3,"angle":347,"satellites":45,"speed":38,"hex_longitude":"2d6cf640","hex_latitude":"06014388","is_valid_coordinates":true} 
[2026-10-16 01:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775877632001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11953362136203264,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7853503719736737792,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792093283000,"timestamp_ms":1792093283000,"timestamp_seconds":1792093283,"priority":1,"record_length":96,"hex_timestamp":"000001a1411562b8"} 
[2026-10-16 01:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 01:13:27] 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-10-16 01:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775877632001,"66":26832,"2":206,"8":65280,"24":38,"16":11953362136203264,"45":7853503719736737792},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,8,24,16,45]} 
[2026-10-16 01:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775877632001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:13:27] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11953362136203264,"km_value":11953362136203.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7853503719736737792,"description":"Unknown IO ID 45"} 
[2026-10-16 01:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775877632001,"power":26832,"power_alt":206,"unknown_8":65280,"ignition":38,"odometer":null,"unknown_45":7853503719736737792}} 
[2026-10-16 01:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":219354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:13:28] local.INFO: GPS data processed {"connection_id":219354,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:13:28] local.INFO: Acknowledgment sent {"connection_id":219354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:13:30] local.INFO: TCP Data received {"connection_id":219355,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:13:30] local.INFO: Processing buffer {"connection_id":219355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:13:30] local.INFO: Packet analysis {"connection_id":219355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:13:30] local.INFO: Extracted packet for processing {"connection_id":219355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:13: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-10-16 01:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:13:30] 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-10-16 01:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:13:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:13:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":219355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:13:30] local.INFO: GPS data processed {"connection_id":219355,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:13:30] local.INFO: Acknowledgment sent {"connection_id":219355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:13:56] local.INFO: TCP Data received {"connection_id":217615,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:13:56] local.INFO: Processing buffer {"connection_id":217615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:13:56] local.INFO: Packet analysis {"connection_id":217615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:13:56] local.INFO: Extracted packet for processing {"connection_id":217615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775807744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792093300000,"timestamp_ms":1792093300000,"timestamp_seconds":1792093300,"priority":1,"record_length":96,"hex_timestamp":"000001a14115a520"} 
[2026-10-16 01:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 01:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775807744001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775807744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:13:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:13:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775807744001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":217615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:13:56] local.INFO: GPS data processed {"connection_id":217615,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:13:56] local.INFO: Acknowledgment sent {"connection_id":217615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:13:59] local.INFO: TCP Data received {"connection_id":219354,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a14116e570012d6c8e00060305580005015b2b..."} 
[2026-10-16 01:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14116e570012d6c8e00060305580005015b2b..."} 
[2026-10-16 01:13:59] local.INFO: Processing buffer {"connection_id":219354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14116e570012d6c8e00060305580005015b2b..."} 
[2026-10-16 01:13:59] local.INFO: Packet analysis {"connection_id":219354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14116"} 
[2026-10-16 01:13:59] local.INFO: Extracted packet for processing {"connection_id":219354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14116"} 
[2026-10-16 01:13:59] local.INFO: GPS Element Parsed {"raw_longitude":762088960,"raw_latitude":100861272,"longitude_deg":76.208896,"latitude_deg":10.0861272,"altitude":5,"angle":347,"satellites":43,"speed":46,"hex_longitude":"2d6c8e00","hex_latitude":"06030558","is_valid_coordinates":true} 
[2026-10-16 01:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775903744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11959091622576128,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7824582165909227520,"note":"Value kept but may cause issues"} 
[2026-10-16 01:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093382000,"timestamp_ms":1792093382000,"timestamp_seconds":1792093382,"priority":1,"record_length":96,"hex_timestamp":"000001a14116e570"} 
[2026-10-16 01:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 01:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775903744001,"66":27430,"172":206,"8":65280,"24":46,"16":11959091622576128,"45":7824582165909227520},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,8,24,16,45]} 
[2026-10-16 01:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775903744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:13:59] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-10-16 01:13:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11959091622576128,"km_value":11959091622576.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7824582165909227520,"description":"Unknown IO ID 45"} 
[2026-10-16 01:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775903744001,"power":27430,"unknown_172":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":7824582165909227520}} 
[2026-10-16 01:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":219354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:13:59] local.INFO: GPS data processed {"connection_id":219354,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:13:59] local.INFO: Acknowledgment sent {"connection_id":219354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:14:01] local.INFO: TCP Data received {"connection_id":219355,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:14:01] local.INFO: Processing buffer {"connection_id":219355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:14:01] local.INFO: Packet analysis {"connection_id":219355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:14:01] local.INFO: Extracted packet for processing {"connection_id":219355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:14:01] 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-10-16 01:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:14:01] 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-10-16 01:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:14:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":219355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:14:01] local.INFO: GPS data processed {"connection_id":219355,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:14:01] local.INFO: Acknowledgment sent {"connection_id":219355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:14:17] local.INFO: TCP Data received {"connection_id":219356,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:14:17] local.INFO: Processing buffer {"connection_id":219356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:14:17] local.INFO: IMEI packet received {"connection_id":219356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":219356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:14:21] local.INFO: TCP Data received {"connection_id":217616,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:14:21] local.INFO: Processing buffer {"connection_id":217616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:14:21] local.INFO: IMEI packet received {"connection_id":217616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":217616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:14:23] local.INFO: TCP Data received {"connection_id":219356,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:14:23] local.INFO: Processing buffer {"connection_id":219356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:14:23] local.INFO: IMEI packet received {"connection_id":219356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":219356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:14:24] local.INFO: TCP Data received {"connection_id":219356,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:14:24] local.INFO: Processing buffer {"connection_id":219356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:14:24] local.INFO: Packet analysis {"connection_id":219356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:14:24] local.INFO: Extracted packet for processing {"connection_id":219356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775807744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792093300000,"timestamp_ms":1792093300000,"timestamp_seconds":1792093300,"priority":1,"record_length":96,"hex_timestamp":"000001a14115a520"} 
[2026-10-16 01:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 01:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:14: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-10-16 01:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775807744001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775807744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:14:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:14:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775807744001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":219356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:14:24] local.INFO: GPS data processed {"connection_id":219356,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:14:24] local.INFO: Acknowledgment sent {"connection_id":219356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:14:27] local.INFO: TCP Data received {"connection_id":219357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:14:27] local.INFO: Processing buffer {"connection_id":219357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:14:27] local.INFO: IMEI packet received {"connection_id":219357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":219357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:14:27] local.INFO: TCP Data received {"connection_id":217616,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:14:27] local.INFO: Processing buffer {"connection_id":217616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:14:27] local.INFO: IMEI packet received {"connection_id":217616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":217616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:14:28] local.INFO: TCP Data received {"connection_id":217616,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1411704b0012d6c8680060328e00004015b2e..."} 
[2026-10-16 01:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411704b0012d6c8680060328e00004015b2e..."} 
[2026-10-16 01:14:28] local.INFO: Processing buffer {"connection_id":217616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411704b0012d6c8680060328e00004015b2e..."} 
[2026-10-16 01:14:28] local.INFO: Packet analysis {"connection_id":217616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14117"} 
[2026-10-16 01:14:28] local.INFO: Extracted packet for processing {"connection_id":217616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14117"} 
[2026-10-16 01:14:28] local.INFO: GPS Element Parsed {"raw_longitude":762087040,"raw_latitude":100870368,"longitude_deg":76.208704,"latitude_deg":10.0870368,"altitude":4,"angle":347,"satellites":46,"speed":47,"hex_longitude":"2d6c8680","hex_latitude":"060328e0","is_valid_coordinates":true} 
[2026-10-16 01:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775905792001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11959538299174912,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7822189628609615872,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792093390000,"timestamp_ms":1792093390000,"timestamp_seconds":1792093390,"priority":1,"record_length":96,"hex_timestamp":"000001a1411704b0"} 
[2026-10-16 01:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 01:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775905792001,"66":27484,"172":206,"8":65280,"24":47,"16":11959538299174912,"45":7822189628609615872},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,8,24,16,45]} 
[2026-10-16 01:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775905792001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:14:28] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-10-16 01:14:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11959538299174912,"km_value":11959538299174.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7822189628609615872,"description":"Unknown IO ID 45"} 
[2026-10-16 01:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775905792001,"power":27484,"unknown_172":206,"unknown_8":65280,"ignition":47,"odometer":null,"unknown_45":7822189628609615872}} 
[2026-10-16 01:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":217616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:14:28] local.INFO: GPS data processed {"connection_id":217616,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:14:28] local.INFO: Acknowledgment sent {"connection_id":217616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:14:32] local.INFO: TCP Data received {"connection_id":219357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:14:32] local.INFO: Processing buffer {"connection_id":219357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:14:32] local.INFO: IMEI packet received {"connection_id":219357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":219357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:14:32] local.INFO: TCP Data received {"connection_id":219357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:14:32] local.INFO: Processing buffer {"connection_id":219357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:14:32] local.INFO: Packet analysis {"connection_id":219357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:14:32] local.INFO: Extracted packet for processing {"connection_id":219357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:14:32] 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-10-16 01: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-10-16 01:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:14:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":219357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:14:32] local.INFO: GPS data processed {"connection_id":219357,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:14:32] local.INFO: Acknowledgment sent {"connection_id":219357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:14:37] local.INFO: TCP Data received {"connection_id":219357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:14:37] local.INFO: Processing buffer {"connection_id":219357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:14:37] local.INFO: Packet analysis {"connection_id":219357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:14:37] local.INFO: Extracted packet for processing {"connection_id":219357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:14:37] 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-10-16 01: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-10-16 01:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":219357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":219357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":219357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:14:37] 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-10-16 01:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:14:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":219357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:14:37] local.INFO: GPS data processed {"connection_id":219357,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:14:37] local.INFO: Acknowledgment sent {"connection_id":219357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:14:56] local.INFO: TCP Data received {"connection_id":219356,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:14:56] local.INFO: Processing buffer {"connection_id":219356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:14:56] local.INFO: Packet analysis {"connection_id":219356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:14:56] local.INFO: Extracted packet for processing {"connection_id":219356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775807744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792093300000,"timestamp_ms":1792093300000,"timestamp_seconds":1792093300,"priority":1,"record_length":96,"hex_timestamp":"000001a14115a520"} 
[2026-10-16 01:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 01:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775807744001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775807744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:14:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:14:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775807744001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":219356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:14:56] local.INFO: GPS data processed {"connection_id":219356,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:14:56] local.INFO: Acknowledgment sent {"connection_id":219356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:14:59] local.INFO: TCP Data received {"connection_id":217616,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1411723f0012d6c7c8006034ed8000501592f..."} 
[2026-10-16 01:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411723f0012d6c7c8006034ed8000501592f..."} 
[2026-10-16 01:14:59] local.INFO: Processing buffer {"connection_id":217616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411723f0012d6c7c8006034ed8000501592f..."} 
[2026-10-16 01:14:59] local.INFO: Packet analysis {"connection_id":217616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14117"} 
[2026-10-16 01:14:59] local.INFO: Extracted packet for processing {"connection_id":217616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14117"} 
[2026-10-16 01:14:59] local.INFO: GPS Element Parsed {"raw_longitude":762084480,"raw_latitude":100880088,"longitude_deg":76.208448,"latitude_deg":10.0880088,"altitude":5,"angle":345,"satellites":47,"speed":52,"hex_longitude":"2d6c7c80","hex_latitude":"06034ed8","is_valid_coordinates":true} 
[2026-10-16 01:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775907840001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11960027925446656,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7820078566286614528,"note":"Value kept but may cause issues"} 
[2026-10-16 01:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093398000,"timestamp_ms":1792093398000,"timestamp_seconds":1792093398,"priority":1,"record_length":96,"hex_timestamp":"000001a1411723f0"} 
[2026-10-16 01:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 01:14:59] 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-10-16 01:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775907840001,"66":27332,"172":206,"8":65280,"24":52,"16":11960027925446656,"45":7820078566286614528},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,8,24,16,45]} 
[2026-10-16 01:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775907840001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:14:59] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-10-16 01:14:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11960027925446656,"km_value":11960027925446.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7820078566286614528,"description":"Unknown IO ID 45"} 
[2026-10-16 01:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775907840001,"power":27332,"unknown_172":206,"unknown_8":65280,"ignition":52,"odometer":null,"unknown_45":7820078566286614528}} 
[2026-10-16 01:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":217616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:14:59] local.INFO: GPS data processed {"connection_id":217616,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:14:59] local.INFO: Acknowledgment sent {"connection_id":217616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:15:22] local.INFO: TCP Data received {"connection_id":216261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:15:22] local.INFO: Processing buffer {"connection_id":216261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:15:22] local.INFO: IMEI packet received {"connection_id":216261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":216261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:15:23] local.INFO: TCP Data received {"connection_id":216077,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:15:23] local.INFO: Processing buffer {"connection_id":216077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:15:23] local.INFO: IMEI packet received {"connection_id":216077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":216077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:15:27] local.INFO: TCP Data received {"connection_id":216261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:15:27] local.INFO: Processing buffer {"connection_id":216261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:15:27] local.INFO: IMEI packet received {"connection_id":216261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":216261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:15:28] local.INFO: TCP Data received {"connection_id":216261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:15:28] local.INFO: Processing buffer {"connection_id":216261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141148028012d7c240005dad510000c00ea24..."} 
[2026-10-16 01:15:28] local.INFO: Packet analysis {"connection_id":216261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:15:28] local.INFO: Extracted packet for processing {"connection_id":216261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14114"} 
[2026-10-16 01:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775788544001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792093225000,"timestamp_ms":1792093225000,"timestamp_seconds":1792093225,"priority":1,"record_length":96,"hex_timestamp":"000001a141148028"} 
[2026-10-16 01:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:15:28] 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-10-16 01:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:15: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-10-16 01:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775788544001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775788544001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:15:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775788544001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":216261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:15:28] local.INFO: GPS data processed {"connection_id":216261,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:15:28] local.INFO: Acknowledgment sent {"connection_id":216261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:15:28] local.INFO: TCP Data received {"connection_id":216078,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:15:28] local.INFO: Processing buffer {"connection_id":216078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:15:28] local.INFO: IMEI packet received {"connection_id":216078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":216078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:15:28] local.INFO: TCP Data received {"connection_id":216077,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:15:28] local.INFO: Processing buffer {"connection_id":216077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:15:28] local.INFO: IMEI packet received {"connection_id":216077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":216077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:15:29] local.INFO: TCP Data received {"connection_id":216078,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:15:29] local.INFO: Processing buffer {"connection_id":216078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:15:29] local.INFO: IMEI packet received {"connection_id":216078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":216078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:15:29] local.INFO: TCP Data received {"connection_id":216077,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:15:29] local.INFO: Processing buffer {"connection_id":216077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:15:29] local.INFO: Packet analysis {"connection_id":216077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:15:29] local.INFO: Extracted packet for processing {"connection_id":216077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:15:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775807744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792093300000,"timestamp_ms":1792093300000,"timestamp_seconds":1792093300,"priority":1,"record_length":96,"hex_timestamp":"000001a14115a520"} 
[2026-10-16 01:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 01:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775807744001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775807744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:15:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:15:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775807744001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":216077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:15:29] local.INFO: GPS data processed {"connection_id":216077,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:15:29] local.INFO: Acknowledgment sent {"connection_id":216077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:15:31] local.INFO: TCP Data received {"connection_id":216078,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:15:31] local.INFO: Processing buffer {"connection_id":216078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:15:31] local.INFO: IMEI packet received {"connection_id":216078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":216078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:15:32] local.INFO: TCP Data received {"connection_id":216078,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141174330012d6c7280060374780008015c2d..."} 
[2026-10-16 01:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141174330012d6c7280060374780008015c2d..."} 
[2026-10-16 01:15:32] local.INFO: Processing buffer {"connection_id":216078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141174330012d6c7280060374780008015c2d..."} 
[2026-10-16 01:15:32] local.INFO: Packet analysis {"connection_id":216078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14117"} 
[2026-10-16 01:15:32] local.INFO: Extracted packet for processing {"connection_id":216078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14117"} 
[2026-10-16 01:15:32] local.INFO: GPS Element Parsed {"raw_longitude":762081920,"raw_latitude":100889720,"longitude_deg":76.208192,"latitude_deg":10.088972,"altitude":8,"angle":348,"satellites":45,"speed":44,"hex_longitude":"2d6c7280","hex_latitude":"06037478","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775909888001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11960508961783808,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7817263816521996288,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792093406000,"timestamp_ms":1792093406000,"timestamp_seconds":1792093406,"priority":1,"record_length":96,"hex_timestamp":"000001a141174330"} 
[2026-10-16 01:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 01:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775909888001,"66":26876,"172":206,"8":65280,"24":44,"16":11960508961783808,"45":7817263816521996288},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,8,24,16,45]} 
[2026-10-16 01:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775909888001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:15:32] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-10-16 01:15:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11960508961783808,"km_value":11960508961783.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7817263816521996288,"description":"Unknown IO ID 45"} 
[2026-10-16 01:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775909888001,"power":26876,"unknown_172":206,"unknown_8":65280,"ignition":44,"odometer":null,"unknown_45":7817263816521996288}} 
[2026-10-16 01:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":216078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:15:32] local.INFO: GPS data processed {"connection_id":216078,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:15:32] local.INFO: Acknowledgment sent {"connection_id":216078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:15:34] local.INFO: TCP Data received {"connection_id":216077,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:15:34] local.INFO: Processing buffer {"connection_id":216077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:15:34] local.INFO: Packet analysis {"connection_id":216077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:15:34] local.INFO: Extracted packet for processing {"connection_id":216077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775807744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792093300000,"timestamp_ms":1792093300000,"timestamp_seconds":1792093300,"priority":1,"record_length":96,"hex_timestamp":"000001a14115a520"} 
[2026-10-16 01:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 01:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775807744001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775807744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:15:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:15:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775807744001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":216077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:15:34] local.INFO: GPS data processed {"connection_id":216077,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:15:34] local.INFO: Acknowledgment sent {"connection_id":216077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:15:34] local.INFO: TCP Data received {"connection_id":216078,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141176270012d6c6ac0060397680006015b30..."} 
[2026-10-16 01:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141176270012d6c6ac0060397680006015b30..."} 
[2026-10-16 01:15:34] local.INFO: Processing buffer {"connection_id":216078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141176270012d6c6ac0060397680006015b30..."} 
[2026-10-16 01:15:34] local.INFO: Packet analysis {"connection_id":216078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14117"} 
[2026-10-16 01:15:34] local.INFO: Extracted packet for processing {"connection_id":216078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14117"} 
[2026-10-16 01:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762079936,"raw_latitude":100898664,"longitude_deg":76.2079936,"latitude_deg":10.0898664,"altitude":6,"angle":347,"satellites":48,"speed":46,"hex_longitude":"2d6c6ac0","hex_latitude":"06039768","is_valid_coordinates":true} 
[2026-10-16 01:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775911936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11960955638382592,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7814449066757355520,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792093414000,"timestamp_ms":1792093414000,"timestamp_seconds":1792093414,"priority":1,"record_length":96,"hex_timestamp":"000001a141176270"} 
[2026-10-16 01:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:15: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-10-16 01:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 01:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775911936001,"66":27430,"172":206,"8":65280,"24":46,"16":11960955638382592,"45":7814449066757355520},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,8,24,16,45]} 
[2026-10-16 01:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775911936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:15:34] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-10-16 01:15:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11960955638382592,"km_value":11960955638382.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7814449066757355520,"description":"Unknown IO ID 45"} 
[2026-10-16 01:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775911936001,"power":27430,"unknown_172":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":7814449066757355520}} 
[2026-10-16 01:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":216078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:15:34] local.INFO: GPS data processed {"connection_id":216078,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:15:34] local.INFO: Acknowledgment sent {"connection_id":216078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:15:38] local.INFO: TCP Data received {"connection_id":216078,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a14117a0f0012d6c61c00603bb300006015b2e..."} 
[2026-10-16 01:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14117a0f0012d6c61c00603bb300006015b2e..."} 
[2026-10-16 01:15:38] local.INFO: Processing buffer {"connection_id":216078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14117a0f0012d6c61c00603bb300006015b2e..."} 
[2026-10-16 01:15:38] local.INFO: Packet analysis {"connection_id":216078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14117"} 
[2026-10-16 01:15:38] local.INFO: Extracted packet for processing {"connection_id":216078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14117"} 
[2026-10-16 01:15:38] local.INFO: GPS Element Parsed {"raw_longitude":762077632,"raw_latitude":100907824,"longitude_deg":76.2077632,"latitude_deg":10.0907824,"altitude":6,"angle":347,"satellites":46,"speed":23,"hex_longitude":"2d6c61c0","hex_latitude":"0603bb30","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775913984001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11961410904915968,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7812267635690137600,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792093430000,"timestamp_ms":1792093430000,"timestamp_seconds":1792093430,"priority":1,"record_length":96,"hex_timestamp":"000001a14117a0f0"} 
[2026-10-16 01:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:15: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-10-16 01: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 01:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775913984001,"66":27463,"174":206,"8":65280,"24":23,"16":11961410904915968,"45":7812267635690137600},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,8,24,16,45]} 
[2026-10-16 01:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775913984001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:15:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 01:15:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11961410904915968,"km_value":11961410904915.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7812267635690137600,"description":"Unknown IO ID 45"} 
[2026-10-16 01:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775913984001,"power":27463,"unknown_174":206,"unknown_8":65280,"ignition":23,"odometer":null,"unknown_45":7812267635690137600}} 
[2026-10-16 01:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":216078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:15:38] local.INFO: GPS data processed {"connection_id":216078,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:15:38] local.INFO: Acknowledgment sent {"connection_id":216078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:15:58] local.INFO: TCP Data received {"connection_id":216261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:15:58] local.INFO: Processing buffer {"connection_id":216261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:15:58] local.INFO: Packet analysis {"connection_id":216261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14119"} 
[2026-10-16 01:15:59] local.INFO: Extracted packet for processing {"connection_id":216261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14119"} 
[2026-10-16 01:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775865600001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093526000,"timestamp_ms":1792093526000,"timestamp_seconds":1792093526,"priority":1,"record_length":96,"hex_timestamp":"000001a1411917f0"} 
[2026-10-16 01:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:15:59] 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-10-16 01:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775865600001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775865600001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:15:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775865600001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":216261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:15:59] local.INFO: GPS data processed {"connection_id":216261,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:15:59] local.INFO: Acknowledgment sent {"connection_id":216261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:16:17] local.INFO: TCP Data received {"connection_id":217617,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:16:17] local.INFO: Processing buffer {"connection_id":217617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:16:17] local.INFO: IMEI packet received {"connection_id":217617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":217617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:16:21] local.INFO: TCP Data received {"connection_id":216079,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:16:21] local.INFO: Processing buffer {"connection_id":216079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:16:21] local.INFO: IMEI packet received {"connection_id":216079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":216079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:16:22] local.INFO: TCP Data received {"connection_id":216262,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:16:22] local.INFO: Processing buffer {"connection_id":216262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:16:22] local.INFO: IMEI packet received {"connection_id":216262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":216262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:16:23] local.INFO: TCP Data received {"connection_id":217617,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:16:23] local.INFO: Processing buffer {"connection_id":217617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:16:23] local.INFO: IMEI packet received {"connection_id":217617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":217617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:16:24] local.INFO: TCP Data received {"connection_id":217617,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:16:24] local.INFO: Processing buffer {"connection_id":217617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:16:24] local.INFO: Packet analysis {"connection_id":217617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:16:24] local.INFO: Extracted packet for processing {"connection_id":217617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775807744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792093300000,"timestamp_ms":1792093300000,"timestamp_seconds":1792093300,"priority":1,"record_length":96,"hex_timestamp":"000001a14115a520"} 
[2026-10-16 01:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 01:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775807744001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775807744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:16:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:16:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775807744001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":217617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:16:24] local.INFO: GPS data processed {"connection_id":217617,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:16:24] local.INFO: Acknowledgment sent {"connection_id":217617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:16:24] local.INFO: TCP Data received {"connection_id":216079,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:16:24] local.INFO: Processing buffer {"connection_id":216079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:16:24] local.INFO: IMEI packet received {"connection_id":216079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":216079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:16:27] local.INFO: TCP Data received {"connection_id":216262,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:16:27] local.INFO: Processing buffer {"connection_id":216262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:16:27] local.INFO: IMEI packet received {"connection_id":216262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":216262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:16:27] local.INFO: TCP Data received {"connection_id":216262,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:16:27] local.INFO: Processing buffer {"connection_id":216262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:16:27] local.INFO: Packet analysis {"connection_id":216262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14119"} 
[2026-10-16 01:16:27] local.INFO: Extracted packet for processing {"connection_id":216262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14119"} 
[2026-10-16 01:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775865600001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792093526000,"timestamp_ms":1792093526000,"timestamp_seconds":1792093526,"priority":1,"record_length":96,"hex_timestamp":"000001a1411917f0"} 
[2026-10-16 01:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:16:27] 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-10-16 01: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-10-16 01:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775865600001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775865600001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:16:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775865600001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":216262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:16:28] local.INFO: GPS data processed {"connection_id":216262,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:16:28] local.INFO: Acknowledgment sent {"connection_id":216262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:16:29] local.INFO: TCP Data received {"connection_id":216079,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a14118f4c8012d6bf38006053f80000601582e..."} 
[2026-10-16 01:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14118f4c8012d6bf38006053f80000601582e..."} 
[2026-10-16 01:16:29] local.INFO: Processing buffer {"connection_id":216079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14118f4c8012d6bf38006053f80000601582e..."} 
[2026-10-16 01:16:29] local.INFO: Packet analysis {"connection_id":216079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14118"} 
[2026-10-16 01:16:29] local.INFO: Extracted packet for processing {"connection_id":216079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14118"} 
[2026-10-16 01:16:29] local.INFO: GPS Element Parsed {"raw_longitude":762049408,"raw_latitude":101007232,"longitude_deg":76.2049408,"latitude_deg":10.1007232,"altitude":6,"angle":344,"satellites":46,"speed":54,"hex_longitude":"2d6bf380","hex_latitude":"06053f80","is_valid_coordinates":true} 
[2026-10-16 01:16: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-10-16 01:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775938560001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11966418836783104,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7781586863254091776,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792093517000,"timestamp_ms":1792093517000,"timestamp_seconds":1792093517,"priority":1,"record_length":96,"hex_timestamp":"000001a14118f4c8"} 
[2026-10-16 01:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 01:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:16: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-10-16 01:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775938560001,"66":27332,"183":206,"8":65280,"24":54,"16":11966418836783104,"45":7781586863254091776},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,8,24,16,45]} 
[2026-10-16 01:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775938560001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:16:29] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-10-16 01:16:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11966418836783104,"km_value":11966418836783.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7781586863254091776,"description":"Unknown IO ID 45"} 
[2026-10-16 01:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775938560001,"power":27332,"unknown_183":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":7781586863254091776}} 
[2026-10-16 01:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":216079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:16:29] local.INFO: GPS data processed {"connection_id":216079,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:16:29] local.INFO: Acknowledgment sent {"connection_id":216079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:16:56] local.INFO: TCP Data received {"connection_id":217617,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:16:56] local.INFO: Processing buffer {"connection_id":217617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14115a520012d7fac4005afe350000900a626..."} 
[2026-10-16 01:16:56] local.INFO: Packet analysis {"connection_id":217617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:16:56] local.INFO: Extracted packet for processing {"connection_id":217617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14115"} 
[2026-10-16 01:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775807744001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792093300000,"timestamp_ms":1792093300000,"timestamp_seconds":1792093300,"priority":1,"record_length":96,"hex_timestamp":"000001a14115a520"} 
[2026-10-16 01:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 01:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775807744001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775807744001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:16:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:16:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775807744001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":217617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:16:56] local.INFO: GPS data processed {"connection_id":217617,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:16:56] local.INFO: Acknowledgment sent {"connection_id":217617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:16:59] local.INFO: TCP Data received {"connection_id":216262,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:16:59] local.INFO: Processing buffer {"connection_id":216262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:16:59] local.INFO: Packet analysis {"connection_id":216262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14119"} 
[2026-10-16 01:16:59] local.INFO: Extracted packet for processing {"connection_id":216262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14119"} 
[2026-10-16 01:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775865600001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093526000,"timestamp_ms":1792093526000,"timestamp_seconds":1792093526,"priority":1,"record_length":96,"hex_timestamp":"000001a1411917f0"} 
[2026-10-16 01:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:16:59] 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-10-16 01: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-10-16 01:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775865600001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775865600001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:16:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:16:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775865600001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":216262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:16:59] local.INFO: GPS data processed {"connection_id":216262,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:16:59] local.INFO: Acknowledgment sent {"connection_id":216262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:17:08] local.INFO: TCP Data received {"connection_id":216079,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a141191020012d6be8c006056298000601592e..."} 
[2026-10-16 01:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141191020012d6be8c006056298000601592e..."} 
[2026-10-16 01:17:08] local.INFO: Processing buffer {"connection_id":216079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141191020012d6be8c006056298000601592e..."} 
[2026-10-16 01:17:08] local.INFO: Packet analysis {"connection_id":216079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14119"} 
[2026-10-16 01:17:08] local.INFO: Extracted packet for processing {"connection_id":216079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14119"} 
[2026-10-16 01:17:08] local.INFO: GPS Element Parsed {"raw_longitude":762046656,"raw_latitude":101016216,"longitude_deg":76.2046656,"latitude_deg":10.1016216,"altitude":6,"angle":345,"satellites":46,"speed":53,"hex_longitude":"2d6be8c0","hex_latitude":"06056298","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775940352001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11966874103316480,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7778701744745185280,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792093524000,"timestamp_ms":1792093524000,"timestamp_seconds":1792093524,"priority":1,"record_length":96,"hex_timestamp":"000001a141191020"} 
[2026-10-16 01:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:17: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-10-16 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 01:17: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-10-16 01: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-10-16 01:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775940352001,"66":27343,"183":206,"8":65280,"24":53,"16":11966874103316480,"45":7778701744745185280},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,8,24,16,45]} 
[2026-10-16 01:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775940352001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:17:08] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-10-16 01:17:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11966874103316480,"km_value":11966874103316.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7778701744745185280,"description":"Unknown IO ID 45"} 
[2026-10-16 01:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775940352001,"power":27343,"unknown_183":206,"unknown_8":65280,"ignition":53,"odometer":null,"unknown_45":7778701744745185280}} 
[2026-10-16 01:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":216079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:17:08] local.INFO: GPS data processed {"connection_id":216079,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:17:08] local.INFO: Acknowledgment sent {"connection_id":216079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:17:17] local.INFO: TCP Data received {"connection_id":217618,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:17:17] local.INFO: Processing buffer {"connection_id":217618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:17:17] local.INFO: IMEI packet received {"connection_id":217618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":217618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:17:19] local.INFO: TCP Data received {"connection_id":217618,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:17:19] local.INFO: Processing buffer {"connection_id":217618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:17:19] local.INFO: IMEI packet received {"connection_id":217618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":217618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:17:21] local.INFO: TCP Data received {"connection_id":219358,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:21] local.INFO: Processing buffer {"connection_id":219358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:21] local.INFO: IMEI packet received {"connection_id":219358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":219358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:17:21] local.INFO: TCP Data received {"connection_id":216263,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:17:21] local.INFO: Processing buffer {"connection_id":216263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:17:21] local.INFO: IMEI packet received {"connection_id":216263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":216263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:17:21] local.INFO: TCP Data received {"connection_id":219358,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:21] local.INFO: Processing buffer {"connection_id":219358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:21] local.INFO: IMEI packet received {"connection_id":219358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":219358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:17:22] local.INFO: TCP Data received {"connection_id":219358,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:22] local.INFO: Processing buffer {"connection_id":219358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:22] local.INFO: IMEI packet received {"connection_id":219358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":219358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:17:22] local.INFO: TCP Data received {"connection_id":219358,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:22] local.INFO: Processing buffer {"connection_id":219358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:17:22] local.INFO: IMEI packet received {"connection_id":219358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":219358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:17:23] local.INFO: TCP Data received {"connection_id":217618,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:17:23] local.INFO: Processing buffer {"connection_id":217618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:17:23] local.INFO: IMEI packet received {"connection_id":217618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":217618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:17:25] local.INFO: TCP Data received {"connection_id":217618,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:17:25] local.INFO: Processing buffer {"connection_id":217618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:17:25] local.INFO: Packet analysis {"connection_id":217618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:17:25] local.INFO: Extracted packet for processing {"connection_id":217618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775884800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792093601000,"timestamp_ms":1792093601000,"timestamp_seconds":1792093601,"priority":1,"record_length":96,"hex_timestamp":"000001a1411a3ce8"} 
[2026-10-16 01:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 01:17:25] 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-10-16 01:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775884800001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775884800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:17:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:17:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775884800001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":217618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:17:25] local.INFO: GPS data processed {"connection_id":217618,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:17:25] local.INFO: Acknowledgment sent {"connection_id":217618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:17:27] local.INFO: TCP Data received {"connection_id":216263,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:17:27] local.INFO: Processing buffer {"connection_id":216263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:17:27] local.INFO: IMEI packet received {"connection_id":216263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":216263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:17:29] local.INFO: TCP Data received {"connection_id":216263,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:17:29] local.INFO: Processing buffer {"connection_id":216263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411917f0012d7c240005dad510000c00ea26..."} 
[2026-10-16 01:17:29] local.INFO: Packet analysis {"connection_id":216263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14119"} 
[2026-10-16 01:17:29] local.INFO: Extracted packet for processing {"connection_id":216263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14119"} 
[2026-10-16 01:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775865600001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792093526000,"timestamp_ms":1792093526000,"timestamp_seconds":1792093526,"priority":1,"record_length":96,"hex_timestamp":"000001a1411917f0"} 
[2026-10-16 01:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:17:29] 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-10-16 01:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775865600001,"66":12645,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775865600001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:17:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775865600001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":216263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:17:29] local.INFO: GPS data processed {"connection_id":216263,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:17:29] local.INFO: Acknowledgment sent {"connection_id":216263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:17:57] local.INFO: TCP Data received {"connection_id":217618,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:17:57] local.INFO: Processing buffer {"connection_id":217618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:17:57] local.INFO: Packet analysis {"connection_id":217618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:17:57] local.INFO: Extracted packet for processing {"connection_id":217618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775884800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792093601000,"timestamp_ms":1792093601000,"timestamp_seconds":1792093601,"priority":1,"record_length":96,"hex_timestamp":"000001a1411a3ce8"} 
[2026-10-16 01:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:17: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-10-16 01:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 01:17:57] 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-10-16 01:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775884800001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775884800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:17:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:17:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775884800001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":217618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:17:57] local.INFO: GPS data processed {"connection_id":217618,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:17:57] local.INFO: Acknowledgment sent {"connection_id":217618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:18:18] local.INFO: TCP Data received {"connection_id":217619,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:18:18] local.INFO: Processing buffer {"connection_id":217619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:18:18] local.INFO: IMEI packet received {"connection_id":217619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":217619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:18:23] local.INFO: TCP Data received {"connection_id":217619,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:18:23] local.INFO: Processing buffer {"connection_id":217619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:18:23] local.INFO: IMEI packet received {"connection_id":217619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":217619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:18:24] local.INFO: TCP Data received {"connection_id":217619,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:18:24] local.INFO: Processing buffer {"connection_id":217619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:18:24] local.INFO: Packet analysis {"connection_id":217619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:18:24] local.INFO: Extracted packet for processing {"connection_id":217619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775884800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792093601000,"timestamp_ms":1792093601000,"timestamp_seconds":1792093601,"priority":1,"record_length":96,"hex_timestamp":"000001a1411a3ce8"} 
[2026-10-16 01:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 01:18:24] 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-10-16 01:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775884800001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775884800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:18:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:18:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775884800001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":217619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:18:24] local.INFO: GPS data processed {"connection_id":217619,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:18:24] local.INFO: Acknowledgment sent {"connection_id":217619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:18:56] local.INFO: TCP Data received {"connection_id":217619,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:18:56] local.INFO: Processing buffer {"connection_id":217619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:18:56] local.INFO: Packet analysis {"connection_id":217619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:18:56] local.INFO: Extracted packet for processing {"connection_id":217619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775884800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792093601000,"timestamp_ms":1792093601000,"timestamp_seconds":1792093601,"priority":1,"record_length":96,"hex_timestamp":"000001a1411a3ce8"} 
[2026-10-16 01:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:18: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-10-16 01:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 01:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775884800001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775884800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:18:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:18:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775884800001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":217619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:18:56] local.INFO: GPS data processed {"connection_id":217619,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:18:56] local.INFO: Acknowledgment sent {"connection_id":217619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:19:17] local.INFO: TCP Data received {"connection_id":216081,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:19:17] local.INFO: Processing buffer {"connection_id":216081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:19:17] local.INFO: IMEI packet received {"connection_id":216081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":216081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:19:23] local.INFO: TCP Data received {"connection_id":216081,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:19:23] local.INFO: Processing buffer {"connection_id":216081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:19:23] local.INFO: IMEI packet received {"connection_id":216081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":216081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:19:24] local.INFO: TCP Data received {"connection_id":216081,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:19:24] local.INFO: Processing buffer {"connection_id":216081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:19:24] local.INFO: Packet analysis {"connection_id":216081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:19:24] local.INFO: Extracted packet for processing {"connection_id":216081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775884800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792093601000,"timestamp_ms":1792093601000,"timestamp_seconds":1792093601,"priority":1,"record_length":96,"hex_timestamp":"000001a1411a3ce8"} 
[2026-10-16 01:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 01:19:24] 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-10-16 01:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775884800001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775884800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:19:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:19:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775884800001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":216081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:19:24] local.INFO: GPS data processed {"connection_id":216081,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:19:24] local.INFO: Acknowledgment sent {"connection_id":216081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:19:56] local.INFO: TCP Data received {"connection_id":216081,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:19:56] local.INFO: Processing buffer {"connection_id":216081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:19:56] local.INFO: Packet analysis {"connection_id":216081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:19:56] local.INFO: Extracted packet for processing {"connection_id":216081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775884800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792093601000,"timestamp_ms":1792093601000,"timestamp_seconds":1792093601,"priority":1,"record_length":96,"hex_timestamp":"000001a1411a3ce8"} 
[2026-10-16 01:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:19: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-10-16 01:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 01:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775884800001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775884800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:19:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:19:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775884800001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":216081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:19:56] local.INFO: GPS data processed {"connection_id":216081,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:19:56] local.INFO: Acknowledgment sent {"connection_id":216081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:20:01] local.INFO: TCP Data received {"connection_id":217620,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:20:01] local.INFO: Processing buffer {"connection_id":217620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:20:01] local.INFO: IMEI packet received {"connection_id":217620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":217620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:20:17] local.INFO: TCP Data received {"connection_id":216082,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:20:17] local.INFO: Processing buffer {"connection_id":216082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:20:17] local.INFO: IMEI packet received {"connection_id":216082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":216082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:20:23] local.INFO: TCP Data received {"connection_id":216082,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:20:23] local.INFO: Processing buffer {"connection_id":216082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:20:23] local.INFO: IMEI packet received {"connection_id":216082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":216082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:20:24] local.INFO: TCP Data received {"connection_id":216082,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:20:24] local.INFO: Processing buffer {"connection_id":216082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:20:24] local.INFO: Packet analysis {"connection_id":216082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:20:24] local.INFO: Extracted packet for processing {"connection_id":216082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775884800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792093601000,"timestamp_ms":1792093601000,"timestamp_seconds":1792093601,"priority":1,"record_length":96,"hex_timestamp":"000001a1411a3ce8"} 
[2026-10-16 01:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 01:20:24] 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-10-16 01:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775884800001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775884800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:20:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:20:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775884800001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":216082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:20:24] local.INFO: GPS data processed {"connection_id":216082,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:20:24] local.INFO: Acknowledgment sent {"connection_id":216082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:20:31] local.INFO: TCP Data received {"connection_id":219360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:20:31] local.INFO: Processing buffer {"connection_id":219360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:20:31] local.INFO: IMEI packet received {"connection_id":219360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":219360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:20:37] local.INFO: TCP Data received {"connection_id":219360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:20:37] local.INFO: Processing buffer {"connection_id":219360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:20:37] local.INFO: IMEI packet received {"connection_id":219360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":219360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:20:37] local.INFO: TCP Data received {"connection_id":219360,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:20:37] local.INFO: Processing buffer {"connection_id":219360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:20:37] local.INFO: Packet analysis {"connection_id":219360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:20:37] local.INFO: Extracted packet for processing {"connection_id":219360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775942656001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792093827000,"timestamp_ms":1792093827000,"timestamp_seconds":1792093827,"priority":1,"record_length":96,"hex_timestamp":"000001a1411dafb8"} 
[2026-10-16 01:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:20: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-10-16 01:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":219360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":219360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":219360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775942656001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775942656001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:20:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775942656001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":219360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:20:37] local.INFO: GPS data processed {"connection_id":219360,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:20:37] local.INFO: Acknowledgment sent {"connection_id":219360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:20:56] local.INFO: TCP Data received {"connection_id":216082,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:20:56] local.INFO: Processing buffer {"connection_id":216082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:20:56] local.INFO: Packet analysis {"connection_id":216082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:20:56] local.INFO: Extracted packet for processing {"connection_id":216082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775884800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792093601000,"timestamp_ms":1792093601000,"timestamp_seconds":1792093601,"priority":1,"record_length":96,"hex_timestamp":"000001a1411a3ce8"} 
[2026-10-16 01:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:20: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-10-16 01:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 01:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775884800001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775884800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:20:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:20:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775884800001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":216082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:20:56] local.INFO: GPS data processed {"connection_id":216082,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:20:56] local.INFO: Acknowledgment sent {"connection_id":216082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:21:22] local.INFO: TCP Data received {"connection_id":217621,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:21:22] local.INFO: Processing buffer {"connection_id":217621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:21:22] local.INFO: IMEI packet received {"connection_id":217621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":217621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:21:23] local.INFO: TCP Data received {"connection_id":216265,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:21:23] local.INFO: Processing buffer {"connection_id":216265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:21:23] local.INFO: IMEI packet received {"connection_id":216265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":216265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:21:27] local.INFO: TCP Data received {"connection_id":217621,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:21:27] local.INFO: Processing buffer {"connection_id":217621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:21:27] local.INFO: IMEI packet received {"connection_id":217621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":217621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:21:27] local.INFO: TCP Data received {"connection_id":217621,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:21:27] local.INFO: Processing buffer {"connection_id":217621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:21:27] local.INFO: Packet analysis {"connection_id":217621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:21:27] local.INFO: Extracted packet for processing {"connection_id":217621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775942656001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792093827000,"timestamp_ms":1792093827000,"timestamp_seconds":1792093827,"priority":1,"record_length":96,"hex_timestamp":"000001a1411dafb8"} 
[2026-10-16 01:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:21:27] 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-10-16 01:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:21:27] 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-10-16 01:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775942656001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775942656001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:21:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775942656001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":217621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:21:27] local.INFO: GPS data processed {"connection_id":217621,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:21:27] local.INFO: Acknowledgment sent {"connection_id":217621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:21:28] local.INFO: TCP Data received {"connection_id":216265,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:21:28] local.INFO: Processing buffer {"connection_id":216265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:21:28] local.INFO: IMEI packet received {"connection_id":216265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":216265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:21:30] local.INFO: TCP Data received {"connection_id":216265,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:21:30] local.INFO: Processing buffer {"connection_id":216265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:21:30] local.INFO: Packet analysis {"connection_id":216265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:21:30] local.INFO: Extracted packet for processing {"connection_id":216265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775884800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792093601000,"timestamp_ms":1792093601000,"timestamp_seconds":1792093601,"priority":1,"record_length":96,"hex_timestamp":"000001a1411a3ce8"} 
[2026-10-16 01:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 01:21:30] 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-10-16 01:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775884800001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775884800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:21:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:21:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775884800001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":216265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:21:30] local.INFO: GPS data processed {"connection_id":216265,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:21:30] local.INFO: Acknowledgment sent {"connection_id":216265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:21:33] local.INFO: TCP Data received {"connection_id":216265,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:21:33] local.INFO: Processing buffer {"connection_id":216265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411a3ce8012d7fac4005afe350000900a62a..."} 
[2026-10-16 01:21:33] local.INFO: Packet analysis {"connection_id":216265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:21:33] local.INFO: Extracted packet for processing {"connection_id":216265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411a"} 
[2026-10-16 01:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775884800001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792093601000,"timestamp_ms":1792093601000,"timestamp_seconds":1792093601,"priority":1,"record_length":96,"hex_timestamp":"000001a1411a3ce8"} 
[2026-10-16 01:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 01:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775884800001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775884800001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:21:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775884800001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":216265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:21:33] local.INFO: GPS data processed {"connection_id":216265,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:21:33] local.INFO: Acknowledgment sent {"connection_id":216265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:21:59] local.INFO: TCP Data received {"connection_id":217621,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:21:59] local.INFO: Processing buffer {"connection_id":217621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:21:59] local.INFO: Packet analysis {"connection_id":217621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:21:59] local.INFO: Extracted packet for processing {"connection_id":217621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775942656001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093827000,"timestamp_ms":1792093827000,"timestamp_seconds":1792093827,"priority":1,"record_length":96,"hex_timestamp":"000001a1411dafb8"} 
[2026-10-16 01:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:21:59] 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-10-16 01:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:21:59] 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-10-16 01:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775942656001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775942656001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:21:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775942656001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":217621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:21:59] local.INFO: GPS data processed {"connection_id":217621,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:21:59] local.INFO: Acknowledgment sent {"connection_id":217621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:22:18] local.INFO: TCP Data received {"connection_id":216266,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:22:18] local.INFO: Processing buffer {"connection_id":216266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:22:18] local.INFO: IMEI packet received {"connection_id":216266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":216266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:22:20] local.INFO: TCP Data received {"connection_id":216266,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:22:20] local.INFO: Processing buffer {"connection_id":216266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:22:20] local.INFO: IMEI packet received {"connection_id":216266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":216266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:22:21] local.INFO: TCP Data received {"connection_id":217623,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:22:21] local.INFO: Processing buffer {"connection_id":217623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:22:21] local.INFO: IMEI packet received {"connection_id":217623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":217623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:22:22] local.INFO: TCP Data received {"connection_id":216266,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:22:22] local.INFO: Processing buffer {"connection_id":216266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:22:22] local.INFO: Packet analysis {"connection_id":216266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:22:22] local.INFO: Extracted packet for processing {"connection_id":216266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:22:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":8,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775961856001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792093902000,"timestamp_ms":1792093902000,"timestamp_seconds":1792093902,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed4b0"} 
[2026-10-16 01:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:22:22] 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-10-16 01: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-10-16 01:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775961856001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775961856001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:22:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:22:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775961856001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":216266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:22:22] local.INFO: GPS data processed {"connection_id":216266,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:22:22] local.INFO: Acknowledgment sent {"connection_id":216266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:22:27] local.INFO: TCP Data received {"connection_id":217623,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:22:27] local.INFO: Processing buffer {"connection_id":217623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:22:27] local.INFO: IMEI packet received {"connection_id":217623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":217623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:22:27] local.INFO: TCP Data received {"connection_id":217623,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:22:27] local.INFO: Processing buffer {"connection_id":217623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:22:27] local.INFO: Packet analysis {"connection_id":217623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:22:27] local.INFO: Extracted packet for processing {"connection_id":217623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775942656001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792093827000,"timestamp_ms":1792093827000,"timestamp_seconds":1792093827,"priority":1,"record_length":96,"hex_timestamp":"000001a1411dafb8"} 
[2026-10-16 01:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:22:27] 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-10-16 01:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:22:27] 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-10-16 01:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775942656001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775942656001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:22:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775942656001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":217623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:22:27] local.INFO: GPS data processed {"connection_id":217623,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:22:27] local.INFO: Acknowledgment sent {"connection_id":217623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:22:28] local.INFO: TCP Data received {"connection_id":217624,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:22:28] local.INFO: Processing buffer {"connection_id":217624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:22:28] local.INFO: IMEI packet received {"connection_id":217624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":217624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:22:29] local.INFO: TCP Data received {"connection_id":217624,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ec8f8012d6a2980060bb6600005013f2e..."} 
[2026-10-16 01:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ec8f8012d6a2980060bb6600005013f2e..."} 
[2026-10-16 01:22:29] local.INFO: Processing buffer {"connection_id":217624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ec8f8012d6a2980060bb6600005013f2e..."} 
[2026-10-16 01:22:29] local.INFO: Packet analysis {"connection_id":217624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:22:29] local.INFO: Extracted packet for processing {"connection_id":217624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:22:29] local.INFO: GPS Element Parsed {"raw_longitude":761932160,"raw_latitude":101430880,"longitude_deg":76.193216,"latitude_deg":10.143088,"altitude":5,"angle":319,"satellites":46,"speed":27,"hex_longitude":"2d6a2980","hex_latitude":"060bb660","is_valid_coordinates":true} 
[2026-10-16 01:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776037376001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11988095536726016,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7651052842914775040,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792093899000,"timestamp_ms":1792093899000,"timestamp_seconds":1792093899,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ec8f8"} 
[2026-10-16 01:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 01:22:29] 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-10-16 01:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776037376001,"66":26713,"111":206,"8":65280,"24":27,"16":11988095536726016,"45":7651052842914775040},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-10-16 01:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776037376001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:22:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 01:22:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11988095536726016,"km_value":11988095536726.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7651052842914775040,"description":"Unknown IO ID 45"} 
[2026-10-16 01:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776037376001,"power":26713,"unknown_111":206,"unknown_8":65280,"ignition":27,"odometer":null,"unknown_45":7651052842914775040}} 
[2026-10-16 01:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":217624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:22:29] local.INFO: GPS data processed {"connection_id":217624,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:22:29] local.INFO: Acknowledgment sent {"connection_id":217624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:22:54] local.INFO: TCP Data received {"connection_id":216266,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:22:54] local.INFO: Processing buffer {"connection_id":216266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:22:54] local.INFO: Packet analysis {"connection_id":216266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:22:54] local.INFO: Extracted packet for processing {"connection_id":216266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":8,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775961856001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792093902000,"timestamp_ms":1792093902000,"timestamp_seconds":1792093902,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed4b0"} 
[2026-10-16 01:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:22:54] 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-10-16 01:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775961856001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775961856001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:22:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:22:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775961856001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":216266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:22:54] local.INFO: GPS data processed {"connection_id":216266,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:22:54] local.INFO: Acknowledgment sent {"connection_id":216266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:22:59] local.INFO: TCP Data received {"connection_id":217623,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:22:59] local.INFO: Processing buffer {"connection_id":217623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:22:59] local.INFO: Packet analysis {"connection_id":217623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:22:59] local.INFO: Extracted packet for processing {"connection_id":217623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775942656001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093827000,"timestamp_ms":1792093827000,"timestamp_seconds":1792093827,"priority":1,"record_length":96,"hex_timestamp":"000001a1411dafb8"} 
[2026-10-16 01:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:22:59] 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-10-16 01:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:22:59] 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-10-16 01:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775942656001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775942656001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:22:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:22:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775942656001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":217623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:22:59] local.INFO: GPS data processed {"connection_id":217623,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:22:59] local.INFO: Acknowledgment sent {"connection_id":217623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:23:01] local.INFO: TCP Data received {"connection_id":217624,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ecce0012d6a2740060bb838000501312c..."} 
[2026-10-16 01:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ecce0012d6a2740060bb838000501312c..."} 
[2026-10-16 01:23:01] local.INFO: Processing buffer {"connection_id":217624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ecce0012d6a2740060bb838000501312c..."} 
[2026-10-16 01:23:01] local.INFO: Packet analysis {"connection_id":217624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:23:01] local.INFO: Extracted packet for processing {"connection_id":217624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:23:01] local.INFO: GPS Element Parsed {"raw_longitude":761931584,"raw_latitude":101431352,"longitude_deg":76.1931584,"latitude_deg":10.1431352,"altitude":5,"angle":305,"satellites":44,"speed":28,"hex_longitude":"2d6a2740","hex_latitude":"060bb838","is_valid_coordinates":true} 
[2026-10-16 01:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038144001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11988129896464384,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7649786205520158720,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792093900000,"timestamp_ms":1792093900000,"timestamp_seconds":1792093900,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ecce0"} 
[2026-10-16 01:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-16 01:23:01] 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-10-16 01:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038144001,"66":26908,"111":206,"8":65280,"24":28,"16":11988129896464384,"45":7649786205520158720},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-10-16 01:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038144001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:23:01] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 01:23:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11988129896464384,"km_value":11988129896464.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7649786205520158720,"description":"Unknown IO ID 45"} 
[2026-10-16 01:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038144001,"power":26908,"unknown_111":206,"unknown_8":65280,"ignition":28,"odometer":null,"unknown_45":7649786205520158720}} 
[2026-10-16 01:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":217624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:23:01] local.INFO: GPS data processed {"connection_id":217624,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:23:01] local.INFO: Acknowledgment sent {"connection_id":217624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:23:17] local.INFO: TCP Data received {"connection_id":216267,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:23:17] local.INFO: Processing buffer {"connection_id":216267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:23:17] local.INFO: IMEI packet received {"connection_id":216267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":216267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:23:21] local.INFO: TCP Data received {"connection_id":219361,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:23:21] local.INFO: Processing buffer {"connection_id":219361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:23:21] local.INFO: IMEI packet received {"connection_id":219361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":219361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:23:21] local.INFO: TCP Data received {"connection_id":219362,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:23:21] local.INFO: Processing buffer {"connection_id":219362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:23:21] local.INFO: IMEI packet received {"connection_id":219362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":219362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:23:23] local.INFO: TCP Data received {"connection_id":216267,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:23:23] local.INFO: Processing buffer {"connection_id":216267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:23:23] local.INFO: IMEI packet received {"connection_id":216267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":216267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:23:24] local.INFO: TCP Data received {"connection_id":216267,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:23:24] local.INFO: Processing buffer {"connection_id":216267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:23:24] local.INFO: Packet analysis {"connection_id":216267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:23:24] local.INFO: Extracted packet for processing {"connection_id":216267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:23:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":8,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775961856001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792093902000,"timestamp_ms":1792093902000,"timestamp_seconds":1792093902,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed4b0"} 
[2026-10-16 01:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:23:24] 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-10-16 01:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775961856001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775961856001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:23:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:23:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775961856001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":216267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:23:24] local.INFO: GPS data processed {"connection_id":216267,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:23:24] local.INFO: Acknowledgment sent {"connection_id":216267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:23:27] local.INFO: TCP Data received {"connection_id":219361,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:23:27] local.INFO: Processing buffer {"connection_id":219361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:23:27] local.INFO: IMEI packet received {"connection_id":219361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":219361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:23:27] local.INFO: TCP Data received {"connection_id":219362,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:23:27] local.INFO: Processing buffer {"connection_id":219362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:23:27] local.INFO: IMEI packet received {"connection_id":219362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":219362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:23:28] local.INFO: TCP Data received {"connection_id":219361,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:23:28] local.INFO: Processing buffer {"connection_id":219361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:23:28] local.INFO: Packet analysis {"connection_id":219361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:23:28] local.INFO: Extracted packet for processing {"connection_id":219361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775942656001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792093827000,"timestamp_ms":1792093827000,"timestamp_seconds":1792093827,"priority":1,"record_length":96,"hex_timestamp":"000001a1411dafb8"} 
[2026-10-16 01:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:23:28] 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-10-16 01:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775942656001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775942656001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:23:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775942656001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":219361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:23:28] local.INFO: GPS data processed {"connection_id":219361,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:23:28] local.INFO: Acknowledgment sent {"connection_id":219361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:23:28] local.INFO: TCP Data received {"connection_id":219362,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed0c8012d6a24c0060bb970000501212c..."} 
[2026-10-16 01:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed0c8012d6a24c0060bb970000501212c..."} 
[2026-10-16 01:23:28] local.INFO: Processing buffer {"connection_id":219362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed0c8012d6a24c0060bb970000501212c..."} 
[2026-10-16 01:23:28] local.INFO: Packet analysis {"connection_id":219362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:23:28] local.INFO: Extracted packet for processing {"connection_id":219362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:23:28] local.INFO: GPS Element Parsed {"raw_longitude":761930944,"raw_latitude":101431664,"longitude_deg":76.1930944,"latitude_deg":10.1431664,"altitude":5,"angle":289,"satellites":44,"speed":28,"hex_longitude":"2d6a24c0","hex_latitude":"060bb970","is_valid_coordinates":true} 
[2026-10-16 01:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038400001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11988168551170048,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7649152886822680576,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792093901000,"timestamp_ms":1792093901000,"timestamp_seconds":1792093901,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed0c8"} 
[2026-10-16 01:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-16 01:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038400001,"66":26908,"111":206,"8":65280,"24":28,"16":11988168551170048,"45":7649152886822680576},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-10-16 01:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038400001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:23:28] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 01:23:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11988168551170048,"km_value":11988168551170.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7649152886822680576,"description":"Unknown IO ID 45"} 
[2026-10-16 01:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038400001,"power":26908,"unknown_111":206,"unknown_8":65280,"ignition":28,"odometer":null,"unknown_45":7649152886822680576}} 
[2026-10-16 01:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":219362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:23:28] local.INFO: GPS data processed {"connection_id":219362,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:23:28] local.INFO: Acknowledgment sent {"connection_id":219362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:23:56] local.INFO: TCP Data received {"connection_id":216267,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:23:56] local.INFO: Processing buffer {"connection_id":216267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:23:56] local.INFO: Packet analysis {"connection_id":216267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:23:56] local.INFO: Extracted packet for processing {"connection_id":216267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":8,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775961856001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792093902000,"timestamp_ms":1792093902000,"timestamp_seconds":1792093902,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed4b0"} 
[2026-10-16 01:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:23: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-10-16 01:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:23:56] 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-10-16 01:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775961856001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775961856001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:23:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:23:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775961856001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":216267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:23:56] local.INFO: GPS data processed {"connection_id":216267,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:23:56] local.INFO: Acknowledgment sent {"connection_id":216267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:23:59] local.INFO: TCP Data received {"connection_id":219361,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:23:59] local.INFO: Processing buffer {"connection_id":219361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:23:59] local.INFO: Packet analysis {"connection_id":219361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:23:59] local.INFO: Extracted packet for processing {"connection_id":219361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775942656001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093827000,"timestamp_ms":1792093827000,"timestamp_seconds":1792093827,"priority":1,"record_length":96,"hex_timestamp":"000001a1411dafb8"} 
[2026-10-16 01:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:23:59] 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-10-16 01: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-10-16 01:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:23:59] 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-10-16 01:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775942656001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775942656001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:23:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:23:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775942656001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":219361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:23:59] local.INFO: GPS data processed {"connection_id":219361,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:23:59] local.INFO: Acknowledgment sent {"connection_id":219361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:23:59] local.INFO: TCP Data received {"connection_id":219362,"ip":"117.224.108.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1412018e8012d69bcc0060ca2a8000400112d..."} 
[2026-10-16 01:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412018e8012d69bcc0060ca2a8000400112d..."} 
[2026-10-16 01:23:59] local.INFO: Processing buffer {"connection_id":219362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412018e8012d69bcc0060ca2a8000400112d..."} 
[2026-10-16 01:23:59] local.INFO: Packet analysis {"connection_id":219362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14120"} 
[2026-10-16 01:23:59] local.INFO: Extracted packet for processing {"connection_id":219362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14120"} 
[2026-10-16 01:23:59] local.INFO: GPS Element Parsed {"raw_longitude":761904320,"raw_latitude":101491368,"longitude_deg":76.190432,"latitude_deg":10.1491368,"altitude":4,"angle":17,"satellites":45,"speed":21,"hex_longitude":"2d69bcc0","hex_latitude":"060ca2a8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776059904001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11990930215141376,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7618894326841522176,"note":"Value kept but may cause issues"} 
[2026-10-16 01:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093985000,"timestamp_ms":1792093985000,"timestamp_seconds":1792093985,"priority":1,"record_length":96,"hex_timestamp":"000001a1412018e8"} 
[2026-10-16 01:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-10-16 01:23:59] 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-10-16 01: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-10-16 01:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776059904001,"66":27691,"111":206,"8":65280,"24":21,"16":11990930215141376,"45":7618894326841522176},"client_ip":"117.224.108.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-10-16 01:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776059904001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:23:59] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 01:23:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 01:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11990930215141376,"km_value":11990930215141.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7618894326841522176,"description":"Unknown IO ID 45"} 
[2026-10-16 01:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776059904001,"power":27691,"unknown_111":206,"unknown_8":65280,"ignition":21,"odometer":null,"unknown_45":7618894326841522176}} 
[2026-10-16 01:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":219362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:23:59] local.INFO: GPS data processed {"connection_id":219362,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:23:59] local.INFO: Acknowledgment sent {"connection_id":219362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:24:21] local.INFO: TCP Data received {"connection_id":217626,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:24:21] local.INFO: Processing buffer {"connection_id":217626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:24:21] local.INFO: IMEI packet received {"connection_id":217626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":217626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:24:23] local.INFO: TCP Data received {"connection_id":217625,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:24:23] local.INFO: Processing buffer {"connection_id":217625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:24:23] local.INFO: IMEI packet received {"connection_id":217625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":217625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:24:26] local.INFO: TCP Data received {"connection_id":217627,"ip":"117.224.108.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:24:26] local.INFO: Processing buffer {"connection_id":217627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:24:26] local.INFO: IMEI packet received {"connection_id":217627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":217627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:24:27] local.INFO: TCP Data received {"connection_id":217626,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:24:27] local.INFO: Processing buffer {"connection_id":217626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:24:27] local.INFO: IMEI packet received {"connection_id":217626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":217626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:24:28] local.INFO: TCP Data received {"connection_id":217626,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:24:28] local.INFO: Processing buffer {"connection_id":217626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:24:28] local.INFO: Packet analysis {"connection_id":217626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:24:28] local.INFO: Extracted packet for processing {"connection_id":217626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775942656001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792093827000,"timestamp_ms":1792093827000,"timestamp_seconds":1792093827,"priority":1,"record_length":96,"hex_timestamp":"000001a1411dafb8"} 
[2026-10-16 01:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:24:28] 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-10-16 01:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775942656001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775942656001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:24:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775942656001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":217626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:24:28] local.INFO: GPS data processed {"connection_id":217626,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:24:28] local.INFO: Acknowledgment sent {"connection_id":217626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:24:28] local.INFO: TCP Data received {"connection_id":217625,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:24:28] local.INFO: Processing buffer {"connection_id":217625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:24:28] local.INFO: IMEI packet received {"connection_id":217625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":217625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:24:29] local.INFO: TCP Data received {"connection_id":217625,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:24:29] local.INFO: Processing buffer {"connection_id":217625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:24:29] local.INFO: Packet analysis {"connection_id":217625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:24:29] local.INFO: Extracted packet for processing {"connection_id":217625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":8,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775961856001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792093902000,"timestamp_ms":1792093902000,"timestamp_seconds":1792093902,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed4b0"} 
[2026-10-16 01:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:24:29] 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-10-16 01:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775961856001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775961856001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:24:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:24:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775961856001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":217625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:24:29] local.INFO: GPS data processed {"connection_id":217625,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:24:29] local.INFO: Acknowledgment sent {"connection_id":217625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:24:34] local.INFO: TCP Data received {"connection_id":217625,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:24:34] local.INFO: Processing buffer {"connection_id":217625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:24:34] local.INFO: Packet analysis {"connection_id":217625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:24:34] local.INFO: Extracted packet for processing {"connection_id":217625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":8,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775961856001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792093902000,"timestamp_ms":1792093902000,"timestamp_seconds":1792093902,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed4b0"} 
[2026-10-16 01:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775961856001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775961856001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:24:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:24:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775961856001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":217625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:24:34] local.INFO: GPS data processed {"connection_id":217625,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:24:34] local.INFO: Acknowledgment sent {"connection_id":217625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:24:59] local.INFO: TCP Data received {"connection_id":217626,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:24:59] local.INFO: Processing buffer {"connection_id":217626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411dafb8012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:24:59] local.INFO: Packet analysis {"connection_id":217626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:24:59] local.INFO: Extracted packet for processing {"connection_id":217626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411d"} 
[2026-10-16 01:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775942656001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792093827000,"timestamp_ms":1792093827000,"timestamp_seconds":1792093827,"priority":1,"record_length":96,"hex_timestamp":"000001a1411dafb8"} 
[2026-10-16 01:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 01:24:59] 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-10-16 01:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:24: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-10-16 01:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775942656001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775942656001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:24:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775942656001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":217626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:24:59] local.INFO: GPS data processed {"connection_id":217626,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:24:59] local.INFO: Acknowledgment sent {"connection_id":217626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:25:12] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:25:12] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:25:12] local.INFO: IMEI packet received {"connection_id":216268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":216268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:25:18] local.INFO: TCP Data received {"connection_id":216269,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:25:18] local.INFO: Processing buffer {"connection_id":216269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:25:18] local.INFO: IMEI packet received {"connection_id":216269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":216269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:25:23] local.INFO: TCP Data received {"connection_id":216269,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:25:23] local.INFO: Processing buffer {"connection_id":216269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:25:23] local.INFO: IMEI packet received {"connection_id":216269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":216269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:25:24] local.INFO: TCP Data received {"connection_id":216269,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:25:24] local.INFO: Processing buffer {"connection_id":216269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:25:24] local.INFO: Packet analysis {"connection_id":216269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:25:24] local.INFO: Extracted packet for processing {"connection_id":216269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":8,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775961856001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792093902000,"timestamp_ms":1792093902000,"timestamp_seconds":1792093902,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed4b0"} 
[2026-10-16 01:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:25:24] 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-10-16 01:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775961856001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775961856001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:25:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:25:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775961856001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":216269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:25:24] local.INFO: GPS data processed {"connection_id":216269,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:25:24] local.INFO: Acknowledgment sent {"connection_id":216269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:25:25] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:25:25] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:25:25] local.INFO: IMEI packet received {"connection_id":216268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":216268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:25:25] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141218818012d691f00060e07c0000401472e..."} 
[2026-10-16 01:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141218818012d691f00060e07c0000401472e..."} 
[2026-10-16 01:25:25] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141218818012d691f00060e07c0000401472e..."} 
[2026-10-16 01:25:25] local.INFO: Packet analysis {"connection_id":216268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14121"} 
[2026-10-16 01:25:25] local.INFO: Extracted packet for processing {"connection_id":216268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14121"} 
[2026-10-16 01:25:25] local.INFO: GPS Element Parsed {"raw_longitude":761863936,"raw_latitude":101582784,"longitude_deg":76.1863936,"latitude_deg":10.1582784,"altitude":4,"angle":327,"satellites":46,"speed":51,"hex_longitude":"2d691f00","hex_latitude":"060e07c0","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776079872001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11992772756111360,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7587369129468614656,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792094079000,"timestamp_ms":1792094079000,"timestamp_seconds":1792094079,"priority":1,"record_length":96,"hex_timestamp":"000001a141218818"} 
[2026-10-16 01:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 01:25:25] 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-10-16 01: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-10-16 01:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776079872001,"66":27463,"70":206,"19":43264,"24":51,"16":11992772756111360,"45":7587369129468614656},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-10-16 01:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776079872001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:25:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-16 01:25:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11992772756111360,"km_value":11992772756111.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7587369129468614656,"description":"Unknown IO ID 45"} 
[2026-10-16 01:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776079872001,"power":27463,"unknown_70":206,"unknown_19":43264,"ignition":51,"odometer":null,"unknown_45":7587369129468614656}} 
[2026-10-16 01:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":216268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:25:25] local.INFO: GPS data processed {"connection_id":216268,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:25:25] local.INFO: Acknowledgment sent {"connection_id":216268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:25:27] local.INFO: TCP Data received {"connection_id":219363,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:25:27] local.INFO: Processing buffer {"connection_id":219363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:25:27] local.INFO: IMEI packet received {"connection_id":219363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":219363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:25:30] local.INFO: TCP Data received {"connection_id":219363,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:25:30] local.INFO: Processing buffer {"connection_id":219363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:25:30] local.INFO: IMEI packet received {"connection_id":219363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":219363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:25:31] local.INFO: TCP Data received {"connection_id":219363,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:25:31] local.INFO: Processing buffer {"connection_id":219363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:25:31] local.INFO: Packet analysis {"connection_id":219363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:25:31] local.INFO: Extracted packet for processing {"connection_id":219363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:25:31] 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-10-16 01:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:25:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":219363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:25:31] local.INFO: GPS data processed {"connection_id":219363,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:25:31] local.INFO: Acknowledgment sent {"connection_id":219363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:25:32] local.INFO: TCP Data received {"connection_id":219363,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:25:32] local.INFO: Processing buffer {"connection_id":219363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:25:32] local.INFO: Packet analysis {"connection_id":219363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:25:32] local.INFO: Extracted packet for processing {"connection_id":219363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:25:32] 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-10-16 01:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:25:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":219363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:25:32] local.INFO: GPS data processed {"connection_id":219363,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:25:32] local.INFO: Acknowledgment sent {"connection_id":219363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:25:56] local.INFO: TCP Data received {"connection_id":216269,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:25:56] local.INFO: Processing buffer {"connection_id":216269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:25:56] local.INFO: Packet analysis {"connection_id":216269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:25:56] local.INFO: Extracted packet for processing {"connection_id":216269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":8,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775961856001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792093902000,"timestamp_ms":1792093902000,"timestamp_seconds":1792093902,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed4b0"} 
[2026-10-16 01:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:25: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-10-16 01:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:25:56] 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-10-16 01:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775961856001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775961856001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:25:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:25:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775961856001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":216269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:25:56] local.INFO: GPS data processed {"connection_id":216269,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:25:56] local.INFO: Acknowledgment sent {"connection_id":216269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:25:57] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14121da20012d68eac0060e4b48000401432c..."} 
[2026-10-16 01:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14121da20012d68eac0060e4b48000401432c..."} 
[2026-10-16 01:25:57] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14121da20012d68eac0060e4b48000401432c..."} 
[2026-10-16 01:25:57] local.INFO: Packet analysis {"connection_id":216268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14121"} 
[2026-10-16 01:25:57] local.INFO: Extracted packet for processing {"connection_id":216268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14121"} 
[2026-10-16 01:25:57] local.INFO: GPS Element Parsed {"raw_longitude":761850560,"raw_latitude":101600072,"longitude_deg":76.185056,"latitude_deg":10.1600072,"altitude":4,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2d68eac0","hex_latitude":"060e4b48","is_valid_coordinates":true} 
[2026-10-16 01:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776084224001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11992772756111360,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7574773124265656320,"note":"Value kept but may cause issues"} 
[2026-10-16 01:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792094100000,"timestamp_ms":1792094100000,"timestamp_seconds":1792094100,"priority":1,"record_length":96,"hex_timestamp":"000001a14121da20"} 
[2026-10-16 01:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 01:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776084224001,"66":27213,"70":206,"19":43264,"24":0,"16":11992772756111360,"45":7574773124265656320},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-10-16 01:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776084224001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:25:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-16 01:25:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11992772756111360,"km_value":11992772756111.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7574773124265656320,"description":"Unknown IO ID 45"} 
[2026-10-16 01:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776084224001,"power":27213,"unknown_70":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7574773124265656320}} 
[2026-10-16 01:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":216268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043364,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:25:57] local.INFO: GPS data processed {"connection_id":216268,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:25:57] local.INFO: Acknowledgment sent {"connection_id":216268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:26:06] local.INFO: TCP Data received {"connection_id":219363,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:26:06] local.INFO: Processing buffer {"connection_id":219363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:26:06] local.INFO: Packet analysis {"connection_id":219363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:26:06] local.INFO: Extracted packet for processing {"connection_id":219363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:26:06] 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-10-16 01: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-10-16 01:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":219363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":219363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":219363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:26:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":219363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:26:06] local.INFO: GPS data processed {"connection_id":219363,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:26:06] local.INFO: Acknowledgment sent {"connection_id":219363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:26:17] local.INFO: TCP Data received {"connection_id":216270,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:26:17] local.INFO: Processing buffer {"connection_id":216270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:26:17] local.INFO: IMEI packet received {"connection_id":216270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":216270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:26:23] local.INFO: TCP Data received {"connection_id":216270,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:26:23] local.INFO: Processing buffer {"connection_id":216270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:26:23] local.INFO: IMEI packet received {"connection_id":216270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":216270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:26:24] local.INFO: TCP Data received {"connection_id":216083,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:26:24] local.INFO: Processing buffer {"connection_id":216083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:26:24] local.INFO: IMEI packet received {"connection_id":216083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":216083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:26:24] local.INFO: TCP Data received {"connection_id":216270,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:26:24] local.INFO: Processing buffer {"connection_id":216270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:26:24] local.INFO: Packet analysis {"connection_id":216270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:26:24] local.INFO: Extracted packet for processing {"connection_id":216270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":8,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775961856001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792093902000,"timestamp_ms":1792093902000,"timestamp_seconds":1792093902,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed4b0"} 
[2026-10-16 01:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:26:24] 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-10-16 01:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775961856001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775961856001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:26:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:26:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775961856001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":216270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:26:24] local.INFO: GPS data processed {"connection_id":216270,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:26:24] local.INFO: Acknowledgment sent {"connection_id":216270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:26:26] local.INFO: TCP Data received {"connection_id":216083,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:26:26] local.INFO: Processing buffer {"connection_id":216083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:26:26] local.INFO: IMEI packet received {"connection_id":216083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":216083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:26:27] local.INFO: TCP Data received {"connection_id":216083,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:26:27] local.INFO: Processing buffer {"connection_id":216083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:26:27] local.INFO: Packet analysis {"connection_id":216083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:26:27] local.INFO: Extracted packet for processing {"connection_id":216083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:26:27] 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-10-16 01:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:26:27] 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-10-16 01:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:26:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":216083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:26:27] local.INFO: GPS data processed {"connection_id":216083,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:26:27] local.INFO: Acknowledgment sent {"connection_id":216083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:26:29] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141220ce8012d68bd80060e9460000501502c..."} 
[2026-10-16 01:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141220ce8012d68bd80060e9460000501502c..."} 
[2026-10-16 01:26:29] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141220ce8012d68bd80060e9460000501502c..."} 
[2026-10-16 01:26:29] local.INFO: Packet analysis {"connection_id":216268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:26:29] local.INFO: Extracted packet for processing {"connection_id":216268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:26:29] local.INFO: GPS Element Parsed {"raw_longitude":761838976,"raw_latitude":101618784,"longitude_deg":76.1838976,"latitude_deg":10.1618784,"altitude":5,"angle":336,"satellites":44,"speed":52,"hex_longitude":"2d68bd80","hex_latitude":"060e9460","is_valid_coordinates":true} 
[2026-10-16 01:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776089600001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11992772756111360,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7560066056736950272,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792094113000,"timestamp_ms":1792094113000,"timestamp_seconds":1792094113,"priority":1,"record_length":96,"hex_timestamp":"000001a141220ce8"} 
[2026-10-16 01:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 01:26:29] 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-10-16 01:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776089600001,"66":27267,"70":206,"19":43264,"24":52,"16":11992772756111360,"45":7560066056736950272},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-10-16 01:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776089600001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:26:29] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-16 01:26:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11992772756111360,"km_value":11992772756111.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7560066056736950272,"description":"Unknown IO ID 45"} 
[2026-10-16 01:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776089600001,"power":27267,"unknown_70":206,"unknown_19":43264,"ignition":52,"odometer":null,"unknown_45":7560066056736950272}} 
[2026-10-16 01:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":216268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:26:29] local.INFO: GPS data processed {"connection_id":216268,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:26:29] local.INFO: Acknowledgment sent {"connection_id":216268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:26:32] local.INFO: TCP Data received {"connection_id":216083,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:26:32] local.INFO: Processing buffer {"connection_id":216083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:26:32] local.INFO: Packet analysis {"connection_id":216083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:26:32] local.INFO: Extracted packet for processing {"connection_id":216083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:26:32] 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-10-16 01:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:26:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":216083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:26:32] local.INFO: GPS data processed {"connection_id":216083,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:26:32] local.INFO: Acknowledgment sent {"connection_id":216083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:26:56] local.INFO: TCP Data received {"connection_id":216270,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:26:56] local.INFO: Processing buffer {"connection_id":216270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1411ed4b0012d7fac4005afe350000800a62b..."} 
[2026-10-16 01:26:56] local.INFO: Packet analysis {"connection_id":216270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:26:56] local.INFO: Extracted packet for processing {"connection_id":216270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1411e"} 
[2026-10-16 01:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":8,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458775961856001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792093902000,"timestamp_ms":1792093902000,"timestamp_seconds":1792093902,"priority":1,"record_length":96,"hex_timestamp":"000001a1411ed4b0"} 
[2026-10-16 01:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:26: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-10-16 01:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:26:56] 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-10-16 01:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458775961856001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458775961856001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:26:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:26:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458775961856001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":216270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:26:56] local.INFO: GPS data processed {"connection_id":216270,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:26:56] local.INFO: Acknowledgment sent {"connection_id":216270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:27:01] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141225ef0012d68a1c0060eda30000601582d..."} 
[2026-10-16 01:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141225ef0012d68a1c0060eda30000601582d..."} 
[2026-10-16 01:27:01] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141225ef0012d68a1c0060eda30000601582d..."} 
[2026-10-16 01:27:01] local.INFO: Packet analysis {"connection_id":216268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:27:01] local.INFO: Extracted packet for processing {"connection_id":216268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:27:01] local.INFO: GPS Element Parsed {"raw_longitude":761831872,"raw_latitude":101636656,"longitude_deg":76.1831872,"latitude_deg":10.1636656,"altitude":6,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d68a1c0","hex_latitude":"060eda30","is_valid_coordinates":true} 
[2026-10-16 01:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776092928001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11992772756111360,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7547329314045583360,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792094134000,"timestamp_ms":1792094134000,"timestamp_seconds":1792094134,"priority":1,"record_length":96,"hex_timestamp":"000001a141225ef0"} 
[2026-10-16 01:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 01:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776092928001,"66":27234,"70":206,"19":43264,"24":0,"16":11992772756111360,"45":7547329314045583360},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-10-16 01:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776092928001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:27:01] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-16 01:27:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11992772756111360,"km_value":11992772756111.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7547329314045583360,"description":"Unknown IO ID 45"} 
[2026-10-16 01:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776092928001,"power":27234,"unknown_70":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7547329314045583360}} 
[2026-10-16 01:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":216268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:27:01] local.INFO: GPS data processed {"connection_id":216268,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:27:01] local.INFO: Acknowledgment sent {"connection_id":216268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:27:15] local.INFO: TCP Data received {"connection_id":216083,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:27:15] local.INFO: Processing buffer {"connection_id":216083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:27:15] local.INFO: Packet analysis {"connection_id":216083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:27:15] local.INFO: Extracted packet for processing {"connection_id":216083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:27: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-10-16 01: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:27:15] 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-10-16 01: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-10-16 01:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:27:15] 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-10-16 01:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:27:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":216083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:27:15] local.INFO: GPS data processed {"connection_id":216083,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:27:15] local.INFO: Acknowledgment sent {"connection_id":216083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:27:22] local.INFO: TCP Data received {"connection_id":219365,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:27:22] local.INFO: Processing buffer {"connection_id":219365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:27:22] local.INFO: IMEI packet received {"connection_id":219365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":219365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:27:22] local.INFO: TCP Data received {"connection_id":219364,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:27:22] local.INFO: Processing buffer {"connection_id":219364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:27:22] local.INFO: IMEI packet received {"connection_id":219364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":219364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:27:23] local.INFO: TCP Data received {"connection_id":219364,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:27:23] local.INFO: Processing buffer {"connection_id":219364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:27:23] local.INFO: IMEI packet received {"connection_id":219364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":219364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:27:27] local.INFO: TCP Data received {"connection_id":219365,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:27:27] local.INFO: Processing buffer {"connection_id":219365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:27:27] local.INFO: IMEI packet received {"connection_id":219365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":219365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:27:28] local.INFO: TCP Data received {"connection_id":219364,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:27:28] local.INFO: Processing buffer {"connection_id":219364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:27:28] local.INFO: IMEI packet received {"connection_id":219364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":219364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:27:28] local.INFO: TCP Data received {"connection_id":219365,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:27:28] local.INFO: Processing buffer {"connection_id":219365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:27:28] local.INFO: Packet analysis {"connection_id":219365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:27:28] local.INFO: Extracted packet for processing {"connection_id":219365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:27:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:27:28] 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-10-16 01:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:27:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:27:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":219365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:27:28] local.INFO: GPS data processed {"connection_id":219365,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:27:28] local.INFO: Acknowledgment sent {"connection_id":219365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:27:30] local.INFO: TCP Data received {"connection_id":219364,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:27:30] local.INFO: Processing buffer {"connection_id":219364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:27:30] local.INFO: Packet analysis {"connection_id":219364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:27:30] local.INFO: Extracted packet for processing {"connection_id":219364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:27: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-10-16 01:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792094203000,"timestamp_ms":1792094203000,"timestamp_seconds":1792094203,"priority":1,"record_length":96,"hex_timestamp":"000001a141236c78"} 
[2026-10-16 01:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:27: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:27:30] 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-10-16 01:27: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-10-16 01:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038912001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:27:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:27:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038912001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":219364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:27:30] local.INFO: GPS data processed {"connection_id":219364,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:27:30] local.INFO: Acknowledgment sent {"connection_id":219364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:27:32] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141226e90012d689900060ef5c0000501492d..."} 
[2026-10-16 01:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141226e90012d689900060ef5c0000501492d..."} 
[2026-10-16 01:27:32] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141226e90012d689900060ef5c0000501492d..."} 
[2026-10-16 01:27:32] local.INFO: Packet analysis {"connection_id":216268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:27:32] local.INFO: Extracted packet for processing {"connection_id":216268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:27:32] local.INFO: GPS Element Parsed {"raw_longitude":761829632,"raw_latitude":101643712,"longitude_deg":76.1829632,"latitude_deg":10.1643712,"altitude":5,"angle":329,"satellites":45,"speed":37,"hex_longitude":"2d689900","hex_latitude":"060ef5c0","is_valid_coordinates":true} 
[2026-10-16 01:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776098304001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11993133533364224,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7539518383446437888,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792094138000,"timestamp_ms":1792094138000,"timestamp_seconds":1792094138,"priority":1,"record_length":96,"hex_timestamp":"000001a141226e90"} 
[2026-10-16 01:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 01:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776098304001,"66":27050,"70":206,"19":43264,"24":37,"16":11993133533364224,"45":7539518383446437888},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-10-16 01:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776098304001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:27:32] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-10-16 01:27:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11993133533364224,"km_value":11993133533364.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7539518383446437888,"description":"Unknown IO ID 45"} 
[2026-10-16 01:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776098304001,"power":27050,"unknown_70":206,"unknown_19":43264,"ignition":37,"odometer":null,"unknown_45":7539518383446437888}} 
[2026-10-16 01:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":216268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:27:32] local.INFO: GPS data processed {"connection_id":216268,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:27:32] local.INFO: Acknowledgment sent {"connection_id":216268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:27:33] local.INFO: TCP Data received {"connection_id":219364,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:27:33] local.INFO: Processing buffer {"connection_id":219364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:27:33] local.INFO: Packet analysis {"connection_id":219364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:27:33] local.INFO: Extracted packet for processing {"connection_id":219364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792094203000,"timestamp_ms":1792094203000,"timestamp_seconds":1792094203,"priority":1,"record_length":96,"hex_timestamp":"000001a141236c78"} 
[2026-10-16 01:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038912001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:27:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038912001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":219364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:27:33] local.INFO: GPS data processed {"connection_id":219364,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:27:33] local.INFO: Acknowledgment sent {"connection_id":219364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:27:59] local.INFO: TCP Data received {"connection_id":219365,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:27:59] local.INFO: Processing buffer {"connection_id":219365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:27:59] local.INFO: Packet analysis {"connection_id":219365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:27:59] local.INFO: Extracted packet for processing {"connection_id":219365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:27:59] 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-10-16 01:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:27:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":219365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:27:59] local.INFO: GPS data processed {"connection_id":219365,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:27:59] local.INFO: Acknowledgment sent {"connection_id":219365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:28:05] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412291b8012d6882c0060f1228000501402d..."} 
[2026-10-16 01:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412291b8012d6882c0060f1228000501402d..."} 
[2026-10-16 01:28:05] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412291b8012d6882c0060f1228000501402d..."} 
[2026-10-16 01:28:05] local.INFO: Packet analysis {"connection_id":216268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:28:05] local.INFO: Extracted packet for processing {"connection_id":216268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:28:05] local.INFO: GPS Element Parsed {"raw_longitude":761823936,"raw_latitude":101650984,"longitude_deg":76.1823936,"latitude_deg":10.1650984,"altitude":5,"angle":320,"satellites":45,"speed":42,"hex_longitude":"2d6882c0","hex_latitude":"060f1228","is_valid_coordinates":true} 
[2026-10-16 01:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776099328001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11993580209963008,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7537055477402025984,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792094147000,"timestamp_ms":1792094147000,"timestamp_seconds":1792094147,"priority":1,"record_length":96,"hex_timestamp":"000001a1412291b8"} 
[2026-10-16 01:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:28:05] 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-10-16 01:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 01:28:05] 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-10-16 01:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776099328001,"66":27300,"69":206,"19":43264,"24":42,"16":11993580209963008,"45":7537055477402025984},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,19,24,16,45]} 
[2026-10-16 01:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776099328001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:28:05] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-10-16 01:28:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11993580209963008,"km_value":11993580209963.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7537055477402025984,"description":"Unknown IO ID 45"} 
[2026-10-16 01:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776099328001,"power":27300,"unknown_69":206,"unknown_19":43264,"ignition":42,"odometer":null,"unknown_45":7537055477402025984}} 
[2026-10-16 01:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":216268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:28:05] local.INFO: GPS data processed {"connection_id":216268,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:28:05] local.INFO: Acknowledgment sent {"connection_id":216268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:28:17] local.INFO: TCP Data received {"connection_id":219366,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:28:17] local.INFO: Processing buffer {"connection_id":219366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:28:17] local.INFO: IMEI packet received {"connection_id":219366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":219366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:28:21] local.INFO: TCP Data received {"connection_id":217628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:28:21] local.INFO: Processing buffer {"connection_id":217628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:28:21] local.INFO: IMEI packet received {"connection_id":217628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":217628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:28:23] local.INFO: TCP Data received {"connection_id":219366,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:28:23] local.INFO: Processing buffer {"connection_id":219366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:28:23] local.INFO: IMEI packet received {"connection_id":219366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":219366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:28:24] local.INFO: TCP Data received {"connection_id":219366,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:28:24] local.INFO: Processing buffer {"connection_id":219366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:28:24] local.INFO: Packet analysis {"connection_id":219366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:28:24] local.INFO: Extracted packet for processing {"connection_id":219366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792094203000,"timestamp_ms":1792094203000,"timestamp_seconds":1792094203,"priority":1,"record_length":96,"hex_timestamp":"000001a141236c78"} 
[2026-10-16 01:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:28:24] 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-10-16 01: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-10-16 01:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038912001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:28:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:28:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038912001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":219366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:28:24] local.INFO: GPS data processed {"connection_id":219366,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:28:24] local.INFO: Acknowledgment sent {"connection_id":219366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:28:27] local.INFO: TCP Data received {"connection_id":217628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:28:27] local.INFO: Processing buffer {"connection_id":217628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:28:27] local.INFO: IMEI packet received {"connection_id":217628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":217628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:28:36] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141242fc8012d67d1c0061014400007003730..."} 
[2026-10-16 01:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141242fc8012d67d1c0061014400007003730..."} 
[2026-10-16 01:28:36] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141242fc8012d67d1c0061014400007003730..."} 
[2026-10-16 01:28:36] local.INFO: Packet analysis {"connection_id":216268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14124"} 
[2026-10-16 01:28:36] local.INFO: Extracted packet for processing {"connection_id":216268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14124"} 
[2026-10-16 01:28:36] local.INFO: GPS Element Parsed {"raw_longitude":761778624,"raw_latitude":101717056,"longitude_deg":76.1778624,"latitude_deg":10.1717056,"altitude":7,"angle":55,"satellites":48,"speed":24,"hex_longitude":"2d67d1c0","hex_latitude":"06101440","is_valid_coordinates":true} 
[2026-10-16 01:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11996947464323072,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,69,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 01:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792094253000,"timestamp_ms":1792094253000,"timestamp_seconds":1792094253,"priority":1,"record_length":96,"hex_timestamp":"000001a141242fc8"} 
[2026-10-16 01:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:28: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 01:28: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-10-16 01:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27137,"69":206,"19":43264,"24":24,"16":11996947464323072},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,19,24,16]} 
[2026-10-16 01:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 01:28:36] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-10-16 01:28:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11996947464323072,"km_value":11996947464323.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:28:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27137,"unknown_69":206,"unknown_19":43264,"ignition":24,"odometer":null}} 
[2026-10-16 01:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":216268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:28:36] local.INFO: GPS data processed {"connection_id":216268,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:28:36] local.INFO: Acknowledgment sent {"connection_id":216268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:28:37] local.INFO: TCP Data received {"connection_id":217628,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:28:37] local.INFO: Processing buffer {"connection_id":217628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:28:37] local.INFO: Packet analysis {"connection_id":217628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:28:37] local.INFO: Extracted packet for processing {"connection_id":217628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:28:37] 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-10-16 01: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-10-16 01:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:28:37] 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-10-16 01:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:28:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":217628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:28:37] local.INFO: GPS data processed {"connection_id":217628,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:28:37] local.INFO: Acknowledgment sent {"connection_id":217628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:28:56] local.INFO: TCP Data received {"connection_id":219366,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:28:56] local.INFO: Processing buffer {"connection_id":219366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:28:56] local.INFO: Packet analysis {"connection_id":219366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:28:56] local.INFO: Extracted packet for processing {"connection_id":219366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792094203000,"timestamp_ms":1792094203000,"timestamp_seconds":1792094203,"priority":1,"record_length":96,"hex_timestamp":"000001a141236c78"} 
[2026-10-16 01:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:28: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-10-16 01:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:28:56] 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-10-16 01:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038912001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:28:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:28:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038912001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":219366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:28:56] local.INFO: GPS data processed {"connection_id":219366,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:28:56] local.INFO: Acknowledgment sent {"connection_id":219366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:29:07] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141688bc80100000000000000000000000000..."} 
[2026-10-16 01:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141688bc80100000000000000000000000000..."} 
[2026-10-16 01:29:07] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141688bc80100000000000000000000000000..."} 
[2026-10-16 01:29:07] local.INFO: Packet analysis {"connection_id":216268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14168"} 
[2026-10-16 01:29:07] local.INFO: Extracted packet for processing {"connection_id":216268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14168"} 
[2026-10-16 01:29:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776128768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11996947464323072,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7480971588311203840,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792098733000,"timestamp_ms":1792098733000,"timestamp_seconds":1792098733,"priority":1,"record_length":96,"hex_timestamp":"000001a141688bc8"} 
[2026-10-16 01:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:29: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-10-16 01: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-10-16 01:29:07] 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-10-16 01: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-10-16 01:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":216268,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 01:29:07] local.INFO: GPS data processed {"connection_id":216268,"processed":0,"errors":0,"total":1} 
[2026-10-16 01:29:07] local.INFO: Acknowledgment sent {"connection_id":216268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:29:17] local.INFO: TCP Data received {"connection_id":216271,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:29:17] local.INFO: Processing buffer {"connection_id":216271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:29:17] local.INFO: IMEI packet received {"connection_id":216271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":216271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:29:21] local.INFO: TCP Data received {"connection_id":217629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:29:21] local.INFO: Processing buffer {"connection_id":217629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:29:21] local.INFO: IMEI packet received {"connection_id":217629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":217629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:29:23] local.INFO: TCP Data received {"connection_id":216271,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:29:23] local.INFO: Processing buffer {"connection_id":216271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:29:23] local.INFO: IMEI packet received {"connection_id":216271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":216271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:29:24] local.INFO: TCP Data received {"connection_id":216271,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:29:24] local.INFO: Processing buffer {"connection_id":216271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:29:24] local.INFO: Packet analysis {"connection_id":216271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:29:24] local.INFO: Extracted packet for processing {"connection_id":216271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792094203000,"timestamp_ms":1792094203000,"timestamp_seconds":1792094203,"priority":1,"record_length":96,"hex_timestamp":"000001a141236c78"} 
[2026-10-16 01:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:29:24] 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-10-16 01:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038912001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:29:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:29:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038912001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":216271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:29:24] local.INFO: GPS data processed {"connection_id":216271,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:29:24] local.INFO: Acknowledgment sent {"connection_id":216271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:29:27] local.INFO: TCP Data received {"connection_id":217629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:29:27] local.INFO: Processing buffer {"connection_id":217629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:29:27] local.INFO: IMEI packet received {"connection_id":217629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":217629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:29:27] local.INFO: TCP Data received {"connection_id":217629,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:29:27] local.INFO: Processing buffer {"connection_id":217629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:29:27] local.INFO: Packet analysis {"connection_id":217629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:29:27] local.INFO: Extracted packet for processing {"connection_id":217629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:29:27] 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-10-16 01: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-10-16 01:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:29: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-10-16 01:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:29:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":217629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:29:27] local.INFO: GPS data processed {"connection_id":217629,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:29:27] local.INFO: Acknowledgment sent {"connection_id":217629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:29:56] local.INFO: TCP Data received {"connection_id":216271,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:29:56] local.INFO: Processing buffer {"connection_id":216271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:29:56] local.INFO: Packet analysis {"connection_id":216271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:29:56] local.INFO: Extracted packet for processing {"connection_id":216271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792094203000,"timestamp_ms":1792094203000,"timestamp_seconds":1792094203,"priority":1,"record_length":96,"hex_timestamp":"000001a141236c78"} 
[2026-10-16 01:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:29: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-10-16 01:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:29:56] 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-10-16 01:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038912001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:29:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:29:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038912001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":216271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:29:56] local.INFO: GPS data processed {"connection_id":216271,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:29:56] local.INFO: Acknowledgment sent {"connection_id":216271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:29:58] local.INFO: TCP Data received {"connection_id":217630,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:29:58] local.INFO: Processing buffer {"connection_id":217630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:29:58] local.INFO: IMEI packet received {"connection_id":217630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":217630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:29:59] local.INFO: TCP Data received {"connection_id":217630,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:29:59] local.INFO: Processing buffer {"connection_id":217630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:29:59] local.INFO: IMEI packet received {"connection_id":217630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":217630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:30:01] local.INFO: TCP Data received {"connection_id":217630,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14125a2e0012d6841400610c5300002013831..."} 
[2026-10-16 01:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14125a2e0012d6841400610c5300002013831..."} 
[2026-10-16 01:30:01] local.INFO: Processing buffer {"connection_id":217630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14125a2e0012d6841400610c5300002013831..."} 
[2026-10-16 01:30:01] local.INFO: Packet analysis {"connection_id":217630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14125"} 
[2026-10-16 01:30:01] local.INFO: Extracted packet for processing {"connection_id":217630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14125"} 
[2026-10-16 01:30:01] local.INFO: GPS Element Parsed {"raw_longitude":761807168,"raw_latitude":101762352,"longitude_deg":76.1807168,"latitude_deg":10.1762352,"altitude":2,"angle":312,"satellites":49,"speed":38,"hex_longitude":"2d684140","hex_latitude":"0610c530","is_valid_coordinates":true} 
[2026-10-16 01:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776150528001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11998059860852736,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7520659560037869568,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792094348000,"timestamp_ms":1792094348000,"timestamp_seconds":1792094348,"priority":1,"record_length":96,"hex_timestamp":"000001a14125a2e0"} 
[2026-10-16 01:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 01:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776150528001,"66":27463,"161":206,"19":43264,"24":38,"16":11998059860852736,"45":7520659560037869568},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,19,24,16,45]} 
[2026-10-16 01:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776150528001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:30:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:30:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11998059860852736,"km_value":11998059860852.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7520659560037869568,"description":"Unknown IO ID 45"} 
[2026-10-16 01:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776150528001,"power":27463,"unknown_161":206,"unknown_19":43264,"ignition":38,"odometer":null,"unknown_45":7520659560037869568}} 
[2026-10-16 01:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":217630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:30:01] local.INFO: GPS data processed {"connection_id":217630,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:30:01] local.INFO: Acknowledgment sent {"connection_id":217630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:30:02] local.INFO: TCP Data received {"connection_id":217629,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:30:02] local.INFO: Processing buffer {"connection_id":217629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:30:02] local.INFO: Packet analysis {"connection_id":217629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:30:02] local.INFO: Extracted packet for processing {"connection_id":217629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:30:02] 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-10-16 01:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":217629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":217629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":217629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:30:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":217629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:30:02] local.INFO: GPS data processed {"connection_id":217629,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:30:02] local.INFO: Acknowledgment sent {"connection_id":217629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:30:03] local.INFO: TCP Data received {"connection_id":217630,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14125b280012d6837800610d0f00002014531..."} 
[2026-10-16 01:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14125b280012d6837800610d0f00002014531..."} 
[2026-10-16 01:30:03] local.INFO: Processing buffer {"connection_id":217630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14125b280012d6837800610d0f00002014531..."} 
[2026-10-16 01:30:03] local.INFO: Packet analysis {"connection_id":217630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14125"} 
[2026-10-16 01:30:03] local.INFO: Extracted packet for processing {"connection_id":217630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14125"} 
[2026-10-16 01:30:03] local.INFO: GPS Element Parsed {"raw_longitude":761804672,"raw_latitude":101765360,"longitude_deg":76.1804672,"latitude_deg":10.176536,"altitude":2,"angle":325,"satellites":49,"speed":39,"hex_longitude":"2d683780","hex_latitude":"0610d0f0","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776153088001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11998248839413760,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7512356048226037760,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792094352000,"timestamp_ms":1792094352000,"timestamp_seconds":1792094352,"priority":1,"record_length":96,"hex_timestamp":"000001a14125b280"} 
[2026-10-16 01:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 01:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776153088001,"66":27213,"161":206,"19":43264,"24":39,"16":11998248839413760,"45":7512356048226037760},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,19,24,16,45]} 
[2026-10-16 01:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776153088001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:30:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:30:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11998248839413760,"km_value":11998248839413.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7512356048226037760,"description":"Unknown IO ID 45"} 
[2026-10-16 01:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776153088001,"power":27213,"unknown_161":206,"unknown_19":43264,"ignition":39,"odometer":null,"unknown_45":7512356048226037760}} 
[2026-10-16 01:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":217630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:30:03] local.INFO: GPS data processed {"connection_id":217630,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:30:03] local.INFO: Acknowledgment sent {"connection_id":217630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:30:21] local.INFO: TCP Data received {"connection_id":216084,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:30:21] local.INFO: Processing buffer {"connection_id":216084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:30:21] local.INFO: IMEI packet received {"connection_id":216084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":216084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:30:22] local.INFO: TCP Data received {"connection_id":219367,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:30:22] local.INFO: Processing buffer {"connection_id":219367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:30:22] local.INFO: IMEI packet received {"connection_id":219367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":219367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:30:27] local.INFO: TCP Data received {"connection_id":216084,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:30:27] local.INFO: Processing buffer {"connection_id":216084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:30:27] local.INFO: IMEI packet received {"connection_id":216084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":216084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:30:28] local.INFO: TCP Data received {"connection_id":219367,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:30:28] local.INFO: Processing buffer {"connection_id":219367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:30:28] local.INFO: IMEI packet received {"connection_id":219367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":219367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:30:29] local.INFO: TCP Data received {"connection_id":219367,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:30:29] local.INFO: Processing buffer {"connection_id":219367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:30:29] local.INFO: Packet analysis {"connection_id":219367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:30:29] local.INFO: Extracted packet for processing {"connection_id":219367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792094203000,"timestamp_ms":1792094203000,"timestamp_seconds":1792094203,"priority":1,"record_length":96,"hex_timestamp":"000001a141236c78"} 
[2026-10-16 01:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:30:29] 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-10-16 01:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038912001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:30:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:30:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038912001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":219367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:30:29] local.INFO: GPS data processed {"connection_id":219367,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:30:29] local.INFO: Acknowledgment sent {"connection_id":219367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:30:29] local.INFO: TCP Data received {"connection_id":216084,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:30:29] local.INFO: Processing buffer {"connection_id":216084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141224780012d7c240005dad510000c00ea1e..."} 
[2026-10-16 01:30:29] local.INFO: Packet analysis {"connection_id":216084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:30:29] local.INFO: Extracted packet for processing {"connection_id":216084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14122"} 
[2026-10-16 01:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776019712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792094128000,"timestamp_ms":1792094128000,"timestamp_seconds":1792094128,"priority":1,"record_length":96,"hex_timestamp":"000001a141224780"} 
[2026-10-16 01:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 01:30:29] 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-10-16 01:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776019712001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776019712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:30:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776019712001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":216084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:30:29] local.INFO: GPS data processed {"connection_id":216084,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:30:29] local.INFO: Acknowledgment sent {"connection_id":216084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:30:34] local.INFO: TCP Data received {"connection_id":217630,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14125d5a8012d6824400610eda8000301512f..."} 
[2026-10-16 01:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14125d5a8012d6824400610eda8000301512f..."} 
[2026-10-16 01:30:34] local.INFO: Processing buffer {"connection_id":217630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14125d5a8012d6824400610eda8000301512f..."} 
[2026-10-16 01:30:34] local.INFO: Packet analysis {"connection_id":217630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14125"} 
[2026-10-16 01:30:34] local.INFO: Extracted packet for processing {"connection_id":217630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14125"} 
[2026-10-16 01:30:34] local.INFO: GPS Element Parsed {"raw_longitude":761799744,"raw_latitude":101772712,"longitude_deg":76.1799744,"latitude_deg":10.1772712,"altitude":3,"angle":337,"satellites":47,"speed":38,"hex_longitude":"2d682440","hex_latitude":"0610eda8","is_valid_coordinates":true} 
[2026-10-16 01:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776154112001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11998674041176064,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7509611667203878912,"note":"Value kept but may cause issues"} 
[2026-10-16 01:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792094361000,"timestamp_ms":1792094361000,"timestamp_seconds":1792094361,"priority":1,"record_length":96,"hex_timestamp":"000001a14125d5a8"} 
[2026-10-16 01:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:30: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-10-16 01:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 01:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776154112001,"66":27180,"161":206,"19":43264,"24":38,"16":11998674041176064,"45":7509611667203878912},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,19,24,16,45]} 
[2026-10-16 01:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776154112001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:30:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:30:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11998674041176064,"km_value":11998674041176.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7509611667203878912,"description":"Unknown IO ID 45"} 
[2026-10-16 01:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776154112001,"power":27180,"unknown_161":206,"unknown_19":43264,"ignition":38,"odometer":null,"unknown_45":7509611667203878912}} 
[2026-10-16 01:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":217630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:30:34] local.INFO: GPS data processed {"connection_id":217630,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:30:34] local.INFO: Acknowledgment sent {"connection_id":217630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:31:01] local.INFO: TCP Data received {"connection_id":219367,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:31:01] local.INFO: Processing buffer {"connection_id":219367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:31:01] local.INFO: Packet analysis {"connection_id":219367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:31:01] local.INFO: Extracted packet for processing {"connection_id":219367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792094203000,"timestamp_ms":1792094203000,"timestamp_seconds":1792094203,"priority":1,"record_length":96,"hex_timestamp":"000001a141236c78"} 
[2026-10-16 01:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:31:01] 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-10-16 01:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038912001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:31:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:31:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038912001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":219367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:31:01] local.INFO: GPS data processed {"connection_id":219367,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:31:01] local.INFO: Acknowledgment sent {"connection_id":219367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:31:02] local.INFO: TCP Data received {"connection_id":216084,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:31:02] local.INFO: Processing buffer {"connection_id":216084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:31:02] local.INFO: Packet analysis {"connection_id":216084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:31:02] local.INFO: Extracted packet for processing {"connection_id":216084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776096768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792094429000,"timestamp_ms":1792094429000,"timestamp_seconds":1792094429,"priority":1,"record_length":96,"hex_timestamp":"000001a14126df48"} 
[2026-10-16 01:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:31:02] 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-10-16 01:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776096768001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776096768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:31:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776096768001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":216084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:31:03] local.INFO: GPS data processed {"connection_id":216084,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:31:03] local.INFO: Acknowledgment sent {"connection_id":216084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:31:06] local.INFO: TCP Data received {"connection_id":217630,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14126a0c8012d6862c0061172380002004430..."} 
[2026-10-16 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126a0c8012d6862c0061172380002004430..."} 
[2026-10-16 01:31:06] local.INFO: Processing buffer {"connection_id":217630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126a0c8012d6862c0061172380002004430..."} 
[2026-10-16 01:31:06] local.INFO: Packet analysis {"connection_id":217630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:31:06] local.INFO: Extracted packet for processing {"connection_id":217630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:31:06] local.INFO: GPS Element Parsed {"raw_longitude":761815744,"raw_latitude":101806648,"longitude_deg":76.1815744,"latitude_deg":10.1806648,"altitude":2,"angle":68,"satellites":48,"speed":36,"hex_longitude":"2d6862c0","hex_latitude":"06117238","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776168448001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12000774280183808,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7517492966561835008,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792094413000,"timestamp_ms":1792094413000,"timestamp_seconds":1792094413,"priority":1,"record_length":96,"hex_timestamp":"000001a14126a0c8"} 
[2026-10-16 01:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01: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-10-16 01: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":107,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-16 01:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":976,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776168448001,"66":27593,"160":206,"19":43264,"24":36,"16":12000774280183808,"45":7517492966561835008},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,19,24,16,45]} 
[2026-10-16 01:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776168448001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:31:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-16 01:31:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12000774280183808,"km_value":12000774280183.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7517492966561835008,"description":"Unknown IO ID 45"} 
[2026-10-16 01:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776168448001,"power":27593,"unknown_160":206,"unknown_19":43264,"ignition":36,"odometer":null,"unknown_45":7517492966561835008}} 
[2026-10-16 01:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":217630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:31:06] local.INFO: GPS data processed {"connection_id":217630,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:31:06] local.INFO: Acknowledgment sent {"connection_id":217630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:31:18] local.INFO: TCP Data received {"connection_id":216272,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:31:18] local.INFO: Processing buffer {"connection_id":216272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:31:18] local.INFO: IMEI packet received {"connection_id":216272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":216272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:31:22] local.INFO: TCP Data received {"connection_id":216273,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:31:22] local.INFO: Processing buffer {"connection_id":216273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:31:22] local.INFO: IMEI packet received {"connection_id":216273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":216273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:31:23] local.INFO: TCP Data received {"connection_id":216272,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:31:23] local.INFO: Processing buffer {"connection_id":216272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:31:23] local.INFO: IMEI packet received {"connection_id":216272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":216272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:31:24] local.INFO: TCP Data received {"connection_id":216272,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:31:24] local.INFO: Processing buffer {"connection_id":216272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:31:24] local.INFO: Packet analysis {"connection_id":216272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:31:24] local.INFO: Extracted packet for processing {"connection_id":216272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792094203000,"timestamp_ms":1792094203000,"timestamp_seconds":1792094203,"priority":1,"record_length":96,"hex_timestamp":"000001a141236c78"} 
[2026-10-16 01:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:31:24] 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-10-16 01:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038912001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:31:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:31:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038912001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":216272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:31:24] local.INFO: GPS data processed {"connection_id":216272,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:31:24] local.INFO: Acknowledgment sent {"connection_id":216272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:31:27] local.INFO: TCP Data received {"connection_id":216273,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:31:27] local.INFO: Processing buffer {"connection_id":216273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:31:27] local.INFO: IMEI packet received {"connection_id":216273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":216273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:31:29] local.INFO: TCP Data received {"connection_id":216273,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:31:29] local.INFO: Processing buffer {"connection_id":216273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:31:29] local.INFO: Packet analysis {"connection_id":216273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:31:29] local.INFO: Extracted packet for processing {"connection_id":216273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776096768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792094429000,"timestamp_ms":1792094429000,"timestamp_seconds":1792094429,"priority":1,"record_length":96,"hex_timestamp":"000001a14126df48"} 
[2026-10-16 01:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:31: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-10-16 01:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776096768001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776096768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:31:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776096768001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":216273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:31:30] local.INFO: GPS data processed {"connection_id":216273,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:31:30] local.INFO: Acknowledgment sent {"connection_id":216273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:31:47] local.INFO: TCP Data received {"connection_id":217630,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14126ac80012d686d80061174c0000200512e..."} 
[2026-10-16 01:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126ac80012d686d80061174c0000200512e..."} 
[2026-10-16 01:31:47] local.INFO: Processing buffer {"connection_id":217630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126ac80012d686d80061174c0000200512e..."} 
[2026-10-16 01:31:47] local.INFO: Packet analysis {"connection_id":217630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:31:47] local.INFO: Extracted packet for processing {"connection_id":217630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:31:47] local.INFO: GPS Element Parsed {"raw_longitude":761818496,"raw_latitude":101807296,"longitude_deg":76.1818496,"latitude_deg":10.1807296,"altitude":2,"angle":81,"satellites":46,"speed":38,"hex_longitude":"2d686d80","hex_latitude":"061174c0","is_valid_coordinates":true} 
[2026-10-16 01:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776169728001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12000907424169984,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7521785459957184512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792094416000,"timestamp_ms":1792094416000,"timestamp_seconds":1792094416,"priority":1,"record_length":96,"hex_timestamp":"000001a14126ac80"} 
[2026-10-16 01:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:31: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-10-16 01:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 01:31:47] 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-10-16 01:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776169728001,"66":27397,"160":206,"19":43264,"24":38,"16":12000907424169984,"45":7521785459957184512},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,19,24,16,45]} 
[2026-10-16 01:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776169728001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:31:47] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-10-16 01:31:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12000907424169984,"km_value":12000907424169.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7521785459957184512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776169728001,"power":27397,"unknown_160":206,"unknown_19":43264,"ignition":38,"odometer":null,"unknown_45":7521785459957184512}} 
[2026-10-16 01:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":217630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:31:47] local.INFO: GPS data processed {"connection_id":217630,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:31:47] local.INFO: Acknowledgment sent {"connection_id":217630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:31:52] local.INFO: TCP Data received {"connection_id":217631,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:31:52] local.INFO: Processing buffer {"connection_id":217631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:31:52] local.INFO: IMEI packet received {"connection_id":217631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":217631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:31:56] local.INFO: TCP Data received {"connection_id":216272,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:31:56] local.INFO: Processing buffer {"connection_id":216272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141236c78012d7fac4005afe350000000a625..."} 
[2026-10-16 01:31:56] local.INFO: Packet analysis {"connection_id":216272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:31:56] local.INFO: Extracted packet for processing {"connection_id":216272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14123"} 
[2026-10-16 01:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776038912001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792094203000,"timestamp_ms":1792094203000,"timestamp_seconds":1792094203,"priority":1,"record_length":96,"hex_timestamp":"000001a141236c78"} 
[2026-10-16 01:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:31: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-10-16 01:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:31:56] 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-10-16 01:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776038912001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776038912001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:31:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:31:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776038912001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":216272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:31:56] local.INFO: GPS data processed {"connection_id":216272,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:31:56] local.INFO: Acknowledgment sent {"connection_id":216272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:31:56] local.INFO: TCP Data received {"connection_id":217631,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:31:56] local.INFO: Processing buffer {"connection_id":217631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:31:56] local.INFO: IMEI packet received {"connection_id":217631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":217631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:31:59] local.INFO: TCP Data received {"connection_id":217631,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14126d390012d689240061179e0000300512f..."} 
[2026-10-16 01:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126d390012d689240061179e0000300512f..."} 
[2026-10-16 01:31:59] local.INFO: Processing buffer {"connection_id":217631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126d390012d689240061179e0000300512f..."} 
[2026-10-16 01:31:59] local.INFO: Packet analysis {"connection_id":217631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:31:59] local.INFO: Extracted packet for processing {"connection_id":217631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:31:59] local.INFO: GPS Element Parsed {"raw_longitude":761827904,"raw_latitude":101808608,"longitude_deg":76.1827904,"latitude_deg":10.1808608,"altitude":3,"angle":81,"satellites":47,"speed":39,"hex_longitude":"2d689240","hex_latitude":"061179e0","is_valid_coordinates":true} 
[2026-10-16 01:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776170496001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12001366985670656,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7524811315956989952,"note":"Value kept but may cause issues"} 
[2026-10-16 01:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792094426000,"timestamp_ms":1792094426000,"timestamp_seconds":1792094426,"priority":1,"record_length":96,"hex_timestamp":"000001a14126d390"} 
[2026-10-16 01:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 01:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776170496001,"66":27376,"159":206,"19":43264,"24":39,"16":12001366985670656,"45":7524811315956989952},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,19,24,16,45]} 
[2026-10-16 01:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776170496001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:31:59] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-10-16 01:31:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12001366985670656,"km_value":12001366985670.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7524811315956989952,"description":"Unknown IO ID 45"} 
[2026-10-16 01:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776170496001,"power":27376,"unknown_159":206,"unknown_19":43264,"ignition":39,"odometer":null,"unknown_45":7524811315956989952}} 
[2026-10-16 01:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":217631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:31:59] local.INFO: GPS data processed {"connection_id":217631,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:31:59] local.INFO: Acknowledgment sent {"connection_id":217631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:32:01] local.INFO: TCP Data received {"connection_id":216273,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:32:01] local.INFO: Processing buffer {"connection_id":216273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:32:01] local.INFO: Packet analysis {"connection_id":216273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:32:01] local.INFO: Extracted packet for processing {"connection_id":216273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776096768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792094429000,"timestamp_ms":1792094429000,"timestamp_seconds":1792094429,"priority":1,"record_length":96,"hex_timestamp":"000001a14126df48"} 
[2026-10-16 01:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:32:01] 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-10-16 01:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776096768001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776096768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:32:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776096768001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":216273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:32:01] local.INFO: GPS data processed {"connection_id":216273,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:32:01] local.INFO: Acknowledgment sent {"connection_id":216273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:32:17] local.INFO: TCP Data received {"connection_id":216085,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:32:17] local.INFO: Processing buffer {"connection_id":216085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:32:17] local.INFO: IMEI packet received {"connection_id":216085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":216085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:32:22] local.INFO: TCP Data received {"connection_id":216274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:32:22] local.INFO: Processing buffer {"connection_id":216274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:32:22] local.INFO: IMEI packet received {"connection_id":216274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":216274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:32:23] local.INFO: TCP Data received {"connection_id":216085,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:32:23] local.INFO: Processing buffer {"connection_id":216085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:32:23] local.INFO: IMEI packet received {"connection_id":216085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":216085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:32:24] local.INFO: TCP Data received {"connection_id":216085,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:32:24] local.INFO: Processing buffer {"connection_id":216085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:32:24] local.INFO: Packet analysis {"connection_id":216085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:32:24] local.INFO: Extracted packet for processing {"connection_id":216085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:32: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-10-16 01:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776115968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792094504000,"timestamp_ms":1792094504000,"timestamp_seconds":1792094504,"priority":1,"record_length":96,"hex_timestamp":"000001a141280440"} 
[2026-10-16 01:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:32: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:32:24] 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-10-16 01:32: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-10-16 01:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776115968001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776115968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:32:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:32:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776115968001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":216085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:32:24] local.INFO: GPS data processed {"connection_id":216085,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:32:24] local.INFO: Acknowledgment sent {"connection_id":216085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:32:27] local.INFO: TCP Data received {"connection_id":216274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:32:27] local.INFO: Processing buffer {"connection_id":216274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:32:27] local.INFO: IMEI packet received {"connection_id":216274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":216274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:32:27] local.INFO: TCP Data received {"connection_id":216274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:32:27] local.INFO: Processing buffer {"connection_id":216274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:32:27] local.INFO: Packet analysis {"connection_id":216274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:32:27] local.INFO: Extracted packet for processing {"connection_id":216274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776096768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792094429000,"timestamp_ms":1792094429000,"timestamp_seconds":1792094429,"priority":1,"record_length":96,"hex_timestamp":"000001a14126df48"} 
[2026-10-16 01:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:32:27] 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-10-16 01:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:32:27] 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-10-16 01:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776096768001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776096768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:32:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776096768001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":216274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:32:27] local.INFO: GPS data processed {"connection_id":216274,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:32:27] local.INFO: Acknowledgment sent {"connection_id":216274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:32:33] local.INFO: TCP Data received {"connection_id":217631,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14126f6b8012d68b60006117f500004004b2d..."} 
[2026-10-16 01:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126f6b8012d68b60006117f500004004b2d..."} 
[2026-10-16 01:32:33] local.INFO: Processing buffer {"connection_id":217631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126f6b8012d68b60006117f500004004b2d..."} 
[2026-10-16 01:32:33] local.INFO: Packet analysis {"connection_id":217631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:32:33] local.INFO: Extracted packet for processing {"connection_id":217631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:32:33] local.INFO: GPS Element Parsed {"raw_longitude":761837056,"raw_latitude":101810000,"longitude_deg":76.1837056,"latitude_deg":10.181,"altitude":4,"angle":75,"satellites":45,"speed":38,"hex_longitude":"2d68b600","hex_latitude":"06117f50","is_valid_coordinates":true} 
[2026-10-16 01:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173056001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12001805072334848,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7535155521351442432,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792094435000,"timestamp_ms":1792094435000,"timestamp_seconds":1792094435,"priority":1,"record_length":96,"hex_timestamp":"000001a14126f6b8"} 
[2026-10-16 01:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 01:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173056001,"66":27593,"159":206,"19":43264,"24":38,"16":12001805072334848,"45":7535155521351442432},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,19,24,16,45]} 
[2026-10-16 01:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173056001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:32:33] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-10-16 01:32:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12001805072334848,"km_value":12001805072334.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7535155521351442432,"description":"Unknown IO ID 45"} 
[2026-10-16 01:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173056001,"power":27593,"unknown_159":206,"unknown_19":43264,"ignition":38,"odometer":null,"unknown_45":7535155521351442432}} 
[2026-10-16 01:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":217631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:32:33] local.INFO: GPS data processed {"connection_id":217631,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:32:33] local.INFO: Acknowledgment sent {"connection_id":217631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:32:52] local.INFO: TCP Data received {"connection_id":219368,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:32:52] local.INFO: Processing buffer {"connection_id":219368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:32:52] local.INFO: IMEI packet received {"connection_id":219368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":219368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:32:56] local.INFO: TCP Data received {"connection_id":216085,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:32:56] local.INFO: Processing buffer {"connection_id":216085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:32:56] local.INFO: Packet analysis {"connection_id":216085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:32:56] local.INFO: Extracted packet for processing {"connection_id":216085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776115968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792094504000,"timestamp_ms":1792094504000,"timestamp_seconds":1792094504,"priority":1,"record_length":96,"hex_timestamp":"000001a141280440"} 
[2026-10-16 01:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:32: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-10-16 01:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:32:56] 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-10-16 01:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776115968001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776115968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:32:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:32:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776115968001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":216085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:32:56] local.INFO: GPS data processed {"connection_id":216085,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:32:56] local.INFO: Acknowledgment sent {"connection_id":216085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:32:59] local.INFO: TCP Data received {"connection_id":219368,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:32:59] local.INFO: Processing buffer {"connection_id":219368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:32:59] local.INFO: IMEI packet received {"connection_id":219368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":219368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:33:02] local.INFO: TCP Data received {"connection_id":216274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:33:02] local.INFO: Processing buffer {"connection_id":216274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:33:02] local.INFO: Packet analysis {"connection_id":216274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:33:02] local.INFO: Extracted packet for processing {"connection_id":216274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776096768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792094429000,"timestamp_ms":1792094429000,"timestamp_seconds":1792094429,"priority":1,"record_length":96,"hex_timestamp":"000001a14126df48"} 
[2026-10-16 01:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:33:02] 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-10-16 01:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776096768001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776096768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:33:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776096768001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":216274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:33:02] local.INFO: GPS data processed {"connection_id":216274,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:33:02] local.INFO: Acknowledgment sent {"connection_id":216274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:33:03] local.INFO: TCP Data received {"connection_id":219368,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:33:03] local.INFO: Processing buffer {"connection_id":219368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:33:03] local.INFO: IMEI packet received {"connection_id":219368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":219368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:33:05] local.INFO: TCP Data received {"connection_id":219368,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14126fe88012d68bd00061181e00004003f2c..."} 
[2026-10-16 01:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126fe88012d68bd00061181e00004003f2c..."} 
[2026-10-16 01:33:05] local.INFO: Processing buffer {"connection_id":219368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126fe88012d68bd00061181e00004003f2c..."} 
[2026-10-16 01:33:05] local.INFO: Packet analysis {"connection_id":219368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:33:05] local.INFO: Extracted packet for processing {"connection_id":219368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:33:05] local.INFO: GPS Element Parsed {"raw_longitude":761838848,"raw_latitude":101810656,"longitude_deg":76.1838848,"latitude_deg":10.1810656,"altitude":4,"angle":63,"satellites":44,"speed":36,"hex_longitude":"2d68bd00","hex_latitude":"061181e0","is_valid_coordinates":true} 
[2026-10-16 01:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776175360001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12001895266648064,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7545218251769204736,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792094437000,"timestamp_ms":1792094437000,"timestamp_seconds":1792094437,"priority":1,"record_length":96,"hex_timestamp":"000001a14126fe88"} 
[2026-10-16 01:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:33: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-10-16 01:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 01:33:05] 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-10-16 01:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":219368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":219368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":219368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776175360001,"66":27593,"159":206,"19":43264,"24":36,"16":12001895266648064,"45":7545218251769204736},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,19,24,16,45]} 
[2026-10-16 01:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776175360001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:33:05] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-10-16 01:33:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12001895266648064,"km_value":12001895266648.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7545218251769204736,"description":"Unknown IO ID 45"} 
[2026-10-16 01:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776175360001,"power":27593,"unknown_159":206,"unknown_19":43264,"ignition":36,"odometer":null,"unknown_45":7545218251769204736}} 
[2026-10-16 01:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":219368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043406,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:33:05] local.INFO: GPS data processed {"connection_id":219368,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:33:05] local.INFO: Acknowledgment sent {"connection_id":219368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:33:09] local.INFO: TCP Data received {"connection_id":219368,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141270e28012d68c94006118a58000400332d..."} 
[2026-10-16 01:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141270e28012d68c94006118a58000400332d..."} 
[2026-10-16 01:33:09] local.INFO: Processing buffer {"connection_id":219368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141270e28012d68c94006118a58000400332d..."} 
[2026-10-16 01:33:09] local.INFO: Packet analysis {"connection_id":219368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14127"} 
[2026-10-16 01:33:09] local.INFO: Extracted packet for processing {"connection_id":219368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14127"} 
[2026-10-16 01:33:09] local.INFO: GPS Element Parsed {"raw_longitude":761841984,"raw_latitude":101812824,"longitude_deg":76.1841984,"latitude_deg":10.1812824,"altitude":4,"angle":51,"satellites":45,"speed":38,"hex_longitude":"2d68c940","hex_latitude":"06118a58","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776175872001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12002079950241792,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7547188576606347264,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792094441000,"timestamp_ms":1792094441000,"timestamp_seconds":1792094441,"priority":1,"record_length":96,"hex_timestamp":"000001a141270e28"} 
[2026-10-16 01:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:33: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-10-16 01:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 01:33:09] 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-10-16 01: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-10-16 01:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":219368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":219368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":219368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776175872001,"66":27463,"159":206,"19":43264,"24":38,"16":12002079950241792,"45":7547188576606347264},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,19,24,16,45]} 
[2026-10-16 01:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776175872001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:33:09] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-10-16 01:33:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12002079950241792,"km_value":12002079950241.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7547188576606347264,"description":"Unknown IO ID 45"} 
[2026-10-16 01:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776175872001,"power":27463,"unknown_159":206,"unknown_19":43264,"ignition":38,"odometer":null,"unknown_45":7547188576606347264}} 
[2026-10-16 01:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":219368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:33:09] local.INFO: GPS data processed {"connection_id":219368,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:33:09] local.INFO: Acknowledgment sent {"connection_id":219368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:33:18] local.INFO: TCP Data received {"connection_id":216275,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:33:18] local.INFO: Processing buffer {"connection_id":216275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:33:18] local.INFO: IMEI packet received {"connection_id":216275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":216275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:33:21] local.INFO: TCP Data received {"connection_id":219369,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:33:21] local.INFO: Processing buffer {"connection_id":219369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:33:21] local.INFO: IMEI packet received {"connection_id":219369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":219369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:33:23] local.INFO: TCP Data received {"connection_id":216275,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:33:23] local.INFO: Processing buffer {"connection_id":216275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:33:23] local.INFO: IMEI packet received {"connection_id":216275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":216275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:33:24] local.INFO: TCP Data received {"connection_id":216275,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:33:24] local.INFO: Processing buffer {"connection_id":216275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:33:24] local.INFO: Packet analysis {"connection_id":216275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:33:24] local.INFO: Extracted packet for processing {"connection_id":216275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776115968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792094504000,"timestamp_ms":1792094504000,"timestamp_seconds":1792094504,"priority":1,"record_length":96,"hex_timestamp":"000001a141280440"} 
[2026-10-16 01:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:33:24] 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-10-16 01:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776115968001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776115968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:33:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:33:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776115968001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":216275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:33:24] local.INFO: GPS data processed {"connection_id":216275,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:33:24] local.INFO: Acknowledgment sent {"connection_id":216275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:33:27] local.INFO: TCP Data received {"connection_id":219369,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219369,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:33:27] local.INFO: Processing buffer {"connection_id":219369,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:33:27] local.INFO: IMEI packet received {"connection_id":219369,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":219369,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:33:28] local.INFO: TCP Data received {"connection_id":219369,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:33:28] local.INFO: Processing buffer {"connection_id":219369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:33:28] local.INFO: Packet analysis {"connection_id":219369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:33:28] local.INFO: Extracted packet for processing {"connection_id":219369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776096768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792094429000,"timestamp_ms":1792094429000,"timestamp_seconds":1792094429,"priority":1,"record_length":96,"hex_timestamp":"000001a14126df48"} 
[2026-10-16 01:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:33:28] 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-10-16 01:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776096768001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776096768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:33:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776096768001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":219369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:33:28] local.INFO: GPS data processed {"connection_id":219369,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:33:28] local.INFO: Acknowledgment sent {"connection_id":219369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:33:56] local.INFO: TCP Data received {"connection_id":216275,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:33:56] local.INFO: Processing buffer {"connection_id":216275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:33:56] local.INFO: Packet analysis {"connection_id":216275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:33:56] local.INFO: Extracted packet for processing {"connection_id":216275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776115968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792094504000,"timestamp_ms":1792094504000,"timestamp_seconds":1792094504,"priority":1,"record_length":96,"hex_timestamp":"000001a141280440"} 
[2026-10-16 01:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:33: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-10-16 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:33:56] 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-10-16 01: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-10-16 01:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776115968001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776115968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:33:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:33:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776115968001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":216275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:33:56] local.INFO: GPS data processed {"connection_id":216275,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:33:56] local.INFO: Acknowledgment sent {"connection_id":216275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:33:58] local.INFO: TCP Data received {"connection_id":216276,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:33:58] local.INFO: Processing buffer {"connection_id":216276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:33:58] local.INFO: IMEI packet received {"connection_id":216276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":216276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:33:59] local.INFO: TCP Data received {"connection_id":216276,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:33:59] local.INFO: Processing buffer {"connection_id":216276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:33:59] local.INFO: IMEI packet received {"connection_id":216276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":216276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:34:00] local.INFO: TCP Data received {"connection_id":216276,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141291d80012d6a22000611e0f00005003631..."} 
[2026-10-16 01:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141291d80012d6a22000611e0f00005003631..."} 
[2026-10-16 01:34:00] local.INFO: Processing buffer {"connection_id":216276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141291d80012d6a22000611e0f00005003631..."} 
[2026-10-16 01:34:00] local.INFO: Packet analysis {"connection_id":216276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14129"} 
[2026-10-16 01:34:00] local.INFO: Extracted packet for processing {"connection_id":216276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14129"} 
[2026-10-16 01:34:00] local.INFO: GPS Element Parsed {"raw_longitude":761930240,"raw_latitude":101834992,"longitude_deg":76.193024,"latitude_deg":10.1834992,"altitude":5,"angle":54,"satellites":49,"speed":15,"hex_longitude":"2d6a2200","hex_latitude":"0611e0f0","is_valid_coordinates":true} 
[2026-10-16 01:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776211200001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12005137966956544,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7647252930833170432,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792094576000,"timestamp_ms":1792094576000,"timestamp_seconds":1792094576,"priority":1,"record_length":96,"hex_timestamp":"000001a141291d80"} 
[2026-10-16 01:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:34:00] 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-10-16 01:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 01:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776211200001,"66":27365,"21":206,"19":43264,"24":15,"16":12005137966956544,"45":7647252930833170432},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776211200001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:34:00] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:34:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12005137966956544,"km_value":12005137966956.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7647252930833170432,"description":"Unknown IO ID 45"} 
[2026-10-16 01:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776211200001,"power":27365,"unknown_21":206,"unknown_19":43264,"ignition":15,"odometer":null,"unknown_45":7647252930833170432}} 
[2026-10-16 01:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":216276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:34:00] local.INFO: GPS data processed {"connection_id":216276,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:34:00] local.INFO: Acknowledgment sent {"connection_id":216276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:34:02] local.INFO: TCP Data received {"connection_id":219369,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:34:02] local.INFO: Processing buffer {"connection_id":219369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:34:02] local.INFO: Packet analysis {"connection_id":219369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:34:02] local.INFO: Extracted packet for processing {"connection_id":219369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776096768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792094429000,"timestamp_ms":1792094429000,"timestamp_seconds":1792094429,"priority":1,"record_length":96,"hex_timestamp":"000001a14126df48"} 
[2026-10-16 01:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:34:02] 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-10-16 01:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":219369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":219369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":219369,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776096768001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776096768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:34:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776096768001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":219369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:34:02] local.INFO: GPS data processed {"connection_id":219369,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:34:02] local.INFO: Acknowledgment sent {"connection_id":219369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:34:02] local.INFO: TCP Data received {"connection_id":216276,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141292168012d6a23400611e2200005002430..."} 
[2026-10-16 01:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141292168012d6a23400611e2200005002430..."} 
[2026-10-16 01:34:02] local.INFO: Processing buffer {"connection_id":216276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141292168012d6a23400611e2200005002430..."} 
[2026-10-16 01:34:02] local.INFO: Packet analysis {"connection_id":216276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14129"} 
[2026-10-16 01:34:02] local.INFO: Extracted packet for processing {"connection_id":216276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14129"} 
[2026-10-16 01:34:02] local.INFO: GPS Element Parsed {"raw_longitude":761930560,"raw_latitude":101835296,"longitude_deg":76.193056,"latitude_deg":10.1835296,"altitude":5,"angle":36,"satellites":48,"speed":16,"hex_longitude":"2d6a2340","hex_latitude":"0611e220","is_valid_coordinates":true} 
[2026-10-16 01:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776211456001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12005159441793024,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7647675143298281472,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792094577000,"timestamp_ms":1792094577000,"timestamp_seconds":1792094577,"priority":1,"record_length":96,"hex_timestamp":"000001a141292168"} 
[2026-10-16 01:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:34:02] 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-10-16 01:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 01:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776211456001,"66":27213,"21":206,"19":43264,"24":16,"16":12005159441793024,"45":7647675143298281472},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776211456001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:34:02] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:34:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12005159441793024,"km_value":12005159441793.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7647675143298281472,"description":"Unknown IO ID 45"} 
[2026-10-16 01:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776211456001,"power":27213,"unknown_21":206,"unknown_19":43264,"ignition":16,"odometer":null,"unknown_45":7647675143298281472}} 
[2026-10-16 01:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":216276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:34:03] local.INFO: GPS data processed {"connection_id":216276,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:34:03] local.INFO: Acknowledgment sent {"connection_id":216276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:34:17] local.INFO: TCP Data received {"connection_id":216086,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:34:17] local.INFO: Processing buffer {"connection_id":216086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:34:17] local.INFO: IMEI packet received {"connection_id":216086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":216086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:34:21] local.INFO: TCP Data received {"connection_id":219370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:34:21] local.INFO: Processing buffer {"connection_id":219370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:34:21] local.INFO: IMEI packet received {"connection_id":219370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":219370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:34:23] local.INFO: TCP Data received {"connection_id":216086,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:34:23] local.INFO: Processing buffer {"connection_id":216086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:34:23] local.INFO: IMEI packet received {"connection_id":216086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":216086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:34:24] local.INFO: TCP Data received {"connection_id":216086,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:34:24] local.INFO: Processing buffer {"connection_id":216086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:34:24] local.INFO: Packet analysis {"connection_id":216086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:34:24] local.INFO: Extracted packet for processing {"connection_id":216086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:34:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776115968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792094504000,"timestamp_ms":1792094504000,"timestamp_seconds":1792094504,"priority":1,"record_length":96,"hex_timestamp":"000001a141280440"} 
[2026-10-16 01:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:34:24] 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-10-16 01:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776115968001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776115968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:34:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:34:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776115968001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":216086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:34:24] local.INFO: GPS data processed {"connection_id":216086,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:34:24] local.INFO: Acknowledgment sent {"connection_id":216086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:34:27] local.INFO: TCP Data received {"connection_id":219370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:34:27] local.INFO: Processing buffer {"connection_id":219370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:34:27] local.INFO: IMEI packet received {"connection_id":219370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":219370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:34:27] local.INFO: TCP Data received {"connection_id":219370,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:34:27] local.INFO: Processing buffer {"connection_id":219370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:34:27] local.INFO: Packet analysis {"connection_id":219370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:34:27] local.INFO: Extracted packet for processing {"connection_id":219370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776096768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792094429000,"timestamp_ms":1792094429000,"timestamp_seconds":1792094429,"priority":1,"record_length":96,"hex_timestamp":"000001a14126df48"} 
[2026-10-16 01:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:34:27] 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-10-16 01:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:34:27] 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-10-16 01:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776096768001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776096768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:34:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776096768001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":219370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:34:27] local.INFO: GPS data processed {"connection_id":219370,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:34:27] local.INFO: Acknowledgment sent {"connection_id":219370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:34:35] local.INFO: TCP Data received {"connection_id":216276,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141292550012d6a23c00611e3a00005001530..."} 
[2026-10-16 01:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141292550012d6a23c00611e3a00005001530..."} 
[2026-10-16 01:34:35] local.INFO: Processing buffer {"connection_id":216276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141292550012d6a23c00611e3a00005001530..."} 
[2026-10-16 01:34:35] local.INFO: Packet analysis {"connection_id":216276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14129"} 
[2026-10-16 01:34:35] local.INFO: Extracted packet for processing {"connection_id":216276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14129"} 
[2026-10-16 01:34:35] local.INFO: GPS Element Parsed {"raw_longitude":761930688,"raw_latitude":101835680,"longitude_deg":76.1930688,"latitude_deg":10.183568,"altitude":5,"angle":21,"satellites":48,"speed":17,"hex_longitude":"2d6a23c0","hex_latitude":"0611e3a0","is_valid_coordinates":true} 
[2026-10-16 01:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776211712001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12005180916629504,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7648026987019247616,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792094578000,"timestamp_ms":1792094578000,"timestamp_seconds":1792094578,"priority":1,"record_length":96,"hex_timestamp":"000001a141292550"} 
[2026-10-16 01:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:34:35] 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-10-16 01:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 01:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776211712001,"66":27213,"21":206,"19":43264,"24":17,"16":12005180916629504,"45":7648026987019247616},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776211712001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:34:35] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:34:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12005180916629504,"km_value":12005180916629.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7648026987019247616,"description":"Unknown IO ID 45"} 
[2026-10-16 01:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776211712001,"power":27213,"unknown_21":206,"unknown_19":43264,"ignition":17,"odometer":null,"unknown_45":7648026987019247616}} 
[2026-10-16 01:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":216276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:34:35] local.INFO: GPS data processed {"connection_id":216276,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:34:35] local.INFO: Acknowledgment sent {"connection_id":216276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:34:53] local.INFO: TCP Data received {"connection_id":219371,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:34:53] local.INFO: Processing buffer {"connection_id":219371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:34:53] local.INFO: IMEI packet received {"connection_id":219371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":219371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:34:55] local.INFO: TCP Data received {"connection_id":216086,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:34:55] local.INFO: Processing buffer {"connection_id":216086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:34:55] local.INFO: Packet analysis {"connection_id":216086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:34:55] local.INFO: Extracted packet for processing {"connection_id":216086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776115968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792094504000,"timestamp_ms":1792094504000,"timestamp_seconds":1792094504,"priority":1,"record_length":96,"hex_timestamp":"000001a141280440"} 
[2026-10-16 01:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:34:55] 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-10-16 01:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776115968001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776115968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:34:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:34:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776115968001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":216086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:34:55] local.INFO: GPS data processed {"connection_id":216086,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:34:55] local.INFO: Acknowledgment sent {"connection_id":216086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:34:58] local.INFO: TCP Data received {"connection_id":219371,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:34:58] local.INFO: Processing buffer {"connection_id":219371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:34:58] local.INFO: IMEI packet received {"connection_id":219371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":219371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:34:58] local.INFO: TCP Data received {"connection_id":219370,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:34:58] local.INFO: Processing buffer {"connection_id":219370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:34:58] local.INFO: Packet analysis {"connection_id":219370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:34:58] local.INFO: Extracted packet for processing {"connection_id":219370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776096768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792094429000,"timestamp_ms":1792094429000,"timestamp_seconds":1792094429,"priority":1,"record_length":96,"hex_timestamp":"000001a14126df48"} 
[2026-10-16 01:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:34:58] 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-10-16 01:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776096768001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776096768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:34:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776096768001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":219370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:34:59] local.INFO: GPS data processed {"connection_id":219370,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:34:59] local.INFO: Acknowledgment sent {"connection_id":219370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:34:59] local.INFO: TCP Data received {"connection_id":219371,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141292d20012d6a24c00611e750000500042f..."} 
[2026-10-16 01:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141292d20012d6a24c00611e750000500042f..."} 
[2026-10-16 01:34:59] local.INFO: Processing buffer {"connection_id":219371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141292d20012d6a24c00611e750000500042f..."} 
[2026-10-16 01:34:59] local.INFO: Packet analysis {"connection_id":219371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14129"} 
[2026-10-16 01:34:59] local.INFO: Extracted packet for processing {"connection_id":219371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14129"} 
[2026-10-16 01:34:59] local.INFO: GPS Element Parsed {"raw_longitude":761930944,"raw_latitude":101836624,"longitude_deg":76.1930944,"latitude_deg":10.1836624,"altitude":5,"angle":4,"satellites":47,"speed":18,"hex_longitude":"2d6a24c0","hex_latitude":"0611e750","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776211968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12005228161269760,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7648167724507701248,"note":"Value kept but may cause issues"} 
[2026-10-16 01:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792094580000,"timestamp_ms":1792094580000,"timestamp_seconds":1792094580,"priority":1,"record_length":96,"hex_timestamp":"000001a141292d20"} 
[2026-10-16 01:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01: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-10-16 01: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-10-16 01:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776211968001,"66":27343,"21":206,"19":43264,"24":18,"16":12005228161269760,"45":7648167724507701248},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776211968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:34:59] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:34:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12005228161269760,"km_value":12005228161269.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7648167724507701248,"description":"Unknown IO ID 45"} 
[2026-10-16 01:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776211968001,"power":27343,"unknown_21":206,"unknown_19":43264,"ignition":18,"odometer":null,"unknown_45":7648167724507701248}} 
[2026-10-16 01:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":219371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:34:59] local.INFO: GPS data processed {"connection_id":219371,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:34:59] local.INFO: Acknowledgment sent {"connection_id":219371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:35:17] local.INFO: TCP Data received {"connection_id":216087,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:35:17] local.INFO: Processing buffer {"connection_id":216087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:35:17] local.INFO: IMEI packet received {"connection_id":216087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":216087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:35:21] local.INFO: TCP Data received {"connection_id":217632,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:35:21] local.INFO: Processing buffer {"connection_id":217632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:35:21] local.INFO: IMEI packet received {"connection_id":217632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":217632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:35:23] local.INFO: TCP Data received {"connection_id":216087,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:35:23] local.INFO: Processing buffer {"connection_id":216087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:35:23] local.INFO: IMEI packet received {"connection_id":216087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":216087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:35:24] local.INFO: TCP Data received {"connection_id":216087,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:35:24] local.INFO: Processing buffer {"connection_id":216087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:35:24] local.INFO: Packet analysis {"connection_id":216087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:35:24] local.INFO: Extracted packet for processing {"connection_id":216087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776115968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792094504000,"timestamp_ms":1792094504000,"timestamp_seconds":1792094504,"priority":1,"record_length":96,"hex_timestamp":"000001a141280440"} 
[2026-10-16 01:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:35:24] 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-10-16 01:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776115968001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776115968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:35:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:35:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776115968001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":216087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:35:24] local.INFO: GPS data processed {"connection_id":216087,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:35:24] local.INFO: Acknowledgment sent {"connection_id":216087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:35:27] local.INFO: TCP Data received {"connection_id":217632,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:35:27] local.INFO: Processing buffer {"connection_id":217632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:35:27] local.INFO: IMEI packet received {"connection_id":217632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":217632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:35:28] local.INFO: TCP Data received {"connection_id":217632,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:35:28] local.INFO: Processing buffer {"connection_id":217632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14126df48012d7c240005dad510000c00ea23..."} 
[2026-10-16 01:35:28] local.INFO: Packet analysis {"connection_id":217632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:35:28] local.INFO: Extracted packet for processing {"connection_id":217632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14126"} 
[2026-10-16 01:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":12,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776096768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792094429000,"timestamp_ms":1792094429000,"timestamp_seconds":1792094429,"priority":1,"record_length":96,"hex_timestamp":"000001a14126df48"} 
[2026-10-16 01:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 01:35:28] 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-10-16 01:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:35:28] 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-10-16 01:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776096768001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776096768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:35:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776096768001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":217632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:35:28] local.INFO: GPS data processed {"connection_id":217632,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:35:28] local.INFO: Acknowledgment sent {"connection_id":217632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:35:30] local.INFO: TCP Data received {"connection_id":219371,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412acf18012d6af64006126e780002002a30..."} 
[2026-10-16 01:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412acf18012d6af64006126e780002002a30..."} 
[2026-10-16 01:35:30] local.INFO: Processing buffer {"connection_id":219371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412acf18012d6af64006126e780002002a30..."} 
[2026-10-16 01:35:30] local.INFO: Packet analysis {"connection_id":219371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412a"} 
[2026-10-16 01:35:30] local.INFO: Extracted packet for processing {"connection_id":219371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412a"} 
[2026-10-16 01:35:30] local.INFO: GPS Element Parsed {"raw_longitude":761984576,"raw_latitude":101871224,"longitude_deg":76.1984576,"latitude_deg":10.1871224,"altitude":2,"angle":42,"satellites":48,"speed":20,"hex_longitude":"2d6af640","hex_latitude":"06126e78","is_valid_coordinates":true} 
[2026-10-16 01:35: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-10-16 01:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776238592001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12008436501839872,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7705799725997656064,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792094687000,"timestamp_ms":1792094687000,"timestamp_seconds":1792094687,"priority":1,"record_length":96,"hex_timestamp":"000001a1412acf18"} 
[2026-10-16 01:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 01:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:35: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-10-16 01:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776238592001,"66":27441,"21":206,"19":43264,"24":20,"16":12008436501839872,"45":7705799725997656064},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776238592001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:35:30] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:35:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12008436501839872,"km_value":12008436501839.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7705799725997656064,"description":"Unknown IO ID 45"} 
[2026-10-16 01:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776238592001,"power":27441,"unknown_21":206,"unknown_19":43264,"ignition":20,"odometer":null,"unknown_45":7705799725997656064}} 
[2026-10-16 01:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":219371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:35:30] local.INFO: GPS data processed {"connection_id":219371,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:35:30] local.INFO: Acknowledgment sent {"connection_id":219371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:35:52] local.INFO: TCP Data received {"connection_id":219372,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:35:52] local.INFO: Processing buffer {"connection_id":219372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:35:52] local.INFO: IMEI packet received {"connection_id":219372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":219372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:35:56] local.INFO: TCP Data received {"connection_id":216087,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:35:56] local.INFO: Processing buffer {"connection_id":216087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:35:56] local.INFO: Packet analysis {"connection_id":216087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:35:56] local.INFO: Extracted packet for processing {"connection_id":216087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776115968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792094504000,"timestamp_ms":1792094504000,"timestamp_seconds":1792094504,"priority":1,"record_length":96,"hex_timestamp":"000001a141280440"} 
[2026-10-16 01:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:35: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-10-16 01:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:35:56] 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-10-16 01:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776115968001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776115968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:35:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:35:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776115968001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":216087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:35:56] local.INFO: GPS data processed {"connection_id":216087,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:35:56] local.INFO: Acknowledgment sent {"connection_id":216087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:35:57] local.INFO: TCP Data received {"connection_id":219372,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:35:57] local.INFO: Processing buffer {"connection_id":219372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:35:57] local.INFO: IMEI packet received {"connection_id":219372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":219372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:35:58] local.INFO: TCP Data received {"connection_id":219372,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412ad6e8012d6af980061271100001003931..."} 
[2026-10-16 01:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412ad6e8012d6af980061271100001003931..."} 
[2026-10-16 01:35:58] local.INFO: Processing buffer {"connection_id":219372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412ad6e8012d6af980061271100001003931..."} 
[2026-10-16 01:35:58] local.INFO: Packet analysis {"connection_id":219372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412a"} 
[2026-10-16 01:35:58] local.INFO: Extracted packet for processing {"connection_id":219372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412a"} 
[2026-10-16 01:35:58] local.INFO: GPS Element Parsed {"raw_longitude":761985408,"raw_latitude":101871888,"longitude_deg":76.1985408,"latitude_deg":10.1871888,"altitude":1,"angle":57,"satellites":49,"speed":21,"hex_longitude":"2d6af980","hex_latitude":"06127110","is_valid_coordinates":true} 
[2026-10-16 01:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776239872001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12008488041447424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7707418207114393600,"note":"Value kept but may cause issues"} 
[2026-10-16 01:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792094689000,"timestamp_ms":1792094689000,"timestamp_seconds":1792094689,"priority":1,"record_length":96,"hex_timestamp":"000001a1412ad6e8"} 
[2026-10-16 01:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:35: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-10-16 01:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 01:35:58] 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-10-16 01:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776239872001,"66":27180,"21":206,"19":43264,"24":21,"16":12008488041447424,"45":7707418207114393600},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776239872001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:35:58] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:35:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12008488041447424,"km_value":12008488041447.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7707418207114393600,"description":"Unknown IO ID 45"} 
[2026-10-16 01:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776239872001,"power":27180,"unknown_21":206,"unknown_19":43264,"ignition":21,"odometer":null,"unknown_45":7707418207114393600}} 
[2026-10-16 01:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":219372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043424,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:35:58] local.INFO: GPS data processed {"connection_id":219372,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:35:58] local.INFO: Acknowledgment sent {"connection_id":219372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:36:03] local.INFO: TCP Data received {"connection_id":217632,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:36:03] local.INFO: Processing buffer {"connection_id":217632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:36:03] local.INFO: Packet analysis {"connection_id":217632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:36:03] local.INFO: Extracted packet for processing {"connection_id":217632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792094730000,"timestamp_ms":1792094730000,"timestamp_seconds":1792094730,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b7710"} 
[2026-10-16 01:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:36: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-10-16 01:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173824001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:36:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:36:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173824001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":217632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:36:03] local.INFO: GPS data processed {"connection_id":217632,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:36:03] local.INFO: Acknowledgment sent {"connection_id":217632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:36:22] local.INFO: TCP Data received {"connection_id":219373,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:36:22] local.INFO: Processing buffer {"connection_id":219373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:36:22] local.INFO: IMEI packet received {"connection_id":219373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":219373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:36:23] local.INFO: TCP Data received {"connection_id":216088,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:36:23] local.INFO: Processing buffer {"connection_id":216088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:36:23] local.INFO: IMEI packet received {"connection_id":216088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":216088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:36:27] local.INFO: TCP Data received {"connection_id":219373,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:36:27] local.INFO: Processing buffer {"connection_id":219373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:36:27] local.INFO: IMEI packet received {"connection_id":219373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":219373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:36:27] local.INFO: TCP Data received {"connection_id":219373,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:36:27] local.INFO: Processing buffer {"connection_id":219373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:36:27] local.INFO: Packet analysis {"connection_id":219373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:36:27] local.INFO: Extracted packet for processing {"connection_id":219373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792094730000,"timestamp_ms":1792094730000,"timestamp_seconds":1792094730,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b7710"} 
[2026-10-16 01:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:36: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-10-16 01:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173824001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:36:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173824001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":219373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:36:27] local.INFO: GPS data processed {"connection_id":219373,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:36:27] local.INFO: Acknowledgment sent {"connection_id":219373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:36:28] local.INFO: TCP Data received {"connection_id":216088,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:36:28] local.INFO: Processing buffer {"connection_id":216088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:36:28] local.INFO: IMEI packet received {"connection_id":216088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":216088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:36:29] local.INFO: TCP Data received {"connection_id":219372,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412adeb8012d6afdc0061272e8000100472e..."} 
[2026-10-16 01:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412adeb8012d6afdc0061272e8000100472e..."} 
[2026-10-16 01:36:29] local.INFO: Processing buffer {"connection_id":219372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412adeb8012d6afdc0061272e8000100472e..."} 
[2026-10-16 01:36:29] local.INFO: Packet analysis {"connection_id":219372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412a"} 
[2026-10-16 01:36:29] local.INFO: Extracted packet for processing {"connection_id":219372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412a"} 
[2026-10-16 01:36:29] local.INFO: GPS Element Parsed {"raw_longitude":761986496,"raw_latitude":101872360,"longitude_deg":76.1986496,"latitude_deg":10.187236,"altitude":1,"angle":71,"satellites":46,"speed":23,"hex_longitude":"2d6afdc0","hex_latitude":"061272e8","is_valid_coordinates":true} 
[2026-10-16 01:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776240384001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12008543876022272,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7708333000788873216,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792094691000,"timestamp_ms":1792094691000,"timestamp_seconds":1792094691,"priority":1,"record_length":96,"hex_timestamp":"000001a1412adeb8"} 
[2026-10-16 01:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:36:29] 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-10-16 01:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 01:36:29] 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-10-16 01:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776240384001,"66":27517,"21":206,"19":43264,"24":23,"16":12008543876022272,"45":7708333000788873216},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776240384001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:36:29] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:36:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12008543876022272,"km_value":12008543876022.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7708333000788873216,"description":"Unknown IO ID 45"} 
[2026-10-16 01:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776240384001,"power":27517,"unknown_21":206,"unknown_19":43264,"ignition":23,"odometer":null,"unknown_45":7708333000788873216}} 
[2026-10-16 01:36:29] local.INFO: TCP Data received {"connection_id":216088,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:36:29] local.INFO: Processing buffer {"connection_id":216088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:36:29] local.INFO: Packet analysis {"connection_id":216088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:36:29] local.INFO: Extracted packet for processing {"connection_id":216088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776115968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792094504000,"timestamp_ms":1792094504000,"timestamp_seconds":1792094504,"priority":1,"record_length":96,"hex_timestamp":"000001a141280440"} 
[2026-10-16 01:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:36:29] 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-10-16 01:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776115968001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776115968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:36:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:36:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776115968001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":216088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:36:29] local.INFO: GPS data processed {"connection_id":216088,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:36:29] local.INFO: Acknowledgment sent {"connection_id":216088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":219372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:36:29] local.INFO: GPS data processed {"connection_id":219372,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:36:29] local.INFO: Acknowledgment sent {"connection_id":219372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:36:34] local.INFO: TCP Data received {"connection_id":216088,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:36:34] local.INFO: Processing buffer {"connection_id":216088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141280440012d7fac4005afe350000000a622..."} 
[2026-10-16 01:36:34] local.INFO: Packet analysis {"connection_id":216088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:36:34] local.INFO: Extracted packet for processing {"connection_id":216088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14128"} 
[2026-10-16 01:36:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776115968001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792094504000,"timestamp_ms":1792094504000,"timestamp_seconds":1792094504,"priority":1,"record_length":96,"hex_timestamp":"000001a141280440"} 
[2026-10-16 01:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776115968001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776115968001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:36:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:36:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776115968001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":216088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:36:34] local.INFO: GPS data processed {"connection_id":216088,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:36:34] local.INFO: Acknowledgment sent {"connection_id":216088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:36:58] local.INFO: TCP Data received {"connection_id":216277,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:36:58] local.INFO: Processing buffer {"connection_id":216277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:36:58] local.INFO: IMEI packet received {"connection_id":216277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":216277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:36:58] local.INFO: TCP Data received {"connection_id":216277,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:36:58] local.INFO: Processing buffer {"connection_id":216277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:36:58] local.INFO: IMEI packet received {"connection_id":216277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":216277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:36:59] local.INFO: TCP Data received {"connection_id":219373,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:36:59] local.INFO: Processing buffer {"connection_id":219373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:36:59] local.INFO: Packet analysis {"connection_id":219373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:36:59] local.INFO: Extracted packet for processing {"connection_id":219373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792094730000,"timestamp_ms":1792094730000,"timestamp_seconds":1792094730,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b7710"} 
[2026-10-16 01:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:36:59] 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-10-16 01:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173824001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:36:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173824001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":219373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:36:59] local.INFO: GPS data processed {"connection_id":219373,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:36:59] local.INFO: Acknowledgment sent {"connection_id":219373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:37:03] local.INFO: TCP Data received {"connection_id":216277,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:37:03] local.INFO: Processing buffer {"connection_id":216277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:37:03] local.INFO: IMEI packet received {"connection_id":216277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":216277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:37:05] local.INFO: TCP Data received {"connection_id":216277,"ip":"117.224.27.161","data_length":1360,"data_hex":"000000000000030f8e0a000001a1412afdf8012d6b0f8006127aa00000003a30..."} 
[2026-10-16 01:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216277,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1412afdf8012d6b0f8006127aa00000003a30..."} 
[2026-10-16 01:37:05] local.INFO: Processing buffer {"connection_id":216277,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a1412afdf8012d6b0f8006127aa00000003a30..."} 
[2026-10-16 01:37:05] local.INFO: Packet analysis {"connection_id":216277,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a1412a"} 
[2026-10-16 01:37:05] local.INFO: Extracted packet for processing {"connection_id":216277,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1412a"} 
[2026-10-16 01:37:05] local.INFO: GPS Element Parsed {"raw_longitude":761991040,"raw_latitude":101874336,"longitude_deg":76.199104,"latitude_deg":10.1874336,"altitude":0,"angle":58,"satellites":48,"speed":25,"hex_longitude":"2d6b0f80","hex_latitude":"06127aa0","is_valid_coordinates":true} 
[2026-10-16 01:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776240896001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12008784394190848,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7709529269440014336,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792094699000,"timestamp_ms":1792094699000,"timestamp_seconds":1792094699,"priority":1,"record_length":96,"hex_timestamp":"000001a1412afdf8"} 
[2026-10-16 01:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 01:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776240896001,"66":27604,"21":206,"19":43264,"24":25,"16":12008784394190848,"45":7709529269440014336},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776240896001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:37:05] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:37:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12008784394190848,"km_value":12008784394190.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7709529269440014336,"description":"Unknown IO ID 45"} 
[2026-10-16 01:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776240896001,"power":27604,"unknown_21":206,"unknown_19":43264,"ignition":25,"odometer":null,"unknown_45":7709529269440014336}} 
[2026-10-16 01:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":216277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:37:05] local.INFO: GPS data processed {"connection_id":216277,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:37:05] local.INFO: Acknowledgment sent {"connection_id":216277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:37:05] local.INFO: Packet analysis {"connection_id":216277,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:37:05] local.INFO: Incomplete packet, waiting for more data {"connection_id":216277,"needed":795,"available":565} 
[2026-10-16 01:37:06] local.INFO: TCP Data received {"connection_id":216277,"ip":"117.224.27.161","data_length":1025,"data_hex":"2d6ad040061240f00001002d2f00140000000a000400ef0100716100f0010045..."} 
[2026-10-16 01:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216277,"packet_length":1025,"packet_hex":"2d6ad040061240f00001002d2f00140000000a000400ef0100716100f0010045..."} 
[2026-10-16 01:37:06] local.INFO: Processing buffer {"connection_id":216277,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1412b2cd8012d6b26c0061286300000004632..."} 
[2026-10-16 01:37:06] local.INFO: Packet analysis {"connection_id":216277,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:37:06] local.INFO: Extracted packet for processing {"connection_id":216277,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:37:06] local.INFO: GPS Element Parsed {"raw_longitude":761996992,"raw_latitude":101877296,"longitude_deg":76.1996992,"latitude_deg":10.1877296,"altitude":0,"angle":70,"satellites":50,"speed":14,"hex_longitude":"2d6b26c0","hex_latitude":"06128630","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776242944001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12009102221770752,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7714525450277134336,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792094711000,"timestamp_ms":1792094711000,"timestamp_seconds":1792094711,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b2cd8"} 
[2026-10-16 01:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:37:06] 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-10-16 01: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 01:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776242944001,"66":27626,"21":206,"19":43264,"24":14,"16":12009102221770752,"45":7714525450277134336},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776242944001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:37:06] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:37:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12009102221770752,"km_value":12009102221770.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7714525450277134336,"description":"Unknown IO ID 45"} 
[2026-10-16 01:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776242944001,"power":27626,"unknown_21":206,"unknown_19":43264,"ignition":14,"odometer":null,"unknown_45":7714525450277134336}} 
[2026-10-16 01:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":216277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:37:06] local.INFO: GPS data processed {"connection_id":216277,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:37:06] local.INFO: Acknowledgment sent {"connection_id":216277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:37:06] local.INFO: Packet analysis {"connection_id":216277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:37:06] local.INFO: Extracted packet for processing {"connection_id":216277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:37:06] local.INFO: GPS Element Parsed {"raw_longitude":762000064,"raw_latitude":101878512,"longitude_deg":76.2000064,"latitude_deg":10.1878512,"altitude":0,"angle":55,"satellites":49,"speed":16,"hex_longitude":"2d6b32c0","hex_latitude":"06128af0","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776246016001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12009261135560704,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7721069743486414848,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792094719000,"timestamp_ms":1792094719000,"timestamp_seconds":1792094719,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b4c18"} 
[2026-10-16 01:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:37:06] 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-10-16 01: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-16 01:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776246016001,"66":27234,"21":206,"19":43264,"24":16,"16":12009261135560704,"45":7721069743486414848},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776246016001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:37:06] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:37:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12009261135560704,"km_value":12009261135560.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7721069743486414848,"description":"Unknown IO ID 45"} 
[2026-10-16 01:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776246016001,"power":27234,"unknown_21":206,"unknown_19":43264,"ignition":16,"odometer":null,"unknown_45":7721069743486414848}} 
[2026-10-16 01:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":216277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:37:06] local.INFO: GPS data processed {"connection_id":216277,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:37:06] local.INFO: Acknowledgment sent {"connection_id":216277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:37:18] local.INFO: TCP Data received {"connection_id":216089,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:37:18] local.INFO: Processing buffer {"connection_id":216089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:37:18] local.INFO: IMEI packet received {"connection_id":216089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":216089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:37:22] local.INFO: TCP Data received {"connection_id":217633,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:37:22] local.INFO: Processing buffer {"connection_id":217633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:37:22] local.INFO: IMEI packet received {"connection_id":217633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":217633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:37:23] local.INFO: TCP Data received {"connection_id":216089,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:37:23] local.INFO: Processing buffer {"connection_id":216089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:37:23] local.INFO: IMEI packet received {"connection_id":216089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":216089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:37:25] local.INFO: TCP Data received {"connection_id":216089,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:37:25] local.INFO: Processing buffer {"connection_id":216089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:37:25] local.INFO: Packet analysis {"connection_id":216089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:37:25] local.INFO: Extracted packet for processing {"connection_id":216089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:37:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:37:25] 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-10-16 01: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-10-16 01:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:37:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:37:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":216089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:37:25] local.INFO: GPS data processed {"connection_id":216089,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:37:25] local.INFO: Acknowledgment sent {"connection_id":216089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:37:27] local.INFO: TCP Data received {"connection_id":217633,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:37:27] local.INFO: Processing buffer {"connection_id":217633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:37:27] local.INFO: IMEI packet received {"connection_id":217633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":217633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:37:27] local.INFO: TCP Data received {"connection_id":217633,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:37:27] local.INFO: Processing buffer {"connection_id":217633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:37:27] local.INFO: Packet analysis {"connection_id":217633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:37:27] local.INFO: Extracted packet for processing {"connection_id":217633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792094730000,"timestamp_ms":1792094730000,"timestamp_seconds":1792094730,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b7710"} 
[2026-10-16 01:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173824001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:37:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173824001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":217633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:37:27] local.INFO: GPS data processed {"connection_id":217633,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:37:27] local.INFO: Acknowledgment sent {"connection_id":217633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:37:38] local.INFO: TCP Data received {"connection_id":216277,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c6170012d6b6f000612ae800004014e32..."} 
[2026-10-16 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c6170012d6b6f000612ae800004014e32..."} 
[2026-10-16 01:37:38] local.INFO: Processing buffer {"connection_id":216277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c6170012d6b6f000612ae800004014e32..."} 
[2026-10-16 01:37:38] local.INFO: Packet analysis {"connection_id":216277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:37:38] local.INFO: Extracted packet for processing {"connection_id":216277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":762015488,"raw_latitude":101887616,"longitude_deg":76.2015488,"latitude_deg":10.1887616,"altitude":4,"angle":334,"satellites":50,"speed":5,"hex_longitude":"2d6b6f00","hex_latitude":"0612ae80","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776265216001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12010175963594752,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7741547048044589056,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792094790000,"timestamp_ms":1792094790000,"timestamp_seconds":1792094790,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c6170"} 
[2026-10-16 01:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:37: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-10-16 01: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 01:37:38] 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-10-16 01: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-10-16 01:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776265216001,"66":27267,"21":206,"19":43264,"24":5,"16":12010175963594752,"45":7741547048044589056},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776265216001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:37:38] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:37:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12010175963594752,"km_value":12010175963594.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7741547048044589056,"description":"Unknown IO ID 45"} 
[2026-10-16 01:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776265216001,"power":27267,"unknown_21":206,"unknown_19":43264,"ignition":5,"odometer":null,"unknown_45":7741547048044589056}} 
[2026-10-16 01:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":216277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:37:38] local.INFO: GPS data processed {"connection_id":216277,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:37:38] local.INFO: Acknowledgment sent {"connection_id":216277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:37:57] local.INFO: TCP Data received {"connection_id":216089,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:37:57] local.INFO: Processing buffer {"connection_id":216089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:37:57] local.INFO: Packet analysis {"connection_id":216089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:37:57] local.INFO: Extracted packet for processing {"connection_id":216089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:37:57] 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-10-16 01: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-10-16 01:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:37:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:37:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":216089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:37:57] local.INFO: GPS data processed {"connection_id":216089,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:37:57] local.INFO: Acknowledgment sent {"connection_id":216089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:37:57] local.INFO: TCP Data received {"connection_id":216090,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:37:57] local.INFO: Processing buffer {"connection_id":216090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:37:57] local.INFO: IMEI packet received {"connection_id":216090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":216090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:37:59] local.INFO: TCP Data received {"connection_id":217633,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:37:59] local.INFO: Processing buffer {"connection_id":217633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:37:59] local.INFO: Packet analysis {"connection_id":217633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:37:59] local.INFO: Extracted packet for processing {"connection_id":217633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792094730000,"timestamp_ms":1792094730000,"timestamp_seconds":1792094730,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b7710"} 
[2026-10-16 01:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:37:59] 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-10-16 01:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173824001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:37:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173824001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":217633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:38:00] local.INFO: GPS data processed {"connection_id":217633,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:38:00] local.INFO: Acknowledgment sent {"connection_id":217633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:38:01] local.INFO: TCP Data received {"connection_id":216090,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:38:01] local.INFO: Processing buffer {"connection_id":216090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:38:01] local.INFO: IMEI packet received {"connection_id":216090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":216090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:38:11] local.INFO: TCP Data received {"connection_id":216090,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c6940012d6b6e400612afe80004015b31..."} 
[2026-10-16 01:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c6940012d6b6e400612afe80004015b31..."} 
[2026-10-16 01:38:11] local.INFO: Processing buffer {"connection_id":216090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c6940012d6b6e400612afe80004015b31..."} 
[2026-10-16 01:38:11] local.INFO: Packet analysis {"connection_id":216090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:38:11] local.INFO: Extracted packet for processing {"connection_id":216090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:38:11] local.INFO: GPS Element Parsed {"raw_longitude":762015296,"raw_latitude":101887976,"longitude_deg":76.2015296,"latitude_deg":10.1887976,"altitude":4,"angle":347,"satellites":49,"speed":7,"hex_longitude":"2d6b6e40","hex_latitude":"0612afe8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776266240001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12010197438431232,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7741406310556401664,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792094792000,"timestamp_ms":1792094792000,"timestamp_seconds":1792094792,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c6940"} 
[2026-10-16 01:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:38: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-10-16 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 01:38: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-10-16 01: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-10-16 01:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":216090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":216090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":216090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776266240001,"66":27376,"21":206,"19":43264,"24":7,"16":12010197438431232,"45":7741406310556401664},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776266240001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:38:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:38:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12010197438431232,"km_value":12010197438431.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7741406310556401664,"description":"Unknown IO ID 45"} 
[2026-10-16 01:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776266240001,"power":27376,"unknown_21":206,"unknown_19":43264,"ignition":7,"odometer":null,"unknown_45":7741406310556401664}} 
[2026-10-16 01:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":216090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:38:11] local.INFO: GPS data processed {"connection_id":216090,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:38:11] local.INFO: Acknowledgment sent {"connection_id":216090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:38:12] local.INFO: TCP Data received {"connection_id":216090,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412cbb48012d6b6b800612c8680006016231..."} 
[2026-10-16 01:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412cbb48012d6b6b800612c8680006016231..."} 
[2026-10-16 01:38:12] local.INFO: Processing buffer {"connection_id":216090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412cbb48012d6b6b800612c8680006016231..."} 
[2026-10-16 01:38:12] local.INFO: Packet analysis {"connection_id":216090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:38:12] local.INFO: Extracted packet for processing {"connection_id":216090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:38:12] local.INFO: GPS Element Parsed {"raw_longitude":762014592,"raw_latitude":101894248,"longitude_deg":76.2014592,"latitude_deg":10.1894248,"altitude":6,"angle":354,"satellites":49,"speed":20,"hex_longitude":"2d6b6b80","hex_latitude":"0612c868","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776266752001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12010502381109248,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7741195204323960832,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792094813000,"timestamp_ms":1792094813000,"timestamp_seconds":1792094813,"priority":1,"record_length":96,"hex_timestamp":"000001a1412cbb48"} 
[2026-10-16 01:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:38: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-10-16 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 01:38: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-10-16 01: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-10-16 01:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":216090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":216090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":216090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776266752001,"66":27571,"21":206,"19":43264,"24":20,"16":12010502381109248,"45":7741195204323960832},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776266752001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:38:12] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:38:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12010502381109248,"km_value":12010502381109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7741195204323960832,"description":"Unknown IO ID 45"} 
[2026-10-16 01:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776266752001,"power":27571,"unknown_21":206,"unknown_19":43264,"ignition":20,"odometer":null,"unknown_45":7741195204323960832}} 
[2026-10-16 01:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":216090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:38:13] local.INFO: GPS data processed {"connection_id":216090,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:38:13] local.INFO: Acknowledgment sent {"connection_id":216090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:38:21] local.INFO: TCP Data received {"connection_id":219374,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:38:21] local.INFO: Processing buffer {"connection_id":219374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:38:21] local.INFO: IMEI packet received {"connection_id":219374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":219374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:38:23] local.INFO: TCP Data received {"connection_id":216278,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:38:23] local.INFO: Processing buffer {"connection_id":216278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:38:23] local.INFO: IMEI packet received {"connection_id":216278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":216278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:38:27] local.INFO: TCP Data received {"connection_id":219374,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:38:27] local.INFO: Processing buffer {"connection_id":219374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:38:27] local.INFO: IMEI packet received {"connection_id":219374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":219374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:38:27] local.INFO: TCP Data received {"connection_id":219374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:38:27] local.INFO: Processing buffer {"connection_id":219374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:38:27] local.INFO: Packet analysis {"connection_id":219374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:38:27] local.INFO: Extracted packet for processing {"connection_id":219374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792094730000,"timestamp_ms":1792094730000,"timestamp_seconds":1792094730,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b7710"} 
[2026-10-16 01:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:38: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-10-16 01:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173824001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:38:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173824001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":219374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:38:27] local.INFO: GPS data processed {"connection_id":219374,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:38:27] local.INFO: Acknowledgment sent {"connection_id":219374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:38:28] local.INFO: TCP Data received {"connection_id":216278,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:38:28] local.INFO: Processing buffer {"connection_id":216278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:38:28] local.INFO: IMEI packet received {"connection_id":216278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":216278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:38:30] local.INFO: TCP Data received {"connection_id":216278,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:38:30] local.INFO: Processing buffer {"connection_id":216278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:38:30] local.INFO: Packet analysis {"connection_id":216278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:38:30] local.INFO: Extracted packet for processing {"connection_id":216278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:38:30] 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-10-16 01:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:38:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:38:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":216278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:38:30] local.INFO: GPS data processed {"connection_id":216278,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:38:30] local.INFO: Acknowledgment sent {"connection_id":216278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:38:33] local.INFO: TCP Data received {"connection_id":216278,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:38:33] local.INFO: Processing buffer {"connection_id":216278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:38:33] local.INFO: Packet analysis {"connection_id":216278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:38:33] local.INFO: Extracted packet for processing {"connection_id":216278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:38:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:38:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":216278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:38:33] local.INFO: GPS data processed {"connection_id":216278,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:38:33] local.INFO: Acknowledgment sent {"connection_id":216278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:38:52] local.INFO: TCP Data received {"connection_id":217634,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:38:52] local.INFO: Processing buffer {"connection_id":217634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:38:52] local.INFO: IMEI packet received {"connection_id":217634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":217634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:38:59] local.INFO: TCP Data received {"connection_id":219374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:38:59] local.INFO: Processing buffer {"connection_id":219374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:38:59] local.INFO: Packet analysis {"connection_id":219374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:38:59] local.INFO: Extracted packet for processing {"connection_id":219374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792094730000,"timestamp_ms":1792094730000,"timestamp_seconds":1792094730,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b7710"} 
[2026-10-16 01:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:38:59] 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-10-16 01:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173824001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:38:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173824001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":219374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:38:59] local.INFO: GPS data processed {"connection_id":219374,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:38:59] local.INFO: Acknowledgment sent {"connection_id":219374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:39:17] local.INFO: TCP Data received {"connection_id":216279,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:39:17] local.INFO: Processing buffer {"connection_id":216279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:39:17] local.INFO: IMEI packet received {"connection_id":216279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":216279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:39:21] local.INFO: TCP Data received {"connection_id":216280,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:39:21] local.INFO: Processing buffer {"connection_id":216280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:39:21] local.INFO: IMEI packet received {"connection_id":216280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:39:23] local.INFO: TCP Data received {"connection_id":216279,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:39:23] local.INFO: Processing buffer {"connection_id":216279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:39:23] local.INFO: IMEI packet received {"connection_id":216279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":216279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:39:24] local.INFO: TCP Data received {"connection_id":216279,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:39:24] local.INFO: Processing buffer {"connection_id":216279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:39:24] local.INFO: Packet analysis {"connection_id":216279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:39:24] local.INFO: Extracted packet for processing {"connection_id":216279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:39:24] 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-10-16 01:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:39:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:39:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":216279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:39:24] local.INFO: GPS data processed {"connection_id":216279,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:39:24] local.INFO: Acknowledgment sent {"connection_id":216279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:39:26] local.INFO: TCP Data received {"connection_id":217634,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:26] local.INFO: Processing buffer {"connection_id":217634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:26] local.INFO: IMEI packet received {"connection_id":217634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":217634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:39:27] local.INFO: TCP Data received {"connection_id":216280,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:39:27] local.INFO: Processing buffer {"connection_id":216280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:39:27] local.INFO: IMEI packet received {"connection_id":216280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":216280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:39:27] local.INFO: TCP Data received {"connection_id":217634,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:27] local.INFO: Processing buffer {"connection_id":217634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:27] local.INFO: IMEI packet received {"connection_id":217634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":217634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:39:27] local.INFO: TCP Data received {"connection_id":217634,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412cf9c8012d6b67800612eb280006016330..."} 
[2026-10-16 01:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412cf9c8012d6b67800612eb280006016330..."} 
[2026-10-16 01:39:27] local.INFO: Processing buffer {"connection_id":217634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412cf9c8012d6b67800612eb280006016330..."} 
[2026-10-16 01:39:27] local.INFO: Packet analysis {"connection_id":217634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:39:27] local.INFO: Extracted packet for processing {"connection_id":217634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:39:27] local.INFO: GPS Element Parsed {"raw_longitude":762013568,"raw_latitude":101903144,"longitude_deg":76.2013568,"latitude_deg":10.1903144,"altitude":6,"angle":355,"satellites":48,"speed":23,"hex_longitude":"2d6b6780","hex_latitude":"0612eb28","is_valid_coordinates":true} 
[2026-10-16 01:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776272128001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12010940467773440,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7740421148139612160,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792094829000,"timestamp_ms":1792094829000,"timestamp_seconds":1792094829,"priority":1,"record_length":96,"hex_timestamp":"000001a1412cf9c8"} 
[2026-10-16 01:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:39: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-10-16 01:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 01:39:27] 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-10-16 01:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776272128001,"66":27234,"21":206,"19":43264,"24":23,"16":12010940467773440,"45":7740421148139612160},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776272128001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:39:27] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:39:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12010940467773440,"km_value":12010940467773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7740421148139612160,"description":"Unknown IO ID 45"} 
[2026-10-16 01:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776272128001,"power":27234,"unknown_21":206,"unknown_19":43264,"ignition":23,"odometer":null,"unknown_45":7740421148139612160}} 
[2026-10-16 01:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":217634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:39:28] local.INFO: GPS data processed {"connection_id":217634,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:39:28] local.INFO: Acknowledgment sent {"connection_id":217634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:39:28] local.INFO: TCP Data received {"connection_id":216280,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:39:28] local.INFO: Processing buffer {"connection_id":216280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:39:28] local.INFO: Packet analysis {"connection_id":216280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:39:28] local.INFO: Extracted packet for processing {"connection_id":216280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792094730000,"timestamp_ms":1792094730000,"timestamp_seconds":1792094730,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b7710"} 
[2026-10-16 01:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173824001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:39:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173824001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":216280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:39:28] local.INFO: GPS data processed {"connection_id":216280,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:39:28] local.INFO: Acknowledgment sent {"connection_id":216280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:39:28] local.INFO: TCP Data received {"connection_id":217634,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412d3078012d6b6380061310280004016331..."} 
[2026-10-16 01:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412d3078012d6b6380061310280004016331..."} 
[2026-10-16 01:39:28] local.INFO: Processing buffer {"connection_id":217634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412d3078012d6b6380061310280004016331..."} 
[2026-10-16 01:39:28] local.INFO: Packet analysis {"connection_id":217634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412d"} 
[2026-10-16 01:39:28] local.INFO: Extracted packet for processing {"connection_id":217634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412d"} 
[2026-10-16 01:39:28] local.INFO: GPS Element Parsed {"raw_longitude":762012544,"raw_latitude":101912616,"longitude_deg":76.2012544,"latitude_deg":10.1912616,"altitude":4,"angle":355,"satellites":49,"speed":30,"hex_longitude":"2d6b6380","hex_latitude":"06131028","is_valid_coordinates":true} 
[2026-10-16 01:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776276224001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12011400029274112,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7739295248235046912,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792094843000,"timestamp_ms":1792094843000,"timestamp_seconds":1792094843,"priority":1,"record_length":96,"hex_timestamp":"000001a1412d3078"} 
[2026-10-16 01:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 01:39:28] 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-10-16 01:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776276224001,"66":27343,"21":206,"19":43264,"24":30,"16":12011400029274112,"45":7739295248235046912},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-10-16 01:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776276224001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:39:28] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 01:39:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 01:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12011400029274112,"km_value":12011400029274.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7739295248235046912,"description":"Unknown IO ID 45"} 
[2026-10-16 01:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776276224001,"power":27343,"unknown_21":206,"unknown_19":43264,"ignition":30,"odometer":null,"unknown_45":7739295248235046912}} 
[2026-10-16 01:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":217634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:39:28] local.INFO: GPS data processed {"connection_id":217634,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:39:28] local.INFO: Acknowledgment sent {"connection_id":217634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:39:56] local.INFO: TCP Data received {"connection_id":216279,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:39:56] local.INFO: Processing buffer {"connection_id":216279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:39:56] local.INFO: Packet analysis {"connection_id":216279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:39:56] local.INFO: Extracted packet for processing {"connection_id":216279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:39:56] 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-10-16 01:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:39:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:39:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":216279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:39:56] local.INFO: GPS data processed {"connection_id":216279,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:39:56] local.INFO: Acknowledgment sent {"connection_id":216279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:39:58] local.INFO: TCP Data received {"connection_id":219375,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:58] local.INFO: Processing buffer {"connection_id":219375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:58] local.INFO: IMEI packet received {"connection_id":219375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":219375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:39:59] local.INFO: TCP Data received {"connection_id":219375,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:59] local.INFO: Processing buffer {"connection_id":219375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:39:59] local.INFO: IMEI packet received {"connection_id":219375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":219375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:39:59] local.INFO: TCP Data received {"connection_id":216280,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:39:59] local.INFO: Processing buffer {"connection_id":216280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:39:59] local.INFO: Packet analysis {"connection_id":216280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:39:59] local.INFO: Extracted packet for processing {"connection_id":216280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:39: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-10-16 01:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792094730000,"timestamp_ms":1792094730000,"timestamp_seconds":1792094730,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b7710"} 
[2026-10-16 01:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:39:59] 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-10-16 01:39: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-10-16 01:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173824001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:39:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173824001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":216280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:39:59] local.INFO: GPS data processed {"connection_id":216280,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:39:59] local.INFO: Acknowledgment sent {"connection_id":216280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:40:00] local.INFO: TCP Data received {"connection_id":219375,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412d53a0012d6b618006132a480006000631..."} 
[2026-10-16 01:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412d53a0012d6b618006132a480006000631..."} 
[2026-10-16 01:40:00] local.INFO: Processing buffer {"connection_id":219375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412d53a0012d6b618006132a480006000631..."} 
[2026-10-16 01:40:00] local.INFO: Packet analysis {"connection_id":219375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412d"} 
[2026-10-16 01:40:00] local.INFO: Extracted packet for processing {"connection_id":219375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412d"} 
[2026-10-16 01:40:00] local.INFO: GPS Element Parsed {"raw_longitude":762012032,"raw_latitude":101919304,"longitude_deg":76.2012032,"latitude_deg":10.1919304,"altitude":6,"angle":6,"satellites":49,"speed":23,"hex_longitude":"2d6b6180","hex_latitude":"06132a48","is_valid_coordinates":true} 
[2026-10-16 01:40: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-10-16 01:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776279808001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12011726446788608,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7738169348330629120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792094852000,"timestamp_ms":1792094852000,"timestamp_seconds":1792094852,"priority":1,"record_length":96,"hex_timestamp":"000001a1412d53a0"} 
[2026-10-16 01:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 01:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:40: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-10-16 01:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776279808001,"66":27376,"91":206,"19":40704,"24":23,"16":12011726446788608,"45":7738169348330629120},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-10-16 01:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776279808001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:40:00] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-10-16 01:40:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12011726446788608,"km_value":12011726446788.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7738169348330629120,"description":"Unknown IO ID 45"} 
[2026-10-16 01:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776279808001,"power":27376,"unknown_91":206,"unknown_19":40704,"ignition":23,"odometer":null,"unknown_45":7738169348330629120}} 
[2026-10-16 01:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":219375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:40:00] local.INFO: GPS data processed {"connection_id":219375,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:40:00] local.INFO: Acknowledgment sent {"connection_id":219375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:40:01] local.INFO: TCP Data received {"connection_id":219375,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412d5f58012d6b62c006132fb00007001531..."} 
[2026-10-16 01:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412d5f58012d6b62c006132fb00007001531..."} 
[2026-10-16 01:40:01] local.INFO: Processing buffer {"connection_id":219375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412d5f58012d6b62c006132fb00007001531..."} 
[2026-10-16 01:40:01] local.INFO: Packet analysis {"connection_id":219375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412d"} 
[2026-10-16 01:40:01] local.INFO: Extracted packet for processing {"connection_id":219375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412d"} 
[2026-10-16 01:40:01] local.INFO: GPS Element Parsed {"raw_longitude":762012352,"raw_latitude":101920688,"longitude_deg":76.2012352,"latitude_deg":10.1920688,"altitude":7,"angle":21,"satellites":49,"speed":13,"hex_longitude":"2d6b62c0","hex_latitude":"06132fb0","is_valid_coordinates":true} 
[2026-10-16 01:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776282112001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12011795166265344,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7737606398378919936,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792094855000,"timestamp_ms":1792094855000,"timestamp_seconds":1792094855,"priority":1,"record_length":96,"hex_timestamp":"000001a1412d5f58"} 
[2026-10-16 01:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:40: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-10-16 01:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 01:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776282112001,"66":27137,"91":206,"19":40704,"24":13,"16":12011795166265344,"45":7737606398378919936},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-10-16 01:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776282112001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:40:01] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-10-16 01:40:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12011795166265344,"km_value":12011795166265.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7737606398378919936,"description":"Unknown IO ID 45"} 
[2026-10-16 01:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776282112001,"power":27137,"unknown_91":206,"unknown_19":40704,"ignition":13,"odometer":null,"unknown_45":7737606398378919936}} 
[2026-10-16 01:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":219375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:40:01] local.INFO: GPS data processed {"connection_id":219375,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:40:01] local.INFO: Acknowledgment sent {"connection_id":219375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:40:17] local.INFO: TCP Data received {"connection_id":216091,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:40:17] local.INFO: Processing buffer {"connection_id":216091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:40:17] local.INFO: IMEI packet received {"connection_id":216091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":216091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:40:21] local.INFO: TCP Data received {"connection_id":216281,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:40:21] local.INFO: Processing buffer {"connection_id":216281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:40:21] local.INFO: IMEI packet received {"connection_id":216281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":216281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:40:23] local.INFO: TCP Data received {"connection_id":216091,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:40:23] local.INFO: Processing buffer {"connection_id":216091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:40:23] local.INFO: IMEI packet received {"connection_id":216091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":216091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:40:24] local.INFO: TCP Data received {"connection_id":216091,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:40:24] local.INFO: Processing buffer {"connection_id":216091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:40:24] local.INFO: Packet analysis {"connection_id":216091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:40:24] local.INFO: Extracted packet for processing {"connection_id":216091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:40:24] 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-10-16 01:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:40:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:40:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":216091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:40:24] local.INFO: GPS data processed {"connection_id":216091,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:40:24] local.INFO: Acknowledgment sent {"connection_id":216091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:40:27] local.INFO: TCP Data received {"connection_id":216281,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:40:27] local.INFO: Processing buffer {"connection_id":216281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:40:27] local.INFO: IMEI packet received {"connection_id":216281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":216281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:40:27] local.INFO: TCP Data received {"connection_id":216281,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:40:27] local.INFO: Processing buffer {"connection_id":216281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412b7710012d7c240005dad510000900ea24..."} 
[2026-10-16 01:40:27] local.INFO: Packet analysis {"connection_id":216281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:40:27] local.INFO: Extracted packet for processing {"connection_id":216281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412b"} 
[2026-10-16 01:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776173824001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792094730000,"timestamp_ms":1792094730000,"timestamp_seconds":1792094730,"priority":1,"record_length":96,"hex_timestamp":"000001a1412b7710"} 
[2026-10-16 01:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776173824001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776173824001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:40:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776173824001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":216281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:40:27] local.INFO: GPS data processed {"connection_id":216281,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:40:27] local.INFO: Acknowledgment sent {"connection_id":216281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:40:33] local.INFO: TCP Data received {"connection_id":219375,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412f2478012d6b4900061457e8000e01612f..."} 
[2026-10-16 01:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412f2478012d6b4900061457e8000e01612f..."} 
[2026-10-16 01:40:33] local.INFO: Processing buffer {"connection_id":219375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412f2478012d6b4900061457e8000e01612f..."} 
[2026-10-16 01:40:33] local.INFO: Packet analysis {"connection_id":219375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412f"} 
[2026-10-16 01:40:33] local.INFO: Extracted packet for processing {"connection_id":219375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412f"} 
[2026-10-16 01:40:33] local.INFO: GPS Element Parsed {"raw_longitude":762005760,"raw_latitude":101996520,"longitude_deg":76.200576,"latitude_deg":10.199652,"altitude":14,"angle":353,"satellites":47,"speed":31,"hex_longitude":"2d6b4900","hex_latitude":"061457e8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776309248001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12015514607943680,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7731695423885363200,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792094971000,"timestamp_ms":1792094971000,"timestamp_seconds":1792094971,"priority":1,"record_length":96,"hex_timestamp":"000001a1412f2478"} 
[2026-10-16 01:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01: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-10-16 01: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 01:40:33] 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-10-16 01: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-10-16 01:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776309248001,"66":27430,"92":206,"19":40704,"24":31,"16":12015514607943680,"45":7731695423885363200},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,19,24,16,45]} 
[2026-10-16 01:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776309248001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:40:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-16 01:40:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12015514607943680,"km_value":12015514607943.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7731695423885363200,"description":"Unknown IO ID 45"} 
[2026-10-16 01:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776309248001,"power":27430,"unknown_92":206,"unknown_19":40704,"ignition":31,"odometer":null,"unknown_45":7731695423885363200}} 
[2026-10-16 01:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":219375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:40:33] local.INFO: GPS data processed {"connection_id":219375,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:40:33] local.INFO: Acknowledgment sent {"connection_id":219375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:40:52] local.INFO: TCP Data received {"connection_id":216282,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:40:52] local.INFO: Processing buffer {"connection_id":216282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:40:52] local.INFO: IMEI packet received {"connection_id":216282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":216282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:40:53] local.INFO: TCP Data received {"connection_id":216282,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:40:53] local.INFO: Processing buffer {"connection_id":216282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:40:53] local.INFO: IMEI packet received {"connection_id":216282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":216282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:40:56] local.INFO: TCP Data received {"connection_id":216091,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:40:56] local.INFO: Processing buffer {"connection_id":216091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:40:56] local.INFO: Packet analysis {"connection_id":216091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:40:56] local.INFO: Extracted packet for processing {"connection_id":216091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:40:56] 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-10-16 01:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:40:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:40:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":216091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:40:56] local.INFO: GPS data processed {"connection_id":216091,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:40:56] local.INFO: Acknowledgment sent {"connection_id":216091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:40:57] local.INFO: TCP Data received {"connection_id":216282,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:40:57] local.INFO: Processing buffer {"connection_id":216282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:40:57] local.INFO: IMEI packet received {"connection_id":216282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":216282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:40:58] local.INFO: TCP Data received {"connection_id":216282,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412f4f70012d6b454006147bb0000c01622f..."} 
[2026-10-16 01:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412f4f70012d6b454006147bb0000c01622f..."} 
[2026-10-16 01:40:58] local.INFO: Processing buffer {"connection_id":216282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412f4f70012d6b454006147bb0000c01622f..."} 
[2026-10-16 01:40:58] local.INFO: Packet analysis {"connection_id":216282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412f"} 
[2026-10-16 01:40:58] local.INFO: Extracted packet for processing {"connection_id":216282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412f"} 
[2026-10-16 01:40:58] local.INFO: GPS Element Parsed {"raw_longitude":762004800,"raw_latitude":102005680,"longitude_deg":76.20048,"latitude_deg":10.200568,"altitude":12,"angle":354,"satellites":47,"speed":31,"hex_longitude":"2d6b4540","hex_latitude":"06147bb0","is_valid_coordinates":true} 
[2026-10-16 01:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776312576001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12015961284542464,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7730710261469276160,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792094982000,"timestamp_ms":1792094982000,"timestamp_seconds":1792094982,"priority":1,"record_length":96,"hex_timestamp":"000001a1412f4f70"} 
[2026-10-16 01:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 01:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776312576001,"66":27517,"92":206,"19":40704,"24":31,"16":12015961284542464,"45":7730710261469276160},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,19,24,16,45]} 
[2026-10-16 01:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776312576001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:40:58] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-16 01:40:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12015961284542464,"km_value":12015961284542.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7730710261469276160,"description":"Unknown IO ID 45"} 
[2026-10-16 01:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776312576001,"power":27517,"unknown_92":206,"unknown_19":40704,"ignition":31,"odometer":null,"unknown_45":7730710261469276160}} 
[2026-10-16 01:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":216282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:40:58] local.INFO: GPS data processed {"connection_id":216282,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:40:58] local.INFO: Acknowledgment sent {"connection_id":216282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:40:58] local.INFO: TCP Data received {"connection_id":216281,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:40:58] local.INFO: Processing buffer {"connection_id":216281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:40:58] local.INFO: Packet analysis {"connection_id":216281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:40:58] local.INFO: Extracted packet for processing {"connection_id":216281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792095031000,"timestamp_ms":1792095031000,"timestamp_seconds":1792095031,"priority":1,"record_length":96,"hex_timestamp":"000001a141300ed8"} 
[2026-10-16 01:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:40:58] 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-10-16 01:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776250880001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:40:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:40:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776250880001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":216281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:40:58] local.INFO: GPS data processed {"connection_id":216281,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:40:58] local.INFO: Acknowledgment sent {"connection_id":216281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:41:22] local.INFO: TCP Data received {"connection_id":216283,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:41:22] local.INFO: Processing buffer {"connection_id":216283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:41:22] local.INFO: IMEI packet received {"connection_id":216283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":216283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:41:23] local.INFO: TCP Data received {"connection_id":219376,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:41:23] local.INFO: Processing buffer {"connection_id":219376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:41:23] local.INFO: IMEI packet received {"connection_id":219376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":219376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:41:27] local.INFO: TCP Data received {"connection_id":216283,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:41:27] local.INFO: Processing buffer {"connection_id":216283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:41:27] local.INFO: IMEI packet received {"connection_id":216283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":216283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:41:27] local.INFO: TCP Data received {"connection_id":216283,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:41:27] local.INFO: Processing buffer {"connection_id":216283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:41:27] local.INFO: Packet analysis {"connection_id":216283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:41:27] local.INFO: Extracted packet for processing {"connection_id":216283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792095031000,"timestamp_ms":1792095031000,"timestamp_seconds":1792095031,"priority":1,"record_length":96,"hex_timestamp":"000001a141300ed8"} 
[2026-10-16 01:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776250880001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:41:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776250880001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":216283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:41:27] local.INFO: GPS data processed {"connection_id":216283,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:41:27] local.INFO: Acknowledgment sent {"connection_id":216283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:41:28] local.INFO: TCP Data received {"connection_id":219376,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:41:28] local.INFO: Processing buffer {"connection_id":219376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:41:28] local.INFO: IMEI packet received {"connection_id":219376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":219376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:41:29] local.INFO: TCP Data received {"connection_id":219376,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:41:29] local.INFO: Processing buffer {"connection_id":219376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:41:29] local.INFO: Packet analysis {"connection_id":219376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:41:29] local.INFO: Extracted packet for processing {"connection_id":219376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:41:29] 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-10-16 01:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:41:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:41:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":219376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:41:29] local.INFO: GPS data processed {"connection_id":219376,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:41:29] local.INFO: Acknowledgment sent {"connection_id":219376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:41:32] local.INFO: TCP Data received {"connection_id":216282,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412f7a68012d6b428006149ee0000801622f..."} 
[2026-10-16 01:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412f7a68012d6b428006149ee0000801622f..."} 
[2026-10-16 01:41:32] local.INFO: Processing buffer {"connection_id":216282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412f7a68012d6b428006149ee0000801622f..."} 
[2026-10-16 01:41:32] local.INFO: Packet analysis {"connection_id":216282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412f"} 
[2026-10-16 01:41:32] local.INFO: Extracted packet for processing {"connection_id":216282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412f"} 
[2026-10-16 01:41:32] local.INFO: GPS Element Parsed {"raw_longitude":762004096,"raw_latitude":102014688,"longitude_deg":76.2004096,"latitude_deg":10.2014688,"altitude":8,"angle":354,"satellites":47,"speed":33,"hex_longitude":"2d6b4280","hex_latitude":"06149ee0","is_valid_coordinates":true} 
[2026-10-16 01:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776315392001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12016399371206656,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729654730308956160,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792094993000,"timestamp_ms":1792094993000,"timestamp_seconds":1792094993,"priority":1,"record_length":96,"hex_timestamp":"000001a1412f7a68"} 
[2026-10-16 01:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 01:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776315392001,"66":27484,"92":206,"19":40704,"24":33,"16":12016399371206656,"45":7729654730308956160},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,19,24,16,45]} 
[2026-10-16 01:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776315392001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:41:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-16 01:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12016399371206656,"km_value":12016399371206.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729654730308956160,"description":"Unknown IO ID 45"} 
[2026-10-16 01:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776315392001,"power":27484,"unknown_92":206,"unknown_19":40704,"ignition":33,"odometer":null,"unknown_45":7729654730308956160}} 
[2026-10-16 01:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":216282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:41:32] local.INFO: GPS data processed {"connection_id":216282,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:41:32] local.INFO: Acknowledgment sent {"connection_id":216282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:41:34] local.INFO: TCP Data received {"connection_id":219376,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:41:34] local.INFO: Processing buffer {"connection_id":219376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:41:34] local.INFO: Packet analysis {"connection_id":219376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:41:34] local.INFO: Extracted packet for processing {"connection_id":219376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:41:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:41:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:41:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":219376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:41:34] local.INFO: GPS data processed {"connection_id":219376,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:41:34] local.INFO: Acknowledgment sent {"connection_id":219376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:41:52] local.INFO: TCP Data received {"connection_id":216284,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:41:52] local.INFO: Processing buffer {"connection_id":216284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:41:52] local.INFO: IMEI packet received {"connection_id":216284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":216284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:41:57] local.INFO: TCP Data received {"connection_id":216284,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:41:57] local.INFO: Processing buffer {"connection_id":216284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:41:57] local.INFO: IMEI packet received {"connection_id":216284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":216284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:41:58] local.INFO: TCP Data received {"connection_id":216284,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1412fa560012d6b3d800614c2980008015e2e..."} 
[2026-10-16 01:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412fa560012d6b3d800614c2980008015e2e..."} 
[2026-10-16 01:41:58] local.INFO: Processing buffer {"connection_id":216284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412fa560012d6b3d800614c2980008015e2e..."} 
[2026-10-16 01:41:58] local.INFO: Packet analysis {"connection_id":216284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412f"} 
[2026-10-16 01:41:58] local.INFO: Extracted packet for processing {"connection_id":216284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412f"} 
[2026-10-16 01:41:58] local.INFO: GPS Element Parsed {"raw_longitude":762002816,"raw_latitude":102023832,"longitude_deg":76.2002816,"latitude_deg":10.2023832,"altitude":8,"angle":350,"satellites":46,"speed":32,"hex_longitude":"2d6b3d80","hex_latitude":"0614c298","is_valid_coordinates":true} 
[2026-10-16 01:41: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-10-16 01:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776318208001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12016846047805440,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7728880674125307904,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792095004000,"timestamp_ms":1792095004000,"timestamp_seconds":1792095004,"priority":1,"record_length":96,"hex_timestamp":"000001a1412fa560"} 
[2026-10-16 01:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 01:41:58] 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-10-16 01:41: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-10-16 01:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776318208001,"66":27441,"92":206,"19":40704,"24":32,"16":12016846047805440,"45":7728880674125307904},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,19,24,16,45]} 
[2026-10-16 01:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776318208001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:41:58] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-10-16 01:41:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12016846047805440,"km_value":12016846047805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7728880674125307904,"description":"Unknown IO ID 45"} 
[2026-10-16 01:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776318208001,"power":27441,"unknown_92":206,"unknown_19":40704,"ignition":32,"odometer":null,"unknown_45":7728880674125307904}} 
[2026-10-16 01:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":216284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:41:58] local.INFO: GPS data processed {"connection_id":216284,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:41:58] local.INFO: Acknowledgment sent {"connection_id":216284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:41:58] local.INFO: TCP Data received {"connection_id":216283,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:41:58] local.INFO: Processing buffer {"connection_id":216283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:41:58] local.INFO: Packet analysis {"connection_id":216283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:41:58] local.INFO: Extracted packet for processing {"connection_id":216283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:41:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:41: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-10-16 01:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792095031000,"timestamp_ms":1792095031000,"timestamp_seconds":1792095031,"priority":1,"record_length":96,"hex_timestamp":"000001a141300ed8"} 
[2026-10-16 01:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:41: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":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:41:58] 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-10-16 01:41: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-10-16 01:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776250880001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:41:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:41:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776250880001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":216283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:41:58] local.INFO: GPS data processed {"connection_id":216283,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:41:58] local.INFO: Acknowledgment sent {"connection_id":216283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:42:18] local.INFO: TCP Data received {"connection_id":219377,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:42:18] local.INFO: Processing buffer {"connection_id":219377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:42:18] local.INFO: IMEI packet received {"connection_id":219377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":219377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:42:21] local.INFO: TCP Data received {"connection_id":217635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:42:21] local.INFO: Processing buffer {"connection_id":217635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:42:21] local.INFO: IMEI packet received {"connection_id":217635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":217635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:42:23] local.INFO: TCP Data received {"connection_id":219377,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:42:23] local.INFO: Processing buffer {"connection_id":219377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:42:23] local.INFO: IMEI packet received {"connection_id":219377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":219377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:42:24] local.INFO: TCP Data received {"connection_id":219377,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:42:24] local.INFO: Processing buffer {"connection_id":219377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1412c9c08012d7fac4005afe350000d00a626..."} 
[2026-10-16 01:42:24] local.INFO: Packet analysis {"connection_id":219377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:42:24] local.INFO: Extracted packet for processing {"connection_id":219377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1412c"} 
[2026-10-16 01:42:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":13,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776193024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792094805000,"timestamp_ms":1792094805000,"timestamp_seconds":1792094805,"priority":1,"record_length":96,"hex_timestamp":"000001a1412c9c08"} 
[2026-10-16 01:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:42:24] 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-10-16 01:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776193024001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776193024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:42:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:42:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776193024001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":219377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:42:24] local.INFO: GPS data processed {"connection_id":219377,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:42:24] local.INFO: Acknowledgment sent {"connection_id":219377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:42:25] local.INFO: TCP Data received {"connection_id":219377,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:42:25] local.INFO: Processing buffer {"connection_id":219377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:42:25] local.INFO: Packet analysis {"connection_id":219377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:42:25] local.INFO: Extracted packet for processing {"connection_id":219377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:42:25] 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-10-16 01:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":219377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":219377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":219377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:42:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:42:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":219377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:42:25] local.INFO: GPS data processed {"connection_id":219377,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:42:25] local.INFO: Acknowledgment sent {"connection_id":219377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:42:27] local.INFO: TCP Data received {"connection_id":217635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:42:27] local.INFO: Processing buffer {"connection_id":217635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:42:27] local.INFO: IMEI packet received {"connection_id":217635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":217635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:42:27] local.INFO: TCP Data received {"connection_id":217635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:42:27] local.INFO: Processing buffer {"connection_id":217635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:42:27] local.INFO: Packet analysis {"connection_id":217635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:42:27] local.INFO: Extracted packet for processing {"connection_id":217635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792095031000,"timestamp_ms":1792095031000,"timestamp_seconds":1792095031,"priority":1,"record_length":96,"hex_timestamp":"000001a141300ed8"} 
[2026-10-16 01:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:42:27] 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-10-16 01:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776250880001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:42:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776250880001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":217635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:42:27] local.INFO: GPS data processed {"connection_id":217635,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:42:27] local.INFO: Acknowledgment sent {"connection_id":217635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:42:31] local.INFO: TCP Data received {"connection_id":216284,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14130f168012d6b17c00615dcd80009015530..."} 
[2026-10-16 01:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14130f168012d6b17c00615dcd80009015530..."} 
[2026-10-16 01:42:31] local.INFO: Processing buffer {"connection_id":216284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14130f168012d6b17c00615dcd80009015530..."} 
[2026-10-16 01:42:31] local.INFO: Packet analysis {"connection_id":216284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:42:31] local.INFO: Extracted packet for processing {"connection_id":216284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:42:31] local.INFO: GPS Element Parsed {"raw_longitude":761993152,"raw_latitude":102096088,"longitude_deg":76.1993152,"latitude_deg":10.2096088,"altitude":9,"angle":341,"satellites":48,"speed":44,"hex_longitude":"2d6b17c0","hex_latitude":"0615dcd8","is_valid_coordinates":true} 
[2026-10-16 01:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776340736001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12020406575693824,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7720084581121687552,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792095089000,"timestamp_ms":1792095089000,"timestamp_seconds":1792095089,"priority":1,"record_length":96,"hex_timestamp":"000001a14130f168"} 
[2026-10-16 01:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-10-16 01:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":827,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776340736001,"66":27104,"135":206,"19":40704,"24":44,"16":12020406575693824,"45":7720084581121687552},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-10-16 01:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776340736001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:42:31] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 01:42:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12020406575693824,"km_value":12020406575693.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7720084581121687552,"description":"Unknown IO ID 45"} 
[2026-10-16 01:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776340736001,"power":27104,"unknown_135":206,"unknown_19":40704,"ignition":44,"odometer":null,"unknown_45":7720084581121687552}} 
[2026-10-16 01:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":216284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:42:31] local.INFO: GPS data processed {"connection_id":216284,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:42:31] local.INFO: Acknowledgment sent {"connection_id":216284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:42:52] local.INFO: TCP Data received {"connection_id":219378,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:42:52] local.INFO: Processing buffer {"connection_id":219378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:42:52] local.INFO: IMEI packet received {"connection_id":219378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":219378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:42:56] local.INFO: TCP Data received {"connection_id":219378,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:42:56] local.INFO: Processing buffer {"connection_id":219378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:42:56] local.INFO: IMEI packet received {"connection_id":219378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":219378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:42:57] local.INFO: TCP Data received {"connection_id":219377,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:42:57] local.INFO: Processing buffer {"connection_id":219377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:42:57] local.INFO: Packet analysis {"connection_id":219377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:42:57] local.INFO: Extracted packet for processing {"connection_id":219377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:42:57] 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-10-16 01:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:42:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:42:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":219377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:42:57] local.INFO: GPS data processed {"connection_id":219377,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:42:57] local.INFO: Acknowledgment sent {"connection_id":219377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:42:57] local.INFO: TCP Data received {"connection_id":219378,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:42:57] local.INFO: Processing buffer {"connection_id":219378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:42:57] local.INFO: IMEI packet received {"connection_id":219378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":219378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:42:59] local.INFO: TCP Data received {"connection_id":217635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:42:59] local.INFO: Processing buffer {"connection_id":217635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:42:59] local.INFO: Packet analysis {"connection_id":217635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:42:59] local.INFO: Extracted packet for processing {"connection_id":217635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095031000,"timestamp_ms":1792095031000,"timestamp_seconds":1792095031,"priority":1,"record_length":96,"hex_timestamp":"000001a141300ed8"} 
[2026-10-16 01:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:42:59] 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-10-16 01:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:42:59] 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-10-16 01:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776250880001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:42:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776250880001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:42:59] local.INFO: TCP Data received {"connection_id":219378,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141311490012d6b0b4006160190000a015432..."} 
[2026-10-16 01:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141311490012d6b0b4006160190000a015432..."} 
[2026-10-16 01:42:59] local.INFO: Processing buffer {"connection_id":219378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141311490012d6b0b4006160190000a015432..."} 
[2026-10-16 01:42:59] local.INFO: Packet analysis {"connection_id":219378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:42:59] local.INFO: Extracted packet for processing {"connection_id":219378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:42:59] local.INFO: GPS Element Parsed {"raw_longitude":761989952,"raw_latitude":102105488,"longitude_deg":76.1989952,"latitude_deg":10.2105488,"altitude":10,"angle":340,"satellites":50,"speed":43,"hex_longitude":"2d6b0b40","hex_latitude":"06160190","is_valid_coordinates":true} 
[2026-10-16 01:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776342784001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12020887612030976,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":217635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7716847618891765760,"note":"Value kept but may cause issues"} 
[2026-10-16 01:42:59] local.INFO: GPS data processed {"connection_id":217635,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095098000,"timestamp_ms":1792095098000,"timestamp_seconds":1792095098,"priority":1,"record_length":96,"hex_timestamp":"000001a141311490"} 
[2026-10-16 01:42:59] local.INFO: Acknowledgment sent {"connection_id":217635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:42: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-10-16 01:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 01:42:59] 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-10-16 01:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776342784001,"66":27376,"135":206,"19":40704,"24":43,"16":12020887612030976,"45":7716847618891765760},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-10-16 01:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776342784001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:42:59] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 01:42:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12020887612030976,"km_value":12020887612030.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7716847618891765760,"description":"Unknown IO ID 45"} 
[2026-10-16 01:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776342784001,"power":27376,"unknown_135":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7716847618891765760}} 
[2026-10-16 01:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":219378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:42:59] local.INFO: GPS data processed {"connection_id":219378,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:42:59] local.INFO: Acknowledgment sent {"connection_id":219378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:43:18] local.INFO: TCP Data received {"connection_id":216285,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:43:18] local.INFO: Processing buffer {"connection_id":216285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:43:18] local.INFO: IMEI packet received {"connection_id":216285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":216285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:43:21] local.INFO: TCP Data received {"connection_id":217636,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:43:21] local.INFO: Processing buffer {"connection_id":217636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:43:21] local.INFO: IMEI packet received {"connection_id":217636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":217636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:43:23] local.INFO: TCP Data received {"connection_id":216285,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:43:23] local.INFO: Processing buffer {"connection_id":216285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:43:23] local.INFO: IMEI packet received {"connection_id":216285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":216285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:43:24] local.INFO: TCP Data received {"connection_id":216285,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:43:24] local.INFO: Processing buffer {"connection_id":216285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:43:24] local.INFO: Packet analysis {"connection_id":216285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:43:24] local.INFO: Extracted packet for processing {"connection_id":216285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:43:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:43: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-10-16 01:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:43: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:43:24] 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-10-16 01:43: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-10-16 01:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:43:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:43:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":216285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:43:24] local.INFO: GPS data processed {"connection_id":216285,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:43:24] local.INFO: Acknowledgment sent {"connection_id":216285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:43:27] local.INFO: TCP Data received {"connection_id":217636,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:43:27] local.INFO: Processing buffer {"connection_id":217636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:43:27] local.INFO: IMEI packet received {"connection_id":217636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":217636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:43:27] local.INFO: TCP Data received {"connection_id":217636,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:43:27] local.INFO: Processing buffer {"connection_id":217636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:43:27] local.INFO: Packet analysis {"connection_id":217636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:43:27] local.INFO: Extracted packet for processing {"connection_id":217636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792095031000,"timestamp_ms":1792095031000,"timestamp_seconds":1792095031,"priority":1,"record_length":96,"hex_timestamp":"000001a141300ed8"} 
[2026-10-16 01:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:43:27] 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-10-16 01:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776250880001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:43:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776250880001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":217636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:43:27] local.INFO: GPS data processed {"connection_id":217636,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:43:27] local.INFO: Acknowledgment sent {"connection_id":217636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:43:33] local.INFO: TCP Data received {"connection_id":219378,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413137b8012d6afe8006162650000a015530..."} 
[2026-10-16 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413137b8012d6afe8006162650000a015530..."} 
[2026-10-16 01:43:33] local.INFO: Processing buffer {"connection_id":219378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413137b8012d6afe8006162650000a015530..."} 
[2026-10-16 01:43:33] local.INFO: Packet analysis {"connection_id":219378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:43:33] local.INFO: Extracted packet for processing {"connection_id":219378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:43:33] local.INFO: GPS Element Parsed {"raw_longitude":761986688,"raw_latitude":102114896,"longitude_deg":76.1986688,"latitude_deg":10.2114896,"altitude":10,"angle":341,"satellites":48,"speed":44,"hex_longitude":"2d6afe80","hex_latitude":"06162650","is_valid_coordinates":true} 
[2026-10-16 01:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776345088001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12021368648368128,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7713329181685288960,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792095107000,"timestamp_ms":1792095107000,"timestamp_seconds":1792095107,"priority":1,"record_length":96,"hex_timestamp":"000001a1413137b8"} 
[2026-10-16 01:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 01:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776345088001,"66":27441,"135":206,"19":40704,"24":44,"16":12021368648368128,"45":7713329181685288960},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-10-16 01:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776345088001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:43:33] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 01:43:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12021368648368128,"km_value":12021368648368.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7713329181685288960,"description":"Unknown IO ID 45"} 
[2026-10-16 01:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776345088001,"power":27441,"unknown_135":206,"unknown_19":40704,"ignition":44,"odometer":null,"unknown_45":7713329181685288960}} 
[2026-10-16 01:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":219378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:43:34] local.INFO: GPS data processed {"connection_id":219378,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:43:34] local.INFO: Acknowledgment sent {"connection_id":219378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:43:56] local.INFO: TCP Data received {"connection_id":216285,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:43:56] local.INFO: Processing buffer {"connection_id":216285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:43:56] local.INFO: Packet analysis {"connection_id":216285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:43:56] local.INFO: Extracted packet for processing {"connection_id":216285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:43:56] 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-10-16 01: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-10-16 01:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:43:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:43:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":216285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:43:56] local.INFO: GPS data processed {"connection_id":216285,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:43:56] local.INFO: Acknowledgment sent {"connection_id":216285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:43:56] local.INFO: TCP Data received {"connection_id":217637,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:43:56] local.INFO: Processing buffer {"connection_id":217637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:43:56] local.INFO: IMEI packet received {"connection_id":217637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":217637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:43:57] local.INFO: TCP Data received {"connection_id":217637,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:43:57] local.INFO: Processing buffer {"connection_id":217637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:43:57] local.INFO: IMEI packet received {"connection_id":217637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":217637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:43:58] local.INFO: TCP Data received {"connection_id":217636,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:43:58] local.INFO: Processing buffer {"connection_id":217636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:43:58] local.INFO: Packet analysis {"connection_id":217636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:43:58] local.INFO: Extracted packet for processing {"connection_id":217636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792095031000,"timestamp_ms":1792095031000,"timestamp_seconds":1792095031,"priority":1,"record_length":96,"hex_timestamp":"000001a141300ed8"} 
[2026-10-16 01:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:43:58] 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-10-16 01: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-10-16 01:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:43:58] 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-10-16 01:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776250880001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:43:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776250880001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":217636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:43:59] local.INFO: GPS data processed {"connection_id":217636,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:43:59] local.INFO: Acknowledgment sent {"connection_id":217636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:44:03] local.INFO: TCP Data received {"connection_id":217637,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:03] local.INFO: Processing buffer {"connection_id":217637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:03] local.INFO: IMEI packet received {"connection_id":217637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":217637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:44:04] local.INFO: TCP Data received {"connection_id":217637,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141326480012d6a90000617b478000c016530..."} 
[2026-10-16 01:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141326480012d6a90000617b478000c016530..."} 
[2026-10-16 01:44:04] local.INFO: Processing buffer {"connection_id":217637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141326480012d6a90000617b478000c016530..."} 
[2026-10-16 01:44:04] local.INFO: Packet analysis {"connection_id":217637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14132"} 
[2026-10-16 01:44:04] local.INFO: Extracted packet for processing {"connection_id":217637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14132"} 
[2026-10-16 01:44:04] local.INFO: GPS Element Parsed {"raw_longitude":761958400,"raw_latitude":102216824,"longitude_deg":76.19584,"latitude_deg":10.2216824,"altitude":12,"angle":357,"satellites":48,"speed":58,"hex_longitude":"2d6a9000","hex_latitude":"0617b478","is_valid_coordinates":true} 
[2026-10-16 01:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776365312001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12026518314156032,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679270709529192448,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792095184000,"timestamp_ms":1792095184000,"timestamp_seconds":1792095184,"priority":1,"record_length":96,"hex_timestamp":"000001a141326480"} 
[2026-10-16 01:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:44: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-10-16 01:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 01:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":217637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":217637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":217637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776365312001,"66":27137,"149":206,"19":40704,"24":58,"16":12026518314156032,"45":7679270709529192448},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-10-16 01:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776365312001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:44:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-10-16 01:44:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12026518314156032,"km_value":12026518314156.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679270709529192448,"description":"Unknown IO ID 45"} 
[2026-10-16 01:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776365312001,"power":27137,"unknown_149":206,"unknown_19":40704,"ignition":58,"odometer":null,"unknown_45":7679270709529192448}} 
[2026-10-16 01:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":217637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:44:04] local.INFO: GPS data processed {"connection_id":217637,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:44:04] local.INFO: Acknowledgment sent {"connection_id":217637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:44:05] local.INFO: TCP Data received {"connection_id":217637,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141327fd8012d6a8fc00617dc98000a000030..."} 
[2026-10-16 01:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141327fd8012d6a8fc00617dc98000a000030..."} 
[2026-10-16 01:44:05] local.INFO: Processing buffer {"connection_id":217637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141327fd8012d6a8fc00617dc98000a000030..."} 
[2026-10-16 01:44:05] local.INFO: Packet analysis {"connection_id":217637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14132"} 
[2026-10-16 01:44:05] local.INFO: Extracted packet for processing {"connection_id":217637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14132"} 
[2026-10-16 01:44:05] local.INFO: GPS Element Parsed {"raw_longitude":761958336,"raw_latitude":102227096,"longitude_deg":76.1958336,"latitude_deg":10.2227096,"altitude":10,"angle":0,"satellites":48,"speed":57,"hex_longitude":"2d6a8fc0","hex_latitude":"0617dc98","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776367104001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12027016530362368,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678637390834202624,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792095191000,"timestamp_ms":1792095191000,"timestamp_seconds":1792095191,"priority":1,"record_length":96,"hex_timestamp":"000001a141327fd8"} 
[2026-10-16 01:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-10-16 01:44:05] 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-10-16 01:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776367104001,"66":27463,"149":206,"19":40704,"24":57,"16":12027016530362368,"45":7678637390834202624},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-10-16 01:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776367104001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:44:05] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-10-16 01:44:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12027016530362368,"km_value":12027016530362.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678637390834202624,"description":"Unknown IO ID 45"} 
[2026-10-16 01:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776367104001,"power":27463,"unknown_149":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7678637390834202624}} 
[2026-10-16 01:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":217637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:44:05] local.INFO: GPS data processed {"connection_id":217637,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:44:05] local.INFO: Acknowledgment sent {"connection_id":217637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:44:21] local.INFO: TCP Data received {"connection_id":216093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:44:21] local.INFO: Processing buffer {"connection_id":216093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:44:21] local.INFO: IMEI packet received {"connection_id":216093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":216093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:44:23] local.INFO: TCP Data received {"connection_id":216092,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:44:23] local.INFO: Processing buffer {"connection_id":216092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:44:23] local.INFO: IMEI packet received {"connection_id":216092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":216092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:44:27] local.INFO: TCP Data received {"connection_id":216093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:44:27] local.INFO: Processing buffer {"connection_id":216093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:44:27] local.INFO: IMEI packet received {"connection_id":216093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":216093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:44:28] local.INFO: TCP Data received {"connection_id":216092,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:44:28] local.INFO: Processing buffer {"connection_id":216092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:44:28] local.INFO: IMEI packet received {"connection_id":216092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":216092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:44:29] local.INFO: TCP Data received {"connection_id":216093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:44:29] local.INFO: Processing buffer {"connection_id":216093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:44:29] local.INFO: Packet analysis {"connection_id":216093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:44:29] local.INFO: Extracted packet for processing {"connection_id":216093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792095031000,"timestamp_ms":1792095031000,"timestamp_seconds":1792095031,"priority":1,"record_length":96,"hex_timestamp":"000001a141300ed8"} 
[2026-10-16 01:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:44:29] 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-10-16 01:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776250880001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:44:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776250880001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":216093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:44:29] local.INFO: GPS data processed {"connection_id":216093,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:44:29] local.INFO: Acknowledgment sent {"connection_id":216093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:44:31] local.INFO: TCP Data received {"connection_id":216092,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:44:31] local.INFO: Processing buffer {"connection_id":216092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:44:31] local.INFO: Packet analysis {"connection_id":216092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:44:31] local.INFO: Extracted packet for processing {"connection_id":216092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:44:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:44:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":216092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:44:31] local.INFO: GPS data processed {"connection_id":216092,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:44:31] local.INFO: Acknowledgment sent {"connection_id":216092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:44:36] local.INFO: TCP Data received {"connection_id":217637,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141329b30012d6a9000061800d8000801672f..."} 
[2026-10-16 01:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141329b30012d6a9000061800d8000801672f..."} 
[2026-10-16 01:44:36] local.INFO: Processing buffer {"connection_id":217637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141329b30012d6a9000061800d8000801672f..."} 
[2026-10-16 01:44:36] local.INFO: Packet analysis {"connection_id":217637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14132"} 
[2026-10-16 01:44:36] local.INFO: Extracted packet for processing {"connection_id":217637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14132"} 
[2026-10-16 01:44:36] local.INFO: GPS Element Parsed {"raw_longitude":761958400,"raw_latitude":102236376,"longitude_deg":76.19584,"latitude_deg":10.2236376,"altitude":8,"angle":359,"satellites":47,"speed":48,"hex_longitude":"2d6a9000","hex_latitude":"061800d8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776368896001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12027467501928448,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678567022092654592,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792095198000,"timestamp_ms":1792095198000,"timestamp_seconds":1792095198,"priority":1,"record_length":96,"hex_timestamp":"000001a141329b30"} 
[2026-10-16 01:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 01:44: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-10-16 01: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-10-16 01:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":217637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":217637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":217637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776368896001,"66":26713,"149":206,"19":40704,"24":48,"16":12027467501928448,"45":7678567022092654592},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-10-16 01:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776368896001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:44:36] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-10-16 01:44:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12027467501928448,"km_value":12027467501928.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678567022092654592,"description":"Unknown IO ID 45"} 
[2026-10-16 01:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776368896001,"power":26713,"unknown_149":206,"unknown_19":40704,"ignition":48,"odometer":null,"unknown_45":7678567022092654592}} 
[2026-10-16 01:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":217637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:44:37] local.INFO: GPS data processed {"connection_id":217637,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:44:37] local.INFO: Acknowledgment sent {"connection_id":217637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:44:52] local.INFO: TCP Data received {"connection_id":219379,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:52] local.INFO: Processing buffer {"connection_id":219379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:52] local.INFO: IMEI packet received {"connection_id":219379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":219379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:44:53] local.INFO: TCP Data received {"connection_id":219379,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:53] local.INFO: Processing buffer {"connection_id":219379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:53] local.INFO: IMEI packet received {"connection_id":219379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":219379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:44:58] local.INFO: TCP Data received {"connection_id":219379,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:58] local.INFO: Processing buffer {"connection_id":219379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:44:58] local.INFO: IMEI packet received {"connection_id":219379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":219379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:44:59] local.INFO: TCP Data received {"connection_id":219379,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14132be58012d6a8d00061824f8000800002f..."} 
[2026-10-16 01:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14132be58012d6a8d00061824f8000800002f..."} 
[2026-10-16 01:44:59] local.INFO: Processing buffer {"connection_id":219379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14132be58012d6a8d00061824f8000800002f..."} 
[2026-10-16 01:44:59] local.INFO: Packet analysis {"connection_id":219379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14132"} 
[2026-10-16 01:44:59] local.INFO: Extracted packet for processing {"connection_id":219379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14132"} 
[2026-10-16 01:44:59] local.INFO: GPS Element Parsed {"raw_longitude":761957632,"raw_latitude":102245624,"longitude_deg":76.1957632,"latitude_deg":10.2245624,"altitude":8,"angle":0,"satellites":47,"speed":35,"hex_longitude":"2d6a8d00","hex_latitude":"061824f8","is_valid_coordinates":true} 
[2026-10-16 01:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776370688001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12027918473494528,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678637390839207936,"note":"Value kept but may cause issues"} 
[2026-10-16 01:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095207000,"timestamp_ms":1792095207000,"timestamp_seconds":1792095207,"priority":1,"record_length":96,"hex_timestamp":"000001a14132be58"} 
[2026-10-16 01:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:44: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-10-16 01:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-16 01:44:59] 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-10-16 01:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776370688001,"66":27484,"149":206,"19":40704,"24":35,"16":12027918473494528,"45":7678637390839207936},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-10-16 01:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776370688001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:44:59] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-10-16 01:44:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12027918473494528,"km_value":12027918473494.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678637390839207936,"description":"Unknown IO ID 45"} 
[2026-10-16 01:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776370688001,"power":27484,"unknown_149":206,"unknown_19":40704,"ignition":35,"odometer":null,"unknown_45":7678637390839207936}} 
[2026-10-16 01:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":219379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:44:59] local.INFO: GPS data processed {"connection_id":219379,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:44:59] local.INFO: Acknowledgment sent {"connection_id":219379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:45:00] local.INFO: TCP Data received {"connection_id":216093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:45:00] local.INFO: Processing buffer {"connection_id":216093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:45:00] local.INFO: Packet analysis {"connection_id":216093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:45:00] local.INFO: Extracted packet for processing {"connection_id":216093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792095031000,"timestamp_ms":1792095031000,"timestamp_seconds":1792095031,"priority":1,"record_length":96,"hex_timestamp":"000001a141300ed8"} 
[2026-10-16 01:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:45: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-10-16 01:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:45:00] 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-10-16 01:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:45: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-10-16 01:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776250880001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:45:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776250880001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":216093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:45:00] local.INFO: GPS data processed {"connection_id":216093,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:45:00] local.INFO: Acknowledgment sent {"connection_id":216093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:45:02] local.INFO: TCP Data received {"connection_id":216092,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:45:02] local.INFO: Processing buffer {"connection_id":216092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:45:02] local.INFO: Packet analysis {"connection_id":216092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:45:02] local.INFO: Extracted packet for processing {"connection_id":216092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:45:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:45:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":216092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:45:02] local.INFO: GPS data processed {"connection_id":216092,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:45:02] local.INFO: Acknowledgment sent {"connection_id":216092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:45:17] local.INFO: TCP Data received {"connection_id":217638,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:45:17] local.INFO: Processing buffer {"connection_id":217638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:45:17] local.INFO: IMEI packet received {"connection_id":217638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":217638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:45:21] local.INFO: TCP Data received {"connection_id":216094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:45:21] local.INFO: Processing buffer {"connection_id":216094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:45:21] local.INFO: IMEI packet received {"connection_id":216094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":216094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:45:22] local.INFO: TCP Data received {"connection_id":217638,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:45:22] local.INFO: Processing buffer {"connection_id":217638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:45:22] local.INFO: IMEI packet received {"connection_id":217638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":217638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:45:23] local.INFO: TCP Data received {"connection_id":217638,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:45:23] local.INFO: Processing buffer {"connection_id":217638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:45:23] local.INFO: Packet analysis {"connection_id":217638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:45:23] local.INFO: Extracted packet for processing {"connection_id":217638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:45:23] 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-10-16 01: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-10-16 01:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:45:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:45:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":217638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:45:23] local.INFO: GPS data processed {"connection_id":217638,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:45:23] local.INFO: Acknowledgment sent {"connection_id":217638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:45:27] local.INFO: TCP Data received {"connection_id":216094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:45:27] local.INFO: Processing buffer {"connection_id":216094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:45:27] local.INFO: IMEI packet received {"connection_id":216094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":216094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:45:28] local.INFO: TCP Data received {"connection_id":216094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:45:28] local.INFO: Processing buffer {"connection_id":216094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141300ed8012d7c240005dad510000900ea26..."} 
[2026-10-16 01:45:28] local.INFO: Packet analysis {"connection_id":216094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:45:28] local.INFO: Extracted packet for processing {"connection_id":216094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14130"} 
[2026-10-16 01:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792095031000,"timestamp_ms":1792095031000,"timestamp_seconds":1792095031,"priority":1,"record_length":96,"hex_timestamp":"000001a141300ed8"} 
[2026-10-16 01:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:45: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-10-16 01:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776250880001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:45:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776250880001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":216094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:45:28] local.INFO: GPS data processed {"connection_id":216094,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:45:28] local.INFO: Acknowledgment sent {"connection_id":216094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:45:30] local.INFO: TCP Data received {"connection_id":219379,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14132e950012d6a8d8006184810000701672f..."} 
[2026-10-16 01:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14132e950012d6a8d8006184810000701672f..."} 
[2026-10-16 01:45:30] local.INFO: Processing buffer {"connection_id":219379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14132e950012d6a8d8006184810000701672f..."} 
[2026-10-16 01:45:30] local.INFO: Packet analysis {"connection_id":219379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14132"} 
[2026-10-16 01:45:30] local.INFO: Extracted packet for processing {"connection_id":219379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14132"} 
[2026-10-16 01:45:30] local.INFO: GPS Element Parsed {"raw_longitude":761957760,"raw_latitude":102254608,"longitude_deg":76.195776,"latitude_deg":10.2254608,"altitude":7,"angle":359,"satellites":47,"speed":33,"hex_longitude":"2d6a8d80","hex_latitude":"06184810","is_valid_coordinates":true} 
[2026-10-16 01:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776372992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12028356560158720,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677792965911443456,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792095218000,"timestamp_ms":1792095218000,"timestamp_seconds":1792095218,"priority":1,"record_length":96,"hex_timestamp":"000001a14132e950"} 
[2026-10-16 01:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 01:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776372992001,"66":27430,"149":206,"19":40704,"24":33,"16":12028356560158720,"45":7677792965911443456},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-10-16 01:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776372992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:45:30] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-10-16 01:45:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12028356560158720,"km_value":12028356560158.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677792965911443456,"description":"Unknown IO ID 45"} 
[2026-10-16 01:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776372992001,"power":27430,"unknown_149":206,"unknown_19":40704,"ignition":33,"odometer":null,"unknown_45":7677792965911443456}} 
[2026-10-16 01:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":219379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043487,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:45:30] local.INFO: GPS data processed {"connection_id":219379,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:45:30] local.INFO: Acknowledgment sent {"connection_id":219379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:45:52] local.INFO: TCP Data received {"connection_id":217639,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:45:52] local.INFO: Processing buffer {"connection_id":217639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:45:52] local.INFO: IMEI packet received {"connection_id":217639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":217639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:45:53] local.INFO: TCP Data received {"connection_id":217639,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:45:53] local.INFO: Processing buffer {"connection_id":217639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:45:53] local.INFO: IMEI packet received {"connection_id":217639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":217639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:45:55] local.INFO: TCP Data received {"connection_id":217638,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:45:55] local.INFO: Processing buffer {"connection_id":217638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:45:55] local.INFO: Packet analysis {"connection_id":217638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:45:55] local.INFO: Extracted packet for processing {"connection_id":217638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:45:55] 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-10-16 01:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:45:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:45:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":217638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:45:55] local.INFO: GPS data processed {"connection_id":217638,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:45:55] local.INFO: Acknowledgment sent {"connection_id":217638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:45:58] local.INFO: TCP Data received {"connection_id":217639,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:45:58] local.INFO: Processing buffer {"connection_id":217639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:45:58] local.INFO: IMEI packet received {"connection_id":217639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":217639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:45:59] local.INFO: TCP Data received {"connection_id":216094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:45:59] local.INFO: Processing buffer {"connection_id":216094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:45:59] local.INFO: Packet analysis {"connection_id":216094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:45:59] local.INFO: Extracted packet for processing {"connection_id":216094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776327936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095332000,"timestamp_ms":1792095332000,"timestamp_seconds":1792095332,"priority":1,"record_length":96,"hex_timestamp":"000001a14134a6a0"} 
[2026-10-16 01:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:45:59] 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-10-16 01: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-10-16 01:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776327936001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776327936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:45:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776327936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":216094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:45:59] local.INFO: GPS data processed {"connection_id":216094,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:45:59] local.INFO: Acknowledgment sent {"connection_id":216094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:45:59] local.INFO: TCP Data received {"connection_id":217639,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141331830012d6a8b0006186bb8000701622e..."} 
[2026-10-16 01:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141331830012d6a8b0006186bb8000701622e..."} 
[2026-10-16 01:45:59] local.INFO: Processing buffer {"connection_id":217639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141331830012d6a8b0006186bb8000701622e..."} 
[2026-10-16 01:45:59] local.INFO: Packet analysis {"connection_id":217639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14133"} 
[2026-10-16 01:45:59] local.INFO: Extracted packet for processing {"connection_id":217639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14133"} 
[2026-10-16 01:45:59] local.INFO: GPS Element Parsed {"raw_longitude":761957120,"raw_latitude":102263736,"longitude_deg":76.195712,"latitude_deg":10.2263736,"altitude":7,"angle":354,"satellites":46,"speed":29,"hex_longitude":"2d6a8b00","hex_latitude":"06186bb8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776375808001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12028798941790208,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677933703402098688,"note":"Value kept but may cause issues"} 
[2026-10-16 01:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095230000,"timestamp_ms":1792095230000,"timestamp_seconds":1792095230,"priority":1,"record_length":96,"hex_timestamp":"000001a141331830"} 
[2026-10-16 01:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:45: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-10-16 01: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 01:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01: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-10-16 01:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776375808001,"66":27300,"147":206,"19":40704,"24":29,"16":12028798941790208,"45":7677933703402098688},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,19,24,16,45]} 
[2026-10-16 01:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776375808001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:45:59] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-10-16 01:45:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12028798941790208,"km_value":12028798941790.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677933703402098688,"description":"Unknown IO ID 45"} 
[2026-10-16 01:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776375808001,"power":27300,"unknown_147":206,"unknown_19":40704,"ignition":29,"odometer":null,"unknown_45":7677933703402098688}} 
[2026-10-16 01:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":217639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:45:59] local.INFO: GPS data processed {"connection_id":217639,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:45:59] local.INFO: Acknowledgment sent {"connection_id":217639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:46:17] local.INFO: TCP Data received {"connection_id":216286,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:46:17] local.INFO: Processing buffer {"connection_id":216286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:46:17] local.INFO: IMEI packet received {"connection_id":216286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":216286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:46:22] local.INFO: TCP Data received {"connection_id":219380,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:46:22] local.INFO: Processing buffer {"connection_id":219380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:46:22] local.INFO: IMEI packet received {"connection_id":219380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":219380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:46:23] local.INFO: TCP Data received {"connection_id":216286,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:46:23] local.INFO: Processing buffer {"connection_id":216286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:46:23] local.INFO: IMEI packet received {"connection_id":216286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":216286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:46:24] local.INFO: TCP Data received {"connection_id":216286,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:46:24] local.INFO: Processing buffer {"connection_id":216286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:46:24] local.INFO: Packet analysis {"connection_id":216286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:46:24] local.INFO: Extracted packet for processing {"connection_id":216286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:46:24] 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-10-16 01:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:46:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:46:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":216286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:46:24] local.INFO: GPS data processed {"connection_id":216286,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:46:24] local.INFO: Acknowledgment sent {"connection_id":216286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:46:29] local.INFO: TCP Data received {"connection_id":219380,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:46:29] local.INFO: Processing buffer {"connection_id":219380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:46:29] local.INFO: IMEI packet received {"connection_id":219380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":219380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:46:30] local.INFO: TCP Data received {"connection_id":219380,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:46:30] local.INFO: Processing buffer {"connection_id":219380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:46:30] local.INFO: Packet analysis {"connection_id":219380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:46:30] local.INFO: Extracted packet for processing {"connection_id":219380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776327936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792095332000,"timestamp_ms":1792095332000,"timestamp_seconds":1792095332,"priority":1,"record_length":96,"hex_timestamp":"000001a14134a6a0"} 
[2026-10-16 01:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776327936001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776327936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:46:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776327936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":219380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:46:30] local.INFO: GPS data processed {"connection_id":219380,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:46:30] local.INFO: Acknowledgment sent {"connection_id":219380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:46:32] local.INFO: TCP Data received {"connection_id":217639,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141334710012d6a858006188f880008015d2e..."} 
[2026-10-16 01:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141334710012d6a858006188f880008015d2e..."} 
[2026-10-16 01:46:32] local.INFO: Processing buffer {"connection_id":217639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141334710012d6a858006188f880008015d2e..."} 
[2026-10-16 01:46:32] local.INFO: Packet analysis {"connection_id":217639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14133"} 
[2026-10-16 01:46:32] local.INFO: Extracted packet for processing {"connection_id":217639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14133"} 
[2026-10-16 01:46:32] local.INFO: GPS Element Parsed {"raw_longitude":761955712,"raw_latitude":102272904,"longitude_deg":76.1955712,"latitude_deg":10.2272904,"altitude":8,"angle":349,"satellites":46,"speed":32,"hex_longitude":"2d6a8580","hex_latitude":"06188f88","is_valid_coordinates":true} 
[2026-10-16 01:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776378880001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12029249913356288,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677230015962658816,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792095242000,"timestamp_ms":1792095242000,"timestamp_seconds":1792095242,"priority":1,"record_length":96,"hex_timestamp":"000001a141334710"} 
[2026-10-16 01:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 01:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776378880001,"66":27745,"147":206,"19":40704,"24":32,"16":12029249913356288,"45":7677230015962658816},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,19,24,16,45]} 
[2026-10-16 01:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776378880001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:46:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-10-16 01:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12029249913356288,"km_value":12029249913356.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677230015962658816,"description":"Unknown IO ID 45"} 
[2026-10-16 01:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776378880001,"power":27745,"unknown_147":206,"unknown_19":40704,"ignition":32,"odometer":null,"unknown_45":7677230015962658816}} 
[2026-10-16 01:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":217639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043493,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:46:32] local.INFO: GPS data processed {"connection_id":217639,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:46:32] local.INFO: Acknowledgment sent {"connection_id":217639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:46:52] local.INFO: TCP Data received {"connection_id":219381,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:46:52] local.INFO: Processing buffer {"connection_id":219381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:46:52] local.INFO: IMEI packet received {"connection_id":219381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":219381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:46:56] local.INFO: TCP Data received {"connection_id":216286,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:46:56] local.INFO: Processing buffer {"connection_id":216286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:46:56] local.INFO: Packet analysis {"connection_id":216286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:46:56] local.INFO: Extracted packet for processing {"connection_id":216286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:46:56] 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-10-16 01:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:46:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:46:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":216286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:46:56] local.INFO: GPS data processed {"connection_id":216286,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:46:56] local.INFO: Acknowledgment sent {"connection_id":216286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:46:57] local.INFO: TCP Data received {"connection_id":219381,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:46:57] local.INFO: Processing buffer {"connection_id":219381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:46:57] local.INFO: IMEI packet received {"connection_id":219381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":219381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:46:58] local.INFO: TCP Data received {"connection_id":219381,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141350460012d6a2f00061a14680008015a25..."} 
[2026-10-16 01:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141350460012d6a2f00061a14680008015a25..."} 
[2026-10-16 01:46:58] local.INFO: Processing buffer {"connection_id":219381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141350460012d6a2f00061a14680008015a25..."} 
[2026-10-16 01:46:58] local.INFO: Packet analysis {"connection_id":219381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:46:58] local.INFO: Extracted packet for processing {"connection_id":219381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:46:58] local.INFO: GPS Element Parsed {"raw_longitude":761933568,"raw_latitude":102372456,"longitude_deg":76.1933568,"latitude_deg":10.2372456,"altitude":8,"angle":346,"satellites":37,"speed":34,"hex_longitude":"2d6a2f00","hex_latitude":"061a1468","is_valid_coordinates":true} 
[2026-10-16 01:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776408576001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12034219190517760,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7653797224177016832,"note":"Value kept but may cause issues"} 
[2026-10-16 01:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792095356000,"timestamp_ms":1792095356000,"timestamp_seconds":1792095356,"priority":1,"record_length":96,"hex_timestamp":"000001a141350460"} 
[2026-10-16 01:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-16 01:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776408576001,"66":27713,"5":206,"19":40704,"24":34,"16":12034219190517760,"45":7653797224177016832},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-10-16 01:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776408576001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:46:58] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-16 01:46:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12034219190517760,"km_value":12034219190517.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7653797224177016832,"description":"Unknown IO ID 45"} 
[2026-10-16 01:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776408576001,"power":27713,"unknown_5":206,"unknown_19":40704,"ignition":34,"odometer":null,"unknown_45":7653797224177016832}} 
[2026-10-16 01:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":219381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:46:59] local.INFO: GPS data processed {"connection_id":219381,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:46:59] local.INFO: Acknowledgment sent {"connection_id":219381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:47:04] local.INFO: TCP Data received {"connection_id":219380,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:47:04] local.INFO: Processing buffer {"connection_id":219380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:47:04] local.INFO: Packet analysis {"connection_id":219380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:47:04] local.INFO: Extracted packet for processing {"connection_id":219380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776327936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792095332000,"timestamp_ms":1792095332000,"timestamp_seconds":1792095332,"priority":1,"record_length":96,"hex_timestamp":"000001a14134a6a0"} 
[2026-10-16 01:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":219380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":219380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":219380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:47: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-10-16 01:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776327936001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776327936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:47:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776327936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":219380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:47:04] local.INFO: GPS data processed {"connection_id":219380,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:47:04] local.INFO: Acknowledgment sent {"connection_id":219380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:47:17] local.INFO: TCP Data received {"connection_id":216095,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:47:17] local.INFO: Processing buffer {"connection_id":216095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:47:17] local.INFO: IMEI packet received {"connection_id":216095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":216095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:47:22] local.INFO: TCP Data received {"connection_id":216287,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:47:22] local.INFO: Processing buffer {"connection_id":216287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:47:22] local.INFO: IMEI packet received {"connection_id":216287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":216287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:47:23] local.INFO: TCP Data received {"connection_id":216095,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:47:23] local.INFO: Processing buffer {"connection_id":216095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:47:23] local.INFO: IMEI packet received {"connection_id":216095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":216095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:47:25] local.INFO: TCP Data received {"connection_id":216095,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:47:25] local.INFO: Processing buffer {"connection_id":216095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413133d0012d7fac4005afe350002a00a622..."} 
[2026-10-16 01:47:25] local.INFO: Packet analysis {"connection_id":216095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:47:25] local.INFO: Extracted packet for processing {"connection_id":216095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14131"} 
[2026-10-16 01:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776270080001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792095106000,"timestamp_ms":1792095106000,"timestamp_seconds":1792095106,"priority":1,"record_length":96,"hex_timestamp":"000001a1413133d0"} 
[2026-10-16 01:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 01:47:25] 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-10-16 01:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776270080001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776270080001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:47:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:47:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776270080001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":216095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:47:25] local.INFO: GPS data processed {"connection_id":216095,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:47:25] local.INFO: Acknowledgment sent {"connection_id":216095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:47:27] local.INFO: TCP Data received {"connection_id":216287,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:47:27] local.INFO: Processing buffer {"connection_id":216287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:47:27] local.INFO: IMEI packet received {"connection_id":216287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":216287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:47:28] local.INFO: TCP Data received {"connection_id":216287,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:47:28] local.INFO: Processing buffer {"connection_id":216287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:47:28] local.INFO: Packet analysis {"connection_id":216287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:47:28] local.INFO: Extracted packet for processing {"connection_id":216287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776327936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792095332000,"timestamp_ms":1792095332000,"timestamp_seconds":1792095332,"priority":1,"record_length":96,"hex_timestamp":"000001a14134a6a0"} 
[2026-10-16 01:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:47:28] 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-10-16 01:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776327936001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776327936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:47:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776327936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":216287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:47:28] local.INFO: GPS data processed {"connection_id":216287,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:47:28] local.INFO: Acknowledgment sent {"connection_id":216287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:47:29] local.INFO: TCP Data received {"connection_id":219381,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141352f58012d6a2240061a38380008015329..."} 
[2026-10-16 01:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141352f58012d6a2240061a38380008015329..."} 
[2026-10-16 01:47:29] local.INFO: Processing buffer {"connection_id":219381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141352f58012d6a2240061a38380008015329..."} 
[2026-10-16 01:47:29] local.INFO: Packet analysis {"connection_id":219381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:47:29] local.INFO: Extracted packet for processing {"connection_id":219381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:47:29] local.INFO: GPS Element Parsed {"raw_longitude":761930304,"raw_latitude":102381624,"longitude_deg":76.1930304,"latitude_deg":10.2381624,"altitude":8,"angle":339,"satellites":41,"speed":34,"hex_longitude":"2d6a2240","hex_latitude":"061a3838","is_valid_coordinates":true} 
[2026-10-16 01:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776411136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12034691636920320,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7651334318133110784,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792095367000,"timestamp_ms":1792095367000,"timestamp_seconds":1792095367,"priority":1,"record_length":96,"hex_timestamp":"000001a141352f58"} 
[2026-10-16 01:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 01:47:29] 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-10-16 01:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776411136001,"66":27571,"5":206,"19":40704,"24":34,"16":12034691636920320,"45":7651334318133110784},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-10-16 01:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776411136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:47:29] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-16 01:47:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12034691636920320,"km_value":12034691636920.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7651334318133110784,"description":"Unknown IO ID 45"} 
[2026-10-16 01:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776411136001,"power":27571,"unknown_5":206,"unknown_19":40704,"ignition":34,"odometer":null,"unknown_45":7651334318133110784}} 
[2026-10-16 01:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":219381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:47:30] local.INFO: GPS data processed {"connection_id":219381,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:47:30] local.INFO: Acknowledgment sent {"connection_id":219381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:47:52] local.INFO: TCP Data received {"connection_id":219382,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:47:52] local.INFO: Processing buffer {"connection_id":219382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:47:52] local.INFO: IMEI packet received {"connection_id":219382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":219382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:47:56] local.INFO: TCP Data received {"connection_id":219382,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:47:56] local.INFO: Processing buffer {"connection_id":219382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:47:56] local.INFO: IMEI packet received {"connection_id":219382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":219382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:47:56] local.INFO: TCP Data received {"connection_id":216095,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:47:56] local.INFO: Processing buffer {"connection_id":216095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:47:56] local.INFO: Packet analysis {"connection_id":216095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:47:56] local.INFO: Extracted packet for processing {"connection_id":216095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":43,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792095407000,"timestamp_ms":1792095407000,"timestamp_seconds":1792095407,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cb98"} 
[2026-10-16 01:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:47:56] 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-10-16 01:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776347136001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:47:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:47:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776347136001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":216095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:47:56] local.INFO: GPS data processed {"connection_id":216095,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:47:56] local.INFO: Acknowledgment sent {"connection_id":216095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:47:57] local.INFO: TCP Data received {"connection_id":219382,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:47:57] local.INFO: Processing buffer {"connection_id":219382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:47:57] local.INFO: IMEI packet received {"connection_id":219382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":219382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:47:58] local.INFO: TCP Data received {"connection_id":219382,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141355a50012d6a13c0061a59780006014c2c..."} 
[2026-10-16 01:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141355a50012d6a13c0061a59780006014c2c..."} 
[2026-10-16 01:47:58] local.INFO: Processing buffer {"connection_id":219382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141355a50012d6a13c0061a59780006014c2c..."} 
[2026-10-16 01:47:58] local.INFO: Packet analysis {"connection_id":219382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:47:58] local.INFO: Extracted packet for processing {"connection_id":219382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:47:58] local.INFO: GPS Element Parsed {"raw_longitude":761926592,"raw_latitude":102390136,"longitude_deg":76.1926592,"latitude_deg":10.2390136,"altitude":6,"angle":332,"satellites":44,"speed":35,"hex_longitude":"2d6a13c0","hex_latitude":"061a5978","is_valid_coordinates":true} 
[2026-10-16 01:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776413952001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12035142608486400,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7647745512182396928,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792095378000,"timestamp_ms":1792095378000,"timestamp_seconds":1792095378,"priority":1,"record_length":96,"hex_timestamp":"000001a141355a50"} 
[2026-10-16 01:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 01:47:58] 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-10-16 01:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776413952001,"66":27615,"5":206,"19":40704,"24":35,"16":12035142608486400,"45":7647745512182396928},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-10-16 01:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776413952001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:47:58] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-16 01:47:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12035142608486400,"km_value":12035142608486.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7647745512182396928,"description":"Unknown IO ID 45"} 
[2026-10-16 01:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776413952001,"power":27615,"unknown_5":206,"unknown_19":40704,"ignition":35,"odometer":null,"unknown_45":7647745512182396928}} 
[2026-10-16 01:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":219382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043501,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:47:58] local.INFO: GPS data processed {"connection_id":219382,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:47:58] local.INFO: Acknowledgment sent {"connection_id":219382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:47:59] local.INFO: TCP Data received {"connection_id":216287,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:47:59] local.INFO: Processing buffer {"connection_id":216287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:47:59] local.INFO: Packet analysis {"connection_id":216287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:47:59] local.INFO: Extracted packet for processing {"connection_id":216287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776327936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095332000,"timestamp_ms":1792095332000,"timestamp_seconds":1792095332,"priority":1,"record_length":96,"hex_timestamp":"000001a14134a6a0"} 
[2026-10-16 01:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:47:59] 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-10-16 01:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:47: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-10-16 01:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776327936001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776327936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:47:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776327936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":216287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:47:59] local.INFO: GPS data processed {"connection_id":216287,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:47:59] local.INFO: Acknowledgment sent {"connection_id":216287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:48:03] local.INFO: TCP Data received {"connection_id":219382,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141358160012d6a0580061a7b900006015423..."} 
[2026-10-16 01:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141358160012d6a0580061a7b900006015423..."} 
[2026-10-16 01:48:03] local.INFO: Processing buffer {"connection_id":219382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141358160012d6a0580061a7b900006015423..."} 
[2026-10-16 01:48:03] local.INFO: Packet analysis {"connection_id":219382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:48:03] local.INFO: Extracted packet for processing {"connection_id":219382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:48:03] local.INFO: GPS Element Parsed {"raw_longitude":761922944,"raw_latitude":102398864,"longitude_deg":76.1922944,"latitude_deg":10.2398864,"altitude":6,"angle":340,"satellites":35,"speed":38,"hex_longitude":"2d6a0580","hex_latitude":"061a7b90","is_valid_coordinates":true} 
[2026-10-16 01:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776416768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12035597875019776,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7643664125022271488,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792095388000,"timestamp_ms":1792095388000,"timestamp_seconds":1792095388,"priority":1,"record_length":96,"hex_timestamp":"000001a141358160"} 
[2026-10-16 01:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 01:48:03] 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-10-16 01:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":219382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":219382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":219382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776416768001,"66":27571,"5":206,"19":40704,"24":38,"16":12035597875019776,"45":7643664125022271488},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-10-16 01:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776416768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:48:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-16 01:48:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12035597875019776,"km_value":12035597875019.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7643664125022271488,"description":"Unknown IO ID 45"} 
[2026-10-16 01:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776416768001,"power":27571,"unknown_5":206,"unknown_19":40704,"ignition":38,"odometer":null,"unknown_45":7643664125022271488}} 
[2026-10-16 01:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":219382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043503,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:48:03] local.INFO: GPS data processed {"connection_id":219382,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:48:03] local.INFO: Acknowledgment sent {"connection_id":219382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:48:18] local.INFO: TCP Data received {"connection_id":217640,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:48:19] local.INFO: Processing buffer {"connection_id":217640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:48:19] local.INFO: IMEI packet received {"connection_id":217640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":217640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:48:22] local.INFO: TCP Data received {"connection_id":216096,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:48:22] local.INFO: Processing buffer {"connection_id":216096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:48:22] local.INFO: IMEI packet received {"connection_id":216096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":216096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:48:23] local.INFO: TCP Data received {"connection_id":217640,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:48:23] local.INFO: Processing buffer {"connection_id":217640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:48:23] local.INFO: IMEI packet received {"connection_id":217640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":217640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:48:24] local.INFO: TCP Data received {"connection_id":217640,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:48:24] local.INFO: Processing buffer {"connection_id":217640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:48:24] local.INFO: Packet analysis {"connection_id":217640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:48:24] local.INFO: Extracted packet for processing {"connection_id":217640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:48:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":43,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792095407000,"timestamp_ms":1792095407000,"timestamp_seconds":1792095407,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cb98"} 
[2026-10-16 01:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:48:24] 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-10-16 01:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776347136001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:48:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:48:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776347136001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":217640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:48:24] local.INFO: GPS data processed {"connection_id":217640,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:48:24] local.INFO: Acknowledgment sent {"connection_id":217640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:48:27] local.INFO: TCP Data received {"connection_id":216096,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:48:27] local.INFO: Processing buffer {"connection_id":216096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:48:27] local.INFO: IMEI packet received {"connection_id":216096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":216096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:48:32] local.INFO: TCP Data received {"connection_id":216096,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:48:32] local.INFO: Processing buffer {"connection_id":216096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:48:32] local.INFO: Packet analysis {"connection_id":216096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:48:32] local.INFO: Extracted packet for processing {"connection_id":216096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776327936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792095332000,"timestamp_ms":1792095332000,"timestamp_seconds":1792095332,"priority":1,"record_length":96,"hex_timestamp":"000001a14134a6a0"} 
[2026-10-16 01:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:48:32] 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-10-16 01:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776327936001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776327936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:48:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776327936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":216096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:48:32] local.INFO: GPS data processed {"connection_id":216096,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:48:32] local.INFO: Acknowledgment sent {"connection_id":216096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:48:35] local.INFO: TCP Data received {"connection_id":219382,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14135a870012d69f8c0061a9de0000a015123..."} 
[2026-10-16 01:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135a870012d69f8c0061a9de0000a015123..."} 
[2026-10-16 01:48:35] local.INFO: Processing buffer {"connection_id":219382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135a870012d69f8c0061a9de0000a015123..."} 
[2026-10-16 01:48:35] local.INFO: Packet analysis {"connection_id":219382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:48:35] local.INFO: Extracted packet for processing {"connection_id":219382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:48:35] local.INFO: GPS Element Parsed {"raw_longitude":761919680,"raw_latitude":102407648,"longitude_deg":76.191968,"latitude_deg":10.2407648,"altitude":10,"angle":337,"satellites":35,"speed":35,"hex_longitude":"2d69f8c0","hex_latitude":"061a9de0","is_valid_coordinates":true} 
[2026-10-16 01:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776419328001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12036053141553152,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7639653106606379008,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792095398000,"timestamp_ms":1792095398000,"timestamp_seconds":1792095398,"priority":1,"record_length":96,"hex_timestamp":"000001a14135a870"} 
[2026-10-16 01:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:48: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-10-16 01:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 01:48:35] 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-10-16 01:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":219382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":219382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":219382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776419328001,"66":27604,"5":206,"19":40704,"24":35,"16":12036053141553152,"45":7639653106606379008},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-10-16 01:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776419328001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:48:35] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-16 01:48:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12036053141553152,"km_value":12036053141553.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7639653106606379008,"description":"Unknown IO ID 45"} 
[2026-10-16 01:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776419328001,"power":27604,"unknown_5":206,"unknown_19":40704,"ignition":35,"odometer":null,"unknown_45":7639653106606379008}} 
[2026-10-16 01:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":219382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:48:35] local.INFO: GPS data processed {"connection_id":219382,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:48:35] local.INFO: Acknowledgment sent {"connection_id":219382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:48:52] local.INFO: TCP Data received {"connection_id":216288,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:48:52] local.INFO: Processing buffer {"connection_id":216288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:48:52] local.INFO: IMEI packet received {"connection_id":216288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":216288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:48:53] local.INFO: TCP Data received {"connection_id":216288,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:48:53] local.INFO: Processing buffer {"connection_id":216288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:48:53] local.INFO: IMEI packet received {"connection_id":216288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":216288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:48:56] local.INFO: TCP Data received {"connection_id":217640,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:48:56] local.INFO: Processing buffer {"connection_id":217640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:48:56] local.INFO: Packet analysis {"connection_id":217640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:48:56] local.INFO: Extracted packet for processing {"connection_id":217640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":43,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792095407000,"timestamp_ms":1792095407000,"timestamp_seconds":1792095407,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cb98"} 
[2026-10-16 01:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:48:56] 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-10-16 01: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-10-16 01:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776347136001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:48:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:48:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776347136001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":217640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:48:56] local.INFO: GPS data processed {"connection_id":217640,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:48:56] local.INFO: Acknowledgment sent {"connection_id":217640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:48:58] local.INFO: TCP Data received {"connection_id":216288,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:48:58] local.INFO: Processing buffer {"connection_id":216288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:48:58] local.INFO: IMEI packet received {"connection_id":216288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":216288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:48:59] local.INFO: TCP Data received {"connection_id":216288,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cf80012d69e940061ac0180008014b24..."} 
[2026-10-16 01:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cf80012d69e940061ac0180008014b24..."} 
[2026-10-16 01:48:59] local.INFO: Processing buffer {"connection_id":216288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cf80012d69e940061ac0180008014b24..."} 
[2026-10-16 01:48:59] local.INFO: Packet analysis {"connection_id":216288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:48:59] local.INFO: Extracted packet for processing {"connection_id":216288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:48:59] local.INFO: GPS Element Parsed {"raw_longitude":761915712,"raw_latitude":102416408,"longitude_deg":76.1915712,"latitude_deg":10.2416408,"altitude":8,"angle":331,"satellites":36,"speed":41,"hex_longitude":"2d69e940","hex_latitude":"061ac018","is_valid_coordinates":true} 
[2026-10-16 01:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776421888001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12036516998021120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7636064300655566848,"note":"Value kept but may cause issues"} 
[2026-10-16 01:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095408000,"timestamp_ms":1792095408000,"timestamp_seconds":1792095408,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cf80"} 
[2026-10-16 01:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 01:48:59] 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-10-16 01:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776421888001,"66":27593,"5":206,"19":40704,"24":41,"16":12036516998021120,"45":7636064300655566848},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-10-16 01:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776421888001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:48:59] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-16 01:48:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12036516998021120,"km_value":12036516998021.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7636064300655566848,"description":"Unknown IO ID 45"} 
[2026-10-16 01:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776421888001,"power":27593,"unknown_5":206,"unknown_19":40704,"ignition":41,"odometer":null,"unknown_45":7636064300655566848}} 
[2026-10-16 01:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":216288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:48:59] local.INFO: GPS data processed {"connection_id":216288,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:48:59] local.INFO: Acknowledgment sent {"connection_id":216288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:49:03] local.INFO: TCP Data received {"connection_id":216096,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:49:03] local.INFO: Processing buffer {"connection_id":216096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:49:03] local.INFO: Packet analysis {"connection_id":216096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:49:03] local.INFO: Extracted packet for processing {"connection_id":216096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776327936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792095332000,"timestamp_ms":1792095332000,"timestamp_seconds":1792095332,"priority":1,"record_length":96,"hex_timestamp":"000001a14134a6a0"} 
[2026-10-16 01:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776327936001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776327936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:49:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:49:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776327936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":216096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:49:03] local.INFO: GPS data processed {"connection_id":216096,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:49:03] local.INFO: Acknowledgment sent {"connection_id":216096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:49:17] local.INFO: TCP Data received {"connection_id":216097,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:49:17] local.INFO: Processing buffer {"connection_id":216097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:49:17] local.INFO: IMEI packet received {"connection_id":216097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":216097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:49:21] local.INFO: TCP Data received {"connection_id":216289,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:49:21] local.INFO: Processing buffer {"connection_id":216289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:49:21] local.INFO: IMEI packet received {"connection_id":216289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:49:22] local.INFO: TCP Data received {"connection_id":216097,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:49:22] local.INFO: Processing buffer {"connection_id":216097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:49:22] local.INFO: IMEI packet received {"connection_id":216097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":216097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:49:24] local.INFO: TCP Data received {"connection_id":216097,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:49:24] local.INFO: Processing buffer {"connection_id":216097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:49:24] local.INFO: Packet analysis {"connection_id":216097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:49:24] local.INFO: Extracted packet for processing {"connection_id":216097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:49:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":43,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792095407000,"timestamp_ms":1792095407000,"timestamp_seconds":1792095407,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cb98"} 
[2026-10-16 01:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:49:24] 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-10-16 01:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776347136001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:49:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:49:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776347136001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":216097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:49:24] local.INFO: GPS data processed {"connection_id":216097,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:49:24] local.INFO: Acknowledgment sent {"connection_id":216097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:49:27] local.INFO: TCP Data received {"connection_id":216289,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:49:27] local.INFO: Processing buffer {"connection_id":216289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:49:27] local.INFO: IMEI packet received {"connection_id":216289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":216289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:49:28] local.INFO: TCP Data received {"connection_id":216289,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:49:28] local.INFO: Processing buffer {"connection_id":216289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:49:28] local.INFO: Packet analysis {"connection_id":216289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:49:28] local.INFO: Extracted packet for processing {"connection_id":216289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776327936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792095332000,"timestamp_ms":1792095332000,"timestamp_seconds":1792095332,"priority":1,"record_length":96,"hex_timestamp":"000001a14134a6a0"} 
[2026-10-16 01:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776327936001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776327936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:49:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776327936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":216289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:49:28] local.INFO: GPS data processed {"connection_id":216289,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:49:28] local.INFO: Acknowledgment sent {"connection_id":216289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:49:30] local.INFO: TCP Data received {"connection_id":216288,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141377178012d6950c0061bf6600005014b32..."} 
[2026-10-16 01:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141377178012d6950c0061bf6600005014b32..."} 
[2026-10-16 01:49:30] local.INFO: Processing buffer {"connection_id":216288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141377178012d6950c0061bf6600005014b32..."} 
[2026-10-16 01:49:30] local.INFO: Packet analysis {"connection_id":216288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14137"} 
[2026-10-16 01:49:30] local.INFO: Extracted packet for processing {"connection_id":216288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14137"} 
[2026-10-16 01:49:30] local.INFO: GPS Element Parsed {"raw_longitude":761876672,"raw_latitude":102495840,"longitude_deg":76.1876672,"latitude_deg":10.249584,"altitude":5,"angle":331,"satellites":50,"speed":44,"hex_longitude":"2d6950c0","hex_latitude":"061bf660","is_valid_coordinates":true} 
[2026-10-16 01:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776449024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12040811965317120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7594124529146077184,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792095515000,"timestamp_ms":1792095515000,"timestamp_seconds":1792095515,"priority":1,"record_length":96,"hex_timestamp":"000001a141377178"} 
[2026-10-16 01:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:49: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-10-16 01:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 01:49:30] 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-10-16 01:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776449024001,"66":27397,"55":206,"19":40704,"24":44,"16":12040811965317120,"45":7594124529146077184},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 01:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776449024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:49:30] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 01:49:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12040811965317120,"km_value":12040811965317.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7594124529146077184,"description":"Unknown IO ID 45"} 
[2026-10-16 01:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776449024001,"power":27397,"unknown_55":206,"unknown_19":40704,"ignition":44,"odometer":null,"unknown_45":7594124529146077184}} 
[2026-10-16 01:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":216288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:49:30] local.INFO: GPS data processed {"connection_id":216288,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:49:30] local.INFO: Acknowledgment sent {"connection_id":216288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:49:52] local.INFO: TCP Data received {"connection_id":217641,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:49:52] local.INFO: Processing buffer {"connection_id":217641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:49:52] local.INFO: IMEI packet received {"connection_id":217641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":217641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:49:56] local.INFO: TCP Data received {"connection_id":216097,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:49:56] local.INFO: Processing buffer {"connection_id":216097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:49:56] local.INFO: Packet analysis {"connection_id":216097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:49:56] local.INFO: Extracted packet for processing {"connection_id":216097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":43,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792095407000,"timestamp_ms":1792095407000,"timestamp_seconds":1792095407,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cb98"} 
[2026-10-16 01:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:49:56] 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-10-16 01: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-10-16 01:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776347136001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:49:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:49:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776347136001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":216097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:49:56] local.INFO: GPS data processed {"connection_id":216097,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:49:56] local.INFO: Acknowledgment sent {"connection_id":216097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:49:58] local.INFO: TCP Data received {"connection_id":217641,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:49:58] local.INFO: Processing buffer {"connection_id":217641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:49:58] local.INFO: IMEI packet received {"connection_id":217641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":217641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:49:59] local.INFO: TCP Data received {"connection_id":216289,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:49:59] local.INFO: Processing buffer {"connection_id":216289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:49:59] local.INFO: Packet analysis {"connection_id":216289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:49:59] local.INFO: Extracted packet for processing {"connection_id":216289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776327936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095332000,"timestamp_ms":1792095332000,"timestamp_seconds":1792095332,"priority":1,"record_length":96,"hex_timestamp":"000001a14134a6a0"} 
[2026-10-16 01:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:49:59] 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-10-16 01:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776327936001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776327936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:49:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776327936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":216289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:49:59] local.INFO: GPS data processed {"connection_id":216289,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:49:59] local.INFO: Acknowledgment sent {"connection_id":216289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:50:01] local.INFO: TCP Data received {"connection_id":217641,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413790b8012d694000061c16600006014b32..."} 
[2026-10-16 01:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413790b8012d694000061c16600006014b32..."} 
[2026-10-16 01:50:01] local.INFO: Processing buffer {"connection_id":217641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413790b8012d694000061c16600006014b32..."} 
[2026-10-16 01:50:01] local.INFO: Packet analysis {"connection_id":217641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14137"} 
[2026-10-16 01:50:01] local.INFO: Extracted packet for processing {"connection_id":217641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14137"} 
[2026-10-16 01:50:01] local.INFO: GPS Element Parsed {"raw_longitude":761872384,"raw_latitude":102504032,"longitude_deg":76.1872384,"latitude_deg":10.2504032,"altitude":6,"angle":331,"satellites":50,"speed":47,"hex_longitude":"2d694000","hex_latitude":"061c1660","is_valid_coordinates":true} 
[2026-10-16 01:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776451840001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12041258641915904,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7588776504590753792,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792095523000,"timestamp_ms":1792095523000,"timestamp_seconds":1792095523,"priority":1,"record_length":96,"hex_timestamp":"000001a1413790b8"} 
[2026-10-16 01:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 01:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776451840001,"66":27234,"55":206,"19":40704,"24":47,"16":12041258641915904,"45":7588776504590753792},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 01:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776451840001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:50:01] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 01:50:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12041258641915904,"km_value":12041258641915.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7588776504590753792,"description":"Unknown IO ID 45"} 
[2026-10-16 01:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776451840001,"power":27234,"unknown_55":206,"unknown_19":40704,"ignition":47,"odometer":null,"unknown_45":7588776504590753792}} 
[2026-10-16 01:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":217641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043515,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:50:01] local.INFO: GPS data processed {"connection_id":217641,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:50:01] local.INFO: Acknowledgment sent {"connection_id":217641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:50:17] local.INFO: TCP Data received {"connection_id":216290,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:50:17] local.INFO: Processing buffer {"connection_id":216290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:50:17] local.INFO: IMEI packet received {"connection_id":216290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":216290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:50:21] local.INFO: TCP Data received {"connection_id":217642,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:50:21] local.INFO: Processing buffer {"connection_id":217642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:50:21] local.INFO: IMEI packet received {"connection_id":217642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":217642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:50:23] local.INFO: TCP Data received {"connection_id":216290,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:50:23] local.INFO: Processing buffer {"connection_id":216290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:50:23] local.INFO: IMEI packet received {"connection_id":216290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":216290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:50:24] local.INFO: TCP Data received {"connection_id":216290,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:50:24] local.INFO: Processing buffer {"connection_id":216290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:50:24] local.INFO: Packet analysis {"connection_id":216290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:50:24] local.INFO: Extracted packet for processing {"connection_id":216290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":43,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792095407000,"timestamp_ms":1792095407000,"timestamp_seconds":1792095407,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cb98"} 
[2026-10-16 01:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:50:24] 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-10-16 01:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776347136001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:50:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:50:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776347136001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":216290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:50:24] local.INFO: GPS data processed {"connection_id":216290,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:50:24] local.INFO: Acknowledgment sent {"connection_id":216290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:50:27] local.INFO: TCP Data received {"connection_id":217642,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:50:27] local.INFO: Processing buffer {"connection_id":217642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:50:27] local.INFO: IMEI packet received {"connection_id":217642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":217642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:50:28] local.INFO: TCP Data received {"connection_id":217642,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:50:28] local.INFO: Processing buffer {"connection_id":217642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14134a6a0012d7c240005dad510000900ea26..."} 
[2026-10-16 01:50:28] local.INFO: Packet analysis {"connection_id":217642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:50:28] local.INFO: Extracted packet for processing {"connection_id":217642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14134"} 
[2026-10-16 01:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776327936001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792095332000,"timestamp_ms":1792095332000,"timestamp_seconds":1792095332,"priority":1,"record_length":96,"hex_timestamp":"000001a14134a6a0"} 
[2026-10-16 01:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 01:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776327936001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776327936001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:50:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776327936001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":217642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:50:28] local.INFO: GPS data processed {"connection_id":217642,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:50:28] local.INFO: Acknowledgment sent {"connection_id":217642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:50:34] local.INFO: TCP Data received {"connection_id":217641,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14137aff8012d692d80061c38100007014b31..."} 
[2026-10-16 01:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14137aff8012d692d80061c38100007014b31..."} 
[2026-10-16 01:50:34] local.INFO: Processing buffer {"connection_id":217641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14137aff8012d692d80061c38100007014b31..."} 
[2026-10-16 01:50:34] local.INFO: Packet analysis {"connection_id":217641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14137"} 
[2026-10-16 01:50:34] local.INFO: Extracted packet for processing {"connection_id":217641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14137"} 
[2026-10-16 01:50:34] local.INFO: GPS Element Parsed {"raw_longitude":761867648,"raw_latitude":102512656,"longitude_deg":76.1867648,"latitude_deg":10.2512656,"altitude":7,"angle":331,"satellites":49,"speed":50,"hex_longitude":"2d692d80","hex_latitude":"061c3810","is_valid_coordinates":true} 
[2026-10-16 01:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776453888001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12041731088318464,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7584061798732947456,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792095531000,"timestamp_ms":1792095531000,"timestamp_seconds":1792095531,"priority":1,"record_length":96,"hex_timestamp":"000001a14137aff8"} 
[2026-10-16 01:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 01:50: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-10-16 01:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776453888001,"66":27332,"55":206,"19":40704,"24":50,"16":12041731088318464,"45":7584061798732947456},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 01:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776453888001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:50:34] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 01:50:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12041731088318464,"km_value":12041731088318.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7584061798732947456,"description":"Unknown IO ID 45"} 
[2026-10-16 01:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776453888001,"power":27332,"unknown_55":206,"unknown_19":40704,"ignition":50,"odometer":null,"unknown_45":7584061798732947456}} 
[2026-10-16 01:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":217641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:50:34] local.INFO: GPS data processed {"connection_id":217641,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:50:34] local.INFO: Acknowledgment sent {"connection_id":217641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:50:56] local.INFO: TCP Data received {"connection_id":216290,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:50:56] local.INFO: Processing buffer {"connection_id":216290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:50:56] local.INFO: Packet analysis {"connection_id":216290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:50:56] local.INFO: Extracted packet for processing {"connection_id":216290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":43,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792095407000,"timestamp_ms":1792095407000,"timestamp_seconds":1792095407,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cb98"} 
[2026-10-16 01:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:50:56] 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-10-16 01:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776347136001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:50:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:50:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776347136001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":216290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:50:56] local.INFO: GPS data processed {"connection_id":216290,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:50:56] local.INFO: Acknowledgment sent {"connection_id":216290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:50:58] local.INFO: TCP Data received {"connection_id":216291,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:50:58] local.INFO: Processing buffer {"connection_id":216291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:50:58] local.INFO: IMEI packet received {"connection_id":216291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":216291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:50:59] local.INFO: TCP Data received {"connection_id":216291,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:50:59] local.INFO: Processing buffer {"connection_id":216291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:50:59] local.INFO: IMEI packet received {"connection_id":216291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":216291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:50:59] local.INFO: TCP Data received {"connection_id":217642,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:50:59] local.INFO: Processing buffer {"connection_id":217642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:50:59] local.INFO: Packet analysis {"connection_id":217642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:50:59] local.INFO: Extracted packet for processing {"connection_id":217642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776404992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095633000,"timestamp_ms":1792095633000,"timestamp_seconds":1792095633,"priority":1,"record_length":96,"hex_timestamp":"000001a141393e68"} 
[2026-10-16 01:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:50:59] 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-10-16 01:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776404992001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776404992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:50:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776404992001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":217642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:50:59] local.INFO: GPS data processed {"connection_id":217642,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:50:59] local.INFO: Acknowledgment sent {"connection_id":217642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:51:00] local.INFO: TCP Data received {"connection_id":216291,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14138d8d8012d688c00061db3100008014533..."} 
[2026-10-16 01:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14138d8d8012d688c00061db3100008014533..."} 
[2026-10-16 01:51:00] local.INFO: Processing buffer {"connection_id":216291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14138d8d8012d688c00061db3100008014533..."} 
[2026-10-16 01:51:00] local.INFO: Packet analysis {"connection_id":216291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14138"} 
[2026-10-16 01:51:00] local.INFO: Extracted packet for processing {"connection_id":216291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14138"} 
[2026-10-16 01:51:00] local.INFO: GPS Element Parsed {"raw_longitude":761826304,"raw_latitude":102609680,"longitude_deg":76.1826304,"latitude_deg":10.260968,"altitude":8,"angle":325,"satellites":51,"speed":57,"hex_longitude":"2d688c00","hex_latitude":"061db310","is_valid_coordinates":true} 
[2026-10-16 01:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12046867869204480,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7539729489925883904,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792095607000,"timestamp_ms":1792095607000,"timestamp_seconds":1792095607,"priority":1,"record_length":96,"hex_timestamp":"000001a14138d8d8"} 
[2026-10-16 01:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 01:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776473600001,"66":27115,"209":206,"19":40704,"24":57,"16":12046867869204480,"45":7539729489925883904},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-10-16 01:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:51:00] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-10-16 01:51:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12046867869204480,"km_value":12046867869204.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7539729489925883904,"description":"Unknown IO ID 45"} 
[2026-10-16 01:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776473600001,"power":27115,"unknown_209":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7539729489925883904}} 
[2026-10-16 01:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":216291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:51:00] local.INFO: GPS data processed {"connection_id":216291,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:51:00] local.INFO: Acknowledgment sent {"connection_id":216291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:51:02] local.INFO: TCP Data received {"connection_id":216291,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14138f430012d6874c0061dd3380007014432..."} 
[2026-10-16 01:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14138f430012d6874c0061dd3380007014432..."} 
[2026-10-16 01:51:02] local.INFO: Processing buffer {"connection_id":216291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14138f430012d6874c0061dd3380007014432..."} 
[2026-10-16 01:51:02] local.INFO: Packet analysis {"connection_id":216291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14138"} 
[2026-10-16 01:51:02] local.INFO: Extracted packet for processing {"connection_id":216291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14138"} 
[2026-10-16 01:51:02] local.INFO: GPS Element Parsed {"raw_longitude":761820352,"raw_latitude":102617912,"longitude_deg":76.1820352,"latitude_deg":10.2617912,"altitude":7,"angle":324,"satellites":50,"speed":58,"hex_longitude":"2d6874c0","hex_latitude":"061dd338","is_valid_coordinates":true} 
[2026-10-16 01:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776475392001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12047357495476224,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7533396302952075264,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792095614000,"timestamp_ms":1792095614000,"timestamp_seconds":1792095614,"priority":1,"record_length":96,"hex_timestamp":"000001a14138f430"} 
[2026-10-16 01:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 01:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776475392001,"66":27441,"209":206,"19":40704,"24":58,"16":12047357495476224,"45":7533396302952075264},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-10-16 01:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776475392001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:51:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-10-16 01:51:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12047357495476224,"km_value":12047357495476.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7533396302952075264,"description":"Unknown IO ID 45"} 
[2026-10-16 01:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776475392001,"power":27441,"unknown_209":206,"unknown_19":40704,"ignition":58,"odometer":null,"unknown_45":7533396302952075264}} 
[2026-10-16 01:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":216291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:51:02] local.INFO: GPS data processed {"connection_id":216291,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:51:02] local.INFO: Acknowledgment sent {"connection_id":216291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:51:22] local.INFO: TCP Data received {"connection_id":216098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:51:22] local.INFO: Processing buffer {"connection_id":216098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:51:22] local.INFO: IMEI packet received {"connection_id":216098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":216098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:51:23] local.INFO: TCP Data received {"connection_id":219383,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:51:23] local.INFO: Processing buffer {"connection_id":219383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:51:23] local.INFO: IMEI packet received {"connection_id":219383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":219383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:51:26] local.INFO: TCP Data received {"connection_id":216098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:51:26] local.INFO: Processing buffer {"connection_id":216098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:51:26] local.INFO: IMEI packet received {"connection_id":216098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":216098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:51:27] local.INFO: TCP Data received {"connection_id":216098,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:51:27] local.INFO: Processing buffer {"connection_id":216098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:51:27] local.INFO: Packet analysis {"connection_id":216098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:51:27] local.INFO: Extracted packet for processing {"connection_id":216098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776404992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792095633000,"timestamp_ms":1792095633000,"timestamp_seconds":1792095633,"priority":1,"record_length":96,"hex_timestamp":"000001a141393e68"} 
[2026-10-16 01:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:51:27] 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-10-16 01:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776404992001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776404992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:51:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776404992001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":216098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:51:27] local.INFO: GPS data processed {"connection_id":216098,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:51:27] local.INFO: Acknowledgment sent {"connection_id":216098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:51:28] local.INFO: TCP Data received {"connection_id":219383,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:51:28] local.INFO: Processing buffer {"connection_id":219383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:51:28] local.INFO: IMEI packet received {"connection_id":219383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":219383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:51:31] local.INFO: TCP Data received {"connection_id":219383,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:51:31] local.INFO: Processing buffer {"connection_id":219383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:51:31] local.INFO: Packet analysis {"connection_id":219383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:51:31] local.INFO: Extracted packet for processing {"connection_id":219383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":43,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792095407000,"timestamp_ms":1792095407000,"timestamp_seconds":1792095407,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cb98"} 
[2026-10-16 01:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:51:31] 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-10-16 01:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776347136001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:51:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:51:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776347136001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":219383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:51:31] local.INFO: GPS data processed {"connection_id":219383,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:51:31] local.INFO: Acknowledgment sent {"connection_id":219383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:51:33] local.INFO: TCP Data received {"connection_id":219383,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:51:33] local.INFO: Processing buffer {"connection_id":219383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:51:33] local.INFO: Packet analysis {"connection_id":219383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:51:33] local.INFO: Extracted packet for processing {"connection_id":219383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":43,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792095407000,"timestamp_ms":1792095407000,"timestamp_seconds":1792095407,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cb98"} 
[2026-10-16 01:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776347136001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:51:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:51:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776347136001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":219383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:51:33] local.INFO: GPS data processed {"connection_id":219383,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:51:33] local.INFO: Acknowledgment sent {"connection_id":219383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:51:34] local.INFO: TCP Data received {"connection_id":216291,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141390f88012d685e80061df4b00007014932..."} 
[2026-10-16 01:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141390f88012d685e80061df4b00007014932..."} 
[2026-10-16 01:51:34] local.INFO: Processing buffer {"connection_id":216291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141390f88012d685e80061df4b00007014932..."} 
[2026-10-16 01:51:34] local.INFO: Packet analysis {"connection_id":216291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:51:34] local.INFO: Extracted packet for processing {"connection_id":216291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:51:34] local.INFO: GPS Element Parsed {"raw_longitude":761814656,"raw_latitude":102626480,"longitude_deg":76.1814656,"latitude_deg":10.262648,"altitude":7,"angle":329,"satellites":50,"speed":57,"hex_longitude":"2d685e80","hex_latitude":"061df4b0","is_valid_coordinates":true} 
[2026-10-16 01:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776477184001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12047855711682560,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7526852009745659904,"note":"Value kept but may cause issues"} 
[2026-10-16 01:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792095621000,"timestamp_ms":1792095621000,"timestamp_seconds":1792095621,"priority":1,"record_length":96,"hex_timestamp":"000001a141390f88"} 
[2026-10-16 01:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 01:51:34] 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-10-16 01:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776477184001,"66":27441,"209":206,"19":40704,"24":57,"16":12047855711682560,"45":7526852009745659904},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-10-16 01:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776477184001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:51:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-10-16 01:51:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12047855711682560,"km_value":12047855711682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7526852009745659904,"description":"Unknown IO ID 45"} 
[2026-10-16 01:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776477184001,"power":27441,"unknown_209":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7526852009745659904}} 
[2026-10-16 01:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":216291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:51:34] local.INFO: GPS data processed {"connection_id":216291,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:51:34] local.INFO: Acknowledgment sent {"connection_id":216291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:52:07] local.INFO: TCP Data received {"connection_id":216098,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:52:07] local.INFO: Processing buffer {"connection_id":216098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:52:07] local.INFO: Packet analysis {"connection_id":216098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:52:07] local.INFO: Extracted packet for processing {"connection_id":216098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776404992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792095633000,"timestamp_ms":1792095633000,"timestamp_seconds":1792095633,"priority":1,"record_length":96,"hex_timestamp":"000001a141393e68"} 
[2026-10-16 01:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:52:07] 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-10-16 01:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:52: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-10-16 01:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776404992001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776404992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:52:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776404992001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":216098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:52:07] local.INFO: GPS data processed {"connection_id":216098,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:52:07] local.INFO: Acknowledgment sent {"connection_id":216098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:52:17] local.INFO: TCP Data received {"connection_id":216292,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:52:17] local.INFO: Processing buffer {"connection_id":216292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:52:17] local.INFO: IMEI packet received {"connection_id":216292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":216292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:52:22] local.INFO: TCP Data received {"connection_id":219384,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:52:22] local.INFO: Processing buffer {"connection_id":219384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:52:22] local.INFO: IMEI packet received {"connection_id":219384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":219384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:52:23] local.INFO: TCP Data received {"connection_id":216292,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:52:23] local.INFO: Processing buffer {"connection_id":216292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:52:23] local.INFO: IMEI packet received {"connection_id":216292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":216292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:52:24] local.INFO: TCP Data received {"connection_id":216292,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:52:24] local.INFO: Processing buffer {"connection_id":216292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14135cb98012d7fac4005afe350002b00a623..."} 
[2026-10-16 01:52:24] local.INFO: Packet analysis {"connection_id":216292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:52:24] local.INFO: Extracted packet for processing {"connection_id":216292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14135"} 
[2026-10-16 01:52:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":43,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:52: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-10-16 01:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792095407000,"timestamp_ms":1792095407000,"timestamp_seconds":1792095407,"priority":1,"record_length":96,"hex_timestamp":"000001a14135cb98"} 
[2026-10-16 01:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:52: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:52:24] 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-10-16 01:52: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-10-16 01:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776347136001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:52:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:52:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776347136001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":216292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:52:24] local.INFO: GPS data processed {"connection_id":216292,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:52:24] local.INFO: Acknowledgment sent {"connection_id":216292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:52:27] local.INFO: TCP Data received {"connection_id":219384,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:52:27] local.INFO: Processing buffer {"connection_id":219384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:52:27] local.INFO: IMEI packet received {"connection_id":219384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":219384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:52:27] local.INFO: TCP Data received {"connection_id":219384,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:52:27] local.INFO: Processing buffer {"connection_id":219384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:52:27] local.INFO: Packet analysis {"connection_id":219384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:52:27] local.INFO: Extracted packet for processing {"connection_id":219384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776404992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792095633000,"timestamp_ms":1792095633000,"timestamp_seconds":1792095633,"priority":1,"record_length":96,"hex_timestamp":"000001a141393e68"} 
[2026-10-16 01:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:52:27] 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-10-16 01:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776404992001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776404992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:52:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776404992001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":219384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:52:28] local.INFO: GPS data processed {"connection_id":219384,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:52:28] local.INFO: Acknowledgment sent {"connection_id":219384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:52:28] local.INFO: TCP Data received {"connection_id":217643,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:52:28] local.INFO: Processing buffer {"connection_id":217643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:52:28] local.INFO: IMEI packet received {"connection_id":217643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":217643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:52:29] local.INFO: TCP Data received {"connection_id":217643,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:52:29] local.INFO: Processing buffer {"connection_id":217643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:52:29] local.INFO: IMEI packet received {"connection_id":217643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":217643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:52:30] local.INFO: TCP Data received {"connection_id":217643,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a1d10012d67aec0061f41d00010015734..."} 
[2026-10-16 01:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a1d10012d67aec0061f41d00010015734..."} 
[2026-10-16 01:52:30] local.INFO: Processing buffer {"connection_id":217643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a1d10012d67aec0061f41d00010015734..."} 
[2026-10-16 01:52:30] local.INFO: Packet analysis {"connection_id":217643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:52:30] local.INFO: Extracted packet for processing {"connection_id":217643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:52:30] local.INFO: GPS Element Parsed {"raw_longitude":761769664,"raw_latitude":102711760,"longitude_deg":76.1769664,"latitude_deg":10.271176,"altitude":16,"angle":343,"satellites":52,"speed":52,"hex_longitude":"2d67aec0","hex_latitude":"061f41d0","is_valid_coordinates":true} 
[2026-10-16 01:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776496640001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12052532931067904,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7471119964380975104,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792095690000,"timestamp_ms":1792095690000,"timestamp_seconds":1792095690,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a1d10"} 
[2026-10-16 01:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:52: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-10-16 01:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 01:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776496640001,"66":27571,"209":206,"19":40704,"24":52,"16":12052532931067904,"45":7471119964380975104},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-10-16 01:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776496640001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:52:30] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-10-16 01:52:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12052532931067904,"km_value":12052532931067.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7471119964380975104,"description":"Unknown IO ID 45"} 
[2026-10-16 01:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776496640001,"power":27571,"unknown_209":206,"unknown_19":40704,"ignition":52,"odometer":null,"unknown_45":7471119964380975104}} 
[2026-10-16 01:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":217643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:52:30] local.INFO: GPS data processed {"connection_id":217643,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:52:30] local.INFO: Acknowledgment sent {"connection_id":217643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:52:32] local.INFO: TCP Data received {"connection_id":217643,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a3868012d67a600061f6568000f015c33..."} 
[2026-10-16 01:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a3868012d67a600061f6568000f015c33..."} 
[2026-10-16 01:52:32] local.INFO: Processing buffer {"connection_id":217643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a3868012d67a600061f6568000f015c33..."} 
[2026-10-16 01:52:32] local.INFO: Packet analysis {"connection_id":217643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:52:32] local.INFO: Extracted packet for processing {"connection_id":217643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:52:32] local.INFO: GPS Element Parsed {"raw_longitude":761767424,"raw_latitude":102720872,"longitude_deg":76.1767424,"latitude_deg":10.2720872,"altitude":15,"angle":348,"satellites":51,"speed":54,"hex_longitude":"2d67a600","hex_latitude":"061f6568","is_valid_coordinates":true} 
[2026-10-16 01:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776496640001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12052988197601280,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7471119964380975104,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792095697000,"timestamp_ms":1792095697000,"timestamp_seconds":1792095697,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a3868"} 
[2026-10-16 01:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 01:52:32] 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-10-16 01:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776496640001,"66":27289,"209":206,"19":40704,"24":54,"16":12052988197601280,"45":7471119964380975104},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-10-16 01:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776496640001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:52:32] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-10-16 01:52:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12052988197601280,"km_value":12052988197601.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7471119964380975104,"description":"Unknown IO ID 45"} 
[2026-10-16 01:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776496640001,"power":27289,"unknown_209":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7471119964380975104}} 
[2026-10-16 01:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":217643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043531,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:52:32] local.INFO: GPS data processed {"connection_id":217643,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:52:32] local.INFO: Acknowledgment sent {"connection_id":217643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:52:56] local.INFO: TCP Data received {"connection_id":216292,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:52:56] local.INFO: Processing buffer {"connection_id":216292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:52:56] local.INFO: Packet analysis {"connection_id":216292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:52:56] local.INFO: Extracted packet for processing {"connection_id":216292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776424192001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792095708000,"timestamp_ms":1792095708000,"timestamp_seconds":1792095708,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a6360"} 
[2026-10-16 01:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:52:56] 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-10-16 01:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776424192001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776424192001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:52:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:52:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776424192001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":216292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:52:56] local.INFO: GPS data processed {"connection_id":216292,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:52:56] local.INFO: Acknowledgment sent {"connection_id":216292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:52:59] local.INFO: TCP Data received {"connection_id":216099,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:52:59] local.INFO: Processing buffer {"connection_id":216099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:52:59] local.INFO: IMEI packet received {"connection_id":216099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":216099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:53:02] local.INFO: TCP Data received {"connection_id":219384,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:53:02] local.INFO: Processing buffer {"connection_id":219384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:53:02] local.INFO: Packet analysis {"connection_id":219384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:53:02] local.INFO: Extracted packet for processing {"connection_id":219384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776404992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792095633000,"timestamp_ms":1792095633000,"timestamp_seconds":1792095633,"priority":1,"record_length":96,"hex_timestamp":"000001a141393e68"} 
[2026-10-16 01:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:53:02] 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-10-16 01:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":219384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":219384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":219384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776404992001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776404992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:53:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776404992001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":219384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:53:02] local.INFO: GPS data processed {"connection_id":219384,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:53:02] local.INFO: Acknowledgment sent {"connection_id":219384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:53:02] local.INFO: TCP Data received {"connection_id":216099,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:53:02] local.INFO: Processing buffer {"connection_id":216099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:53:02] local.INFO: IMEI packet received {"connection_id":216099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":216099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:53:08] local.INFO: TCP Data received {"connection_id":216099,"ip":"117.224.27.161","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a141..."} 
[2026-10-16 01:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216099,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a141..."} 
[2026-10-16 01:53:08] local.INFO: Processing buffer {"connection_id":216099,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a141..."} 
[2026-10-16 01:53:08] local.INFO: IMEI packet received {"connection_id":216099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":216099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:53:12] local.INFO: TCP Data received {"connection_id":216099,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a6f18012d679400061fad68000e015a32..."} 
[2026-10-16 01:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a6f18012d679400061fad68000e015a32..."} 
[2026-10-16 01:53:12] local.INFO: Processing buffer {"connection_id":216099,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1413a53c0012d679dc0061f8a18000e015932..."} 
[2026-10-16 01:53:12] local.INFO: Packet analysis {"connection_id":216099,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:53:12] local.INFO: Extracted packet for processing {"connection_id":216099,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:53:12] local.INFO: GPS Element Parsed {"raw_longitude":761765312,"raw_latitude":102730264,"longitude_deg":76.1765312,"latitude_deg":10.2730264,"altitude":14,"angle":345,"satellites":50,"speed":54,"hex_longitude":"2d679dc0","hex_latitude":"061f8a18","is_valid_coordinates":true} 
[2026-10-16 01:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776498432001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12053456349036544,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7468657058337089536,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792095704000,"timestamp_ms":1792095704000,"timestamp_seconds":1792095704,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a53c0"} 
[2026-10-16 01:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:53: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-10-16 01:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 01:53:12] 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-10-16 01:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":216099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":216099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":216099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776498432001,"66":26930,"209":206,"19":40704,"24":54,"16":12053456349036544,"45":7468657058337089536},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-10-16 01:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776498432001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:53:12] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-10-16 01:53:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12053456349036544,"km_value":12053456349036.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7468657058337089536,"description":"Unknown IO ID 45"} 
[2026-10-16 01:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776498432001,"power":26930,"unknown_209":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7468657058337089536}} 
[2026-10-16 01:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":216099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:53:12] local.INFO: GPS data processed {"connection_id":216099,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:53:12] local.INFO: Acknowledgment sent {"connection_id":216099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:53:12] local.INFO: Packet analysis {"connection_id":216099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:53:12] local.INFO: Extracted packet for processing {"connection_id":216099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:53:12] local.INFO: GPS Element Parsed {"raw_longitude":761762816,"raw_latitude":102739304,"longitude_deg":76.1762816,"latitude_deg":10.2739304,"altitude":14,"angle":346,"satellites":50,"speed":53,"hex_longitude":"2d679400","hex_latitude":"061fad68","is_valid_coordinates":true} 
[2026-10-16 01:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776500224001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12053907320602624,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7466334889781630976,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792095711000,"timestamp_ms":1792095711000,"timestamp_seconds":1792095711,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a6f18"} 
[2026-10-16 01:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:53: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-10-16 01:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 01:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":216099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":216099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":216099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776500224001,"66":27397,"237":206,"19":40704,"24":53,"16":12053907320602624,"45":7466334889781630976},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-10-16 01:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776500224001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:53:12] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-10-16 01:53:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12053907320602624,"km_value":12053907320602.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7466334889781630976,"description":"Unknown IO ID 45"} 
[2026-10-16 01:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776500224001,"power":27397,"unknown_237":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7466334889781630976}} 
[2026-10-16 01:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":216099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:53:12] local.INFO: GPS data processed {"connection_id":216099,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:53:12] local.INFO: Acknowledgment sent {"connection_id":216099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:53:13] local.INFO: TCP Data received {"connection_id":216099,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a8a70012d678bc0061fd108000c015a32..."} 
[2026-10-16 01:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a8a70012d678bc0061fd108000c015a32..."} 
[2026-10-16 01:53:13] local.INFO: Processing buffer {"connection_id":216099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a8a70012d678bc0061fd108000c015a32..."} 
[2026-10-16 01:53:13] local.INFO: Packet analysis {"connection_id":216099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:53:13] local.INFO: Extracted packet for processing {"connection_id":216099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:53:13] local.INFO: GPS Element Parsed {"raw_longitude":761760704,"raw_latitude":102748424,"longitude_deg":76.1760704,"latitude_deg":10.2748424,"altitude":12,"angle":346,"satellites":50,"speed":52,"hex_longitude":"2d678bc0","hex_latitude":"061fd108","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776502016001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12054362587136000,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7463590508761016320,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792095718000,"timestamp_ms":1792095718000,"timestamp_seconds":1792095718,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a8a70"} 
[2026-10-16 01:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:53: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-10-16 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 01:53: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-10-16 01: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-10-16 01:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776502016001,"66":27615,"237":206,"19":40704,"24":52,"16":12054362587136000,"45":7463590508761016320},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-10-16 01:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776502016001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:53:13] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-10-16 01:53:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12054362587136000,"km_value":12054362587136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7463590508761016320,"description":"Unknown IO ID 45"} 
[2026-10-16 01:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776502016001,"power":27615,"unknown_237":206,"unknown_19":40704,"ignition":52,"odometer":null,"unknown_45":7463590508761016320}} 
[2026-10-16 01:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":216099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043536,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:53:14] local.INFO: GPS data processed {"connection_id":216099,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:53:14] local.INFO: Acknowledgment sent {"connection_id":216099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:53:22] local.INFO: TCP Data received {"connection_id":219386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:53:22] local.INFO: Processing buffer {"connection_id":219386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:53:22] local.INFO: IMEI packet received {"connection_id":219386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":219386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:53:23] local.INFO: TCP Data received {"connection_id":219385,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:53:23] local.INFO: Processing buffer {"connection_id":219385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:53:23] local.INFO: IMEI packet received {"connection_id":219385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":219385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:53:27] local.INFO: TCP Data received {"connection_id":219386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:53:27] local.INFO: Processing buffer {"connection_id":219386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:53:27] local.INFO: IMEI packet received {"connection_id":219386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":219386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:53:27] local.INFO: TCP Data received {"connection_id":219386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:53:27] local.INFO: Processing buffer {"connection_id":219386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:53:27] local.INFO: Packet analysis {"connection_id":219386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:53:27] local.INFO: Extracted packet for processing {"connection_id":219386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776404992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792095633000,"timestamp_ms":1792095633000,"timestamp_seconds":1792095633,"priority":1,"record_length":96,"hex_timestamp":"000001a141393e68"} 
[2026-10-16 01:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:53:27] 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-10-16 01:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:53:27] 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-10-16 01:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776404992001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776404992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:53:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776404992001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":219386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:53:27] local.INFO: GPS data processed {"connection_id":219386,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:53:27] local.INFO: Acknowledgment sent {"connection_id":219386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:53:28] local.INFO: TCP Data received {"connection_id":219385,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:53:28] local.INFO: Processing buffer {"connection_id":219385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:53:28] local.INFO: IMEI packet received {"connection_id":219385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":219385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:53:29] local.INFO: TCP Data received {"connection_id":219385,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:53:29] local.INFO: Processing buffer {"connection_id":219385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:53:29] local.INFO: Packet analysis {"connection_id":219385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:53:29] local.INFO: Extracted packet for processing {"connection_id":219385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:53:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776424192001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792095708000,"timestamp_ms":1792095708000,"timestamp_seconds":1792095708,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a6360"} 
[2026-10-16 01:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:53:29] 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-10-16 01:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776424192001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776424192001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:53:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:53:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776424192001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":219385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:53:29] local.INFO: GPS data processed {"connection_id":219385,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:53:29] local.INFO: Acknowledgment sent {"connection_id":219385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:53:33] local.INFO: TCP Data received {"connection_id":219385,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:53:33] local.INFO: Processing buffer {"connection_id":219385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:53:33] local.INFO: Packet analysis {"connection_id":219385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:53:33] local.INFO: Extracted packet for processing {"connection_id":219385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776424192001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792095708000,"timestamp_ms":1792095708000,"timestamp_seconds":1792095708,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a6360"} 
[2026-10-16 01:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776424192001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776424192001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:53:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776424192001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":219385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:53:34] local.INFO: GPS data processed {"connection_id":219385,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:53:34] local.INFO: Acknowledgment sent {"connection_id":219385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:53:59] local.INFO: TCP Data received {"connection_id":219386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:53:59] local.INFO: Processing buffer {"connection_id":219386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:53:59] local.INFO: Packet analysis {"connection_id":219386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:53:59] local.INFO: Extracted packet for processing {"connection_id":219386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:53:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776404992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095633000,"timestamp_ms":1792095633000,"timestamp_seconds":1792095633,"priority":1,"record_length":96,"hex_timestamp":"000001a141393e68"} 
[2026-10-16 01:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:53:59] 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-10-16 01:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:53:59] 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-10-16 01:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776404992001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776404992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:53:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:53:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776404992001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":219386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:53:59] local.INFO: GPS data processed {"connection_id":219386,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:53:59] local.INFO: Acknowledgment sent {"connection_id":219386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:54:18] local.INFO: TCP Data received {"connection_id":216100,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:54:18] local.INFO: Processing buffer {"connection_id":216100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:54:18] local.INFO: IMEI packet received {"connection_id":216100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":216100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:54:21] local.INFO: TCP Data received {"connection_id":219387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:54:21] local.INFO: Processing buffer {"connection_id":219387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:54:21] local.INFO: IMEI packet received {"connection_id":219387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":219387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:54:23] local.INFO: TCP Data received {"connection_id":216100,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:54:23] local.INFO: Processing buffer {"connection_id":216100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:54:23] local.INFO: IMEI packet received {"connection_id":216100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":216100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:54:24] local.INFO: TCP Data received {"connection_id":216100,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:54:24] local.INFO: Processing buffer {"connection_id":216100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:54:24] local.INFO: Packet analysis {"connection_id":216100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:54:24] local.INFO: Extracted packet for processing {"connection_id":216100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776424192001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792095708000,"timestamp_ms":1792095708000,"timestamp_seconds":1792095708,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a6360"} 
[2026-10-16 01:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:54: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:54:24] 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-10-16 01:54: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-10-16 01:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776424192001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776424192001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:54:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:54:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776424192001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":216100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:54:24] local.INFO: GPS data processed {"connection_id":216100,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:54:24] local.INFO: Acknowledgment sent {"connection_id":216100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:54:27] local.INFO: TCP Data received {"connection_id":219387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:54:27] local.INFO: Processing buffer {"connection_id":219387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:54:27] local.INFO: IMEI packet received {"connection_id":219387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":219387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:54:28] local.INFO: TCP Data received {"connection_id":219388,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:54:28] local.INFO: Processing buffer {"connection_id":219388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:54:28] local.INFO: IMEI packet received {"connection_id":219388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":219388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:54:28] local.INFO: TCP Data received {"connection_id":219387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:54:28] local.INFO: Processing buffer {"connection_id":219387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:54:28] local.INFO: Packet analysis {"connection_id":219387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:54:28] local.INFO: Extracted packet for processing {"connection_id":219387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776404992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792095633000,"timestamp_ms":1792095633000,"timestamp_seconds":1792095633,"priority":1,"record_length":96,"hex_timestamp":"000001a141393e68"} 
[2026-10-16 01:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:54:28] 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-10-16 01:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:54:28] 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-10-16 01:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776404992001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776404992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:54:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776404992001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":219387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:54:28] local.INFO: GPS data processed {"connection_id":219387,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:54:28] local.INFO: Acknowledgment sent {"connection_id":219387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:54:28] local.INFO: TCP Data received {"connection_id":219388,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:54:28] local.INFO: Processing buffer {"connection_id":219388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:54:28] local.INFO: IMEI packet received {"connection_id":219388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":219388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:54:30] local.INFO: TCP Data received {"connection_id":219388,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413bb738012d6736c006215c580007015932..."} 
[2026-10-16 01:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413bb738012d6736c006215c580007015932..."} 
[2026-10-16 01:54:30] local.INFO: Processing buffer {"connection_id":219388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413bb738012d6736c006215c580007015932..."} 
[2026-10-16 01:54:30] local.INFO: Packet analysis {"connection_id":219388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413b"} 
[2026-10-16 01:54:30] local.INFO: Extracted packet for processing {"connection_id":219388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413b"} 
[2026-10-16 01:54:30] local.INFO: GPS Element Parsed {"raw_longitude":761738944,"raw_latitude":102849624,"longitude_deg":76.1738944,"latitude_deg":10.2849624,"altitude":7,"angle":345,"satellites":50,"speed":56,"hex_longitude":"2d6736c0","hex_latitude":"06215c58","is_valid_coordinates":true} 
[2026-10-16 01:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776521728001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12059379108937728,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7439735504510625792,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792095795000,"timestamp_ms":1792095795000,"timestamp_seconds":1792095795,"priority":1,"record_length":96,"hex_timestamp":"000001a1413bb738"} 
[2026-10-16 01:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:54: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-10-16 01:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 01:54:30] 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-10-16 01:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776521728001,"66":27343,"82":206,"19":40704,"24":56,"16":12059379108937728,"45":7439735504510625792},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-10-16 01:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776521728001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:54:30] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-10-16 01:54:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12059379108937728,"km_value":12059379108937.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7439735504510625792,"description":"Unknown IO ID 45"} 
[2026-10-16 01:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776521728001,"power":27343,"unknown_82":206,"unknown_19":40704,"ignition":56,"odometer":null,"unknown_45":7439735504510625792}} 
[2026-10-16 01:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":219388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:54:30] local.INFO: GPS data processed {"connection_id":219388,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:54:30] local.INFO: Acknowledgment sent {"connection_id":219388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:54:32] local.INFO: TCP Data received {"connection_id":219388,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413bd290012d672e80062180e80007015b33..."} 
[2026-10-16 01:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413bd290012d672e80062180e80007015b33..."} 
[2026-10-16 01:54:32] local.INFO: Processing buffer {"connection_id":219388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413bd290012d672e80062180e80007015b33..."} 
[2026-10-16 01:54:32] local.INFO: Packet analysis {"connection_id":219388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413b"} 
[2026-10-16 01:54:32] local.INFO: Extracted packet for processing {"connection_id":219388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413b"} 
[2026-10-16 01:54:32] local.INFO: GPS Element Parsed {"raw_longitude":761736832,"raw_latitude":102858984,"longitude_deg":76.1736832,"latitude_deg":10.2858984,"altitude":7,"angle":347,"satellites":51,"speed":53,"hex_longitude":"2d672e80","hex_latitude":"062180e8","is_valid_coordinates":true} 
[2026-10-16 01:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776523520001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12059842965405696,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7437342967210989568,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792095802000,"timestamp_ms":1792095802000,"timestamp_seconds":1792095802,"priority":1,"record_length":96,"hex_timestamp":"000001a1413bd290"} 
[2026-10-16 01:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 01:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776523520001,"66":27245,"82":206,"19":40704,"24":53,"16":12059842965405696,"45":7437342967210989568},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-10-16 01:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776523520001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:54:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-10-16 01:54:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12059842965405696,"km_value":12059842965405.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7437342967210989568,"description":"Unknown IO ID 45"} 
[2026-10-16 01:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776523520001,"power":27245,"unknown_82":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7437342967210989568}} 
[2026-10-16 01:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":219388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:54:32] local.INFO: GPS data processed {"connection_id":219388,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:54:32] local.INFO: Acknowledgment sent {"connection_id":219388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:54:56] local.INFO: TCP Data received {"connection_id":216100,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:54:56] local.INFO: Processing buffer {"connection_id":216100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:54:56] local.INFO: Packet analysis {"connection_id":216100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:54:56] local.INFO: Extracted packet for processing {"connection_id":216100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776424192001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792095708000,"timestamp_ms":1792095708000,"timestamp_seconds":1792095708,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a6360"} 
[2026-10-16 01:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:54:56] 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-10-16 01:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776424192001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776424192001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:54:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:54:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776424192001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":216100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:54:56] local.INFO: GPS data processed {"connection_id":216100,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:54:56] local.INFO: Acknowledgment sent {"connection_id":216100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:55:00] local.INFO: TCP Data received {"connection_id":217644,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:00] local.INFO: Processing buffer {"connection_id":217644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:00] local.INFO: IMEI packet received {"connection_id":217644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":217644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:55:02] local.INFO: TCP Data received {"connection_id":217644,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:02] local.INFO: Processing buffer {"connection_id":217644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:02] local.INFO: IMEI packet received {"connection_id":217644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":217644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:55:03] local.INFO: TCP Data received {"connection_id":217644,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:03] local.INFO: Processing buffer {"connection_id":217644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:03] local.INFO: IMEI packet received {"connection_id":217644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":217644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:55:03] local.INFO: TCP Data received {"connection_id":219387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:55:03] local.INFO: Processing buffer {"connection_id":219387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:55:03] local.INFO: Packet analysis {"connection_id":219387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:55:03] local.INFO: Extracted packet for processing {"connection_id":219387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776404992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792095633000,"timestamp_ms":1792095633000,"timestamp_seconds":1792095633,"priority":1,"record_length":96,"hex_timestamp":"000001a141393e68"} 
[2026-10-16 01:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:55:03] 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-10-16 01:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":219387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":219387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":219387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776404992001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776404992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:55:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:55:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776404992001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":219387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:55:03] local.INFO: GPS data processed {"connection_id":219387,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:55:03] local.INFO: Acknowledgment sent {"connection_id":219387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:55:04] local.INFO: TCP Data received {"connection_id":217644,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413bede8012d6726800621a5580006015a31..."} 
[2026-10-16 01:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413bede8012d6726800621a5580006015a31..."} 
[2026-10-16 01:55:04] local.INFO: Processing buffer {"connection_id":217644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413bede8012d6726800621a5580006015a31..."} 
[2026-10-16 01:55:04] local.INFO: Packet analysis {"connection_id":217644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413b"} 
[2026-10-16 01:55:04] local.INFO: Extracted packet for processing {"connection_id":217644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413b"} 
[2026-10-16 01:55:04] local.INFO: GPS Element Parsed {"raw_longitude":761734784,"raw_latitude":102868312,"longitude_deg":76.1734784,"latitude_deg":10.2868312,"altitude":6,"angle":346,"satellites":49,"speed":55,"hex_longitude":"2d672680","hex_latitude":"0621a558","is_valid_coordinates":true} 
[2026-10-16 01:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776525312001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12060306821873664,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7435020798655522816,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792095809000,"timestamp_ms":1792095809000,"timestamp_seconds":1792095809,"priority":1,"record_length":96,"hex_timestamp":"000001a1413bede8"} 
[2026-10-16 01:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:55: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-10-16 01:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 01:55: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-10-16 01:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":217644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":217644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":217644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776525312001,"66":27365,"82":206,"19":40704,"24":55,"16":12060306821873664,"45":7435020798655522816},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-10-16 01:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776525312001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:55:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-10-16 01:55:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12060306821873664,"km_value":12060306821873.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7435020798655522816,"description":"Unknown IO ID 45"} 
[2026-10-16 01:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776525312001,"power":27365,"unknown_82":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7435020798655522816}} 
[2026-10-16 01:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":217644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:55:04] local.INFO: GPS data processed {"connection_id":217644,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:55:04] local.INFO: Acknowledgment sent {"connection_id":217644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:55:17] local.INFO: TCP Data received {"connection_id":216293,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:55:17] local.INFO: Processing buffer {"connection_id":216293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:55:17] local.INFO: IMEI packet received {"connection_id":216293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":216293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:55:21] local.INFO: TCP Data received {"connection_id":216101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:55:21] local.INFO: Processing buffer {"connection_id":216101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:55:21] local.INFO: IMEI packet received {"connection_id":216101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":216101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:55:23] local.INFO: TCP Data received {"connection_id":216293,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:55:23] local.INFO: Processing buffer {"connection_id":216293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:55:23] local.INFO: IMEI packet received {"connection_id":216293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":216293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:55:24] local.INFO: TCP Data received {"connection_id":216293,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:55:24] local.INFO: Processing buffer {"connection_id":216293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:55:24] local.INFO: Packet analysis {"connection_id":216293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:55:24] local.INFO: Extracted packet for processing {"connection_id":216293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776424192001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792095708000,"timestamp_ms":1792095708000,"timestamp_seconds":1792095708,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a6360"} 
[2026-10-16 01:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:55:24] 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-10-16 01:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776424192001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776424192001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:55:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:55:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776424192001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":216293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:55:24] local.INFO: GPS data processed {"connection_id":216293,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:55:24] local.INFO: Acknowledgment sent {"connection_id":216293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:55:26] local.INFO: TCP Data received {"connection_id":216101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:55:26] local.INFO: Processing buffer {"connection_id":216101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:55:26] local.INFO: IMEI packet received {"connection_id":216101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":216101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:55:27] local.INFO: TCP Data received {"connection_id":216101,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:55:27] local.INFO: Processing buffer {"connection_id":216101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141393e68012d7c240005dad510000900ea27..."} 
[2026-10-16 01:55:27] local.INFO: Packet analysis {"connection_id":216101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:55:27] local.INFO: Extracted packet for processing {"connection_id":216101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14139"} 
[2026-10-16 01:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776404992001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792095633000,"timestamp_ms":1792095633000,"timestamp_seconds":1792095633,"priority":1,"record_length":96,"hex_timestamp":"000001a141393e68"} 
[2026-10-16 01:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:55:27] 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-10-16 01: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-10-16 01:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776404992001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776404992001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:55:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776404992001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":216101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:55:27] local.INFO: GPS data processed {"connection_id":216101,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:55:27] local.INFO: Acknowledgment sent {"connection_id":216101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:55:35] local.INFO: TCP Data received {"connection_id":217644,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413cff58012d665d400622c140000c011831..."} 
[2026-10-16 01:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413cff58012d665d400622c140000c011831..."} 
[2026-10-16 01:55:35] local.INFO: Processing buffer {"connection_id":217644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413cff58012d665d400622c140000c011831..."} 
[2026-10-16 01:55:35] local.INFO: Packet analysis {"connection_id":217644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413c"} 
[2026-10-16 01:55:35] local.INFO: Extracted packet for processing {"connection_id":217644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413c"} 
[2026-10-16 01:55:35] local.INFO: GPS Element Parsed {"raw_longitude":761683264,"raw_latitude":102940992,"longitude_deg":76.1683264,"latitude_deg":10.2940992,"altitude":12,"angle":280,"satellites":49,"speed":53,"hex_longitude":"2d665d40","hex_latitude":"0622c140","is_valid_coordinates":true} 
[2026-10-16 01:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776543232001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12065112890277888,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7386677471426017280,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792095879000,"timestamp_ms":1792095879000,"timestamp_seconds":1792095879,"priority":1,"record_length":96,"hex_timestamp":"000001a1413cff58"} 
[2026-10-16 01:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:55: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-10-16 01:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 01:55:35] 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-10-16 01:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":217644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":217644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":217644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776543232001,"66":27245,"83":206,"19":40704,"24":53,"16":12065112890277888,"45":7386677471426017280},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-10-16 01:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776543232001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-10-16 01:55:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12065112890277888,"km_value":12065112890277.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7386677471426017280,"description":"Unknown IO ID 45"} 
[2026-10-16 01:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776543232001,"power":27245,"unknown_83":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7386677471426017280}} 
[2026-10-16 01:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":217644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:55:35] local.INFO: GPS data processed {"connection_id":217644,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:55:35] local.INFO: Acknowledgment sent {"connection_id":217644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:55:54] local.INFO: TCP Data received {"connection_id":219389,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:54] local.INFO: Processing buffer {"connection_id":219389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:54] local.INFO: IMEI packet received {"connection_id":219389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":219389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:55:56] local.INFO: TCP Data received {"connection_id":216293,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:55:56] local.INFO: Processing buffer {"connection_id":216293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:55:56] local.INFO: Packet analysis {"connection_id":216293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:55:56] local.INFO: Extracted packet for processing {"connection_id":216293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776424192001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792095708000,"timestamp_ms":1792095708000,"timestamp_seconds":1792095708,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a6360"} 
[2026-10-16 01:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:55:56] 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-10-16 01:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776424192001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776424192001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:55:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:55:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776424192001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":216293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:55:56] local.INFO: GPS data processed {"connection_id":216293,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:55:56] local.INFO: Acknowledgment sent {"connection_id":216293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:55:57] local.INFO: TCP Data received {"connection_id":219389,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:57] local.INFO: Processing buffer {"connection_id":219389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:55:57] local.INFO: IMEI packet received {"connection_id":219389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":219389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:55:58] local.INFO: TCP Data received {"connection_id":216101,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:55:58] local.INFO: Processing buffer {"connection_id":216101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:55:58] local.INFO: Packet analysis {"connection_id":216101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:55:58] local.INFO: Extracted packet for processing {"connection_id":216101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776482048001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792095934000,"timestamp_ms":1792095934000,"timestamp_seconds":1792095934,"priority":1,"record_length":96,"hex_timestamp":"000001a1413dd630"} 
[2026-10-16 01:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:55:58] 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-10-16 01:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776482048001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776482048001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:55:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776482048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":216101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:55:58] local.INFO: GPS data processed {"connection_id":216101,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:55:58] local.INFO: Acknowledgment sent {"connection_id":216101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:56:11] local.INFO: TCP Data received {"connection_id":219389,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:56:11] local.INFO: Processing buffer {"connection_id":219389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:56:11] local.INFO: IMEI packet received {"connection_id":219389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":219389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:56:13] local.INFO: TCP Data received {"connection_id":219389,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413d1ab0012d6639c00622c7c8000e011831..."} 
[2026-10-16 01:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413d1ab0012d6639c00622c7c8000e011831..."} 
[2026-10-16 01:56:13] local.INFO: Processing buffer {"connection_id":219389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413d1ab0012d6639c00622c7c8000e011831..."} 
[2026-10-16 01:56:13] local.INFO: Packet analysis {"connection_id":219389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:56:13] local.INFO: Extracted packet for processing {"connection_id":219389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:56:13] local.INFO: GPS Element Parsed {"raw_longitude":761674176,"raw_latitude":102942664,"longitude_deg":76.1674176,"latitude_deg":10.2942664,"altitude":14,"angle":280,"satellites":49,"speed":51,"hex_longitude":"2d6639c0","hex_latitude":"0622c7c8","is_valid_coordinates":true} 
[2026-10-16 01:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776545024001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12065550976942080,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7376122159799812096,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792095886000,"timestamp_ms":1792095886000,"timestamp_seconds":1792095886,"priority":1,"record_length":96,"hex_timestamp":"000001a1413d1ab0"} 
[2026-10-16 01:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:56: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-10-16 01:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 01:56:13] 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-10-16 01:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776545024001,"66":27213,"83":206,"19":40704,"24":51,"16":12065550976942080,"45":7376122159799812096},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-10-16 01:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776545024001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-10-16 01:56:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12065550976942080,"km_value":12065550976942.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7376122159799812096,"description":"Unknown IO ID 45"} 
[2026-10-16 01:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776545024001,"power":27213,"unknown_83":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7376122159799812096}} 
[2026-10-16 01:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":219389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:56:13] local.INFO: GPS data processed {"connection_id":219389,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:56:13] local.INFO: Acknowledgment sent {"connection_id":219389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:56:17] local.INFO: TCP Data received {"connection_id":216294,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:56:17] local.INFO: Processing buffer {"connection_id":216294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:56:17] local.INFO: IMEI packet received {"connection_id":216294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":216294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:56:21] local.INFO: TCP Data received {"connection_id":216295,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:56:21] local.INFO: Processing buffer {"connection_id":216295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:56:21] local.INFO: IMEI packet received {"connection_id":216295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":216295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:56:23] local.INFO: TCP Data received {"connection_id":216294,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:56:23] local.INFO: Processing buffer {"connection_id":216294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:56:23] local.INFO: IMEI packet received {"connection_id":216294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":216294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:56:24] local.INFO: TCP Data received {"connection_id":216294,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:56:24] local.INFO: Processing buffer {"connection_id":216294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:56:24] local.INFO: Packet analysis {"connection_id":216294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:56:24] local.INFO: Extracted packet for processing {"connection_id":216294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:56: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-10-16 01:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776424192001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792095708000,"timestamp_ms":1792095708000,"timestamp_seconds":1792095708,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a6360"} 
[2026-10-16 01:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:56: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:56:24] 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-10-16 01:56: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-10-16 01:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776424192001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776424192001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:56:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:56:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776424192001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":216294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:56:24] local.INFO: GPS data processed {"connection_id":216294,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:56:24] local.INFO: Acknowledgment sent {"connection_id":216294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:56:26] local.INFO: TCP Data received {"connection_id":216295,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:56:26] local.INFO: Processing buffer {"connection_id":216295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:56:26] local.INFO: IMEI packet received {"connection_id":216295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":216295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:56:27] local.INFO: TCP Data received {"connection_id":216295,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:56:27] local.INFO: Processing buffer {"connection_id":216295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:56:27] local.INFO: Packet analysis {"connection_id":216295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:56:27] local.INFO: Extracted packet for processing {"connection_id":216295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776482048001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792095934000,"timestamp_ms":1792095934000,"timestamp_seconds":1792095934,"priority":1,"record_length":96,"hex_timestamp":"000001a1413dd630"} 
[2026-10-16 01:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:56:27] 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-10-16 01:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:56:27] 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-10-16 01:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776482048001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776482048001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:56:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776482048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":216295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:56:27] local.INFO: GPS data processed {"connection_id":216295,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:56:27] local.INFO: Acknowledgment sent {"connection_id":216295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:56:56] local.INFO: TCP Data received {"connection_id":216294,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:56:56] local.INFO: Processing buffer {"connection_id":216294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413a6360012d7fac4005afe350002a00a627..."} 
[2026-10-16 01:56:56] local.INFO: Packet analysis {"connection_id":216294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:56:56] local.INFO: Extracted packet for processing {"connection_id":216294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413a"} 
[2026-10-16 01:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":42,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776424192001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792095708000,"timestamp_ms":1792095708000,"timestamp_seconds":1792095708,"priority":1,"record_length":96,"hex_timestamp":"000001a1413a6360"} 
[2026-10-16 01:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:56:56] 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-10-16 01:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776424192001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776424192001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:56:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:56:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776424192001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":216294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:56:56] local.INFO: GPS data processed {"connection_id":216294,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:56:56] local.INFO: Acknowledgment sent {"connection_id":216294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:56:58] local.INFO: TCP Data received {"connection_id":219390,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:56:58] local.INFO: Processing buffer {"connection_id":219390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:56:58] local.INFO: IMEI packet received {"connection_id":219390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":219390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:56:58] local.INFO: TCP Data received {"connection_id":216295,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:56:58] local.INFO: Processing buffer {"connection_id":216295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:56:58] local.INFO: Packet analysis {"connection_id":216295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:56:58] local.INFO: Extracted packet for processing {"connection_id":216295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776482048001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792095934000,"timestamp_ms":1792095934000,"timestamp_seconds":1792095934,"priority":1,"record_length":96,"hex_timestamp":"000001a1413dd630"} 
[2026-10-16 01:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:56:58] 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-10-16 01:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:56:58] 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-10-16 01:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776482048001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776482048001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:56:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776482048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":216295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:56:58] local.INFO: GPS data processed {"connection_id":216295,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:56:58] local.INFO: Acknowledgment sent {"connection_id":216295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:57:02] local.INFO: TCP Data received {"connection_id":219390,"ip":"117.224.27.161","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 01:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219390,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 01:57:02] local.INFO: Processing buffer {"connection_id":219390,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 01:57:02] local.INFO: IMEI packet received {"connection_id":219390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":219390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:57:09] local.INFO: TCP Data received {"connection_id":219390,"ip":"117.224.27.161","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a141..."} 
[2026-10-16 01:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219390,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a141..."} 
[2026-10-16 01:57:09] local.INFO: Processing buffer {"connection_id":219390,"buffer_length":829,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 01:57:09] local.INFO: IMEI packet received {"connection_id":219390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":219390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:57:12] local.INFO: TCP Data received {"connection_id":219390,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413e85f8012d644b8006232bd8000d012a31..."} 
[2026-10-16 01:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413e85f8012d644b8006232bd8000d012a31..."} 
[2026-10-16 01:57:12] local.INFO: Processing buffer {"connection_id":219390,"buffer_length":1607,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a141..."} 
[2026-10-16 01:57:12] local.INFO: IMEI packet received {"connection_id":219390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":219390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:57:14] local.INFO: TCP Data received {"connection_id":219390,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413e85f8012d644b8006232bd8000d012a31..."} 
[2026-10-16 01:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413e85f8012d644b8006232bd8000d012a31..."} 
[2026-10-16 01:57:14] local.INFO: Processing buffer {"connection_id":219390,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a1413e6aa0012d646c8006231e70000c011e32..."} 
[2026-10-16 01:57:14] local.INFO: Packet analysis {"connection_id":219390,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:14] local.INFO: Extracted packet for processing {"connection_id":219390,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:14] local.INFO: GPS Element Parsed {"raw_longitude":761556096,"raw_latitude":102964848,"longitude_deg":76.1556096,"latitude_deg":10.2964848,"altitude":12,"angle":286,"satellites":50,"speed":51,"hex_longitude":"2d646c80","hex_latitude":"06231e70","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776567040001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12071289053249536,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7246362195541805056,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792095972000,"timestamp_ms":1792095972000,"timestamp_seconds":1792095972,"priority":1,"record_length":96,"hex_timestamp":"000001a1413e6aa0"} 
[2026-10-16 01:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:57: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-10-16 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 01:57:14] 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-10-16 01: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-10-16 01:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":219390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":219390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":219390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776567040001,"66":27517,"83":206,"19":40704,"24":51,"16":12071289053249536,"45":7246362195541805056},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776567040001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12071289053249536,"km_value":12071289053249.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":7246362195541805056,"description":"Unknown IO ID 45"} 
[2026-10-16 01:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776567040001,"power":27517,"unknown_83":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7246362195541805056}} 
[2026-10-16 01:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":219390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:57:14] local.INFO: GPS data processed {"connection_id":219390,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:57:14] local.INFO: Acknowledgment sent {"connection_id":219390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:57:14] local.INFO: Packet analysis {"connection_id":219390,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:14] local.INFO: Extracted packet for processing {"connection_id":219390,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:14] local.INFO: GPS Element Parsed {"raw_longitude":761547648,"raw_latitude":102968280,"longitude_deg":76.1547648,"latitude_deg":10.296828,"altitude":13,"angle":298,"satellites":49,"speed":51,"hex_longitude":"2d644b80","hex_latitude":"06232bd8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776568832001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12071722844946432,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7236299465124900864,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792095979000,"timestamp_ms":1792095979000,"timestamp_seconds":1792095979,"priority":1,"record_length":96,"hex_timestamp":"000001a1413e85f8"} 
[2026-10-16 01:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:57: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-10-16 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 01:57:14] 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-10-16 01: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-10-16 01:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":219390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":219390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":219390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776568832001,"66":27365,"83":206,"19":40704,"24":51,"16":12071722844946432,"45":7236299465124900864},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776568832001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12071722844946432,"km_value":12071722844946.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":7236299465124900864,"description":"Unknown IO ID 45"} 
[2026-10-16 01:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776568832001,"power":27365,"unknown_83":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7236299465124900864}} 
[2026-10-16 01:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":219390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:57:14] local.INFO: GPS data processed {"connection_id":219390,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:57:14] local.INFO: Acknowledgment sent {"connection_id":219390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:57:14] local.INFO: Packet analysis {"connection_id":219390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:14] local.INFO: Extracted packet for processing {"connection_id":219390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:14] local.INFO: GPS Element Parsed {"raw_longitude":761547648,"raw_latitude":102968280,"longitude_deg":76.1547648,"latitude_deg":10.296828,"altitude":13,"angle":298,"satellites":49,"speed":51,"hex_longitude":"2d644b80","hex_latitude":"06232bd8","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776570624001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12071722844946432,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7227010790894327808,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792095979000,"timestamp_ms":1792095979000,"timestamp_seconds":1792095979,"priority":1,"record_length":96,"hex_timestamp":"000001a1413e85f8"} 
[2026-10-16 01:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:57: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-10-16 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 01:57: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-10-16 01: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-10-16 01:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":219390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":219390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":219390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776570624001,"66":27365,"83":206,"19":40704,"24":51,"16":12071722844946432,"45":7227010790894327808},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-10-16 01:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776570624001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12071722844946432,"km_value":12071722844946.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":7227010790894327808,"description":"Unknown IO ID 45"} 
[2026-10-16 01:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776570624001,"power":27365,"unknown_83":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7227010790894327808}} 
[2026-10-16 01:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":219390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:57:14] local.INFO: GPS data processed {"connection_id":219390,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:57:14] local.INFO: Acknowledgment sent {"connection_id":219390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:57:22] local.INFO: TCP Data received {"connection_id":216103,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:57:22] local.INFO: Processing buffer {"connection_id":216103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:57:22] local.INFO: IMEI packet received {"connection_id":216103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":216103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:57:23] local.INFO: TCP Data received {"connection_id":216102,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:57:23] local.INFO: Processing buffer {"connection_id":216102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:57:23] local.INFO: IMEI packet received {"connection_id":216102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":216102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:57:27] local.INFO: TCP Data received {"connection_id":216103,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:57:27] local.INFO: Processing buffer {"connection_id":216103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:57:27] local.INFO: IMEI packet received {"connection_id":216103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":216103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:57:28] local.INFO: TCP Data received {"connection_id":216102,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:57:28] local.INFO: Processing buffer {"connection_id":216102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:57:28] local.INFO: IMEI packet received {"connection_id":216102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":216102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:57:29] local.INFO: TCP Data received {"connection_id":216102,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:57:29] local.INFO: Processing buffer {"connection_id":216102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:57:29] local.INFO: Packet analysis {"connection_id":216102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:29] local.INFO: Extracted packet for processing {"connection_id":216102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:57: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-10-16 01:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 01:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:57:29] 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-10-16 01:57: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-10-16 01:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:57:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:57:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":216102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:57:29] local.INFO: GPS data processed {"connection_id":216102,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:57:29] local.INFO: Acknowledgment sent {"connection_id":216102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:57:30] local.INFO: TCP Data received {"connection_id":216102,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:57:30] local.INFO: Processing buffer {"connection_id":216102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:57:30] local.INFO: Packet analysis {"connection_id":216102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:30] local.INFO: Extracted packet for processing {"connection_id":216102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 01:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:57:30] 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-10-16 01:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:57:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:57:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":216102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:57:30] local.INFO: GPS data processed {"connection_id":216102,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:57:30] local.INFO: Acknowledgment sent {"connection_id":216102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:57:49] local.INFO: TCP Data received {"connection_id":219391,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:57:49] local.INFO: Processing buffer {"connection_id":219391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:57:49] local.INFO: IMEI packet received {"connection_id":219391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":219391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:57:53] local.INFO: TCP Data received {"connection_id":219391,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:57:53] local.INFO: Processing buffer {"connection_id":219391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:57:53] local.INFO: IMEI packet received {"connection_id":219391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":219391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:57:58] local.INFO: TCP Data received {"connection_id":219391,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:57:58] local.INFO: Processing buffer {"connection_id":219391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:57:58] local.INFO: IMEI packet received {"connection_id":219391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":219391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:57:59] local.INFO: TCP Data received {"connection_id":219391,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413e9d68012d64320006233d50000e013733..."} 
[2026-10-16 01:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413e9d68012d64320006233d50000e013733..."} 
[2026-10-16 01:57:59] local.INFO: Processing buffer {"connection_id":219391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413e9d68012d64320006233d50000e013733..."} 
[2026-10-16 01:57:59] local.INFO: Packet analysis {"connection_id":219391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:59] local.INFO: Extracted packet for processing {"connection_id":219391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:57:59] local.INFO: GPS Element Parsed {"raw_longitude":761541120,"raw_latitude":102972752,"longitude_deg":76.154112,"latitude_deg":10.2972752,"altitude":14,"angle":311,"satellites":51,"speed":53,"hex_longitude":"2d643200","hex_latitude":"06233d50","is_valid_coordinates":true} 
[2026-10-16 01:57: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-10-16 01:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776570624001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12072105097035776,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7227010790894327808,"note":"Value kept but may cause issues"} 
[2026-10-16 01:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095985000,"timestamp_ms":1792095985000,"timestamp_seconds":1792095985,"priority":1,"record_length":96,"hex_timestamp":"000001a1413e9d68"} 
[2026-10-16 01:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:57: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":229,"data_length":795,"current_offset":136} 
[2026-10-16 01:57:59] 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-10-16 01:57: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-10-16 01:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776570624001,"66":27213,"83":206,"19":40704,"24":53,"16":12072105097035776,"45":7227010790894327808},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-10-16 01:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776570624001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-10-16 01:57:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12072105097035776,"km_value":12072105097035.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7227010790894327808,"description":"Unknown IO ID 45"} 
[2026-10-16 01:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776570624001,"power":27213,"unknown_83":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7227010790894327808}} 
[2026-10-16 01:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":219391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043563,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:57:59] local.INFO: GPS data processed {"connection_id":219391,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:57:59] local.INFO: Acknowledgment sent {"connection_id":219391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:58:00] local.INFO: TCP Data received {"connection_id":219391,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413eb0f0012d64200006235060000e014232..."} 
[2026-10-16 01:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413eb0f0012d64200006235060000e014232..."} 
[2026-10-16 01:58:00] local.INFO: Processing buffer {"connection_id":219391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413eb0f0012d64200006235060000e014232..."} 
[2026-10-16 01:58:00] local.INFO: Packet analysis {"connection_id":219391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:58:00] local.INFO: Extracted packet for processing {"connection_id":219391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:58:00] local.INFO: GPS Element Parsed {"raw_longitude":761536512,"raw_latitude":102977632,"longitude_deg":76.1536512,"latitude_deg":10.2977632,"altitude":14,"angle":322,"satellites":50,"speed":53,"hex_longitude":"2d642000","hex_latitude":"06235060","is_valid_coordinates":true} 
[2026-10-16 01:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776572160001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12072427219582976,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7219833178989350912,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792095990000,"timestamp_ms":1792095990000,"timestamp_seconds":1792095990,"priority":1,"record_length":96,"hex_timestamp":"000001a1413eb0f0"} 
[2026-10-16 01:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 01:58:00] 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-10-16 01:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776572160001,"66":27289,"83":206,"19":40704,"24":53,"16":12072427219582976,"45":7219833178989350912},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-10-16 01:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776572160001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:58:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-10-16 01:58:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12072427219582976,"km_value":12072427219582.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7219833178989350912,"description":"Unknown IO ID 45"} 
[2026-10-16 01:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776572160001,"power":27289,"unknown_83":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7219833178989350912}} 
[2026-10-16 01:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":219391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:58:00] local.INFO: GPS data processed {"connection_id":219391,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:58:00] local.INFO: Acknowledgment sent {"connection_id":219391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:58:02] local.INFO: TCP Data received {"connection_id":216102,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:58:02] local.INFO: Processing buffer {"connection_id":216102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:58:02] local.INFO: Packet analysis {"connection_id":216102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:58:02] local.INFO: Extracted packet for processing {"connection_id":216102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 01:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:58:02] 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-10-16 01:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:58:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:58:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":216102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:58:02] local.INFO: GPS data processed {"connection_id":216102,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:58:02] local.INFO: Acknowledgment sent {"connection_id":216102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:58:17] local.INFO: TCP Data received {"connection_id":217645,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:58:17] local.INFO: Processing buffer {"connection_id":217645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:58:17] local.INFO: IMEI packet received {"connection_id":217645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":217645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:58:21] local.INFO: TCP Data received {"connection_id":216296,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:58:21] local.INFO: Processing buffer {"connection_id":216296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:58:21] local.INFO: IMEI packet received {"connection_id":216296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":216296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:58:23] local.INFO: TCP Data received {"connection_id":217645,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:58:23] local.INFO: Processing buffer {"connection_id":217645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:58:23] local.INFO: IMEI packet received {"connection_id":217645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":217645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:58:24] local.INFO: TCP Data received {"connection_id":217645,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:58:24] local.INFO: Processing buffer {"connection_id":217645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:58:24] local.INFO: Packet analysis {"connection_id":217645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:58:24] local.INFO: Extracted packet for processing {"connection_id":217645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:58:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 01:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:58:24] 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-10-16 01:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:58:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:58:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":217645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:58:24] local.INFO: GPS data processed {"connection_id":217645,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:58:24] local.INFO: Acknowledgment sent {"connection_id":217645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:58:27] local.INFO: TCP Data received {"connection_id":216296,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:58:27] local.INFO: Processing buffer {"connection_id":216296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:58:27] local.INFO: IMEI packet received {"connection_id":216296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":216296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:58:29] local.INFO: TCP Data received {"connection_id":216296,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:58:29] local.INFO: Processing buffer {"connection_id":216296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:58:29] local.INFO: Packet analysis {"connection_id":216296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:58:29] local.INFO: Extracted packet for processing {"connection_id":216296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776482048001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792095934000,"timestamp_ms":1792095934000,"timestamp_seconds":1792095934,"priority":1,"record_length":96,"hex_timestamp":"000001a1413dd630"} 
[2026-10-16 01:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:58:29] 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-10-16 01:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776482048001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776482048001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:58:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776482048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":216296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:58:29] local.INFO: GPS data processed {"connection_id":216296,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:58:29] local.INFO: Acknowledgment sent {"connection_id":216296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:58:34] local.INFO: TCP Data received {"connection_id":219391,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413ec860012d640f0006236b98000e014e33..."} 
[2026-10-16 01:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413ec860012d640f0006236b98000e014e33..."} 
[2026-10-16 01:58:34] local.INFO: Processing buffer {"connection_id":219391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413ec860012d640f0006236b98000e014e33..."} 
[2026-10-16 01:58:34] local.INFO: Packet analysis {"connection_id":219391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:58:34] local.INFO: Extracted packet for processing {"connection_id":219391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:58:34] local.INFO: GPS Element Parsed {"raw_longitude":761532160,"raw_latitude":102984600,"longitude_deg":76.153216,"latitude_deg":10.29846,"altitude":14,"angle":334,"satellites":51,"speed":55,"hex_longitude":"2d640f00","hex_latitude":"06236b98","is_valid_coordinates":true} 
[2026-10-16 01:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776573440001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12072826651541504,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7214766629409808384,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792095996000,"timestamp_ms":1792095996000,"timestamp_seconds":1792095996,"priority":1,"record_length":96,"hex_timestamp":"000001a1413ec860"} 
[2026-10-16 01:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 01:58:34] 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-10-16 01:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776573440001,"66":27517,"253":206,"19":40704,"24":55,"16":12072826651541504,"45":7214766629409808384},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-10-16 01:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776573440001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:58:34] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-10-16 01:58:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12072826651541504,"km_value":12072826651541.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7214766629409808384,"description":"Unknown IO ID 45"} 
[2026-10-16 01:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776573440001,"power":27517,"unknown_253":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7214766629409808384}} 
[2026-10-16 01:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":219391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:58:34] local.INFO: GPS data processed {"connection_id":219391,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:58:34] local.INFO: Acknowledgment sent {"connection_id":219391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:58:35] local.INFO: TCP Data received {"connection_id":216103,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:58:35] local.INFO: Processing buffer {"connection_id":216103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:58:35] local.INFO: Packet analysis {"connection_id":216103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:58:35] local.INFO: Extracted packet for processing {"connection_id":216103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776482048001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792095934000,"timestamp_ms":1792095934000,"timestamp_seconds":1792095934,"priority":1,"record_length":96,"hex_timestamp":"000001a1413dd630"} 
[2026-10-16 01:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:58:35] 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-10-16 01:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776482048001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776482048001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:58:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776482048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":216103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:58:35] local.INFO: GPS data processed {"connection_id":216103,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:58:35] local.INFO: Acknowledgment sent {"connection_id":216103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:58:36] local.INFO: TCP Data received {"connection_id":216103,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:58:36] local.INFO: Processing buffer {"connection_id":216103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:58:36] local.INFO: Packet analysis {"connection_id":216103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:58:36] local.INFO: Extracted packet for processing {"connection_id":216103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776482048001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792095934000,"timestamp_ms":1792095934000,"timestamp_seconds":1792095934,"priority":1,"record_length":96,"hex_timestamp":"000001a1413dd630"} 
[2026-10-16 01:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:58:36] 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-10-16 01: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-10-16 01:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776482048001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776482048001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:58:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776482048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":216103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:58:36] local.INFO: GPS data processed {"connection_id":216103,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:58:36] local.ERROR: TCP Connection error {"connection_id":216103,"code":2,"message":"client closed"} 
[2026-10-16 01:58:36] local.INFO: Acknowledgment sent {"connection_id":216103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:58:52] local.INFO: TCP Data received {"connection_id":219392,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:58:52] local.INFO: Processing buffer {"connection_id":219392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:58:52] local.INFO: IMEI packet received {"connection_id":219392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 01:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":219392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:58:56] local.INFO: TCP Data received {"connection_id":217645,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:58:56] local.INFO: Processing buffer {"connection_id":217645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:58:56] local.INFO: Packet analysis {"connection_id":217645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:58:56] local.INFO: Extracted packet for processing {"connection_id":217645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 01:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:58:56] 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-10-16 01:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:58:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:58:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":217645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:58:56] local.INFO: GPS data processed {"connection_id":217645,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:58:56] local.INFO: Acknowledgment sent {"connection_id":217645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:58:58] local.INFO: TCP Data received {"connection_id":219392,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:58:58] local.INFO: Processing buffer {"connection_id":219392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 01:58:58] local.INFO: IMEI packet received {"connection_id":219392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 01:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":219392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:59:00] local.INFO: TCP Data received {"connection_id":219392,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413ee3b8012d64018006239038000c015833..."} 
[2026-10-16 01:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413ee3b8012d64018006239038000c015833..."} 
[2026-10-16 01:59:00] local.INFO: Processing buffer {"connection_id":219392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413ee3b8012d64018006239038000c015833..."} 
[2026-10-16 01:59:00] local.INFO: Packet analysis {"connection_id":219392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:59:00] local.INFO: Extracted packet for processing {"connection_id":219392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:59:00] local.INFO: GPS Element Parsed {"raw_longitude":761528704,"raw_latitude":102993976,"longitude_deg":76.1528704,"latitude_deg":10.2993976,"altitude":12,"angle":344,"satellites":51,"speed":57,"hex_longitude":"2d640180","hex_latitude":"06239038","is_valid_coordinates":true} 
[2026-10-16 01:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776574976001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12073307687878656,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7209981554807511040,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792096003000,"timestamp_ms":1792096003000,"timestamp_seconds":1792096003,"priority":1,"record_length":96,"hex_timestamp":"000001a1413ee3b8"} 
[2026-10-16 01:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 01:59:00] 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-10-16 01:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776574976001,"66":27550,"253":206,"19":40704,"24":57,"16":12073307687878656,"45":7209981554807511040},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-10-16 01:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776574976001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:59:00] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-10-16 01:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12073307687878656,"km_value":12073307687878.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7209981554807511040,"description":"Unknown IO ID 45"} 
[2026-10-16 01:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776574976001,"power":27550,"unknown_253":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7209981554807511040}} 
[2026-10-16 01:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":219392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043572,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:59:00] local.INFO: GPS data processed {"connection_id":219392,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:59:00] local.INFO: Acknowledgment sent {"connection_id":219392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:59:02] local.INFO: TCP Data received {"connection_id":216296,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:59:02] local.INFO: Processing buffer {"connection_id":216296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:59:02] local.INFO: Packet analysis {"connection_id":216296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:59:02] local.INFO: Extracted packet for processing {"connection_id":216296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776482048001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792095934000,"timestamp_ms":1792095934000,"timestamp_seconds":1792095934,"priority":1,"record_length":96,"hex_timestamp":"000001a1413dd630"} 
[2026-10-16 01:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:59:02] 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-10-16 01:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776482048001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776482048001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:59:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776482048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":216296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:59:02] local.INFO: GPS data processed {"connection_id":216296,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:59:02] local.INFO: Acknowledgment sent {"connection_id":216296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:59:21] local.INFO: TCP Data received {"connection_id":217647,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:59:21] local.INFO: Processing buffer {"connection_id":217647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:59:21] local.INFO: IMEI packet received {"connection_id":217647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 01:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":217647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:59:23] local.INFO: TCP Data received {"connection_id":217646,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:59:23] local.INFO: Processing buffer {"connection_id":217646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:59:23] local.INFO: IMEI packet received {"connection_id":217646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 01:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":217646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 01:59:27] local.INFO: TCP Data received {"connection_id":217647,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:59:27] local.INFO: Processing buffer {"connection_id":217647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 01:59:27] local.INFO: IMEI packet received {"connection_id":217647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 01:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":217647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:59:28] local.INFO: TCP Data received {"connection_id":217647,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:59:28] local.INFO: Processing buffer {"connection_id":217647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:59:28] local.INFO: Packet analysis {"connection_id":217647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:59:28] local.INFO: Extracted packet for processing {"connection_id":217647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776482048001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792095934000,"timestamp_ms":1792095934000,"timestamp_seconds":1792095934,"priority":1,"record_length":96,"hex_timestamp":"000001a1413dd630"} 
[2026-10-16 01:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:59:28] 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-10-16 01:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776482048001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776482048001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:59:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776482048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":217647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:59:28] local.INFO: GPS data processed {"connection_id":217647,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:59:28] local.INFO: Acknowledgment sent {"connection_id":217647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:59:28] local.INFO: TCP Data received {"connection_id":217646,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:59:28] local.INFO: Processing buffer {"connection_id":217646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 01:59:28] local.INFO: IMEI packet received {"connection_id":217646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 01:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":217646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 01:59:30] local.INFO: TCP Data received {"connection_id":217646,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:59:30] local.INFO: Processing buffer {"connection_id":217646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:59:30] local.INFO: Packet analysis {"connection_id":217646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:59:30] local.INFO: Extracted packet for processing {"connection_id":217646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01: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-10-16 01:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 01:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:59:30] 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-10-16 01: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-10-16 01:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:59:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:59:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":217646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:59:30] local.INFO: GPS data processed {"connection_id":217646,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:59:30] local.INFO: Acknowledgment sent {"connection_id":217646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:59:33] local.INFO: TCP Data received {"connection_id":217646,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:59:33] local.INFO: Processing buffer {"connection_id":217646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 01:59:33] local.INFO: Packet analysis {"connection_id":217646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:59:33] local.INFO: Extracted packet for processing {"connection_id":217646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 01:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 01:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 01:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 01:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 01:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 01:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 01:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 01:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 01:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:59:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 01:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 01:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 01:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 01:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":217646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:59:33] local.INFO: GPS data processed {"connection_id":217646,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:59:33] local.INFO: Acknowledgment sent {"connection_id":217646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:59:34] local.INFO: TCP Data received {"connection_id":219392,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1413eff10012d63f7400623b640000a015834..."} 
[2026-10-16 01:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413eff10012d63f7400623b640000a015834..."} 
[2026-10-16 01:59:34] local.INFO: Processing buffer {"connection_id":219392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413eff10012d63f7400623b640000a015834..."} 
[2026-10-16 01:59:34] local.INFO: Packet analysis {"connection_id":219392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:59:34] local.INFO: Extracted packet for processing {"connection_id":219392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 01:59:34] local.INFO: GPS Element Parsed {"raw_longitude":761526080,"raw_latitude":103003712,"longitude_deg":76.152608,"latitude_deg":10.3003712,"altitude":10,"angle":344,"satellites":52,"speed":57,"hex_longitude":"2d63f740","hex_latitude":"0623b640","is_valid_coordinates":true} 
[2026-10-16 01:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776576768001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12073797314150400,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7206181642624317440,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792096010000,"timestamp_ms":1792096010000,"timestamp_seconds":1792096010,"priority":1,"record_length":96,"hex_timestamp":"000001a1413eff10"} 
[2026-10-16 01:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 01:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-16 01:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 01:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 01:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 01:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 01:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776576768001,"66":27821,"253":206,"19":40704,"24":57,"16":12073797314150400,"45":7206181642624317440},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-10-16 01:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 01:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 01:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776576768001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:59:34] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-10-16 01:59:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 01:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12073797314150400,"km_value":12073797314150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7206181642624317440,"description":"Unknown IO ID 45"} 
[2026-10-16 01:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776576768001,"power":27821,"unknown_253":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7206181642624317440}} 
[2026-10-16 01:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":219392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043577,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:59:34] local.INFO: GPS data processed {"connection_id":219392,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:59:34] local.INFO: Acknowledgment sent {"connection_id":219392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 01:59:59] local.INFO: TCP Data received {"connection_id":217647,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:59:59] local.INFO: Processing buffer {"connection_id":217647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 01:59:59] local.INFO: Packet analysis {"connection_id":217647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:59:59] local.INFO: Extracted packet for processing {"connection_id":217647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 01:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 01:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 01:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776482048001,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 01:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 01:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792095934000,"timestamp_ms":1792095934000,"timestamp_seconds":1792095934,"priority":1,"record_length":96,"hex_timestamp":"000001a1413dd630"} 
[2026-10-16 01:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 01:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 01:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 01:59:59] 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-10-16 01:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 01:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 01:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 01:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 01:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 01:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 01:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 01:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 01:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776482048001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 01:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 01:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 01:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776482048001,"description":"Unknown IO ID 0"} 
[2026-10-16 01:59:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 01:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 01:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 01:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 01:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776482048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 01:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":217647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 01:59:59] local.INFO: GPS data processed {"connection_id":217647,"processed":1,"errors":0,"total":1} 
[2026-10-16 01:59:59] local.INFO: Acknowledgment sent {"connection_id":217647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:00:17] local.INFO: TCP Data received {"connection_id":219393,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:00:17] local.INFO: Processing buffer {"connection_id":219393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:00:17] local.INFO: IMEI packet received {"connection_id":219393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":219393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:00:18] local.INFO: TCP Data received {"connection_id":217648,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:00:18] local.INFO: Processing buffer {"connection_id":217648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:00:18] local.INFO: IMEI packet received {"connection_id":217648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":217648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:00:18] local.INFO: TCP Data received {"connection_id":219393,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:00:18] local.INFO: Processing buffer {"connection_id":219393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:00:18] local.INFO: IMEI packet received {"connection_id":219393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":219393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:00:19] local.INFO: TCP Data received {"connection_id":219393,"ip":"117.224.27.161","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 02:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219393,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 02:00:19] local.INFO: Processing buffer {"connection_id":219393,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 02:00:19] local.INFO: IMEI packet received {"connection_id":219393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":219393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:00:21] local.INFO: TCP Data received {"connection_id":216104,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:00:21] local.INFO: Processing buffer {"connection_id":216104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:00:21] local.INFO: IMEI packet received {"connection_id":216104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":216104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:00:23] local.INFO: TCP Data received {"connection_id":217648,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:00:23] local.INFO: Processing buffer {"connection_id":217648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:00:23] local.INFO: IMEI packet received {"connection_id":217648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":217648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:00:24] local.INFO: TCP Data received {"connection_id":217648,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:00:24] local.INFO: Processing buffer {"connection_id":217648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:00:24] local.INFO: Packet analysis {"connection_id":217648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 02:00:24] local.INFO: Extracted packet for processing {"connection_id":217648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 02:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 02:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:00:24] 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-10-16 02:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:00:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:00:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":217648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:00:24] local.INFO: GPS data processed {"connection_id":217648,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:00:24] local.INFO: Acknowledgment sent {"connection_id":217648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:00:27] local.INFO: TCP Data received {"connection_id":216104,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:00:27] local.INFO: Processing buffer {"connection_id":216104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:00:27] local.INFO: IMEI packet received {"connection_id":216104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":216104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:00:28] local.INFO: TCP Data received {"connection_id":216104,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 02:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 02:00:28] local.INFO: Processing buffer {"connection_id":216104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413dd630012d7c240005dad510000900ea27..."} 
[2026-10-16 02:00:28] local.INFO: Packet analysis {"connection_id":216104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 02:00:28] local.INFO: Extracted packet for processing {"connection_id":216104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413d"} 
[2026-10-16 02:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":9,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776482048001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792095934000,"timestamp_ms":1792095934000,"timestamp_seconds":1792095934,"priority":1,"record_length":96,"hex_timestamp":"000001a1413dd630"} 
[2026-10-16 02:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:00:28] 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-10-16 02:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776482048001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776482048001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:00:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776482048001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":216104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:00:28] local.INFO: GPS data processed {"connection_id":216104,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:00:28] local.INFO: Acknowledgment sent {"connection_id":216104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:00:56] local.INFO: TCP Data received {"connection_id":217648,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:00:56] local.INFO: Processing buffer {"connection_id":217648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:00:56] local.INFO: Packet analysis {"connection_id":217648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 02:00:56] local.INFO: Extracted packet for processing {"connection_id":217648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 02:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 02:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:00:56] 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-10-16 02:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:00:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:00:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":217648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:00:56] local.INFO: GPS data processed {"connection_id":217648,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:00:56] local.INFO: Acknowledgment sent {"connection_id":217648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:00:59] local.INFO: TCP Data received {"connection_id":216104,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:00:59] local.INFO: Processing buffer {"connection_id":216104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:00:59] local.INFO: Packet analysis {"connection_id":216104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:00:59] local.INFO: Extracted packet for processing {"connection_id":216104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776559104001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096235000,"timestamp_ms":1792096235000,"timestamp_seconds":1792096235,"priority":1,"record_length":96,"hex_timestamp":"000001a141426df8"} 
[2026-10-16 02:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:00:59] 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-10-16 02:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776559104001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776559104001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:00:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:00:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776559104001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":216104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:00:59] local.INFO: GPS data processed {"connection_id":216104,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:00:59] local.INFO: Acknowledgment sent {"connection_id":216104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:01:17] local.INFO: TCP Data received {"connection_id":219394,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:01:17] local.INFO: Processing buffer {"connection_id":219394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:01:17] local.INFO: IMEI packet received {"connection_id":219394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":219394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:01:21] local.INFO: TCP Data received {"connection_id":217649,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:01:21] local.INFO: Processing buffer {"connection_id":217649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:01:21] local.INFO: IMEI packet received {"connection_id":217649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":217649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:01:23] local.INFO: TCP Data received {"connection_id":219394,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:01:23] local.INFO: Processing buffer {"connection_id":219394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:01:23] local.INFO: IMEI packet received {"connection_id":219394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":219394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:01:24] local.INFO: TCP Data received {"connection_id":219394,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:01:24] local.INFO: Processing buffer {"connection_id":219394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:01:24] local.INFO: Packet analysis {"connection_id":219394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 02:01:24] local.INFO: Extracted packet for processing {"connection_id":219394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 02:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 02:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:01:24] 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-10-16 02:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:01:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:01:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":219394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:01:24] local.INFO: GPS data processed {"connection_id":219394,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:01:24] local.INFO: Acknowledgment sent {"connection_id":219394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:01:26] local.INFO: TCP Data received {"connection_id":217649,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:01:26] local.INFO: Processing buffer {"connection_id":217649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:01:26] local.INFO: IMEI packet received {"connection_id":217649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":217649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:01:28] local.INFO: TCP Data received {"connection_id":217649,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:01:28] local.INFO: Processing buffer {"connection_id":217649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:01:28] local.INFO: Packet analysis {"connection_id":217649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:01:28] local.INFO: Extracted packet for processing {"connection_id":217649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776559104001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792096235000,"timestamp_ms":1792096235000,"timestamp_seconds":1792096235,"priority":1,"record_length":96,"hex_timestamp":"000001a141426df8"} 
[2026-10-16 02:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:01:28] 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-10-16 02:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:01:28] 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-10-16 02:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776559104001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776559104001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:01:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776559104001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":217649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:01:28] local.INFO: GPS data processed {"connection_id":217649,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:01:28] local.INFO: Acknowledgment sent {"connection_id":217649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:01:56] local.INFO: TCP Data received {"connection_id":219394,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:01:56] local.INFO: Processing buffer {"connection_id":219394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:01:56] local.INFO: Packet analysis {"connection_id":219394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 02:01:56] local.INFO: Extracted packet for processing {"connection_id":219394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 02:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 02:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:01:56] 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-10-16 02:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:01:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:01:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":219394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:01:56] local.INFO: GPS data processed {"connection_id":219394,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:01:56] local.INFO: Acknowledgment sent {"connection_id":219394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:01:59] local.INFO: TCP Data received {"connection_id":217649,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:01:59] local.INFO: Processing buffer {"connection_id":217649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:01:59] local.INFO: Packet analysis {"connection_id":217649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:01:59] local.INFO: Extracted packet for processing {"connection_id":217649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776559104001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096235000,"timestamp_ms":1792096235000,"timestamp_seconds":1792096235,"priority":1,"record_length":96,"hex_timestamp":"000001a141426df8"} 
[2026-10-16 02:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:01:59] 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-10-16 02:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:01:59] 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-10-16 02:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776559104001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776559104001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:01:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776559104001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":217649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:01:59] local.INFO: GPS data processed {"connection_id":217649,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:01:59] local.INFO: Acknowledgment sent {"connection_id":217649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:02:17] local.INFO: TCP Data received {"connection_id":216299,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:02:17] local.INFO: Processing buffer {"connection_id":216299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:02:17] local.INFO: IMEI packet received {"connection_id":216299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":216299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:02:22] local.INFO: TCP Data received {"connection_id":217650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:02:22] local.INFO: Processing buffer {"connection_id":217650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:02:22] local.INFO: IMEI packet received {"connection_id":217650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":217650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:02:22] local.INFO: TCP Data received {"connection_id":216299,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:02:22] local.INFO: Processing buffer {"connection_id":216299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:02:22] local.INFO: IMEI packet received {"connection_id":216299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":216299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:02:23] local.INFO: TCP Data received {"connection_id":216299,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:02:23] local.INFO: Processing buffer {"connection_id":216299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1413efb28012d7fac4005afe350002800a62b..."} 
[2026-10-16 02:02:23] local.INFO: Packet analysis {"connection_id":216299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 02:02:23] local.INFO: Extracted packet for processing {"connection_id":216299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1413e"} 
[2026-10-16 02:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":40,"angle":166,"satellites":43,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776501248001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792096009000,"timestamp_ms":1792096009000,"timestamp_seconds":1792096009,"priority":1,"record_length":96,"hex_timestamp":"000001a1413efb28"} 
[2026-10-16 02:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:02:23] 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-10-16 02: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-10-16 02:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776501248001,"66":25691,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776501248001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:02:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:02:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776501248001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":216299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:02:23] local.INFO: GPS data processed {"connection_id":216299,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:02:23] local.INFO: Acknowledgment sent {"connection_id":216299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:02:27] local.INFO: TCP Data received {"connection_id":217650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:02:27] local.INFO: Processing buffer {"connection_id":217650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:02:27] local.INFO: IMEI packet received {"connection_id":217650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":217650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:02:40] local.INFO: TCP Data received {"connection_id":217650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:02:40] local.INFO: Processing buffer {"connection_id":217650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:02:40] local.INFO: Packet analysis {"connection_id":217650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:02:40] local.INFO: Extracted packet for processing {"connection_id":217650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776559104001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792096235000,"timestamp_ms":1792096235000,"timestamp_seconds":1792096235,"priority":1,"record_length":96,"hex_timestamp":"000001a141426df8"} 
[2026-10-16 02:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02: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-10-16 02:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:02:40] 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-10-16 02:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":217650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":217650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":217650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776559104001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776559104001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:02:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776559104001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":217650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:02:40] local.INFO: GPS data processed {"connection_id":217650,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:02:40] local.INFO: Acknowledgment sent {"connection_id":217650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:02:55] local.INFO: TCP Data received {"connection_id":216299,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:02:55] local.INFO: Processing buffer {"connection_id":216299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:02:55] local.INFO: Packet analysis {"connection_id":216299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:02:55] local.INFO: Extracted packet for processing {"connection_id":216299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":37,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:02: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-10-16 02:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792096310000,"timestamp_ms":1792096310000,"timestamp_seconds":1792096310,"priority":1,"record_length":96,"hex_timestamp":"000001a1414392f0"} 
[2026-10-16 02:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776578304001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:02:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:02:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776578304001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":216299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:02:55] local.INFO: GPS data processed {"connection_id":216299,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:02:55] local.INFO: Acknowledgment sent {"connection_id":216299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:03:17] local.INFO: TCP Data received {"connection_id":216105,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:03:17] local.INFO: Processing buffer {"connection_id":216105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:03:17] local.INFO: IMEI packet received {"connection_id":216105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":216105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:03:21] local.INFO: TCP Data received {"connection_id":216106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:03:21] local.INFO: Processing buffer {"connection_id":216106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:03:21] local.INFO: IMEI packet received {"connection_id":216106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":216106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:03:22] local.INFO: TCP Data received {"connection_id":216105,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:03:22] local.INFO: Processing buffer {"connection_id":216105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:03:22] local.INFO: IMEI packet received {"connection_id":216105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":216105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:03:23] local.INFO: TCP Data received {"connection_id":216105,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:03:23] local.INFO: Processing buffer {"connection_id":216105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:03:23] local.INFO: Packet analysis {"connection_id":216105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:03:23] local.INFO: Extracted packet for processing {"connection_id":216105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":37,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792096310000,"timestamp_ms":1792096310000,"timestamp_seconds":1792096310,"priority":1,"record_length":96,"hex_timestamp":"000001a1414392f0"} 
[2026-10-16 02:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776578304001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:03:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:03:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776578304001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":216105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:03:23] local.INFO: GPS data processed {"connection_id":216105,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:03:23] local.INFO: Acknowledgment sent {"connection_id":216105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:03:26] local.INFO: TCP Data received {"connection_id":216106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:03:26] local.INFO: Processing buffer {"connection_id":216106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:03:26] local.INFO: IMEI packet received {"connection_id":216106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":216106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:03:27] local.INFO: TCP Data received {"connection_id":216106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:03:27] local.INFO: Processing buffer {"connection_id":216106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:03:27] local.INFO: Packet analysis {"connection_id":216106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:03:27] local.INFO: Extracted packet for processing {"connection_id":216106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776559104001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792096235000,"timestamp_ms":1792096235000,"timestamp_seconds":1792096235,"priority":1,"record_length":96,"hex_timestamp":"000001a141426df8"} 
[2026-10-16 02:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:03:27] 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-10-16 02:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:03: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-10-16 02:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776559104001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776559104001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:03:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776559104001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":216106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:03:27] local.INFO: GPS data processed {"connection_id":216106,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:03:27] local.INFO: Acknowledgment sent {"connection_id":216106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:03:55] local.INFO: TCP Data received {"connection_id":216105,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:03:55] local.INFO: Processing buffer {"connection_id":216105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:03:55] local.INFO: Packet analysis {"connection_id":216105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:03:55] local.INFO: Extracted packet for processing {"connection_id":216105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":37,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792096310000,"timestamp_ms":1792096310000,"timestamp_seconds":1792096310,"priority":1,"record_length":96,"hex_timestamp":"000001a1414392f0"} 
[2026-10-16 02:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776578304001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:03:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:03:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776578304001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":216105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:03:55] local.INFO: GPS data processed {"connection_id":216105,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:03:55] local.INFO: Acknowledgment sent {"connection_id":216105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:03:58] local.INFO: TCP Data received {"connection_id":216106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:03:58] local.INFO: Processing buffer {"connection_id":216106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:03:58] local.INFO: Packet analysis {"connection_id":216106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:03:58] local.INFO: Extracted packet for processing {"connection_id":216106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776559104001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792096235000,"timestamp_ms":1792096235000,"timestamp_seconds":1792096235,"priority":1,"record_length":96,"hex_timestamp":"000001a141426df8"} 
[2026-10-16 02:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:03:58] 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-10-16 02:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776559104001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776559104001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:03:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776559104001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":216106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:03:58] local.INFO: GPS data processed {"connection_id":216106,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:03:58] local.INFO: Acknowledgment sent {"connection_id":216106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:04:17] local.INFO: TCP Data received {"connection_id":219396,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:04:17] local.INFO: Processing buffer {"connection_id":219396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:04:17] local.INFO: IMEI packet received {"connection_id":219396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":219396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:04:21] local.INFO: TCP Data received {"connection_id":217651,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:04:21] local.INFO: Processing buffer {"connection_id":217651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:04:21] local.INFO: IMEI packet received {"connection_id":217651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":217651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:04:23] local.INFO: TCP Data received {"connection_id":219396,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:04:23] local.INFO: Processing buffer {"connection_id":219396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:04:23] local.INFO: IMEI packet received {"connection_id":219396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":219396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:04:24] local.INFO: TCP Data received {"connection_id":219396,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:04:24] local.INFO: Processing buffer {"connection_id":219396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:04:24] local.INFO: Packet analysis {"connection_id":219396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:04:24] local.INFO: Extracted packet for processing {"connection_id":219396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":37,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096310000,"timestamp_ms":1792096310000,"timestamp_seconds":1792096310,"priority":1,"record_length":96,"hex_timestamp":"000001a1414392f0"} 
[2026-10-16 02:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776578304001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:04:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:04:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776578304001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":219396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:04:24] local.INFO: GPS data processed {"connection_id":219396,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:04:24] local.INFO: Acknowledgment sent {"connection_id":219396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:04:26] local.INFO: TCP Data received {"connection_id":217651,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:04:26] local.INFO: Processing buffer {"connection_id":217651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:04:26] local.INFO: IMEI packet received {"connection_id":217651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":217651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:04:29] local.INFO: TCP Data received {"connection_id":217651,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:04:29] local.INFO: Processing buffer {"connection_id":217651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:04:29] local.INFO: Packet analysis {"connection_id":217651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:04:29] local.INFO: Extracted packet for processing {"connection_id":217651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:04: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-10-16 02:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776559104001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792096235000,"timestamp_ms":1792096235000,"timestamp_seconds":1792096235,"priority":1,"record_length":96,"hex_timestamp":"000001a141426df8"} 
[2026-10-16 02:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:04: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:04:29] 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-10-16 02:04: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-10-16 02:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776559104001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776559104001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:04:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776559104001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":217651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:04:29] local.INFO: GPS data processed {"connection_id":217651,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:04:29] local.INFO: Acknowledgment sent {"connection_id":217651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:04:56] local.INFO: TCP Data received {"connection_id":219396,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:04:56] local.INFO: Processing buffer {"connection_id":219396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:04:56] local.INFO: Packet analysis {"connection_id":219396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:04:56] local.INFO: Extracted packet for processing {"connection_id":219396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":37,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792096310000,"timestamp_ms":1792096310000,"timestamp_seconds":1792096310,"priority":1,"record_length":96,"hex_timestamp":"000001a1414392f0"} 
[2026-10-16 02:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776578304001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:04:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:04:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776578304001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":219396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:04:56] local.INFO: GPS data processed {"connection_id":219396,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:04:56] local.INFO: Acknowledgment sent {"connection_id":219396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:05:03] local.INFO: TCP Data received {"connection_id":217651,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:05:03] local.INFO: Processing buffer {"connection_id":217651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:05:03] local.INFO: Packet analysis {"connection_id":217651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:05:03] local.INFO: Extracted packet for processing {"connection_id":217651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776559104001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792096235000,"timestamp_ms":1792096235000,"timestamp_seconds":1792096235,"priority":1,"record_length":96,"hex_timestamp":"000001a141426df8"} 
[2026-10-16 02:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:05:03] 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-10-16 02:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776559104001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776559104001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:05:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:05:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776559104001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":217651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:05:03] local.INFO: GPS data processed {"connection_id":217651,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:05:03] local.INFO: Acknowledgment sent {"connection_id":217651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:05:17] local.INFO: TCP Data received {"connection_id":216301,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:05:17] local.INFO: Processing buffer {"connection_id":216301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:05:17] local.INFO: IMEI packet received {"connection_id":216301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":216301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:05:21] local.INFO: TCP Data received {"connection_id":216108,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:05:21] local.INFO: Processing buffer {"connection_id":216108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:05:21] local.INFO: IMEI packet received {"connection_id":216108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":216108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:05:23] local.INFO: TCP Data received {"connection_id":216107,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:05:23] local.INFO: Processing buffer {"connection_id":216107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:05:23] local.INFO: IMEI packet received {"connection_id":216107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":216107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:05:23] local.INFO: TCP Data received {"connection_id":216301,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:05:23] local.INFO: Processing buffer {"connection_id":216301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:05:23] local.INFO: IMEI packet received {"connection_id":216301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":216301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:05:24] local.INFO: TCP Data received {"connection_id":216107,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414515a8012d61c840062940b00009015231..."} 
[2026-10-16 02:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414515a8012d61c840062940b00009015231..."} 
[2026-10-16 02:05:24] local.INFO: Processing buffer {"connection_id":216107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414515a8012d61c840062940b00009015231..."} 
[2026-10-16 02:05:24] local.INFO: Packet analysis {"connection_id":216107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14145"} 
[2026-10-16 02:05:24] local.INFO: Extracted packet for processing {"connection_id":216107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14145"} 
[2026-10-16 02:05:24] local.INFO: GPS Element Parsed {"raw_longitude":761382976,"raw_latitude":103366832,"longitude_deg":76.1382976,"latitude_deg":10.3366832,"altitude":9,"angle":338,"satellites":49,"speed":57,"hex_longitude":"2d61c840","hex_latitude":"062940b0","is_valid_coordinates":true} 
[2026-10-16 02:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776678912001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12088460332498944,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7050385243108081664,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096409000,"timestamp_ms":1792096409000,"timestamp_seconds":1792096409,"priority":1,"record_length":96,"hex_timestamp":"000001a1414515a8"} 
[2026-10-16 02:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 02:05:24] 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-10-16 02:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776678912001,"66":27343,"13":206,"19":40192,"24":57,"16":12088460332498944,"45":7050385243108081664},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-10-16 02:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776678912001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:05:24] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-10-16 02:05:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12088460332498944,"km_value":12088460332498.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7050385243108081664,"description":"Unknown IO ID 45"} 
[2026-10-16 02:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776678912001,"power":27343,"unknown_13":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":7050385243108081664}} 
[2026-10-16 02:05:24] local.INFO: TCP Data received {"connection_id":216301,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:05:24] local.INFO: Processing buffer {"connection_id":216301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:05:24] local.INFO: Packet analysis {"connection_id":216301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:05:24] local.INFO: Extracted packet for processing {"connection_id":216301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":37,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096310000,"timestamp_ms":1792096310000,"timestamp_seconds":1792096310,"priority":1,"record_length":96,"hex_timestamp":"000001a1414392f0"} 
[2026-10-16 02:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776578304001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:05:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:05:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776578304001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":216301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:05:24] local.INFO: GPS data processed {"connection_id":216301,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:05:24] local.INFO: Acknowledgment sent {"connection_id":216301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":216107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:05:24] local.INFO: GPS data processed {"connection_id":216107,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:05:24] local.INFO: Acknowledgment sent {"connection_id":216107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:05:26] local.INFO: TCP Data received {"connection_id":216108,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:05:27] local.INFO: Processing buffer {"connection_id":216108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:05:27] local.INFO: IMEI packet received {"connection_id":216108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":216108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:05:27] local.INFO: TCP Data received {"connection_id":216108,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:05:27] local.INFO: Processing buffer {"connection_id":216108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141426df8012d7c240005dad510000000ea26..."} 
[2026-10-16 02:05:27] local.INFO: Packet analysis {"connection_id":216108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:05:27] local.INFO: Extracted packet for processing {"connection_id":216108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14142"} 
[2026-10-16 02:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776559104001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792096235000,"timestamp_ms":1792096235000,"timestamp_seconds":1792096235,"priority":1,"record_length":96,"hex_timestamp":"000001a141426df8"} 
[2026-10-16 02:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:05:27] 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-10-16 02:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:05:27] 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-10-16 02:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776559104001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776559104001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:05:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776559104001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":216108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:05:27] local.INFO: GPS data processed {"connection_id":216108,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:05:27] local.INFO: Acknowledgment sent {"connection_id":216108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:05:55] local.INFO: TCP Data received {"connection_id":216301,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:05:55] local.INFO: Processing buffer {"connection_id":216301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:05:55] local.INFO: Packet analysis {"connection_id":216301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:05:55] local.INFO: Extracted packet for processing {"connection_id":216301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":37,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792096310000,"timestamp_ms":1792096310000,"timestamp_seconds":1792096310,"priority":1,"record_length":96,"hex_timestamp":"000001a1414392f0"} 
[2026-10-16 02:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776578304001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:05:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:05:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776578304001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":216301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:05:55] local.INFO: GPS data processed {"connection_id":216301,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:05:55] local.INFO: Acknowledgment sent {"connection_id":216301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:05:57] local.INFO: TCP Data received {"connection_id":216109,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:05:57] local.INFO: Processing buffer {"connection_id":216109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:05:57] local.INFO: IMEI packet received {"connection_id":216109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":216109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:05:59] local.INFO: TCP Data received {"connection_id":216108,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:05:59] local.INFO: Processing buffer {"connection_id":216108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:05:59] local.INFO: Packet analysis {"connection_id":216108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:05:59] local.INFO: Extracted packet for processing {"connection_id":216108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776636160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096536000,"timestamp_ms":1792096536000,"timestamp_seconds":1792096536,"priority":1,"record_length":96,"hex_timestamp":"000001a1414705c0"} 
[2026-10-16 02:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:05:59] 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-10-16 02: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-10-16 02:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:05:59] 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-10-16 02:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776636160001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776636160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:05:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776636160001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":216108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:05:59] local.INFO: GPS data processed {"connection_id":216108,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:05:59] local.INFO: Acknowledgment sent {"connection_id":216108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:05:59] local.INFO: TCP Data received {"connection_id":216109,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:05:59] local.INFO: Processing buffer {"connection_id":216109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:05:59] local.INFO: IMEI packet received {"connection_id":216109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":216109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:06:03] local.INFO: TCP Data received {"connection_id":216109,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:06:03] local.INFO: Processing buffer {"connection_id":216109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:06:03] local.INFO: IMEI packet received {"connection_id":216109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":216109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:06:05] local.INFO: TCP Data received {"connection_id":216109,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141464270012d611900062acc780004014a31..."} 
[2026-10-16 02:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141464270012d611900062acc780004014a31..."} 
[2026-10-16 02:06:05] local.INFO: Processing buffer {"connection_id":216109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141464270012d611900062acc780004014a31..."} 
[2026-10-16 02:06:05] local.INFO: Packet analysis {"connection_id":216109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14146"} 
[2026-10-16 02:06:05] local.INFO: Extracted packet for processing {"connection_id":216109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14146"} 
[2026-10-16 02:06:05] local.INFO: GPS Element Parsed {"raw_longitude":761338112,"raw_latitude":103468152,"longitude_deg":76.1338112,"latitude_deg":10.3468152,"altitude":4,"angle":330,"satellites":49,"speed":58,"hex_longitude":"2d611900","hex_latitude":"062acc78","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776698624001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12093829041618944,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7001760440907264000,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792096486000,"timestamp_ms":1792096486000,"timestamp_seconds":1792096486,"priority":1,"record_length":96,"hex_timestamp":"000001a141464270"} 
[2026-10-16 02:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02: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-10-16 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776698624001,"66":27104,"122":206,"19":40192,"24":58,"16":12093829041618944,"45":7001760440907264000},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-10-16 02:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776698624001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:06:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 02:06:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12093829041618944,"km_value":12093829041618.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7001760440907264000,"description":"Unknown IO ID 45"} 
[2026-10-16 02:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776698624001,"power":27104,"unknown_122":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":7001760440907264000}} 
[2026-10-16 02:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":216109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:06:05] local.INFO: GPS data processed {"connection_id":216109,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:06:05] local.INFO: Acknowledgment sent {"connection_id":216109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:06:06] local.INFO: TCP Data received {"connection_id":216109,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414659e0012d610680062ae9f8000501462f..."} 
[2026-10-16 02:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414659e0012d610680062ae9f8000501462f..."} 
[2026-10-16 02:06:06] local.INFO: Processing buffer {"connection_id":216109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414659e0012d610680062ae9f8000501462f..."} 
[2026-10-16 02:06:06] local.INFO: Packet analysis {"connection_id":216109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14146"} 
[2026-10-16 02:06:06] local.INFO: Extracted packet for processing {"connection_id":216109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14146"} 
[2026-10-16 02:06:06] local.INFO: GPS Element Parsed {"raw_longitude":761333376,"raw_latitude":103475704,"longitude_deg":76.1333376,"latitude_deg":10.3475704,"altitude":5,"angle":326,"satellites":47,"speed":58,"hex_longitude":"2d610680","hex_latitude":"062ae9f8","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776700416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12094258538348544,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6996623522584623104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792096492000,"timestamp_ms":1792096492000,"timestamp_seconds":1792096492,"priority":1,"record_length":96,"hex_timestamp":"000001a1414659e0"} 
[2026-10-16 02:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:06: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-10-16 02: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 02:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776700416001,"66":27104,"122":206,"19":40192,"24":58,"16":12094258538348544,"45":6996623522584623104},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-10-16 02:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776700416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:06:06] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 02:06:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12094258538348544,"km_value":12094258538348.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6996623522584623104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776700416001,"power":27104,"unknown_122":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6996623522584623104}} 
[2026-10-16 02:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":216109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:06:06] local.INFO: GPS data processed {"connection_id":216109,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:06:06] local.INFO: Acknowledgment sent {"connection_id":216109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:06:22] local.INFO: TCP Data received {"connection_id":219397,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:06:22] local.INFO: Processing buffer {"connection_id":219397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:06:22] local.INFO: IMEI packet received {"connection_id":219397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":219397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:06:23] local.INFO: TCP Data received {"connection_id":216110,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:06:23] local.INFO: Processing buffer {"connection_id":216110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:06:23] local.INFO: IMEI packet received {"connection_id":216110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":216110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:06:26] local.INFO: TCP Data received {"connection_id":219397,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:06:26] local.INFO: Processing buffer {"connection_id":219397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:06:26] local.INFO: IMEI packet received {"connection_id":219397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":219397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:06:27] local.INFO: TCP Data received {"connection_id":219397,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:06:27] local.INFO: Processing buffer {"connection_id":219397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:06:27] local.INFO: Packet analysis {"connection_id":219397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:06:27] local.INFO: Extracted packet for processing {"connection_id":219397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776636160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792096536000,"timestamp_ms":1792096536000,"timestamp_seconds":1792096536,"priority":1,"record_length":96,"hex_timestamp":"000001a1414705c0"} 
[2026-10-16 02:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:06:27] 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-10-16 02: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-10-16 02:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776636160001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776636160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:06:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776636160001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":219397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:06:27] local.INFO: GPS data processed {"connection_id":219397,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:06:27] local.INFO: Acknowledgment sent {"connection_id":219397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:06:28] local.INFO: TCP Data received {"connection_id":216110,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:06:28] local.INFO: Processing buffer {"connection_id":216110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:06:28] local.INFO: IMEI packet received {"connection_id":216110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":216110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:06:29] local.INFO: TCP Data received {"connection_id":216110,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:06:29] local.INFO: Processing buffer {"connection_id":216110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:06:29] local.INFO: Packet analysis {"connection_id":216110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:06:29] local.INFO: Extracted packet for processing {"connection_id":216110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":37,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792096310000,"timestamp_ms":1792096310000,"timestamp_seconds":1792096310,"priority":1,"record_length":96,"hex_timestamp":"000001a1414392f0"} 
[2026-10-16 02:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776578304001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:06:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:06:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776578304001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":216110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:06:29] local.INFO: GPS data processed {"connection_id":216110,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:06:29] local.INFO: Acknowledgment sent {"connection_id":216110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:06:34] local.INFO: TCP Data received {"connection_id":216110,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:06:34] local.INFO: Processing buffer {"connection_id":216110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:06:34] local.INFO: Packet analysis {"connection_id":216110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:06:34] local.INFO: Extracted packet for processing {"connection_id":216110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:06:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":37,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792096310000,"timestamp_ms":1792096310000,"timestamp_seconds":1792096310,"priority":1,"record_length":96,"hex_timestamp":"000001a1414392f0"} 
[2026-10-16 02:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776578304001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:06:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:06:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776578304001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":216110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:06:34] local.INFO: GPS data processed {"connection_id":216110,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:06:34] local.INFO: Acknowledgment sent {"connection_id":216110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:06:43] local.INFO: TCP Data received {"connection_id":216109,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141467538012d60f040062b0b30000601462f..."} 
[2026-10-16 02:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141467538012d60f040062b0b30000601462f..."} 
[2026-10-16 02:06:43] local.INFO: Processing buffer {"connection_id":216109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141467538012d60f040062b0b30000601462f..."} 
[2026-10-16 02:06:43] local.INFO: Packet analysis {"connection_id":216109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14146"} 
[2026-10-16 02:06:43] local.INFO: Extracted packet for processing {"connection_id":216109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14146"} 
[2026-10-16 02:06:43] local.INFO: GPS Element Parsed {"raw_longitude":761327680,"raw_latitude":103484208,"longitude_deg":76.132768,"latitude_deg":10.3484208,"altitude":6,"angle":326,"satellites":47,"speed":57,"hex_longitude":"2d60f040","hex_latitude":"062b0b30","is_valid_coordinates":true} 
[2026-10-16 02:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776701952001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12094756754554880,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6991416235517409280,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792096499000,"timestamp_ms":1792096499000,"timestamp_seconds":1792096499,"priority":1,"record_length":96,"hex_timestamp":"000001a141467538"} 
[2026-10-16 02:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02: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-10-16 02:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 02:06:43] 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-10-16 02:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":216109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":216109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":216109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776701952001,"66":27234,"122":206,"19":40192,"24":57,"16":12094756754554880,"45":6991416235517409280},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-10-16 02:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776701952001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:06:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 02:06:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12094756754554880,"km_value":12094756754554.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6991416235517409280,"description":"Unknown IO ID 45"} 
[2026-10-16 02:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776701952001,"power":27234,"unknown_122":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6991416235517409280}} 
[2026-10-16 02:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":216109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043608,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:06:43] local.INFO: GPS data processed {"connection_id":216109,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:06:43] local.INFO: Acknowledgment sent {"connection_id":216109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:06:58] local.INFO: TCP Data received {"connection_id":216302,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:06:58] local.INFO: Processing buffer {"connection_id":216302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:06:58] local.INFO: IMEI packet received {"connection_id":216302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":216302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:06:58] local.INFO: TCP Data received {"connection_id":219397,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:06:58] local.INFO: Processing buffer {"connection_id":219397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:06:58] local.INFO: Packet analysis {"connection_id":219397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:06:58] local.INFO: Extracted packet for processing {"connection_id":219397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:06: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-10-16 02:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776636160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792096536000,"timestamp_ms":1792096536000,"timestamp_seconds":1792096536,"priority":1,"record_length":96,"hex_timestamp":"000001a1414705c0"} 
[2026-10-16 02:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:06: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:06:58] 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-10-16 02:06: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-10-16 02:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776636160001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776636160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:06:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:06:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776636160001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":219397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:06:58] local.INFO: GPS data processed {"connection_id":219397,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:06:58] local.INFO: Acknowledgment sent {"connection_id":219397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:07:01] local.INFO: TCP Data received {"connection_id":216302,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:07:01] local.INFO: Processing buffer {"connection_id":216302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:07:01] local.INFO: IMEI packet received {"connection_id":216302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":216302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:07:03] local.INFO: TCP Data received {"connection_id":216302,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141469090012d60dc00062b2b20000a014b32..."} 
[2026-10-16 02:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141469090012d60dc00062b2b20000a014b32..."} 
[2026-10-16 02:07:03] local.INFO: Processing buffer {"connection_id":216302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141469090012d60dc00062b2b20000a014b32..."} 
[2026-10-16 02:07:03] local.INFO: Packet analysis {"connection_id":216302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14146"} 
[2026-10-16 02:07:03] local.INFO: Extracted packet for processing {"connection_id":216302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14146"} 
[2026-10-16 02:07:03] local.INFO: GPS Element Parsed {"raw_longitude":761322496,"raw_latitude":103492384,"longitude_deg":76.1322496,"latitude_deg":10.3492384,"altitude":10,"angle":331,"satellites":50,"speed":53,"hex_longitude":"2d60dc00","hex_latitude":"062b2b20","is_valid_coordinates":true} 
[2026-10-16 02:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776703744001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12095220611022848,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6985153417287774208,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792096506000,"timestamp_ms":1792096506000,"timestamp_seconds":1792096506,"priority":1,"record_length":96,"hex_timestamp":"000001a141469090"} 
[2026-10-16 02:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:07: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-10-16 02:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 02:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776703744001,"66":27289,"122":206,"19":40192,"24":53,"16":12095220611022848,"45":6985153417287774208},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-10-16 02:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776703744001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:07:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 02:07:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12095220611022848,"km_value":12095220611022.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6985153417287774208,"description":"Unknown IO ID 45"} 
[2026-10-16 02:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776703744001,"power":27289,"unknown_122":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":6985153417287774208}} 
[2026-10-16 02:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":216302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:07:03] local.INFO: GPS data processed {"connection_id":216302,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:07:03] local.INFO: Acknowledgment sent {"connection_id":216302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:07:17] local.INFO: TCP Data received {"connection_id":217652,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:07:17] local.INFO: Processing buffer {"connection_id":217652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:07:17] local.INFO: IMEI packet received {"connection_id":217652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":217652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:07:21] local.INFO: TCP Data received {"connection_id":216303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:07:21] local.INFO: Processing buffer {"connection_id":216303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:07:21] local.INFO: IMEI packet received {"connection_id":216303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":216303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:07:22] local.INFO: TCP Data received {"connection_id":217652,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:07:22] local.INFO: Processing buffer {"connection_id":217652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:07:22] local.INFO: IMEI packet received {"connection_id":217652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":217652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:07:23] local.INFO: TCP Data received {"connection_id":217652,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:07:23] local.INFO: Processing buffer {"connection_id":217652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414392f0012d7fac4005afe350002500a629..."} 
[2026-10-16 02:07:23] local.INFO: Packet analysis {"connection_id":217652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:07:23] local.INFO: Extracted packet for processing {"connection_id":217652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14143"} 
[2026-10-16 02:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":37,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792096310000,"timestamp_ms":1792096310000,"timestamp_seconds":1792096310,"priority":1,"record_length":96,"hex_timestamp":"000001a1414392f0"} 
[2026-10-16 02:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776578304001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:07:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:07:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776578304001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":217652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:07:23] local.INFO: GPS data processed {"connection_id":217652,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:07:23] local.INFO: Acknowledgment sent {"connection_id":217652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:07:26] local.INFO: TCP Data received {"connection_id":216303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:07:26] local.INFO: Processing buffer {"connection_id":216303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:07:26] local.INFO: IMEI packet received {"connection_id":216303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":216303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:07:27] local.INFO: TCP Data received {"connection_id":216303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:07:27] local.INFO: Processing buffer {"connection_id":216303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:07:27] local.INFO: Packet analysis {"connection_id":216303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:07:27] local.INFO: Extracted packet for processing {"connection_id":216303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776636160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792096536000,"timestamp_ms":1792096536000,"timestamp_seconds":1792096536,"priority":1,"record_length":96,"hex_timestamp":"000001a1414705c0"} 
[2026-10-16 02:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:07:27] 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-10-16 02:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776636160001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776636160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:07:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776636160001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":216303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:07:27] local.INFO: GPS data processed {"connection_id":216303,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:07:27] local.INFO: Acknowledgment sent {"connection_id":216303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:07:35] local.INFO: TCP Data received {"connection_id":216302,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14147f020012d603480062cfea00005015033..."} 
[2026-10-16 02:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14147f020012d603480062cfea00005015033..."} 
[2026-10-16 02:07:35] local.INFO: Processing buffer {"connection_id":216302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14147f020012d603480062cfea00005015033..."} 
[2026-10-16 02:07:35] local.INFO: Packet analysis {"connection_id":216302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:07:35] local.INFO: Extracted packet for processing {"connection_id":216302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:07:35] local.INFO: GPS Element Parsed {"raw_longitude":761279616,"raw_latitude":103612064,"longitude_deg":76.1279616,"latitude_deg":10.3612064,"altitude":5,"angle":336,"satellites":51,"speed":56,"hex_longitude":"2d603480","hex_latitude":"062cfea0","is_valid_coordinates":true} 
[2026-10-16 02:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776726784001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12101405363929088,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6936669352579751936,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792096596000,"timestamp_ms":1792096596000,"timestamp_seconds":1792096596,"priority":1,"record_length":96,"hex_timestamp":"000001a14147f020"} 
[2026-10-16 02:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:07: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-10-16 02:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 02:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776726784001,"66":27137,"113":206,"19":40192,"24":56,"16":12101405363929088,"45":6936669352579751936},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,19,24,16,45]} 
[2026-10-16 02:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776726784001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:07:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-10-16 02:07:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12101405363929088,"km_value":12101405363929.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6936669352579751936,"description":"Unknown IO ID 45"} 
[2026-10-16 02:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776726784001,"power":27137,"unknown_113":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6936669352579751936}} 
[2026-10-16 02:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":216302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:07:35] local.INFO: GPS data processed {"connection_id":216302,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:07:35] local.INFO: Acknowledgment sent {"connection_id":216302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:07:52] local.INFO: TCP Data received {"connection_id":217653,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:07:52] local.INFO: Processing buffer {"connection_id":217653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:07:52] local.INFO: IMEI packet received {"connection_id":217653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":217653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:07:54] local.INFO: TCP Data received {"connection_id":217652,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:07:54] local.INFO: Processing buffer {"connection_id":217652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:07:54] local.INFO: Packet analysis {"connection_id":217652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:07:54] local.INFO: Extracted packet for processing {"connection_id":217652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776655360001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792096611000,"timestamp_ms":1792096611000,"timestamp_seconds":1792096611,"priority":1,"record_length":96,"hex_timestamp":"000001a141482ab8"} 
[2026-10-16 02:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:07:54] 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-10-16 02: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-10-16 02:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776655360001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776655360001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:07:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:07:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776655360001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":217652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:07:54] local.INFO: GPS data processed {"connection_id":217652,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:07:54] local.INFO: Acknowledgment sent {"connection_id":217652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:07:58] local.INFO: TCP Data received {"connection_id":217653,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:07:58] local.INFO: Processing buffer {"connection_id":217653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:07:58] local.INFO: IMEI packet received {"connection_id":217653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":217653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:07:59] local.INFO: TCP Data received {"connection_id":216303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:07:59] local.INFO: Processing buffer {"connection_id":216303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:07:59] local.INFO: Packet analysis {"connection_id":216303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:07:59] local.INFO: Extracted packet for processing {"connection_id":216303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776636160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096536000,"timestamp_ms":1792096536000,"timestamp_seconds":1792096536,"priority":1,"record_length":96,"hex_timestamp":"000001a1414705c0"} 
[2026-10-16 02:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:07:59] 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-10-16 02:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776636160001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776636160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:07:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776636160001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":216303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:07:59] local.INFO: GPS data processed {"connection_id":216303,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:07:59] local.INFO: Acknowledgment sent {"connection_id":216303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:07:59] local.INFO: TCP Data received {"connection_id":217653,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141480b78012d6024c0062d22280005014f32..."} 
[2026-10-16 02:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141480b78012d6024c0062d22280005014f32..."} 
[2026-10-16 02:07:59] local.INFO: Processing buffer {"connection_id":217653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141480b78012d6024c0062d22280005014f32..."} 
[2026-10-16 02:07:59] local.INFO: Packet analysis {"connection_id":217653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:07:59] local.INFO: Extracted packet for processing {"connection_id":217653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:07:59] local.INFO: GPS Element Parsed {"raw_longitude":761275584,"raw_latitude":103621160,"longitude_deg":76.1275584,"latitude_deg":10.362116,"altitude":5,"angle":335,"satellites":50,"speed":56,"hex_longitude":"2d6024c0","hex_latitude":"062d2228","is_valid_coordinates":true} 
[2026-10-16 02:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776728576001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12101886400266240,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6932306490443079680,"note":"Value kept but may cause issues"} 
[2026-10-16 02:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096603000,"timestamp_ms":1792096603000,"timestamp_seconds":1792096603,"priority":1,"record_length":96,"hex_timestamp":"000001a141480b78"} 
[2026-10-16 02:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-10-16 02:07:59] 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-10-16 02:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776728576001,"66":27289,"175":206,"19":40192,"24":56,"16":12101886400266240,"45":6932306490443079680},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-10-16 02:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776728576001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:07:59] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-10-16 02:07:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12101886400266240,"km_value":12101886400266.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6932306490443079680,"description":"Unknown IO ID 45"} 
[2026-10-16 02:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776728576001,"power":27289,"unknown_175":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6932306490443079680}} 
[2026-10-16 02:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":217653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:07:59] local.INFO: GPS data processed {"connection_id":217653,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:07:59] local.INFO: Acknowledgment sent {"connection_id":217653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:08:22] local.INFO: TCP Data received {"connection_id":219399,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:08:22] local.INFO: Processing buffer {"connection_id":219399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:08:22] local.INFO: IMEI packet received {"connection_id":219399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":219399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:08:23] local.INFO: TCP Data received {"connection_id":219398,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:08:23] local.INFO: Processing buffer {"connection_id":219398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:08:23] local.INFO: IMEI packet received {"connection_id":219398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":219398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:08:26] local.INFO: TCP Data received {"connection_id":219399,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:08:26] local.INFO: Processing buffer {"connection_id":219399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:08:26] local.INFO: IMEI packet received {"connection_id":219399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":219399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:08:27] local.INFO: TCP Data received {"connection_id":219399,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:08:27] local.INFO: Processing buffer {"connection_id":219399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:08:27] local.INFO: Packet analysis {"connection_id":219399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:08:27] local.INFO: Extracted packet for processing {"connection_id":219399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776636160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792096536000,"timestamp_ms":1792096536000,"timestamp_seconds":1792096536,"priority":1,"record_length":96,"hex_timestamp":"000001a1414705c0"} 
[2026-10-16 02:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:08:27] 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-10-16 02:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776636160001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776636160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:08:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776636160001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":219399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:08:27] local.INFO: GPS data processed {"connection_id":219399,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:08:27] local.INFO: Acknowledgment sent {"connection_id":219399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:08:28] local.INFO: TCP Data received {"connection_id":219398,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:08:28] local.INFO: Processing buffer {"connection_id":219398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:08:28] local.INFO: IMEI packet received {"connection_id":219398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":219398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:08:29] local.INFO: TCP Data received {"connection_id":219398,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:08:29] local.INFO: Processing buffer {"connection_id":219398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:08:29] local.INFO: Packet analysis {"connection_id":219398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:08:29] local.INFO: Extracted packet for processing {"connection_id":219398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776655360001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792096611000,"timestamp_ms":1792096611000,"timestamp_seconds":1792096611,"priority":1,"record_length":96,"hex_timestamp":"000001a141482ab8"} 
[2026-10-16 02:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:08:29] 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-10-16 02:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776655360001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776655360001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:08:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:08:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776655360001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":219398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:08:29] local.INFO: GPS data processed {"connection_id":219398,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:08:29] local.INFO: Acknowledgment sent {"connection_id":219398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:08:30] local.INFO: TCP Data received {"connection_id":217653,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414826d0012d601440062d45b00006014f31..."} 
[2026-10-16 02:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414826d0012d601440062d45b00006014f31..."} 
[2026-10-16 02:08:30] local.INFO: Processing buffer {"connection_id":217653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414826d0012d601440062d45b00006014f31..."} 
[2026-10-16 02:08:30] local.INFO: Packet analysis {"connection_id":217653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:08:30] local.INFO: Extracted packet for processing {"connection_id":217653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:08:30] local.INFO: GPS Element Parsed {"raw_longitude":761271360,"raw_latitude":103630256,"longitude_deg":76.127136,"latitude_deg":10.3630256,"altitude":6,"angle":335,"satellites":49,"speed":57,"hex_longitude":"2d601440","hex_latitude":"062d45b0","is_valid_coordinates":true} 
[2026-10-16 02:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776730368001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12102367436603392,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6927873259562215424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792096610000,"timestamp_ms":1792096610000,"timestamp_seconds":1792096610,"priority":1,"record_length":96,"hex_timestamp":"000001a1414826d0"} 
[2026-10-16 02:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:08: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-10-16 02:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 02:08:30] 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-10-16 02:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776730368001,"66":27050,"175":206,"19":40192,"24":57,"16":12102367436603392,"45":6927873259562215424},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-10-16 02:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776730368001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:08:30] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-10-16 02:08:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12102367436603392,"km_value":12102367436603.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6927873259562215424,"description":"Unknown IO ID 45"} 
[2026-10-16 02:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776730368001,"power":27050,"unknown_175":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6927873259562215424}} 
[2026-10-16 02:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":217653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:08:30] local.INFO: GPS data processed {"connection_id":217653,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:08:30] local.INFO: Acknowledgment sent {"connection_id":217653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:08:33] local.INFO: TCP Data received {"connection_id":219398,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:08:33] local.INFO: Processing buffer {"connection_id":219398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:08:33] local.INFO: Packet analysis {"connection_id":219398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:08:33] local.INFO: Extracted packet for processing {"connection_id":219398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776655360001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792096611000,"timestamp_ms":1792096611000,"timestamp_seconds":1792096611,"priority":1,"record_length":96,"hex_timestamp":"000001a141482ab8"} 
[2026-10-16 02:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776655360001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776655360001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:08:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:08:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776655360001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":219398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:08:33] local.INFO: GPS data processed {"connection_id":219398,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:08:33] local.INFO: Acknowledgment sent {"connection_id":219398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:08:52] local.INFO: TCP Data received {"connection_id":216304,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:08:52] local.INFO: Processing buffer {"connection_id":216304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:08:52] local.INFO: IMEI packet received {"connection_id":216304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":216304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:08:54] local.INFO: TCP Data received {"connection_id":216304,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:08:54] local.INFO: Processing buffer {"connection_id":216304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:08:54] local.INFO: IMEI packet received {"connection_id":216304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":216304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:08:57] local.INFO: TCP Data received {"connection_id":216304,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:08:57] local.INFO: Processing buffer {"connection_id":216304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:08:57] local.INFO: IMEI packet received {"connection_id":216304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":216304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:08:58] local.INFO: TCP Data received {"connection_id":216304,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141484228012d600480062d69c00005015031..."} 
[2026-10-16 02:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141484228012d600480062d69c00005015031..."} 
[2026-10-16 02:08:58] local.INFO: Processing buffer {"connection_id":216304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141484228012d600480062d69c00005015031..."} 
[2026-10-16 02:08:58] local.INFO: Packet analysis {"connection_id":216304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:08:58] local.INFO: Extracted packet for processing {"connection_id":216304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:08:58] local.INFO: GPS Element Parsed {"raw_longitude":761267328,"raw_latitude":103639488,"longitude_deg":76.1267328,"latitude_deg":10.3639488,"altitude":5,"angle":336,"satellites":49,"speed":57,"hex_longitude":"2d600480","hex_latitude":"062d69c0","is_valid_coordinates":true} 
[2026-10-16 02:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12102857062875136,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6923228922448818176,"note":"Value kept but may cause issues"} 
[2026-10-16 02:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792096617000,"timestamp_ms":1792096617000,"timestamp_seconds":1792096617,"priority":1,"record_length":96,"hex_timestamp":"000001a141484228"} 
[2026-10-16 02:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 02:08:58] 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-10-16 02:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732160001,"66":26984,"175":206,"19":40192,"24":57,"16":12102857062875136,"45":6923228922448818176},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-10-16 02:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:08:58] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-10-16 02:08:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12102857062875136,"km_value":12102857062875.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6923228922448818176,"description":"Unknown IO ID 45"} 
[2026-10-16 02:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732160001,"power":26984,"unknown_175":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6923228922448818176}} 
[2026-10-16 02:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":216304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043621,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:08:59] local.INFO: GPS data processed {"connection_id":216304,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:08:59] local.INFO: Acknowledgment sent {"connection_id":216304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:09:10] local.INFO: TCP Data received {"connection_id":219399,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:09:10] local.INFO: Processing buffer {"connection_id":219399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:09:10] local.INFO: Packet analysis {"connection_id":219399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:09:10] local.INFO: Extracted packet for processing {"connection_id":219399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 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-10-16 02:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776636160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792096536000,"timestamp_ms":1792096536000,"timestamp_seconds":1792096536,"priority":1,"record_length":96,"hex_timestamp":"000001a1414705c0"} 
[2026-10-16 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-10-16 02:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:09:10] 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-10-16 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-10-16 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-10-16 02:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":219399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":219399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":219399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776636160001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776636160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:09:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776636160001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":219399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:09:10] local.INFO: GPS data processed {"connection_id":219399,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:09:10] local.INFO: Acknowledgment sent {"connection_id":219399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:09:18] local.INFO: TCP Data received {"connection_id":217654,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:09:18] local.INFO: Processing buffer {"connection_id":217654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:09:18] local.INFO: IMEI packet received {"connection_id":217654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":217654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:09:21] local.INFO: TCP Data received {"connection_id":217655,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:09:21] local.INFO: Processing buffer {"connection_id":217655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:09:21] local.INFO: IMEI packet received {"connection_id":217655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":217655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:09:23] local.INFO: TCP Data received {"connection_id":217654,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:09:23] local.INFO: Processing buffer {"connection_id":217654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:09:23] local.INFO: IMEI packet received {"connection_id":217654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":217654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:09:24] local.INFO: TCP Data received {"connection_id":217654,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:09:24] local.INFO: Processing buffer {"connection_id":217654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:09:24] local.INFO: Packet analysis {"connection_id":217654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:09:24] local.INFO: Extracted packet for processing {"connection_id":217654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776655360001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096611000,"timestamp_ms":1792096611000,"timestamp_seconds":1792096611,"priority":1,"record_length":96,"hex_timestamp":"000001a141482ab8"} 
[2026-10-16 02:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:09:24] 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-10-16 02:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776655360001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776655360001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:09:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:09:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776655360001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":217654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:09:24] local.INFO: GPS data processed {"connection_id":217654,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:09:24] local.INFO: Acknowledgment sent {"connection_id":217654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:09:27] local.INFO: TCP Data received {"connection_id":217655,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:09:27] local.INFO: Processing buffer {"connection_id":217655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:09:27] local.INFO: IMEI packet received {"connection_id":217655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":217655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:09:28] local.INFO: TCP Data received {"connection_id":217655,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:09:28] local.INFO: Processing buffer {"connection_id":217655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:09:28] local.INFO: Packet analysis {"connection_id":217655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:09:28] local.INFO: Extracted packet for processing {"connection_id":217655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:09:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776636160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792096536000,"timestamp_ms":1792096536000,"timestamp_seconds":1792096536,"priority":1,"record_length":96,"hex_timestamp":"000001a1414705c0"} 
[2026-10-16 02:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:09:28] 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-10-16 02:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776636160001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776636160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:09:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776636160001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":217655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:09:28] local.INFO: GPS data processed {"connection_id":217655,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:09:28] local.INFO: Acknowledgment sent {"connection_id":217655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:09:30] local.INFO: TCP Data received {"connection_id":216304,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141498e30012d5f8ac0062f06200007014b2f..."} 
[2026-10-16 02:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141498e30012d5f8ac0062f06200007014b2f..."} 
[2026-10-16 02:09:30] local.INFO: Processing buffer {"connection_id":216304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141498e30012d5f8ac0062f06200007014b2f..."} 
[2026-10-16 02:09:30] local.INFO: Packet analysis {"connection_id":216304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14149"} 
[2026-10-16 02:09:30] local.INFO: Extracted packet for processing {"connection_id":216304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14149"} 
[2026-10-16 02:09:30] local.INFO: GPS Element Parsed {"raw_longitude":761236160,"raw_latitude":103745056,"longitude_deg":76.123616,"latitude_deg":10.3745056,"altitude":7,"angle":331,"satellites":47,"speed":31,"hex_longitude":"2d5f8ac0","hex_latitude":"062f0620","is_valid_coordinates":true} 
[2026-10-16 02:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776754176001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12108230066962432,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886566806760472576,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792096702000,"timestamp_ms":1792096702000,"timestamp_seconds":1792096702,"priority":1,"record_length":96,"hex_timestamp":"000001a141498e30"} 
[2026-10-16 02:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 02:09:30] 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-10-16 02:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776754176001,"66":27376,"174":206,"19":40192,"24":31,"16":12108230066962432,"45":6886566806760472576},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-10-16 02:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776754176001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:09:30] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 02:09:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12108230066962432,"km_value":12108230066962.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886566806760472576,"description":"Unknown IO ID 45"} 
[2026-10-16 02:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776754176001,"power":27376,"unknown_174":206,"unknown_19":40192,"ignition":31,"odometer":null,"unknown_45":6886566806760472576}} 
[2026-10-16 02:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":216304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:09:30] local.INFO: GPS data processed {"connection_id":216304,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:09:30] local.INFO: Acknowledgment sent {"connection_id":216304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:09:52] local.INFO: TCP Data received {"connection_id":219400,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:09:52] local.INFO: Processing buffer {"connection_id":219400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:09:52] local.INFO: IMEI packet received {"connection_id":219400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":219400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:09:56] local.INFO: TCP Data received {"connection_id":217654,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:09:56] local.INFO: Processing buffer {"connection_id":217654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:09:56] local.INFO: Packet analysis {"connection_id":217654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:09:56] local.INFO: Extracted packet for processing {"connection_id":217654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776655360001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792096611000,"timestamp_ms":1792096611000,"timestamp_seconds":1792096611,"priority":1,"record_length":96,"hex_timestamp":"000001a141482ab8"} 
[2026-10-16 02:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:09:56] 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-10-16 02:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776655360001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776655360001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:09:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:09:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776655360001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":217654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:09:56] local.INFO: GPS data processed {"connection_id":217654,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:09:56] local.INFO: Acknowledgment sent {"connection_id":217654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:09:57] local.INFO: TCP Data received {"connection_id":219400,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:09:57] local.INFO: Processing buffer {"connection_id":219400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:09:57] local.INFO: IMEI packet received {"connection_id":219400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":219400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:09:58] local.INFO: TCP Data received {"connection_id":219400,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:09:58] local.INFO: Processing buffer {"connection_id":219400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:09:58] local.INFO: IMEI packet received {"connection_id":219400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":219400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:09:59] local.INFO: TCP Data received {"connection_id":217655,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:09:59] local.INFO: TCP Data received {"connection_id":219400,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14149bd10012d5f80c0062f17880007015732..."} 
[2026-10-16 02:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:09:59] local.INFO: Processing buffer {"connection_id":217655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:09:59] local.INFO: Packet analysis {"connection_id":217655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:09:59] local.INFO: Extracted packet for processing {"connection_id":217655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776636160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096536000,"timestamp_ms":1792096536000,"timestamp_seconds":1792096536,"priority":1,"record_length":96,"hex_timestamp":"000001a1414705c0"} 
[2026-10-16 02:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:09:59] 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-10-16 02:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14149bd10012d5f80c0062f17880007015732..."} 
[2026-10-16 02:09:59] local.INFO: Processing buffer {"connection_id":219400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14149bd10012d5f80c0062f17880007015732..."} 
[2026-10-16 02:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:09:59] local.INFO: Packet analysis {"connection_id":219400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14149"} 
[2026-10-16 02:09:59] local.INFO: Extracted packet for processing {"connection_id":219400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14149"} 
[2026-10-16 02:09:59] local.INFO: GPS Element Parsed {"raw_longitude":761233600,"raw_latitude":103749512,"longitude_deg":76.12336,"latitude_deg":10.3749512,"altitude":7,"angle":343,"satellites":50,"speed":17,"hex_longitude":"2d5f80c0","hex_latitude":"062f1788","is_valid_coordinates":true} 
[2026-10-16 02:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776755712001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12108479175065600,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6884526113180491776,"note":"Value kept but may cause issues"} 
[2026-10-16 02:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096714000,"timestamp_ms":1792096714000,"timestamp_seconds":1792096714,"priority":1,"record_length":96,"hex_timestamp":"000001a14149bd10"} 
[2026-10-16 02:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:09: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-10-16 02:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776636160001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 02:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:09:59] 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-10-16 02:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776636160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:09:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776636160001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776755712001,"66":27332,"174":206,"19":40192,"24":17,"16":12108479175065600,"45":6884526113180491776},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-10-16 02:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776755712001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:09:59] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 02:09:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12108479175065600,"km_value":12108479175065.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6884526113180491776,"description":"Unknown IO ID 45"} 
[2026-10-16 02:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776755712001,"power":27332,"unknown_174":206,"unknown_19":40192,"ignition":17,"odometer":null,"unknown_45":6884526113180491776}} 
[2026-10-16 02:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":217655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:09:59] local.INFO: GPS data processed {"connection_id":217655,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:09:59] local.INFO: Acknowledgment sent {"connection_id":217655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":219400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:09:59] local.INFO: GPS data processed {"connection_id":219400,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:09:59] local.INFO: Acknowledgment sent {"connection_id":219400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:10:02] local.INFO: TCP Data received {"connection_id":219400,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14149f7a8012d5f7680062f39380008015130..."} 
[2026-10-16 02:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14149f7a8012d5f7680062f39380008015130..."} 
[2026-10-16 02:10:02] local.INFO: Processing buffer {"connection_id":219400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14149f7a8012d5f7680062f39380008015130..."} 
[2026-10-16 02:10:02] local.INFO: Packet analysis {"connection_id":219400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14149"} 
[2026-10-16 02:10:02] local.INFO: Extracted packet for processing {"connection_id":219400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14149"} 
[2026-10-16 02:10:02] local.INFO: GPS Element Parsed {"raw_longitude":761230976,"raw_latitude":103758136,"longitude_deg":76.1230976,"latitude_deg":10.3758136,"altitude":8,"angle":337,"satellites":48,"speed":27,"hex_longitude":"2d5f7680","hex_latitude":"062f3938","is_valid_coordinates":true} 
[2026-10-16 02:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776758784001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12108917261729792,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6881711363414525952,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792096729000,"timestamp_ms":1792096729000,"timestamp_seconds":1792096729,"priority":1,"record_length":96,"hex_timestamp":"000001a14149f7a8"} 
[2026-10-16 02:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 02:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":219400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":219400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":219400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776758784001,"66":27430,"174":206,"19":40192,"24":27,"16":12108917261729792,"45":6881711363414525952},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-10-16 02:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776758784001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:10:02] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 02:10:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12108917261729792,"km_value":12108917261729.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6881711363414525952,"description":"Unknown IO ID 45"} 
[2026-10-16 02:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776758784001,"power":27430,"unknown_174":206,"unknown_19":40192,"ignition":27,"odometer":null,"unknown_45":6881711363414525952}} 
[2026-10-16 02:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":219400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:10:03] local.INFO: GPS data processed {"connection_id":219400,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:10:03] local.INFO: Acknowledgment sent {"connection_id":219400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:10:17] local.INFO: TCP Data received {"connection_id":216305,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:10:17] local.INFO: Processing buffer {"connection_id":216305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:10:17] local.INFO: IMEI packet received {"connection_id":216305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":216305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:10:21] local.INFO: TCP Data received {"connection_id":216111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:10:21] local.INFO: Processing buffer {"connection_id":216111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:10:21] local.INFO: IMEI packet received {"connection_id":216111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":216111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:10:23] local.INFO: TCP Data received {"connection_id":216305,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:10:23] local.INFO: Processing buffer {"connection_id":216305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:10:23] local.INFO: IMEI packet received {"connection_id":216305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":216305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:10:24] local.INFO: TCP Data received {"connection_id":216305,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:10:24] local.INFO: Processing buffer {"connection_id":216305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:10:24] local.INFO: Packet analysis {"connection_id":216305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:10:24] local.INFO: Extracted packet for processing {"connection_id":216305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776655360001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096611000,"timestamp_ms":1792096611000,"timestamp_seconds":1792096611,"priority":1,"record_length":96,"hex_timestamp":"000001a141482ab8"} 
[2026-10-16 02:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:10:24] 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-10-16 02:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776655360001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776655360001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:10:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:10:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776655360001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":216305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:10:24] local.INFO: GPS data processed {"connection_id":216305,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:10:24] local.INFO: Acknowledgment sent {"connection_id":216305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:10:26] local.INFO: TCP Data received {"connection_id":216111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:10:26] local.INFO: Processing buffer {"connection_id":216111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:10:26] local.INFO: IMEI packet received {"connection_id":216111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":216111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:10:28] local.INFO: TCP Data received {"connection_id":216111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:10:28] local.INFO: Processing buffer {"connection_id":216111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414705c0012d7c240005dad510000000ea23..."} 
[2026-10-16 02:10:28] local.INFO: Packet analysis {"connection_id":216111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:10:28] local.INFO: Extracted packet for processing {"connection_id":216111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14147"} 
[2026-10-16 02:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776636160001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792096536000,"timestamp_ms":1792096536000,"timestamp_seconds":1792096536,"priority":1,"record_length":96,"hex_timestamp":"000001a1414705c0"} 
[2026-10-16 02:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:10:28] 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-10-16 02:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:10:28] 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-10-16 02:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776636160001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776636160001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:10:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776636160001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":216111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:10:28] local.INFO: GPS data processed {"connection_id":216111,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:10:28] local.INFO: Acknowledgment sent {"connection_id":216111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:10:34] local.INFO: TCP Data received {"connection_id":219400,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414a22a0012d5f6980062f5ad00008015332..."} 
[2026-10-16 02:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414a22a0012d5f6980062f5ad00008015332..."} 
[2026-10-16 02:10:34] local.INFO: Processing buffer {"connection_id":219400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414a22a0012d5f6980062f5ad00008015332..."} 
[2026-10-16 02:10:34] local.INFO: Packet analysis {"connection_id":219400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414a"} 
[2026-10-16 02:10:34] local.INFO: Extracted packet for processing {"connection_id":219400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414a"} 
[2026-10-16 02:10:34] local.INFO: GPS Element Parsed {"raw_longitude":761227648,"raw_latitude":103766736,"longitude_deg":76.1227648,"latitude_deg":10.3766736,"altitude":8,"angle":339,"satellites":50,"speed":38,"hex_longitude":"2d5f6980","hex_latitude":"062f5ad0","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776762624001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12109363938328576,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6878826244905449472,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792096740000,"timestamp_ms":1792096740000,"timestamp_seconds":1792096740,"priority":1,"record_length":96,"hex_timestamp":"000001a1414a22a0"} 
[2026-10-16 02:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 02:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776762624001,"66":27082,"174":206,"19":40192,"24":38,"16":12109363938328576,"45":6878826244905449472},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-10-16 02:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776762624001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:10:34] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 02:10:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12109363938328576,"km_value":12109363938328.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6878826244905449472,"description":"Unknown IO ID 45"} 
[2026-10-16 02:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776762624001,"power":27082,"unknown_174":206,"unknown_19":40192,"ignition":38,"odometer":null,"unknown_45":6878826244905449472}} 
[2026-10-16 02:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":219400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:10:34] local.INFO: GPS data processed {"connection_id":219400,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:10:34] local.INFO: Acknowledgment sent {"connection_id":219400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:10:52] local.INFO: TCP Data received {"connection_id":219401,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:10:52] local.INFO: Processing buffer {"connection_id":219401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:10:52] local.INFO: IMEI packet received {"connection_id":219401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":219401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:10:53] local.INFO: TCP Data received {"connection_id":219401,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:10:53] local.INFO: Processing buffer {"connection_id":219401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:10:53] local.INFO: IMEI packet received {"connection_id":219401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":219401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:10:56] local.INFO: TCP Data received {"connection_id":216305,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:10:56] local.INFO: Processing buffer {"connection_id":216305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:10:56] local.INFO: Packet analysis {"connection_id":216305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:10:56] local.INFO: Extracted packet for processing {"connection_id":216305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776655360001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792096611000,"timestamp_ms":1792096611000,"timestamp_seconds":1792096611,"priority":1,"record_length":96,"hex_timestamp":"000001a141482ab8"} 
[2026-10-16 02:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:10:56] 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-10-16 02:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776655360001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776655360001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:10:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:10:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776655360001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":216305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:10:56] local.INFO: GPS data processed {"connection_id":216305,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:10:56] local.INFO: Acknowledgment sent {"connection_id":216305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:10:58] local.INFO: TCP Data received {"connection_id":219401,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:10:58] local.INFO: Processing buffer {"connection_id":219401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:10:58] local.INFO: IMEI packet received {"connection_id":219401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":219401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:10:59] local.INFO: TCP Data received {"connection_id":216111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:10:59] local.INFO: Processing buffer {"connection_id":216111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:10:59] local.INFO: Packet analysis {"connection_id":216111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:10:59] local.INFO: Extracted packet for processing {"connection_id":216111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:10:59] 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-10-16 02:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:10:59] 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-10-16 02:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:10:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:10:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":216111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:10:59] local.INFO: GPS data processed {"connection_id":216111,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:10:59] local.INFO: Acknowledgment sent {"connection_id":216111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:11:01] local.INFO: TCP Data received {"connection_id":219401,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414a49b0012d5f5b80062f7e800008015133..."} 
[2026-10-16 02:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414a49b0012d5f5b80062f7e800008015133..."} 
[2026-10-16 02:11:01] local.INFO: Processing buffer {"connection_id":219401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414a49b0012d5f5b80062f7e800008015133..."} 
[2026-10-16 02:11:01] local.INFO: Packet analysis {"connection_id":219401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414a"} 
[2026-10-16 02:11:01] local.INFO: Extracted packet for processing {"connection_id":219401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414a"} 
[2026-10-16 02:11:01] local.INFO: GPS Element Parsed {"raw_longitude":761224064,"raw_latitude":103775872,"longitude_deg":76.1224064,"latitude_deg":10.3775872,"altitude":8,"angle":337,"satellites":51,"speed":41,"hex_longitude":"2d5f5b80","hex_latitude":"062f7e80","is_valid_coordinates":true} 
[2026-10-16 02:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776765440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12109836384731136,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6875167070210412544,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792096750000,"timestamp_ms":1792096750000,"timestamp_seconds":1792096750,"priority":1,"record_length":96,"hex_timestamp":"000001a1414a49b0"} 
[2026-10-16 02:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 02:11:01] 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-10-16 02:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776765440001,"66":27234,"174":206,"19":40192,"24":41,"16":12109836384731136,"45":6875167070210412544},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-10-16 02:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776765440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:11:01] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 02:11:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12109836384731136,"km_value":12109836384731.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6875167070210412544,"description":"Unknown IO ID 45"} 
[2026-10-16 02:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776765440001,"power":27234,"unknown_174":206,"unknown_19":40192,"ignition":41,"odometer":null,"unknown_45":6875167070210412544}} 
[2026-10-16 02:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":219401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:11:01] local.INFO: GPS data processed {"connection_id":219401,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:11:01] local.INFO: Acknowledgment sent {"connection_id":219401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:11:17] local.INFO: TCP Data received {"connection_id":216112,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:11:17] local.INFO: Processing buffer {"connection_id":216112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:11:17] local.INFO: IMEI packet received {"connection_id":216112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":216112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:11:21] local.INFO: TCP Data received {"connection_id":217656,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:11:21] local.INFO: Processing buffer {"connection_id":217656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:11:21] local.INFO: IMEI packet received {"connection_id":217656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":217656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:11:23] local.INFO: TCP Data received {"connection_id":216112,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:11:23] local.INFO: Processing buffer {"connection_id":216112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:11:23] local.INFO: IMEI packet received {"connection_id":216112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":216112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:11:24] local.INFO: TCP Data received {"connection_id":216112,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:11:24] local.INFO: Processing buffer {"connection_id":216112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:11:24] local.INFO: Packet analysis {"connection_id":216112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:11:24] local.INFO: Extracted packet for processing {"connection_id":216112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:11:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:11: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-10-16 02:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776655360001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096611000,"timestamp_ms":1792096611000,"timestamp_seconds":1792096611,"priority":1,"record_length":96,"hex_timestamp":"000001a141482ab8"} 
[2026-10-16 02:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:11:24] 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-10-16 02:11: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-10-16 02:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776655360001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776655360001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:11:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:11:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776655360001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":216112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:11:24] local.INFO: GPS data processed {"connection_id":216112,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:11:24] local.INFO: Acknowledgment sent {"connection_id":216112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:11:27] local.INFO: TCP Data received {"connection_id":217656,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:11:27] local.INFO: Processing buffer {"connection_id":217656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:11:27] local.INFO: IMEI packet received {"connection_id":217656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":217656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:11:28] local.INFO: TCP Data received {"connection_id":217656,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:11:28] local.INFO: Processing buffer {"connection_id":217656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:11:28] local.INFO: Packet analysis {"connection_id":217656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:11:28] local.INFO: Extracted packet for processing {"connection_id":217656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:11:28] 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-10-16 02:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:11:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":217656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:11:28] local.INFO: GPS data processed {"connection_id":217656,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:11:28] local.INFO: Acknowledgment sent {"connection_id":217656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:11:32] local.INFO: TCP Data received {"connection_id":219401,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b99a0012d5ed940063130b0000c015530..."} 
[2026-10-16 02:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b99a0012d5ed940063130b0000c015530..."} 
[2026-10-16 02:11:32] local.INFO: Processing buffer {"connection_id":219401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b99a0012d5ed940063130b0000c015530..."} 
[2026-10-16 02:11:32] local.INFO: Packet analysis {"connection_id":219401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:11:32] local.INFO: Extracted packet for processing {"connection_id":219401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:11:32] local.INFO: GPS Element Parsed {"raw_longitude":761190720,"raw_latitude":103887024,"longitude_deg":76.119072,"latitude_deg":10.3887024,"altitude":12,"angle":341,"satellites":48,"speed":50,"hex_longitude":"2d5ed940","hex_latitude":"063130b0","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776788224001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12115462791888896,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6837730898336495616,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792096836000,"timestamp_ms":1792096836000,"timestamp_seconds":1792096836,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b99a0"} 
[2026-10-16 02:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:11: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-10-16 02: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 02:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776788224001,"66":27484,"43":206,"19":40192,"24":50,"16":12115462791888896,"45":6837730898336495616},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-10-16 02:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776788224001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:11:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 02:11:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12115462791888896,"km_value":12115462791888.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6837730898336495616,"description":"Unknown IO ID 45"} 
[2026-10-16 02:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776788224001,"power":27484,"unknown_43":206,"unknown_19":40192,"ignition":50,"odometer":null,"unknown_45":6837730898336495616}} 
[2026-10-16 02:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":219401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:11:32] local.INFO: GPS data processed {"connection_id":219401,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:11:32] local.INFO: Acknowledgment sent {"connection_id":219401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:11:53] local.INFO: TCP Data received {"connection_id":216113,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:11:53] local.INFO: Processing buffer {"connection_id":216113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:11:53] local.INFO: IMEI packet received {"connection_id":216113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":216113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:11:56] local.INFO: TCP Data received {"connection_id":216112,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:11:56] local.INFO: Processing buffer {"connection_id":216112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:11:56] local.INFO: Packet analysis {"connection_id":216112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:11:56] local.INFO: Extracted packet for processing {"connection_id":216112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776655360001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792096611000,"timestamp_ms":1792096611000,"timestamp_seconds":1792096611,"priority":1,"record_length":96,"hex_timestamp":"000001a141482ab8"} 
[2026-10-16 02:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:11:56] 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-10-16 02:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776655360001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776655360001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:11:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:11:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776655360001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":216112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:11:56] local.INFO: GPS data processed {"connection_id":216112,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:11:56] local.INFO: Acknowledgment sent {"connection_id":216112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:11:58] local.INFO: TCP Data received {"connection_id":216113,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:11:58] local.INFO: Processing buffer {"connection_id":216113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:11:58] local.INFO: IMEI packet received {"connection_id":216113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":216113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:11:59] local.INFO: TCP Data received {"connection_id":216113,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:11:59] local.INFO: Processing buffer {"connection_id":216113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:11:59] local.INFO: IMEI packet received {"connection_id":216113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":216113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:11:59] local.INFO: TCP Data received {"connection_id":217656,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:11:59] local.INFO: Processing buffer {"connection_id":217656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:11:59] local.INFO: Packet analysis {"connection_id":217656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:11:59] local.INFO: Extracted packet for processing {"connection_id":217656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:11: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-10-16 02:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:11:59] 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-10-16 02:11: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-10-16 02:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:11:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":217656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:11:59] local.INFO: GPS data processed {"connection_id":217656,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:11:59] local.INFO: Acknowledgment sent {"connection_id":217656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:12:00] local.INFO: TCP Data received {"connection_id":216113,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414bb4f8012d5ecf8006315218000e015c2e..."} 
[2026-10-16 02:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414bb4f8012d5ecf8006315218000e015c2e..."} 
[2026-10-16 02:12:00] local.INFO: Processing buffer {"connection_id":216113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414bb4f8012d5ecf8006315218000e015c2e..."} 
[2026-10-16 02:12:00] local.INFO: Packet analysis {"connection_id":216113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:12:00] local.INFO: Extracted packet for processing {"connection_id":216113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:12:00] local.INFO: GPS Element Parsed {"raw_longitude":761188224,"raw_latitude":103895576,"longitude_deg":76.1188224,"latitude_deg":10.3895576,"altitude":14,"angle":348,"satellites":46,"speed":50,"hex_longitude":"2d5ecf80","hex_latitude":"06315218","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790016001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12115896583585792,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6834564304850694144,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792096843000,"timestamp_ms":1792096843000,"timestamp_seconds":1792096843,"priority":1,"record_length":96,"hex_timestamp":"000001a1414bb4f8"} 
[2026-10-16 02:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 02:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790016001,"66":27343,"43":206,"19":40192,"24":50,"16":12115896583585792,"45":6834564304850694144},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-10-16 02:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790016001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:12:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 02:12:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12115896583585792,"km_value":12115896583585.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6834564304850694144,"description":"Unknown IO ID 45"} 
[2026-10-16 02:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790016001,"power":27343,"unknown_43":206,"unknown_19":40192,"ignition":50,"odometer":null,"unknown_45":6834564304850694144}} 
[2026-10-16 02:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":216113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:12:00] local.INFO: GPS data processed {"connection_id":216113,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:12:00] local.INFO: Acknowledgment sent {"connection_id":216113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:12:03] local.INFO: TCP Data received {"connection_id":216113,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414bcc68012d5ecc8006317088000e016731..."} 
[2026-10-16 02:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414bcc68012d5ecc8006317088000e016731..."} 
[2026-10-16 02:12:03] local.INFO: Processing buffer {"connection_id":216113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414bcc68012d5ecc8006317088000e016731..."} 
[2026-10-16 02:12:03] local.INFO: Packet analysis {"connection_id":216113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:12:03] local.INFO: Extracted packet for processing {"connection_id":216113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:12:03] local.INFO: GPS Element Parsed {"raw_longitude":761187456,"raw_latitude":103903368,"longitude_deg":76.1187456,"latitude_deg":10.3903368,"altitude":14,"angle":359,"satellites":49,"speed":53,"hex_longitude":"2d5ecc80","hex_latitude":"06317088","is_valid_coordinates":true} 
[2026-10-16 02:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776791808001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12116278835675136,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831819923829954560,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792096849000,"timestamp_ms":1792096849000,"timestamp_seconds":1792096849,"priority":1,"record_length":96,"hex_timestamp":"000001a1414bcc68"} 
[2026-10-16 02:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:12: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-10-16 02:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 02:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776791808001,"66":27376,"43":206,"19":40192,"24":53,"16":12116278835675136,"45":6831819923829954560},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-10-16 02:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776791808001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:12:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 02:12:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12116278835675136,"km_value":12116278835675.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831819923829954560,"description":"Unknown IO ID 45"} 
[2026-10-16 02:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776791808001,"power":27376,"unknown_43":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":6831819923829954560}} 
[2026-10-16 02:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":216113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043642,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:12:03] local.INFO: GPS data processed {"connection_id":216113,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:12:03] local.INFO: Acknowledgment sent {"connection_id":216113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:12:22] local.INFO: TCP Data received {"connection_id":217658,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:12:22] local.INFO: Processing buffer {"connection_id":217658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:12:22] local.INFO: IMEI packet received {"connection_id":217658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":217658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:12:23] local.INFO: TCP Data received {"connection_id":217657,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:12:23] local.INFO: Processing buffer {"connection_id":217657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:12:23] local.INFO: IMEI packet received {"connection_id":217657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":217657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:12:26] local.INFO: TCP Data received {"connection_id":217658,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:12:26] local.INFO: Processing buffer {"connection_id":217658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:12:26] local.INFO: IMEI packet received {"connection_id":217658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":217658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:12:27] local.INFO: TCP Data received {"connection_id":217658,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:12:27] local.INFO: Processing buffer {"connection_id":217658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:12:27] local.INFO: Packet analysis {"connection_id":217658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:12:27] local.INFO: Extracted packet for processing {"connection_id":217658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:12:27] 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-10-16 02: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-10-16 02:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:12:27] 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-10-16 02:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:12:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":217658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:12:27] local.INFO: GPS data processed {"connection_id":217658,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:12:27] local.INFO: Acknowledgment sent {"connection_id":217658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:12:28] local.INFO: TCP Data received {"connection_id":217657,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:12:28] local.INFO: Processing buffer {"connection_id":217657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:12:28] local.INFO: IMEI packet received {"connection_id":217657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":217657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:12:30] local.INFO: TCP Data received {"connection_id":217657,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:12:30] local.INFO: Processing buffer {"connection_id":217657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141482ab8012d7fac4005afe350002600a627..."} 
[2026-10-16 02:12:30] local.INFO: Packet analysis {"connection_id":217657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:12:30] local.INFO: Extracted packet for processing {"connection_id":217657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14148"} 
[2026-10-16 02:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":38,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776655360001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792096611000,"timestamp_ms":1792096611000,"timestamp_seconds":1792096611,"priority":1,"record_length":96,"hex_timestamp":"000001a141482ab8"} 
[2026-10-16 02:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:12:30] 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-10-16 02:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776655360001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776655360001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:12:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:12:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776655360001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":217657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:12:30] local.INFO: GPS data processed {"connection_id":217657,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:12:30] local.INFO: Acknowledgment sent {"connection_id":217657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:12:31] local.INFO: TCP Data received {"connection_id":217657,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:12:31] local.INFO: Processing buffer {"connection_id":217657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:12:31] local.INFO: Packet analysis {"connection_id":217657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:12:31] local.INFO: Extracted packet for processing {"connection_id":217657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:12:31] 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-10-16 02: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-10-16 02:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":217657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":217657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":217657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:12:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:12:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":217657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:12:31] local.INFO: GPS data processed {"connection_id":217657,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:12:31] local.INFO: Acknowledgment sent {"connection_id":217657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:12:38] local.INFO: TCP Data received {"connection_id":216113,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414be7c0012d5ece8006319658000e000432..."} 
[2026-10-16 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414be7c0012d5ece8006319658000e000432..."} 
[2026-10-16 02:12:38] local.INFO: Processing buffer {"connection_id":216113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414be7c0012d5ece8006319658000e000432..."} 
[2026-10-16 02:12:38] local.INFO: Packet analysis {"connection_id":216113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:12:38] local.INFO: Extracted packet for processing {"connection_id":216113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:12:38] local.INFO: GPS Element Parsed {"raw_longitude":761187968,"raw_latitude":103913048,"longitude_deg":76.1187968,"latitude_deg":10.3913048,"altitude":14,"angle":4,"satellites":50,"speed":56,"hex_longitude":"2d5ece80","hex_latitude":"06319658","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776793344001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12116746987110400,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6830975498901817344,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792096856000,"timestamp_ms":1792096856000,"timestamp_seconds":1792096856,"priority":1,"record_length":96,"hex_timestamp":"000001a1414be7c0"} 
[2026-10-16 02:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:12: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-10-16 02: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":240,"data_length":795,"current_offset":136} 
[2026-10-16 02:12: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-10-16 02: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-10-16 02:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776793344001,"66":27343,"43":206,"19":40192,"24":56,"16":12116746987110400,"45":6830975498901817344},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-10-16 02:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776793344001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:12:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 02:12:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12116746987110400,"km_value":12116746987110.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6830975498901817344,"description":"Unknown IO ID 45"} 
[2026-10-16 02:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776793344001,"power":27343,"unknown_43":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6830975498901817344}} 
[2026-10-16 02:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":216113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:12:38] local.INFO: GPS data processed {"connection_id":216113,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:12:38] local.INFO: Acknowledgment sent {"connection_id":216113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:12:52] local.INFO: TCP Data received {"connection_id":216306,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:12:52] local.INFO: Processing buffer {"connection_id":216306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:12:52] local.INFO: IMEI packet received {"connection_id":216306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":216306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:12:53] local.INFO: TCP Data received {"connection_id":216306,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:12:53] local.INFO: Processing buffer {"connection_id":216306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:12:53] local.INFO: IMEI packet received {"connection_id":216306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":216306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:12:55] local.INFO: TCP Data received {"connection_id":216306,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414c0318012d5ed1c00631bcf8000c000431..."} 
[2026-10-16 02:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414c0318012d5ed1c00631bcf8000c000431..."} 
[2026-10-16 02:12:55] local.INFO: Processing buffer {"connection_id":216306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414c0318012d5ed1c00631bcf8000c000431..."} 
[2026-10-16 02:12:55] local.INFO: Packet analysis {"connection_id":216306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:12:55] local.INFO: Extracted packet for processing {"connection_id":216306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:12:55] local.INFO: GPS Element Parsed {"raw_longitude":761188800,"raw_latitude":103922936,"longitude_deg":76.11888,"latitude_deg":10.3922936,"altitude":12,"angle":4,"satellites":49,"speed":56,"hex_longitude":"2d5ed1c0","hex_latitude":"0631bcf8","is_valid_coordinates":true} 
[2026-10-16 02:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776795136001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12117228023447552,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831538448857716736,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792096863000,"timestamp_ms":1792096863000,"timestamp_seconds":1792096863,"priority":1,"record_length":96,"hex_timestamp":"000001a1414c0318"} 
[2026-10-16 02:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 02:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776795136001,"66":27234,"112":206,"19":40192,"24":56,"16":12117228023447552,"45":6831538448857716736},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-10-16 02:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776795136001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:12:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-16 02:12:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12117228023447552,"km_value":12117228023447.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831538448857716736,"description":"Unknown IO ID 45"} 
[2026-10-16 02:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776795136001,"power":27234,"unknown_112":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6831538448857716736}} 
[2026-10-16 02:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":216306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:12:55] local.INFO: GPS data processed {"connection_id":216306,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:12:55] local.INFO: Acknowledgment sent {"connection_id":216306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:12:59] local.INFO: TCP Data received {"connection_id":217658,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:12:59] local.INFO: Processing buffer {"connection_id":217658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:12:59] local.INFO: Packet analysis {"connection_id":217658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:12:59] local.INFO: Extracted packet for processing {"connection_id":217658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:12:59] 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-10-16 02:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:12:59] 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-10-16 02:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:12:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":217658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:12:59] local.INFO: GPS data processed {"connection_id":217658,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:12:59] local.INFO: Acknowledgment sent {"connection_id":217658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:13:03] local.INFO: TCP Data received {"connection_id":217657,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:13:03] local.INFO: Processing buffer {"connection_id":217657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:13:03] local.INFO: Packet analysis {"connection_id":217657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:13:03] local.INFO: Extracted packet for processing {"connection_id":217657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:13:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:13:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":217657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:13:03] local.INFO: GPS data processed {"connection_id":217657,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:13:03] local.INFO: Acknowledgment sent {"connection_id":217657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:13:17] local.INFO: TCP Data received {"connection_id":217659,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:13:17] local.INFO: Processing buffer {"connection_id":217659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:13:17] local.INFO: IMEI packet received {"connection_id":217659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":217659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:13:22] local.INFO: TCP Data received {"connection_id":217659,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:13:22] local.INFO: Processing buffer {"connection_id":217659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:13:22] local.INFO: IMEI packet received {"connection_id":217659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":217659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:13:23] local.INFO: TCP Data received {"connection_id":217659,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:13:23] local.INFO: Processing buffer {"connection_id":217659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:13:23] local.INFO: Packet analysis {"connection_id":217659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:13:23] local.INFO: Extracted packet for processing {"connection_id":217659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:13:23] 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-10-16 02:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:13:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:13:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":217659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:13:23] local.INFO: GPS data processed {"connection_id":217659,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:13:23] local.INFO: Acknowledgment sent {"connection_id":217659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:13:24] local.INFO: TCP Data received {"connection_id":217660,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:13:24] local.INFO: Processing buffer {"connection_id":217660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:13:24] local.INFO: IMEI packet received {"connection_id":217660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":217660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:13:27] local.INFO: TCP Data received {"connection_id":217660,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:13:27] local.INFO: Processing buffer {"connection_id":217660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:13:27] local.INFO: IMEI packet received {"connection_id":217660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":217660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:13:27] local.INFO: TCP Data received {"connection_id":216306,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414d5308012d5e1f80063379e80005014f32..."} 
[2026-10-16 02:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414d5308012d5e1f80063379e80005014f32..."} 
[2026-10-16 02:13:27] local.INFO: Processing buffer {"connection_id":216306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414d5308012d5e1f80063379e80005014f32..."} 
[2026-10-16 02:13:27] local.INFO: Packet analysis {"connection_id":216306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414d"} 
[2026-10-16 02:13:27] local.INFO: Extracted packet for processing {"connection_id":216306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414d"} 
[2026-10-16 02:13:27] local.INFO: GPS Element Parsed {"raw_longitude":761143168,"raw_latitude":104036840,"longitude_deg":76.1143168,"latitude_deg":10.403684,"altitude":5,"angle":335,"satellites":50,"speed":57,"hex_longitude":"2d5e1f80","hex_latitude":"063379e8","is_valid_coordinates":true} 
[2026-10-16 02:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776817152001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12123245272629248,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6787065402566766592,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792096949000,"timestamp_ms":1792096949000,"timestamp_seconds":1792096949,"priority":1,"record_length":96,"hex_timestamp":"000001a1414d5308"} 
[2026-10-16 02:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 02:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776817152001,"66":27115,"2":206,"19":40192,"24":57,"16":12123245272629248,"45":6787065402566766592},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-10-16 02:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776817152001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:13:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12123245272629248,"km_value":12123245272629.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6787065402566766592,"description":"Unknown IO ID 45"} 
[2026-10-16 02:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776817152001,"power":27115,"power_alt":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6787065402566766592}} 
[2026-10-16 02:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":216306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:13:27] local.INFO: GPS data processed {"connection_id":216306,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:13:27] local.INFO: Acknowledgment sent {"connection_id":216306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:13:28] local.INFO: TCP Data received {"connection_id":217660,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:13:28] local.INFO: Processing buffer {"connection_id":217660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:13:28] local.INFO: Packet analysis {"connection_id":217660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:13:28] local.INFO: Extracted packet for processing {"connection_id":217660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:13:28] 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-10-16 02:13: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-10-16 02:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:13:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":217660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:13:28] local.INFO: GPS data processed {"connection_id":217660,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:13:28] local.INFO: Acknowledgment sent {"connection_id":217660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:13:32] local.INFO: TCP Data received {"connection_id":217660,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:13:32] local.INFO: Processing buffer {"connection_id":217660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:13:32] local.INFO: Packet analysis {"connection_id":217660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:13:32] local.INFO: Extracted packet for processing {"connection_id":217660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:13:32] 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-10-16 02:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:13:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":217660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:13:32] local.INFO: GPS data processed {"connection_id":217660,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:13:32] local.INFO: Acknowledgment sent {"connection_id":217660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:13:52] local.INFO: TCP Data received {"connection_id":217661,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:13:52] local.INFO: Processing buffer {"connection_id":217661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:13:52] local.INFO: IMEI packet received {"connection_id":217661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":217661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:13:55] local.INFO: TCP Data received {"connection_id":217659,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:13:55] local.INFO: Processing buffer {"connection_id":217659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:13:55] local.INFO: Packet analysis {"connection_id":217659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:13:55] local.INFO: Extracted packet for processing {"connection_id":217659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:13: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-10-16 02:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:13:55] 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-10-16 02:13: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-10-16 02:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:13:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:13:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":217659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:13:55] local.INFO: GPS data processed {"connection_id":217659,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:13:55] local.INFO: Acknowledgment sent {"connection_id":217659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:13:57] local.INFO: TCP Data received {"connection_id":217661,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:13:57] local.INFO: Processing buffer {"connection_id":217661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:13:57] local.INFO: IMEI packet received {"connection_id":217661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":217661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:13:58] local.INFO: TCP Data received {"connection_id":217661,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414d6e60012d5e0f0006339d880004015131..."} 
[2026-10-16 02:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414d6e60012d5e0f0006339d880004015131..."} 
[2026-10-16 02:13:58] local.INFO: Processing buffer {"connection_id":217661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414d6e60012d5e0f0006339d880004015131..."} 
[2026-10-16 02:13:58] local.INFO: Packet analysis {"connection_id":217661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414d"} 
[2026-10-16 02:13:58] local.INFO: Extracted packet for processing {"connection_id":217661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414d"} 
[2026-10-16 02:13:58] local.INFO: GPS Element Parsed {"raw_longitude":761138944,"raw_latitude":104045960,"longitude_deg":76.1138944,"latitude_deg":10.404596,"altitude":4,"angle":337,"satellites":49,"speed":56,"hex_longitude":"2d5e0f00","hex_latitude":"06339d88","is_valid_coordinates":true} 
[2026-10-16 02:13: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-10-16 02:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776818944001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12123734898900992,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6782280327965042688,"note":"Value kept but may cause issues"} 
[2026-10-16 02:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792096956000,"timestamp_ms":1792096956000,"timestamp_seconds":1792096956,"priority":1,"record_length":96,"hex_timestamp":"000001a1414d6e60"} 
[2026-10-16 02:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:13: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 02:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:13: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-10-16 02:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776818944001,"66":27234,"2":206,"19":40192,"24":56,"16":12123734898900992,"45":6782280327965042688},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-10-16 02:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776818944001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:13:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12123734898900992,"km_value":12123734898900.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6782280327965042688,"description":"Unknown IO ID 45"} 
[2026-10-16 02:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776818944001,"power":27234,"power_alt":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6782280327965042688}} 
[2026-10-16 02:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":217661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:13:58] local.INFO: GPS data processed {"connection_id":217661,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:13:58] local.INFO: Acknowledgment sent {"connection_id":217661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:14:07] local.INFO: TCP Data received {"connection_id":217660,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:14:07] local.INFO: Processing buffer {"connection_id":217660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:14:07] local.INFO: Packet analysis {"connection_id":217660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:14:07] local.INFO: Extracted packet for processing {"connection_id":217660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:14:07] 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-10-16 02: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-10-16 02:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":217660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":217660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":217660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:14:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":217660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:14:07] local.INFO: GPS data processed {"connection_id":217660,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:14:07] local.INFO: Acknowledgment sent {"connection_id":217660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:14:17] local.INFO: TCP Data received {"connection_id":216114,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:14:17] local.INFO: Processing buffer {"connection_id":216114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:14:17] local.INFO: IMEI packet received {"connection_id":216114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":216114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:14:21] local.INFO: TCP Data received {"connection_id":216307,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:14:21] local.INFO: Processing buffer {"connection_id":216307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:14:21] local.INFO: IMEI packet received {"connection_id":216307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":216307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:14:23] local.INFO: TCP Data received {"connection_id":216114,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:14:23] local.INFO: Processing buffer {"connection_id":216114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:14:23] local.INFO: IMEI packet received {"connection_id":216114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":216114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:14:24] local.INFO: TCP Data received {"connection_id":216114,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:14:24] local.INFO: Processing buffer {"connection_id":216114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:14:24] local.INFO: Packet analysis {"connection_id":216114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:14:24] local.INFO: Extracted packet for processing {"connection_id":216114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:14:24] 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-10-16 02:14: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-10-16 02:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:14:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:14:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":216114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:14:24] local.INFO: GPS data processed {"connection_id":216114,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:14:24] local.INFO: Acknowledgment sent {"connection_id":216114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:14:26] local.INFO: TCP Data received {"connection_id":216307,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:14:26] local.INFO: Processing buffer {"connection_id":216307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:14:26] local.INFO: IMEI packet received {"connection_id":216307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":216307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:14:27] local.INFO: TCP Data received {"connection_id":216307,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:14:27] local.INFO: Processing buffer {"connection_id":216307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:14:27] local.INFO: Packet analysis {"connection_id":216307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:14:27] local.INFO: Extracted packet for processing {"connection_id":216307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:14:27] 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-10-16 02:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:14: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-10-16 02:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:14:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":216307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:14:28] local.INFO: GPS data processed {"connection_id":216307,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:14:28] local.INFO: Acknowledgment sent {"connection_id":216307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:14:29] local.INFO: TCP Data received {"connection_id":217661,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414d89b8012d5e01000633c2180003015330..."} 
[2026-10-16 02:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414d89b8012d5e01000633c2180003015330..."} 
[2026-10-16 02:14:29] local.INFO: Processing buffer {"connection_id":217661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414d89b8012d5e01000633c2180003015330..."} 
[2026-10-16 02:14:29] local.INFO: Packet analysis {"connection_id":217661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414d"} 
[2026-10-16 02:14:29] local.INFO: Extracted packet for processing {"connection_id":217661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414d"} 
[2026-10-16 02:14:29] local.INFO: GPS Element Parsed {"raw_longitude":761135360,"raw_latitude":104055320,"longitude_deg":76.113536,"latitude_deg":10.405532,"altitude":3,"angle":339,"satellites":48,"speed":58,"hex_longitude":"2d5e0100","hex_latitude":"0633c218","is_valid_coordinates":true} 
[2026-10-16 02:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776820736001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12124220230205440,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6777635990851651584,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792096963000,"timestamp_ms":1792096963000,"timestamp_seconds":1792096963,"priority":1,"record_length":96,"hex_timestamp":"000001a1414d89b8"} 
[2026-10-16 02:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 02:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776820736001,"66":27213,"2":206,"19":40192,"24":58,"16":12124220230205440,"45":6777635990851651584},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-10-16 02:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776820736001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:14:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12124220230205440,"km_value":12124220230205.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6777635990851651584,"description":"Unknown IO ID 45"} 
[2026-10-16 02:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776820736001,"power":27213,"power_alt":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6777635990851651584}} 
[2026-10-16 02:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":217661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:14:29] local.INFO: GPS data processed {"connection_id":217661,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:14:29] local.INFO: Acknowledgment sent {"connection_id":217661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:14:56] local.INFO: TCP Data received {"connection_id":216114,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:14:56] local.INFO: Processing buffer {"connection_id":216114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:14:56] local.INFO: Packet analysis {"connection_id":216114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:14:56] local.INFO: Extracted packet for processing {"connection_id":216114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:14:56] 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-10-16 02:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:14:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:14:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":216114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:14:56] local.INFO: GPS data processed {"connection_id":216114,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:14:56] local.INFO: Acknowledgment sent {"connection_id":216114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:14:59] local.INFO: TCP Data received {"connection_id":216307,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:14:59] local.INFO: Processing buffer {"connection_id":216307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:14:59] local.INFO: Packet analysis {"connection_id":216307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:14:59] local.INFO: Extracted packet for processing {"connection_id":216307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:14:59] 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-10-16 02:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:14: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-10-16 02:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:14:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":216307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:14:59] local.INFO: GPS data processed {"connection_id":216307,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:14:59] local.INFO: Acknowledgment sent {"connection_id":216307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:15:02] local.INFO: TCP Data received {"connection_id":217662,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:02] local.INFO: Processing buffer {"connection_id":217662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:02] local.INFO: IMEI packet received {"connection_id":217662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":217662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:15:03] local.INFO: TCP Data received {"connection_id":217662,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:03] local.INFO: Processing buffer {"connection_id":217662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:03] local.INFO: IMEI packet received {"connection_id":217662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":217662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:15:07] local.INFO: TCP Data received {"connection_id":217662,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:07] local.INFO: Processing buffer {"connection_id":217662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:07] local.INFO: IMEI packet received {"connection_id":217662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":217662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:15:08] local.INFO: TCP Data received {"connection_id":217662,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414ec238012d5d43c006353478000c014c32..."} 
[2026-10-16 02:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414ec238012d5d43c006353478000c014c32..."} 
[2026-10-16 02:15:08] local.INFO: Processing buffer {"connection_id":217662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414ec238012d5d43c006353478000c014c32..."} 
[2026-10-16 02:15:08] local.INFO: Packet analysis {"connection_id":217662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414e"} 
[2026-10-16 02:15:08] local.INFO: Extracted packet for processing {"connection_id":217662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414e"} 
[2026-10-16 02:15:08] local.INFO: GPS Element Parsed {"raw_longitude":761086912,"raw_latitude":104150136,"longitude_deg":76.1086912,"latitude_deg":10.4150136,"altitude":12,"angle":332,"satellites":50,"speed":54,"hex_longitude":"2d5d43c0","hex_latitude":"06353478","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776841216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12129378485927936,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6725000170231287808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792097043000,"timestamp_ms":1792097043000,"timestamp_seconds":1792097043,"priority":1,"record_length":96,"hex_timestamp":"000001a1414ec238"} 
[2026-10-16 02:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:15: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-10-16 02: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 02:15:08] 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-10-16 02: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-10-16 02:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":217662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":217662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":217662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776841216001,"66":26810,"2":206,"19":40192,"24":54,"16":12129378485927936,"45":6725000170231287808},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-10-16 02:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776841216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:15:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12129378485927936,"km_value":12129378485927.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6725000170231287808,"description":"Unknown IO ID 45"} 
[2026-10-16 02:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776841216001,"power":26810,"power_alt":206,"unknown_19":40192,"ignition":54,"odometer":null,"unknown_45":6725000170231287808}} 
[2026-10-16 02:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":217662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043662,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:15:08] local.INFO: GPS data processed {"connection_id":217662,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:15:08] local.INFO: Acknowledgment sent {"connection_id":217662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:15:21] local.INFO: TCP Data received {"connection_id":217663,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:15:21] local.INFO: Processing buffer {"connection_id":217663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:15:21] local.INFO: IMEI packet received {"connection_id":217663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":217663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:15:23] local.INFO: TCP Data received {"connection_id":216308,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:15:23] local.INFO: Processing buffer {"connection_id":216308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:15:23] local.INFO: IMEI packet received {"connection_id":216308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":216308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:15:26] local.INFO: TCP Data received {"connection_id":217663,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:15:26] local.INFO: Processing buffer {"connection_id":217663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:15:26] local.INFO: IMEI packet received {"connection_id":217663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":217663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:15:27] local.INFO: TCP Data received {"connection_id":217663,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:15:27] local.INFO: Processing buffer {"connection_id":217663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414b9d88012d7c240005dad510000000ea1f..."} 
[2026-10-16 02:15:27] local.INFO: Packet analysis {"connection_id":217663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:15:27] local.INFO: Extracted packet for processing {"connection_id":217663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414b"} 
[2026-10-16 02:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776713216001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792096837000,"timestamp_ms":1792096837000,"timestamp_seconds":1792096837,"priority":1,"record_length":96,"hex_timestamp":"000001a1414b9d88"} 
[2026-10-16 02:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:15:27] 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-10-16 02:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:15: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-10-16 02:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776713216001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776713216001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:15:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776713216001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":217663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:15:27] local.INFO: GPS data processed {"connection_id":217663,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:15:27] local.INFO: Acknowledgment sent {"connection_id":217663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:15:28] local.INFO: TCP Data received {"connection_id":216308,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:15:28] local.INFO: Processing buffer {"connection_id":216308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:15:28] local.INFO: IMEI packet received {"connection_id":216308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":216308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:15:30] local.INFO: TCP Data received {"connection_id":216308,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:15:30] local.INFO: Processing buffer {"connection_id":216308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:15:30] local.INFO: Packet analysis {"connection_id":216308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:15:30] local.INFO: Extracted packet for processing {"connection_id":216308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:15:30] 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-10-16 02:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:15:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:15:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":216308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:15:30] local.INFO: GPS data processed {"connection_id":216308,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:15:30] local.INFO: Acknowledgment sent {"connection_id":216308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:15:32] local.INFO: TCP Data received {"connection_id":216308,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:15:32] local.INFO: Processing buffer {"connection_id":216308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:15:32] local.INFO: Packet analysis {"connection_id":216308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:15:32] local.INFO: Extracted packet for processing {"connection_id":216308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:15:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:15:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":216308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:15:33] local.INFO: GPS data processed {"connection_id":216308,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:15:33] local.INFO: Acknowledgment sent {"connection_id":216308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:15:52] local.INFO: TCP Data received {"connection_id":216309,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:52] local.INFO: Processing buffer {"connection_id":216309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:52] local.INFO: IMEI packet received {"connection_id":216309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":216309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:15:58] local.INFO: TCP Data received {"connection_id":216309,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:58] local.INFO: Processing buffer {"connection_id":216309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:15:58] local.INFO: IMEI packet received {"connection_id":216309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":216309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:15:58] local.INFO: TCP Data received {"connection_id":217663,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:15:58] local.INFO: Processing buffer {"connection_id":217663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:15:58] local.INFO: Packet analysis {"connection_id":217663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:15:58] local.INFO: Extracted packet for processing {"connection_id":217663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:15: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-10-16 02:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790272001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792097138000,"timestamp_ms":1792097138000,"timestamp_seconds":1792097138,"priority":1,"record_length":96,"hex_timestamp":"000001a141503550"} 
[2026-10-16 02:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:15: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:15:58] 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-10-16 02:15: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-10-16 02:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:15:58] 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-10-16 02:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790272001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790272001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:15:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790272001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":217663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:15:58] local.INFO: GPS data processed {"connection_id":217663,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:15:58] local.INFO: Acknowledgment sent {"connection_id":217663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:15:59] local.INFO: TCP Data received {"connection_id":216309,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1414edd90012d5d2f0006355570000a01432f..."} 
[2026-10-16 02:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414edd90012d5d2f0006355570000a01432f..."} 
[2026-10-16 02:15:59] local.INFO: Processing buffer {"connection_id":216309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414edd90012d5d2f0006355570000a01432f..."} 
[2026-10-16 02:15:59] local.INFO: Packet analysis {"connection_id":216309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414e"} 
[2026-10-16 02:15:59] local.INFO: Extracted packet for processing {"connection_id":216309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414e"} 
[2026-10-16 02:15:59] local.INFO: GPS Element Parsed {"raw_longitude":761081600,"raw_latitude":104158576,"longitude_deg":76.10816,"latitude_deg":10.4158576,"altitude":10,"angle":323,"satellites":47,"speed":57,"hex_longitude":"2d5d2f00","hex_latitude":"06355570","is_valid_coordinates":true} 
[2026-10-16 02:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776843008001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12129859522265088,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6720426201861879808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792097050000,"timestamp_ms":1792097050000,"timestamp_seconds":1792097050,"priority":1,"record_length":96,"hex_timestamp":"000001a1414edd90"} 
[2026-10-16 02:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:15: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-10-16 02:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-10-16 02:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2392,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776843008001,"66":27343,"2":206,"19":40192,"24":57,"16":12129859522265088,"45":6720426201861879808},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-10-16 02:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776843008001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:15:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-10-16 02:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12129859522265088,"km_value":12129859522265.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6720426201861879808,"description":"Unknown IO ID 45"} 
[2026-10-16 02:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776843008001,"power":27343,"power_alt":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6720426201861879808}} 
[2026-10-16 02:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":216309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:15:59] local.INFO: GPS data processed {"connection_id":216309,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:15:59] local.INFO: Acknowledgment sent {"connection_id":216309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:16:18] local.INFO: TCP Data received {"connection_id":216115,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:16:18] local.INFO: Processing buffer {"connection_id":216115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:16:18] local.INFO: IMEI packet received {"connection_id":216115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":216115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:16:21] local.INFO: TCP Data received {"connection_id":217664,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:16:21] local.INFO: Processing buffer {"connection_id":217664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:16:21] local.INFO: IMEI packet received {"connection_id":217664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":217664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:16:23] local.INFO: TCP Data received {"connection_id":216115,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:16:23] local.INFO: Processing buffer {"connection_id":216115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:16:23] local.INFO: IMEI packet received {"connection_id":216115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":216115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:16:24] local.INFO: TCP Data received {"connection_id":216115,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:16:24] local.INFO: Processing buffer {"connection_id":216115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:16:24] local.INFO: Packet analysis {"connection_id":216115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:16:24] local.INFO: Extracted packet for processing {"connection_id":216115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:16:24] 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-10-16 02: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-10-16 02:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:16:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:16:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":216115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:16:24] local.INFO: GPS data processed {"connection_id":216115,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:16:24] local.INFO: Acknowledgment sent {"connection_id":216115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:16:26] local.INFO: TCP Data received {"connection_id":217664,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:16:26] local.INFO: Processing buffer {"connection_id":217664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:16:26] local.INFO: IMEI packet received {"connection_id":217664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":217664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:16:27] local.INFO: TCP Data received {"connection_id":217664,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:16:27] local.INFO: Processing buffer {"connection_id":217664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:16:27] local.INFO: Packet analysis {"connection_id":217664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:16:27] local.INFO: Extracted packet for processing {"connection_id":217664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790272001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792097138000,"timestamp_ms":1792097138000,"timestamp_seconds":1792097138,"priority":1,"record_length":96,"hex_timestamp":"000001a141503550"} 
[2026-10-16 02:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:16:27] 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-10-16 02: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-10-16 02:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:16:27] 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-10-16 02:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790272001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790272001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:16:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790272001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":217664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:16:27] local.INFO: GPS data processed {"connection_id":217664,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:16:27] local.INFO: Acknowledgment sent {"connection_id":217664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:16:31] local.INFO: TCP Data received {"connection_id":216309,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141500670012d5c57000636b5f00006014f30..."} 
[2026-10-16 02:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141500670012d5c57000636b5f00006014f30..."} 
[2026-10-16 02:16:31] local.INFO: Processing buffer {"connection_id":216309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141500670012d5c57000636b5f00006014f30..."} 
[2026-10-16 02:16:31] local.INFO: Packet analysis {"connection_id":216309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:16:31] local.INFO: Extracted packet for processing {"connection_id":216309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:16:31] local.INFO: GPS Element Parsed {"raw_longitude":761026304,"raw_latitude":104248816,"longitude_deg":76.1026304,"latitude_deg":10.4248816,"altitude":6,"angle":335,"satellites":48,"speed":51,"hex_longitude":"2d5c5700","hex_latitude":"0636b5f0","is_valid_coordinates":true} 
[2026-10-16 02:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776862464001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12134987713216512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6658079494543630336,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792097126000,"timestamp_ms":1792097126000,"timestamp_seconds":1792097126,"priority":1,"record_length":96,"hex_timestamp":"000001a141500670"} 
[2026-10-16 02:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-10-16 02:16:31] 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-10-16 02:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776862464001,"66":27789,"115":206,"19":38400,"24":51,"16":12134987713216512,"45":6658079494543630336},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-10-16 02:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776862464001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:16:31] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 02:16:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12134987713216512,"km_value":12134987713216.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6658079494543630336,"description":"Unknown IO ID 45"} 
[2026-10-16 02:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776862464001,"power":27789,"unknown_115":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6658079494543630336}} 
[2026-10-16 02:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":216309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:16:31] local.INFO: GPS data processed {"connection_id":216309,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:16:31] local.INFO: Acknowledgment sent {"connection_id":216309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:16:56] local.INFO: TCP Data received {"connection_id":216115,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:16:56] local.INFO: Processing buffer {"connection_id":216115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:16:56] local.INFO: Packet analysis {"connection_id":216115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:16:56] local.INFO: Extracted packet for processing {"connection_id":216115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:16:56] 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-10-16 02: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-10-16 02:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:16:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:16:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":216115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:16:56] local.INFO: GPS data processed {"connection_id":216115,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:16:56] local.INFO: Acknowledgment sent {"connection_id":216115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:16:58] local.INFO: TCP Data received {"connection_id":216310,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:16:58] local.INFO: Processing buffer {"connection_id":216310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:16:58] local.INFO: IMEI packet received {"connection_id":216310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":216310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:16:59] local.INFO: TCP Data received {"connection_id":217664,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:16:59] local.INFO: Processing buffer {"connection_id":217664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:16:59] local.INFO: Packet analysis {"connection_id":217664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:16:59] local.INFO: Extracted packet for processing {"connection_id":217664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790272001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792097138000,"timestamp_ms":1792097138000,"timestamp_seconds":1792097138,"priority":1,"record_length":96,"hex_timestamp":"000001a141503550"} 
[2026-10-16 02:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:16:59] 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-10-16 02: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-10-16 02:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:16:59] 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-10-16 02:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790272001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790272001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:16:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:16:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790272001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":217664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:16:59] local.INFO: GPS data processed {"connection_id":217664,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:16:59] local.INFO: Acknowledgment sent {"connection_id":217664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:17:02] local.INFO: TCP Data received {"connection_id":216310,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:02] local.INFO: Processing buffer {"connection_id":216310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:02] local.INFO: IMEI packet received {"connection_id":216310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":216310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:17:03] local.INFO: TCP Data received {"connection_id":216310,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415021c8012d5c48000636d6200006014e30..."} 
[2026-10-16 02:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415021c8012d5c48000636d6200006014e30..."} 
[2026-10-16 02:17:03] local.INFO: Processing buffer {"connection_id":216310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415021c8012d5c48000636d6200006014e30..."} 
[2026-10-16 02:17:03] local.INFO: Packet analysis {"connection_id":216310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:17:03] local.INFO: Extracted packet for processing {"connection_id":216310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:17:03] local.INFO: GPS Element Parsed {"raw_longitude":761022464,"raw_latitude":104257056,"longitude_deg":76.1022464,"latitude_deg":10.4257056,"altitude":6,"angle":334,"satellites":48,"speed":51,"hex_longitude":"2d5c4800","hex_latitude":"0636d620","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776864256001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12135425799880704,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6653787001150894080,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792097133000,"timestamp_ms":1792097133000,"timestamp_seconds":1792097133,"priority":1,"record_length":96,"hex_timestamp":"000001a1415021c8"} 
[2026-10-16 02:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:17: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-10-16 02:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-10-16 02:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776864256001,"66":27463,"115":206,"19":38400,"24":51,"16":12135425799880704,"45":6653787001150894080},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-10-16 02:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776864256001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:17:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 02:17:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12135425799880704,"km_value":12135425799880.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6653787001150894080,"description":"Unknown IO ID 45"} 
[2026-10-16 02:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776864256001,"power":27463,"unknown_115":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6653787001150894080}} 
[2026-10-16 02:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":216310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043673,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:17:03] local.INFO: GPS data processed {"connection_id":216310,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:17:03] local.INFO: Acknowledgment sent {"connection_id":216310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:17:08] local.INFO: TCP Data received {"connection_id":216310,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141504108012d5c36800636f8580005014a2f..."} 
[2026-10-16 02:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141504108012d5c36800636f8580005014a2f..."} 
[2026-10-16 02:17:08] local.INFO: Processing buffer {"connection_id":216310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141504108012d5c36800636f8580005014a2f..."} 
[2026-10-16 02:17:08] local.INFO: Packet analysis {"connection_id":216310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:17:08] local.INFO: Extracted packet for processing {"connection_id":216310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:17:08] local.INFO: GPS Element Parsed {"raw_longitude":761017984,"raw_latitude":104265816,"longitude_deg":76.1017984,"latitude_deg":10.4265816,"altitude":5,"angle":330,"satellites":47,"speed":42,"hex_longitude":"2d5c3680","hex_latitude":"0636f858","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776866048001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12135902541250560,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6649564876502343680,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792097141000,"timestamp_ms":1792097141000,"timestamp_seconds":1792097141,"priority":1,"record_length":96,"hex_timestamp":"000001a141504108"} 
[2026-10-16 02:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:17: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-10-16 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 02:17: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-10-16 02: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-10-16 02:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776866048001,"66":27626,"115":206,"19":38400,"24":42,"16":12135902541250560,"45":6649564876502343680},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-10-16 02:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776866048001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:17:08] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 02:17:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12135902541250560,"km_value":12135902541250.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6649564876502343680,"description":"Unknown IO ID 45"} 
[2026-10-16 02:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776866048001,"power":27626,"unknown_115":206,"unknown_19":38400,"ignition":42,"odometer":null,"unknown_45":6649564876502343680}} 
[2026-10-16 02:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":216310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:17:08] local.INFO: GPS data processed {"connection_id":216310,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:17:08] local.INFO: Acknowledgment sent {"connection_id":216310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:17:17] local.INFO: TCP Data received {"connection_id":216116,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:17:17] local.INFO: Processing buffer {"connection_id":216116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:17:17] local.INFO: IMEI packet received {"connection_id":216116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":216116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:17:21] local.INFO: TCP Data received {"connection_id":219402,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:17:21] local.INFO: Processing buffer {"connection_id":219402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:17:21] local.INFO: IMEI packet received {"connection_id":219402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":219402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:17:23] local.INFO: TCP Data received {"connection_id":216116,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:17:23] local.INFO: Processing buffer {"connection_id":216116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:17:23] local.INFO: IMEI packet received {"connection_id":216116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":216116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:17:24] local.INFO: TCP Data received {"connection_id":216116,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:17:24] local.INFO: Processing buffer {"connection_id":216116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1414cc280012d7fac4005afe350001e00a627..."} 
[2026-10-16 02:17:24] local.INFO: Packet analysis {"connection_id":216116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:17:24] local.INFO: Extracted packet for processing {"connection_id":216116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1414c"} 
[2026-10-16 02:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":30,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776732416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792096912000,"timestamp_ms":1792096912000,"timestamp_seconds":1792096912,"priority":1,"record_length":96,"hex_timestamp":"000001a1414cc280"} 
[2026-10-16 02:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:17:24] 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-10-16 02:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776732416001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776732416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:17:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:17:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776732416001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":216116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:17:24] local.INFO: GPS data processed {"connection_id":216116,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:17:24] local.INFO: Acknowledgment sent {"connection_id":216116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:17:26] local.INFO: TCP Data received {"connection_id":219402,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:17:26] local.INFO: Processing buffer {"connection_id":219402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:17:26] local.INFO: IMEI packet received {"connection_id":219402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":219402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:17:28] local.INFO: TCP Data received {"connection_id":219402,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:17:28] local.INFO: Processing buffer {"connection_id":219402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:17:28] local.INFO: Packet analysis {"connection_id":219402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:17:28] local.INFO: Extracted packet for processing {"connection_id":219402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790272001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792097138000,"timestamp_ms":1792097138000,"timestamp_seconds":1792097138,"priority":1,"record_length":96,"hex_timestamp":"000001a141503550"} 
[2026-10-16 02:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:17:28] 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-10-16 02:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:17:28] 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-10-16 02:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790272001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790272001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:17:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790272001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":219402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:17:28] local.INFO: GPS data processed {"connection_id":219402,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:17:28] local.INFO: Acknowledgment sent {"connection_id":219402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:17:52] local.INFO: TCP Data received {"connection_id":216311,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:52] local.INFO: Processing buffer {"connection_id":216311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:52] local.INFO: IMEI packet received {"connection_id":216311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":216311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:17:54] local.INFO: TCP Data received {"connection_id":216311,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:54] local.INFO: Processing buffer {"connection_id":216311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:54] local.INFO: IMEI packet received {"connection_id":216311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":216311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:17:55] local.INFO: TCP Data received {"connection_id":216116,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:17:55] local.INFO: Processing buffer {"connection_id":216116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:17:55] local.INFO: Packet analysis {"connection_id":216116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:17:55] local.INFO: Extracted packet for processing {"connection_id":216116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:17:55] 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-10-16 02:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:17:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:17:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":216116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:17:55] local.INFO: GPS data processed {"connection_id":216116,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:17:55] local.INFO: Acknowledgment sent {"connection_id":216116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:17:58] local.INFO: TCP Data received {"connection_id":216311,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:58] local.INFO: Processing buffer {"connection_id":216311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:17:58] local.INFO: IMEI packet received {"connection_id":216311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":216311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:17:59] local.INFO: TCP Data received {"connection_id":219402,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:17:59] local.INFO: Processing buffer {"connection_id":219402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:17:59] local.INFO: Packet analysis {"connection_id":219402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:17:59] local.INFO: Extracted packet for processing {"connection_id":219402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:17: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-10-16 02:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790272001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792097138000,"timestamp_ms":1792097138000,"timestamp_seconds":1792097138,"priority":1,"record_length":96,"hex_timestamp":"000001a141503550"} 
[2026-10-16 02:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:17:59] 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-10-16 02:17: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-10-16 02:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:17: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-10-16 02:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790272001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790272001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:17:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790272001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":219402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:17:59] local.INFO: GPS data processed {"connection_id":219402,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:17:59] local.INFO: Acknowledgment sent {"connection_id":219402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:18:00] local.INFO: TCP Data received {"connection_id":216311,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141506c00012d5c2440063716d80006014d2e..."} 
[2026-10-16 02:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141506c00012d5c2440063716d80006014d2e..."} 
[2026-10-16 02:18:00] local.INFO: Processing buffer {"connection_id":216311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141506c00012d5c2440063716d80006014d2e..."} 
[2026-10-16 02:18:00] local.INFO: Packet analysis {"connection_id":216311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:18:00] local.INFO: Extracted packet for processing {"connection_id":216311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:18:00] local.INFO: GPS Element Parsed {"raw_longitude":761013312,"raw_latitude":104273624,"longitude_deg":76.1013312,"latitude_deg":10.4273624,"altitude":6,"angle":333,"satellites":46,"speed":17,"hex_longitude":"2d5c2440","hex_latitude":"063716d8","is_valid_coordinates":true} 
[2026-10-16 02:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776868096001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12136340627914752,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6644639064412149760,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792097152000,"timestamp_ms":1792097152000,"timestamp_seconds":1792097152,"priority":1,"record_length":96,"hex_timestamp":"000001a141506c00"} 
[2026-10-16 02:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-16 02:18:00] 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-10-16 02:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776868096001,"66":27441,"115":206,"19":38400,"24":17,"16":12136340627914752,"45":6644639064412149760},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-10-16 02:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776868096001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:18:00] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 02:18:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12136340627914752,"km_value":12136340627914.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6644639064412149760,"description":"Unknown IO ID 45"} 
[2026-10-16 02:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776868096001,"power":27441,"unknown_115":206,"unknown_19":38400,"ignition":17,"odometer":null,"unknown_45":6644639064412149760}} 
[2026-10-16 02:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":216311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:18:00] local.INFO: GPS data processed {"connection_id":216311,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:18:00] local.INFO: Acknowledgment sent {"connection_id":216311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:18:02] local.INFO: TCP Data received {"connection_id":216311,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14150be08012d5c22c006371a48000501442e..."} 
[2026-10-16 02:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14150be08012d5c22c006371a48000501442e..."} 
[2026-10-16 02:18:02] local.INFO: Processing buffer {"connection_id":216311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14150be08012d5c22c006371a48000501442e..."} 
[2026-10-16 02:18:02] local.INFO: Packet analysis {"connection_id":216311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:18:02] local.INFO: Extracted packet for processing {"connection_id":216311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:18:02] local.INFO: GPS Element Parsed {"raw_longitude":761012928,"raw_latitude":104274504,"longitude_deg":76.1012928,"latitude_deg":10.4274504,"altitude":5,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2d5c22c0","hex_latitude":"06371a48","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776870912001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12136387872555008,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6639502146089179136,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792097173000,"timestamp_ms":1792097173000,"timestamp_seconds":1792097173,"priority":1,"record_length":96,"hex_timestamp":"000001a14150be08"} 
[2026-10-16 02:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 02:18:02] 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-10-16 02:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776870912001,"66":27289,"115":206,"19":38400,"24":0,"16":12136387872555008,"45":6639502146089179136},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-10-16 02:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776870912001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:18:02] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 02:18:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12136387872555008,"km_value":12136387872555.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6639502146089179136,"description":"Unknown IO ID 45"} 
[2026-10-16 02:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776870912001,"power":27289,"unknown_115":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6639502146089179136}} 
[2026-10-16 02:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":216311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:18:02] local.INFO: GPS data processed {"connection_id":216311,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:18:02] local.INFO: Acknowledgment sent {"connection_id":216311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:18:22] local.INFO: TCP Data received {"connection_id":216313,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:18:22] local.INFO: Processing buffer {"connection_id":216313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:18:22] local.INFO: IMEI packet received {"connection_id":216313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":216313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:18:23] local.INFO: TCP Data received {"connection_id":216312,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:18:23] local.INFO: Processing buffer {"connection_id":216312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:18:23] local.INFO: IMEI packet received {"connection_id":216312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":216312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:18:26] local.INFO: TCP Data received {"connection_id":216313,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:18:26] local.INFO: Processing buffer {"connection_id":216313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:18:26] local.INFO: IMEI packet received {"connection_id":216313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":216313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:18:28] local.INFO: TCP Data received {"connection_id":216312,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:18:28] local.INFO: Processing buffer {"connection_id":216312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:18:28] local.INFO: IMEI packet received {"connection_id":216312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":216312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:18:29] local.INFO: TCP Data received {"connection_id":216312,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:18:29] local.INFO: Processing buffer {"connection_id":216312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:18:29] local.INFO: Packet analysis {"connection_id":216312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:18:29] local.INFO: Extracted packet for processing {"connection_id":216312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:18:29] 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-10-16 02:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:18:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:18:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":216312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:18:29] local.INFO: GPS data processed {"connection_id":216312,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:18:29] local.INFO: Acknowledgment sent {"connection_id":216312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:18:30] local.INFO: TCP Data received {"connection_id":216313,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:18:30] local.INFO: Processing buffer {"connection_id":216313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:18:30] local.INFO: Packet analysis {"connection_id":216313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:18:30] local.INFO: Extracted packet for processing {"connection_id":216313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790272001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792097138000,"timestamp_ms":1792097138000,"timestamp_seconds":1792097138,"priority":1,"record_length":96,"hex_timestamp":"000001a141503550"} 
[2026-10-16 02:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:18:30] 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-10-16 02:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790272001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790272001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:18:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790272001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":216313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:18:30] local.INFO: GPS data processed {"connection_id":216313,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:18:30] local.INFO: Acknowledgment sent {"connection_id":216313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:18:34] local.INFO: TCP Data received {"connection_id":216312,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:18:34] local.INFO: Processing buffer {"connection_id":216312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:18:34] local.INFO: Packet analysis {"connection_id":216312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:18:34] local.INFO: Extracted packet for processing {"connection_id":216312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:18:34] 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-10-16 02: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-10-16 02:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:18:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:18:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":216312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:18:34] local.INFO: GPS data processed {"connection_id":216312,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:18:34] local.INFO: Acknowledgment sent {"connection_id":216312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:18:34] local.INFO: TCP Data received {"connection_id":216311,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141511010012d5c0ac0063750a00005014d2e..."} 
[2026-10-16 02:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141511010012d5c0ac0063750a00005014d2e..."} 
[2026-10-16 02:18:34] local.INFO: Processing buffer {"connection_id":216311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141511010012d5c0ac0063750a00005014d2e..."} 
[2026-10-16 02:18:34] local.INFO: Packet analysis {"connection_id":216311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:18:34] local.INFO: Extracted packet for processing {"connection_id":216311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:18:34] local.INFO: GPS Element Parsed {"raw_longitude":761006784,"raw_latitude":104288416,"longitude_deg":76.1006784,"latitude_deg":10.4288416,"altitude":5,"angle":333,"satellites":46,"speed":0,"hex_longitude":"2d5c0ac0","hex_latitude":"063750a0","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776876288001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12136387872555008,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6639079933624338432,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792097194000,"timestamp_ms":1792097194000,"timestamp_seconds":1792097194,"priority":1,"record_length":96,"hex_timestamp":"000001a141511010"} 
[2026-10-16 02:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02: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":153,"data_length":795,"current_offset":136} 
[2026-10-16 02:18:34] 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-10-16 02: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-10-16 02:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776876288001,"66":27430,"115":206,"19":38400,"24":0,"16":12136387872555008,"45":6639079933624338432},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-10-16 02:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776876288001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:18:34] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 02:18:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12136387872555008,"km_value":12136387872555.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6639079933624338432,"description":"Unknown IO ID 45"} 
[2026-10-16 02:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776876288001,"power":27430,"unknown_115":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6639079933624338432}} 
[2026-10-16 02:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":216311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:18:34] local.INFO: GPS data processed {"connection_id":216311,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:18:34] local.INFO: Acknowledgment sent {"connection_id":216311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:18:52] local.INFO: TCP Data received {"connection_id":219403,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:18:52] local.INFO: Processing buffer {"connection_id":219403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:18:52] local.INFO: IMEI packet received {"connection_id":219403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":219403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:18:58] local.INFO: TCP Data received {"connection_id":219403,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:18:58] local.INFO: Processing buffer {"connection_id":219403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:18:58] local.INFO: IMEI packet received {"connection_id":219403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":219403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:18:59] local.INFO: TCP Data received {"connection_id":219403,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141516218012d5beb80063794480005014f2f..."} 
[2026-10-16 02:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141516218012d5beb80063794480005014f2f..."} 
[2026-10-16 02:18:59] local.INFO: Processing buffer {"connection_id":219403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141516218012d5beb80063794480005014f2f..."} 
[2026-10-16 02:18:59] local.INFO: Packet analysis {"connection_id":219403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:18:59] local.INFO: Extracted packet for processing {"connection_id":219403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:18:59] local.INFO: GPS Element Parsed {"raw_longitude":760998784,"raw_latitude":104305736,"longitude_deg":76.0998784,"latitude_deg":10.4305736,"altitude":5,"angle":335,"satellites":47,"speed":0,"hex_longitude":"2d5beb80","hex_latitude":"06379448","is_valid_coordinates":true} 
[2026-10-16 02:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776881664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12136387872555008,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6632324534186844160,"note":"Value kept but may cause issues"} 
[2026-10-16 02:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792097215000,"timestamp_ms":1792097215000,"timestamp_seconds":1792097215,"priority":1,"record_length":96,"hex_timestamp":"000001a141516218"} 
[2026-10-16 02:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:18: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-10-16 02:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 02:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776881664001,"66":27137,"115":206,"19":38400,"24":0,"16":12136387872555008,"45":6632324534186844160},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-10-16 02:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776881664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:18:59] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-10-16 02:18:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12136387872555008,"km_value":12136387872555.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6632324534186844160,"description":"Unknown IO ID 45"} 
[2026-10-16 02:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776881664001,"power":27137,"unknown_115":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6632324534186844160}} 
[2026-10-16 02:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":219403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:18:59] local.INFO: GPS data processed {"connection_id":219403,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:18:59] local.INFO: Acknowledgment sent {"connection_id":219403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:19:01] local.INFO: TCP Data received {"connection_id":216313,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:19:01] local.INFO: Processing buffer {"connection_id":216313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:19:01] local.INFO: Packet analysis {"connection_id":216313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:19:01] local.INFO: Extracted packet for processing {"connection_id":216313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790272001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792097138000,"timestamp_ms":1792097138000,"timestamp_seconds":1792097138,"priority":1,"record_length":96,"hex_timestamp":"000001a141503550"} 
[2026-10-16 02:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:19:01] 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-10-16 02:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790272001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790272001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:19:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790272001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":216313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:19:01] local.INFO: GPS data processed {"connection_id":216313,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:19:01] local.INFO: Acknowledgment sent {"connection_id":216313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:19:19] local.INFO: TCP Data received {"connection_id":217665,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:19:19] local.INFO: Processing buffer {"connection_id":217665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:19:19] local.INFO: IMEI packet received {"connection_id":217665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":217665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:19:21] local.INFO: TCP Data received {"connection_id":217666,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:19:21] local.INFO: Processing buffer {"connection_id":217666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:19:21] local.INFO: IMEI packet received {"connection_id":217666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":217666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:19:23] local.INFO: TCP Data received {"connection_id":217665,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:19:23] local.INFO: Processing buffer {"connection_id":217665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:19:23] local.INFO: IMEI packet received {"connection_id":217665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":217665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:19:24] local.INFO: TCP Data received {"connection_id":217665,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:19:24] local.INFO: Processing buffer {"connection_id":217665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:19:24] local.INFO: Packet analysis {"connection_id":217665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:19:24] local.INFO: Extracted packet for processing {"connection_id":217665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:19:24] 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-10-16 02:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:19:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:19:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":217665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:19:24] local.INFO: GPS data processed {"connection_id":217665,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:19:24] local.INFO: Acknowledgment sent {"connection_id":217665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:19:26] local.INFO: TCP Data received {"connection_id":217666,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:19:26] local.INFO: Processing buffer {"connection_id":217666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:19:26] local.INFO: IMEI packet received {"connection_id":217666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":217666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:19:28] local.INFO: TCP Data received {"connection_id":217666,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:19:28] local.INFO: Processing buffer {"connection_id":217666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:19:28] local.INFO: Packet analysis {"connection_id":217666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:19:28] local.INFO: Extracted packet for processing {"connection_id":217666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790272001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792097138000,"timestamp_ms":1792097138000,"timestamp_seconds":1792097138,"priority":1,"record_length":96,"hex_timestamp":"000001a141503550"} 
[2026-10-16 02:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:19:28] 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-10-16 02:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:19:28] 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-10-16 02:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790272001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790272001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:19:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790272001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":217666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:19:28] local.INFO: GPS data processed {"connection_id":217666,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:19:28] local.INFO: Acknowledgment sent {"connection_id":217666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:19:38] local.INFO: TCP Data received {"connection_id":219403,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14152e0e8012d5ae780063974480009014f30..."} 
[2026-10-16 02:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14152e0e8012d5ae780063974480009014f30..."} 
[2026-10-16 02:19:38] local.INFO: Processing buffer {"connection_id":219403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14152e0e8012d5ae780063974480009014f30..."} 
[2026-10-16 02:19:38] local.INFO: Packet analysis {"connection_id":219403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14152"} 
[2026-10-16 02:19:38] local.INFO: Extracted packet for processing {"connection_id":219403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14152"} 
[2026-10-16 02:19:38] local.INFO: GPS Element Parsed {"raw_longitude":760932224,"raw_latitude":104428616,"longitude_deg":76.0932224,"latitude_deg":10.4428616,"altitude":9,"angle":335,"satellites":48,"speed":55,"hex_longitude":"2d5ae780","hex_latitude":"06397448","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776910336001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12141077976842240,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6554637440648370176,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792097313000,"timestamp_ms":1792097313000,"timestamp_seconds":1792097313,"priority":1,"record_length":96,"hex_timestamp":"000001a14152e0e8"} 
[2026-10-16 02:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02: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-10-16 02: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":77,"data_length":795,"current_offset":136} 
[2026-10-16 02:19: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-10-16 02: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-10-16 02:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":219403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":219403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":219403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776910336001,"66":27234,"117":206,"19":38400,"24":55,"16":12141077976842240,"45":6554637440648370176},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-10-16 02:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776910336001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:19:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-16 02:19:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12141077976842240,"km_value":12141077976842.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6554637440648370176,"description":"Unknown IO ID 45"} 
[2026-10-16 02:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776910336001,"power":27234,"unknown_117":206,"unknown_19":38400,"ignition":55,"odometer":null,"unknown_45":6554637440648370176}} 
[2026-10-16 02:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":219403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:19:38] local.INFO: GPS data processed {"connection_id":219403,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:19:38] local.INFO: Acknowledgment sent {"connection_id":219403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:19:55] local.INFO: TCP Data received {"connection_id":217665,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:19:56] local.INFO: Processing buffer {"connection_id":217665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:19:56] local.INFO: Packet analysis {"connection_id":217665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:19:56] local.INFO: Extracted packet for processing {"connection_id":217665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:19:56] 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-10-16 02:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:19:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:19:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":217665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:19:56] local.INFO: GPS data processed {"connection_id":217665,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:19:56] local.INFO: Acknowledgment sent {"connection_id":217665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:19:59] local.INFO: TCP Data received {"connection_id":217666,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:19:59] local.INFO: Processing buffer {"connection_id":217666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:19:59] local.INFO: Packet analysis {"connection_id":217666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:19:59] local.INFO: Extracted packet for processing {"connection_id":217666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:19: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-10-16 02:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790272001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792097138000,"timestamp_ms":1792097138000,"timestamp_seconds":1792097138,"priority":1,"record_length":96,"hex_timestamp":"000001a141503550"} 
[2026-10-16 02:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:19:59] 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-10-16 02:19: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-10-16 02:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:19: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-10-16 02:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790272001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790272001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:19:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790272001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":217666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:19:59] local.INFO: GPS data processed {"connection_id":217666,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:19:59] local.INFO: Acknowledgment sent {"connection_id":217666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:20:17] local.INFO: TCP Data received {"connection_id":219404,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:20:17] local.INFO: Processing buffer {"connection_id":219404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:20:17] local.INFO: IMEI packet received {"connection_id":219404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":219404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:20:21] local.INFO: TCP Data received {"connection_id":216314,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:20:21] local.INFO: Processing buffer {"connection_id":216314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:20:21] local.INFO: IMEI packet received {"connection_id":216314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":216314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:20:22] local.INFO: TCP Data received {"connection_id":219404,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:20:22] local.INFO: Processing buffer {"connection_id":219404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:20:22] local.INFO: IMEI packet received {"connection_id":219404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":219404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:20:23] local.INFO: TCP Data received {"connection_id":219404,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:20:23] local.INFO: Processing buffer {"connection_id":219404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:20:23] local.INFO: Packet analysis {"connection_id":219404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:20:23] local.INFO: Extracted packet for processing {"connection_id":219404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:20:23] 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-10-16 02: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-10-16 02:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:20:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:20:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":219404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:20:23] local.INFO: GPS data processed {"connection_id":219404,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:20:23] local.INFO: Acknowledgment sent {"connection_id":219404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:20:26] local.INFO: TCP Data received {"connection_id":219405,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:26] local.INFO: Processing buffer {"connection_id":219405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:26] local.INFO: IMEI packet received {"connection_id":219405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":219405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:20:27] local.INFO: TCP Data received {"connection_id":216314,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:20:27] local.INFO: Processing buffer {"connection_id":216314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:20:27] local.INFO: IMEI packet received {"connection_id":216314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":216314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:20:28] local.INFO: TCP Data received {"connection_id":216314,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:20:28] local.INFO: Processing buffer {"connection_id":216314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141503550012d7c240005dad510000000ea22..."} 
[2026-10-16 02:20:28] local.INFO: Packet analysis {"connection_id":216314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:20:28] local.INFO: Extracted packet for processing {"connection_id":216314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14150"} 
[2026-10-16 02:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776790272001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792097138000,"timestamp_ms":1792097138000,"timestamp_seconds":1792097138,"priority":1,"record_length":96,"hex_timestamp":"000001a141503550"} 
[2026-10-16 02:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:20:28] 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-10-16 02:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776790272001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776790272001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:20:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776790272001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":216314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:20:28] local.INFO: GPS data processed {"connection_id":216314,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:20:28] local.INFO: Acknowledgment sent {"connection_id":216314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:20:31] local.INFO: TCP Data received {"connection_id":219405,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:31] local.INFO: Processing buffer {"connection_id":219405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:31] local.INFO: IMEI packet received {"connection_id":219405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":219405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:20:34] local.INFO: TCP Data received {"connection_id":219405,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:34] local.INFO: Processing buffer {"connection_id":219405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:34] local.INFO: IMEI packet received {"connection_id":219405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":219405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:20:37] local.INFO: TCP Data received {"connection_id":219405,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14152fc40012d5ad7c0063997680007014f31..."} 
[2026-10-16 02:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14152fc40012d5ad7c0063997680007014f31..."} 
[2026-10-16 02:20:37] local.INFO: Processing buffer {"connection_id":219405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14152fc40012d5ad7c0063997680007014f31..."} 
[2026-10-16 02:20:37] local.INFO: Packet analysis {"connection_id":219405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14152"} 
[2026-10-16 02:20:37] local.INFO: Extracted packet for processing {"connection_id":219405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14152"} 
[2026-10-16 02:20:37] local.INFO: GPS Element Parsed {"raw_longitude":760928192,"raw_latitude":104437608,"longitude_deg":76.0928192,"latitude_deg":10.4437608,"altitude":7,"angle":335,"satellites":49,"speed":55,"hex_longitude":"2d5ad7c0","hex_latitude":"06399768","is_valid_coordinates":true} 
[2026-10-16 02:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776912128001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12141554718212096,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6550344947255756800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792097320000,"timestamp_ms":1792097320000,"timestamp_seconds":1792097320,"priority":1,"record_length":96,"hex_timestamp":"000001a14152fc40"} 
[2026-10-16 02:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:20: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-10-16 02:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 02:20: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-10-16 02:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":219405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":219405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":219405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776912128001,"66":27397,"117":206,"19":38400,"24":55,"16":12141554718212096,"45":6550344947255756800},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-10-16 02:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776912128001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:20:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-16 02:20:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12141554718212096,"km_value":12141554718212.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6550344947255756800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776912128001,"power":27397,"unknown_117":206,"unknown_19":38400,"ignition":55,"odometer":null,"unknown_45":6550344947255756800}} 
[2026-10-16 02:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":219405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:20:37] local.INFO: GPS data processed {"connection_id":219405,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:20:37] local.INFO: Acknowledgment sent {"connection_id":219405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:20:38] local.INFO: TCP Data received {"connection_id":219405,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141531798012d5ac8800639b9900008014f32..."} 
[2026-10-16 02:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141531798012d5ac8800639b9900008014f32..."} 
[2026-10-16 02:20:38] local.INFO: Processing buffer {"connection_id":219405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141531798012d5ac8800639b9900008014f32..."} 
[2026-10-16 02:20:38] local.INFO: Packet analysis {"connection_id":219405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14153"} 
[2026-10-16 02:20:38] local.INFO: Extracted packet for processing {"connection_id":219405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14153"} 
[2026-10-16 02:20:38] local.INFO: GPS Element Parsed {"raw_longitude":760924288,"raw_latitude":104446352,"longitude_deg":76.0924288,"latitude_deg":10.4446352,"altitude":8,"angle":335,"satellites":50,"speed":52,"hex_longitude":"2d5ac880","hex_latitude":"0639b990","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776913920001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12142014279712768,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6545911716374865920,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792097327000,"timestamp_ms":1792097327000,"timestamp_seconds":1792097327,"priority":1,"record_length":96,"hex_timestamp":"000001a141531798"} 
[2026-10-16 02:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:20: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-10-16 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 02:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":219405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":219405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":219405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776913920001,"66":27419,"117":206,"19":38400,"24":52,"16":12142014279712768,"45":6545911716374865920},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-10-16 02:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776913920001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:20:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-10-16 02:20:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12142014279712768,"km_value":12142014279712.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6545911716374865920,"description":"Unknown IO ID 45"} 
[2026-10-16 02:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776913920001,"power":27419,"unknown_117":206,"unknown_19":38400,"ignition":52,"odometer":null,"unknown_45":6545911716374865920}} 
[2026-10-16 02:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":219405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:20:38] local.INFO: GPS data processed {"connection_id":219405,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:20:38] local.ERROR: TCP Connection error {"connection_id":219405,"code":2,"message":"client closed"} 
[2026-10-16 02:20:38] local.INFO: Acknowledgment sent {"connection_id":219405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:20:55] local.INFO: TCP Data received {"connection_id":219404,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:20:55] local.INFO: Processing buffer {"connection_id":219404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:20:55] local.INFO: Packet analysis {"connection_id":219404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:20:55] local.INFO: Extracted packet for processing {"connection_id":219404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:20:55] 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-10-16 02:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:20:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:20:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":219404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:20:55] local.INFO: GPS data processed {"connection_id":219404,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:20:55] local.INFO: Acknowledgment sent {"connection_id":219404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:20:57] local.INFO: TCP Data received {"connection_id":217667,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:57] local.INFO: Processing buffer {"connection_id":217667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:20:57] local.INFO: IMEI packet received {"connection_id":217667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":217667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:21:03] local.INFO: TCP Data received {"connection_id":216314,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:21:03] local.INFO: Processing buffer {"connection_id":216314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:21:03] local.INFO: Packet analysis {"connection_id":216314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:21:03] local.INFO: Extracted packet for processing {"connection_id":216314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776867328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792097439000,"timestamp_ms":1792097439000,"timestamp_seconds":1792097439,"priority":1,"record_length":96,"hex_timestamp":"000001a14154cd18"} 
[2026-10-16 02:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:21:03] 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-10-16 02:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:21: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-10-16 02:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776867328001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776867328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:21:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:21:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776867328001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":216314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:21:03] local.INFO: GPS data processed {"connection_id":216314,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:21:03] local.INFO: Acknowledgment sent {"connection_id":216314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:21:03] local.INFO: TCP Data received {"connection_id":217667,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:21:03] local.INFO: Processing buffer {"connection_id":217667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:21:03] local.INFO: IMEI packet received {"connection_id":217667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":217667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:21:05] local.INFO: TCP Data received {"connection_id":217667,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141545400012d5ada80063b38f00005016333..."} 
[2026-10-16 02:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141545400012d5ada80063b38f00005016333..."} 
[2026-10-16 02:21:05] local.INFO: Processing buffer {"connection_id":217667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141545400012d5ada80063b38f00005016333..."} 
[2026-10-16 02:21:05] local.INFO: Packet analysis {"connection_id":217667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:21:05] local.INFO: Extracted packet for processing {"connection_id":217667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:21:05] local.INFO: GPS Element Parsed {"raw_longitude":760928896,"raw_latitude":104544496,"longitude_deg":76.0928896,"latitude_deg":10.4544496,"altitude":5,"angle":355,"satellites":51,"speed":49,"hex_longitude":"2d5ada80","hex_latitude":"063b38f0","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776934656001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12147017916612608,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546474666353440768,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792097408000,"timestamp_ms":1792097408000,"timestamp_seconds":1792097408,"priority":1,"record_length":96,"hex_timestamp":"000001a141545400"} 
[2026-10-16 02:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02: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-10-16 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 02:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776934656001,"66":27310,"217":206,"19":38400,"24":49,"16":12147017916612608,"45":6546474666353440768},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,19,24,16,45]} 
[2026-10-16 02:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776934656001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:21:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-16 02:21:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12147017916612608,"km_value":12147017916612.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546474666353440768,"description":"Unknown IO ID 45"} 
[2026-10-16 02:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776934656001,"power":27310,"unknown_217":206,"unknown_19":38400,"ignition":49,"odometer":null,"unknown_45":6546474666353440768}} 
[2026-10-16 02:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":217667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:21:05] local.INFO: GPS data processed {"connection_id":217667,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:21:05] local.INFO: Acknowledgment sent {"connection_id":217667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:21:17] local.INFO: TCP Data received {"connection_id":216117,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:21:17] local.INFO: Processing buffer {"connection_id":216117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:21:17] local.INFO: IMEI packet received {"connection_id":216117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":216117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:21:22] local.INFO: TCP Data received {"connection_id":216117,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:21:22] local.INFO: Processing buffer {"connection_id":216117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:21:22] local.INFO: IMEI packet received {"connection_id":216117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":216117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:21:23] local.INFO: TCP Data received {"connection_id":216117,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:21:23] local.INFO: Processing buffer {"connection_id":216117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:21:23] local.INFO: Packet analysis {"connection_id":216117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:21:23] local.INFO: Extracted packet for processing {"connection_id":216117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:21:23] 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-10-16 02:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:21:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:21:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":216117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:21:23] local.INFO: GPS data processed {"connection_id":216117,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:21:23] local.INFO: Acknowledgment sent {"connection_id":216117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:21:26] local.INFO: TCP Data received {"connection_id":216118,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:21:26] local.INFO: Processing buffer {"connection_id":216118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:21:26] local.INFO: IMEI packet received {"connection_id":216118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":216118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:21:31] local.INFO: TCP Data received {"connection_id":216118,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:21:31] local.INFO: Processing buffer {"connection_id":216118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:21:31] local.INFO: IMEI packet received {"connection_id":216118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":216118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:21:38] local.INFO: TCP Data received {"connection_id":217667,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141547340012d5ad200063b5f880005015732..."} 
[2026-10-16 02:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141547340012d5ad200063b5f880005015732..."} 
[2026-10-16 02:21:38] local.INFO: Processing buffer {"connection_id":217667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141547340012d5ad200063b5f880005015732..."} 
[2026-10-16 02:21:38] local.INFO: Packet analysis {"connection_id":217667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:21:38] local.INFO: Extracted packet for processing {"connection_id":217667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:21:38] local.INFO: GPS Element Parsed {"raw_longitude":760926720,"raw_latitude":104554376,"longitude_deg":76.092672,"latitude_deg":10.4554376,"altitude":5,"angle":343,"satellites":50,"speed":50,"hex_longitude":"2d5ad200","hex_latitude":"063b5f88","is_valid_coordinates":true} 
[2026-10-16 02:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776936448001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12147511837851648,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546685772588183552,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792097416000,"timestamp_ms":1792097416000,"timestamp_seconds":1792097416,"priority":1,"record_length":96,"hex_timestamp":"000001a141547340"} 
[2026-10-16 02:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02: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-10-16 02:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 02:21:38] 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-10-16 02:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776936448001,"66":27104,"217":206,"19":38400,"24":50,"16":12147511837851648,"45":6546685772588183552},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,19,24,16,45]} 
[2026-10-16 02:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776936448001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:21:38] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-16 02:21:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12147511837851648,"km_value":12147511837851.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546685772588183552,"description":"Unknown IO ID 45"} 
[2026-10-16 02:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776936448001,"power":27104,"unknown_217":206,"unknown_19":38400,"ignition":50,"odometer":null,"unknown_45":6546685772588183552}} 
[2026-10-16 02:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":217667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:21:38] local.INFO: GPS data processed {"connection_id":217667,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:21:38] local.INFO: Acknowledgment sent {"connection_id":217667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:21:43] local.INFO: TCP Data received {"connection_id":216118,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:21:43] local.INFO: Processing buffer {"connection_id":216118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:21:43] local.INFO: Packet analysis {"connection_id":216118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:21:43] local.INFO: Extracted packet for processing {"connection_id":216118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:21:43] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776867328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792097439000,"timestamp_ms":1792097439000,"timestamp_seconds":1792097439,"priority":1,"record_length":96,"hex_timestamp":"000001a14154cd18"} 
[2026-10-16 02:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:21: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-10-16 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:21:43] 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-10-16 02: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-10-16 02:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":216118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":216118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":216118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:21:43] 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-10-16 02:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776867328001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776867328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:21:43] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776867328001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":216118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:21:43] local.INFO: GPS data processed {"connection_id":216118,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:21:43] local.INFO: Acknowledgment sent {"connection_id":216118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:21:44] local.INFO: TCP Data received {"connection_id":216118,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:21:44] local.INFO: Processing buffer {"connection_id":216118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:21:44] local.INFO: Packet analysis {"connection_id":216118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:21:44] local.INFO: Extracted packet for processing {"connection_id":216118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:21:44] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 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-10-16 02:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776867328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792097439000,"timestamp_ms":1792097439000,"timestamp_seconds":1792097439,"priority":1,"record_length":96,"hex_timestamp":"000001a14154cd18"} 
[2026-10-16 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-10-16 02:21: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-10-16 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:21:44] 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-10-16 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-10-16 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-10-16 02:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:21: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-10-16 02:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776867328001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776867328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:21:44] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776867328001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":216118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:21:44] local.INFO: GPS data processed {"connection_id":216118,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:21:44] local.INFO: Acknowledgment sent {"connection_id":216118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:21:55] local.INFO: TCP Data received {"connection_id":216117,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:21:55] local.INFO: Processing buffer {"connection_id":216117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:21:55] local.INFO: Packet analysis {"connection_id":216117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:21:55] local.INFO: Extracted packet for processing {"connection_id":216117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:21:55] 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-10-16 02:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:21:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:21:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":216117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:21:55] local.INFO: GPS data processed {"connection_id":216117,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:21:55] local.INFO: Acknowledgment sent {"connection_id":216117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:22:21] local.INFO: TCP Data received {"connection_id":216315,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:22:21] local.INFO: Processing buffer {"connection_id":216315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:22:21] local.INFO: IMEI packet received {"connection_id":216315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":216315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:22:23] local.INFO: TCP Data received {"connection_id":216316,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:22:23] local.INFO: Processing buffer {"connection_id":216316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:22:23] local.INFO: IMEI packet received {"connection_id":216316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":216316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:22:26] local.INFO: TCP Data received {"connection_id":216315,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:22:26] local.INFO: Processing buffer {"connection_id":216315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:22:26] local.INFO: IMEI packet received {"connection_id":216315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":216315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:22:27] local.INFO: TCP Data received {"connection_id":216315,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:22:27] local.INFO: Processing buffer {"connection_id":216315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:22:27] local.INFO: Packet analysis {"connection_id":216315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:22:27] local.INFO: Extracted packet for processing {"connection_id":216315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776867328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792097439000,"timestamp_ms":1792097439000,"timestamp_seconds":1792097439,"priority":1,"record_length":96,"hex_timestamp":"000001a14154cd18"} 
[2026-10-16 02:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:22:27] 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-10-16 02:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:22: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-10-16 02:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776867328001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776867328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:22:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776867328001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":216315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:22:27] local.INFO: GPS data processed {"connection_id":216315,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:22:27] local.INFO: Acknowledgment sent {"connection_id":216315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:22:28] local.INFO: TCP Data received {"connection_id":216316,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:22:28] local.INFO: Processing buffer {"connection_id":216316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:22:28] local.INFO: IMEI packet received {"connection_id":216316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":216316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:22:29] local.INFO: TCP Data received {"connection_id":216316,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:22:29] local.INFO: Processing buffer {"connection_id":216316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:22:29] local.INFO: Packet analysis {"connection_id":216316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:22:29] local.INFO: Extracted packet for processing {"connection_id":216316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:22:29] 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-10-16 02:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:22:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:22:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":216316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:22:29] local.INFO: GPS data processed {"connection_id":216316,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:22:29] local.INFO: Acknowledgment sent {"connection_id":216316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:22:33] local.INFO: TCP Data received {"connection_id":216316,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:22:33] local.INFO: Processing buffer {"connection_id":216316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141515a48012d7fac4005afe350000000a628..."} 
[2026-10-16 02:22:33] local.INFO: Packet analysis {"connection_id":216316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:22:33] local.INFO: Extracted packet for processing {"connection_id":216316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14151"} 
[2026-10-16 02:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776809472001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792097213000,"timestamp_ms":1792097213000,"timestamp_seconds":1792097213,"priority":1,"record_length":96,"hex_timestamp":"000001a141515a48"} 
[2026-10-16 02:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776809472001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776809472001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:22:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:22:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776809472001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":216316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:22:33] local.INFO: GPS data processed {"connection_id":216316,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:22:33] local.INFO: Acknowledgment sent {"connection_id":216316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:22:58] local.INFO: TCP Data received {"connection_id":216315,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:22:58] local.INFO: Processing buffer {"connection_id":216315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:22:58] local.INFO: Packet analysis {"connection_id":216315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:22:58] local.INFO: Extracted packet for processing {"connection_id":216315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776867328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792097439000,"timestamp_ms":1792097439000,"timestamp_seconds":1792097439,"priority":1,"record_length":96,"hex_timestamp":"000001a14154cd18"} 
[2026-10-16 02:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:22:58] 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-10-16 02:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:22: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-10-16 02:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776867328001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776867328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:22:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776867328001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":216315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:22:58] local.INFO: GPS data processed {"connection_id":216315,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:22:58] local.INFO: Acknowledgment sent {"connection_id":216315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:23:03] local.INFO: TCP Data received {"connection_id":216119,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:23:03] local.INFO: Processing buffer {"connection_id":216119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:23:03] local.INFO: IMEI packet received {"connection_id":216119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":216119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:23:04] local.INFO: TCP Data received {"connection_id":216119,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:23:04] local.INFO: Processing buffer {"connection_id":216119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:23:04] local.INFO: IMEI packet received {"connection_id":216119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":216119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:23:05] local.INFO: TCP Data received {"connection_id":216119,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141559450012d5a5780063ccee00003015430..."} 
[2026-10-16 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141559450012d5a5780063ccee00003015430..."} 
[2026-10-16 02:23:05] local.INFO: Processing buffer {"connection_id":216119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141559450012d5a5780063ccee00003015430..."} 
[2026-10-16 02:23:05] local.INFO: Packet analysis {"connection_id":216119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:23:05] local.INFO: Extracted packet for processing {"connection_id":216119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:23:05] local.INFO: GPS Element Parsed {"raw_longitude":760895360,"raw_latitude":104648416,"longitude_deg":76.089536,"latitude_deg":10.4648416,"altitude":3,"angle":340,"satellites":48,"speed":54,"hex_longitude":"2d5a5780","hex_latitude":"063ccee0","is_valid_coordinates":true} 
[2026-10-16 02:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776955648001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12152309316321280,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6513260619128068096,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792097490000,"timestamp_ms":1792097490000,"timestamp_seconds":1792097490,"priority":1,"record_length":96,"hex_timestamp":"000001a141559450"} 
[2026-10-16 02:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:23: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-10-16 02:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 02:23: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-10-16 02:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776955648001,"66":27234,"85":206,"19":38400,"24":54,"16":12152309316321280,"45":6513260619128068096},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-10-16 02:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776955648001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:23:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-10-16 02:23:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12152309316321280,"km_value":12152309316321.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6513260619128068096,"description":"Unknown IO ID 45"} 
[2026-10-16 02:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776955648001,"power":27234,"unknown_85":206,"unknown_19":38400,"ignition":54,"odometer":null,"unknown_45":6513260619128068096}} 
[2026-10-16 02:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":216119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:23:05] local.INFO: GPS data processed {"connection_id":216119,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:23:05] local.INFO: Acknowledgment sent {"connection_id":216119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:23:08] local.INFO: TCP Data received {"connection_id":216119,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14155afa8012d5a4ac0063cf1b80003015330..."} 
[2026-10-16 02:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14155afa8012d5a4ac0063cf1b80003015330..."} 
[2026-10-16 02:23:08] local.INFO: Processing buffer {"connection_id":216119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14155afa8012d5a4ac0063cf1b80003015330..."} 
[2026-10-16 02:23:08] local.INFO: Packet analysis {"connection_id":216119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:23:08] local.INFO: Extracted packet for processing {"connection_id":216119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:23:08] local.INFO: GPS Element Parsed {"raw_longitude":760892096,"raw_latitude":104657336,"longitude_deg":76.0892096,"latitude_deg":10.4657336,"altitude":3,"angle":339,"satellites":48,"speed":53,"hex_longitude":"2d5a4ac0","hex_latitude":"063cf1b8","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776957440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12152768877821952,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6509812550665691136,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792097497000,"timestamp_ms":1792097497000,"timestamp_seconds":1792097497,"priority":1,"record_length":96,"hex_timestamp":"000001a14155afa8"} 
[2026-10-16 02:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:23: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-10-16 02: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 02:23:08] 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-10-16 02: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-10-16 02:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776957440001,"66":27180,"85":206,"19":38400,"24":53,"16":12152768877821952,"45":6509812550665691136},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-10-16 02:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776957440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-10-16 02:23:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12152768877821952,"km_value":12152768877821.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6509812550665691136,"description":"Unknown IO ID 45"} 
[2026-10-16 02:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776957440001,"power":27180,"unknown_85":206,"unknown_19":38400,"ignition":53,"odometer":null,"unknown_45":6509812550665691136}} 
[2026-10-16 02:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":216119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:23:08] local.INFO: GPS data processed {"connection_id":216119,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:23:08] local.INFO: Acknowledgment sent {"connection_id":216119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:23:21] local.INFO: TCP Data received {"connection_id":217668,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:23:21] local.INFO: Processing buffer {"connection_id":217668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:23:21] local.INFO: IMEI packet received {"connection_id":217668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":217668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:23:22] local.INFO: TCP Data received {"connection_id":216120,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:23:22] local.INFO: Processing buffer {"connection_id":216120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:23:22] local.INFO: IMEI packet received {"connection_id":216120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":216120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:23:26] local.INFO: TCP Data received {"connection_id":217668,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:23:26] local.INFO: Processing buffer {"connection_id":217668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:23:26] local.INFO: IMEI packet received {"connection_id":217668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":217668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:23:27] local.INFO: TCP Data received {"connection_id":217668,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:23:27] local.INFO: Processing buffer {"connection_id":217668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:23:27] local.INFO: Packet analysis {"connection_id":217668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:23:27] local.INFO: Extracted packet for processing {"connection_id":217668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776867328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792097439000,"timestamp_ms":1792097439000,"timestamp_seconds":1792097439,"priority":1,"record_length":96,"hex_timestamp":"000001a14154cd18"} 
[2026-10-16 02:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:23:27] 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-10-16 02:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776867328001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776867328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:23:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776867328001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":217668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:23:27] local.INFO: GPS data processed {"connection_id":217668,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:23:27] local.INFO: Acknowledgment sent {"connection_id":217668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:23:28] local.INFO: TCP Data received {"connection_id":216120,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:23:28] local.INFO: Processing buffer {"connection_id":216120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:23:28] local.INFO: IMEI packet received {"connection_id":216120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":216120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:23:29] local.INFO: TCP Data received {"connection_id":216120,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:23:29] local.INFO: Processing buffer {"connection_id":216120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:23:29] local.INFO: Packet analysis {"connection_id":216120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:23:29] local.INFO: Extracted packet for processing {"connection_id":216120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776886528001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792097514000,"timestamp_ms":1792097514000,"timestamp_seconds":1792097514,"priority":1,"record_length":96,"hex_timestamp":"000001a14155f210"} 
[2026-10-16 02:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:23:29] 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-10-16 02:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776886528001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776886528001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:23:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:23:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776886528001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":216120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:23:29] local.INFO: GPS data processed {"connection_id":216120,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:23:29] local.INFO: Acknowledgment sent {"connection_id":216120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:23:59] local.INFO: TCP Data received {"connection_id":217668,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:23:59] local.INFO: Processing buffer {"connection_id":217668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:23:59] local.INFO: Packet analysis {"connection_id":217668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:23:59] local.INFO: Extracted packet for processing {"connection_id":217668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776867328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792097439000,"timestamp_ms":1792097439000,"timestamp_seconds":1792097439,"priority":1,"record_length":96,"hex_timestamp":"000001a14154cd18"} 
[2026-10-16 02:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:23:59] 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-10-16 02: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-10-16 02:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776867328001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776867328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:23:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:23:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776867328001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":217668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:23:59] local.INFO: GPS data processed {"connection_id":217668,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:23:59] local.INFO: Acknowledgment sent {"connection_id":217668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:24:01] local.INFO: TCP Data received {"connection_id":216120,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:24:01] local.INFO: Processing buffer {"connection_id":216120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:24:01] local.INFO: Packet analysis {"connection_id":216120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:24:01] local.INFO: Extracted packet for processing {"connection_id":216120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776886528001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792097514000,"timestamp_ms":1792097514000,"timestamp_seconds":1792097514,"priority":1,"record_length":96,"hex_timestamp":"000001a14155f210"} 
[2026-10-16 02:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:24: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-10-16 02:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:24:01] 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-10-16 02:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776886528001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776886528001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:24:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:24:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776886528001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":216120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:24:01] local.INFO: GPS data processed {"connection_id":216120,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:24:01] local.INFO: Acknowledgment sent {"connection_id":216120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:24:17] local.INFO: TCP Data received {"connection_id":219406,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:24:17] local.INFO: Processing buffer {"connection_id":219406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:24:17] local.INFO: IMEI packet received {"connection_id":219406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":219406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:24:21] local.INFO: TCP Data received {"connection_id":217669,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:24:21] local.INFO: Processing buffer {"connection_id":217669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:24:21] local.INFO: IMEI packet received {"connection_id":217669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":217669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:24:22] local.INFO: TCP Data received {"connection_id":219407,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:22] local.INFO: Processing buffer {"connection_id":219407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:22] local.INFO: IMEI packet received {"connection_id":219407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":219407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:24:22] local.INFO: TCP Data received {"connection_id":219407,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:22] local.INFO: Processing buffer {"connection_id":219407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:22] local.INFO: IMEI packet received {"connection_id":219407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":219407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:24:23] local.INFO: TCP Data received {"connection_id":219406,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:24:23] local.INFO: Processing buffer {"connection_id":219406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:24:23] local.INFO: IMEI packet received {"connection_id":219406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":219406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:24:24] local.INFO: TCP Data received {"connection_id":219406,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:24:24] local.INFO: Processing buffer {"connection_id":219406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:24:24] local.INFO: Packet analysis {"connection_id":219406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:24:24] local.INFO: Extracted packet for processing {"connection_id":219406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:24:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776886528001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792097514000,"timestamp_ms":1792097514000,"timestamp_seconds":1792097514,"priority":1,"record_length":96,"hex_timestamp":"000001a14155f210"} 
[2026-10-16 02:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:24:24] 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-10-16 02: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-10-16 02:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776886528001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776886528001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:24:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:24:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776886528001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":219406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:24:24] local.INFO: GPS data processed {"connection_id":219406,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:24:24] local.INFO: Acknowledgment sent {"connection_id":219406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:24:26] local.INFO: TCP Data received {"connection_id":217669,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:24:26] local.INFO: Processing buffer {"connection_id":217669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:24:26] local.INFO: IMEI packet received {"connection_id":217669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":217669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:24:27] local.INFO: TCP Data received {"connection_id":217669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:24:27] local.INFO: Processing buffer {"connection_id":217669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:24:27] local.INFO: Packet analysis {"connection_id":217669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:24:27] local.INFO: Extracted packet for processing {"connection_id":217669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776867328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792097439000,"timestamp_ms":1792097439000,"timestamp_seconds":1792097439,"priority":1,"record_length":96,"hex_timestamp":"000001a14154cd18"} 
[2026-10-16 02:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:24:27] 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-10-16 02:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776867328001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776867328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:24:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776867328001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":217669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:24:27] local.INFO: GPS data processed {"connection_id":217669,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:24:27] local.INFO: Acknowledgment sent {"connection_id":217669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:24:28] local.INFO: TCP Data received {"connection_id":219407,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:28] local.INFO: Processing buffer {"connection_id":219407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:28] local.INFO: IMEI packet received {"connection_id":219407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":219407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:24:28] local.INFO: TCP Data received {"connection_id":219407,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141576140012d599e00063e5a700004014830..."} 
[2026-10-16 02:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141576140012d599e00063e5a700004014830..."} 
[2026-10-16 02:24:29] local.INFO: Processing buffer {"connection_id":219407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141576140012d599e00063e5a700004014830..."} 
[2026-10-16 02:24:29] local.INFO: Packet analysis {"connection_id":219407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14157"} 
[2026-10-16 02:24:29] local.INFO: Extracted packet for processing {"connection_id":219407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14157"} 
[2026-10-16 02:24:29] local.INFO: GPS Element Parsed {"raw_longitude":760847872,"raw_latitude":104749680,"longitude_deg":76.0847872,"latitude_deg":10.474968,"altitude":4,"angle":328,"satellites":48,"speed":46,"hex_longitude":"2d599e00","hex_latitude":"063e5a70","is_valid_coordinates":true} 
[2026-10-16 02:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776985600001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12157738154983424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462595123346386944,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792097608000,"timestamp_ms":1792097608000,"timestamp_seconds":1792097608,"priority":1,"record_length":96,"hex_timestamp":"000001a141576140"} 
[2026-10-16 02:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 02:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776985600001,"66":27517,"218":206,"19":38400,"24":46,"16":12157738154983424,"45":6462595123346386944},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-10-16 02:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776985600001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:24:29] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-16 02:24:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12157738154983424,"km_value":12157738154983.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462595123346386944,"description":"Unknown IO ID 45"} 
[2026-10-16 02:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776985600001,"power":27517,"unknown_218":206,"unknown_19":38400,"ignition":46,"odometer":null,"unknown_45":6462595123346386944}} 
[2026-10-16 02:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":219407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043716,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:24:29] local.INFO: GPS data processed {"connection_id":219407,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:24:29] local.INFO: Acknowledgment sent {"connection_id":219407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:24:56] local.INFO: TCP Data received {"connection_id":219406,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:24:56] local.INFO: Processing buffer {"connection_id":219406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:24:56] local.INFO: Packet analysis {"connection_id":219406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:24:56] local.INFO: Extracted packet for processing {"connection_id":219406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776886528001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792097514000,"timestamp_ms":1792097514000,"timestamp_seconds":1792097514,"priority":1,"record_length":96,"hex_timestamp":"000001a14155f210"} 
[2026-10-16 02:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:24:56] 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-10-16 02: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-10-16 02:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776886528001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776886528001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:24:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:24:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776886528001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":219406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:24:56] local.INFO: GPS data processed {"connection_id":219406,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:24:56] local.INFO: Acknowledgment sent {"connection_id":219406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:24:58] local.INFO: TCP Data received {"connection_id":216121,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:58] local.INFO: Processing buffer {"connection_id":216121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:24:58] local.INFO: IMEI packet received {"connection_id":216121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":216121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:24:58] local.INFO: TCP Data received {"connection_id":217669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:24:58] local.INFO: Processing buffer {"connection_id":217669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:24:58] local.INFO: Packet analysis {"connection_id":217669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:24:58] local.INFO: Extracted packet for processing {"connection_id":217669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776867328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792097439000,"timestamp_ms":1792097439000,"timestamp_seconds":1792097439,"priority":1,"record_length":96,"hex_timestamp":"000001a14154cd18"} 
[2026-10-16 02:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:24:58] 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-10-16 02:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776867328001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776867328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:24:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:24:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776867328001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":217669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:24:59] local.INFO: GPS data processed {"connection_id":217669,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:24:59] local.INFO: Acknowledgment sent {"connection_id":217669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:24:59] local.INFO: TCP Data received {"connection_id":216121,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141578080012d5989c0063e7b000003014830..."} 
[2026-10-16 02:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141578080012d5989c0063e7b000003014830..."} 
[2026-10-16 02:24:59] local.INFO: Processing buffer {"connection_id":216121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141578080012d5989c0063e7b000003014830..."} 
[2026-10-16 02:24:59] local.INFO: Packet analysis {"connection_id":216121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14157"} 
[2026-10-16 02:24:59] local.INFO: Extracted packet for processing {"connection_id":216121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14157"} 
[2026-10-16 02:24:59] local.INFO: GPS Element Parsed {"raw_longitude":760842688,"raw_latitude":104758016,"longitude_deg":76.0842688,"latitude_deg":10.4758016,"altitude":3,"angle":328,"satellites":48,"speed":49,"hex_longitude":"2d5989c0","hex_latitude":"063e7b00","is_valid_coordinates":true} 
[2026-10-16 02:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776987648001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12158210601385984,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6457598942511788032,"note":"Value kept but may cause issues"} 
[2026-10-16 02:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792097616000,"timestamp_ms":1792097616000,"timestamp_seconds":1792097616,"priority":1,"record_length":96,"hex_timestamp":"000001a141578080"} 
[2026-10-16 02:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:24: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-10-16 02:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 02:24:59] 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-10-16 02:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776987648001,"66":26582,"218":206,"19":38400,"24":49,"16":12158210601385984,"45":6457598942511788032},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-10-16 02:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776987648001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:24:59] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-16 02:24:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12158210601385984,"km_value":12158210601385.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6457598942511788032,"description":"Unknown IO ID 45"} 
[2026-10-16 02:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776987648001,"power":26582,"unknown_218":206,"unknown_19":38400,"ignition":49,"odometer":null,"unknown_45":6457598942511788032}} 
[2026-10-16 02:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":216121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:24:59] local.INFO: GPS data processed {"connection_id":216121,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:24:59] local.INFO: Acknowledgment sent {"connection_id":216121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:25:21] local.INFO: TCP Data received {"connection_id":217670,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:25:21] local.INFO: Processing buffer {"connection_id":217670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:25:21] local.INFO: IMEI packet received {"connection_id":217670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":217670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:25:22] local.INFO: TCP Data received {"connection_id":216122,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:25:22] local.INFO: Processing buffer {"connection_id":216122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:25:22] local.INFO: IMEI packet received {"connection_id":216122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":216122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:25:26] local.INFO: TCP Data received {"connection_id":217670,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:25:26] local.INFO: Processing buffer {"connection_id":217670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:25:26] local.INFO: IMEI packet received {"connection_id":217670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":217670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:25:27] local.INFO: TCP Data received {"connection_id":217670,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:25:27] local.INFO: Processing buffer {"connection_id":217670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14154cd18012d7c240005dad510000000ea23..."} 
[2026-10-16 02:25:27] local.INFO: Packet analysis {"connection_id":217670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:25:27] local.INFO: Extracted packet for processing {"connection_id":217670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14154"} 
[2026-10-16 02:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776867328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792097439000,"timestamp_ms":1792097439000,"timestamp_seconds":1792097439,"priority":1,"record_length":96,"hex_timestamp":"000001a14154cd18"} 
[2026-10-16 02:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:25:27] 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-10-16 02:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:25: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-10-16 02:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776867328001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776867328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:25:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776867328001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":217670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:25:27] local.INFO: GPS data processed {"connection_id":217670,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:25:27] local.INFO: Acknowledgment sent {"connection_id":217670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:25:28] local.INFO: TCP Data received {"connection_id":216122,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:25:28] local.INFO: Processing buffer {"connection_id":216122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:25:28] local.INFO: IMEI packet received {"connection_id":216122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":216122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:25:30] local.INFO: TCP Data received {"connection_id":216122,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:25:30] local.INFO: Processing buffer {"connection_id":216122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:25:30] local.INFO: Packet analysis {"connection_id":216122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:25:30] local.INFO: Extracted packet for processing {"connection_id":216122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776886528001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792097514000,"timestamp_ms":1792097514000,"timestamp_seconds":1792097514,"priority":1,"record_length":96,"hex_timestamp":"000001a14155f210"} 
[2026-10-16 02:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:25:30] 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-10-16 02:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776886528001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776886528001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:25:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:25:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776886528001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":216122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:25:30] local.INFO: GPS data processed {"connection_id":216122,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:25:30] local.INFO: Acknowledgment sent {"connection_id":216122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:25:30] local.INFO: TCP Data received {"connection_id":216121,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141579fc0012d5975c0063e9bf00003014832..."} 
[2026-10-16 02:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141579fc0012d5975c0063e9bf00003014832..."} 
[2026-10-16 02:25:30] local.INFO: Processing buffer {"connection_id":216121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141579fc0012d5975c0063e9bf00003014832..."} 
[2026-10-16 02:25:30] local.INFO: Packet analysis {"connection_id":216121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14157"} 
[2026-10-16 02:25:30] local.INFO: Extracted packet for processing {"connection_id":216121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14157"} 
[2026-10-16 02:25:30] local.INFO: GPS Element Parsed {"raw_longitude":760837568,"raw_latitude":104766448,"longitude_deg":76.0837568,"latitude_deg":10.4766448,"altitude":3,"angle":328,"satellites":50,"speed":50,"hex_longitude":"2d5975c0","hex_latitude":"063e9bf0","is_valid_coordinates":true} 
[2026-10-16 02:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776989696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12158687342755840,"note":"Value kept but may cause issues"} 
[2026-10-16 02:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6451899074235531264,"note":"Value kept but may cause issues"} 
[2026-10-16 02:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792097624000,"timestamp_ms":1792097624000,"timestamp_seconds":1792097624,"priority":1,"record_length":96,"hex_timestamp":"000001a141579fc0"} 
[2026-10-16 02:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-16 02:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776989696001,"66":27332,"135":206,"19":38400,"24":50,"16":12158687342755840,"45":6451899074235531264},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-10-16 02:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776989696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:25:30] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 02:25:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12158687342755840,"km_value":12158687342755.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6451899074235531264,"description":"Unknown IO ID 45"} 
[2026-10-16 02:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776989696001,"power":27332,"unknown_135":206,"unknown_19":38400,"ignition":50,"odometer":null,"unknown_45":6451899074235531264}} 
[2026-10-16 02:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":216121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:25:30] local.INFO: GPS data processed {"connection_id":216121,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:25:30] local.INFO: Acknowledgment sent {"connection_id":216121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:25:57] local.INFO: TCP Data received {"connection_id":216317,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:25:57] local.INFO: Processing buffer {"connection_id":216317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:25:57] local.INFO: IMEI packet received {"connection_id":216317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":216317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:25:58] local.INFO: TCP Data received {"connection_id":216317,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:25:58] local.INFO: Processing buffer {"connection_id":216317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:25:58] local.INFO: IMEI packet received {"connection_id":216317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":216317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:26:01] local.INFO: TCP Data received {"connection_id":216317,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14158e010012d58a940063ff3080008014832..."} 
[2026-10-16 02:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14158e010012d58a940063ff3080008014832..."} 
[2026-10-16 02:26:01] local.INFO: Processing buffer {"connection_id":216317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14158e010012d58a940063ff3080008014832..."} 
[2026-10-16 02:26:01] local.INFO: Packet analysis {"connection_id":216317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14158"} 
[2026-10-16 02:26:01] local.INFO: Extracted packet for processing {"connection_id":216317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14158"} 
[2026-10-16 02:26:01] local.INFO: GPS Element Parsed {"raw_longitude":760785216,"raw_latitude":104854280,"longitude_deg":76.0785216,"latitude_deg":10.485428,"altitude":8,"angle":328,"satellites":50,"speed":52,"hex_longitude":"2d58a940","hex_latitude":"063ff308","is_valid_coordinates":true} 
[2026-10-16 02:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777010944001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12163622260178944,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6393915229055789056,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792097706000,"timestamp_ms":1792097706000,"timestamp_seconds":1792097706,"priority":1,"record_length":96,"hex_timestamp":"000001a14158e010"} 
[2026-10-16 02:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 02:26:01] 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-10-16 02:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777010944001,"66":27430,"135":206,"19":38400,"24":52,"16":12163622260178944,"45":6393915229055789056},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-10-16 02:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777010944001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:26:01] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 02:26:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12163622260178944,"km_value":12163622260178.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6393915229055789056,"description":"Unknown IO ID 45"} 
[2026-10-16 02:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777010944001,"power":27430,"unknown_135":206,"unknown_19":38400,"ignition":52,"odometer":null,"unknown_45":6393915229055789056}} 
[2026-10-16 02:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":216317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:26:01] local.INFO: GPS data processed {"connection_id":216317,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:26:01] local.INFO: Acknowledgment sent {"connection_id":216317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:26:02] local.INFO: TCP Data received {"connection_id":216122,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:26:02] local.INFO: Processing buffer {"connection_id":216122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:26:02] local.INFO: Packet analysis {"connection_id":216122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:26:02] local.INFO: Extracted packet for processing {"connection_id":216122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776886528001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792097514000,"timestamp_ms":1792097514000,"timestamp_seconds":1792097514,"priority":1,"record_length":96,"hex_timestamp":"000001a14155f210"} 
[2026-10-16 02:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776886528001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776886528001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:26:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:26:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776886528001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":216122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:26:02] local.INFO: GPS data processed {"connection_id":216122,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:26:02] local.INFO: Acknowledgment sent {"connection_id":216122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:26:06] local.INFO: TCP Data received {"connection_id":217670,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:26:06] local.INFO: Processing buffer {"connection_id":217670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:26:06] local.INFO: Packet analysis {"connection_id":217670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:26:06] local.INFO: Extracted packet for processing {"connection_id":217670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792097740000,"timestamp_ms":1792097740000,"timestamp_seconds":1792097740,"priority":1,"record_length":96,"hex_timestamp":"000001a1415964e0"} 
[2026-10-16 02:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:26:06] 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-10-16 02:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:26: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-10-16 02:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776944384001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:26:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776944384001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":217670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:26:06] local.INFO: GPS data processed {"connection_id":217670,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:26:06] local.INFO: Acknowledgment sent {"connection_id":217670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:26:10] local.INFO: TCP Data received {"connection_id":216317,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14158fb68012d589640064012080007014832..."} 
[2026-10-16 02:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14158fb68012d589640064012080007014832..."} 
[2026-10-16 02:26:10] local.INFO: Processing buffer {"connection_id":216317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14158fb68012d589640064012080007014832..."} 
[2026-10-16 02:26:10] local.INFO: Packet analysis {"connection_id":216317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14158"} 
[2026-10-16 02:26:10] local.INFO: Extracted packet for processing {"connection_id":216317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14158"} 
[2026-10-16 02:26:10] local.INFO: GPS Element Parsed {"raw_longitude":760780352,"raw_latitude":104862216,"longitude_deg":76.0780352,"latitude_deg":10.4862216,"altitude":7,"angle":328,"satellites":50,"speed":52,"hex_longitude":"2d589640","hex_latitude":"06401208","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777012736001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12164073231745024,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6388707941988632576,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792097713000,"timestamp_ms":1792097713000,"timestamp_seconds":1792097713,"priority":1,"record_length":96,"hex_timestamp":"000001a14158fb68"} 
[2026-10-16 02:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:26: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-10-16 02: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 02:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":216317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":216317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":216317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777012736001,"66":27289,"135":206,"19":38400,"24":52,"16":12164073231745024,"45":6388707941988632576},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-10-16 02:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777012736001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:26:10] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 02:26:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12164073231745024,"km_value":12164073231745.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6388707941988632576,"description":"Unknown IO ID 45"} 
[2026-10-16 02:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777012736001,"power":27289,"unknown_135":206,"unknown_19":38400,"ignition":52,"odometer":null,"unknown_45":6388707941988632576}} 
[2026-10-16 02:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":216317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:26:10] local.INFO: GPS data processed {"connection_id":216317,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:26:10] local.INFO: Acknowledgment sent {"connection_id":216317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:26:18] local.INFO: TCP Data received {"connection_id":216318,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:26:18] local.INFO: Processing buffer {"connection_id":216318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:26:18] local.INFO: IMEI packet received {"connection_id":216318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":216318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:26:21] local.INFO: TCP Data received {"connection_id":216123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:26:21] local.INFO: Processing buffer {"connection_id":216123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:26:21] local.INFO: IMEI packet received {"connection_id":216123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":216123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:26:23] local.INFO: TCP Data received {"connection_id":216318,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:26:23] local.INFO: Processing buffer {"connection_id":216318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:26:23] local.INFO: IMEI packet received {"connection_id":216318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":216318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:26:24] local.INFO: TCP Data received {"connection_id":216318,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:26:24] local.INFO: Processing buffer {"connection_id":216318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:26:24] local.INFO: Packet analysis {"connection_id":216318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:26:24] local.INFO: Extracted packet for processing {"connection_id":216318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776886528001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792097514000,"timestamp_ms":1792097514000,"timestamp_seconds":1792097514,"priority":1,"record_length":96,"hex_timestamp":"000001a14155f210"} 
[2026-10-16 02:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:26:24] 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-10-16 02:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776886528001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776886528001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:26:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:26:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776886528001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":216318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:26:24] local.INFO: GPS data processed {"connection_id":216318,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:26:24] local.INFO: Acknowledgment sent {"connection_id":216318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:26:26] local.INFO: TCP Data received {"connection_id":216123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:26:26] local.INFO: Processing buffer {"connection_id":216123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:26:26] local.INFO: IMEI packet received {"connection_id":216123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":216123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:26:28] local.INFO: TCP Data received {"connection_id":216123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:26:28] local.INFO: Processing buffer {"connection_id":216123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:26:28] local.INFO: Packet analysis {"connection_id":216123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:26:28] local.INFO: Extracted packet for processing {"connection_id":216123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792097740000,"timestamp_ms":1792097740000,"timestamp_seconds":1792097740,"priority":1,"record_length":96,"hex_timestamp":"000001a1415964e0"} 
[2026-10-16 02:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:26:28] 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-10-16 02:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:26:28] 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-10-16 02:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776944384001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:26:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776944384001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":216123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:26:28] local.INFO: GPS data processed {"connection_id":216123,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:26:28] local.INFO: Acknowledgment sent {"connection_id":216123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:26:49] local.INFO: TCP Data received {"connection_id":216124,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:26:49] local.INFO: Processing buffer {"connection_id":216124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:26:49] local.INFO: IMEI packet received {"connection_id":216124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":216124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:26:52] local.INFO: TCP Data received {"connection_id":216124,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:26:52] local.INFO: Processing buffer {"connection_id":216124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:26:52] local.INFO: IMEI packet received {"connection_id":216124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":216124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:26:56] local.INFO: TCP Data received {"connection_id":216318,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:26:56] local.INFO: Processing buffer {"connection_id":216318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:26:56] local.INFO: Packet analysis {"connection_id":216318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:26:56] local.INFO: Extracted packet for processing {"connection_id":216318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776886528001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792097514000,"timestamp_ms":1792097514000,"timestamp_seconds":1792097514,"priority":1,"record_length":96,"hex_timestamp":"000001a14155f210"} 
[2026-10-16 02:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:26:56] 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-10-16 02:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776886528001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776886528001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:26:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:26:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776886528001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":216318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:26:56] local.INFO: GPS data processed {"connection_id":216318,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:26:56] local.INFO: Acknowledgment sent {"connection_id":216318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:26:56] local.INFO: TCP Data received {"connection_id":216124,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:26:56] local.INFO: Processing buffer {"connection_id":216124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:26:56] local.INFO: IMEI packet received {"connection_id":216124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":216124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:26:57] local.INFO: TCP Data received {"connection_id":216124,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415916c0012d5882c0064030a80006014533..."} 
[2026-10-16 02:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415916c0012d5882c0064030a80006014533..."} 
[2026-10-16 02:26:57] local.INFO: Processing buffer {"connection_id":216124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415916c0012d5882c0064030a80006014533..."} 
[2026-10-16 02:26:57] local.INFO: Packet analysis {"connection_id":216124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:26:57] local.INFO: Extracted packet for processing {"connection_id":216124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:26:57] local.INFO: GPS Element Parsed {"raw_longitude":760775360,"raw_latitude":104870056,"longitude_deg":76.077536,"latitude_deg":10.4870056,"altitude":6,"angle":325,"satellites":51,"speed":52,"hex_longitude":"2d5882c0","hex_latitude":"064030a8","is_valid_coordinates":true} 
[2026-10-16 02:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777014528001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12164519908343808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6383359917433161728,"note":"Value kept but may cause issues"} 
[2026-10-16 02:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792097720000,"timestamp_ms":1792097720000,"timestamp_seconds":1792097720,"priority":1,"record_length":96,"hex_timestamp":"000001a1415916c0"} 
[2026-10-16 02:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 02:26:57] 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-10-16 02:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777014528001,"66":27289,"135":206,"19":38400,"24":52,"16":12164519908343808,"45":6383359917433161728},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-10-16 02:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777014528001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:26:57] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 02:26:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12164519908343808,"km_value":12164519908343.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6383359917433161728,"description":"Unknown IO ID 45"} 
[2026-10-16 02:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777014528001,"power":27289,"unknown_135":206,"unknown_19":38400,"ignition":52,"odometer":null,"unknown_45":6383359917433161728}} 
[2026-10-16 02:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":216124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:26:57] local.INFO: GPS data processed {"connection_id":216124,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:26:57] local.INFO: Acknowledgment sent {"connection_id":216124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:27:00] local.INFO: TCP Data received {"connection_id":216123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:27:00] local.INFO: Processing buffer {"connection_id":216123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:27:00] local.INFO: Packet analysis {"connection_id":216123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:27:00] local.INFO: Extracted packet for processing {"connection_id":216123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792097740000,"timestamp_ms":1792097740000,"timestamp_seconds":1792097740,"priority":1,"record_length":96,"hex_timestamp":"000001a1415964e0"} 
[2026-10-16 02:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:27: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-10-16 02:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:27:00] 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-10-16 02:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:27:00] 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-10-16 02:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776944384001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:27:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:27:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776944384001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":216123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:27:00] local.INFO: GPS data processed {"connection_id":216123,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:27:00] local.INFO: Acknowledgment sent {"connection_id":216123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:27:17] local.INFO: TCP Data received {"connection_id":217671,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:27:17] local.INFO: Processing buffer {"connection_id":217671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:27:17] local.INFO: IMEI packet received {"connection_id":217671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":217671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:27:23] local.INFO: TCP Data received {"connection_id":217671,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:27:23] local.INFO: Processing buffer {"connection_id":217671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:27:23] local.INFO: IMEI packet received {"connection_id":217671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":217671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:27:24] local.INFO: TCP Data received {"connection_id":217671,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:27:24] local.INFO: Processing buffer {"connection_id":217671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14155f210012d7fac4005afe350000000a626..."} 
[2026-10-16 02:27:24] local.INFO: Packet analysis {"connection_id":217671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:27:24] local.INFO: Extracted packet for processing {"connection_id":217671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14155"} 
[2026-10-16 02:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":38,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:27: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-10-16 02:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776886528001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792097514000,"timestamp_ms":1792097514000,"timestamp_seconds":1792097514,"priority":1,"record_length":96,"hex_timestamp":"000001a14155f210"} 
[2026-10-16 02:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:27: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:27:24] 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-10-16 02:27: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-10-16 02:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776886528001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776886528001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:27:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:27:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776886528001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":217671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:27:24] local.INFO: GPS data processed {"connection_id":217671,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:27:24] local.INFO: Acknowledgment sent {"connection_id":217671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:27:27] local.INFO: TCP Data received {"connection_id":216319,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:27:27] local.INFO: Processing buffer {"connection_id":216319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:27:27] local.INFO: IMEI packet received {"connection_id":216319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":216319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:27:29] local.INFO: TCP Data received {"connection_id":216124,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141593218012d586c4006404ce00006013c32..."} 
[2026-10-16 02:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141593218012d586c4006404ce00006013c32..."} 
[2026-10-16 02:27:29] local.INFO: Processing buffer {"connection_id":216124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141593218012d586c4006404ce00006013c32..."} 
[2026-10-16 02:27:29] local.INFO: Packet analysis {"connection_id":216124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:27:29] local.INFO: Extracted packet for processing {"connection_id":216124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:27:29] local.INFO: GPS Element Parsed {"raw_longitude":760769600,"raw_latitude":104877280,"longitude_deg":76.07696,"latitude_deg":10.487728,"altitude":6,"angle":316,"satellites":50,"speed":52,"hex_longitude":"2d586c40","hex_latitude":"06404ce0","is_valid_coordinates":true} 
[2026-10-16 02:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777016320001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12164966584942592,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6377871155389310976,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792097727000,"timestamp_ms":1792097727000,"timestamp_seconds":1792097727,"priority":1,"record_length":96,"hex_timestamp":"000001a141593218"} 
[2026-10-16 02:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 02:27:29] 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-10-16 02:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777016320001,"66":27267,"135":206,"19":38400,"24":52,"16":12164966584942592,"45":6377871155389310976},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-10-16 02:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777016320001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:27:29] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 02:27:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-10-16 02:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12164966584942592,"km_value":12164966584942.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6377871155389310976,"description":"Unknown IO ID 45"} 
[2026-10-16 02:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777016320001,"power":27267,"unknown_135":206,"unknown_19":38400,"ignition":52,"odometer":null,"unknown_45":6377871155389310976}} 
[2026-10-16 02:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":216124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:27:29] local.INFO: GPS data processed {"connection_id":216124,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:27:29] local.INFO: Acknowledgment sent {"connection_id":216124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:27:31] local.INFO: TCP Data received {"connection_id":216319,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:27:31] local.INFO: Processing buffer {"connection_id":216319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:27:31] local.INFO: IMEI packet received {"connection_id":216319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":216319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:27:32] local.INFO: TCP Data received {"connection_id":216319,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:27:32] local.INFO: Processing buffer {"connection_id":216319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:27:32] local.INFO: Packet analysis {"connection_id":216319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:27:32] local.INFO: Extracted packet for processing {"connection_id":216319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792097740000,"timestamp_ms":1792097740000,"timestamp_seconds":1792097740,"priority":1,"record_length":96,"hex_timestamp":"000001a1415964e0"} 
[2026-10-16 02:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:27:32] 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-10-16 02:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776944384001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:27:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776944384001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":216319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:27:32] local.INFO: GPS data processed {"connection_id":216319,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:27:32] local.INFO: Acknowledgment sent {"connection_id":216319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:27:37] local.INFO: TCP Data received {"connection_id":216319,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:27:37] local.INFO: Processing buffer {"connection_id":216319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:27:37] local.INFO: Packet analysis {"connection_id":216319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:27:37] local.INFO: Extracted packet for processing {"connection_id":216319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792097740000,"timestamp_ms":1792097740000,"timestamp_seconds":1792097740,"priority":1,"record_length":96,"hex_timestamp":"000001a1415964e0"} 
[2026-10-16 02:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:27:37] 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-10-16 02:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:27:37] 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-10-16 02:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776944384001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:27:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776944384001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":216319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:27:37] local.INFO: GPS data processed {"connection_id":216319,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:27:37] local.INFO: Acknowledgment sent {"connection_id":216319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:27:52] local.INFO: TCP Data received {"connection_id":216125,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:27:52] local.INFO: Processing buffer {"connection_id":216125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:27:52] local.INFO: IMEI packet received {"connection_id":216125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":216125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:27:52] local.INFO: TCP Data received {"connection_id":216125,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:27:52] local.INFO: Processing buffer {"connection_id":216125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:27:52] local.INFO: IMEI packet received {"connection_id":216125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":216125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:27:55] local.INFO: TCP Data received {"connection_id":217671,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:27:55] local.INFO: Processing buffer {"connection_id":217671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:27:55] local.INFO: Packet analysis {"connection_id":217671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:27:55] local.INFO: Extracted packet for processing {"connection_id":217671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:27:55] 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-10-16 02:27: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-10-16 02:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:27:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:27:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":217671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:27:56] local.INFO: GPS data processed {"connection_id":217671,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:27:56] local.INFO: Acknowledgment sent {"connection_id":217671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:27:58] local.INFO: TCP Data received {"connection_id":216125,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:27:58] local.INFO: Processing buffer {"connection_id":216125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:27:58] local.INFO: IMEI packet received {"connection_id":216125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":216125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:27:59] local.INFO: TCP Data received {"connection_id":216125,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a66b0012d57034006410600000d013233..."} 
[2026-10-16 02:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a66b0012d57034006410600000d013233..."} 
[2026-10-16 02:27:59] local.INFO: Processing buffer {"connection_id":216125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a66b0012d57034006410600000d013233..."} 
[2026-10-16 02:27:59] local.INFO: Packet analysis {"connection_id":216125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:27:59] local.INFO: Extracted packet for processing {"connection_id":216125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:27:59] local.INFO: GPS Element Parsed {"raw_longitude":760677184,"raw_latitude":104924672,"longitude_deg":76.0677184,"latitude_deg":10.4924672,"altitude":13,"angle":306,"satellites":51,"speed":51,"hex_longitude":"2d570340","hex_latitude":"06410600","is_valid_coordinates":true} 
[2026-10-16 02:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777036544001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12169957336940544,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6278369751134844928,"note":"Value kept but may cause issues"} 
[2026-10-16 02:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792097806000,"timestamp_ms":1792097806000,"timestamp_seconds":1792097806,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a66b0"} 
[2026-10-16 02:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:27: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-10-16 02:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 02:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777036544001,"66":27180,"186":206,"19":38144,"24":51,"16":12169957336940544,"45":6278369751134844928},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-10-16 02:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777036544001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:27:59] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-10-16 02:27:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12169957336940544,"km_value":12169957336940.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6278369751134844928,"description":"Unknown IO ID 45"} 
[2026-10-16 02:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777036544001,"power":27180,"unknown_186":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":6278369751134844928}} 
[2026-10-16 02:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":216125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043737,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:27:59] local.INFO: GPS data processed {"connection_id":216125,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:27:59] local.INFO: Acknowledgment sent {"connection_id":216125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:28:18] local.INFO: TCP Data received {"connection_id":216126,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:28:18] local.INFO: Processing buffer {"connection_id":216126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:28:18] local.INFO: IMEI packet received {"connection_id":216126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":216126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:28:21] local.INFO: TCP Data received {"connection_id":216127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:28:21] local.INFO: Processing buffer {"connection_id":216127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:28:21] local.INFO: IMEI packet received {"connection_id":216127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":216127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:28:23] local.INFO: TCP Data received {"connection_id":216126,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:28:23] local.INFO: Processing buffer {"connection_id":216126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:28:23] local.INFO: IMEI packet received {"connection_id":216126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":216126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:28:24] local.INFO: TCP Data received {"connection_id":216126,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:28:24] local.INFO: Processing buffer {"connection_id":216126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:28:24] local.INFO: Packet analysis {"connection_id":216126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:28:24] local.INFO: Extracted packet for processing {"connection_id":216126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:28:24] 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-10-16 02: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-10-16 02:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:28:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:28:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":216126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:28:24] local.INFO: GPS data processed {"connection_id":216126,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:28:24] local.INFO: Acknowledgment sent {"connection_id":216126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:28:26] local.INFO: TCP Data received {"connection_id":216127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:28:26] local.INFO: Processing buffer {"connection_id":216127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:28:26] local.INFO: IMEI packet received {"connection_id":216127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":216127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:28:27] local.INFO: TCP Data received {"connection_id":216127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:28:27] local.INFO: Processing buffer {"connection_id":216127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:28:27] local.INFO: Packet analysis {"connection_id":216127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:28:27] local.INFO: Extracted packet for processing {"connection_id":216127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792097740000,"timestamp_ms":1792097740000,"timestamp_seconds":1792097740,"priority":1,"record_length":96,"hex_timestamp":"000001a1415964e0"} 
[2026-10-16 02:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:28:27] 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-10-16 02:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:28:27] 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-10-16 02:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776944384001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:28:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776944384001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":216127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:28:27] local.INFO: GPS data processed {"connection_id":216127,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:28:27] local.INFO: Acknowledgment sent {"connection_id":216127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:28:30] local.INFO: TCP Data received {"connection_id":216125,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a8208012d56e88006411e28000e013d32..."} 
[2026-10-16 02:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a8208012d56e88006411e28000e013d32..."} 
[2026-10-16 02:28:30] local.INFO: Processing buffer {"connection_id":216125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a8208012d56e88006411e28000e013d32..."} 
[2026-10-16 02:28:30] local.INFO: Packet analysis {"connection_id":216125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:28:30] local.INFO: Extracted packet for processing {"connection_id":216125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:28:30] local.INFO: GPS Element Parsed {"raw_longitude":760670336,"raw_latitude":104930856,"longitude_deg":76.0670336,"latitude_deg":10.4930856,"altitude":14,"angle":317,"satellites":50,"speed":53,"hex_longitude":"2d56e880","hex_latitude":"06411e28","is_valid_coordinates":true} 
[2026-10-16 02:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777038336001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12170404013539328,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6269925501834756096,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792097813000,"timestamp_ms":1792097813000,"timestamp_seconds":1792097813,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a8208"} 
[2026-10-16 02:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 02:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777038336001,"66":27365,"186":206,"19":38144,"24":53,"16":12170404013539328,"45":6269925501834756096},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-10-16 02:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777038336001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:28:30] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-10-16 02:28:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12170404013539328,"km_value":12170404013539.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6269925501834756096,"description":"Unknown IO ID 45"} 
[2026-10-16 02:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777038336001,"power":27365,"unknown_186":206,"unknown_19":38144,"ignition":53,"odometer":null,"unknown_45":6269925501834756096}} 
[2026-10-16 02:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":216125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:28:30] local.INFO: GPS data processed {"connection_id":216125,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:28:30] local.INFO: Acknowledgment sent {"connection_id":216125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:28:56] local.INFO: TCP Data received {"connection_id":216126,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:28:56] local.INFO: Processing buffer {"connection_id":216126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:28:56] local.INFO: Packet analysis {"connection_id":216126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:28:56] local.INFO: Extracted packet for processing {"connection_id":216126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:28:56] 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-10-16 02:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:28:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:28:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":216126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:28:56] local.INFO: GPS data processed {"connection_id":216126,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:28:56] local.INFO: Acknowledgment sent {"connection_id":216126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:28:58] local.INFO: TCP Data received {"connection_id":217672,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:28:58] local.INFO: Processing buffer {"connection_id":217672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:28:58] local.INFO: IMEI packet received {"connection_id":217672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":217672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:28:58] local.INFO: TCP Data received {"connection_id":216127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:28:58] local.INFO: Processing buffer {"connection_id":216127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:28:58] local.INFO: Packet analysis {"connection_id":216127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:28:58] local.INFO: Extracted packet for processing {"connection_id":216127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792097740000,"timestamp_ms":1792097740000,"timestamp_seconds":1792097740,"priority":1,"record_length":96,"hex_timestamp":"000001a1415964e0"} 
[2026-10-16 02:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:28:58] 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-10-16 02:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:28:58] 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-10-16 02:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776944384001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:28:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776944384001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":216127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:28:59] local.INFO: GPS data processed {"connection_id":216127,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:28:59] local.INFO: Acknowledgment sent {"connection_id":216127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:28:59] local.INFO: TCP Data received {"connection_id":217672,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:28:59] local.INFO: Processing buffer {"connection_id":217672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:28:59] local.INFO: IMEI packet received {"connection_id":217672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":217672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:29:00] local.INFO: TCP Data received {"connection_id":217672,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a9d60012d56d1c006413b28000e014633..."} 
[2026-10-16 02:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a9d60012d56d1c006413b28000e014633..."} 
[2026-10-16 02:29:00] local.INFO: Processing buffer {"connection_id":217672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a9d60012d56d1c006413b28000e014633..."} 
[2026-10-16 02:29:00] local.INFO: Packet analysis {"connection_id":217672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:29:00] local.INFO: Extracted packet for processing {"connection_id":217672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:29:00] local.INFO: GPS Element Parsed {"raw_longitude":760664512,"raw_latitude":104938280,"longitude_deg":76.0664512,"latitude_deg":10.493828,"altitude":14,"angle":326,"satellites":51,"speed":53,"hex_longitude":"2d56d1c0","hex_latitude":"06413b28","is_valid_coordinates":true} 
[2026-10-16 02:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777040128001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12170854985105408,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6262396046209329152,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792097820000,"timestamp_ms":1792097820000,"timestamp_seconds":1792097820,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a9d60"} 
[2026-10-16 02:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 02:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777040128001,"66":27115,"186":206,"19":38144,"24":53,"16":12170854985105408,"45":6262396046209329152},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-10-16 02:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777040128001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:29:00] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-10-16 02:29:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12170854985105408,"km_value":12170854985105.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6262396046209329152,"description":"Unknown IO ID 45"} 
[2026-10-16 02:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777040128001,"power":27115,"unknown_186":206,"unknown_19":38144,"ignition":53,"odometer":null,"unknown_45":6262396046209329152}} 
[2026-10-16 02:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":217672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:29:00] local.INFO: GPS data processed {"connection_id":217672,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:29:00] local.INFO: Acknowledgment sent {"connection_id":217672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:29:18] local.INFO: TCP Data received {"connection_id":219408,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:29:18] local.INFO: Processing buffer {"connection_id":219408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:29:18] local.INFO: IMEI packet received {"connection_id":219408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":219408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:29:22] local.INFO: TCP Data received {"connection_id":216320,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:29:22] local.INFO: Processing buffer {"connection_id":216320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:29:22] local.INFO: IMEI packet received {"connection_id":216320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":216320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:29:23] local.INFO: TCP Data received {"connection_id":219408,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:29:23] local.INFO: Processing buffer {"connection_id":219408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:29:23] local.INFO: IMEI packet received {"connection_id":219408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":219408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:29:24] local.INFO: TCP Data received {"connection_id":219408,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:29:24] local.INFO: Processing buffer {"connection_id":219408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:29:24] local.INFO: Packet analysis {"connection_id":219408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:29:24] local.INFO: Extracted packet for processing {"connection_id":219408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:29:24] 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-10-16 02:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:29:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:29:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":219408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:29:24] local.INFO: GPS data processed {"connection_id":219408,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:29:24] local.INFO: Acknowledgment sent {"connection_id":219408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:29:26] local.INFO: TCP Data received {"connection_id":216320,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:29:26] local.INFO: Processing buffer {"connection_id":216320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:29:26] local.INFO: IMEI packet received {"connection_id":216320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":216320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:29:28] local.INFO: TCP Data received {"connection_id":216320,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:29:28] local.INFO: Processing buffer {"connection_id":216320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:29:28] local.INFO: Packet analysis {"connection_id":216320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:29:28] local.INFO: Extracted packet for processing {"connection_id":216320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792097740000,"timestamp_ms":1792097740000,"timestamp_seconds":1792097740,"priority":1,"record_length":96,"hex_timestamp":"000001a1415964e0"} 
[2026-10-16 02:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:29:28] 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-10-16 02:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:29:28] 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-10-16 02:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776944384001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:29:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776944384001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":216320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:29:28] local.INFO: GPS data processed {"connection_id":216320,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:29:28] local.INFO: Acknowledgment sent {"connection_id":216320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:29:31] local.INFO: TCP Data received {"connection_id":217672,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415c1078012d55e9000642e2200006014e32..."} 
[2026-10-16 02:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415c1078012d55e9000642e2200006014e32..."} 
[2026-10-16 02:29:31] local.INFO: Processing buffer {"connection_id":217672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415c1078012d55e9000642e2200006014e32..."} 
[2026-10-16 02:29:31] local.INFO: Packet analysis {"connection_id":217672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415c"} 
[2026-10-16 02:29:31] local.INFO: Extracted packet for processing {"connection_id":217672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415c"} 
[2026-10-16 02:29:31] local.INFO: GPS Element Parsed {"raw_longitude":760604928,"raw_latitude":105046560,"longitude_deg":76.0604928,"latitude_deg":10.504656,"altitude":6,"angle":334,"satellites":50,"speed":53,"hex_longitude":"2d55e900","hex_latitude":"0642e220","is_valid_coordinates":true} 
[2026-10-16 02:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777064448001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12176833579581440,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6194982789314588672,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792097915000,"timestamp_ms":1792097915000,"timestamp_seconds":1792097915,"priority":1,"record_length":96,"hex_timestamp":"000001a1415c1078"} 
[2026-10-16 02:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 02:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":217672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":217672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":217672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777064448001,"66":27430,"187":206,"19":38144,"24":53,"16":12176833579581440,"45":6194982789314588672},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,19,24,16,45]} 
[2026-10-16 02:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777064448001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:29:31] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-10-16 02:29:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12176833579581440,"km_value":12176833579581.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6194982789314588672,"description":"Unknown IO ID 45"} 
[2026-10-16 02:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777064448001,"power":27430,"unknown_187":206,"unknown_19":38144,"ignition":53,"odometer":null,"unknown_45":6194982789314588672}} 
[2026-10-16 02:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":217672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:29:31] local.INFO: GPS data processed {"connection_id":217672,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:29:31] local.INFO: Acknowledgment sent {"connection_id":217672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:29:52] local.INFO: TCP Data received {"connection_id":216321,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:29:52] local.INFO: Processing buffer {"connection_id":216321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:29:52] local.INFO: IMEI packet received {"connection_id":216321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":216321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:29:52] local.INFO: TCP Data received {"connection_id":216321,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:29:52] local.INFO: Processing buffer {"connection_id":216321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:29:52] local.INFO: IMEI packet received {"connection_id":216321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":216321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:29:57] local.INFO: TCP Data received {"connection_id":219408,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:29:57] local.INFO: Processing buffer {"connection_id":219408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:29:57] local.INFO: Packet analysis {"connection_id":219408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:29:57] local.INFO: Extracted packet for processing {"connection_id":219408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:29:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:29:57] 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-10-16 02:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:29:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:29:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":219408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:29:57] local.INFO: GPS data processed {"connection_id":219408,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:29:57] local.INFO: Acknowledgment sent {"connection_id":219408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:29:57] local.INFO: TCP Data received {"connection_id":216321,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:29:57] local.INFO: Processing buffer {"connection_id":216321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:29:57] local.INFO: IMEI packet received {"connection_id":216321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":216321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:29:58] local.INFO: TCP Data received {"connection_id":216321,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415c2bd0012d55d980064302d00007014e32..."} 
[2026-10-16 02:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415c2bd0012d55d980064302d00007014e32..."} 
[2026-10-16 02:29:58] local.INFO: Processing buffer {"connection_id":216321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415c2bd0012d55d980064302d00007014e32..."} 
[2026-10-16 02:29:58] local.INFO: Packet analysis {"connection_id":216321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415c"} 
[2026-10-16 02:29:58] local.INFO: Extracted packet for processing {"connection_id":216321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415c"} 
[2026-10-16 02:29:58] local.INFO: GPS Element Parsed {"raw_longitude":760600960,"raw_latitude":105054928,"longitude_deg":76.060096,"latitude_deg":10.5054928,"altitude":7,"angle":334,"satellites":50,"speed":51,"hex_longitude":"2d55d980","hex_latitude":"064302d0","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777066240001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12177280256180224,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6190479189689376768,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792097922000,"timestamp_ms":1792097922000,"timestamp_seconds":1792097922,"priority":1,"record_length":96,"hex_timestamp":"000001a1415c2bd0"} 
[2026-10-16 02:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 02:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777066240001,"66":27484,"187":206,"19":38144,"24":51,"16":12177280256180224,"45":6190479189689376768},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,19,24,16,45]} 
[2026-10-16 02:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777066240001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:29:58] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-10-16 02:29:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12177280256180224,"km_value":12177280256180.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6190479189689376768,"description":"Unknown IO ID 45"} 
[2026-10-16 02:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777066240001,"power":27484,"unknown_187":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":6190479189689376768}} 
[2026-10-16 02:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":216321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:29:59] local.INFO: GPS data processed {"connection_id":216321,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:29:59] local.INFO: Acknowledgment sent {"connection_id":216321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:29:59] local.INFO: TCP Data received {"connection_id":216320,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:29:59] local.INFO: Processing buffer {"connection_id":216320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:29:59] local.INFO: Packet analysis {"connection_id":216320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:29:59] local.INFO: Extracted packet for processing {"connection_id":216320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792097740000,"timestamp_ms":1792097740000,"timestamp_seconds":1792097740,"priority":1,"record_length":96,"hex_timestamp":"000001a1415964e0"} 
[2026-10-16 02:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:29:59] 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-10-16 02:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:29: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-10-16 02:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776944384001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:29:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776944384001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":216320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:29:59] local.INFO: GPS data processed {"connection_id":216320,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:29:59] local.INFO: Acknowledgment sent {"connection_id":216320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:30:17] local.INFO: TCP Data received {"connection_id":217673,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:30:17] local.INFO: Processing buffer {"connection_id":217673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:30:17] local.INFO: IMEI packet received {"connection_id":217673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":217673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:30:21] local.INFO: TCP Data received {"connection_id":216322,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:30:21] local.INFO: Processing buffer {"connection_id":216322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:30:21] local.INFO: IMEI packet received {"connection_id":216322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":216322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:30:23] local.INFO: TCP Data received {"connection_id":217673,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:30:23] local.INFO: Processing buffer {"connection_id":217673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:30:23] local.INFO: IMEI packet received {"connection_id":217673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":217673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:30:24] local.INFO: TCP Data received {"connection_id":217673,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:30:24] local.INFO: Processing buffer {"connection_id":217673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:30:24] local.INFO: Packet analysis {"connection_id":217673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:30:24] local.INFO: Extracted packet for processing {"connection_id":217673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:30:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:30:24] 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-10-16 02:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:30:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:30:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":217673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:30:24] local.INFO: GPS data processed {"connection_id":217673,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:30:24] local.INFO: Acknowledgment sent {"connection_id":217673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:30:26] local.INFO: TCP Data received {"connection_id":216322,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:30:26] local.INFO: Processing buffer {"connection_id":216322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:30:26] local.INFO: IMEI packet received {"connection_id":216322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":216322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:30:27] local.INFO: TCP Data received {"connection_id":216322,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:30:27] local.INFO: Processing buffer {"connection_id":216322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415964e0012d7c240005dad510000000ea24..."} 
[2026-10-16 02:30:27] local.INFO: Packet analysis {"connection_id":216322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:30:27] local.INFO: Extracted packet for processing {"connection_id":216322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14159"} 
[2026-10-16 02:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792097740000,"timestamp_ms":1792097740000,"timestamp_seconds":1792097740,"priority":1,"record_length":96,"hex_timestamp":"000001a1415964e0"} 
[2026-10-16 02:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:30:27] 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-10-16 02: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-10-16 02:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:30:27] 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-10-16 02:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776944384001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:30:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776944384001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":216322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:30:28] local.INFO: GPS data processed {"connection_id":216322,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:30:28] local.INFO: Acknowledgment sent {"connection_id":216322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:30:30] local.INFO: TCP Data received {"connection_id":216321,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415c4b10012d55c84006432610000a014e31..."} 
[2026-10-16 02:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415c4b10012d55c84006432610000a014e31..."} 
[2026-10-16 02:30:30] local.INFO: Processing buffer {"connection_id":216321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415c4b10012d55c84006432610000a014e31..."} 
[2026-10-16 02:30:30] local.INFO: Packet analysis {"connection_id":216321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415c"} 
[2026-10-16 02:30:30] local.INFO: Extracted packet for processing {"connection_id":216321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415c"} 
[2026-10-16 02:30:30] local.INFO: GPS Element Parsed {"raw_longitude":760596544,"raw_latitude":105063952,"longitude_deg":76.0596544,"latitude_deg":10.5063952,"altitude":10,"angle":334,"satellites":49,"speed":48,"hex_longitude":"2d55c840","hex_latitude":"06432610","is_valid_coordinates":true} 
[2026-10-16 02:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777068032001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12177765587484672,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6186116327552503808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792097930000,"timestamp_ms":1792097930000,"timestamp_seconds":1792097930,"priority":1,"record_length":96,"hex_timestamp":"000001a1415c4b10"} 
[2026-10-16 02:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 02:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777068032001,"66":27376,"187":206,"19":38144,"24":48,"16":12177765587484672,"45":6186116327552503808},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,19,24,16,45]} 
[2026-10-16 02:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777068032001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:30:30] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-10-16 02:30:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12177765587484672,"km_value":12177765587484.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6186116327552503808,"description":"Unknown IO ID 45"} 
[2026-10-16 02:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777068032001,"power":27376,"unknown_187":206,"unknown_19":38144,"ignition":48,"odometer":null,"unknown_45":6186116327552503808}} 
[2026-10-16 02:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":216321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:30:30] local.INFO: GPS data processed {"connection_id":216321,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:30:30] local.INFO: Acknowledgment sent {"connection_id":216321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:30:52] local.INFO: TCP Data received {"connection_id":219409,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:30:52] local.INFO: Processing buffer {"connection_id":219409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:30:52] local.INFO: IMEI packet received {"connection_id":219409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":219409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:30:56] local.INFO: TCP Data received {"connection_id":217673,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:30:56] local.INFO: Processing buffer {"connection_id":217673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:30:56] local.INFO: Packet analysis {"connection_id":217673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:30:56] local.INFO: Extracted packet for processing {"connection_id":217673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:30:56] 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-10-16 02:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:30:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:30:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":217673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:30:56] local.INFO: GPS data processed {"connection_id":217673,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:30:56] local.INFO: Acknowledgment sent {"connection_id":217673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:30:57] local.INFO: TCP Data received {"connection_id":219409,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:30:57] local.INFO: Processing buffer {"connection_id":219409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:30:57] local.INFO: IMEI packet received {"connection_id":219409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":219409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:30:58] local.INFO: TCP Data received {"connection_id":219409,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415c6a50012d55b84006434860000c014e30..."} 
[2026-10-16 02:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415c6a50012d55b84006434860000c014e30..."} 
[2026-10-16 02:30:58] local.INFO: Processing buffer {"connection_id":219409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415c6a50012d55b84006434860000c014e30..."} 
[2026-10-16 02:30:58] local.INFO: Packet analysis {"connection_id":219409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415c"} 
[2026-10-16 02:30:58] local.INFO: Extracted packet for processing {"connection_id":219409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415c"} 
[2026-10-16 02:30:58] local.INFO: GPS Element Parsed {"raw_longitude":760592448,"raw_latitude":105072736,"longitude_deg":76.0592448,"latitude_deg":10.5072736,"altitude":12,"angle":334,"satellites":48,"speed":47,"hex_longitude":"2d55b840","hex_latitude":"06434860","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777070080001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12178238033887232,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6181260884206555136,"note":"Value kept but may cause issues"} 
[2026-10-16 02:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792097938000,"timestamp_ms":1792097938000,"timestamp_seconds":1792097938,"priority":1,"record_length":96,"hex_timestamp":"000001a1415c6a50"} 
[2026-10-16 02:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 02:30:58] 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-10-16 02: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-10-16 02:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777070080001,"66":27365,"187":206,"19":38144,"24":47,"16":12178238033887232,"45":6181260884206555136},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,19,24,16,45]} 
[2026-10-16 02:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777070080001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:30:58] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-10-16 02:30:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12178238033887232,"km_value":12178238033887.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6181260884206555136,"description":"Unknown IO ID 45"} 
[2026-10-16 02:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777070080001,"power":27365,"unknown_187":206,"unknown_19":38144,"ignition":47,"odometer":null,"unknown_45":6181260884206555136}} 
[2026-10-16 02:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":219409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:30:58] local.INFO: GPS data processed {"connection_id":219409,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:30:58] local.INFO: Acknowledgment sent {"connection_id":219409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:31:12] local.INFO: TCP Data received {"connection_id":216322,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:31:12] local.INFO: Processing buffer {"connection_id":216322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:31:12] local.INFO: Packet analysis {"connection_id":216322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:31:12] local.INFO: Extracted packet for processing {"connection_id":216322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:31: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-10-16 02: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:31:12] 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-10-16 02: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-10-16 02:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":216322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":216322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":216322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:31:12] 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-10-16 02:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:31:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":216322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:31:12] local.INFO: GPS data processed {"connection_id":216322,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:31:12] local.INFO: Acknowledgment sent {"connection_id":216322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:31:17] local.INFO: TCP Data received {"connection_id":216128,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:31:17] local.INFO: Processing buffer {"connection_id":216128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:31:17] local.INFO: IMEI packet received {"connection_id":216128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":216128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:31:21] local.INFO: TCP Data received {"connection_id":217674,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:31:21] local.INFO: Processing buffer {"connection_id":217674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:31:21] local.INFO: IMEI packet received {"connection_id":217674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":217674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:31:23] local.INFO: TCP Data received {"connection_id":216128,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:31:23] local.INFO: Processing buffer {"connection_id":216128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:31:23] local.INFO: IMEI packet received {"connection_id":216128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":216128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:31:24] local.INFO: TCP Data received {"connection_id":216128,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:31:24] local.INFO: Processing buffer {"connection_id":216128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:31:24] local.INFO: Packet analysis {"connection_id":216128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:31:24] local.INFO: Extracted packet for processing {"connection_id":216128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:31:24] 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-10-16 02:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:31:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:31:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":216128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:31:24] local.INFO: GPS data processed {"connection_id":216128,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:31:24] local.INFO: Acknowledgment sent {"connection_id":216128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:31:26] local.INFO: TCP Data received {"connection_id":217674,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:31:26] local.INFO: Processing buffer {"connection_id":217674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:31:26] local.INFO: IMEI packet received {"connection_id":217674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":217674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:31:27] local.INFO: TCP Data received {"connection_id":217674,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:31:27] local.INFO: Processing buffer {"connection_id":217674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:31:27] local.INFO: Packet analysis {"connection_id":217674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:31:27] local.INFO: Extracted packet for processing {"connection_id":217674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:31:27] 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-10-16 02:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:31:27] 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-10-16 02:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:31:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":217674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:31:27] local.INFO: GPS data processed {"connection_id":217674,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:31:27] local.INFO: Acknowledgment sent {"connection_id":217674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:31:29] local.INFO: TCP Data received {"connection_id":219409,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415de150012d54e2c00644d358001001462e..."} 
[2026-10-16 02:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415de150012d54e2c00644d358001001462e..."} 
[2026-10-16 02:31:29] local.INFO: Processing buffer {"connection_id":219409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415de150012d54e2c00644d358001001462e..."} 
[2026-10-16 02:31:29] local.INFO: Packet analysis {"connection_id":219409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:31:29] local.INFO: Extracted packet for processing {"connection_id":219409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:31:29] local.INFO: GPS Element Parsed {"raw_longitude":760537792,"raw_latitude":105173848,"longitude_deg":76.0537792,"latitude_deg":10.5173848,"altitude":16,"angle":326,"satellites":46,"speed":47,"hex_longitude":"2d54e2c0","hex_latitude":"0644d358","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777094656001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12183791426600960,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6122151139123410944,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792098034000,"timestamp_ms":1792098034000,"timestamp_seconds":1792098034,"priority":1,"record_length":96,"hex_timestamp":"000001a1415de150"} 
[2026-10-16 02:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 02:31:29] 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-10-16 02: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-10-16 02:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777094656001,"66":27397,"176":206,"19":38144,"24":47,"16":12183791426600960,"45":6122151139123410944},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-10-16 02:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777094656001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:31:29] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 02:31:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12183791426600960,"km_value":12183791426600.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6122151139123410944,"description":"Unknown IO ID 45"} 
[2026-10-16 02:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777094656001,"power":27397,"unknown_176":206,"unknown_19":38144,"ignition":47,"odometer":null,"unknown_45":6122151139123410944}} 
[2026-10-16 02:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":219409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:31:29] local.INFO: GPS data processed {"connection_id":219409,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:31:29] local.INFO: Acknowledgment sent {"connection_id":219409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:31:52] local.INFO: TCP Data received {"connection_id":216323,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:31:52] local.INFO: Processing buffer {"connection_id":216323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:31:52] local.INFO: IMEI packet received {"connection_id":216323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":216323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:31:56] local.INFO: TCP Data received {"connection_id":216128,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:31:56] local.INFO: Processing buffer {"connection_id":216128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:31:56] local.INFO: Packet analysis {"connection_id":216128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:31:56] local.INFO: Extracted packet for processing {"connection_id":216128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:31:56] 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-10-16 02:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:31:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:31:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":216128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:31:56] local.INFO: GPS data processed {"connection_id":216128,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:31:56] local.INFO: Acknowledgment sent {"connection_id":216128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:31:58] local.INFO: TCP Data received {"connection_id":216323,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:31:58] local.INFO: Processing buffer {"connection_id":216323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:31:58] local.INFO: IMEI packet received {"connection_id":216323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":216323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:31:58] local.INFO: TCP Data received {"connection_id":217674,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:31:58] local.INFO: Processing buffer {"connection_id":217674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:31:58] local.INFO: Packet analysis {"connection_id":217674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:31:58] local.INFO: Extracted packet for processing {"connection_id":217674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:31:58] 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-10-16 02:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:31:58] 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-10-16 02:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:31:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:31:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":217674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:31:59] local.INFO: GPS data processed {"connection_id":217674,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:31:59] local.INFO: Acknowledgment sent {"connection_id":217674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:32:00] local.INFO: TCP Data received {"connection_id":216323,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415e0090012d54cd800644f3e8000f01472e..."} 
[2026-10-16 02:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415e0090012d54cd800644f3e8000f01472e..."} 
[2026-10-16 02:32:00] local.INFO: Processing buffer {"connection_id":216323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415e0090012d54cd800644f3e8000f01472e..."} 
[2026-10-16 02:32:00] local.INFO: Packet analysis {"connection_id":216323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415e"} 
[2026-10-16 02:32:00] local.INFO: Extracted packet for processing {"connection_id":216323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415e"} 
[2026-10-16 02:32:00] local.INFO: GPS Element Parsed {"raw_longitude":760532352,"raw_latitude":105182184,"longitude_deg":76.0532352,"latitude_deg":10.5182184,"altitude":15,"angle":327,"satellites":46,"speed":51,"hex_longitude":"2d54cd80","hex_latitude":"0644f3e8","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777096704001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12184272462938112,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6116662377079592960,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792098042000,"timestamp_ms":1792098042000,"timestamp_seconds":1792098042,"priority":1,"record_length":96,"hex_timestamp":"000001a1415e0090"} 
[2026-10-16 02:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 02:32:00] 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-10-16 02: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-10-16 02:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777096704001,"66":27310,"176":206,"19":38144,"24":51,"16":12184272462938112,"45":6116662377079592960},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-10-16 02:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777096704001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:32:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 02:32:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12184272462938112,"km_value":12184272462938.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6116662377079592960,"description":"Unknown IO ID 45"} 
[2026-10-16 02:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777096704001,"power":27310,"unknown_176":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":6116662377079592960}} 
[2026-10-16 02:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":216323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:32:00] local.INFO: GPS data processed {"connection_id":216323,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:32:00] local.INFO: Acknowledgment sent {"connection_id":216323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:32:23] local.INFO: TCP Data received {"connection_id":217675,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:32:23] local.INFO: Processing buffer {"connection_id":217675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:32:23] local.INFO: IMEI packet received {"connection_id":217675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":217675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:32:26] local.INFO: TCP Data received {"connection_id":219410,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:32:26] local.INFO: Processing buffer {"connection_id":219410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:32:26] local.INFO: IMEI packet received {"connection_id":219410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":219410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:32:28] local.INFO: TCP Data received {"connection_id":217675,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:32:28] local.INFO: Processing buffer {"connection_id":217675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:32:28] local.INFO: IMEI packet received {"connection_id":217675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":217675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:32:29] local.INFO: TCP Data received {"connection_id":217675,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:32:29] local.INFO: Processing buffer {"connection_id":217675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:32:29] local.INFO: Packet analysis {"connection_id":217675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:32:29] local.INFO: Extracted packet for processing {"connection_id":217675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:32:29] 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-10-16 02:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:32:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:32:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":217675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:32:29] local.INFO: GPS data processed {"connection_id":217675,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:32:29] local.INFO: Acknowledgment sent {"connection_id":217675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:32:31] local.INFO: TCP Data received {"connection_id":219410,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:32:31] local.INFO: Processing buffer {"connection_id":219410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:32:31] local.INFO: IMEI packet received {"connection_id":219410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":219410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:32:32] local.INFO: TCP Data received {"connection_id":216323,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415e1be8012d54ba4006451148000d01482e..."} 
[2026-10-16 02:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415e1be8012d54ba4006451148000d01482e..."} 
[2026-10-16 02:32:32] local.INFO: Processing buffer {"connection_id":216323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415e1be8012d54ba4006451148000d01482e..."} 
[2026-10-16 02:32:32] local.INFO: Packet analysis {"connection_id":216323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415e"} 
[2026-10-16 02:32:32] local.INFO: Extracted packet for processing {"connection_id":216323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415e"} 
[2026-10-16 02:32:32] local.INFO: GPS Element Parsed {"raw_longitude":760527424,"raw_latitude":105189704,"longitude_deg":76.0527424,"latitude_deg":10.5189704,"altitude":13,"angle":328,"satellites":46,"speed":51,"hex_longitude":"2d54ba40","hex_latitude":"06451148","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098752001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12184706254635008,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6110681033826625536,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792098049000,"timestamp_ms":1792098049000,"timestamp_seconds":1792098049,"priority":1,"record_length":96,"hex_timestamp":"000001a1415e1be8"} 
[2026-10-16 02:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:32: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-10-16 02:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 02:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098752001,"66":27115,"176":206,"19":38144,"24":51,"16":12184706254635008,"45":6110681033826625536},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-10-16 02:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098752001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:32:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 02:32:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12184706254635008,"km_value":12184706254635.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6110681033826625536,"description":"Unknown IO ID 45"} 
[2026-10-16 02:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098752001,"power":27115,"unknown_176":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":6110681033826625536}} 
[2026-10-16 02:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":216323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043763,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:32:32] local.INFO: GPS data processed {"connection_id":216323,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:32:32] local.INFO: Acknowledgment sent {"connection_id":216323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:32:34] local.INFO: TCP Data received {"connection_id":217675,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:32:34] local.INFO: Processing buffer {"connection_id":217675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415a89d8012d7fac4005afe350000000a625..."} 
[2026-10-16 02:32:34] local.INFO: Packet analysis {"connection_id":217675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:32:34] local.INFO: Extracted packet for processing {"connection_id":217675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415a"} 
[2026-10-16 02:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458776963584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792097815000,"timestamp_ms":1792097815000,"timestamp_seconds":1792097815,"priority":1,"record_length":96,"hex_timestamp":"000001a1415a89d8"} 
[2026-10-16 02:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458776963584001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458776963584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:32:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:32:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458776963584001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":217675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:32:34] local.INFO: GPS data processed {"connection_id":217675,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:32:34] local.INFO: Acknowledgment sent {"connection_id":217675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:32:34] local.INFO: TCP Data received {"connection_id":219410,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:32:34] local.INFO: Processing buffer {"connection_id":219410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:32:34] local.INFO: Packet analysis {"connection_id":219410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:32:34] local.INFO: Extracted packet for processing {"connection_id":219410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:32:34] 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-10-16 02:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:32:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:32:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":219410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:32:34] local.INFO: GPS data processed {"connection_id":219410,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:32:34] local.INFO: Acknowledgment sent {"connection_id":219410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:32:36] local.INFO: TCP Data received {"connection_id":219410,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:32:36] local.INFO: Processing buffer {"connection_id":219410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:32:36] local.INFO: Packet analysis {"connection_id":219410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:32:36] local.INFO: Extracted packet for processing {"connection_id":219410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:32:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":219410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:32:37] local.INFO: GPS data processed {"connection_id":219410,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:32:37] local.INFO: Acknowledgment sent {"connection_id":219410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:32:55] local.INFO: TCP Data received {"connection_id":216324,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:32:55] local.INFO: Processing buffer {"connection_id":216324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:32:55] local.INFO: IMEI packet received {"connection_id":216324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":216324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:32:57] local.INFO: TCP Data received {"connection_id":216324,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:32:57] local.INFO: Processing buffer {"connection_id":216324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:32:57] local.INFO: IMEI packet received {"connection_id":216324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":216324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:33:03] local.INFO: TCP Data received {"connection_id":216324,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:33:03] local.INFO: Processing buffer {"connection_id":216324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:33:03] local.INFO: IMEI packet received {"connection_id":216324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":216324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:33:05] local.INFO: TCP Data received {"connection_id":216324,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415e3740012d54a84006453028000b014b2e..."} 
[2026-10-16 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415e3740012d54a84006453028000b014b2e..."} 
[2026-10-16 02:33:05] local.INFO: Processing buffer {"connection_id":216324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415e3740012d54a84006453028000b014b2e..."} 
[2026-10-16 02:33:05] local.INFO: Packet analysis {"connection_id":216324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415e"} 
[2026-10-16 02:33:05] local.INFO: Extracted packet for processing {"connection_id":216324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415e"} 
[2026-10-16 02:33:05] local.INFO: GPS Element Parsed {"raw_longitude":760522816,"raw_latitude":105197608,"longitude_deg":76.0522816,"latitude_deg":10.5197608,"altitude":11,"angle":331,"satellites":46,"speed":52,"hex_longitude":"2d54a840","hex_latitude":"06453028","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777100544001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12185148636266496,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6105262640526870528,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792098056000,"timestamp_ms":1792098056000,"timestamp_seconds":1792098056,"priority":1,"record_length":96,"hex_timestamp":"000001a1415e3740"} 
[2026-10-16 02:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:33: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-10-16 02: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 02:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777100544001,"66":27213,"176":206,"19":38144,"24":52,"16":12185148636266496,"45":6105262640526870528},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-10-16 02:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777100544001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:33:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 02:33:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12185148636266496,"km_value":12185148636266.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6105262640526870528,"description":"Unknown IO ID 45"} 
[2026-10-16 02:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777100544001,"power":27213,"unknown_176":206,"unknown_19":38144,"ignition":52,"odometer":null,"unknown_45":6105262640526870528}} 
[2026-10-16 02:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":216324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:33:05] local.INFO: GPS data processed {"connection_id":216324,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:33:05] local.INFO: Acknowledgment sent {"connection_id":216324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:33:06] local.INFO: TCP Data received {"connection_id":216324,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415e5298012d5497c006454f300009014b2e..."} 
[2026-10-16 02:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415e5298012d5497c006454f300009014b2e..."} 
[2026-10-16 02:33:06] local.INFO: Processing buffer {"connection_id":216324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415e5298012d5497c006454f300009014b2e..."} 
[2026-10-16 02:33:06] local.INFO: Packet analysis {"connection_id":216324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415e"} 
[2026-10-16 02:33:06] local.INFO: Extracted packet for processing {"connection_id":216324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415e"} 
[2026-10-16 02:33:06] local.INFO: GPS Element Parsed {"raw_longitude":760518592,"raw_latitude":105205552,"longitude_deg":76.0518592,"latitude_deg":10.5205552,"altitude":9,"angle":331,"satellites":46,"speed":50,"hex_longitude":"2d5497c0","hex_latitude":"06454f30","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777102336001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12185582427963392,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6100196090948102144,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792098063000,"timestamp_ms":1792098063000,"timestamp_seconds":1792098063,"priority":1,"record_length":96,"hex_timestamp":"000001a1415e5298"} 
[2026-10-16 02:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02: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-10-16 02:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 02:33: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-10-16 02: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-10-16 02:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777102336001,"66":27213,"177":206,"19":38144,"24":50,"16":12185582427963392,"45":6100196090948102144},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777102336001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:33:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:33:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12185582427963392,"km_value":12185582427963.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6100196090948102144,"description":"Unknown IO ID 45"} 
[2026-10-16 02:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777102336001,"power":27213,"unknown_177":206,"unknown_19":38144,"ignition":50,"odometer":null,"unknown_45":6100196090948102144}} 
[2026-10-16 02:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":216324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:33:07] local.INFO: GPS data processed {"connection_id":216324,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:33:07] local.INFO: Acknowledgment sent {"connection_id":216324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:33:17] local.INFO: TCP Data received {"connection_id":217676,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:33:17] local.INFO: Processing buffer {"connection_id":217676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:33:17] local.INFO: IMEI packet received {"connection_id":217676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":217676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:33:21] local.INFO: TCP Data received {"connection_id":217677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:33:21] local.INFO: Processing buffer {"connection_id":217677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:33:21] local.INFO: IMEI packet received {"connection_id":217677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":217677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:33:23] local.INFO: TCP Data received {"connection_id":217676,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:33:23] local.INFO: Processing buffer {"connection_id":217676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:33:23] local.INFO: IMEI packet received {"connection_id":217676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":217676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:33:24] local.INFO: TCP Data received {"connection_id":217676,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:33:24] local.INFO: Processing buffer {"connection_id":217676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:33:24] local.INFO: Packet analysis {"connection_id":217676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:33:24] local.INFO: Extracted packet for processing {"connection_id":217676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777040640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792098116000,"timestamp_ms":1792098116000,"timestamp_seconds":1792098116,"priority":1,"record_length":96,"hex_timestamp":"000001a1415f21a0"} 
[2026-10-16 02:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:33:24] 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-10-16 02:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777040640001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777040640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:33:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:33:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777040640001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":217676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:33:24] local.INFO: GPS data processed {"connection_id":217676,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:33:24] local.INFO: Acknowledgment sent {"connection_id":217676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:33:26] local.INFO: TCP Data received {"connection_id":217677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:33:26] local.INFO: Processing buffer {"connection_id":217677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:33:26] local.INFO: IMEI packet received {"connection_id":217677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":217677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:33:28] local.INFO: TCP Data received {"connection_id":217677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:33:28] local.INFO: Processing buffer {"connection_id":217677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:33:28] local.INFO: Packet analysis {"connection_id":217677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:33:28] local.INFO: Extracted packet for processing {"connection_id":217677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:33:28] 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-10-16 02:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:33:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":217677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:33:28] local.INFO: GPS data processed {"connection_id":217677,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:33:28] local.INFO: Acknowledgment sent {"connection_id":217677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:33:32] local.INFO: TCP Data received {"connection_id":217677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:33:32] local.INFO: Processing buffer {"connection_id":217677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:33:32] local.INFO: Packet analysis {"connection_id":217677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:33:32] local.INFO: Extracted packet for processing {"connection_id":217677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:33:32] 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-10-16 02:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:33:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":217677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:33:32] local.INFO: GPS data processed {"connection_id":217677,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:33:32] local.INFO: Acknowledgment sent {"connection_id":217677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:33:53] local.INFO: TCP Data received {"connection_id":217678,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:33:53] local.INFO: Processing buffer {"connection_id":217678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:33:53] local.INFO: IMEI packet received {"connection_id":217678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":217678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:33:56] local.INFO: TCP Data received {"connection_id":217676,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:33:56] local.INFO: Processing buffer {"connection_id":217676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:33:56] local.INFO: Packet analysis {"connection_id":217676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:33:56] local.INFO: Extracted packet for processing {"connection_id":217676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777040640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792098116000,"timestamp_ms":1792098116000,"timestamp_seconds":1792098116,"priority":1,"record_length":96,"hex_timestamp":"000001a1415f21a0"} 
[2026-10-16 02:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:33:56] 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-10-16 02: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-10-16 02:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777040640001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777040640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:33:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:33:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777040640001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":217676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:33:56] local.INFO: GPS data processed {"connection_id":217676,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:33:56] local.INFO: Acknowledgment sent {"connection_id":217676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:33:58] local.INFO: TCP Data received {"connection_id":217678,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:33:58] local.INFO: Processing buffer {"connection_id":217678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:33:58] local.INFO: IMEI packet received {"connection_id":217678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":217678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:34:03] local.INFO: TCP Data received {"connection_id":217677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:34:03] local.INFO: Processing buffer {"connection_id":217677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:34:03] local.INFO: Packet analysis {"connection_id":217677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:34:03] local.INFO: Extracted packet for processing {"connection_id":217677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02: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-10-16 02: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-10-16 02:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:34:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":217677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:34:03] local.INFO: GPS data processed {"connection_id":217677,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:34:03] local.INFO: Acknowledgment sent {"connection_id":217677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:34:06] local.INFO: TCP Data received {"connection_id":217678,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415fe8d8012d53db800646e250000900002d..."} 
[2026-10-16 02:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415fe8d8012d53db800646e250000900002d..."} 
[2026-10-16 02:34:06] local.INFO: Processing buffer {"connection_id":217678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415fe8d8012d53db800646e250000900002d..."} 
[2026-10-16 02:34:06] local.INFO: Packet analysis {"connection_id":217678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:34:06] local.INFO: Extracted packet for processing {"connection_id":217678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:34:06] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105308752,"longitude_deg":76.04704,"latitude_deg":10.5308752,"altitude":9,"angle":0,"satellites":45,"speed":32,"hex_longitude":"2d53db80","hex_latitude":"0646e250","is_valid_coordinates":true} 
[2026-10-16 02:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777127680001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12191135820677120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6043408514422849536,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792098167000,"timestamp_ms":1792098167000,"timestamp_seconds":1792098167,"priority":1,"record_length":96,"hex_timestamp":"000001a1415fe8d8"} 
[2026-10-16 02:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:34: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-10-16 02:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-16 02:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777127680001,"66":27441,"177":206,"19":38144,"24":32,"16":12191135820677120,"45":6043408514422849536},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777127680001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:34:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:34:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12191135820677120,"km_value":12191135820677.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6043408514422849536,"description":"Unknown IO ID 45"} 
[2026-10-16 02:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777127680001,"power":27441,"unknown_177":206,"unknown_19":38144,"ignition":32,"odometer":null,"unknown_45":6043408514422849536}} 
[2026-10-16 02:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":217678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:34:06] local.INFO: GPS data processed {"connection_id":217678,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:34:06] local.INFO: Acknowledgment sent {"connection_id":217678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:34:22] local.INFO: TCP Data received {"connection_id":216129,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:34:22] local.INFO: Processing buffer {"connection_id":216129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:34:22] local.INFO: IMEI packet received {"connection_id":216129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":216129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:34:23] local.INFO: TCP Data received {"connection_id":217679,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:34:23] local.INFO: Processing buffer {"connection_id":217679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:34:23] local.INFO: IMEI packet received {"connection_id":217679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":217679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:34:26] local.INFO: TCP Data received {"connection_id":216129,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:34:26] local.INFO: Processing buffer {"connection_id":216129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:34:26] local.INFO: IMEI packet received {"connection_id":216129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":216129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:34:27] local.INFO: TCP Data received {"connection_id":216129,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:34:27] local.INFO: Processing buffer {"connection_id":216129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:34:27] local.INFO: Packet analysis {"connection_id":216129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:34:27] local.INFO: Extracted packet for processing {"connection_id":216129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:34:27] 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-10-16 02:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:34: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-10-16 02:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:34:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":216129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:34:27] local.INFO: GPS data processed {"connection_id":216129,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:34:27] local.INFO: Acknowledgment sent {"connection_id":216129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:34:28] local.INFO: TCP Data received {"connection_id":217679,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:34:28] local.INFO: Processing buffer {"connection_id":217679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:34:28] local.INFO: IMEI packet received {"connection_id":217679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":217679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:34:29] local.INFO: TCP Data received {"connection_id":217679,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:34:29] local.INFO: Processing buffer {"connection_id":217679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:34:29] local.INFO: Packet analysis {"connection_id":217679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:34:29] local.INFO: Extracted packet for processing {"connection_id":217679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:34: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-10-16 02:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777040640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792098116000,"timestamp_ms":1792098116000,"timestamp_seconds":1792098116,"priority":1,"record_length":96,"hex_timestamp":"000001a1415f21a0"} 
[2026-10-16 02:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:34:29] 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-10-16 02:34: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-10-16 02:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777040640001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777040640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:34:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:34:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777040640001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":217679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:34:29] local.INFO: GPS data processed {"connection_id":217679,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:34:29] local.INFO: Acknowledgment sent {"connection_id":217679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:34:34] local.INFO: TCP Data received {"connection_id":217679,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:34:34] local.INFO: Processing buffer {"connection_id":217679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:34:34] local.INFO: Packet analysis {"connection_id":217679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:34:34] local.INFO: Extracted packet for processing {"connection_id":217679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777040640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792098116000,"timestamp_ms":1792098116000,"timestamp_seconds":1792098116,"priority":1,"record_length":96,"hex_timestamp":"000001a1415f21a0"} 
[2026-10-16 02:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777040640001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777040640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:34:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:34:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777040640001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":217679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:34:34] local.INFO: GPS data processed {"connection_id":217679,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:34:34] local.INFO: Acknowledgment sent {"connection_id":217679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:34:39] local.INFO: TCP Data received {"connection_id":217678,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1415fe8d8012d53db800646e250000900002d..."} 
[2026-10-16 02:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415fe8d8012d53db800646e250000900002d..."} 
[2026-10-16 02:34:39] local.INFO: Processing buffer {"connection_id":217678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415fe8d8012d53db800646e250000900002d..."} 
[2026-10-16 02:34:39] local.INFO: Packet analysis {"connection_id":217678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:34:39] local.INFO: Extracted packet for processing {"connection_id":217678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:34:39] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105308752,"longitude_deg":76.04704,"latitude_deg":10.5308752,"altitude":9,"angle":0,"satellites":45,"speed":32,"hex_longitude":"2d53db80","hex_latitude":"0646e250","is_valid_coordinates":true} 
[2026-10-16 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-10-16 02:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777130752001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12191135820677120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042564089495048192,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792098167000,"timestamp_ms":1792098167000,"timestamp_seconds":1792098167,"priority":1,"record_length":96,"hex_timestamp":"000001a1415fe8d8"} 
[2026-10-16 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-10-16 02:34: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-10-16 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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 02:34:39] 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-10-16 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-10-16 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-10-16 02:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":217678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":217678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":217678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777130752001,"66":27441,"177":206,"19":38144,"24":32,"16":12191135820677120,"45":6042564089495048192},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777130752001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:34:39] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:34:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12191135820677120,"km_value":12191135820677.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042564089495048192,"description":"Unknown IO ID 45"} 
[2026-10-16 02:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777130752001,"power":27441,"unknown_177":206,"unknown_19":38144,"ignition":32,"odometer":null,"unknown_45":6042564089495048192}} 
[2026-10-16 02:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":217678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:34:39] local.INFO: GPS data processed {"connection_id":217678,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:34:39] local.INFO: Acknowledgment sent {"connection_id":217678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:34:52] local.INFO: TCP Data received {"connection_id":216325,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:34:52] local.INFO: Processing buffer {"connection_id":216325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:34:52] local.INFO: IMEI packet received {"connection_id":216325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":216325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:34:54] local.INFO: TCP Data received {"connection_id":216325,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:34:54] local.INFO: Processing buffer {"connection_id":216325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:34:54] local.INFO: IMEI packet received {"connection_id":216325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":216325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:34:57] local.INFO: TCP Data received {"connection_id":216325,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:34:57] local.INFO: Processing buffer {"connection_id":216325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:34:57] local.INFO: IMEI packet received {"connection_id":216325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":216325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:34:58] local.INFO: TCP Data received {"connection_id":216325,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416017b8012d53db80064705e0000b01672e..."} 
[2026-10-16 02:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416017b8012d53db80064705e0000b01672e..."} 
[2026-10-16 02:34:58] local.INFO: Processing buffer {"connection_id":216325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416017b8012d53db80064705e0000b01672e..."} 
[2026-10-16 02:34:58] local.INFO: Packet analysis {"connection_id":216325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:34:58] local.INFO: Extracted packet for processing {"connection_id":216325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:34:58] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105317856,"longitude_deg":76.04704,"latitude_deg":10.5317856,"altitude":11,"angle":359,"satellites":46,"speed":30,"hex_longitude":"2d53db80","hex_latitude":"064705e0","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777130752001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12191578202308608,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042564089495048192,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792098179000,"timestamp_ms":1792098179000,"timestamp_seconds":1792098179,"priority":1,"record_length":96,"hex_timestamp":"000001a1416017b8"} 
[2026-10-16 02:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 02:34:58] 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-10-16 02: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-10-16 02:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777130752001,"66":27604,"177":206,"19":38144,"24":30,"16":12191578202308608,"45":6042564089495048192},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777130752001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:34:58] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:34:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12191578202308608,"km_value":12191578202308.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042564089495048192,"description":"Unknown IO ID 45"} 
[2026-10-16 02:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777130752001,"power":27604,"unknown_177":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":6042564089495048192}} 
[2026-10-16 02:34:58] local.INFO: TCP Data received {"connection_id":216129,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:34:58] local.INFO: Processing buffer {"connection_id":216129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:34:58] local.INFO: Packet analysis {"connection_id":216129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:34:58] local.INFO: Extracted packet for processing {"connection_id":216129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:34:58] 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-10-16 02: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-10-16 02:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:34:58] 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-10-16 02:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:34:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":216129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:34:59] local.INFO: GPS data processed {"connection_id":216129,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:34:59] local.INFO: Acknowledgment sent {"connection_id":216129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":216325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:34:59] local.INFO: GPS data processed {"connection_id":216325,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:34:59] local.INFO: Acknowledgment sent {"connection_id":216325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:35:18] local.INFO: TCP Data received {"connection_id":217680,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:35:18] local.INFO: Processing buffer {"connection_id":217680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:35:18] local.INFO: IMEI packet received {"connection_id":217680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":217680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:35:22] local.INFO: TCP Data received {"connection_id":217681,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:35:22] local.INFO: Processing buffer {"connection_id":217681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:35:22] local.INFO: IMEI packet received {"connection_id":217681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":217681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:35:23] local.INFO: TCP Data received {"connection_id":217680,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:35:23] local.INFO: Processing buffer {"connection_id":217680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:35:23] local.INFO: IMEI packet received {"connection_id":217680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":217680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:35:24] local.INFO: TCP Data received {"connection_id":217680,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:35:24] local.INFO: Processing buffer {"connection_id":217680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:35:24] local.INFO: Packet analysis {"connection_id":217680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:35:24] local.INFO: Extracted packet for processing {"connection_id":217680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777040640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792098116000,"timestamp_ms":1792098116000,"timestamp_seconds":1792098116,"priority":1,"record_length":96,"hex_timestamp":"000001a1415f21a0"} 
[2026-10-16 02:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:35:24] 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-10-16 02:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777040640001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777040640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:35:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:35:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777040640001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":217680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:35:24] local.INFO: GPS data processed {"connection_id":217680,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:35:24] local.INFO: Acknowledgment sent {"connection_id":217680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:35:26] local.INFO: TCP Data received {"connection_id":217681,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:35:26] local.INFO: Processing buffer {"connection_id":217681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:35:26] local.INFO: IMEI packet received {"connection_id":217681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":217681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:35:27] local.INFO: TCP Data received {"connection_id":217681,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:35:27] local.INFO: Processing buffer {"connection_id":217681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415dfca8012d7c240005dad510000000ea25..."} 
[2026-10-16 02:35:27] local.INFO: Packet analysis {"connection_id":217681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:35:27] local.INFO: Extracted packet for processing {"connection_id":217681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415d"} 
[2026-10-16 02:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777021440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792098041000,"timestamp_ms":1792098041000,"timestamp_seconds":1792098041,"priority":1,"record_length":96,"hex_timestamp":"000001a1415dfca8"} 
[2026-10-16 02:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:35:27] 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-10-16 02:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:35:27] 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-10-16 02:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777021440001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777021440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:35:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777021440001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":217681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:35:27] local.INFO: GPS data processed {"connection_id":217681,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:35:27] local.INFO: Acknowledgment sent {"connection_id":217681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:35:32] local.INFO: TCP Data received {"connection_id":216325,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416042b0012d53dc00064729e8000d01672e..."} 
[2026-10-16 02:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416042b0012d53dc00064729e8000d01672e..."} 
[2026-10-16 02:35:32] local.INFO: Processing buffer {"connection_id":216325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416042b0012d53dc00064729e8000d01672e..."} 
[2026-10-16 02:35:32] local.INFO: Packet analysis {"connection_id":216325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:35:32] local.INFO: Extracted packet for processing {"connection_id":216325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:35:32] local.INFO: GPS Element Parsed {"raw_longitude":760470528,"raw_latitude":105327080,"longitude_deg":76.0470528,"latitude_deg":10.532708,"altitude":13,"angle":359,"satellites":46,"speed":35,"hex_longitude":"2d53dc00","hex_latitude":"064729e8","is_valid_coordinates":true} 
[2026-10-16 02:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777133824001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12192024878907392,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042564089497378816,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792098190000,"timestamp_ms":1792098190000,"timestamp_seconds":1792098190,"priority":1,"record_length":96,"hex_timestamp":"000001a1416042b0"} 
[2026-10-16 02:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 02:35:32] 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-10-16 02:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777133824001,"66":27484,"177":206,"19":38144,"24":35,"16":12192024878907392,"45":6042564089497378816},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777133824001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:35:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:35:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12192024878907392,"km_value":12192024878907.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042564089497378816,"description":"Unknown IO ID 45"} 
[2026-10-16 02:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777133824001,"power":27484,"unknown_177":206,"unknown_19":38144,"ignition":35,"odometer":null,"unknown_45":6042564089497378816}} 
[2026-10-16 02:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":216325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:35:32] local.INFO: GPS data processed {"connection_id":216325,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:35:32] local.INFO: Acknowledgment sent {"connection_id":216325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:35:54] local.INFO: TCP Data received {"connection_id":219411,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:35:54] local.INFO: Processing buffer {"connection_id":219411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:35:54] local.INFO: IMEI packet received {"connection_id":219411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":219411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:35:56] local.INFO: TCP Data received {"connection_id":217680,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:35:56] local.INFO: Processing buffer {"connection_id":217680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1415f21a0012d7fac4005afe350000000a625..."} 
[2026-10-16 02:35:56] local.INFO: Packet analysis {"connection_id":217680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:35:56] local.INFO: Extracted packet for processing {"connection_id":217680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1415f"} 
[2026-10-16 02:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777040640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792098116000,"timestamp_ms":1792098116000,"timestamp_seconds":1792098116,"priority":1,"record_length":96,"hex_timestamp":"000001a1415f21a0"} 
[2026-10-16 02:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:35:56] 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-10-16 02:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777040640001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777040640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:35:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:35:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777040640001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":217680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:35:56] local.INFO: GPS data processed {"connection_id":217680,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:35:56] local.INFO: Acknowledgment sent {"connection_id":217680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:35:58] local.INFO: TCP Data received {"connection_id":219411,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:35:58] local.INFO: Processing buffer {"connection_id":219411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:35:58] local.INFO: IMEI packet received {"connection_id":219411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":219411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:35:59] local.INFO: TCP Data received {"connection_id":217681,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:35:59] local.INFO: Processing buffer {"connection_id":217681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:35:59] local.INFO: Packet analysis {"connection_id":217681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:35:59] local.INFO: Extracted packet for processing {"connection_id":217681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098496001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098342000,"timestamp_ms":1792098342000,"timestamp_seconds":1792098342,"priority":1,"record_length":96,"hex_timestamp":"000001a141629470"} 
[2026-10-16 02:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:35:59] 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-10-16 02:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098496001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098496001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:35:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098496001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":217681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:35:59] local.INFO: GPS data processed {"connection_id":217681,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:35:59] local.INFO: Acknowledgment sent {"connection_id":217681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:36:00] local.INFO: TCP Data received {"connection_id":219411,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416069c0012d53dc0006474db0000d01662c..."} 
[2026-10-16 02:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416069c0012d53dc0006474db0000d01662c..."} 
[2026-10-16 02:36:00] local.INFO: Processing buffer {"connection_id":219411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416069c0012d53dc0006474db0000d01662c..."} 
[2026-10-16 02:36:00] local.INFO: Packet analysis {"connection_id":219411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:36:00] local.INFO: Extracted packet for processing {"connection_id":219411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:36:00] local.INFO: GPS Element Parsed {"raw_longitude":760470528,"raw_latitude":105336240,"longitude_deg":76.0470528,"latitude_deg":10.533624,"altitude":13,"angle":358,"satellites":44,"speed":37,"hex_longitude":"2d53dc00","hex_latitude":"06474db0","is_valid_coordinates":true} 
[2026-10-16 02:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777136640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12192467260538880,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042704826988095488,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792098200000,"timestamp_ms":1792098200000,"timestamp_seconds":1792098200,"priority":1,"record_length":96,"hex_timestamp":"000001a1416069c0"} 
[2026-10-16 02:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 02:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777136640001,"66":27463,"177":206,"19":38144,"24":37,"16":12192467260538880,"45":6042704826988095488},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777136640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:36:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:36:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12192467260538880,"km_value":12192467260538.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042704826988095488,"description":"Unknown IO ID 45"} 
[2026-10-16 02:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777136640001,"power":27463,"unknown_177":206,"unknown_19":38144,"ignition":37,"odometer":null,"unknown_45":6042704826988095488}} 
[2026-10-16 02:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":219411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:36:00] local.INFO: GPS data processed {"connection_id":219411,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:36:00] local.INFO: Acknowledgment sent {"connection_id":219411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:36:17] local.INFO: TCP Data received {"connection_id":216130,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:36:17] local.INFO: Processing buffer {"connection_id":216130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:36:17] local.INFO: IMEI packet received {"connection_id":216130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":216130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:36:19] local.INFO: TCP Data received {"connection_id":216130,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:36:19] local.INFO: Processing buffer {"connection_id":216130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:36:19] local.INFO: IMEI packet received {"connection_id":216130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":216130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:36:21] local.INFO: TCP Data received {"connection_id":217682,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:36:21] local.INFO: Processing buffer {"connection_id":217682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:36:21] local.INFO: IMEI packet received {"connection_id":217682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":217682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:36:22] local.INFO: TCP Data received {"connection_id":216130,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:36:22] local.INFO: Processing buffer {"connection_id":216130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:36:22] local.INFO: IMEI packet received {"connection_id":216130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":216130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:36:23] local.INFO: TCP Data received {"connection_id":216130,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141629088012d7fac4005afe350000000a624..."} 
[2026-10-16 02:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629088012d7fac4005afe350000000a624..."} 
[2026-10-16 02:36:23] local.INFO: Processing buffer {"connection_id":216130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629088012d7fac4005afe350000000a624..."} 
[2026-10-16 02:36:23] local.INFO: Packet analysis {"connection_id":216130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:36:23] local.INFO: Extracted packet for processing {"connection_id":216130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413072,"longitude_deg":76.3341888,"latitude_deg":9.5413072,"altitude":0,"angle":166,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-10-16 02:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777117696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792098341000,"timestamp_ms":1792098341000,"timestamp_seconds":1792098341,"priority":1,"record_length":96,"hex_timestamp":"000001a141629088"} 
[2026-10-16 02:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 02:36:23] 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-10-16 02: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-10-16 02:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777117696001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777117696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:36:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:36:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777117696001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":216130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:36:23] local.INFO: GPS data processed {"connection_id":216130,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:36:23] local.INFO: Acknowledgment sent {"connection_id":216130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:36:26] local.INFO: TCP Data received {"connection_id":217682,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:36:26] local.INFO: Processing buffer {"connection_id":217682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:36:26] local.INFO: IMEI packet received {"connection_id":217682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":217682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:36:27] local.INFO: TCP Data received {"connection_id":217682,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:36:27] local.INFO: Processing buffer {"connection_id":217682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:36:27] local.INFO: Packet analysis {"connection_id":217682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:36:27] local.INFO: Extracted packet for processing {"connection_id":217682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098496001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792098342000,"timestamp_ms":1792098342000,"timestamp_seconds":1792098342,"priority":1,"record_length":96,"hex_timestamp":"000001a141629470"} 
[2026-10-16 02:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:36:27] 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-10-16 02:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098496001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098496001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:36:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098496001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":217682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:36:27] local.INFO: GPS data processed {"connection_id":217682,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:36:27] local.INFO: Acknowledgment sent {"connection_id":217682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:36:54] local.INFO: TCP Data received {"connection_id":216130,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14162a028012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14162a028012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:36:54] local.INFO: Processing buffer {"connection_id":216130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14162a028012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:36:54] local.INFO: Packet analysis {"connection_id":216130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:36:54] local.INFO: Extracted packet for processing {"connection_id":216130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175296001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981004800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792098345000,"timestamp_ms":1792098345000,"timestamp_seconds":1792098345,"priority":1,"record_length":96,"hex_timestamp":"000001a14162a028"} 
[2026-10-16 02:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:36: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-10-16 02:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 02:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175296001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199798531981004800},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175296001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:36:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:36:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981004800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175296001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199798531981004800}} 
[2026-10-16 02:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":216130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:36:54] local.INFO: GPS data processed {"connection_id":216130,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:36:54] local.INFO: Acknowledgment sent {"connection_id":216130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:36:58] local.INFO: TCP Data received {"connection_id":217682,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:36:58] local.INFO: Processing buffer {"connection_id":217682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:36:58] local.INFO: Packet analysis {"connection_id":217682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:36:58] local.INFO: Extracted packet for processing {"connection_id":217682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:36: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-10-16 02:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098496001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792098342000,"timestamp_ms":1792098342000,"timestamp_seconds":1792098342,"priority":1,"record_length":96,"hex_timestamp":"000001a141629470"} 
[2026-10-16 02:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:36: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-10-16 02:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098496001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098496001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:36:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098496001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":217682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:36:59] local.INFO: GPS data processed {"connection_id":217682,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:36:59] local.INFO: Acknowledgment sent {"connection_id":217682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:37:08] local.INFO: TCP Data received {"connection_id":219411,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416094b8012d53db40064771a8000c01672d..."} 
[2026-10-16 02:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416094b8012d53db40064771a8000c01672d..."} 
[2026-10-16 02:37:08] local.INFO: Processing buffer {"connection_id":219411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416094b8012d53db40064771a8000c01672d..."} 
[2026-10-16 02:37:08] local.INFO: Packet analysis {"connection_id":219411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:37:08] local.INFO: Extracted packet for processing {"connection_id":219411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:37:08] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105345448,"longitude_deg":76.0470336,"latitude_deg":10.5345448,"altitude":12,"angle":359,"satellites":45,"speed":31,"hex_longitude":"2d53db40","hex_latitude":"064771a8","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777139200001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12192913937137664,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042704826990440448,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792098211000,"timestamp_ms":1792098211000,"timestamp_seconds":1792098211,"priority":1,"record_length":96,"hex_timestamp":"000001a1416094b8"} 
[2026-10-16 02:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:37: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-10-16 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 02:37: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-10-16 02: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-10-16 02:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":219411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":219411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":219411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777139200001,"66":27517,"177":206,"19":38144,"24":31,"16":12192913937137664,"45":6042704826990440448},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777139200001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:37:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:37:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12192913937137664,"km_value":12192913937137.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042704826990440448,"description":"Unknown IO ID 45"} 
[2026-10-16 02:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777139200001,"power":27517,"unknown_177":206,"unknown_19":38144,"ignition":31,"odometer":null,"unknown_45":6042704826990440448}} 
[2026-10-16 02:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":219411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:37:08] local.INFO: GPS data processed {"connection_id":219411,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:37:08] local.INFO: Acknowledgment sent {"connection_id":219411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:37:21] local.INFO: TCP Data received {"connection_id":216327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:37:21] local.INFO: Processing buffer {"connection_id":216327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:37:21] local.INFO: IMEI packet received {"connection_id":216327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":216327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:37:22] local.INFO: TCP Data received {"connection_id":216328,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:37:22] local.INFO: Processing buffer {"connection_id":216328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:37:22] local.INFO: IMEI packet received {"connection_id":216328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":216328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:37:22] local.INFO: TCP Data received {"connection_id":216326,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:37:22] local.INFO: Processing buffer {"connection_id":216326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:37:22] local.INFO: IMEI packet received {"connection_id":216326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":216326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:37:26] local.INFO: TCP Data received {"connection_id":216327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:37:26] local.INFO: Processing buffer {"connection_id":216327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:37:26] local.INFO: IMEI packet received {"connection_id":216327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":216327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:37:28] local.INFO: TCP Data received {"connection_id":216328,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:37:28] local.INFO: Processing buffer {"connection_id":216328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:37:28] local.INFO: IMEI packet received {"connection_id":216328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":216328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:37:28] local.INFO: TCP Data received {"connection_id":216327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:37:28] local.INFO: Processing buffer {"connection_id":216327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:37:28] local.INFO: Packet analysis {"connection_id":216327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:37:28] local.INFO: Extracted packet for processing {"connection_id":216327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:37:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098496001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792098342000,"timestamp_ms":1792098342000,"timestamp_seconds":1792098342,"priority":1,"record_length":96,"hex_timestamp":"000001a141629470"} 
[2026-10-16 02:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:37:28] 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-10-16 02:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098496001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098496001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:37:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:37:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098496001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":216327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:37:28] local.INFO: GPS data processed {"connection_id":216327,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:37:28] local.INFO: Acknowledgment sent {"connection_id":216327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:37:28] local.INFO: TCP Data received {"connection_id":216326,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:37:28] local.INFO: Processing buffer {"connection_id":216326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:37:28] local.INFO: IMEI packet received {"connection_id":216326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":216326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:37:29] local.INFO: TCP Data received {"connection_id":216326,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14162f230012d7faa0005afe2d80000002f26..."} 
[2026-10-16 02:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14162f230012d7faa0005afe2d80000002f26..."} 
[2026-10-16 02:37:29] local.INFO: Processing buffer {"connection_id":216326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14162f230012d7faa0005afe2d80000002f26..."} 
[2026-10-16 02:37:29] local.INFO: Packet analysis {"connection_id":216326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:37:29] local.INFO: Extracted packet for processing {"connection_id":216326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777176320001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792098366000,"timestamp_ms":1792098366000,"timestamp_seconds":1792098366,"priority":1,"record_length":96,"hex_timestamp":"000001a14162f230"} 
[2026-10-16 02:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 02:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777176320001,"66":27745,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777176320001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:37:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:37:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777176320001,"power":27745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":216326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:37:29] local.INFO: GPS data processed {"connection_id":216326,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:37:29] local.INFO: Acknowledgment sent {"connection_id":216326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:37:29] local.INFO: TCP Data received {"connection_id":216328,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14160bfb0012d53db0006479708000801662e..."} 
[2026-10-16 02:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14160bfb0012d53db0006479708000801662e..."} 
[2026-10-16 02:37:29] local.INFO: Processing buffer {"connection_id":216328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14160bfb0012d53db0006479708000801662e..."} 
[2026-10-16 02:37:29] local.INFO: Packet analysis {"connection_id":216328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:37:29] local.INFO: Extracted packet for processing {"connection_id":216328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:37:29] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105355016,"longitude_deg":76.0470272,"latitude_deg":10.5355016,"altitude":8,"angle":358,"satellites":46,"speed":36,"hex_longitude":"2d53db00","hex_latitude":"06479708","is_valid_coordinates":true} 
[2026-10-16 02:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777142016001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12193377793605632,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720760264704,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792098222000,"timestamp_ms":1792098222000,"timestamp_seconds":1792098222,"priority":1,"record_length":96,"hex_timestamp":"000001a14160bfb0"} 
[2026-10-16 02:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 02:37:29] 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-10-16 02:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777142016001,"66":27615,"177":206,"19":38144,"24":36,"16":12193377793605632,"45":6042493720760264704},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777142016001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:37:29] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:37:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12193377793605632,"km_value":12193377793605.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720760264704,"description":"Unknown IO ID 45"} 
[2026-10-16 02:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777142016001,"power":27615,"unknown_177":206,"unknown_19":38144,"ignition":36,"odometer":null,"unknown_45":6042493720760264704}} 
[2026-10-16 02:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":216328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:37:29] local.INFO: GPS data processed {"connection_id":216328,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:37:29] local.INFO: Acknowledgment sent {"connection_id":216328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:37:58] local.INFO: TCP Data received {"connection_id":216329,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:37:58] local.INFO: Processing buffer {"connection_id":216329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:37:58] local.INFO: IMEI packet received {"connection_id":216329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":216329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:37:59] local.INFO: TCP Data received {"connection_id":216327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:37:59] local.INFO: Processing buffer {"connection_id":216327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:37:59] local.INFO: Packet analysis {"connection_id":216327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:37:59] local.INFO: Extracted packet for processing {"connection_id":216327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098496001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098342000,"timestamp_ms":1792098342000,"timestamp_seconds":1792098342,"priority":1,"record_length":96,"hex_timestamp":"000001a141629470"} 
[2026-10-16 02:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098496001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098496001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:37:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098496001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":216327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:37:59] local.INFO: GPS data processed {"connection_id":216327,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:37:59] local.INFO: Acknowledgment sent {"connection_id":216327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:38:02] local.INFO: TCP Data received {"connection_id":216326,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141634050012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141634050012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:38:02] local.INFO: Processing buffer {"connection_id":216326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141634050012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:38:02] local.INFO: Packet analysis {"connection_id":216326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:38:02] local.INFO: Extracted packet for processing {"connection_id":216326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777181696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792098386000,"timestamp_ms":1792098386000,"timestamp_seconds":1792098386,"priority":1,"record_length":96,"hex_timestamp":"000001a141634050"} 
[2026-10-16 02:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 02:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777181696001,"66":27300,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777181696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:38:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:38:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777181696001,"power":27300,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":216326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:38:02] local.INFO: GPS data processed {"connection_id":216326,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:38:02] local.INFO: Acknowledgment sent {"connection_id":216326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:38:03] local.INFO: TCP Data received {"connection_id":216329,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:38:03] local.INFO: Processing buffer {"connection_id":216329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:38:03] local.INFO: IMEI packet received {"connection_id":216329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":216329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:38:05] local.INFO: TCP Data received {"connection_id":216329,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14160eaa8012d53dac00647bbf8000700012c..."} 
[2026-10-16 02:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14160eaa8012d53dac00647bbf8000700012c..."} 
[2026-10-16 02:38:05] local.INFO: Processing buffer {"connection_id":216329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14160eaa8012d53dac00647bbf8000700012c..."} 
[2026-10-16 02:38:05] local.INFO: Packet analysis {"connection_id":216329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:38:05] local.INFO: Extracted packet for processing {"connection_id":216329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14160"} 
[2026-10-16 02:38:05] local.INFO: GPS Element Parsed {"raw_longitude":760470208,"raw_latitude":105364472,"longitude_deg":76.0470208,"latitude_deg":10.5364472,"altitude":7,"angle":1,"satellites":44,"speed":30,"hex_longitude":"2d53dac0","hex_latitude":"0647bbf8","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777144832001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12193837355106304,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352018536448,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792098233000,"timestamp_ms":1792098233000,"timestamp_seconds":1792098233,"priority":1,"record_length":96,"hex_timestamp":"000001a14160eaa8"} 
[2026-10-16 02:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:38: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-10-16 02: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 02:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777144832001,"66":27430,"177":206,"19":38144,"24":30,"16":12193837355106304,"45":6042423352018536448},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777144832001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:38:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:38:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12193837355106304,"km_value":12193837355106.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352018536448,"description":"Unknown IO ID 45"} 
[2026-10-16 02:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777144832001,"power":27430,"unknown_177":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":6042423352018536448}} 
[2026-10-16 02:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":216329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:38:05] local.INFO: GPS data processed {"connection_id":216329,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:38:05] local.INFO: Acknowledgment sent {"connection_id":216329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:38:08] local.INFO: TCP Data received {"connection_id":216329,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141612158012d53dac00647df10000700002e..."} 
[2026-10-16 02:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141612158012d53dac00647df10000700002e..."} 
[2026-10-16 02:38:08] local.INFO: Processing buffer {"connection_id":216329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141612158012d53dac00647df10000700002e..."} 
[2026-10-16 02:38:08] local.INFO: Packet analysis {"connection_id":216329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14161"} 
[2026-10-16 02:38:08] local.INFO: Extracted packet for processing {"connection_id":216329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14161"} 
[2026-10-16 02:38:08] local.INFO: GPS Element Parsed {"raw_longitude":760470208,"raw_latitude":105373456,"longitude_deg":76.0470208,"latitude_deg":10.5373456,"altitude":7,"angle":0,"satellites":46,"speed":22,"hex_longitude":"2d53dac0","hex_latitude":"0647df10","is_valid_coordinates":true} 
[2026-10-16 02:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777147648001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194271146803200,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983276779520,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792098247000,"timestamp_ms":1792098247000,"timestamp_seconds":1792098247,"priority":1,"record_length":96,"hex_timestamp":"000001a141612158"} 
[2026-10-16 02:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:38: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-10-16 02:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 02:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777147648001,"66":27745,"177":206,"19":38144,"24":22,"16":12194271146803200,"45":6042352983276779520},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777147648001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:38:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:38:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194271146803200,"km_value":12194271146803.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983276779520,"description":"Unknown IO ID 45"} 
[2026-10-16 02:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777147648001,"power":27745,"unknown_177":206,"unknown_19":38144,"ignition":22,"odometer":null,"unknown_45":6042352983276779520}} 
[2026-10-16 02:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":216329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:38:08] local.INFO: GPS data processed {"connection_id":216329,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:38:08] local.INFO: Acknowledgment sent {"connection_id":216329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:38:17] local.INFO: TCP Data received {"connection_id":217683,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:38:17] local.INFO: Processing buffer {"connection_id":217683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:38:17] local.INFO: IMEI packet received {"connection_id":217683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":217683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:38:22] local.INFO: TCP Data received {"connection_id":217683,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:38:22] local.INFO: Processing buffer {"connection_id":217683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:38:22] local.INFO: IMEI packet received {"connection_id":217683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":217683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:38:23] local.INFO: TCP Data received {"connection_id":217683,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:38:23] local.INFO: Processing buffer {"connection_id":217683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:38:23] local.INFO: Packet analysis {"connection_id":217683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:38:23] local.INFO: Extracted packet for processing {"connection_id":217683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02:38: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-10-16 02:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777186816001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792098387000,"timestamp_ms":1792098387000,"timestamp_seconds":1792098387,"priority":1,"record_length":96,"hex_timestamp":"000001a141634438"} 
[2026-10-16 02:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:38:23] 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-10-16 02:38: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-10-16 02:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777186816001,"66":27300,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777186816001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:38:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:38:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777186816001,"power":27300,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":217683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:38:23] local.INFO: GPS data processed {"connection_id":217683,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:38:23] local.INFO: Acknowledgment sent {"connection_id":217683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:38:26] local.INFO: TCP Data received {"connection_id":216330,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:38:26] local.INFO: Processing buffer {"connection_id":216330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:38:26] local.INFO: IMEI packet received {"connection_id":216330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":216330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:38:31] local.INFO: TCP Data received {"connection_id":216330,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:38:31] local.INFO: Processing buffer {"connection_id":216330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:38:31] local.INFO: IMEI packet received {"connection_id":216330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":216330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:38:40] local.INFO: TCP Data received {"connection_id":216330,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:38:40] local.INFO: Processing buffer {"connection_id":216330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:38:40] local.INFO: Packet analysis {"connection_id":216330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:38:40] local.INFO: Extracted packet for processing {"connection_id":216330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098496001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792098342000,"timestamp_ms":1792098342000,"timestamp_seconds":1792098342,"priority":1,"record_length":96,"hex_timestamp":"000001a141629470"} 
[2026-10-16 02:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02: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-10-16 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:38:40] 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-10-16 02: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-10-16 02:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":216330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":216330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":216330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098496001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098496001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:38:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098496001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":216330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:38:40] local.INFO: GPS data processed {"connection_id":216330,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:38:40] local.INFO: Acknowledgment sent {"connection_id":216330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:38:40] local.INFO: TCP Data received {"connection_id":216330,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:38:40] local.INFO: Processing buffer {"connection_id":216330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:38:40] local.INFO: Packet analysis {"connection_id":216330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:38:40] local.INFO: Extracted packet for processing {"connection_id":216330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098496001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792098342000,"timestamp_ms":1792098342000,"timestamp_seconds":1792098342,"priority":1,"record_length":96,"hex_timestamp":"000001a141629470"} 
[2026-10-16 02:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02: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-10-16 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:38:40] 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-10-16 02: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-10-16 02:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":216330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":216330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":216330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098496001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098496001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:38:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098496001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":216330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:38:41] local.INFO: GPS data processed {"connection_id":216330,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:38:41] local.INFO: Acknowledgment sent {"connection_id":216330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:38:55] local.INFO: TCP Data received {"connection_id":217683,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:38:55] local.INFO: Processing buffer {"connection_id":217683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:38:55] local.INFO: Packet analysis {"connection_id":217683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:38:55] local.INFO: Extracted packet for processing {"connection_id":217683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777186816001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792098387000,"timestamp_ms":1792098387000,"timestamp_seconds":1792098387,"priority":1,"record_length":96,"hex_timestamp":"000001a141634438"} 
[2026-10-16 02:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:38:55] 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-10-16 02:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777186816001,"66":27300,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777186816001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:38:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:38:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777186816001,"power":27300,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":217683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:38:55] local.INFO: GPS data processed {"connection_id":217683,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:38:55] local.INFO: Acknowledgment sent {"connection_id":217683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:39:17] local.INFO: TCP Data received {"connection_id":219412,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:39:17] local.INFO: Processing buffer {"connection_id":219412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:39:17] local.INFO: IMEI packet received {"connection_id":219412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":219412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:39:21] local.INFO: TCP Data received {"connection_id":216131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:39:21] local.INFO: Processing buffer {"connection_id":216131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:39:21] local.INFO: IMEI packet received {"connection_id":216131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:39:22] local.INFO: TCP Data received {"connection_id":219412,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:39:22] local.INFO: Processing buffer {"connection_id":219412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:39:22] local.INFO: IMEI packet received {"connection_id":219412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":219412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:39:23] local.INFO: TCP Data received {"connection_id":216132,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:23] local.INFO: Processing buffer {"connection_id":216132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:23] local.INFO: IMEI packet received {"connection_id":216132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":216132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:39:24] local.INFO: TCP Data received {"connection_id":219412,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:39:24] local.INFO: Processing buffer {"connection_id":219412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:39:24] local.INFO: Packet analysis {"connection_id":219412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:39:24] local.INFO: Extracted packet for processing {"connection_id":219412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777186816001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792098387000,"timestamp_ms":1792098387000,"timestamp_seconds":1792098387,"priority":1,"record_length":96,"hex_timestamp":"000001a141634438"} 
[2026-10-16 02:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:39:24] 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-10-16 02:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777186816001,"66":27300,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777186816001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:39:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:39:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777186816001,"power":27300,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":219412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:39:24] local.INFO: GPS data processed {"connection_id":219412,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:39:24] local.INFO: Acknowledgment sent {"connection_id":219412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:39:26] local.INFO: TCP Data received {"connection_id":216131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:39:26] local.INFO: Processing buffer {"connection_id":216131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:39:26] local.INFO: IMEI packet received {"connection_id":216131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":216131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:39:27] local.INFO: TCP Data received {"connection_id":216132,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:27] local.INFO: Processing buffer {"connection_id":216132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:27] local.INFO: IMEI packet received {"connection_id":216132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":216132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:39:31] local.INFO: TCP Data received {"connection_id":216131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:39:31] local.INFO: Processing buffer {"connection_id":216131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:39:31] local.INFO: Packet analysis {"connection_id":216131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:39:31] local.INFO: Extracted packet for processing {"connection_id":216131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098496001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792098342000,"timestamp_ms":1792098342000,"timestamp_seconds":1792098342,"priority":1,"record_length":96,"hex_timestamp":"000001a141629470"} 
[2026-10-16 02:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098496001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098496001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:39:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:39:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098496001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":216131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:39:31] local.INFO: GPS data processed {"connection_id":216131,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:39:31] local.INFO: Acknowledgment sent {"connection_id":216131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:39:32] local.INFO: TCP Data received {"connection_id":216132,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:32] local.INFO: Processing buffer {"connection_id":216132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:32] local.INFO: IMEI packet received {"connection_id":216132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":216132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:39:35] local.INFO: TCP Data received {"connection_id":216132,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141614480012d53da000647f2000006015a2e..."} 
[2026-10-16 02:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141614480012d53da000647f2000006015a2e..."} 
[2026-10-16 02:39:35] local.INFO: Processing buffer {"connection_id":216132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141614480012d53da000647f2000006015a2e..."} 
[2026-10-16 02:39:35] local.INFO: Packet analysis {"connection_id":216132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14161"} 
[2026-10-16 02:39:35] local.INFO: Extracted packet for processing {"connection_id":216132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14161"} 
[2026-10-16 02:39:35] local.INFO: GPS Element Parsed {"raw_longitude":760470016,"raw_latitude":105378304,"longitude_deg":76.0470016,"latitude_deg":10.5378304,"altitude":6,"angle":346,"satellites":46,"speed":15,"hex_longitude":"2d53da00","hex_latitude":"0647f200","is_valid_coordinates":true} 
[2026-10-16 02:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777151232001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194507370004480,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983279079424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792098256000,"timestamp_ms":1792098256000,"timestamp_seconds":1792098256,"priority":1,"record_length":96,"hex_timestamp":"000001a141614480"} 
[2026-10-16 02:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:39: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-10-16 02:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 02:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777151232001,"66":27050,"177":206,"19":38144,"24":15,"16":12194507370004480,"45":6042352983279079424},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777151232001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:39:35] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:39:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194507370004480,"km_value":12194507370004.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983279079424,"description":"Unknown IO ID 45"} 
[2026-10-16 02:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777151232001,"power":27050,"unknown_177":206,"unknown_19":38144,"ignition":15,"odometer":null,"unknown_45":6042352983279079424}} 
[2026-10-16 02:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":216132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:39:35] local.INFO: GPS data processed {"connection_id":216132,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:39:35] local.INFO: Acknowledgment sent {"connection_id":216132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:39:52] local.INFO: TCP Data received {"connection_id":217684,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:52] local.INFO: Processing buffer {"connection_id":217684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:52] local.INFO: IMEI packet received {"connection_id":217684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":217684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:39:56] local.INFO: TCP Data received {"connection_id":219412,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:39:56] local.INFO: Processing buffer {"connection_id":219412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:39:56] local.INFO: Packet analysis {"connection_id":219412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:39:56] local.INFO: Extracted packet for processing {"connection_id":219412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777186816001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792098387000,"timestamp_ms":1792098387000,"timestamp_seconds":1792098387,"priority":1,"record_length":96,"hex_timestamp":"000001a141634438"} 
[2026-10-16 02:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777186816001,"66":27300,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777186816001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:39:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:39:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777186816001,"power":27300,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":219412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:39:56] local.INFO: GPS data processed {"connection_id":219412,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:39:56] local.INFO: Acknowledgment sent {"connection_id":219412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:39:58] local.INFO: TCP Data received {"connection_id":217684,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:58] local.INFO: Processing buffer {"connection_id":217684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:39:58] local.INFO: IMEI packet received {"connection_id":217684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":217684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:40:00] local.INFO: TCP Data received {"connection_id":217684,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141619688012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141619688012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:40:00] local.INFO: Processing buffer {"connection_id":217684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141619688012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:40:00] local.INFO: Packet analysis {"connection_id":217684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14161"} 
[2026-10-16 02:40:00] local.INFO: Extracted packet for processing {"connection_id":217684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14161"} 
[2026-10-16 02:40:00] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02:40: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-10-16 02:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777153536001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042141877047787520,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792098277000,"timestamp_ms":1792098277000,"timestamp_seconds":1792098277,"priority":1,"record_length":96,"hex_timestamp":"000001a141619688"} 
[2026-10-16 02:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 02:40:00] 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-10-16 02:40: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-10-16 02:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777153536001,"66":27365,"177":206,"19":38144,"24":0,"16":12194584679415808,"45":6042141877047787520},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777153536001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:40:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:40:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042141877047787520,"description":"Unknown IO ID 45"} 
[2026-10-16 02:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777153536001,"power":27365,"unknown_177":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6042141877047787520}} 
[2026-10-16 02:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":217684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:40:00] local.INFO: GPS data processed {"connection_id":217684,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:40:00] local.INFO: Acknowledgment sent {"connection_id":217684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:40:03] local.INFO: TCP Data received {"connection_id":216131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:40:03] local.INFO: Processing buffer {"connection_id":216131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:40:03] local.INFO: Packet analysis {"connection_id":216131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:40:03] local.INFO: Extracted packet for processing {"connection_id":216131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098496001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792098342000,"timestamp_ms":1792098342000,"timestamp_seconds":1792098342,"priority":1,"record_length":96,"hex_timestamp":"000001a141629470"} 
[2026-10-16 02:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:40: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-10-16 02:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098496001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098496001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:40:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098496001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":216131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:40:03] local.INFO: GPS data processed {"connection_id":216131,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:40:03] local.INFO: Acknowledgment sent {"connection_id":216131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:40:22] local.INFO: TCP Data received {"connection_id":216133,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:40:22] local.INFO: Processing buffer {"connection_id":216133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:40:22] local.INFO: IMEI packet received {"connection_id":216133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":216133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:40:23] local.INFO: TCP Data received {"connection_id":216135,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:40:23] local.INFO: Processing buffer {"connection_id":216135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:40:23] local.INFO: IMEI packet received {"connection_id":216135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":216135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:40:26] local.INFO: TCP Data received {"connection_id":216133,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:40:26] local.INFO: Processing buffer {"connection_id":216133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:40:26] local.INFO: IMEI packet received {"connection_id":216133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":216133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:40:28] local.INFO: TCP Data received {"connection_id":216133,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:40:28] local.INFO: Processing buffer {"connection_id":216133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141629470012d7c240005dad510000a00ea27..."} 
[2026-10-16 02:40:28] local.INFO: Packet analysis {"connection_id":216133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:40:28] local.INFO: Extracted packet for processing {"connection_id":216133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777098496001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792098342000,"timestamp_ms":1792098342000,"timestamp_seconds":1792098342,"priority":1,"record_length":96,"hex_timestamp":"000001a141629470"} 
[2026-10-16 02:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:40:28] 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-10-16 02:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777098496001,"66":12635,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777098496001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:40:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777098496001,"power":12635,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":216133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:40:28] local.INFO: GPS data processed {"connection_id":216133,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:40:28] local.INFO: Acknowledgment sent {"connection_id":216133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:40:28] local.INFO: TCP Data received {"connection_id":216135,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:40:28] local.INFO: Processing buffer {"connection_id":216135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:40:28] local.INFO: IMEI packet received {"connection_id":216135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":216135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:40:29] local.INFO: TCP Data received {"connection_id":216135,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:40:29] local.INFO: Processing buffer {"connection_id":216135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:40:29] local.INFO: Packet analysis {"connection_id":216135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:40:29] local.INFO: Extracted packet for processing {"connection_id":216135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:40:29] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777186816001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792098387000,"timestamp_ms":1792098387000,"timestamp_seconds":1792098387,"priority":1,"record_length":96,"hex_timestamp":"000001a141634438"} 
[2026-10-16 02:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:40:29] 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-10-16 02:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777186816001,"66":27300,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777186816001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:40:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:40:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777186816001,"power":27300,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":216135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:40:30] local.INFO: GPS data processed {"connection_id":216135,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:40:30] local.INFO: Acknowledgment sent {"connection_id":216135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:40:32] local.INFO: TCP Data received {"connection_id":216135,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:40:32] local.INFO: Processing buffer {"connection_id":216135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:40:32] local.INFO: Packet analysis {"connection_id":216135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:40:32] local.INFO: Extracted packet for processing {"connection_id":216135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777186816001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792098387000,"timestamp_ms":1792098387000,"timestamp_seconds":1792098387,"priority":1,"record_length":96,"hex_timestamp":"000001a141634438"} 
[2026-10-16 02:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777186816001,"66":27300,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777186816001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:40:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:40:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777186816001,"power":27300,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":216135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:40:32] local.INFO: GPS data processed {"connection_id":216135,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:40:32] local.INFO: Acknowledgment sent {"connection_id":216135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:40:33] local.INFO: TCP Data received {"connection_id":217684,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14161e890012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14161e890012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:40:33] local.INFO: Processing buffer {"connection_id":217684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14161e890012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:40:33] local.INFO: Packet analysis {"connection_id":217684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14161"} 
[2026-10-16 02:40:33] local.INFO: Extracted packet for processing {"connection_id":217684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14161"} 
[2026-10-16 02:40:33] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777158912001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792098298000,"timestamp_ms":1792098298000,"timestamp_seconds":1792098298,"priority":1,"record_length":96,"hex_timestamp":"000001a14161e890"} 
[2026-10-16 02:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 02:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777158912001,"66":27593,"177":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777158912001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:40:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:40:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777158912001,"power":27593,"unknown_177":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":217684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:40:33] local.INFO: GPS data processed {"connection_id":217684,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:40:33] local.INFO: Acknowledgment sent {"connection_id":217684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:40:52] local.INFO: TCP Data received {"connection_id":217687,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:40:52] local.INFO: Processing buffer {"connection_id":217687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:40:52] local.INFO: IMEI packet received {"connection_id":217687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":217687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:40:58] local.INFO: TCP Data received {"connection_id":217687,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:40:58] local.INFO: Processing buffer {"connection_id":217687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:40:58] local.INFO: IMEI packet received {"connection_id":217687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":217687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:40:59] local.INFO: TCP Data received {"connection_id":216133,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:40:59] local.INFO: Processing buffer {"connection_id":216133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:40:59] local.INFO: Packet analysis {"connection_id":216133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:40:59] local.INFO: Extracted packet for processing {"connection_id":216133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175552001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098643000,"timestamp_ms":1792098643000,"timestamp_seconds":1792098643,"priority":1,"record_length":96,"hex_timestamp":"000001a141672c38"} 
[2026-10-16 02:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:40:59] 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-10-16 02:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175552001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175552001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:40:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175552001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":216133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:40:59] local.INFO: GPS data processed {"connection_id":216133,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:40:59] local.INFO: Acknowledgment sent {"connection_id":216133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:41:00] local.INFO: TCP Data received {"connection_id":217687,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141623a98012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141623a98012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:41:00] local.INFO: Processing buffer {"connection_id":217687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141623a98012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:41:00] local.INFO: Packet analysis {"connection_id":217687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:41:00] local.INFO: Extracted packet for processing {"connection_id":217687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:41:00] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777164288001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792098319000,"timestamp_ms":1792098319000,"timestamp_seconds":1792098319,"priority":1,"record_length":96,"hex_timestamp":"000001a141623a98"} 
[2026-10-16 02:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 02:41:00] 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-10-16 02:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777164288001,"66":28050,"177":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777164288001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:41:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:41:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777164288001,"power":28050,"unknown_177":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":217687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043814,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:41:00] local.INFO: GPS data processed {"connection_id":217687,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:41:00] local.INFO: Acknowledgment sent {"connection_id":217687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:41:17] local.INFO: TCP Data received {"connection_id":216137,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:41:17] local.INFO: Processing buffer {"connection_id":216137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:41:17] local.INFO: IMEI packet received {"connection_id":216137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":216137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:41:21] local.INFO: TCP Data received {"connection_id":216331,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:41:21] local.INFO: Processing buffer {"connection_id":216331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:41:21] local.INFO: IMEI packet received {"connection_id":216331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":216331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:41:23] local.INFO: TCP Data received {"connection_id":216137,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:41:23] local.INFO: Processing buffer {"connection_id":216137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:41:23] local.INFO: IMEI packet received {"connection_id":216137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":216137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:41:24] local.INFO: TCP Data received {"connection_id":216137,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:41:24] local.INFO: Processing buffer {"connection_id":216137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:41:24] local.INFO: Packet analysis {"connection_id":216137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:41:24] local.INFO: Extracted packet for processing {"connection_id":216137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02:41: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-10-16 02:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777186816001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792098387000,"timestamp_ms":1792098387000,"timestamp_seconds":1792098387,"priority":1,"record_length":96,"hex_timestamp":"000001a141634438"} 
[2026-10-16 02:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:41: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":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:41:24] 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-10-16 02:41: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-10-16 02:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777186816001,"66":27300,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777186816001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:41:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:41:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777186816001,"power":27300,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":216137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:41:24] local.INFO: GPS data processed {"connection_id":216137,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:41:24] local.INFO: Acknowledgment sent {"connection_id":216137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:41:26] local.INFO: TCP Data received {"connection_id":216331,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:41:26] local.INFO: Processing buffer {"connection_id":216331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:41:26] local.INFO: IMEI packet received {"connection_id":216331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":216331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:41:27] local.INFO: TCP Data received {"connection_id":216331,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:41:27] local.INFO: Processing buffer {"connection_id":216331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:41:27] local.INFO: Packet analysis {"connection_id":216331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:41:27] local.INFO: Extracted packet for processing {"connection_id":216331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175552001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792098643000,"timestamp_ms":1792098643000,"timestamp_seconds":1792098643,"priority":1,"record_length":96,"hex_timestamp":"000001a141672c38"} 
[2026-10-16 02:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:41:27] 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-10-16 02:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175552001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175552001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:41:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175552001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":216331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:41:27] local.INFO: GPS data processed {"connection_id":216331,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:41:27] local.INFO: Acknowledgment sent {"connection_id":216331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:41:31] local.INFO: TCP Data received {"connection_id":217687,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141628ca0012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141628ca0012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:41:31] local.INFO: Processing buffer {"connection_id":217687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141628ca0012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:41:31] local.INFO: Packet analysis {"connection_id":217687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:41:31] local.INFO: Extracted packet for processing {"connection_id":217687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:41:31] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777169664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792098340000,"timestamp_ms":1792098340000,"timestamp_seconds":1792098340,"priority":1,"record_length":96,"hex_timestamp":"000001a141628ca0"} 
[2026-10-16 02:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-10-16 02:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":217687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":217687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":217687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777169664001,"66":27843,"177":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777169664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:41:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:41:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777169664001,"power":27843,"unknown_177":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":217687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:41:31] local.INFO: GPS data processed {"connection_id":217687,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:41:31] local.INFO: Acknowledgment sent {"connection_id":217687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:41:52] local.INFO: TCP Data received {"connection_id":219413,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:41:52] local.INFO: Processing buffer {"connection_id":219413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:41:52] local.INFO: IMEI packet received {"connection_id":219413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":219413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:41:55] local.INFO: TCP Data received {"connection_id":216137,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:41:55] local.INFO: Processing buffer {"connection_id":216137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141634438012d7faa0005afe2d80000002f24..."} 
[2026-10-16 02:41:55] local.INFO: Packet analysis {"connection_id":216137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:41:55] local.INFO: Extracted packet for processing {"connection_id":216137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95412952,"longitude_deg":76.3341312,"latitude_deg":9.5412952,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afe2d8","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777186816001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792098387000,"timestamp_ms":1792098387000,"timestamp_seconds":1792098387,"priority":1,"record_length":96,"hex_timestamp":"000001a141634438"} 
[2026-10-16 02:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:41:55] 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-10-16 02: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-10-16 02:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777186816001,"66":27300,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777186816001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:41:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:41:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777186816001,"power":27300,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":216137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:41:55] local.INFO: GPS data processed {"connection_id":216137,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:41:55] local.INFO: Acknowledgment sent {"connection_id":216137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:41:58] local.INFO: TCP Data received {"connection_id":219413,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:41:58] local.INFO: Processing buffer {"connection_id":219413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:41:58] local.INFO: IMEI packet received {"connection_id":219413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":219413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:41:58] local.INFO: TCP Data received {"connection_id":216331,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:41:58] local.INFO: Processing buffer {"connection_id":216331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:41:58] local.INFO: Packet analysis {"connection_id":216331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:41:58] local.INFO: Extracted packet for processing {"connection_id":216331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:41:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:41: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-10-16 02:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175552001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792098643000,"timestamp_ms":1792098643000,"timestamp_seconds":1792098643,"priority":1,"record_length":96,"hex_timestamp":"000001a141672c38"} 
[2026-10-16 02:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:41: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":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:41:58] 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-10-16 02:41: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-10-16 02:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175552001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175552001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:41:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:41:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175552001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":216331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:41:58] local.INFO: GPS data processed {"connection_id":216331,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:41:58] local.INFO: Acknowledgment sent {"connection_id":216331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:41:59] local.INFO: TCP Data received {"connection_id":219413,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14162dea8012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14162dea8012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:41:59] local.INFO: Processing buffer {"connection_id":219413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14162dea8012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:41:59] local.INFO: Packet analysis {"connection_id":219413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:41:59] local.INFO: Extracted packet for processing {"connection_id":219413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14162"} 
[2026-10-16 02:41:59] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175040001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098361000,"timestamp_ms":1792098361000,"timestamp_seconds":1792098361,"priority":1,"record_length":96,"hex_timestamp":"000001a14162dea8"} 
[2026-10-16 02:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:41: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-10-16 02:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-16 02:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175040001,"66":27984,"177":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175040001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:41:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:41:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175040001,"power":27984,"unknown_177":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":219413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:41:59] local.INFO: GPS data processed {"connection_id":219413,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:41:59] local.INFO: Acknowledgment sent {"connection_id":219413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:42:17] local.INFO: TCP Data received {"connection_id":217688,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:42:17] local.INFO: Processing buffer {"connection_id":217688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:42:17] local.INFO: IMEI packet received {"connection_id":217688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":217688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:42:22] local.INFO: TCP Data received {"connection_id":217688,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:42:22] local.INFO: Processing buffer {"connection_id":217688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:42:22] local.INFO: IMEI packet received {"connection_id":217688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":217688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:42:24] local.INFO: TCP Data received {"connection_id":217688,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:42:24] local.INFO: Processing buffer {"connection_id":217688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:42:24] local.INFO: Packet analysis {"connection_id":217688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:42:24] local.INFO: Extracted packet for processing {"connection_id":217688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:42:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187072001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:42:24] 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-10-16 02:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187072001,"66":26115,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187072001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:42:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:42:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187072001,"power":26115,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":217688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:42:24] local.INFO: GPS data processed {"connection_id":217688,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:42:24] local.INFO: Acknowledgment sent {"connection_id":217688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:42:26] local.INFO: TCP Data received {"connection_id":216138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:42:26] local.INFO: Processing buffer {"connection_id":216138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:42:26] local.INFO: IMEI packet received {"connection_id":216138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":216138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:42:31] local.INFO: TCP Data received {"connection_id":216138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:42:31] local.INFO: Processing buffer {"connection_id":216138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:42:31] local.INFO: IMEI packet received {"connection_id":216138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":216138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:42:32] local.INFO: TCP Data received {"connection_id":216138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:42:32] local.INFO: Processing buffer {"connection_id":216138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:42:32] local.INFO: Packet analysis {"connection_id":216138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:42:32] local.INFO: Extracted packet for processing {"connection_id":216138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175552001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792098643000,"timestamp_ms":1792098643000,"timestamp_seconds":1792098643,"priority":1,"record_length":96,"hex_timestamp":"000001a141672c38"} 
[2026-10-16 02:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:42:32] 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-10-16 02:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175552001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175552001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:42:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175552001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":216138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:42:32] local.INFO: GPS data processed {"connection_id":216138,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:42:32] local.INFO: Acknowledgment sent {"connection_id":216138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:42:33] local.INFO: TCP Data received {"connection_id":219413,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416330b0012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416330b0012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:42:33] local.INFO: Processing buffer {"connection_id":219413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416330b0012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:42:33] local.INFO: Packet analysis {"connection_id":219413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:42:33] local.INFO: Extracted packet for processing {"connection_id":219413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:42:33] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777180416001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792098382000,"timestamp_ms":1792098382000,"timestamp_seconds":1792098382,"priority":1,"record_length":96,"hex_timestamp":"000001a1416330b0"} 
[2026-10-16 02:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:42:33] 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-10-16 02:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777180416001,"66":28028,"177":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777180416001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:42:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777180416001,"power":28028,"unknown_177":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":219413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:42:33] local.INFO: GPS data processed {"connection_id":219413,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:42:33] local.INFO: Acknowledgment sent {"connection_id":219413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:42:40] local.INFO: TCP Data received {"connection_id":216138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:42:40] local.INFO: Processing buffer {"connection_id":216138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:42:40] local.INFO: Packet analysis {"connection_id":216138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:42:40] local.INFO: Extracted packet for processing {"connection_id":216138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175552001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792098643000,"timestamp_ms":1792098643000,"timestamp_seconds":1792098643,"priority":1,"record_length":96,"hex_timestamp":"000001a141672c38"} 
[2026-10-16 02:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:42: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-10-16 02:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:42:40] 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-10-16 02:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":216138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":216138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":216138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175552001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175552001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:42:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175552001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":216138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:42:40] local.INFO: GPS data processed {"connection_id":216138,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:42:40] local.INFO: Acknowledgment sent {"connection_id":216138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:42:53] local.INFO: TCP Data received {"connection_id":216332,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:42:53] local.INFO: Processing buffer {"connection_id":216332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:42:53] local.INFO: IMEI packet received {"connection_id":216332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":216332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:42:55] local.INFO: TCP Data received {"connection_id":217688,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:42:55] local.INFO: Processing buffer {"connection_id":217688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:42:55] local.INFO: Packet analysis {"connection_id":217688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:42:55] local.INFO: Extracted packet for processing {"connection_id":217688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187072001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:42:55] 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-10-16 02:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187072001,"66":26115,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187072001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:42:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:42:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187072001,"power":26115,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":217688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:42:55] local.INFO: GPS data processed {"connection_id":217688,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:42:55] local.INFO: Acknowledgment sent {"connection_id":217688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:42:58] local.INFO: TCP Data received {"connection_id":216332,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:42:58] local.INFO: Processing buffer {"connection_id":216332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:42:58] local.INFO: IMEI packet received {"connection_id":216332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":216332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:42:59] local.INFO: TCP Data received {"connection_id":216332,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141634820012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141634820012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:42:59] local.INFO: Processing buffer {"connection_id":216332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141634820012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:42:59] local.INFO: Packet analysis {"connection_id":216332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:42:59] local.INFO: Extracted packet for processing {"connection_id":216332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14163"} 
[2026-10-16 02:42:59] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777185792001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098388000,"timestamp_ms":1792098388000,"timestamp_seconds":1792098388,"priority":1,"record_length":96,"hex_timestamp":"000001a141634820"} 
[2026-10-16 02:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:42: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-10-16 02:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 02:42:59] 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-10-16 02:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777185792001,"66":28104,"177":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-10-16 02:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777185792001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:42:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 02:42:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777185792001,"power":28104,"unknown_177":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":216332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:42:59] local.INFO: GPS data processed {"connection_id":216332,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:42:59] local.INFO: Acknowledgment sent {"connection_id":216332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:43:21] local.INFO: TCP Data received {"connection_id":216139,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:43:21] local.INFO: Processing buffer {"connection_id":216139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:43:21] local.INFO: IMEI packet received {"connection_id":216139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":216139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:43:23] local.INFO: TCP Data received {"connection_id":217689,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:43:23] local.INFO: Processing buffer {"connection_id":217689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:43:23] local.INFO: IMEI packet received {"connection_id":217689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":217689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:43:27] local.INFO: TCP Data received {"connection_id":217689,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:43:27] local.INFO: Processing buffer {"connection_id":217689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:43:27] local.INFO: IMEI packet received {"connection_id":217689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":217689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:43:28] local.INFO: TCP Data received {"connection_id":217689,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:43:28] local.INFO: Processing buffer {"connection_id":217689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:43:28] local.INFO: Packet analysis {"connection_id":217689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:43:28] local.INFO: Extracted packet for processing {"connection_id":217689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187072001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:43:28] 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-10-16 02:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187072001,"66":26115,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187072001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:43:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:43:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187072001,"power":26115,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":217689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:43:28] local.INFO: GPS data processed {"connection_id":217689,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:43:28] local.INFO: Acknowledgment sent {"connection_id":217689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:43:29] local.INFO: TCP Data received {"connection_id":216139,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:43:29] local.INFO: Processing buffer {"connection_id":216139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:43:29] local.INFO: IMEI packet received {"connection_id":216139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":216139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:43:31] local.INFO: TCP Data received {"connection_id":216332,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:43:31] local.INFO: Processing buffer {"connection_id":216332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:43:31] local.INFO: Packet analysis {"connection_id":216332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:43:31] local.INFO: Extracted packet for processing {"connection_id":216332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:43:31] local.INFO: GPS Element Parsed {"raw_longitude":760469184,"raw_latitude":105379656,"longitude_deg":76.0469184,"latitude_deg":10.5379656,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d6c0","hex_latitude":"0647f748","is_valid_coordinates":true} 
[2026-10-16 02:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-16 02:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187328001,"66":25962,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:43:31] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:43:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187328001,"power":25962,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":216332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:43:31] local.INFO: GPS data processed {"connection_id":216332,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:43:31] local.INFO: Acknowledgment sent {"connection_id":216332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:43:33] local.INFO: TCP Data received {"connection_id":217689,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:43:33] local.INFO: Processing buffer {"connection_id":217689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:43:33] local.INFO: Packet analysis {"connection_id":217689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:43:33] local.INFO: Extracted packet for processing {"connection_id":217689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187072001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187072001,"66":26115,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187072001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:43:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:43:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187072001,"power":26115,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":217689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:43:33] local.INFO: GPS data processed {"connection_id":217689,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:43:33] local.INFO: Acknowledgment sent {"connection_id":217689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:43:33] local.INFO: TCP Data received {"connection_id":216139,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:43:33] local.INFO: Processing buffer {"connection_id":216139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:43:33] local.INFO: Packet analysis {"connection_id":216139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:43:33] local.INFO: Extracted packet for processing {"connection_id":216139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175552001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792098643000,"timestamp_ms":1792098643000,"timestamp_seconds":1792098643,"priority":1,"record_length":96,"hex_timestamp":"000001a141672c38"} 
[2026-10-16 02:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:43:33] 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-10-16 02:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175552001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175552001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:43:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175552001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":216139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:43:33] local.INFO: GPS data processed {"connection_id":216139,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:43:33] local.INFO: Acknowledgment sent {"connection_id":216139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:43:52] local.INFO: TCP Data received {"connection_id":216140,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:43:52] local.INFO: Processing buffer {"connection_id":216140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:43:52] local.INFO: IMEI packet received {"connection_id":216140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":216140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:43:57] local.INFO: TCP Data received {"connection_id":216140,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:43:57] local.INFO: Processing buffer {"connection_id":216140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:43:57] local.INFO: IMEI packet received {"connection_id":216140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":216140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:43:59] local.INFO: TCP Data received {"connection_id":216140,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:43:59] local.INFO: Processing buffer {"connection_id":216140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:43:59] local.INFO: Packet analysis {"connection_id":216140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:43:59] local.INFO: Extracted packet for processing {"connection_id":216140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:43:59] local.INFO: GPS Element Parsed {"raw_longitude":760469184,"raw_latitude":105379656,"longitude_deg":76.0469184,"latitude_deg":10.5379656,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d6c0","hex_latitude":"0647f748","is_valid_coordinates":true} 
[2026-10-16 02:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-16 02:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187328001,"66":25962,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:43:59] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:43:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187328001,"power":25962,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":216140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043831,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:43:59] local.INFO: GPS data processed {"connection_id":216140,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:43:59] local.INFO: Acknowledgment sent {"connection_id":216140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:44:05] local.INFO: TCP Data received {"connection_id":216139,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:44:05] local.INFO: Processing buffer {"connection_id":216139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:44:05] local.INFO: Packet analysis {"connection_id":216139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:05] local.INFO: Extracted packet for processing {"connection_id":216139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175552001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792098643000,"timestamp_ms":1792098643000,"timestamp_seconds":1792098643,"priority":1,"record_length":96,"hex_timestamp":"000001a141672c38"} 
[2026-10-16 02:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:44:05] 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-10-16 02:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:44: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-10-16 02:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175552001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175552001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:44:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175552001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":216139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:44:05] local.INFO: GPS data processed {"connection_id":216139,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:44:05] local.INFO: Acknowledgment sent {"connection_id":216139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:44:18] local.INFO: TCP Data received {"connection_id":216333,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:44:18] local.INFO: Processing buffer {"connection_id":216333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:44:18] local.INFO: IMEI packet received {"connection_id":216333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":216333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:44:21] local.INFO: TCP Data received {"connection_id":216334,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:44:21] local.INFO: Processing buffer {"connection_id":216334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:44:21] local.INFO: IMEI packet received {"connection_id":216334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":216334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:44:23] local.INFO: TCP Data received {"connection_id":216333,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:44:23] local.INFO: Processing buffer {"connection_id":216333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:44:23] local.INFO: IMEI packet received {"connection_id":216333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":216333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:44:25] local.INFO: TCP Data received {"connection_id":216333,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:44:25] local.INFO: Processing buffer {"connection_id":216333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:44:25] local.INFO: Packet analysis {"connection_id":216333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:25] local.INFO: Extracted packet for processing {"connection_id":216333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187072001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:44:25] 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-10-16 02:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187072001,"66":26115,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187072001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:44:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:44:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187072001,"power":26115,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":216333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:44:25] local.INFO: GPS data processed {"connection_id":216333,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:44:25] local.INFO: Acknowledgment sent {"connection_id":216333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:44:26] local.INFO: TCP Data received {"connection_id":216334,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:44:26] local.INFO: Processing buffer {"connection_id":216334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:44:26] local.INFO: IMEI packet received {"connection_id":216334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":216334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:44:30] local.INFO: TCP Data received {"connection_id":216334,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:44:30] local.INFO: Processing buffer {"connection_id":216334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:44:30] local.INFO: Packet analysis {"connection_id":216334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:30] local.INFO: Extracted packet for processing {"connection_id":216334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175552001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792098643000,"timestamp_ms":1792098643000,"timestamp_seconds":1792098643,"priority":1,"record_length":96,"hex_timestamp":"000001a141672c38"} 
[2026-10-16 02:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:44:30] 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-10-16 02:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:44:30] 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-10-16 02:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175552001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175552001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:44:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175552001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":216334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:44:30] local.INFO: GPS data processed {"connection_id":216334,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:44:30] local.INFO: Acknowledgment sent {"connection_id":216334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:44:31] local.INFO: TCP Data received {"connection_id":216140,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:44:31] local.INFO: Processing buffer {"connection_id":216140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:44:31] local.INFO: Packet analysis {"connection_id":216140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:31] local.INFO: Extracted packet for processing {"connection_id":216140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:31] local.INFO: GPS Element Parsed {"raw_longitude":760469184,"raw_latitude":105379656,"longitude_deg":76.0469184,"latitude_deg":10.5379656,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d6c0","hex_latitude":"0647f748","is_valid_coordinates":true} 
[2026-10-16 02:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-16 02:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187328001,"66":25962,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:44:31] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:44:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187328001,"power":25962,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":216140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:44:31] local.INFO: GPS data processed {"connection_id":216140,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:44:31] local.INFO: Acknowledgment sent {"connection_id":216140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:44:52] local.INFO: TCP Data received {"connection_id":219414,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:44:52] local.INFO: Processing buffer {"connection_id":219414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:44:52] local.INFO: IMEI packet received {"connection_id":219414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":219414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:44:57] local.INFO: TCP Data received {"connection_id":216333,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:44:57] local.INFO: Processing buffer {"connection_id":216333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:44:57] local.INFO: Packet analysis {"connection_id":216333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:57] local.INFO: Extracted packet for processing {"connection_id":216333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187072001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187072001,"66":26115,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187072001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:44:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:44:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187072001,"power":26115,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":216333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:44:57] local.INFO: GPS data processed {"connection_id":216333,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:44:57] local.INFO: Acknowledgment sent {"connection_id":216333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:44:58] local.INFO: TCP Data received {"connection_id":219414,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:44:58] local.INFO: Processing buffer {"connection_id":219414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:44:58] local.INFO: IMEI packet received {"connection_id":219414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":219414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:44:59] local.INFO: TCP Data received {"connection_id":219414,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:44:59] local.INFO: Processing buffer {"connection_id":219414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:44:59] local.INFO: Packet analysis {"connection_id":219414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:59] local.INFO: Extracted packet for processing {"connection_id":219414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:44:59] local.INFO: GPS Element Parsed {"raw_longitude":760469184,"raw_latitude":105379656,"longitude_deg":76.0469184,"latitude_deg":10.5379656,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d6c0","hex_latitude":"0647f748","is_valid_coordinates":true} 
[2026-10-16 02:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-16 02:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187328001,"66":25962,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:44:59] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:44:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187328001,"power":25962,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":219414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:44:59] local.INFO: GPS data processed {"connection_id":219414,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:44:59] local.INFO: Acknowledgment sent {"connection_id":219414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:45:04] local.INFO: TCP Data received {"connection_id":216334,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:45:04] local.INFO: Processing buffer {"connection_id":216334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:45:04] local.INFO: Packet analysis {"connection_id":216334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:45:04] local.INFO: Extracted packet for processing {"connection_id":216334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175552001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792098643000,"timestamp_ms":1792098643000,"timestamp_seconds":1792098643,"priority":1,"record_length":96,"hex_timestamp":"000001a141672c38"} 
[2026-10-16 02:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:45:04] 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-10-16 02:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175552001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175552001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:45:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175552001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":216334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:45:04] local.INFO: GPS data processed {"connection_id":216334,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:45:04] local.INFO: Acknowledgment sent {"connection_id":216334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:45:17] local.INFO: TCP Data received {"connection_id":217690,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:45:17] local.INFO: Processing buffer {"connection_id":217690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:45:17] local.INFO: IMEI packet received {"connection_id":217690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":217690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:45:21] local.INFO: TCP Data received {"connection_id":219415,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:45:21] local.INFO: Processing buffer {"connection_id":219415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:45:21] local.INFO: IMEI packet received {"connection_id":219415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":219415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:45:23] local.INFO: TCP Data received {"connection_id":217690,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:45:23] local.INFO: Processing buffer {"connection_id":217690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:45:23] local.INFO: IMEI packet received {"connection_id":217690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":217690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:45:24] local.INFO: TCP Data received {"connection_id":217690,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:45:24] local.INFO: Processing buffer {"connection_id":217690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:45:24] local.INFO: Packet analysis {"connection_id":217690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:45:24] local.INFO: Extracted packet for processing {"connection_id":217690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:45:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187072001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:45:24] 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-10-16 02:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187072001,"66":26115,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187072001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:45:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:45:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187072001,"power":26115,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":217690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:45:25] local.INFO: GPS data processed {"connection_id":217690,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:45:25] local.INFO: Acknowledgment sent {"connection_id":217690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:45:26] local.INFO: TCP Data received {"connection_id":219415,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:45:26] local.INFO: Processing buffer {"connection_id":219415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:45:26] local.INFO: IMEI packet received {"connection_id":219415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":219415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:45:27] local.INFO: TCP Data received {"connection_id":219415,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:45:27] local.INFO: Processing buffer {"connection_id":219415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141672c38012d7c240005dad510000a00ea24..."} 
[2026-10-16 02:45:27] local.INFO: Packet analysis {"connection_id":219415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:45:27] local.INFO: Extracted packet for processing {"connection_id":219415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777175552001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792098643000,"timestamp_ms":1792098643000,"timestamp_seconds":1792098643,"priority":1,"record_length":96,"hex_timestamp":"000001a141672c38"} 
[2026-10-16 02:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 02:45:27] 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-10-16 02:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777175552001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777175552001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:45:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777175552001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":219415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:45:27] local.INFO: GPS data processed {"connection_id":219415,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:45:27] local.INFO: Acknowledgment sent {"connection_id":219415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:45:30] local.INFO: TCP Data received {"connection_id":219414,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:45:30] local.INFO: Processing buffer {"connection_id":219414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:45:30] local.INFO: Packet analysis {"connection_id":219414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:45:30] local.INFO: Extracted packet for processing {"connection_id":219414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:45:30] local.INFO: GPS Element Parsed {"raw_longitude":760469184,"raw_latitude":105379656,"longitude_deg":76.0469184,"latitude_deg":10.5379656,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d6c0","hex_latitude":"0647f748","is_valid_coordinates":true} 
[2026-10-16 02:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187328001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-16 02:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187328001,"66":25962,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187328001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:45:30] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:45:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187328001,"power":25962,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":219414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:45:30] local.INFO: GPS data processed {"connection_id":219414,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:45:30] local.INFO: Acknowledgment sent {"connection_id":219414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:45:56] local.INFO: TCP Data received {"connection_id":217690,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:45:56] local.INFO: Processing buffer {"connection_id":217690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:45:56] local.INFO: Packet analysis {"connection_id":217690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:45:56] local.INFO: Extracted packet for processing {"connection_id":217690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187072001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187072001,"66":26115,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187072001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:45:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:45:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187072001,"power":26115,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":217690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:45:56] local.INFO: GPS data processed {"connection_id":217690,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:45:56] local.INFO: Acknowledgment sent {"connection_id":217690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:45:58] local.INFO: TCP Data received {"connection_id":216141,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:45:58] local.INFO: Processing buffer {"connection_id":216141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:45:58] local.INFO: IMEI packet received {"connection_id":216141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":216141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:45:59] local.INFO: TCP Data received {"connection_id":219415,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:45:59] local.INFO: Processing buffer {"connection_id":219415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:45:59] local.INFO: Packet analysis {"connection_id":219415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:45:59] local.INFO: Extracted packet for processing {"connection_id":219415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777252608001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098944000,"timestamp_ms":1792098944000,"timestamp_seconds":1792098944,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bc400"} 
[2026-10-16 02:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 02:45:59] 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-10-16 02: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-10-16 02:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777252608001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777252608001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:45:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777252608001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":219415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:45:59] local.INFO: GPS data processed {"connection_id":219415,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:45:59] local.INFO: Acknowledgment sent {"connection_id":219415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:46:02] local.INFO: TCP Data received {"connection_id":216141,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:46:02] local.INFO: Processing buffer {"connection_id":216141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:46:02] local.INFO: IMEI packet received {"connection_id":216141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":216141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:46:05] local.INFO: TCP Data received {"connection_id":216141,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416b2ba8012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416b2ba8012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:46:05] local.INFO: Processing buffer {"connection_id":216141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416b2ba8012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:46:05] local.INFO: Packet analysis {"connection_id":216141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:46:05] local.INFO: Extracted packet for processing {"connection_id":216141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:46:05] local.INFO: GPS Element Parsed {"raw_longitude":760469184,"raw_latitude":105379656,"longitude_deg":76.0469184,"latitude_deg":10.5379656,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d6c0","hex_latitude":"0647f748","is_valid_coordinates":true} 
[2026-10-16 02:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041227083373824000,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792098905000,"timestamp_ms":1792098905000,"timestamp_seconds":1792098905,"priority":1,"record_length":96,"hex_timestamp":"000001a1416b2ba8"} 
[2026-10-16 02:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:46: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-10-16 02: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-16 02:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25680,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041227083373824000},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:46:05] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:46:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041227083373824000,"description":"Unknown IO ID 45"} 
[2026-10-16 02:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25680,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041227083373824000}} 
[2026-10-16 02:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":216141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:46:05] local.INFO: GPS data processed {"connection_id":216141,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:46:05] local.INFO: Acknowledgment sent {"connection_id":216141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:46:07] local.INFO: TCP Data received {"connection_id":216141,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416b2ba8012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416b2ba8012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:46:07] local.INFO: Processing buffer {"connection_id":216141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416b2ba8012d53d6c00647f7480005015e2e..."} 
[2026-10-16 02:46:07] local.INFO: Packet analysis {"connection_id":216141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:46:07] local.INFO: Extracted packet for processing {"connection_id":216141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:46:07] local.INFO: GPS Element Parsed {"raw_longitude":760469184,"raw_latitude":105379656,"longitude_deg":76.0469184,"latitude_deg":10.5379656,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d6c0","hex_latitude":"0647f748","is_valid_coordinates":true} 
[2026-10-16 02:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041227083373824000,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792098905000,"timestamp_ms":1792098905000,"timestamp_seconds":1792098905,"priority":1,"record_length":96,"hex_timestamp":"000001a1416b2ba8"} 
[2026-10-16 02:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-16 02:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25680,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041227083373824000},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:46:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:46:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041227083373824000,"description":"Unknown IO ID 45"} 
[2026-10-16 02:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25680,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041227083373824000}} 
[2026-10-16 02:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":216141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043845,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:46:07] local.INFO: GPS data processed {"connection_id":216141,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:46:07] local.INFO: Acknowledgment sent {"connection_id":216141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:46:17] local.INFO: TCP Data received {"connection_id":219416,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:46:17] local.INFO: Processing buffer {"connection_id":219416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:46:17] local.INFO: IMEI packet received {"connection_id":219416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":219416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:46:21] local.INFO: TCP Data received {"connection_id":216335,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:46:21] local.INFO: Processing buffer {"connection_id":216335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:46:21] local.INFO: IMEI packet received {"connection_id":216335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":216335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:46:23] local.INFO: TCP Data received {"connection_id":219416,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:46:23] local.INFO: Processing buffer {"connection_id":219416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:46:23] local.INFO: IMEI packet received {"connection_id":219416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":219416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:46:24] local.INFO: TCP Data received {"connection_id":219416,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:46:24] local.INFO: Processing buffer {"connection_id":219416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:46:24] local.INFO: Packet analysis {"connection_id":219416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:46:24] local.INFO: Extracted packet for processing {"connection_id":219416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187072001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:46:24] 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-10-16 02:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187072001,"66":26115,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187072001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:46:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:46:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187072001,"power":26115,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":219416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:46:24] local.INFO: GPS data processed {"connection_id":219416,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:46:24] local.INFO: Acknowledgment sent {"connection_id":219416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:46:27] local.INFO: TCP Data received {"connection_id":216335,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:46:27] local.INFO: Processing buffer {"connection_id":216335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:46:27] local.INFO: IMEI packet received {"connection_id":216335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":216335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:46:28] local.INFO: TCP Data received {"connection_id":216335,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:46:28] local.INFO: Processing buffer {"connection_id":216335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:46:28] local.INFO: Packet analysis {"connection_id":216335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:46:28] local.INFO: Extracted packet for processing {"connection_id":216335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777252608001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792098944000,"timestamp_ms":1792098944000,"timestamp_seconds":1792098944,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bc400"} 
[2026-10-16 02:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 02:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:46:28] 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-10-16 02:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777252608001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777252608001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:46:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777252608001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":216335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:46:28] local.INFO: GPS data processed {"connection_id":216335,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:46:28] local.INFO: Acknowledgment sent {"connection_id":216335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:46:52] local.INFO: TCP Data received {"connection_id":217691,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:46:52] local.INFO: Processing buffer {"connection_id":217691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:46:52] local.INFO: IMEI packet received {"connection_id":217691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":217691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:46:56] local.INFO: TCP Data received {"connection_id":219416,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:46:56] local.INFO: Processing buffer {"connection_id":219416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14167e3d0012d7f98c005afddb00001002f23..."} 
[2026-10-16 02:46:56] local.INFO: Packet analysis {"connection_id":219416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:46:56] local.INFO: Extracted packet for processing {"connection_id":219416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14167"} 
[2026-10-16 02:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777187072001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283375104,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792098690000,"timestamp_ms":1792098690000,"timestamp_seconds":1792098690,"priority":1,"record_length":96,"hex_timestamp":"000001a14167e3d0"} 
[2026-10-16 02:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777187072001,"66":26115,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9199165213283375104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777187072001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:46:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:46:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283375104,"description":"Unknown IO ID 45"} 
[2026-10-16 02:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777187072001,"power":26115,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9199165213283375104}} 
[2026-10-16 02:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":219416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:46:56] local.INFO: GPS data processed {"connection_id":219416,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:46:56] local.INFO: Acknowledgment sent {"connection_id":219416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:46:58] local.INFO: TCP Data received {"connection_id":217691,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:46:58] local.INFO: Processing buffer {"connection_id":217691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:46:58] local.INFO: IMEI packet received {"connection_id":217691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":217691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:46:59] local.INFO: TCP Data received {"connection_id":217691,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416b8d50012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416b8d50012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:46:59] local.INFO: Processing buffer {"connection_id":217691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416b8d50012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:46:59] local.INFO: Packet analysis {"connection_id":217691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:46:59] local.INFO: Extracted packet for processing {"connection_id":217691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:46:59] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02:46: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-10-16 02:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777319680001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041227083373824000,"note":"Value kept but may cause issues"} 
[2026-10-16 02:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098930000,"timestamp_ms":1792098930000,"timestamp_seconds":1792098930,"priority":1,"record_length":96,"hex_timestamp":"000001a1416b8d50"} 
[2026-10-16 02:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:46: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-10-16 02:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 02:46:59] 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-10-16 02:46: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-10-16 02:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777319680001,"66":27517,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041227083373824000},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777319680001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:46:59] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:46:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041227083373824000,"description":"Unknown IO ID 45"} 
[2026-10-16 02:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777319680001,"power":27517,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041227083373824000}} 
[2026-10-16 02:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":217691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:46:59] local.INFO: GPS data processed {"connection_id":217691,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:46:59] local.INFO: Acknowledgment sent {"connection_id":217691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:47:02] local.INFO: TCP Data received {"connection_id":216335,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:47:02] local.INFO: Processing buffer {"connection_id":216335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:47:02] local.INFO: Packet analysis {"connection_id":216335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:47:02] local.INFO: Extracted packet for processing {"connection_id":216335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777252608001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792098944000,"timestamp_ms":1792098944000,"timestamp_seconds":1792098944,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bc400"} 
[2026-10-16 02:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 02:47:02] 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-10-16 02:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777252608001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777252608001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:47:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777252608001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":216335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:47:02] local.INFO: GPS data processed {"connection_id":216335,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:47:02] local.INFO: Acknowledgment sent {"connection_id":216335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:47:21] local.INFO: TCP Data received {"connection_id":216336,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:47:21] local.INFO: Processing buffer {"connection_id":216336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:47:21] local.INFO: IMEI packet received {"connection_id":216336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":216336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:47:22] local.INFO: TCP Data received {"connection_id":216142,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:47:22] local.INFO: Processing buffer {"connection_id":216142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:47:22] local.INFO: IMEI packet received {"connection_id":216142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":216142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:47:26] local.INFO: TCP Data received {"connection_id":216336,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:47:26] local.INFO: Processing buffer {"connection_id":216336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:47:26] local.INFO: IMEI packet received {"connection_id":216336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":216336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:47:27] local.INFO: TCP Data received {"connection_id":216336,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:47:27] local.INFO: Processing buffer {"connection_id":216336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:47:27] local.INFO: Packet analysis {"connection_id":216336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:47:27] local.INFO: Extracted packet for processing {"connection_id":216336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777252608001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792098944000,"timestamp_ms":1792098944000,"timestamp_seconds":1792098944,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bc400"} 
[2026-10-16 02:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 02:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777252608001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777252608001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:47:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777252608001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":216336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:47:27] local.INFO: GPS data processed {"connection_id":216336,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:47:27] local.INFO: Acknowledgment sent {"connection_id":216336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:47:27] local.INFO: TCP Data received {"connection_id":216142,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:47:27] local.INFO: Processing buffer {"connection_id":216142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:47:27] local.INFO: IMEI packet received {"connection_id":216142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":216142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:47:29] local.INFO: TCP Data received {"connection_id":216142,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:47:29] local.INFO: Processing buffer {"connection_id":216142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:47:29] local.INFO: Packet analysis {"connection_id":216142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:47:29] local.INFO: Extracted packet for processing {"connection_id":216142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792098991000,"timestamp_ms":1792098991000,"timestamp_seconds":1792098991,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c7b98"} 
[2026-10-16 02:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 02:47:29] 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-10-16 02:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25973,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:47:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:47:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":216142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:47:29] local.INFO: GPS data processed {"connection_id":216142,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:47:29] local.INFO: Acknowledgment sent {"connection_id":216142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:47:48] local.INFO: TCP Data received {"connection_id":217691,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bdf58012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bdf58012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:47:48] local.INFO: Processing buffer {"connection_id":217691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bdf58012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:47:48] local.INFO: Packet analysis {"connection_id":217691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:47:48] local.INFO: Extracted packet for processing {"connection_id":217691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:47:48] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777326080001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792098951000,"timestamp_ms":1792098951000,"timestamp_seconds":1792098951,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bdf58"} 
[2026-10-16 02:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 02:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":217691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":217691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":217691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777326080001,"66":27615,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777326080001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:47:48] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:47:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777326080001,"power":27615,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":217691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:47:48] local.INFO: GPS data processed {"connection_id":217691,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:47:48] local.INFO: Acknowledgment sent {"connection_id":217691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:47:52] local.INFO: TCP Data received {"connection_id":219417,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:47:52] local.INFO: Processing buffer {"connection_id":219417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:47:52] local.INFO: IMEI packet received {"connection_id":219417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":219417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:47:58] local.INFO: TCP Data received {"connection_id":219417,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:47:58] local.INFO: Processing buffer {"connection_id":219417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:47:58] local.INFO: IMEI packet received {"connection_id":219417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":219417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:47:59] local.INFO: TCP Data received {"connection_id":216336,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:47:59] local.INFO: Processing buffer {"connection_id":216336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:47:59] local.INFO: Packet analysis {"connection_id":216336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:47:59] local.INFO: Extracted packet for processing {"connection_id":216336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777252608001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098944000,"timestamp_ms":1792098944000,"timestamp_seconds":1792098944,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bc400"} 
[2026-10-16 02:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 02:47:59] 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-10-16 02:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777252608001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777252608001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:47:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777252608001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":216336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:47:59] local.INFO: GPS data processed {"connection_id":216336,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:47:59] local.INFO: Acknowledgment sent {"connection_id":216336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:47:59] local.INFO: TCP Data received {"connection_id":219417,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c3160012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c3160012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:47:59] local.INFO: Processing buffer {"connection_id":219417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c3160012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:47:59] local.INFO: Packet analysis {"connection_id":219417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:47:59] local.INFO: Extracted packet for processing {"connection_id":219417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:47:59] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777331456001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098972000,"timestamp_ms":1792098972000,"timestamp_seconds":1792098972,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c3160"} 
[2026-10-16 02:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:47: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-10-16 02:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 02:47:59] 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-10-16 02:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777331456001,"66":27550,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777331456001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:47:59] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:47:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777331456001,"power":27550,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":219417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:47:59] local.INFO: GPS data processed {"connection_id":219417,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:47:59] local.INFO: Acknowledgment sent {"connection_id":219417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:48:00] local.INFO: TCP Data received {"connection_id":216142,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:48:00] local.INFO: Processing buffer {"connection_id":216142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:48:00] local.INFO: Packet analysis {"connection_id":216142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:48:00] local.INFO: Extracted packet for processing {"connection_id":216142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792098991000,"timestamp_ms":1792098991000,"timestamp_seconds":1792098991,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c7b98"} 
[2026-10-16 02:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 02:48:00] 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-10-16 02:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25973,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:48:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:48:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":216142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:48:00] local.INFO: GPS data processed {"connection_id":216142,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:48:00] local.INFO: Acknowledgment sent {"connection_id":216142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:48:17] local.INFO: TCP Data received {"connection_id":217692,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:48:17] local.INFO: Processing buffer {"connection_id":217692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:48:17] local.INFO: IMEI packet received {"connection_id":217692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":217692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:48:23] local.INFO: TCP Data received {"connection_id":217692,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:48:23] local.INFO: Processing buffer {"connection_id":217692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:48:23] local.INFO: IMEI packet received {"connection_id":217692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":217692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:48:24] local.INFO: TCP Data received {"connection_id":217692,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:48:24] local.INFO: Processing buffer {"connection_id":217692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:48:24] local.INFO: Packet analysis {"connection_id":217692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:48:24] local.INFO: Extracted packet for processing {"connection_id":217692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:48:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792098991000,"timestamp_ms":1792098991000,"timestamp_seconds":1792098991,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c7b98"} 
[2026-10-16 02:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 02:48:24] 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-10-16 02:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25973,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:48:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:48:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":217692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:48:24] local.INFO: GPS data processed {"connection_id":217692,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:48:24] local.INFO: Acknowledgment sent {"connection_id":217692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:48:26] local.INFO: TCP Data received {"connection_id":216337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:48:26] local.INFO: Processing buffer {"connection_id":216337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:48:26] local.INFO: IMEI packet received {"connection_id":216337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":216337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:48:31] local.INFO: TCP Data received {"connection_id":216337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:48:31] local.INFO: Processing buffer {"connection_id":216337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:48:31] local.INFO: IMEI packet received {"connection_id":216337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":216337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:48:32] local.INFO: TCP Data received {"connection_id":219417,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c8368012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c8368012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:48:32] local.INFO: Processing buffer {"connection_id":219417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c8368012d53d9000647f7680005015e2e..."} 
[2026-10-16 02:48:32] local.INFO: Packet analysis {"connection_id":219417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:48:32] local.INFO: Extracted packet for processing {"connection_id":219417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:48:32] local.INFO: GPS Element Parsed {"raw_longitude":760469760,"raw_latitude":105379688,"longitude_deg":76.046976,"latitude_deg":10.5379688,"altitude":5,"angle":350,"satellites":46,"speed":0,"hex_longitude":"2d53d900","hex_latitude":"0647f768","is_valid_coordinates":true} 
[2026-10-16 02:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777336832001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194584679415808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792098993000,"timestamp_ms":1792098993000,"timestamp_seconds":1792098993,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c8368"} 
[2026-10-16 02:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:48: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-10-16 02:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-16 02:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777336832001,"66":27376,"138":206,"19":38144,"24":0,"16":12194584679415808,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777336832001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:48:32] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194584679415808,"km_value":12194584679415.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777336832001,"power":27376,"unknown_138":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:48:32] local.INFO: TCP Data received {"connection_id":216337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:48:32] local.INFO: Processing buffer {"connection_id":216337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:48:32] local.INFO: Packet analysis {"connection_id":216337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:48:32] local.INFO: Extracted packet for processing {"connection_id":216337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777252608001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792098944000,"timestamp_ms":1792098944000,"timestamp_seconds":1792098944,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bc400"} 
[2026-10-16 02:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 02:48:32] 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-10-16 02:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777252608001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777252608001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:48:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777252608001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":216337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:48:32] local.INFO: GPS data processed {"connection_id":216337,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:48:32] local.INFO: Acknowledgment sent {"connection_id":216337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":219417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:48:32] local.INFO: GPS data processed {"connection_id":219417,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:48:32] local.INFO: Acknowledgment sent {"connection_id":219417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:48:37] local.INFO: TCP Data received {"connection_id":216337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:48:37] local.INFO: Processing buffer {"connection_id":216337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:48:37] local.INFO: Packet analysis {"connection_id":216337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:48:37] local.INFO: Extracted packet for processing {"connection_id":216337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777252608001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792098944000,"timestamp_ms":1792098944000,"timestamp_seconds":1792098944,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bc400"} 
[2026-10-16 02:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":238,"data_length":795,"current_offset":136} 
[2026-10-16 02:48: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-10-16 02: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-10-16 02:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:48:37] 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-10-16 02:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777252608001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777252608001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:48:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777252608001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":216337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:48:37] local.INFO: GPS data processed {"connection_id":216337,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:48:37] local.INFO: Acknowledgment sent {"connection_id":216337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:48:55] local.INFO: TCP Data received {"connection_id":217692,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:48:55] local.INFO: Processing buffer {"connection_id":217692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:48:55] local.INFO: Packet analysis {"connection_id":217692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:48:55] local.INFO: Extracted packet for processing {"connection_id":217692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792098991000,"timestamp_ms":1792098991000,"timestamp_seconds":1792098991,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c7b98"} 
[2026-10-16 02:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 02:48:55] 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-10-16 02: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-10-16 02:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25973,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:48:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:48:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":217692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:48:55] local.INFO: GPS data processed {"connection_id":217692,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:48:55] local.INFO: Acknowledgment sent {"connection_id":217692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:48:57] local.INFO: TCP Data received {"connection_id":217693,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:48:57] local.INFO: Processing buffer {"connection_id":217693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:48:57] local.INFO: IMEI packet received {"connection_id":217693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":217693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:48:59] local.INFO: TCP Data received {"connection_id":217693,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:48:59] local.INFO: Processing buffer {"connection_id":217693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:48:59] local.INFO: IMEI packet received {"connection_id":217693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":217693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:49:00] local.INFO: TCP Data received {"connection_id":217693,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416cd570012d53d8c0064813980006015f2f..."} 
[2026-10-16 02:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416cd570012d53d8c0064813980006015f2f..."} 
[2026-10-16 02:49:00] local.INFO: Processing buffer {"connection_id":217693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416cd570012d53d8c0064813980006015f2f..."} 
[2026-10-16 02:49:00] local.INFO: Packet analysis {"connection_id":217693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:49:00] local.INFO: Extracted packet for processing {"connection_id":217693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:49:00] local.INFO: GPS Element Parsed {"raw_longitude":760469696,"raw_latitude":105386904,"longitude_deg":76.0469696,"latitude_deg":10.5386904,"altitude":6,"angle":351,"satellites":47,"speed":26,"hex_longitude":"2d53d8c0","hex_latitude":"06481398","is_valid_coordinates":true} 
[2026-10-16 02:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777342208001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12194936866734080,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041860402071431168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792099014000,"timestamp_ms":1792099014000,"timestamp_seconds":1792099014,"priority":1,"record_length":96,"hex_timestamp":"000001a1416cd570"} 
[2026-10-16 02:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 02:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777342208001,"66":27289,"138":206,"19":38144,"24":26,"16":12194936866734080,"45":6041860402071431168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777342208001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:49:00] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:49:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12194936866734080,"km_value":12194936866734.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041860402071431168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777342208001,"power":27289,"unknown_138":206,"unknown_19":38144,"ignition":26,"odometer":null,"unknown_45":6041860402071431168}} 
[2026-10-16 02:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":217693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:49:00] local.INFO: GPS data processed {"connection_id":217693,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:49:00] local.INFO: Acknowledgment sent {"connection_id":217693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:49:02] local.INFO: TCP Data received {"connection_id":217693,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416d0c20012d53d180064837d0000801582f..."} 
[2026-10-16 02:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416d0c20012d53d180064837d0000801582f..."} 
[2026-10-16 02:49:02] local.INFO: Processing buffer {"connection_id":217693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416d0c20012d53d180064837d0000801582f..."} 
[2026-10-16 02:49:02] local.INFO: Packet analysis {"connection_id":217693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416d"} 
[2026-10-16 02:49:02] local.INFO: Extracted packet for processing {"connection_id":217693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416d"} 
[2026-10-16 02:49:02] local.INFO: GPS Element Parsed {"raw_longitude":760467840,"raw_latitude":105396176,"longitude_deg":76.046784,"latitude_deg":10.5396176,"altitude":8,"angle":344,"satellites":47,"speed":29,"hex_longitude":"2d53d180","hex_latitude":"064837d0","is_valid_coordinates":true} 
[2026-10-16 02:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777347584001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12195396428234752,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041790033329100800,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792099028000,"timestamp_ms":1792099028000,"timestamp_seconds":1792099028,"priority":1,"record_length":96,"hex_timestamp":"000001a1416d0c20"} 
[2026-10-16 02:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 02:49:02] 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-10-16 02:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":217693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":217693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":217693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777347584001,"66":27126,"138":206,"19":38144,"24":29,"16":12195396428234752,"45":6041790033329100800},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-10-16 02:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777347584001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:49:02] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 02:49:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12195396428234752,"km_value":12195396428234.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041790033329100800,"description":"Unknown IO ID 45"} 
[2026-10-16 02:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777347584001,"power":27126,"unknown_138":206,"unknown_19":38144,"ignition":29,"odometer":null,"unknown_45":6041790033329100800}} 
[2026-10-16 02:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":217693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043863,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:49:02] local.INFO: GPS data processed {"connection_id":217693,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:49:02] local.INFO: Acknowledgment sent {"connection_id":217693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:49:17] local.INFO: TCP Data received {"connection_id":216143,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:49:17] local.INFO: Processing buffer {"connection_id":216143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:49:17] local.INFO: IMEI packet received {"connection_id":216143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":216143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:49:21] local.INFO: TCP Data received {"connection_id":216338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:49:21] local.INFO: Processing buffer {"connection_id":216338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:49:21] local.INFO: IMEI packet received {"connection_id":216338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:49:23] local.INFO: TCP Data received {"connection_id":216143,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:49:23] local.INFO: Processing buffer {"connection_id":216143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:49:23] local.INFO: IMEI packet received {"connection_id":216143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":216143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:49:24] local.INFO: TCP Data received {"connection_id":216143,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:49:24] local.INFO: Processing buffer {"connection_id":216143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:49:24] local.INFO: Packet analysis {"connection_id":216143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:49:24] local.INFO: Extracted packet for processing {"connection_id":216143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:49:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792098991000,"timestamp_ms":1792098991000,"timestamp_seconds":1792098991,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c7b98"} 
[2026-10-16 02:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 02:49:24] 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-10-16 02:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25973,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:49:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:49:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":216143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:49:24] local.INFO: GPS data processed {"connection_id":216143,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:49:24] local.INFO: Acknowledgment sent {"connection_id":216143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:49:26] local.INFO: TCP Data received {"connection_id":216338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:49:26] local.INFO: Processing buffer {"connection_id":216338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:49:26] local.INFO: IMEI packet received {"connection_id":216338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":216338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:49:27] local.INFO: TCP Data received {"connection_id":216338,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:49:27] local.INFO: Processing buffer {"connection_id":216338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:49:27] local.INFO: Packet analysis {"connection_id":216338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:49:27] local.INFO: Extracted packet for processing {"connection_id":216338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777252608001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792098944000,"timestamp_ms":1792098944000,"timestamp_seconds":1792098944,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bc400"} 
[2026-10-16 02:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 02:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:49: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-10-16 02:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777252608001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777252608001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:49:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777252608001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":216338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:49:27] local.INFO: GPS data processed {"connection_id":216338,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:49:27] local.INFO: Acknowledgment sent {"connection_id":216338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:49:37] local.INFO: TCP Data received {"connection_id":217693,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416e5ff8012d53158006499270000601422e..."} 
[2026-10-16 02:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416e5ff8012d53158006499270000601422e..."} 
[2026-10-16 02:49:37] local.INFO: Processing buffer {"connection_id":217693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416e5ff8012d53158006499270000601422e..."} 
[2026-10-16 02:49:37] local.INFO: Packet analysis {"connection_id":217693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416e"} 
[2026-10-16 02:49:37] local.INFO: Extracted packet for processing {"connection_id":217693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416e"} 
[2026-10-16 02:49:37] local.INFO: GPS Element Parsed {"raw_longitude":760419712,"raw_latitude":105484912,"longitude_deg":76.0419712,"latitude_deg":10.5484912,"altitude":6,"angle":322,"satellites":46,"speed":51,"hex_longitude":"2d531580","hex_latitude":"06499270","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777371648001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12200288395984896,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5992883756148840448,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792099115000,"timestamp_ms":1792099115000,"timestamp_seconds":1792099115,"priority":1,"record_length":96,"hex_timestamp":"000001a1416e5ff8"} 
[2026-10-16 02:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:49: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-10-16 02: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 02:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777371648001,"66":27213,"87":206,"19":38144,"24":51,"16":12200288395984896,"45":5992883756148840448},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-10-16 02:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777371648001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:49:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-16 02:49:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12200288395984896,"km_value":12200288395984.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5992883756148840448,"description":"Unknown IO ID 45"} 
[2026-10-16 02:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777371648001,"power":27213,"unknown_87":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":5992883756148840448}} 
[2026-10-16 02:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":217693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:49:37] local.INFO: GPS data processed {"connection_id":217693,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:49:37] local.INFO: Acknowledgment sent {"connection_id":217693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:49:52] local.INFO: TCP Data received {"connection_id":216339,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:49:52] local.INFO: Processing buffer {"connection_id":216339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:49:52] local.INFO: IMEI packet received {"connection_id":216339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":216339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:49:55] local.INFO: TCP Data received {"connection_id":216143,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:49:55] local.INFO: Processing buffer {"connection_id":216143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:49:55] local.INFO: Packet analysis {"connection_id":216143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:49:55] local.INFO: Extracted packet for processing {"connection_id":216143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792098991000,"timestamp_ms":1792098991000,"timestamp_seconds":1792098991,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c7b98"} 
[2026-10-16 02:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 02:49:55] 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-10-16 02:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25973,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:49:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:49:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":216143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:49:56] local.INFO: GPS data processed {"connection_id":216143,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:49:56] local.INFO: Acknowledgment sent {"connection_id":216143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:49:59] local.INFO: TCP Data received {"connection_id":216338,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:49:59] local.INFO: Processing buffer {"connection_id":216338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:49:59] local.INFO: Packet analysis {"connection_id":216338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:49:59] local.INFO: Extracted packet for processing {"connection_id":216338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777252608001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792098944000,"timestamp_ms":1792098944000,"timestamp_seconds":1792098944,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bc400"} 
[2026-10-16 02:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 02:49:59] 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-10-16 02:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:49: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-10-16 02:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777252608001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777252608001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:49:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777252608001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":216338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:49:59] local.INFO: GPS data processed {"connection_id":216338,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:49:59] local.INFO: Acknowledgment sent {"connection_id":216338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:50:05] local.INFO: TCP Data received {"connection_id":216339,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:50:05] local.INFO: Processing buffer {"connection_id":216339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:50:05] local.INFO: IMEI packet received {"connection_id":216339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":216339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:50:08] local.INFO: TCP Data received {"connection_id":216339,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416e7b50012d52ff000649adb80006013f2e..."} 
[2026-10-16 02:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416e7b50012d52ff000649adb80006013f2e..."} 
[2026-10-16 02:50:08] local.INFO: Processing buffer {"connection_id":216339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416e7b50012d52ff000649adb80006013f2e..."} 
[2026-10-16 02:50:08] local.INFO: Packet analysis {"connection_id":216339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416e"} 
[2026-10-16 02:50:08] local.INFO: Extracted packet for processing {"connection_id":216339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416e"} 
[2026-10-16 02:50:08] local.INFO: GPS Element Parsed {"raw_longitude":760413952,"raw_latitude":105491896,"longitude_deg":76.0413952,"latitude_deg":10.5491896,"altitude":6,"angle":319,"satellites":46,"speed":51,"hex_longitude":"2d52ff00","hex_latitude":"0649adb8","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777373440001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12200722187681792,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5986832044151435264,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792099122000,"timestamp_ms":1792099122000,"timestamp_seconds":1792099122,"priority":1,"record_length":96,"hex_timestamp":"000001a1416e7b50"} 
[2026-10-16 02:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:50: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-10-16 02: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":77,"data_length":795,"current_offset":136} 
[2026-10-16 02:50: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-10-16 02: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-10-16 02:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777373440001,"66":27213,"87":206,"19":38144,"24":51,"16":12200722187681792,"45":5986832044151435264},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-10-16 02:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777373440001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:50:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-16 02:50:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12200722187681792,"km_value":12200722187681.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5986832044151435264,"description":"Unknown IO ID 45"} 
[2026-10-16 02:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777373440001,"power":27213,"unknown_87":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":5986832044151435264}} 
[2026-10-16 02:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":216339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:50:08] local.INFO: GPS data processed {"connection_id":216339,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:50:08] local.INFO: Acknowledgment sent {"connection_id":216339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:50:21] local.INFO: TCP Data received {"connection_id":217694,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:50:21] local.INFO: Processing buffer {"connection_id":217694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:50:21] local.INFO: IMEI packet received {"connection_id":217694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":217694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:50:23] local.INFO: TCP Data received {"connection_id":217695,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:50:23] local.INFO: Processing buffer {"connection_id":217695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:50:23] local.INFO: IMEI packet received {"connection_id":217695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":217695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:50:26] local.INFO: TCP Data received {"connection_id":217694,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:50:26] local.INFO: Processing buffer {"connection_id":217694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:50:26] local.INFO: IMEI packet received {"connection_id":217694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":217694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:50:28] local.INFO: TCP Data received {"connection_id":217695,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:50:28] local.INFO: Processing buffer {"connection_id":217695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:50:28] local.INFO: IMEI packet received {"connection_id":217695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":217695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:50:30] local.INFO: TCP Data received {"connection_id":217695,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:50:30] local.INFO: Processing buffer {"connection_id":217695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:50:30] local.INFO: Packet analysis {"connection_id":217695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:50:30] local.INFO: Extracted packet for processing {"connection_id":217695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792098991000,"timestamp_ms":1792098991000,"timestamp_seconds":1792098991,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c7b98"} 
[2026-10-16 02:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 02:50:30] 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-10-16 02:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25973,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:50:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:50:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":217695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:50:30] local.INFO: GPS data processed {"connection_id":217695,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:50:30] local.INFO: Acknowledgment sent {"connection_id":217695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:50:32] local.INFO: TCP Data received {"connection_id":217694,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:50:32] local.INFO: Processing buffer {"connection_id":217694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416bc400012d7c240005dad510000a00ea23..."} 
[2026-10-16 02:50:32] local.INFO: Packet analysis {"connection_id":217694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:50:32] local.INFO: Extracted packet for processing {"connection_id":217694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416b"} 
[2026-10-16 02:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777252608001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792098944000,"timestamp_ms":1792098944000,"timestamp_seconds":1792098944,"priority":1,"record_length":96,"hex_timestamp":"000001a1416bc400"} 
[2026-10-16 02:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 02:50:32] 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-10-16 02:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777252608001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777252608001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:50:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:50:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777252608001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":217694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:50:32] local.INFO: GPS data processed {"connection_id":217694,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:50:32] local.INFO: Acknowledgment sent {"connection_id":217694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:50:32] local.INFO: TCP Data received {"connection_id":217695,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:50:32] local.INFO: Processing buffer {"connection_id":217695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:50:32] local.INFO: Packet analysis {"connection_id":217695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:50:32] local.INFO: Extracted packet for processing {"connection_id":217695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792098991000,"timestamp_ms":1792098991000,"timestamp_seconds":1792098991,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c7b98"} 
[2026-10-16 02:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 02:50:32] 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-10-16 02:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25973,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:50:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":217695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:50:32] local.INFO: GPS data processed {"connection_id":217695,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:50:32] local.INFO: Acknowledgment sent {"connection_id":217695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:50:52] local.INFO: TCP Data received {"connection_id":219418,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:50:52] local.INFO: Processing buffer {"connection_id":219418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:50:52] local.INFO: IMEI packet received {"connection_id":219418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":219418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:50:58] local.INFO: TCP Data received {"connection_id":219418,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:50:58] local.INFO: Processing buffer {"connection_id":219418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:50:58] local.INFO: IMEI packet received {"connection_id":219418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":219418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:50:59] local.INFO: TCP Data received {"connection_id":219418,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416fb7b8012d521800064afca0000c014b30..."} 
[2026-10-16 02:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416fb7b8012d521800064afca0000c014b30..."} 
[2026-10-16 02:50:59] local.INFO: Processing buffer {"connection_id":219418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416fb7b8012d521800064afca0000c014b30..."} 
[2026-10-16 02:50:59] local.INFO: Packet analysis {"connection_id":219418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416f"} 
[2026-10-16 02:50:59] local.INFO: Extracted packet for processing {"connection_id":219418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416f"} 
[2026-10-16 02:50:59] local.INFO: GPS Element Parsed {"raw_longitude":760354816,"raw_latitude":105577632,"longitude_deg":76.0354816,"latitude_deg":10.5577632,"altitude":12,"angle":331,"satellites":48,"speed":48,"hex_longitude":"2d521800","hex_latitude":"064afca0","is_valid_coordinates":true} 
[2026-10-16 02:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777393920001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12205785954123776,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5920685424645910528,"note":"Value kept but may cause issues"} 
[2026-10-16 02:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099203000,"timestamp_ms":1792099203000,"timestamp_seconds":1792099203,"priority":1,"record_length":96,"hex_timestamp":"000001a1416fb7b8"} 
[2026-10-16 02:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:50: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-10-16 02:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 02:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777393920001,"66":26615,"87":206,"19":38144,"24":48,"16":12205785954123776,"45":5920685424645910528},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-10-16 02:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777393920001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:50:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-16 02:50:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12205785954123776,"km_value":12205785954123.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5920685424645910528,"description":"Unknown IO ID 45"} 
[2026-10-16 02:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777393920001,"power":26615,"unknown_87":206,"unknown_19":38144,"ignition":48,"odometer":null,"unknown_45":5920685424645910528}} 
[2026-10-16 02:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":219418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:50:59] local.INFO: GPS data processed {"connection_id":219418,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:50:59] local.INFO: Acknowledgment sent {"connection_id":219418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:51:04] local.INFO: TCP Data received {"connection_id":217694,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:51:04] local.INFO: Processing buffer {"connection_id":217694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:51:04] local.INFO: Packet analysis {"connection_id":217694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:51:04] local.INFO: Extracted packet for processing {"connection_id":217694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777329664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792099245000,"timestamp_ms":1792099245000,"timestamp_seconds":1792099245,"priority":1,"record_length":96,"hex_timestamp":"000001a141705bc8"} 
[2026-10-16 02:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":217694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":217694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":217694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777329664001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777329664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:51:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777329664001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":217694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:51:04] local.INFO: GPS data processed {"connection_id":217694,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:51:04] local.INFO: Acknowledgment sent {"connection_id":217694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:51:17] local.INFO: TCP Data received {"connection_id":216144,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:51:17] local.INFO: Processing buffer {"connection_id":216144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:51:17] local.INFO: IMEI packet received {"connection_id":216144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":216144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:51:23] local.INFO: TCP Data received {"connection_id":216144,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:51:23] local.INFO: Processing buffer {"connection_id":216144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:51:23] local.INFO: IMEI packet received {"connection_id":216144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":216144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:51:24] local.INFO: TCP Data received {"connection_id":216144,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:51:24] local.INFO: Processing buffer {"connection_id":216144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:51:24] local.INFO: Packet analysis {"connection_id":216144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:51:24] local.INFO: Extracted packet for processing {"connection_id":216144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792098991000,"timestamp_ms":1792098991000,"timestamp_seconds":1792098991,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c7b98"} 
[2026-10-16 02:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 02:51:24] 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-10-16 02:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25973,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:51:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:51:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":216144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:51:24] local.INFO: GPS data processed {"connection_id":216144,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:51:24] local.INFO: Acknowledgment sent {"connection_id":216144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:51:26] local.INFO: TCP Data received {"connection_id":216340,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:51:26] local.INFO: Processing buffer {"connection_id":216340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:51:26] local.INFO: IMEI packet received {"connection_id":216340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":216340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:51:33] local.INFO: TCP Data received {"connection_id":219418,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416fd6f8012d520640064b1d40000a014a30..."} 
[2026-10-16 02:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416fd6f8012d520640064b1d40000a014a30..."} 
[2026-10-16 02:51:33] local.INFO: Processing buffer {"connection_id":219418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416fd6f8012d520640064b1d40000a014a30..."} 
[2026-10-16 02:51:33] local.INFO: Packet analysis {"connection_id":219418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416f"} 
[2026-10-16 02:51:33] local.INFO: Extracted packet for processing {"connection_id":219418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416f"} 
[2026-10-16 02:51:33] local.INFO: GPS Element Parsed {"raw_longitude":760350272,"raw_latitude":105585984,"longitude_deg":76.0350272,"latitude_deg":10.5585984,"altitude":10,"angle":330,"satellites":48,"speed":47,"hex_longitude":"2d520640","hex_latitude":"064b1d40","is_valid_coordinates":true} 
[2026-10-16 02:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777395968001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12206245515624448,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5915478137579020288,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792099211000,"timestamp_ms":1792099211000,"timestamp_seconds":1792099211,"priority":1,"record_length":96,"hex_timestamp":"000001a1416fd6f8"} 
[2026-10-16 02:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 02:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777395968001,"66":27300,"89":206,"19":38144,"24":47,"16":12206245515624448,"45":5915478137579020288},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-10-16 02:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777395968001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:51:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-10-16 02:51:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12206245515624448,"km_value":12206245515624.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5915478137579020288,"description":"Unknown IO ID 45"} 
[2026-10-16 02:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777395968001,"power":27300,"unknown_89":206,"unknown_19":38144,"ignition":47,"odometer":null,"unknown_45":5915478137579020288}} 
[2026-10-16 02:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":219418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043876,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:51:33] local.INFO: GPS data processed {"connection_id":219418,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:51:33] local.INFO: Acknowledgment sent {"connection_id":219418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:51:33] local.INFO: TCP Data received {"connection_id":216340,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:51:33] local.INFO: Processing buffer {"connection_id":216340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:51:33] local.INFO: IMEI packet received {"connection_id":216340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":216340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:51:34] local.INFO: TCP Data received {"connection_id":216340,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:51:34] local.INFO: Processing buffer {"connection_id":216340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:51:34] local.INFO: Packet analysis {"connection_id":216340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:51:34] local.INFO: Extracted packet for processing {"connection_id":216340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777329664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792099245000,"timestamp_ms":1792099245000,"timestamp_seconds":1792099245,"priority":1,"record_length":96,"hex_timestamp":"000001a141705bc8"} 
[2026-10-16 02:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777329664001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777329664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:51:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777329664001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":216340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:51:34] local.INFO: GPS data processed {"connection_id":216340,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:51:34] local.INFO: Acknowledgment sent {"connection_id":216340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:51:37] local.INFO: TCP Data received {"connection_id":216340,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:51:37] local.INFO: Processing buffer {"connection_id":216340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:51:37] local.INFO: Packet analysis {"connection_id":216340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:51:37] local.INFO: Extracted packet for processing {"connection_id":216340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777329664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792099245000,"timestamp_ms":1792099245000,"timestamp_seconds":1792099245,"priority":1,"record_length":96,"hex_timestamp":"000001a141705bc8"} 
[2026-10-16 02:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:51:37] 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-10-16 02: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-10-16 02:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:51:37] 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-10-16 02:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777329664001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777329664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:51:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777329664001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":216340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:51:37] local.INFO: GPS data processed {"connection_id":216340,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:51:37] local.INFO: Acknowledgment sent {"connection_id":216340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:51:52] local.INFO: TCP Data received {"connection_id":219419,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:51:52] local.INFO: Processing buffer {"connection_id":219419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:51:52] local.INFO: IMEI packet received {"connection_id":219419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":219419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:51:56] local.INFO: TCP Data received {"connection_id":216144,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:51:56] local.INFO: Processing buffer {"connection_id":216144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416c7b98012d7f98c005afddb00000002f26..."} 
[2026-10-16 02:51:56] local.INFO: Packet analysis {"connection_id":216144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:51:56] local.INFO: Extracted packet for processing {"connection_id":216144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416c"} 
[2026-10-16 02:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792098991000,"timestamp_ms":1792098991000,"timestamp_seconds":1792098991,"priority":1,"record_length":96,"hex_timestamp":"000001a1416c7b98"} 
[2026-10-16 02:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:51: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-10-16 02:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 02:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777264640001,"66":25973,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:51:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:51:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777264640001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":216144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:51:56] local.INFO: GPS data processed {"connection_id":216144,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:51:56] local.INFO: Acknowledgment sent {"connection_id":216144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:52:17] local.INFO: TCP Data received {"connection_id":216341,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:52:17] local.INFO: Processing buffer {"connection_id":216341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:52:17] local.INFO: IMEI packet received {"connection_id":216341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":216341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:52:21] local.INFO: TCP Data received {"connection_id":217696,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:52:21] local.INFO: Processing buffer {"connection_id":217696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:52:21] local.INFO: IMEI packet received {"connection_id":217696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":217696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:52:23] local.INFO: TCP Data received {"connection_id":216341,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:52:23] local.INFO: Processing buffer {"connection_id":216341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:52:23] local.INFO: IMEI packet received {"connection_id":216341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":216341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:52:24] local.INFO: TCP Data received {"connection_id":216341,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:52:24] local.INFO: Processing buffer {"connection_id":216341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:52:24] local.INFO: Packet analysis {"connection_id":216341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:52:24] local.INFO: Extracted packet for processing {"connection_id":216341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:52:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:52: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-10-16 02:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777341696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099292000,"timestamp_ms":1792099292000,"timestamp_seconds":1792099292,"priority":1,"record_length":96,"hex_timestamp":"000001a141711360"} 
[2026-10-16 02:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:52: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 02:52:24] 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-10-16 02:52: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-10-16 02:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777341696001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777341696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:52:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:52:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777341696001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":216341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:52:24] local.INFO: GPS data processed {"connection_id":216341,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:52:24] local.INFO: Acknowledgment sent {"connection_id":216341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:52:26] local.INFO: TCP Data received {"connection_id":219419,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:26] local.INFO: Processing buffer {"connection_id":219419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:26] local.INFO: IMEI packet received {"connection_id":219419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":219419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:52:26] local.INFO: TCP Data received {"connection_id":217696,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:52:26] local.INFO: Processing buffer {"connection_id":217696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:52:26] local.INFO: IMEI packet received {"connection_id":217696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":217696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:52:27] local.INFO: TCP Data received {"connection_id":217696,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:52:27] local.INFO: Processing buffer {"connection_id":217696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:52:27] local.INFO: Packet analysis {"connection_id":217696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:52:27] local.INFO: Extracted packet for processing {"connection_id":217696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777329664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099245000,"timestamp_ms":1792099245000,"timestamp_seconds":1792099245,"priority":1,"record_length":96,"hex_timestamp":"000001a141705bc8"} 
[2026-10-16 02:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:52:27] 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-10-16 02:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777329664001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777329664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:52:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777329664001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":217696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:52:28] local.INFO: GPS data processed {"connection_id":217696,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:52:28] local.INFO: Acknowledgment sent {"connection_id":217696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:52:31] local.INFO: TCP Data received {"connection_id":219419,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:31] local.INFO: Processing buffer {"connection_id":219419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:31] local.INFO: IMEI packet received {"connection_id":219419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":219419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:52:33] local.INFO: TCP Data received {"connection_id":219419,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1416ff638012d51f0c0064b3d780009014330..."} 
[2026-10-16 02:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1416ff638012d51f0c0064b3d780009014330..."} 
[2026-10-16 02:52:33] local.INFO: Processing buffer {"connection_id":219419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1416ff638012d51f0c0064b3d780009014330..."} 
[2026-10-16 02:52:33] local.INFO: Packet analysis {"connection_id":219419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1416f"} 
[2026-10-16 02:52:33] local.INFO: Extracted packet for processing {"connection_id":219419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1416f"} 
[2026-10-16 02:52:33] local.INFO: GPS Element Parsed {"raw_longitude":760344768,"raw_latitude":105594232,"longitude_deg":76.0344768,"latitude_deg":10.5594232,"altitude":9,"angle":323,"satellites":48,"speed":49,"hex_longitude":"2d51f0c0","hex_latitude":"064b3d78","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777398016001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12206722256994304,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5910481956744544256,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792099219000,"timestamp_ms":1792099219000,"timestamp_seconds":1792099219,"priority":1,"record_length":96,"hex_timestamp":"000001a1416ff638"} 
[2026-10-16 02:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 02:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777398016001,"66":27430,"89":206,"19":38144,"24":49,"16":12206722256994304,"45":5910481956744544256},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-10-16 02:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777398016001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:52:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-10-16 02:52:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12206722256994304,"km_value":12206722256994.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5910481956744544256,"description":"Unknown IO ID 45"} 
[2026-10-16 02:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777398016001,"power":27430,"unknown_89":206,"unknown_19":38144,"ignition":49,"odometer":null,"unknown_45":5910481956744544256}} 
[2026-10-16 02:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":219419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:52:33] local.INFO: GPS data processed {"connection_id":219419,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:52:33] local.INFO: Acknowledgment sent {"connection_id":219419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:52:40] local.INFO: TCP Data received {"connection_id":219419,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141713e58012d517140064c4158000500092d..."} 
[2026-10-16 02:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141713e58012d517140064c4158000500092d..."} 
[2026-10-16 02:52:40] local.INFO: Processing buffer {"connection_id":219419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141713e58012d517140064c4158000500092d..."} 
[2026-10-16 02:52:40] local.INFO: Packet analysis {"connection_id":219419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:52:40] local.INFO: Extracted packet for processing {"connection_id":219419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:52:40] local.INFO: GPS Element Parsed {"raw_longitude":760312128,"raw_latitude":105660760,"longitude_deg":76.0312128,"latitude_deg":10.566076,"altitude":5,"angle":9,"satellites":45,"speed":18,"hex_longitude":"2d517140","hex_latitude":"064c4158","is_valid_coordinates":true} 
[2026-10-16 02:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777421056001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12210403043966976,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868049604024363008,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792099303000,"timestamp_ms":1792099303000,"timestamp_seconds":1792099303,"priority":1,"record_length":96,"hex_timestamp":"000001a141713e58"} 
[2026-10-16 02:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:52: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-10-16 02:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 02:52:40] 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-10-16 02:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":219419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":219419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":219419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777421056001,"66":27245,"89":206,"19":38144,"24":18,"16":12210403043966976,"45":5868049604024363008},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-10-16 02:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777421056001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:52:40] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-10-16 02:52:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12210403043966976,"km_value":12210403043966.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868049604024363008,"description":"Unknown IO ID 45"} 
[2026-10-16 02:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777421056001,"power":27245,"unknown_89":206,"unknown_19":38144,"ignition":18,"odometer":null,"unknown_45":5868049604024363008}} 
[2026-10-16 02:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":219419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043883,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:52:40] local.INFO: GPS data processed {"connection_id":219419,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:52:40] local.INFO: Acknowledgment sent {"connection_id":219419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:52:56] local.INFO: TCP Data received {"connection_id":216341,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:52:56] local.INFO: Processing buffer {"connection_id":216341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:52:56] local.INFO: Packet analysis {"connection_id":216341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:52:56] local.INFO: Extracted packet for processing {"connection_id":216341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777341696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792099292000,"timestamp_ms":1792099292000,"timestamp_seconds":1792099292,"priority":1,"record_length":96,"hex_timestamp":"000001a141711360"} 
[2026-10-16 02:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:52: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-10-16 02:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 02:52:56] 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-10-16 02:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777341696001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777341696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:52:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:52:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777341696001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":216341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:52:56] local.INFO: GPS data processed {"connection_id":216341,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:52:56] local.INFO: Acknowledgment sent {"connection_id":216341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:52:58] local.INFO: TCP Data received {"connection_id":216145,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:58] local.INFO: Processing buffer {"connection_id":216145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:58] local.INFO: IMEI packet received {"connection_id":216145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":216145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:52:58] local.INFO: TCP Data received {"connection_id":216145,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:58] local.INFO: Processing buffer {"connection_id":216145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:52:58] local.INFO: IMEI packet received {"connection_id":216145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":216145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:53:00] local.INFO: TCP Data received {"connection_id":216145,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141714240012d517140064c4328000501642e..."} 
[2026-10-16 02:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141714240012d517140064c4328000501642e..."} 
[2026-10-16 02:53:00] local.INFO: Processing buffer {"connection_id":216145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141714240012d517140064c4328000501642e..."} 
[2026-10-16 02:53:00] local.INFO: Packet analysis {"connection_id":216145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:53:00] local.INFO: Extracted packet for processing {"connection_id":216145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:53:00] local.INFO: GPS Element Parsed {"raw_longitude":760312128,"raw_latitude":105661224,"longitude_deg":76.0312128,"latitude_deg":10.5661224,"altitude":5,"angle":356,"satellites":46,"speed":18,"hex_longitude":"2d517140","hex_latitude":"064c4328","is_valid_coordinates":true} 
[2026-10-16 02:53: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-10-16 02:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777421568001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12210424518803456,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868542185233799168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792099304000,"timestamp_ms":1792099304000,"timestamp_seconds":1792099304,"priority":1,"record_length":96,"hex_timestamp":"000001a141714240"} 
[2026-10-16 02:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 02:53:00] 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-10-16 02:53: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-10-16 02:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777421568001,"66":27245,"89":206,"19":38144,"24":18,"16":12210424518803456,"45":5868542185233799168},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-10-16 02:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777421568001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:53:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-10-16 02:53:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12210424518803456,"km_value":12210424518803.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868542185233799168,"description":"Unknown IO ID 45"} 
[2026-10-16 02:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777421568001,"power":27245,"unknown_89":206,"unknown_19":38144,"ignition":18,"odometer":null,"unknown_45":5868542185233799168}} 
[2026-10-16 02:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":216145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:53:00] local.INFO: GPS data processed {"connection_id":216145,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:53:00] local.INFO: Acknowledgment sent {"connection_id":216145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:53:02] local.INFO: TCP Data received {"connection_id":217696,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:53:02] local.INFO: Processing buffer {"connection_id":217696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:53:02] local.INFO: Packet analysis {"connection_id":217696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:53:02] local.INFO: Extracted packet for processing {"connection_id":217696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777329664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792099245000,"timestamp_ms":1792099245000,"timestamp_seconds":1792099245,"priority":1,"record_length":96,"hex_timestamp":"000001a141705bc8"} 
[2026-10-16 02:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:53:02] 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-10-16 02:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":217696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":217696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":217696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777329664001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777329664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:53:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777329664001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":217696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:53:02] local.INFO: GPS data processed {"connection_id":217696,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:53:02] local.INFO: Acknowledgment sent {"connection_id":217696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:53:03] local.INFO: TCP Data received {"connection_id":216145,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141714a10012d517040064c46c0000601562d..."} 
[2026-10-16 02:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141714a10012d517040064c46c0000601562d..."} 
[2026-10-16 02:53:03] local.INFO: Processing buffer {"connection_id":216145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141714a10012d517040064c46c0000601562d..."} 
[2026-10-16 02:53:03] local.INFO: Packet analysis {"connection_id":216145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:53:03] local.INFO: Extracted packet for processing {"connection_id":216145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:53:03] local.INFO: GPS Element Parsed {"raw_longitude":760311872,"raw_latitude":105662144,"longitude_deg":76.0311872,"latitude_deg":10.5662144,"altitude":6,"angle":342,"satellites":45,"speed":18,"hex_longitude":"2d517040","hex_latitude":"064c46c0","is_valid_coordinates":true} 
[2026-10-16 02:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777421824001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12210471763443712,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868542185233917952,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792099306000,"timestamp_ms":1792099306000,"timestamp_seconds":1792099306,"priority":1,"record_length":96,"hex_timestamp":"000001a141714a10"} 
[2026-10-16 02:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:53: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-10-16 02:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 02:53:03] 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-10-16 02:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777421824001,"66":27071,"89":206,"19":38144,"24":18,"16":12210471763443712,"45":5868542185233917952},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-10-16 02:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777421824001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:53:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-10-16 02:53:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12210471763443712,"km_value":12210471763443.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868542185233917952,"description":"Unknown IO ID 45"} 
[2026-10-16 02:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777421824001,"power":27071,"unknown_89":206,"unknown_19":38144,"ignition":18,"odometer":null,"unknown_45":5868542185233917952}} 
[2026-10-16 02:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":216145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:53:03] local.INFO: GPS data processed {"connection_id":216145,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:53:03] local.INFO: Acknowledgment sent {"connection_id":216145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:53:21] local.INFO: TCP Data received {"connection_id":216147,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:53:21] local.INFO: Processing buffer {"connection_id":216147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:53:21] local.INFO: IMEI packet received {"connection_id":216147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":216147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:53:23] local.INFO: TCP Data received {"connection_id":216146,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:53:23] local.INFO: Processing buffer {"connection_id":216146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:53:23] local.INFO: IMEI packet received {"connection_id":216146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":216146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:53:27] local.INFO: TCP Data received {"connection_id":216146,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:53:27] local.INFO: Processing buffer {"connection_id":216146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:53:27] local.INFO: IMEI packet received {"connection_id":216146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":216146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:53:28] local.INFO: TCP Data received {"connection_id":216146,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:53:28] local.INFO: Processing buffer {"connection_id":216146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:53:28] local.INFO: Packet analysis {"connection_id":216146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:53:28] local.INFO: Extracted packet for processing {"connection_id":216146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:53:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777341696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792099292000,"timestamp_ms":1792099292000,"timestamp_seconds":1792099292,"priority":1,"record_length":96,"hex_timestamp":"000001a141711360"} 
[2026-10-16 02:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 02:53:28] 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-10-16 02:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777341696001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777341696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:53:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:53:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777341696001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":216146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:53:28] local.INFO: GPS data processed {"connection_id":216146,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:53:28] local.INFO: Acknowledgment sent {"connection_id":216146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:53:29] local.INFO: TCP Data received {"connection_id":216147,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:53:29] local.INFO: Processing buffer {"connection_id":216147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:53:29] local.INFO: IMEI packet received {"connection_id":216147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":216147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:53:30] local.INFO: TCP Data received {"connection_id":216147,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:53:30] local.INFO: Processing buffer {"connection_id":216147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:53:30] local.INFO: Packet analysis {"connection_id":216147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:53:30] local.INFO: Extracted packet for processing {"connection_id":216147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777329664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792099245000,"timestamp_ms":1792099245000,"timestamp_seconds":1792099245,"priority":1,"record_length":96,"hex_timestamp":"000001a141705bc8"} 
[2026-10-16 02:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:53: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-10-16 02: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-10-16 02:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777329664001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777329664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:53:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777329664001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":216147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:53:30] local.INFO: GPS data processed {"connection_id":216147,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:53:30] local.INFO: Acknowledgment sent {"connection_id":216147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:53:33] local.INFO: TCP Data received {"connection_id":216146,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:53:33] local.INFO: Processing buffer {"connection_id":216146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:53:33] local.INFO: Packet analysis {"connection_id":216146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:53:33] local.INFO: Extracted packet for processing {"connection_id":216146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777341696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792099292000,"timestamp_ms":1792099292000,"timestamp_seconds":1792099292,"priority":1,"record_length":96,"hex_timestamp":"000001a141711360"} 
[2026-10-16 02:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 02:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777341696001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777341696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:53:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777341696001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":216146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:53:33] local.INFO: GPS data processed {"connection_id":216146,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:53:33] local.INFO: Acknowledgment sent {"connection_id":216146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:53:35] local.INFO: TCP Data received {"connection_id":216145,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141717cd8012d5163c0064c61e8000701492d..."} 
[2026-10-16 02:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141717cd8012d5163c0064c61e8000701492d..."} 
[2026-10-16 02:53:35] local.INFO: Processing buffer {"connection_id":216145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141717cd8012d5163c0064c61e8000701492d..."} 
[2026-10-16 02:53:35] local.INFO: Packet analysis {"connection_id":216145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:53:35] local.INFO: Extracted packet for processing {"connection_id":216145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:53:35] local.INFO: GPS Element Parsed {"raw_longitude":760308672,"raw_latitude":105669096,"longitude_deg":76.0308672,"latitude_deg":10.5669096,"altitude":7,"angle":329,"satellites":45,"speed":25,"hex_longitude":"2d5163c0","hex_latitude":"064c61e8","is_valid_coordinates":true} 
[2026-10-16 02:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777422336001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12210841130631168,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868260710257442816,"note":"Value kept but may cause issues"} 
[2026-10-16 02:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792099319000,"timestamp_ms":1792099319000,"timestamp_seconds":1792099319,"priority":1,"record_length":96,"hex_timestamp":"000001a141717cd8"} 
[2026-10-16 02:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:53: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-10-16 02:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 02:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777422336001,"66":27517,"89":206,"19":38144,"24":25,"16":12210841130631168,"45":5868260710257442816},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-10-16 02:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777422336001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:53:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-10-16 02:53:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12210841130631168,"km_value":12210841130631.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868260710257442816,"description":"Unknown IO ID 45"} 
[2026-10-16 02:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777422336001,"power":27517,"unknown_89":206,"unknown_19":38144,"ignition":25,"odometer":null,"unknown_45":5868260710257442816}} 
[2026-10-16 02:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":216145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:53:35] local.INFO: GPS data processed {"connection_id":216145,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:53:35] local.INFO: Acknowledgment sent {"connection_id":216145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:53:53] local.INFO: TCP Data received {"connection_id":216342,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:53:53] local.INFO: Processing buffer {"connection_id":216342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:53:53] local.INFO: IMEI packet received {"connection_id":216342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":216342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:53:54] local.INFO: TCP Data received {"connection_id":216342,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:53:54] local.INFO: Processing buffer {"connection_id":216342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:53:54] local.INFO: IMEI packet received {"connection_id":216342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":216342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:53:58] local.INFO: TCP Data received {"connection_id":216342,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:53:58] local.INFO: Processing buffer {"connection_id":216342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:53:58] local.INFO: IMEI packet received {"connection_id":216342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":216342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:54:00] local.INFO: TCP Data received {"connection_id":216342,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14171a7d0012d5152c0064c8070000801472e..."} 
[2026-10-16 02:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14171a7d0012d5152c0064c8070000801472e..."} 
[2026-10-16 02:54:00] local.INFO: Processing buffer {"connection_id":216342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14171a7d0012d5152c0064c8070000801472e..."} 
[2026-10-16 02:54:00] local.INFO: Packet analysis {"connection_id":216342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:54:00] local.INFO: Extracted packet for processing {"connection_id":216342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:54:00] local.INFO: GPS Element Parsed {"raw_longitude":760304320,"raw_latitude":105676912,"longitude_deg":76.030432,"latitude_deg":10.5676912,"altitude":8,"angle":327,"satellites":46,"speed":35,"hex_longitude":"2d5152c0","hex_latitude":"064c8070","is_valid_coordinates":true} 
[2026-10-16 02:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12211274922328064,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5864742273050339328,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792099330000,"timestamp_ms":1792099330000,"timestamp_seconds":1792099330,"priority":1,"record_length":96,"hex_timestamp":"000001a14171a7d0"} 
[2026-10-16 02:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 02:54:00] 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-10-16 02:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777425664001,"66":27430,"89":206,"19":38144,"24":35,"16":12211274922328064,"45":5864742273050339328},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-10-16 02:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:54:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-10-16 02:54:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12211274922328064,"km_value":12211274922328.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5864742273050339328,"description":"Unknown IO ID 45"} 
[2026-10-16 02:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777425664001,"power":27430,"unknown_89":206,"unknown_19":38144,"ignition":35,"odometer":null,"unknown_45":5864742273050339328}} 
[2026-10-16 02:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":216342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:54:00] local.INFO: GPS data processed {"connection_id":216342,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:54:00] local.INFO: Acknowledgment sent {"connection_id":216342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:54:01] local.INFO: TCP Data received {"connection_id":216147,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:54:01] local.INFO: Processing buffer {"connection_id":216147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:54:01] local.INFO: Packet analysis {"connection_id":216147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:54:01] local.INFO: Extracted packet for processing {"connection_id":216147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777329664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792099245000,"timestamp_ms":1792099245000,"timestamp_seconds":1792099245,"priority":1,"record_length":96,"hex_timestamp":"000001a141705bc8"} 
[2026-10-16 02:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:54:01] 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-10-16 02:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777329664001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777329664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:54:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777329664001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":216147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:54:01] local.INFO: GPS data processed {"connection_id":216147,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:54:01] local.INFO: Acknowledgment sent {"connection_id":216147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:54:03] local.INFO: TCP Data received {"connection_id":216342,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14171cee0012d513dc0064c9ca8000801422a..."} 
[2026-10-16 02:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14171cee0012d513dc0064c9ca8000801422a..."} 
[2026-10-16 02:54:03] local.INFO: Processing buffer {"connection_id":216342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14171cee0012d513dc0064c9ca8000801422a..."} 
[2026-10-16 02:54:03] local.INFO: Packet analysis {"connection_id":216342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:54:03] local.INFO: Extracted packet for processing {"connection_id":216342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":760298944,"raw_latitude":105684136,"longitude_deg":76.0298944,"latitude_deg":10.5684136,"altitude":8,"angle":322,"satellites":42,"speed":34,"hex_longitude":"2d513dc0","hex_latitude":"064c9ca8","is_valid_coordinates":true} 
[2026-10-16 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777428480001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12211708714024960,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5859957198448259072,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792099340000,"timestamp_ms":1792099340000,"timestamp_seconds":1792099340,"priority":1,"record_length":96,"hex_timestamp":"000001a14171cee0"} 
[2026-10-16 02:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:54: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-10-16 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 02:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777428480001,"66":27626,"34":206,"19":38144,"24":34,"16":12211708714024960,"45":5859957198448259072},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777428480001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:54:03] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:54:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12211708714024960,"km_value":12211708714024.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5859957198448259072,"description":"Unknown IO ID 45"} 
[2026-10-16 02:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777428480001,"power":27626,"unknown_34":206,"unknown_19":38144,"ignition":34,"odometer":null,"unknown_45":5859957198448259072}} 
[2026-10-16 02:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":216342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:54:03] local.INFO: GPS data processed {"connection_id":216342,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:54:03] local.INFO: Acknowledgment sent {"connection_id":216342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:54:18] local.INFO: TCP Data received {"connection_id":216148,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:54:18] local.INFO: Processing buffer {"connection_id":216148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:54:18] local.INFO: IMEI packet received {"connection_id":216148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":216148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:54:22] local.INFO: TCP Data received {"connection_id":216343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:54:22] local.INFO: Processing buffer {"connection_id":216343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:54:22] local.INFO: IMEI packet received {"connection_id":216343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":216343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:54:23] local.INFO: TCP Data received {"connection_id":216148,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:54:23] local.INFO: Processing buffer {"connection_id":216148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:54:23] local.INFO: IMEI packet received {"connection_id":216148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":216148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:54:24] local.INFO: TCP Data received {"connection_id":216148,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:54:24] local.INFO: Processing buffer {"connection_id":216148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:54:24] local.INFO: Packet analysis {"connection_id":216148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:54:24] local.INFO: Extracted packet for processing {"connection_id":216148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777341696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099292000,"timestamp_ms":1792099292000,"timestamp_seconds":1792099292,"priority":1,"record_length":96,"hex_timestamp":"000001a141711360"} 
[2026-10-16 02:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:54: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 02:54:24] 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-10-16 02:54: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-10-16 02:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777341696001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777341696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:54:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:54:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777341696001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":216148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:54:24] local.INFO: GPS data processed {"connection_id":216148,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:54:24] local.INFO: Acknowledgment sent {"connection_id":216148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:54:27] local.INFO: TCP Data received {"connection_id":216343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:54:27] local.INFO: Processing buffer {"connection_id":216343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:54:27] local.INFO: IMEI packet received {"connection_id":216343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":216343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:54:28] local.INFO: TCP Data received {"connection_id":216343,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:54:28] local.INFO: Processing buffer {"connection_id":216343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:54:28] local.INFO: Packet analysis {"connection_id":216343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:54:28] local.INFO: Extracted packet for processing {"connection_id":216343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777329664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792099245000,"timestamp_ms":1792099245000,"timestamp_seconds":1792099245,"priority":1,"record_length":96,"hex_timestamp":"000001a141705bc8"} 
[2026-10-16 02:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:54:28] 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-10-16 02:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:54:28] 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-10-16 02:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777329664001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777329664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:54:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777329664001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":216343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:54:28] local.INFO: GPS data processed {"connection_id":216343,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:54:28] local.INFO: Acknowledgment sent {"connection_id":216343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:54:36] local.INFO: TCP Data received {"connection_id":216342,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14171f208012d512d00064cb850000a014e29..."} 
[2026-10-16 02:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14171f208012d512d00064cb850000a014e29..."} 
[2026-10-16 02:54:36] local.INFO: Processing buffer {"connection_id":216342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14171f208012d512d00064cb850000a014e29..."} 
[2026-10-16 02:54:36] local.INFO: Packet analysis {"connection_id":216342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:54:36] local.INFO: Extracted packet for processing {"connection_id":216342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:54:36] local.INFO: GPS Element Parsed {"raw_longitude":760294656,"raw_latitude":105691216,"longitude_deg":76.0294656,"latitude_deg":10.5691216,"altitude":10,"angle":334,"satellites":41,"speed":36,"hex_longitude":"2d512d00","hex_latitude":"064cb850","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777431040001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12212108145983488,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5854046223939184640,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792099349000,"timestamp_ms":1792099349000,"timestamp_seconds":1792099349,"priority":1,"record_length":96,"hex_timestamp":"000001a14171f208"} 
[2026-10-16 02:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:54: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-10-16 02: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-16 02:54: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-10-16 02: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-10-16 02:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777431040001,"66":27430,"34":206,"19":38144,"24":36,"16":12212108145983488,"45":5854046223939184640},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777431040001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:54:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:54:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12212108145983488,"km_value":12212108145983.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5854046223939184640,"description":"Unknown IO ID 45"} 
[2026-10-16 02:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777431040001,"power":27430,"unknown_34":206,"unknown_19":38144,"ignition":36,"odometer":null,"unknown_45":5854046223939184640}} 
[2026-10-16 02:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":216342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:54:36] local.INFO: GPS data processed {"connection_id":216342,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:54:36] local.INFO: Acknowledgment sent {"connection_id":216342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:54:52] local.INFO: TCP Data received {"connection_id":219420,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:54:52] local.INFO: Processing buffer {"connection_id":219420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:54:52] local.INFO: IMEI packet received {"connection_id":219420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":219420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:54:56] local.INFO: TCP Data received {"connection_id":216148,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:54:56] local.INFO: Processing buffer {"connection_id":216148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:54:56] local.INFO: Packet analysis {"connection_id":216148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:54:56] local.INFO: Extracted packet for processing {"connection_id":216148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777341696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792099292000,"timestamp_ms":1792099292000,"timestamp_seconds":1792099292,"priority":1,"record_length":96,"hex_timestamp":"000001a141711360"} 
[2026-10-16 02:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:54: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-10-16 02:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 02:54:56] 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-10-16 02:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777341696001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777341696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:54:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:54:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777341696001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":216148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:54:56] local.INFO: GPS data processed {"connection_id":216148,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:54:56] local.INFO: Acknowledgment sent {"connection_id":216148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:54:57] local.INFO: TCP Data received {"connection_id":219420,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:54:57] local.INFO: Processing buffer {"connection_id":219420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:54:57] local.INFO: IMEI packet received {"connection_id":219420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":219420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:54:59] local.INFO: TCP Data received {"connection_id":219420,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141721918012d511e00064cd8b80008014e2c..."} 
[2026-10-16 02:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141721918012d511e00064cd8b80008014e2c..."} 
[2026-10-16 02:54:59] local.INFO: Processing buffer {"connection_id":219420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141721918012d511e00064cd8b80008014e2c..."} 
[2026-10-16 02:54:59] local.INFO: Packet analysis {"connection_id":219420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14172"} 
[2026-10-16 02:54:59] local.INFO: Extracted packet for processing {"connection_id":219420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14172"} 
[2026-10-16 02:54:59] local.INFO: GPS Element Parsed {"raw_longitude":760290816,"raw_latitude":105699512,"longitude_deg":76.0290816,"latitude_deg":10.5699512,"altitude":8,"angle":334,"satellites":44,"speed":35,"hex_longitude":"2d511e00","hex_latitude":"064cd8b8","is_valid_coordinates":true} 
[2026-10-16 02:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777433344001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12212550527614976,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5849331518081093632,"note":"Value kept but may cause issues"} 
[2026-10-16 02:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099359000,"timestamp_ms":1792099359000,"timestamp_seconds":1792099359,"priority":1,"record_length":96,"hex_timestamp":"000001a141721918"} 
[2026-10-16 02:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:54: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-10-16 02:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 02:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777433344001,"66":27517,"34":206,"19":38144,"24":35,"16":12212550527614976,"45":5849331518081093632},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777433344001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:54:59] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:54:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12212550527614976,"km_value":12212550527614.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5849331518081093632,"description":"Unknown IO ID 45"} 
[2026-10-16 02:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777433344001,"power":27517,"unknown_34":206,"unknown_19":38144,"ignition":35,"odometer":null,"unknown_45":5849331518081093632}} 
[2026-10-16 02:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":219420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:54:59] local.INFO: GPS data processed {"connection_id":219420,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:54:59] local.INFO: Acknowledgment sent {"connection_id":219420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:55:00] local.INFO: TCP Data received {"connection_id":216343,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:55:00] local.INFO: Processing buffer {"connection_id":216343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:55:00] local.INFO: Packet analysis {"connection_id":216343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:55:00] local.INFO: Extracted packet for processing {"connection_id":216343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777329664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792099245000,"timestamp_ms":1792099245000,"timestamp_seconds":1792099245,"priority":1,"record_length":96,"hex_timestamp":"000001a141705bc8"} 
[2026-10-16 02:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:55: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-10-16 02:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:55:00] 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-10-16 02:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:55: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-10-16 02:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777329664001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777329664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:55:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777329664001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":216343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:55:00] local.INFO: GPS data processed {"connection_id":216343,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:55:00] local.INFO: Acknowledgment sent {"connection_id":216343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:55:17] local.INFO: TCP Data received {"connection_id":219421,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:55:17] local.INFO: Processing buffer {"connection_id":219421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:55:17] local.INFO: IMEI packet received {"connection_id":219421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":219421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:55:21] local.INFO: TCP Data received {"connection_id":217697,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:55:21] local.INFO: Processing buffer {"connection_id":217697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:55:21] local.INFO: IMEI packet received {"connection_id":217697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":217697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:55:23] local.INFO: TCP Data received {"connection_id":219421,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:55:23] local.INFO: Processing buffer {"connection_id":219421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:55:23] local.INFO: IMEI packet received {"connection_id":219421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":219421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:55:24] local.INFO: TCP Data received {"connection_id":219421,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:55:24] local.INFO: Processing buffer {"connection_id":219421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:55:24] local.INFO: Packet analysis {"connection_id":219421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:55:24] local.INFO: Extracted packet for processing {"connection_id":219421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777341696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099292000,"timestamp_ms":1792099292000,"timestamp_seconds":1792099292,"priority":1,"record_length":96,"hex_timestamp":"000001a141711360"} 
[2026-10-16 02:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 02:55:24] 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-10-16 02:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777341696001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777341696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:55:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:55:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777341696001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":219421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:55:24] local.INFO: GPS data processed {"connection_id":219421,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:55:24] local.INFO: Acknowledgment sent {"connection_id":219421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:55:26] local.INFO: TCP Data received {"connection_id":217697,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:55:26] local.INFO: Processing buffer {"connection_id":217697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:55:26] local.INFO: IMEI packet received {"connection_id":217697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":217697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:55:27] local.INFO: TCP Data received {"connection_id":217697,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:55:27] local.INFO: Processing buffer {"connection_id":217697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141705bc8012d7c240005dad510000a00ea20..."} 
[2026-10-16 02:55:27] local.INFO: Packet analysis {"connection_id":217697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:55:27] local.INFO: Extracted packet for processing {"connection_id":217697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14170"} 
[2026-10-16 02:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777329664001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099245000,"timestamp_ms":1792099245000,"timestamp_seconds":1792099245,"priority":1,"record_length":96,"hex_timestamp":"000001a141705bc8"} 
[2026-10-16 02:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:55:27] 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-10-16 02: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-10-16 02:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777329664001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777329664001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:55:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777329664001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":217697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:55:27] local.INFO: GPS data processed {"connection_id":217697,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:55:27] local.INFO: Acknowledgment sent {"connection_id":217697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:55:30] local.INFO: TCP Data received {"connection_id":219420,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141724fc8012d510e00064cf9d8000701502c..."} 
[2026-10-16 02:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141724fc8012d510e00064cf9d8000701502c..."} 
[2026-10-16 02:55:30] local.INFO: Processing buffer {"connection_id":219420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141724fc8012d510e00064cf9d8000701502c..."} 
[2026-10-16 02:55:30] local.INFO: Packet analysis {"connection_id":219420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14172"} 
[2026-10-16 02:55:30] local.INFO: Extracted packet for processing {"connection_id":219420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14172"} 
[2026-10-16 02:55:30] local.INFO: GPS Element Parsed {"raw_longitude":760286720,"raw_latitude":105707992,"longitude_deg":76.028672,"latitude_deg":10.5707992,"altitude":7,"angle":336,"satellites":44,"speed":24,"hex_longitude":"2d510e00","hex_latitude":"064cf9d8","is_valid_coordinates":true} 
[2026-10-16 02:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777435904001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12213005794148352,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5845109393432557568,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792099373000,"timestamp_ms":1792099373000,"timestamp_seconds":1792099373,"priority":1,"record_length":96,"hex_timestamp":"000001a141724fc8"} 
[2026-10-16 02:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 02:55:30] 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-10-16 02:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777435904001,"66":27767,"34":206,"19":38144,"24":24,"16":12213005794148352,"45":5845109393432557568},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777435904001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:55:30] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:55:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12213005794148352,"km_value":12213005794148.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5845109393432557568,"description":"Unknown IO ID 45"} 
[2026-10-16 02:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777435904001,"power":27767,"unknown_34":206,"unknown_19":38144,"ignition":24,"odometer":null,"unknown_45":5845109393432557568}} 
[2026-10-16 02:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":219420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:55:30] local.INFO: GPS data processed {"connection_id":219420,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:55:30] local.INFO: Acknowledgment sent {"connection_id":219420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:55:52] local.INFO: TCP Data received {"connection_id":216149,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:55:52] local.INFO: Processing buffer {"connection_id":216149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:55:52] local.INFO: IMEI packet received {"connection_id":216149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":216149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:55:56] local.INFO: TCP Data received {"connection_id":219421,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:55:56] local.INFO: Processing buffer {"connection_id":219421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:55:56] local.INFO: Packet analysis {"connection_id":219421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:55:56] local.INFO: Extracted packet for processing {"connection_id":219421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777341696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792099292000,"timestamp_ms":1792099292000,"timestamp_seconds":1792099292,"priority":1,"record_length":96,"hex_timestamp":"000001a141711360"} 
[2026-10-16 02:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:55: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-10-16 02:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 02:55:56] 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-10-16 02:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777341696001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777341696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:55:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:55:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777341696001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":219421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:55:56] local.INFO: GPS data processed {"connection_id":219421,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:55:56] local.INFO: Acknowledgment sent {"connection_id":219421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:55:58] local.INFO: TCP Data received {"connection_id":216149,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:55:58] local.INFO: Processing buffer {"connection_id":216149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:55:58] local.INFO: IMEI packet received {"connection_id":216149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":216149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:55:59] local.INFO: TCP Data received {"connection_id":216149,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14172a1d0012d510340064d12e80003014f2b..."} 
[2026-10-16 02:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14172a1d0012d510340064d12e80003014f2b..."} 
[2026-10-16 02:55:59] local.INFO: Processing buffer {"connection_id":216149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14172a1d0012d510340064d12e80003014f2b..."} 
[2026-10-16 02:55:59] local.INFO: Packet analysis {"connection_id":216149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14172"} 
[2026-10-16 02:55:59] local.INFO: Extracted packet for processing {"connection_id":216149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14172"} 
[2026-10-16 02:55:59] local.INFO: GPS Element Parsed {"raw_longitude":760283968,"raw_latitude":105714408,"longitude_deg":76.0283968,"latitude_deg":10.5714408,"altitude":3,"angle":335,"satellites":43,"speed":8,"hex_longitude":"2d510340","hex_latitude":"064d12e8","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777439488001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12213345096564736,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5840605793807357952,"note":"Value kept but may cause issues"} 
[2026-10-16 02:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099394000,"timestamp_ms":1792099394000,"timestamp_seconds":1792099394,"priority":1,"record_length":96,"hex_timestamp":"000001a14172a1d0"} 
[2026-10-16 02:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:55: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-10-16 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 02:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777439488001,"66":27789,"34":206,"19":38144,"24":8,"16":12213345096564736,"45":5840605793807357952},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777439488001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:55:59] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:55:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12213345096564736,"km_value":12213345096564.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5840605793807357952,"description":"Unknown IO ID 45"} 
[2026-10-16 02:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777439488001,"power":27789,"unknown_34":206,"unknown_19":38144,"ignition":8,"odometer":null,"unknown_45":5840605793807357952}} 
[2026-10-16 02:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":216149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:55:59] local.INFO: GPS data processed {"connection_id":216149,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:55:59] local.INFO: Acknowledgment sent {"connection_id":216149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:56:02] local.INFO: TCP Data received {"connection_id":217697,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:56:02] local.INFO: Processing buffer {"connection_id":217697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:56:02] local.INFO: Packet analysis {"connection_id":217697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:56:02] local.INFO: Extracted packet for processing {"connection_id":217697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777406720001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792099546000,"timestamp_ms":1792099546000,"timestamp_seconds":1792099546,"priority":1,"record_length":96,"hex_timestamp":"000001a14174f390"} 
[2026-10-16 02:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:56:02] 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-10-16 02:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":217697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":217697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":217697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777406720001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777406720001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:56:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777406720001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":217697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:56:02] local.INFO: GPS data processed {"connection_id":217697,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:56:02] local.INFO: Acknowledgment sent {"connection_id":217697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:56:17] local.INFO: TCP Data received {"connection_id":219422,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:56:17] local.INFO: Processing buffer {"connection_id":219422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:56:17] local.INFO: IMEI packet received {"connection_id":219422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":219422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:56:21] local.INFO: TCP Data received {"connection_id":217698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:56:21] local.INFO: Processing buffer {"connection_id":217698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:56:21] local.INFO: IMEI packet received {"connection_id":217698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":217698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:56:23] local.INFO: TCP Data received {"connection_id":219422,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:56:23] local.INFO: Processing buffer {"connection_id":219422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:56:23] local.INFO: IMEI packet received {"connection_id":219422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":219422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:56:24] local.INFO: TCP Data received {"connection_id":219422,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:56:24] local.INFO: Processing buffer {"connection_id":219422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:56:24] local.INFO: Packet analysis {"connection_id":219422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:56:24] local.INFO: Extracted packet for processing {"connection_id":219422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:56: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-10-16 02:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777341696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099292000,"timestamp_ms":1792099292000,"timestamp_seconds":1792099292,"priority":1,"record_length":96,"hex_timestamp":"000001a141711360"} 
[2026-10-16 02:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:56: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 02:56:24] 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-10-16 02:56: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-10-16 02:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777341696001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777341696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:56:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:56:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777341696001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":219422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:56:24] local.INFO: GPS data processed {"connection_id":219422,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:56:24] local.INFO: Acknowledgment sent {"connection_id":219422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:56:26] local.INFO: TCP Data received {"connection_id":217698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:56:26] local.INFO: Processing buffer {"connection_id":217698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:56:26] local.INFO: IMEI packet received {"connection_id":217698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":217698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:56:27] local.INFO: TCP Data received {"connection_id":217698,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:56:27] local.INFO: Processing buffer {"connection_id":217698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:56:27] local.INFO: Packet analysis {"connection_id":217698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:56:27] local.INFO: Extracted packet for processing {"connection_id":217698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777406720001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099546000,"timestamp_ms":1792099546000,"timestamp_seconds":1792099546,"priority":1,"record_length":96,"hex_timestamp":"000001a14174f390"} 
[2026-10-16 02:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:56:27] 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-10-16 02:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:56: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-10-16 02:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777406720001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777406720001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:56:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777406720001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":217698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:56:28] local.INFO: GPS data processed {"connection_id":217698,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:56:28] local.INFO: Acknowledgment sent {"connection_id":217698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:56:31] local.INFO: TCP Data received {"connection_id":216149,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14172d0b0012d50fcc0064d1ec8000501442c..."} 
[2026-10-16 02:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14172d0b0012d50fcc0064d1ec8000501442c..."} 
[2026-10-16 02:56:31] local.INFO: Processing buffer {"connection_id":216149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14172d0b0012d50fcc0064d1ec8000501442c..."} 
[2026-10-16 02:56:31] local.INFO: Packet analysis {"connection_id":216149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14172"} 
[2026-10-16 02:56:31] local.INFO: Extracted packet for processing {"connection_id":216149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14172"} 
[2026-10-16 02:56:31] local.INFO: GPS Element Parsed {"raw_longitude":760282304,"raw_latitude":105717448,"longitude_deg":76.0282304,"latitude_deg":10.5717448,"altitude":5,"angle":324,"satellites":44,"speed":10,"hex_longitude":"2d50fcc0","hex_latitude":"064d1ec8","is_valid_coordinates":true} 
[2026-10-16 02:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777444864001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12213512600289280,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837579937809360896,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792099406000,"timestamp_ms":1792099406000,"timestamp_seconds":1792099406,"priority":1,"record_length":96,"hex_timestamp":"000001a14172d0b0"} 
[2026-10-16 02:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-10-16 02:56:31] 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-10-16 02:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777444864001,"66":27343,"34":206,"19":38144,"24":10,"16":12213512600289280,"45":5837579937809360896},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777444864001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:56:31] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:56:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12213512600289280,"km_value":12213512600289.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837579937809360896,"description":"Unknown IO ID 45"} 
[2026-10-16 02:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777444864001,"power":27343,"unknown_34":206,"unknown_19":38144,"ignition":10,"odometer":null,"unknown_45":5837579937809360896}} 
[2026-10-16 02:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":216149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:56:31] local.INFO: GPS data processed {"connection_id":216149,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:56:31] local.INFO: Acknowledgment sent {"connection_id":216149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:56:52] local.INFO: TCP Data received {"connection_id":216344,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:56:52] local.INFO: Processing buffer {"connection_id":216344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:56:52] local.INFO: IMEI packet received {"connection_id":216344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":216344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:56:56] local.INFO: TCP Data received {"connection_id":219422,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:56:56] local.INFO: Processing buffer {"connection_id":219422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141711360012d7f98c005afddb00000002f21..."} 
[2026-10-16 02:56:56] local.INFO: Packet analysis {"connection_id":219422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:56:56] local.INFO: Extracted packet for processing {"connection_id":219422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14171"} 
[2026-10-16 02:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777341696001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792099292000,"timestamp_ms":1792099292000,"timestamp_seconds":1792099292,"priority":1,"record_length":96,"hex_timestamp":"000001a141711360"} 
[2026-10-16 02:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:56: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-10-16 02:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 02:56:56] 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-10-16 02:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777341696001,"66":25875,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777341696001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:56:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:56:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777341696001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":219422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:56:56] local.INFO: GPS data processed {"connection_id":219422,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:56:56] local.INFO: Acknowledgment sent {"connection_id":219422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:56:57] local.INFO: TCP Data received {"connection_id":216344,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:56:58] local.INFO: Processing buffer {"connection_id":216344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:56:58] local.INFO: IMEI packet received {"connection_id":216344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":216344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:56:59] local.INFO: TCP Data received {"connection_id":216344,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141731ed0012d50f4c0064d2ef80005014f2b..."} 
[2026-10-16 02:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141731ed0012d50f4c0064d2ef80005014f2b..."} 
[2026-10-16 02:56:59] local.INFO: Processing buffer {"connection_id":216344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141731ed0012d50f4c0064d2ef80005014f2b..."} 
[2026-10-16 02:56:59] local.INFO: Packet analysis {"connection_id":216344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14173"} 
[2026-10-16 02:56:59] local.INFO: Extracted packet for processing {"connection_id":216344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14173"} 
[2026-10-16 02:56:59] local.INFO: GPS Element Parsed {"raw_longitude":760280256,"raw_latitude":105721592,"longitude_deg":76.0280256,"latitude_deg":10.5721592,"altitude":5,"angle":335,"satellites":43,"speed":6,"hex_longitude":"2d50f4c0","hex_latitude":"064d2ef8","is_valid_coordinates":true} 
[2026-10-16 02:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777447936001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12213740233555968,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5835750350461519872,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099426000,"timestamp_ms":1792099426000,"timestamp_seconds":1792099426,"priority":1,"record_length":96,"hex_timestamp":"000001a141731ed0"} 
[2026-10-16 02:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:56: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-10-16 02:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 02:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777447936001,"66":28028,"34":206,"19":38144,"24":6,"16":12213740233555968,"45":5835750350461519872},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777447936001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:56:59] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:56:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12213740233555968,"km_value":12213740233555.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5835750350461519872,"description":"Unknown IO ID 45"} 
[2026-10-16 02:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777447936001,"power":28028,"unknown_34":206,"unknown_19":38144,"ignition":6,"odometer":null,"unknown_45":5835750350461519872}} 
[2026-10-16 02:56:59] local.INFO: TCP Data received {"connection_id":217698,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:56:59] local.INFO: Processing buffer {"connection_id":217698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:56:59] local.INFO: Packet analysis {"connection_id":217698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:56:59] local.INFO: Extracted packet for processing {"connection_id":217698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777406720001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099546000,"timestamp_ms":1792099546000,"timestamp_seconds":1792099546,"priority":1,"record_length":96,"hex_timestamp":"000001a14174f390"} 
[2026-10-16 02:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:56: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-10-16 02:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777406720001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777406720001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:56:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777406720001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":216344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:56:59] local.INFO: GPS data processed {"connection_id":216344,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:56:59] local.INFO: Acknowledgment sent {"connection_id":216344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":217698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:56:59] local.INFO: GPS data processed {"connection_id":217698,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:56:59] local.INFO: Acknowledgment sent {"connection_id":217698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:57:23] local.INFO: TCP Data received {"connection_id":217699,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:57:23] local.INFO: Processing buffer {"connection_id":217699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:57:23] local.INFO: IMEI packet received {"connection_id":217699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":217699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:57:26] local.INFO: TCP Data received {"connection_id":217700,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:57:26] local.INFO: Processing buffer {"connection_id":217700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:57:26] local.INFO: IMEI packet received {"connection_id":217700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":217700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:57:27] local.INFO: TCP Data received {"connection_id":217699,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:57:27] local.INFO: Processing buffer {"connection_id":217699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:57:27] local.INFO: IMEI packet received {"connection_id":217699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":217699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:57:28] local.INFO: TCP Data received {"connection_id":217699,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:57:28] local.INFO: Processing buffer {"connection_id":217699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:57:28] local.INFO: Packet analysis {"connection_id":217699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:57:28] local.INFO: Extracted packet for processing {"connection_id":217699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777418752001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792099593000,"timestamp_ms":1792099593000,"timestamp_seconds":1792099593,"priority":1,"record_length":96,"hex_timestamp":"000001a14175ab28"} 
[2026-10-16 02:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 02:57:28] 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-10-16 02:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777418752001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777418752001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:57:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:57:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777418752001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":217699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:57:28] local.INFO: GPS data processed {"connection_id":217699,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:57:28] local.INFO: Acknowledgment sent {"connection_id":217699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:57:31] local.INFO: TCP Data received {"connection_id":216344,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417370d8012d50ef00064d3af0000901552f..."} 
[2026-10-16 02:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417370d8012d50ef00064d3af0000901552f..."} 
[2026-10-16 02:57:31] local.INFO: Processing buffer {"connection_id":216344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417370d8012d50ef00064d3af0000901552f..."} 
[2026-10-16 02:57:31] local.INFO: Packet analysis {"connection_id":216344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14173"} 
[2026-10-16 02:57:31] local.INFO: Extracted packet for processing {"connection_id":216344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14173"} 
[2026-10-16 02:57:31] local.INFO: GPS Element Parsed {"raw_longitude":760278784,"raw_latitude":105724656,"longitude_deg":76.0278784,"latitude_deg":10.5724656,"altitude":9,"angle":341,"satellites":47,"speed":6,"hex_longitude":"2d50ef00","hex_latitude":"064d3af0","is_valid_coordinates":true} 
[2026-10-16 02:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777453056001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12213907737280512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5833498550648895488,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792099447000,"timestamp_ms":1792099447000,"timestamp_seconds":1792099447,"priority":1,"record_length":96,"hex_timestamp":"000001a1417370d8"} 
[2026-10-16 02:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 02:57:31] 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-10-16 02:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777453056001,"66":27800,"34":206,"19":38144,"24":6,"16":12213907737280512,"45":5833498550648895488},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777453056001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:57:31] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:57:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12213907737280512,"km_value":12213907737280.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5833498550648895488,"description":"Unknown IO ID 45"} 
[2026-10-16 02:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777453056001,"power":27800,"unknown_34":206,"unknown_19":38144,"ignition":6,"odometer":null,"unknown_45":5833498550648895488}} 
[2026-10-16 02:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":216344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:57:31] local.INFO: GPS data processed {"connection_id":216344,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:57:31] local.INFO: Acknowledgment sent {"connection_id":216344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:57:31] local.INFO: TCP Data received {"connection_id":217700,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:57:31] local.INFO: Processing buffer {"connection_id":217700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:57:31] local.INFO: IMEI packet received {"connection_id":217700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":217700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:57:33] local.INFO: TCP Data received {"connection_id":217700,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:57:33] local.INFO: Processing buffer {"connection_id":217700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:57:33] local.INFO: Packet analysis {"connection_id":217700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:57:33] local.INFO: Extracted packet for processing {"connection_id":217700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777406720001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792099546000,"timestamp_ms":1792099546000,"timestamp_seconds":1792099546,"priority":1,"record_length":96,"hex_timestamp":"000001a14174f390"} 
[2026-10-16 02:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777406720001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777406720001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:57:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777406720001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":217700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:57:33] local.INFO: GPS data processed {"connection_id":217700,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:57:33] local.INFO: Acknowledgment sent {"connection_id":217700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:57:34] local.INFO: TCP Data received {"connection_id":217699,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:57:34] local.INFO: Processing buffer {"connection_id":217699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:57:34] local.INFO: Packet analysis {"connection_id":217699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:57:34] local.INFO: Extracted packet for processing {"connection_id":217699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777418752001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792099593000,"timestamp_ms":1792099593000,"timestamp_seconds":1792099593,"priority":1,"record_length":96,"hex_timestamp":"000001a14175ab28"} 
[2026-10-16 02:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 02:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777418752001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777418752001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:57:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:57:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777418752001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":217699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:57:34] local.INFO: GPS data processed {"connection_id":217699,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:57:34] local.INFO: Acknowledgment sent {"connection_id":217699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:57:37] local.INFO: TCP Data received {"connection_id":217700,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:57:37] local.INFO: Processing buffer {"connection_id":217700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:57:37] local.INFO: Packet analysis {"connection_id":217700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:57:37] local.INFO: Extracted packet for processing {"connection_id":217700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777406720001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792099546000,"timestamp_ms":1792099546000,"timestamp_seconds":1792099546,"priority":1,"record_length":96,"hex_timestamp":"000001a14174f390"} 
[2026-10-16 02:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:57:37] 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-10-16 02: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-10-16 02:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777406720001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777406720001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:57:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777406720001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":217700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:57:37] local.INFO: GPS data processed {"connection_id":217700,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:57:37] local.INFO: Acknowledgment sent {"connection_id":217700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:57:57] local.INFO: TCP Data received {"connection_id":219423,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:57:57] local.INFO: Processing buffer {"connection_id":219423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:57:57] local.INFO: IMEI packet received {"connection_id":219423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":219423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:57:58] local.INFO: TCP Data received {"connection_id":219423,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:57:58] local.INFO: Processing buffer {"connection_id":219423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:57:58] local.INFO: IMEI packet received {"connection_id":219423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":219423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:58:02] local.INFO: TCP Data received {"connection_id":219423,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:58:02] local.INFO: Processing buffer {"connection_id":219423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:58:02] local.INFO: IMEI packet received {"connection_id":219423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":219423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:58:08] local.INFO: TCP Data received {"connection_id":219423,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14173c2e0012d50ed40064d4690000a01572f..."} 
[2026-10-16 02:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14173c2e0012d50ed40064d4690000a01572f..."} 
[2026-10-16 02:58:08] local.INFO: Processing buffer {"connection_id":219423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14173c2e0012d50ed40064d4690000a01572f..."} 
[2026-10-16 02:58:08] local.INFO: Packet analysis {"connection_id":219423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14173"} 
[2026-10-16 02:58:08] local.INFO: Extracted packet for processing {"connection_id":219423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14173"} 
[2026-10-16 02:58:08] local.INFO: GPS Element Parsed {"raw_longitude":760278336,"raw_latitude":105727632,"longitude_deg":76.0278336,"latitude_deg":10.5727632,"altitude":10,"angle":343,"satellites":47,"speed":4,"hex_longitude":"2d50ed40","hex_latitude":"064d4690","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777458432001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12214058061135872,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831880069533593600,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792099468000,"timestamp_ms":1792099468000,"timestamp_seconds":1792099468,"priority":1,"record_length":96,"hex_timestamp":"000001a14173c2e0"} 
[2026-10-16 02:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:58: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-10-16 02: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-10-16 02: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-10-16 02: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-10-16 02:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":219423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":219423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":219423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777458432001,"66":27767,"34":206,"19":38144,"24":4,"16":12214058061135872,"45":5831880069533593600},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777458432001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:58:08] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:58:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12214058061135872,"km_value":12214058061135.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831880069533593600,"description":"Unknown IO ID 45"} 
[2026-10-16 02:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777458432001,"power":27767,"unknown_34":206,"unknown_19":38144,"ignition":4,"odometer":null,"unknown_45":5831880069533593600}} 
[2026-10-16 02:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":219423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:58:08] local.INFO: GPS data processed {"connection_id":219423,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:58:08] local.INFO: Acknowledgment sent {"connection_id":219423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:58:12] local.INFO: TCP Data received {"connection_id":216345,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216345,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:12] local.INFO: Processing buffer {"connection_id":216345,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:12] local.INFO: Packet analysis {"connection_id":216345,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 02:58:12] local.INFO: Extracted packet for processing {"connection_id":216345,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 02:58:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 02:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-10-16 02:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:12] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-10-16 02:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-10-16 02:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-10-16 02:58:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":216345,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-10-16 02:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":216345,"device_imei":null,"avl_records_count":1} 
[2026-10-16 02:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":216345,"device_imei":null,"avl_records_count":1} 
[2026-10-16 02:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":216345,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 02:58:12] local.INFO: GPS data processed {"connection_id":216345,"processed":0,"errors":0,"total":1} 
[2026-10-16 02:58:12] local.INFO: Acknowledgment sent {"connection_id":216345,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:58:13] local.INFO: TCP Data received {"connection_id":216150,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216150,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:13] local.INFO: Processing buffer {"connection_id":216150,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:13] local.INFO: Packet analysis {"connection_id":216150,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 02:58:13] local.INFO: Extracted packet for processing {"connection_id":216150,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 02:58:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 02:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-10-16 02:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:13] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-10-16 02:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-10-16 02:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-10-16 02:58:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216150,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-10-16 02:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216150,"device_imei":null,"avl_records_count":1} 
[2026-10-16 02:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216150,"device_imei":null,"avl_records_count":1} 
[2026-10-16 02:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":216150,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 02:58:13] local.INFO: GPS data processed {"connection_id":216150,"processed":0,"errors":0,"total":1} 
[2026-10-16 02:58:13] local.INFO: Acknowledgment sent {"connection_id":216150,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:58:13] local.INFO: TCP Data received {"connection_id":219423,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417414e8012d50e980064d59400007015f2d..."} 
[2026-10-16 02:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417414e8012d50e980064d59400007015f2d..."} 
[2026-10-16 02:58:13] local.INFO: Processing buffer {"connection_id":219423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417414e8012d50e980064d59400007015f2d..."} 
[2026-10-16 02:58:13] local.INFO: Packet analysis {"connection_id":219423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:58:13] local.INFO: Extracted packet for processing {"connection_id":219423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:58:13] local.INFO: GPS Element Parsed {"raw_longitude":760277376,"raw_latitude":105732416,"longitude_deg":76.0277376,"latitude_deg":10.5732416,"altitude":7,"angle":351,"satellites":45,"speed":17,"hex_longitude":"2d50e980","hex_latitude":"064d5940","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777463808001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12214294284337152,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831387488325111808,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792099489000,"timestamp_ms":1792099489000,"timestamp_seconds":1792099489,"priority":1,"record_length":96,"hex_timestamp":"000001a1417414e8"} 
[2026-10-16 02:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:58: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-10-16 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 02:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777463808001,"66":27517,"34":206,"19":38144,"24":17,"16":12214294284337152,"45":5831387488325111808},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777463808001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:58:13] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:58:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12214294284337152,"km_value":12214294284337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831387488325111808,"description":"Unknown IO ID 45"} 
[2026-10-16 02:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777463808001,"power":27517,"unknown_34":206,"unknown_19":38144,"ignition":17,"odometer":null,"unknown_45":5831387488325111808}} 
[2026-10-16 02:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":219423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:58:13] local.INFO: GPS data processed {"connection_id":219423,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:58:13] local.INFO: Acknowledgment sent {"connection_id":219423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:58:16] local.INFO: TCP Data received {"connection_id":216152,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216152,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:16] local.INFO: Processing buffer {"connection_id":216152,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:16] local.INFO: Packet analysis {"connection_id":216152,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 02:58:16] local.INFO: Extracted packet for processing {"connection_id":216152,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 02:58:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 02:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-10-16 02:58:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:16] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-10-16 02:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-10-16 02:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-10-16 02:58:16] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216152,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-10-16 02:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216152,"device_imei":null,"avl_records_count":1} 
[2026-10-16 02:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216152,"device_imei":null,"avl_records_count":1} 
[2026-10-16 02:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":216152,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 02:58:16] local.INFO: GPS data processed {"connection_id":216152,"processed":0,"errors":0,"total":1} 
[2026-10-16 02:58:16] local.INFO: Acknowledgment sent {"connection_id":216152,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:58:16] local.INFO: TCP Data received {"connection_id":217701,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217701,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:16] local.INFO: Processing buffer {"connection_id":217701,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 02:58:16] local.INFO: Packet analysis {"connection_id":217701,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 02:58:16] local.INFO: Extracted packet for processing {"connection_id":217701,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 02:58:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 02:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-10-16 02:58:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:16] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-10-16 02:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-10-16 02:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-10-16 02:58:16] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":217701,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-10-16 02:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":217701,"device_imei":null,"avl_records_count":1} 
[2026-10-16 02:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":217701,"device_imei":null,"avl_records_count":1} 
[2026-10-16 02:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":217701,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 02:58:16] local.INFO: GPS data processed {"connection_id":217701,"processed":0,"errors":0,"total":1} 
[2026-10-16 02:58:16] local.INFO: Acknowledgment sent {"connection_id":217701,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:58:17] local.INFO: TCP Data received {"connection_id":216151,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:58:17] local.INFO: Processing buffer {"connection_id":216151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:58:17] local.INFO: IMEI packet received {"connection_id":216151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":216151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:58:21] local.INFO: TCP Data received {"connection_id":217702,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:58:21] local.INFO: Processing buffer {"connection_id":217702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:58:21] local.INFO: IMEI packet received {"connection_id":217702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":217702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:58:23] local.INFO: TCP Data received {"connection_id":216151,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:58:23] local.INFO: Processing buffer {"connection_id":216151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:58:23] local.INFO: IMEI packet received {"connection_id":216151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":216151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:58:24] local.INFO: TCP Data received {"connection_id":216151,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:58:24] local.INFO: Processing buffer {"connection_id":216151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:58:24] local.INFO: Packet analysis {"connection_id":216151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:58:24] local.INFO: Extracted packet for processing {"connection_id":216151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:58:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777418752001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099593000,"timestamp_ms":1792099593000,"timestamp_seconds":1792099593,"priority":1,"record_length":96,"hex_timestamp":"000001a14175ab28"} 
[2026-10-16 02:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 02:58:24] 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-10-16 02:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777418752001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777418752001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:58:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:58:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777418752001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":216151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:58:24] local.INFO: GPS data processed {"connection_id":216151,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:58:24] local.INFO: Acknowledgment sent {"connection_id":216151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:58:26] local.INFO: TCP Data received {"connection_id":217702,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:58:26] local.INFO: Processing buffer {"connection_id":217702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:58:26] local.INFO: IMEI packet received {"connection_id":217702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":217702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:58:27] local.INFO: TCP Data received {"connection_id":217702,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:58:27] local.INFO: Processing buffer {"connection_id":217702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:58:27] local.INFO: Packet analysis {"connection_id":217702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:58:27] local.INFO: Extracted packet for processing {"connection_id":217702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777406720001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099546000,"timestamp_ms":1792099546000,"timestamp_seconds":1792099546,"priority":1,"record_length":96,"hex_timestamp":"000001a14174f390"} 
[2026-10-16 02:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:58:27] 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-10-16 02: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-10-16 02:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:58: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-10-16 02:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777406720001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777406720001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:58:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777406720001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":217702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:58:27] local.INFO: GPS data processed {"connection_id":217702,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:58:27] local.INFO: Acknowledgment sent {"connection_id":217702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:58:52] local.INFO: TCP Data received {"connection_id":216153,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:58:52] local.INFO: Processing buffer {"connection_id":216153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:58:52] local.INFO: IMEI packet received {"connection_id":216153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":216153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:58:56] local.INFO: TCP Data received {"connection_id":216151,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:58:56] local.INFO: Processing buffer {"connection_id":216151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:58:56] local.INFO: Packet analysis {"connection_id":216151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:58:56] local.INFO: Extracted packet for processing {"connection_id":216151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777418752001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792099593000,"timestamp_ms":1792099593000,"timestamp_seconds":1792099593,"priority":1,"record_length":96,"hex_timestamp":"000001a14175ab28"} 
[2026-10-16 02:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 02:58:56] 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-10-16 02:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777418752001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777418752001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:58:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:58:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777418752001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":216151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:58:56] local.INFO: GPS data processed {"connection_id":216151,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:58:56] local.INFO: Acknowledgment sent {"connection_id":216151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:58:57] local.INFO: TCP Data received {"connection_id":216153,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:58:57] local.INFO: Processing buffer {"connection_id":216153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:58:57] local.INFO: IMEI packet received {"connection_id":216153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 02:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":216153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:58:59] local.INFO: TCP Data received {"connection_id":217702,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:58:59] local.INFO: Processing buffer {"connection_id":217702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:58:59] local.INFO: Packet analysis {"connection_id":217702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:58:59] local.INFO: Extracted packet for processing {"connection_id":217702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02: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-10-16 02:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777406720001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099546000,"timestamp_ms":1792099546000,"timestamp_seconds":1792099546,"priority":1,"record_length":96,"hex_timestamp":"000001a14174f390"} 
[2026-10-16 02:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02: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-10-16 02:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:58: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-10-16 02:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777406720001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777406720001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:58:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777406720001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":217702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:58:59] local.INFO: GPS data processed {"connection_id":217702,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:58:59] local.INFO: Acknowledgment sent {"connection_id":217702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:59:00] local.INFO: TCP Data received {"connection_id":216153,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141745f20012d50e340064d7290000401512e..."} 
[2026-10-16 02:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141745f20012d50e340064d7290000401512e..."} 
[2026-10-16 02:59:00] local.INFO: Processing buffer {"connection_id":216153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141745f20012d50e340064d7290000401512e..."} 
[2026-10-16 02:59:00] local.INFO: Packet analysis {"connection_id":216153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:59:00] local.INFO: Extracted packet for processing {"connection_id":216153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:59:00] local.INFO: GPS Element Parsed {"raw_longitude":760275776,"raw_latitude":105738896,"longitude_deg":76.0275776,"latitude_deg":10.5738896,"altitude":4,"angle":337,"satellites":46,"speed":10,"hex_longitude":"2d50e340","hex_latitude":"064d7290","is_valid_coordinates":true} 
[2026-10-16 02:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777469184001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12214620701851648,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5830331957163671552,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792099508000,"timestamp_ms":1792099508000,"timestamp_seconds":1792099508,"priority":1,"record_length":96,"hex_timestamp":"000001a141745f20"} 
[2026-10-16 02:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 02:59:00] 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-10-16 02:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777469184001,"66":27604,"34":206,"19":38144,"24":10,"16":12214620701851648,"45":5830331957163671552},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777469184001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:59:00] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12214620701851648,"km_value":12214620701851.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5830331957163671552,"description":"Unknown IO ID 45"} 
[2026-10-16 02:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777469184001,"power":27604,"unknown_34":206,"unknown_19":38144,"ignition":10,"odometer":null,"unknown_45":5830331957163671552}} 
[2026-10-16 02:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":216153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043924,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:59:00] local.INFO: GPS data processed {"connection_id":216153,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:59:00] local.INFO: Acknowledgment sent {"connection_id":216153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:59:17] local.INFO: TCP Data received {"connection_id":219424,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:59:17] local.INFO: Processing buffer {"connection_id":219424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:59:17] local.INFO: IMEI packet received {"connection_id":219424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 02:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":219424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:59:21] local.INFO: TCP Data received {"connection_id":219425,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:59:21] local.INFO: Processing buffer {"connection_id":219425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:59:21] local.INFO: IMEI packet received {"connection_id":219425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 02:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":219425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:59:23] local.INFO: TCP Data received {"connection_id":219424,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:59:23] local.INFO: Processing buffer {"connection_id":219424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 02:59:23] local.INFO: IMEI packet received {"connection_id":219424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 02:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":219424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:59:24] local.INFO: TCP Data received {"connection_id":219424,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:59:24] local.INFO: Processing buffer {"connection_id":219424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:59:24] local.INFO: Packet analysis {"connection_id":219424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:59:24] local.INFO: Extracted packet for processing {"connection_id":219424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:59: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-10-16 02:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777418752001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099593000,"timestamp_ms":1792099593000,"timestamp_seconds":1792099593,"priority":1,"record_length":96,"hex_timestamp":"000001a14175ab28"} 
[2026-10-16 02:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:59: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 02:59:24] 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-10-16 02:59: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-10-16 02:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777418752001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777418752001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:59:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:59:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777418752001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":219424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:59:24] local.INFO: GPS data processed {"connection_id":219424,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:59:24] local.INFO: Acknowledgment sent {"connection_id":219424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:59:26] local.INFO: TCP Data received {"connection_id":219425,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:59:26] local.INFO: Processing buffer {"connection_id":219425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 02:59:26] local.INFO: IMEI packet received {"connection_id":219425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 02:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":219425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 02:59:27] local.INFO: TCP Data received {"connection_id":219425,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:59:27] local.INFO: Processing buffer {"connection_id":219425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:59:27] local.INFO: Packet analysis {"connection_id":219425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:59:27] local.INFO: Extracted packet for processing {"connection_id":219425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777406720001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099546000,"timestamp_ms":1792099546000,"timestamp_seconds":1792099546,"priority":1,"record_length":96,"hex_timestamp":"000001a14174f390"} 
[2026-10-16 02:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:59:27] 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-10-16 02:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:59: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-10-16 02:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777406720001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777406720001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:59:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777406720001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":219425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:59:28] local.INFO: GPS data processed {"connection_id":219425,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:59:28] local.INFO: Acknowledgment sent {"connection_id":219425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:59:33] local.INFO: TCP Data received {"connection_id":216153,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14174b128012d50d600064d8f980006014c31..."} 
[2026-10-16 02:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174b128012d50d600064d8f980006014c31..."} 
[2026-10-16 02:59:33] local.INFO: Processing buffer {"connection_id":216153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174b128012d50d600064d8f980006014c31..."} 
[2026-10-16 02:59:33] local.INFO: Packet analysis {"connection_id":216153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:59:33] local.INFO: Extracted packet for processing {"connection_id":216153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:59:33] local.INFO: GPS Element Parsed {"raw_longitude":760272384,"raw_latitude":105746328,"longitude_deg":76.0272384,"latitude_deg":10.5746328,"altitude":6,"angle":332,"satellites":49,"speed":18,"hex_longitude":"2d50d600","hex_latitude":"064d8f98","is_valid_coordinates":true} 
[2026-10-16 02:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777474048001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12215015838842880,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5828572738560888832,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792099529000,"timestamp_ms":1792099529000,"timestamp_seconds":1792099529,"priority":1,"record_length":96,"hex_timestamp":"000001a14174b128"} 
[2026-10-16 02:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 02:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 02:59:33] 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-10-16 02:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 02:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 02:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 02:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777474048001,"66":27463,"34":206,"19":38144,"24":18,"16":12215015838842880,"45":5828572738560888832},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 02:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 02:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 02:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777474048001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:59:33] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 02:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 02:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12215015838842880,"km_value":12215015838842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5828572738560888832,"description":"Unknown IO ID 45"} 
[2026-10-16 02:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777474048001,"power":27463,"unknown_34":206,"unknown_19":38144,"ignition":18,"odometer":null,"unknown_45":5828572738560888832}} 
[2026-10-16 02:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":216153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:59:33] local.INFO: GPS data processed {"connection_id":216153,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:59:33] local.INFO: Acknowledgment sent {"connection_id":216153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:59:52] local.INFO: TCP Data received {"connection_id":217703,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:59:52] local.INFO: Processing buffer {"connection_id":217703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 02:59:52] local.INFO: IMEI packet received {"connection_id":217703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 02:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":217703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 02:59:56] local.INFO: TCP Data received {"connection_id":219424,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:59:56] local.INFO: Processing buffer {"connection_id":219424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 02:59:56] local.INFO: Packet analysis {"connection_id":219424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:59:56] local.INFO: Extracted packet for processing {"connection_id":219424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 02:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 02:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777418752001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792099593000,"timestamp_ms":1792099593000,"timestamp_seconds":1792099593,"priority":1,"record_length":96,"hex_timestamp":"000001a14175ab28"} 
[2026-10-16 02:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 02:59:56] 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-10-16 02:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 02:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 02:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 02:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 02:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777418752001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 02:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 02:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 02:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777418752001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:59:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 02:59:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 02:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 02:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777418752001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 02:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":219424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:59:56] local.INFO: GPS data processed {"connection_id":219424,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:59:56] local.INFO: Acknowledgment sent {"connection_id":219424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 02:59:59] local.INFO: TCP Data received {"connection_id":219425,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:59:59] local.INFO: Processing buffer {"connection_id":219425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 02:59:59] local.INFO: Packet analysis {"connection_id":219425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:59:59] local.INFO: Extracted packet for processing {"connection_id":219425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 02:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 02:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 02:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777406720001,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 02:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 02:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099546000,"timestamp_ms":1792099546000,"timestamp_seconds":1792099546,"priority":1,"record_length":96,"hex_timestamp":"000001a14174f390"} 
[2026-10-16 02:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 02:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 02:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 02:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 02:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 02:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 02:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 02:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 02:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 02:59: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-10-16 02:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 02:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 02:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777406720001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 02:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 02:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 02:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777406720001,"description":"Unknown IO ID 0"} 
[2026-10-16 02:59:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 02:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 02:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 02:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 02:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777406720001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 02:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":219425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 02:59:59] local.INFO: GPS data processed {"connection_id":219425,"processed":1,"errors":0,"total":1} 
[2026-10-16 02:59:59] local.INFO: Acknowledgment sent {"connection_id":219425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:00:00] local.INFO: TCP Data received {"connection_id":217703,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:00:00] local.INFO: Processing buffer {"connection_id":217703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:00:00] local.INFO: IMEI packet received {"connection_id":217703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":217703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:00:02] local.INFO: TCP Data received {"connection_id":217703,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141750330012d50c4c0064dabb80005014a2d..."} 
[2026-10-16 03:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141750330012d50c4c0064dabb80005014a2d..."} 
[2026-10-16 03:00:02] local.INFO: Processing buffer {"connection_id":217703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141750330012d50c4c0064dabb80005014a2d..."} 
[2026-10-16 03:00:02] local.INFO: Packet analysis {"connection_id":217703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 03:00:02] local.INFO: Extracted packet for processing {"connection_id":217703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 03:00:02] local.INFO: GPS Element Parsed {"raw_longitude":760267968,"raw_latitude":105753528,"longitude_deg":76.0267968,"latitude_deg":10.5753528,"altitude":5,"angle":330,"satellites":45,"speed":9,"hex_longitude":"2d50c4c0","hex_latitude":"064dabb8","is_valid_coordinates":true} 
[2026-10-16 03:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777479424001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12215423860736000,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5824843195121375232,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792099550000,"timestamp_ms":1792099550000,"timestamp_seconds":1792099550,"priority":1,"record_length":96,"hex_timestamp":"000001a141750330"} 
[2026-10-16 03:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 03:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":217703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":217703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":217703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777479424001,"66":27615,"34":206,"19":38144,"24":9,"16":12215423860736000,"45":5824843195121375232},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-10-16 03:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777479424001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:00:02] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 03:00:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12215423860736000,"km_value":12215423860736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5824843195121375232,"description":"Unknown IO ID 45"} 
[2026-10-16 03:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777479424001,"power":27615,"unknown_34":206,"unknown_19":38144,"ignition":9,"odometer":null,"unknown_45":5824843195121375232}} 
[2026-10-16 03:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":217703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:00:02] local.INFO: GPS data processed {"connection_id":217703,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:00:02] local.INFO: Acknowledgment sent {"connection_id":217703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:00:21] local.INFO: TCP Data received {"connection_id":219427,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:00:21] local.INFO: Processing buffer {"connection_id":219427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:00:21] local.INFO: IMEI packet received {"connection_id":219427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":219427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:00:23] local.INFO: TCP Data received {"connection_id":219426,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:00:23] local.INFO: Processing buffer {"connection_id":219426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:00:23] local.INFO: IMEI packet received {"connection_id":219426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":219426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:00:26] local.INFO: TCP Data received {"connection_id":219427,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:00:26] local.INFO: Processing buffer {"connection_id":219427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:00:26] local.INFO: IMEI packet received {"connection_id":219427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":219427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:00:27] local.INFO: TCP Data received {"connection_id":219427,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 03:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 03:00:27] local.INFO: Processing buffer {"connection_id":219427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14174f390012d7c240005dad510000a00ea21..."} 
[2026-10-16 03:00:27] local.INFO: Packet analysis {"connection_id":219427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 03:00:27] local.INFO: Extracted packet for processing {"connection_id":219427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14174"} 
[2026-10-16 03:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777406720001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099546000,"timestamp_ms":1792099546000,"timestamp_seconds":1792099546,"priority":1,"record_length":96,"hex_timestamp":"000001a14174f390"} 
[2026-10-16 03:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:00:27] 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-10-16 03:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:00:27] 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-10-16 03:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777406720001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777406720001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:00:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777406720001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":219427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:00:27] local.INFO: GPS data processed {"connection_id":219427,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:00:27] local.INFO: Acknowledgment sent {"connection_id":219427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:00:28] local.INFO: TCP Data received {"connection_id":219426,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:00:28] local.INFO: Processing buffer {"connection_id":219426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:00:28] local.INFO: IMEI packet received {"connection_id":219426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":219426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:00:29] local.INFO: TCP Data received {"connection_id":219426,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:00:29] local.INFO: Processing buffer {"connection_id":219426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:00:29] local.INFO: Packet analysis {"connection_id":219426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 03:00:29] local.INFO: Extracted packet for processing {"connection_id":219426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 03:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777418752001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792099593000,"timestamp_ms":1792099593000,"timestamp_seconds":1792099593,"priority":1,"record_length":96,"hex_timestamp":"000001a14175ab28"} 
[2026-10-16 03:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 03:00:29] 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-10-16 03:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777418752001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777418752001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:00:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:00:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777418752001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":219426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:00:29] local.INFO: GPS data processed {"connection_id":219426,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:00:29] local.INFO: Acknowledgment sent {"connection_id":219426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:00:33] local.INFO: TCP Data received {"connection_id":219426,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:00:33] local.INFO: Processing buffer {"connection_id":219426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:00:33] local.INFO: Packet analysis {"connection_id":219426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 03:00:33] local.INFO: Extracted packet for processing {"connection_id":219426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 03:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777418752001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792099593000,"timestamp_ms":1792099593000,"timestamp_seconds":1792099593,"priority":1,"record_length":96,"hex_timestamp":"000001a14175ab28"} 
[2026-10-16 03:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 03:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777418752001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777418752001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777418752001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":219426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:00:33] local.INFO: GPS data processed {"connection_id":219426,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:00:33] local.INFO: Acknowledgment sent {"connection_id":219426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:00:34] local.INFO: TCP Data received {"connection_id":217703,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141786e30012d507180064e37400007013830..."} 
[2026-10-16 03:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141786e30012d507180064e37400007013830..."} 
[2026-10-16 03:00:34] local.INFO: Processing buffer {"connection_id":217703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141786e30012d507180064e37400007013830..."} 
[2026-10-16 03:00:34] local.INFO: Packet analysis {"connection_id":217703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14178"} 
[2026-10-16 03:00:34] local.INFO: Extracted packet for processing {"connection_id":217703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14178"} 
[2026-10-16 03:00:34] local.INFO: GPS Element Parsed {"raw_longitude":760246656,"raw_latitude":105789248,"longitude_deg":76.0246656,"latitude_deg":10.5789248,"altitude":7,"angle":312,"satellites":48,"speed":23,"hex_longitude":"2d507180","hex_latitude":"064e3740","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777540096001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12216995818766336,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5799299340995155968,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792099774000,"timestamp_ms":1792099774000,"timestamp_seconds":1792099774,"priority":1,"record_length":96,"hex_timestamp":"000001a141786e30"} 
[2026-10-16 03:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-16 03:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03: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-10-16 03:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777540096001,"66":27995,"35":206,"19":38144,"24":23,"16":12216995818766336,"45":5799299340995155968},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-10-16 03:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777540096001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:00:34] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-16 03:00:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12216995818766336,"km_value":12216995818766.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5799299340995155968,"description":"Unknown IO ID 45"} 
[2026-10-16 03:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777540096001,"power":27995,"unknown_35":206,"unknown_19":38144,"ignition":23,"odometer":null,"unknown_45":5799299340995155968}} 
[2026-10-16 03:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":217703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:00:34] local.INFO: GPS data processed {"connection_id":217703,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:00:34] local.INFO: Acknowledgment sent {"connection_id":217703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:00:53] local.INFO: TCP Data received {"connection_id":216154,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:00:53] local.INFO: Processing buffer {"connection_id":216154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:00:53] local.INFO: IMEI packet received {"connection_id":216154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":216154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:00:57] local.INFO: TCP Data received {"connection_id":216154,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:00:57] local.INFO: Processing buffer {"connection_id":216154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:00:57] local.INFO: IMEI packet received {"connection_id":216154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":216154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:00:58] local.INFO: TCP Data received {"connection_id":219427,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:00:58] local.INFO: Processing buffer {"connection_id":219427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:00:58] local.INFO: Packet analysis {"connection_id":219427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:00:58] local.INFO: Extracted packet for processing {"connection_id":219427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:00: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-10-16 03:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777483776001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792099847000,"timestamp_ms":1792099847000,"timestamp_seconds":1792099847,"priority":1,"record_length":96,"hex_timestamp":"000001a141798b58"} 
[2026-10-16 03:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:00: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:00:58] 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-10-16 03:00: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-10-16 03:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:00:58] 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-10-16 03:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777483776001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777483776001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:00:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777483776001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":219427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:00:59] local.INFO: GPS data processed {"connection_id":219427,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:00:59] local.INFO: Acknowledgment sent {"connection_id":219427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:01:02] local.INFO: TCP Data received {"connection_id":216154,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:01:02] local.INFO: Processing buffer {"connection_id":216154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:01:02] local.INFO: IMEI packet received {"connection_id":216154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":216154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:01:03] local.INFO: TCP Data received {"connection_id":216154,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14178a0f8012d505580064e4c900009013231..."} 
[2026-10-16 03:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14178a0f8012d505580064e4c900009013231..."} 
[2026-10-16 03:01:03] local.INFO: Processing buffer {"connection_id":216154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14178a0f8012d505580064e4c900009013231..."} 
[2026-10-16 03:01:03] local.INFO: Packet analysis {"connection_id":216154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14178"} 
[2026-10-16 03:01:03] local.INFO: Extracted packet for processing {"connection_id":216154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14178"} 
[2026-10-16 03:01:03] local.INFO: GPS Element Parsed {"raw_longitude":760239488,"raw_latitude":105794704,"longitude_deg":76.0239488,"latitude_deg":10.5794704,"altitude":9,"angle":306,"satellites":49,"speed":31,"hex_longitude":"2d505580","hex_latitude":"064e4c90","is_valid_coordinates":true} 
[2026-10-16 03:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777542144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12217425315495936,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5796554959972941824,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792099787000,"timestamp_ms":1792099787000,"timestamp_seconds":1792099787,"priority":1,"record_length":96,"hex_timestamp":"000001a14178a0f8"} 
[2026-10-16 03:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:01: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-10-16 03:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 03:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777542144001,"66":27832,"35":206,"19":38144,"24":31,"16":12217425315495936,"45":5796554959972941824},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-10-16 03:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777542144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:01:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-16 03:01:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12217425315495936,"km_value":12217425315495.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5796554959972941824,"description":"Unknown IO ID 45"} 
[2026-10-16 03:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777542144001,"power":27832,"unknown_35":206,"unknown_19":38144,"ignition":31,"odometer":null,"unknown_45":5796554959972941824}} 
[2026-10-16 03:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":216154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:01:04] local.INFO: GPS data processed {"connection_id":216154,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:01:04] local.INFO: Acknowledgment sent {"connection_id":216154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:01:18] local.INFO: TCP Data received {"connection_id":217704,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:01:18] local.INFO: Processing buffer {"connection_id":217704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:01:18] local.INFO: IMEI packet received {"connection_id":217704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":217704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:01:21] local.INFO: TCP Data received {"connection_id":216346,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:01:21] local.INFO: Processing buffer {"connection_id":216346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:01:21] local.INFO: IMEI packet received {"connection_id":216346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":216346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:01:23] local.INFO: TCP Data received {"connection_id":217704,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:01:23] local.INFO: Processing buffer {"connection_id":217704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:01:23] local.INFO: IMEI packet received {"connection_id":217704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":217704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:01:24] local.INFO: TCP Data received {"connection_id":217704,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:01:24] local.INFO: Processing buffer {"connection_id":217704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:01:24] local.INFO: Packet analysis {"connection_id":217704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 03:01:24] local.INFO: Extracted packet for processing {"connection_id":217704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 03:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777418752001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099593000,"timestamp_ms":1792099593000,"timestamp_seconds":1792099593,"priority":1,"record_length":96,"hex_timestamp":"000001a14175ab28"} 
[2026-10-16 03:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 03:01:24] 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-10-16 03:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777418752001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777418752001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:01:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:01:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777418752001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":217704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:01:24] local.INFO: GPS data processed {"connection_id":217704,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:01:24] local.INFO: Acknowledgment sent {"connection_id":217704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:01:26] local.INFO: TCP Data received {"connection_id":216346,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:01:26] local.INFO: Processing buffer {"connection_id":216346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:01:26] local.INFO: IMEI packet received {"connection_id":216346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":216346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:01:27] local.INFO: TCP Data received {"connection_id":216346,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:01:27] local.INFO: Processing buffer {"connection_id":216346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:01:27] local.INFO: Packet analysis {"connection_id":216346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:01:27] local.INFO: Extracted packet for processing {"connection_id":216346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777483776001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099847000,"timestamp_ms":1792099847000,"timestamp_seconds":1792099847,"priority":1,"record_length":96,"hex_timestamp":"000001a141798b58"} 
[2026-10-16 03:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:01:27] 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-10-16 03:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777483776001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777483776001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:01:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777483776001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":216346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:01:27] local.INFO: GPS data processed {"connection_id":216346,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:01:27] local.INFO: Acknowledgment sent {"connection_id":216346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:01:35] local.INFO: TCP Data received {"connection_id":216154,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14178bc50012d504500064e5b180008013e2d..."} 
[2026-10-16 03:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14178bc50012d504500064e5b180008013e2d..."} 
[2026-10-16 03:01:35] local.INFO: Processing buffer {"connection_id":216154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14178bc50012d504500064e5b180008013e2d..."} 
[2026-10-16 03:01:35] local.INFO: Packet analysis {"connection_id":216154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14178"} 
[2026-10-16 03:01:35] local.INFO: Extracted packet for processing {"connection_id":216154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14178"} 
[2026-10-16 03:01:35] local.INFO: GPS Element Parsed {"raw_longitude":760235264,"raw_latitude":105798424,"longitude_deg":76.0235264,"latitude_deg":10.5798424,"altitude":8,"angle":318,"satellites":45,"speed":28,"hex_longitude":"2d504500","hex_latitude":"064e5b18","is_valid_coordinates":true} 
[2026-10-16 03:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777545472001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12217695898435584,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5788673660626440192,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792099794000,"timestamp_ms":1792099794000,"timestamp_seconds":1792099794,"priority":1,"record_length":96,"hex_timestamp":"000001a14178bc50"} 
[2026-10-16 03:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:01: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-10-16 03:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-10-16 03:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777545472001,"66":27789,"35":206,"19":38144,"24":28,"16":12217695898435584,"45":5788673660626440192},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-10-16 03:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777545472001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:01:35] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-16 03:01:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12217695898435584,"km_value":12217695898435.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5788673660626440192,"description":"Unknown IO ID 45"} 
[2026-10-16 03:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777545472001,"power":27789,"unknown_35":206,"unknown_19":38144,"ignition":28,"odometer":null,"unknown_45":5788673660626440192}} 
[2026-10-16 03:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":216154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:01:35] local.INFO: GPS data processed {"connection_id":216154,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:01:35] local.INFO: Acknowledgment sent {"connection_id":216154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:01:53] local.INFO: TCP Data received {"connection_id":217705,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:01:53] local.INFO: Processing buffer {"connection_id":217705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:01:53] local.INFO: IMEI packet received {"connection_id":217705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":217705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:01:55] local.INFO: TCP Data received {"connection_id":217704,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:01:55] local.INFO: Processing buffer {"connection_id":217704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14175ab28012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:01:55] local.INFO: Packet analysis {"connection_id":217704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 03:01:55] local.INFO: Extracted packet for processing {"connection_id":217704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14175"} 
[2026-10-16 03:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777418752001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792099593000,"timestamp_ms":1792099593000,"timestamp_seconds":1792099593,"priority":1,"record_length":96,"hex_timestamp":"000001a14175ab28"} 
[2026-10-16 03:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 03:01:55] 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-10-16 03:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777418752001,"66":25843,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777418752001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:01:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:01:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777418752001,"power":25843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":217704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:01:55] local.INFO: GPS data processed {"connection_id":217704,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:01:55] local.INFO: Acknowledgment sent {"connection_id":217704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:01:56] local.INFO: TCP Data received {"connection_id":217705,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:01:56] local.INFO: Processing buffer {"connection_id":217705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:01:56] local.INFO: IMEI packet received {"connection_id":217705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":217705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:01:57] local.INFO: TCP Data received {"connection_id":217705,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141790e58012d503c40064e6850000901462c..."} 
[2026-10-16 03:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141790e58012d503c40064e6850000901462c..."} 
[2026-10-16 03:01:57] local.INFO: Processing buffer {"connection_id":217705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141790e58012d503c40064e6850000901462c..."} 
[2026-10-16 03:01:57] local.INFO: Packet analysis {"connection_id":217705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:01:57] local.INFO: Extracted packet for processing {"connection_id":217705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:01:57] local.INFO: GPS Element Parsed {"raw_longitude":760233024,"raw_latitude":105801808,"longitude_deg":76.0233024,"latitude_deg":10.5801808,"altitude":9,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d503c40","hex_latitude":"064e6850","is_valid_coordinates":true} 
[2026-10-16 03:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777547264001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12217897761898496,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5784029323511666688,"note":"Value kept but may cause issues"} 
[2026-10-16 03:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792099815000,"timestamp_ms":1792099815000,"timestamp_seconds":1792099815,"priority":1,"record_length":96,"hex_timestamp":"000001a141790e58"} 
[2026-10-16 03:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-10-16 03:01:57] 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-10-16 03:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777547264001,"66":27745,"35":206,"19":38144,"24":0,"16":12217897761898496,"45":5784029323511666688},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-10-16 03:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777547264001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:01:57] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-16 03:01:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12217897761898496,"km_value":12217897761898.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5784029323511666688,"description":"Unknown IO ID 45"} 
[2026-10-16 03:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777547264001,"power":27745,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5784029323511666688}} 
[2026-10-16 03:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":217705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043941,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:01:57] local.INFO: GPS data processed {"connection_id":217705,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:01:57] local.INFO: Acknowledgment sent {"connection_id":217705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:02:02] local.INFO: TCP Data received {"connection_id":216346,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:02:02] local.INFO: Processing buffer {"connection_id":216346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:02:02] local.INFO: Packet analysis {"connection_id":216346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:02:02] local.INFO: Extracted packet for processing {"connection_id":216346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777483776001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792099847000,"timestamp_ms":1792099847000,"timestamp_seconds":1792099847,"priority":1,"record_length":96,"hex_timestamp":"000001a141798b58"} 
[2026-10-16 03:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:02:02] 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-10-16 03:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777483776001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777483776001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:02:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777483776001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":216346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:02:02] local.INFO: GPS data processed {"connection_id":216346,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:02:02] local.INFO: Acknowledgment sent {"connection_id":216346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:02:17] local.INFO: TCP Data received {"connection_id":216155,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:02:17] local.INFO: Processing buffer {"connection_id":216155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:02:17] local.INFO: IMEI packet received {"connection_id":216155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":216155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:02:23] local.INFO: TCP Data received {"connection_id":216155,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:02:23] local.INFO: Processing buffer {"connection_id":216155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:02:23] local.INFO: IMEI packet received {"connection_id":216155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":216155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:02:24] local.INFO: TCP Data received {"connection_id":216155,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:02:24] local.INFO: Processing buffer {"connection_id":216155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:02:24] local.INFO: Packet analysis {"connection_id":216155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:02:24] local.INFO: Extracted packet for processing {"connection_id":216155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:02:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:02: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-10-16 03:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:02: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:02:24] 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-10-16 03:02: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-10-16 03:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:02:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:02:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":216155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:02:24] local.INFO: GPS data processed {"connection_id":216155,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:02:24] local.INFO: Acknowledgment sent {"connection_id":216155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:02:26] local.INFO: TCP Data received {"connection_id":219428,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:02:26] local.INFO: Processing buffer {"connection_id":219428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:02:26] local.INFO: IMEI packet received {"connection_id":219428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":219428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:02:28] local.INFO: TCP Data received {"connection_id":217705,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141796060012d503c40064e6850000901462c..."} 
[2026-10-16 03:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141796060012d503c40064e6850000901462c..."} 
[2026-10-16 03:02:28] local.INFO: Processing buffer {"connection_id":217705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141796060012d503c40064e6850000901462c..."} 
[2026-10-16 03:02:28] local.INFO: Packet analysis {"connection_id":217705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:02:28] local.INFO: Extracted packet for processing {"connection_id":217705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:02:28] local.INFO: GPS Element Parsed {"raw_longitude":760233024,"raw_latitude":105801808,"longitude_deg":76.0233024,"latitude_deg":10.5801808,"altitude":9,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d503c40","hex_latitude":"064e6850","is_valid_coordinates":true} 
[2026-10-16 03:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777552640001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12217897761898496,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5781566417466314752,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792099836000,"timestamp_ms":1792099836000,"timestamp_seconds":1792099836,"priority":1,"record_length":96,"hex_timestamp":"000001a141796060"} 
[2026-10-16 03:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 03:02:28] 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-10-16 03:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777552640001,"66":27550,"35":206,"19":38144,"24":0,"16":12217897761898496,"45":5781566417466314752},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-10-16 03:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777552640001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:02:28] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-16 03:02:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12217897761898496,"km_value":12217897761898.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5781566417466314752,"description":"Unknown IO ID 45"} 
[2026-10-16 03:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777552640001,"power":27550,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5781566417466314752}} 
[2026-10-16 03:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":217705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043944,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:02:28] local.INFO: GPS data processed {"connection_id":217705,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:02:28] local.INFO: Acknowledgment sent {"connection_id":217705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:02:31] local.INFO: TCP Data received {"connection_id":219428,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:02:31] local.INFO: Processing buffer {"connection_id":219428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:02:31] local.INFO: IMEI packet received {"connection_id":219428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":219428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:02:33] local.INFO: TCP Data received {"connection_id":219428,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:02:33] local.INFO: Processing buffer {"connection_id":219428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:02:33] local.INFO: Packet analysis {"connection_id":219428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:02:33] local.INFO: Extracted packet for processing {"connection_id":219428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777483776001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792099847000,"timestamp_ms":1792099847000,"timestamp_seconds":1792099847,"priority":1,"record_length":96,"hex_timestamp":"000001a141798b58"} 
[2026-10-16 03:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:02:33] 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-10-16 03:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777483776001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777483776001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:02:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777483776001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":219428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:02:33] local.INFO: GPS data processed {"connection_id":219428,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:02:33] local.INFO: Acknowledgment sent {"connection_id":219428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:02:37] local.INFO: TCP Data received {"connection_id":219428,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:02:37] local.INFO: Processing buffer {"connection_id":219428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:02:37] local.INFO: Packet analysis {"connection_id":219428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:02:37] local.INFO: Extracted packet for processing {"connection_id":219428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777483776001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792099847000,"timestamp_ms":1792099847000,"timestamp_seconds":1792099847,"priority":1,"record_length":96,"hex_timestamp":"000001a141798b58"} 
[2026-10-16 03:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:02:37] 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-10-16 03: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-10-16 03:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":219428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":219428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":219428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777483776001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777483776001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:02:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777483776001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":219428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:02:37] local.INFO: GPS data processed {"connection_id":219428,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:02:37] local.INFO: Acknowledgment sent {"connection_id":219428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:02:52] local.INFO: TCP Data received {"connection_id":217706,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:02:52] local.INFO: Processing buffer {"connection_id":217706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:02:52] local.INFO: IMEI packet received {"connection_id":217706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":217706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:02:56] local.INFO: TCP Data received {"connection_id":216155,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:02:56] local.INFO: Processing buffer {"connection_id":216155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:02:56] local.INFO: Packet analysis {"connection_id":216155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:02:56] local.INFO: Extracted packet for processing {"connection_id":216155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:02:56] 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-10-16 03:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:02:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:02:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":216155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:02:56] local.INFO: GPS data processed {"connection_id":216155,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:02:56] local.INFO: Acknowledgment sent {"connection_id":216155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:02:57] local.INFO: TCP Data received {"connection_id":217706,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:02:57] local.INFO: Processing buffer {"connection_id":217706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:02:57] local.INFO: IMEI packet received {"connection_id":217706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":217706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:02:59] local.INFO: TCP Data received {"connection_id":217706,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14179b268012d503c40064e6850000901462c..."} 
[2026-10-16 03:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14179b268012d503c40064e6850000901462c..."} 
[2026-10-16 03:02:59] local.INFO: Processing buffer {"connection_id":217706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14179b268012d503c40064e6850000901462c..."} 
[2026-10-16 03:02:59] local.INFO: Packet analysis {"connection_id":217706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:02:59] local.INFO: Extracted packet for processing {"connection_id":217706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:02:59] local.INFO: GPS Element Parsed {"raw_longitude":760233024,"raw_latitude":105801808,"longitude_deg":76.0233024,"latitude_deg":10.5801808,"altitude":9,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d503c40","hex_latitude":"064e6850","is_valid_coordinates":true} 
[2026-10-16 03:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777558016001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12217897761898496,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5781566417466314752,"note":"Value kept but may cause issues"} 
[2026-10-16 03:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099857000,"timestamp_ms":1792099857000,"timestamp_seconds":1792099857,"priority":1,"record_length":96,"hex_timestamp":"000001a14179b268"} 
[2026-10-16 03:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:02: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-10-16 03:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-16 03:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777558016001,"66":27691,"35":206,"19":38144,"24":0,"16":12217897761898496,"45":5781566417466314752},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-10-16 03:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777558016001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:02:59] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-16 03:02:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12217897761898496,"km_value":12217897761898.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5781566417466314752,"description":"Unknown IO ID 45"} 
[2026-10-16 03:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777558016001,"power":27691,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5781566417466314752}} 
[2026-10-16 03:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":217706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043948,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:02:59] local.INFO: GPS data processed {"connection_id":217706,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:02:59] local.INFO: Acknowledgment sent {"connection_id":217706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:03:18] local.INFO: TCP Data received {"connection_id":217707,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:03:18] local.INFO: Processing buffer {"connection_id":217707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:03:18] local.INFO: IMEI packet received {"connection_id":217707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":217707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:03:21] local.INFO: TCP Data received {"connection_id":219429,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:03:21] local.INFO: Processing buffer {"connection_id":219429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:03:21] local.INFO: IMEI packet received {"connection_id":219429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":219429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:03:23] local.INFO: TCP Data received {"connection_id":217707,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:03:23] local.INFO: Processing buffer {"connection_id":217707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:03:23] local.INFO: IMEI packet received {"connection_id":217707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":217707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:03:24] local.INFO: TCP Data received {"connection_id":217707,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:03:24] local.INFO: Processing buffer {"connection_id":217707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:03:24] local.INFO: Packet analysis {"connection_id":217707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:03:24] local.INFO: Extracted packet for processing {"connection_id":217707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:03:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:03:24] 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-10-16 03:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:03:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:03:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":217707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:03:24] local.INFO: GPS data processed {"connection_id":217707,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:03:24] local.INFO: Acknowledgment sent {"connection_id":217707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:03:26] local.INFO: TCP Data received {"connection_id":219429,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:03:26] local.INFO: Processing buffer {"connection_id":219429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:03:26] local.INFO: IMEI packet received {"connection_id":219429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":219429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:03:27] local.INFO: TCP Data received {"connection_id":219429,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:03:27] local.INFO: Processing buffer {"connection_id":219429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:03:27] local.INFO: Packet analysis {"connection_id":219429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:03:27] local.INFO: Extracted packet for processing {"connection_id":219429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777483776001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099847000,"timestamp_ms":1792099847000,"timestamp_seconds":1792099847,"priority":1,"record_length":96,"hex_timestamp":"000001a141798b58"} 
[2026-10-16 03:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:03:27] 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-10-16 03:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:03: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-10-16 03:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777483776001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777483776001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:03:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777483776001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:03:27] local.INFO: TCP Data received {"connection_id":217707,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":219429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:03:27] local.INFO: GPS data processed {"connection_id":219429,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:03:27] local.INFO: Acknowledgment sent {"connection_id":219429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:03:27] local.INFO: Processing buffer {"connection_id":217707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:03:27] local.INFO: Packet analysis {"connection_id":217707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:03:27] local.INFO: Extracted packet for processing {"connection_id":217707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:03:27] 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-10-16 03:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:03:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:03:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":217707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:03:27] local.INFO: GPS data processed {"connection_id":217707,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:03:27] local.INFO: Acknowledgment sent {"connection_id":217707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:03:31] local.INFO: TCP Data received {"connection_id":217706,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141be0e680100000000000000000000000000..."} 
[2026-10-16 03:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be0e680100000000000000000000000000..."} 
[2026-10-16 03:03:31] local.INFO: Processing buffer {"connection_id":217706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be0e680100000000000000000000000000..."} 
[2026-10-16 03:03:31] local.INFO: Packet analysis {"connection_id":217706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 03:03:31] local.INFO: Extracted packet for processing {"connection_id":217706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 03: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-10-16 03:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777563392001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12217897761898496,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5781566417466314752,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792104337000,"timestamp_ms":1792104337000,"timestamp_seconds":1792104337,"priority":1,"record_length":96,"hex_timestamp":"000001a141be0e68"} 
[2026-10-16 03:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-10-16 03:03:31] 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-10-16 03:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":217706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":217706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":217706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":217706,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 03:03:31] local.INFO: GPS data processed {"connection_id":217706,"processed":0,"errors":0,"total":1} 
[2026-10-16 03:03:31] local.INFO: Acknowledgment sent {"connection_id":217706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:03:52] local.INFO: TCP Data received {"connection_id":216347,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:03:52] local.INFO: Processing buffer {"connection_id":216347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:03:52] local.INFO: IMEI packet received {"connection_id":216347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":216347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:03:57] local.INFO: TCP Data received {"connection_id":216347,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:03:57] local.INFO: Processing buffer {"connection_id":216347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:03:57] local.INFO: IMEI packet received {"connection_id":216347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":216347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:03:58] local.INFO: TCP Data received {"connection_id":216347,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a17f8012d5009c0064e55e0000f00e82f..."} 
[2026-10-16 03:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a17f8012d5009c0064e55e0000f00e82f..."} 
[2026-10-16 03:03:58] local.INFO: Processing buffer {"connection_id":216347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a17f8012d5009c0064e55e0000f00e82f..."} 
[2026-10-16 03:03:58] local.INFO: Packet analysis {"connection_id":216347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:03:58] local.INFO: Extracted packet for processing {"connection_id":216347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:03:58] local.INFO: GPS Element Parsed {"raw_longitude":760220096,"raw_latitude":105797088,"longitude_deg":76.0220096,"latitude_deg":10.5797088,"altitude":15,"angle":232,"satellites":47,"speed":21,"hex_longitude":"2d5009c0","hex_latitude":"064e55e0","is_valid_coordinates":true} 
[2026-10-16 03:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12217897761898496,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 03:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792099883000,"timestamp_ms":1792099883000,"timestamp_seconds":1792099883,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a17f8"} 
[2026-10-16 03:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 03:03:58] 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-10-16 03:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"35":206,"19":38144,"24":21,"16":12217897761898496},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16]} 
[2026-10-16 03:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 03:03:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-16 03:03:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12217897761898496,"km_value":12217897761898.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:03:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_35":206,"unknown_19":38144,"ignition":21,"odometer":null}} 
[2026-10-16 03:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":216347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043952,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:03:58] local.INFO: GPS data processed {"connection_id":216347,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:03:58] local.INFO: Acknowledgment sent {"connection_id":216347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:03:59] local.INFO: TCP Data received {"connection_id":219429,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:03:59] local.INFO: Processing buffer {"connection_id":219429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:03:59] local.INFO: Packet analysis {"connection_id":219429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:03:59] local.INFO: Extracted packet for processing {"connection_id":219429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777483776001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099847000,"timestamp_ms":1792099847000,"timestamp_seconds":1792099847,"priority":1,"record_length":96,"hex_timestamp":"000001a141798b58"} 
[2026-10-16 03:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:03:59] 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-10-16 03:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:03: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-10-16 03:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777483776001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777483776001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:03:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:03:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777483776001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":219429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:03:59] local.INFO: GPS data processed {"connection_id":219429,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:03:59] local.INFO: Acknowledgment sent {"connection_id":219429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:03:59] local.INFO: TCP Data received {"connection_id":217707,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:03:59] local.INFO: Processing buffer {"connection_id":217707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:03:59] local.INFO: Packet analysis {"connection_id":217707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:03:59] local.INFO: Extracted packet for processing {"connection_id":217707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:03:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:03:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":217707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:03:59] local.INFO: GPS data processed {"connection_id":217707,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:03:59] local.INFO: Acknowledgment sent {"connection_id":217707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:04:18] local.INFO: TCP Data received {"connection_id":216348,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:04:18] local.INFO: Processing buffer {"connection_id":216348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:04:18] local.INFO: IMEI packet received {"connection_id":216348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":216348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:04:21] local.INFO: TCP Data received {"connection_id":217708,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:04:21] local.INFO: Processing buffer {"connection_id":217708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:04:21] local.INFO: IMEI packet received {"connection_id":217708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":217708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:04:23] local.INFO: TCP Data received {"connection_id":216348,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:04:23] local.INFO: Processing buffer {"connection_id":216348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:04:23] local.INFO: IMEI packet received {"connection_id":216348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":216348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:04:24] local.INFO: TCP Data received {"connection_id":216348,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:04:24] local.INFO: Processing buffer {"connection_id":216348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:04:24] local.INFO: Packet analysis {"connection_id":216348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:04:24] local.INFO: Extracted packet for processing {"connection_id":216348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:04:24] 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-10-16 03:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:04:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:04:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":216348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:04:24] local.INFO: GPS data processed {"connection_id":216348,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:04:24] local.INFO: Acknowledgment sent {"connection_id":216348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:04:26] local.INFO: TCP Data received {"connection_id":217708,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:04:26] local.INFO: Processing buffer {"connection_id":217708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:04:26] local.INFO: IMEI packet received {"connection_id":217708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":217708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:04:27] local.INFO: TCP Data received {"connection_id":217708,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:04:27] local.INFO: Processing buffer {"connection_id":217708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:04:27] local.INFO: Packet analysis {"connection_id":217708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:04:27] local.INFO: Extracted packet for processing {"connection_id":217708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777483776001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099847000,"timestamp_ms":1792099847000,"timestamp_seconds":1792099847,"priority":1,"record_length":96,"hex_timestamp":"000001a141798b58"} 
[2026-10-16 03:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:04:27] 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-10-16 03:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:04: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-10-16 03:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777483776001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777483776001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:04:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777483776001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":217708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:04:27] local.INFO: GPS data processed {"connection_id":217708,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:04:27] local.INFO: Acknowledgment sent {"connection_id":217708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:04:29] local.INFO: TCP Data received {"connection_id":216347,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141be73f80100000000000000000000000000..."} 
[2026-10-16 03:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be73f80100000000000000000000000000..."} 
[2026-10-16 03:04:29] local.INFO: Processing buffer {"connection_id":216347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be73f80100000000000000000000000000..."} 
[2026-10-16 03:04:29] local.INFO: Packet analysis {"connection_id":216347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 03:04:29] local.INFO: Extracted packet for processing {"connection_id":216347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 03:04:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 03:04: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-10-16 03:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777570048001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12217897761898496,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5767351931141218304,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792104363000,"timestamp_ms":1792104363000,"timestamp_seconds":1792104363,"priority":1,"record_length":96,"hex_timestamp":"000001a141be73f8"} 
[2026-10-16 03:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 03:04:29] 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-10-16 03:04: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-10-16 03:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":216347,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 03:04:29] local.INFO: GPS data processed {"connection_id":216347,"processed":0,"errors":0,"total":1} 
[2026-10-16 03:04:29] local.INFO: Acknowledgment sent {"connection_id":216347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:04:52] local.INFO: TCP Data received {"connection_id":216349,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:04:52] local.INFO: Processing buffer {"connection_id":216349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:04:52] local.INFO: IMEI packet received {"connection_id":216349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":216349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:04:56] local.INFO: TCP Data received {"connection_id":216348,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:04:56] local.INFO: Processing buffer {"connection_id":216348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:04:56] local.INFO: Packet analysis {"connection_id":216348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:04:56] local.INFO: Extracted packet for processing {"connection_id":216348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:04:56] 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-10-16 03: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-10-16 03:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:04:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:04:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":216348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:04:56] local.INFO: GPS data processed {"connection_id":216348,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:04:56] local.INFO: Acknowledgment sent {"connection_id":216348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:04:57] local.INFO: TCP Data received {"connection_id":216349,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:04:57] local.INFO: Processing buffer {"connection_id":216349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:04:57] local.INFO: IMEI packet received {"connection_id":216349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":216349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:04:58] local.INFO: TCP Data received {"connection_id":217708,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:04:58] local.INFO: Processing buffer {"connection_id":217708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:04:58] local.INFO: Packet analysis {"connection_id":217708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:04:58] local.INFO: Extracted packet for processing {"connection_id":217708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777483776001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792099847000,"timestamp_ms":1792099847000,"timestamp_seconds":1792099847,"priority":1,"record_length":96,"hex_timestamp":"000001a141798b58"} 
[2026-10-16 03:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:04:58] 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-10-16 03:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:04: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-10-16 03:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777483776001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777483776001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:04:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777483776001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":217708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:04:58] local.INFO: GPS data processed {"connection_id":217708,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:04:58] local.INFO: Acknowledgment sent {"connection_id":217708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:04:59] local.INFO: TCP Data received {"connection_id":216349,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a75b8012d4fd2c0064e2f18000900f72b..."} 
[2026-10-16 03:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a75b8012d4fd2c0064e2f18000900f72b..."} 
[2026-10-16 03:04:59] local.INFO: Processing buffer {"connection_id":216349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a75b8012d4fd2c0064e2f18000900f72b..."} 
[2026-10-16 03:04:59] local.INFO: Packet analysis {"connection_id":216349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:04:59] local.INFO: Extracted packet for processing {"connection_id":216349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:04:59] local.INFO: GPS Element Parsed {"raw_longitude":760206016,"raw_latitude":105787160,"longitude_deg":76.0206016,"latitude_deg":10.578716,"altitude":9,"angle":247,"satellites":43,"speed":31,"hex_longitude":"2d4fd2c0","hex_latitude":"064e2f18","is_valid_coordinates":true} 
[2026-10-16 03:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12217897761898496,"note":"Value kept but may cause issues"} 
[2026-10-16 03:04:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 03:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792099907000,"timestamp_ms":1792099907000,"timestamp_seconds":1792099907,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a75b8"} 
[2026-10-16 03:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:04: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 03:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27713,"35":206,"19":38144,"24":31,"16":12217897761898496},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16]} 
[2026-10-16 03:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 03:04:59] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-16 03:04:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12217897761898496,"km_value":12217897761898.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:04:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27713,"unknown_35":206,"unknown_19":38144,"ignition":31,"odometer":null}} 
[2026-10-16 03:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":216349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:04:59] local.INFO: GPS data processed {"connection_id":216349,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:04:59] local.INFO: Acknowledgment sent {"connection_id":216349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:05:17] local.INFO: TCP Data received {"connection_id":216156,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:05:17] local.INFO: Processing buffer {"connection_id":216156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:05:17] local.INFO: IMEI packet received {"connection_id":216156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":216156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:05:21] local.INFO: TCP Data received {"connection_id":217709,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:05:21] local.INFO: Processing buffer {"connection_id":217709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:05:21] local.INFO: IMEI packet received {"connection_id":217709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":217709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:05:23] local.INFO: TCP Data received {"connection_id":216156,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:05:23] local.INFO: Processing buffer {"connection_id":216156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:05:23] local.INFO: IMEI packet received {"connection_id":216156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":216156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:05:24] local.INFO: TCP Data received {"connection_id":216156,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:05:24] local.INFO: Processing buffer {"connection_id":216156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:05:24] local.INFO: Packet analysis {"connection_id":216156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:05:24] local.INFO: Extracted packet for processing {"connection_id":216156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:05:24] 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-10-16 03:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:05:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:05:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":216156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:05:24] local.INFO: GPS data processed {"connection_id":216156,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:05:24] local.INFO: Acknowledgment sent {"connection_id":216156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:05:26] local.INFO: TCP Data received {"connection_id":217709,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:05:26] local.INFO: Processing buffer {"connection_id":217709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:05:26] local.INFO: IMEI packet received {"connection_id":217709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":217709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:05:27] local.INFO: TCP Data received {"connection_id":217709,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:05:27] local.INFO: Processing buffer {"connection_id":217709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141798b58012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:05:27] local.INFO: Packet analysis {"connection_id":217709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:05:27] local.INFO: Extracted packet for processing {"connection_id":217709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14179"} 
[2026-10-16 03:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777483776001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792099847000,"timestamp_ms":1792099847000,"timestamp_seconds":1792099847,"priority":1,"record_length":96,"hex_timestamp":"000001a141798b58"} 
[2026-10-16 03:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:05:27] 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-10-16 03:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:05:27] 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-10-16 03:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777483776001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777483776001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:05:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777483776001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":217709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:05:27] local.INFO: GPS data processed {"connection_id":217709,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:05:27] local.INFO: Acknowledgment sent {"connection_id":217709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:05:30] local.INFO: TCP Data received {"connection_id":216349,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417ac7c0012d4f9f80064e1ea0000a010223..."} 
[2026-10-16 03:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417ac7c0012d4f9f80064e1ea0000a010223..."} 
[2026-10-16 03:05:30] local.INFO: Processing buffer {"connection_id":216349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417ac7c0012d4f9f80064e1ea0000a010223..."} 
[2026-10-16 03:05:30] local.INFO: Packet analysis {"connection_id":216349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:05:30] local.INFO: Extracted packet for processing {"connection_id":216349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:05:30] local.INFO: GPS Element Parsed {"raw_longitude":760192896,"raw_latitude":105782944,"longitude_deg":76.0192896,"latitude_deg":10.5782944,"altitude":10,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d4f9f80","hex_latitude":"064e1ea0","is_valid_coordinates":true} 
[2026-10-16 03:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777576192001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12217897761898496,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5751870807419590656,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792099928000,"timestamp_ms":1792099928000,"timestamp_seconds":1792099928,"priority":1,"record_length":96,"hex_timestamp":"000001a1417ac7c0"} 
[2026-10-16 03:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 03:05:30] 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-10-16 03:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777576192001,"66":27441,"35":206,"19":38144,"24":0,"16":12217897761898496,"45":5751870807419590656},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-10-16 03:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777576192001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:05:30] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-10-16 03:05:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12217897761898496,"km_value":12217897761898.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5751870807419590656,"description":"Unknown IO ID 45"} 
[2026-10-16 03:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777576192001,"power":27441,"unknown_35":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5751870807419590656}} 
[2026-10-16 03:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":216349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:05:30] local.INFO: GPS data processed {"connection_id":216349,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:05:30] local.INFO: Acknowledgment sent {"connection_id":216349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:05:54] local.INFO: TCP Data received {"connection_id":217710,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:05:54] local.INFO: Processing buffer {"connection_id":217710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:05:54] local.INFO: IMEI packet received {"connection_id":217710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":217710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:05:56] local.INFO: TCP Data received {"connection_id":216156,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:05:56] local.INFO: Processing buffer {"connection_id":216156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:05:56] local.INFO: Packet analysis {"connection_id":216156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:05:56] local.INFO: Extracted packet for processing {"connection_id":216156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:05:56] 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-10-16 03:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:05:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:05:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":216156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:05:56] local.INFO: GPS data processed {"connection_id":216156,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:05:56] local.INFO: Acknowledgment sent {"connection_id":216156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:05:57] local.INFO: TCP Data received {"connection_id":217710,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:05:57] local.INFO: Processing buffer {"connection_id":217710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:05:57] local.INFO: IMEI packet received {"connection_id":217710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":217710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:05:58] local.INFO: TCP Data received {"connection_id":217709,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:05:58] local.INFO: Processing buffer {"connection_id":217709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:05:58] local.INFO: Packet analysis {"connection_id":217709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:05:58] local.INFO: Extracted packet for processing {"connection_id":217709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777560832001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792100148000,"timestamp_ms":1792100148000,"timestamp_seconds":1792100148,"priority":1,"record_length":96,"hex_timestamp":"000001a1417e2320"} 
[2026-10-16 03:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:05:58] 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-10-16 03:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777560832001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777560832001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:05:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:05:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777560832001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":217709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:05:58] local.INFO: GPS data processed {"connection_id":217709,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:05:58] local.INFO: Acknowledgment sent {"connection_id":217709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:06:03] local.INFO: TCP Data received {"connection_id":217710,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:03] local.INFO: Processing buffer {"connection_id":217710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:03] local.INFO: IMEI packet received {"connection_id":217710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":217710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:06:05] local.INFO: TCP Data received {"connection_id":217710,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417d4090012d4efbc0064f34000009014a2e..."} 
[2026-10-16 03:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417d4090012d4efbc0064f34000009014a2e..."} 
[2026-10-16 03:06:05] local.INFO: Processing buffer {"connection_id":217710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417d4090012d4efbc0064f34000009014a2e..."} 
[2026-10-16 03:06:05] local.INFO: Packet analysis {"connection_id":217710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417d"} 
[2026-10-16 03:06:05] local.INFO: Extracted packet for processing {"connection_id":217710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417d"} 
[2026-10-16 03:06:05] local.INFO: GPS Element Parsed {"raw_longitude":760150976,"raw_latitude":105853952,"longitude_deg":76.0150976,"latitude_deg":10.5853952,"altitude":9,"angle":330,"satellites":46,"speed":42,"hex_longitude":"2d4efbc0","hex_latitude":"064f3400","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777620736001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12219233496727552,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5696209130790176768,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792100090000,"timestamp_ms":1792100090000,"timestamp_seconds":1792100090,"priority":1,"record_length":96,"hex_timestamp":"000001a1417d4090"} 
[2026-10-16 03:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:06: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-10-16 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 03:06: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-10-16 03: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-10-16 03:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777620736001,"66":27463,"234":206,"19":38144,"24":42,"16":12219233496727552,"45":5696209130790176768},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,19,24,16,45]} 
[2026-10-16 03:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777620736001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:06:05] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-16 03:06:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12219233496727552,"km_value":12219233496727.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5696209130790176768,"description":"Unknown IO ID 45"} 
[2026-10-16 03:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777620736001,"power":27463,"unknown_234":206,"unknown_19":38144,"ignition":42,"odometer":null,"unknown_45":5696209130790176768}} 
[2026-10-16 03:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":217710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:06:05] local.INFO: GPS data processed {"connection_id":217710,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:06:05] local.INFO: Acknowledgment sent {"connection_id":217710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:06:06] local.INFO: TCP Data received {"connection_id":217710,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417d63b8012d4eea00064f5550000a014d30..."} 
[2026-10-16 03:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417d63b8012d4eea00064f5550000a014d30..."} 
[2026-10-16 03:06:06] local.INFO: Processing buffer {"connection_id":217710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417d63b8012d4eea00064f5550000a014d30..."} 
[2026-10-16 03:06:06] local.INFO: Packet analysis {"connection_id":217710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417d"} 
[2026-10-16 03:06:06] local.INFO: Extracted packet for processing {"connection_id":217710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417d"} 
[2026-10-16 03:06:06] local.INFO: GPS Element Parsed {"raw_longitude":760146432,"raw_latitude":105862480,"longitude_deg":76.0146432,"latitude_deg":10.586248,"altitude":10,"angle":333,"satellites":48,"speed":43,"hex_longitude":"2d4eea00","hex_latitude":"064f5550","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777623040001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12219701648162816,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5691353687443898368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792100099000,"timestamp_ms":1792100099000,"timestamp_seconds":1792100099,"priority":1,"record_length":96,"hex_timestamp":"000001a1417d63b8"} 
[2026-10-16 03:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:06: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-10-16 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 03:06: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-10-16 03: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-10-16 03:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777623040001,"66":27310,"234":206,"19":38144,"24":43,"16":12219701648162816,"45":5691353687443898368},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,19,24,16,45]} 
[2026-10-16 03:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777623040001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:06:06] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-16 03:06:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12219701648162816,"km_value":12219701648162.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5691353687443898368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777623040001,"power":27310,"unknown_234":206,"unknown_19":38144,"ignition":43,"odometer":null,"unknown_45":5691353687443898368}} 
[2026-10-16 03:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":217710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:06:06] local.INFO: GPS data processed {"connection_id":217710,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:06:06] local.INFO: Acknowledgment sent {"connection_id":217710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:06:17] local.INFO: TCP Data received {"connection_id":216157,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:06:17] local.INFO: Processing buffer {"connection_id":216157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:06:17] local.INFO: IMEI packet received {"connection_id":216157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":216157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:06:21] local.INFO: TCP Data received {"connection_id":216158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:06:21] local.INFO: Processing buffer {"connection_id":216158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:06:21] local.INFO: IMEI packet received {"connection_id":216158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":216158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:06:23] local.INFO: TCP Data received {"connection_id":216157,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:06:23] local.INFO: Processing buffer {"connection_id":216157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:06:23] local.INFO: IMEI packet received {"connection_id":216157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":216157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:06:24] local.INFO: TCP Data received {"connection_id":216157,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:06:24] local.INFO: Processing buffer {"connection_id":216157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:06:24] local.INFO: Packet analysis {"connection_id":216157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:06:24] local.INFO: Extracted packet for processing {"connection_id":216157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:06:24] 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-10-16 03: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-10-16 03:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:06:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:06:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":216157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:06:24] local.INFO: GPS data processed {"connection_id":216157,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:06:24] local.INFO: Acknowledgment sent {"connection_id":216157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:06:26] local.INFO: TCP Data received {"connection_id":216158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:06:26] local.INFO: Processing buffer {"connection_id":216158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:06:26] local.INFO: IMEI packet received {"connection_id":216158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":216158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:06:28] local.INFO: TCP Data received {"connection_id":216158,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:06:28] local.INFO: Processing buffer {"connection_id":216158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:06:28] local.INFO: Packet analysis {"connection_id":216158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:06:28] local.INFO: Extracted packet for processing {"connection_id":216158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:06:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777560832001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792100148000,"timestamp_ms":1792100148000,"timestamp_seconds":1792100148,"priority":1,"record_length":96,"hex_timestamp":"000001a1417e2320"} 
[2026-10-16 03:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:06:28] 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-10-16 03:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777560832001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777560832001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:06:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777560832001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":216158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:06:28] local.INFO: GPS data processed {"connection_id":216158,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:06:28] local.INFO: Acknowledgment sent {"connection_id":216158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:06:38] local.INFO: TCP Data received {"connection_id":217710,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417d86e0012d4ed6c0064f7750000c014930..."} 
[2026-10-16 03:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417d86e0012d4ed6c0064f7750000c014930..."} 
[2026-10-16 03:06:38] local.INFO: Processing buffer {"connection_id":217710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417d86e0012d4ed6c0064f7750000c014930..."} 
[2026-10-16 03:06:38] local.INFO: Packet analysis {"connection_id":217710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417d"} 
[2026-10-16 03:06:38] local.INFO: Extracted packet for processing {"connection_id":217710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417d"} 
[2026-10-16 03:06:38] local.INFO: GPS Element Parsed {"raw_longitude":760141504,"raw_latitude":105871184,"longitude_deg":76.0141504,"latitude_deg":10.5871184,"altitude":12,"angle":329,"satellites":48,"speed":44,"hex_longitude":"2d4ed6c0","hex_latitude":"064f7750","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777625344001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12220182684499968,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5686357506609467392,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792100108000,"timestamp_ms":1792100108000,"timestamp_seconds":1792100108,"priority":1,"record_length":96,"hex_timestamp":"000001a1417d86e0"} 
[2026-10-16 03:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:06: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-10-16 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 03:06:38] 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-10-16 03: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-10-16 03:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777625344001,"66":27213,"233":206,"19":38144,"24":44,"16":12220182684499968,"45":5686357506609467392},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,19,24,16,45]} 
[2026-10-16 03:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777625344001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:06:38] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-10-16 03:06:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12220182684499968,"km_value":12220182684499.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5686357506609467392,"description":"Unknown IO ID 45"} 
[2026-10-16 03:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777625344001,"power":27213,"unknown_233":206,"unknown_19":38144,"ignition":44,"odometer":null,"unknown_45":5686357506609467392}} 
[2026-10-16 03:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":217710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:06:38] local.INFO: GPS data processed {"connection_id":217710,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:06:38] local.INFO: Acknowledgment sent {"connection_id":217710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:06:51] local.INFO: TCP Data received {"connection_id":216350,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:51] local.INFO: Processing buffer {"connection_id":216350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:51] local.INFO: IMEI packet received {"connection_id":216350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":216350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:06:52] local.INFO: TCP Data received {"connection_id":216350,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:52] local.INFO: Processing buffer {"connection_id":216350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:52] local.INFO: IMEI packet received {"connection_id":216350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":216350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:06:56] local.INFO: TCP Data received {"connection_id":216157,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:06:56] local.INFO: Processing buffer {"connection_id":216157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417a42f0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:06:56] local.INFO: Packet analysis {"connection_id":216157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:06:56] local.INFO: Extracted packet for processing {"connection_id":216157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417a"} 
[2026-10-16 03:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777495808001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792099894000,"timestamp_ms":1792099894000,"timestamp_seconds":1792099894,"priority":1,"record_length":96,"hex_timestamp":"000001a1417a42f0"} 
[2026-10-16 03:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 03:06:56] 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-10-16 03:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777495808001,"66":25756,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777495808001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:06:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:06:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777495808001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":216157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:06:56] local.INFO: GPS data processed {"connection_id":216157,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:06:56] local.INFO: Acknowledgment sent {"connection_id":216157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:06:58] local.INFO: TCP Data received {"connection_id":216350,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:58] local.INFO: Processing buffer {"connection_id":216350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:06:58] local.INFO: IMEI packet received {"connection_id":216350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":216350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:06:59] local.INFO: TCP Data received {"connection_id":216350,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417da620012d4ec540064f96f8000c014b2f..."} 
[2026-10-16 03:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417da620012d4ec540064f96f8000c014b2f..."} 
[2026-10-16 03:06:59] local.INFO: Processing buffer {"connection_id":216350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417da620012d4ec540064f96f8000c014b2f..."} 
[2026-10-16 03:06:59] local.INFO: Packet analysis {"connection_id":216350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417d"} 
[2026-10-16 03:06:59] local.INFO: Extracted packet for processing {"connection_id":216350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417d"} 
[2026-10-16 03:06:59] local.INFO: GPS Element Parsed {"raw_longitude":760137024,"raw_latitude":105879288,"longitude_deg":76.0137024,"latitude_deg":10.5879288,"altitude":12,"angle":331,"satellites":47,"speed":47,"hex_longitude":"2d4ec540","hex_latitude":"064f96f8","is_valid_coordinates":true} 
[2026-10-16 03:06: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-10-16 03:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777627648001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12220629361098752,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5680939113310015488,"note":"Value kept but may cause issues"} 
[2026-10-16 03:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792100116000,"timestamp_ms":1792100116000,"timestamp_seconds":1792100116,"priority":1,"record_length":96,"hex_timestamp":"000001a1417da620"} 
[2026-10-16 03:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:06: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-10-16 03:06: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-10-16 03:06: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-10-16 03:06: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-10-16 03:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777627648001,"66":27115,"233":206,"19":38144,"24":47,"16":12220629361098752,"45":5680939113310015488},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,19,24,16,45]} 
[2026-10-16 03:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777627648001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:06:59] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-10-16 03:06:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12220629361098752,"km_value":12220629361098.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5680939113310015488,"description":"Unknown IO ID 45"} 
[2026-10-16 03:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777627648001,"power":27115,"unknown_233":206,"unknown_19":38144,"ignition":47,"odometer":null,"unknown_45":5680939113310015488}} 
[2026-10-16 03:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":216350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:06:59] local.INFO: GPS data processed {"connection_id":216350,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:06:59] local.INFO: Acknowledgment sent {"connection_id":216350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:07:03] local.INFO: TCP Data received {"connection_id":216158,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:07:03] local.INFO: Processing buffer {"connection_id":216158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:07:03] local.INFO: Packet analysis {"connection_id":216158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:03] local.INFO: Extracted packet for processing {"connection_id":216158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777560832001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792100148000,"timestamp_ms":1792100148000,"timestamp_seconds":1792100148,"priority":1,"record_length":96,"hex_timestamp":"000001a1417e2320"} 
[2026-10-16 03:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777560832001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777560832001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:07:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:07:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777560832001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":216158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:07:03] local.INFO: GPS data processed {"connection_id":216158,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:07:03] local.INFO: Acknowledgment sent {"connection_id":216158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:07:23] local.INFO: TCP Data received {"connection_id":219430,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:07:23] local.INFO: Processing buffer {"connection_id":219430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:07:23] local.INFO: IMEI packet received {"connection_id":219430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":219430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:07:26] local.INFO: TCP Data received {"connection_id":216351,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:07:26] local.INFO: Processing buffer {"connection_id":216351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:07:26] local.INFO: IMEI packet received {"connection_id":216351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":216351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:07:27] local.INFO: TCP Data received {"connection_id":219430,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:07:27] local.INFO: Processing buffer {"connection_id":219430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:07:27] local.INFO: IMEI packet received {"connection_id":219430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":219430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:07:28] local.INFO: TCP Data received {"connection_id":219430,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:07:28] local.INFO: Processing buffer {"connection_id":219430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:07:28] local.INFO: Packet analysis {"connection_id":219430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:28] local.INFO: Extracted packet for processing {"connection_id":219430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777572864001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792100195000,"timestamp_ms":1792100195000,"timestamp_seconds":1792100195,"priority":1,"record_length":96,"hex_timestamp":"000001a1417edab8"} 
[2026-10-16 03:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 03:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777572864001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777572864001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:07:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:07:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777572864001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":219430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:07:28] local.INFO: GPS data processed {"connection_id":219430,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:07:28] local.INFO: Acknowledgment sent {"connection_id":219430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:07:31] local.INFO: TCP Data received {"connection_id":216351,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:07:31] local.INFO: Processing buffer {"connection_id":216351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:07:31] local.INFO: IMEI packet received {"connection_id":216351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":216351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:07:32] local.INFO: TCP Data received {"connection_id":216351,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:07:32] local.INFO: Processing buffer {"connection_id":216351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:07:32] local.INFO: Packet analysis {"connection_id":216351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:32] local.INFO: Extracted packet for processing {"connection_id":216351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777560832001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792100148000,"timestamp_ms":1792100148000,"timestamp_seconds":1792100148,"priority":1,"record_length":96,"hex_timestamp":"000001a1417e2320"} 
[2026-10-16 03:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:07:32] 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-10-16 03:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777560832001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777560832001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:07:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777560832001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":216351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:07:32] local.INFO: GPS data processed {"connection_id":216351,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:07:32] local.INFO: Acknowledgment sent {"connection_id":216351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:07:32] local.INFO: TCP Data received {"connection_id":216350,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417ed2e8012d4e10c006511de8000601512e..."} 
[2026-10-16 03:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417ed2e8012d4e10c006511de8000601512e..."} 
[2026-10-16 03:07:32] local.INFO: Processing buffer {"connection_id":216350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417ed2e8012d4e10c006511de8000601512e..."} 
[2026-10-16 03:07:32] local.INFO: Packet analysis {"connection_id":216350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:32] local.INFO: Extracted packet for processing {"connection_id":216350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:32] local.INFO: GPS Element Parsed {"raw_longitude":760090816,"raw_latitude":105979368,"longitude_deg":76.0090816,"latitude_deg":10.5979368,"altitude":6,"angle":337,"satellites":46,"speed":58,"hex_longitude":"2d4e10c0","hex_latitude":"06511de8","is_valid_coordinates":true} 
[2026-10-16 03:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777647616001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12225963710480384,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5629429192597243904,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792100193000,"timestamp_ms":1792100193000,"timestamp_seconds":1792100193,"priority":1,"record_length":96,"hex_timestamp":"000001a1417ed2e8"} 
[2026-10-16 03:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:07: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-10-16 03:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 03:07:32] 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-10-16 03:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777647616001,"66":27039,"235":206,"19":38144,"24":58,"16":12225963710480384,"45":5629429192597243904},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-10-16 03:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777647616001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:07:32] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-16 03:07:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12225963710480384,"km_value":12225963710480.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5629429192597243904,"description":"Unknown IO ID 45"} 
[2026-10-16 03:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777647616001,"power":27039,"unknown_235":206,"unknown_19":38144,"ignition":58,"odometer":null,"unknown_45":5629429192597243904}} 
[2026-10-16 03:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":216350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:07:33] local.INFO: GPS data processed {"connection_id":216350,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:07:33] local.INFO: Acknowledgment sent {"connection_id":216350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:07:33] local.INFO: TCP Data received {"connection_id":219430,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:07:33] local.INFO: Processing buffer {"connection_id":219430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:07:33] local.INFO: Packet analysis {"connection_id":219430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:33] local.INFO: Extracted packet for processing {"connection_id":219430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777572864001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792100195000,"timestamp_ms":1792100195000,"timestamp_seconds":1792100195,"priority":1,"record_length":96,"hex_timestamp":"000001a1417edab8"} 
[2026-10-16 03:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 03:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777572864001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777572864001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:07:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:07:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777572864001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":219430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:07:33] local.INFO: GPS data processed {"connection_id":219430,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:07:33] local.INFO: Acknowledgment sent {"connection_id":219430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:07:37] local.INFO: TCP Data received {"connection_id":216351,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:07:37] local.INFO: Processing buffer {"connection_id":216351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:07:37] local.INFO: Packet analysis {"connection_id":216351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:37] local.INFO: Extracted packet for processing {"connection_id":216351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777560832001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792100148000,"timestamp_ms":1792100148000,"timestamp_seconds":1792100148,"priority":1,"record_length":96,"hex_timestamp":"000001a1417e2320"} 
[2026-10-16 03:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:07:37] 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-10-16 03: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-10-16 03:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777560832001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777560832001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:07:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777560832001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":216351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:07:37] local.INFO: GPS data processed {"connection_id":216351,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:07:37] local.INFO: Acknowledgment sent {"connection_id":216351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:07:57] local.INFO: TCP Data received {"connection_id":217711,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:07:57] local.INFO: Processing buffer {"connection_id":217711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:07:57] local.INFO: IMEI packet received {"connection_id":217711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":217711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:08:00] local.INFO: TCP Data received {"connection_id":217711,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:00] local.INFO: Processing buffer {"connection_id":217711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:00] local.INFO: IMEI packet received {"connection_id":217711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":217711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:08:02] local.INFO: TCP Data received {"connection_id":217711,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:02] local.INFO: Processing buffer {"connection_id":217711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:02] local.INFO: IMEI packet received {"connection_id":217711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":217711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:08:03] local.INFO: TCP Data received {"connection_id":217711,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417eee40012d4e0180065142d0000601522f..."} 
[2026-10-16 03:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417eee40012d4e0180065142d0000601522f..."} 
[2026-10-16 03:08:03] local.INFO: Processing buffer {"connection_id":217711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417eee40012d4e0180065142d0000601522f..."} 
[2026-10-16 03:08:03] local.INFO: Packet analysis {"connection_id":217711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:08:03] local.INFO: Extracted packet for processing {"connection_id":217711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:08:03] local.INFO: GPS Element Parsed {"raw_longitude":760086912,"raw_latitude":105988816,"longitude_deg":76.0086912,"latitude_deg":10.5988816,"altitude":6,"angle":338,"satellites":47,"speed":58,"hex_longitude":"2d4e0180","hex_latitude":"065142d0","is_valid_coordinates":true} 
[2026-10-16 03:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649408001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12226457631719424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5625207067949000704,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792100200000,"timestamp_ms":1792100200000,"timestamp_seconds":1792100200,"priority":1,"record_length":96,"hex_timestamp":"000001a1417eee40"} 
[2026-10-16 03:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-10-16 03:08:03] 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-10-16 03:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649408001,"66":27517,"235":206,"19":38144,"24":58,"16":12226457631719424,"45":5625207067949000704},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-10-16 03:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649408001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:08:03] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-16 03:08:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12226457631719424,"km_value":12226457631719.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5625207067949000704,"description":"Unknown IO ID 45"} 
[2026-10-16 03:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649408001,"power":27517,"unknown_235":206,"unknown_19":38144,"ignition":58,"odometer":null,"unknown_45":5625207067949000704}} 
[2026-10-16 03:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":217711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043978,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:08:03] local.INFO: GPS data processed {"connection_id":217711,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:08:03] local.INFO: Acknowledgment sent {"connection_id":217711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:08:17] local.INFO: TCP Data received {"connection_id":216352,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:08:17] local.INFO: Processing buffer {"connection_id":216352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:08:17] local.INFO: IMEI packet received {"connection_id":216352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":216352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:08:21] local.INFO: TCP Data received {"connection_id":216353,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:08:21] local.INFO: Processing buffer {"connection_id":216353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:08:21] local.INFO: IMEI packet received {"connection_id":216353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":216353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:08:23] local.INFO: TCP Data received {"connection_id":216352,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:08:23] local.INFO: Processing buffer {"connection_id":216352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:08:23] local.INFO: IMEI packet received {"connection_id":216352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":216352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:08:24] local.INFO: TCP Data received {"connection_id":216352,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:08:24] local.INFO: Processing buffer {"connection_id":216352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:08:24] local.INFO: Packet analysis {"connection_id":216352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:08:24] local.INFO: Extracted packet for processing {"connection_id":216352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777572864001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792100195000,"timestamp_ms":1792100195000,"timestamp_seconds":1792100195,"priority":1,"record_length":96,"hex_timestamp":"000001a1417edab8"} 
[2026-10-16 03:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 03:08:24] 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-10-16 03:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777572864001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777572864001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:08:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:08:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777572864001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":216352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:08:24] local.INFO: GPS data processed {"connection_id":216352,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:08:24] local.INFO: Acknowledgment sent {"connection_id":216352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:08:26] local.INFO: TCP Data received {"connection_id":216353,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:08:26] local.INFO: Processing buffer {"connection_id":216353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:08:26] local.INFO: IMEI packet received {"connection_id":216353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":216353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:08:27] local.INFO: TCP Data received {"connection_id":216353,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:08:27] local.INFO: Processing buffer {"connection_id":216353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:08:27] local.INFO: Packet analysis {"connection_id":216353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:08:27] local.INFO: Extracted packet for processing {"connection_id":216353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777560832001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792100148000,"timestamp_ms":1792100148000,"timestamp_seconds":1792100148,"priority":1,"record_length":96,"hex_timestamp":"000001a1417e2320"} 
[2026-10-16 03:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:08:27] 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-10-16 03:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:08:27] 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-10-16 03:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777560832001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777560832001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:08:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777560832001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":216353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:08:27] local.INFO: GPS data processed {"connection_id":216353,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:08:27] local.INFO: Acknowledgment sent {"connection_id":216353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:08:37] local.INFO: TCP Data received {"connection_id":217711,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1417f0998012d4df240065167b0000501522d..."} 
[2026-10-16 03:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417f0998012d4df240065167b0000501522d..."} 
[2026-10-16 03:08:37] local.INFO: Processing buffer {"connection_id":217711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417f0998012d4df240065167b0000501522d..."} 
[2026-10-16 03:08:37] local.INFO: Packet analysis {"connection_id":217711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417f"} 
[2026-10-16 03:08:37] local.INFO: Extracted packet for processing {"connection_id":217711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417f"} 
[2026-10-16 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":760083008,"raw_latitude":105998256,"longitude_deg":76.0083008,"latitude_deg":10.5998256,"altitude":5,"angle":338,"satellites":45,"speed":57,"hex_longitude":"2d4df240","hex_latitude":"065167b0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777651200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12226951552958464,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5620914574556581888,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792100207000,"timestamp_ms":1792100207000,"timestamp_seconds":1792100207,"priority":1,"record_length":96,"hex_timestamp":"000001a1417f0998"} 
[2026-10-16 03:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03: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-10-16 03:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 03:08: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-10-16 03: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-10-16 03:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777651200001,"66":27517,"235":206,"19":38144,"24":57,"16":12226951552958464,"45":5620914574556581888},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-10-16 03:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777651200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:08:37] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-16 03:08:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-10-16 03:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12226951552958464,"km_value":12226951552958.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5620914574556581888,"description":"Unknown IO ID 45"} 
[2026-10-16 03:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777651200001,"power":27517,"unknown_235":206,"unknown_19":38144,"ignition":57,"odometer":null,"unknown_45":5620914574556581888}} 
[2026-10-16 03:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":217711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043981,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:08:38] local.INFO: GPS data processed {"connection_id":217711,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:08:38] local.INFO: Acknowledgment sent {"connection_id":217711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:08:52] local.INFO: TCP Data received {"connection_id":216159,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:52] local.INFO: Processing buffer {"connection_id":216159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:52] local.INFO: IMEI packet received {"connection_id":216159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":216159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:08:55] local.INFO: TCP Data received {"connection_id":216352,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:08:55] local.INFO: Processing buffer {"connection_id":216352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:08:55] local.INFO: Packet analysis {"connection_id":216352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:08:55] local.INFO: Extracted packet for processing {"connection_id":216352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777572864001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792100195000,"timestamp_ms":1792100195000,"timestamp_seconds":1792100195,"priority":1,"record_length":96,"hex_timestamp":"000001a1417edab8"} 
[2026-10-16 03:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 03:08:55] 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-10-16 03:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777572864001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777572864001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:08:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:08:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777572864001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":216352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:08:55] local.INFO: GPS data processed {"connection_id":216352,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:08:55] local.INFO: Acknowledgment sent {"connection_id":216352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:08:59] local.INFO: TCP Data received {"connection_id":216159,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:59] local.INFO: Processing buffer {"connection_id":216159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:59] local.INFO: IMEI packet received {"connection_id":216159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":216159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:08:59] local.INFO: TCP Data received {"connection_id":216159,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:59] local.INFO: Processing buffer {"connection_id":216159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:08:59] local.INFO: IMEI packet received {"connection_id":216159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":216159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:08:59] local.INFO: TCP Data received {"connection_id":216353,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:08:59] local.INFO: Processing buffer {"connection_id":216353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:08:59] local.INFO: Packet analysis {"connection_id":216353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:08:59] local.INFO: Extracted packet for processing {"connection_id":216353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777560832001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792100148000,"timestamp_ms":1792100148000,"timestamp_seconds":1792100148,"priority":1,"record_length":96,"hex_timestamp":"000001a1417e2320"} 
[2026-10-16 03:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:08: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-10-16 03:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:08:59] 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-10-16 03:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777560832001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777560832001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:08:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:08:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777560832001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":216353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:08:59] local.INFO: GPS data processed {"connection_id":216353,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:08:59] local.INFO: Acknowledgment sent {"connection_id":216353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:09:00] local.INFO: TCP Data received {"connection_id":216159,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141803278012d4d33800652e7f00006014c2d..."} 
[2026-10-16 03:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141803278012d4d33800652e7f00006014c2d..."} 
[2026-10-16 03:09:00] local.INFO: Processing buffer {"connection_id":216159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141803278012d4d33800652e7f00006014c2d..."} 
[2026-10-16 03:09:00] local.INFO: Packet analysis {"connection_id":216159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14180"} 
[2026-10-16 03:09:00] local.INFO: Extracted packet for processing {"connection_id":216159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14180"} 
[2026-10-16 03:09:00] local.INFO: GPS Element Parsed {"raw_longitude":760034176,"raw_latitude":106096624,"longitude_deg":76.0034176,"latitude_deg":10.6096624,"altitude":6,"angle":332,"satellites":45,"speed":57,"hex_longitude":"2d4d3380","hex_latitude":"0652e7f0","is_valid_coordinates":true} 
[2026-10-16 03:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777670656001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12232264427503616,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5568208385192794112,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792100283000,"timestamp_ms":1792100283000,"timestamp_seconds":1792100283,"priority":1,"record_length":96,"hex_timestamp":"000001a141803278"} 
[2026-10-16 03:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 03:09:00] 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-10-16 03:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777670656001,"66":27484,"135":206,"28":31488,"24":57,"16":12232264427503616,"45":5568208385192794112},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-10-16 03:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777670656001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:09:00] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 03:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12232264427503616,"km_value":12232264427503.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5568208385192794112,"description":"Unknown IO ID 45"} 
[2026-10-16 03:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777670656001,"power":27484,"unknown_135":206,"unknown_28":31488,"ignition":57,"odometer":null,"unknown_45":5568208385192794112}} 
[2026-10-16 03:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":216159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:09:00] local.INFO: GPS data processed {"connection_id":216159,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:09:00] local.INFO: Acknowledgment sent {"connection_id":216159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:09:03] local.INFO: TCP Data received {"connection_id":216159,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141804dd0012d4d208006530af80006014a2e..."} 
[2026-10-16 03:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141804dd0012d4d208006530af80006014a2e..."} 
[2026-10-16 03:09:03] local.INFO: Processing buffer {"connection_id":216159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141804dd0012d4d208006530af80006014a2e..."} 
[2026-10-16 03:09:03] local.INFO: Packet analysis {"connection_id":216159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14180"} 
[2026-10-16 03:09:03] local.INFO: Extracted packet for processing {"connection_id":216159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14180"} 
[2026-10-16 03:09:03] local.INFO: GPS Element Parsed {"raw_longitude":760029312,"raw_latitude":106105592,"longitude_deg":76.0029312,"latitude_deg":10.6105592,"altitude":6,"angle":330,"satellites":46,"speed":57,"hex_longitude":"2d4d2080","hex_latitude":"06530af8","is_valid_coordinates":true} 
[2026-10-16 03:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777672448001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12232758348742656,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5562930729381785600,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792100290000,"timestamp_ms":1792100290000,"timestamp_seconds":1792100290,"priority":1,"record_length":96,"hex_timestamp":"000001a141804dd0"} 
[2026-10-16 03:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03: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-10-16 03:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 03:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777672448001,"66":27397,"135":206,"28":31488,"24":57,"16":12232758348742656,"45":5562930729381785600},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-10-16 03:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777672448001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:09:03] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 03:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12232758348742656,"km_value":12232758348742.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5562930729381785600,"description":"Unknown IO ID 45"} 
[2026-10-16 03:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777672448001,"power":27397,"unknown_135":206,"unknown_28":31488,"ignition":57,"odometer":null,"unknown_45":5562930729381785600}} 
[2026-10-16 03:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":216159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:09:03] local.INFO: GPS data processed {"connection_id":216159,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:09:03] local.INFO: Acknowledgment sent {"connection_id":216159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:09:17] local.INFO: TCP Data received {"connection_id":216354,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:09:17] local.INFO: Processing buffer {"connection_id":216354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:09:17] local.INFO: IMEI packet received {"connection_id":216354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":216354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:09:21] local.INFO: TCP Data received {"connection_id":216160,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:09:21] local.INFO: Processing buffer {"connection_id":216160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:09:21] local.INFO: IMEI packet received {"connection_id":216160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":216160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:09:23] local.INFO: TCP Data received {"connection_id":216354,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:09:23] local.INFO: Processing buffer {"connection_id":216354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:09:23] local.INFO: IMEI packet received {"connection_id":216354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":216354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:09:24] local.INFO: TCP Data received {"connection_id":216354,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:09:24] local.INFO: Processing buffer {"connection_id":216354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:09:24] local.INFO: Packet analysis {"connection_id":216354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:09:24] local.INFO: Extracted packet for processing {"connection_id":216354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777572864001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792100195000,"timestamp_ms":1792100195000,"timestamp_seconds":1792100195,"priority":1,"record_length":96,"hex_timestamp":"000001a1417edab8"} 
[2026-10-16 03:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 03:09:24] 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-10-16 03:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777572864001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777572864001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:09:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:09:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777572864001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":216354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:09:24] local.INFO: GPS data processed {"connection_id":216354,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:09:24] local.INFO: Acknowledgment sent {"connection_id":216354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:09:26] local.INFO: TCP Data received {"connection_id":216160,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:09:26] local.INFO: Processing buffer {"connection_id":216160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:09:26] local.INFO: IMEI packet received {"connection_id":216160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":216160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:09:27] local.INFO: TCP Data received {"connection_id":216160,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:09:27] local.INFO: Processing buffer {"connection_id":216160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:09:27] local.INFO: Packet analysis {"connection_id":216160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:09:27] local.INFO: Extracted packet for processing {"connection_id":216160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777560832001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792100148000,"timestamp_ms":1792100148000,"timestamp_seconds":1792100148,"priority":1,"record_length":96,"hex_timestamp":"000001a1417e2320"} 
[2026-10-16 03:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:09:27] 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-10-16 03: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-10-16 03:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777560832001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777560832001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:09:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777560832001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":216160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:09:27] local.INFO: GPS data processed {"connection_id":216160,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:09:27] local.INFO: Acknowledgment sent {"connection_id":216160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:09:35] local.INFO: TCP Data received {"connection_id":216159,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141806928012d4d0b4006532ce8000701462f..."} 
[2026-10-16 03:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141806928012d4d0b4006532ce8000701462f..."} 
[2026-10-16 03:09:35] local.INFO: Processing buffer {"connection_id":216159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141806928012d4d0b4006532ce8000701462f..."} 
[2026-10-16 03:09:35] local.INFO: Packet analysis {"connection_id":216159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14180"} 
[2026-10-16 03:09:35] local.INFO: Extracted packet for processing {"connection_id":216159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14180"} 
[2026-10-16 03:09:35] local.INFO: GPS Element Parsed {"raw_longitude":760023872,"raw_latitude":106114280,"longitude_deg":76.0023872,"latitude_deg":10.611428,"altitude":7,"angle":326,"satellites":47,"speed":58,"hex_longitude":"2d4d0b40","hex_latitude":"06532ce8","is_valid_coordinates":true} 
[2026-10-16 03:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777674240001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12233252269981696,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5557582704826578944,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792100297000,"timestamp_ms":1792100297000,"timestamp_seconds":1792100297,"priority":1,"record_length":96,"hex_timestamp":"000001a141806928"} 
[2026-10-16 03:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:09: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-10-16 03:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 03:09: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-10-16 03:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777674240001,"66":27430,"135":206,"28":31488,"24":58,"16":12233252269981696,"45":5557582704826578944},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-10-16 03:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777674240001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:09:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-10-16 03:09:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12233252269981696,"km_value":12233252269981.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5557582704826578944,"description":"Unknown IO ID 45"} 
[2026-10-16 03:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777674240001,"power":27430,"unknown_135":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5557582704826578944}} 
[2026-10-16 03:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":216159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:09:36] local.INFO: GPS data processed {"connection_id":216159,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:09:36] local.INFO: Acknowledgment sent {"connection_id":216159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:09:52] local.INFO: TCP Data received {"connection_id":219431,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:09:52] local.INFO: Processing buffer {"connection_id":219431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:09:52] local.INFO: IMEI packet received {"connection_id":219431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":219431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:09:55] local.INFO: TCP Data received {"connection_id":216354,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:09:55] local.INFO: Processing buffer {"connection_id":216354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:09:55] local.INFO: Packet analysis {"connection_id":216354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:09:55] local.INFO: Extracted packet for processing {"connection_id":216354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777572864001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792100195000,"timestamp_ms":1792100195000,"timestamp_seconds":1792100195,"priority":1,"record_length":96,"hex_timestamp":"000001a1417edab8"} 
[2026-10-16 03:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 03:09:55] 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-10-16 03:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777572864001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777572864001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:09:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:09:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777572864001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":216354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:09:56] local.INFO: GPS data processed {"connection_id":216354,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:09:56] local.INFO: Acknowledgment sent {"connection_id":216354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:09:57] local.INFO: TCP Data received {"connection_id":219431,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:09:57] local.INFO: Processing buffer {"connection_id":219431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:09:57] local.INFO: IMEI packet received {"connection_id":219431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":219431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:09:58] local.INFO: TCP Data received {"connection_id":219431,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141808480012d4cf2c006534ce80007014030..."} 
[2026-10-16 03:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141808480012d4cf2c006534ce80007014030..."} 
[2026-10-16 03:09:58] local.INFO: Processing buffer {"connection_id":219431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141808480012d4cf2c006534ce80007014030..."} 
[2026-10-16 03:09:58] local.INFO: Packet analysis {"connection_id":219431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14180"} 
[2026-10-16 03:09:58] local.INFO: Extracted packet for processing {"connection_id":219431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14180"} 
[2026-10-16 03:09:58] local.INFO: GPS Element Parsed {"raw_longitude":760017600,"raw_latitude":106122472,"longitude_deg":76.00176,"latitude_deg":10.6122472,"altitude":7,"angle":320,"satellites":48,"speed":58,"hex_longitude":"2d4cf2c0","hex_latitude":"06534ce8","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777676032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12233746191220736,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5551601361573701632,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792100304000,"timestamp_ms":1792100304000,"timestamp_seconds":1792100304,"priority":1,"record_length":96,"hex_timestamp":"000001a141808480"} 
[2026-10-16 03:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 03:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03: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-10-16 03:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777676032001,"66":27310,"77":206,"28":31488,"24":58,"16":12233746191220736,"45":5551601361573701632},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-10-16 03:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777676032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:09:58] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-10-16 03:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12233746191220736,"km_value":12233746191220.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5551601361573701632,"description":"Unknown IO ID 45"} 
[2026-10-16 03:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777676032001,"power":27310,"unknown_77":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5551601361573701632}} 
[2026-10-16 03:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":219431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:09:59] local.INFO: GPS data processed {"connection_id":219431,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:09:59] local.INFO: Acknowledgment sent {"connection_id":219431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:09:59] local.INFO: TCP Data received {"connection_id":216160,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:09:59] local.INFO: Processing buffer {"connection_id":216160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:09:59] local.INFO: Packet analysis {"connection_id":216160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:09:59] local.INFO: Extracted packet for processing {"connection_id":216160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777560832001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792100148000,"timestamp_ms":1792100148000,"timestamp_seconds":1792100148,"priority":1,"record_length":96,"hex_timestamp":"000001a1417e2320"} 
[2026-10-16 03:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777560832001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777560832001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:09:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777560832001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":216160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:09:59] local.INFO: GPS data processed {"connection_id":216160,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:09:59] local.INFO: Acknowledgment sent {"connection_id":216160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:10:21] local.INFO: TCP Data received {"connection_id":217712,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:10:21] local.INFO: Processing buffer {"connection_id":217712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:10:21] local.INFO: IMEI packet received {"connection_id":217712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":217712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:10:23] local.INFO: TCP Data received {"connection_id":216161,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:10:23] local.INFO: Processing buffer {"connection_id":216161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:10:23] local.INFO: IMEI packet received {"connection_id":216161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":216161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:10:26] local.INFO: TCP Data received {"connection_id":217712,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:10:26] local.INFO: Processing buffer {"connection_id":217712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:10:26] local.INFO: IMEI packet received {"connection_id":217712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":217712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:10:28] local.INFO: TCP Data received {"connection_id":217712,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:10:28] local.INFO: Processing buffer {"connection_id":217712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417e2320012d7c240005dad510000b00ea24..."} 
[2026-10-16 03:10:28] local.INFO: Packet analysis {"connection_id":217712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:10:28] local.INFO: Extracted packet for processing {"connection_id":217712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777560832001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792100148000,"timestamp_ms":1792100148000,"timestamp_seconds":1792100148,"priority":1,"record_length":96,"hex_timestamp":"000001a1417e2320"} 
[2026-10-16 03:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:10:28] 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-10-16 03:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:10:28] 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-10-16 03:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777560832001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777560832001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:10:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777560832001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":217712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:10:28] local.INFO: GPS data processed {"connection_id":217712,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:10:28] local.INFO: Acknowledgment sent {"connection_id":217712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:10:28] local.INFO: TCP Data received {"connection_id":216161,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:10:28] local.INFO: Processing buffer {"connection_id":216161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:10:28] local.INFO: IMEI packet received {"connection_id":216161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":216161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:10:29] local.INFO: TCP Data received {"connection_id":216161,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:10:29] local.INFO: Processing buffer {"connection_id":216161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:10:29] local.INFO: Packet analysis {"connection_id":216161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:10:29] local.INFO: Extracted packet for processing {"connection_id":216161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:10: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-10-16 03:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777572864001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792100195000,"timestamp_ms":1792100195000,"timestamp_seconds":1792100195,"priority":1,"record_length":96,"hex_timestamp":"000001a1417edab8"} 
[2026-10-16 03:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 03:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:10: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-10-16 03:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777572864001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777572864001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:10:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:10:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777572864001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":216161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:10:29] local.INFO: GPS data processed {"connection_id":216161,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:10:29] local.INFO: Acknowledgment sent {"connection_id":216161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:10:30] local.INFO: TCP Data received {"connection_id":219431,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141809fd8012d4cd9c006536c28000701422c..."} 
[2026-10-16 03:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141809fd8012d4cd9c006536c28000701422c..."} 
[2026-10-16 03:10:30] local.INFO: Processing buffer {"connection_id":219431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141809fd8012d4cd9c006536c28000701422c..."} 
[2026-10-16 03:10:30] local.INFO: Packet analysis {"connection_id":219431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14180"} 
[2026-10-16 03:10:30] local.INFO: Extracted packet for processing {"connection_id":219431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14180"} 
[2026-10-16 03:10:30] local.INFO: GPS Element Parsed {"raw_longitude":760011200,"raw_latitude":106130472,"longitude_deg":76.00112,"latitude_deg":10.6130472,"altitude":7,"angle":322,"satellites":44,"speed":58,"hex_longitude":"2d4cd9c0","hex_latitude":"06536c28","is_valid_coordinates":true} 
[2026-10-16 03:10: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-10-16 03:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777677824001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12234240112459776,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5544705224646387712,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792100311000,"timestamp_ms":1792100311000,"timestamp_seconds":1792100311,"priority":1,"record_length":96,"hex_timestamp":"000001a141809fd8"} 
[2026-10-16 03:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:10:30] 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-10-16 03:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 03:10:30] 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-10-16 03:10: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-10-16 03:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777677824001,"66":27550,"77":206,"28":31488,"24":58,"16":12234240112459776,"45":5544705224646387712},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-10-16 03:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777677824001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:10:30] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-10-16 03:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12234240112459776,"km_value":12234240112459.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5544705224646387712,"description":"Unknown IO ID 45"} 
[2026-10-16 03:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777677824001,"power":27550,"unknown_77":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5544705224646387712}} 
[2026-10-16 03:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":219431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:10:30] local.INFO: GPS data processed {"connection_id":219431,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:10:30] local.INFO: Acknowledgment sent {"connection_id":219431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:10:34] local.INFO: TCP Data received {"connection_id":216161,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:10:34] local.INFO: Processing buffer {"connection_id":216161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:10:34] local.INFO: Packet analysis {"connection_id":216161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:10:34] local.INFO: Extracted packet for processing {"connection_id":216161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777572864001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792100195000,"timestamp_ms":1792100195000,"timestamp_seconds":1792100195,"priority":1,"record_length":96,"hex_timestamp":"000001a1417edab8"} 
[2026-10-16 03:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 03:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777572864001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777572864001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:10:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:10:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777572864001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":216161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:10:34] local.INFO: GPS data processed {"connection_id":216161,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:10:34] local.INFO: Acknowledgment sent {"connection_id":216161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:10:57] local.INFO: TCP Data received {"connection_id":216355,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:10:57] local.INFO: Processing buffer {"connection_id":216355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:10:57] local.INFO: IMEI packet received {"connection_id":216355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":216355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:10:58] local.INFO: TCP Data received {"connection_id":216355,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:10:58] local.INFO: Processing buffer {"connection_id":216355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:10:58] local.INFO: IMEI packet received {"connection_id":216355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":216355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:10:59] local.INFO: TCP Data received {"connection_id":217712,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:10:59] local.INFO: Processing buffer {"connection_id":217712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:10:59] local.INFO: Packet analysis {"connection_id":217712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:10:59] local.INFO: Extracted packet for processing {"connection_id":217712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777637888001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792100449000,"timestamp_ms":1792100449000,"timestamp_seconds":1792100449,"priority":1,"record_length":96,"hex_timestamp":"000001a14182bae8"} 
[2026-10-16 03:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:10:59] 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-10-16 03:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:10: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-10-16 03:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777637888001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777637888001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:10:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:10:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777637888001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":217712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:10:59] local.INFO: GPS data processed {"connection_id":217712,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:10:59] local.INFO: Acknowledgment sent {"connection_id":217712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:10:59] local.INFO: TCP Data received {"connection_id":216355,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14181c0e8012d4c00000654c5380007014a2f..."} 
[2026-10-16 03:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14181c0e8012d4c00000654c5380007014a2f..."} 
[2026-10-16 03:10:59] local.INFO: Processing buffer {"connection_id":216355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14181c0e8012d4c00000654c5380007014a2f..."} 
[2026-10-16 03:10:59] local.INFO: Packet analysis {"connection_id":216355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14181"} 
[2026-10-16 03:10:59] local.INFO: Extracted packet for processing {"connection_id":216355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14181"} 
[2026-10-16 03:10:59] local.INFO: GPS Element Parsed {"raw_longitude":759955456,"raw_latitude":106218808,"longitude_deg":75.9955456,"latitude_deg":10.6218808,"altitude":7,"angle":330,"satellites":47,"speed":57,"hex_longitude":"2d4c0000","hex_latitude":"0654c538","is_valid_coordinates":true} 
[2026-10-16 03:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777696768001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12239312468836352,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5482217779839053824,"note":"Value kept but may cause issues"} 
[2026-10-16 03:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792100385000,"timestamp_ms":1792100385000,"timestamp_seconds":1792100385,"priority":1,"record_length":96,"hex_timestamp":"000001a14181c0e8"} 
[2026-10-16 03:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:10: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-10-16 03:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 03:10:59] 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-10-16 03:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777696768001,"66":27213,"77":206,"28":31488,"24":57,"16":12239312468836352,"45":5482217779839053824},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-10-16 03:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777696768001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:10:59] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-10-16 03:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12239312468836352,"km_value":12239312468836.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5482217779839053824,"description":"Unknown IO ID 45"} 
[2026-10-16 03:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777696768001,"power":27213,"unknown_77":206,"unknown_28":31488,"ignition":57,"odometer":null,"unknown_45":5482217779839053824}} 
[2026-10-16 03:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":216355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:10:59] local.INFO: GPS data processed {"connection_id":216355,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:10:59] local.INFO: Acknowledgment sent {"connection_id":216355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:11:02] local.INFO: TCP Data received {"connection_id":216355,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14181dc40012d4bec800654e8400006014b30..."} 
[2026-10-16 03:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14181dc40012d4bec800654e8400006014b30..."} 
[2026-10-16 03:11:02] local.INFO: Processing buffer {"connection_id":216355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14181dc40012d4bec800654e8400006014b30..."} 
[2026-10-16 03:11:02] local.INFO: Packet analysis {"connection_id":216355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14181"} 
[2026-10-16 03:11:02] local.INFO: Extracted packet for processing {"connection_id":216355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14181"} 
[2026-10-16 03:11:02] local.INFO: GPS Element Parsed {"raw_longitude":759950464,"raw_latitude":106227776,"longitude_deg":75.9950464,"latitude_deg":10.6227776,"altitude":6,"angle":331,"satellites":48,"speed":58,"hex_longitude":"2d4bec80","hex_latitude":"0654e840","is_valid_coordinates":true} 
[2026-10-16 03:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777698560001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12239810685042688,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5476377174074537984,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792100392000,"timestamp_ms":1792100392000,"timestamp_seconds":1792100392,"priority":1,"record_length":96,"hex_timestamp":"000001a14181dc40"} 
[2026-10-16 03:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 03:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777698560001,"66":27343,"77":206,"28":31488,"24":58,"16":12239810685042688,"45":5476377174074537984},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-10-16 03:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777698560001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:11:02] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-10-16 03:11:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12239810685042688,"km_value":12239810685042.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5476377174074537984,"description":"Unknown IO ID 45"} 
[2026-10-16 03:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777698560001,"power":27343,"unknown_77":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5476377174074537984}} 
[2026-10-16 03:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":216355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:11:03] local.INFO: GPS data processed {"connection_id":216355,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:11:03] local.INFO: Acknowledgment sent {"connection_id":216355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:11:18] local.INFO: TCP Data received {"connection_id":219432,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:11:18] local.INFO: Processing buffer {"connection_id":219432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:11:18] local.INFO: IMEI packet received {"connection_id":219432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":219432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:11:21] local.INFO: TCP Data received {"connection_id":216356,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:11:21] local.INFO: Processing buffer {"connection_id":216356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:11:21] local.INFO: IMEI packet received {"connection_id":216356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":216356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:11:23] local.INFO: TCP Data received {"connection_id":219432,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:11:23] local.INFO: Processing buffer {"connection_id":219432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:11:23] local.INFO: IMEI packet received {"connection_id":219432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":219432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:11:24] local.INFO: TCP Data received {"connection_id":219432,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:11:24] local.INFO: Processing buffer {"connection_id":219432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:11:24] local.INFO: Packet analysis {"connection_id":219432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:11:24] local.INFO: Extracted packet for processing {"connection_id":219432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:11:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:11: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-10-16 03:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777572864001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792100195000,"timestamp_ms":1792100195000,"timestamp_seconds":1792100195,"priority":1,"record_length":96,"hex_timestamp":"000001a1417edab8"} 
[2026-10-16 03:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 03:11:24] 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-10-16 03:11: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-10-16 03:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777572864001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777572864001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:11:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:11:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777572864001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":219432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:11:24] local.INFO: GPS data processed {"connection_id":219432,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:11:24] local.INFO: Acknowledgment sent {"connection_id":219432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:11:26] local.INFO: TCP Data received {"connection_id":216356,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:11:26] local.INFO: Processing buffer {"connection_id":216356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:11:26] local.INFO: IMEI packet received {"connection_id":216356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":216356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:11:27] local.INFO: TCP Data received {"connection_id":216356,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:11:27] local.INFO: Processing buffer {"connection_id":216356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:11:27] local.INFO: Packet analysis {"connection_id":216356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:11:27] local.INFO: Extracted packet for processing {"connection_id":216356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777637888001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792100449000,"timestamp_ms":1792100449000,"timestamp_seconds":1792100449,"priority":1,"record_length":96,"hex_timestamp":"000001a14182bae8"} 
[2026-10-16 03:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:11:27] 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-10-16 03: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-10-16 03:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777637888001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777637888001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:11:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777637888001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":216356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:11:27] local.INFO: GPS data processed {"connection_id":216356,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:11:27] local.INFO: Acknowledgment sent {"connection_id":216356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:11:40] local.INFO: TCP Data received {"connection_id":216355,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14181f798012d4bd98006550b800006014b30..."} 
[2026-10-16 03:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14181f798012d4bd98006550b800006014b30..."} 
[2026-10-16 03:11:40] local.INFO: Processing buffer {"connection_id":216355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14181f798012d4bd98006550b800006014b30..."} 
[2026-10-16 03:11:40] local.INFO: Packet analysis {"connection_id":216355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14181"} 
[2026-10-16 03:11:40] local.INFO: Extracted packet for processing {"connection_id":216355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14181"} 
[2026-10-16 03:11:40] local.INFO: GPS Element Parsed {"raw_longitude":759945600,"raw_latitude":106236800,"longitude_deg":75.99456,"latitude_deg":10.62368,"altitude":6,"angle":331,"satellites":48,"speed":57,"hex_longitude":"2d4bd980","hex_latitude":"06550b80","is_valid_coordinates":true} 
[2026-10-16 03:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777700352001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12240304606281728,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470888412030976000,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792100399000,"timestamp_ms":1792100399000,"timestamp_seconds":1792100399,"priority":1,"record_length":96,"hex_timestamp":"000001a14181f798"} 
[2026-10-16 03:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:11: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-10-16 03:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 03:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":216355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":216355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":216355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777700352001,"66":27463,"77":206,"28":31488,"24":57,"16":12240304606281728,"45":5470888412030976000},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-10-16 03:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777700352001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:11:40] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-10-16 03:11:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12240304606281728,"km_value":12240304606281.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470888412030976000,"description":"Unknown IO ID 45"} 
[2026-10-16 03:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777700352001,"power":27463,"unknown_77":206,"unknown_28":31488,"ignition":57,"odometer":null,"unknown_45":5470888412030976000}} 
[2026-10-16 03:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":216355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:11:40] local.INFO: GPS data processed {"connection_id":216355,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:11:40] local.INFO: Acknowledgment sent {"connection_id":216355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:11:52] local.INFO: TCP Data received {"connection_id":216162,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:11:52] local.INFO: Processing buffer {"connection_id":216162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:11:52] local.INFO: IMEI packet received {"connection_id":216162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":216162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:11:54] local.INFO: TCP Data received {"connection_id":216162,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:11:54] local.INFO: Processing buffer {"connection_id":216162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:11:54] local.INFO: IMEI packet received {"connection_id":216162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":216162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:11:55] local.INFO: TCP Data received {"connection_id":216162,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1418212f0012d4bc68006552ec00005014b2e..."} 
[2026-10-16 03:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418212f0012d4bc68006552ec00005014b2e..."} 
[2026-10-16 03:11:55] local.INFO: Processing buffer {"connection_id":216162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418212f0012d4bc68006552ec00005014b2e..."} 
[2026-10-16 03:11:55] local.INFO: Packet analysis {"connection_id":216162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:11:55] local.INFO: Extracted packet for processing {"connection_id":216162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:11:55] local.INFO: GPS Element Parsed {"raw_longitude":759940736,"raw_latitude":106245824,"longitude_deg":75.9940736,"latitude_deg":10.6245824,"altitude":5,"angle":331,"satellites":46,"speed":58,"hex_longitude":"2d4bc680","hex_latitude":"06552ec0","is_valid_coordinates":true} 
[2026-10-16 03:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777702144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12240798527520768,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5465540387475783680,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792100406000,"timestamp_ms":1792100406000,"timestamp_seconds":1792100406,"priority":1,"record_length":96,"hex_timestamp":"000001a1418212f0"} 
[2026-10-16 03:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 03:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777702144001,"66":27267,"77":206,"28":31488,"24":58,"16":12240798527520768,"45":5465540387475783680},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-10-16 03:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777702144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:11:55] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-10-16 03:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12240798527520768,"km_value":12240798527520.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5465540387475783680,"description":"Unknown IO ID 45"} 
[2026-10-16 03:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777702144001,"power":27267,"unknown_77":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5465540387475783680}} 
[2026-10-16 03:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":216162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:11:55] local.INFO: GPS data processed {"connection_id":216162,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:11:55] local.INFO: Acknowledgment sent {"connection_id":216162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:11:56] local.INFO: TCP Data received {"connection_id":219432,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:11:56] local.INFO: Processing buffer {"connection_id":219432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1417edab8012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:11:56] local.INFO: Packet analysis {"connection_id":219432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:11:56] local.INFO: Extracted packet for processing {"connection_id":219432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1417e"} 
[2026-10-16 03:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777572864001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792100195000,"timestamp_ms":1792100195000,"timestamp_seconds":1792100195,"priority":1,"record_length":96,"hex_timestamp":"000001a1417edab8"} 
[2026-10-16 03:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 03:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777572864001,"66":25734,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777572864001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:11:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:11:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777572864001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":219432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:11:56] local.INFO: GPS data processed {"connection_id":219432,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:11:56] local.INFO: Acknowledgment sent {"connection_id":219432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:11:59] local.INFO: TCP Data received {"connection_id":216356,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:11:59] local.INFO: Processing buffer {"connection_id":216356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:11:59] local.INFO: Packet analysis {"connection_id":216356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:11:59] local.INFO: Extracted packet for processing {"connection_id":216356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:11: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-10-16 03:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777637888001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792100449000,"timestamp_ms":1792100449000,"timestamp_seconds":1792100449,"priority":1,"record_length":96,"hex_timestamp":"000001a14182bae8"} 
[2026-10-16 03:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:11:59] 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-10-16 03:11: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-10-16 03:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777637888001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777637888001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:11:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777637888001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":216356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:11:59] local.INFO: GPS data processed {"connection_id":216356,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:11:59] local.INFO: Acknowledgment sent {"connection_id":216356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:12:17] local.INFO: TCP Data received {"connection_id":216163,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:12:17] local.INFO: Processing buffer {"connection_id":216163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:12:17] local.INFO: IMEI packet received {"connection_id":216163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":216163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:12:23] local.INFO: TCP Data received {"connection_id":216163,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:12:23] local.INFO: Processing buffer {"connection_id":216163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:12:23] local.INFO: IMEI packet received {"connection_id":216163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":216163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:12:24] local.INFO: TCP Data received {"connection_id":216163,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:12:24] local.INFO: Processing buffer {"connection_id":216163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:12:24] local.INFO: Packet analysis {"connection_id":216163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:12:24] local.INFO: Extracted packet for processing {"connection_id":216163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:12:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649920001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792100496000,"timestamp_ms":1792100496000,"timestamp_seconds":1792100496,"priority":1,"record_length":96,"hex_timestamp":"000001a141837280"} 
[2026-10-16 03:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 03:12:24] 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-10-16 03: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-10-16 03:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649920001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649920001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:12:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:12:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649920001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":216163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:12:24] local.INFO: GPS data processed {"connection_id":216163,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:12:24] local.INFO: Acknowledgment sent {"connection_id":216163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:12:26] local.INFO: TCP Data received {"connection_id":216357,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:12:26] local.INFO: Processing buffer {"connection_id":216357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:12:26] local.INFO: IMEI packet received {"connection_id":216357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":216357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:12:27] local.INFO: TCP Data received {"connection_id":216162,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141835b10012d4b03000656e0f00008014d2e..."} 
[2026-10-16 03:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141835b10012d4b03000656e0f00008014d2e..."} 
[2026-10-16 03:12:27] local.INFO: Processing buffer {"connection_id":216162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141835b10012d4b03000656e0f00008014d2e..."} 
[2026-10-16 03:12:27] local.INFO: Packet analysis {"connection_id":216162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:12:27] local.INFO: Extracted packet for processing {"connection_id":216162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:12:27] local.INFO: GPS Element Parsed {"raw_longitude":759890688,"raw_latitude":106356976,"longitude_deg":75.9890688,"latitude_deg":10.6356976,"altitude":8,"angle":333,"satellites":46,"speed":56,"hex_longitude":"2d4b0300","hex_latitude":"0656e0f0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777723648001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12246721287421952,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5410089817092255744,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792100490000,"timestamp_ms":1792100490000,"timestamp_seconds":1792100490,"priority":1,"record_length":96,"hex_timestamp":"000001a141835b10"} 
[2026-10-16 03:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:12: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-10-16 03:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 03:12:27] 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-10-16 03: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-10-16 03:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777723648001,"66":27343,"76":206,"28":31488,"24":56,"16":12246721287421952,"45":5410089817092255744},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-10-16 03:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777723648001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:12:27] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-10-16 03:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12246721287421952,"km_value":12246721287421.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5410089817092255744,"description":"Unknown IO ID 45"} 
[2026-10-16 03:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777723648001,"power":27343,"unknown_76":206,"unknown_28":31488,"ignition":56,"odometer":null,"unknown_45":5410089817092255744}} 
[2026-10-16 03:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":216162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:12:27] local.INFO: GPS data processed {"connection_id":216162,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:12:27] local.INFO: Acknowledgment sent {"connection_id":216162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:12:31] local.INFO: TCP Data received {"connection_id":216357,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:12:31] local.INFO: Processing buffer {"connection_id":216357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:12:31] local.INFO: IMEI packet received {"connection_id":216357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":216357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:12:32] local.INFO: TCP Data received {"connection_id":216357,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:12:32] local.INFO: Processing buffer {"connection_id":216357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:12:32] local.INFO: Packet analysis {"connection_id":216357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:12:32] local.INFO: Extracted packet for processing {"connection_id":216357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777637888001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792100449000,"timestamp_ms":1792100449000,"timestamp_seconds":1792100449,"priority":1,"record_length":96,"hex_timestamp":"000001a14182bae8"} 
[2026-10-16 03:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:12:32] 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-10-16 03:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777637888001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777637888001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:12:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777637888001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":216357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:12:32] local.INFO: GPS data processed {"connection_id":216357,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:12:32] local.INFO: Acknowledgment sent {"connection_id":216357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:12:37] local.INFO: TCP Data received {"connection_id":216357,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:12:37] local.INFO: Processing buffer {"connection_id":216357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:12:37] local.INFO: Packet analysis {"connection_id":216357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:12:37] local.INFO: Extracted packet for processing {"connection_id":216357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777637888001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792100449000,"timestamp_ms":1792100449000,"timestamp_seconds":1792100449,"priority":1,"record_length":96,"hex_timestamp":"000001a14182bae8"} 
[2026-10-16 03:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:12:37] 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-10-16 03:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777637888001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777637888001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:12:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777637888001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":216357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:12:37] local.INFO: GPS data processed {"connection_id":216357,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:12:37] local.INFO: Acknowledgment sent {"connection_id":216357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:12:52] local.INFO: TCP Data received {"connection_id":219433,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:12:52] local.INFO: Processing buffer {"connection_id":219433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:12:52] local.INFO: IMEI packet received {"connection_id":219433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":219433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:12:55] local.INFO: TCP Data received {"connection_id":219433,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:12:55] local.INFO: Processing buffer {"connection_id":219433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:12:55] local.INFO: IMEI packet received {"connection_id":219433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":219433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:12:56] local.INFO: TCP Data received {"connection_id":216163,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:12:56] local.INFO: Processing buffer {"connection_id":216163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:12:56] local.INFO: Packet analysis {"connection_id":216163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:12:56] local.INFO: Extracted packet for processing {"connection_id":216163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649920001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792100496000,"timestamp_ms":1792100496000,"timestamp_seconds":1792100496,"priority":1,"record_length":96,"hex_timestamp":"000001a141837280"} 
[2026-10-16 03:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 03:12:56] 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-10-16 03: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-10-16 03:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649920001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649920001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:12:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:12:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649920001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":216163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:12:56] local.INFO: GPS data processed {"connection_id":216163,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:12:56] local.INFO: Acknowledgment sent {"connection_id":216163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:12:56] local.INFO: TCP Data received {"connection_id":219433,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a141837668012d4af200065703500009014d31..."} 
[2026-10-16 03:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837668012d4af200065703500009014d31..."} 
[2026-10-16 03:12:56] local.INFO: Processing buffer {"connection_id":219433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837668012d4af200065703500009014d31..."} 
[2026-10-16 03:12:56] local.INFO: Packet analysis {"connection_id":219433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:12:56] local.INFO: Extracted packet for processing {"connection_id":219433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:12:56] local.INFO: GPS Element Parsed {"raw_longitude":759886336,"raw_latitude":106365776,"longitude_deg":75.9886336,"latitude_deg":10.6365776,"altitude":9,"angle":333,"satellites":49,"speed":55,"hex_longitude":"2d4af200","hex_latitude":"06570350","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777725440001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12247198028791808,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5405164005002113024,"note":"Value kept but may cause issues"} 
[2026-10-16 03:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792100497000,"timestamp_ms":1792100497000,"timestamp_seconds":1792100497,"priority":1,"record_length":96,"hex_timestamp":"000001a141837668"} 
[2026-10-16 03:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 03:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03: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-10-16 03:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777725440001,"66":27397,"76":206,"28":31488,"24":55,"16":12247198028791808,"45":5405164005002113024},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-10-16 03:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777725440001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:12:56] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-10-16 03:12:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12247198028791808,"km_value":12247198028791.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5405164005002113024,"description":"Unknown IO ID 45"} 
[2026-10-16 03:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777725440001,"power":27397,"unknown_76":206,"unknown_28":31488,"ignition":55,"odometer":null,"unknown_45":5405164005002113024}} 
[2026-10-16 03:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":219433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:12:56] local.INFO: GPS data processed {"connection_id":219433,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:12:56] local.INFO: Acknowledgment sent {"connection_id":219433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:13:21] local.INFO: TCP Data received {"connection_id":216358,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:13:21] local.INFO: Processing buffer {"connection_id":216358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:13:21] local.INFO: IMEI packet received {"connection_id":216358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":216358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:13:23] local.INFO: TCP Data received {"connection_id":216359,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:13:23] local.INFO: Processing buffer {"connection_id":216359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:13:23] local.INFO: IMEI packet received {"connection_id":216359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":216359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:13:26] local.INFO: TCP Data received {"connection_id":216358,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:13:26] local.INFO: Processing buffer {"connection_id":216358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:13:26] local.INFO: IMEI packet received {"connection_id":216358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":216358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:13:27] local.INFO: TCP Data received {"connection_id":216359,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:13:27] local.INFO: Processing buffer {"connection_id":216359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:13:27] local.INFO: IMEI packet received {"connection_id":216359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":216359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:13:27] local.INFO: TCP Data received {"connection_id":216358,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:13:27] local.INFO: Processing buffer {"connection_id":216358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:13:27] local.INFO: Packet analysis {"connection_id":216358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:13:27] local.INFO: Extracted packet for processing {"connection_id":216358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777637888001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792100449000,"timestamp_ms":1792100449000,"timestamp_seconds":1792100449,"priority":1,"record_length":96,"hex_timestamp":"000001a14182bae8"} 
[2026-10-16 03:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:13:27] 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-10-16 03:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777637888001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777637888001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:13:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777637888001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":216358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:13:27] local.INFO: GPS data processed {"connection_id":216358,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:13:27] local.INFO: Acknowledgment sent {"connection_id":216358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:13:28] local.INFO: TCP Data received {"connection_id":216359,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:13:28] local.INFO: Processing buffer {"connection_id":216359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:13:28] local.INFO: Packet analysis {"connection_id":216359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:13:28] local.INFO: Extracted packet for processing {"connection_id":216359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649920001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792100496000,"timestamp_ms":1792100496000,"timestamp_seconds":1792100496,"priority":1,"record_length":96,"hex_timestamp":"000001a141837280"} 
[2026-10-16 03:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 03:13:28] 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-10-16 03:13: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-10-16 03:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649920001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649920001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:13:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:13:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649920001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":216359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:13:28] local.INFO: GPS data processed {"connection_id":216359,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:13:28] local.INFO: Acknowledgment sent {"connection_id":216359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:13:29] local.INFO: TCP Data received {"connection_id":219433,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a1418391c0012d4ae0c0065726000009014d31..."} 
[2026-10-16 03:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418391c0012d4ae0c0065726000009014d31..."} 
[2026-10-16 03:13:29] local.INFO: Processing buffer {"connection_id":219433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418391c0012d4ae0c0065726000009014d31..."} 
[2026-10-16 03:13:29] local.INFO: Packet analysis {"connection_id":219433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:13:29] local.INFO: Extracted packet for processing {"connection_id":219433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:13:29] local.INFO: GPS Element Parsed {"raw_longitude":759881920,"raw_latitude":106374656,"longitude_deg":75.988192,"latitude_deg":10.6374656,"altitude":9,"angle":333,"satellites":49,"speed":57,"hex_longitude":"2d4ae0c0","hex_latitude":"06572600","is_valid_coordinates":true} 
[2026-10-16 03:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777727232001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12247674770161664,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5400378930400284672,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792100504000,"timestamp_ms":1792100504000,"timestamp_seconds":1792100504,"priority":1,"record_length":96,"hex_timestamp":"000001a1418391c0"} 
[2026-10-16 03:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 03:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 03:13:29] 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-10-16 03:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777727232001,"66":27484,"76":206,"28":31488,"24":57,"16":12247674770161664,"45":5400378930400284672},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-10-16 03:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777727232001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:13:29] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-10-16 03:13:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12247674770161664,"km_value":12247674770161.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5400378930400284672,"description":"Unknown IO ID 45"} 
[2026-10-16 03:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777727232001,"power":27484,"unknown_76":206,"unknown_28":31488,"ignition":57,"odometer":null,"unknown_45":5400378930400284672}} 
[2026-10-16 03:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":219433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:13:29] local.INFO: GPS data processed {"connection_id":219433,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:13:29] local.INFO: Acknowledgment sent {"connection_id":219433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:13:34] local.INFO: TCP Data received {"connection_id":216359,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:13:34] local.INFO: Processing buffer {"connection_id":216359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:13:34] local.INFO: Packet analysis {"connection_id":216359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:13:34] local.INFO: Extracted packet for processing {"connection_id":216359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649920001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792100496000,"timestamp_ms":1792100496000,"timestamp_seconds":1792100496,"priority":1,"record_length":96,"hex_timestamp":"000001a141837280"} 
[2026-10-16 03:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 03:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649920001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649920001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:13:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:13:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649920001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":216359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:13:34] local.INFO: GPS data processed {"connection_id":216359,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:13:34] local.INFO: Acknowledgment sent {"connection_id":216359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:13:51] local.INFO: TCP Data received {"connection_id":217713,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:13:51] local.INFO: Processing buffer {"connection_id":217713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:13:51] local.INFO: IMEI packet received {"connection_id":217713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":217713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:13:52] local.INFO: TCP Data received {"connection_id":217713,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:13:52] local.INFO: Processing buffer {"connection_id":217713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:13:52] local.INFO: IMEI packet received {"connection_id":217713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":217713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:13:57] local.INFO: TCP Data received {"connection_id":217713,"ip":"117.224.27.161","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:13:57] local.INFO: Processing buffer {"connection_id":217713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:13:57] local.INFO: IMEI packet received {"connection_id":217713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":217713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:13:59] local.INFO: TCP Data received {"connection_id":216358,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:13:59] local.INFO: Processing buffer {"connection_id":216358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:13:59] local.INFO: Packet analysis {"connection_id":216358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:13:59] local.INFO: Extracted packet for processing {"connection_id":216358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777637888001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792100449000,"timestamp_ms":1792100449000,"timestamp_seconds":1792100449,"priority":1,"record_length":96,"hex_timestamp":"000001a14182bae8"} 
[2026-10-16 03:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:13:59] 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-10-16 03:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777637888001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777637888001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:13:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777637888001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:13:59] local.INFO: TCP Data received {"connection_id":217713,"ip":"117.224.27.161","data_length":795,"data_hex":"000000000000030f8e0a000001a14184b6b8012d4a26000658a7200007014c31..."} 
[2026-10-16 03:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14184b6b8012d4a26000658a7200007014c31..."} 
[2026-10-16 03:13:59] local.INFO: Processing buffer {"connection_id":217713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14184b6b8012d4a26000658a7200007014c31..."} 
[2026-10-16 03:13:59] local.INFO: Packet analysis {"connection_id":217713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14184"} 
[2026-10-16 03:13:59] local.INFO: Extracted packet for processing {"connection_id":217713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14184"} 
[2026-10-16 03:13:59] local.INFO: GPS Element Parsed {"raw_longitude":759834112,"raw_latitude":106473248,"longitude_deg":75.9834112,"latitude_deg":10.6473248,"altitude":7,"angle":332,"satellites":49,"speed":58,"hex_longitude":"2d4a2600","hex_latitude":"0658a720","is_valid_coordinates":true} 
[2026-10-16 03:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777746432001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12252974759804928,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5348165322245650432,"note":"Value kept but may cause issues"} 
[2026-10-16 03:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792100579000,"timestamp_ms":1792100579000,"timestamp_seconds":1792100579,"priority":1,"record_length":96,"hex_timestamp":"000001a14184b6b8"} 
[2026-10-16 03:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:13: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-10-16 03:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 03:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 03:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.27.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 03:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 03:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777746432001,"66":27484,"76":206,"28":31488,"24":58,"16":12252974759804928,"45":5348165322245650432},"client_ip":"117.224.27.161","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-10-16 03:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 03:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 03:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777746432001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:13:59] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-10-16 03:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-10-16 03:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12252974759804928,"km_value":12252974759804.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5348165322245650432,"description":"Unknown IO ID 45"} 
[2026-10-16 03:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777746432001,"power":27484,"unknown_76":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5348165322245650432}} 
[2026-10-16 03:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":216358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:13:59] local.INFO: GPS data processed {"connection_id":216358,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:13:59] local.INFO: Acknowledgment sent {"connection_id":216358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":217713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044016,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:13:59] local.INFO: GPS data processed {"connection_id":217713,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:13:59] local.INFO: Acknowledgment sent {"connection_id":217713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:14:17] local.INFO: TCP Data received {"connection_id":217714,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:14:17] local.INFO: Processing buffer {"connection_id":217714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:14:17] local.INFO: IMEI packet received {"connection_id":217714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":217714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:14:21] local.INFO: TCP Data received {"connection_id":219434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:14:21] local.INFO: Processing buffer {"connection_id":219434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:14:21] local.INFO: IMEI packet received {"connection_id":219434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":219434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:14:23] local.INFO: TCP Data received {"connection_id":217714,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:14:23] local.INFO: Processing buffer {"connection_id":217714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:14:23] local.INFO: IMEI packet received {"connection_id":217714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":217714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:14:24] local.INFO: TCP Data received {"connection_id":217714,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:14:24] local.INFO: Processing buffer {"connection_id":217714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:14:24] local.INFO: Packet analysis {"connection_id":217714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:14:24] local.INFO: Extracted packet for processing {"connection_id":217714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649920001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792100496000,"timestamp_ms":1792100496000,"timestamp_seconds":1792100496,"priority":1,"record_length":96,"hex_timestamp":"000001a141837280"} 
[2026-10-16 03:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 03:14:24] 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-10-16 03:14: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-10-16 03:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649920001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649920001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:14:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:14:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649920001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":217714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:14:25] local.INFO: GPS data processed {"connection_id":217714,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:14:25] local.INFO: Acknowledgment sent {"connection_id":217714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:14:26] local.INFO: TCP Data received {"connection_id":219434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:14:26] local.INFO: Processing buffer {"connection_id":219434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:14:26] local.INFO: IMEI packet received {"connection_id":219434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":219434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:14:27] local.INFO: TCP Data received {"connection_id":219434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:14:27] local.INFO: Processing buffer {"connection_id":219434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:14:27] local.INFO: Packet analysis {"connection_id":219434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:14:27] local.INFO: Extracted packet for processing {"connection_id":219434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777637888001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792100449000,"timestamp_ms":1792100449000,"timestamp_seconds":1792100449,"priority":1,"record_length":96,"hex_timestamp":"000001a14182bae8"} 
[2026-10-16 03:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:14:27] 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-10-16 03:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777637888001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777637888001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:14:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777637888001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":219434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:14:27] local.INFO: GPS data processed {"connection_id":219434,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:14:27] local.INFO: Acknowledgment sent {"connection_id":219434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:14:56] local.INFO: TCP Data received {"connection_id":217714,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:14:56] local.INFO: Processing buffer {"connection_id":217714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:14:56] local.INFO: Packet analysis {"connection_id":217714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:14:56] local.INFO: Extracted packet for processing {"connection_id":217714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649920001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792100496000,"timestamp_ms":1792100496000,"timestamp_seconds":1792100496,"priority":1,"record_length":96,"hex_timestamp":"000001a141837280"} 
[2026-10-16 03:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 03:14:56] 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-10-16 03:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649920001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649920001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:14:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:14:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649920001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":217714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:14:56] local.INFO: GPS data processed {"connection_id":217714,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:14:56] local.INFO: Acknowledgment sent {"connection_id":217714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:14:58] local.INFO: TCP Data received {"connection_id":219434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:14:58] local.INFO: Processing buffer {"connection_id":219434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:14:58] local.INFO: Packet analysis {"connection_id":219434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:14:58] local.INFO: Extracted packet for processing {"connection_id":219434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777637888001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792100449000,"timestamp_ms":1792100449000,"timestamp_seconds":1792100449,"priority":1,"record_length":96,"hex_timestamp":"000001a14182bae8"} 
[2026-10-16 03:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:14:58] 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-10-16 03:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777637888001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777637888001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:14:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:14:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777637888001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":219434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:14:58] local.INFO: GPS data processed {"connection_id":219434,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:14:58] local.INFO: Acknowledgment sent {"connection_id":219434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:15:17] local.INFO: TCP Data received {"connection_id":216164,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:15:17] local.INFO: Processing buffer {"connection_id":216164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:15:17] local.INFO: IMEI packet received {"connection_id":216164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":216164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:15:21] local.INFO: TCP Data received {"connection_id":219435,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:15:21] local.INFO: Processing buffer {"connection_id":219435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:15:21] local.INFO: IMEI packet received {"connection_id":219435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":219435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:15:23] local.INFO: TCP Data received {"connection_id":216164,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:15:23] local.INFO: Processing buffer {"connection_id":216164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:15:23] local.INFO: IMEI packet received {"connection_id":216164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":216164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:15:24] local.INFO: TCP Data received {"connection_id":216164,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:15:24] local.INFO: Processing buffer {"connection_id":216164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:15:24] local.INFO: Packet analysis {"connection_id":216164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:15:24] local.INFO: Extracted packet for processing {"connection_id":216164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:15:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649920001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792100496000,"timestamp_ms":1792100496000,"timestamp_seconds":1792100496,"priority":1,"record_length":96,"hex_timestamp":"000001a141837280"} 
[2026-10-16 03:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 03:15:24] 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-10-16 03:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649920001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649920001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:15:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:15:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649920001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":216164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:15:24] local.INFO: GPS data processed {"connection_id":216164,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:15:24] local.INFO: Acknowledgment sent {"connection_id":216164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:15:26] local.INFO: TCP Data received {"connection_id":219435,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:15:26] local.INFO: Processing buffer {"connection_id":219435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:15:26] local.INFO: IMEI packet received {"connection_id":219435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":219435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:15:27] local.INFO: TCP Data received {"connection_id":219435,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:15:27] local.INFO: Processing buffer {"connection_id":219435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14182bae8012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:15:27] local.INFO: Packet analysis {"connection_id":219435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:15:27] local.INFO: Extracted packet for processing {"connection_id":219435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14182"} 
[2026-10-16 03:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777637888001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792100449000,"timestamp_ms":1792100449000,"timestamp_seconds":1792100449,"priority":1,"record_length":96,"hex_timestamp":"000001a14182bae8"} 
[2026-10-16 03:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:15:27] 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-10-16 03:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777637888001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777637888001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:15:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777637888001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":219435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:15:27] local.INFO: GPS data processed {"connection_id":219435,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:15:27] local.INFO: Acknowledgment sent {"connection_id":219435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:15:56] local.INFO: TCP Data received {"connection_id":216164,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:15:56] local.INFO: Processing buffer {"connection_id":216164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:15:56] local.INFO: Packet analysis {"connection_id":216164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:15:56] local.INFO: Extracted packet for processing {"connection_id":216164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649920001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792100496000,"timestamp_ms":1792100496000,"timestamp_seconds":1792100496,"priority":1,"record_length":96,"hex_timestamp":"000001a141837280"} 
[2026-10-16 03:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 03:15:56] 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-10-16 03: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-10-16 03:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649920001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649920001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:15:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:15:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649920001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":216164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:15:56] local.INFO: GPS data processed {"connection_id":216164,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:15:56] local.INFO: Acknowledgment sent {"connection_id":216164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:15:59] local.INFO: TCP Data received {"connection_id":219435,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:15:59] local.INFO: Processing buffer {"connection_id":219435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:15:59] local.INFO: Packet analysis {"connection_id":219435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:15:59] local.INFO: Extracted packet for processing {"connection_id":219435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777714944001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792100750000,"timestamp_ms":1792100750000,"timestamp_seconds":1792100750,"priority":1,"record_length":96,"hex_timestamp":"000001a1418752b0"} 
[2026-10-16 03:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777714944001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777714944001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:15:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777714944001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":219435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:15:59] local.INFO: GPS data processed {"connection_id":219435,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:15:59] local.INFO: Acknowledgment sent {"connection_id":219435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:16:21] local.INFO: TCP Data received {"connection_id":217715,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:16:21] local.INFO: Processing buffer {"connection_id":217715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:16:21] local.INFO: IMEI packet received {"connection_id":217715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":217715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:16:23] local.INFO: TCP Data received {"connection_id":219436,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:16:23] local.INFO: Processing buffer {"connection_id":219436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:16:23] local.INFO: IMEI packet received {"connection_id":219436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":219436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:16:26] local.INFO: TCP Data received {"connection_id":217715,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:16:26] local.INFO: Processing buffer {"connection_id":217715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:16:26] local.INFO: IMEI packet received {"connection_id":217715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":217715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:16:27] local.INFO: TCP Data received {"connection_id":217715,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:16:27] local.INFO: Processing buffer {"connection_id":217715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:16:27] local.INFO: Packet analysis {"connection_id":217715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:16:27] local.INFO: Extracted packet for processing {"connection_id":217715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777714944001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792100750000,"timestamp_ms":1792100750000,"timestamp_seconds":1792100750,"priority":1,"record_length":96,"hex_timestamp":"000001a1418752b0"} 
[2026-10-16 03:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:16:27] 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-10-16 03: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-10-16 03:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:16:27] 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-10-16 03:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777714944001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777714944001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:16:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777714944001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":217715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:16:27] local.INFO: GPS data processed {"connection_id":217715,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:16:27] local.INFO: Acknowledgment sent {"connection_id":217715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:16:28] local.INFO: TCP Data received {"connection_id":219436,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:16:28] local.INFO: Processing buffer {"connection_id":219436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:16:28] local.INFO: IMEI packet received {"connection_id":219436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":219436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:16:29] local.INFO: TCP Data received {"connection_id":216165,"ip":"117.225.149.135","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:16:29] local.INFO: Processing buffer {"connection_id":216165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:16:29] local.INFO: IMEI packet received {"connection_id":216165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":216165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:16:29] local.INFO: TCP Data received {"connection_id":219436,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:16:29] local.INFO: Processing buffer {"connection_id":219436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:16:29] local.INFO: Packet analysis {"connection_id":219436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:16:29] local.INFO: Extracted packet for processing {"connection_id":219436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:16: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-10-16 03:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649920001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792100496000,"timestamp_ms":1792100496000,"timestamp_seconds":1792100496,"priority":1,"record_length":96,"hex_timestamp":"000001a141837280"} 
[2026-10-16 03:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 03:16:29] 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-10-16 03:16: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-10-16 03:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649920001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649920001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:16:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:16:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649920001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":219436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:16:29] local.INFO: GPS data processed {"connection_id":219436,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:16:29] local.INFO: Acknowledgment sent {"connection_id":219436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:16:32] local.INFO: TCP Data received {"connection_id":216165,"ip":"117.225.149.135","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:16:32] local.INFO: Processing buffer {"connection_id":216165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:16:32] local.INFO: IMEI packet received {"connection_id":216165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":216165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:16:33] local.INFO: TCP Data received {"connection_id":219436,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:16:33] local.INFO: Processing buffer {"connection_id":219436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141837280012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:16:33] local.INFO: Packet analysis {"connection_id":219436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:16:33] local.INFO: Extracted packet for processing {"connection_id":219436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14183"} 
[2026-10-16 03:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777649920001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792100496000,"timestamp_ms":1792100496000,"timestamp_seconds":1792100496,"priority":1,"record_length":96,"hex_timestamp":"000001a141837280"} 
[2026-10-16 03:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 03:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777649920001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777649920001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:16:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777649920001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":219436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:16:33] local.INFO: GPS data processed {"connection_id":219436,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:16:33] local.INFO: Acknowledgment sent {"connection_id":219436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:16:36] local.INFO: TCP Data received {"connection_id":216165,"ip":"117.225.149.135","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:16:36] local.INFO: Processing buffer {"connection_id":216165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:16:36] local.INFO: IMEI packet received {"connection_id":216165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 03:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":216165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:16:58] local.INFO: TCP Data received {"connection_id":217715,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:16:58] local.INFO: Processing buffer {"connection_id":217715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:16:58] local.INFO: Packet analysis {"connection_id":217715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:16:58] local.INFO: Extracted packet for processing {"connection_id":217715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777714944001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792100750000,"timestamp_ms":1792100750000,"timestamp_seconds":1792100750,"priority":1,"record_length":96,"hex_timestamp":"000001a1418752b0"} 
[2026-10-16 03:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:16:58] 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-10-16 03:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777714944001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777714944001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:16:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:16:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777714944001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":217715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:16:58] local.INFO: GPS data processed {"connection_id":217715,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:16:58] local.INFO: Acknowledgment sent {"connection_id":217715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:17:02] local.INFO: TCP Data received {"connection_id":216360,"ip":"117.225.149.135","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:17:02] local.INFO: Processing buffer {"connection_id":216360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:17:02] local.INFO: IMEI packet received {"connection_id":216360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":216360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:17:15] local.INFO: TCP Data received {"connection_id":216166,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:17:15] local.INFO: Processing buffer {"connection_id":216166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:17:15] local.INFO: IMEI packet received {"connection_id":216166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":216166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:17:17] local.INFO: TCP Data received {"connection_id":216166,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:17:17] local.INFO: Processing buffer {"connection_id":216166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:17:17] local.INFO: IMEI packet received {"connection_id":216166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":216166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:17:21] local.INFO: TCP Data received {"connection_id":216167,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:17:21] local.INFO: Processing buffer {"connection_id":216167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:17:21] local.INFO: IMEI packet received {"connection_id":216167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":216167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:17:23] local.INFO: TCP Data received {"connection_id":216166,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:17:23] local.INFO: Processing buffer {"connection_id":216166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:17:23] local.INFO: IMEI packet received {"connection_id":216166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":216166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:17:24] local.INFO: TCP Data received {"connection_id":216166,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:17:24] local.INFO: Processing buffer {"connection_id":216166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:17:24] local.INFO: Packet analysis {"connection_id":216166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:17:24] local.INFO: Extracted packet for processing {"connection_id":216166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:17:24] 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-10-16 03:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:17:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:17:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":216166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:17:24] local.INFO: GPS data processed {"connection_id":216166,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:17:24] local.INFO: Acknowledgment sent {"connection_id":216166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:17:26] local.INFO: TCP Data received {"connection_id":216167,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:17:26] local.INFO: Processing buffer {"connection_id":216167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:17:26] local.INFO: IMEI packet received {"connection_id":216167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":216167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:17:27] local.INFO: TCP Data received {"connection_id":216167,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:17:27] local.INFO: Processing buffer {"connection_id":216167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:17:27] local.INFO: Packet analysis {"connection_id":216167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:17:27] local.INFO: Extracted packet for processing {"connection_id":216167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777714944001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792100750000,"timestamp_ms":1792100750000,"timestamp_seconds":1792100750,"priority":1,"record_length":96,"hex_timestamp":"000001a1418752b0"} 
[2026-10-16 03:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:17:27] 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-10-16 03: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-10-16 03:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777714944001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777714944001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:17:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777714944001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":216167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:17:27] local.INFO: GPS data processed {"connection_id":216167,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:17:27] local.INFO: Acknowledgment sent {"connection_id":216167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:17:56] local.INFO: TCP Data received {"connection_id":216166,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:17:56] local.INFO: Processing buffer {"connection_id":216166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:17:56] local.INFO: Packet analysis {"connection_id":216166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:17:56] local.INFO: Extracted packet for processing {"connection_id":216166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:17:56] 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-10-16 03:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:17:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:17:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":216166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:17:56] local.INFO: GPS data processed {"connection_id":216166,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:17:56] local.INFO: Acknowledgment sent {"connection_id":216166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:17:59] local.INFO: TCP Data received {"connection_id":216167,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:17:59] local.INFO: Processing buffer {"connection_id":216167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:17:59] local.INFO: Packet analysis {"connection_id":216167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:17:59] local.INFO: Extracted packet for processing {"connection_id":216167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:17: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-10-16 03:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777714944001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792100750000,"timestamp_ms":1792100750000,"timestamp_seconds":1792100750,"priority":1,"record_length":96,"hex_timestamp":"000001a1418752b0"} 
[2026-10-16 03:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:17: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-10-16 03:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777714944001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777714944001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:17:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777714944001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":216167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:17:59] local.INFO: GPS data processed {"connection_id":216167,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:17:59] local.INFO: Acknowledgment sent {"connection_id":216167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:18:23] local.INFO: TCP Data received {"connection_id":219437,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:18:23] local.INFO: Processing buffer {"connection_id":219437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:18:23] local.INFO: IMEI packet received {"connection_id":219437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":219437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:18:26] local.INFO: TCP Data received {"connection_id":216168,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:18:26] local.INFO: Processing buffer {"connection_id":216168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:18:26] local.INFO: IMEI packet received {"connection_id":216168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":216168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:18:28] local.INFO: TCP Data received {"connection_id":219437,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:18:28] local.INFO: Processing buffer {"connection_id":219437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:18:28] local.INFO: IMEI packet received {"connection_id":219437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":219437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:18:30] local.INFO: TCP Data received {"connection_id":219437,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:18:30] local.INFO: Processing buffer {"connection_id":219437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:18:30] local.INFO: Packet analysis {"connection_id":219437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:18:30] local.INFO: Extracted packet for processing {"connection_id":219437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:18:30] 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-10-16 03:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:18:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:18:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":219437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:18:30] local.INFO: GPS data processed {"connection_id":219437,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:18:30] local.INFO: Acknowledgment sent {"connection_id":219437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:18:31] local.INFO: TCP Data received {"connection_id":216168,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:18:31] local.INFO: Processing buffer {"connection_id":216168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:18:31] local.INFO: IMEI packet received {"connection_id":216168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":216168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:18:32] local.INFO: TCP Data received {"connection_id":216168,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:18:32] local.INFO: Processing buffer {"connection_id":216168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:18:32] local.INFO: Packet analysis {"connection_id":216168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:18:32] local.INFO: Extracted packet for processing {"connection_id":216168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777714944001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792100750000,"timestamp_ms":1792100750000,"timestamp_seconds":1792100750,"priority":1,"record_length":96,"hex_timestamp":"000001a1418752b0"} 
[2026-10-16 03:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:18:32] 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-10-16 03:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777714944001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777714944001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:18:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777714944001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":216168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:18:32] local.INFO: GPS data processed {"connection_id":216168,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:18:32] local.INFO: Acknowledgment sent {"connection_id":216168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:18:32] local.INFO: TCP Data received {"connection_id":219437,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:18:32] local.INFO: Processing buffer {"connection_id":219437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:18:32] local.INFO: Packet analysis {"connection_id":219437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:18:32] local.INFO: Extracted packet for processing {"connection_id":219437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:18:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:18:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":219437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:18:32] local.INFO: GPS data processed {"connection_id":219437,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:18:32] local.INFO: Acknowledgment sent {"connection_id":219437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:18:37] local.INFO: TCP Data received {"connection_id":216168,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:18:37] local.INFO: Processing buffer {"connection_id":216168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:18:37] local.INFO: Packet analysis {"connection_id":216168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:18:37] local.INFO: Extracted packet for processing {"connection_id":216168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777714944001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792100750000,"timestamp_ms":1792100750000,"timestamp_seconds":1792100750,"priority":1,"record_length":96,"hex_timestamp":"000001a1418752b0"} 
[2026-10-16 03:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:18:37] 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-10-16 03: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-10-16 03:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:18:37] 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-10-16 03:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777714944001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777714944001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:18:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777714944001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":216168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:18:37] local.INFO: GPS data processed {"connection_id":216168,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:18:37] local.INFO: Acknowledgment sent {"connection_id":216168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:18:38] local.INFO: TCP Data received {"connection_id":219437,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:18:38] local.INFO: Processing buffer {"connection_id":219437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:18:38] local.INFO: Packet analysis {"connection_id":219437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:18:38] local.INFO: Extracted packet for processing {"connection_id":219437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:18: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-10-16 03: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-10-16 03:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":219437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":219437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":219437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:18:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:18:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":219437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:18:38] local.INFO: GPS data processed {"connection_id":219437,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:18:38] local.INFO: Acknowledgment sent {"connection_id":219437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:19:18] local.INFO: TCP Data received {"connection_id":219438,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:19:18] local.INFO: Processing buffer {"connection_id":219438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:19:18] local.INFO: IMEI packet received {"connection_id":219438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":219438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:19:21] local.INFO: TCP Data received {"connection_id":217718,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:19:21] local.INFO: Processing buffer {"connection_id":217718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:19:21] local.INFO: IMEI packet received {"connection_id":217718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":217718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:19:23] local.INFO: TCP Data received {"connection_id":219438,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:19:23] local.INFO: Processing buffer {"connection_id":219438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:19:23] local.INFO: IMEI packet received {"connection_id":219438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":219438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:19:24] local.INFO: TCP Data received {"connection_id":219438,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:19:24] local.INFO: Processing buffer {"connection_id":219438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:19:24] local.INFO: Packet analysis {"connection_id":219438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:19:24] local.INFO: Extracted packet for processing {"connection_id":219438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:19:24] 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-10-16 03:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:19:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:19:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":219438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:19:24] local.INFO: GPS data processed {"connection_id":219438,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:19:24] local.INFO: Acknowledgment sent {"connection_id":219438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:19:26] local.INFO: TCP Data received {"connection_id":217718,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:19:26] local.INFO: Processing buffer {"connection_id":217718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:19:26] local.INFO: IMEI packet received {"connection_id":217718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":217718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:19:27] local.INFO: TCP Data received {"connection_id":217718,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:19:27] local.INFO: Processing buffer {"connection_id":217718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418752b0012d7c240005dad510000b00ea25..."} 
[2026-10-16 03:19:27] local.INFO: Packet analysis {"connection_id":217718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:19:27] local.INFO: Extracted packet for processing {"connection_id":217718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14187"} 
[2026-10-16 03:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777714944001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792100750000,"timestamp_ms":1792100750000,"timestamp_seconds":1792100750,"priority":1,"record_length":96,"hex_timestamp":"000001a1418752b0"} 
[2026-10-16 03:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:19:27] 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-10-16 03:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777714944001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777714944001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:19:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777714944001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":217718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:19:27] local.INFO: GPS data processed {"connection_id":217718,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:19:27] local.INFO: Acknowledgment sent {"connection_id":217718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:19:56] local.INFO: TCP Data received {"connection_id":219438,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:19:56] local.INFO: Processing buffer {"connection_id":219438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:19:56] local.INFO: Packet analysis {"connection_id":219438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:19:56] local.INFO: Extracted packet for processing {"connection_id":219438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:19:56] 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-10-16 03:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:19:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:19:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":219438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:19:56] local.INFO: GPS data processed {"connection_id":219438,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:19:56] local.INFO: Acknowledgment sent {"connection_id":219438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:20:17] local.INFO: TCP Data received {"connection_id":219440,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:20:17] local.INFO: Processing buffer {"connection_id":219440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:20:17] local.INFO: IMEI packet received {"connection_id":219440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":219440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:20:23] local.INFO: TCP Data received {"connection_id":219440,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:20:23] local.INFO: Processing buffer {"connection_id":219440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:20:23] local.INFO: IMEI packet received {"connection_id":219440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":219440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:20:24] local.INFO: TCP Data received {"connection_id":219440,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:20:24] local.INFO: Processing buffer {"connection_id":219440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:20:24] local.INFO: Packet analysis {"connection_id":219440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:20:24] local.INFO: Extracted packet for processing {"connection_id":219440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:20:24] 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-10-16 03:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:20:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:20:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":219440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:20:24] local.INFO: GPS data processed {"connection_id":219440,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:20:24] local.INFO: Acknowledgment sent {"connection_id":219440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:20:56] local.INFO: TCP Data received {"connection_id":219440,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:20:56] local.INFO: Processing buffer {"connection_id":219440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:20:56] local.INFO: Packet analysis {"connection_id":219440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:20:56] local.INFO: Extracted packet for processing {"connection_id":219440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:20:56] 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-10-16 03:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:20:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:20:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":219440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:20:56] local.INFO: GPS data processed {"connection_id":219440,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:20:56] local.INFO: Acknowledgment sent {"connection_id":219440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:21:17] local.INFO: TCP Data received {"connection_id":217719,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:21:17] local.INFO: Processing buffer {"connection_id":217719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:21:17] local.INFO: IMEI packet received {"connection_id":217719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":217719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:21:23] local.INFO: TCP Data received {"connection_id":217719,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:21:23] local.INFO: Processing buffer {"connection_id":217719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:21:23] local.INFO: IMEI packet received {"connection_id":217719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":217719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:21:24] local.INFO: TCP Data received {"connection_id":217719,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:21:24] local.INFO: Processing buffer {"connection_id":217719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:21:24] local.INFO: Packet analysis {"connection_id":217719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:21:24] local.INFO: Extracted packet for processing {"connection_id":217719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:21:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:21:24] 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-10-16 03:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:21:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:21:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":217719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:21:24] local.INFO: GPS data processed {"connection_id":217719,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:21:24] local.INFO: Acknowledgment sent {"connection_id":217719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:21:41] local.INFO: TCP Data received {"connection_id":217720,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:21:41] local.INFO: Processing buffer {"connection_id":217720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:21:41] local.INFO: IMEI packet received {"connection_id":217720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":217720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:21:46] local.INFO: TCP Data received {"connection_id":217720,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:21:46] local.INFO: Processing buffer {"connection_id":217720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:21:46] local.INFO: IMEI packet received {"connection_id":217720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":217720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:21:49] local.INFO: TCP Data received {"connection_id":217720,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:21:49] local.INFO: Processing buffer {"connection_id":217720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:21:49] local.INFO: Packet analysis {"connection_id":217720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:21:49] local.INFO: Extracted packet for processing {"connection_id":217720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:21:49] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":27,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777792000001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792101051000,"timestamp_ms":1792101051000,"timestamp_seconds":1792101051,"priority":1,"record_length":96,"hex_timestamp":"000001a1418bea78"} 
[2026-10-16 03:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:21: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-10-16 03:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:21: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-10-16 03:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":217720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":217720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":217720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777792000001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777792000001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:21:49] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:21:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777792000001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":217720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:21:50] local.INFO: GPS data processed {"connection_id":217720,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:21:50] local.INFO: Acknowledgment sent {"connection_id":217720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:21:56] local.INFO: TCP Data received {"connection_id":217719,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:21:56] local.INFO: Processing buffer {"connection_id":217719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141880a48012d7f98c005afddb00000002f21..."} 
[2026-10-16 03:21:56] local.INFO: Packet analysis {"connection_id":217719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:21:56] local.INFO: Extracted packet for processing {"connection_id":217719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14188"} 
[2026-10-16 03:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777726976001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792100797000,"timestamp_ms":1792100797000,"timestamp_seconds":1792100797,"priority":1,"record_length":96,"hex_timestamp":"000001a141880a48"} 
[2026-10-16 03:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:21:56] 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-10-16 03: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-10-16 03:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777726976001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777726976001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:21:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:21:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777726976001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":217719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:21:56] local.INFO: GPS data processed {"connection_id":217719,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:21:56] local.INFO: Acknowledgment sent {"connection_id":217719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:22:21] local.INFO: TCP Data received {"connection_id":216363,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:22:21] local.INFO: Processing buffer {"connection_id":216363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:22:21] local.INFO: IMEI packet received {"connection_id":216363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":216363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:22:23] local.INFO: TCP Data received {"connection_id":216362,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:22:23] local.INFO: Processing buffer {"connection_id":216362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:22:23] local.INFO: IMEI packet received {"connection_id":216362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":216362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:22:26] local.INFO: TCP Data received {"connection_id":216363,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:22:26] local.INFO: Processing buffer {"connection_id":216363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:22:26] local.INFO: IMEI packet received {"connection_id":216363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":216363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:22:27] local.INFO: TCP Data received {"connection_id":216363,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:22:27] local.INFO: Processing buffer {"connection_id":216363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:22:27] local.INFO: Packet analysis {"connection_id":216363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:22:27] local.INFO: Extracted packet for processing {"connection_id":216363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":27,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777792000001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101051000,"timestamp_ms":1792101051000,"timestamp_seconds":1792101051,"priority":1,"record_length":96,"hex_timestamp":"000001a1418bea78"} 
[2026-10-16 03:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:22:27] 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-10-16 03:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777792000001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777792000001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:22:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777792000001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":216363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:22:27] local.INFO: GPS data processed {"connection_id":216363,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:22:27] local.INFO: Acknowledgment sent {"connection_id":216363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:22:28] local.INFO: TCP Data received {"connection_id":216362,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:22:28] local.INFO: Processing buffer {"connection_id":216362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:22:28] local.INFO: IMEI packet received {"connection_id":216362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":216362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:22:29] local.INFO: TCP Data received {"connection_id":216362,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:22:29] local.INFO: Processing buffer {"connection_id":216362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:22:29] local.INFO: Packet analysis {"connection_id":216362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:22:29] local.INFO: Extracted packet for processing {"connection_id":216362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777804032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792101098000,"timestamp_ms":1792101098000,"timestamp_seconds":1792101098,"priority":1,"record_length":96,"hex_timestamp":"000001a1418ca210"} 
[2026-10-16 03:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 03:22:29] 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-10-16 03:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777804032001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777804032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:22:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:22:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777804032001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":216362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:22:29] local.INFO: GPS data processed {"connection_id":216362,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:22:29] local.INFO: Acknowledgment sent {"connection_id":216362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:22:33] local.INFO: TCP Data received {"connection_id":216362,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:22:33] local.INFO: Processing buffer {"connection_id":216362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:22:33] local.INFO: Packet analysis {"connection_id":216362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:22:33] local.INFO: Extracted packet for processing {"connection_id":216362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777804032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792101098000,"timestamp_ms":1792101098000,"timestamp_seconds":1792101098,"priority":1,"record_length":96,"hex_timestamp":"000001a1418ca210"} 
[2026-10-16 03:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 03:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777804032001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777804032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:22:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:22:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777804032001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":216362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:22:33] local.INFO: GPS data processed {"connection_id":216362,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:22:33] local.INFO: Acknowledgment sent {"connection_id":216362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:22:59] local.INFO: TCP Data received {"connection_id":216363,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:22:59] local.INFO: Processing buffer {"connection_id":216363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:22:59] local.INFO: Packet analysis {"connection_id":216363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:22:59] local.INFO: Extracted packet for processing {"connection_id":216363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":27,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777792000001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792101051000,"timestamp_ms":1792101051000,"timestamp_seconds":1792101051,"priority":1,"record_length":96,"hex_timestamp":"000001a1418bea78"} 
[2026-10-16 03:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777792000001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777792000001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:22:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:22:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777792000001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":216363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:22:59] local.INFO: GPS data processed {"connection_id":216363,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:22:59] local.INFO: Acknowledgment sent {"connection_id":216363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:23:17] local.INFO: TCP Data received {"connection_id":217721,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:23:17] local.INFO: Processing buffer {"connection_id":217721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:23:17] local.INFO: IMEI packet received {"connection_id":217721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":217721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:23:21] local.INFO: TCP Data received {"connection_id":216169,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:23:21] local.INFO: Processing buffer {"connection_id":216169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:23:21] local.INFO: IMEI packet received {"connection_id":216169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:23:23] local.INFO: TCP Data received {"connection_id":217721,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:23:23] local.INFO: Processing buffer {"connection_id":217721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:23:23] local.INFO: IMEI packet received {"connection_id":217721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":217721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:23:24] local.INFO: TCP Data received {"connection_id":217721,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:23:24] local.INFO: Processing buffer {"connection_id":217721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:23:24] local.INFO: Packet analysis {"connection_id":217721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:23:24] local.INFO: Extracted packet for processing {"connection_id":217721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:23:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777804032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101098000,"timestamp_ms":1792101098000,"timestamp_seconds":1792101098,"priority":1,"record_length":96,"hex_timestamp":"000001a1418ca210"} 
[2026-10-16 03:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 03:23:24] 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-10-16 03:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777804032001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777804032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:23:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:23:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777804032001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":217721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:23:24] local.INFO: GPS data processed {"connection_id":217721,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:23:24] local.INFO: Acknowledgment sent {"connection_id":217721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:23:26] local.INFO: TCP Data received {"connection_id":216169,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:23:26] local.INFO: Processing buffer {"connection_id":216169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:23:26] local.INFO: IMEI packet received {"connection_id":216169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":216169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:23:27] local.INFO: TCP Data received {"connection_id":216169,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:23:27] local.INFO: Processing buffer {"connection_id":216169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:23:27] local.INFO: Packet analysis {"connection_id":216169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:23:27] local.INFO: Extracted packet for processing {"connection_id":216169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":27,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777792000001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101051000,"timestamp_ms":1792101051000,"timestamp_seconds":1792101051,"priority":1,"record_length":96,"hex_timestamp":"000001a1418bea78"} 
[2026-10-16 03:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:23:27] 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-10-16 03:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777792000001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777792000001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:23:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777792000001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":216169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:23:27] local.INFO: GPS data processed {"connection_id":216169,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:23:27] local.INFO: Acknowledgment sent {"connection_id":216169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:23:56] local.INFO: TCP Data received {"connection_id":217721,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:23:56] local.INFO: Processing buffer {"connection_id":217721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:23:56] local.INFO: Packet analysis {"connection_id":217721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:23:56] local.INFO: Extracted packet for processing {"connection_id":217721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777804032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792101098000,"timestamp_ms":1792101098000,"timestamp_seconds":1792101098,"priority":1,"record_length":96,"hex_timestamp":"000001a1418ca210"} 
[2026-10-16 03:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 03:23:56] 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-10-16 03:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777804032001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777804032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:23:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:23:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777804032001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":217721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:23:56] local.INFO: GPS data processed {"connection_id":217721,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:23:56] local.INFO: Acknowledgment sent {"connection_id":217721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:24:00] local.INFO: TCP Data received {"connection_id":216169,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:24:00] local.INFO: Processing buffer {"connection_id":216169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:24:00] local.INFO: Packet analysis {"connection_id":216169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:24:00] local.INFO: Extracted packet for processing {"connection_id":216169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":27,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777792000001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792101051000,"timestamp_ms":1792101051000,"timestamp_seconds":1792101051,"priority":1,"record_length":96,"hex_timestamp":"000001a1418bea78"} 
[2026-10-16 03:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:24: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-10-16 03:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:24:00] 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-10-16 03:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777792000001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777792000001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:24:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777792000001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":216169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:24:00] local.INFO: GPS data processed {"connection_id":216169,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:24:00] local.INFO: Acknowledgment sent {"connection_id":216169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:24:17] local.INFO: TCP Data received {"connection_id":219441,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:24:17] local.INFO: Processing buffer {"connection_id":219441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:24:17] local.INFO: IMEI packet received {"connection_id":219441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":219441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:24:21] local.INFO: TCP Data received {"connection_id":216364,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:24:21] local.INFO: Processing buffer {"connection_id":216364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:24:21] local.INFO: IMEI packet received {"connection_id":216364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":216364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:24:23] local.INFO: TCP Data received {"connection_id":219441,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:24:23] local.INFO: Processing buffer {"connection_id":219441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:24:23] local.INFO: IMEI packet received {"connection_id":219441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":219441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:24:24] local.INFO: TCP Data received {"connection_id":219441,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:24:24] local.INFO: Processing buffer {"connection_id":219441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:24:24] local.INFO: Packet analysis {"connection_id":219441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:24:24] local.INFO: Extracted packet for processing {"connection_id":219441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:24:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777804032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101098000,"timestamp_ms":1792101098000,"timestamp_seconds":1792101098,"priority":1,"record_length":96,"hex_timestamp":"000001a1418ca210"} 
[2026-10-16 03:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 03:24:24] 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-10-16 03: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-10-16 03:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777804032001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777804032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:24:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:24:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777804032001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":219441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:24:24] local.INFO: GPS data processed {"connection_id":219441,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:24:24] local.INFO: Acknowledgment sent {"connection_id":219441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:24:26] local.INFO: TCP Data received {"connection_id":216364,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:24:26] local.INFO: Processing buffer {"connection_id":216364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:24:26] local.INFO: IMEI packet received {"connection_id":216364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":216364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:24:27] local.INFO: TCP Data received {"connection_id":216364,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:24:27] local.INFO: Processing buffer {"connection_id":216364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:24:27] local.INFO: Packet analysis {"connection_id":216364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:24:27] local.INFO: Extracted packet for processing {"connection_id":216364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":27,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777792000001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101051000,"timestamp_ms":1792101051000,"timestamp_seconds":1792101051,"priority":1,"record_length":96,"hex_timestamp":"000001a1418bea78"} 
[2026-10-16 03:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:24:27] 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-10-16 03:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777792000001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777792000001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:24:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777792000001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":216364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:24:27] local.INFO: GPS data processed {"connection_id":216364,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:24:27] local.INFO: Acknowledgment sent {"connection_id":216364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:24:56] local.INFO: TCP Data received {"connection_id":219441,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:24:56] local.INFO: Processing buffer {"connection_id":219441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:24:56] local.INFO: Packet analysis {"connection_id":219441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:24:56] local.INFO: Extracted packet for processing {"connection_id":219441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777804032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792101098000,"timestamp_ms":1792101098000,"timestamp_seconds":1792101098,"priority":1,"record_length":96,"hex_timestamp":"000001a1418ca210"} 
[2026-10-16 03:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 03:24:56] 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-10-16 03: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-10-16 03:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777804032001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777804032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:24:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:24:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777804032001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":219441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:24:56] local.INFO: GPS data processed {"connection_id":219441,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:24:56] local.INFO: Acknowledgment sent {"connection_id":219441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:24:58] local.INFO: TCP Data received {"connection_id":216364,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:24:58] local.INFO: Processing buffer {"connection_id":216364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:24:58] local.INFO: Packet analysis {"connection_id":216364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:24:58] local.INFO: Extracted packet for processing {"connection_id":216364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":27,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777792000001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792101051000,"timestamp_ms":1792101051000,"timestamp_seconds":1792101051,"priority":1,"record_length":96,"hex_timestamp":"000001a1418bea78"} 
[2026-10-16 03:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777792000001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777792000001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:24:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:24:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777792000001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":216364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:24:59] local.INFO: GPS data processed {"connection_id":216364,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:24:59] local.INFO: Acknowledgment sent {"connection_id":216364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:25:23] local.INFO: TCP Data received {"connection_id":219442,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:25:23] local.INFO: Processing buffer {"connection_id":219442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:25:23] local.INFO: IMEI packet received {"connection_id":219442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":219442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:25:26] local.INFO: TCP Data received {"connection_id":216365,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:25:26] local.INFO: Processing buffer {"connection_id":216365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:25:26] local.INFO: IMEI packet received {"connection_id":216365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":216365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:25:27] local.INFO: TCP Data received {"connection_id":219442,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:25:27] local.INFO: Processing buffer {"connection_id":219442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:25:27] local.INFO: IMEI packet received {"connection_id":219442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":219442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:25:28] local.INFO: TCP Data received {"connection_id":219442,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:25:28] local.INFO: Processing buffer {"connection_id":219442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:25:28] local.INFO: Packet analysis {"connection_id":219442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:25:28] local.INFO: Extracted packet for processing {"connection_id":219442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777804032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792101098000,"timestamp_ms":1792101098000,"timestamp_seconds":1792101098,"priority":1,"record_length":96,"hex_timestamp":"000001a1418ca210"} 
[2026-10-16 03:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 03:25:28] 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-10-16 03:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777804032001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777804032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:25:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:25:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777804032001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":219442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:25:28] local.INFO: GPS data processed {"connection_id":219442,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:25:28] local.INFO: Acknowledgment sent {"connection_id":219442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:25:31] local.INFO: TCP Data received {"connection_id":216365,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:25:31] local.INFO: Processing buffer {"connection_id":216365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:25:31] local.INFO: IMEI packet received {"connection_id":216365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":216365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:25:32] local.INFO: TCP Data received {"connection_id":216365,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:25:32] local.INFO: Processing buffer {"connection_id":216365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:25:32] local.INFO: Packet analysis {"connection_id":216365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:25:32] local.INFO: Extracted packet for processing {"connection_id":216365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":27,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777792000001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792101051000,"timestamp_ms":1792101051000,"timestamp_seconds":1792101051,"priority":1,"record_length":96,"hex_timestamp":"000001a1418bea78"} 
[2026-10-16 03:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:25:32] 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-10-16 03:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777792000001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777792000001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:25:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777792000001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":216365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:25:32] local.INFO: GPS data processed {"connection_id":216365,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:25:32] local.INFO: Acknowledgment sent {"connection_id":216365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:25:34] local.INFO: TCP Data received {"connection_id":219442,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:25:34] local.INFO: Processing buffer {"connection_id":219442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:25:34] local.INFO: Packet analysis {"connection_id":219442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:25:34] local.INFO: Extracted packet for processing {"connection_id":219442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777804032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792101098000,"timestamp_ms":1792101098000,"timestamp_seconds":1792101098,"priority":1,"record_length":96,"hex_timestamp":"000001a1418ca210"} 
[2026-10-16 03:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 03:25:34] 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-10-16 03:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777804032001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777804032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:25:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:25:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777804032001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":219442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:25:34] local.INFO: GPS data processed {"connection_id":219442,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:25:34] local.INFO: Acknowledgment sent {"connection_id":219442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:25:37] local.INFO: TCP Data received {"connection_id":216365,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:25:37] local.INFO: Processing buffer {"connection_id":216365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418bea78012d7c240005dad510000b00ea1b..."} 
[2026-10-16 03:25:37] local.INFO: Packet analysis {"connection_id":216365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:25:37] local.INFO: Extracted packet for processing {"connection_id":216365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418b"} 
[2026-10-16 03:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":27,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777792000001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792101051000,"timestamp_ms":1792101051000,"timestamp_seconds":1792101051,"priority":1,"record_length":96,"hex_timestamp":"000001a1418bea78"} 
[2026-10-16 03:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:25:37] 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-10-16 03: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-10-16 03:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777792000001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777792000001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:25:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777792000001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":216365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:25:37] local.INFO: GPS data processed {"connection_id":216365,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:25:37] local.INFO: Acknowledgment sent {"connection_id":216365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:25:52] local.INFO: TCP Data received {"connection_id":216170,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:25:52] local.INFO: Processing buffer {"connection_id":216170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:25:52] local.INFO: IMEI packet received {"connection_id":216170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":216170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:26:18] local.INFO: TCP Data received {"connection_id":216171,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:26:18] local.INFO: Processing buffer {"connection_id":216171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:26:18] local.INFO: IMEI packet received {"connection_id":216171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":216171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:26:21] local.INFO: TCP Data received {"connection_id":217722,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:26:21] local.INFO: Processing buffer {"connection_id":217722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:26:21] local.INFO: IMEI packet received {"connection_id":217722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":217722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:26:23] local.INFO: TCP Data received {"connection_id":216171,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:26:23] local.INFO: Processing buffer {"connection_id":216171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:26:23] local.INFO: IMEI packet received {"connection_id":216171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":216171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:26:24] local.INFO: TCP Data received {"connection_id":216171,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:26:24] local.INFO: Processing buffer {"connection_id":216171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:26:24] local.INFO: Packet analysis {"connection_id":216171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:26:24] local.INFO: Extracted packet for processing {"connection_id":216171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777804032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101098000,"timestamp_ms":1792101098000,"timestamp_seconds":1792101098,"priority":1,"record_length":96,"hex_timestamp":"000001a1418ca210"} 
[2026-10-16 03:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 03:26:24] 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-10-16 03:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777804032001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777804032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:26:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:26:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777804032001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":216171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:26:24] local.INFO: GPS data processed {"connection_id":216171,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:26:24] local.INFO: Acknowledgment sent {"connection_id":216171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:26:26] local.INFO: TCP Data received {"connection_id":217722,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:26:26] local.INFO: Processing buffer {"connection_id":217722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:26:26] local.INFO: IMEI packet received {"connection_id":217722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":217722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:26:27] local.INFO: TCP Data received {"connection_id":217722,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:26:27] local.INFO: Processing buffer {"connection_id":217722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:26:27] local.INFO: Packet analysis {"connection_id":217722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:26:27] local.INFO: Extracted packet for processing {"connection_id":217722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777869056001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101352000,"timestamp_ms":1792101352000,"timestamp_seconds":1792101352,"priority":1,"record_length":96,"hex_timestamp":"000001a141908240"} 
[2026-10-16 03:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:26:27] 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-10-16 03:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:26:27] 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-10-16 03:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777869056001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777869056001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:26:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777869056001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":217722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:26:27] local.INFO: GPS data processed {"connection_id":217722,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:26:27] local.INFO: Acknowledgment sent {"connection_id":217722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:26:56] local.INFO: TCP Data received {"connection_id":216171,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:26:56] local.INFO: Processing buffer {"connection_id":216171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1418ca210012d7f98c005afddb00000002f22..."} 
[2026-10-16 03:26:56] local.INFO: Packet analysis {"connection_id":216171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:26:56] local.INFO: Extracted packet for processing {"connection_id":216171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1418c"} 
[2026-10-16 03:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777804032001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792101098000,"timestamp_ms":1792101098000,"timestamp_seconds":1792101098,"priority":1,"record_length":96,"hex_timestamp":"000001a1418ca210"} 
[2026-10-16 03:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 03:26:56] 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-10-16 03:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777804032001,"66":25702,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777804032001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:26:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:26:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777804032001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":216171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:26:56] local.INFO: GPS data processed {"connection_id":216171,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:26:56] local.INFO: Acknowledgment sent {"connection_id":216171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:26:59] local.INFO: TCP Data received {"connection_id":217722,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:26:59] local.INFO: Processing buffer {"connection_id":217722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:26:59] local.INFO: Packet analysis {"connection_id":217722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:26:59] local.INFO: Extracted packet for processing {"connection_id":217722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777869056001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792101352000,"timestamp_ms":1792101352000,"timestamp_seconds":1792101352,"priority":1,"record_length":96,"hex_timestamp":"000001a141908240"} 
[2026-10-16 03:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:26:59] 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-10-16 03:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:26:59] 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-10-16 03:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777869056001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777869056001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:26:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777869056001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":217722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:26:59] local.INFO: GPS data processed {"connection_id":217722,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:26:59] local.INFO: Acknowledgment sent {"connection_id":217722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:27:17] local.INFO: TCP Data received {"connection_id":216366,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:27:17] local.INFO: Processing buffer {"connection_id":216366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:27:17] local.INFO: IMEI packet received {"connection_id":216366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":216366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:27:17] local.INFO: TCP Data received {"connection_id":216366,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:27:17] local.INFO: Processing buffer {"connection_id":216366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:27:17] local.INFO: IMEI packet received {"connection_id":216366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":216366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:27:21] local.INFO: TCP Data received {"connection_id":219443,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:27:21] local.INFO: Processing buffer {"connection_id":219443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:27:21] local.INFO: IMEI packet received {"connection_id":219443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":219443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:27:23] local.INFO: TCP Data received {"connection_id":216366,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:27:23] local.INFO: Processing buffer {"connection_id":216366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:27:23] local.INFO: IMEI packet received {"connection_id":216366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":216366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:27:24] local.INFO: TCP Data received {"connection_id":216366,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:27:24] local.INFO: Processing buffer {"connection_id":216366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:27:24] local.INFO: Packet analysis {"connection_id":216366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:27:24] local.INFO: Extracted packet for processing {"connection_id":216366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:27: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-10-16 03:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101399000,"timestamp_ms":1792101399000,"timestamp_seconds":1792101399,"priority":1,"record_length":96,"hex_timestamp":"000001a1419139d8"} 
[2026-10-16 03:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:27: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:27:24] 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-10-16 03:27: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-10-16 03:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777881088001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:27:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:27:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777881088001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":216366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:27:24] local.INFO: GPS data processed {"connection_id":216366,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:27:24] local.INFO: Acknowledgment sent {"connection_id":216366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:27:26] local.INFO: TCP Data received {"connection_id":219443,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:27:26] local.INFO: Processing buffer {"connection_id":219443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:27:26] local.INFO: IMEI packet received {"connection_id":219443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":219443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:27:27] local.INFO: TCP Data received {"connection_id":219443,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:27:27] local.INFO: Processing buffer {"connection_id":219443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:27:27] local.INFO: Packet analysis {"connection_id":219443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:27:27] local.INFO: Extracted packet for processing {"connection_id":219443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777869056001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101352000,"timestamp_ms":1792101352000,"timestamp_seconds":1792101352,"priority":1,"record_length":96,"hex_timestamp":"000001a141908240"} 
[2026-10-16 03:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:27:27] 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-10-16 03:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777869056001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777869056001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:27:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777869056001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":219443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:27:27] local.INFO: GPS data processed {"connection_id":219443,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:27:27] local.INFO: Acknowledgment sent {"connection_id":219443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:27:55] local.INFO: TCP Data received {"connection_id":216366,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:27:55] local.INFO: Processing buffer {"connection_id":216366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:27:55] local.INFO: Packet analysis {"connection_id":216366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:27:55] local.INFO: Extracted packet for processing {"connection_id":216366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792101399000,"timestamp_ms":1792101399000,"timestamp_seconds":1792101399,"priority":1,"record_length":96,"hex_timestamp":"000001a1419139d8"} 
[2026-10-16 03:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:27:55] 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-10-16 03:27: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-10-16 03:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777881088001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:27:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:27:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777881088001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":216366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:27:55] local.INFO: GPS data processed {"connection_id":216366,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:27:55] local.INFO: Acknowledgment sent {"connection_id":216366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:28:01] local.INFO: TCP Data received {"connection_id":219443,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:28:01] local.INFO: Processing buffer {"connection_id":219443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:28:01] local.INFO: Packet analysis {"connection_id":219443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:28:01] local.INFO: Extracted packet for processing {"connection_id":219443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777869056001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792101352000,"timestamp_ms":1792101352000,"timestamp_seconds":1792101352,"priority":1,"record_length":96,"hex_timestamp":"000001a141908240"} 
[2026-10-16 03:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:28:01] 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-10-16 03:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777869056001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777869056001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:28:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777869056001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":219443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:28:01] local.INFO: GPS data processed {"connection_id":219443,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:28:01] local.INFO: Acknowledgment sent {"connection_id":219443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:28:18] local.INFO: TCP Data received {"connection_id":216173,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:28:18] local.INFO: Processing buffer {"connection_id":216173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:28:18] local.INFO: IMEI packet received {"connection_id":216173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":216173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:28:21] local.INFO: TCP Data received {"connection_id":217724,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:28:21] local.INFO: Processing buffer {"connection_id":217724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:28:21] local.INFO: IMEI packet received {"connection_id":217724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":217724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:28:23] local.INFO: TCP Data received {"connection_id":216173,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:28:23] local.INFO: Processing buffer {"connection_id":216173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:28:23] local.INFO: IMEI packet received {"connection_id":216173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":216173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:28:24] local.INFO: TCP Data received {"connection_id":216173,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:28:24] local.INFO: Processing buffer {"connection_id":216173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:28:24] local.INFO: Packet analysis {"connection_id":216173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:28:24] local.INFO: Extracted packet for processing {"connection_id":216173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101399000,"timestamp_ms":1792101399000,"timestamp_seconds":1792101399,"priority":1,"record_length":96,"hex_timestamp":"000001a1419139d8"} 
[2026-10-16 03:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:28:24] 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-10-16 03: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-10-16 03:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777881088001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:28:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:28:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777881088001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":216173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:28:24] local.INFO: GPS data processed {"connection_id":216173,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:28:24] local.INFO: Acknowledgment sent {"connection_id":216173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:28:26] local.INFO: TCP Data received {"connection_id":217724,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:28:26] local.INFO: Processing buffer {"connection_id":217724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:28:26] local.INFO: IMEI packet received {"connection_id":217724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":217724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:28:27] local.INFO: TCP Data received {"connection_id":217724,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:28:27] local.INFO: Processing buffer {"connection_id":217724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:28:27] local.INFO: Packet analysis {"connection_id":217724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:28:27] local.INFO: Extracted packet for processing {"connection_id":217724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777869056001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101352000,"timestamp_ms":1792101352000,"timestamp_seconds":1792101352,"priority":1,"record_length":96,"hex_timestamp":"000001a141908240"} 
[2026-10-16 03:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:28:27] 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-10-16 03:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:28:27] 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-10-16 03:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777869056001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777869056001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:28:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777869056001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":217724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:28:27] local.INFO: GPS data processed {"connection_id":217724,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:28:27] local.INFO: Acknowledgment sent {"connection_id":217724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:28:56] local.INFO: TCP Data received {"connection_id":216173,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:28:56] local.INFO: Processing buffer {"connection_id":216173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:28:56] local.INFO: Packet analysis {"connection_id":216173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:28:56] local.INFO: Extracted packet for processing {"connection_id":216173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792101399000,"timestamp_ms":1792101399000,"timestamp_seconds":1792101399,"priority":1,"record_length":96,"hex_timestamp":"000001a1419139d8"} 
[2026-10-16 03:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:28:56] 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-10-16 03:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777881088001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:28:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:28:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777881088001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":216173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:28:56] local.INFO: GPS data processed {"connection_id":216173,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:28:56] local.INFO: Acknowledgment sent {"connection_id":216173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:28:59] local.INFO: TCP Data received {"connection_id":217724,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:28:59] local.INFO: Processing buffer {"connection_id":217724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:28:59] local.INFO: Packet analysis {"connection_id":217724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:28:59] local.INFO: Extracted packet for processing {"connection_id":217724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777869056001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792101352000,"timestamp_ms":1792101352000,"timestamp_seconds":1792101352,"priority":1,"record_length":96,"hex_timestamp":"000001a141908240"} 
[2026-10-16 03:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:28:59] 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-10-16 03:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:28:59] 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-10-16 03:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777869056001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777869056001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:28:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777869056001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":217724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:28:59] local.INFO: GPS data processed {"connection_id":217724,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:28:59] local.INFO: Acknowledgment sent {"connection_id":217724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:29:17] local.INFO: TCP Data received {"connection_id":217725,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:29:17] local.INFO: Processing buffer {"connection_id":217725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:29:17] local.INFO: IMEI packet received {"connection_id":217725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":217725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:29:21] local.INFO: TCP Data received {"connection_id":219444,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:29:21] local.INFO: Processing buffer {"connection_id":219444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:29:21] local.INFO: IMEI packet received {"connection_id":219444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":219444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:29:23] local.INFO: TCP Data received {"connection_id":217725,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:29:23] local.INFO: Processing buffer {"connection_id":217725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:29:23] local.INFO: IMEI packet received {"connection_id":217725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":217725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:29:24] local.INFO: TCP Data received {"connection_id":217725,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:29:24] local.INFO: Processing buffer {"connection_id":217725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:29:24] local.INFO: Packet analysis {"connection_id":217725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:29:24] local.INFO: Extracted packet for processing {"connection_id":217725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101399000,"timestamp_ms":1792101399000,"timestamp_seconds":1792101399,"priority":1,"record_length":96,"hex_timestamp":"000001a1419139d8"} 
[2026-10-16 03:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:29:24] 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-10-16 03:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777881088001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:29:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:29:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777881088001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":217725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:29:24] local.INFO: GPS data processed {"connection_id":217725,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:29:24] local.INFO: Acknowledgment sent {"connection_id":217725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:29:26] local.INFO: TCP Data received {"connection_id":219444,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:29:26] local.INFO: Processing buffer {"connection_id":219444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:29:26] local.INFO: IMEI packet received {"connection_id":219444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":219444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:29:29] local.INFO: TCP Data received {"connection_id":219444,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:29:29] local.INFO: Processing buffer {"connection_id":219444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:29:29] local.INFO: Packet analysis {"connection_id":219444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:29:29] local.INFO: Extracted packet for processing {"connection_id":219444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777869056001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792101352000,"timestamp_ms":1792101352000,"timestamp_seconds":1792101352,"priority":1,"record_length":96,"hex_timestamp":"000001a141908240"} 
[2026-10-16 03:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:29:29] 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-10-16 03:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:29: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-10-16 03:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777869056001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777869056001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:29:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777869056001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":219444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:29:29] local.INFO: GPS data processed {"connection_id":219444,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:29:29] local.INFO: Acknowledgment sent {"connection_id":219444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:29:56] local.INFO: TCP Data received {"connection_id":217725,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:29:56] local.INFO: Processing buffer {"connection_id":217725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:29:56] local.INFO: Packet analysis {"connection_id":217725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:29:56] local.INFO: Extracted packet for processing {"connection_id":217725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792101399000,"timestamp_ms":1792101399000,"timestamp_seconds":1792101399,"priority":1,"record_length":96,"hex_timestamp":"000001a1419139d8"} 
[2026-10-16 03:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:29:56] 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-10-16 03:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777881088001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:29:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:29:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777881088001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":217725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:29:56] local.INFO: GPS data processed {"connection_id":217725,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:29:56] local.INFO: Acknowledgment sent {"connection_id":217725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:30:01] local.INFO: TCP Data received {"connection_id":219444,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:30:01] local.INFO: Processing buffer {"connection_id":219444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:30:01] local.INFO: Packet analysis {"connection_id":219444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:30:01] local.INFO: Extracted packet for processing {"connection_id":219444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777869056001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792101352000,"timestamp_ms":1792101352000,"timestamp_seconds":1792101352,"priority":1,"record_length":96,"hex_timestamp":"000001a141908240"} 
[2026-10-16 03:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:30:01] 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-10-16 03:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:30: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-10-16 03:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777869056001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777869056001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:30:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777869056001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":219444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:30:01] local.INFO: GPS data processed {"connection_id":219444,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:30:01] local.INFO: Acknowledgment sent {"connection_id":219444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:30:17] local.INFO: TCP Data received {"connection_id":219445,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:30:17] local.INFO: Processing buffer {"connection_id":219445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:30:17] local.INFO: IMEI packet received {"connection_id":219445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":219445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:30:21] local.INFO: TCP Data received {"connection_id":216174,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:30:21] local.INFO: Processing buffer {"connection_id":216174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:30:21] local.INFO: IMEI packet received {"connection_id":216174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":216174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:30:23] local.INFO: TCP Data received {"connection_id":219445,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:30:23] local.INFO: Processing buffer {"connection_id":219445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:30:23] local.INFO: IMEI packet received {"connection_id":219445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":219445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:30:24] local.INFO: TCP Data received {"connection_id":219445,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:30:24] local.INFO: Processing buffer {"connection_id":219445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:30:24] local.INFO: Packet analysis {"connection_id":219445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:30:24] local.INFO: Extracted packet for processing {"connection_id":219445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:30:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101399000,"timestamp_ms":1792101399000,"timestamp_seconds":1792101399,"priority":1,"record_length":96,"hex_timestamp":"000001a1419139d8"} 
[2026-10-16 03:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:30:24] 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-10-16 03:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777881088001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:30:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:30:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777881088001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":219445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:30:24] local.INFO: GPS data processed {"connection_id":219445,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:30:24] local.INFO: Acknowledgment sent {"connection_id":219445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:30:26] local.INFO: TCP Data received {"connection_id":216174,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:30:26] local.INFO: Processing buffer {"connection_id":216174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:30:26] local.INFO: IMEI packet received {"connection_id":216174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":216174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:30:28] local.INFO: TCP Data received {"connection_id":216174,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:30:28] local.INFO: Processing buffer {"connection_id":216174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141908240012d7c240005dad510000b00ea20..."} 
[2026-10-16 03:30:28] local.INFO: Packet analysis {"connection_id":216174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:30:28] local.INFO: Extracted packet for processing {"connection_id":216174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14190"} 
[2026-10-16 03:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777869056001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792101352000,"timestamp_ms":1792101352000,"timestamp_seconds":1792101352,"priority":1,"record_length":96,"hex_timestamp":"000001a141908240"} 
[2026-10-16 03:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:30:28] 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-10-16 03:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:30:28] 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-10-16 03:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777869056001,"66":12624,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777869056001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:30:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777869056001,"power":12624,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":216174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:30:28] local.INFO: GPS data processed {"connection_id":216174,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:30:28] local.INFO: Acknowledgment sent {"connection_id":216174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:30:56] local.INFO: TCP Data received {"connection_id":219445,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:30:56] local.INFO: Processing buffer {"connection_id":219445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:30:56] local.INFO: Packet analysis {"connection_id":219445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:30:56] local.INFO: Extracted packet for processing {"connection_id":219445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792101399000,"timestamp_ms":1792101399000,"timestamp_seconds":1792101399,"priority":1,"record_length":96,"hex_timestamp":"000001a1419139d8"} 
[2026-10-16 03:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:30:56] 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-10-16 03:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777881088001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:30:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:30:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777881088001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":219445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:30:56] local.INFO: GPS data processed {"connection_id":219445,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:30:56] local.INFO: Acknowledgment sent {"connection_id":219445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:30:59] local.INFO: TCP Data received {"connection_id":216174,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:30:59] local.INFO: Processing buffer {"connection_id":216174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:30:59] local.INFO: Packet analysis {"connection_id":216174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:30:59] local.INFO: Extracted packet for processing {"connection_id":216174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777946112001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792101653000,"timestamp_ms":1792101653000,"timestamp_seconds":1792101653,"priority":1,"record_length":96,"hex_timestamp":"000001a141951a08"} 
[2026-10-16 03:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:30:59] 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-10-16 03:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:30:59] 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-10-16 03:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777946112001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777946112001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:30:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777946112001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":216174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:30:59] local.INFO: GPS data processed {"connection_id":216174,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:30:59] local.INFO: Acknowledgment sent {"connection_id":216174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:31:12] local.INFO: TCP Data received {"connection_id":219446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:31:12] local.INFO: Processing buffer {"connection_id":219446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:31:12] local.INFO: IMEI packet received {"connection_id":219446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":219446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:31:23] local.INFO: TCP Data received {"connection_id":217726,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:31:23] local.INFO: Processing buffer {"connection_id":217726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:31:23] local.INFO: IMEI packet received {"connection_id":217726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":217726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:31:26] local.INFO: TCP Data received {"connection_id":219447,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:31:26] local.INFO: Processing buffer {"connection_id":219447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:31:26] local.INFO: IMEI packet received {"connection_id":219447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":219447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:31:27] local.INFO: TCP Data received {"connection_id":217726,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:31:27] local.INFO: Processing buffer {"connection_id":217726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:31:27] local.INFO: IMEI packet received {"connection_id":217726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":217726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:31:28] local.INFO: TCP Data received {"connection_id":217726,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:31:28] local.INFO: Processing buffer {"connection_id":217726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:31:28] local.INFO: Packet analysis {"connection_id":217726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:31:28] local.INFO: Extracted packet for processing {"connection_id":217726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792101399000,"timestamp_ms":1792101399000,"timestamp_seconds":1792101399,"priority":1,"record_length":96,"hex_timestamp":"000001a1419139d8"} 
[2026-10-16 03:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:31:28] 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-10-16 03:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777881088001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:31:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:31:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777881088001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":217726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:31:28] local.INFO: GPS data processed {"connection_id":217726,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:31:28] local.INFO: Acknowledgment sent {"connection_id":217726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:31:31] local.INFO: TCP Data received {"connection_id":219447,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:31:31] local.INFO: Processing buffer {"connection_id":219447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:31:31] local.INFO: IMEI packet received {"connection_id":219447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":219447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:31:32] local.INFO: TCP Data received {"connection_id":219447,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:31:32] local.INFO: Processing buffer {"connection_id":219447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:31:32] local.INFO: Packet analysis {"connection_id":219447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:31:32] local.INFO: Extracted packet for processing {"connection_id":219447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777946112001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792101653000,"timestamp_ms":1792101653000,"timestamp_seconds":1792101653,"priority":1,"record_length":96,"hex_timestamp":"000001a141951a08"} 
[2026-10-16 03:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:31:32] 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-10-16 03:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777946112001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777946112001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:31:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777946112001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":219447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:31:32] local.INFO: GPS data processed {"connection_id":219447,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:31:32] local.INFO: Acknowledgment sent {"connection_id":219447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:31:33] local.INFO: TCP Data received {"connection_id":217726,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:31:33] local.INFO: Processing buffer {"connection_id":217726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419139d8012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:31:33] local.INFO: Packet analysis {"connection_id":217726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:31:33] local.INFO: Extracted packet for processing {"connection_id":217726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14191"} 
[2026-10-16 03:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792101399000,"timestamp_ms":1792101399000,"timestamp_seconds":1792101399,"priority":1,"record_length":96,"hex_timestamp":"000001a1419139d8"} 
[2026-10-16 03:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 03:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777881088001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:31:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:31:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777881088001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":217726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:31:33] local.INFO: GPS data processed {"connection_id":217726,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:31:33] local.INFO: Acknowledgment sent {"connection_id":217726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:32:03] local.INFO: TCP Data received {"connection_id":219447,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:32:03] local.INFO: Processing buffer {"connection_id":219447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:32:03] local.INFO: Packet analysis {"connection_id":219447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:32:03] local.INFO: Extracted packet for processing {"connection_id":219447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777946112001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792101653000,"timestamp_ms":1792101653000,"timestamp_seconds":1792101653,"priority":1,"record_length":96,"hex_timestamp":"000001a141951a08"} 
[2026-10-16 03:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:32:03] 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-10-16 03:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":219447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":219447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":219447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777946112001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777946112001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:32:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:32:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777946112001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":219447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:32:03] local.INFO: GPS data processed {"connection_id":219447,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:32:03] local.INFO: Acknowledgment sent {"connection_id":219447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:32:18] local.INFO: TCP Data received {"connection_id":216369,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:32:18] local.INFO: Processing buffer {"connection_id":216369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:32:18] local.INFO: IMEI packet received {"connection_id":216369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":216369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:32:18] local.INFO: TCP Data received {"connection_id":216369,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:32:18] local.INFO: Processing buffer {"connection_id":216369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:32:18] local.INFO: IMEI packet received {"connection_id":216369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":216369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:32:21] local.INFO: TCP Data received {"connection_id":219448,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:32:21] local.INFO: Processing buffer {"connection_id":219448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:32:21] local.INFO: IMEI packet received {"connection_id":219448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":219448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:32:23] local.INFO: TCP Data received {"connection_id":216369,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:32:23] local.INFO: Processing buffer {"connection_id":216369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:32:23] local.INFO: IMEI packet received {"connection_id":216369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":216369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:32:24] local.INFO: TCP Data received {"connection_id":219449,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:32:24] local.INFO: Processing buffer {"connection_id":219449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:32:24] local.INFO: IMEI packet received {"connection_id":219449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":219449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:32:24] local.INFO: TCP Data received {"connection_id":216369,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:32:24] local.INFO: Processing buffer {"connection_id":216369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:32:24] local.INFO: Packet analysis {"connection_id":216369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:32:24] local.INFO: Extracted packet for processing {"connection_id":216369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:32: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-10-16 03:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:32: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:32:24] 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-10-16 03:32: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-10-16 03:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:32:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:32:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":216369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:32:24] local.INFO: GPS data processed {"connection_id":216369,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:32:24] local.INFO: Acknowledgment sent {"connection_id":216369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:32:26] local.INFO: TCP Data received {"connection_id":219448,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:32:26] local.INFO: Processing buffer {"connection_id":219448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:32:26] local.INFO: IMEI packet received {"connection_id":219448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":219448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:32:28] local.INFO: TCP Data received {"connection_id":219448,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:32:28] local.INFO: Processing buffer {"connection_id":219448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:32:28] local.INFO: Packet analysis {"connection_id":219448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:32:28] local.INFO: Extracted packet for processing {"connection_id":219448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777946112001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792101653000,"timestamp_ms":1792101653000,"timestamp_seconds":1792101653,"priority":1,"record_length":96,"hex_timestamp":"000001a141951a08"} 
[2026-10-16 03:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:32:28] 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-10-16 03:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777946112001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777946112001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:32:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777946112001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":219448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:32:28] local.INFO: GPS data processed {"connection_id":219448,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:32:28] local.INFO: Acknowledgment sent {"connection_id":219448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:32:29] local.INFO: TCP Data received {"connection_id":216369,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:32:29] local.INFO: Processing buffer {"connection_id":216369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:32:29] local.INFO: Packet analysis {"connection_id":216369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:32:29] local.INFO: Extracted packet for processing {"connection_id":216369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:32:29] 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-10-16 03:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:32:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:32:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":216369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:32:29] local.INFO: GPS data processed {"connection_id":216369,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:32:29] local.INFO: Acknowledgment sent {"connection_id":216369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:32:59] local.INFO: TCP Data received {"connection_id":219448,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:32:59] local.INFO: Processing buffer {"connection_id":219448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:32:59] local.INFO: Packet analysis {"connection_id":219448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:32:59] local.INFO: Extracted packet for processing {"connection_id":219448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777946112001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792101653000,"timestamp_ms":1792101653000,"timestamp_seconds":1792101653,"priority":1,"record_length":96,"hex_timestamp":"000001a141951a08"} 
[2026-10-16 03:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:32:59] 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-10-16 03:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777946112001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777946112001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:32:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:32:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777946112001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":219448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:32:59] local.INFO: GPS data processed {"connection_id":219448,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:32:59] local.INFO: Acknowledgment sent {"connection_id":219448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:33:01] local.INFO: TCP Data received {"connection_id":216369,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:33:01] local.INFO: Processing buffer {"connection_id":216369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:33:01] local.INFO: Packet analysis {"connection_id":216369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:33:01] local.INFO: Extracted packet for processing {"connection_id":216369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:33:01] 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-10-16 03:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:33:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:33:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":216369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:33:01] local.INFO: GPS data processed {"connection_id":216369,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:33:01] local.INFO: Acknowledgment sent {"connection_id":216369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:33:17] local.INFO: TCP Data received {"connection_id":217728,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:33:17] local.INFO: Processing buffer {"connection_id":217728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:33:17] local.INFO: IMEI packet received {"connection_id":217728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":217728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:33:21] local.INFO: TCP Data received {"connection_id":217729,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:33:21] local.INFO: Processing buffer {"connection_id":217729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:33:21] local.INFO: IMEI packet received {"connection_id":217729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":217729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:33:23] local.INFO: TCP Data received {"connection_id":217728,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:33:23] local.INFO: Processing buffer {"connection_id":217728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:33:23] local.INFO: IMEI packet received {"connection_id":217728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":217728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:33:24] local.INFO: TCP Data received {"connection_id":217728,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:33:24] local.INFO: Processing buffer {"connection_id":217728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:33:24] local.INFO: Packet analysis {"connection_id":217728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:33:24] local.INFO: Extracted packet for processing {"connection_id":217728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:33:24] 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-10-16 03:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:33:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:33:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":217728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:33:24] local.INFO: GPS data processed {"connection_id":217728,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:33:24] local.INFO: Acknowledgment sent {"connection_id":217728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:33:26] local.INFO: TCP Data received {"connection_id":217729,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:33:26] local.INFO: Processing buffer {"connection_id":217729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:33:26] local.INFO: IMEI packet received {"connection_id":217729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":217729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:33:27] local.INFO: TCP Data received {"connection_id":217729,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:33:27] local.INFO: Processing buffer {"connection_id":217729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:33:27] local.INFO: Packet analysis {"connection_id":217729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:33:27] local.INFO: Extracted packet for processing {"connection_id":217729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777946112001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101653000,"timestamp_ms":1792101653000,"timestamp_seconds":1792101653,"priority":1,"record_length":96,"hex_timestamp":"000001a141951a08"} 
[2026-10-16 03:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:33:27] 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-10-16 03:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777946112001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777946112001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:33:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777946112001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":217729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:33:27] local.INFO: GPS data processed {"connection_id":217729,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:33:27] local.INFO: Acknowledgment sent {"connection_id":217729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:33:55] local.INFO: TCP Data received {"connection_id":217728,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:33:55] local.INFO: Processing buffer {"connection_id":217728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:33:55] local.INFO: Packet analysis {"connection_id":217728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:33:55] local.INFO: Extracted packet for processing {"connection_id":217728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:33:55] 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-10-16 03:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:33:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:33:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":217728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:33:55] local.INFO: GPS data processed {"connection_id":217728,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:33:55] local.INFO: Acknowledgment sent {"connection_id":217728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:33:58] local.INFO: TCP Data received {"connection_id":217729,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:33:58] local.INFO: Processing buffer {"connection_id":217729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:33:58] local.INFO: Packet analysis {"connection_id":217729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:33:58] local.INFO: Extracted packet for processing {"connection_id":217729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777946112001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792101653000,"timestamp_ms":1792101653000,"timestamp_seconds":1792101653,"priority":1,"record_length":96,"hex_timestamp":"000001a141951a08"} 
[2026-10-16 03:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:33:58] 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-10-16 03:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777946112001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777946112001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:33:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777946112001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":217729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:33:58] local.INFO: GPS data processed {"connection_id":217729,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:33:58] local.INFO: Acknowledgment sent {"connection_id":217729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:34:21] local.INFO: TCP Data received {"connection_id":216370,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:34:21] local.INFO: Processing buffer {"connection_id":216370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:34:21] local.INFO: IMEI packet received {"connection_id":216370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":216370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:34:23] local.INFO: TCP Data received {"connection_id":216176,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:34:23] local.INFO: Processing buffer {"connection_id":216176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:34:23] local.INFO: IMEI packet received {"connection_id":216176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":216176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:34:26] local.INFO: TCP Data received {"connection_id":216370,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:34:26] local.INFO: Processing buffer {"connection_id":216370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:34:26] local.INFO: IMEI packet received {"connection_id":216370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":216370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:34:27] local.INFO: TCP Data received {"connection_id":216370,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:34:27] local.INFO: Processing buffer {"connection_id":216370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:34:27] local.INFO: Packet analysis {"connection_id":216370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:34:27] local.INFO: Extracted packet for processing {"connection_id":216370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777946112001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101653000,"timestamp_ms":1792101653000,"timestamp_seconds":1792101653,"priority":1,"record_length":96,"hex_timestamp":"000001a141951a08"} 
[2026-10-16 03:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:34:27] 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-10-16 03:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777946112001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777946112001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:34:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777946112001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":216370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:34:27] local.INFO: GPS data processed {"connection_id":216370,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:34:27] local.INFO: Acknowledgment sent {"connection_id":216370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:34:28] local.INFO: TCP Data received {"connection_id":216176,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:34:28] local.INFO: Processing buffer {"connection_id":216176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:34:28] local.INFO: IMEI packet received {"connection_id":216176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":216176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:34:30] local.INFO: TCP Data received {"connection_id":216176,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:34:30] local.INFO: Processing buffer {"connection_id":216176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:34:30] local.INFO: Packet analysis {"connection_id":216176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:34:30] local.INFO: Extracted packet for processing {"connection_id":216176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:34:30] 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-10-16 03:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:34:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:34:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":216176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:34:30] local.INFO: GPS data processed {"connection_id":216176,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:34:30] local.INFO: Acknowledgment sent {"connection_id":216176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:34:33] local.INFO: TCP Data received {"connection_id":216176,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:34:33] local.INFO: Processing buffer {"connection_id":216176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:34:33] local.INFO: Packet analysis {"connection_id":216176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:34:33] local.INFO: Extracted packet for processing {"connection_id":216176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:34:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:34:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":216176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:34:33] local.INFO: GPS data processed {"connection_id":216176,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:34:33] local.INFO: Acknowledgment sent {"connection_id":216176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:34:58] local.INFO: TCP Data received {"connection_id":216370,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:34:58] local.INFO: Processing buffer {"connection_id":216370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:34:58] local.INFO: Packet analysis {"connection_id":216370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:34:58] local.INFO: Extracted packet for processing {"connection_id":216370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777946112001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792101653000,"timestamp_ms":1792101653000,"timestamp_seconds":1792101653,"priority":1,"record_length":96,"hex_timestamp":"000001a141951a08"} 
[2026-10-16 03:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:34:58] 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-10-16 03: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-10-16 03:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777946112001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777946112001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:34:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777946112001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":216370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:34:58] local.INFO: GPS data processed {"connection_id":216370,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:34:58] local.INFO: Acknowledgment sent {"connection_id":216370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:35:18] local.INFO: TCP Data received {"connection_id":216177,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:35:18] local.INFO: Processing buffer {"connection_id":216177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:35:18] local.INFO: IMEI packet received {"connection_id":216177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":216177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:35:21] local.INFO: TCP Data received {"connection_id":217731,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:35:21] local.INFO: Processing buffer {"connection_id":217731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:35:21] local.INFO: IMEI packet received {"connection_id":217731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":217731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:35:23] local.INFO: TCP Data received {"connection_id":216177,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:35:23] local.INFO: Processing buffer {"connection_id":216177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:35:23] local.INFO: IMEI packet received {"connection_id":216177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":216177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:35:24] local.INFO: TCP Data received {"connection_id":216177,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:35:24] local.INFO: Processing buffer {"connection_id":216177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:35:24] local.INFO: Packet analysis {"connection_id":216177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:35:24] local.INFO: Extracted packet for processing {"connection_id":216177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:35:24] 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-10-16 03:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:35:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:35:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":216177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:35:24] local.INFO: GPS data processed {"connection_id":216177,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:35:24] local.INFO: Acknowledgment sent {"connection_id":216177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:35:26] local.INFO: TCP Data received {"connection_id":217731,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:35:26] local.INFO: Processing buffer {"connection_id":217731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:35:26] local.INFO: IMEI packet received {"connection_id":217731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":217731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:35:27] local.INFO: TCP Data received {"connection_id":217731,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:35:27] local.INFO: Processing buffer {"connection_id":217731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141951a08012d7c240005dad510000b00ea1f..."} 
[2026-10-16 03:35:27] local.INFO: Packet analysis {"connection_id":217731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:35:27] local.INFO: Extracted packet for processing {"connection_id":217731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777946112001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101653000,"timestamp_ms":1792101653000,"timestamp_seconds":1792101653,"priority":1,"record_length":96,"hex_timestamp":"000001a141951a08"} 
[2026-10-16 03:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:35:27] 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-10-16 03:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:35:27] 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-10-16 03:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777946112001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777946112001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:35:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777946112001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":217731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:35:27] local.INFO: GPS data processed {"connection_id":217731,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:35:27] local.INFO: Acknowledgment sent {"connection_id":217731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:35:55] local.INFO: TCP Data received {"connection_id":216177,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:35:55] local.INFO: Processing buffer {"connection_id":216177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:35:55] local.INFO: Packet analysis {"connection_id":216177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:35:55] local.INFO: Extracted packet for processing {"connection_id":216177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:35:55] 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-10-16 03:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:35:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:35:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":216177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:35:55] local.INFO: GPS data processed {"connection_id":216177,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:35:55] local.INFO: Acknowledgment sent {"connection_id":216177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:35:58] local.INFO: TCP Data received {"connection_id":217731,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:35:58] local.INFO: Processing buffer {"connection_id":217731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:35:58] local.INFO: Packet analysis {"connection_id":217731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:35:58] local.INFO: Extracted packet for processing {"connection_id":217731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:35:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778023168001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792101954000,"timestamp_ms":1792101954000,"timestamp_seconds":1792101954,"priority":1,"record_length":96,"hex_timestamp":"000001a14199b1d0"} 
[2026-10-16 03:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:35:58] 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-10-16 03:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778023168001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778023168001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:35:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:35:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778023168001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":217731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:35:58] local.INFO: GPS data processed {"connection_id":217731,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:35:58] local.INFO: Acknowledgment sent {"connection_id":217731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:36:17] local.INFO: TCP Data received {"connection_id":216371,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:36:17] local.INFO: Processing buffer {"connection_id":216371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:36:17] local.INFO: IMEI packet received {"connection_id":216371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":216371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:36:23] local.INFO: TCP Data received {"connection_id":216371,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:36:23] local.INFO: Processing buffer {"connection_id":216371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:36:23] local.INFO: IMEI packet received {"connection_id":216371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":216371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:36:24] local.INFO: TCP Data received {"connection_id":216371,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:36:24] local.INFO: Processing buffer {"connection_id":216371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:36:24] local.INFO: Packet analysis {"connection_id":216371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:36:24] local.INFO: Extracted packet for processing {"connection_id":216371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:36: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-10-16 03:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:36: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:36:24] 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-10-16 03:36: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-10-16 03:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:36:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:36:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":216371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:36:24] local.INFO: GPS data processed {"connection_id":216371,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:36:24] local.INFO: Acknowledgment sent {"connection_id":216371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:36:26] local.INFO: TCP Data received {"connection_id":219451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:36:26] local.INFO: Processing buffer {"connection_id":219451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:36:26] local.INFO: IMEI packet received {"connection_id":219451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":219451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:36:31] local.INFO: TCP Data received {"connection_id":219451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:36:31] local.INFO: Processing buffer {"connection_id":219451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:36:31] local.INFO: IMEI packet received {"connection_id":219451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":219451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:36:32] local.INFO: TCP Data received {"connection_id":219451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:36:32] local.INFO: Processing buffer {"connection_id":219451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:36:32] local.INFO: Packet analysis {"connection_id":219451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:36:32] local.INFO: Extracted packet for processing {"connection_id":219451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778023168001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792101954000,"timestamp_ms":1792101954000,"timestamp_seconds":1792101954,"priority":1,"record_length":96,"hex_timestamp":"000001a14199b1d0"} 
[2026-10-16 03:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:36:32] 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-10-16 03:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778023168001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778023168001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:36:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778023168001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":219451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:36:32] local.INFO: GPS data processed {"connection_id":219451,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:36:32] local.INFO: Acknowledgment sent {"connection_id":219451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:36:37] local.INFO: TCP Data received {"connection_id":219451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:36:37] local.INFO: Processing buffer {"connection_id":219451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:36:37] local.INFO: Packet analysis {"connection_id":219451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:36:37] local.INFO: Extracted packet for processing {"connection_id":219451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778023168001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792101954000,"timestamp_ms":1792101954000,"timestamp_seconds":1792101954,"priority":1,"record_length":96,"hex_timestamp":"000001a14199b1d0"} 
[2026-10-16 03:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:36:37] 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-10-16 03: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-10-16 03:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":219451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":219451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":219451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:36:37] 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-10-16 03:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778023168001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778023168001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:36:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778023168001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":219451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:36:37] local.INFO: GPS data processed {"connection_id":219451,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:36:37] local.INFO: Acknowledgment sent {"connection_id":219451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:36:56] local.INFO: TCP Data received {"connection_id":216371,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:36:56] local.INFO: Processing buffer {"connection_id":216371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14195d1a0012d7f98c005afddb00000002f20..."} 
[2026-10-16 03:36:56] local.INFO: Packet analysis {"connection_id":216371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:36:56] local.INFO: Extracted packet for processing {"connection_id":216371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14195"} 
[2026-10-16 03:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458777958144001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792101700000,"timestamp_ms":1792101700000,"timestamp_seconds":1792101700,"priority":1,"record_length":96,"hex_timestamp":"000001a14195d1a0"} 
[2026-10-16 03:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:36:56] 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-10-16 03:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458777958144001,"66":25680,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458777958144001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:36:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:36:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458777958144001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":216371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:36:56] local.INFO: GPS data processed {"connection_id":216371,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:36:56] local.INFO: Acknowledgment sent {"connection_id":216371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:37:17] local.INFO: TCP Data received {"connection_id":216178,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:37:17] local.INFO: Processing buffer {"connection_id":216178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:37:17] local.INFO: IMEI packet received {"connection_id":216178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":216178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:37:19] local.INFO: TCP Data received {"connection_id":216178,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:37:19] local.INFO: Processing buffer {"connection_id":216178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:37:19] local.INFO: IMEI packet received {"connection_id":216178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":216178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:37:21] local.INFO: TCP Data received {"connection_id":216179,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:37:21] local.INFO: Processing buffer {"connection_id":216179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:37:21] local.INFO: IMEI packet received {"connection_id":216179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":216179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:37:23] local.INFO: TCP Data received {"connection_id":216178,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:37:23] local.INFO: Processing buffer {"connection_id":216178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:37:23] local.INFO: IMEI packet received {"connection_id":216178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":216178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:37:24] local.INFO: TCP Data received {"connection_id":216178,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:37:24] local.INFO: Processing buffer {"connection_id":216178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:37:24] local.INFO: Packet analysis {"connection_id":216178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:37:24] local.INFO: Extracted packet for processing {"connection_id":216178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778035200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102001000,"timestamp_ms":1792102001000,"timestamp_seconds":1792102001,"priority":1,"record_length":96,"hex_timestamp":"000001a1419a6968"} 
[2026-10-16 03:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:37:24] 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-10-16 03:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778035200001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778035200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:37:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:37:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778035200001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":216178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:37:24] local.INFO: GPS data processed {"connection_id":216178,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:37:24] local.INFO: Acknowledgment sent {"connection_id":216178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:37:26] local.INFO: TCP Data received {"connection_id":216179,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:37:26] local.INFO: Processing buffer {"connection_id":216179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:37:26] local.INFO: IMEI packet received {"connection_id":216179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":216179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:37:27] local.INFO: TCP Data received {"connection_id":216179,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:37:27] local.INFO: Processing buffer {"connection_id":216179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:37:27] local.INFO: Packet analysis {"connection_id":216179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:37:27] local.INFO: Extracted packet for processing {"connection_id":216179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778023168001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101954000,"timestamp_ms":1792101954000,"timestamp_seconds":1792101954,"priority":1,"record_length":96,"hex_timestamp":"000001a14199b1d0"} 
[2026-10-16 03:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:37:27] 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-10-16 03:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778023168001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778023168001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:37:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778023168001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":216179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:37:27] local.INFO: GPS data processed {"connection_id":216179,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:37:27] local.INFO: Acknowledgment sent {"connection_id":216179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:37:49] local.INFO: TCP Data received {"connection_id":219453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:37:49] local.INFO: Processing buffer {"connection_id":219453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:37:49] local.INFO: IMEI packet received {"connection_id":219453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":219453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:37:56] local.INFO: TCP Data received {"connection_id":216178,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:37:56] local.INFO: Processing buffer {"connection_id":216178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:37:56] local.INFO: Packet analysis {"connection_id":216178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:37:56] local.INFO: Extracted packet for processing {"connection_id":216178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778035200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102001000,"timestamp_ms":1792102001000,"timestamp_seconds":1792102001,"priority":1,"record_length":96,"hex_timestamp":"000001a1419a6968"} 
[2026-10-16 03:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:37:56] 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-10-16 03:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778035200001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778035200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:37:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:37:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778035200001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":216178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:37:56] local.INFO: GPS data processed {"connection_id":216178,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:37:56] local.INFO: Acknowledgment sent {"connection_id":216178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:38:02] local.INFO: TCP Data received {"connection_id":216179,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:38:02] local.INFO: Processing buffer {"connection_id":216179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:38:02] local.INFO: Packet analysis {"connection_id":216179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:38:02] local.INFO: Extracted packet for processing {"connection_id":216179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778023168001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792101954000,"timestamp_ms":1792101954000,"timestamp_seconds":1792101954,"priority":1,"record_length":96,"hex_timestamp":"000001a14199b1d0"} 
[2026-10-16 03:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:38:02] 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-10-16 03:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778023168001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778023168001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:38:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778023168001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":216179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:38:02] local.INFO: GPS data processed {"connection_id":216179,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:38:02] local.INFO: Acknowledgment sent {"connection_id":216179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:38:17] local.INFO: TCP Data received {"connection_id":219454,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:38:17] local.INFO: Processing buffer {"connection_id":219454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:38:17] local.INFO: IMEI packet received {"connection_id":219454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":219454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:38:21] local.INFO: TCP Data received {"connection_id":219455,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:38:21] local.INFO: Processing buffer {"connection_id":219455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:38:21] local.INFO: IMEI packet received {"connection_id":219455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":219455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:38:23] local.INFO: TCP Data received {"connection_id":219454,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:38:23] local.INFO: Processing buffer {"connection_id":219454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:38:23] local.INFO: IMEI packet received {"connection_id":219454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":219454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:38:24] local.INFO: TCP Data received {"connection_id":219454,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:38:24] local.INFO: Processing buffer {"connection_id":219454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:38:24] local.INFO: Packet analysis {"connection_id":219454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:38:24] local.INFO: Extracted packet for processing {"connection_id":219454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778035200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102001000,"timestamp_ms":1792102001000,"timestamp_seconds":1792102001,"priority":1,"record_length":96,"hex_timestamp":"000001a1419a6968"} 
[2026-10-16 03:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:38:24] 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-10-16 03: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-10-16 03:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778035200001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778035200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:38:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:38:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778035200001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":219454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:38:24] local.INFO: GPS data processed {"connection_id":219454,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:38:24] local.INFO: Acknowledgment sent {"connection_id":219454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:38:26] local.INFO: TCP Data received {"connection_id":219455,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:38:26] local.INFO: Processing buffer {"connection_id":219455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:38:26] local.INFO: IMEI packet received {"connection_id":219455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":219455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:38:27] local.INFO: TCP Data received {"connection_id":219455,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:38:27] local.INFO: Processing buffer {"connection_id":219455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:38:27] local.INFO: Packet analysis {"connection_id":219455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:38:27] local.INFO: Extracted packet for processing {"connection_id":219455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778023168001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101954000,"timestamp_ms":1792101954000,"timestamp_seconds":1792101954,"priority":1,"record_length":96,"hex_timestamp":"000001a14199b1d0"} 
[2026-10-16 03:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:38:27] 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-10-16 03: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-10-16 03:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778023168001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778023168001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:38:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778023168001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":219455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:38:27] local.INFO: GPS data processed {"connection_id":219455,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:38:27] local.INFO: Acknowledgment sent {"connection_id":219455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:38:56] local.INFO: TCP Data received {"connection_id":219454,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:38:56] local.INFO: Processing buffer {"connection_id":219454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:38:56] local.INFO: Packet analysis {"connection_id":219454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:38:56] local.INFO: Extracted packet for processing {"connection_id":219454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778035200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102001000,"timestamp_ms":1792102001000,"timestamp_seconds":1792102001,"priority":1,"record_length":96,"hex_timestamp":"000001a1419a6968"} 
[2026-10-16 03:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:38:56] 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-10-16 03:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778035200001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778035200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:38:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:38:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778035200001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":219454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:38:56] local.INFO: GPS data processed {"connection_id":219454,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:38:56] local.INFO: Acknowledgment sent {"connection_id":219454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:38:59] local.INFO: TCP Data received {"connection_id":219455,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:38:59] local.INFO: Processing buffer {"connection_id":219455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:38:59] local.INFO: Packet analysis {"connection_id":219455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:38:59] local.INFO: Extracted packet for processing {"connection_id":219455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778023168001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792101954000,"timestamp_ms":1792101954000,"timestamp_seconds":1792101954,"priority":1,"record_length":96,"hex_timestamp":"000001a14199b1d0"} 
[2026-10-16 03:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778023168001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778023168001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:38:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778023168001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":219455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:38:59] local.INFO: GPS data processed {"connection_id":219455,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:38:59] local.INFO: Acknowledgment sent {"connection_id":219455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:39:17] local.INFO: TCP Data received {"connection_id":216373,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:39:17] local.INFO: Processing buffer {"connection_id":216373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:39:17] local.INFO: IMEI packet received {"connection_id":216373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":216373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:39:22] local.INFO: TCP Data received {"connection_id":216374,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:39:22] local.INFO: Processing buffer {"connection_id":216374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:39:22] local.INFO: IMEI packet received {"connection_id":216374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":216374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:39:23] local.INFO: TCP Data received {"connection_id":216373,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:39:23] local.INFO: Processing buffer {"connection_id":216373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:39:23] local.INFO: IMEI packet received {"connection_id":216373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":216373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:39:24] local.INFO: TCP Data received {"connection_id":216373,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:39:24] local.INFO: Processing buffer {"connection_id":216373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:39:24] local.INFO: Packet analysis {"connection_id":216373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:39:24] local.INFO: Extracted packet for processing {"connection_id":216373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778035200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102001000,"timestamp_ms":1792102001000,"timestamp_seconds":1792102001,"priority":1,"record_length":96,"hex_timestamp":"000001a1419a6968"} 
[2026-10-16 03:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:39:24] 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-10-16 03:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778035200001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778035200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:39:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:39:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778035200001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":216373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:39:24] local.INFO: GPS data processed {"connection_id":216373,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:39:24] local.INFO: Acknowledgment sent {"connection_id":216373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:39:26] local.INFO: TCP Data received {"connection_id":216374,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:39:26] local.INFO: Processing buffer {"connection_id":216374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:39:26] local.INFO: IMEI packet received {"connection_id":216374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":216374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:39:30] local.INFO: TCP Data received {"connection_id":216374,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:39:30] local.INFO: Processing buffer {"connection_id":216374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:39:30] local.INFO: Packet analysis {"connection_id":216374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:39:30] local.INFO: Extracted packet for processing {"connection_id":216374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:39: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-10-16 03:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778023168001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792101954000,"timestamp_ms":1792101954000,"timestamp_seconds":1792101954,"priority":1,"record_length":96,"hex_timestamp":"000001a14199b1d0"} 
[2026-10-16 03:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:39: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-10-16 03:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778023168001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778023168001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:39:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778023168001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":216374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:39:30] local.INFO: GPS data processed {"connection_id":216374,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:39:30] local.INFO: Acknowledgment sent {"connection_id":216374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:39:56] local.INFO: TCP Data received {"connection_id":216373,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:39:56] local.INFO: Processing buffer {"connection_id":216373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:39:56] local.INFO: Packet analysis {"connection_id":216373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:39:56] local.INFO: Extracted packet for processing {"connection_id":216373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778035200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102001000,"timestamp_ms":1792102001000,"timestamp_seconds":1792102001,"priority":1,"record_length":96,"hex_timestamp":"000001a1419a6968"} 
[2026-10-16 03:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:39:56] 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-10-16 03:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778035200001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778035200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:39:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:39:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778035200001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":216373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:39:56] local.INFO: GPS data processed {"connection_id":216373,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:39:56] local.INFO: Acknowledgment sent {"connection_id":216373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:40:02] local.INFO: TCP Data received {"connection_id":216374,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:40:02] local.INFO: Processing buffer {"connection_id":216374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:40:02] local.INFO: Packet analysis {"connection_id":216374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:40:02] local.INFO: Extracted packet for processing {"connection_id":216374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778023168001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792101954000,"timestamp_ms":1792101954000,"timestamp_seconds":1792101954,"priority":1,"record_length":96,"hex_timestamp":"000001a14199b1d0"} 
[2026-10-16 03:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:40:02] 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-10-16 03: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-10-16 03:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778023168001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778023168001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:40:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778023168001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":216374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:40:02] local.INFO: GPS data processed {"connection_id":216374,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:40:02] local.INFO: Acknowledgment sent {"connection_id":216374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:40:21] local.INFO: TCP Data received {"connection_id":217733,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:40:21] local.INFO: Processing buffer {"connection_id":217733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:40:21] local.INFO: IMEI packet received {"connection_id":217733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":217733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:40:23] local.INFO: TCP Data received {"connection_id":216375,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:40:23] local.INFO: Processing buffer {"connection_id":216375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:40:23] local.INFO: IMEI packet received {"connection_id":216375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":216375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:40:26] local.INFO: TCP Data received {"connection_id":217733,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:40:26] local.INFO: Processing buffer {"connection_id":217733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:40:26] local.INFO: IMEI packet received {"connection_id":217733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":217733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:40:27] local.INFO: TCP Data received {"connection_id":217733,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:40:27] local.INFO: Processing buffer {"connection_id":217733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14199b1d0012d7c240005dad510000b00ea21..."} 
[2026-10-16 03:40:27] local.INFO: Packet analysis {"connection_id":217733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:40:27] local.INFO: Extracted packet for processing {"connection_id":217733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14199"} 
[2026-10-16 03:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":11,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778023168001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792101954000,"timestamp_ms":1792101954000,"timestamp_seconds":1792101954,"priority":1,"record_length":96,"hex_timestamp":"000001a14199b1d0"} 
[2026-10-16 03:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:40:27] 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-10-16 03:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778023168001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778023168001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:40:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778023168001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":217733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:40:27] local.INFO: GPS data processed {"connection_id":217733,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:40:27] local.INFO: Acknowledgment sent {"connection_id":217733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:40:28] local.INFO: TCP Data received {"connection_id":216375,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:40:28] local.INFO: Processing buffer {"connection_id":216375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:40:28] local.INFO: IMEI packet received {"connection_id":216375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":216375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:40:29] local.INFO: TCP Data received {"connection_id":216375,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:40:29] local.INFO: Processing buffer {"connection_id":216375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:40:29] local.INFO: Packet analysis {"connection_id":216375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:40:29] local.INFO: Extracted packet for processing {"connection_id":216375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:40:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778035200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792102001000,"timestamp_ms":1792102001000,"timestamp_seconds":1792102001,"priority":1,"record_length":96,"hex_timestamp":"000001a1419a6968"} 
[2026-10-16 03:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:40:29] 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-10-16 03:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778035200001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778035200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:40:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:40:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778035200001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":216375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:40:29] local.INFO: GPS data processed {"connection_id":216375,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:40:29] local.INFO: Acknowledgment sent {"connection_id":216375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:40:59] local.INFO: TCP Data received {"connection_id":217733,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:40:59] local.INFO: Processing buffer {"connection_id":217733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:40:59] local.INFO: Packet analysis {"connection_id":217733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:40:59] local.INFO: Extracted packet for processing {"connection_id":217733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778100224001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792102255000,"timestamp_ms":1792102255000,"timestamp_seconds":1792102255,"priority":1,"record_length":96,"hex_timestamp":"000001a1419e4998"} 
[2026-10-16 03:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778100224001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778100224001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:40:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778100224001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":217733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:40:59] local.INFO: GPS data processed {"connection_id":217733,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:40:59] local.INFO: Acknowledgment sent {"connection_id":217733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:41:01] local.INFO: TCP Data received {"connection_id":216375,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:41:01] local.INFO: Processing buffer {"connection_id":216375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:41:01] local.INFO: Packet analysis {"connection_id":216375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:41:01] local.INFO: Extracted packet for processing {"connection_id":216375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778035200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792102001000,"timestamp_ms":1792102001000,"timestamp_seconds":1792102001,"priority":1,"record_length":96,"hex_timestamp":"000001a1419a6968"} 
[2026-10-16 03:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:41:01] 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-10-16 03:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778035200001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778035200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:41:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:41:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778035200001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":216375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:41:01] local.INFO: GPS data processed {"connection_id":216375,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:41:01] local.INFO: Acknowledgment sent {"connection_id":216375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:41:17] local.INFO: TCP Data received {"connection_id":216376,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:41:17] local.INFO: Processing buffer {"connection_id":216376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:41:17] local.INFO: IMEI packet received {"connection_id":216376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":216376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:41:21] local.INFO: TCP Data received {"connection_id":217734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217734,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:41:21] local.INFO: Processing buffer {"connection_id":217734,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:41:21] local.INFO: IMEI packet received {"connection_id":217734,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":217734,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:41:23] local.INFO: TCP Data received {"connection_id":216376,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:41:23] local.INFO: Processing buffer {"connection_id":216376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:41:23] local.INFO: IMEI packet received {"connection_id":216376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":216376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:41:24] local.INFO: TCP Data received {"connection_id":216376,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:41:24] local.INFO: Processing buffer {"connection_id":216376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:41:24] local.INFO: Packet analysis {"connection_id":216376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:41:24] local.INFO: Extracted packet for processing {"connection_id":216376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:41: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-10-16 03:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778035200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102001000,"timestamp_ms":1792102001000,"timestamp_seconds":1792102001,"priority":1,"record_length":96,"hex_timestamp":"000001a1419a6968"} 
[2026-10-16 03:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:41: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:41:24] 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-10-16 03:41: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-10-16 03:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778035200001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778035200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:41:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:41:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778035200001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":216376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:41:24] local.INFO: GPS data processed {"connection_id":216376,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:41:24] local.INFO: Acknowledgment sent {"connection_id":216376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:41:26] local.INFO: TCP Data received {"connection_id":217734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217734,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:41:26] local.INFO: Processing buffer {"connection_id":217734,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:41:26] local.INFO: IMEI packet received {"connection_id":217734,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":217734,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:41:27] local.INFO: TCP Data received {"connection_id":217734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:41:27] local.INFO: Processing buffer {"connection_id":217734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:41:27] local.INFO: Packet analysis {"connection_id":217734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:41:27] local.INFO: Extracted packet for processing {"connection_id":217734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778100224001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792102255000,"timestamp_ms":1792102255000,"timestamp_seconds":1792102255,"priority":1,"record_length":96,"hex_timestamp":"000001a1419e4998"} 
[2026-10-16 03:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:41:27] 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-10-16 03:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778100224001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778100224001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:41:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778100224001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":217734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:41:27] local.INFO: GPS data processed {"connection_id":217734,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:41:27] local.INFO: Acknowledgment sent {"connection_id":217734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:41:56] local.INFO: TCP Data received {"connection_id":216376,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:41:56] local.INFO: Processing buffer {"connection_id":216376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419a6968012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:41:56] local.INFO: Packet analysis {"connection_id":216376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:41:56] local.INFO: Extracted packet for processing {"connection_id":216376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419a"} 
[2026-10-16 03:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778035200001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102001000,"timestamp_ms":1792102001000,"timestamp_seconds":1792102001,"priority":1,"record_length":96,"hex_timestamp":"000001a1419a6968"} 
[2026-10-16 03:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 03:41:56] 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-10-16 03:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778035200001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778035200001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:41:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:41:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778035200001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":216376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:41:56] local.INFO: GPS data processed {"connection_id":216376,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:41:56] local.INFO: Acknowledgment sent {"connection_id":216376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:41:59] local.INFO: TCP Data received {"connection_id":217734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:41:59] local.INFO: Processing buffer {"connection_id":217734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:41:59] local.INFO: Packet analysis {"connection_id":217734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:41:59] local.INFO: Extracted packet for processing {"connection_id":217734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778100224001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792102255000,"timestamp_ms":1792102255000,"timestamp_seconds":1792102255,"priority":1,"record_length":96,"hex_timestamp":"000001a1419e4998"} 
[2026-10-16 03:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778100224001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778100224001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:41:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778100224001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":217734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:41:59] local.INFO: GPS data processed {"connection_id":217734,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:41:59] local.INFO: Acknowledgment sent {"connection_id":217734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:42:17] local.INFO: TCP Data received {"connection_id":219456,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:42:17] local.INFO: Processing buffer {"connection_id":219456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:42:17] local.INFO: IMEI packet received {"connection_id":219456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":219456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:42:20] local.INFO: TCP Data received {"connection_id":219456,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:42:20] local.INFO: Processing buffer {"connection_id":219456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:42:20] local.INFO: IMEI packet received {"connection_id":219456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":219456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:42:22] local.INFO: TCP Data received {"connection_id":219456,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:42:22] local.INFO: Processing buffer {"connection_id":219456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:42:22] local.INFO: IMEI packet received {"connection_id":219456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":219456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:42:23] local.INFO: TCP Data received {"connection_id":219456,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:42:23] local.INFO: Processing buffer {"connection_id":219456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:42:23] local.INFO: Packet analysis {"connection_id":219456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:42:23] local.INFO: Extracted packet for processing {"connection_id":219456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:42:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778112256001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792102302000,"timestamp_ms":1792102302000,"timestamp_seconds":1792102302,"priority":1,"record_length":96,"hex_timestamp":"000001a1419f0130"} 
[2026-10-16 03:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:42:23] 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-10-16 03:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778112256001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778112256001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:42:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:42:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778112256001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":219456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:42:23] local.INFO: GPS data processed {"connection_id":219456,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:42:23] local.INFO: Acknowledgment sent {"connection_id":219456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:42:26] local.INFO: TCP Data received {"connection_id":219457,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:42:26] local.INFO: Processing buffer {"connection_id":219457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:42:26] local.INFO: IMEI packet received {"connection_id":219457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":219457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:42:31] local.INFO: TCP Data received {"connection_id":219457,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:42:31] local.INFO: Processing buffer {"connection_id":219457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:42:31] local.INFO: IMEI packet received {"connection_id":219457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":219457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:42:32] local.INFO: TCP Data received {"connection_id":219457,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:42:32] local.INFO: Processing buffer {"connection_id":219457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:42:32] local.INFO: Packet analysis {"connection_id":219457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:42:32] local.INFO: Extracted packet for processing {"connection_id":219457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778100224001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792102255000,"timestamp_ms":1792102255000,"timestamp_seconds":1792102255,"priority":1,"record_length":96,"hex_timestamp":"000001a1419e4998"} 
[2026-10-16 03:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:42:32] 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-10-16 03:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778100224001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778100224001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:42:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778100224001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":219457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:42:32] local.INFO: GPS data processed {"connection_id":219457,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:42:32] local.INFO: Acknowledgment sent {"connection_id":219457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:42:40] local.INFO: TCP Data received {"connection_id":219457,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:42:40] local.INFO: Processing buffer {"connection_id":219457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:42:40] local.INFO: Packet analysis {"connection_id":219457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:42:40] local.INFO: Extracted packet for processing {"connection_id":219457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778100224001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792102255000,"timestamp_ms":1792102255000,"timestamp_seconds":1792102255,"priority":1,"record_length":96,"hex_timestamp":"000001a1419e4998"} 
[2026-10-16 03:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:42: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-10-16 03:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:42:40] 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-10-16 03:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":219457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":219457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":219457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778100224001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778100224001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:42:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778100224001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":219457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:42:40] local.INFO: GPS data processed {"connection_id":219457,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:42:40] local.INFO: Acknowledgment sent {"connection_id":219457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:42:55] local.INFO: TCP Data received {"connection_id":219456,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:42:55] local.INFO: Processing buffer {"connection_id":219456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:42:55] local.INFO: Packet analysis {"connection_id":219456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:42:55] local.INFO: Extracted packet for processing {"connection_id":219456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778112256001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792102302000,"timestamp_ms":1792102302000,"timestamp_seconds":1792102302,"priority":1,"record_length":96,"hex_timestamp":"000001a1419f0130"} 
[2026-10-16 03:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778112256001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778112256001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:42:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:42:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778112256001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":219456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:42:55] local.INFO: GPS data processed {"connection_id":219456,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:42:55] local.INFO: Acknowledgment sent {"connection_id":219456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:43:17] local.INFO: TCP Data received {"connection_id":217736,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:43:17] local.INFO: Processing buffer {"connection_id":217736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:43:17] local.INFO: IMEI packet received {"connection_id":217736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":217736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:43:21] local.INFO: TCP Data received {"connection_id":216182,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:43:21] local.INFO: Processing buffer {"connection_id":216182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:43:21] local.INFO: IMEI packet received {"connection_id":216182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":216182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:43:23] local.INFO: TCP Data received {"connection_id":217736,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:43:23] local.INFO: Processing buffer {"connection_id":217736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:43:23] local.INFO: IMEI packet received {"connection_id":217736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":217736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:43:24] local.INFO: TCP Data received {"connection_id":217736,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:43:24] local.INFO: Processing buffer {"connection_id":217736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:43:24] local.INFO: Packet analysis {"connection_id":217736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:43:24] local.INFO: Extracted packet for processing {"connection_id":217736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:43:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:43: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-10-16 03:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778112256001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102302000,"timestamp_ms":1792102302000,"timestamp_seconds":1792102302,"priority":1,"record_length":96,"hex_timestamp":"000001a1419f0130"} 
[2026-10-16 03:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:43: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:43:24] 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-10-16 03:43: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-10-16 03:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778112256001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778112256001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:43:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:43:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778112256001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":217736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:43:24] local.INFO: GPS data processed {"connection_id":217736,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:43:24] local.INFO: Acknowledgment sent {"connection_id":217736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:43:26] local.INFO: TCP Data received {"connection_id":216182,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:43:26] local.INFO: Processing buffer {"connection_id":216182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:43:26] local.INFO: IMEI packet received {"connection_id":216182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":216182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:43:27] local.INFO: TCP Data received {"connection_id":216181,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:43:27] local.INFO: Processing buffer {"connection_id":216181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:43:27] local.INFO: IMEI packet received {"connection_id":216181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":216181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:43:27] local.INFO: TCP Data received {"connection_id":216182,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:43:27] local.INFO: Processing buffer {"connection_id":216182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:43:27] local.INFO: Packet analysis {"connection_id":216182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:43:27] local.INFO: Extracted packet for processing {"connection_id":216182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778100224001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792102255000,"timestamp_ms":1792102255000,"timestamp_seconds":1792102255,"priority":1,"record_length":96,"hex_timestamp":"000001a1419e4998"} 
[2026-10-16 03:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:43:27] 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-10-16 03: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-10-16 03:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:43: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-10-16 03:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778100224001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778100224001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:43:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778100224001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":216182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:43:27] local.INFO: GPS data processed {"connection_id":216182,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:43:27] local.INFO: Acknowledgment sent {"connection_id":216182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:43:52] local.INFO: TCP Data received {"connection_id":216183,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:43:52] local.INFO: Processing buffer {"connection_id":216183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:43:52] local.INFO: IMEI packet received {"connection_id":216183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":216183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:43:56] local.INFO: TCP Data received {"connection_id":217736,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:43:56] local.INFO: Processing buffer {"connection_id":217736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:43:56] local.INFO: Packet analysis {"connection_id":217736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:43:56] local.INFO: Extracted packet for processing {"connection_id":217736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778112256001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102302000,"timestamp_ms":1792102302000,"timestamp_seconds":1792102302,"priority":1,"record_length":96,"hex_timestamp":"000001a1419f0130"} 
[2026-10-16 03:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03: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-10-16 03:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778112256001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778112256001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:43:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:43:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778112256001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":217736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:43:56] local.INFO: GPS data processed {"connection_id":217736,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:43:56] local.INFO: Acknowledgment sent {"connection_id":217736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:43:59] local.INFO: TCP Data received {"connection_id":216182,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:43:59] local.INFO: Processing buffer {"connection_id":216182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:43:59] local.INFO: Packet analysis {"connection_id":216182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:43:59] local.INFO: Extracted packet for processing {"connection_id":216182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778100224001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792102255000,"timestamp_ms":1792102255000,"timestamp_seconds":1792102255,"priority":1,"record_length":96,"hex_timestamp":"000001a1419e4998"} 
[2026-10-16 03:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:43: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-10-16 03:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778100224001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778100224001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:43:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778100224001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":216182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:43:59] local.INFO: GPS data processed {"connection_id":216182,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:43:59] local.INFO: Acknowledgment sent {"connection_id":216182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:44:17] local.INFO: TCP Data received {"connection_id":217737,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:44:17] local.INFO: Processing buffer {"connection_id":217737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:44:17] local.INFO: IMEI packet received {"connection_id":217737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":217737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:44:21] local.INFO: TCP Data received {"connection_id":217738,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:44:21] local.INFO: Processing buffer {"connection_id":217738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:44:21] local.INFO: IMEI packet received {"connection_id":217738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":217738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:44:23] local.INFO: TCP Data received {"connection_id":217737,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:44:23] local.INFO: Processing buffer {"connection_id":217737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:44:23] local.INFO: IMEI packet received {"connection_id":217737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":217737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:44:24] local.INFO: TCP Data received {"connection_id":217737,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:44:24] local.INFO: Processing buffer {"connection_id":217737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:44:24] local.INFO: Packet analysis {"connection_id":217737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:44:24] local.INFO: Extracted packet for processing {"connection_id":217737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:44:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778112256001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102302000,"timestamp_ms":1792102302000,"timestamp_seconds":1792102302,"priority":1,"record_length":96,"hex_timestamp":"000001a1419f0130"} 
[2026-10-16 03:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:44:24] 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-10-16 03:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778112256001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778112256001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:44:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:44:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778112256001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":217737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:44:24] local.INFO: GPS data processed {"connection_id":217737,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:44:24] local.INFO: Acknowledgment sent {"connection_id":217737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:44:26] local.INFO: TCP Data received {"connection_id":217738,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:44:26] local.INFO: Processing buffer {"connection_id":217738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:44:26] local.INFO: IMEI packet received {"connection_id":217738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":217738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:44:27] local.INFO: TCP Data received {"connection_id":217738,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:44:27] local.INFO: Processing buffer {"connection_id":217738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:44:27] local.INFO: Packet analysis {"connection_id":217738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:44:27] local.INFO: Extracted packet for processing {"connection_id":217738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778100224001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792102255000,"timestamp_ms":1792102255000,"timestamp_seconds":1792102255,"priority":1,"record_length":96,"hex_timestamp":"000001a1419e4998"} 
[2026-10-16 03:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:44:27] 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-10-16 03:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:44:27] 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-10-16 03:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778100224001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778100224001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:44:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778100224001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":217738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:44:27] local.INFO: GPS data processed {"connection_id":217738,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:44:27] local.INFO: Acknowledgment sent {"connection_id":217738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:44:56] local.INFO: TCP Data received {"connection_id":217737,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:44:56] local.INFO: Processing buffer {"connection_id":217737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:44:56] local.INFO: Packet analysis {"connection_id":217737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:44:56] local.INFO: Extracted packet for processing {"connection_id":217737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778112256001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102302000,"timestamp_ms":1792102302000,"timestamp_seconds":1792102302,"priority":1,"record_length":96,"hex_timestamp":"000001a1419f0130"} 
[2026-10-16 03:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03: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-10-16 03:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778112256001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778112256001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:44:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:44:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778112256001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":217737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:44:56] local.INFO: GPS data processed {"connection_id":217737,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:44:56] local.INFO: Acknowledgment sent {"connection_id":217737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:44:59] local.INFO: TCP Data received {"connection_id":217738,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:44:59] local.INFO: Processing buffer {"connection_id":217738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:44:59] local.INFO: Packet analysis {"connection_id":217738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:44:59] local.INFO: Extracted packet for processing {"connection_id":217738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778100224001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792102255000,"timestamp_ms":1792102255000,"timestamp_seconds":1792102255,"priority":1,"record_length":96,"hex_timestamp":"000001a1419e4998"} 
[2026-10-16 03:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:44:59] 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-10-16 03:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778100224001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778100224001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:44:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778100224001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":217738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:44:59] local.INFO: GPS data processed {"connection_id":217738,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:44:59] local.INFO: Acknowledgment sent {"connection_id":217738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:45:21] local.INFO: TCP Data received {"connection_id":216377,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:45:21] local.INFO: Processing buffer {"connection_id":216377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:45:21] local.INFO: IMEI packet received {"connection_id":216377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":216377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:45:23] local.INFO: TCP Data received {"connection_id":219458,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:45:23] local.INFO: Processing buffer {"connection_id":219458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:45:23] local.INFO: IMEI packet received {"connection_id":219458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":219458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:45:26] local.INFO: TCP Data received {"connection_id":216377,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:45:26] local.INFO: Processing buffer {"connection_id":216377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:45:26] local.INFO: IMEI packet received {"connection_id":216377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":216377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:45:27] local.INFO: TCP Data received {"connection_id":219458,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:45:27] local.INFO: Processing buffer {"connection_id":219458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:45:27] local.INFO: IMEI packet received {"connection_id":219458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":219458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:45:28] local.INFO: TCP Data received {"connection_id":219458,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:45:28] local.INFO: Processing buffer {"connection_id":219458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:45:28] local.INFO: Packet analysis {"connection_id":219458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:45:28] local.INFO: Extracted packet for processing {"connection_id":219458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778112256001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792102302000,"timestamp_ms":1792102302000,"timestamp_seconds":1792102302,"priority":1,"record_length":96,"hex_timestamp":"000001a1419f0130"} 
[2026-10-16 03:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:45:28] 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-10-16 03: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-10-16 03:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778112256001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778112256001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:45:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:45:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778112256001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":219458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:45:28] local.INFO: GPS data processed {"connection_id":219458,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:45:28] local.INFO: Acknowledgment sent {"connection_id":219458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:45:29] local.INFO: TCP Data received {"connection_id":216377,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:45:29] local.INFO: Processing buffer {"connection_id":216377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419e4998012d7c240005dad510000600ea21..."} 
[2026-10-16 03:45:29] local.INFO: Packet analysis {"connection_id":216377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:45:29] local.INFO: Extracted packet for processing {"connection_id":216377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419e"} 
[2026-10-16 03:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:45: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-10-16 03:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778100224001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792102255000,"timestamp_ms":1792102255000,"timestamp_seconds":1792102255,"priority":1,"record_length":96,"hex_timestamp":"000001a1419e4998"} 
[2026-10-16 03:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:45: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-10-16 03:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778100224001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778100224001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:45:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778100224001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":216377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:45:29] local.INFO: GPS data processed {"connection_id":216377,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:45:29] local.INFO: Acknowledgment sent {"connection_id":216377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:45:33] local.INFO: TCP Data received {"connection_id":219458,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:45:33] local.INFO: Processing buffer {"connection_id":219458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:45:33] local.INFO: Packet analysis {"connection_id":219458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:45:33] local.INFO: Extracted packet for processing {"connection_id":219458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778112256001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792102302000,"timestamp_ms":1792102302000,"timestamp_seconds":1792102302,"priority":1,"record_length":96,"hex_timestamp":"000001a1419f0130"} 
[2026-10-16 03:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778112256001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778112256001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:45:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:45:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778112256001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":219458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:45:33] local.INFO: GPS data processed {"connection_id":219458,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:45:33] local.INFO: Acknowledgment sent {"connection_id":219458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:46:03] local.INFO: TCP Data received {"connection_id":216377,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:46:03] local.INFO: Processing buffer {"connection_id":216377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:46:03] local.INFO: Packet analysis {"connection_id":216377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:46:03] local.INFO: Extracted packet for processing {"connection_id":216377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778177280001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792102556000,"timestamp_ms":1792102556000,"timestamp_seconds":1792102556,"priority":1,"record_length":96,"hex_timestamp":"000001a141a2e160"} 
[2026-10-16 03:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03: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-10-16 03:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03: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-10-16 03:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778177280001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778177280001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:46:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778177280001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":216377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:46:03] local.INFO: GPS data processed {"connection_id":216377,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:46:03] local.INFO: Acknowledgment sent {"connection_id":216377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:46:18] local.INFO: TCP Data received {"connection_id":217739,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:46:18] local.INFO: Processing buffer {"connection_id":217739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:46:18] local.INFO: IMEI packet received {"connection_id":217739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":217739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:46:21] local.INFO: TCP Data received {"connection_id":219459,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:46:21] local.INFO: Processing buffer {"connection_id":219459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:46:21] local.INFO: IMEI packet received {"connection_id":219459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":219459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:46:23] local.INFO: TCP Data received {"connection_id":217739,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:46:23] local.INFO: Processing buffer {"connection_id":217739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:46:23] local.INFO: IMEI packet received {"connection_id":217739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":217739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:46:24] local.INFO: TCP Data received {"connection_id":217739,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:46:24] local.INFO: Processing buffer {"connection_id":217739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:46:24] local.INFO: Packet analysis {"connection_id":217739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:46:24] local.INFO: Extracted packet for processing {"connection_id":217739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778112256001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102302000,"timestamp_ms":1792102302000,"timestamp_seconds":1792102302,"priority":1,"record_length":96,"hex_timestamp":"000001a1419f0130"} 
[2026-10-16 03:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:46:24] 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-10-16 03:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778112256001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778112256001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:46:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:46:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778112256001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":217739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:46:24] local.INFO: GPS data processed {"connection_id":217739,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:46:24] local.INFO: Acknowledgment sent {"connection_id":217739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:46:26] local.INFO: TCP Data received {"connection_id":219459,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:46:26] local.INFO: Processing buffer {"connection_id":219459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:46:26] local.INFO: IMEI packet received {"connection_id":219459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":219459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:46:27] local.INFO: TCP Data received {"connection_id":219459,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:46:27] local.INFO: Processing buffer {"connection_id":219459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:46:27] local.INFO: Packet analysis {"connection_id":219459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:46:27] local.INFO: Extracted packet for processing {"connection_id":219459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778177280001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792102556000,"timestamp_ms":1792102556000,"timestamp_seconds":1792102556,"priority":1,"record_length":96,"hex_timestamp":"000001a141a2e160"} 
[2026-10-16 03:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:46:27] 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-10-16 03:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778177280001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778177280001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:46:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778177280001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":219459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:46:27] local.INFO: GPS data processed {"connection_id":219459,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:46:27] local.INFO: Acknowledgment sent {"connection_id":219459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:46:56] local.INFO: TCP Data received {"connection_id":217739,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:46:56] local.INFO: Processing buffer {"connection_id":217739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1419f0130012d7f98c005afddb00000002f25..."} 
[2026-10-16 03:46:56] local.INFO: Packet analysis {"connection_id":217739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:46:56] local.INFO: Extracted packet for processing {"connection_id":217739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1419f"} 
[2026-10-16 03:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778112256001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102302000,"timestamp_ms":1792102302000,"timestamp_seconds":1792102302,"priority":1,"record_length":96,"hex_timestamp":"000001a1419f0130"} 
[2026-10-16 03:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778112256001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778112256001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:46:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:46:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778112256001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":217739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:46:56] local.INFO: GPS data processed {"connection_id":217739,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:46:56] local.INFO: Acknowledgment sent {"connection_id":217739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:46:58] local.INFO: TCP Data received {"connection_id":219459,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:46:58] local.INFO: Processing buffer {"connection_id":219459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:46:58] local.INFO: Packet analysis {"connection_id":219459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:46:58] local.INFO: Extracted packet for processing {"connection_id":219459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778177280001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792102556000,"timestamp_ms":1792102556000,"timestamp_seconds":1792102556,"priority":1,"record_length":96,"hex_timestamp":"000001a141a2e160"} 
[2026-10-16 03:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778177280001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778177280001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:46:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:46:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778177280001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":219459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:46:58] local.INFO: GPS data processed {"connection_id":219459,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:46:58] local.INFO: Acknowledgment sent {"connection_id":219459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:47:17] local.INFO: TCP Data received {"connection_id":216185,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:47:17] local.INFO: Processing buffer {"connection_id":216185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:47:17] local.INFO: IMEI packet received {"connection_id":216185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":216185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:47:22] local.INFO: TCP Data received {"connection_id":216185,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:47:22] local.INFO: Processing buffer {"connection_id":216185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:47:22] local.INFO: IMEI packet received {"connection_id":216185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":216185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:47:23] local.INFO: TCP Data received {"connection_id":216185,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:47:23] local.INFO: Processing buffer {"connection_id":216185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:47:23] local.INFO: Packet analysis {"connection_id":216185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:47:23] local.INFO: Extracted packet for processing {"connection_id":216185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778189312001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792102603000,"timestamp_ms":1792102603000,"timestamp_seconds":1792102603,"priority":1,"record_length":96,"hex_timestamp":"000001a141a398f8"} 
[2026-10-16 03:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:47:23] 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-10-16 03:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778189312001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778189312001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:47:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:47:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778189312001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":216185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:47:23] local.INFO: GPS data processed {"connection_id":216185,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:47:23] local.INFO: Acknowledgment sent {"connection_id":216185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:47:26] local.INFO: TCP Data received {"connection_id":217740,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:47:26] local.INFO: Processing buffer {"connection_id":217740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:47:26] local.INFO: IMEI packet received {"connection_id":217740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":217740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:47:31] local.INFO: TCP Data received {"connection_id":217740,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:47:31] local.INFO: Processing buffer {"connection_id":217740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:47:31] local.INFO: IMEI packet received {"connection_id":217740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":217740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:47:32] local.INFO: TCP Data received {"connection_id":217740,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:47:32] local.INFO: Processing buffer {"connection_id":217740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:47:32] local.INFO: Packet analysis {"connection_id":217740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:47:32] local.INFO: Extracted packet for processing {"connection_id":217740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778177280001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792102556000,"timestamp_ms":1792102556000,"timestamp_seconds":1792102556,"priority":1,"record_length":96,"hex_timestamp":"000001a141a2e160"} 
[2026-10-16 03:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:47:32] 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-10-16 03:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778177280001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778177280001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:47:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778177280001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":217740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:47:32] local.INFO: GPS data processed {"connection_id":217740,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:47:32] local.INFO: Acknowledgment sent {"connection_id":217740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:47:37] local.INFO: TCP Data received {"connection_id":217740,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:47:37] local.INFO: Processing buffer {"connection_id":217740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:47:37] local.INFO: Packet analysis {"connection_id":217740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:47:37] local.INFO: Extracted packet for processing {"connection_id":217740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778177280001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792102556000,"timestamp_ms":1792102556000,"timestamp_seconds":1792102556,"priority":1,"record_length":96,"hex_timestamp":"000001a141a2e160"} 
[2026-10-16 03:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:47:37] 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-10-16 03:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:47: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-10-16 03:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778177280001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778177280001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:47:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778177280001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":217740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:47:37] local.INFO: GPS data processed {"connection_id":217740,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:47:37] local.INFO: Acknowledgment sent {"connection_id":217740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:47:55] local.INFO: TCP Data received {"connection_id":216185,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:47:55] local.INFO: Processing buffer {"connection_id":216185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:47:55] local.INFO: Packet analysis {"connection_id":216185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:47:55] local.INFO: Extracted packet for processing {"connection_id":216185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778189312001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792102603000,"timestamp_ms":1792102603000,"timestamp_seconds":1792102603,"priority":1,"record_length":96,"hex_timestamp":"000001a141a398f8"} 
[2026-10-16 03:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778189312001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778189312001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:47:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:47:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778189312001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":216185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:47:55] local.INFO: GPS data processed {"connection_id":216185,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:47:55] local.INFO: Acknowledgment sent {"connection_id":216185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:48:21] local.INFO: TCP Data received {"connection_id":216380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:48:21] local.INFO: Processing buffer {"connection_id":216380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:48:21] local.INFO: IMEI packet received {"connection_id":216380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":216380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:48:23] local.INFO: TCP Data received {"connection_id":219461,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:48:23] local.INFO: Processing buffer {"connection_id":219461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:48:23] local.INFO: IMEI packet received {"connection_id":219461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":219461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:48:26] local.INFO: TCP Data received {"connection_id":216380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:48:26] local.INFO: Processing buffer {"connection_id":216380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:48:26] local.INFO: IMEI packet received {"connection_id":216380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":216380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:48:28] local.INFO: TCP Data received {"connection_id":216380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:48:28] local.INFO: Processing buffer {"connection_id":216380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:48:28] local.INFO: Packet analysis {"connection_id":216380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:48:28] local.INFO: Extracted packet for processing {"connection_id":216380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778177280001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792102556000,"timestamp_ms":1792102556000,"timestamp_seconds":1792102556,"priority":1,"record_length":96,"hex_timestamp":"000001a141a2e160"} 
[2026-10-16 03:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:48:28] 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-10-16 03:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:48:28] 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-10-16 03:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778177280001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778177280001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:48:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778177280001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":216380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:48:28] local.INFO: GPS data processed {"connection_id":216380,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:48:28] local.INFO: Acknowledgment sent {"connection_id":216380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:48:28] local.INFO: TCP Data received {"connection_id":219461,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:48:28] local.INFO: Processing buffer {"connection_id":219461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:48:28] local.INFO: IMEI packet received {"connection_id":219461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":219461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:48:30] local.INFO: TCP Data received {"connection_id":219461,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:48:30] local.INFO: Processing buffer {"connection_id":219461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:48:30] local.INFO: Packet analysis {"connection_id":219461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:48:30] local.INFO: Extracted packet for processing {"connection_id":219461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778189312001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792102603000,"timestamp_ms":1792102603000,"timestamp_seconds":1792102603,"priority":1,"record_length":96,"hex_timestamp":"000001a141a398f8"} 
[2026-10-16 03:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:48:30] 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-10-16 03: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-10-16 03:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778189312001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778189312001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:48:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:48:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778189312001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":219461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:48:30] local.INFO: GPS data processed {"connection_id":219461,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:48:30] local.INFO: Acknowledgment sent {"connection_id":219461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:48:32] local.INFO: TCP Data received {"connection_id":219461,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:48:32] local.INFO: Processing buffer {"connection_id":219461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:48:32] local.INFO: Packet analysis {"connection_id":219461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:48:32] local.INFO: Extracted packet for processing {"connection_id":219461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778189312001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792102603000,"timestamp_ms":1792102603000,"timestamp_seconds":1792102603,"priority":1,"record_length":96,"hex_timestamp":"000001a141a398f8"} 
[2026-10-16 03:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778189312001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778189312001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:48:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778189312001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":219461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:48:32] local.INFO: GPS data processed {"connection_id":219461,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:48:32] local.INFO: Acknowledgment sent {"connection_id":219461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:48:59] local.INFO: TCP Data received {"connection_id":216380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:48:59] local.INFO: Processing buffer {"connection_id":216380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:48:59] local.INFO: Packet analysis {"connection_id":216380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:48:59] local.INFO: Extracted packet for processing {"connection_id":216380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778177280001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792102556000,"timestamp_ms":1792102556000,"timestamp_seconds":1792102556,"priority":1,"record_length":96,"hex_timestamp":"000001a141a2e160"} 
[2026-10-16 03:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:48:59] 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-10-16 03:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778177280001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778177280001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:48:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778177280001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":216380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:48:59] local.INFO: GPS data processed {"connection_id":216380,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:48:59] local.INFO: Acknowledgment sent {"connection_id":216380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:49:17] local.INFO: TCP Data received {"connection_id":217741,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:49:17] local.INFO: Processing buffer {"connection_id":217741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:49:17] local.INFO: IMEI packet received {"connection_id":217741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":217741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:49:21] local.INFO: TCP Data received {"connection_id":216186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:49:21] local.INFO: Processing buffer {"connection_id":216186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:49:21] local.INFO: IMEI packet received {"connection_id":216186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:49:23] local.INFO: TCP Data received {"connection_id":217741,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:49:23] local.INFO: Processing buffer {"connection_id":217741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:49:23] local.INFO: IMEI packet received {"connection_id":217741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":217741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:49:24] local.INFO: TCP Data received {"connection_id":217741,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:49:24] local.INFO: Processing buffer {"connection_id":217741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:49:24] local.INFO: Packet analysis {"connection_id":217741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:49:24] local.INFO: Extracted packet for processing {"connection_id":217741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:49:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778189312001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102603000,"timestamp_ms":1792102603000,"timestamp_seconds":1792102603,"priority":1,"record_length":96,"hex_timestamp":"000001a141a398f8"} 
[2026-10-16 03:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:49:24] 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-10-16 03:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778189312001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778189312001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:49:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:49:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778189312001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":217741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:49:24] local.INFO: GPS data processed {"connection_id":217741,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:49:24] local.INFO: Acknowledgment sent {"connection_id":217741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:49:26] local.INFO: TCP Data received {"connection_id":216186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:49:26] local.INFO: Processing buffer {"connection_id":216186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:49:26] local.INFO: IMEI packet received {"connection_id":216186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":216186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:49:27] local.INFO: TCP Data received {"connection_id":216186,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:49:27] local.INFO: Processing buffer {"connection_id":216186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:49:27] local.INFO: Packet analysis {"connection_id":216186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:49:27] local.INFO: Extracted packet for processing {"connection_id":216186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778177280001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792102556000,"timestamp_ms":1792102556000,"timestamp_seconds":1792102556,"priority":1,"record_length":96,"hex_timestamp":"000001a141a2e160"} 
[2026-10-16 03:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:49:27] 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-10-16 03:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:49: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-10-16 03:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778177280001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778177280001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:49:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778177280001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":216186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:49:27] local.INFO: GPS data processed {"connection_id":216186,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:49:27] local.INFO: Acknowledgment sent {"connection_id":216186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:49:49] local.INFO: TCP Data received {"connection_id":217742,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:49:49] local.INFO: Processing buffer {"connection_id":217742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:49:49] local.INFO: IMEI packet received {"connection_id":217742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":217742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:49:56] local.INFO: TCP Data received {"connection_id":217741,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:49:56] local.INFO: Processing buffer {"connection_id":217741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:49:56] local.INFO: Packet analysis {"connection_id":217741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:49:56] local.INFO: Extracted packet for processing {"connection_id":217741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778189312001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102603000,"timestamp_ms":1792102603000,"timestamp_seconds":1792102603,"priority":1,"record_length":96,"hex_timestamp":"000001a141a398f8"} 
[2026-10-16 03:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03: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-10-16 03:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778189312001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778189312001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:49:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:49:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778189312001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":217741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:49:56] local.INFO: GPS data processed {"connection_id":217741,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:49:56] local.INFO: Acknowledgment sent {"connection_id":217741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:49:59] local.INFO: TCP Data received {"connection_id":216186,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:49:59] local.INFO: Processing buffer {"connection_id":216186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:49:59] local.INFO: Packet analysis {"connection_id":216186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:49:59] local.INFO: Extracted packet for processing {"connection_id":216186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778177280001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792102556000,"timestamp_ms":1792102556000,"timestamp_seconds":1792102556,"priority":1,"record_length":96,"hex_timestamp":"000001a141a2e160"} 
[2026-10-16 03:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:49: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-10-16 03:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778177280001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778177280001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:49:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778177280001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":216186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:49:59] local.INFO: GPS data processed {"connection_id":216186,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:49:59] local.INFO: Acknowledgment sent {"connection_id":216186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:50:17] local.INFO: TCP Data received {"connection_id":216382,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:50:17] local.INFO: Processing buffer {"connection_id":216382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:50:17] local.INFO: IMEI packet received {"connection_id":216382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":216382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:50:22] local.INFO: TCP Data received {"connection_id":219462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:50:22] local.INFO: Processing buffer {"connection_id":219462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:50:22] local.INFO: IMEI packet received {"connection_id":219462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":219462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:50:23] local.INFO: TCP Data received {"connection_id":216382,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:50:23] local.INFO: Processing buffer {"connection_id":216382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:50:23] local.INFO: IMEI packet received {"connection_id":216382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":216382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:50:24] local.INFO: TCP Data received {"connection_id":216382,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:50:24] local.INFO: Processing buffer {"connection_id":216382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:50:24] local.INFO: Packet analysis {"connection_id":216382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:50:24] local.INFO: Extracted packet for processing {"connection_id":216382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778189312001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102603000,"timestamp_ms":1792102603000,"timestamp_seconds":1792102603,"priority":1,"record_length":96,"hex_timestamp":"000001a141a398f8"} 
[2026-10-16 03:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:50:24] 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-10-16 03:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778189312001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778189312001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:50:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:50:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778189312001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":216382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:50:24] local.INFO: GPS data processed {"connection_id":216382,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:50:24] local.INFO: Acknowledgment sent {"connection_id":216382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:50:26] local.INFO: TCP Data received {"connection_id":219462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:50:26] local.INFO: Processing buffer {"connection_id":219462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:50:26] local.INFO: IMEI packet received {"connection_id":219462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":219462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:50:36] local.INFO: TCP Data received {"connection_id":219462,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:50:36] local.INFO: Processing buffer {"connection_id":219462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a2e160012d7c240005dad510000600ea23..."} 
[2026-10-16 03:50:36] local.INFO: Packet analysis {"connection_id":219462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:50:36] local.INFO: Extracted packet for processing {"connection_id":219462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a2"} 
[2026-10-16 03:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":6,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778177280001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792102556000,"timestamp_ms":1792102556000,"timestamp_seconds":1792102556,"priority":1,"record_length":96,"hex_timestamp":"000001a141a2e160"} 
[2026-10-16 03:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:50: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-10-16 03: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-10-16 03:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:50:36] 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-10-16 03:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778177280001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778177280001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:50:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778177280001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":219462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:50:36] local.INFO: GPS data processed {"connection_id":219462,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:50:36] local.INFO: Acknowledgment sent {"connection_id":219462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:50:57] local.INFO: TCP Data received {"connection_id":216382,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:50:57] local.INFO: Processing buffer {"connection_id":216382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:50:57] local.INFO: Packet analysis {"connection_id":216382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:50:57] local.INFO: Extracted packet for processing {"connection_id":216382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778189312001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792102603000,"timestamp_ms":1792102603000,"timestamp_seconds":1792102603,"priority":1,"record_length":96,"hex_timestamp":"000001a141a398f8"} 
[2026-10-16 03:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:50:57] 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-10-16 03:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778189312001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778189312001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:50:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:50:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778189312001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":216382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:50:57] local.INFO: GPS data processed {"connection_id":216382,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:50:57] local.INFO: Acknowledgment sent {"connection_id":216382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:51:21] local.INFO: TCP Data received {"connection_id":216384,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:51:21] local.INFO: Processing buffer {"connection_id":216384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:51:21] local.INFO: IMEI packet received {"connection_id":216384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":216384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:51:23] local.INFO: TCP Data received {"connection_id":217743,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:51:23] local.INFO: Processing buffer {"connection_id":217743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:51:23] local.INFO: IMEI packet received {"connection_id":217743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":217743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:51:26] local.INFO: TCP Data received {"connection_id":216384,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:51:26] local.INFO: Processing buffer {"connection_id":216384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:51:26] local.INFO: IMEI packet received {"connection_id":216384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":216384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:51:27] local.INFO: TCP Data received {"connection_id":217743,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:51:27] local.INFO: Processing buffer {"connection_id":217743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:51:27] local.INFO: IMEI packet received {"connection_id":217743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":217743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:51:27] local.INFO: TCP Data received {"connection_id":216384,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:51:27] local.INFO: Processing buffer {"connection_id":216384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:51:27] local.INFO: Packet analysis {"connection_id":216384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:51:27] local.INFO: Extracted packet for processing {"connection_id":216384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778254336001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792102857000,"timestamp_ms":1792102857000,"timestamp_seconds":1792102857,"priority":1,"record_length":96,"hex_timestamp":"000001a141a77928"} 
[2026-10-16 03:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:51:27] 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-10-16 03:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778254336001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778254336001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:51:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778254336001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":216384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:51:27] local.INFO: GPS data processed {"connection_id":216384,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:51:27] local.INFO: Acknowledgment sent {"connection_id":216384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:51:28] local.INFO: TCP Data received {"connection_id":217743,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:51:28] local.INFO: Processing buffer {"connection_id":217743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:51:28] local.INFO: Packet analysis {"connection_id":217743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:51:28] local.INFO: Extracted packet for processing {"connection_id":217743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778189312001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792102603000,"timestamp_ms":1792102603000,"timestamp_seconds":1792102603,"priority":1,"record_length":96,"hex_timestamp":"000001a141a398f8"} 
[2026-10-16 03:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:51:28] 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-10-16 03:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778189312001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778189312001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:51:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:51:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778189312001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":217743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:51:28] local.INFO: GPS data processed {"connection_id":217743,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:51:28] local.INFO: Acknowledgment sent {"connection_id":217743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:51:33] local.INFO: TCP Data received {"connection_id":217743,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:51:33] local.INFO: Processing buffer {"connection_id":217743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a398f8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 03:51:33] local.INFO: Packet analysis {"connection_id":217743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:51:33] local.INFO: Extracted packet for processing {"connection_id":217743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a3"} 
[2026-10-16 03:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778189312001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792102603000,"timestamp_ms":1792102603000,"timestamp_seconds":1792102603,"priority":1,"record_length":96,"hex_timestamp":"000001a141a398f8"} 
[2026-10-16 03:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 03:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778189312001,"66":25647,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778189312001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:51:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:51:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778189312001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":217743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:51:33] local.INFO: GPS data processed {"connection_id":217743,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:51:33] local.INFO: Acknowledgment sent {"connection_id":217743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:52:00] local.INFO: TCP Data received {"connection_id":216384,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:52:00] local.INFO: Processing buffer {"connection_id":216384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:52:00] local.INFO: Packet analysis {"connection_id":216384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:52:00] local.INFO: Extracted packet for processing {"connection_id":216384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778254336001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792102857000,"timestamp_ms":1792102857000,"timestamp_seconds":1792102857,"priority":1,"record_length":96,"hex_timestamp":"000001a141a77928"} 
[2026-10-16 03:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:52: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-10-16 03:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:52:00] 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-10-16 03:52: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-10-16 03:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778254336001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778254336001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:52:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778254336001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":216384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:52:00] local.INFO: GPS data processed {"connection_id":216384,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:52:00] local.INFO: Acknowledgment sent {"connection_id":216384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:52:18] local.INFO: TCP Data received {"connection_id":216188,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:52:18] local.INFO: Processing buffer {"connection_id":216188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:52:18] local.INFO: IMEI packet received {"connection_id":216188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":216188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:52:21] local.INFO: TCP Data received {"connection_id":216385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:52:21] local.INFO: Processing buffer {"connection_id":216385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:52:21] local.INFO: IMEI packet received {"connection_id":216385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":216385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:52:23] local.INFO: TCP Data received {"connection_id":216188,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:52:23] local.INFO: Processing buffer {"connection_id":216188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:52:23] local.INFO: IMEI packet received {"connection_id":216188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":216188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:52:24] local.INFO: TCP Data received {"connection_id":216188,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:52:24] local.INFO: Processing buffer {"connection_id":216188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:52:24] local.INFO: Packet analysis {"connection_id":216188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:52:24] local.INFO: Extracted packet for processing {"connection_id":216188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:52:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:52: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-10-16 03:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102904000,"timestamp_ms":1792102904000,"timestamp_seconds":1792102904,"priority":1,"record_length":96,"hex_timestamp":"000001a141a830c0"} 
[2026-10-16 03:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:52: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 03:52:24] 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-10-16 03:52: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-10-16 03:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778266368001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:52:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:52:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778266368001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":216188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:52:24] local.INFO: GPS data processed {"connection_id":216188,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:52:24] local.INFO: Acknowledgment sent {"connection_id":216188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:52:26] local.INFO: TCP Data received {"connection_id":216385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:52:26] local.INFO: Processing buffer {"connection_id":216385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:52:26] local.INFO: IMEI packet received {"connection_id":216385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":216385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:52:27] local.INFO: TCP Data received {"connection_id":216385,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:52:27] local.INFO: Processing buffer {"connection_id":216385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:52:27] local.INFO: Packet analysis {"connection_id":216385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:52:27] local.INFO: Extracted packet for processing {"connection_id":216385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778254336001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792102857000,"timestamp_ms":1792102857000,"timestamp_seconds":1792102857,"priority":1,"record_length":96,"hex_timestamp":"000001a141a77928"} 
[2026-10-16 03:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:52:27] 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-10-16 03:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:52:27] 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-10-16 03:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778254336001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778254336001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:52:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778254336001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":216385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:52:27] local.INFO: GPS data processed {"connection_id":216385,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:52:27] local.INFO: Acknowledgment sent {"connection_id":216385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:52:55] local.INFO: TCP Data received {"connection_id":216188,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:52:55] local.INFO: Processing buffer {"connection_id":216188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:52:55] local.INFO: Packet analysis {"connection_id":216188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:52:55] local.INFO: Extracted packet for processing {"connection_id":216188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792102904000,"timestamp_ms":1792102904000,"timestamp_seconds":1792102904,"priority":1,"record_length":96,"hex_timestamp":"000001a141a830c0"} 
[2026-10-16 03:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 03:52:55] 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-10-16 03: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-10-16 03:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778266368001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:52:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:52:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778266368001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":216188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:52:55] local.INFO: GPS data processed {"connection_id":216188,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:52:55] local.INFO: Acknowledgment sent {"connection_id":216188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:52:59] local.INFO: TCP Data received {"connection_id":216385,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:52:59] local.INFO: Processing buffer {"connection_id":216385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:52:59] local.INFO: Packet analysis {"connection_id":216385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:52:59] local.INFO: Extracted packet for processing {"connection_id":216385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778254336001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792102857000,"timestamp_ms":1792102857000,"timestamp_seconds":1792102857,"priority":1,"record_length":96,"hex_timestamp":"000001a141a77928"} 
[2026-10-16 03:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:52:59] 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-10-16 03:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778254336001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778254336001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:52:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778254336001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":216385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:52:59] local.INFO: GPS data processed {"connection_id":216385,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:52:59] local.INFO: Acknowledgment sent {"connection_id":216385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:53:17] local.INFO: TCP Data received {"connection_id":216189,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:53:17] local.INFO: Processing buffer {"connection_id":216189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:53:17] local.INFO: IMEI packet received {"connection_id":216189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":216189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:53:23] local.INFO: TCP Data received {"connection_id":216189,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:53:23] local.INFO: Processing buffer {"connection_id":216189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:53:23] local.INFO: IMEI packet received {"connection_id":216189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":216189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:53:24] local.INFO: TCP Data received {"connection_id":216189,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:53:24] local.INFO: Processing buffer {"connection_id":216189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:53:24] local.INFO: Packet analysis {"connection_id":216189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:53:24] local.INFO: Extracted packet for processing {"connection_id":216189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:53:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102904000,"timestamp_ms":1792102904000,"timestamp_seconds":1792102904,"priority":1,"record_length":96,"hex_timestamp":"000001a141a830c0"} 
[2026-10-16 03:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 03:53:24] 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-10-16 03:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778266368001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:53:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:53:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778266368001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":216189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:53:24] local.INFO: GPS data processed {"connection_id":216189,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:53:24] local.INFO: Acknowledgment sent {"connection_id":216189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:53:26] local.INFO: TCP Data received {"connection_id":217745,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:53:26] local.INFO: Processing buffer {"connection_id":217745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:53:26] local.INFO: IMEI packet received {"connection_id":217745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":217745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:53:34] local.INFO: TCP Data received {"connection_id":217745,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:53:34] local.INFO: Processing buffer {"connection_id":217745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:53:34] local.INFO: IMEI packet received {"connection_id":217745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":217745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:53:35] local.INFO: TCP Data received {"connection_id":217745,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:53:35] local.INFO: Processing buffer {"connection_id":217745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:53:35] local.INFO: Packet analysis {"connection_id":217745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:53:35] local.INFO: Extracted packet for processing {"connection_id":217745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:53:35] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778254336001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792102857000,"timestamp_ms":1792102857000,"timestamp_seconds":1792102857,"priority":1,"record_length":96,"hex_timestamp":"000001a141a77928"} 
[2026-10-16 03:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:53:35] 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-10-16 03:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":217745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":217745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":217745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:53: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-10-16 03:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778254336001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778254336001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:53:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778254336001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":217745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:53:35] local.INFO: GPS data processed {"connection_id":217745,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:53:35] local.INFO: Acknowledgment sent {"connection_id":217745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:53:36] local.INFO: TCP Data received {"connection_id":217745,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:53:36] local.INFO: Processing buffer {"connection_id":217745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:53:36] local.INFO: Packet analysis {"connection_id":217745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:53:36] local.INFO: Extracted packet for processing {"connection_id":217745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778254336001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792102857000,"timestamp_ms":1792102857000,"timestamp_seconds":1792102857,"priority":1,"record_length":96,"hex_timestamp":"000001a141a77928"} 
[2026-10-16 03:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:53: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-10-16 03: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-10-16 03:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":217745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":217745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":217745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03: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-10-16 03:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778254336001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778254336001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:53:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778254336001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":217745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:53:36] local.INFO: GPS data processed {"connection_id":217745,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:53:36] local.INFO: Acknowledgment sent {"connection_id":217745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:53:56] local.INFO: TCP Data received {"connection_id":216189,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:53:56] local.INFO: Processing buffer {"connection_id":216189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:53:56] local.INFO: Packet analysis {"connection_id":216189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:53:56] local.INFO: Extracted packet for processing {"connection_id":216189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102904000,"timestamp_ms":1792102904000,"timestamp_seconds":1792102904,"priority":1,"record_length":96,"hex_timestamp":"000001a141a830c0"} 
[2026-10-16 03:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 03:53:56] 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-10-16 03:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778266368001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:53:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:53:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778266368001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":216189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:53:56] local.INFO: GPS data processed {"connection_id":216189,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:53:56] local.INFO: Acknowledgment sent {"connection_id":216189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:54:21] local.INFO: TCP Data received {"connection_id":216191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:54:21] local.INFO: Processing buffer {"connection_id":216191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:54:21] local.INFO: IMEI packet received {"connection_id":216191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":216191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:54:23] local.INFO: TCP Data received {"connection_id":219463,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:54:23] local.INFO: Processing buffer {"connection_id":219463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:54:23] local.INFO: IMEI packet received {"connection_id":219463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":219463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:54:26] local.INFO: TCP Data received {"connection_id":216191,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:54:26] local.INFO: Processing buffer {"connection_id":216191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:54:26] local.INFO: IMEI packet received {"connection_id":216191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":216191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:54:28] local.INFO: TCP Data received {"connection_id":219463,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:54:28] local.INFO: Processing buffer {"connection_id":219463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:54:28] local.INFO: IMEI packet received {"connection_id":219463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":219463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:54:29] local.INFO: TCP Data received {"connection_id":219463,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:54:29] local.INFO: Processing buffer {"connection_id":219463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:54:29] local.INFO: Packet analysis {"connection_id":219463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:54:29] local.INFO: Extracted packet for processing {"connection_id":219463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792102904000,"timestamp_ms":1792102904000,"timestamp_seconds":1792102904,"priority":1,"record_length":96,"hex_timestamp":"000001a141a830c0"} 
[2026-10-16 03:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 03:54:29] 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-10-16 03:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778266368001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:54:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:54:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778266368001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":219463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:54:29] local.INFO: GPS data processed {"connection_id":219463,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:54:29] local.INFO: Acknowledgment sent {"connection_id":219463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:54:31] local.INFO: TCP Data received {"connection_id":216191,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:54:31] local.INFO: Processing buffer {"connection_id":216191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:54:31] local.INFO: Packet analysis {"connection_id":216191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:54:31] local.INFO: Extracted packet for processing {"connection_id":216191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778254336001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792102857000,"timestamp_ms":1792102857000,"timestamp_seconds":1792102857,"priority":1,"record_length":96,"hex_timestamp":"000001a141a77928"} 
[2026-10-16 03:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778254336001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778254336001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:54:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778254336001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":216191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:54:31] local.INFO: GPS data processed {"connection_id":216191,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:54:31] local.INFO: Acknowledgment sent {"connection_id":216191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:54:33] local.INFO: TCP Data received {"connection_id":219463,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:54:33] local.INFO: Processing buffer {"connection_id":219463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:54:33] local.INFO: Packet analysis {"connection_id":219463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:54:33] local.INFO: Extracted packet for processing {"connection_id":219463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792102904000,"timestamp_ms":1792102904000,"timestamp_seconds":1792102904,"priority":1,"record_length":96,"hex_timestamp":"000001a141a830c0"} 
[2026-10-16 03:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 03:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778266368001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:54:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:54:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778266368001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":219463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:54:33] local.INFO: GPS data processed {"connection_id":219463,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:54:33] local.INFO: Acknowledgment sent {"connection_id":219463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:55:03] local.INFO: TCP Data received {"connection_id":216191,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:55:03] local.INFO: Processing buffer {"connection_id":216191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:55:03] local.INFO: Packet analysis {"connection_id":216191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:55:03] local.INFO: Extracted packet for processing {"connection_id":216191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778254336001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792102857000,"timestamp_ms":1792102857000,"timestamp_seconds":1792102857,"priority":1,"record_length":96,"hex_timestamp":"000001a141a77928"} 
[2026-10-16 03:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778254336001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778254336001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:55:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:55:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778254336001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":216191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:55:03] local.INFO: GPS data processed {"connection_id":216191,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:55:03] local.INFO: Acknowledgment sent {"connection_id":216191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:55:17] local.INFO: TCP Data received {"connection_id":219464,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:55:17] local.INFO: Processing buffer {"connection_id":219464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:55:17] local.INFO: IMEI packet received {"connection_id":219464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":219464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:55:18] local.INFO: TCP Data received {"connection_id":216386,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:55:18] local.INFO: Processing buffer {"connection_id":216386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:55:18] local.INFO: IMEI packet received {"connection_id":216386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":216386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:55:21] local.INFO: TCP Data received {"connection_id":219465,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:55:21] local.INFO: Processing buffer {"connection_id":219465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:55:21] local.INFO: IMEI packet received {"connection_id":219465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":219465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:55:23] local.INFO: TCP Data received {"connection_id":216386,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:55:23] local.INFO: Processing buffer {"connection_id":216386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:55:23] local.INFO: IMEI packet received {"connection_id":216386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":216386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:55:24] local.INFO: TCP Data received {"connection_id":216386,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:55:24] local.INFO: Processing buffer {"connection_id":216386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:55:24] local.INFO: Packet analysis {"connection_id":216386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:55:24] local.INFO: Extracted packet for processing {"connection_id":216386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102904000,"timestamp_ms":1792102904000,"timestamp_seconds":1792102904,"priority":1,"record_length":96,"hex_timestamp":"000001a141a830c0"} 
[2026-10-16 03:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 03:55:24] 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-10-16 03:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778266368001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:55:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:55:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778266368001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":216386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:55:24] local.INFO: GPS data processed {"connection_id":216386,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:55:24] local.INFO: Acknowledgment sent {"connection_id":216386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:55:26] local.INFO: TCP Data received {"connection_id":219465,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:55:26] local.INFO: Processing buffer {"connection_id":219465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:55:26] local.INFO: IMEI packet received {"connection_id":219465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":219465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:55:28] local.INFO: TCP Data received {"connection_id":219465,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:55:28] local.INFO: Processing buffer {"connection_id":219465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:55:28] local.INFO: Packet analysis {"connection_id":219465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:55:28] local.INFO: Extracted packet for processing {"connection_id":219465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778254336001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792102857000,"timestamp_ms":1792102857000,"timestamp_seconds":1792102857,"priority":1,"record_length":96,"hex_timestamp":"000001a141a77928"} 
[2026-10-16 03:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:55:28] 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-10-16 03:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:55:28] 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-10-16 03:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778254336001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778254336001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:55:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778254336001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":219465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:55:28] local.INFO: GPS data processed {"connection_id":219465,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:55:28] local.INFO: Acknowledgment sent {"connection_id":219465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:55:52] local.INFO: TCP Data received {"connection_id":216192,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:55:52] local.INFO: Processing buffer {"connection_id":216192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 03:55:52] local.INFO: IMEI packet received {"connection_id":216192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 03:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":216192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:55:56] local.INFO: TCP Data received {"connection_id":216386,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:55:56] local.INFO: Processing buffer {"connection_id":216386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:55:56] local.INFO: Packet analysis {"connection_id":216386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:55:56] local.INFO: Extracted packet for processing {"connection_id":216386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102904000,"timestamp_ms":1792102904000,"timestamp_seconds":1792102904,"priority":1,"record_length":96,"hex_timestamp":"000001a141a830c0"} 
[2026-10-16 03:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 03:55:56] 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-10-16 03:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778266368001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:55:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:55:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778266368001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":216386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:55:56] local.INFO: GPS data processed {"connection_id":216386,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:55:56] local.INFO: Acknowledgment sent {"connection_id":216386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:56:03] local.INFO: TCP Data received {"connection_id":219465,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:56:03] local.INFO: Processing buffer {"connection_id":219465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a77928012d7c240005dad510000700ea1e..."} 
[2026-10-16 03:56:03] local.INFO: Packet analysis {"connection_id":219465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:56:03] local.INFO: Extracted packet for processing {"connection_id":219465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a7"} 
[2026-10-16 03:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778254336001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792102857000,"timestamp_ms":1792102857000,"timestamp_seconds":1792102857,"priority":1,"record_length":96,"hex_timestamp":"000001a141a77928"} 
[2026-10-16 03:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":219465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":219465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":219465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778254336001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778254336001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:56:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:56:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778254336001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":219465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:56:03] local.INFO: GPS data processed {"connection_id":219465,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:56:03] local.INFO: Acknowledgment sent {"connection_id":219465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:56:17] local.INFO: TCP Data received {"connection_id":219466,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:56:17] local.INFO: Processing buffer {"connection_id":219466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:56:17] local.INFO: IMEI packet received {"connection_id":219466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":219466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:56:21] local.INFO: TCP Data received {"connection_id":216387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:56:21] local.INFO: Processing buffer {"connection_id":216387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:56:21] local.INFO: IMEI packet received {"connection_id":216387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":216387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:56:23] local.INFO: TCP Data received {"connection_id":219466,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:56:23] local.INFO: Processing buffer {"connection_id":219466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:56:23] local.INFO: IMEI packet received {"connection_id":219466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":219466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:56:24] local.INFO: TCP Data received {"connection_id":219466,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:56:24] local.INFO: Processing buffer {"connection_id":219466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:56:24] local.INFO: Packet analysis {"connection_id":219466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:56:24] local.INFO: Extracted packet for processing {"connection_id":219466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:56: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-10-16 03:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792102904000,"timestamp_ms":1792102904000,"timestamp_seconds":1792102904,"priority":1,"record_length":96,"hex_timestamp":"000001a141a830c0"} 
[2026-10-16 03:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:56: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 03:56:24] 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-10-16 03:56: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-10-16 03:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778266368001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:56:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:56:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778266368001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":219466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:56:24] local.INFO: GPS data processed {"connection_id":219466,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:56:24] local.INFO: Acknowledgment sent {"connection_id":219466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:56:26] local.INFO: TCP Data received {"connection_id":216387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:56:26] local.INFO: Processing buffer {"connection_id":216387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:56:26] local.INFO: IMEI packet received {"connection_id":216387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":216387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:56:28] local.INFO: TCP Data received {"connection_id":216387,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:56:28] local.INFO: Processing buffer {"connection_id":216387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:56:28] local.INFO: Packet analysis {"connection_id":216387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:56:28] local.INFO: Extracted packet for processing {"connection_id":216387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778331392001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792103158000,"timestamp_ms":1792103158000,"timestamp_seconds":1792103158,"priority":1,"record_length":96,"hex_timestamp":"000001a141ac10f0"} 
[2026-10-16 03:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:56:28] 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-10-16 03:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778331392001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778331392001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:56:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778331392001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":216387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:56:28] local.INFO: GPS data processed {"connection_id":216387,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:56:28] local.INFO: Acknowledgment sent {"connection_id":216387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:56:56] local.INFO: TCP Data received {"connection_id":219466,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:56:56] local.INFO: Processing buffer {"connection_id":219466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141a830c0012d7f98c005afddb00000002f24..."} 
[2026-10-16 03:56:56] local.INFO: Packet analysis {"connection_id":219466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:56:56] local.INFO: Extracted packet for processing {"connection_id":219466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141a8"} 
[2026-10-16 03:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792102904000,"timestamp_ms":1792102904000,"timestamp_seconds":1792102904,"priority":1,"record_length":96,"hex_timestamp":"000001a141a830c0"} 
[2026-10-16 03:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 03:56:56] 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-10-16 03:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778266368001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:56:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:56:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778266368001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":219466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:56:56] local.INFO: GPS data processed {"connection_id":219466,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:56:56] local.INFO: Acknowledgment sent {"connection_id":219466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:57:02] local.INFO: TCP Data received {"connection_id":216387,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:57:02] local.INFO: Processing buffer {"connection_id":216387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:57:02] local.INFO: Packet analysis {"connection_id":216387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:57:02] local.INFO: Extracted packet for processing {"connection_id":216387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778331392001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792103158000,"timestamp_ms":1792103158000,"timestamp_seconds":1792103158,"priority":1,"record_length":96,"hex_timestamp":"000001a141ac10f0"} 
[2026-10-16 03:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:57:02] 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-10-16 03:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778331392001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778331392001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:57:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778331392001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":216387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:57:03] local.INFO: GPS data processed {"connection_id":216387,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:57:03] local.INFO: Acknowledgment sent {"connection_id":216387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:57:17] local.INFO: TCP Data received {"connection_id":217747,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:57:17] local.INFO: Processing buffer {"connection_id":217747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:57:17] local.INFO: IMEI packet received {"connection_id":217747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":217747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:57:21] local.INFO: TCP Data received {"connection_id":216193,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:57:21] local.INFO: Processing buffer {"connection_id":216193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:57:21] local.INFO: IMEI packet received {"connection_id":216193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":216193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:57:23] local.INFO: TCP Data received {"connection_id":217747,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:57:23] local.INFO: Processing buffer {"connection_id":217747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:57:23] local.INFO: IMEI packet received {"connection_id":217747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":217747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:57:24] local.INFO: TCP Data received {"connection_id":217747,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:57:24] local.INFO: Processing buffer {"connection_id":217747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:57:24] local.INFO: Packet analysis {"connection_id":217747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:57:24] local.INFO: Extracted packet for processing {"connection_id":217747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:57:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 03:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 03:57:24] 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-10-16 03:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:57:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:57:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":217747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:57:24] local.INFO: GPS data processed {"connection_id":217747,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:57:24] local.INFO: Acknowledgment sent {"connection_id":217747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:57:26] local.INFO: TCP Data received {"connection_id":216193,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:57:26] local.INFO: Processing buffer {"connection_id":216193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:57:26] local.INFO: IMEI packet received {"connection_id":216193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":216193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:57:28] local.INFO: TCP Data received {"connection_id":216193,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:57:28] local.INFO: Processing buffer {"connection_id":216193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:57:28] local.INFO: Packet analysis {"connection_id":216193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:57:28] local.INFO: Extracted packet for processing {"connection_id":216193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778331392001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792103158000,"timestamp_ms":1792103158000,"timestamp_seconds":1792103158,"priority":1,"record_length":96,"hex_timestamp":"000001a141ac10f0"} 
[2026-10-16 03:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:57:28] 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-10-16 03:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:57: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-10-16 03:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778331392001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778331392001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:57:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778331392001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":216193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:57:28] local.INFO: GPS data processed {"connection_id":216193,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:57:28] local.INFO: Acknowledgment sent {"connection_id":216193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:57:56] local.INFO: TCP Data received {"connection_id":217747,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:57:56] local.INFO: Processing buffer {"connection_id":217747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:57:56] local.INFO: Packet analysis {"connection_id":217747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:57:56] local.INFO: Extracted packet for processing {"connection_id":217747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03: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-10-16 03:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 03:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 03:57:56] 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-10-16 03: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-10-16 03:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:57:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:57:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":217747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:57:56] local.INFO: GPS data processed {"connection_id":217747,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:57:56] local.INFO: Acknowledgment sent {"connection_id":217747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:57:59] local.INFO: TCP Data received {"connection_id":216193,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:57:59] local.INFO: Processing buffer {"connection_id":216193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:57:59] local.INFO: Packet analysis {"connection_id":216193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:57:59] local.INFO: Extracted packet for processing {"connection_id":216193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:57: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-10-16 03:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778331392001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792103158000,"timestamp_ms":1792103158000,"timestamp_seconds":1792103158,"priority":1,"record_length":96,"hex_timestamp":"000001a141ac10f0"} 
[2026-10-16 03:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:57: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-10-16 03:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778331392001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778331392001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:57:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778331392001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":216193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:57:59] local.INFO: GPS data processed {"connection_id":216193,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:57:59] local.INFO: Acknowledgment sent {"connection_id":216193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:58:17] local.INFO: TCP Data received {"connection_id":216194,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:58:17] local.INFO: Processing buffer {"connection_id":216194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:58:17] local.INFO: IMEI packet received {"connection_id":216194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":216194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:58:21] local.INFO: TCP Data received {"connection_id":216195,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:58:21] local.INFO: Processing buffer {"connection_id":216195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:58:21] local.INFO: IMEI packet received {"connection_id":216195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":216195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:58:23] local.INFO: TCP Data received {"connection_id":216194,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:58:23] local.INFO: Processing buffer {"connection_id":216194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:58:23] local.INFO: IMEI packet received {"connection_id":216194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":216194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:58:24] local.INFO: TCP Data received {"connection_id":216194,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:58:24] local.INFO: Processing buffer {"connection_id":216194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:58:24] local.INFO: Packet analysis {"connection_id":216194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:58:24] local.INFO: Extracted packet for processing {"connection_id":216194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:58:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 03:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 03:58:24] 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-10-16 03:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:58:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:58:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":216194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:58:24] local.INFO: GPS data processed {"connection_id":216194,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:58:24] local.INFO: Acknowledgment sent {"connection_id":216194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:58:26] local.INFO: TCP Data received {"connection_id":216195,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:58:26] local.INFO: Processing buffer {"connection_id":216195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:58:26] local.INFO: IMEI packet received {"connection_id":216195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":216195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:58:30] local.INFO: TCP Data received {"connection_id":216195,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:58:30] local.INFO: Processing buffer {"connection_id":216195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:58:30] local.INFO: Packet analysis {"connection_id":216195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:58:30] local.INFO: Extracted packet for processing {"connection_id":216195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778331392001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792103158000,"timestamp_ms":1792103158000,"timestamp_seconds":1792103158,"priority":1,"record_length":96,"hex_timestamp":"000001a141ac10f0"} 
[2026-10-16 03:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:58: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-10-16 03:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778331392001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778331392001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:58:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778331392001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":216195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:58:30] local.INFO: GPS data processed {"connection_id":216195,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:58:30] local.INFO: Acknowledgment sent {"connection_id":216195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:58:56] local.INFO: TCP Data received {"connection_id":216194,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:58:56] local.INFO: Processing buffer {"connection_id":216194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:58:56] local.INFO: Packet analysis {"connection_id":216194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:58:56] local.INFO: Extracted packet for processing {"connection_id":216194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 03:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 03:58:56] 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-10-16 03:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:58:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:58:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":216194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:58:56] local.INFO: GPS data processed {"connection_id":216194,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:58:56] local.INFO: Acknowledgment sent {"connection_id":216194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:59:01] local.INFO: TCP Data received {"connection_id":216195,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:59:01] local.INFO: Processing buffer {"connection_id":216195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:59:01] local.INFO: Packet analysis {"connection_id":216195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:59:01] local.INFO: Extracted packet for processing {"connection_id":216195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778331392001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792103158000,"timestamp_ms":1792103158000,"timestamp_seconds":1792103158,"priority":1,"record_length":96,"hex_timestamp":"000001a141ac10f0"} 
[2026-10-16 03:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:59:01] 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-10-16 03:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778331392001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778331392001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:59:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778331392001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":216195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:59:01] local.INFO: GPS data processed {"connection_id":216195,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:59:01] local.INFO: Acknowledgment sent {"connection_id":216195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:59:17] local.INFO: TCP Data received {"connection_id":217748,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:59:17] local.INFO: Processing buffer {"connection_id":217748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:59:17] local.INFO: IMEI packet received {"connection_id":217748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 03:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":217748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:59:21] local.INFO: TCP Data received {"connection_id":217749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:59:21] local.INFO: Processing buffer {"connection_id":217749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:59:21] local.INFO: IMEI packet received {"connection_id":217749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 03:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":217749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 03:59:23] local.INFO: TCP Data received {"connection_id":217748,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:59:23] local.INFO: Processing buffer {"connection_id":217748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 03:59:23] local.INFO: IMEI packet received {"connection_id":217748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 03:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":217748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:59:24] local.INFO: TCP Data received {"connection_id":217748,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:59:24] local.INFO: Processing buffer {"connection_id":217748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:59:24] local.INFO: Packet analysis {"connection_id":217748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:59:24] local.INFO: Extracted packet for processing {"connection_id":217748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:59: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-10-16 03:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 03:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:59: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 03:59:24] 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-10-16 03:59: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-10-16 03:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:59:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:59:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":217748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:59:24] local.INFO: GPS data processed {"connection_id":217748,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:59:24] local.INFO: Acknowledgment sent {"connection_id":217748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:59:26] local.INFO: TCP Data received {"connection_id":217749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:59:26] local.INFO: Processing buffer {"connection_id":217749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 03:59:26] local.INFO: IMEI packet received {"connection_id":217749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 03:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":217749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 03:59:27] local.INFO: TCP Data received {"connection_id":217749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:59:27] local.INFO: Processing buffer {"connection_id":217749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:59:27] local.INFO: Packet analysis {"connection_id":217749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:59:27] local.INFO: Extracted packet for processing {"connection_id":217749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778331392001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792103158000,"timestamp_ms":1792103158000,"timestamp_seconds":1792103158,"priority":1,"record_length":96,"hex_timestamp":"000001a141ac10f0"} 
[2026-10-16 03:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:59:27] 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-10-16 03:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778331392001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778331392001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:59:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778331392001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":217749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:59:27] local.INFO: GPS data processed {"connection_id":217749,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:59:27] local.INFO: Acknowledgment sent {"connection_id":217749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:59:56] local.INFO: TCP Data received {"connection_id":217748,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:59:56] local.INFO: Processing buffer {"connection_id":217748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 03:59:56] local.INFO: Packet analysis {"connection_id":217748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:59:56] local.INFO: Extracted packet for processing {"connection_id":217748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 03:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 03:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 03:59:56] 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-10-16 03:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 03:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 03:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 03:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 03:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 03:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 03:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:59:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 03:59:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 03:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 03:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 03:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":217748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:59:56] local.INFO: GPS data processed {"connection_id":217748,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:59:56] local.INFO: Acknowledgment sent {"connection_id":217748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 03:59:58] local.INFO: TCP Data received {"connection_id":217749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:59:58] local.INFO: Processing buffer {"connection_id":217749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 03:59:58] local.INFO: Packet analysis {"connection_id":217749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:59:58] local.INFO: Extracted packet for processing {"connection_id":217749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 03:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 03:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 03:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778331392001,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 03:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 03:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792103158000,"timestamp_ms":1792103158000,"timestamp_seconds":1792103158,"priority":1,"record_length":96,"hex_timestamp":"000001a141ac10f0"} 
[2026-10-16 03:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 03:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 03:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 03:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 03:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 03:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 03:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 03:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 03:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 03:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 03:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 03:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 03:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778331392001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 03:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 03:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 03:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778331392001,"description":"Unknown IO ID 0"} 
[2026-10-16 03:59:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 03:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 03:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 03:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 03:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778331392001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 03:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":217749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 03:59:58] local.INFO: GPS data processed {"connection_id":217749,"processed":1,"errors":0,"total":1} 
[2026-10-16 03:59:58] local.INFO: Acknowledgment sent {"connection_id":217749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:00:22] local.INFO: TCP Data received {"connection_id":216197,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:00:22] local.INFO: Processing buffer {"connection_id":216197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:00:22] local.INFO: IMEI packet received {"connection_id":216197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":216197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:00:23] local.INFO: TCP Data received {"connection_id":216196,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:00:23] local.INFO: Processing buffer {"connection_id":216196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:00:23] local.INFO: IMEI packet received {"connection_id":216196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":216196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:00:26] local.INFO: TCP Data received {"connection_id":216197,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:00:26] local.INFO: Processing buffer {"connection_id":216197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:00:26] local.INFO: IMEI packet received {"connection_id":216197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":216197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:00:28] local.INFO: TCP Data received {"connection_id":216196,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:00:28] local.INFO: Processing buffer {"connection_id":216196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:00:28] local.INFO: IMEI packet received {"connection_id":216196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":216196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:00:29] local.INFO: TCP Data received {"connection_id":216196,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:00:29] local.INFO: Processing buffer {"connection_id":216196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:00:29] local.INFO: Packet analysis {"connection_id":216196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:00:29] local.INFO: Extracted packet for processing {"connection_id":216196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 04:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:00:29] 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-10-16 04:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:00:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:00:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":216196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:00:29] local.INFO: GPS data processed {"connection_id":216196,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:00:29] local.INFO: Acknowledgment sent {"connection_id":216196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:00:30] local.INFO: TCP Data received {"connection_id":216197,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 04:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 04:00:30] local.INFO: Processing buffer {"connection_id":216197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ac10f0012d7c240005dad510000700ea25..."} 
[2026-10-16 04:00:30] local.INFO: Packet analysis {"connection_id":216197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:00:30] local.INFO: Extracted packet for processing {"connection_id":216197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:00: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-10-16 04:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778331392001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792103158000,"timestamp_ms":1792103158000,"timestamp_seconds":1792103158,"priority":1,"record_length":96,"hex_timestamp":"000001a141ac10f0"} 
[2026-10-16 04:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:00: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-10-16 04:00: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-10-16 04:00: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-10-16 04:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778331392001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778331392001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:00:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778331392001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":216197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:00:30] local.INFO: GPS data processed {"connection_id":216197,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:00:30] local.INFO: Acknowledgment sent {"connection_id":216197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:00:33] local.INFO: TCP Data received {"connection_id":216196,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:00:33] local.INFO: Processing buffer {"connection_id":216196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:00:33] local.INFO: Packet analysis {"connection_id":216196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:00:33] local.INFO: Extracted packet for processing {"connection_id":216196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 04:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":216196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:00:33] local.INFO: GPS data processed {"connection_id":216196,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:00:33] local.INFO: Acknowledgment sent {"connection_id":216196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:01:02] local.INFO: TCP Data received {"connection_id":216197,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:01:02] local.INFO: Processing buffer {"connection_id":216197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:01:02] local.INFO: Packet analysis {"connection_id":216197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:01:02] local.INFO: Extracted packet for processing {"connection_id":216197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:01:02] 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-10-16 04:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:01:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":216197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:01:02] local.INFO: GPS data processed {"connection_id":216197,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:01:02] local.INFO: Acknowledgment sent {"connection_id":216197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:01:18] local.INFO: TCP Data received {"connection_id":219468,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:01:18] local.INFO: Processing buffer {"connection_id":219468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:01:18] local.INFO: IMEI packet received {"connection_id":219468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":219468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:01:21] local.INFO: TCP Data received {"connection_id":216389,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:01:21] local.INFO: Processing buffer {"connection_id":216389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:01:21] local.INFO: IMEI packet received {"connection_id":216389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":216389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:01:22] local.INFO: TCP Data received {"connection_id":217751,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:01:22] local.INFO: Processing buffer {"connection_id":217751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:01:22] local.INFO: IMEI packet received {"connection_id":217751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":217751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:01:23] local.INFO: TCP Data received {"connection_id":219468,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:01:23] local.INFO: Processing buffer {"connection_id":219468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:01:23] local.INFO: IMEI packet received {"connection_id":219468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":219468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:01:24] local.INFO: TCP Data received {"connection_id":219468,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:01:24] local.INFO: Processing buffer {"connection_id":219468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:01:24] local.INFO: Packet analysis {"connection_id":219468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:01:24] local.INFO: Extracted packet for processing {"connection_id":219468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 04:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:01:24] 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-10-16 04:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:01:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:01:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":219468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:01:24] local.INFO: GPS data processed {"connection_id":219468,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:01:24] local.INFO: Acknowledgment sent {"connection_id":219468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:01:26] local.INFO: TCP Data received {"connection_id":216389,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:01:26] local.INFO: Processing buffer {"connection_id":216389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:01:26] local.INFO: IMEI packet received {"connection_id":216389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":216389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:01:28] local.INFO: TCP Data received {"connection_id":216389,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:01:28] local.INFO: Processing buffer {"connection_id":216389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:01:28] local.INFO: Packet analysis {"connection_id":216389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:01:28] local.INFO: Extracted packet for processing {"connection_id":216389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:01:28] 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-10-16 04:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:01:28] 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-10-16 04:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:01:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":216389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:01:28] local.INFO: GPS data processed {"connection_id":216389,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:01:28] local.INFO: Acknowledgment sent {"connection_id":216389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:01:52] local.INFO: TCP Data received {"connection_id":219469,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:01:52] local.INFO: Processing buffer {"connection_id":219469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:01:52] local.INFO: IMEI packet received {"connection_id":219469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":219469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:01:56] local.INFO: TCP Data received {"connection_id":219468,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:01:56] local.INFO: Processing buffer {"connection_id":219468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:01:56] local.INFO: Packet analysis {"connection_id":219468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:01:56] local.INFO: Extracted packet for processing {"connection_id":219468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 04:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:01:56] 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-10-16 04:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:01:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:01:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":219468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:01:56] local.INFO: GPS data processed {"connection_id":219468,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:01:56] local.INFO: Acknowledgment sent {"connection_id":219468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:02:00] local.INFO: TCP Data received {"connection_id":216389,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:02:00] local.INFO: Processing buffer {"connection_id":216389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:02:00] local.INFO: Packet analysis {"connection_id":216389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:02:00] local.INFO: Extracted packet for processing {"connection_id":216389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:02: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-10-16 04:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:02:00] 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-10-16 04:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:02:00] 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-10-16 04:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:02:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":216389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:02:00] local.INFO: GPS data processed {"connection_id":216389,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:02:00] local.INFO: Acknowledgment sent {"connection_id":216389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:02:17] local.INFO: TCP Data received {"connection_id":219470,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:02:17] local.INFO: Processing buffer {"connection_id":219470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:02:17] local.INFO: IMEI packet received {"connection_id":219470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":219470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:02:23] local.INFO: TCP Data received {"connection_id":219470,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:02:23] local.INFO: Processing buffer {"connection_id":219470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:02:23] local.INFO: IMEI packet received {"connection_id":219470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":219470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:02:24] local.INFO: TCP Data received {"connection_id":219470,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:02:24] local.INFO: Processing buffer {"connection_id":219470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141acc888012d7f98c005afddb00000002f23..."} 
[2026-10-16 04:02:24] local.INFO: Packet analysis {"connection_id":219470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:02:24] local.INFO: Extracted packet for processing {"connection_id":219470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ac"} 
[2026-10-16 04:02:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:02: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-10-16 04:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778343424001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103205000,"timestamp_ms":1792103205000,"timestamp_seconds":1792103205,"priority":1,"record_length":96,"hex_timestamp":"000001a141acc888"} 
[2026-10-16 04:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:02:24] 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-10-16 04:02: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-10-16 04:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778343424001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778343424001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:02:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:02:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778343424001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":219470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:02:24] local.INFO: GPS data processed {"connection_id":219470,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:02:24] local.INFO: Acknowledgment sent {"connection_id":219470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:02:26] local.INFO: TCP Data received {"connection_id":216198,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:02:26] local.INFO: Processing buffer {"connection_id":216198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:02:26] local.INFO: IMEI packet received {"connection_id":216198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":216198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:02:31] local.INFO: TCP Data received {"connection_id":216198,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:02:31] local.INFO: Processing buffer {"connection_id":216198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:02:31] local.INFO: IMEI packet received {"connection_id":216198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":216198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:02:32] local.INFO: TCP Data received {"connection_id":216198,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:02:32] local.INFO: Processing buffer {"connection_id":216198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:02:32] local.INFO: Packet analysis {"connection_id":216198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:02:32] local.INFO: Extracted packet for processing {"connection_id":216198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:02:32] 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-10-16 04:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:02:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":216198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:02:32] local.INFO: GPS data processed {"connection_id":216198,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:02:32] local.INFO: Acknowledgment sent {"connection_id":216198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:02:55] local.INFO: TCP Data received {"connection_id":219470,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:02:55] local.INFO: Processing buffer {"connection_id":219470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:02:55] local.INFO: Packet analysis {"connection_id":219470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:02:55] local.INFO: Extracted packet for processing {"connection_id":219470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:02: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-10-16 04:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792103506000,"timestamp_ms":1792103506000,"timestamp_seconds":1792103506,"priority":1,"record_length":96,"hex_timestamp":"000001a141b16050"} 
[2026-10-16 04:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778420480001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:02:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:02:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778420480001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":219470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:02:55] local.INFO: GPS data processed {"connection_id":219470,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:02:55] local.INFO: Acknowledgment sent {"connection_id":219470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:03:03] local.INFO: TCP Data received {"connection_id":216198,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:03:03] local.INFO: Processing buffer {"connection_id":216198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:03:03] local.INFO: Packet analysis {"connection_id":216198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:03:03] local.INFO: Extracted packet for processing {"connection_id":216198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:03: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-10-16 04:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:03:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":216198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:03:03] local.INFO: GPS data processed {"connection_id":216198,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:03:03] local.INFO: Acknowledgment sent {"connection_id":216198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:03:18] local.INFO: TCP Data received {"connection_id":219471,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:03:18] local.INFO: Processing buffer {"connection_id":219471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:03:18] local.INFO: IMEI packet received {"connection_id":219471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":219471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:03:21] local.INFO: TCP Data received {"connection_id":219472,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:03:21] local.INFO: Processing buffer {"connection_id":219472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:03:21] local.INFO: IMEI packet received {"connection_id":219472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":219472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:03:23] local.INFO: TCP Data received {"connection_id":219471,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:03:23] local.INFO: Processing buffer {"connection_id":219471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:03:23] local.INFO: IMEI packet received {"connection_id":219471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":219471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:03:24] local.INFO: TCP Data received {"connection_id":219471,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:03:24] local.INFO: Processing buffer {"connection_id":219471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:03:24] local.INFO: Packet analysis {"connection_id":219471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:03:24] local.INFO: Extracted packet for processing {"connection_id":219471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:03:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103506000,"timestamp_ms":1792103506000,"timestamp_seconds":1792103506,"priority":1,"record_length":96,"hex_timestamp":"000001a141b16050"} 
[2026-10-16 04:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:03:24] 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-10-16 04:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778420480001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:03:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:03:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778420480001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":219471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:03:24] local.INFO: GPS data processed {"connection_id":219471,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:03:24] local.INFO: Acknowledgment sent {"connection_id":219471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:03:26] local.INFO: TCP Data received {"connection_id":219472,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:03:26] local.INFO: Processing buffer {"connection_id":219472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:03:26] local.INFO: IMEI packet received {"connection_id":219472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":219472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:03:28] local.INFO: TCP Data received {"connection_id":219472,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:03:28] local.INFO: Processing buffer {"connection_id":219472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:03:28] local.INFO: Packet analysis {"connection_id":219472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:03:28] local.INFO: Extracted packet for processing {"connection_id":219472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:03:28] 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-10-16 04:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:03:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":219472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:03:28] local.INFO: GPS data processed {"connection_id":219472,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:03:28] local.INFO: Acknowledgment sent {"connection_id":219472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:03:55] local.INFO: TCP Data received {"connection_id":219471,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:03:55] local.INFO: Processing buffer {"connection_id":219471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:03:55] local.INFO: Packet analysis {"connection_id":219471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:03:55] local.INFO: Extracted packet for processing {"connection_id":219471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792103506000,"timestamp_ms":1792103506000,"timestamp_seconds":1792103506,"priority":1,"record_length":96,"hex_timestamp":"000001a141b16050"} 
[2026-10-16 04:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778420480001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:03:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:03:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778420480001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":219471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:03:55] local.INFO: GPS data processed {"connection_id":219471,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:03:55] local.INFO: Acknowledgment sent {"connection_id":219471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:03:59] local.INFO: TCP Data received {"connection_id":219472,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:03:59] local.INFO: Processing buffer {"connection_id":219472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:03:59] local.INFO: Packet analysis {"connection_id":219472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:03:59] local.INFO: Extracted packet for processing {"connection_id":219472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:03:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:03:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":219472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:04:00] local.INFO: GPS data processed {"connection_id":219472,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:04:00] local.INFO: Acknowledgment sent {"connection_id":219472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:04:17] local.INFO: TCP Data received {"connection_id":216391,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:04:17] local.INFO: Processing buffer {"connection_id":216391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:04:17] local.INFO: IMEI packet received {"connection_id":216391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":216391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:04:21] local.INFO: TCP Data received {"connection_id":216392,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:04:21] local.INFO: Processing buffer {"connection_id":216392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:04:21] local.INFO: IMEI packet received {"connection_id":216392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":216392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:04:23] local.INFO: TCP Data received {"connection_id":216391,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:04:23] local.INFO: Processing buffer {"connection_id":216391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:04:23] local.INFO: IMEI packet received {"connection_id":216391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":216391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:04:25] local.INFO: TCP Data received {"connection_id":216391,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:04:25] local.INFO: Processing buffer {"connection_id":216391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:04:25] local.INFO: Packet analysis {"connection_id":216391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:04:25] local.INFO: Extracted packet for processing {"connection_id":216391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792103506000,"timestamp_ms":1792103506000,"timestamp_seconds":1792103506,"priority":1,"record_length":96,"hex_timestamp":"000001a141b16050"} 
[2026-10-16 04:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:04:25] 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-10-16 04:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778420480001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:04:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:04:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778420480001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":216391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:04:25] local.INFO: GPS data processed {"connection_id":216391,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:04:25] local.INFO: Acknowledgment sent {"connection_id":216391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:04:26] local.INFO: TCP Data received {"connection_id":216392,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:04:26] local.INFO: Processing buffer {"connection_id":216392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:04:26] local.INFO: IMEI packet received {"connection_id":216392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":216392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:04:27] local.INFO: TCP Data received {"connection_id":216392,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:04:27] local.INFO: Processing buffer {"connection_id":216392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:04:27] local.INFO: Packet analysis {"connection_id":216392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:04:27] local.INFO: Extracted packet for processing {"connection_id":216392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:04:27] 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-10-16 04:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:04:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":216392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:04:27] local.INFO: GPS data processed {"connection_id":216392,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:04:27] local.INFO: Acknowledgment sent {"connection_id":216392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:04:56] local.INFO: TCP Data received {"connection_id":216391,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:04:56] local.INFO: Processing buffer {"connection_id":216391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:04:56] local.INFO: Packet analysis {"connection_id":216391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:04:56] local.INFO: Extracted packet for processing {"connection_id":216391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792103506000,"timestamp_ms":1792103506000,"timestamp_seconds":1792103506,"priority":1,"record_length":96,"hex_timestamp":"000001a141b16050"} 
[2026-10-16 04:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04: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-10-16 04:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778420480001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:04:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:04:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778420480001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":216391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:04:56] local.INFO: GPS data processed {"connection_id":216391,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:04:56] local.INFO: Acknowledgment sent {"connection_id":216391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:04:58] local.INFO: TCP Data received {"connection_id":216392,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:04:58] local.INFO: Processing buffer {"connection_id":216392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:04:58] local.INFO: Packet analysis {"connection_id":216392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:04:58] local.INFO: Extracted packet for processing {"connection_id":216392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:04:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":216392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:04:58] local.INFO: GPS data processed {"connection_id":216392,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:04:58] local.INFO: Acknowledgment sent {"connection_id":216392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:05:17] local.INFO: TCP Data received {"connection_id":219473,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:05:17] local.INFO: Processing buffer {"connection_id":219473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:05:17] local.INFO: IMEI packet received {"connection_id":219473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":219473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:05:21] local.INFO: TCP Data received {"connection_id":219474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:05:21] local.INFO: Processing buffer {"connection_id":219474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:05:21] local.INFO: IMEI packet received {"connection_id":219474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":219474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:05:23] local.INFO: TCP Data received {"connection_id":219473,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:05:23] local.INFO: Processing buffer {"connection_id":219473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:05:23] local.INFO: IMEI packet received {"connection_id":219473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":219473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:05:24] local.INFO: TCP Data received {"connection_id":219473,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:05:24] local.INFO: Processing buffer {"connection_id":219473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:05:24] local.INFO: Packet analysis {"connection_id":219473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:05:24] local.INFO: Extracted packet for processing {"connection_id":219473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103506000,"timestamp_ms":1792103506000,"timestamp_seconds":1792103506,"priority":1,"record_length":96,"hex_timestamp":"000001a141b16050"} 
[2026-10-16 04:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:05:24] 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-10-16 04:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778420480001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:05:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:05:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778420480001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":219473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:05:24] local.INFO: GPS data processed {"connection_id":219473,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:05:24] local.INFO: Acknowledgment sent {"connection_id":219473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:05:26] local.INFO: TCP Data received {"connection_id":219474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:05:26] local.INFO: Processing buffer {"connection_id":219474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:05:26] local.INFO: IMEI packet received {"connection_id":219474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":219474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:05:27] local.INFO: TCP Data received {"connection_id":219474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:05:27] local.INFO: Processing buffer {"connection_id":219474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:05:27] local.INFO: Packet analysis {"connection_id":219474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:05:27] local.INFO: Extracted packet for processing {"connection_id":219474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:05:27] 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-10-16 04:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:05:27] 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-10-16 04:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:05:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":219474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:05:27] local.INFO: GPS data processed {"connection_id":219474,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:05:27] local.INFO: Acknowledgment sent {"connection_id":219474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:05:55] local.INFO: TCP Data received {"connection_id":219473,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:05:55] local.INFO: Processing buffer {"connection_id":219473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:05:55] local.INFO: Packet analysis {"connection_id":219473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:05:55] local.INFO: Extracted packet for processing {"connection_id":219473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792103506000,"timestamp_ms":1792103506000,"timestamp_seconds":1792103506,"priority":1,"record_length":96,"hex_timestamp":"000001a141b16050"} 
[2026-10-16 04:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778420480001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:05:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:05:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778420480001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":219473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:05:55] local.INFO: GPS data processed {"connection_id":219473,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:05:55] local.INFO: Acknowledgment sent {"connection_id":219473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:05:59] local.INFO: TCP Data received {"connection_id":219474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:05:59] local.INFO: Processing buffer {"connection_id":219474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b0a8b8012d7c240005dad510000700ea22..."} 
[2026-10-16 04:05:59] local.INFO: Packet analysis {"connection_id":219474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:05:59] local.INFO: Extracted packet for processing {"connection_id":219474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b0"} 
[2026-10-16 04:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778408448001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792103459000,"timestamp_ms":1792103459000,"timestamp_seconds":1792103459,"priority":1,"record_length":96,"hex_timestamp":"000001a141b0a8b8"} 
[2026-10-16 04:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04: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-10-16 04:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:05:59] 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-10-16 04:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778408448001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778408448001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:05:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778408448001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":219474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:05:59] local.INFO: GPS data processed {"connection_id":219474,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:05:59] local.INFO: Acknowledgment sent {"connection_id":219474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:06:23] local.INFO: TCP Data received {"connection_id":216393,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:06:23] local.INFO: Processing buffer {"connection_id":216393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:06:23] local.INFO: IMEI packet received {"connection_id":216393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":216393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:06:26] local.INFO: TCP Data received {"connection_id":216394,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:06:26] local.INFO: Processing buffer {"connection_id":216394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:06:26] local.INFO: IMEI packet received {"connection_id":216394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":216394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:06:28] local.INFO: TCP Data received {"connection_id":216393,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:06:28] local.INFO: Processing buffer {"connection_id":216393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:06:28] local.INFO: IMEI packet received {"connection_id":216393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":216393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:06:29] local.INFO: TCP Data received {"connection_id":216393,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:06:29] local.INFO: Processing buffer {"connection_id":216393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:06:29] local.INFO: Packet analysis {"connection_id":216393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:06:29] local.INFO: Extracted packet for processing {"connection_id":216393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792103506000,"timestamp_ms":1792103506000,"timestamp_seconds":1792103506,"priority":1,"record_length":96,"hex_timestamp":"000001a141b16050"} 
[2026-10-16 04:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:06:29] 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-10-16 04:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778420480001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:06:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:06:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778420480001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":216393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:06:29] local.INFO: GPS data processed {"connection_id":216393,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:06:29] local.INFO: Acknowledgment sent {"connection_id":216393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:06:31] local.INFO: TCP Data received {"connection_id":216394,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:06:31] local.INFO: Processing buffer {"connection_id":216394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:06:31] local.INFO: IMEI packet received {"connection_id":216394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":216394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:06:33] local.INFO: TCP Data received {"connection_id":216393,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:06:33] local.INFO: Processing buffer {"connection_id":216393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:06:33] local.INFO: Packet analysis {"connection_id":216393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:06:33] local.INFO: Extracted packet for processing {"connection_id":216393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792103506000,"timestamp_ms":1792103506000,"timestamp_seconds":1792103506,"priority":1,"record_length":96,"hex_timestamp":"000001a141b16050"} 
[2026-10-16 04:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778420480001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:06:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:06:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778420480001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":216393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:06:33] local.INFO: GPS data processed {"connection_id":216393,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:06:33] local.INFO: Acknowledgment sent {"connection_id":216393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:06:36] local.INFO: TCP Data received {"connection_id":216394,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:06:36] local.INFO: Processing buffer {"connection_id":216394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:06:36] local.INFO: Packet analysis {"connection_id":216394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:06:36] local.INFO: Extracted packet for processing {"connection_id":216394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778485504001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792103760000,"timestamp_ms":1792103760000,"timestamp_seconds":1792103760,"priority":1,"record_length":96,"hex_timestamp":"000001a141b54080"} 
[2026-10-16 04:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:06: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-10-16 04: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-10-16 04:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778485504001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778485504001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:06:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778485504001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":216394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:06:36] local.INFO: GPS data processed {"connection_id":216394,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:06:36] local.INFO: Acknowledgment sent {"connection_id":216394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:06:37] local.INFO: TCP Data received {"connection_id":216394,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:06:37] local.INFO: Processing buffer {"connection_id":216394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:06:37] local.INFO: Packet analysis {"connection_id":216394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:06:37] local.INFO: Extracted packet for processing {"connection_id":216394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778485504001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792103760000,"timestamp_ms":1792103760000,"timestamp_seconds":1792103760,"priority":1,"record_length":96,"hex_timestamp":"000001a141b54080"} 
[2026-10-16 04:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:06:37] 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-10-16 04: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-10-16 04:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778485504001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778485504001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:06:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778485504001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":216394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:06:37] local.INFO: GPS data processed {"connection_id":216394,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:06:37] local.INFO: Acknowledgment sent {"connection_id":216394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:07:17] local.INFO: TCP Data received {"connection_id":217753,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:07:17] local.INFO: Processing buffer {"connection_id":217753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:07:17] local.INFO: IMEI packet received {"connection_id":217753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":217753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:07:18] local.INFO: TCP Data received {"connection_id":216395,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:07:18] local.INFO: Processing buffer {"connection_id":216395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:07:18] local.INFO: IMEI packet received {"connection_id":216395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":216395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:07:21] local.INFO: TCP Data received {"connection_id":216201,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:07:21] local.INFO: Processing buffer {"connection_id":216201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:07:21] local.INFO: IMEI packet received {"connection_id":216201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":216201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:07:23] local.INFO: TCP Data received {"connection_id":216395,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:07:23] local.INFO: Processing buffer {"connection_id":216395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:07:23] local.INFO: IMEI packet received {"connection_id":216395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":216395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:07:24] local.INFO: TCP Data received {"connection_id":216395,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:07:24] local.INFO: Processing buffer {"connection_id":216395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b16050012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:07:24] local.INFO: Packet analysis {"connection_id":216395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:07:24] local.INFO: Extracted packet for processing {"connection_id":216395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b1"} 
[2026-10-16 04:07:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103506000,"timestamp_ms":1792103506000,"timestamp_seconds":1792103506,"priority":1,"record_length":96,"hex_timestamp":"000001a141b16050"} 
[2026-10-16 04:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:07:24] 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-10-16 04:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778420480001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:07:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:07:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778420480001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":216395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:07:24] local.INFO: GPS data processed {"connection_id":216395,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:07:24] local.INFO: Acknowledgment sent {"connection_id":216395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:07:26] local.INFO: TCP Data received {"connection_id":216201,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:07:26] local.INFO: Processing buffer {"connection_id":216201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:07:26] local.INFO: IMEI packet received {"connection_id":216201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":216201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:07:28] local.INFO: TCP Data received {"connection_id":216201,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:07:28] local.INFO: Processing buffer {"connection_id":216201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:07:28] local.INFO: Packet analysis {"connection_id":216201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:07:28] local.INFO: Extracted packet for processing {"connection_id":216201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778485504001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792103760000,"timestamp_ms":1792103760000,"timestamp_seconds":1792103760,"priority":1,"record_length":96,"hex_timestamp":"000001a141b54080"} 
[2026-10-16 04:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:07:28] 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-10-16 04:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:07:28] 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-10-16 04:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778485504001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778485504001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:07:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778485504001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":216201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:07:28] local.INFO: GPS data processed {"connection_id":216201,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:07:28] local.INFO: Acknowledgment sent {"connection_id":216201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:07:52] local.INFO: TCP Data received {"connection_id":216396,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:07:52] local.INFO: Processing buffer {"connection_id":216396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:07:52] local.INFO: IMEI packet received {"connection_id":216396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":216396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:07:56] local.INFO: TCP Data received {"connection_id":216395,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:07:56] local.INFO: Processing buffer {"connection_id":216395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:07:56] local.INFO: Packet analysis {"connection_id":216395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:07:56] local.INFO: Extracted packet for processing {"connection_id":216395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792103807000,"timestamp_ms":1792103807000,"timestamp_seconds":1792103807,"priority":1,"record_length":96,"hex_timestamp":"000001a141b5f818"} 
[2026-10-16 04:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:07:56] 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-10-16 04: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-10-16 04:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778497536001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:07:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:07:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778497536001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":216395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:07:56] local.INFO: GPS data processed {"connection_id":216395,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:07:56] local.INFO: Acknowledgment sent {"connection_id":216395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:07:59] local.INFO: TCP Data received {"connection_id":216201,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:07:59] local.INFO: Processing buffer {"connection_id":216201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:07:59] local.INFO: Packet analysis {"connection_id":216201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:07:59] local.INFO: Extracted packet for processing {"connection_id":216201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778485504001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792103760000,"timestamp_ms":1792103760000,"timestamp_seconds":1792103760,"priority":1,"record_length":96,"hex_timestamp":"000001a141b54080"} 
[2026-10-16 04:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:07:59] 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-10-16 04:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778485504001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778485504001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:07:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778485504001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":216201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:07:59] local.INFO: GPS data processed {"connection_id":216201,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:07:59] local.INFO: Acknowledgment sent {"connection_id":216201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:08:21] local.INFO: TCP Data received {"connection_id":219476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:08:21] local.INFO: Processing buffer {"connection_id":219476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:08:21] local.INFO: IMEI packet received {"connection_id":219476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":219476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:08:23] local.INFO: TCP Data received {"connection_id":219475,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:08:23] local.INFO: Processing buffer {"connection_id":219475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:08:23] local.INFO: IMEI packet received {"connection_id":219475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":219475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:08:26] local.INFO: TCP Data received {"connection_id":219476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:08:26] local.INFO: Processing buffer {"connection_id":219476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:08:26] local.INFO: IMEI packet received {"connection_id":219476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":219476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:08:28] local.INFO: TCP Data received {"connection_id":219476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:08:28] local.INFO: Processing buffer {"connection_id":219476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:08:28] local.INFO: Packet analysis {"connection_id":219476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:08:28] local.INFO: Extracted packet for processing {"connection_id":219476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778485504001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792103760000,"timestamp_ms":1792103760000,"timestamp_seconds":1792103760,"priority":1,"record_length":96,"hex_timestamp":"000001a141b54080"} 
[2026-10-16 04:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:08:28] 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-10-16 04:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:08:28] 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-10-16 04:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778485504001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778485504001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:08:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778485504001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":219476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:08:28] local.INFO: GPS data processed {"connection_id":219476,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:08:28] local.INFO: Acknowledgment sent {"connection_id":219476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:08:28] local.INFO: TCP Data received {"connection_id":219475,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:08:28] local.INFO: Processing buffer {"connection_id":219475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:08:28] local.INFO: IMEI packet received {"connection_id":219475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":219475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:08:29] local.INFO: TCP Data received {"connection_id":219475,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:08:29] local.INFO: Processing buffer {"connection_id":219475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:08:29] local.INFO: Packet analysis {"connection_id":219475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:08:29] local.INFO: Extracted packet for processing {"connection_id":219475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792103807000,"timestamp_ms":1792103807000,"timestamp_seconds":1792103807,"priority":1,"record_length":96,"hex_timestamp":"000001a141b5f818"} 
[2026-10-16 04:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:08:29] 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-10-16 04:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778497536001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:08:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:08:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778497536001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":219475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:08:29] local.INFO: GPS data processed {"connection_id":219475,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:08:29] local.INFO: Acknowledgment sent {"connection_id":219475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:08:32] local.INFO: TCP Data received {"connection_id":219475,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:08:32] local.INFO: Processing buffer {"connection_id":219475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:08:32] local.INFO: Packet analysis {"connection_id":219475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:08:32] local.INFO: Extracted packet for processing {"connection_id":219475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792103807000,"timestamp_ms":1792103807000,"timestamp_seconds":1792103807,"priority":1,"record_length":96,"hex_timestamp":"000001a141b5f818"} 
[2026-10-16 04:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778497536001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:08:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778497536001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":219475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:08:32] local.INFO: GPS data processed {"connection_id":219475,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:08:32] local.INFO: Acknowledgment sent {"connection_id":219475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:08:59] local.INFO: TCP Data received {"connection_id":219476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:08:59] local.INFO: Processing buffer {"connection_id":219476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:08:59] local.INFO: Packet analysis {"connection_id":219476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:08:59] local.INFO: Extracted packet for processing {"connection_id":219476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778485504001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792103760000,"timestamp_ms":1792103760000,"timestamp_seconds":1792103760,"priority":1,"record_length":96,"hex_timestamp":"000001a141b54080"} 
[2026-10-16 04:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:08: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-10-16 04:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:08: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-10-16 04:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778485504001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778485504001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:08:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:08:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778485504001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":219476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:08:59] local.INFO: GPS data processed {"connection_id":219476,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:08:59] local.INFO: Acknowledgment sent {"connection_id":219476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:09:18] local.INFO: TCP Data received {"connection_id":216397,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:09:18] local.INFO: Processing buffer {"connection_id":216397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:09:18] local.INFO: IMEI packet received {"connection_id":216397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":216397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:09:21] local.INFO: TCP Data received {"connection_id":216202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:09:21] local.INFO: Processing buffer {"connection_id":216202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:09:21] local.INFO: IMEI packet received {"connection_id":216202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":216202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:09:23] local.INFO: TCP Data received {"connection_id":216397,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:09:23] local.INFO: Processing buffer {"connection_id":216397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:09:23] local.INFO: IMEI packet received {"connection_id":216397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":216397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:09:24] local.INFO: TCP Data received {"connection_id":216397,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:09:24] local.INFO: Processing buffer {"connection_id":216397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:09:24] local.INFO: Packet analysis {"connection_id":216397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:09:24] local.INFO: Extracted packet for processing {"connection_id":216397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103807000,"timestamp_ms":1792103807000,"timestamp_seconds":1792103807,"priority":1,"record_length":96,"hex_timestamp":"000001a141b5f818"} 
[2026-10-16 04:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:09:24] 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-10-16 04:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778497536001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:09:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:09:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778497536001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":216397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:09:24] local.INFO: GPS data processed {"connection_id":216397,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:09:24] local.INFO: Acknowledgment sent {"connection_id":216397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:09:26] local.INFO: TCP Data received {"connection_id":216202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:09:26] local.INFO: Processing buffer {"connection_id":216202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:09:26] local.INFO: IMEI packet received {"connection_id":216202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":216202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:09:27] local.INFO: TCP Data received {"connection_id":216202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:09:27] local.INFO: Processing buffer {"connection_id":216202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:09:27] local.INFO: Packet analysis {"connection_id":216202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:09:27] local.INFO: Extracted packet for processing {"connection_id":216202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778485504001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792103760000,"timestamp_ms":1792103760000,"timestamp_seconds":1792103760,"priority":1,"record_length":96,"hex_timestamp":"000001a141b54080"} 
[2026-10-16 04:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:09:27] 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-10-16 04: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-10-16 04:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:09: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-10-16 04:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778485504001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778485504001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:09:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778485504001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":216202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:09:27] local.INFO: GPS data processed {"connection_id":216202,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:09:27] local.INFO: Acknowledgment sent {"connection_id":216202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:09:55] local.INFO: TCP Data received {"connection_id":216397,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:09:55] local.INFO: Processing buffer {"connection_id":216397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:09:55] local.INFO: Packet analysis {"connection_id":216397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:09:55] local.INFO: Extracted packet for processing {"connection_id":216397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792103807000,"timestamp_ms":1792103807000,"timestamp_seconds":1792103807,"priority":1,"record_length":96,"hex_timestamp":"000001a141b5f818"} 
[2026-10-16 04:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:09:55] 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-10-16 04:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778497536001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:09:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:09:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778497536001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":216397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:09:55] local.INFO: GPS data processed {"connection_id":216397,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:09:55] local.INFO: Acknowledgment sent {"connection_id":216397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:10:02] local.INFO: TCP Data received {"connection_id":216202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:10:02] local.INFO: Processing buffer {"connection_id":216202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:10:02] local.INFO: Packet analysis {"connection_id":216202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:10:02] local.INFO: Extracted packet for processing {"connection_id":216202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778485504001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792103760000,"timestamp_ms":1792103760000,"timestamp_seconds":1792103760,"priority":1,"record_length":96,"hex_timestamp":"000001a141b54080"} 
[2026-10-16 04:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:10:02] 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-10-16 04:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778485504001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778485504001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:10:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778485504001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":216202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:10:02] local.INFO: GPS data processed {"connection_id":216202,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:10:02] local.INFO: Acknowledgment sent {"connection_id":216202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:10:17] local.INFO: TCP Data received {"connection_id":217755,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:10:17] local.INFO: Processing buffer {"connection_id":217755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:10:17] local.INFO: IMEI packet received {"connection_id":217755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":217755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:10:21] local.INFO: TCP Data received {"connection_id":219477,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:10:21] local.INFO: Processing buffer {"connection_id":219477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:10:21] local.INFO: IMEI packet received {"connection_id":219477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":219477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:10:23] local.INFO: TCP Data received {"connection_id":217755,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:10:23] local.INFO: Processing buffer {"connection_id":217755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:10:23] local.INFO: IMEI packet received {"connection_id":217755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":217755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:10:24] local.INFO: TCP Data received {"connection_id":217755,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:10:24] local.INFO: Processing buffer {"connection_id":217755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:10:24] local.INFO: Packet analysis {"connection_id":217755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:10:24] local.INFO: Extracted packet for processing {"connection_id":217755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103807000,"timestamp_ms":1792103807000,"timestamp_seconds":1792103807,"priority":1,"record_length":96,"hex_timestamp":"000001a141b5f818"} 
[2026-10-16 04:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:10:24] 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-10-16 04:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778497536001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:10:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:10:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778497536001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":217755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:10:24] local.INFO: GPS data processed {"connection_id":217755,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:10:24] local.INFO: Acknowledgment sent {"connection_id":217755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:10:26] local.INFO: TCP Data received {"connection_id":219477,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:10:26] local.INFO: Processing buffer {"connection_id":219477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:10:26] local.INFO: IMEI packet received {"connection_id":219477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":219477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:10:30] local.INFO: TCP Data received {"connection_id":219477,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:10:30] local.INFO: Processing buffer {"connection_id":219477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:10:30] local.INFO: Packet analysis {"connection_id":219477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:10:30] local.INFO: Extracted packet for processing {"connection_id":219477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:10: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-10-16 04:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778485504001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792103760000,"timestamp_ms":1792103760000,"timestamp_seconds":1792103760,"priority":1,"record_length":96,"hex_timestamp":"000001a141b54080"} 
[2026-10-16 04:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:10: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-10-16 04:10: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-10-16 04:10: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-10-16 04:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778485504001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778485504001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:10:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778485504001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":219477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:10:30] local.INFO: GPS data processed {"connection_id":219477,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:10:30] local.INFO: Acknowledgment sent {"connection_id":219477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:10:56] local.INFO: TCP Data received {"connection_id":217755,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:10:56] local.INFO: Processing buffer {"connection_id":217755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:10:56] local.INFO: Packet analysis {"connection_id":217755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:10:56] local.INFO: Extracted packet for processing {"connection_id":217755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792103807000,"timestamp_ms":1792103807000,"timestamp_seconds":1792103807,"priority":1,"record_length":96,"hex_timestamp":"000001a141b5f818"} 
[2026-10-16 04:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:10:56] 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-10-16 04:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778497536001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:10:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:10:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778497536001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":217755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:10:56] local.INFO: GPS data processed {"connection_id":217755,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:10:56] local.INFO: Acknowledgment sent {"connection_id":217755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:11:01] local.INFO: TCP Data received {"connection_id":219477,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:11:01] local.INFO: Processing buffer {"connection_id":219477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b54080012d7c240005dad510000700ea25..."} 
[2026-10-16 04:11:01] local.INFO: Packet analysis {"connection_id":219477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:11:01] local.INFO: Extracted packet for processing {"connection_id":219477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778485504001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792103760000,"timestamp_ms":1792103760000,"timestamp_seconds":1792103760,"priority":1,"record_length":96,"hex_timestamp":"000001a141b54080"} 
[2026-10-16 04:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:11:01] 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-10-16 04:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778485504001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778485504001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:11:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778485504001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":219477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:11:01] local.INFO: GPS data processed {"connection_id":219477,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:11:01] local.INFO: Acknowledgment sent {"connection_id":219477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:11:17] local.INFO: TCP Data received {"connection_id":216204,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:11:17] local.INFO: Processing buffer {"connection_id":216204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:11:17] local.INFO: IMEI packet received {"connection_id":216204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":216204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:11:21] local.INFO: TCP Data received {"connection_id":216205,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:11:21] local.INFO: Processing buffer {"connection_id":216205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:11:21] local.INFO: IMEI packet received {"connection_id":216205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":216205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:11:23] local.INFO: TCP Data received {"connection_id":216204,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:11:23] local.INFO: Processing buffer {"connection_id":216204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:11:23] local.INFO: IMEI packet received {"connection_id":216204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":216204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:11:24] local.INFO: TCP Data received {"connection_id":216204,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:11:24] local.INFO: Processing buffer {"connection_id":216204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:11:24] local.INFO: Packet analysis {"connection_id":216204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:11:24] local.INFO: Extracted packet for processing {"connection_id":216204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:11:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:11: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-10-16 04:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792103807000,"timestamp_ms":1792103807000,"timestamp_seconds":1792103807,"priority":1,"record_length":96,"hex_timestamp":"000001a141b5f818"} 
[2026-10-16 04:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:11:24] 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-10-16 04:11: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-10-16 04:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778497536001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:11:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:11:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778497536001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":216204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:11:24] local.INFO: GPS data processed {"connection_id":216204,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:11:24] local.INFO: Acknowledgment sent {"connection_id":216204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:11:26] local.INFO: TCP Data received {"connection_id":216205,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:11:26] local.INFO: Processing buffer {"connection_id":216205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:11:26] local.INFO: IMEI packet received {"connection_id":216205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":216205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:11:30] local.INFO: TCP Data received {"connection_id":216205,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:11:30] local.INFO: Processing buffer {"connection_id":216205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:11:30] local.INFO: Packet analysis {"connection_id":216205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:11:30] local.INFO: Extracted packet for processing {"connection_id":216205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778562560001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792104061000,"timestamp_ms":1792104061000,"timestamp_seconds":1792104061,"priority":1,"record_length":96,"hex_timestamp":"000001a141b9d848"} 
[2026-10-16 04:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:11: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-10-16 04:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778562560001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778562560001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:11:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778562560001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":216205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:11:30] local.INFO: GPS data processed {"connection_id":216205,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:11:30] local.INFO: Acknowledgment sent {"connection_id":216205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:11:55] local.INFO: TCP Data received {"connection_id":216204,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:11:55] local.INFO: Processing buffer {"connection_id":216204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b5f818012d7f98c005afddb00000002f25..."} 
[2026-10-16 04:11:55] local.INFO: Packet analysis {"connection_id":216204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:11:55] local.INFO: Extracted packet for processing {"connection_id":216204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b5"} 
[2026-10-16 04:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792103807000,"timestamp_ms":1792103807000,"timestamp_seconds":1792103807,"priority":1,"record_length":96,"hex_timestamp":"000001a141b5f818"} 
[2026-10-16 04:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:11:55] 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-10-16 04:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778497536001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:11:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:11:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778497536001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":216204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:11:55] local.INFO: GPS data processed {"connection_id":216204,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:11:55] local.INFO: Acknowledgment sent {"connection_id":216204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:12:01] local.INFO: TCP Data received {"connection_id":216205,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:12:01] local.INFO: Processing buffer {"connection_id":216205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:12:01] local.INFO: Packet analysis {"connection_id":216205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:12:01] local.INFO: Extracted packet for processing {"connection_id":216205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778562560001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792104061000,"timestamp_ms":1792104061000,"timestamp_seconds":1792104061,"priority":1,"record_length":96,"hex_timestamp":"000001a141b9d848"} 
[2026-10-16 04:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:12:01] 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-10-16 04:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778562560001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778562560001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:12:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778562560001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":216205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:12:01] local.INFO: GPS data processed {"connection_id":216205,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:12:01] local.INFO: Acknowledgment sent {"connection_id":216205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:12:23] local.INFO: TCP Data received {"connection_id":216399,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:12:23] local.INFO: Processing buffer {"connection_id":216399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:12:23] local.INFO: IMEI packet received {"connection_id":216399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":216399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:12:26] local.INFO: TCP Data received {"connection_id":219478,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:12:26] local.INFO: Processing buffer {"connection_id":219478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:12:26] local.INFO: IMEI packet received {"connection_id":219478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":219478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:12:27] local.INFO: TCP Data received {"connection_id":216399,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:12:27] local.INFO: Processing buffer {"connection_id":216399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:12:27] local.INFO: IMEI packet received {"connection_id":216399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":216399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:12:29] local.INFO: TCP Data received {"connection_id":216399,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:12:29] local.INFO: Processing buffer {"connection_id":216399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:12:29] local.INFO: Packet analysis {"connection_id":216399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:12:29] local.INFO: Extracted packet for processing {"connection_id":216399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:12:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:12:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":216399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:12:29] local.INFO: GPS data processed {"connection_id":216399,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:12:29] local.INFO: Acknowledgment sent {"connection_id":216399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:12:30] local.INFO: TCP Data received {"connection_id":216399,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:12:30] local.INFO: Processing buffer {"connection_id":216399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:12:30] local.INFO: Packet analysis {"connection_id":216399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:12:30] local.INFO: Extracted packet for processing {"connection_id":216399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:12:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:12:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":216399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:12:30] local.INFO: GPS data processed {"connection_id":216399,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:12:30] local.INFO: Acknowledgment sent {"connection_id":216399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:12:31] local.INFO: TCP Data received {"connection_id":219478,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:12:31] local.INFO: Processing buffer {"connection_id":219478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:12:31] local.INFO: IMEI packet received {"connection_id":219478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":219478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:12:34] local.INFO: TCP Data received {"connection_id":219478,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:12:34] local.INFO: Processing buffer {"connection_id":219478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:12:34] local.INFO: Packet analysis {"connection_id":219478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:12:34] local.INFO: Extracted packet for processing {"connection_id":219478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778562560001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792104061000,"timestamp_ms":1792104061000,"timestamp_seconds":1792104061,"priority":1,"record_length":96,"hex_timestamp":"000001a141b9d848"} 
[2026-10-16 04:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778562560001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778562560001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:12:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778562560001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":219478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:12:34] local.INFO: GPS data processed {"connection_id":219478,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:12:34] local.INFO: Acknowledgment sent {"connection_id":219478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:12:39] local.INFO: TCP Data received {"connection_id":219478,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:12:39] local.INFO: Processing buffer {"connection_id":219478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:12:39] local.INFO: Packet analysis {"connection_id":219478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:12:39] local.INFO: Extracted packet for processing {"connection_id":219478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 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-10-16 04:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778562560001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792104061000,"timestamp_ms":1792104061000,"timestamp_seconds":1792104061,"priority":1,"record_length":96,"hex_timestamp":"000001a141b9d848"} 
[2026-10-16 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-10-16 04:12: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-10-16 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:12:39] 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-10-16 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-10-16 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-10-16 04:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":219478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":219478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":219478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:12:39] 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-10-16 04:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778562560001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778562560001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:12:39] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778562560001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":219478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:12:39] local.INFO: GPS data processed {"connection_id":219478,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:12:39] local.INFO: Acknowledgment sent {"connection_id":219478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:13:01] local.INFO: TCP Data received {"connection_id":216399,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:13:01] local.INFO: Processing buffer {"connection_id":216399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:13:01] local.INFO: Packet analysis {"connection_id":216399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:13:01] local.INFO: Extracted packet for processing {"connection_id":216399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:13: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-10-16 04:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:13:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:13:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":216399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:13:01] local.INFO: GPS data processed {"connection_id":216399,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:13:01] local.INFO: Acknowledgment sent {"connection_id":216399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:13:17] local.INFO: TCP Data received {"connection_id":216207,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:13:17] local.INFO: Processing buffer {"connection_id":216207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:13:17] local.INFO: IMEI packet received {"connection_id":216207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":216207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:13:21] local.INFO: TCP Data received {"connection_id":216208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:13:21] local.INFO: Processing buffer {"connection_id":216208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:13:21] local.INFO: IMEI packet received {"connection_id":216208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":216208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:13:23] local.INFO: TCP Data received {"connection_id":216207,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:13:23] local.INFO: Processing buffer {"connection_id":216207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:13:23] local.INFO: IMEI packet received {"connection_id":216207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":216207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:13:24] local.INFO: TCP Data received {"connection_id":216207,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:13:24] local.INFO: Processing buffer {"connection_id":216207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:13:24] local.INFO: Packet analysis {"connection_id":216207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:13:24] local.INFO: Extracted packet for processing {"connection_id":216207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:13:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:13:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":216207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:13:24] local.INFO: GPS data processed {"connection_id":216207,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:13:24] local.INFO: Acknowledgment sent {"connection_id":216207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:13:26] local.INFO: TCP Data received {"connection_id":216208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:13:26] local.INFO: Processing buffer {"connection_id":216208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:13:26] local.INFO: IMEI packet received {"connection_id":216208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":216208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:13:27] local.INFO: TCP Data received {"connection_id":219479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:13:27] local.INFO: Processing buffer {"connection_id":219479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:13:27] local.INFO: IMEI packet received {"connection_id":219479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":219479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:13:28] local.INFO: TCP Data received {"connection_id":216208,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:13:28] local.INFO: Processing buffer {"connection_id":216208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:13:28] local.INFO: Packet analysis {"connection_id":216208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:13:28] local.INFO: Extracted packet for processing {"connection_id":216208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778562560001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792104061000,"timestamp_ms":1792104061000,"timestamp_seconds":1792104061,"priority":1,"record_length":96,"hex_timestamp":"000001a141b9d848"} 
[2026-10-16 04:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:13:28] 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-10-16 04:13: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-10-16 04:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:13:28] 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-10-16 04:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778562560001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778562560001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:13:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778562560001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":216208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:13:28] local.INFO: GPS data processed {"connection_id":216208,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:13:28] local.INFO: Acknowledgment sent {"connection_id":216208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:13:52] local.INFO: TCP Data received {"connection_id":217756,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:13:52] local.INFO: Processing buffer {"connection_id":217756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:13:52] local.INFO: IMEI packet received {"connection_id":217756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":217756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:13:56] local.INFO: TCP Data received {"connection_id":216207,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:13:56] local.INFO: Processing buffer {"connection_id":216207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:13:56] local.INFO: Packet analysis {"connection_id":216207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:13:56] local.INFO: Extracted packet for processing {"connection_id":216207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:13:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:13:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":216207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:13:56] local.INFO: GPS data processed {"connection_id":216207,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:13:56] local.INFO: Acknowledgment sent {"connection_id":216207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:13:59] local.INFO: TCP Data received {"connection_id":216208,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:13:59] local.INFO: Processing buffer {"connection_id":216208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:13:59] local.INFO: Packet analysis {"connection_id":216208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:13:59] local.INFO: Extracted packet for processing {"connection_id":216208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778562560001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792104061000,"timestamp_ms":1792104061000,"timestamp_seconds":1792104061,"priority":1,"record_length":96,"hex_timestamp":"000001a141b9d848"} 
[2026-10-16 04:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:13: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-10-16 04:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778562560001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778562560001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:13:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778562560001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":216208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:13:59] local.INFO: GPS data processed {"connection_id":216208,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:13:59] local.INFO: Acknowledgment sent {"connection_id":216208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:14:17] local.INFO: TCP Data received {"connection_id":217757,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:14:17] local.INFO: Processing buffer {"connection_id":217757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:14:17] local.INFO: IMEI packet received {"connection_id":217757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":217757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:14:21] local.INFO: TCP Data received {"connection_id":216209,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:14:21] local.INFO: Processing buffer {"connection_id":216209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:14:21] local.INFO: IMEI packet received {"connection_id":216209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":216209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:14:23] local.INFO: TCP Data received {"connection_id":217757,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:14:23] local.INFO: Processing buffer {"connection_id":217757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:14:23] local.INFO: IMEI packet received {"connection_id":217757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":217757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:14:24] local.INFO: TCP Data received {"connection_id":217757,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:14:24] local.INFO: Processing buffer {"connection_id":217757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:14:24] local.INFO: Packet analysis {"connection_id":217757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:14:24] local.INFO: Extracted packet for processing {"connection_id":217757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:14: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-10-16 04:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:14:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:14:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":217757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:14:24] local.INFO: GPS data processed {"connection_id":217757,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:14:24] local.INFO: Acknowledgment sent {"connection_id":217757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:14:26] local.INFO: TCP Data received {"connection_id":216209,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:14:26] local.INFO: Processing buffer {"connection_id":216209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:14:26] local.INFO: IMEI packet received {"connection_id":216209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":216209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:14:29] local.INFO: TCP Data received {"connection_id":216209,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:14:30] local.INFO: Processing buffer {"connection_id":216209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:14:30] local.INFO: Packet analysis {"connection_id":216209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:14:30] local.INFO: Extracted packet for processing {"connection_id":216209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778562560001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792104061000,"timestamp_ms":1792104061000,"timestamp_seconds":1792104061,"priority":1,"record_length":96,"hex_timestamp":"000001a141b9d848"} 
[2026-10-16 04:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:14: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-10-16 04:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778562560001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778562560001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:14:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778562560001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":216209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:14:30] local.INFO: GPS data processed {"connection_id":216209,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:14:30] local.INFO: Acknowledgment sent {"connection_id":216209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:14:55] local.INFO: TCP Data received {"connection_id":217757,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:14:55] local.INFO: Processing buffer {"connection_id":217757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:14:55] local.INFO: Packet analysis {"connection_id":217757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:14:55] local.INFO: Extracted packet for processing {"connection_id":217757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:14:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:14:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":217757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:14:55] local.INFO: GPS data processed {"connection_id":217757,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:14:55] local.INFO: Acknowledgment sent {"connection_id":217757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:15:01] local.INFO: TCP Data received {"connection_id":216209,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:15:01] local.INFO: Processing buffer {"connection_id":216209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:15:01] local.INFO: Packet analysis {"connection_id":216209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:15:01] local.INFO: Extracted packet for processing {"connection_id":216209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778562560001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792104061000,"timestamp_ms":1792104061000,"timestamp_seconds":1792104061,"priority":1,"record_length":96,"hex_timestamp":"000001a141b9d848"} 
[2026-10-16 04:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:15:01] 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-10-16 04:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778562560001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778562560001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:15:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778562560001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":216209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:15:01] local.INFO: GPS data processed {"connection_id":216209,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:15:01] local.INFO: Acknowledgment sent {"connection_id":216209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:15:21] local.INFO: TCP Data received {"connection_id":216401,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:15:21] local.INFO: Processing buffer {"connection_id":216401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:15:21] local.INFO: IMEI packet received {"connection_id":216401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":216401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:15:23] local.INFO: TCP Data received {"connection_id":216400,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:15:23] local.INFO: Processing buffer {"connection_id":216400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:15:23] local.INFO: IMEI packet received {"connection_id":216400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":216400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:15:26] local.INFO: TCP Data received {"connection_id":216401,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:15:26] local.INFO: Processing buffer {"connection_id":216401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:15:26] local.INFO: IMEI packet received {"connection_id":216401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":216401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:15:27] local.INFO: TCP Data received {"connection_id":216400,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:15:27] local.INFO: Processing buffer {"connection_id":216400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:15:27] local.INFO: IMEI packet received {"connection_id":216400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":216400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:15:27] local.INFO: TCP Data received {"connection_id":216401,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:15:27] local.INFO: Processing buffer {"connection_id":216401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:15:27] local.INFO: Packet analysis {"connection_id":216401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:15:27] local.INFO: Extracted packet for processing {"connection_id":216401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778562560001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104061000,"timestamp_ms":1792104061000,"timestamp_seconds":1792104061,"priority":1,"record_length":96,"hex_timestamp":"000001a141b9d848"} 
[2026-10-16 04:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:15:27] 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-10-16 04:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778562560001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778562560001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:15:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778562560001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":216401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:15:27] local.INFO: GPS data processed {"connection_id":216401,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:15:27] local.INFO: Acknowledgment sent {"connection_id":216401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:15:28] local.INFO: TCP Data received {"connection_id":216400,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:15:28] local.INFO: Processing buffer {"connection_id":216400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:15:28] local.INFO: Packet analysis {"connection_id":216400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:15:28] local.INFO: Extracted packet for processing {"connection_id":216400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:15:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:15:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":216400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:15:28] local.INFO: GPS data processed {"connection_id":216400,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:15:28] local.INFO: Acknowledgment sent {"connection_id":216400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:15:33] local.INFO: TCP Data received {"connection_id":216400,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:15:33] local.INFO: Processing buffer {"connection_id":216400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:15:33] local.INFO: Packet analysis {"connection_id":216400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:15:33] local.INFO: Extracted packet for processing {"connection_id":216400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:15:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:15:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":216400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:15:33] local.INFO: GPS data processed {"connection_id":216400,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:15:33] local.INFO: Acknowledgment sent {"connection_id":216400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:15:59] local.INFO: TCP Data received {"connection_id":216401,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:15:59] local.INFO: Processing buffer {"connection_id":216401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141b9d848012d7c240005dad510000700ea25..."} 
[2026-10-16 04:15:59] local.INFO: Packet analysis {"connection_id":216401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:15:59] local.INFO: Extracted packet for processing {"connection_id":216401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141b9"} 
[2026-10-16 04:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778562560001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792104061000,"timestamp_ms":1792104061000,"timestamp_seconds":1792104061,"priority":1,"record_length":96,"hex_timestamp":"000001a141b9d848"} 
[2026-10-16 04:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778562560001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778562560001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:15:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778562560001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":216401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:15:59] local.INFO: GPS data processed {"connection_id":216401,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:15:59] local.INFO: Acknowledgment sent {"connection_id":216401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:16:17] local.INFO: TCP Data received {"connection_id":216402,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:16:17] local.INFO: Processing buffer {"connection_id":216402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:16:17] local.INFO: IMEI packet received {"connection_id":216402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":216402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:16:23] local.INFO: TCP Data received {"connection_id":216402,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:16:23] local.INFO: Processing buffer {"connection_id":216402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:16:23] local.INFO: IMEI packet received {"connection_id":216402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":216402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:16:24] local.INFO: TCP Data received {"connection_id":216402,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:16:24] local.INFO: Processing buffer {"connection_id":216402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:16:24] local.INFO: Packet analysis {"connection_id":216402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:16:24] local.INFO: Extracted packet for processing {"connection_id":216402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04: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-10-16 04:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:16:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:16:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":216402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:16:24] local.INFO: GPS data processed {"connection_id":216402,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:16:24] local.INFO: Acknowledgment sent {"connection_id":216402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:16:26] local.INFO: TCP Data received {"connection_id":216403,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:16:26] local.INFO: Processing buffer {"connection_id":216403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:16:26] local.INFO: IMEI packet received {"connection_id":216403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":216403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:16:31] local.INFO: TCP Data received {"connection_id":216403,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:16:31] local.INFO: Processing buffer {"connection_id":216403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:16:31] local.INFO: IMEI packet received {"connection_id":216403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":216403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:16:32] local.INFO: TCP Data received {"connection_id":216403,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:16:32] local.INFO: Processing buffer {"connection_id":216403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:16:32] local.INFO: Packet analysis {"connection_id":216403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:16:32] local.INFO: Extracted packet for processing {"connection_id":216403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778639616001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792104362000,"timestamp_ms":1792104362000,"timestamp_seconds":1792104362,"priority":1,"record_length":96,"hex_timestamp":"000001a141be7010"} 
[2026-10-16 04:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:16:32] 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-10-16 04:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778639616001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778639616001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:16:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778639616001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":216403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:16:32] local.INFO: GPS data processed {"connection_id":216403,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:16:32] local.INFO: Acknowledgment sent {"connection_id":216403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:16:37] local.INFO: TCP Data received {"connection_id":216403,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:16:37] local.INFO: Processing buffer {"connection_id":216403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:16:37] local.INFO: Packet analysis {"connection_id":216403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:16:37] local.INFO: Extracted packet for processing {"connection_id":216403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778639616001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792104362000,"timestamp_ms":1792104362000,"timestamp_seconds":1792104362,"priority":1,"record_length":96,"hex_timestamp":"000001a141be7010"} 
[2026-10-16 04:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:16:37] 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-10-16 04: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-10-16 04:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778639616001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778639616001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:16:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778639616001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":216403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:16:37] local.INFO: GPS data processed {"connection_id":216403,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:16:37] local.INFO: Acknowledgment sent {"connection_id":216403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:16:56] local.INFO: TCP Data received {"connection_id":216402,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:16:56] local.INFO: Processing buffer {"connection_id":216402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:16:56] local.INFO: Packet analysis {"connection_id":216402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:16:56] local.INFO: Extracted packet for processing {"connection_id":216402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04: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-10-16 04:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:16:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:16:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":216402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:16:56] local.INFO: GPS data processed {"connection_id":216402,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:16:56] local.INFO: Acknowledgment sent {"connection_id":216402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:17:17] local.INFO: TCP Data received {"connection_id":217760,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:17:17] local.INFO: Processing buffer {"connection_id":217760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:17:17] local.INFO: IMEI packet received {"connection_id":217760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":217760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:17:21] local.INFO: TCP Data received {"connection_id":219481,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:17:21] local.INFO: Processing buffer {"connection_id":219481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:17:21] local.INFO: IMEI packet received {"connection_id":219481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":219481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:17:23] local.INFO: TCP Data received {"connection_id":217760,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:17:23] local.INFO: Processing buffer {"connection_id":217760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:17:23] local.INFO: IMEI packet received {"connection_id":217760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":217760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:17:26] local.INFO: TCP Data received {"connection_id":217760,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:17:26] local.INFO: Processing buffer {"connection_id":217760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ba8fe0012d7f98c005afddb00000002f21..."} 
[2026-10-16 04:17:26] local.INFO: Packet analysis {"connection_id":217760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:17:26] local.INFO: Extracted packet for processing {"connection_id":217760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ba"} 
[2026-10-16 04:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792104108000,"timestamp_ms":1792104108000,"timestamp_seconds":1792104108,"priority":1,"record_length":96,"hex_timestamp":"000001a141ba8fe0"} 
[2026-10-16 04:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 04:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":217760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":217760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":217760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778574592001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:17:26] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:17:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778574592001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":217760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:17:26] local.INFO: GPS data processed {"connection_id":217760,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:17:26] local.INFO: Acknowledgment sent {"connection_id":217760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:17:26] local.INFO: TCP Data received {"connection_id":219481,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:17:26] local.INFO: Processing buffer {"connection_id":219481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:17:26] local.INFO: IMEI packet received {"connection_id":219481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":219481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:17:27] local.INFO: TCP Data received {"connection_id":219481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:17:27] local.INFO: Processing buffer {"connection_id":219481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:17:27] local.INFO: Packet analysis {"connection_id":219481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:17:27] local.INFO: Extracted packet for processing {"connection_id":219481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778639616001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104362000,"timestamp_ms":1792104362000,"timestamp_seconds":1792104362,"priority":1,"record_length":96,"hex_timestamp":"000001a141be7010"} 
[2026-10-16 04:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04: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-10-16 04:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778639616001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778639616001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:17:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778639616001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":219481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:17:27] local.INFO: GPS data processed {"connection_id":219481,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:17:27] local.INFO: Acknowledgment sent {"connection_id":219481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:17:58] local.INFO: TCP Data received {"connection_id":217760,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:17:58] local.INFO: Processing buffer {"connection_id":217760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:17:58] local.INFO: Packet analysis {"connection_id":217760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:17:58] local.INFO: Extracted packet for processing {"connection_id":217760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778651648001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792104409000,"timestamp_ms":1792104409000,"timestamp_seconds":1792104409,"priority":1,"record_length":96,"hex_timestamp":"000001a141bf27a8"} 
[2026-10-16 04:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 04:17:58] 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-10-16 04:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778651648001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778651648001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:17:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:17:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778651648001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":217760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:17:58] local.INFO: GPS data processed {"connection_id":217760,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:17:58] local.INFO: Acknowledgment sent {"connection_id":217760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:17:59] local.INFO: TCP Data received {"connection_id":219481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:17:59] local.INFO: Processing buffer {"connection_id":219481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:17:59] local.INFO: Packet analysis {"connection_id":219481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:17:59] local.INFO: Extracted packet for processing {"connection_id":219481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:17: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-10-16 04:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778639616001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792104362000,"timestamp_ms":1792104362000,"timestamp_seconds":1792104362,"priority":1,"record_length":96,"hex_timestamp":"000001a141be7010"} 
[2026-10-16 04:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:17:59] 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-10-16 04:17: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-10-16 04:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778639616001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778639616001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:17:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778639616001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":219481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:17:59] local.INFO: GPS data processed {"connection_id":219481,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:17:59] local.INFO: Acknowledgment sent {"connection_id":219481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:18:17] local.INFO: TCP Data received {"connection_id":216211,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:18:17] local.INFO: Processing buffer {"connection_id":216211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:18:17] local.INFO: IMEI packet received {"connection_id":216211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":216211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:18:21] local.INFO: TCP Data received {"connection_id":217761,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:18:21] local.INFO: Processing buffer {"connection_id":217761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:18:21] local.INFO: IMEI packet received {"connection_id":217761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":217761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:18:23] local.INFO: TCP Data received {"connection_id":216211,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:18:23] local.INFO: Processing buffer {"connection_id":216211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:18:23] local.INFO: IMEI packet received {"connection_id":216211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":216211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:18:24] local.INFO: TCP Data received {"connection_id":216211,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:18:24] local.INFO: Processing buffer {"connection_id":216211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:18:24] local.INFO: Packet analysis {"connection_id":216211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:18:24] local.INFO: Extracted packet for processing {"connection_id":216211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778651648001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792104409000,"timestamp_ms":1792104409000,"timestamp_seconds":1792104409,"priority":1,"record_length":96,"hex_timestamp":"000001a141bf27a8"} 
[2026-10-16 04:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 04:18:24] 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-10-16 04:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778651648001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778651648001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:18:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:18:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778651648001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":216211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:18:24] local.INFO: GPS data processed {"connection_id":216211,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:18:24] local.INFO: Acknowledgment sent {"connection_id":216211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:18:26] local.INFO: TCP Data received {"connection_id":217761,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:18:26] local.INFO: Processing buffer {"connection_id":217761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:18:26] local.INFO: IMEI packet received {"connection_id":217761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":217761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:18:27] local.INFO: TCP Data received {"connection_id":217761,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:18:27] local.INFO: Processing buffer {"connection_id":217761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:18:27] local.INFO: Packet analysis {"connection_id":217761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:18:27] local.INFO: Extracted packet for processing {"connection_id":217761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778639616001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104362000,"timestamp_ms":1792104362000,"timestamp_seconds":1792104362,"priority":1,"record_length":96,"hex_timestamp":"000001a141be7010"} 
[2026-10-16 04:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778639616001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778639616001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:18:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778639616001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":217761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:18:27] local.INFO: GPS data processed {"connection_id":217761,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:18:27] local.INFO: Acknowledgment sent {"connection_id":217761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:18:56] local.INFO: TCP Data received {"connection_id":216211,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:18:56] local.INFO: Processing buffer {"connection_id":216211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:18:56] local.INFO: Packet analysis {"connection_id":216211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:18:56] local.INFO: Extracted packet for processing {"connection_id":216211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778651648001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792104409000,"timestamp_ms":1792104409000,"timestamp_seconds":1792104409,"priority":1,"record_length":96,"hex_timestamp":"000001a141bf27a8"} 
[2026-10-16 04:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 04:18:56] 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-10-16 04:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778651648001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778651648001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:18:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:18:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778651648001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":216211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:18:56] local.INFO: GPS data processed {"connection_id":216211,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:18:56] local.INFO: Acknowledgment sent {"connection_id":216211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:18:59] local.INFO: TCP Data received {"connection_id":217761,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:18:59] local.INFO: Processing buffer {"connection_id":217761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:18:59] local.INFO: Packet analysis {"connection_id":217761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:18:59] local.INFO: Extracted packet for processing {"connection_id":217761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778639616001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792104362000,"timestamp_ms":1792104362000,"timestamp_seconds":1792104362,"priority":1,"record_length":96,"hex_timestamp":"000001a141be7010"} 
[2026-10-16 04:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:18:59] 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-10-16 04:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778639616001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778639616001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:18:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:18:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778639616001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":217761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:18:59] local.INFO: GPS data processed {"connection_id":217761,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:18:59] local.INFO: Acknowledgment sent {"connection_id":217761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:19:17] local.INFO: TCP Data received {"connection_id":216404,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:19:17] local.INFO: Processing buffer {"connection_id":216404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:19:17] local.INFO: IMEI packet received {"connection_id":216404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":216404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:19:21] local.INFO: TCP Data received {"connection_id":216212,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:19:21] local.INFO: Processing buffer {"connection_id":216212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:19:21] local.INFO: IMEI packet received {"connection_id":216212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":216212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:19:23] local.INFO: TCP Data received {"connection_id":216404,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:19:23] local.INFO: Processing buffer {"connection_id":216404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:19:23] local.INFO: IMEI packet received {"connection_id":216404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":216404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:19:24] local.INFO: TCP Data received {"connection_id":216404,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:19:24] local.INFO: Processing buffer {"connection_id":216404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:19:24] local.INFO: Packet analysis {"connection_id":216404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:19:24] local.INFO: Extracted packet for processing {"connection_id":216404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778651648001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792104409000,"timestamp_ms":1792104409000,"timestamp_seconds":1792104409,"priority":1,"record_length":96,"hex_timestamp":"000001a141bf27a8"} 
[2026-10-16 04:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 04:19:24] 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-10-16 04:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778651648001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778651648001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:19:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:19:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778651648001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":216404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:19:24] local.INFO: GPS data processed {"connection_id":216404,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:19:24] local.INFO: Acknowledgment sent {"connection_id":216404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:19:26] local.INFO: TCP Data received {"connection_id":216212,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:19:26] local.INFO: Processing buffer {"connection_id":216212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:19:26] local.INFO: IMEI packet received {"connection_id":216212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":216212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:19:27] local.INFO: TCP Data received {"connection_id":216212,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:19:27] local.INFO: Processing buffer {"connection_id":216212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:19:27] local.INFO: Packet analysis {"connection_id":216212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:19:27] local.INFO: Extracted packet for processing {"connection_id":216212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778639616001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104362000,"timestamp_ms":1792104362000,"timestamp_seconds":1792104362,"priority":1,"record_length":96,"hex_timestamp":"000001a141be7010"} 
[2026-10-16 04:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778639616001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778639616001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:19:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778639616001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":216212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:19:27] local.INFO: GPS data processed {"connection_id":216212,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:19:27] local.INFO: Acknowledgment sent {"connection_id":216212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:19:55] local.INFO: TCP Data received {"connection_id":217762,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:19:55] local.INFO: Processing buffer {"connection_id":217762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:19:55] local.INFO: IMEI packet received {"connection_id":217762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":217762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:19:55] local.INFO: TCP Data received {"connection_id":216404,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:19:55] local.INFO: Processing buffer {"connection_id":216404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:19:55] local.INFO: Packet analysis {"connection_id":216404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:19:55] local.INFO: Extracted packet for processing {"connection_id":216404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778651648001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792104409000,"timestamp_ms":1792104409000,"timestamp_seconds":1792104409,"priority":1,"record_length":96,"hex_timestamp":"000001a141bf27a8"} 
[2026-10-16 04:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 04:19:55] 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-10-16 04:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778651648001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778651648001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:19:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:19:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778651648001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":216404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:19:55] local.INFO: GPS data processed {"connection_id":216404,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:19:55] local.INFO: Acknowledgment sent {"connection_id":216404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:19:58] local.INFO: TCP Data received {"connection_id":216212,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:19:58] local.INFO: Processing buffer {"connection_id":216212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:19:58] local.INFO: Packet analysis {"connection_id":216212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:19:58] local.INFO: Extracted packet for processing {"connection_id":216212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778639616001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792104362000,"timestamp_ms":1792104362000,"timestamp_seconds":1792104362,"priority":1,"record_length":96,"hex_timestamp":"000001a141be7010"} 
[2026-10-16 04:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:19:58] 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-10-16 04:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778639616001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778639616001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:19:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:19:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778639616001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":216212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:19:58] local.INFO: GPS data processed {"connection_id":216212,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:19:58] local.INFO: Acknowledgment sent {"connection_id":216212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:20:17] local.INFO: TCP Data received {"connection_id":217763,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:20:17] local.INFO: Processing buffer {"connection_id":217763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:20:17] local.INFO: IMEI packet received {"connection_id":217763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":217763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:20:21] local.INFO: TCP Data received {"connection_id":216405,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:20:21] local.INFO: Processing buffer {"connection_id":216405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:20:21] local.INFO: IMEI packet received {"connection_id":216405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":216405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:20:23] local.INFO: TCP Data received {"connection_id":217763,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:20:23] local.INFO: Processing buffer {"connection_id":217763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:20:23] local.INFO: IMEI packet received {"connection_id":217763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":217763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:20:24] local.INFO: TCP Data received {"connection_id":217763,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:20:24] local.INFO: Processing buffer {"connection_id":217763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:20:24] local.INFO: Packet analysis {"connection_id":217763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:20:24] local.INFO: Extracted packet for processing {"connection_id":217763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778651648001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792104409000,"timestamp_ms":1792104409000,"timestamp_seconds":1792104409,"priority":1,"record_length":96,"hex_timestamp":"000001a141bf27a8"} 
[2026-10-16 04:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 04:20:24] 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-10-16 04:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778651648001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778651648001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:20:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:20:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778651648001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":217763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:20:24] local.INFO: GPS data processed {"connection_id":217763,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:20:24] local.INFO: Acknowledgment sent {"connection_id":217763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:20:26] local.INFO: TCP Data received {"connection_id":216405,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:20:26] local.INFO: Processing buffer {"connection_id":216405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:20:26] local.INFO: IMEI packet received {"connection_id":216405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":216405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:20:29] local.INFO: TCP Data received {"connection_id":216405,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:20:29] local.INFO: Processing buffer {"connection_id":216405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:20:29] local.INFO: Packet analysis {"connection_id":216405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:20:29] local.INFO: Extracted packet for processing {"connection_id":216405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778639616001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792104362000,"timestamp_ms":1792104362000,"timestamp_seconds":1792104362,"priority":1,"record_length":96,"hex_timestamp":"000001a141be7010"} 
[2026-10-16 04:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:20:29] 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-10-16 04:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:20: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-10-16 04:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778639616001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778639616001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:20:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778639616001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":216405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:20:30] local.INFO: GPS data processed {"connection_id":216405,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:20:30] local.INFO: Acknowledgment sent {"connection_id":216405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:20:56] local.INFO: TCP Data received {"connection_id":217763,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:20:56] local.INFO: Processing buffer {"connection_id":217763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:20:56] local.INFO: Packet analysis {"connection_id":217763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:20:56] local.INFO: Extracted packet for processing {"connection_id":217763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778651648001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792104409000,"timestamp_ms":1792104409000,"timestamp_seconds":1792104409,"priority":1,"record_length":96,"hex_timestamp":"000001a141bf27a8"} 
[2026-10-16 04:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 04:20:56] 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-10-16 04:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778651648001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778651648001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:20:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:20:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778651648001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":217763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:20:56] local.INFO: GPS data processed {"connection_id":217763,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:20:56] local.INFO: Acknowledgment sent {"connection_id":217763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:21:01] local.INFO: TCP Data received {"connection_id":216405,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:21:01] local.INFO: Processing buffer {"connection_id":216405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141be7010012d7c240005dad510000700ea23..."} 
[2026-10-16 04:21:01] local.INFO: Packet analysis {"connection_id":216405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:21:01] local.INFO: Extracted packet for processing {"connection_id":216405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141be"} 
[2026-10-16 04:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778639616001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792104362000,"timestamp_ms":1792104362000,"timestamp_seconds":1792104362,"priority":1,"record_length":96,"hex_timestamp":"000001a141be7010"} 
[2026-10-16 04:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:21:01] 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-10-16 04: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-10-16 04:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778639616001,"66":12515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778639616001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:21:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778639616001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":216405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:21:01] local.INFO: GPS data processed {"connection_id":216405,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:21:01] local.INFO: Acknowledgment sent {"connection_id":216405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:21:21] local.INFO: TCP Data received {"connection_id":219484,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:21:21] local.INFO: Processing buffer {"connection_id":219484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:21:21] local.INFO: IMEI packet received {"connection_id":219484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":219484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:21:23] local.INFO: TCP Data received {"connection_id":219483,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:21:23] local.INFO: Processing buffer {"connection_id":219483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:21:23] local.INFO: IMEI packet received {"connection_id":219483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":219483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:21:26] local.INFO: TCP Data received {"connection_id":219484,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:21:26] local.INFO: Processing buffer {"connection_id":219484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:21:26] local.INFO: IMEI packet received {"connection_id":219484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":219484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:21:27] local.INFO: TCP Data received {"connection_id":219483,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:21:27] local.INFO: Processing buffer {"connection_id":219483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:21:27] local.INFO: IMEI packet received {"connection_id":219483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":219483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:21:27] local.INFO: TCP Data received {"connection_id":219484,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:21:27] local.INFO: Processing buffer {"connection_id":219484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:21:27] local.INFO: Packet analysis {"connection_id":219484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:21:27] local.INFO: Extracted packet for processing {"connection_id":219484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778716672001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104663000,"timestamp_ms":1792104663000,"timestamp_seconds":1792104663,"priority":1,"record_length":96,"hex_timestamp":"000001a141c307d8"} 
[2026-10-16 04:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778716672001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778716672001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:21:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778716672001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":219484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:21:27] local.INFO: GPS data processed {"connection_id":219484,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:21:27] local.INFO: Acknowledgment sent {"connection_id":219484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:21:28] local.INFO: TCP Data received {"connection_id":219483,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:21:28] local.INFO: Processing buffer {"connection_id":219483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:21:28] local.INFO: Packet analysis {"connection_id":219483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:21:28] local.INFO: Extracted packet for processing {"connection_id":219483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778651648001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792104409000,"timestamp_ms":1792104409000,"timestamp_seconds":1792104409,"priority":1,"record_length":96,"hex_timestamp":"000001a141bf27a8"} 
[2026-10-16 04:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 04:21:28] 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-10-16 04:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778651648001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778651648001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:21:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:21:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778651648001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":219483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:21:28] local.INFO: GPS data processed {"connection_id":219483,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:21:28] local.INFO: Acknowledgment sent {"connection_id":219483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:21:34] local.INFO: TCP Data received {"connection_id":219483,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:21:34] local.INFO: Processing buffer {"connection_id":219483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:21:34] local.INFO: Packet analysis {"connection_id":219483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:21:34] local.INFO: Extracted packet for processing {"connection_id":219483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778651648001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792104409000,"timestamp_ms":1792104409000,"timestamp_seconds":1792104409,"priority":1,"record_length":96,"hex_timestamp":"000001a141bf27a8"} 
[2026-10-16 04:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 04:21:34] 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-10-16 04:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778651648001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778651648001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:21:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:21:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778651648001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":219483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:21:34] local.INFO: GPS data processed {"connection_id":219483,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:21:34] local.INFO: Acknowledgment sent {"connection_id":219483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:21:58] local.INFO: TCP Data received {"connection_id":219484,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:21:58] local.INFO: Processing buffer {"connection_id":219484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:21:58] local.INFO: Packet analysis {"connection_id":219484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:21:58] local.INFO: Extracted packet for processing {"connection_id":219484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778716672001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792104663000,"timestamp_ms":1792104663000,"timestamp_seconds":1792104663,"priority":1,"record_length":96,"hex_timestamp":"000001a141c307d8"} 
[2026-10-16 04:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:21:58] 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-10-16 04:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778716672001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778716672001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:21:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:21:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778716672001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":219484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:21:58] local.INFO: GPS data processed {"connection_id":219484,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:21:58] local.INFO: Acknowledgment sent {"connection_id":219484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:22:18] local.INFO: TCP Data received {"connection_id":216213,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:22:18] local.INFO: Processing buffer {"connection_id":216213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:22:18] local.INFO: IMEI packet received {"connection_id":216213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":216213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:22:23] local.INFO: TCP Data received {"connection_id":216213,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:22:23] local.INFO: Processing buffer {"connection_id":216213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:22:23] local.INFO: IMEI packet received {"connection_id":216213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":216213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:22:24] local.INFO: TCP Data received {"connection_id":216213,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:22:24] local.INFO: Processing buffer {"connection_id":216213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141bf27a8012d7f98c005afddb00000002f26..."} 
[2026-10-16 04:22:24] local.INFO: Packet analysis {"connection_id":216213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:22:24] local.INFO: Extracted packet for processing {"connection_id":216213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141bf"} 
[2026-10-16 04:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778651648001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792104409000,"timestamp_ms":1792104409000,"timestamp_seconds":1792104409,"priority":1,"record_length":96,"hex_timestamp":"000001a141bf27a8"} 
[2026-10-16 04:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 04:22:24] 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-10-16 04:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778651648001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778651648001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:22:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:22:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778651648001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":216213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:22:24] local.INFO: GPS data processed {"connection_id":216213,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:22:24] local.INFO: Acknowledgment sent {"connection_id":216213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:22:26] local.INFO: TCP Data received {"connection_id":216214,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:22:26] local.INFO: Processing buffer {"connection_id":216214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:22:26] local.INFO: IMEI packet received {"connection_id":216214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":216214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:22:31] local.INFO: TCP Data received {"connection_id":216214,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:22:31] local.INFO: Processing buffer {"connection_id":216214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:22:31] local.INFO: IMEI packet received {"connection_id":216214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":216214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:22:32] local.INFO: TCP Data received {"connection_id":216214,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:22:32] local.INFO: Processing buffer {"connection_id":216214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:22:32] local.INFO: Packet analysis {"connection_id":216214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:22:32] local.INFO: Extracted packet for processing {"connection_id":216214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778716672001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792104663000,"timestamp_ms":1792104663000,"timestamp_seconds":1792104663,"priority":1,"record_length":96,"hex_timestamp":"000001a141c307d8"} 
[2026-10-16 04:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:22:32] 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-10-16 04:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778716672001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778716672001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:22:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778716672001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":216214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:22:32] local.INFO: GPS data processed {"connection_id":216214,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:22:32] local.INFO: Acknowledgment sent {"connection_id":216214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:22:37] local.INFO: TCP Data received {"connection_id":216214,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:22:37] local.INFO: Processing buffer {"connection_id":216214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:22:37] local.INFO: Packet analysis {"connection_id":216214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:22:37] local.INFO: Extracted packet for processing {"connection_id":216214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778716672001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792104663000,"timestamp_ms":1792104663000,"timestamp_seconds":1792104663,"priority":1,"record_length":96,"hex_timestamp":"000001a141c307d8"} 
[2026-10-16 04:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:22:37] 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-10-16 04: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-10-16 04:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778716672001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778716672001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:22:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778716672001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":216214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:22:37] local.INFO: GPS data processed {"connection_id":216214,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:22:37] local.INFO: Acknowledgment sent {"connection_id":216214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:22:56] local.INFO: TCP Data received {"connection_id":216213,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:22:56] local.INFO: Processing buffer {"connection_id":216213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:22:56] local.INFO: Packet analysis {"connection_id":216213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:22:56] local.INFO: Extracted packet for processing {"connection_id":216213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778728704001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792104710000,"timestamp_ms":1792104710000,"timestamp_seconds":1792104710,"priority":1,"record_length":96,"hex_timestamp":"000001a141c3bf70"} 
[2026-10-16 04:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:22:56] 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-10-16 04:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778728704001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778728704001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:22:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:22:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778728704001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":216213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:22:56] local.INFO: GPS data processed {"connection_id":216213,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:22:56] local.INFO: Acknowledgment sent {"connection_id":216213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:23:17] local.INFO: TCP Data received {"connection_id":216408,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:23:17] local.INFO: Processing buffer {"connection_id":216408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:23:17] local.INFO: IMEI packet received {"connection_id":216408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":216408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:23:21] local.INFO: TCP Data received {"connection_id":217764,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:23:21] local.INFO: Processing buffer {"connection_id":217764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:23:21] local.INFO: IMEI packet received {"connection_id":217764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":217764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:23:23] local.INFO: TCP Data received {"connection_id":216408,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:23:23] local.INFO: Processing buffer {"connection_id":216408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:23:23] local.INFO: IMEI packet received {"connection_id":216408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":216408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:23:25] local.INFO: TCP Data received {"connection_id":216408,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:23:25] local.INFO: Processing buffer {"connection_id":216408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:23:25] local.INFO: Packet analysis {"connection_id":216408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:23:25] local.INFO: Extracted packet for processing {"connection_id":216408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778728704001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792104710000,"timestamp_ms":1792104710000,"timestamp_seconds":1792104710,"priority":1,"record_length":96,"hex_timestamp":"000001a141c3bf70"} 
[2026-10-16 04:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:23:25] 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-10-16 04:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778728704001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778728704001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:23:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:23:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778728704001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":216408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:23:25] local.INFO: GPS data processed {"connection_id":216408,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:23:25] local.INFO: Acknowledgment sent {"connection_id":216408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:23:26] local.INFO: TCP Data received {"connection_id":217764,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:23:26] local.INFO: Processing buffer {"connection_id":217764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:23:26] local.INFO: IMEI packet received {"connection_id":217764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":217764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:23:27] local.INFO: TCP Data received {"connection_id":217764,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:23:27] local.INFO: Processing buffer {"connection_id":217764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:23:27] local.INFO: Packet analysis {"connection_id":217764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:23:27] local.INFO: Extracted packet for processing {"connection_id":217764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778716672001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104663000,"timestamp_ms":1792104663000,"timestamp_seconds":1792104663,"priority":1,"record_length":96,"hex_timestamp":"000001a141c307d8"} 
[2026-10-16 04:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778716672001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778716672001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:23:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778716672001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":217764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:23:27] local.INFO: GPS data processed {"connection_id":217764,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:23:27] local.INFO: Acknowledgment sent {"connection_id":217764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:23:57] local.INFO: TCP Data received {"connection_id":216408,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:23:57] local.INFO: Processing buffer {"connection_id":216408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:23:57] local.INFO: Packet analysis {"connection_id":216408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:23:57] local.INFO: Extracted packet for processing {"connection_id":216408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778728704001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792104710000,"timestamp_ms":1792104710000,"timestamp_seconds":1792104710,"priority":1,"record_length":96,"hex_timestamp":"000001a141c3bf70"} 
[2026-10-16 04:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:23:57] 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-10-16 04:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778728704001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778728704001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:23:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:23:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778728704001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":216408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:23:57] local.INFO: GPS data processed {"connection_id":216408,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:23:57] local.INFO: Acknowledgment sent {"connection_id":216408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:23:58] local.INFO: TCP Data received {"connection_id":217764,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:23:58] local.INFO: Processing buffer {"connection_id":217764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:23:58] local.INFO: Packet analysis {"connection_id":217764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:23:58] local.INFO: Extracted packet for processing {"connection_id":217764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778716672001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792104663000,"timestamp_ms":1792104663000,"timestamp_seconds":1792104663,"priority":1,"record_length":96,"hex_timestamp":"000001a141c307d8"} 
[2026-10-16 04:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:23:58] 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-10-16 04:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778716672001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778716672001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:23:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778716672001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":217764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:23:59] local.INFO: GPS data processed {"connection_id":217764,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:23:59] local.INFO: Acknowledgment sent {"connection_id":217764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:24:23] local.INFO: TCP Data received {"connection_id":216409,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:24:23] local.INFO: Processing buffer {"connection_id":216409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:24:23] local.INFO: IMEI packet received {"connection_id":216409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":216409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:24:24] local.INFO: TCP Data received {"connection_id":219486,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:24:24] local.INFO: Processing buffer {"connection_id":219486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:24:24] local.INFO: IMEI packet received {"connection_id":219486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":219486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:24:26] local.INFO: TCP Data received {"connection_id":219486,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:24:26] local.INFO: Processing buffer {"connection_id":219486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:24:26] local.INFO: IMEI packet received {"connection_id":219486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":219486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:24:28] local.INFO: TCP Data received {"connection_id":216409,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:24:28] local.INFO: Processing buffer {"connection_id":216409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:24:28] local.INFO: IMEI packet received {"connection_id":216409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":216409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:24:28] local.INFO: TCP Data received {"connection_id":216409,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:24:29] local.INFO: Processing buffer {"connection_id":216409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:24:29] local.INFO: Packet analysis {"connection_id":216409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:24:29] local.INFO: Extracted packet for processing {"connection_id":216409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778728704001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792104710000,"timestamp_ms":1792104710000,"timestamp_seconds":1792104710,"priority":1,"record_length":96,"hex_timestamp":"000001a141c3bf70"} 
[2026-10-16 04:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:24:29] 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-10-16 04:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778728704001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778728704001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:24:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:24:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778728704001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":216409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:24:29] local.INFO: GPS data processed {"connection_id":216409,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:24:29] local.INFO: Acknowledgment sent {"connection_id":216409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:24:33] local.INFO: TCP Data received {"connection_id":216409,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:24:33] local.INFO: Processing buffer {"connection_id":216409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:24:33] local.INFO: Packet analysis {"connection_id":216409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:24:33] local.INFO: Extracted packet for processing {"connection_id":216409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778728704001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792104710000,"timestamp_ms":1792104710000,"timestamp_seconds":1792104710,"priority":1,"record_length":96,"hex_timestamp":"000001a141c3bf70"} 
[2026-10-16 04:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:24:33] 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-10-16 04:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778728704001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778728704001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:24:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:24:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778728704001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":216409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:24:33] local.INFO: GPS data processed {"connection_id":216409,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:24:33] local.INFO: Acknowledgment sent {"connection_id":216409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:24:44] local.INFO: TCP Data received {"connection_id":219486,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:24:44] local.INFO: Processing buffer {"connection_id":219486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:24:44] local.INFO: Packet analysis {"connection_id":219486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:24:44] local.INFO: Extracted packet for processing {"connection_id":219486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778716672001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792104663000,"timestamp_ms":1792104663000,"timestamp_seconds":1792104663,"priority":1,"record_length":96,"hex_timestamp":"000001a141c307d8"} 
[2026-10-16 04:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:24: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-10-16 04:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:24:44] 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-10-16 04: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-10-16 04:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:24: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-10-16 04:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778716672001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778716672001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:24:44] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778716672001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":219486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:24:44] local.INFO: GPS data processed {"connection_id":219486,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:24:44] local.INFO: Acknowledgment sent {"connection_id":219486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:24:45] local.INFO: TCP Data received {"connection_id":219486,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:24:45] local.INFO: Processing buffer {"connection_id":219486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:24:45] local.INFO: Packet analysis {"connection_id":219486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:24:45] local.INFO: Extracted packet for processing {"connection_id":219486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778716672001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792104663000,"timestamp_ms":1792104663000,"timestamp_seconds":1792104663,"priority":1,"record_length":96,"hex_timestamp":"000001a141c307d8"} 
[2026-10-16 04:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04: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-10-16 04: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:24:45] 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-10-16 04: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-10-16 04:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":219486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":219486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":219486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:24: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-10-16 04:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778716672001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778716672001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:24:45] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:24:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778716672001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":219486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:24:45] local.INFO: GPS data processed {"connection_id":219486,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:24:45] local.INFO: Acknowledgment sent {"connection_id":219486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:25:18] local.INFO: TCP Data received {"connection_id":216410,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:25:18] local.INFO: Processing buffer {"connection_id":216410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:25:18] local.INFO: IMEI packet received {"connection_id":216410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":216410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:25:22] local.INFO: TCP Data received {"connection_id":219487,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:25:22] local.INFO: Processing buffer {"connection_id":219487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:25:22] local.INFO: IMEI packet received {"connection_id":219487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":219487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:25:22] local.INFO: TCP Data received {"connection_id":216215,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:25:22] local.INFO: Processing buffer {"connection_id":216215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:25:22] local.INFO: IMEI packet received {"connection_id":216215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":216215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:25:23] local.INFO: TCP Data received {"connection_id":216410,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:25:23] local.INFO: Processing buffer {"connection_id":216410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:25:23] local.INFO: IMEI packet received {"connection_id":216410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":216410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:25:25] local.INFO: TCP Data received {"connection_id":216410,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:25:25] local.INFO: Processing buffer {"connection_id":216410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:25:25] local.INFO: Packet analysis {"connection_id":216410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:25:25] local.INFO: Extracted packet for processing {"connection_id":216410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778728704001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792104710000,"timestamp_ms":1792104710000,"timestamp_seconds":1792104710,"priority":1,"record_length":96,"hex_timestamp":"000001a141c3bf70"} 
[2026-10-16 04:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:25:25] 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-10-16 04: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-10-16 04:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778728704001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778728704001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:25:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:25:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778728704001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":216410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:25:25] local.INFO: GPS data processed {"connection_id":216410,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:25:25] local.INFO: Acknowledgment sent {"connection_id":216410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:25:26] local.INFO: TCP Data received {"connection_id":219487,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:25:26] local.INFO: Processing buffer {"connection_id":219487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:25:26] local.INFO: IMEI packet received {"connection_id":219487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":219487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:25:27] local.INFO: TCP Data received {"connection_id":219487,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:25:27] local.INFO: Processing buffer {"connection_id":219487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:25:27] local.INFO: Packet analysis {"connection_id":219487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:25:27] local.INFO: Extracted packet for processing {"connection_id":219487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778716672001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104663000,"timestamp_ms":1792104663000,"timestamp_seconds":1792104663,"priority":1,"record_length":96,"hex_timestamp":"000001a141c307d8"} 
[2026-10-16 04:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778716672001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778716672001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:25:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778716672001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":219487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:25:27] local.INFO: GPS data processed {"connection_id":219487,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:25:27] local.INFO: Acknowledgment sent {"connection_id":219487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:25:52] local.INFO: TCP Data received {"connection_id":216411,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:25:52] local.INFO: Processing buffer {"connection_id":216411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:25:52] local.INFO: IMEI packet received {"connection_id":216411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":216411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:25:56] local.INFO: TCP Data received {"connection_id":216410,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:25:56] local.INFO: Processing buffer {"connection_id":216410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:25:56] local.INFO: Packet analysis {"connection_id":216410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:25:56] local.INFO: Extracted packet for processing {"connection_id":216410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778728704001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792104710000,"timestamp_ms":1792104710000,"timestamp_seconds":1792104710,"priority":1,"record_length":96,"hex_timestamp":"000001a141c3bf70"} 
[2026-10-16 04:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:25:56] 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-10-16 04:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778728704001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778728704001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:25:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:25:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778728704001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":216410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:25:56] local.INFO: GPS data processed {"connection_id":216410,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:25:56] local.INFO: Acknowledgment sent {"connection_id":216410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:26:17] local.INFO: TCP Data received {"connection_id":216412,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:26:17] local.INFO: Processing buffer {"connection_id":216412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:26:17] local.INFO: IMEI packet received {"connection_id":216412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":216412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:26:21] local.INFO: TCP Data received {"connection_id":216216,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:26:21] local.INFO: Processing buffer {"connection_id":216216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:26:21] local.INFO: IMEI packet received {"connection_id":216216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":216216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:26:23] local.INFO: TCP Data received {"connection_id":216412,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:26:23] local.INFO: Processing buffer {"connection_id":216412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:26:23] local.INFO: IMEI packet received {"connection_id":216412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":216412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:26:24] local.INFO: TCP Data received {"connection_id":216412,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:26:24] local.INFO: Processing buffer {"connection_id":216412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:26:24] local.INFO: Packet analysis {"connection_id":216412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:26:24] local.INFO: Extracted packet for processing {"connection_id":216412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778728704001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792104710000,"timestamp_ms":1792104710000,"timestamp_seconds":1792104710,"priority":1,"record_length":96,"hex_timestamp":"000001a141c3bf70"} 
[2026-10-16 04:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:26:24] 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-10-16 04:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778728704001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778728704001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:26:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:26:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778728704001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":216412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:26:24] local.INFO: GPS data processed {"connection_id":216412,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:26:24] local.INFO: Acknowledgment sent {"connection_id":216412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:26:27] local.INFO: TCP Data received {"connection_id":219487,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:26:27] local.INFO: Processing buffer {"connection_id":219487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c307d8012d7c240005dad510000700ea25..."} 
[2026-10-16 04:26:27] local.INFO: Packet analysis {"connection_id":219487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:26:27] local.INFO: Extracted packet for processing {"connection_id":219487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778716672001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104663000,"timestamp_ms":1792104663000,"timestamp_seconds":1792104663,"priority":1,"record_length":96,"hex_timestamp":"000001a141c307d8"} 
[2026-10-16 04:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 04:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778716672001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778716672001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:26:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778716672001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":219487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:26:27] local.INFO: GPS data processed {"connection_id":219487,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:26:27] local.INFO: Acknowledgment sent {"connection_id":219487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:26:27] local.INFO: TCP Data received {"connection_id":216216,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:26:27] local.INFO: Processing buffer {"connection_id":216216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:26:27] local.INFO: IMEI packet received {"connection_id":216216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":216216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:26:28] local.INFO: TCP Data received {"connection_id":216216,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:26:28] local.INFO: Processing buffer {"connection_id":216216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:26:28] local.INFO: Packet analysis {"connection_id":216216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:26:28] local.INFO: Extracted packet for processing {"connection_id":216216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778793728001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792104964000,"timestamp_ms":1792104964000,"timestamp_seconds":1792104964,"priority":1,"record_length":96,"hex_timestamp":"000001a141c79fa0"} 
[2026-10-16 04:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:26: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-10-16 04:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778793728001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778793728001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:26:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778793728001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":216216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:26:28] local.INFO: GPS data processed {"connection_id":216216,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:26:28] local.INFO: Acknowledgment sent {"connection_id":216216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:26:56] local.INFO: TCP Data received {"connection_id":216412,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:26:56] local.INFO: Processing buffer {"connection_id":216412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:26:56] local.INFO: Packet analysis {"connection_id":216412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:26:56] local.INFO: Extracted packet for processing {"connection_id":216412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778728704001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792104710000,"timestamp_ms":1792104710000,"timestamp_seconds":1792104710,"priority":1,"record_length":96,"hex_timestamp":"000001a141c3bf70"} 
[2026-10-16 04:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:26:56] 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-10-16 04:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778728704001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778728704001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:26:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:26:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778728704001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":216412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:26:56] local.INFO: GPS data processed {"connection_id":216412,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:26:56] local.INFO: Acknowledgment sent {"connection_id":216412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:26:59] local.INFO: TCP Data received {"connection_id":216216,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:26:59] local.INFO: Processing buffer {"connection_id":216216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:26:59] local.INFO: Packet analysis {"connection_id":216216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:26:59] local.INFO: Extracted packet for processing {"connection_id":216216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778793728001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792104964000,"timestamp_ms":1792104964000,"timestamp_seconds":1792104964,"priority":1,"record_length":96,"hex_timestamp":"000001a141c79fa0"} 
[2026-10-16 04:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778793728001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778793728001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:26:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778793728001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":216216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:26:59] local.INFO: GPS data processed {"connection_id":216216,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:26:59] local.INFO: Acknowledgment sent {"connection_id":216216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:27:17] local.INFO: TCP Data received {"connection_id":216217,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:27:17] local.INFO: Processing buffer {"connection_id":216217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:27:17] local.INFO: IMEI packet received {"connection_id":216217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":216217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:27:21] local.INFO: TCP Data received {"connection_id":216414,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:27:21] local.INFO: Processing buffer {"connection_id":216414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:27:21] local.INFO: IMEI packet received {"connection_id":216414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":216414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:27:23] local.INFO: TCP Data received {"connection_id":216217,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:27:23] local.INFO: Processing buffer {"connection_id":216217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:27:23] local.INFO: IMEI packet received {"connection_id":216217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":216217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:27:24] local.INFO: TCP Data received {"connection_id":216217,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:27:24] local.INFO: Processing buffer {"connection_id":216217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c3bf70012d7f98c005afddb00000002f24..."} 
[2026-10-16 04:27:24] local.INFO: Packet analysis {"connection_id":216217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:27:24] local.INFO: Extracted packet for processing {"connection_id":216217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c3"} 
[2026-10-16 04:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:27: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-10-16 04:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778728704001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792104710000,"timestamp_ms":1792104710000,"timestamp_seconds":1792104710,"priority":1,"record_length":96,"hex_timestamp":"000001a141c3bf70"} 
[2026-10-16 04:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:27:24] 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-10-16 04:27: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-10-16 04:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778728704001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778728704001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:27:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:27:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778728704001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":216217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:27:24] local.INFO: GPS data processed {"connection_id":216217,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:27:24] local.INFO: Acknowledgment sent {"connection_id":216217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:27:26] local.INFO: TCP Data received {"connection_id":216414,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:27:26] local.INFO: Processing buffer {"connection_id":216414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:27:26] local.INFO: IMEI packet received {"connection_id":216414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":216414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:27:27] local.INFO: TCP Data received {"connection_id":216414,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:27:27] local.INFO: Processing buffer {"connection_id":216414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:27:27] local.INFO: Packet analysis {"connection_id":216414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:27:27] local.INFO: Extracted packet for processing {"connection_id":216414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778793728001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104964000,"timestamp_ms":1792104964000,"timestamp_seconds":1792104964,"priority":1,"record_length":96,"hex_timestamp":"000001a141c79fa0"} 
[2026-10-16 04:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778793728001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778793728001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:27:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778793728001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":216414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:27:27] local.INFO: GPS data processed {"connection_id":216414,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:27:27] local.INFO: Acknowledgment sent {"connection_id":216414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:27:55] local.INFO: TCP Data received {"connection_id":216217,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:27:55] local.INFO: Processing buffer {"connection_id":216217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:27:55] local.INFO: Packet analysis {"connection_id":216217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:27:55] local.INFO: Extracted packet for processing {"connection_id":216217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778805760001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792105011000,"timestamp_ms":1792105011000,"timestamp_seconds":1792105011,"priority":1,"record_length":96,"hex_timestamp":"000001a141c85738"} 
[2026-10-16 04:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:27: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-10-16 04:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778805760001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778805760001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:27:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:27:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778805760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":216217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:27:55] local.INFO: GPS data processed {"connection_id":216217,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:27:55] local.INFO: Acknowledgment sent {"connection_id":216217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:28:01] local.INFO: TCP Data received {"connection_id":216414,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:28:01] local.INFO: Processing buffer {"connection_id":216414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:28:01] local.INFO: Packet analysis {"connection_id":216414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:28:01] local.INFO: Extracted packet for processing {"connection_id":216414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778793728001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792104964000,"timestamp_ms":1792104964000,"timestamp_seconds":1792104964,"priority":1,"record_length":96,"hex_timestamp":"000001a141c79fa0"} 
[2026-10-16 04:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:28:01] 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-10-16 04:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778793728001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778793728001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:28:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778793728001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":216414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:28:01] local.INFO: GPS data processed {"connection_id":216414,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:28:01] local.INFO: Acknowledgment sent {"connection_id":216414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:28:17] local.INFO: TCP Data received {"connection_id":219488,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:28:17] local.INFO: Processing buffer {"connection_id":219488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:28:17] local.INFO: IMEI packet received {"connection_id":219488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":219488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:28:23] local.INFO: TCP Data received {"connection_id":219488,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:28:23] local.INFO: Processing buffer {"connection_id":219488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:28:23] local.INFO: IMEI packet received {"connection_id":219488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":219488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:28:24] local.INFO: TCP Data received {"connection_id":219488,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:28:24] local.INFO: Processing buffer {"connection_id":219488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:28:24] local.INFO: Packet analysis {"connection_id":219488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:28:24] local.INFO: Extracted packet for processing {"connection_id":219488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778805760001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105011000,"timestamp_ms":1792105011000,"timestamp_seconds":1792105011,"priority":1,"record_length":96,"hex_timestamp":"000001a141c85738"} 
[2026-10-16 04:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:28:24] 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-10-16 04: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-10-16 04:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778805760001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778805760001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:28:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:28:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778805760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":219488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:28:24] local.INFO: GPS data processed {"connection_id":219488,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:28:24] local.INFO: Acknowledgment sent {"connection_id":219488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:28:26] local.INFO: TCP Data received {"connection_id":219489,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:28:26] local.INFO: Processing buffer {"connection_id":219489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:28:26] local.INFO: IMEI packet received {"connection_id":219489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":219489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:28:31] local.INFO: TCP Data received {"connection_id":219489,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:28:31] local.INFO: Processing buffer {"connection_id":219489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:28:31] local.INFO: IMEI packet received {"connection_id":219489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":219489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:28:32] local.INFO: TCP Data received {"connection_id":219489,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:28:32] local.INFO: Processing buffer {"connection_id":219489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:28:32] local.INFO: Packet analysis {"connection_id":219489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:28:32] local.INFO: Extracted packet for processing {"connection_id":219489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778793728001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792104964000,"timestamp_ms":1792104964000,"timestamp_seconds":1792104964,"priority":1,"record_length":96,"hex_timestamp":"000001a141c79fa0"} 
[2026-10-16 04:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778793728001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778793728001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:28:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778793728001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":219489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:28:32] local.INFO: GPS data processed {"connection_id":219489,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:28:32] local.INFO: Acknowledgment sent {"connection_id":219489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:28:55] local.INFO: TCP Data received {"connection_id":219488,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:28:55] local.INFO: Processing buffer {"connection_id":219488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:28:55] local.INFO: Packet analysis {"connection_id":219488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:28:55] local.INFO: Extracted packet for processing {"connection_id":219488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778805760001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792105011000,"timestamp_ms":1792105011000,"timestamp_seconds":1792105011,"priority":1,"record_length":96,"hex_timestamp":"000001a141c85738"} 
[2026-10-16 04:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778805760001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778805760001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:28:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:28:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778805760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":219488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:28:55] local.INFO: GPS data processed {"connection_id":219488,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:28:55] local.INFO: Acknowledgment sent {"connection_id":219488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:29:03] local.INFO: TCP Data received {"connection_id":219489,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:29:03] local.INFO: Processing buffer {"connection_id":219489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:29:03] local.INFO: Packet analysis {"connection_id":219489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:29:03] local.INFO: Extracted packet for processing {"connection_id":219489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778793728001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792104964000,"timestamp_ms":1792104964000,"timestamp_seconds":1792104964,"priority":1,"record_length":96,"hex_timestamp":"000001a141c79fa0"} 
[2026-10-16 04:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:29:03] 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-10-16 04:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":219489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":219489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":219489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:29: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-10-16 04:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778793728001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778793728001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:29:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:29:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778793728001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":219489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:29:03] local.INFO: GPS data processed {"connection_id":219489,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:29:03] local.INFO: Acknowledgment sent {"connection_id":219489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:29:17] local.INFO: TCP Data received {"connection_id":216218,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:29:17] local.INFO: Processing buffer {"connection_id":216218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:29:17] local.INFO: IMEI packet received {"connection_id":216218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":216218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:29:21] local.INFO: TCP Data received {"connection_id":216416,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:29:21] local.INFO: Processing buffer {"connection_id":216416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:29:21] local.INFO: IMEI packet received {"connection_id":216416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":216416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:29:23] local.INFO: TCP Data received {"connection_id":216218,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:29:23] local.INFO: Processing buffer {"connection_id":216218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:29:23] local.INFO: IMEI packet received {"connection_id":216218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":216218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:29:24] local.INFO: TCP Data received {"connection_id":216218,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:29:24] local.INFO: Processing buffer {"connection_id":216218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:29:24] local.INFO: Packet analysis {"connection_id":216218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:29:24] local.INFO: Extracted packet for processing {"connection_id":216218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778805760001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105011000,"timestamp_ms":1792105011000,"timestamp_seconds":1792105011,"priority":1,"record_length":96,"hex_timestamp":"000001a141c85738"} 
[2026-10-16 04:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:29:24] 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-10-16 04:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778805760001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778805760001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:29:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:29:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778805760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":216218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:29:24] local.INFO: GPS data processed {"connection_id":216218,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:29:24] local.INFO: Acknowledgment sent {"connection_id":216218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:29:26] local.INFO: TCP Data received {"connection_id":216416,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:29:26] local.INFO: Processing buffer {"connection_id":216416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:29:26] local.INFO: IMEI packet received {"connection_id":216416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":216416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:29:27] local.INFO: TCP Data received {"connection_id":216416,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:29:27] local.INFO: Processing buffer {"connection_id":216416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:29:27] local.INFO: Packet analysis {"connection_id":216416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:29:27] local.INFO: Extracted packet for processing {"connection_id":216416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778793728001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104964000,"timestamp_ms":1792104964000,"timestamp_seconds":1792104964,"priority":1,"record_length":96,"hex_timestamp":"000001a141c79fa0"} 
[2026-10-16 04:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04: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-10-16 04:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778793728001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778793728001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:29:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778793728001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":216416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:29:27] local.INFO: GPS data processed {"connection_id":216416,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:29:27] local.INFO: Acknowledgment sent {"connection_id":216416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:29:55] local.INFO: TCP Data received {"connection_id":216218,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:29:55] local.INFO: Processing buffer {"connection_id":216218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:29:55] local.INFO: Packet analysis {"connection_id":216218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:29:55] local.INFO: Extracted packet for processing {"connection_id":216218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778805760001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792105011000,"timestamp_ms":1792105011000,"timestamp_seconds":1792105011,"priority":1,"record_length":96,"hex_timestamp":"000001a141c85738"} 
[2026-10-16 04:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778805760001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778805760001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:29:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:29:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778805760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":216218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:29:55] local.INFO: GPS data processed {"connection_id":216218,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:29:55] local.INFO: Acknowledgment sent {"connection_id":216218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:29:58] local.INFO: TCP Data received {"connection_id":216416,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:29:58] local.INFO: Processing buffer {"connection_id":216416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:29:58] local.INFO: Packet analysis {"connection_id":216416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:29:58] local.INFO: Extracted packet for processing {"connection_id":216416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778793728001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792104964000,"timestamp_ms":1792104964000,"timestamp_seconds":1792104964,"priority":1,"record_length":96,"hex_timestamp":"000001a141c79fa0"} 
[2026-10-16 04:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:29: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-10-16 04: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-10-16 04:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778793728001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778793728001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:29:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778793728001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":216416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:29:58] local.INFO: GPS data processed {"connection_id":216416,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:29:58] local.INFO: Acknowledgment sent {"connection_id":216416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:30:21] local.INFO: TCP Data received {"connection_id":216417,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:30:21] local.INFO: Processing buffer {"connection_id":216417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:30:21] local.INFO: IMEI packet received {"connection_id":216417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":216417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:30:23] local.INFO: TCP Data received {"connection_id":219490,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:30:23] local.INFO: Processing buffer {"connection_id":219490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:30:23] local.INFO: IMEI packet received {"connection_id":219490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":219490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:30:26] local.INFO: TCP Data received {"connection_id":216417,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:30:26] local.INFO: Processing buffer {"connection_id":216417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:30:26] local.INFO: IMEI packet received {"connection_id":216417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":216417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:30:27] local.INFO: TCP Data received {"connection_id":216417,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:30:27] local.INFO: Processing buffer {"connection_id":216417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:30:27] local.INFO: Packet analysis {"connection_id":216417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:30:27] local.INFO: Extracted packet for processing {"connection_id":216417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778793728001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792104964000,"timestamp_ms":1792104964000,"timestamp_seconds":1792104964,"priority":1,"record_length":96,"hex_timestamp":"000001a141c79fa0"} 
[2026-10-16 04:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04: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-10-16 04:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778793728001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778793728001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:30:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778793728001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":216417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:30:27] local.INFO: GPS data processed {"connection_id":216417,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:30:27] local.INFO: Acknowledgment sent {"connection_id":216417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:30:28] local.INFO: TCP Data received {"connection_id":219490,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:30:28] local.INFO: Processing buffer {"connection_id":219490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:30:28] local.INFO: IMEI packet received {"connection_id":219490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":219490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:30:29] local.INFO: TCP Data received {"connection_id":219490,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:30:29] local.INFO: Processing buffer {"connection_id":219490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:30:29] local.INFO: Packet analysis {"connection_id":219490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:30:29] local.INFO: Extracted packet for processing {"connection_id":219490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778805760001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792105011000,"timestamp_ms":1792105011000,"timestamp_seconds":1792105011,"priority":1,"record_length":96,"hex_timestamp":"000001a141c85738"} 
[2026-10-16 04:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:30:29] 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-10-16 04:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778805760001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778805760001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:30:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:30:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778805760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":219490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:30:29] local.INFO: GPS data processed {"connection_id":219490,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:30:29] local.INFO: Acknowledgment sent {"connection_id":219490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:30:33] local.INFO: TCP Data received {"connection_id":219490,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:30:33] local.INFO: Processing buffer {"connection_id":219490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:30:33] local.INFO: Packet analysis {"connection_id":219490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:30:33] local.INFO: Extracted packet for processing {"connection_id":219490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778805760001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792105011000,"timestamp_ms":1792105011000,"timestamp_seconds":1792105011,"priority":1,"record_length":96,"hex_timestamp":"000001a141c85738"} 
[2026-10-16 04:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778805760001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778805760001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:30:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:30:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778805760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":219490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:30:33] local.INFO: GPS data processed {"connection_id":219490,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:30:33] local.INFO: Acknowledgment sent {"connection_id":219490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:30:59] local.INFO: TCP Data received {"connection_id":216417,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:30:59] local.INFO: Processing buffer {"connection_id":216417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c79fa0012d7c240005dad510000700ea23..."} 
[2026-10-16 04:30:59] local.INFO: Packet analysis {"connection_id":216417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:30:59] local.INFO: Extracted packet for processing {"connection_id":216417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c7"} 
[2026-10-16 04:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778793728001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792104964000,"timestamp_ms":1792104964000,"timestamp_seconds":1792104964,"priority":1,"record_length":96,"hex_timestamp":"000001a141c79fa0"} 
[2026-10-16 04:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778793728001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778793728001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:30:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778793728001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":216417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:30:59] local.INFO: GPS data processed {"connection_id":216417,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:30:59] local.INFO: Acknowledgment sent {"connection_id":216417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:31:18] local.INFO: TCP Data received {"connection_id":216418,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:31:18] local.INFO: Processing buffer {"connection_id":216418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:31:18] local.INFO: IMEI packet received {"connection_id":216418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":216418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:31:21] local.INFO: TCP Data received {"connection_id":219491,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:31:21] local.INFO: Processing buffer {"connection_id":219491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:31:21] local.INFO: IMEI packet received {"connection_id":219491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":219491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:31:23] local.INFO: TCP Data received {"connection_id":216418,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:31:23] local.INFO: Processing buffer {"connection_id":216418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:31:23] local.INFO: IMEI packet received {"connection_id":216418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":216418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:31:25] local.INFO: TCP Data received {"connection_id":216418,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:31:25] local.INFO: Processing buffer {"connection_id":216418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:31:25] local.INFO: Packet analysis {"connection_id":216418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:31:25] local.INFO: Extracted packet for processing {"connection_id":216418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778805760001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792105011000,"timestamp_ms":1792105011000,"timestamp_seconds":1792105011,"priority":1,"record_length":96,"hex_timestamp":"000001a141c85738"} 
[2026-10-16 04:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:31:25] 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-10-16 04: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-10-16 04:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778805760001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778805760001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:31:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:31:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778805760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":216418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:31:25] local.INFO: GPS data processed {"connection_id":216418,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:31:25] local.INFO: Acknowledgment sent {"connection_id":216418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:31:26] local.INFO: TCP Data received {"connection_id":219491,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:31:26] local.INFO: Processing buffer {"connection_id":219491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:31:26] local.INFO: IMEI packet received {"connection_id":219491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":219491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:31:27] local.INFO: TCP Data received {"connection_id":219491,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:31:27] local.INFO: Processing buffer {"connection_id":219491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:31:27] local.INFO: Packet analysis {"connection_id":219491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:31:27] local.INFO: Extracted packet for processing {"connection_id":219491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:31:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":219491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:31:27] local.INFO: GPS data processed {"connection_id":219491,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:31:27] local.INFO: Acknowledgment sent {"connection_id":219491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:31:51] local.INFO: TCP Data received {"connection_id":217768,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:31:51] local.INFO: Processing buffer {"connection_id":217768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:31:51] local.INFO: IMEI packet received {"connection_id":217768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":217768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:31:57] local.INFO: TCP Data received {"connection_id":216418,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:31:57] local.INFO: Processing buffer {"connection_id":216418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:31:57] local.INFO: Packet analysis {"connection_id":216418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:31:57] local.INFO: Extracted packet for processing {"connection_id":216418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778805760001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792105011000,"timestamp_ms":1792105011000,"timestamp_seconds":1792105011,"priority":1,"record_length":96,"hex_timestamp":"000001a141c85738"} 
[2026-10-16 04:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:31:57] 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-10-16 04:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778805760001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778805760001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:31:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:31:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778805760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":216418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:31:57] local.INFO: GPS data processed {"connection_id":216418,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:31:57] local.INFO: Acknowledgment sent {"connection_id":216418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:31:58] local.INFO: TCP Data received {"connection_id":219491,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:31:58] local.INFO: Processing buffer {"connection_id":219491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:31:58] local.INFO: Packet analysis {"connection_id":219491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:31:58] local.INFO: Extracted packet for processing {"connection_id":219491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:31:58] 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-10-16 04:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:31:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:31:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":219491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:31:58] local.INFO: GPS data processed {"connection_id":219491,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:31:58] local.INFO: Acknowledgment sent {"connection_id":219491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:32:17] local.INFO: TCP Data received {"connection_id":216419,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:32:17] local.INFO: Processing buffer {"connection_id":216419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:32:17] local.INFO: IMEI packet received {"connection_id":216419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":216419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:32:23] local.INFO: TCP Data received {"connection_id":216419,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:32:23] local.INFO: Processing buffer {"connection_id":216419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:32:23] local.INFO: IMEI packet received {"connection_id":216419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":216419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:32:24] local.INFO: TCP Data received {"connection_id":216419,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:32:24] local.INFO: Processing buffer {"connection_id":216419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141c85738012d7f98c005afddb00000002f22..."} 
[2026-10-16 04:32:24] local.INFO: Packet analysis {"connection_id":216419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:32:24] local.INFO: Extracted packet for processing {"connection_id":216419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141c8"} 
[2026-10-16 04:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:32: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-10-16 04:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778805760001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105011000,"timestamp_ms":1792105011000,"timestamp_seconds":1792105011,"priority":1,"record_length":96,"hex_timestamp":"000001a141c85738"} 
[2026-10-16 04:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:32: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:32:24] 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-10-16 04:32: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-10-16 04:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778805760001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778805760001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:32:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:32:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778805760001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":216419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:32:24] local.INFO: GPS data processed {"connection_id":216419,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:32:24] local.INFO: Acknowledgment sent {"connection_id":216419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:32:26] local.INFO: TCP Data received {"connection_id":216220,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:32:26] local.INFO: Processing buffer {"connection_id":216220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:32:26] local.INFO: IMEI packet received {"connection_id":216220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":216220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:32:31] local.INFO: TCP Data received {"connection_id":216220,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:32:31] local.INFO: Processing buffer {"connection_id":216220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:32:31] local.INFO: IMEI packet received {"connection_id":216220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":216220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:32:32] local.INFO: TCP Data received {"connection_id":216220,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:32:32] local.INFO: Processing buffer {"connection_id":216220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:32:32] local.INFO: Packet analysis {"connection_id":216220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:32:32] local.INFO: Extracted packet for processing {"connection_id":216220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:32:32] 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-10-16 04: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-10-16 04:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:32:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":216220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:32:32] local.INFO: GPS data processed {"connection_id":216220,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:32:32] local.INFO: Acknowledgment sent {"connection_id":216220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:32:37] local.INFO: TCP Data received {"connection_id":216220,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:32:37] local.INFO: Processing buffer {"connection_id":216220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:32:37] local.INFO: Packet analysis {"connection_id":216220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:32:37] local.INFO: Extracted packet for processing {"connection_id":216220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:32: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-10-16 04: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-10-16 04:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216220,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:32:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":216220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:32:37] local.INFO: GPS data processed {"connection_id":216220,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:32:37] local.INFO: Acknowledgment sent {"connection_id":216220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:32:55] local.INFO: TCP Data received {"connection_id":216419,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:32:55] local.INFO: Processing buffer {"connection_id":216419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:32:55] local.INFO: Packet analysis {"connection_id":216419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:32:55] local.INFO: Extracted packet for processing {"connection_id":216419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792105312000,"timestamp_ms":1792105312000,"timestamp_seconds":1792105312,"priority":1,"record_length":96,"hex_timestamp":"000001a141ccef00"} 
[2026-10-16 04:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 04:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778882816001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:32:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:32:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778882816001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":216419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:32:55] local.INFO: GPS data processed {"connection_id":216419,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:32:55] local.INFO: Acknowledgment sent {"connection_id":216419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:33:21] local.INFO: TCP Data received {"connection_id":219492,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:33:21] local.INFO: Processing buffer {"connection_id":219492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:33:21] local.INFO: IMEI packet received {"connection_id":219492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":219492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:33:23] local.INFO: TCP Data received {"connection_id":217769,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:33:23] local.INFO: Processing buffer {"connection_id":217769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:33:23] local.INFO: IMEI packet received {"connection_id":217769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":217769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:33:26] local.INFO: TCP Data received {"connection_id":219492,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:33:26] local.INFO: Processing buffer {"connection_id":219492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:33:26] local.INFO: IMEI packet received {"connection_id":219492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":219492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:33:27] local.INFO: TCP Data received {"connection_id":217769,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:33:27] local.INFO: Processing buffer {"connection_id":217769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:33:27] local.INFO: IMEI packet received {"connection_id":217769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":217769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:33:28] local.INFO: TCP Data received {"connection_id":217769,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:33:28] local.INFO: Processing buffer {"connection_id":217769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:33:28] local.INFO: Packet analysis {"connection_id":217769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:33:28] local.INFO: Extracted packet for processing {"connection_id":217769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792105312000,"timestamp_ms":1792105312000,"timestamp_seconds":1792105312,"priority":1,"record_length":96,"hex_timestamp":"000001a141ccef00"} 
[2026-10-16 04:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 04:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778882816001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:33:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:33:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778882816001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":217769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:33:28] local.INFO: GPS data processed {"connection_id":217769,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:33:28] local.INFO: Acknowledgment sent {"connection_id":217769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:33:31] local.INFO: TCP Data received {"connection_id":219492,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:33:31] local.INFO: Processing buffer {"connection_id":219492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:33:31] local.INFO: Packet analysis {"connection_id":219492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:33:31] local.INFO: Extracted packet for processing {"connection_id":219492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:33:31] 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-10-16 04:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:33:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":219492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:33:31] local.INFO: GPS data processed {"connection_id":219492,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:33:31] local.INFO: Acknowledgment sent {"connection_id":219492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:33:32] local.INFO: TCP Data received {"connection_id":219492,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:33:32] local.INFO: Processing buffer {"connection_id":219492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:33:32] local.INFO: Packet analysis {"connection_id":219492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:33:32] local.INFO: Extracted packet for processing {"connection_id":219492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:33:32] 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-10-16 04:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:33:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":219492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:33:32] local.INFO: GPS data processed {"connection_id":219492,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:33:32] local.INFO: Acknowledgment sent {"connection_id":219492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:33:33] local.INFO: TCP Data received {"connection_id":217769,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:33:33] local.INFO: Processing buffer {"connection_id":217769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:33:33] local.INFO: Packet analysis {"connection_id":217769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:33:33] local.INFO: Extracted packet for processing {"connection_id":217769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792105312000,"timestamp_ms":1792105312000,"timestamp_seconds":1792105312,"priority":1,"record_length":96,"hex_timestamp":"000001a141ccef00"} 
[2026-10-16 04:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 04:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778882816001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:33:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:33:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778882816001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":217769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:33:34] local.INFO: GPS data processed {"connection_id":217769,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:33:34] local.INFO: Acknowledgment sent {"connection_id":217769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:34:03] local.INFO: TCP Data received {"connection_id":219492,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:34:03] local.INFO: Processing buffer {"connection_id":219492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:34:03] local.INFO: Packet analysis {"connection_id":219492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:34:03] local.INFO: Extracted packet for processing {"connection_id":219492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":219492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":219492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":219492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:34:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":219492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:34:03] local.INFO: GPS data processed {"connection_id":219492,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:34:03] local.INFO: Acknowledgment sent {"connection_id":219492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:34:18] local.INFO: TCP Data received {"connection_id":219493,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:34:18] local.INFO: Processing buffer {"connection_id":219493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:34:18] local.INFO: IMEI packet received {"connection_id":219493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":219493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:34:21] local.INFO: TCP Data received {"connection_id":219494,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:34:21] local.INFO: Processing buffer {"connection_id":219494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:34:21] local.INFO: IMEI packet received {"connection_id":219494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":219494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:34:23] local.INFO: TCP Data received {"connection_id":219493,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:34:23] local.INFO: Processing buffer {"connection_id":219493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:34:23] local.INFO: IMEI packet received {"connection_id":219493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":219493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:34:24] local.INFO: TCP Data received {"connection_id":219493,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:34:24] local.INFO: Processing buffer {"connection_id":219493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:34:24] local.INFO: Packet analysis {"connection_id":219493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:34:24] local.INFO: Extracted packet for processing {"connection_id":219493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:34:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105312000,"timestamp_ms":1792105312000,"timestamp_seconds":1792105312,"priority":1,"record_length":96,"hex_timestamp":"000001a141ccef00"} 
[2026-10-16 04:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 04:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778882816001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:34:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:34:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778882816001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":219493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:34:24] local.INFO: GPS data processed {"connection_id":219493,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:34:24] local.INFO: Acknowledgment sent {"connection_id":219493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:34:26] local.INFO: TCP Data received {"connection_id":219494,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:34:26] local.INFO: Processing buffer {"connection_id":219494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:34:26] local.INFO: IMEI packet received {"connection_id":219494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":219494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:34:27] local.INFO: TCP Data received {"connection_id":219494,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:34:27] local.INFO: Processing buffer {"connection_id":219494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:34:27] local.INFO: Packet analysis {"connection_id":219494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:34:27] local.INFO: Extracted packet for processing {"connection_id":219494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:34:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":219494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:34:27] local.INFO: GPS data processed {"connection_id":219494,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:34:27] local.INFO: Acknowledgment sent {"connection_id":219494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:34:55] local.INFO: TCP Data received {"connection_id":219493,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:34:55] local.INFO: Processing buffer {"connection_id":219493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:34:55] local.INFO: Packet analysis {"connection_id":219493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:34:55] local.INFO: Extracted packet for processing {"connection_id":219493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792105312000,"timestamp_ms":1792105312000,"timestamp_seconds":1792105312,"priority":1,"record_length":96,"hex_timestamp":"000001a141ccef00"} 
[2026-10-16 04:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 04:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778882816001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:34:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:34:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778882816001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":219493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:34:55] local.INFO: GPS data processed {"connection_id":219493,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:34:55] local.INFO: Acknowledgment sent {"connection_id":219493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:34:59] local.INFO: TCP Data received {"connection_id":219494,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:34:59] local.INFO: Processing buffer {"connection_id":219494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:34:59] local.INFO: Packet analysis {"connection_id":219494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:34:59] local.INFO: Extracted packet for processing {"connection_id":219494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:34:59] 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-10-16 04: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-10-16 04:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:34:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":219494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:34:59] local.INFO: GPS data processed {"connection_id":219494,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:34:59] local.INFO: Acknowledgment sent {"connection_id":219494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:35:17] local.INFO: TCP Data received {"connection_id":216422,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:35:17] local.INFO: Processing buffer {"connection_id":216422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:35:17] local.INFO: IMEI packet received {"connection_id":216422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":216422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:35:21] local.INFO: TCP Data received {"connection_id":216423,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:35:21] local.INFO: Processing buffer {"connection_id":216423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:35:21] local.INFO: IMEI packet received {"connection_id":216423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":216423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:35:23] local.INFO: TCP Data received {"connection_id":216422,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:35:23] local.INFO: Processing buffer {"connection_id":216422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:35:23] local.INFO: IMEI packet received {"connection_id":216422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":216422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:35:24] local.INFO: TCP Data received {"connection_id":216422,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:35:24] local.INFO: Processing buffer {"connection_id":216422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:35:24] local.INFO: Packet analysis {"connection_id":216422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:35:24] local.INFO: Extracted packet for processing {"connection_id":216422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105312000,"timestamp_ms":1792105312000,"timestamp_seconds":1792105312,"priority":1,"record_length":96,"hex_timestamp":"000001a141ccef00"} 
[2026-10-16 04:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 04:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778882816001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:35:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:35:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778882816001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":216422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:35:24] local.INFO: GPS data processed {"connection_id":216422,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:35:24] local.INFO: Acknowledgment sent {"connection_id":216422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:35:26] local.INFO: TCP Data received {"connection_id":216423,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:35:26] local.INFO: Processing buffer {"connection_id":216423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:35:26] local.INFO: IMEI packet received {"connection_id":216423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":216423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:35:27] local.INFO: TCP Data received {"connection_id":216423,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:35:27] local.INFO: Processing buffer {"connection_id":216423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:35:27] local.INFO: Packet analysis {"connection_id":216423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:35:27] local.INFO: Extracted packet for processing {"connection_id":216423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:35:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":216423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:35:27] local.INFO: GPS data processed {"connection_id":216423,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:35:27] local.INFO: Acknowledgment sent {"connection_id":216423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:35:55] local.INFO: TCP Data received {"connection_id":216422,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:35:55] local.INFO: Processing buffer {"connection_id":216422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:35:55] local.INFO: Packet analysis {"connection_id":216422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:35:55] local.INFO: Extracted packet for processing {"connection_id":216422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792105312000,"timestamp_ms":1792105312000,"timestamp_seconds":1792105312,"priority":1,"record_length":96,"hex_timestamp":"000001a141ccef00"} 
[2026-10-16 04:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 04:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778882816001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:35:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:35:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778882816001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":216422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:35:55] local.INFO: GPS data processed {"connection_id":216422,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:35:55] local.INFO: Acknowledgment sent {"connection_id":216422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:36:01] local.INFO: TCP Data received {"connection_id":216423,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:36:01] local.INFO: Processing buffer {"connection_id":216423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141cc3768012d7c240005dad510000700ea21..."} 
[2026-10-16 04:36:01] local.INFO: Packet analysis {"connection_id":216423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:36:01] local.INFO: Extracted packet for processing {"connection_id":216423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778870784001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792105265000,"timestamp_ms":1792105265000,"timestamp_seconds":1792105265,"priority":1,"record_length":96,"hex_timestamp":"000001a141cc3768"} 
[2026-10-16 04:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 04:36:01] 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-10-16 04:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778870784001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778870784001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:36:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778870784001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":216423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:36:01] local.INFO: GPS data processed {"connection_id":216423,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:36:01] local.INFO: Acknowledgment sent {"connection_id":216423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:36:21] local.INFO: TCP Data received {"connection_id":217771,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:36:21] local.INFO: Processing buffer {"connection_id":217771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:36:21] local.INFO: IMEI packet received {"connection_id":217771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":217771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:36:23] local.INFO: TCP Data received {"connection_id":219495,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:36:23] local.INFO: Processing buffer {"connection_id":219495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:36:23] local.INFO: IMEI packet received {"connection_id":219495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":219495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:36:26] local.INFO: TCP Data received {"connection_id":217771,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:36:26] local.INFO: Processing buffer {"connection_id":217771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:36:26] local.INFO: IMEI packet received {"connection_id":217771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":217771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:36:27] local.INFO: TCP Data received {"connection_id":217771,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:36:27] local.INFO: Processing buffer {"connection_id":217771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:36:27] local.INFO: Packet analysis {"connection_id":217771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:36:27] local.INFO: Extracted packet for processing {"connection_id":217771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778947840001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792105566000,"timestamp_ms":1792105566000,"timestamp_seconds":1792105566,"priority":1,"record_length":96,"hex_timestamp":"000001a141d0cf30"} 
[2026-10-16 04:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:36:27] 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-10-16 04:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778947840001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778947840001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:36:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778947840001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":217771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:36:28] local.INFO: GPS data processed {"connection_id":217771,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:36:28] local.INFO: Acknowledgment sent {"connection_id":217771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:36:28] local.INFO: TCP Data received {"connection_id":219495,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:36:28] local.INFO: Processing buffer {"connection_id":219495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:36:28] local.INFO: IMEI packet received {"connection_id":219495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":219495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:36:29] local.INFO: TCP Data received {"connection_id":219495,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:36:29] local.INFO: Processing buffer {"connection_id":219495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:36:29] local.INFO: Packet analysis {"connection_id":219495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:36:29] local.INFO: Extracted packet for processing {"connection_id":219495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792105312000,"timestamp_ms":1792105312000,"timestamp_seconds":1792105312,"priority":1,"record_length":96,"hex_timestamp":"000001a141ccef00"} 
[2026-10-16 04:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 04:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778882816001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:36:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:36:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778882816001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":219495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:36:29] local.INFO: GPS data processed {"connection_id":219495,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:36:29] local.INFO: Acknowledgment sent {"connection_id":219495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:36:33] local.INFO: TCP Data received {"connection_id":219495,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:36:33] local.INFO: Processing buffer {"connection_id":219495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:36:33] local.INFO: Packet analysis {"connection_id":219495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:36:33] local.INFO: Extracted packet for processing {"connection_id":219495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792105312000,"timestamp_ms":1792105312000,"timestamp_seconds":1792105312,"priority":1,"record_length":96,"hex_timestamp":"000001a141ccef00"} 
[2026-10-16 04:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 04:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778882816001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:36:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:36:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778882816001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":219495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:36:33] local.INFO: GPS data processed {"connection_id":219495,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:36:33] local.INFO: Acknowledgment sent {"connection_id":219495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:36:59] local.INFO: TCP Data received {"connection_id":217771,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:36:59] local.INFO: Processing buffer {"connection_id":217771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:36:59] local.INFO: Packet analysis {"connection_id":217771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:36:59] local.INFO: Extracted packet for processing {"connection_id":217771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778947840001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792105566000,"timestamp_ms":1792105566000,"timestamp_seconds":1792105566,"priority":1,"record_length":96,"hex_timestamp":"000001a141d0cf30"} 
[2026-10-16 04:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778947840001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778947840001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:36:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778947840001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":217771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:36:59] local.INFO: GPS data processed {"connection_id":217771,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:36:59] local.INFO: Acknowledgment sent {"connection_id":217771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:37:17] local.INFO: TCP Data received {"connection_id":216222,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:37:17] local.INFO: Processing buffer {"connection_id":216222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:37:17] local.INFO: IMEI packet received {"connection_id":216222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":216222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:37:18] local.INFO: TCP Data received {"connection_id":219496,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:37:18] local.INFO: Processing buffer {"connection_id":219496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:37:18] local.INFO: IMEI packet received {"connection_id":219496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":219496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:37:23] local.INFO: TCP Data received {"connection_id":219496,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:37:23] local.INFO: Processing buffer {"connection_id":219496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:37:23] local.INFO: IMEI packet received {"connection_id":219496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":219496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:37:24] local.INFO: TCP Data received {"connection_id":219496,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:37:24] local.INFO: Processing buffer {"connection_id":219496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ccef00012d7f98c005afddb00000002f1d..."} 
[2026-10-16 04:37:24] local.INFO: Packet analysis {"connection_id":219496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:37:24] local.INFO: Extracted packet for processing {"connection_id":219496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141cc"} 
[2026-10-16 04:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105312000,"timestamp_ms":1792105312000,"timestamp_seconds":1792105312,"priority":1,"record_length":96,"hex_timestamp":"000001a141ccef00"} 
[2026-10-16 04:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 04:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778882816001,"66":25625,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:37:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:37:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778882816001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":219496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:37:24] local.INFO: GPS data processed {"connection_id":219496,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:37:24] local.INFO: Acknowledgment sent {"connection_id":219496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:37:26] local.INFO: TCP Data received {"connection_id":219497,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:37:26] local.INFO: Processing buffer {"connection_id":219497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:37:26] local.INFO: IMEI packet received {"connection_id":219497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":219497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:37:31] local.INFO: TCP Data received {"connection_id":219497,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:37:31] local.INFO: Processing buffer {"connection_id":219497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:37:31] local.INFO: IMEI packet received {"connection_id":219497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":219497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:37:32] local.INFO: TCP Data received {"connection_id":219497,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:37:32] local.INFO: Processing buffer {"connection_id":219497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:37:32] local.INFO: Packet analysis {"connection_id":219497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:37:32] local.INFO: Extracted packet for processing {"connection_id":219497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778947840001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792105566000,"timestamp_ms":1792105566000,"timestamp_seconds":1792105566,"priority":1,"record_length":96,"hex_timestamp":"000001a141d0cf30"} 
[2026-10-16 04:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:37:32] 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-10-16 04:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778947840001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778947840001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:37:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778947840001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":219497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:37:32] local.INFO: GPS data processed {"connection_id":219497,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:37:32] local.INFO: Acknowledgment sent {"connection_id":219497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:37:37] local.INFO: TCP Data received {"connection_id":219497,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:37:37] local.INFO: Processing buffer {"connection_id":219497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:37:37] local.INFO: Packet analysis {"connection_id":219497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:37:37] local.INFO: Extracted packet for processing {"connection_id":219497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778947840001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792105566000,"timestamp_ms":1792105566000,"timestamp_seconds":1792105566,"priority":1,"record_length":96,"hex_timestamp":"000001a141d0cf30"} 
[2026-10-16 04:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:37:37] 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-10-16 04: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-10-16 04:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":219497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":219497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":219497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778947840001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778947840001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:37:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778947840001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":219497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:37:37] local.INFO: GPS data processed {"connection_id":219497,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:37:37] local.INFO: Acknowledgment sent {"connection_id":219497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:37:55] local.INFO: TCP Data received {"connection_id":219496,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:37:55] local.INFO: Processing buffer {"connection_id":219496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:37:55] local.INFO: Packet analysis {"connection_id":219496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:37:55] local.INFO: Extracted packet for processing {"connection_id":219496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778959872001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792105613000,"timestamp_ms":1792105613000,"timestamp_seconds":1792105613,"priority":1,"record_length":96,"hex_timestamp":"000001a141d186c8"} 
[2026-10-16 04:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778959872001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778959872001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:37:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:37:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778959872001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":219496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:37:55] local.INFO: GPS data processed {"connection_id":219496,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:37:55] local.INFO: Acknowledgment sent {"connection_id":219496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:37:56] local.INFO: TCP Data received {"connection_id":217772,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:37:56] local.INFO: Processing buffer {"connection_id":217772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:37:56] local.INFO: IMEI packet received {"connection_id":217772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":217772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:38:17] local.INFO: TCP Data received {"connection_id":219498,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:38:17] local.INFO: Processing buffer {"connection_id":219498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:38:17] local.INFO: IMEI packet received {"connection_id":219498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":219498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:38:21] local.INFO: TCP Data received {"connection_id":219499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:38:21] local.INFO: Processing buffer {"connection_id":219499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:38:21] local.INFO: IMEI packet received {"connection_id":219499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":219499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:38:23] local.INFO: TCP Data received {"connection_id":219498,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:38:23] local.INFO: Processing buffer {"connection_id":219498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:38:23] local.INFO: IMEI packet received {"connection_id":219498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":219498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:38:24] local.INFO: TCP Data received {"connection_id":219498,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:38:24] local.INFO: Processing buffer {"connection_id":219498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:38:24] local.INFO: Packet analysis {"connection_id":219498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:38:24] local.INFO: Extracted packet for processing {"connection_id":219498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778959872001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105613000,"timestamp_ms":1792105613000,"timestamp_seconds":1792105613,"priority":1,"record_length":96,"hex_timestamp":"000001a141d186c8"} 
[2026-10-16 04:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:38:24] 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-10-16 04: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-10-16 04:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778959872001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778959872001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:38:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:38:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778959872001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":219498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:38:24] local.INFO: GPS data processed {"connection_id":219498,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:38:24] local.INFO: Acknowledgment sent {"connection_id":219498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:38:26] local.INFO: TCP Data received {"connection_id":219499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:38:26] local.INFO: Processing buffer {"connection_id":219499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:38:26] local.INFO: IMEI packet received {"connection_id":219499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":219499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:38:29] local.INFO: TCP Data received {"connection_id":219499,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:38:29] local.INFO: Processing buffer {"connection_id":219499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:38:29] local.INFO: Packet analysis {"connection_id":219499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:38:29] local.INFO: Extracted packet for processing {"connection_id":219499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778947840001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792105566000,"timestamp_ms":1792105566000,"timestamp_seconds":1792105566,"priority":1,"record_length":96,"hex_timestamp":"000001a141d0cf30"} 
[2026-10-16 04:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778947840001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778947840001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:38:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778947840001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":219499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:38:29] local.INFO: GPS data processed {"connection_id":219499,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:38:29] local.INFO: Acknowledgment sent {"connection_id":219499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:38:56] local.INFO: TCP Data received {"connection_id":219498,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:38:56] local.INFO: Processing buffer {"connection_id":219498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:38:56] local.INFO: Packet analysis {"connection_id":219498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:38:56] local.INFO: Extracted packet for processing {"connection_id":219498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778959872001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792105613000,"timestamp_ms":1792105613000,"timestamp_seconds":1792105613,"priority":1,"record_length":96,"hex_timestamp":"000001a141d186c8"} 
[2026-10-16 04:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778959872001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778959872001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:38:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:38:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778959872001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":219498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:38:56] local.INFO: GPS data processed {"connection_id":219498,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:38:56] local.INFO: Acknowledgment sent {"connection_id":219498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:39:00] local.INFO: TCP Data received {"connection_id":219499,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:39:00] local.INFO: Processing buffer {"connection_id":219499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:39:00] local.INFO: Packet analysis {"connection_id":219499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:39:00] local.INFO: Extracted packet for processing {"connection_id":219499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:39: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-10-16 04:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778947840001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792105566000,"timestamp_ms":1792105566000,"timestamp_seconds":1792105566,"priority":1,"record_length":96,"hex_timestamp":"000001a141d0cf30"} 
[2026-10-16 04:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:39: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-10-16 04:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:39:00] 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-10-16 04:39: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-10-16 04:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778947840001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778947840001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:39:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778947840001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":219499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:39:00] local.INFO: GPS data processed {"connection_id":219499,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:39:00] local.INFO: Acknowledgment sent {"connection_id":219499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:39:21] local.INFO: TCP Data received {"connection_id":216223,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:39:21] local.INFO: Processing buffer {"connection_id":216223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:39:21] local.INFO: IMEI packet received {"connection_id":216223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:39:23] local.INFO: TCP Data received {"connection_id":217773,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:39:23] local.INFO: Processing buffer {"connection_id":217773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:39:23] local.INFO: IMEI packet received {"connection_id":217773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":217773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:39:26] local.INFO: TCP Data received {"connection_id":216223,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:39:26] local.INFO: Processing buffer {"connection_id":216223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:39:26] local.INFO: IMEI packet received {"connection_id":216223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":216223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:39:27] local.INFO: TCP Data received {"connection_id":217773,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:39:27] local.INFO: Processing buffer {"connection_id":217773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:39:27] local.INFO: IMEI packet received {"connection_id":217773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":217773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:39:27] local.INFO: TCP Data received {"connection_id":216223,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:39:27] local.INFO: Processing buffer {"connection_id":216223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:39:27] local.INFO: Packet analysis {"connection_id":216223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:39:27] local.INFO: Extracted packet for processing {"connection_id":216223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778947840001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792105566000,"timestamp_ms":1792105566000,"timestamp_seconds":1792105566,"priority":1,"record_length":96,"hex_timestamp":"000001a141d0cf30"} 
[2026-10-16 04:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:39:27] 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-10-16 04:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778947840001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778947840001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:39:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778947840001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":216223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:39:27] local.INFO: GPS data processed {"connection_id":216223,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:39:27] local.INFO: Acknowledgment sent {"connection_id":216223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:39:28] local.INFO: TCP Data received {"connection_id":217773,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:39:28] local.INFO: Processing buffer {"connection_id":217773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:39:28] local.INFO: Packet analysis {"connection_id":217773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:39:28] local.INFO: Extracted packet for processing {"connection_id":217773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778959872001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792105613000,"timestamp_ms":1792105613000,"timestamp_seconds":1792105613,"priority":1,"record_length":96,"hex_timestamp":"000001a141d186c8"} 
[2026-10-16 04:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:39:28] 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-10-16 04:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778959872001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778959872001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:39:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:39:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778959872001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":217773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:39:28] local.INFO: GPS data processed {"connection_id":217773,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:39:28] local.INFO: Acknowledgment sent {"connection_id":217773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:39:33] local.INFO: TCP Data received {"connection_id":217773,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:39:33] local.INFO: Processing buffer {"connection_id":217773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:39:33] local.INFO: Packet analysis {"connection_id":217773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:39:33] local.INFO: Extracted packet for processing {"connection_id":217773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778959872001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792105613000,"timestamp_ms":1792105613000,"timestamp_seconds":1792105613,"priority":1,"record_length":96,"hex_timestamp":"000001a141d186c8"} 
[2026-10-16 04:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778959872001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778959872001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:39:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:39:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778959872001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":217773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:39:33] local.INFO: GPS data processed {"connection_id":217773,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:39:33] local.INFO: Acknowledgment sent {"connection_id":217773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:39:59] local.INFO: TCP Data received {"connection_id":216223,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:39:59] local.INFO: Processing buffer {"connection_id":216223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:39:59] local.INFO: Packet analysis {"connection_id":216223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:39:59] local.INFO: Extracted packet for processing {"connection_id":216223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:39: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-10-16 04:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778947840001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792105566000,"timestamp_ms":1792105566000,"timestamp_seconds":1792105566,"priority":1,"record_length":96,"hex_timestamp":"000001a141d0cf30"} 
[2026-10-16 04:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:39: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-10-16 04:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778947840001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778947840001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:39:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778947840001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":216223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:39:59] local.INFO: GPS data processed {"connection_id":216223,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:39:59] local.INFO: Acknowledgment sent {"connection_id":216223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:40:17] local.INFO: TCP Data received {"connection_id":219501,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:40:17] local.INFO: Processing buffer {"connection_id":219501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:40:17] local.INFO: IMEI packet received {"connection_id":219501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":219501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:40:21] local.INFO: TCP Data received {"connection_id":219502,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:40:21] local.INFO: Processing buffer {"connection_id":219502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:40:21] local.INFO: IMEI packet received {"connection_id":219502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":219502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:40:23] local.INFO: TCP Data received {"connection_id":219501,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:40:23] local.INFO: Processing buffer {"connection_id":219501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:40:23] local.INFO: IMEI packet received {"connection_id":219501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":219501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:40:24] local.INFO: TCP Data received {"connection_id":219501,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:40:24] local.INFO: Processing buffer {"connection_id":219501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:40:24] local.INFO: Packet analysis {"connection_id":219501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:40:24] local.INFO: Extracted packet for processing {"connection_id":219501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778959872001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105613000,"timestamp_ms":1792105613000,"timestamp_seconds":1792105613,"priority":1,"record_length":96,"hex_timestamp":"000001a141d186c8"} 
[2026-10-16 04:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:40:24] 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-10-16 04:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778959872001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778959872001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:40:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:40:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778959872001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":219501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:40:24] local.INFO: GPS data processed {"connection_id":219501,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:40:24] local.INFO: Acknowledgment sent {"connection_id":219501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:40:26] local.INFO: TCP Data received {"connection_id":219502,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:40:26] local.INFO: Processing buffer {"connection_id":219502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:40:26] local.INFO: IMEI packet received {"connection_id":219502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":219502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:40:29] local.INFO: TCP Data received {"connection_id":219502,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:40:29] local.INFO: Processing buffer {"connection_id":219502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:40:29] local.INFO: Packet analysis {"connection_id":219502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:40:29] local.INFO: Extracted packet for processing {"connection_id":219502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:40:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778947840001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792105566000,"timestamp_ms":1792105566000,"timestamp_seconds":1792105566,"priority":1,"record_length":96,"hex_timestamp":"000001a141d0cf30"} 
[2026-10-16 04:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:40: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-10-16 04:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778947840001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778947840001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:40:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778947840001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":219502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:40:29] local.INFO: GPS data processed {"connection_id":219502,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:40:29] local.INFO: Acknowledgment sent {"connection_id":219502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:40:55] local.INFO: TCP Data received {"connection_id":219501,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:40:55] local.INFO: Processing buffer {"connection_id":219501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:40:55] local.INFO: Packet analysis {"connection_id":219501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:40:55] local.INFO: Extracted packet for processing {"connection_id":219501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778959872001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792105613000,"timestamp_ms":1792105613000,"timestamp_seconds":1792105613,"priority":1,"record_length":96,"hex_timestamp":"000001a141d186c8"} 
[2026-10-16 04:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778959872001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778959872001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:40:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:40:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778959872001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":219501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:40:56] local.INFO: GPS data processed {"connection_id":219501,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:40:56] local.INFO: Acknowledgment sent {"connection_id":219501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:41:01] local.INFO: TCP Data received {"connection_id":219502,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:41:01] local.INFO: Processing buffer {"connection_id":219502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d0cf30012d7c240005dad510000700ea25..."} 
[2026-10-16 04:41:01] local.INFO: Packet analysis {"connection_id":219502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:41:01] local.INFO: Extracted packet for processing {"connection_id":219502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d0"} 
[2026-10-16 04:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778947840001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792105566000,"timestamp_ms":1792105566000,"timestamp_seconds":1792105566,"priority":1,"record_length":96,"hex_timestamp":"000001a141d0cf30"} 
[2026-10-16 04:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:41:01] 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-10-16 04:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:41: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-10-16 04:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778947840001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778947840001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:41:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778947840001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":219502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:41:01] local.INFO: GPS data processed {"connection_id":219502,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:41:01] local.INFO: Acknowledgment sent {"connection_id":219502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:41:17] local.INFO: TCP Data received {"connection_id":216426,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:41:17] local.INFO: Processing buffer {"connection_id":216426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:41:17] local.INFO: IMEI packet received {"connection_id":216426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":216426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:41:23] local.INFO: TCP Data received {"connection_id":216426,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:41:23] local.INFO: Processing buffer {"connection_id":216426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:41:23] local.INFO: IMEI packet received {"connection_id":216426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":216426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:41:24] local.INFO: TCP Data received {"connection_id":216426,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:41:24] local.INFO: Processing buffer {"connection_id":216426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:41:24] local.INFO: Packet analysis {"connection_id":216426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:41:24] local.INFO: Extracted packet for processing {"connection_id":216426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:41: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-10-16 04:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778959872001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105613000,"timestamp_ms":1792105613000,"timestamp_seconds":1792105613,"priority":1,"record_length":96,"hex_timestamp":"000001a141d186c8"} 
[2026-10-16 04:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:41: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:41:24] 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-10-16 04:41: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-10-16 04:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778959872001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778959872001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:41:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:41:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778959872001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":216426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:41:24] local.INFO: GPS data processed {"connection_id":216426,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:41:24] local.INFO: Acknowledgment sent {"connection_id":216426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:41:25] local.INFO: TCP Data received {"connection_id":217774,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:41:25] local.INFO: Processing buffer {"connection_id":217774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:41:25] local.INFO: IMEI packet received {"connection_id":217774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":217774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:41:26] local.INFO: TCP Data received {"connection_id":217774,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:41:26] local.INFO: Processing buffer {"connection_id":217774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:41:26] local.INFO: IMEI packet received {"connection_id":217774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":217774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:41:27] local.INFO: TCP Data received {"connection_id":217774,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:41:27] local.INFO: Processing buffer {"connection_id":217774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:41:27] local.INFO: Packet analysis {"connection_id":217774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:41:27] local.INFO: Extracted packet for processing {"connection_id":217774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":15,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779024896001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792105867000,"timestamp_ms":1792105867000,"timestamp_seconds":1792105867,"priority":1,"record_length":96,"hex_timestamp":"000001a141d566f8"} 
[2026-10-16 04:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:41: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-10-16 04:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779024896001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779024896001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:41:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779024896001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":217774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:41:27] local.INFO: GPS data processed {"connection_id":217774,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:41:27] local.INFO: Acknowledgment sent {"connection_id":217774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:41:36] local.INFO: TCP Data received {"connection_id":217774,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:41:36] local.INFO: Processing buffer {"connection_id":217774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:41:36] local.INFO: Packet analysis {"connection_id":217774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:41:36] local.INFO: Extracted packet for processing {"connection_id":217774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":15,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779024896001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792105867000,"timestamp_ms":1792105867000,"timestamp_seconds":1792105867,"priority":1,"record_length":96,"hex_timestamp":"000001a141d566f8"} 
[2026-10-16 04:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:41: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-10-16 04: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-10-16 04:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":217774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":217774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":217774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:41: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-10-16 04:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779024896001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779024896001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:41:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779024896001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":217774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:41:36] local.INFO: GPS data processed {"connection_id":217774,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:41:36] local.INFO: Acknowledgment sent {"connection_id":217774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:41:56] local.INFO: TCP Data received {"connection_id":216426,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:41:56] local.INFO: Processing buffer {"connection_id":216426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:41:56] local.INFO: Packet analysis {"connection_id":216426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:41:56] local.INFO: Extracted packet for processing {"connection_id":216426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778959872001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792105613000,"timestamp_ms":1792105613000,"timestamp_seconds":1792105613,"priority":1,"record_length":96,"hex_timestamp":"000001a141d186c8"} 
[2026-10-16 04:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778959872001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778959872001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:41:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:41:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778959872001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":216426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:41:56] local.INFO: GPS data processed {"connection_id":216426,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:41:56] local.INFO: Acknowledgment sent {"connection_id":216426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:42:17] local.INFO: TCP Data received {"connection_id":219503,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:42:17] local.INFO: Processing buffer {"connection_id":219503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:42:17] local.INFO: IMEI packet received {"connection_id":219503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":219503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:42:23] local.INFO: TCP Data received {"connection_id":219503,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:42:23] local.INFO: Processing buffer {"connection_id":219503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:42:23] local.INFO: IMEI packet received {"connection_id":219503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":219503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:42:24] local.INFO: TCP Data received {"connection_id":219503,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:42:24] local.INFO: Processing buffer {"connection_id":219503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d186c8012d7f98c005afddb00000002f1c..."} 
[2026-10-16 04:42:24] local.INFO: Packet analysis {"connection_id":219503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:42:24] local.INFO: Extracted packet for processing {"connection_id":219503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d1"} 
[2026-10-16 04:42:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458778959872001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105613000,"timestamp_ms":1792105613000,"timestamp_seconds":1792105613,"priority":1,"record_length":96,"hex_timestamp":"000001a141d186c8"} 
[2026-10-16 04:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 04:42:24] 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-10-16 04:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458778959872001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458778959872001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:42:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:42:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458778959872001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":219503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:42:24] local.INFO: GPS data processed {"connection_id":219503,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:42:24] local.INFO: Acknowledgment sent {"connection_id":219503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:42:27] local.INFO: TCP Data received {"connection_id":217775,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:42:27] local.INFO: Processing buffer {"connection_id":217775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:42:27] local.INFO: IMEI packet received {"connection_id":217775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":217775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:42:31] local.INFO: TCP Data received {"connection_id":217775,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:42:31] local.INFO: Processing buffer {"connection_id":217775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:42:31] local.INFO: IMEI packet received {"connection_id":217775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":217775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:42:32] local.INFO: TCP Data received {"connection_id":217775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:42:32] local.INFO: Processing buffer {"connection_id":217775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:42:32] local.INFO: Packet analysis {"connection_id":217775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:42:32] local.INFO: Extracted packet for processing {"connection_id":217775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":15,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779024896001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792105867000,"timestamp_ms":1792105867000,"timestamp_seconds":1792105867,"priority":1,"record_length":96,"hex_timestamp":"000001a141d566f8"} 
[2026-10-16 04:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779024896001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779024896001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:42:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779024896001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":217775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:42:32] local.INFO: GPS data processed {"connection_id":217775,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:42:32] local.INFO: Acknowledgment sent {"connection_id":217775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:42:37] local.INFO: TCP Data received {"connection_id":217775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:42:37] local.INFO: Processing buffer {"connection_id":217775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:42:37] local.INFO: Packet analysis {"connection_id":217775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:42:37] local.INFO: Extracted packet for processing {"connection_id":217775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":15,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779024896001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792105867000,"timestamp_ms":1792105867000,"timestamp_seconds":1792105867,"priority":1,"record_length":96,"hex_timestamp":"000001a141d566f8"} 
[2026-10-16 04:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:42: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-10-16 04: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-10-16 04:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779024896001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779024896001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:42:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779024896001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":217775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:42:37] local.INFO: GPS data processed {"connection_id":217775,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:42:37] local.INFO: Acknowledgment sent {"connection_id":217775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:42:55] local.INFO: TCP Data received {"connection_id":219503,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:42:55] local.INFO: Processing buffer {"connection_id":219503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:42:55] local.INFO: Packet analysis {"connection_id":219503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:42:55] local.INFO: Extracted packet for processing {"connection_id":219503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779036928001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792105914000,"timestamp_ms":1792105914000,"timestamp_seconds":1792105914,"priority":1,"record_length":96,"hex_timestamp":"000001a141d61e90"} 
[2026-10-16 04:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:42:55] 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-10-16 04:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779036928001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779036928001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:42:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:42:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779036928001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":219503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:42:55] local.INFO: GPS data processed {"connection_id":219503,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:42:55] local.INFO: Acknowledgment sent {"connection_id":219503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:43:17] local.INFO: TCP Data received {"connection_id":216225,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:43:17] local.INFO: Processing buffer {"connection_id":216225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:43:17] local.INFO: IMEI packet received {"connection_id":216225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":216225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:43:21] local.INFO: TCP Data received {"connection_id":217776,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:43:21] local.INFO: Processing buffer {"connection_id":217776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:43:21] local.INFO: IMEI packet received {"connection_id":217776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":217776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:43:22] local.INFO: TCP Data received {"connection_id":219504,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:43:22] local.INFO: Processing buffer {"connection_id":219504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:43:22] local.INFO: IMEI packet received {"connection_id":219504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":219504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:43:23] local.INFO: TCP Data received {"connection_id":216225,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:43:23] local.INFO: Processing buffer {"connection_id":216225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:43:23] local.INFO: IMEI packet received {"connection_id":216225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":216225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:43:24] local.INFO: TCP Data received {"connection_id":216225,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:43:24] local.INFO: Processing buffer {"connection_id":216225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:43:24] local.INFO: Packet analysis {"connection_id":216225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:43:24] local.INFO: Extracted packet for processing {"connection_id":216225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:43:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:43: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-10-16 04:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779036928001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105914000,"timestamp_ms":1792105914000,"timestamp_seconds":1792105914,"priority":1,"record_length":96,"hex_timestamp":"000001a141d61e90"} 
[2026-10-16 04:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:43: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:43:24] 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-10-16 04:43: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-10-16 04:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779036928001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779036928001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:43:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:43:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779036928001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":216225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:43:24] local.INFO: GPS data processed {"connection_id":216225,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:43:24] local.INFO: Acknowledgment sent {"connection_id":216225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:43:26] local.INFO: TCP Data received {"connection_id":217776,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:43:26] local.INFO: Processing buffer {"connection_id":217776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:43:26] local.INFO: IMEI packet received {"connection_id":217776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":217776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:43:27] local.INFO: TCP Data received {"connection_id":217776,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:43:27] local.INFO: Processing buffer {"connection_id":217776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:43:27] local.INFO: Packet analysis {"connection_id":217776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:43:27] local.INFO: Extracted packet for processing {"connection_id":217776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":15,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779024896001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792105867000,"timestamp_ms":1792105867000,"timestamp_seconds":1792105867,"priority":1,"record_length":96,"hex_timestamp":"000001a141d566f8"} 
[2026-10-16 04:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04: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-10-16 04:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:43:27] 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-10-16 04:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779024896001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779024896001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:43:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779024896001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":217776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:43:27] local.INFO: GPS data processed {"connection_id":217776,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:43:27] local.INFO: Acknowledgment sent {"connection_id":217776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:43:56] local.INFO: TCP Data received {"connection_id":216225,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:43:56] local.INFO: Processing buffer {"connection_id":216225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:43:56] local.INFO: Packet analysis {"connection_id":216225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:43:56] local.INFO: Extracted packet for processing {"connection_id":216225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779036928001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792105914000,"timestamp_ms":1792105914000,"timestamp_seconds":1792105914,"priority":1,"record_length":96,"hex_timestamp":"000001a141d61e90"} 
[2026-10-16 04:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:43:56] 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-10-16 04: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-10-16 04:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779036928001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779036928001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:43:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:43:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779036928001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":216225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:43:56] local.INFO: GPS data processed {"connection_id":216225,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:43:56] local.INFO: Acknowledgment sent {"connection_id":216225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:43:57] local.INFO: TCP Data received {"connection_id":216427,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:43:57] local.INFO: Processing buffer {"connection_id":216427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:43:57] local.INFO: IMEI packet received {"connection_id":216427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":216427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:43:58] local.INFO: TCP Data received {"connection_id":217776,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:43:58] local.INFO: Processing buffer {"connection_id":217776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:43:58] local.INFO: Packet analysis {"connection_id":217776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:43:58] local.INFO: Extracted packet for processing {"connection_id":217776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":15,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779024896001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792105867000,"timestamp_ms":1792105867000,"timestamp_seconds":1792105867,"priority":1,"record_length":96,"hex_timestamp":"000001a141d566f8"} 
[2026-10-16 04:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:43: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-10-16 04: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-10-16 04:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:43:58] 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-10-16 04:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779024896001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779024896001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:43:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779024896001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":217776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:43:58] local.INFO: GPS data processed {"connection_id":217776,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:43:58] local.INFO: Acknowledgment sent {"connection_id":217776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:44:17] local.INFO: TCP Data received {"connection_id":216428,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:44:17] local.INFO: Processing buffer {"connection_id":216428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:44:17] local.INFO: IMEI packet received {"connection_id":216428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":216428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:44:21] local.INFO: TCP Data received {"connection_id":219505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:44:21] local.INFO: Processing buffer {"connection_id":219505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:44:21] local.INFO: IMEI packet received {"connection_id":219505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":219505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:44:23] local.INFO: TCP Data received {"connection_id":216428,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:44:23] local.INFO: Processing buffer {"connection_id":216428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:44:23] local.INFO: IMEI packet received {"connection_id":216428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":216428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:44:24] local.INFO: TCP Data received {"connection_id":216428,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:44:24] local.INFO: Processing buffer {"connection_id":216428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:44:24] local.INFO: Packet analysis {"connection_id":216428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:44:24] local.INFO: Extracted packet for processing {"connection_id":216428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:44:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779036928001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105914000,"timestamp_ms":1792105914000,"timestamp_seconds":1792105914,"priority":1,"record_length":96,"hex_timestamp":"000001a141d61e90"} 
[2026-10-16 04:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:44:24] 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-10-16 04:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779036928001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779036928001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:44:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:44:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779036928001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":216428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:44:24] local.INFO: GPS data processed {"connection_id":216428,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:44:24] local.INFO: Acknowledgment sent {"connection_id":216428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:44:26] local.INFO: TCP Data received {"connection_id":219505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:44:26] local.INFO: Processing buffer {"connection_id":219505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:44:26] local.INFO: IMEI packet received {"connection_id":219505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":219505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:44:31] local.INFO: TCP Data received {"connection_id":219505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:44:31] local.INFO: Processing buffer {"connection_id":219505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:44:31] local.INFO: Packet analysis {"connection_id":219505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:44:31] local.INFO: Extracted packet for processing {"connection_id":219505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":15,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779024896001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792105867000,"timestamp_ms":1792105867000,"timestamp_seconds":1792105867,"priority":1,"record_length":96,"hex_timestamp":"000001a141d566f8"} 
[2026-10-16 04:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779024896001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779024896001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:44:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779024896001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":219505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:44:31] local.INFO: GPS data processed {"connection_id":219505,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:44:31] local.INFO: Acknowledgment sent {"connection_id":219505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:44:56] local.INFO: TCP Data received {"connection_id":216428,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:44:56] local.INFO: Processing buffer {"connection_id":216428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:44:56] local.INFO: Packet analysis {"connection_id":216428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:44:56] local.INFO: Extracted packet for processing {"connection_id":216428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779036928001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792105914000,"timestamp_ms":1792105914000,"timestamp_seconds":1792105914,"priority":1,"record_length":96,"hex_timestamp":"000001a141d61e90"} 
[2026-10-16 04:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:44:56] 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-10-16 04: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-10-16 04:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779036928001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779036928001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:44:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:44:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779036928001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":216428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:44:56] local.INFO: GPS data processed {"connection_id":216428,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:44:56] local.INFO: Acknowledgment sent {"connection_id":216428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:45:06] local.INFO: TCP Data received {"connection_id":219505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:45:06] local.INFO: Processing buffer {"connection_id":219505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:45:06] local.INFO: Packet analysis {"connection_id":219505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:45:06] local.INFO: Extracted packet for processing {"connection_id":219505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":15,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779024896001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792105867000,"timestamp_ms":1792105867000,"timestamp_seconds":1792105867,"priority":1,"record_length":96,"hex_timestamp":"000001a141d566f8"} 
[2026-10-16 04:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:45: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-10-16 04: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-10-16 04:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":219505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":219505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":219505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:45:06] 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-10-16 04:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779024896001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779024896001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:45:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779024896001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":219505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:45:06] local.INFO: GPS data processed {"connection_id":219505,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:45:06] local.INFO: Acknowledgment sent {"connection_id":219505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:45:22] local.INFO: TCP Data received {"connection_id":216430,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:45:22] local.INFO: Processing buffer {"connection_id":216430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:45:22] local.INFO: IMEI packet received {"connection_id":216430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":216430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:45:23] local.INFO: TCP Data received {"connection_id":216226,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:45:23] local.INFO: Processing buffer {"connection_id":216226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:45:23] local.INFO: IMEI packet received {"connection_id":216226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":216226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:45:26] local.INFO: TCP Data received {"connection_id":216430,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:45:26] local.INFO: Processing buffer {"connection_id":216430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:45:26] local.INFO: IMEI packet received {"connection_id":216430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":216430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:45:27] local.INFO: TCP Data received {"connection_id":216226,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:45:27] local.INFO: Processing buffer {"connection_id":216226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:45:27] local.INFO: IMEI packet received {"connection_id":216226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":216226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:45:28] local.INFO: TCP Data received {"connection_id":216226,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:45:28] local.INFO: Processing buffer {"connection_id":216226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:45:28] local.INFO: Packet analysis {"connection_id":216226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:45:28] local.INFO: Extracted packet for processing {"connection_id":216226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779036928001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792105914000,"timestamp_ms":1792105914000,"timestamp_seconds":1792105914,"priority":1,"record_length":96,"hex_timestamp":"000001a141d61e90"} 
[2026-10-16 04:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:45:28] 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-10-16 04: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-10-16 04:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779036928001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779036928001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:45:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:45:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779036928001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":216226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:45:28] local.INFO: GPS data processed {"connection_id":216226,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:45:28] local.INFO: Acknowledgment sent {"connection_id":216226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:45:31] local.INFO: TCP Data received {"connection_id":216430,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:45:31] local.INFO: Processing buffer {"connection_id":216430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:45:31] local.INFO: Packet analysis {"connection_id":216430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:45:31] local.INFO: Extracted packet for processing {"connection_id":216430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":15,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779024896001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792105867000,"timestamp_ms":1792105867000,"timestamp_seconds":1792105867,"priority":1,"record_length":96,"hex_timestamp":"000001a141d566f8"} 
[2026-10-16 04:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779024896001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779024896001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:45:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779024896001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":216430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:45:31] local.INFO: GPS data processed {"connection_id":216430,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:45:31] local.INFO: Acknowledgment sent {"connection_id":216430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:45:33] local.INFO: TCP Data received {"connection_id":216226,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:45:33] local.INFO: Processing buffer {"connection_id":216226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:45:33] local.INFO: Packet analysis {"connection_id":216226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:45:33] local.INFO: Extracted packet for processing {"connection_id":216226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779036928001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792105914000,"timestamp_ms":1792105914000,"timestamp_seconds":1792105914,"priority":1,"record_length":96,"hex_timestamp":"000001a141d61e90"} 
[2026-10-16 04:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779036928001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779036928001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:45:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:45:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779036928001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":216226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:45:33] local.INFO: GPS data processed {"connection_id":216226,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:45:33] local.INFO: Acknowledgment sent {"connection_id":216226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:46:02] local.INFO: TCP Data received {"connection_id":216430,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:46:02] local.INFO: Processing buffer {"connection_id":216430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d566f8012d7c240005dad510000f00ea1e..."} 
[2026-10-16 04:46:02] local.INFO: Packet analysis {"connection_id":216430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:46:02] local.INFO: Extracted packet for processing {"connection_id":216430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d5"} 
[2026-10-16 04:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":15,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779024896001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792105867000,"timestamp_ms":1792105867000,"timestamp_seconds":1792105867,"priority":1,"record_length":96,"hex_timestamp":"000001a141d566f8"} 
[2026-10-16 04:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779024896001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779024896001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:46:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779024896001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":216430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:46:02] local.INFO: GPS data processed {"connection_id":216430,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:46:02] local.INFO: Acknowledgment sent {"connection_id":216430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:46:18] local.INFO: TCP Data received {"connection_id":217777,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:46:18] local.INFO: Processing buffer {"connection_id":217777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:46:18] local.INFO: IMEI packet received {"connection_id":217777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":217777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:46:21] local.INFO: TCP Data received {"connection_id":216227,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:46:21] local.INFO: Processing buffer {"connection_id":216227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:46:21] local.INFO: IMEI packet received {"connection_id":216227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":216227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:46:23] local.INFO: TCP Data received {"connection_id":217777,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:46:23] local.INFO: Processing buffer {"connection_id":217777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:46:23] local.INFO: IMEI packet received {"connection_id":217777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":217777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:46:24] local.INFO: TCP Data received {"connection_id":217777,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:46:24] local.INFO: Processing buffer {"connection_id":217777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:46:24] local.INFO: Packet analysis {"connection_id":217777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:46:24] local.INFO: Extracted packet for processing {"connection_id":217777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779036928001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105914000,"timestamp_ms":1792105914000,"timestamp_seconds":1792105914,"priority":1,"record_length":96,"hex_timestamp":"000001a141d61e90"} 
[2026-10-16 04:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:46:24] 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-10-16 04:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779036928001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779036928001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:46:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:46:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779036928001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":217777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:46:24] local.INFO: GPS data processed {"connection_id":217777,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:46:24] local.INFO: Acknowledgment sent {"connection_id":217777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:46:26] local.INFO: TCP Data received {"connection_id":216227,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:46:26] local.INFO: Processing buffer {"connection_id":216227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:46:26] local.INFO: IMEI packet received {"connection_id":216227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":216227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:46:27] local.INFO: TCP Data received {"connection_id":216227,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:46:27] local.INFO: Processing buffer {"connection_id":216227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:46:27] local.INFO: Packet analysis {"connection_id":216227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:46:27] local.INFO: Extracted packet for processing {"connection_id":216227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779101952001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792106168000,"timestamp_ms":1792106168000,"timestamp_seconds":1792106168,"priority":1,"record_length":96,"hex_timestamp":"000001a141d9fec0"} 
[2026-10-16 04:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 04:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:46:27] 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-10-16 04:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779101952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779101952001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:46:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779101952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":216227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:46:27] local.INFO: GPS data processed {"connection_id":216227,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:46:27] local.INFO: Acknowledgment sent {"connection_id":216227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:46:56] local.INFO: TCP Data received {"connection_id":217777,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:46:56] local.INFO: Processing buffer {"connection_id":217777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:46:56] local.INFO: Packet analysis {"connection_id":217777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:46:56] local.INFO: Extracted packet for processing {"connection_id":217777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779036928001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792105914000,"timestamp_ms":1792105914000,"timestamp_seconds":1792105914,"priority":1,"record_length":96,"hex_timestamp":"000001a141d61e90"} 
[2026-10-16 04:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:46:56] 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-10-16 04:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779036928001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779036928001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:46:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:46:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779036928001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":217777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:46:56] local.INFO: GPS data processed {"connection_id":217777,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:46:56] local.INFO: Acknowledgment sent {"connection_id":217777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:46:58] local.INFO: TCP Data received {"connection_id":216227,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:46:58] local.INFO: Processing buffer {"connection_id":216227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:46:58] local.INFO: Packet analysis {"connection_id":216227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:46:58] local.INFO: Extracted packet for processing {"connection_id":216227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779101952001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792106168000,"timestamp_ms":1792106168000,"timestamp_seconds":1792106168,"priority":1,"record_length":96,"hex_timestamp":"000001a141d9fec0"} 
[2026-10-16 04:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 04:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:46:58] 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-10-16 04:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779101952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779101952001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:46:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:46:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779101952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":216227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:46:58] local.INFO: GPS data processed {"connection_id":216227,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:46:58] local.INFO: Acknowledgment sent {"connection_id":216227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:47:17] local.INFO: TCP Data received {"connection_id":217778,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:47:17] local.INFO: Processing buffer {"connection_id":217778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:47:17] local.INFO: IMEI packet received {"connection_id":217778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":217778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:47:23] local.INFO: TCP Data received {"connection_id":217778,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:47:23] local.INFO: Processing buffer {"connection_id":217778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:47:23] local.INFO: IMEI packet received {"connection_id":217778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":217778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:47:24] local.INFO: TCP Data received {"connection_id":217778,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:47:24] local.INFO: Processing buffer {"connection_id":217778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d61e90012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:47:24] local.INFO: Packet analysis {"connection_id":217778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:47:24] local.INFO: Extracted packet for processing {"connection_id":217778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d6"} 
[2026-10-16 04:47:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779036928001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792105914000,"timestamp_ms":1792105914000,"timestamp_seconds":1792105914,"priority":1,"record_length":96,"hex_timestamp":"000001a141d61e90"} 
[2026-10-16 04:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:47:24] 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-10-16 04: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-10-16 04:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779036928001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779036928001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:47:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:47:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779036928001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":217778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:47:24] local.INFO: GPS data processed {"connection_id":217778,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:47:24] local.INFO: Acknowledgment sent {"connection_id":217778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:47:26] local.INFO: TCP Data received {"connection_id":219507,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:47:26] local.INFO: Processing buffer {"connection_id":219507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:47:26] local.INFO: IMEI packet received {"connection_id":219507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":219507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:47:30] local.INFO: TCP Data received {"connection_id":219507,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:47:30] local.INFO: Processing buffer {"connection_id":219507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:47:30] local.INFO: Packet analysis {"connection_id":219507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:47:30] local.INFO: Extracted packet for processing {"connection_id":219507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779101952001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792106168000,"timestamp_ms":1792106168000,"timestamp_seconds":1792106168,"priority":1,"record_length":96,"hex_timestamp":"000001a141d9fec0"} 
[2026-10-16 04:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 04:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779101952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779101952001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:47:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:47:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779101952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":219507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:47:30] local.INFO: GPS data processed {"connection_id":219507,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:47:30] local.INFO: Acknowledgment sent {"connection_id":219507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:47:57] local.INFO: TCP Data received {"connection_id":217778,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:47:57] local.INFO: Processing buffer {"connection_id":217778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:47:57] local.INFO: Packet analysis {"connection_id":217778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:47:57] local.INFO: Extracted packet for processing {"connection_id":217778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779113984001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792106215000,"timestamp_ms":1792106215000,"timestamp_seconds":1792106215,"priority":1,"record_length":96,"hex_timestamp":"000001a141dab658"} 
[2026-10-16 04:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:47:57] 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-10-16 04: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-10-16 04:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779113984001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779113984001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:47:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:47:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779113984001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":217778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:47:57] local.INFO: GPS data processed {"connection_id":217778,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:47:57] local.INFO: Acknowledgment sent {"connection_id":217778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:48:01] local.INFO: TCP Data received {"connection_id":219507,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:48:01] local.INFO: Processing buffer {"connection_id":219507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:48:01] local.INFO: Packet analysis {"connection_id":219507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:48:01] local.INFO: Extracted packet for processing {"connection_id":219507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779101952001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792106168000,"timestamp_ms":1792106168000,"timestamp_seconds":1792106168,"priority":1,"record_length":96,"hex_timestamp":"000001a141d9fec0"} 
[2026-10-16 04:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 04:48:01] 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-10-16 04:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779101952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779101952001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:48:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779101952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":219507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:48:01] local.INFO: GPS data processed {"connection_id":219507,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:48:01] local.INFO: Acknowledgment sent {"connection_id":219507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:48:23] local.INFO: TCP Data received {"connection_id":216229,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:48:23] local.INFO: Processing buffer {"connection_id":216229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:48:23] local.INFO: IMEI packet received {"connection_id":216229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":216229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:48:26] local.INFO: TCP Data received {"connection_id":217779,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:48:26] local.INFO: Processing buffer {"connection_id":217779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:48:26] local.INFO: IMEI packet received {"connection_id":217779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":217779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:48:28] local.INFO: TCP Data received {"connection_id":216229,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:48:28] local.INFO: Processing buffer {"connection_id":216229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:48:28] local.INFO: IMEI packet received {"connection_id":216229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":216229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:48:28] local.INFO: TCP Data received {"connection_id":216229,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:48:28] local.INFO: Processing buffer {"connection_id":216229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:48:28] local.INFO: Packet analysis {"connection_id":216229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:48:28] local.INFO: Extracted packet for processing {"connection_id":216229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779113984001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792106215000,"timestamp_ms":1792106215000,"timestamp_seconds":1792106215,"priority":1,"record_length":96,"hex_timestamp":"000001a141dab658"} 
[2026-10-16 04:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:48:29] 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-10-16 04:48: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-10-16 04:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779113984001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779113984001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:48:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:48:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779113984001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":216229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:48:29] local.INFO: GPS data processed {"connection_id":216229,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:48:29] local.INFO: Acknowledgment sent {"connection_id":216229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:48:31] local.INFO: TCP Data received {"connection_id":217779,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:48:31] local.INFO: Processing buffer {"connection_id":217779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:48:31] local.INFO: IMEI packet received {"connection_id":217779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":217779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:48:32] local.INFO: TCP Data received {"connection_id":217779,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:48:32] local.INFO: Processing buffer {"connection_id":217779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:48:32] local.INFO: Packet analysis {"connection_id":217779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:48:32] local.INFO: Extracted packet for processing {"connection_id":217779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779101952001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792106168000,"timestamp_ms":1792106168000,"timestamp_seconds":1792106168,"priority":1,"record_length":96,"hex_timestamp":"000001a141d9fec0"} 
[2026-10-16 04:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 04:48:32] 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-10-16 04:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779101952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779101952001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:48:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779101952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":217779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:48:32] local.INFO: GPS data processed {"connection_id":217779,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:48:32] local.INFO: Acknowledgment sent {"connection_id":217779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:48:33] local.INFO: TCP Data received {"connection_id":216229,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:48:33] local.INFO: Processing buffer {"connection_id":216229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:48:33] local.INFO: Packet analysis {"connection_id":216229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:48:33] local.INFO: Extracted packet for processing {"connection_id":216229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779113984001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792106215000,"timestamp_ms":1792106215000,"timestamp_seconds":1792106215,"priority":1,"record_length":96,"hex_timestamp":"000001a141dab658"} 
[2026-10-16 04:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779113984001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779113984001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:48:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:48:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779113984001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":216229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:48:33] local.INFO: GPS data processed {"connection_id":216229,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:48:33] local.INFO: Acknowledgment sent {"connection_id":216229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:48:40] local.INFO: TCP Data received {"connection_id":217779,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:48:40] local.INFO: Processing buffer {"connection_id":217779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:48:40] local.INFO: Packet analysis {"connection_id":217779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:48:40] local.INFO: Extracted packet for processing {"connection_id":217779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779101952001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792106168000,"timestamp_ms":1792106168000,"timestamp_seconds":1792106168,"priority":1,"record_length":96,"hex_timestamp":"000001a141d9fec0"} 
[2026-10-16 04:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:48: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-10-16 04: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 04:48:40] 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-10-16 04: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-10-16 04:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":217779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":217779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":217779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779101952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779101952001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:48:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779101952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":217779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:48:40] local.INFO: GPS data processed {"connection_id":217779,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:48:40] local.INFO: Acknowledgment sent {"connection_id":217779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:49:18] local.INFO: TCP Data received {"connection_id":216230,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:49:18] local.INFO: Processing buffer {"connection_id":216230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:49:18] local.INFO: IMEI packet received {"connection_id":216230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":216230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:49:21] local.INFO: TCP Data received {"connection_id":216231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:49:21] local.INFO: Processing buffer {"connection_id":216231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:49:21] local.INFO: IMEI packet received {"connection_id":216231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:49:23] local.INFO: TCP Data received {"connection_id":216230,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:49:23] local.INFO: Processing buffer {"connection_id":216230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:49:23] local.INFO: IMEI packet received {"connection_id":216230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":216230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:49:24] local.INFO: TCP Data received {"connection_id":216230,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:49:24] local.INFO: Processing buffer {"connection_id":216230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:49:24] local.INFO: Packet analysis {"connection_id":216230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:49:24] local.INFO: Extracted packet for processing {"connection_id":216230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:49:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779113984001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792106215000,"timestamp_ms":1792106215000,"timestamp_seconds":1792106215,"priority":1,"record_length":96,"hex_timestamp":"000001a141dab658"} 
[2026-10-16 04:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:49:24] 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-10-16 04:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779113984001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779113984001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:49:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:49:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779113984001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":216230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:49:24] local.INFO: GPS data processed {"connection_id":216230,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:49:24] local.INFO: Acknowledgment sent {"connection_id":216230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:49:26] local.INFO: TCP Data received {"connection_id":216231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:49:26] local.INFO: Processing buffer {"connection_id":216231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:49:26] local.INFO: IMEI packet received {"connection_id":216231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":216231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:49:27] local.INFO: TCP Data received {"connection_id":216231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:49:27] local.INFO: Processing buffer {"connection_id":216231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:49:27] local.INFO: Packet analysis {"connection_id":216231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:49:27] local.INFO: Extracted packet for processing {"connection_id":216231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779101952001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792106168000,"timestamp_ms":1792106168000,"timestamp_seconds":1792106168,"priority":1,"record_length":96,"hex_timestamp":"000001a141d9fec0"} 
[2026-10-16 04:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 04:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:49:27] 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-10-16 04:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779101952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779101952001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:49:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779101952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":216231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:49:27] local.INFO: GPS data processed {"connection_id":216231,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:49:27] local.INFO: Acknowledgment sent {"connection_id":216231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:49:52] local.INFO: TCP Data received {"connection_id":216432,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:49:52] local.INFO: Processing buffer {"connection_id":216432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:49:52] local.INFO: IMEI packet received {"connection_id":216432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":216432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:49:56] local.INFO: TCP Data received {"connection_id":216230,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:49:56] local.INFO: Processing buffer {"connection_id":216230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:49:56] local.INFO: Packet analysis {"connection_id":216230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:49:56] local.INFO: Extracted packet for processing {"connection_id":216230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779113984001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792106215000,"timestamp_ms":1792106215000,"timestamp_seconds":1792106215,"priority":1,"record_length":96,"hex_timestamp":"000001a141dab658"} 
[2026-10-16 04:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:49:56] 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-10-16 04: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-10-16 04:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779113984001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779113984001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:49:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:49:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779113984001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":216230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:49:56] local.INFO: GPS data processed {"connection_id":216230,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:49:56] local.INFO: Acknowledgment sent {"connection_id":216230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:49:59] local.INFO: TCP Data received {"connection_id":216231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:49:59] local.INFO: Processing buffer {"connection_id":216231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:49:59] local.INFO: Packet analysis {"connection_id":216231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:49:59] local.INFO: Extracted packet for processing {"connection_id":216231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779101952001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792106168000,"timestamp_ms":1792106168000,"timestamp_seconds":1792106168,"priority":1,"record_length":96,"hex_timestamp":"000001a141d9fec0"} 
[2026-10-16 04:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 04:49:59] 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-10-16 04:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:49:59] 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-10-16 04:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779101952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779101952001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:49:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779101952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":216231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:49:59] local.INFO: GPS data processed {"connection_id":216231,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:49:59] local.INFO: Acknowledgment sent {"connection_id":216231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:50:17] local.INFO: TCP Data received {"connection_id":219509,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:50:17] local.INFO: Processing buffer {"connection_id":219509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:50:17] local.INFO: IMEI packet received {"connection_id":219509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":219509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:50:21] local.INFO: TCP Data received {"connection_id":216232,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:50:21] local.INFO: Processing buffer {"connection_id":216232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:50:21] local.INFO: IMEI packet received {"connection_id":216232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":216232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:50:23] local.INFO: TCP Data received {"connection_id":219509,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:50:23] local.INFO: Processing buffer {"connection_id":219509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:50:23] local.INFO: IMEI packet received {"connection_id":219509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":219509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:50:24] local.INFO: TCP Data received {"connection_id":219509,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:50:24] local.INFO: Processing buffer {"connection_id":219509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:50:24] local.INFO: Packet analysis {"connection_id":219509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:50:24] local.INFO: Extracted packet for processing {"connection_id":219509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779113984001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792106215000,"timestamp_ms":1792106215000,"timestamp_seconds":1792106215,"priority":1,"record_length":96,"hex_timestamp":"000001a141dab658"} 
[2026-10-16 04:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:50:24] 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-10-16 04:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779113984001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779113984001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:50:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:50:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779113984001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":219509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:50:24] local.INFO: GPS data processed {"connection_id":219509,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:50:24] local.INFO: Acknowledgment sent {"connection_id":219509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:50:26] local.INFO: TCP Data received {"connection_id":216232,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:50:26] local.INFO: Processing buffer {"connection_id":216232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:50:26] local.INFO: IMEI packet received {"connection_id":216232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":216232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:50:27] local.INFO: TCP Data received {"connection_id":216232,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:50:27] local.INFO: Processing buffer {"connection_id":216232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:50:27] local.INFO: Packet analysis {"connection_id":216232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:50:27] local.INFO: Extracted packet for processing {"connection_id":216232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779101952001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792106168000,"timestamp_ms":1792106168000,"timestamp_seconds":1792106168,"priority":1,"record_length":96,"hex_timestamp":"000001a141d9fec0"} 
[2026-10-16 04:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 04:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:50: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-10-16 04:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779101952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779101952001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:50:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779101952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":216232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:50:27] local.INFO: GPS data processed {"connection_id":216232,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:50:27] local.INFO: Acknowledgment sent {"connection_id":216232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:50:56] local.INFO: TCP Data received {"connection_id":219509,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:50:56] local.INFO: Processing buffer {"connection_id":219509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:50:56] local.INFO: Packet analysis {"connection_id":219509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:50:56] local.INFO: Extracted packet for processing {"connection_id":219509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779113984001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792106215000,"timestamp_ms":1792106215000,"timestamp_seconds":1792106215,"priority":1,"record_length":96,"hex_timestamp":"000001a141dab658"} 
[2026-10-16 04:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:50:56] 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-10-16 04:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779113984001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779113984001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:50:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:50:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779113984001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":219509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:50:56] local.INFO: GPS data processed {"connection_id":219509,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:50:56] local.INFO: Acknowledgment sent {"connection_id":219509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:51:03] local.INFO: TCP Data received {"connection_id":216232,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:51:03] local.INFO: Processing buffer {"connection_id":216232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141d9fec0012d7c240005dad510000d00ea20..."} 
[2026-10-16 04:51:03] local.INFO: Packet analysis {"connection_id":216232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:51:03] local.INFO: Extracted packet for processing {"connection_id":216232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141d9"} 
[2026-10-16 04:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779101952001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792106168000,"timestamp_ms":1792106168000,"timestamp_seconds":1792106168,"priority":1,"record_length":96,"hex_timestamp":"000001a141d9fec0"} 
[2026-10-16 04:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 04:51:03] 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-10-16 04:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:51: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-10-16 04:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779101952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779101952001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:51:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:51:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779101952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":216232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:51:03] local.INFO: GPS data processed {"connection_id":216232,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:51:03] local.INFO: Acknowledgment sent {"connection_id":216232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:51:17] local.INFO: TCP Data received {"connection_id":219510,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:51:17] local.INFO: Processing buffer {"connection_id":219510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:51:17] local.INFO: IMEI packet received {"connection_id":219510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":219510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:51:21] local.INFO: TCP Data received {"connection_id":216433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:51:21] local.INFO: Processing buffer {"connection_id":216433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:51:21] local.INFO: IMEI packet received {"connection_id":216433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":216433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:51:23] local.INFO: TCP Data received {"connection_id":219510,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:51:23] local.INFO: Processing buffer {"connection_id":219510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:51:23] local.INFO: IMEI packet received {"connection_id":219510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":219510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:51:24] local.INFO: TCP Data received {"connection_id":219510,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:51:24] local.INFO: Processing buffer {"connection_id":219510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:51:24] local.INFO: Packet analysis {"connection_id":219510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:51:24] local.INFO: Extracted packet for processing {"connection_id":219510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779113984001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792106215000,"timestamp_ms":1792106215000,"timestamp_seconds":1792106215,"priority":1,"record_length":96,"hex_timestamp":"000001a141dab658"} 
[2026-10-16 04:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:51:24] 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-10-16 04:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779113984001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779113984001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:51:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:51:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779113984001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":219510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:51:24] local.INFO: GPS data processed {"connection_id":219510,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:51:24] local.INFO: Acknowledgment sent {"connection_id":219510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:51:26] local.INFO: TCP Data received {"connection_id":216433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:51:26] local.INFO: Processing buffer {"connection_id":216433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:51:26] local.INFO: IMEI packet received {"connection_id":216433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":216433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:51:30] local.INFO: TCP Data received {"connection_id":216433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:51:30] local.INFO: Processing buffer {"connection_id":216433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:51:30] local.INFO: Packet analysis {"connection_id":216433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:51:30] local.INFO: Extracted packet for processing {"connection_id":216433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779179008001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792106469000,"timestamp_ms":1792106469000,"timestamp_seconds":1792106469,"priority":1,"record_length":96,"hex_timestamp":"000001a141de9688"} 
[2026-10-16 04:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:51: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-10-16 04:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:51:30] 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-10-16 04:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779179008001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779179008001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:51:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:51:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779179008001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":216433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:51:30] local.INFO: GPS data processed {"connection_id":216433,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:51:30] local.INFO: Acknowledgment sent {"connection_id":216433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:51:56] local.INFO: TCP Data received {"connection_id":219510,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:51:56] local.INFO: Processing buffer {"connection_id":219510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:51:56] local.INFO: Packet analysis {"connection_id":219510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:51:56] local.INFO: Extracted packet for processing {"connection_id":219510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779113984001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792106215000,"timestamp_ms":1792106215000,"timestamp_seconds":1792106215,"priority":1,"record_length":96,"hex_timestamp":"000001a141dab658"} 
[2026-10-16 04:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:51:56] 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-10-16 04:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779113984001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779113984001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:51:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:51:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779113984001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":219510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:51:56] local.INFO: GPS data processed {"connection_id":219510,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:51:56] local.INFO: Acknowledgment sent {"connection_id":219510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:52:01] local.INFO: TCP Data received {"connection_id":216433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:52:01] local.INFO: Processing buffer {"connection_id":216433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:52:01] local.INFO: Packet analysis {"connection_id":216433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:52:01] local.INFO: Extracted packet for processing {"connection_id":216433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779179008001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792106469000,"timestamp_ms":1792106469000,"timestamp_seconds":1792106469,"priority":1,"record_length":96,"hex_timestamp":"000001a141de9688"} 
[2026-10-16 04:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:52:01] 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-10-16 04:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:52:01] 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-10-16 04:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779179008001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779179008001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:52:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779179008001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":216433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:52:01] local.INFO: GPS data processed {"connection_id":216433,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:52:01] local.INFO: Acknowledgment sent {"connection_id":216433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:52:21] local.INFO: TCP Data received {"connection_id":217781,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:52:21] local.INFO: Processing buffer {"connection_id":217781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:52:21] local.INFO: IMEI packet received {"connection_id":217781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":217781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:52:23] local.INFO: TCP Data received {"connection_id":219511,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:52:23] local.INFO: Processing buffer {"connection_id":219511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:52:23] local.INFO: IMEI packet received {"connection_id":219511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":219511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:52:26] local.INFO: TCP Data received {"connection_id":217781,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:52:26] local.INFO: Processing buffer {"connection_id":217781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:52:26] local.INFO: IMEI packet received {"connection_id":217781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":217781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:52:28] local.INFO: TCP Data received {"connection_id":219511,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:52:28] local.INFO: Processing buffer {"connection_id":219511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:52:28] local.INFO: IMEI packet received {"connection_id":219511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":219511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:52:28] local.INFO: TCP Data received {"connection_id":217781,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:52:28] local.INFO: Processing buffer {"connection_id":217781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:52:28] local.INFO: Packet analysis {"connection_id":217781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:52:28] local.INFO: Extracted packet for processing {"connection_id":217781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:52:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779179008001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792106469000,"timestamp_ms":1792106469000,"timestamp_seconds":1792106469,"priority":1,"record_length":96,"hex_timestamp":"000001a141de9688"} 
[2026-10-16 04:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:52:28] 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-10-16 04:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779179008001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779179008001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:52:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779179008001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":217781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:52:28] local.INFO: GPS data processed {"connection_id":217781,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:52:28] local.INFO: Acknowledgment sent {"connection_id":217781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:52:29] local.INFO: TCP Data received {"connection_id":219511,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:52:29] local.INFO: Processing buffer {"connection_id":219511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141dab658012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:52:29] local.INFO: Packet analysis {"connection_id":219511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:52:29] local.INFO: Extracted packet for processing {"connection_id":219511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141da"} 
[2026-10-16 04:52:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:52: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-10-16 04:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779113984001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792106215000,"timestamp_ms":1792106215000,"timestamp_seconds":1792106215,"priority":1,"record_length":96,"hex_timestamp":"000001a141dab658"} 
[2026-10-16 04:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 04:52:29] 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-10-16 04:52: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-10-16 04:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779113984001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779113984001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:52:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:52:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779113984001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":219511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:52:29] local.INFO: GPS data processed {"connection_id":219511,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:52:29] local.INFO: Acknowledgment sent {"connection_id":219511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:52:59] local.INFO: TCP Data received {"connection_id":217781,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:52:59] local.INFO: Processing buffer {"connection_id":217781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:52:59] local.INFO: Packet analysis {"connection_id":217781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:52:59] local.INFO: Extracted packet for processing {"connection_id":217781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779179008001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792106469000,"timestamp_ms":1792106469000,"timestamp_seconds":1792106469,"priority":1,"record_length":96,"hex_timestamp":"000001a141de9688"} 
[2026-10-16 04:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779179008001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779179008001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:52:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779179008001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":217781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:52:59] local.INFO: GPS data processed {"connection_id":217781,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:52:59] local.INFO: Acknowledgment sent {"connection_id":217781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:53:00] local.INFO: TCP Data received {"connection_id":219511,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:53:00] local.INFO: Processing buffer {"connection_id":219511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:53:00] local.INFO: Packet analysis {"connection_id":219511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:53:00] local.INFO: Extracted packet for processing {"connection_id":219511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:53: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-10-16 04:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779191040001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792106516000,"timestamp_ms":1792106516000,"timestamp_seconds":1792106516,"priority":1,"record_length":96,"hex_timestamp":"000001a141df4e20"} 
[2026-10-16 04:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:53:00] 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-10-16 04:53: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-10-16 04:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779191040001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779191040001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:53:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:53:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779191040001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":219511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:53:00] local.INFO: GPS data processed {"connection_id":219511,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:53:00] local.INFO: Acknowledgment sent {"connection_id":219511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:53:17] local.INFO: TCP Data received {"connection_id":216434,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:53:17] local.INFO: Processing buffer {"connection_id":216434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:53:17] local.INFO: IMEI packet received {"connection_id":216434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":216434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:53:21] local.INFO: TCP Data received {"connection_id":216435,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:53:21] local.INFO: Processing buffer {"connection_id":216435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:53:21] local.INFO: IMEI packet received {"connection_id":216435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":216435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:53:23] local.INFO: TCP Data received {"connection_id":216434,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:53:23] local.INFO: Processing buffer {"connection_id":216434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:53:23] local.INFO: IMEI packet received {"connection_id":216434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":216434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:53:24] local.INFO: TCP Data received {"connection_id":216434,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:53:24] local.INFO: Processing buffer {"connection_id":216434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:53:24] local.INFO: Packet analysis {"connection_id":216434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:53:24] local.INFO: Extracted packet for processing {"connection_id":216434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:53:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779191040001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792106516000,"timestamp_ms":1792106516000,"timestamp_seconds":1792106516,"priority":1,"record_length":96,"hex_timestamp":"000001a141df4e20"} 
[2026-10-16 04:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:53:24] 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-10-16 04:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779191040001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779191040001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:53:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:53:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779191040001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":216434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:53:24] local.INFO: GPS data processed {"connection_id":216434,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:53:24] local.INFO: Acknowledgment sent {"connection_id":216434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:53:26] local.INFO: TCP Data received {"connection_id":216435,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:53:26] local.INFO: Processing buffer {"connection_id":216435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:53:26] local.INFO: IMEI packet received {"connection_id":216435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":216435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:53:27] local.INFO: TCP Data received {"connection_id":216435,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:53:27] local.INFO: Processing buffer {"connection_id":216435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:53:27] local.INFO: Packet analysis {"connection_id":216435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:53:27] local.INFO: Extracted packet for processing {"connection_id":216435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779179008001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792106469000,"timestamp_ms":1792106469000,"timestamp_seconds":1792106469,"priority":1,"record_length":96,"hex_timestamp":"000001a141de9688"} 
[2026-10-16 04:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:53:27] 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-10-16 04:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:53: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-10-16 04:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779179008001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779179008001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:53:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779179008001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":216435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:53:27] local.INFO: GPS data processed {"connection_id":216435,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:53:27] local.INFO: Acknowledgment sent {"connection_id":216435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:53:56] local.INFO: TCP Data received {"connection_id":216434,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:53:56] local.INFO: Processing buffer {"connection_id":216434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:53:56] local.INFO: Packet analysis {"connection_id":216434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:53:56] local.INFO: Extracted packet for processing {"connection_id":216434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779191040001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792106516000,"timestamp_ms":1792106516000,"timestamp_seconds":1792106516,"priority":1,"record_length":96,"hex_timestamp":"000001a141df4e20"} 
[2026-10-16 04:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:53:56] 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-10-16 04:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779191040001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779191040001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:53:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:53:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779191040001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":216434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:53:56] local.INFO: GPS data processed {"connection_id":216434,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:53:56] local.INFO: Acknowledgment sent {"connection_id":216434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:53:58] local.INFO: TCP Data received {"connection_id":216435,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:53:58] local.INFO: Processing buffer {"connection_id":216435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:53:58] local.INFO: Packet analysis {"connection_id":216435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:53:58] local.INFO: Extracted packet for processing {"connection_id":216435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779179008001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792106469000,"timestamp_ms":1792106469000,"timestamp_seconds":1792106469,"priority":1,"record_length":96,"hex_timestamp":"000001a141de9688"} 
[2026-10-16 04:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:53:58] 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-10-16 04:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779179008001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779179008001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:53:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779179008001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":216435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:53:58] local.INFO: GPS data processed {"connection_id":216435,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:53:58] local.INFO: Acknowledgment sent {"connection_id":216435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:54:23] local.INFO: TCP Data received {"connection_id":216436,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:54:23] local.INFO: Processing buffer {"connection_id":216436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:54:23] local.INFO: IMEI packet received {"connection_id":216436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":216436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:54:26] local.INFO: TCP Data received {"connection_id":216235,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:54:26] local.INFO: Processing buffer {"connection_id":216235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:54:26] local.INFO: IMEI packet received {"connection_id":216235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":216235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:54:28] local.INFO: TCP Data received {"connection_id":216436,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:54:28] local.INFO: Processing buffer {"connection_id":216436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:54:28] local.INFO: IMEI packet received {"connection_id":216436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":216436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:54:29] local.INFO: TCP Data received {"connection_id":216436,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:54:29] local.INFO: Processing buffer {"connection_id":216436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:54:29] local.INFO: Packet analysis {"connection_id":216436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:54:29] local.INFO: Extracted packet for processing {"connection_id":216436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779191040001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792106516000,"timestamp_ms":1792106516000,"timestamp_seconds":1792106516,"priority":1,"record_length":96,"hex_timestamp":"000001a141df4e20"} 
[2026-10-16 04:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:54:29] 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-10-16 04:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779191040001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779191040001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:54:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:54:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779191040001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":216436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:54:29] local.INFO: GPS data processed {"connection_id":216436,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:54:29] local.INFO: Acknowledgment sent {"connection_id":216436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:54:31] local.INFO: TCP Data received {"connection_id":216235,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:54:31] local.INFO: Processing buffer {"connection_id":216235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:54:31] local.INFO: IMEI packet received {"connection_id":216235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":216235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:54:32] local.INFO: TCP Data received {"connection_id":216235,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:54:32] local.INFO: Processing buffer {"connection_id":216235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:54:32] local.INFO: Packet analysis {"connection_id":216235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:54:32] local.INFO: Extracted packet for processing {"connection_id":216235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779179008001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792106469000,"timestamp_ms":1792106469000,"timestamp_seconds":1792106469,"priority":1,"record_length":96,"hex_timestamp":"000001a141de9688"} 
[2026-10-16 04:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:54:32] 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-10-16 04:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779179008001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779179008001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:54:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779179008001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":216235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:54:32] local.INFO: GPS data processed {"connection_id":216235,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:54:32] local.INFO: Acknowledgment sent {"connection_id":216235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:54:33] local.INFO: TCP Data received {"connection_id":216436,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:54:33] local.INFO: Processing buffer {"connection_id":216436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:54:33] local.INFO: Packet analysis {"connection_id":216436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:54:33] local.INFO: Extracted packet for processing {"connection_id":216436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779191040001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792106516000,"timestamp_ms":1792106516000,"timestamp_seconds":1792106516,"priority":1,"record_length":96,"hex_timestamp":"000001a141df4e20"} 
[2026-10-16 04:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779191040001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779191040001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:54:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:54:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779191040001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":216436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:54:33] local.INFO: GPS data processed {"connection_id":216436,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:54:33] local.INFO: Acknowledgment sent {"connection_id":216436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:54:37] local.INFO: TCP Data received {"connection_id":216235,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:54:37] local.INFO: Processing buffer {"connection_id":216235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:54:37] local.INFO: Packet analysis {"connection_id":216235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:54:37] local.INFO: Extracted packet for processing {"connection_id":216235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779179008001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792106469000,"timestamp_ms":1792106469000,"timestamp_seconds":1792106469,"priority":1,"record_length":96,"hex_timestamp":"000001a141de9688"} 
[2026-10-16 04:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:54:37] 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-10-16 04: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-10-16 04:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779179008001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779179008001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:54:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779179008001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":216235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:54:37] local.INFO: GPS data processed {"connection_id":216235,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:54:37] local.INFO: Acknowledgment sent {"connection_id":216235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:55:18] local.INFO: TCP Data received {"connection_id":216236,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:55:18] local.INFO: Processing buffer {"connection_id":216236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:55:18] local.INFO: IMEI packet received {"connection_id":216236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":216236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:55:21] local.INFO: TCP Data received {"connection_id":216237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:55:21] local.INFO: Processing buffer {"connection_id":216237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:55:21] local.INFO: IMEI packet received {"connection_id":216237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":216237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:55:21] local.INFO: TCP Data received {"connection_id":219512,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:55:21] local.INFO: Processing buffer {"connection_id":219512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:55:21] local.INFO: IMEI packet received {"connection_id":219512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":219512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:55:23] local.INFO: TCP Data received {"connection_id":216236,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:55:23] local.INFO: Processing buffer {"connection_id":216236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:55:23] local.INFO: IMEI packet received {"connection_id":216236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":216236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:55:24] local.INFO: TCP Data received {"connection_id":216236,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:55:24] local.INFO: Processing buffer {"connection_id":216236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:55:24] local.INFO: Packet analysis {"connection_id":216236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:55:24] local.INFO: Extracted packet for processing {"connection_id":216236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779191040001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792106516000,"timestamp_ms":1792106516000,"timestamp_seconds":1792106516,"priority":1,"record_length":96,"hex_timestamp":"000001a141df4e20"} 
[2026-10-16 04:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:55:24] 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-10-16 04:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779191040001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779191040001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:55:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:55:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779191040001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":216236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:55:24] local.INFO: GPS data processed {"connection_id":216236,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:55:24] local.INFO: Acknowledgment sent {"connection_id":216236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:55:26] local.INFO: TCP Data received {"connection_id":216237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:55:26] local.INFO: Processing buffer {"connection_id":216237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:55:26] local.INFO: IMEI packet received {"connection_id":216237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":216237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:55:27] local.INFO: TCP Data received {"connection_id":216237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:55:27] local.INFO: Processing buffer {"connection_id":216237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:55:27] local.INFO: Packet analysis {"connection_id":216237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:55:27] local.INFO: Extracted packet for processing {"connection_id":216237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779179008001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792106469000,"timestamp_ms":1792106469000,"timestamp_seconds":1792106469,"priority":1,"record_length":96,"hex_timestamp":"000001a141de9688"} 
[2026-10-16 04:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:55:27] 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-10-16 04: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-10-16 04:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779179008001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779179008001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:55:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779179008001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":216237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:55:27] local.INFO: GPS data processed {"connection_id":216237,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:55:27] local.INFO: Acknowledgment sent {"connection_id":216237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:55:56] local.INFO: TCP Data received {"connection_id":216236,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:55:56] local.INFO: Processing buffer {"connection_id":216236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:55:56] local.INFO: Packet analysis {"connection_id":216236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:55:56] local.INFO: Extracted packet for processing {"connection_id":216236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779191040001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792106516000,"timestamp_ms":1792106516000,"timestamp_seconds":1792106516,"priority":1,"record_length":96,"hex_timestamp":"000001a141df4e20"} 
[2026-10-16 04:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:55:56] 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-10-16 04:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779191040001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779191040001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:55:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:55:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779191040001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":216236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:55:56] local.INFO: GPS data processed {"connection_id":216236,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:55:56] local.INFO: Acknowledgment sent {"connection_id":216236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:55:56] local.INFO: TCP Data received {"connection_id":219513,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:55:56] local.INFO: Processing buffer {"connection_id":219513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 04:55:56] local.INFO: IMEI packet received {"connection_id":219513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 04:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":219513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:55:58] local.INFO: TCP Data received {"connection_id":216237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:55:58] local.INFO: Processing buffer {"connection_id":216237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141de9688012d7c240005dad510000d00ea1d..."} 
[2026-10-16 04:55:58] local.INFO: Packet analysis {"connection_id":216237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:55:58] local.INFO: Extracted packet for processing {"connection_id":216237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141de"} 
[2026-10-16 04:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779179008001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792106469000,"timestamp_ms":1792106469000,"timestamp_seconds":1792106469,"priority":1,"record_length":96,"hex_timestamp":"000001a141de9688"} 
[2026-10-16 04:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 04:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779179008001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779179008001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:55:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779179008001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":216237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:55:58] local.INFO: GPS data processed {"connection_id":216237,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:55:58] local.INFO: Acknowledgment sent {"connection_id":216237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:56:17] local.INFO: TCP Data received {"connection_id":216437,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:56:17] local.INFO: Processing buffer {"connection_id":216437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:56:17] local.INFO: IMEI packet received {"connection_id":216437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":216437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:56:21] local.INFO: TCP Data received {"connection_id":217783,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:56:21] local.INFO: Processing buffer {"connection_id":217783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:56:21] local.INFO: IMEI packet received {"connection_id":217783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":217783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:56:23] local.INFO: TCP Data received {"connection_id":216437,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:56:23] local.INFO: Processing buffer {"connection_id":216437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:56:23] local.INFO: IMEI packet received {"connection_id":216437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":216437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:56:25] local.INFO: TCP Data received {"connection_id":216437,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:56:25] local.INFO: Processing buffer {"connection_id":216437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:56:25] local.INFO: Packet analysis {"connection_id":216437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:56:25] local.INFO: Extracted packet for processing {"connection_id":216437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:56:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779191040001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792106516000,"timestamp_ms":1792106516000,"timestamp_seconds":1792106516,"priority":1,"record_length":96,"hex_timestamp":"000001a141df4e20"} 
[2026-10-16 04:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779191040001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779191040001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:56:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:56:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779191040001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":216437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:56:25] local.INFO: GPS data processed {"connection_id":216437,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:56:25] local.INFO: Acknowledgment sent {"connection_id":216437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:56:26] local.INFO: TCP Data received {"connection_id":217783,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:56:26] local.INFO: Processing buffer {"connection_id":217783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:56:26] local.INFO: IMEI packet received {"connection_id":217783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":217783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:56:27] local.INFO: TCP Data received {"connection_id":217783,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:56:27] local.INFO: Processing buffer {"connection_id":217783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:56:27] local.INFO: Packet analysis {"connection_id":217783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:56:27] local.INFO: Extracted packet for processing {"connection_id":217783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779256064001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792106770000,"timestamp_ms":1792106770000,"timestamp_seconds":1792106770,"priority":1,"record_length":96,"hex_timestamp":"000001a141e32e50"} 
[2026-10-16 04:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779256064001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779256064001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:56:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779256064001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":217783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:56:27] local.INFO: GPS data processed {"connection_id":217783,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:56:27] local.INFO: Acknowledgment sent {"connection_id":217783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:56:56] local.INFO: TCP Data received {"connection_id":216437,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:56:56] local.INFO: Processing buffer {"connection_id":216437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:56:56] local.INFO: Packet analysis {"connection_id":216437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:56:56] local.INFO: Extracted packet for processing {"connection_id":216437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779191040001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792106516000,"timestamp_ms":1792106516000,"timestamp_seconds":1792106516,"priority":1,"record_length":96,"hex_timestamp":"000001a141df4e20"} 
[2026-10-16 04:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:56:56] 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-10-16 04:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779191040001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779191040001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:56:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:56:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779191040001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":216437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:56:56] local.INFO: GPS data processed {"connection_id":216437,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:56:56] local.INFO: Acknowledgment sent {"connection_id":216437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:56:58] local.INFO: TCP Data received {"connection_id":217783,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:56:58] local.INFO: Processing buffer {"connection_id":217783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:56:58] local.INFO: Packet analysis {"connection_id":217783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:56:58] local.INFO: Extracted packet for processing {"connection_id":217783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779256064001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792106770000,"timestamp_ms":1792106770000,"timestamp_seconds":1792106770,"priority":1,"record_length":96,"hex_timestamp":"000001a141e32e50"} 
[2026-10-16 04:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:56: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-10-16 04:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779256064001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779256064001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:56:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779256064001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":217783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:56:59] local.INFO: GPS data processed {"connection_id":217783,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:56:59] local.INFO: Acknowledgment sent {"connection_id":217783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:57:17] local.INFO: TCP Data received {"connection_id":219514,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:57:17] local.INFO: Processing buffer {"connection_id":219514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:57:17] local.INFO: IMEI packet received {"connection_id":219514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":219514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:57:21] local.INFO: TCP Data received {"connection_id":216438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:57:21] local.INFO: Processing buffer {"connection_id":216438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:57:21] local.INFO: IMEI packet received {"connection_id":216438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":216438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:57:23] local.INFO: TCP Data received {"connection_id":219514,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:57:23] local.INFO: Processing buffer {"connection_id":219514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:57:23] local.INFO: IMEI packet received {"connection_id":219514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":219514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:57:24] local.INFO: TCP Data received {"connection_id":219514,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:57:24] local.INFO: Processing buffer {"connection_id":219514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141df4e20012d7f98c005afddb00000002f1b..."} 
[2026-10-16 04:57:24] local.INFO: Packet analysis {"connection_id":219514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:57:24] local.INFO: Extracted packet for processing {"connection_id":219514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141df"} 
[2026-10-16 04:57:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":27,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779191040001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792106516000,"timestamp_ms":1792106516000,"timestamp_seconds":1792106516,"priority":1,"record_length":96,"hex_timestamp":"000001a141df4e20"} 
[2026-10-16 04:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:57:24] 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-10-16 04:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779191040001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779191040001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:57:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:57:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779191040001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":219514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:57:24] local.INFO: GPS data processed {"connection_id":219514,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:57:24] local.INFO: Acknowledgment sent {"connection_id":219514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:57:26] local.INFO: TCP Data received {"connection_id":216438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:57:26] local.INFO: Processing buffer {"connection_id":216438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:57:26] local.INFO: IMEI packet received {"connection_id":216438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":216438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:57:29] local.INFO: TCP Data received {"connection_id":216438,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:57:29] local.INFO: Processing buffer {"connection_id":216438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:57:29] local.INFO: Packet analysis {"connection_id":216438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:57:29] local.INFO: Extracted packet for processing {"connection_id":216438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:57: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-10-16 04:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779256064001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792106770000,"timestamp_ms":1792106770000,"timestamp_seconds":1792106770,"priority":1,"record_length":96,"hex_timestamp":"000001a141e32e50"} 
[2026-10-16 04:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:57: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-10-16 04:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:57: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-10-16 04:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779256064001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779256064001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:57:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779256064001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":216438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:57:30] local.INFO: GPS data processed {"connection_id":216438,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:57:30] local.INFO: Acknowledgment sent {"connection_id":216438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:57:55] local.INFO: TCP Data received {"connection_id":219514,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:57:55] local.INFO: Processing buffer {"connection_id":219514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:57:55] local.INFO: Packet analysis {"connection_id":219514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:57:55] local.INFO: Extracted packet for processing {"connection_id":219514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779268096001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792106817000,"timestamp_ms":1792106817000,"timestamp_seconds":1792106817,"priority":1,"record_length":96,"hex_timestamp":"000001a141e3e5e8"} 
[2026-10-16 04:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:57:55] 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-10-16 04:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779268096001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779268096001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:57:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:57:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779268096001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":219514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:57:55] local.INFO: GPS data processed {"connection_id":219514,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:57:55] local.INFO: Acknowledgment sent {"connection_id":219514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:58:01] local.INFO: TCP Data received {"connection_id":216438,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:58:01] local.INFO: Processing buffer {"connection_id":216438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:58:01] local.INFO: Packet analysis {"connection_id":216438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:58:01] local.INFO: Extracted packet for processing {"connection_id":216438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779256064001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792106770000,"timestamp_ms":1792106770000,"timestamp_seconds":1792106770,"priority":1,"record_length":96,"hex_timestamp":"000001a141e32e50"} 
[2026-10-16 04:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:58:01] 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-10-16 04:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:58: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-10-16 04:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779256064001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779256064001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:58:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779256064001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":216438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:58:01] local.INFO: GPS data processed {"connection_id":216438,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:58:01] local.INFO: Acknowledgment sent {"connection_id":216438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:58:17] local.INFO: TCP Data received {"connection_id":219515,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:58:17] local.INFO: Processing buffer {"connection_id":219515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:58:17] local.INFO: IMEI packet received {"connection_id":219515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":219515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:58:21] local.INFO: TCP Data received {"connection_id":217784,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:58:21] local.INFO: Processing buffer {"connection_id":217784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:58:21] local.INFO: IMEI packet received {"connection_id":217784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":217784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:58:23] local.INFO: TCP Data received {"connection_id":219515,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:58:23] local.INFO: Processing buffer {"connection_id":219515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:58:23] local.INFO: IMEI packet received {"connection_id":219515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":219515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:58:24] local.INFO: TCP Data received {"connection_id":219515,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:58:24] local.INFO: Processing buffer {"connection_id":219515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:58:24] local.INFO: Packet analysis {"connection_id":219515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:58:24] local.INFO: Extracted packet for processing {"connection_id":219515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:58:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779268096001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792106817000,"timestamp_ms":1792106817000,"timestamp_seconds":1792106817,"priority":1,"record_length":96,"hex_timestamp":"000001a141e3e5e8"} 
[2026-10-16 04:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:58:24] 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-10-16 04:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779268096001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779268096001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:58:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:58:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779268096001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":219515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:58:24] local.INFO: GPS data processed {"connection_id":219515,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:58:24] local.INFO: Acknowledgment sent {"connection_id":219515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:58:26] local.INFO: TCP Data received {"connection_id":217784,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:58:26] local.INFO: Processing buffer {"connection_id":217784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:58:26] local.INFO: IMEI packet received {"connection_id":217784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":217784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:58:27] local.INFO: TCP Data received {"connection_id":217784,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:58:27] local.INFO: Processing buffer {"connection_id":217784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:58:27] local.INFO: Packet analysis {"connection_id":217784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:58:27] local.INFO: Extracted packet for processing {"connection_id":217784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779256064001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792106770000,"timestamp_ms":1792106770000,"timestamp_seconds":1792106770,"priority":1,"record_length":96,"hex_timestamp":"000001a141e32e50"} 
[2026-10-16 04:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04: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-10-16 04:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779256064001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779256064001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:58:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779256064001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":217784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:58:27] local.INFO: GPS data processed {"connection_id":217784,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:58:27] local.INFO: Acknowledgment sent {"connection_id":217784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:58:56] local.INFO: TCP Data received {"connection_id":219515,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:58:56] local.INFO: Processing buffer {"connection_id":219515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:58:56] local.INFO: Packet analysis {"connection_id":219515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:58:56] local.INFO: Extracted packet for processing {"connection_id":219515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779268096001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792106817000,"timestamp_ms":1792106817000,"timestamp_seconds":1792106817,"priority":1,"record_length":96,"hex_timestamp":"000001a141e3e5e8"} 
[2026-10-16 04:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:58:56] 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-10-16 04:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779268096001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779268096001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:58:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:58:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779268096001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":219515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:58:56] local.INFO: GPS data processed {"connection_id":219515,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:58:56] local.INFO: Acknowledgment sent {"connection_id":219515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:58:58] local.INFO: TCP Data received {"connection_id":217784,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:58:58] local.INFO: Processing buffer {"connection_id":217784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:58:58] local.INFO: Packet analysis {"connection_id":217784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:58:58] local.INFO: Extracted packet for processing {"connection_id":217784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04: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-10-16 04:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779256064001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792106770000,"timestamp_ms":1792106770000,"timestamp_seconds":1792106770,"priority":1,"record_length":96,"hex_timestamp":"000001a141e32e50"} 
[2026-10-16 04:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04: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-10-16 04:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779256064001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779256064001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:58:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779256064001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":217784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:58:58] local.INFO: GPS data processed {"connection_id":217784,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:58:58] local.INFO: Acknowledgment sent {"connection_id":217784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:59:17] local.INFO: TCP Data received {"connection_id":217785,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:59:17] local.INFO: Processing buffer {"connection_id":217785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:59:17] local.INFO: IMEI packet received {"connection_id":217785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 04:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":217785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:59:23] local.INFO: TCP Data received {"connection_id":217785,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:59:23] local.INFO: Processing buffer {"connection_id":217785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 04:59:23] local.INFO: IMEI packet received {"connection_id":217785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 04:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":217785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:59:24] local.INFO: TCP Data received {"connection_id":217785,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:59:24] local.INFO: Processing buffer {"connection_id":217785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:59:24] local.INFO: Packet analysis {"connection_id":217785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:59:24] local.INFO: Extracted packet for processing {"connection_id":217785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:59: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-10-16 04:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779268096001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792106817000,"timestamp_ms":1792106817000,"timestamp_seconds":1792106817,"priority":1,"record_length":96,"hex_timestamp":"000001a141e3e5e8"} 
[2026-10-16 04:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:59: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:59:24] 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-10-16 04:59: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-10-16 04:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779268096001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779268096001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:59:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:59:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779268096001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":217785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:59:24] local.INFO: GPS data processed {"connection_id":217785,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:59:24] local.INFO: Acknowledgment sent {"connection_id":217785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:59:26] local.INFO: TCP Data received {"connection_id":216440,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:59:26] local.INFO: Processing buffer {"connection_id":216440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:59:26] local.INFO: IMEI packet received {"connection_id":216440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 04:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":216440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 04:59:31] local.INFO: TCP Data received {"connection_id":216440,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:59:31] local.INFO: Processing buffer {"connection_id":216440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 04:59:31] local.INFO: IMEI packet received {"connection_id":216440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 04:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":216440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 04:59:32] local.INFO: TCP Data received {"connection_id":216440,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:59:32] local.INFO: Processing buffer {"connection_id":216440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 04:59:32] local.INFO: Packet analysis {"connection_id":216440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:59:32] local.INFO: Extracted packet for processing {"connection_id":216440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 04:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779256064001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 04:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 04:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792106770000,"timestamp_ms":1792106770000,"timestamp_seconds":1792106770,"priority":1,"record_length":96,"hex_timestamp":"000001a141e32e50"} 
[2026-10-16 04:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 04:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 04:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 04:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 04:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 04:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779256064001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 04:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 04:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 04:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779256064001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:59:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 04:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 04:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 04:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779256064001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 04:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":216440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:59:32] local.INFO: GPS data processed {"connection_id":216440,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:59:32] local.INFO: Acknowledgment sent {"connection_id":216440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 04:59:56] local.INFO: TCP Data received {"connection_id":217785,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:59:56] local.INFO: Processing buffer {"connection_id":217785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 04:59:56] local.INFO: Packet analysis {"connection_id":217785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:59:56] local.INFO: Extracted packet for processing {"connection_id":217785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 04:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 04:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 04:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779268096001,"note":"Value kept but may cause issues"} 
[2026-10-16 04:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 04:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 04:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 04:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792106817000,"timestamp_ms":1792106817000,"timestamp_seconds":1792106817,"priority":1,"record_length":96,"hex_timestamp":"000001a141e3e5e8"} 
[2026-10-16 04:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 04:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 04:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 04:59:56] 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-10-16 04:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 04:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 04:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 04:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 04:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 04:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 04:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 04:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 04:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779268096001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 04:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 04:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 04:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779268096001,"description":"Unknown IO ID 0"} 
[2026-10-16 04:59:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 04:59:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 04:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 04:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 04:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779268096001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 04:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":217785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 04:59:56] local.INFO: GPS data processed {"connection_id":217785,"processed":1,"errors":0,"total":1} 
[2026-10-16 04:59:56] local.INFO: Acknowledgment sent {"connection_id":217785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:00:06] local.INFO: TCP Data received {"connection_id":216440,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 05:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 05:00:06] local.INFO: Processing buffer {"connection_id":216440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 05:00:06] local.INFO: Packet analysis {"connection_id":216440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:00:06] local.INFO: Extracted packet for processing {"connection_id":216440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779256064001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792106770000,"timestamp_ms":1792106770000,"timestamp_seconds":1792106770,"priority":1,"record_length":96,"hex_timestamp":"000001a141e32e50"} 
[2026-10-16 05:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 05:00: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-10-16 05: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-10-16 05:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779256064001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779256064001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:00:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779256064001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":216440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:00:06] local.INFO: GPS data processed {"connection_id":216440,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:00:06] local.INFO: Acknowledgment sent {"connection_id":216440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:00:21] local.INFO: TCP Data received {"connection_id":216240,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:00:21] local.INFO: Processing buffer {"connection_id":216240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:00:21] local.INFO: IMEI packet received {"connection_id":216240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":216240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:00:23] local.INFO: TCP Data received {"connection_id":219517,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:00:23] local.INFO: Processing buffer {"connection_id":219517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:00:23] local.INFO: IMEI packet received {"connection_id":219517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":219517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:00:26] local.INFO: TCP Data received {"connection_id":216240,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:00:26] local.INFO: Processing buffer {"connection_id":216240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:00:26] local.INFO: IMEI packet received {"connection_id":216240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":216240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:00:27] local.INFO: TCP Data received {"connection_id":216240,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 05:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 05:00:27] local.INFO: Processing buffer {"connection_id":216240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 05:00:27] local.INFO: Packet analysis {"connection_id":216240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:00:27] local.INFO: Extracted packet for processing {"connection_id":216240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779256064001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792106770000,"timestamp_ms":1792106770000,"timestamp_seconds":1792106770,"priority":1,"record_length":96,"hex_timestamp":"000001a141e32e50"} 
[2026-10-16 05:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 05:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779256064001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779256064001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:00:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779256064001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":216240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:00:27] local.INFO: GPS data processed {"connection_id":216240,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:00:27] local.INFO: Acknowledgment sent {"connection_id":216240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:00:28] local.INFO: TCP Data received {"connection_id":219517,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:00:28] local.INFO: Processing buffer {"connection_id":219517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:00:28] local.INFO: IMEI packet received {"connection_id":219517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":219517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:00:29] local.INFO: TCP Data received {"connection_id":219517,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:00:29] local.INFO: Processing buffer {"connection_id":219517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:00:29] local.INFO: Packet analysis {"connection_id":219517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:00:29] local.INFO: Extracted packet for processing {"connection_id":219517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779268096001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792106817000,"timestamp_ms":1792106817000,"timestamp_seconds":1792106817,"priority":1,"record_length":96,"hex_timestamp":"000001a141e3e5e8"} 
[2026-10-16 05:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:00:29] 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-10-16 05:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779268096001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779268096001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:00:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:00:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779268096001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":219517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:00:29] local.INFO: GPS data processed {"connection_id":219517,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:00:29] local.INFO: Acknowledgment sent {"connection_id":219517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:00:33] local.INFO: TCP Data received {"connection_id":219517,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:00:33] local.INFO: Processing buffer {"connection_id":219517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:00:33] local.INFO: Packet analysis {"connection_id":219517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:00:33] local.INFO: Extracted packet for processing {"connection_id":219517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779268096001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792106817000,"timestamp_ms":1792106817000,"timestamp_seconds":1792106817,"priority":1,"record_length":96,"hex_timestamp":"000001a141e3e5e8"} 
[2026-10-16 05:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779268096001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779268096001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779268096001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":219517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:00:33] local.INFO: GPS data processed {"connection_id":219517,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:00:33] local.INFO: Acknowledgment sent {"connection_id":219517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:00:58] local.INFO: TCP Data received {"connection_id":216240,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 05:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 05:00:58] local.INFO: Processing buffer {"connection_id":216240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e32e50012d7c240005dad510000d00ea21..."} 
[2026-10-16 05:00:58] local.INFO: Packet analysis {"connection_id":216240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:00:58] local.INFO: Extracted packet for processing {"connection_id":216240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:00: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-10-16 05:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779256064001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792106770000,"timestamp_ms":1792106770000,"timestamp_seconds":1792106770,"priority":1,"record_length":96,"hex_timestamp":"000001a141e32e50"} 
[2026-10-16 05:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:00: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-10-16 05:00: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-10-16 05:00: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-10-16 05:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779256064001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779256064001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:00:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779256064001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":216240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:00:58] local.INFO: GPS data processed {"connection_id":216240,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:00:58] local.INFO: Acknowledgment sent {"connection_id":216240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:01:18] local.INFO: TCP Data received {"connection_id":216441,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:01:18] local.INFO: Processing buffer {"connection_id":216441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:01:18] local.INFO: IMEI packet received {"connection_id":216441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":216441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:01:21] local.INFO: TCP Data received {"connection_id":217786,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:01:21] local.INFO: Processing buffer {"connection_id":217786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:01:21] local.INFO: IMEI packet received {"connection_id":217786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":217786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:01:22] local.INFO: TCP Data received {"connection_id":216241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:01:22] local.INFO: Processing buffer {"connection_id":216241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:01:22] local.INFO: IMEI packet received {"connection_id":216241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":216241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:01:23] local.INFO: TCP Data received {"connection_id":216441,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:01:23] local.INFO: Processing buffer {"connection_id":216441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:01:23] local.INFO: IMEI packet received {"connection_id":216441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":216441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:01:24] local.INFO: TCP Data received {"connection_id":216441,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:01:24] local.INFO: Processing buffer {"connection_id":216441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:01:24] local.INFO: Packet analysis {"connection_id":216441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:01:24] local.INFO: Extracted packet for processing {"connection_id":216441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779268096001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792106817000,"timestamp_ms":1792106817000,"timestamp_seconds":1792106817,"priority":1,"record_length":96,"hex_timestamp":"000001a141e3e5e8"} 
[2026-10-16 05:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:01:24] 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-10-16 05:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779268096001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779268096001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:01:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:01:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779268096001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":216441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:01:24] local.INFO: GPS data processed {"connection_id":216441,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:01:24] local.INFO: Acknowledgment sent {"connection_id":216441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:01:26] local.INFO: TCP Data received {"connection_id":217786,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:01:26] local.INFO: Processing buffer {"connection_id":217786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:01:26] local.INFO: IMEI packet received {"connection_id":217786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":217786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:01:27] local.INFO: TCP Data received {"connection_id":217786,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:01:27] local.INFO: Processing buffer {"connection_id":217786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:01:27] local.INFO: Packet analysis {"connection_id":217786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:01:27] local.INFO: Extracted packet for processing {"connection_id":217786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779333120001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107071000,"timestamp_ms":1792107071000,"timestamp_seconds":1792107071,"priority":1,"record_length":96,"hex_timestamp":"000001a141e7c618"} 
[2026-10-16 05:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779333120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779333120001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:01:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779333120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":217786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:01:27] local.INFO: GPS data processed {"connection_id":217786,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:01:27] local.INFO: Acknowledgment sent {"connection_id":217786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:01:52] local.INFO: TCP Data received {"connection_id":217787,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:01:52] local.INFO: Processing buffer {"connection_id":217787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:01:52] local.INFO: IMEI packet received {"connection_id":217787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":217787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:01:56] local.INFO: TCP Data received {"connection_id":216441,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:01:56] local.INFO: Processing buffer {"connection_id":216441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:01:56] local.INFO: Packet analysis {"connection_id":216441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:01:56] local.INFO: Extracted packet for processing {"connection_id":216441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779268096001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792106817000,"timestamp_ms":1792106817000,"timestamp_seconds":1792106817,"priority":1,"record_length":96,"hex_timestamp":"000001a141e3e5e8"} 
[2026-10-16 05:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:01:56] 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-10-16 05:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779268096001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779268096001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:01:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:01:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779268096001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":216441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:01:56] local.INFO: GPS data processed {"connection_id":216441,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:01:56] local.INFO: Acknowledgment sent {"connection_id":216441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:01:58] local.INFO: TCP Data received {"connection_id":217786,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:01:58] local.INFO: Processing buffer {"connection_id":217786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:01:58] local.INFO: Packet analysis {"connection_id":217786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:01:58] local.INFO: Extracted packet for processing {"connection_id":217786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779333120001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792107071000,"timestamp_ms":1792107071000,"timestamp_seconds":1792107071,"priority":1,"record_length":96,"hex_timestamp":"000001a141e7c618"} 
[2026-10-16 05:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:01:58] 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-10-16 05:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779333120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779333120001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:01:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779333120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":217786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:01:58] local.INFO: GPS data processed {"connection_id":217786,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:01:58] local.INFO: Acknowledgment sent {"connection_id":217786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:02:17] local.INFO: TCP Data received {"connection_id":219518,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:02:17] local.INFO: Processing buffer {"connection_id":219518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:02:17] local.INFO: IMEI packet received {"connection_id":219518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":219518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:02:21] local.INFO: TCP Data received {"connection_id":216442,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:02:21] local.INFO: Processing buffer {"connection_id":216442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:02:21] local.INFO: IMEI packet received {"connection_id":216442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":216442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:02:23] local.INFO: TCP Data received {"connection_id":219518,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:02:23] local.INFO: Processing buffer {"connection_id":219518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:02:23] local.INFO: IMEI packet received {"connection_id":219518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":219518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:02:24] local.INFO: TCP Data received {"connection_id":219518,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:02:24] local.INFO: Processing buffer {"connection_id":219518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e3e5e8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:02:24] local.INFO: Packet analysis {"connection_id":219518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:02:24] local.INFO: Extracted packet for processing {"connection_id":219518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e3"} 
[2026-10-16 05:02:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:02: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-10-16 05:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779268096001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792106817000,"timestamp_ms":1792106817000,"timestamp_seconds":1792106817,"priority":1,"record_length":96,"hex_timestamp":"000001a141e3e5e8"} 
[2026-10-16 05:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:02:24] 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-10-16 05:02: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-10-16 05:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779268096001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779268096001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:02:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:02:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779268096001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":219518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:02:24] local.INFO: GPS data processed {"connection_id":219518,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:02:24] local.INFO: Acknowledgment sent {"connection_id":219518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:02:26] local.INFO: TCP Data received {"connection_id":216442,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:02:26] local.INFO: Processing buffer {"connection_id":216442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:02:26] local.INFO: IMEI packet received {"connection_id":216442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":216442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:02:27] local.INFO: TCP Data received {"connection_id":216442,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:02:27] local.INFO: Processing buffer {"connection_id":216442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:02:27] local.INFO: Packet analysis {"connection_id":216442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:02:27] local.INFO: Extracted packet for processing {"connection_id":216442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779333120001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107071000,"timestamp_ms":1792107071000,"timestamp_seconds":1792107071,"priority":1,"record_length":96,"hex_timestamp":"000001a141e7c618"} 
[2026-10-16 05:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:02:27] 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-10-16 05:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779333120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779333120001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:02:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779333120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":216442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:02:27] local.INFO: GPS data processed {"connection_id":216442,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:02:27] local.INFO: Acknowledgment sent {"connection_id":216442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:02:54] local.INFO: TCP Data received {"connection_id":219518,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:02:54] local.INFO: Processing buffer {"connection_id":219518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:02:54] local.INFO: Packet analysis {"connection_id":219518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:02:54] local.INFO: Extracted packet for processing {"connection_id":219518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792107118000,"timestamp_ms":1792107118000,"timestamp_seconds":1792107118,"priority":1,"record_length":96,"hex_timestamp":"000001a141e87db0"} 
[2026-10-16 05:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:02:54] 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-10-16 05:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779345152001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:02:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:02:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779345152001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":219518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:02:55] local.INFO: GPS data processed {"connection_id":219518,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:02:55] local.INFO: Acknowledgment sent {"connection_id":219518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:02:58] local.INFO: TCP Data received {"connection_id":216442,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:02:58] local.INFO: Processing buffer {"connection_id":216442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:02:58] local.INFO: Packet analysis {"connection_id":216442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:02:58] local.INFO: Extracted packet for processing {"connection_id":216442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779333120001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792107071000,"timestamp_ms":1792107071000,"timestamp_seconds":1792107071,"priority":1,"record_length":96,"hex_timestamp":"000001a141e7c618"} 
[2026-10-16 05:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:02:58] 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-10-16 05:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:02:58] 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-10-16 05:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779333120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779333120001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:02:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779333120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":216442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:02:58] local.INFO: GPS data processed {"connection_id":216442,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:02:58] local.INFO: Acknowledgment sent {"connection_id":216442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:03:18] local.INFO: TCP Data received {"connection_id":216242,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:03:18] local.INFO: Processing buffer {"connection_id":216242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:03:18] local.INFO: IMEI packet received {"connection_id":216242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":216242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:03:21] local.INFO: TCP Data received {"connection_id":217789,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:03:21] local.INFO: Processing buffer {"connection_id":217789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:03:21] local.INFO: IMEI packet received {"connection_id":217789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":217789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:03:23] local.INFO: TCP Data received {"connection_id":216242,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:03:23] local.INFO: Processing buffer {"connection_id":216242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:03:23] local.INFO: IMEI packet received {"connection_id":216242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":216242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:03:24] local.INFO: TCP Data received {"connection_id":216242,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:03:24] local.INFO: Processing buffer {"connection_id":216242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:03:24] local.INFO: Packet analysis {"connection_id":216242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:03:24] local.INFO: Extracted packet for processing {"connection_id":216242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:03:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792107118000,"timestamp_ms":1792107118000,"timestamp_seconds":1792107118,"priority":1,"record_length":96,"hex_timestamp":"000001a141e87db0"} 
[2026-10-16 05:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:03:24] 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-10-16 05:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779345152001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:03:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:03:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779345152001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":216242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:03:24] local.INFO: GPS data processed {"connection_id":216242,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:03:24] local.INFO: Acknowledgment sent {"connection_id":216242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:03:26] local.INFO: TCP Data received {"connection_id":217789,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:03:26] local.INFO: Processing buffer {"connection_id":217789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:03:26] local.INFO: IMEI packet received {"connection_id":217789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":217789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:03:27] local.INFO: TCP Data received {"connection_id":217789,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:03:27] local.INFO: Processing buffer {"connection_id":217789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:03:27] local.INFO: Packet analysis {"connection_id":217789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:03:27] local.INFO: Extracted packet for processing {"connection_id":217789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779333120001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107071000,"timestamp_ms":1792107071000,"timestamp_seconds":1792107071,"priority":1,"record_length":96,"hex_timestamp":"000001a141e7c618"} 
[2026-10-16 05:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:03: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-10-16 05:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779333120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779333120001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:03:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779333120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":217789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:03:27] local.INFO: GPS data processed {"connection_id":217789,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:03:27] local.INFO: Acknowledgment sent {"connection_id":217789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:03:55] local.INFO: TCP Data received {"connection_id":216242,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:03:55] local.INFO: Processing buffer {"connection_id":216242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:03:55] local.INFO: Packet analysis {"connection_id":216242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:03:55] local.INFO: Extracted packet for processing {"connection_id":216242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792107118000,"timestamp_ms":1792107118000,"timestamp_seconds":1792107118,"priority":1,"record_length":96,"hex_timestamp":"000001a141e87db0"} 
[2026-10-16 05:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:03:55] 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-10-16 05:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779345152001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:03:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:03:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779345152001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":216242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:03:55] local.INFO: GPS data processed {"connection_id":216242,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:03:55] local.INFO: Acknowledgment sent {"connection_id":216242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:04:01] local.INFO: TCP Data received {"connection_id":217789,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:04:01] local.INFO: Processing buffer {"connection_id":217789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:04:01] local.INFO: Packet analysis {"connection_id":217789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:04:01] local.INFO: Extracted packet for processing {"connection_id":217789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779333120001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792107071000,"timestamp_ms":1792107071000,"timestamp_seconds":1792107071,"priority":1,"record_length":96,"hex_timestamp":"000001a141e7c618"} 
[2026-10-16 05:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:04:01] 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-10-16 05:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:04: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-10-16 05:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779333120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779333120001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:04:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779333120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":217789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:04:01] local.INFO: GPS data processed {"connection_id":217789,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:04:01] local.INFO: Acknowledgment sent {"connection_id":217789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:04:17] local.INFO: TCP Data received {"connection_id":217790,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:04:17] local.INFO: Processing buffer {"connection_id":217790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:04:17] local.INFO: IMEI packet received {"connection_id":217790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":217790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:04:23] local.INFO: TCP Data received {"connection_id":217790,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:04:23] local.INFO: Processing buffer {"connection_id":217790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:04:23] local.INFO: IMEI packet received {"connection_id":217790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":217790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:04:24] local.INFO: TCP Data received {"connection_id":217790,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:04:24] local.INFO: Processing buffer {"connection_id":217790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:04:24] local.INFO: Packet analysis {"connection_id":217790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:04:24] local.INFO: Extracted packet for processing {"connection_id":217790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792107118000,"timestamp_ms":1792107118000,"timestamp_seconds":1792107118,"priority":1,"record_length":96,"hex_timestamp":"000001a141e87db0"} 
[2026-10-16 05:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:04:24] 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-10-16 05:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779345152001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:04:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:04:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779345152001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":217790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:04:24] local.INFO: GPS data processed {"connection_id":217790,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:04:24] local.INFO: Acknowledgment sent {"connection_id":217790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:04:26] local.INFO: TCP Data received {"connection_id":217791,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:04:26] local.INFO: Processing buffer {"connection_id":217791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:04:26] local.INFO: IMEI packet received {"connection_id":217791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":217791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:04:31] local.INFO: TCP Data received {"connection_id":217791,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:04:31] local.INFO: Processing buffer {"connection_id":217791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:04:31] local.INFO: IMEI packet received {"connection_id":217791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":217791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:04:32] local.INFO: TCP Data received {"connection_id":217791,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:04:32] local.INFO: Processing buffer {"connection_id":217791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:04:32] local.INFO: Packet analysis {"connection_id":217791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:04:32] local.INFO: Extracted packet for processing {"connection_id":217791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779333120001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792107071000,"timestamp_ms":1792107071000,"timestamp_seconds":1792107071,"priority":1,"record_length":96,"hex_timestamp":"000001a141e7c618"} 
[2026-10-16 05:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:04:32] 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-10-16 05:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:04: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-10-16 05:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779333120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779333120001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:04:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779333120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":217791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:04:32] local.INFO: GPS data processed {"connection_id":217791,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:04:32] local.INFO: Acknowledgment sent {"connection_id":217791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:04:40] local.INFO: TCP Data received {"connection_id":217791,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:04:40] local.INFO: Processing buffer {"connection_id":217791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:04:40] local.INFO: Packet analysis {"connection_id":217791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:04:40] local.INFO: Extracted packet for processing {"connection_id":217791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779333120001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792107071000,"timestamp_ms":1792107071000,"timestamp_seconds":1792107071,"priority":1,"record_length":96,"hex_timestamp":"000001a141e7c618"} 
[2026-10-16 05:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05: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-10-16 05: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":217791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":217791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":217791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:04:40] 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-10-16 05:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779333120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779333120001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:04:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779333120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":217791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:04:40] local.INFO: GPS data processed {"connection_id":217791,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:04:40] local.INFO: Acknowledgment sent {"connection_id":217791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:04:56] local.INFO: TCP Data received {"connection_id":217790,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:04:56] local.INFO: Processing buffer {"connection_id":217790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:04:56] local.INFO: Packet analysis {"connection_id":217790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:04:56] local.INFO: Extracted packet for processing {"connection_id":217790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792107118000,"timestamp_ms":1792107118000,"timestamp_seconds":1792107118,"priority":1,"record_length":96,"hex_timestamp":"000001a141e87db0"} 
[2026-10-16 05:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:04:56] 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-10-16 05: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-10-16 05:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779345152001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:04:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:04:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779345152001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":217790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:04:56] local.INFO: GPS data processed {"connection_id":217790,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:04:56] local.INFO: Acknowledgment sent {"connection_id":217790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:05:17] local.INFO: TCP Data received {"connection_id":216244,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:05:17] local.INFO: Processing buffer {"connection_id":216244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:05:17] local.INFO: IMEI packet received {"connection_id":216244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":216244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:05:21] local.INFO: TCP Data received {"connection_id":219519,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:05:21] local.INFO: Processing buffer {"connection_id":219519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:05:21] local.INFO: IMEI packet received {"connection_id":219519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":219519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:05:23] local.INFO: TCP Data received {"connection_id":216244,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:05:23] local.INFO: Processing buffer {"connection_id":216244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:05:23] local.INFO: IMEI packet received {"connection_id":216244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":216244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:05:25] local.INFO: TCP Data received {"connection_id":216244,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:05:25] local.INFO: Processing buffer {"connection_id":216244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:05:25] local.INFO: Packet analysis {"connection_id":216244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:05:25] local.INFO: Extracted packet for processing {"connection_id":216244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792107118000,"timestamp_ms":1792107118000,"timestamp_seconds":1792107118,"priority":1,"record_length":96,"hex_timestamp":"000001a141e87db0"} 
[2026-10-16 05:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779345152001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:05:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:05:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779345152001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":216244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:05:25] local.INFO: GPS data processed {"connection_id":216244,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:05:25] local.INFO: Acknowledgment sent {"connection_id":216244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:05:26] local.INFO: TCP Data received {"connection_id":219519,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:05:26] local.INFO: Processing buffer {"connection_id":219519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:05:26] local.INFO: IMEI packet received {"connection_id":219519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":219519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:05:27] local.INFO: TCP Data received {"connection_id":219519,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:05:27] local.INFO: Processing buffer {"connection_id":219519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:05:27] local.INFO: Packet analysis {"connection_id":219519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:05:27] local.INFO: Extracted packet for processing {"connection_id":219519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779333120001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107071000,"timestamp_ms":1792107071000,"timestamp_seconds":1792107071,"priority":1,"record_length":96,"hex_timestamp":"000001a141e7c618"} 
[2026-10-16 05:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:05:27] 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-10-16 05:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779333120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779333120001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:05:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779333120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":219519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:05:27] local.INFO: GPS data processed {"connection_id":219519,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:05:27] local.INFO: Acknowledgment sent {"connection_id":219519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:05:57] local.INFO: TCP Data received {"connection_id":216244,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:05:57] local.INFO: Processing buffer {"connection_id":216244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:05:57] local.INFO: Packet analysis {"connection_id":216244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:05:57] local.INFO: Extracted packet for processing {"connection_id":216244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792107118000,"timestamp_ms":1792107118000,"timestamp_seconds":1792107118,"priority":1,"record_length":96,"hex_timestamp":"000001a141e87db0"} 
[2026-10-16 05:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:05:57] 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-10-16 05: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-10-16 05:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779345152001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:05:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:05:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779345152001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":216244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:05:57] local.INFO: GPS data processed {"connection_id":216244,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:05:57] local.INFO: Acknowledgment sent {"connection_id":216244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:05:58] local.INFO: TCP Data received {"connection_id":219519,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:05:58] local.INFO: Processing buffer {"connection_id":219519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e7c618012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:05:58] local.INFO: Packet analysis {"connection_id":219519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:05:58] local.INFO: Extracted packet for processing {"connection_id":219519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e7"} 
[2026-10-16 05:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779333120001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792107071000,"timestamp_ms":1792107071000,"timestamp_seconds":1792107071,"priority":1,"record_length":96,"hex_timestamp":"000001a141e7c618"} 
[2026-10-16 05:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:05:58] 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-10-16 05:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:05:58] 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-10-16 05:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779333120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779333120001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:05:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:05:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779333120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":219519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:05:58] local.INFO: GPS data processed {"connection_id":219519,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:05:58] local.INFO: Acknowledgment sent {"connection_id":219519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:06:21] local.INFO: TCP Data received {"connection_id":219520,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:06:21] local.INFO: Processing buffer {"connection_id":219520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:06:21] local.INFO: IMEI packet received {"connection_id":219520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":219520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:06:23] local.INFO: TCP Data received {"connection_id":216444,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:06:23] local.INFO: Processing buffer {"connection_id":216444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:06:23] local.INFO: IMEI packet received {"connection_id":216444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":216444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:06:26] local.INFO: TCP Data received {"connection_id":219520,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:06:26] local.INFO: Processing buffer {"connection_id":219520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:06:26] local.INFO: IMEI packet received {"connection_id":219520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":219520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:06:27] local.INFO: TCP Data received {"connection_id":219520,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:06:27] local.INFO: Processing buffer {"connection_id":219520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:06:27] local.INFO: Packet analysis {"connection_id":219520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:06:27] local.INFO: Extracted packet for processing {"connection_id":219520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779410176001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107372000,"timestamp_ms":1792107372000,"timestamp_seconds":1792107372,"priority":1,"record_length":96,"hex_timestamp":"000001a141ec5de0"} 
[2026-10-16 05:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779410176001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779410176001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:06:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779410176001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":219520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:06:27] local.INFO: GPS data processed {"connection_id":219520,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:06:27] local.INFO: Acknowledgment sent {"connection_id":219520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:06:28] local.INFO: TCP Data received {"connection_id":216444,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:06:28] local.INFO: Processing buffer {"connection_id":216444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:06:28] local.INFO: IMEI packet received {"connection_id":216444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":216444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:06:29] local.INFO: TCP Data received {"connection_id":216444,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:06:29] local.INFO: Processing buffer {"connection_id":216444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:06:29] local.INFO: Packet analysis {"connection_id":216444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:06:29] local.INFO: Extracted packet for processing {"connection_id":216444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792107118000,"timestamp_ms":1792107118000,"timestamp_seconds":1792107118,"priority":1,"record_length":96,"hex_timestamp":"000001a141e87db0"} 
[2026-10-16 05:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:06:29] 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-10-16 05:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779345152001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:06:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:06:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779345152001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":216444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:06:29] local.INFO: GPS data processed {"connection_id":216444,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:06:29] local.INFO: Acknowledgment sent {"connection_id":216444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:06:33] local.INFO: TCP Data received {"connection_id":216444,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:06:33] local.INFO: Processing buffer {"connection_id":216444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:06:33] local.INFO: Packet analysis {"connection_id":216444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:06:33] local.INFO: Extracted packet for processing {"connection_id":216444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792107118000,"timestamp_ms":1792107118000,"timestamp_seconds":1792107118,"priority":1,"record_length":96,"hex_timestamp":"000001a141e87db0"} 
[2026-10-16 05:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779345152001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:06:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:06:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779345152001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":216444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:06:33] local.INFO: GPS data processed {"connection_id":216444,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:06:33] local.INFO: Acknowledgment sent {"connection_id":216444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:06:59] local.INFO: TCP Data received {"connection_id":219520,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:06:59] local.INFO: Processing buffer {"connection_id":219520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:06:59] local.INFO: Packet analysis {"connection_id":219520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:06:59] local.INFO: Extracted packet for processing {"connection_id":219520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:06: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-10-16 05:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779410176001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792107372000,"timestamp_ms":1792107372000,"timestamp_seconds":1792107372,"priority":1,"record_length":96,"hex_timestamp":"000001a141ec5de0"} 
[2026-10-16 05:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:06:59] 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-10-16 05:06: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-10-16 05:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779410176001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779410176001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:06:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779410176001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":219520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:06:59] local.INFO: GPS data processed {"connection_id":219520,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:06:59] local.INFO: Acknowledgment sent {"connection_id":219520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:07:17] local.INFO: TCP Data received {"connection_id":216246,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:07:17] local.INFO: Processing buffer {"connection_id":216246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:07:17] local.INFO: IMEI packet received {"connection_id":216246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":216246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:07:21] local.INFO: TCP Data received {"connection_id":216445,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:07:21] local.INFO: Processing buffer {"connection_id":216445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:07:21] local.INFO: IMEI packet received {"connection_id":216445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":216445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:07:22] local.INFO: TCP Data received {"connection_id":216245,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:07:22] local.INFO: Processing buffer {"connection_id":216245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:07:22] local.INFO: IMEI packet received {"connection_id":216245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":216245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:07:23] local.INFO: TCP Data received {"connection_id":216246,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:07:23] local.INFO: Processing buffer {"connection_id":216246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:07:23] local.INFO: IMEI packet received {"connection_id":216246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":216246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:07:24] local.INFO: TCP Data received {"connection_id":216246,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:07:24] local.INFO: Processing buffer {"connection_id":216246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141e87db0012d7f98c005afddb00000002f1d..."} 
[2026-10-16 05:07:24] local.INFO: Packet analysis {"connection_id":216246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:07:24] local.INFO: Extracted packet for processing {"connection_id":216246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141e8"} 
[2026-10-16 05:07:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792107118000,"timestamp_ms":1792107118000,"timestamp_seconds":1792107118,"priority":1,"record_length":96,"hex_timestamp":"000001a141e87db0"} 
[2026-10-16 05:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:07:24] 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-10-16 05:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779345152001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:07:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:07:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779345152001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":216246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:07:24] local.INFO: GPS data processed {"connection_id":216246,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:07:24] local.INFO: Acknowledgment sent {"connection_id":216246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:07:26] local.INFO: TCP Data received {"connection_id":216445,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:07:26] local.INFO: Processing buffer {"connection_id":216445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:07:26] local.INFO: IMEI packet received {"connection_id":216445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":216445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:07:27] local.INFO: TCP Data received {"connection_id":216445,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:07:27] local.INFO: Processing buffer {"connection_id":216445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:07:27] local.INFO: Packet analysis {"connection_id":216445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:07:27] local.INFO: Extracted packet for processing {"connection_id":216445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779410176001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107372000,"timestamp_ms":1792107372000,"timestamp_seconds":1792107372,"priority":1,"record_length":96,"hex_timestamp":"000001a141ec5de0"} 
[2026-10-16 05:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:07: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-10-16 05:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779410176001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779410176001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:07:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779410176001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":216445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:07:27] local.INFO: GPS data processed {"connection_id":216445,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:07:27] local.INFO: Acknowledgment sent {"connection_id":216445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:07:52] local.INFO: TCP Data received {"connection_id":219521,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:07:52] local.INFO: Processing buffer {"connection_id":219521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:07:52] local.INFO: IMEI packet received {"connection_id":219521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":219521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:07:57] local.INFO: TCP Data received {"connection_id":216246,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:07:57] local.INFO: Processing buffer {"connection_id":216246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:07:57] local.INFO: Packet analysis {"connection_id":216246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:07:57] local.INFO: Extracted packet for processing {"connection_id":216246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779422208001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792107419000,"timestamp_ms":1792107419000,"timestamp_seconds":1792107419,"priority":1,"record_length":96,"hex_timestamp":"000001a141ed1578"} 
[2026-10-16 05:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:07:57] 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-10-16 05:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779422208001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779422208001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:07:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:07:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779422208001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":216246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:07:57] local.INFO: GPS data processed {"connection_id":216246,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:07:57] local.INFO: Acknowledgment sent {"connection_id":216246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:08:02] local.INFO: TCP Data received {"connection_id":216445,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:08:02] local.INFO: Processing buffer {"connection_id":216445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:08:02] local.INFO: Packet analysis {"connection_id":216445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:08:02] local.INFO: Extracted packet for processing {"connection_id":216445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779410176001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792107372000,"timestamp_ms":1792107372000,"timestamp_seconds":1792107372,"priority":1,"record_length":96,"hex_timestamp":"000001a141ec5de0"} 
[2026-10-16 05:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779410176001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779410176001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:08:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779410176001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":216445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:08:02] local.INFO: GPS data processed {"connection_id":216445,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:08:02] local.INFO: Acknowledgment sent {"connection_id":216445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:08:17] local.INFO: TCP Data received {"connection_id":217793,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:08:17] local.INFO: Processing buffer {"connection_id":217793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:08:17] local.INFO: IMEI packet received {"connection_id":217793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":217793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:08:21] local.INFO: TCP Data received {"connection_id":219522,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:08:21] local.INFO: Processing buffer {"connection_id":219522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:08:21] local.INFO: IMEI packet received {"connection_id":219522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":219522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:08:23] local.INFO: TCP Data received {"connection_id":217793,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:08:23] local.INFO: Processing buffer {"connection_id":217793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:08:23] local.INFO: IMEI packet received {"connection_id":217793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":217793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:08:24] local.INFO: TCP Data received {"connection_id":217793,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:08:24] local.INFO: Processing buffer {"connection_id":217793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:08:24] local.INFO: Packet analysis {"connection_id":217793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:08:24] local.INFO: Extracted packet for processing {"connection_id":217793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779422208001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792107419000,"timestamp_ms":1792107419000,"timestamp_seconds":1792107419,"priority":1,"record_length":96,"hex_timestamp":"000001a141ed1578"} 
[2026-10-16 05:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:08:24] 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-10-16 05:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779422208001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779422208001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:08:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:08:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779422208001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":217793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:08:24] local.INFO: GPS data processed {"connection_id":217793,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:08:24] local.INFO: Acknowledgment sent {"connection_id":217793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:08:26] local.INFO: TCP Data received {"connection_id":219522,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:08:26] local.INFO: Processing buffer {"connection_id":219522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:08:26] local.INFO: IMEI packet received {"connection_id":219522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":219522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:08:27] local.INFO: TCP Data received {"connection_id":219522,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:08:27] local.INFO: Processing buffer {"connection_id":219522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:08:27] local.INFO: Packet analysis {"connection_id":219522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:08:27] local.INFO: Extracted packet for processing {"connection_id":219522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779410176001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107372000,"timestamp_ms":1792107372000,"timestamp_seconds":1792107372,"priority":1,"record_length":96,"hex_timestamp":"000001a141ec5de0"} 
[2026-10-16 05:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779410176001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779410176001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:08:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779410176001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":219522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:08:27] local.INFO: GPS data processed {"connection_id":219522,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:08:27] local.INFO: Acknowledgment sent {"connection_id":219522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:08:56] local.INFO: TCP Data received {"connection_id":217793,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:08:56] local.INFO: Processing buffer {"connection_id":217793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:08:56] local.INFO: Packet analysis {"connection_id":217793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:08:56] local.INFO: Extracted packet for processing {"connection_id":217793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779422208001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792107419000,"timestamp_ms":1792107419000,"timestamp_seconds":1792107419,"priority":1,"record_length":96,"hex_timestamp":"000001a141ed1578"} 
[2026-10-16 05:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:08:56] 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-10-16 05: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-10-16 05:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779422208001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779422208001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:08:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:08:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779422208001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":217793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:08:56] local.INFO: GPS data processed {"connection_id":217793,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:08:56] local.INFO: Acknowledgment sent {"connection_id":217793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:08:58] local.INFO: TCP Data received {"connection_id":219522,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:08:58] local.INFO: Processing buffer {"connection_id":219522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:08:58] local.INFO: Packet analysis {"connection_id":219522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:08:58] local.INFO: Extracted packet for processing {"connection_id":219522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779410176001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792107372000,"timestamp_ms":1792107372000,"timestamp_seconds":1792107372,"priority":1,"record_length":96,"hex_timestamp":"000001a141ec5de0"} 
[2026-10-16 05:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779410176001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779410176001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:08:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779410176001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":219522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:08:58] local.INFO: GPS data processed {"connection_id":219522,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:08:58] local.INFO: Acknowledgment sent {"connection_id":219522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:09:17] local.INFO: TCP Data received {"connection_id":219523,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:09:17] local.INFO: Processing buffer {"connection_id":219523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:09:17] local.INFO: IMEI packet received {"connection_id":219523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":219523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:09:21] local.INFO: TCP Data received {"connection_id":217794,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:09:21] local.INFO: Processing buffer {"connection_id":217794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:09:21] local.INFO: IMEI packet received {"connection_id":217794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":217794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:09:24] local.INFO: TCP Data received {"connection_id":219523,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:09:24] local.INFO: Processing buffer {"connection_id":219523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:09:24] local.INFO: IMEI packet received {"connection_id":219523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":219523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:09:25] local.INFO: TCP Data received {"connection_id":219523,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:09:25] local.INFO: Processing buffer {"connection_id":219523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:09:25] local.INFO: Packet analysis {"connection_id":219523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:09:25] local.INFO: Extracted packet for processing {"connection_id":219523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:09:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779422208001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792107419000,"timestamp_ms":1792107419000,"timestamp_seconds":1792107419,"priority":1,"record_length":96,"hex_timestamp":"000001a141ed1578"} 
[2026-10-16 05:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":219523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":219523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":219523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779422208001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779422208001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:09:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:09:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779422208001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":219523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:09:25] local.INFO: GPS data processed {"connection_id":219523,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:09:25] local.INFO: Acknowledgment sent {"connection_id":219523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:09:26] local.INFO: TCP Data received {"connection_id":217794,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:09:26] local.INFO: Processing buffer {"connection_id":217794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:09:26] local.INFO: IMEI packet received {"connection_id":217794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":217794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:09:29] local.INFO: TCP Data received {"connection_id":217794,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:09:29] local.INFO: Processing buffer {"connection_id":217794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:09:29] local.INFO: Packet analysis {"connection_id":217794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:09:29] local.INFO: Extracted packet for processing {"connection_id":217794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:09:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:09: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-10-16 05:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779410176001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792107372000,"timestamp_ms":1792107372000,"timestamp_seconds":1792107372,"priority":1,"record_length":96,"hex_timestamp":"000001a141ec5de0"} 
[2026-10-16 05:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:09: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":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:09:29] 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-10-16 05:09: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-10-16 05:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:09:29] 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-10-16 05:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779410176001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779410176001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:09:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779410176001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":217794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:09:29] local.INFO: GPS data processed {"connection_id":217794,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:09:29] local.INFO: Acknowledgment sent {"connection_id":217794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:09:57] local.INFO: TCP Data received {"connection_id":219523,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:09:57] local.INFO: Processing buffer {"connection_id":219523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:09:57] local.INFO: Packet analysis {"connection_id":219523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:09:57] local.INFO: Extracted packet for processing {"connection_id":219523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779422208001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792107419000,"timestamp_ms":1792107419000,"timestamp_seconds":1792107419,"priority":1,"record_length":96,"hex_timestamp":"000001a141ed1578"} 
[2026-10-16 05:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:09:57] 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-10-16 05:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779422208001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779422208001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:09:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:09:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779422208001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":219523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:09:57] local.INFO: GPS data processed {"connection_id":219523,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:09:57] local.INFO: Acknowledgment sent {"connection_id":219523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:10:01] local.INFO: TCP Data received {"connection_id":217794,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:10:01] local.INFO: Processing buffer {"connection_id":217794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:10:01] local.INFO: Packet analysis {"connection_id":217794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:10:01] local.INFO: Extracted packet for processing {"connection_id":217794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779410176001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792107372000,"timestamp_ms":1792107372000,"timestamp_seconds":1792107372,"priority":1,"record_length":96,"hex_timestamp":"000001a141ec5de0"} 
[2026-10-16 05:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:10:01] 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-10-16 05:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:10:01] 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-10-16 05:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779410176001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779410176001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:10:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779410176001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":217794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:10:01] local.INFO: GPS data processed {"connection_id":217794,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:10:01] local.INFO: Acknowledgment sent {"connection_id":217794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:10:17] local.INFO: TCP Data received {"connection_id":217795,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:10:17] local.INFO: Processing buffer {"connection_id":217795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:10:17] local.INFO: IMEI packet received {"connection_id":217795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":217795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:10:23] local.INFO: TCP Data received {"connection_id":217795,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:10:23] local.INFO: Processing buffer {"connection_id":217795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:10:23] local.INFO: IMEI packet received {"connection_id":217795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":217795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:10:25] local.INFO: TCP Data received {"connection_id":217795,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:10:25] local.INFO: Processing buffer {"connection_id":217795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:10:25] local.INFO: Packet analysis {"connection_id":217795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:10:25] local.INFO: Extracted packet for processing {"connection_id":217795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779422208001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792107419000,"timestamp_ms":1792107419000,"timestamp_seconds":1792107419,"priority":1,"record_length":96,"hex_timestamp":"000001a141ed1578"} 
[2026-10-16 05:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779422208001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779422208001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:10:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:10:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779422208001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":217795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:10:25] local.INFO: GPS data processed {"connection_id":217795,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:10:25] local.INFO: Acknowledgment sent {"connection_id":217795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:10:26] local.INFO: TCP Data received {"connection_id":216248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:10:26] local.INFO: Processing buffer {"connection_id":216248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:10:26] local.INFO: IMEI packet received {"connection_id":216248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":216248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:10:31] local.INFO: TCP Data received {"connection_id":216248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:10:31] local.INFO: Processing buffer {"connection_id":216248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:10:31] local.INFO: IMEI packet received {"connection_id":216248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":216248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:10:32] local.INFO: TCP Data received {"connection_id":216248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:10:32] local.INFO: Processing buffer {"connection_id":216248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:10:32] local.INFO: Packet analysis {"connection_id":216248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:10:32] local.INFO: Extracted packet for processing {"connection_id":216248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779410176001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792107372000,"timestamp_ms":1792107372000,"timestamp_seconds":1792107372,"priority":1,"record_length":96,"hex_timestamp":"000001a141ec5de0"} 
[2026-10-16 05:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:10:32] 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-10-16 05:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779410176001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779410176001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:10:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779410176001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":216248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:10:33] local.INFO: GPS data processed {"connection_id":216248,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:10:33] local.INFO: Acknowledgment sent {"connection_id":216248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:10:37] local.INFO: TCP Data received {"connection_id":216248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:10:37] local.INFO: Processing buffer {"connection_id":216248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ec5de0012d7c240005dad510000d00ea1e..."} 
[2026-10-16 05:10:37] local.INFO: Packet analysis {"connection_id":216248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:10:37] local.INFO: Extracted packet for processing {"connection_id":216248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ec"} 
[2026-10-16 05:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":13,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779410176001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792107372000,"timestamp_ms":1792107372000,"timestamp_seconds":1792107372,"priority":1,"record_length":96,"hex_timestamp":"000001a141ec5de0"} 
[2026-10-16 05:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:10:37] 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-10-16 05:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779410176001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779410176001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:10:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779410176001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":216248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:10:37] local.INFO: GPS data processed {"connection_id":216248,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:10:37] local.INFO: Acknowledgment sent {"connection_id":216248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:10:57] local.INFO: TCP Data received {"connection_id":217795,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:10:57] local.INFO: Processing buffer {"connection_id":217795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:10:57] local.INFO: Packet analysis {"connection_id":217795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:10:57] local.INFO: Extracted packet for processing {"connection_id":217795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779422208001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792107419000,"timestamp_ms":1792107419000,"timestamp_seconds":1792107419,"priority":1,"record_length":96,"hex_timestamp":"000001a141ed1578"} 
[2026-10-16 05:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:10:57] 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-10-16 05:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779422208001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779422208001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:10:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:10:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779422208001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":217795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:10:57] local.INFO: GPS data processed {"connection_id":217795,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:10:57] local.INFO: Acknowledgment sent {"connection_id":217795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:11:21] local.INFO: TCP Data received {"connection_id":216249,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:11:21] local.INFO: Processing buffer {"connection_id":216249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:11:21] local.INFO: IMEI packet received {"connection_id":216249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":216249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:11:22] local.INFO: TCP Data received {"connection_id":216250,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:11:22] local.INFO: Processing buffer {"connection_id":216250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:11:22] local.INFO: IMEI packet received {"connection_id":216250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":216250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:11:26] local.INFO: TCP Data received {"connection_id":216249,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:11:26] local.INFO: Processing buffer {"connection_id":216249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:11:26] local.INFO: IMEI packet received {"connection_id":216249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":216249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:11:27] local.INFO: TCP Data received {"connection_id":216250,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:11:27] local.INFO: Processing buffer {"connection_id":216250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:11:27] local.INFO: IMEI packet received {"connection_id":216250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":216250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:11:28] local.INFO: TCP Data received {"connection_id":216250,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:11:28] local.INFO: Processing buffer {"connection_id":216250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:11:28] local.INFO: Packet analysis {"connection_id":216250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:11:28] local.INFO: Extracted packet for processing {"connection_id":216250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779422208001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792107419000,"timestamp_ms":1792107419000,"timestamp_seconds":1792107419,"priority":1,"record_length":96,"hex_timestamp":"000001a141ed1578"} 
[2026-10-16 05:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:11:28] 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-10-16 05:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779422208001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779422208001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:11:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:11:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779422208001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":216250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:11:28] local.INFO: GPS data processed {"connection_id":216250,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:11:28] local.INFO: Acknowledgment sent {"connection_id":216250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:11:28] local.INFO: TCP Data received {"connection_id":216249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:11:28] local.INFO: Processing buffer {"connection_id":216249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:11:28] local.INFO: Packet analysis {"connection_id":216249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:11:28] local.INFO: Extracted packet for processing {"connection_id":216249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792107673000,"timestamp_ms":1792107673000,"timestamp_seconds":1792107673,"priority":1,"record_length":96,"hex_timestamp":"000001a141f0f5a8"} 
[2026-10-16 05:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:11:28] 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-10-16 05:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779487232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:11:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779487232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":216249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:11:28] local.INFO: GPS data processed {"connection_id":216249,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:11:28] local.INFO: Acknowledgment sent {"connection_id":216249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:11:33] local.INFO: TCP Data received {"connection_id":216250,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:11:33] local.INFO: Processing buffer {"connection_id":216250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:11:33] local.INFO: Packet analysis {"connection_id":216250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:11:33] local.INFO: Extracted packet for processing {"connection_id":216250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779422208001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792107419000,"timestamp_ms":1792107419000,"timestamp_seconds":1792107419,"priority":1,"record_length":96,"hex_timestamp":"000001a141ed1578"} 
[2026-10-16 05:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779422208001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779422208001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:11:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:11:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779422208001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":216250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:11:33] local.INFO: GPS data processed {"connection_id":216250,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:11:33] local.INFO: Acknowledgment sent {"connection_id":216250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:12:04] local.INFO: TCP Data received {"connection_id":216249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:12:04] local.INFO: Processing buffer {"connection_id":216249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:12:04] local.INFO: Packet analysis {"connection_id":216249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:12:04] local.INFO: Extracted packet for processing {"connection_id":216249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792107673000,"timestamp_ms":1792107673000,"timestamp_seconds":1792107673,"priority":1,"record_length":96,"hex_timestamp":"000001a141f0f5a8"} 
[2026-10-16 05:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:12:04] 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-10-16 05:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779487232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:12:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779487232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":216249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:12:04] local.INFO: GPS data processed {"connection_id":216249,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:12:04] local.INFO: Acknowledgment sent {"connection_id":216249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:12:17] local.INFO: TCP Data received {"connection_id":216251,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:12:17] local.INFO: Processing buffer {"connection_id":216251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:12:17] local.INFO: IMEI packet received {"connection_id":216251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":216251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:12:21] local.INFO: TCP Data received {"connection_id":219526,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:12:21] local.INFO: Processing buffer {"connection_id":219526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:12:21] local.INFO: IMEI packet received {"connection_id":219526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":219526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:12:23] local.INFO: TCP Data received {"connection_id":216251,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:12:23] local.INFO: Processing buffer {"connection_id":216251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:12:23] local.INFO: IMEI packet received {"connection_id":216251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":216251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:12:24] local.INFO: TCP Data received {"connection_id":216251,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:12:24] local.INFO: Processing buffer {"connection_id":216251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ed1578012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:12:24] local.INFO: Packet analysis {"connection_id":216251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:12:24] local.INFO: Extracted packet for processing {"connection_id":216251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ed"} 
[2026-10-16 05:12:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779422208001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792107419000,"timestamp_ms":1792107419000,"timestamp_seconds":1792107419,"priority":1,"record_length":96,"hex_timestamp":"000001a141ed1578"} 
[2026-10-16 05:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:12:24] 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-10-16 05: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-10-16 05:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779422208001,"66":25615,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779422208001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:12:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:12:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779422208001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":216251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:12:24] local.INFO: GPS data processed {"connection_id":216251,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:12:24] local.INFO: Acknowledgment sent {"connection_id":216251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:12:26] local.INFO: TCP Data received {"connection_id":219526,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:12:26] local.INFO: Processing buffer {"connection_id":219526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:12:26] local.INFO: IMEI packet received {"connection_id":219526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":219526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:12:28] local.INFO: TCP Data received {"connection_id":219526,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:12:28] local.INFO: Processing buffer {"connection_id":219526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:12:28] local.INFO: Packet analysis {"connection_id":219526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:12:28] local.INFO: Extracted packet for processing {"connection_id":219526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792107673000,"timestamp_ms":1792107673000,"timestamp_seconds":1792107673,"priority":1,"record_length":96,"hex_timestamp":"000001a141f0f5a8"} 
[2026-10-16 05:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:12:28] 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-10-16 05: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-10-16 05:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:12:28] 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-10-16 05:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779487232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:12:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779487232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":219526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:12:28] local.INFO: GPS data processed {"connection_id":219526,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:12:28] local.INFO: Acknowledgment sent {"connection_id":219526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:12:55] local.INFO: TCP Data received {"connection_id":216251,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:12:55] local.INFO: Processing buffer {"connection_id":216251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:12:55] local.INFO: Packet analysis {"connection_id":216251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:12:55] local.INFO: Extracted packet for processing {"connection_id":216251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:12:55] 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-10-16 05:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:12:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:12:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":216251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:12:55] local.INFO: GPS data processed {"connection_id":216251,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:12:55] local.INFO: Acknowledgment sent {"connection_id":216251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:12:59] local.INFO: TCP Data received {"connection_id":219526,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:12:59] local.INFO: Processing buffer {"connection_id":219526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:12:59] local.INFO: Packet analysis {"connection_id":219526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:12:59] local.INFO: Extracted packet for processing {"connection_id":219526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792107673000,"timestamp_ms":1792107673000,"timestamp_seconds":1792107673,"priority":1,"record_length":96,"hex_timestamp":"000001a141f0f5a8"} 
[2026-10-16 05:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:12:59] 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-10-16 05:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779487232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:12:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779487232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":219526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:12:59] local.INFO: GPS data processed {"connection_id":219526,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:12:59] local.INFO: Acknowledgment sent {"connection_id":219526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:13:21] local.INFO: TCP Data received {"connection_id":216253,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:13:21] local.INFO: Processing buffer {"connection_id":216253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:13:21] local.INFO: IMEI packet received {"connection_id":216253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":216253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:13:22] local.INFO: TCP Data received {"connection_id":217796,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:13:22] local.INFO: Processing buffer {"connection_id":217796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:13:22] local.INFO: IMEI packet received {"connection_id":217796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":217796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:13:22] local.INFO: TCP Data received {"connection_id":216252,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:13:22] local.INFO: Processing buffer {"connection_id":216252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:13:22] local.INFO: IMEI packet received {"connection_id":216252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":216252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:13:26] local.INFO: TCP Data received {"connection_id":216253,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:13:26] local.INFO: Processing buffer {"connection_id":216253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:13:26] local.INFO: IMEI packet received {"connection_id":216253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":216253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:13:27] local.INFO: TCP Data received {"connection_id":216252,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:13:27] local.INFO: Processing buffer {"connection_id":216252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:13:27] local.INFO: IMEI packet received {"connection_id":216252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":216252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:13:27] local.INFO: TCP Data received {"connection_id":216253,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:13:27] local.INFO: Processing buffer {"connection_id":216253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:13:27] local.INFO: Packet analysis {"connection_id":216253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:13:27] local.INFO: Extracted packet for processing {"connection_id":216253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107673000,"timestamp_ms":1792107673000,"timestamp_seconds":1792107673,"priority":1,"record_length":96,"hex_timestamp":"000001a141f0f5a8"} 
[2026-10-16 05:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:13:27] 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-10-16 05:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:13: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-10-16 05:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779487232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:13:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779487232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":216253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:13:27] local.INFO: GPS data processed {"connection_id":216253,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:13:27] local.INFO: Acknowledgment sent {"connection_id":216253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:13:28] local.INFO: TCP Data received {"connection_id":216252,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:13:28] local.INFO: Processing buffer {"connection_id":216252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:13:28] local.INFO: Packet analysis {"connection_id":216252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:13:28] local.INFO: Extracted packet for processing {"connection_id":216252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:13:28] 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-10-16 05:13: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-10-16 05:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:13:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:13:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":216252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:13:28] local.INFO: GPS data processed {"connection_id":216252,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:13:28] local.INFO: Acknowledgment sent {"connection_id":216252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:13:33] local.INFO: TCP Data received {"connection_id":216252,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:13:33] local.INFO: Processing buffer {"connection_id":216252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:13:33] local.INFO: Packet analysis {"connection_id":216252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:13:33] local.INFO: Extracted packet for processing {"connection_id":216252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:13:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:13:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":216252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:13:33] local.INFO: GPS data processed {"connection_id":216252,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:13:33] local.INFO: Acknowledgment sent {"connection_id":216252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:13:52] local.INFO: TCP Data received {"connection_id":217797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:13:52] local.INFO: Processing buffer {"connection_id":217797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:13:52] local.INFO: IMEI packet received {"connection_id":217797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":217797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:14:07] local.INFO: TCP Data received {"connection_id":216253,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:14:07] local.INFO: Processing buffer {"connection_id":216253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:14:07] local.INFO: Packet analysis {"connection_id":216253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:14:07] local.INFO: Extracted packet for processing {"connection_id":216253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792107673000,"timestamp_ms":1792107673000,"timestamp_seconds":1792107673,"priority":1,"record_length":96,"hex_timestamp":"000001a141f0f5a8"} 
[2026-10-16 05:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:14:07] 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-10-16 05: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-10-16 05:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05: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-10-16 05:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779487232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:14:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779487232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":216253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:14:07] local.INFO: GPS data processed {"connection_id":216253,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:14:07] local.INFO: Acknowledgment sent {"connection_id":216253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:14:21] local.INFO: TCP Data received {"connection_id":217798,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:14:21] local.INFO: Processing buffer {"connection_id":217798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:14:21] local.INFO: IMEI packet received {"connection_id":217798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":217798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:14:22] local.INFO: TCP Data received {"connection_id":219527,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:14:22] local.INFO: Processing buffer {"connection_id":219527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:14:22] local.INFO: IMEI packet received {"connection_id":219527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":219527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:14:23] local.INFO: TCP Data received {"connection_id":219527,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:14:23] local.INFO: Processing buffer {"connection_id":219527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:14:23] local.INFO: IMEI packet received {"connection_id":219527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":219527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:14:24] local.INFO: TCP Data received {"connection_id":219527,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:14:24] local.INFO: Processing buffer {"connection_id":219527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:14:24] local.INFO: Packet analysis {"connection_id":219527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:14:24] local.INFO: Extracted packet for processing {"connection_id":219527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:14:24] 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-10-16 05:14: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-10-16 05:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:14:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:14:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":219527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:14:24] local.INFO: GPS data processed {"connection_id":219527,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:14:24] local.INFO: Acknowledgment sent {"connection_id":219527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:14:26] local.INFO: TCP Data received {"connection_id":217798,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:14:26] local.INFO: Processing buffer {"connection_id":217798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:14:26] local.INFO: IMEI packet received {"connection_id":217798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":217798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:14:27] local.INFO: TCP Data received {"connection_id":217798,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:14:27] local.INFO: Processing buffer {"connection_id":217798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:14:27] local.INFO: Packet analysis {"connection_id":217798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:14:27] local.INFO: Extracted packet for processing {"connection_id":217798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107673000,"timestamp_ms":1792107673000,"timestamp_seconds":1792107673,"priority":1,"record_length":96,"hex_timestamp":"000001a141f0f5a8"} 
[2026-10-16 05:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:14:27] 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-10-16 05:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779487232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:14:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779487232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":217798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:14:27] local.INFO: GPS data processed {"connection_id":217798,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:14:27] local.INFO: Acknowledgment sent {"connection_id":217798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:14:28] local.INFO: TCP Data received {"connection_id":219527,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:14:28] local.INFO: Processing buffer {"connection_id":219527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:14:28] local.INFO: Packet analysis {"connection_id":219527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:14:28] local.INFO: Extracted packet for processing {"connection_id":219527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:14:28] 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-10-16 05:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:14:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:14:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":219527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:14:28] local.INFO: GPS data processed {"connection_id":219527,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:14:28] local.INFO: Acknowledgment sent {"connection_id":219527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:14:59] local.INFO: TCP Data received {"connection_id":217798,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:14:59] local.INFO: Processing buffer {"connection_id":217798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:14:59] local.INFO: Packet analysis {"connection_id":217798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:14:59] local.INFO: Extracted packet for processing {"connection_id":217798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792107673000,"timestamp_ms":1792107673000,"timestamp_seconds":1792107673,"priority":1,"record_length":96,"hex_timestamp":"000001a141f0f5a8"} 
[2026-10-16 05:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779487232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:14:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779487232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":217798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:14:59] local.INFO: GPS data processed {"connection_id":217798,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:14:59] local.INFO: Acknowledgment sent {"connection_id":217798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:14:59] local.INFO: TCP Data received {"connection_id":219527,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:14:59] local.INFO: Processing buffer {"connection_id":219527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:14:59] local.INFO: Packet analysis {"connection_id":219527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:14:59] local.INFO: Extracted packet for processing {"connection_id":219527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:14:59] 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-10-16 05:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:14:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:14:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":219527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:14:59] local.INFO: GPS data processed {"connection_id":219527,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:14:59] local.INFO: Acknowledgment sent {"connection_id":219527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:15:17] local.INFO: TCP Data received {"connection_id":216448,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:15:17] local.INFO: Processing buffer {"connection_id":216448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:15:17] local.INFO: IMEI packet received {"connection_id":216448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":216448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:15:23] local.INFO: TCP Data received {"connection_id":216448,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:15:23] local.INFO: Processing buffer {"connection_id":216448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:15:23] local.INFO: IMEI packet received {"connection_id":216448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":216448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:15:23] local.INFO: TCP Data received {"connection_id":216448,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:15:24] local.INFO: Processing buffer {"connection_id":216448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:15:24] local.INFO: Packet analysis {"connection_id":216448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:15:24] local.INFO: Extracted packet for processing {"connection_id":216448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:15:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:15:24] 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-10-16 05:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:15:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:15:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":216448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:15:24] local.INFO: GPS data processed {"connection_id":216448,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:15:24] local.INFO: Acknowledgment sent {"connection_id":216448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:15:26] local.INFO: TCP Data received {"connection_id":217799,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:15:26] local.INFO: Processing buffer {"connection_id":217799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:15:26] local.INFO: IMEI packet received {"connection_id":217799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":217799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:15:31] local.INFO: TCP Data received {"connection_id":217799,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:15:31] local.INFO: Processing buffer {"connection_id":217799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:15:31] local.INFO: IMEI packet received {"connection_id":217799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":217799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:15:32] local.INFO: TCP Data received {"connection_id":217799,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:15:32] local.INFO: Processing buffer {"connection_id":217799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:15:32] local.INFO: Packet analysis {"connection_id":217799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:15:32] local.INFO: Extracted packet for processing {"connection_id":217799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792107673000,"timestamp_ms":1792107673000,"timestamp_seconds":1792107673,"priority":1,"record_length":96,"hex_timestamp":"000001a141f0f5a8"} 
[2026-10-16 05:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:15:32] 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-10-16 05:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779487232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:15:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779487232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":217799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:15:32] local.INFO: GPS data processed {"connection_id":217799,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:15:32] local.INFO: Acknowledgment sent {"connection_id":217799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:15:37] local.INFO: TCP Data received {"connection_id":217799,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:15:37] local.INFO: Processing buffer {"connection_id":217799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f0f5a8012d7c240005dad510000000ea25..."} 
[2026-10-16 05:15:37] local.INFO: Packet analysis {"connection_id":217799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:15:37] local.INFO: Extracted packet for processing {"connection_id":217799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f0"} 
[2026-10-16 05:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792107673000,"timestamp_ms":1792107673000,"timestamp_seconds":1792107673,"priority":1,"record_length":96,"hex_timestamp":"000001a141f0f5a8"} 
[2026-10-16 05:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:15:37] 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-10-16 05:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:15:37] 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-10-16 05:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779487232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:15:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779487232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":217799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:15:37] local.INFO: GPS data processed {"connection_id":217799,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:15:37] local.INFO: Acknowledgment sent {"connection_id":217799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:15:55] local.INFO: TCP Data received {"connection_id":216448,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:15:55] local.INFO: Processing buffer {"connection_id":216448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:15:55] local.INFO: Packet analysis {"connection_id":216448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:15:55] local.INFO: Extracted packet for processing {"connection_id":216448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:15:55] 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-10-16 05: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-10-16 05:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:15:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:15:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":216448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:15:55] local.INFO: GPS data processed {"connection_id":216448,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:15:55] local.INFO: Acknowledgment sent {"connection_id":216448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:16:17] local.INFO: TCP Data received {"connection_id":216254,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:16:17] local.INFO: Processing buffer {"connection_id":216254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:16:17] local.INFO: IMEI packet received {"connection_id":216254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":216254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:16:21] local.INFO: TCP Data received {"connection_id":216449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:16:21] local.INFO: Processing buffer {"connection_id":216449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:16:21] local.INFO: IMEI packet received {"connection_id":216449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":216449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:16:23] local.INFO: TCP Data received {"connection_id":216254,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:16:23] local.INFO: Processing buffer {"connection_id":216254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:16:23] local.INFO: IMEI packet received {"connection_id":216254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":216254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:16:24] local.INFO: TCP Data received {"connection_id":216254,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:16:24] local.INFO: Processing buffer {"connection_id":216254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:16:24] local.INFO: Packet analysis {"connection_id":216254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:16:24] local.INFO: Extracted packet for processing {"connection_id":216254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:16:24] 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-10-16 05: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-10-16 05:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:16:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:16:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":216254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:16:24] local.INFO: GPS data processed {"connection_id":216254,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:16:24] local.INFO: Acknowledgment sent {"connection_id":216254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:16:26] local.INFO: TCP Data received {"connection_id":216449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:16:26] local.INFO: Processing buffer {"connection_id":216449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:16:26] local.INFO: IMEI packet received {"connection_id":216449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":216449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:16:27] local.INFO: TCP Data received {"connection_id":216449,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:16:27] local.INFO: Processing buffer {"connection_id":216449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:16:27] local.INFO: Packet analysis {"connection_id":216449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:16:27] local.INFO: Extracted packet for processing {"connection_id":216449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779564288001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107974000,"timestamp_ms":1792107974000,"timestamp_seconds":1792107974,"priority":1,"record_length":96,"hex_timestamp":"000001a141f58d70"} 
[2026-10-16 05:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:16:27] 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-10-16 05: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-10-16 05:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779564288001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779564288001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:16:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779564288001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":216449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:16:27] local.INFO: GPS data processed {"connection_id":216449,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:16:27] local.INFO: Acknowledgment sent {"connection_id":216449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:16:56] local.INFO: TCP Data received {"connection_id":216254,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:16:56] local.INFO: Processing buffer {"connection_id":216254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:16:56] local.INFO: Packet analysis {"connection_id":216254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:16:56] local.INFO: Extracted packet for processing {"connection_id":216254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:16:56] 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-10-16 05: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-10-16 05:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:16:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:16:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":216254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:16:56] local.INFO: GPS data processed {"connection_id":216254,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:16:56] local.INFO: Acknowledgment sent {"connection_id":216254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:16:59] local.INFO: TCP Data received {"connection_id":216449,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:16:59] local.INFO: Processing buffer {"connection_id":216449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:16:59] local.INFO: Packet analysis {"connection_id":216449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:16:59] local.INFO: Extracted packet for processing {"connection_id":216449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779564288001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792107974000,"timestamp_ms":1792107974000,"timestamp_seconds":1792107974,"priority":1,"record_length":96,"hex_timestamp":"000001a141f58d70"} 
[2026-10-16 05:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779564288001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779564288001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:16:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:16:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779564288001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":216449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:16:59] local.INFO: GPS data processed {"connection_id":216449,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:16:59] local.INFO: Acknowledgment sent {"connection_id":216449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:17:22] local.INFO: TCP Data received {"connection_id":216256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:17:22] local.INFO: Processing buffer {"connection_id":216256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:17:22] local.INFO: IMEI packet received {"connection_id":216256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":216256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:17:23] local.INFO: TCP Data received {"connection_id":216255,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:17:23] local.INFO: Processing buffer {"connection_id":216255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:17:23] local.INFO: IMEI packet received {"connection_id":216255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":216255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:17:26] local.INFO: TCP Data received {"connection_id":216256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:17:26] local.INFO: Processing buffer {"connection_id":216256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:17:26] local.INFO: IMEI packet received {"connection_id":216256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":216256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:17:27] local.INFO: TCP Data received {"connection_id":216255,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:17:27] local.INFO: Processing buffer {"connection_id":216255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:17:27] local.INFO: IMEI packet received {"connection_id":216255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":216255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:17:27] local.INFO: TCP Data received {"connection_id":216256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:17:27] local.INFO: Processing buffer {"connection_id":216256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:17:27] local.INFO: Packet analysis {"connection_id":216256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:17:27] local.INFO: Extracted packet for processing {"connection_id":216256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779564288001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107974000,"timestamp_ms":1792107974000,"timestamp_seconds":1792107974,"priority":1,"record_length":96,"hex_timestamp":"000001a141f58d70"} 
[2026-10-16 05:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:17:27] 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-10-16 05: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-10-16 05:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:17: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-10-16 05:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779564288001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779564288001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:17:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779564288001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":216256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:17:28] local.INFO: GPS data processed {"connection_id":216256,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:17:28] local.INFO: Acknowledgment sent {"connection_id":216256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:17:28] local.INFO: TCP Data received {"connection_id":216255,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:17:28] local.INFO: Processing buffer {"connection_id":216255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:17:28] local.INFO: Packet analysis {"connection_id":216255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:17:28] local.INFO: Extracted packet for processing {"connection_id":216255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:17:28] 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-10-16 05:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:17:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:17:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":216255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:17:28] local.INFO: GPS data processed {"connection_id":216255,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:17:28] local.INFO: Acknowledgment sent {"connection_id":216255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:17:33] local.INFO: TCP Data received {"connection_id":216255,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:17:33] local.INFO: Processing buffer {"connection_id":216255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f1ad40012d7f98c005afddb00000002f1e..."} 
[2026-10-16 05:17:33] local.INFO: Packet analysis {"connection_id":216255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:17:33] local.INFO: Extracted packet for processing {"connection_id":216255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f1"} 
[2026-10-16 05:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779499264001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792107720000,"timestamp_ms":1792107720000,"timestamp_seconds":1792107720,"priority":1,"record_length":96,"hex_timestamp":"000001a141f1ad40"} 
[2026-10-16 05:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 05:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779499264001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779499264001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:17:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:17:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779499264001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":216255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:17:33] local.INFO: GPS data processed {"connection_id":216255,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:17:33] local.INFO: Acknowledgment sent {"connection_id":216255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:17:59] local.INFO: TCP Data received {"connection_id":216256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:17:59] local.INFO: Processing buffer {"connection_id":216256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:17:59] local.INFO: Packet analysis {"connection_id":216256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:17:59] local.INFO: Extracted packet for processing {"connection_id":216256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:17: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-10-16 05:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779564288001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792107974000,"timestamp_ms":1792107974000,"timestamp_seconds":1792107974,"priority":1,"record_length":96,"hex_timestamp":"000001a141f58d70"} 
[2026-10-16 05:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:17: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-10-16 05:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:17: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-10-16 05:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779564288001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779564288001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:17:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779564288001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":216256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:17:59] local.INFO: GPS data processed {"connection_id":216256,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:17:59] local.INFO: Acknowledgment sent {"connection_id":216256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:18:17] local.INFO: TCP Data received {"connection_id":216257,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:18:17] local.INFO: Processing buffer {"connection_id":216257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:18:17] local.INFO: IMEI packet received {"connection_id":216257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":216257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:18:21] local.INFO: TCP Data received {"connection_id":216258,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:18:21] local.INFO: Processing buffer {"connection_id":216258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:18:21] local.INFO: IMEI packet received {"connection_id":216258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":216258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:18:23] local.INFO: TCP Data received {"connection_id":216257,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:18:23] local.INFO: Processing buffer {"connection_id":216257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:18:23] local.INFO: IMEI packet received {"connection_id":216257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":216257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:18:24] local.INFO: TCP Data received {"connection_id":216257,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:18:24] local.INFO: Processing buffer {"connection_id":216257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:18:24] local.INFO: Packet analysis {"connection_id":216257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:18:24] local.INFO: Extracted packet for processing {"connection_id":216257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779576320001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108021000,"timestamp_ms":1792108021000,"timestamp_seconds":1792108021,"priority":1,"record_length":96,"hex_timestamp":"000001a141f64508"} 
[2026-10-16 05:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:18:24] 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-10-16 05:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779576320001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779576320001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:18:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:18:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779576320001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":216257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:18:24] local.INFO: GPS data processed {"connection_id":216257,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:18:24] local.INFO: Acknowledgment sent {"connection_id":216257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:18:26] local.INFO: TCP Data received {"connection_id":216258,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:18:26] local.INFO: Processing buffer {"connection_id":216258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:18:26] local.INFO: IMEI packet received {"connection_id":216258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":216258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:18:27] local.INFO: TCP Data received {"connection_id":216258,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:18:27] local.INFO: Processing buffer {"connection_id":216258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:18:27] local.INFO: Packet analysis {"connection_id":216258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:18:27] local.INFO: Extracted packet for processing {"connection_id":216258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779564288001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107974000,"timestamp_ms":1792107974000,"timestamp_seconds":1792107974,"priority":1,"record_length":96,"hex_timestamp":"000001a141f58d70"} 
[2026-10-16 05:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:18:27] 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-10-16 05:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:18: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-10-16 05:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779564288001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779564288001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:18:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779564288001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":216258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:18:27] local.INFO: GPS data processed {"connection_id":216258,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:18:27] local.INFO: Acknowledgment sent {"connection_id":216258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:18:55] local.INFO: TCP Data received {"connection_id":216257,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:18:55] local.INFO: Processing buffer {"connection_id":216257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:18:55] local.INFO: Packet analysis {"connection_id":216257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:18:55] local.INFO: Extracted packet for processing {"connection_id":216257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779576320001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792108021000,"timestamp_ms":1792108021000,"timestamp_seconds":1792108021,"priority":1,"record_length":96,"hex_timestamp":"000001a141f64508"} 
[2026-10-16 05:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:18:55] 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-10-16 05:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779576320001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779576320001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:18:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:18:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779576320001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":216257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:18:55] local.INFO: GPS data processed {"connection_id":216257,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:18:55] local.INFO: Acknowledgment sent {"connection_id":216257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:19:01] local.INFO: TCP Data received {"connection_id":216258,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:19:01] local.INFO: Processing buffer {"connection_id":216258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:19:01] local.INFO: Packet analysis {"connection_id":216258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:19:01] local.INFO: Extracted packet for processing {"connection_id":216258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779564288001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792107974000,"timestamp_ms":1792107974000,"timestamp_seconds":1792107974,"priority":1,"record_length":96,"hex_timestamp":"000001a141f58d70"} 
[2026-10-16 05:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:19:01] 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-10-16 05:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779564288001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779564288001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:19:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779564288001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":216258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:19:01] local.INFO: GPS data processed {"connection_id":216258,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:19:01] local.INFO: Acknowledgment sent {"connection_id":216258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:19:21] local.INFO: TCP Data received {"connection_id":216451,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:19:21] local.INFO: Processing buffer {"connection_id":216451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:19:21] local.INFO: IMEI packet received {"connection_id":216451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":216451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:19:22] local.INFO: TCP Data received {"connection_id":217801,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:19:22] local.INFO: Processing buffer {"connection_id":217801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:19:22] local.INFO: IMEI packet received {"connection_id":217801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":217801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:19:23] local.INFO: TCP Data received {"connection_id":217801,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:19:23] local.INFO: Processing buffer {"connection_id":217801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:19:23] local.INFO: Packet analysis {"connection_id":217801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:19:23] local.INFO: Extracted packet for processing {"connection_id":217801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779576320001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792108021000,"timestamp_ms":1792108021000,"timestamp_seconds":1792108021,"priority":1,"record_length":96,"hex_timestamp":"000001a141f64508"} 
[2026-10-16 05:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:19:23] 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-10-16 05: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-10-16 05:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779576320001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779576320001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:19:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:19:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779576320001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":217801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:19:24] local.INFO: GPS data processed {"connection_id":217801,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:19:24] local.INFO: Acknowledgment sent {"connection_id":217801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:19:26] local.INFO: TCP Data received {"connection_id":216451,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:19:26] local.INFO: Processing buffer {"connection_id":216451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:19:26] local.INFO: IMEI packet received {"connection_id":216451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":216451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:19:27] local.INFO: TCP Data received {"connection_id":216451,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:19:27] local.INFO: Processing buffer {"connection_id":216451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:19:27] local.INFO: Packet analysis {"connection_id":216451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:19:27] local.INFO: Extracted packet for processing {"connection_id":216451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779564288001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107974000,"timestamp_ms":1792107974000,"timestamp_seconds":1792107974,"priority":1,"record_length":96,"hex_timestamp":"000001a141f58d70"} 
[2026-10-16 05:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:19:27] 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-10-16 05:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:19:27] 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-10-16 05:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779564288001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779564288001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:19:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779564288001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":216451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:19:27] local.INFO: GPS data processed {"connection_id":216451,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:19:27] local.INFO: Acknowledgment sent {"connection_id":216451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:19:51] local.INFO: TCP Data received {"connection_id":219529,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:19:51] local.INFO: Processing buffer {"connection_id":219529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:19:51] local.INFO: IMEI packet received {"connection_id":219529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":219529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:19:56] local.INFO: TCP Data received {"connection_id":217801,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:19:56] local.INFO: Processing buffer {"connection_id":217801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:19:56] local.INFO: Packet analysis {"connection_id":217801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:19:56] local.INFO: Extracted packet for processing {"connection_id":217801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779576320001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792108021000,"timestamp_ms":1792108021000,"timestamp_seconds":1792108021,"priority":1,"record_length":96,"hex_timestamp":"000001a141f64508"} 
[2026-10-16 05:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:19:56] 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-10-16 05:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779576320001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779576320001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:19:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:19:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779576320001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":217801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:19:56] local.INFO: GPS data processed {"connection_id":217801,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:19:56] local.INFO: Acknowledgment sent {"connection_id":217801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:19:58] local.INFO: TCP Data received {"connection_id":216451,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:19:58] local.INFO: Processing buffer {"connection_id":216451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:19:58] local.INFO: Packet analysis {"connection_id":216451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:19:58] local.INFO: Extracted packet for processing {"connection_id":216451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779564288001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792107974000,"timestamp_ms":1792107974000,"timestamp_seconds":1792107974,"priority":1,"record_length":96,"hex_timestamp":"000001a141f58d70"} 
[2026-10-16 05:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:19:58] 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-10-16 05:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779564288001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779564288001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:19:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:19:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779564288001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":216451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:19:59] local.INFO: GPS data processed {"connection_id":216451,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:19:59] local.INFO: Acknowledgment sent {"connection_id":216451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:20:17] local.INFO: TCP Data received {"connection_id":216260,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:20:17] local.INFO: Processing buffer {"connection_id":216260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:20:17] local.INFO: IMEI packet received {"connection_id":216260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":216260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:20:21] local.INFO: TCP Data received {"connection_id":216452,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:20:21] local.INFO: Processing buffer {"connection_id":216452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:20:21] local.INFO: IMEI packet received {"connection_id":216452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":216452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:20:23] local.INFO: TCP Data received {"connection_id":216260,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:20:23] local.INFO: Processing buffer {"connection_id":216260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:20:23] local.INFO: IMEI packet received {"connection_id":216260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":216260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:20:24] local.INFO: TCP Data received {"connection_id":216260,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:20:24] local.INFO: Processing buffer {"connection_id":216260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:20:24] local.INFO: Packet analysis {"connection_id":216260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:20:24] local.INFO: Extracted packet for processing {"connection_id":216260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779576320001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108021000,"timestamp_ms":1792108021000,"timestamp_seconds":1792108021,"priority":1,"record_length":96,"hex_timestamp":"000001a141f64508"} 
[2026-10-16 05:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:20:24] 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-10-16 05:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779576320001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779576320001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:20:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:20:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779576320001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":216260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:20:24] local.INFO: GPS data processed {"connection_id":216260,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:20:24] local.INFO: Acknowledgment sent {"connection_id":216260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:20:26] local.INFO: TCP Data received {"connection_id":216452,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:20:26] local.INFO: Processing buffer {"connection_id":216452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:20:26] local.INFO: IMEI packet received {"connection_id":216452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":216452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:20:27] local.INFO: TCP Data received {"connection_id":216452,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:20:27] local.INFO: Processing buffer {"connection_id":216452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:20:27] local.INFO: Packet analysis {"connection_id":216452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:20:27] local.INFO: Extracted packet for processing {"connection_id":216452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779564288001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792107974000,"timestamp_ms":1792107974000,"timestamp_seconds":1792107974,"priority":1,"record_length":96,"hex_timestamp":"000001a141f58d70"} 
[2026-10-16 05:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:20:27] 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-10-16 05:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779564288001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779564288001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:20:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779564288001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":216452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:20:27] local.INFO: GPS data processed {"connection_id":216452,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:20:27] local.INFO: Acknowledgment sent {"connection_id":216452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:20:56] local.INFO: TCP Data received {"connection_id":216260,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:20:56] local.INFO: Processing buffer {"connection_id":216260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:20:56] local.INFO: Packet analysis {"connection_id":216260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:20:56] local.INFO: Extracted packet for processing {"connection_id":216260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779576320001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792108021000,"timestamp_ms":1792108021000,"timestamp_seconds":1792108021,"priority":1,"record_length":96,"hex_timestamp":"000001a141f64508"} 
[2026-10-16 05:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:20:56] 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-10-16 05:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779576320001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779576320001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:20:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:20:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779576320001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":216260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:20:56] local.INFO: GPS data processed {"connection_id":216260,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:20:56] local.INFO: Acknowledgment sent {"connection_id":216260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:20:57] local.INFO: TCP Data received {"connection_id":217802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:20:57] local.INFO: Processing buffer {"connection_id":217802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:20:57] local.INFO: IMEI packet received {"connection_id":217802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":217802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:20:59] local.INFO: TCP Data received {"connection_id":216452,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:20:59] local.INFO: Processing buffer {"connection_id":216452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f58d70012d7c240005dad510000000ea23..."} 
[2026-10-16 05:20:59] local.INFO: Packet analysis {"connection_id":216452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:20:59] local.INFO: Extracted packet for processing {"connection_id":216452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f5"} 
[2026-10-16 05:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779564288001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792107974000,"timestamp_ms":1792107974000,"timestamp_seconds":1792107974,"priority":1,"record_length":96,"hex_timestamp":"000001a141f58d70"} 
[2026-10-16 05:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779564288001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779564288001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:20:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779564288001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":216452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:20:59] local.INFO: GPS data processed {"connection_id":216452,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:20:59] local.INFO: Acknowledgment sent {"connection_id":216452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:21:17] local.INFO: TCP Data received {"connection_id":216453,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:21:17] local.INFO: Processing buffer {"connection_id":216453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:21:17] local.INFO: IMEI packet received {"connection_id":216453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":216453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:21:22] local.INFO: TCP Data received {"connection_id":216453,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:21:23] local.INFO: Processing buffer {"connection_id":216453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:21:23] local.INFO: IMEI packet received {"connection_id":216453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":216453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:21:25] local.INFO: TCP Data received {"connection_id":216453,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:21:25] local.INFO: Processing buffer {"connection_id":216453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:21:25] local.INFO: Packet analysis {"connection_id":216453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:21:25] local.INFO: Extracted packet for processing {"connection_id":216453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779576320001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792108021000,"timestamp_ms":1792108021000,"timestamp_seconds":1792108021,"priority":1,"record_length":96,"hex_timestamp":"000001a141f64508"} 
[2026-10-16 05:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779576320001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779576320001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:21:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:21:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779576320001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":216453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:21:25] local.INFO: GPS data processed {"connection_id":216453,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:21:25] local.INFO: Acknowledgment sent {"connection_id":216453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:21:26] local.INFO: TCP Data received {"connection_id":216261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:21:26] local.INFO: Processing buffer {"connection_id":216261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:21:26] local.INFO: IMEI packet received {"connection_id":216261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":216261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:21:57] local.INFO: TCP Data received {"connection_id":216453,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:21:57] local.INFO: Processing buffer {"connection_id":216453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:21:57] local.INFO: Packet analysis {"connection_id":216453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:21:57] local.INFO: Extracted packet for processing {"connection_id":216453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779576320001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792108021000,"timestamp_ms":1792108021000,"timestamp_seconds":1792108021,"priority":1,"record_length":96,"hex_timestamp":"000001a141f64508"} 
[2026-10-16 05:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:21:57] 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-10-16 05:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779576320001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779576320001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:21:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:21:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779576320001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":216453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:21:57] local.INFO: GPS data processed {"connection_id":216453,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:21:57] local.INFO: Acknowledgment sent {"connection_id":216453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:22:17] local.INFO: TCP Data received {"connection_id":219530,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:22:17] local.INFO: Processing buffer {"connection_id":219530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:22:17] local.INFO: IMEI packet received {"connection_id":219530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":219530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:22:23] local.INFO: TCP Data received {"connection_id":219530,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:22:23] local.INFO: Processing buffer {"connection_id":219530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:22:23] local.INFO: IMEI packet received {"connection_id":219530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":219530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:22:24] local.INFO: TCP Data received {"connection_id":219530,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:22:24] local.INFO: Processing buffer {"connection_id":219530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141f64508012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:22:24] local.INFO: Packet analysis {"connection_id":219530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:22:24] local.INFO: Extracted packet for processing {"connection_id":219530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141f6"} 
[2026-10-16 05:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779576320001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108021000,"timestamp_ms":1792108021000,"timestamp_seconds":1792108021,"priority":1,"record_length":96,"hex_timestamp":"000001a141f64508"} 
[2026-10-16 05:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:22:24] 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-10-16 05:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779576320001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779576320001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:22:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:22:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779576320001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":219530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:22:24] local.INFO: GPS data processed {"connection_id":219530,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:22:24] local.INFO: Acknowledgment sent {"connection_id":219530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:22:56] local.INFO: TCP Data received {"connection_id":219530,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:22:56] local.INFO: Processing buffer {"connection_id":219530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:22:56] local.INFO: Packet analysis {"connection_id":219530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:22:56] local.INFO: Extracted packet for processing {"connection_id":219530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779653376001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792108322000,"timestamp_ms":1792108322000,"timestamp_seconds":1792108322,"priority":1,"record_length":96,"hex_timestamp":"000001a141fadcd0"} 
[2026-10-16 05:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:22:56] 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-10-16 05:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779653376001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779653376001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:22:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:22:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779653376001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":219530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:22:57] local.INFO: GPS data processed {"connection_id":219530,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:22:57] local.INFO: Acknowledgment sent {"connection_id":219530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:23:18] local.INFO: TCP Data received {"connection_id":219531,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:23:18] local.INFO: Processing buffer {"connection_id":219531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:23:18] local.INFO: IMEI packet received {"connection_id":219531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":219531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:23:23] local.INFO: TCP Data received {"connection_id":219531,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:23:23] local.INFO: Processing buffer {"connection_id":219531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:23:23] local.INFO: IMEI packet received {"connection_id":219531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":219531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:23:23] local.INFO: TCP Data received {"connection_id":219531,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:23:24] local.INFO: Processing buffer {"connection_id":219531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:23:24] local.INFO: Packet analysis {"connection_id":219531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:23:24] local.INFO: Extracted packet for processing {"connection_id":219531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:23:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779653376001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108322000,"timestamp_ms":1792108322000,"timestamp_seconds":1792108322,"priority":1,"record_length":96,"hex_timestamp":"000001a141fadcd0"} 
[2026-10-16 05:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:23:24] 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-10-16 05:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779653376001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779653376001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:23:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:23:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779653376001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":219531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:23:24] local.INFO: GPS data processed {"connection_id":219531,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:23:24] local.INFO: Acknowledgment sent {"connection_id":219531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:23:55] local.INFO: TCP Data received {"connection_id":219531,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:23:55] local.INFO: Processing buffer {"connection_id":219531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:23:55] local.INFO: Packet analysis {"connection_id":219531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:23:55] local.INFO: Extracted packet for processing {"connection_id":219531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779653376001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792108322000,"timestamp_ms":1792108322000,"timestamp_seconds":1792108322,"priority":1,"record_length":96,"hex_timestamp":"000001a141fadcd0"} 
[2026-10-16 05:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:23:55] 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-10-16 05:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779653376001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779653376001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:23:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:23:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779653376001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":219531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:23:56] local.INFO: GPS data processed {"connection_id":219531,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:23:56] local.INFO: Acknowledgment sent {"connection_id":219531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:24:17] local.INFO: TCP Data received {"connection_id":216454,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:24:17] local.INFO: Processing buffer {"connection_id":216454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:24:17] local.INFO: IMEI packet received {"connection_id":216454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":216454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:24:23] local.INFO: TCP Data received {"connection_id":216454,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:24:23] local.INFO: Processing buffer {"connection_id":216454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:24:23] local.INFO: IMEI packet received {"connection_id":216454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":216454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:24:24] local.INFO: TCP Data received {"connection_id":216454,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:24:24] local.INFO: Processing buffer {"connection_id":216454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:24:24] local.INFO: Packet analysis {"connection_id":216454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:24:24] local.INFO: Extracted packet for processing {"connection_id":216454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:24:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779653376001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108322000,"timestamp_ms":1792108322000,"timestamp_seconds":1792108322,"priority":1,"record_length":96,"hex_timestamp":"000001a141fadcd0"} 
[2026-10-16 05:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:24:24] 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-10-16 05: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-10-16 05:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779653376001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779653376001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:24:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:24:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779653376001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":216454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:24:24] local.INFO: GPS data processed {"connection_id":216454,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:24:24] local.INFO: Acknowledgment sent {"connection_id":216454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:24:55] local.INFO: TCP Data received {"connection_id":216454,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:24:55] local.INFO: Processing buffer {"connection_id":216454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:24:55] local.INFO: Packet analysis {"connection_id":216454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:24:55] local.INFO: Extracted packet for processing {"connection_id":216454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779653376001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792108322000,"timestamp_ms":1792108322000,"timestamp_seconds":1792108322,"priority":1,"record_length":96,"hex_timestamp":"000001a141fadcd0"} 
[2026-10-16 05:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:24:55] 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-10-16 05:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779653376001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779653376001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:24:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:24:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779653376001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":216454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:24:55] local.INFO: GPS data processed {"connection_id":216454,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:24:55] local.INFO: Acknowledgment sent {"connection_id":216454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:25:17] local.INFO: TCP Data received {"connection_id":217805,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:25:17] local.INFO: Processing buffer {"connection_id":217805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:25:17] local.INFO: IMEI packet received {"connection_id":217805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":217805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:25:23] local.INFO: TCP Data received {"connection_id":217805,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:25:23] local.INFO: Processing buffer {"connection_id":217805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:25:23] local.INFO: IMEI packet received {"connection_id":217805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":217805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:25:24] local.INFO: TCP Data received {"connection_id":217805,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:25:24] local.INFO: Processing buffer {"connection_id":217805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:25:24] local.INFO: Packet analysis {"connection_id":217805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:25:24] local.INFO: Extracted packet for processing {"connection_id":217805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779653376001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108322000,"timestamp_ms":1792108322000,"timestamp_seconds":1792108322,"priority":1,"record_length":96,"hex_timestamp":"000001a141fadcd0"} 
[2026-10-16 05:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:25:24] 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-10-16 05:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779653376001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779653376001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:25:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:25:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779653376001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":217805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:25:24] local.INFO: GPS data processed {"connection_id":217805,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:25:24] local.INFO: Acknowledgment sent {"connection_id":217805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:25:56] local.INFO: TCP Data received {"connection_id":217805,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:25:56] local.INFO: Processing buffer {"connection_id":217805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:25:56] local.INFO: Packet analysis {"connection_id":217805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:25:56] local.INFO: Extracted packet for processing {"connection_id":217805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779653376001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792108322000,"timestamp_ms":1792108322000,"timestamp_seconds":1792108322,"priority":1,"record_length":96,"hex_timestamp":"000001a141fadcd0"} 
[2026-10-16 05:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:25:56] 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-10-16 05:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779653376001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779653376001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:25:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:25:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779653376001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":217805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:25:56] local.INFO: GPS data processed {"connection_id":217805,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:25:56] local.INFO: Acknowledgment sent {"connection_id":217805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:26:02] local.INFO: TCP Data received {"connection_id":217806,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:26:02] local.INFO: Processing buffer {"connection_id":217806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:26:02] local.INFO: IMEI packet received {"connection_id":217806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":217806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:26:23] local.INFO: TCP Data received {"connection_id":219533,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:26:23] local.INFO: Processing buffer {"connection_id":219533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:26:23] local.INFO: IMEI packet received {"connection_id":219533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":219533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:26:28] local.INFO: TCP Data received {"connection_id":219533,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:26:28] local.INFO: Processing buffer {"connection_id":219533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:26:28] local.INFO: IMEI packet received {"connection_id":219533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":219533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:26:29] local.INFO: TCP Data received {"connection_id":219533,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:26:29] local.INFO: Processing buffer {"connection_id":219533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:26:29] local.INFO: Packet analysis {"connection_id":219533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:26:29] local.INFO: Extracted packet for processing {"connection_id":219533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779653376001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792108322000,"timestamp_ms":1792108322000,"timestamp_seconds":1792108322,"priority":1,"record_length":96,"hex_timestamp":"000001a141fadcd0"} 
[2026-10-16 05:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:26:29] 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-10-16 05:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779653376001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779653376001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:26:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:26:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779653376001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":219533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:26:29] local.INFO: GPS data processed {"connection_id":219533,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:26:29] local.INFO: Acknowledgment sent {"connection_id":219533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:26:33] local.INFO: TCP Data received {"connection_id":219533,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:26:33] local.INFO: Processing buffer {"connection_id":219533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:26:33] local.INFO: Packet analysis {"connection_id":219533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:26:33] local.INFO: Extracted packet for processing {"connection_id":219533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779653376001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792108322000,"timestamp_ms":1792108322000,"timestamp_seconds":1792108322,"priority":1,"record_length":96,"hex_timestamp":"000001a141fadcd0"} 
[2026-10-16 05:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779653376001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779653376001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:26:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:26:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779653376001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":219533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:26:33] local.INFO: GPS data processed {"connection_id":219533,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:26:33] local.INFO: Acknowledgment sent {"connection_id":219533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:27:18] local.INFO: TCP Data received {"connection_id":216263,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:27:18] local.INFO: Processing buffer {"connection_id":216263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:27:18] local.INFO: IMEI packet received {"connection_id":216263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":216263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:27:23] local.INFO: TCP Data received {"connection_id":216263,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:27:23] local.INFO: Processing buffer {"connection_id":216263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:27:23] local.INFO: IMEI packet received {"connection_id":216263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":216263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:27:24] local.INFO: TCP Data received {"connection_id":216263,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:27:24] local.INFO: Processing buffer {"connection_id":216263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141fadcd0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:27:24] local.INFO: Packet analysis {"connection_id":216263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:27:24] local.INFO: Extracted packet for processing {"connection_id":216263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fa"} 
[2026-10-16 05:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:27: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-10-16 05:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779653376001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108322000,"timestamp_ms":1792108322000,"timestamp_seconds":1792108322,"priority":1,"record_length":96,"hex_timestamp":"000001a141fadcd0"} 
[2026-10-16 05:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:27: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:27:24] 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-10-16 05:27: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-10-16 05:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779653376001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779653376001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:27:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:27:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779653376001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":216263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:27:24] local.INFO: GPS data processed {"connection_id":216263,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:27:24] local.INFO: Acknowledgment sent {"connection_id":216263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:27:55] local.INFO: TCP Data received {"connection_id":216263,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:27:55] local.INFO: Processing buffer {"connection_id":216263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:27:55] local.INFO: Packet analysis {"connection_id":216263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:27:55] local.INFO: Extracted packet for processing {"connection_id":216263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:27:55] 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-10-16 05:27: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-10-16 05:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:27:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:27:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":216263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:27:55] local.INFO: GPS data processed {"connection_id":216263,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:27:55] local.INFO: Acknowledgment sent {"connection_id":216263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:28:23] local.INFO: TCP Data received {"connection_id":217807,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:28:23] local.INFO: Processing buffer {"connection_id":217807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:28:23] local.INFO: IMEI packet received {"connection_id":217807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":217807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:28:28] local.INFO: TCP Data received {"connection_id":217807,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:28:28] local.INFO: Processing buffer {"connection_id":217807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:28:28] local.INFO: IMEI packet received {"connection_id":217807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":217807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:28:29] local.INFO: TCP Data received {"connection_id":217807,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:28:29] local.INFO: Processing buffer {"connection_id":217807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:28:29] local.INFO: Packet analysis {"connection_id":217807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:28:29] local.INFO: Extracted packet for processing {"connection_id":217807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:28:29] 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-10-16 05:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:28:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:28:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":217807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:28:29] local.INFO: GPS data processed {"connection_id":217807,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:28:29] local.INFO: Acknowledgment sent {"connection_id":217807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:28:33] local.INFO: TCP Data received {"connection_id":217807,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:28:33] local.INFO: Processing buffer {"connection_id":217807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:28:33] local.INFO: Packet analysis {"connection_id":217807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:28:33] local.INFO: Extracted packet for processing {"connection_id":217807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:28:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:28:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":217807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:28:33] local.INFO: GPS data processed {"connection_id":217807,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:28:33] local.INFO: Acknowledgment sent {"connection_id":217807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:29:18] local.INFO: TCP Data received {"connection_id":216457,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:29:18] local.INFO: Processing buffer {"connection_id":216457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:29:18] local.INFO: IMEI packet received {"connection_id":216457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":216457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:29:22] local.INFO: TCP Data received {"connection_id":216457,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:29:22] local.INFO: Processing buffer {"connection_id":216457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:29:22] local.INFO: IMEI packet received {"connection_id":216457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":216457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:29:24] local.INFO: TCP Data received {"connection_id":216457,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:29:24] local.INFO: Processing buffer {"connection_id":216457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:29:24] local.INFO: Packet analysis {"connection_id":216457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:29:24] local.INFO: Extracted packet for processing {"connection_id":216457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:29:24] 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-10-16 05:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:29:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:29:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":216457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:29:24] local.INFO: GPS data processed {"connection_id":216457,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:29:24] local.INFO: Acknowledgment sent {"connection_id":216457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:29:56] local.INFO: TCP Data received {"connection_id":216457,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:29:56] local.INFO: Processing buffer {"connection_id":216457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:29:56] local.INFO: Packet analysis {"connection_id":216457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:29:56] local.INFO: Extracted packet for processing {"connection_id":216457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:29:56] 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-10-16 05:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:29:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:29:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":216457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:29:56] local.INFO: GPS data processed {"connection_id":216457,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:29:56] local.INFO: Acknowledgment sent {"connection_id":216457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:30:17] local.INFO: TCP Data received {"connection_id":217809,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:30:17] local.INFO: Processing buffer {"connection_id":217809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:30:17] local.INFO: IMEI packet received {"connection_id":217809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":217809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:30:22] local.INFO: TCP Data received {"connection_id":217809,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:30:22] local.INFO: Processing buffer {"connection_id":217809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:30:22] local.INFO: IMEI packet received {"connection_id":217809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":217809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:30:23] local.INFO: TCP Data received {"connection_id":217809,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:30:23] local.INFO: Processing buffer {"connection_id":217809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:30:23] local.INFO: Packet analysis {"connection_id":217809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:30:23] local.INFO: Extracted packet for processing {"connection_id":217809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:30:23] 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-10-16 05:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:30:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:30:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":217809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:30:24] local.INFO: GPS data processed {"connection_id":217809,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:30:24] local.INFO: Acknowledgment sent {"connection_id":217809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:30:55] local.INFO: TCP Data received {"connection_id":217809,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:30:55] local.INFO: Processing buffer {"connection_id":217809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:30:55] local.INFO: Packet analysis {"connection_id":217809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:30:55] local.INFO: Extracted packet for processing {"connection_id":217809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:30:55] 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-10-16 05:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:30:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:30:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":217809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:30:55] local.INFO: GPS data processed {"connection_id":217809,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:30:55] local.INFO: Acknowledgment sent {"connection_id":217809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:31:17] local.INFO: TCP Data received {"connection_id":216458,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:31:17] local.INFO: Processing buffer {"connection_id":216458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:31:17] local.INFO: IMEI packet received {"connection_id":216458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":216458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:31:22] local.INFO: TCP Data received {"connection_id":216458,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:31:22] local.INFO: Processing buffer {"connection_id":216458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:31:22] local.INFO: IMEI packet received {"connection_id":216458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":216458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:31:24] local.INFO: TCP Data received {"connection_id":216458,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:31:24] local.INFO: Processing buffer {"connection_id":216458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:31:24] local.INFO: Packet analysis {"connection_id":216458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:31:24] local.INFO: Extracted packet for processing {"connection_id":216458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:31:24] 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-10-16 05:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:31:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:31:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":216458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:31:24] local.INFO: GPS data processed {"connection_id":216458,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:31:24] local.INFO: Acknowledgment sent {"connection_id":216458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:31:52] local.INFO: TCP Data received {"connection_id":219535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:31:52] local.INFO: Processing buffer {"connection_id":219535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:31:52] local.INFO: IMEI packet received {"connection_id":219535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":219535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:31:56] local.INFO: TCP Data received {"connection_id":216458,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:31:56] local.INFO: Processing buffer {"connection_id":216458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:31:56] local.INFO: Packet analysis {"connection_id":216458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:31:56] local.INFO: Extracted packet for processing {"connection_id":216458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:31:56] 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-10-16 05:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:31:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:31:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":216458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:31:56] local.INFO: GPS data processed {"connection_id":216458,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:31:56] local.INFO: Acknowledgment sent {"connection_id":216458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:32:23] local.INFO: TCP Data received {"connection_id":217810,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:32:23] local.INFO: Processing buffer {"connection_id":217810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:32:23] local.INFO: IMEI packet received {"connection_id":217810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":217810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:32:28] local.INFO: TCP Data received {"connection_id":217810,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:32:28] local.INFO: Processing buffer {"connection_id":217810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:32:28] local.INFO: IMEI packet received {"connection_id":217810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":217810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:32:29] local.INFO: TCP Data received {"connection_id":217810,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:32:29] local.INFO: Processing buffer {"connection_id":217810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:32:29] local.INFO: Packet analysis {"connection_id":217810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:32:29] local.INFO: Extracted packet for processing {"connection_id":217810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:32:29] 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-10-16 05:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:32:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:32:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":217810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:32:29] local.INFO: GPS data processed {"connection_id":217810,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:32:29] local.INFO: Acknowledgment sent {"connection_id":217810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:32:32] local.INFO: TCP Data received {"connection_id":217810,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:32:33] local.INFO: Processing buffer {"connection_id":217810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141ff7498012d7f98c005afddb00000002f20..."} 
[2026-10-16 05:32:33] local.INFO: Packet analysis {"connection_id":217810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:32:33] local.INFO: Extracted packet for processing {"connection_id":217810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141ff"} 
[2026-10-16 05:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792108623000,"timestamp_ms":1792108623000,"timestamp_seconds":1792108623,"priority":1,"record_length":96,"hex_timestamp":"000001a141ff7498"} 
[2026-10-16 05:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779730432001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:32:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:32:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779730432001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":217810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:32:33] local.INFO: GPS data processed {"connection_id":217810,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:32:33] local.INFO: Acknowledgment sent {"connection_id":217810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:33:17] local.INFO: TCP Data received {"connection_id":219536,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:33:17] local.INFO: Processing buffer {"connection_id":219536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:33:17] local.INFO: IMEI packet received {"connection_id":219536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":219536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:33:23] local.INFO: TCP Data received {"connection_id":219536,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:33:23] local.INFO: Processing buffer {"connection_id":219536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:33:23] local.INFO: IMEI packet received {"connection_id":219536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":219536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:33:24] local.INFO: TCP Data received {"connection_id":219536,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:33:24] local.INFO: Processing buffer {"connection_id":219536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:33:24] local.INFO: Packet analysis {"connection_id":219536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:33:24] local.INFO: Extracted packet for processing {"connection_id":219536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779807488001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108924000,"timestamp_ms":1792108924000,"timestamp_seconds":1792108924,"priority":1,"record_length":96,"hex_timestamp":"000001a142040c60"} 
[2026-10-16 05:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:33:24] 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-10-16 05:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779807488001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779807488001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:33:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:33:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779807488001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":219536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:33:24] local.INFO: GPS data processed {"connection_id":219536,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:33:24] local.INFO: Acknowledgment sent {"connection_id":219536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:33:56] local.INFO: TCP Data received {"connection_id":219536,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:33:56] local.INFO: Processing buffer {"connection_id":219536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:33:56] local.INFO: Packet analysis {"connection_id":219536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:33:56] local.INFO: Extracted packet for processing {"connection_id":219536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779807488001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792108924000,"timestamp_ms":1792108924000,"timestamp_seconds":1792108924,"priority":1,"record_length":96,"hex_timestamp":"000001a142040c60"} 
[2026-10-16 05:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:33:56] 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-10-16 05: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-10-16 05:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779807488001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779807488001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:33:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:33:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779807488001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":219536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:33:56] local.INFO: GPS data processed {"connection_id":219536,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:33:56] local.INFO: Acknowledgment sent {"connection_id":219536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:34:17] local.INFO: TCP Data received {"connection_id":219537,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:34:17] local.INFO: Processing buffer {"connection_id":219537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:34:17] local.INFO: IMEI packet received {"connection_id":219537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":219537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:34:22] local.INFO: TCP Data received {"connection_id":219537,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:34:22] local.INFO: Processing buffer {"connection_id":219537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:34:22] local.INFO: IMEI packet received {"connection_id":219537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":219537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:34:24] local.INFO: TCP Data received {"connection_id":219537,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:34:24] local.INFO: Processing buffer {"connection_id":219537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:34:24] local.INFO: Packet analysis {"connection_id":219537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:34:24] local.INFO: Extracted packet for processing {"connection_id":219537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:34:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779807488001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108924000,"timestamp_ms":1792108924000,"timestamp_seconds":1792108924,"priority":1,"record_length":96,"hex_timestamp":"000001a142040c60"} 
[2026-10-16 05:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:34:24] 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-10-16 05:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779807488001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779807488001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:34:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:34:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779807488001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":219537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:34:24] local.INFO: GPS data processed {"connection_id":219537,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:34:24] local.INFO: Acknowledgment sent {"connection_id":219537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:34:56] local.INFO: TCP Data received {"connection_id":219537,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:34:56] local.INFO: Processing buffer {"connection_id":219537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:34:56] local.INFO: Packet analysis {"connection_id":219537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:34:56] local.INFO: Extracted packet for processing {"connection_id":219537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779807488001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792108924000,"timestamp_ms":1792108924000,"timestamp_seconds":1792108924,"priority":1,"record_length":96,"hex_timestamp":"000001a142040c60"} 
[2026-10-16 05:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:34:56] 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-10-16 05:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779807488001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779807488001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:34:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:34:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779807488001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":219537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:34:56] local.INFO: GPS data processed {"connection_id":219537,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:34:56] local.INFO: Acknowledgment sent {"connection_id":219537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:35:22] local.INFO: TCP Data received {"connection_id":219538,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:35:22] local.INFO: Processing buffer {"connection_id":219538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:35:22] local.INFO: IMEI packet received {"connection_id":219538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":219538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:35:27] local.INFO: TCP Data received {"connection_id":219538,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:35:27] local.INFO: Processing buffer {"connection_id":219538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:35:27] local.INFO: IMEI packet received {"connection_id":219538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":219538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:35:28] local.INFO: TCP Data received {"connection_id":219538,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:35:28] local.INFO: Processing buffer {"connection_id":219538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:35:28] local.INFO: Packet analysis {"connection_id":219538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:35:28] local.INFO: Extracted packet for processing {"connection_id":219538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779807488001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792108924000,"timestamp_ms":1792108924000,"timestamp_seconds":1792108924,"priority":1,"record_length":96,"hex_timestamp":"000001a142040c60"} 
[2026-10-16 05:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:35:28] 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-10-16 05:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779807488001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779807488001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:35:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:35:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779807488001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":219538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:35:28] local.INFO: GPS data processed {"connection_id":219538,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:35:28] local.INFO: Acknowledgment sent {"connection_id":219538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:35:33] local.INFO: TCP Data received {"connection_id":219538,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:35:33] local.INFO: Processing buffer {"connection_id":219538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:35:33] local.INFO: Packet analysis {"connection_id":219538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:35:33] local.INFO: Extracted packet for processing {"connection_id":219538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779807488001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792108924000,"timestamp_ms":1792108924000,"timestamp_seconds":1792108924,"priority":1,"record_length":96,"hex_timestamp":"000001a142040c60"} 
[2026-10-16 05:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:35:33] 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-10-16 05:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779807488001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779807488001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:35:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:35:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779807488001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":219538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:35:33] local.INFO: GPS data processed {"connection_id":219538,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:35:33] local.INFO: Acknowledgment sent {"connection_id":219538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:36:18] local.INFO: TCP Data received {"connection_id":217811,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:36:18] local.INFO: Processing buffer {"connection_id":217811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:36:18] local.INFO: IMEI packet received {"connection_id":217811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":217811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:36:23] local.INFO: TCP Data received {"connection_id":217811,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:36:23] local.INFO: Processing buffer {"connection_id":217811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:36:23] local.INFO: IMEI packet received {"connection_id":217811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":217811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:36:24] local.INFO: TCP Data received {"connection_id":217811,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:36:24] local.INFO: Processing buffer {"connection_id":217811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:36:24] local.INFO: Packet analysis {"connection_id":217811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:36:24] local.INFO: Extracted packet for processing {"connection_id":217811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:36: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-10-16 05:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779807488001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792108924000,"timestamp_ms":1792108924000,"timestamp_seconds":1792108924,"priority":1,"record_length":96,"hex_timestamp":"000001a142040c60"} 
[2026-10-16 05:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:36:24] 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-10-16 05:36: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-10-16 05:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779807488001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779807488001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:36:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:36:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779807488001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":217811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:36:24] local.INFO: GPS data processed {"connection_id":217811,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:36:24] local.INFO: Acknowledgment sent {"connection_id":217811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:36:27] local.INFO: TCP Data received {"connection_id":216267,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:36:27] local.INFO: Processing buffer {"connection_id":216267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:36:27] local.INFO: IMEI packet received {"connection_id":216267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":216267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:36:32] local.INFO: TCP Data received {"connection_id":216267,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:36:32] local.INFO: Processing buffer {"connection_id":216267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:36:32] local.INFO: IMEI packet received {"connection_id":216267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":216267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:36:33] local.INFO: TCP Data received {"connection_id":216267,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a141febd00012d7c240005dad510000000ea22..."} 
[2026-10-16 05:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a141febd00012d7c240005dad510000000ea22..."} 
[2026-10-16 05:36:33] local.INFO: Processing buffer {"connection_id":216267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a141febd00012d7c240005dad510000000ea22..."} 
[2026-10-16 05:36:33] local.INFO: Packet analysis {"connection_id":216267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a141fe"} 
[2026-10-16 05:36:33] local.INFO: Extracted packet for processing {"connection_id":216267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a141fe"} 
[2026-10-16 05:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779718400001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792108576000,"timestamp_ms":1792108576000,"timestamp_seconds":1792108576,"priority":1,"record_length":96,"hex_timestamp":"000001a141febd00"} 
[2026-10-16 05:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779718400001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779718400001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:36:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779718400001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":216267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:36:33] local.INFO: GPS data processed {"connection_id":216267,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:36:33] local.INFO: Acknowledgment sent {"connection_id":216267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:36:42] local.INFO: TCP Data received {"connection_id":216267,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:36:42] local.INFO: Processing buffer {"connection_id":216267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:36:42] local.INFO: Packet analysis {"connection_id":216267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:36:42] local.INFO: Extracted packet for processing {"connection_id":216267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779795456001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792108877000,"timestamp_ms":1792108877000,"timestamp_seconds":1792108877,"priority":1,"record_length":96,"hex_timestamp":"000001a1420354c8"} 
[2026-10-16 05:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:36:42] 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-10-16 05:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":216267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":216267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":216267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779795456001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779795456001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:36:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779795456001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":216267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:36:42] local.INFO: GPS data processed {"connection_id":216267,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:36:42] local.INFO: Acknowledgment sent {"connection_id":216267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:36:56] local.INFO: TCP Data received {"connection_id":217811,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:36:56] local.INFO: Processing buffer {"connection_id":217811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:36:56] local.INFO: Packet analysis {"connection_id":217811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:36:56] local.INFO: Extracted packet for processing {"connection_id":217811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779807488001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792108924000,"timestamp_ms":1792108924000,"timestamp_seconds":1792108924,"priority":1,"record_length":96,"hex_timestamp":"000001a142040c60"} 
[2026-10-16 05:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:36:56] 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-10-16 05:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779807488001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779807488001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:36:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:36:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779807488001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":217811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:36:56] local.INFO: GPS data processed {"connection_id":217811,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:36:56] local.INFO: Acknowledgment sent {"connection_id":217811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:37:17] local.INFO: TCP Data received {"connection_id":216460,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:37:17] local.INFO: Processing buffer {"connection_id":216460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:37:17] local.INFO: IMEI packet received {"connection_id":216460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":216460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:37:22] local.INFO: TCP Data received {"connection_id":216460,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:37:22] local.INFO: Processing buffer {"connection_id":216460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:37:22] local.INFO: IMEI packet received {"connection_id":216460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":216460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:37:22] local.INFO: TCP Data received {"connection_id":216461,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:37:22] local.INFO: Processing buffer {"connection_id":216461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:37:22] local.INFO: IMEI packet received {"connection_id":216461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":216461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:37:23] local.INFO: TCP Data received {"connection_id":216460,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:37:23] local.INFO: Processing buffer {"connection_id":216460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142040c60012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:37:23] local.INFO: Packet analysis {"connection_id":216460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:37:23] local.INFO: Extracted packet for processing {"connection_id":216460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14204"} 
[2026-10-16 05:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779807488001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792108924000,"timestamp_ms":1792108924000,"timestamp_seconds":1792108924,"priority":1,"record_length":96,"hex_timestamp":"000001a142040c60"} 
[2026-10-16 05:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:37:23] 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-10-16 05:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779807488001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779807488001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:37:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:37:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779807488001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":216460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:37:23] local.INFO: GPS data processed {"connection_id":216460,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:37:23] local.INFO: Acknowledgment sent {"connection_id":216460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:37:26] local.INFO: TCP Data received {"connection_id":216461,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:37:26] local.INFO: Processing buffer {"connection_id":216461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:37:26] local.INFO: IMEI packet received {"connection_id":216461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":216461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:37:27] local.INFO: TCP Data received {"connection_id":216461,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:37:27] local.INFO: Processing buffer {"connection_id":216461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:37:27] local.INFO: Packet analysis {"connection_id":216461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:37:27] local.INFO: Extracted packet for processing {"connection_id":216461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779795456001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792108877000,"timestamp_ms":1792108877000,"timestamp_seconds":1792108877,"priority":1,"record_length":96,"hex_timestamp":"000001a1420354c8"} 
[2026-10-16 05:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:37:27] 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-10-16 05:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779795456001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779795456001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:37:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779795456001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":216461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:37:27] local.INFO: GPS data processed {"connection_id":216461,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:37:27] local.INFO: Acknowledgment sent {"connection_id":216461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:37:52] local.INFO: TCP Data received {"connection_id":219541,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:37:52] local.INFO: Processing buffer {"connection_id":219541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:37:52] local.INFO: IMEI packet received {"connection_id":219541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":219541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:37:54] local.INFO: TCP Data received {"connection_id":216460,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:37:54] local.INFO: Processing buffer {"connection_id":216460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:37:54] local.INFO: Packet analysis {"connection_id":216460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:37:54] local.INFO: Extracted packet for processing {"connection_id":216460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:37:54] 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-10-16 05:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:37:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:37:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":216460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:37:54] local.INFO: GPS data processed {"connection_id":216460,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:37:54] local.INFO: Acknowledgment sent {"connection_id":216460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:37:59] local.INFO: TCP Data received {"connection_id":216461,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:37:59] local.INFO: Processing buffer {"connection_id":216461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:37:59] local.INFO: Packet analysis {"connection_id":216461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:37:59] local.INFO: Extracted packet for processing {"connection_id":216461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779795456001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792108877000,"timestamp_ms":1792108877000,"timestamp_seconds":1792108877,"priority":1,"record_length":96,"hex_timestamp":"000001a1420354c8"} 
[2026-10-16 05:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779795456001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779795456001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:37:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779795456001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":216461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:37:59] local.INFO: GPS data processed {"connection_id":216461,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:37:59] local.INFO: Acknowledgment sent {"connection_id":216461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:38:17] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:38:17] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:38:17] local.INFO: IMEI packet received {"connection_id":216268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":216268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:38:21] local.INFO: TCP Data received {"connection_id":217812,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:38:21] local.INFO: Processing buffer {"connection_id":217812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:38:21] local.INFO: IMEI packet received {"connection_id":217812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":217812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:38:22] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:38:23] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:38:23] local.INFO: IMEI packet received {"connection_id":216268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":216268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:38:23] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:38:23] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:38:23] local.INFO: Packet analysis {"connection_id":216268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:38:23] local.INFO: Extracted packet for processing {"connection_id":216268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:38: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-10-16 05:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:38: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:38:23] 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-10-16 05:38: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-10-16 05:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:38:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:38:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":216268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:38:23] local.INFO: GPS data processed {"connection_id":216268,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:38:23] local.INFO: Acknowledgment sent {"connection_id":216268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:38:27] local.INFO: TCP Data received {"connection_id":217812,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:38:27] local.INFO: Processing buffer {"connection_id":217812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:38:27] local.INFO: IMEI packet received {"connection_id":217812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":217812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:38:28] local.INFO: TCP Data received {"connection_id":217812,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:38:28] local.INFO: Processing buffer {"connection_id":217812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:38:28] local.INFO: Packet analysis {"connection_id":217812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:38:28] local.INFO: Extracted packet for processing {"connection_id":217812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779795456001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792108877000,"timestamp_ms":1792108877000,"timestamp_seconds":1792108877,"priority":1,"record_length":96,"hex_timestamp":"000001a1420354c8"} 
[2026-10-16 05:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:38:28] 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-10-16 05:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779795456001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779795456001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:38:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779795456001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":217812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:38:28] local.INFO: GPS data processed {"connection_id":217812,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:38:28] local.INFO: Acknowledgment sent {"connection_id":217812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:38:51] local.INFO: TCP Data received {"connection_id":219542,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:38:51] local.INFO: Processing buffer {"connection_id":219542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:38:51] local.INFO: IMEI packet received {"connection_id":219542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":219542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:38:56] local.INFO: TCP Data received {"connection_id":216268,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:38:56] local.INFO: Processing buffer {"connection_id":216268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:38:56] local.INFO: Packet analysis {"connection_id":216268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:38:56] local.INFO: Extracted packet for processing {"connection_id":216268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:38:56] 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-10-16 05:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:38:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:38:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":216268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:38:56] local.INFO: GPS data processed {"connection_id":216268,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:38:56] local.INFO: Acknowledgment sent {"connection_id":216268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:39:00] local.INFO: TCP Data received {"connection_id":217812,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:39:00] local.INFO: Processing buffer {"connection_id":217812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:39:00] local.INFO: Packet analysis {"connection_id":217812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:39:00] local.INFO: Extracted packet for processing {"connection_id":217812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:39: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-10-16 05:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779795456001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792108877000,"timestamp_ms":1792108877000,"timestamp_seconds":1792108877,"priority":1,"record_length":96,"hex_timestamp":"000001a1420354c8"} 
[2026-10-16 05:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:39:00] 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-10-16 05:39: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-10-16 05:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779795456001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779795456001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:39:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779795456001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":217812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:39:00] local.INFO: GPS data processed {"connection_id":217812,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:39:00] local.INFO: Acknowledgment sent {"connection_id":217812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:39:17] local.INFO: TCP Data received {"connection_id":216462,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:39:17] local.INFO: Processing buffer {"connection_id":216462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:39:17] local.INFO: IMEI packet received {"connection_id":216462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":216462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:39:22] local.INFO: TCP Data received {"connection_id":216462,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:39:22] local.INFO: Processing buffer {"connection_id":216462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:39:22] local.INFO: IMEI packet received {"connection_id":216462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":216462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:39:24] local.INFO: TCP Data received {"connection_id":216462,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:39:24] local.INFO: Processing buffer {"connection_id":216462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:39:24] local.INFO: Packet analysis {"connection_id":216462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:39:24] local.INFO: Extracted packet for processing {"connection_id":216462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:39:24] 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-10-16 05:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:39:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:39:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":216462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:39:24] local.INFO: GPS data processed {"connection_id":216462,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:39:24] local.INFO: Acknowledgment sent {"connection_id":216462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:39:27] local.INFO: TCP Data received {"connection_id":216463,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:39:27] local.INFO: Processing buffer {"connection_id":216463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:39:27] local.INFO: IMEI packet received {"connection_id":216463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":216463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:39:32] local.INFO: TCP Data received {"connection_id":216463,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:39:32] local.INFO: Processing buffer {"connection_id":216463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:39:32] local.INFO: IMEI packet received {"connection_id":216463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":216463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:39:33] local.INFO: TCP Data received {"connection_id":216463,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:39:33] local.INFO: Processing buffer {"connection_id":216463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:39:33] local.INFO: Packet analysis {"connection_id":216463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:39:33] local.INFO: Extracted packet for processing {"connection_id":216463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779795456001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792108877000,"timestamp_ms":1792108877000,"timestamp_seconds":1792108877,"priority":1,"record_length":96,"hex_timestamp":"000001a1420354c8"} 
[2026-10-16 05:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779795456001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779795456001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:39:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779795456001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":216463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:39:33] local.INFO: GPS data processed {"connection_id":216463,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:39:33] local.INFO: Acknowledgment sent {"connection_id":216463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:39:37] local.INFO: TCP Data received {"connection_id":216463,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:39:37] local.INFO: Processing buffer {"connection_id":216463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:39:37] local.INFO: Packet analysis {"connection_id":216463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:39:37] local.INFO: Extracted packet for processing {"connection_id":216463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779795456001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792108877000,"timestamp_ms":1792108877000,"timestamp_seconds":1792108877,"priority":1,"record_length":96,"hex_timestamp":"000001a1420354c8"} 
[2026-10-16 05:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:39:37] 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-10-16 05: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-10-16 05:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779795456001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779795456001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:39:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779795456001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":216463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:39:37] local.INFO: GPS data processed {"connection_id":216463,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:39:37] local.INFO: Acknowledgment sent {"connection_id":216463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:39:56] local.INFO: TCP Data received {"connection_id":216462,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:39:56] local.INFO: Processing buffer {"connection_id":216462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:39:56] local.INFO: Packet analysis {"connection_id":216462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:39:56] local.INFO: Extracted packet for processing {"connection_id":216462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:39:56] 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-10-16 05:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:39:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:39:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":216462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:39:56] local.INFO: GPS data processed {"connection_id":216462,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:39:56] local.INFO: Acknowledgment sent {"connection_id":216462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:40:22] local.INFO: TCP Data received {"connection_id":217813,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:40:22] local.INFO: Processing buffer {"connection_id":217813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:40:22] local.INFO: IMEI packet received {"connection_id":217813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":217813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:40:23] local.INFO: TCP Data received {"connection_id":219543,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:40:23] local.INFO: Processing buffer {"connection_id":219543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:40:23] local.INFO: IMEI packet received {"connection_id":219543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":219543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:40:27] local.INFO: TCP Data received {"connection_id":217813,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:40:27] local.INFO: Processing buffer {"connection_id":217813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:40:27] local.INFO: IMEI packet received {"connection_id":217813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":217813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:40:27] local.INFO: TCP Data received {"connection_id":219543,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:40:27] local.INFO: Processing buffer {"connection_id":219543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:40:27] local.INFO: IMEI packet received {"connection_id":219543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":219543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:40:28] local.INFO: TCP Data received {"connection_id":217813,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:40:28] local.INFO: Processing buffer {"connection_id":217813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:40:28] local.INFO: Packet analysis {"connection_id":217813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:40:28] local.INFO: Extracted packet for processing {"connection_id":217813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779795456001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792108877000,"timestamp_ms":1792108877000,"timestamp_seconds":1792108877,"priority":1,"record_length":96,"hex_timestamp":"000001a1420354c8"} 
[2026-10-16 05:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:40:28] 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-10-16 05:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779795456001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779795456001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:40:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779795456001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":217813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:40:28] local.INFO: GPS data processed {"connection_id":217813,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:40:28] local.INFO: Acknowledgment sent {"connection_id":217813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:40:28] local.INFO: TCP Data received {"connection_id":219543,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:40:28] local.INFO: Processing buffer {"connection_id":219543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:40:28] local.INFO: Packet analysis {"connection_id":219543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:40:28] local.INFO: Extracted packet for processing {"connection_id":219543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:40:28] 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-10-16 05:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:40:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:40:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":219543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:40:28] local.INFO: GPS data processed {"connection_id":219543,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:40:28] local.INFO: Acknowledgment sent {"connection_id":219543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:40:33] local.INFO: TCP Data received {"connection_id":219543,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:40:33] local.INFO: Processing buffer {"connection_id":219543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:40:33] local.INFO: Packet analysis {"connection_id":219543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:40:33] local.INFO: Extracted packet for processing {"connection_id":219543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:40:33] 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-10-16 05:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:40:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:40:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":219543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:40:33] local.INFO: GPS data processed {"connection_id":219543,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:40:33] local.INFO: Acknowledgment sent {"connection_id":219543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:40:59] local.INFO: TCP Data received {"connection_id":217813,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:40:59] local.INFO: Processing buffer {"connection_id":217813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420354c8012d7c240005dad510000000ea22..."} 
[2026-10-16 05:40:59] local.INFO: Packet analysis {"connection_id":217813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:40:59] local.INFO: Extracted packet for processing {"connection_id":217813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14203"} 
[2026-10-16 05:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779795456001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792108877000,"timestamp_ms":1792108877000,"timestamp_seconds":1792108877,"priority":1,"record_length":96,"hex_timestamp":"000001a1420354c8"} 
[2026-10-16 05:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779795456001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779795456001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:40:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779795456001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":217813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:40:59] local.INFO: GPS data processed {"connection_id":217813,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:40:59] local.INFO: Acknowledgment sent {"connection_id":217813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:41:18] local.INFO: TCP Data received {"connection_id":219544,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:41:18] local.INFO: Processing buffer {"connection_id":219544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:41:18] local.INFO: IMEI packet received {"connection_id":219544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":219544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:41:21] local.INFO: TCP Data received {"connection_id":216464,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:41:21] local.INFO: Processing buffer {"connection_id":216464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:41:21] local.INFO: IMEI packet received {"connection_id":216464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":216464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:41:23] local.INFO: TCP Data received {"connection_id":219544,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:41:23] local.INFO: Processing buffer {"connection_id":219544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:41:23] local.INFO: IMEI packet received {"connection_id":219544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":219544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:41:24] local.INFO: TCP Data received {"connection_id":219544,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:41:24] local.INFO: Processing buffer {"connection_id":219544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:41:24] local.INFO: Packet analysis {"connection_id":219544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:41:24] local.INFO: Extracted packet for processing {"connection_id":219544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:41: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-10-16 05:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:41:24] 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-10-16 05:41: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-10-16 05:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:41:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:41:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":219544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:41:24] local.INFO: GPS data processed {"connection_id":219544,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:41:24] local.INFO: Acknowledgment sent {"connection_id":219544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:41:27] local.INFO: TCP Data received {"connection_id":216464,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:41:27] local.INFO: Processing buffer {"connection_id":216464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:41:27] local.INFO: IMEI packet received {"connection_id":216464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":216464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:41:28] local.INFO: TCP Data received {"connection_id":216464,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420c4da8012d7c240005dad510000000ea21..."} 
[2026-10-16 05:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420c4da8012d7c240005dad510000000ea21..."} 
[2026-10-16 05:41:28] local.INFO: Processing buffer {"connection_id":216464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420c4da8012d7c240005dad510000000ea21..."} 
[2026-10-16 05:41:28] local.INFO: Packet analysis {"connection_id":216464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420c"} 
[2026-10-16 05:41:28] local.INFO: Extracted packet for processing {"connection_id":216464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420c"} 
[2026-10-16 05:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779872512001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792109465000,"timestamp_ms":1792109465000,"timestamp_seconds":1792109465,"priority":1,"record_length":96,"hex_timestamp":"000001a1420c4da8"} 
[2026-10-16 05:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779872512001,"66":12602,"105":206,"19":45824,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,19,24,16,45]} 
[2026-10-16 05:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779872512001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:41:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 05:41:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 05:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779872512001,"power":12602,"unknown_105":206,"unknown_19":45824,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":216464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:41:28] local.INFO: GPS data processed {"connection_id":216464,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:41:28] local.INFO: Acknowledgment sent {"connection_id":216464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:41:28] local.INFO: TCP Data received {"connection_id":219544,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:41:28] local.INFO: Processing buffer {"connection_id":219544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:41:28] local.INFO: Packet analysis {"connection_id":219544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:41:28] local.INFO: Extracted packet for processing {"connection_id":219544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:41:28] 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-10-16 05:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:41:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:41:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":219544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:41:28] local.INFO: GPS data processed {"connection_id":219544,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:41:28] local.INFO: Acknowledgment sent {"connection_id":219544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:42:00] local.INFO: TCP Data received {"connection_id":216464,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420c4da8012d7c240005dad510000000ea21..."} 
[2026-10-16 05:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420c4da8012d7c240005dad510000000ea21..."} 
[2026-10-16 05:42:00] local.INFO: Processing buffer {"connection_id":216464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420c4da8012d7c240005dad510000000ea21..."} 
[2026-10-16 05:42:00] local.INFO: Packet analysis {"connection_id":216464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420c"} 
[2026-10-16 05:42:00] local.INFO: Extracted packet for processing {"connection_id":216464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420c"} 
[2026-10-16 05:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779872512001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792109465000,"timestamp_ms":1792109465000,"timestamp_seconds":1792109465,"priority":1,"record_length":96,"hex_timestamp":"000001a1420c4da8"} 
[2026-10-16 05:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:42:00] 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-10-16 05:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779872512001,"66":12602,"105":206,"19":45824,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,19,24,16,45]} 
[2026-10-16 05:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779872512001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:42:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 05:42:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 05:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779872512001,"power":12602,"unknown_105":206,"unknown_19":45824,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":216464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:42:00] local.INFO: GPS data processed {"connection_id":216464,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:42:00] local.INFO: Acknowledgment sent {"connection_id":216464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:42:01] local.INFO: TCP Data received {"connection_id":219544,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:42:01] local.INFO: Processing buffer {"connection_id":219544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:42:01] local.INFO: Packet analysis {"connection_id":219544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:42:01] local.INFO: Extracted packet for processing {"connection_id":219544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:42:01] 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-10-16 05:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:42:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:42:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":219544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:42:01] local.INFO: GPS data processed {"connection_id":219544,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:42:01] local.INFO: Acknowledgment sent {"connection_id":219544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:42:17] local.INFO: TCP Data received {"connection_id":216271,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:42:17] local.INFO: Processing buffer {"connection_id":216271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:42:17] local.INFO: IMEI packet received {"connection_id":216271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":216271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:42:21] local.INFO: TCP Data received {"connection_id":217815,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:42:21] local.INFO: Processing buffer {"connection_id":217815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:42:21] local.INFO: IMEI packet received {"connection_id":217815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":217815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:42:22] local.INFO: TCP Data received {"connection_id":216271,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:42:22] local.INFO: Processing buffer {"connection_id":216271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:42:22] local.INFO: IMEI packet received {"connection_id":216271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":216271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:42:24] local.INFO: TCP Data received {"connection_id":216271,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:42:24] local.INFO: Processing buffer {"connection_id":216271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14208a428012d7f98c005afddb00000002f1f..."} 
[2026-10-16 05:42:24] local.INFO: Packet analysis {"connection_id":216271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:42:24] local.INFO: Extracted packet for processing {"connection_id":216271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14208"} 
[2026-10-16 05:42:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779884544001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792109225000,"timestamp_ms":1792109225000,"timestamp_seconds":1792109225,"priority":1,"record_length":96,"hex_timestamp":"000001a14208a428"} 
[2026-10-16 05:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:42:24] 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-10-16 05:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779884544001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779884544001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:42:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:42:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779884544001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":216271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:42:24] local.INFO: GPS data processed {"connection_id":216271,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:42:24] local.INFO: Acknowledgment sent {"connection_id":216271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:42:27] local.INFO: TCP Data received {"connection_id":217815,"ip":"117.225.252.122","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:42:27] local.INFO: Processing buffer {"connection_id":217815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:42:27] local.INFO: IMEI packet received {"connection_id":217815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":217815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:42:28] local.INFO: TCP Data received {"connection_id":217815,"ip":"117.225.252.122","data_length":795,"data_hex":"000000000000030f8e0a000001a1420c4da8012d7c240005dad510000000ea21..."} 
[2026-10-16 05:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420c4da8012d7c240005dad510000000ea21..."} 
[2026-10-16 05:42:28] local.INFO: Processing buffer {"connection_id":217815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420c4da8012d7c240005dad510000000ea21..."} 
[2026-10-16 05:42:28] local.INFO: Packet analysis {"connection_id":217815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420c"} 
[2026-10-16 05:42:28] local.INFO: Extracted packet for processing {"connection_id":217815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420c"} 
[2026-10-16 05:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779872512001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792109465000,"timestamp_ms":1792109465000,"timestamp_seconds":1792109465,"priority":1,"record_length":96,"hex_timestamp":"000001a1420c4da8"} 
[2026-10-16 05:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.252.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779872512001,"66":12602,"105":206,"19":45824,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"117.225.252.122","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,19,24,16,45]} 
[2026-10-16 05:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779872512001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:42:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 05:42:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 05:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779872512001,"power":12602,"unknown_105":206,"unknown_19":45824,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":217815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:42:28] local.INFO: GPS data processed {"connection_id":217815,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:42:28] local.INFO: Acknowledgment sent {"connection_id":217815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:42:56] local.INFO: TCP Data received {"connection_id":216271,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:42:56] local.INFO: Processing buffer {"connection_id":216271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:42:56] local.INFO: Packet analysis {"connection_id":216271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:42:56] local.INFO: Extracted packet for processing {"connection_id":216271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:42:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:42:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":216271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:42:56] local.INFO: GPS data processed {"connection_id":216271,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:42:56] local.INFO: Acknowledgment sent {"connection_id":216271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:43:22] local.INFO: TCP Data received {"connection_id":217816,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:43:22] local.INFO: Processing buffer {"connection_id":217816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:43:22] local.INFO: IMEI packet received {"connection_id":217816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":217816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:43:27] local.INFO: TCP Data received {"connection_id":217816,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:43:27] local.INFO: Processing buffer {"connection_id":217816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:43:27] local.INFO: IMEI packet received {"connection_id":217816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":217816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:43:27] local.INFO: TCP Data received {"connection_id":217816,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:43:27] local.INFO: Processing buffer {"connection_id":217816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:43:27] local.INFO: Packet analysis {"connection_id":217816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:43:27] local.INFO: Extracted packet for processing {"connection_id":217816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:43:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:43:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":217816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:43:28] local.INFO: GPS data processed {"connection_id":217816,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:43:28] local.INFO: Acknowledgment sent {"connection_id":217816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:43:33] local.INFO: TCP Data received {"connection_id":217816,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:43:33] local.INFO: Processing buffer {"connection_id":217816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:43:33] local.INFO: Packet analysis {"connection_id":217816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:43:33] local.INFO: Extracted packet for processing {"connection_id":217816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:43:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:43:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":217816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:43:33] local.INFO: GPS data processed {"connection_id":217816,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:43:33] local.INFO: Acknowledgment sent {"connection_id":217816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:43:56] local.INFO: TCP Data received {"connection_id":216465,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:43:56] local.INFO: Processing buffer {"connection_id":216465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:43:56] local.INFO: IMEI packet received {"connection_id":216465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":216465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:44:18] local.INFO: TCP Data received {"connection_id":217817,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:44:18] local.INFO: Processing buffer {"connection_id":217817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:44:18] local.INFO: IMEI packet received {"connection_id":217817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":217817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:44:22] local.INFO: TCP Data received {"connection_id":217817,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:44:22] local.INFO: Processing buffer {"connection_id":217817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:44:22] local.INFO: IMEI packet received {"connection_id":217817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":217817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:44:23] local.INFO: TCP Data received {"connection_id":217817,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:44:23] local.INFO: Processing buffer {"connection_id":217817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:44:23] local.INFO: Packet analysis {"connection_id":217817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:44:23] local.INFO: Extracted packet for processing {"connection_id":217817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:44:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:44:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":217817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:44:23] local.INFO: GPS data processed {"connection_id":217817,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:44:23] local.INFO: Acknowledgment sent {"connection_id":217817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:44:56] local.INFO: TCP Data received {"connection_id":217817,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:44:56] local.INFO: Processing buffer {"connection_id":217817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:44:56] local.INFO: Packet analysis {"connection_id":217817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:44:56] local.INFO: Extracted packet for processing {"connection_id":217817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:44:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:44:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":217817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:44:56] local.INFO: GPS data processed {"connection_id":217817,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:44:56] local.INFO: Acknowledgment sent {"connection_id":217817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:45:17] local.INFO: TCP Data received {"connection_id":216272,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:45:17] local.INFO: Processing buffer {"connection_id":216272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:45:17] local.INFO: IMEI packet received {"connection_id":216272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":216272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:45:22] local.INFO: TCP Data received {"connection_id":216272,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:45:22] local.INFO: Processing buffer {"connection_id":216272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:45:22] local.INFO: IMEI packet received {"connection_id":216272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":216272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:45:23] local.INFO: TCP Data received {"connection_id":216272,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:45:23] local.INFO: Processing buffer {"connection_id":216272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:45:23] local.INFO: Packet analysis {"connection_id":216272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:45:23] local.INFO: Extracted packet for processing {"connection_id":216272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:45:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:45:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":216272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:45:23] local.INFO: GPS data processed {"connection_id":216272,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:45:23] local.INFO: Acknowledgment sent {"connection_id":216272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:45:55] local.INFO: TCP Data received {"connection_id":216272,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:45:55] local.INFO: Processing buffer {"connection_id":216272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:45:55] local.INFO: Packet analysis {"connection_id":216272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:45:55] local.INFO: Extracted packet for processing {"connection_id":216272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:45:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:45:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":216272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:45:55] local.INFO: GPS data processed {"connection_id":216272,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:45:55] local.INFO: Acknowledgment sent {"connection_id":216272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:46:17] local.INFO: TCP Data received {"connection_id":217818,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:46:17] local.INFO: Processing buffer {"connection_id":217818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:46:17] local.INFO: IMEI packet received {"connection_id":217818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":217818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:46:22] local.INFO: TCP Data received {"connection_id":217818,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:46:22] local.INFO: Processing buffer {"connection_id":217818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:46:22] local.INFO: IMEI packet received {"connection_id":217818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":217818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:46:25] local.INFO: TCP Data received {"connection_id":217818,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:46:25] local.INFO: Processing buffer {"connection_id":217818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:46:25] local.INFO: Packet analysis {"connection_id":217818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:46:25] local.INFO: Extracted packet for processing {"connection_id":217818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:46:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:46:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":217818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:46:25] local.INFO: GPS data processed {"connection_id":217818,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:46:25] local.INFO: Acknowledgment sent {"connection_id":217818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:46:56] local.INFO: TCP Data received {"connection_id":217818,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:46:56] local.INFO: Processing buffer {"connection_id":217818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:46:56] local.INFO: Packet analysis {"connection_id":217818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:46:56] local.INFO: Extracted packet for processing {"connection_id":217818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:46:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:46:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":217818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:46:56] local.INFO: GPS data processed {"connection_id":217818,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:46:56] local.INFO: Acknowledgment sent {"connection_id":217818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:47:22] local.INFO: TCP Data received {"connection_id":216274,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:47:22] local.INFO: Processing buffer {"connection_id":216274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:47:22] local.INFO: IMEI packet received {"connection_id":216274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":216274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:47:27] local.INFO: TCP Data received {"connection_id":216274,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:47:27] local.INFO: Processing buffer {"connection_id":216274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:47:27] local.INFO: IMEI packet received {"connection_id":216274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":216274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:47:28] local.INFO: TCP Data received {"connection_id":216274,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:47:28] local.INFO: Processing buffer {"connection_id":216274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:47:28] local.INFO: Packet analysis {"connection_id":216274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:47:28] local.INFO: Extracted packet for processing {"connection_id":216274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:47:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:47:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":216274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:47:28] local.INFO: GPS data processed {"connection_id":216274,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:47:28] local.INFO: Acknowledgment sent {"connection_id":216274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:47:33] local.INFO: TCP Data received {"connection_id":216274,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:47:33] local.INFO: Processing buffer {"connection_id":216274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1420d3bf0012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:47:33] local.INFO: Packet analysis {"connection_id":216274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:47:33] local.INFO: Extracted packet for processing {"connection_id":216274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1420d"} 
[2026-10-16 05:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458779961600001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792109526000,"timestamp_ms":1792109526000,"timestamp_seconds":1792109526,"priority":1,"record_length":96,"hex_timestamp":"000001a1420d3bf0"} 
[2026-10-16 05:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 05:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458779961600001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458779961600001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:47:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:47:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458779961600001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":216274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:47:33] local.INFO: GPS data processed {"connection_id":216274,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:47:33] local.INFO: Acknowledgment sent {"connection_id":216274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:48:17] local.INFO: TCP Data received {"connection_id":219547,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:48:17] local.INFO: Processing buffer {"connection_id":219547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:48:17] local.INFO: IMEI packet received {"connection_id":219547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":219547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:48:22] local.INFO: TCP Data received {"connection_id":219547,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:48:22] local.INFO: Processing buffer {"connection_id":219547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:48:22] local.INFO: IMEI packet received {"connection_id":219547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":219547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:48:24] local.INFO: TCP Data received {"connection_id":219547,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:48:24] local.INFO: Processing buffer {"connection_id":219547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:48:24] local.INFO: Packet analysis {"connection_id":219547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:48:24] local.INFO: Extracted packet for processing {"connection_id":219547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:48:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780038656001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792109827000,"timestamp_ms":1792109827000,"timestamp_seconds":1792109827,"priority":1,"record_length":96,"hex_timestamp":"000001a14211d3b8"} 
[2026-10-16 05:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:48:24] 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-10-16 05:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780038656001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780038656001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:48:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:48:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780038656001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":219547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:48:24] local.INFO: GPS data processed {"connection_id":219547,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:48:24] local.INFO: Acknowledgment sent {"connection_id":219547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:48:51] local.INFO: TCP Data received {"connection_id":217819,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:48:51] local.INFO: Processing buffer {"connection_id":217819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:48:51] local.INFO: IMEI packet received {"connection_id":217819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":217819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:48:56] local.INFO: TCP Data received {"connection_id":219547,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:48:56] local.INFO: Processing buffer {"connection_id":219547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:48:56] local.INFO: Packet analysis {"connection_id":219547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:48:56] local.INFO: Extracted packet for processing {"connection_id":219547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780038656001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:48:56] local.INFO: TCP Data received {"connection_id":217819,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792109827000,"timestamp_ms":1792109827000,"timestamp_seconds":1792109827,"priority":1,"record_length":96,"hex_timestamp":"000001a14211d3b8"} 
[2026-10-16 05:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:48:56] 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-10-16 05: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-10-16 05:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780038656001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:48:56] local.INFO: Processing buffer {"connection_id":217819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:48:56] local.INFO: IMEI packet received {"connection_id":217819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":217819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780038656001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:48:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:48:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780038656001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":219547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:48:56] local.INFO: GPS data processed {"connection_id":219547,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:48:56] local.INFO: Acknowledgment sent {"connection_id":219547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:48:57] local.INFO: TCP Data received {"connection_id":217819,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:48:57] local.INFO: Processing buffer {"connection_id":217819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:48:57] local.INFO: Packet analysis {"connection_id":217819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:48:57] local.INFO: Extracted packet for processing {"connection_id":217819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780023040001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792109880000,"timestamp_ms":1792109880000,"timestamp_seconds":1792109880,"priority":1,"record_length":96,"hex_timestamp":"000001a14212a2c0"} 
[2026-10-16 05:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:48:57] 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-10-16 05:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780023040001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780023040001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:48:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780023040001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":217819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:48:57] local.INFO: GPS data processed {"connection_id":217819,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:48:57] local.INFO: Acknowledgment sent {"connection_id":217819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:49:21] local.INFO: TCP Data received {"connection_id":216468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:49:21] local.INFO: Processing buffer {"connection_id":216468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:49:21] local.INFO: IMEI packet received {"connection_id":216468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:49:22] local.INFO: TCP Data received {"connection_id":219548,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:49:22] local.INFO: Processing buffer {"connection_id":219548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:49:22] local.INFO: IMEI packet received {"connection_id":219548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":219548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:49:26] local.INFO: TCP Data received {"connection_id":216468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:49:26] local.INFO: Processing buffer {"connection_id":216468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:49:26] local.INFO: IMEI packet received {"connection_id":216468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":216468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:49:27] local.INFO: TCP Data received {"connection_id":219548,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:49:27] local.INFO: Processing buffer {"connection_id":219548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:49:27] local.INFO: IMEI packet received {"connection_id":219548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":219548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:49:27] local.INFO: TCP Data received {"connection_id":216468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:49:27] local.INFO: Processing buffer {"connection_id":216468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:49:27] local.INFO: Packet analysis {"connection_id":216468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:49:27] local.INFO: Extracted packet for processing {"connection_id":216468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780023040001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792109880000,"timestamp_ms":1792109880000,"timestamp_seconds":1792109880,"priority":1,"record_length":96,"hex_timestamp":"000001a14212a2c0"} 
[2026-10-16 05:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:49: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-10-16 05:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780023040001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780023040001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:49:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780023040001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":216468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:49:27] local.INFO: GPS data processed {"connection_id":216468,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:49:27] local.INFO: Acknowledgment sent {"connection_id":216468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:49:27] local.INFO: TCP Data received {"connection_id":219548,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:49:27] local.INFO: Processing buffer {"connection_id":219548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:49:27] local.INFO: Packet analysis {"connection_id":219548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:49:27] local.INFO: Extracted packet for processing {"connection_id":219548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780038656001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792109827000,"timestamp_ms":1792109827000,"timestamp_seconds":1792109827,"priority":1,"record_length":96,"hex_timestamp":"000001a14211d3b8"} 
[2026-10-16 05:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:49:27] 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-10-16 05:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780038656001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780038656001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:49:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:49:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780038656001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":219548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:49:27] local.INFO: GPS data processed {"connection_id":219548,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:49:27] local.INFO: Acknowledgment sent {"connection_id":219548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:49:32] local.INFO: TCP Data received {"connection_id":217820,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:49:32] local.INFO: Processing buffer {"connection_id":217820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:49:32] local.INFO: IMEI packet received {"connection_id":217820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":217820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:49:33] local.INFO: TCP Data received {"connection_id":219548,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:49:33] local.INFO: Processing buffer {"connection_id":219548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:49:33] local.INFO: Packet analysis {"connection_id":219548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:49:33] local.INFO: Extracted packet for processing {"connection_id":219548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780038656001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792109827000,"timestamp_ms":1792109827000,"timestamp_seconds":1792109827,"priority":1,"record_length":96,"hex_timestamp":"000001a14211d3b8"} 
[2026-10-16 05:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:49:33] 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-10-16 05:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780038656001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780038656001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:49:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:49:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780038656001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":219548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:49:33] local.INFO: GPS data processed {"connection_id":219548,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:49:33] local.INFO: Acknowledgment sent {"connection_id":219548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:49:56] local.INFO: TCP Data received {"connection_id":217821,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:49:56] local.INFO: Processing buffer {"connection_id":217821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:49:56] local.INFO: IMEI packet received {"connection_id":217821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":217821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:49:58] local.INFO: TCP Data received {"connection_id":216468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:49:58] local.INFO: Processing buffer {"connection_id":216468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:49:58] local.INFO: Packet analysis {"connection_id":216468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:49:58] local.INFO: Extracted packet for processing {"connection_id":216468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780023040001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792109880000,"timestamp_ms":1792109880000,"timestamp_seconds":1792109880,"priority":1,"record_length":96,"hex_timestamp":"000001a14212a2c0"} 
[2026-10-16 05:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:49: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-10-16 05:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780023040001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780023040001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:49:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780023040001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":216468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:49:58] local.INFO: GPS data processed {"connection_id":216468,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:49:58] local.INFO: Acknowledgment sent {"connection_id":216468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:50:18] local.INFO: TCP Data received {"connection_id":219549,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:50:18] local.INFO: Processing buffer {"connection_id":219549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:50:18] local.INFO: IMEI packet received {"connection_id":219549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":219549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:50:21] local.INFO: TCP Data received {"connection_id":219550,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:50:21] local.INFO: Processing buffer {"connection_id":219550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:50:21] local.INFO: IMEI packet received {"connection_id":219550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":219550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:50:23] local.INFO: TCP Data received {"connection_id":219549,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:50:23] local.INFO: Processing buffer {"connection_id":219549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:50:23] local.INFO: IMEI packet received {"connection_id":219549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":219549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:50:24] local.INFO: TCP Data received {"connection_id":219549,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:50:24] local.INFO: Processing buffer {"connection_id":219549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:50:24] local.INFO: Packet analysis {"connection_id":219549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:50:24] local.INFO: Extracted packet for processing {"connection_id":219549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780038656001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792109827000,"timestamp_ms":1792109827000,"timestamp_seconds":1792109827,"priority":1,"record_length":96,"hex_timestamp":"000001a14211d3b8"} 
[2026-10-16 05:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:50:24] 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-10-16 05:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780038656001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780038656001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:50:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:50:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780038656001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":219549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:50:24] local.INFO: GPS data processed {"connection_id":219549,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:50:24] local.INFO: Acknowledgment sent {"connection_id":219549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:50:26] local.INFO: TCP Data received {"connection_id":219550,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:50:26] local.INFO: Processing buffer {"connection_id":219550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:50:26] local.INFO: IMEI packet received {"connection_id":219550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":219550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:50:27] local.INFO: TCP Data received {"connection_id":219550,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:50:27] local.INFO: Processing buffer {"connection_id":219550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:50:27] local.INFO: Packet analysis {"connection_id":219550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:50:27] local.INFO: Extracted packet for processing {"connection_id":219550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780023040001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792109880000,"timestamp_ms":1792109880000,"timestamp_seconds":1792109880,"priority":1,"record_length":96,"hex_timestamp":"000001a14212a2c0"} 
[2026-10-16 05:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:50: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-10-16 05:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780023040001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780023040001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:50:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780023040001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":219550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:50:27] local.INFO: GPS data processed {"connection_id":219550,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:50:27] local.INFO: Acknowledgment sent {"connection_id":219550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:50:56] local.INFO: TCP Data received {"connection_id":219549,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:50:56] local.INFO: Processing buffer {"connection_id":219549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:50:56] local.INFO: Packet analysis {"connection_id":219549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:50:56] local.INFO: Extracted packet for processing {"connection_id":219549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780038656001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792109827000,"timestamp_ms":1792109827000,"timestamp_seconds":1792109827,"priority":1,"record_length":96,"hex_timestamp":"000001a14211d3b8"} 
[2026-10-16 05:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:50:56] 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-10-16 05:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780038656001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780038656001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:50:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:50:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780038656001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":219549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:50:56] local.INFO: GPS data processed {"connection_id":219549,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:50:56] local.INFO: Acknowledgment sent {"connection_id":219549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:50:59] local.INFO: TCP Data received {"connection_id":219550,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:50:59] local.INFO: Processing buffer {"connection_id":219550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:50:59] local.INFO: Packet analysis {"connection_id":219550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:50:59] local.INFO: Extracted packet for processing {"connection_id":219550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780023040001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792109880000,"timestamp_ms":1792109880000,"timestamp_seconds":1792109880,"priority":1,"record_length":96,"hex_timestamp":"000001a14212a2c0"} 
[2026-10-16 05:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:50:59] 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-10-16 05:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780023040001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780023040001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:50:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780023040001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":219550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:50:59] local.INFO: GPS data processed {"connection_id":219550,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:50:59] local.INFO: Acknowledgment sent {"connection_id":219550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:51:17] local.INFO: TCP Data received {"connection_id":216276,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:51:17] local.INFO: Processing buffer {"connection_id":216276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:51:17] local.INFO: IMEI packet received {"connection_id":216276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":216276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:51:21] local.INFO: TCP Data received {"connection_id":216277,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:51:21] local.INFO: Processing buffer {"connection_id":216277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:51:21] local.INFO: IMEI packet received {"connection_id":216277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":216277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:51:22] local.INFO: TCP Data received {"connection_id":216276,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:51:22] local.INFO: Processing buffer {"connection_id":216276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:51:22] local.INFO: IMEI packet received {"connection_id":216276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":216276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:51:24] local.INFO: TCP Data received {"connection_id":216276,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:51:24] local.INFO: Processing buffer {"connection_id":216276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:51:24] local.INFO: Packet analysis {"connection_id":216276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:51:24] local.INFO: Extracted packet for processing {"connection_id":216276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780038656001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792109827000,"timestamp_ms":1792109827000,"timestamp_seconds":1792109827,"priority":1,"record_length":96,"hex_timestamp":"000001a14211d3b8"} 
[2026-10-16 05:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:51:24] 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-10-16 05:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780038656001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780038656001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:51:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:51:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780038656001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":216276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:51:24] local.INFO: GPS data processed {"connection_id":216276,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:51:24] local.INFO: Acknowledgment sent {"connection_id":216276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:51:26] local.INFO: TCP Data received {"connection_id":216277,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:51:26] local.INFO: Processing buffer {"connection_id":216277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:51:26] local.INFO: IMEI packet received {"connection_id":216277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":216277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:51:27] local.INFO: TCP Data received {"connection_id":216277,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:51:27] local.INFO: Processing buffer {"connection_id":216277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:51:27] local.INFO: Packet analysis {"connection_id":216277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:51:27] local.INFO: Extracted packet for processing {"connection_id":216277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780023040001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792109880000,"timestamp_ms":1792109880000,"timestamp_seconds":1792109880,"priority":1,"record_length":96,"hex_timestamp":"000001a14212a2c0"} 
[2026-10-16 05:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:51: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-10-16 05:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780023040001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780023040001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:51:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780023040001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":216277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:51:27] local.INFO: GPS data processed {"connection_id":216277,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:51:27] local.INFO: Acknowledgment sent {"connection_id":216277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:51:55] local.INFO: TCP Data received {"connection_id":216276,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:51:55] local.INFO: Processing buffer {"connection_id":216276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:51:55] local.INFO: Packet analysis {"connection_id":216276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:51:55] local.INFO: Extracted packet for processing {"connection_id":216276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780038656001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792109827000,"timestamp_ms":1792109827000,"timestamp_seconds":1792109827,"priority":1,"record_length":96,"hex_timestamp":"000001a14211d3b8"} 
[2026-10-16 05:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:51:55] 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-10-16 05:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780038656001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780038656001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:51:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:51:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780038656001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":216276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:51:55] local.INFO: GPS data processed {"connection_id":216276,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:51:55] local.INFO: Acknowledgment sent {"connection_id":216276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:52:07] local.INFO: TCP Data received {"connection_id":216277,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:52:07] local.INFO: Processing buffer {"connection_id":216277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:52:07] local.INFO: Packet analysis {"connection_id":216277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:52:07] local.INFO: Extracted packet for processing {"connection_id":216277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780023040001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792109880000,"timestamp_ms":1792109880000,"timestamp_seconds":1792109880,"priority":1,"record_length":96,"hex_timestamp":"000001a14212a2c0"} 
[2026-10-16 05:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:52: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-10-16 05:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:52: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-10-16 05:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780023040001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780023040001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:52:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780023040001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":216277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:52:07] local.INFO: GPS data processed {"connection_id":216277,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:52:07] local.INFO: Acknowledgment sent {"connection_id":216277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:52:17] local.INFO: TCP Data received {"connection_id":216469,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:52:17] local.INFO: Processing buffer {"connection_id":216469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:52:17] local.INFO: IMEI packet received {"connection_id":216469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":216469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:52:21] local.INFO: TCP Data received {"connection_id":219551,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:52:21] local.INFO: Processing buffer {"connection_id":219551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:52:21] local.INFO: IMEI packet received {"connection_id":219551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":219551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:52:22] local.INFO: TCP Data received {"connection_id":216469,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:52:22] local.INFO: Processing buffer {"connection_id":216469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:52:22] local.INFO: IMEI packet received {"connection_id":216469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":216469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:52:23] local.INFO: TCP Data received {"connection_id":216469,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:52:23] local.INFO: Processing buffer {"connection_id":216469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14211d3b8012d7f98c005afddb00000002f24..."} 
[2026-10-16 05:52:23] local.INFO: Packet analysis {"connection_id":216469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:52:23] local.INFO: Extracted packet for processing {"connection_id":216469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14211"} 
[2026-10-16 05:52:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780038656001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792109827000,"timestamp_ms":1792109827000,"timestamp_seconds":1792109827,"priority":1,"record_length":96,"hex_timestamp":"000001a14211d3b8"} 
[2026-10-16 05:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:52:23] 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-10-16 05:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780038656001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780038656001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:52:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:52:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780038656001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":216469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:52:23] local.INFO: GPS data processed {"connection_id":216469,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:52:23] local.INFO: Acknowledgment sent {"connection_id":216469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:52:26] local.INFO: TCP Data received {"connection_id":219551,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:52:26] local.INFO: Processing buffer {"connection_id":219551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:52:26] local.INFO: IMEI packet received {"connection_id":219551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":219551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:52:27] local.INFO: TCP Data received {"connection_id":219551,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:52:27] local.INFO: Processing buffer {"connection_id":219551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:52:27] local.INFO: Packet analysis {"connection_id":219551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:52:27] local.INFO: Extracted packet for processing {"connection_id":219551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780023040001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792109880000,"timestamp_ms":1792109880000,"timestamp_seconds":1792109880,"priority":1,"record_length":96,"hex_timestamp":"000001a14212a2c0"} 
[2026-10-16 05:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:52: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-10-16 05:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780023040001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780023040001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:52:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780023040001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":219551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:52:27] local.INFO: GPS data processed {"connection_id":219551,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:52:27] local.INFO: Acknowledgment sent {"connection_id":219551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:52:55] local.INFO: TCP Data received {"connection_id":216469,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:52:55] local.INFO: Processing buffer {"connection_id":216469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:52:55] local.INFO: Packet analysis {"connection_id":216469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:52:55] local.INFO: Extracted packet for processing {"connection_id":216469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780115712001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792110128000,"timestamp_ms":1792110128000,"timestamp_seconds":1792110128,"priority":1,"record_length":96,"hex_timestamp":"000001a142166b80"} 
[2026-10-16 05:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:52:55] 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-10-16 05: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-10-16 05:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780115712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780115712001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:52:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:52:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780115712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":216469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:52:55] local.INFO: GPS data processed {"connection_id":216469,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:52:55] local.INFO: Acknowledgment sent {"connection_id":216469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:52:58] local.INFO: TCP Data received {"connection_id":219551,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:52:58] local.INFO: Processing buffer {"connection_id":219551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:52:58] local.INFO: Packet analysis {"connection_id":219551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:52:58] local.INFO: Extracted packet for processing {"connection_id":219551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780023040001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792109880000,"timestamp_ms":1792109880000,"timestamp_seconds":1792109880,"priority":1,"record_length":96,"hex_timestamp":"000001a14212a2c0"} 
[2026-10-16 05:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:52: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-10-16 05:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780023040001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780023040001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:52:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:52:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780023040001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":219551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:52:58] local.INFO: GPS data processed {"connection_id":219551,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:52:58] local.INFO: Acknowledgment sent {"connection_id":219551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:53:17] local.INFO: TCP Data received {"connection_id":216278,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:53:17] local.INFO: Processing buffer {"connection_id":216278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:53:17] local.INFO: IMEI packet received {"connection_id":216278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":216278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:53:22] local.INFO: TCP Data received {"connection_id":216278,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:53:22] local.INFO: Processing buffer {"connection_id":216278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:53:22] local.INFO: IMEI packet received {"connection_id":216278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":216278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:53:24] local.INFO: TCP Data received {"connection_id":216278,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:53:24] local.INFO: Processing buffer {"connection_id":216278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:53:24] local.INFO: Packet analysis {"connection_id":216278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:53:24] local.INFO: Extracted packet for processing {"connection_id":216278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:53:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780115712001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792110128000,"timestamp_ms":1792110128000,"timestamp_seconds":1792110128,"priority":1,"record_length":96,"hex_timestamp":"000001a142166b80"} 
[2026-10-16 05:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:53:24] 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-10-16 05:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780115712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780115712001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:53:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:53:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780115712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":216278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:53:24] local.INFO: GPS data processed {"connection_id":216278,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:53:24] local.INFO: Acknowledgment sent {"connection_id":216278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:53:25] local.INFO: TCP Data received {"connection_id":216471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:53:25] local.INFO: Processing buffer {"connection_id":216471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:53:25] local.INFO: IMEI packet received {"connection_id":216471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":216471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:53:26] local.INFO: TCP Data received {"connection_id":216471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:53:26] local.INFO: Processing buffer {"connection_id":216471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:53:26] local.INFO: IMEI packet received {"connection_id":216471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":216471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:53:30] local.INFO: TCP Data received {"connection_id":216471,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:53:30] local.INFO: Processing buffer {"connection_id":216471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14212a2c0012d7c240005dad510000000ea23..."} 
[2026-10-16 05:53:30] local.INFO: Packet analysis {"connection_id":216471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:53:30] local.INFO: Extracted packet for processing {"connection_id":216471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14212"} 
[2026-10-16 05:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780023040001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792109880000,"timestamp_ms":1792109880000,"timestamp_seconds":1792109880,"priority":1,"record_length":96,"hex_timestamp":"000001a14212a2c0"} 
[2026-10-16 05:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 05:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780023040001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780023040001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:53:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780023040001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":216471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:53:30] local.INFO: GPS data processed {"connection_id":216471,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:53:30] local.INFO: Acknowledgment sent {"connection_id":216471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:53:56] local.INFO: TCP Data received {"connection_id":216278,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:53:56] local.INFO: Processing buffer {"connection_id":216278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:53:56] local.INFO: Packet analysis {"connection_id":216278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:53:56] local.INFO: Extracted packet for processing {"connection_id":216278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780115712001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792110128000,"timestamp_ms":1792110128000,"timestamp_seconds":1792110128,"priority":1,"record_length":96,"hex_timestamp":"000001a142166b80"} 
[2026-10-16 05:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:53:56] 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-10-16 05:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780115712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780115712001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:53:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:53:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780115712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":216278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:53:56] local.INFO: GPS data processed {"connection_id":216278,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:53:56] local.INFO: Acknowledgment sent {"connection_id":216278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:54:13] local.INFO: TCP Data received {"connection_id":216471,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:54:13] local.INFO: Processing buffer {"connection_id":216471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:54:13] local.INFO: Packet analysis {"connection_id":216471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:54:13] local.INFO: Extracted packet for processing {"connection_id":216471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780129280001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792110210000,"timestamp_ms":1792110210000,"timestamp_seconds":1792110210,"priority":1,"record_length":96,"hex_timestamp":"000001a14217abd0"} 
[2026-10-16 05:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:54: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-10-16 05:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:54: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-10-16 05:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:54:13] 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-10-16 05:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780129280001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780129280001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:54:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780129280001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":216471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:54:13] local.INFO: GPS data processed {"connection_id":216471,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:54:13] local.INFO: Acknowledgment sent {"connection_id":216471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:54:17] local.INFO: TCP Data received {"connection_id":219553,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:54:17] local.INFO: Processing buffer {"connection_id":219553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:54:17] local.INFO: IMEI packet received {"connection_id":219553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":219553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:54:21] local.INFO: TCP Data received {"connection_id":217823,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:54:21] local.INFO: Processing buffer {"connection_id":217823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:54:21] local.INFO: IMEI packet received {"connection_id":217823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":217823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:54:22] local.INFO: TCP Data received {"connection_id":219553,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:54:22] local.INFO: Processing buffer {"connection_id":219553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:54:22] local.INFO: IMEI packet received {"connection_id":219553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":219553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:54:23] local.INFO: TCP Data received {"connection_id":219553,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:54:23] local.INFO: Processing buffer {"connection_id":219553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:54:23] local.INFO: Packet analysis {"connection_id":219553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:54:23] local.INFO: Extracted packet for processing {"connection_id":219553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:54:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780115712001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792110128000,"timestamp_ms":1792110128000,"timestamp_seconds":1792110128,"priority":1,"record_length":96,"hex_timestamp":"000001a142166b80"} 
[2026-10-16 05:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:54:23] 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-10-16 05: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-10-16 05:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780115712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780115712001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:54:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:54:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780115712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":219553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:54:23] local.INFO: GPS data processed {"connection_id":219553,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:54:23] local.INFO: Acknowledgment sent {"connection_id":219553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:54:26] local.INFO: TCP Data received {"connection_id":217823,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:54:26] local.INFO: Processing buffer {"connection_id":217823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:54:26] local.INFO: IMEI packet received {"connection_id":217823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":217823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:54:27] local.INFO: TCP Data received {"connection_id":217823,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:54:27] local.INFO: Processing buffer {"connection_id":217823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:54:27] local.INFO: Packet analysis {"connection_id":217823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:54:27] local.INFO: Extracted packet for processing {"connection_id":217823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780129280001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110210000,"timestamp_ms":1792110210000,"timestamp_seconds":1792110210,"priority":1,"record_length":96,"hex_timestamp":"000001a14217abd0"} 
[2026-10-16 05:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:54:27] 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-10-16 05: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-10-16 05:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:54: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-10-16 05:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780129280001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780129280001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:54:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780129280001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":217823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:54:27] local.INFO: GPS data processed {"connection_id":217823,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:54:27] local.INFO: Acknowledgment sent {"connection_id":217823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:54:55] local.INFO: TCP Data received {"connection_id":219553,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:54:55] local.INFO: Processing buffer {"connection_id":219553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:54:55] local.INFO: Packet analysis {"connection_id":219553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:54:55] local.INFO: Extracted packet for processing {"connection_id":219553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780115712001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792110128000,"timestamp_ms":1792110128000,"timestamp_seconds":1792110128,"priority":1,"record_length":96,"hex_timestamp":"000001a142166b80"} 
[2026-10-16 05:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:54:55] 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-10-16 05:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780115712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780115712001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:54:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:54:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780115712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":219553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:54:55] local.INFO: GPS data processed {"connection_id":219553,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:54:55] local.INFO: Acknowledgment sent {"connection_id":219553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:54:58] local.INFO: TCP Data received {"connection_id":217823,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:54:58] local.INFO: Processing buffer {"connection_id":217823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:54:58] local.INFO: Packet analysis {"connection_id":217823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:54:58] local.INFO: Extracted packet for processing {"connection_id":217823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780129280001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792110210000,"timestamp_ms":1792110210000,"timestamp_seconds":1792110210,"priority":1,"record_length":96,"hex_timestamp":"000001a14217abd0"} 
[2026-10-16 05:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:54: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-10-16 05:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780129280001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780129280001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:54:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:54:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780129280001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":217823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:54:58] local.INFO: GPS data processed {"connection_id":217823,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:54:58] local.INFO: Acknowledgment sent {"connection_id":217823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:55:17] local.INFO: TCP Data received {"connection_id":216280,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:55:17] local.INFO: Processing buffer {"connection_id":216280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:55:17] local.INFO: IMEI packet received {"connection_id":216280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":216280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:55:17] local.INFO: TCP Data received {"connection_id":216279,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:55:17] local.INFO: Processing buffer {"connection_id":216279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:55:17] local.INFO: IMEI packet received {"connection_id":216279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":216279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:55:21] local.INFO: TCP Data received {"connection_id":216472,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:55:21] local.INFO: Processing buffer {"connection_id":216472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:55:21] local.INFO: IMEI packet received {"connection_id":216472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":216472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:55:22] local.INFO: TCP Data received {"connection_id":216280,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:55:22] local.INFO: Processing buffer {"connection_id":216280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:55:22] local.INFO: IMEI packet received {"connection_id":216280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":216280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:55:24] local.INFO: TCP Data received {"connection_id":216280,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:55:24] local.INFO: Processing buffer {"connection_id":216280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:55:24] local.INFO: Packet analysis {"connection_id":216280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:55:24] local.INFO: Extracted packet for processing {"connection_id":216280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780115712001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792110128000,"timestamp_ms":1792110128000,"timestamp_seconds":1792110128,"priority":1,"record_length":96,"hex_timestamp":"000001a142166b80"} 
[2026-10-16 05:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:55:24] 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-10-16 05:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780115712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780115712001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:55:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:55:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780115712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":216280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:55:24] local.INFO: GPS data processed {"connection_id":216280,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:55:24] local.INFO: Acknowledgment sent {"connection_id":216280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:55:26] local.INFO: TCP Data received {"connection_id":216472,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:55:26] local.INFO: Processing buffer {"connection_id":216472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:55:26] local.INFO: IMEI packet received {"connection_id":216472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":216472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:55:27] local.INFO: TCP Data received {"connection_id":216472,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:55:27] local.INFO: Processing buffer {"connection_id":216472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:55:27] local.INFO: Packet analysis {"connection_id":216472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:55:27] local.INFO: Extracted packet for processing {"connection_id":216472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780129280001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110210000,"timestamp_ms":1792110210000,"timestamp_seconds":1792110210,"priority":1,"record_length":96,"hex_timestamp":"000001a14217abd0"} 
[2026-10-16 05:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:55:27] 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-10-16 05: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-10-16 05:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:55: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-10-16 05:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780129280001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780129280001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:55:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780129280001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":216472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:55:27] local.INFO: GPS data processed {"connection_id":216472,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:55:27] local.INFO: Acknowledgment sent {"connection_id":216472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:55:52] local.INFO: TCP Data received {"connection_id":217824,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:55:52] local.INFO: Processing buffer {"connection_id":217824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 05:55:52] local.INFO: IMEI packet received {"connection_id":217824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 05:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":217824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:55:56] local.INFO: TCP Data received {"connection_id":216280,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:55:56] local.INFO: Processing buffer {"connection_id":216280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:55:56] local.INFO: Packet analysis {"connection_id":216280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:55:56] local.INFO: Extracted packet for processing {"connection_id":216280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780115712001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792110128000,"timestamp_ms":1792110128000,"timestamp_seconds":1792110128,"priority":1,"record_length":96,"hex_timestamp":"000001a142166b80"} 
[2026-10-16 05:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:55:56] 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-10-16 05:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780115712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780115712001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:55:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:55:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780115712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":216280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:55:56] local.INFO: GPS data processed {"connection_id":216280,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:55:56] local.INFO: Acknowledgment sent {"connection_id":216280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:55:59] local.INFO: TCP Data received {"connection_id":216472,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:55:59] local.INFO: Processing buffer {"connection_id":216472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:55:59] local.INFO: Packet analysis {"connection_id":216472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:55:59] local.INFO: Extracted packet for processing {"connection_id":216472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780129280001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792110210000,"timestamp_ms":1792110210000,"timestamp_seconds":1792110210,"priority":1,"record_length":96,"hex_timestamp":"000001a14217abd0"} 
[2026-10-16 05:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05: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-10-16 05:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780129280001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780129280001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:55:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780129280001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":216472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:55:59] local.INFO: GPS data processed {"connection_id":216472,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:55:59] local.INFO: Acknowledgment sent {"connection_id":216472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:56:21] local.INFO: TCP Data received {"connection_id":216281,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:56:21] local.INFO: Processing buffer {"connection_id":216281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:56:21] local.INFO: IMEI packet received {"connection_id":216281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":216281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:56:22] local.INFO: TCP Data received {"connection_id":219554,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:56:22] local.INFO: Processing buffer {"connection_id":219554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:56:22] local.INFO: IMEI packet received {"connection_id":219554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":219554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:56:26] local.INFO: TCP Data received {"connection_id":216281,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:56:26] local.INFO: Processing buffer {"connection_id":216281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:56:26] local.INFO: IMEI packet received {"connection_id":216281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":216281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:56:27] local.INFO: TCP Data received {"connection_id":216281,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:56:27] local.INFO: Processing buffer {"connection_id":216281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:56:27] local.INFO: Packet analysis {"connection_id":216281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:56:27] local.INFO: Extracted packet for processing {"connection_id":216281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780129280001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110210000,"timestamp_ms":1792110210000,"timestamp_seconds":1792110210,"priority":1,"record_length":96,"hex_timestamp":"000001a14217abd0"} 
[2026-10-16 05:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:56:27] 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-10-16 05:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:56:27] 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-10-16 05:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780129280001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780129280001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:56:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780129280001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":216281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:56:27] local.INFO: GPS data processed {"connection_id":216281,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:56:27] local.INFO: Acknowledgment sent {"connection_id":216281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:56:27] local.INFO: TCP Data received {"connection_id":219554,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:56:27] local.INFO: Processing buffer {"connection_id":219554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:56:27] local.INFO: IMEI packet received {"connection_id":219554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":219554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:56:29] local.INFO: TCP Data received {"connection_id":219554,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:56:29] local.INFO: Processing buffer {"connection_id":219554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:56:29] local.INFO: Packet analysis {"connection_id":219554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:56:29] local.INFO: Extracted packet for processing {"connection_id":219554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:56: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-10-16 05:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780115712001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792110128000,"timestamp_ms":1792110128000,"timestamp_seconds":1792110128,"priority":1,"record_length":96,"hex_timestamp":"000001a142166b80"} 
[2026-10-16 05:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:56:29] 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-10-16 05:56: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-10-16 05:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780115712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780115712001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:56:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:56:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780115712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":219554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:56:29] local.INFO: GPS data processed {"connection_id":219554,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:56:29] local.INFO: Acknowledgment sent {"connection_id":219554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:56:33] local.INFO: TCP Data received {"connection_id":219554,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:56:33] local.INFO: Processing buffer {"connection_id":219554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:56:33] local.INFO: Packet analysis {"connection_id":219554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:56:33] local.INFO: Extracted packet for processing {"connection_id":219554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780115712001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792110128000,"timestamp_ms":1792110128000,"timestamp_seconds":1792110128,"priority":1,"record_length":96,"hex_timestamp":"000001a142166b80"} 
[2026-10-16 05:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780115712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780115712001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:56:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:56:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780115712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":219554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:56:33] local.INFO: GPS data processed {"connection_id":219554,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:56:33] local.INFO: Acknowledgment sent {"connection_id":219554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:56:58] local.INFO: TCP Data received {"connection_id":216281,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:56:58] local.INFO: Processing buffer {"connection_id":216281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:56:58] local.INFO: Packet analysis {"connection_id":216281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:56:58] local.INFO: Extracted packet for processing {"connection_id":216281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780129280001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792110210000,"timestamp_ms":1792110210000,"timestamp_seconds":1792110210,"priority":1,"record_length":96,"hex_timestamp":"000001a14217abd0"} 
[2026-10-16 05:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:56:58] 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-10-16 05:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780129280001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780129280001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:56:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780129280001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":216281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:56:58] local.INFO: GPS data processed {"connection_id":216281,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:56:58] local.INFO: Acknowledgment sent {"connection_id":216281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:57:18] local.INFO: TCP Data received {"connection_id":216474,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:57:18] local.INFO: Processing buffer {"connection_id":216474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:57:18] local.INFO: IMEI packet received {"connection_id":216474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":216474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:57:21] local.INFO: TCP Data received {"connection_id":219555,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:57:21] local.INFO: Processing buffer {"connection_id":219555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:57:21] local.INFO: IMEI packet received {"connection_id":219555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":219555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:57:22] local.INFO: TCP Data received {"connection_id":216474,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:57:23] local.INFO: Processing buffer {"connection_id":216474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:57:23] local.INFO: IMEI packet received {"connection_id":216474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":216474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:57:24] local.INFO: TCP Data received {"connection_id":216474,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:57:24] local.INFO: Processing buffer {"connection_id":216474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142166b80012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:57:24] local.INFO: Packet analysis {"connection_id":216474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:57:24] local.INFO: Extracted packet for processing {"connection_id":216474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14216"} 
[2026-10-16 05:57:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780115712001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792110128000,"timestamp_ms":1792110128000,"timestamp_seconds":1792110128,"priority":1,"record_length":96,"hex_timestamp":"000001a142166b80"} 
[2026-10-16 05:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 05:57:24] 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-10-16 05:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780115712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780115712001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:57:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:57:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780115712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":216474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:57:24] local.INFO: GPS data processed {"connection_id":216474,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:57:24] local.INFO: Acknowledgment sent {"connection_id":216474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:57:26] local.INFO: TCP Data received {"connection_id":219555,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:57:26] local.INFO: Processing buffer {"connection_id":219555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:57:26] local.INFO: IMEI packet received {"connection_id":219555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":219555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:57:27] local.INFO: TCP Data received {"connection_id":219555,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:57:27] local.INFO: Processing buffer {"connection_id":219555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:57:27] local.INFO: Packet analysis {"connection_id":219555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:57:27] local.INFO: Extracted packet for processing {"connection_id":219555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780129280001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110210000,"timestamp_ms":1792110210000,"timestamp_seconds":1792110210,"priority":1,"record_length":96,"hex_timestamp":"000001a14217abd0"} 
[2026-10-16 05:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:57:27] 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-10-16 05:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:57:27] 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-10-16 05:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780129280001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780129280001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:57:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780129280001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":219555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:57:27] local.INFO: GPS data processed {"connection_id":219555,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:57:27] local.INFO: Acknowledgment sent {"connection_id":219555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:57:56] local.INFO: TCP Data received {"connection_id":216474,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:57:56] local.INFO: Processing buffer {"connection_id":216474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:57:56] local.INFO: Packet analysis {"connection_id":216474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 05:57:56] local.INFO: Extracted packet for processing {"connection_id":216474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 05:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792110429000,"timestamp_ms":1792110429000,"timestamp_seconds":1792110429,"priority":1,"record_length":96,"hex_timestamp":"000001a1421b0348"} 
[2026-10-16 05:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:57:56] 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-10-16 05: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-10-16 05:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780192768001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:57:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:57:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780192768001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":216474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:57:56] local.INFO: GPS data processed {"connection_id":216474,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:57:56] local.INFO: Acknowledgment sent {"connection_id":216474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:58:02] local.INFO: TCP Data received {"connection_id":219555,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:58:02] local.INFO: Processing buffer {"connection_id":219555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:58:02] local.INFO: Packet analysis {"connection_id":219555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:58:02] local.INFO: Extracted packet for processing {"connection_id":219555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780129280001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792110210000,"timestamp_ms":1792110210000,"timestamp_seconds":1792110210,"priority":1,"record_length":96,"hex_timestamp":"000001a14217abd0"} 
[2026-10-16 05:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:58:02] 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-10-16 05:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":219555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":219555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":219555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780129280001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780129280001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:58:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780129280001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":219555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:58:02] local.INFO: GPS data processed {"connection_id":219555,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:58:02] local.INFO: Acknowledgment sent {"connection_id":219555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:58:17] local.INFO: TCP Data received {"connection_id":216282,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:58:17] local.INFO: Processing buffer {"connection_id":216282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:58:17] local.INFO: IMEI packet received {"connection_id":216282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":216282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:58:22] local.INFO: TCP Data received {"connection_id":216282,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:58:22] local.INFO: Processing buffer {"connection_id":216282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:58:22] local.INFO: IMEI packet received {"connection_id":216282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":216282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:58:23] local.INFO: TCP Data received {"connection_id":216282,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:58:23] local.INFO: Processing buffer {"connection_id":216282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:58:23] local.INFO: Packet analysis {"connection_id":216282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 05:58:23] local.INFO: Extracted packet for processing {"connection_id":216282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 05:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792110429000,"timestamp_ms":1792110429000,"timestamp_seconds":1792110429,"priority":1,"record_length":96,"hex_timestamp":"000001a1421b0348"} 
[2026-10-16 05:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:58:23] 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-10-16 05: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-10-16 05:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780192768001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:58:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:58:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780192768001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":216282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:58:24] local.INFO: GPS data processed {"connection_id":216282,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:58:24] local.INFO: Acknowledgment sent {"connection_id":216282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:58:26] local.INFO: TCP Data received {"connection_id":216476,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:58:26] local.INFO: Processing buffer {"connection_id":216476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:58:26] local.INFO: IMEI packet received {"connection_id":216476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":216476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:58:31] local.INFO: TCP Data received {"connection_id":216476,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:58:31] local.INFO: Processing buffer {"connection_id":216476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:58:31] local.INFO: IMEI packet received {"connection_id":216476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":216476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:58:34] local.INFO: TCP Data received {"connection_id":216476,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:58:34] local.INFO: Processing buffer {"connection_id":216476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14217abd0012d7c240005dad510000000ea25..."} 
[2026-10-16 05:58:34] local.INFO: Packet analysis {"connection_id":216476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:58:34] local.INFO: Extracted packet for processing {"connection_id":216476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14217"} 
[2026-10-16 05:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780129280001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792110210000,"timestamp_ms":1792110210000,"timestamp_seconds":1792110210,"priority":1,"record_length":96,"hex_timestamp":"000001a14217abd0"} 
[2026-10-16 05:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 05:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:58:34] 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-10-16 05:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780129280001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780129280001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:58:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780129280001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":216476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:58:34] local.INFO: GPS data processed {"connection_id":216476,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:58:34] local.INFO: Acknowledgment sent {"connection_id":216476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:58:35] local.INFO: TCP Data received {"connection_id":216476,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 05:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 05:58:35] local.INFO: Processing buffer {"connection_id":216476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 05:58:35] local.INFO: Packet analysis {"connection_id":216476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 05:58:35] local.INFO: Extracted packet for processing {"connection_id":216476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 05:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 05:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 05:58: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-10-16 05: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-10-16 05:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:58: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-10-16 05:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:58:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":216476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:58:35] local.INFO: GPS data processed {"connection_id":216476,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:58:35] local.INFO: Acknowledgment sent {"connection_id":216476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:58:55] local.INFO: TCP Data received {"connection_id":216282,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:58:55] local.INFO: Processing buffer {"connection_id":216282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:58:55] local.INFO: Packet analysis {"connection_id":216282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 05:58:55] local.INFO: Extracted packet for processing {"connection_id":216282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 05:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792110429000,"timestamp_ms":1792110429000,"timestamp_seconds":1792110429,"priority":1,"record_length":96,"hex_timestamp":"000001a1421b0348"} 
[2026-10-16 05:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:58:55] 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-10-16 05: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-10-16 05:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780192768001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:58:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:58:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780192768001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":216282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:58:55] local.INFO: GPS data processed {"connection_id":216282,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:58:55] local.INFO: Acknowledgment sent {"connection_id":216282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:59:06] local.INFO: TCP Data received {"connection_id":216476,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 05:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 05:59:06] local.INFO: Processing buffer {"connection_id":216476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 05:59:06] local.INFO: Packet analysis {"connection_id":216476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 05:59:06] local.INFO: Extracted packet for processing {"connection_id":216476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05: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-10-16 05:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 05:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05: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":216,"data_length":795,"current_offset":136} 
[2026-10-16 05:59: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-10-16 05: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-10-16 05:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:59:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":216476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:59:07] local.INFO: GPS data processed {"connection_id":216476,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:59:07] local.INFO: Acknowledgment sent {"connection_id":216476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:59:17] local.INFO: TCP Data received {"connection_id":217825,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:59:17] local.INFO: Processing buffer {"connection_id":217825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:59:17] local.INFO: IMEI packet received {"connection_id":217825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 05:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":217825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:59:21] local.INFO: TCP Data received {"connection_id":216283,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:59:21] local.INFO: Processing buffer {"connection_id":216283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:59:21] local.INFO: IMEI packet received {"connection_id":216283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 05:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":216283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 05:59:22] local.INFO: TCP Data received {"connection_id":217825,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:59:22] local.INFO: Processing buffer {"connection_id":217825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 05:59:22] local.INFO: IMEI packet received {"connection_id":217825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 05:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":217825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:59:24] local.INFO: TCP Data received {"connection_id":217825,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:59:24] local.INFO: Processing buffer {"connection_id":217825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:59:24] local.INFO: Packet analysis {"connection_id":217825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 05:59:24] local.INFO: Extracted packet for processing {"connection_id":217825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 05:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:59: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-10-16 05:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792110429000,"timestamp_ms":1792110429000,"timestamp_seconds":1792110429,"priority":1,"record_length":96,"hex_timestamp":"000001a1421b0348"} 
[2026-10-16 05:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:59:24] 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-10-16 05:59: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-10-16 05:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780192768001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:59:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:59:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780192768001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":217825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:59:24] local.INFO: GPS data processed {"connection_id":217825,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:59:24] local.INFO: Acknowledgment sent {"connection_id":217825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:59:26] local.INFO: TCP Data received {"connection_id":216283,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:59:26] local.INFO: Processing buffer {"connection_id":216283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 05:59:26] local.INFO: IMEI packet received {"connection_id":216283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 05:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":216283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 05:59:29] local.INFO: TCP Data received {"connection_id":216283,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 05:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 05:59:29] local.INFO: Processing buffer {"connection_id":216283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 05:59:29] local.INFO: Packet analysis {"connection_id":216283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 05:59:29] local.INFO: Extracted packet for processing {"connection_id":216283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 05:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 05:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 05:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 05:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 05:59: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-10-16 05:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 05:59:29] 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-10-16 05:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 05:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 05:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 05:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 05:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 05:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:59:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 05:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 05:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 05:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 05:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":216283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:59:29] local.INFO: GPS data processed {"connection_id":216283,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:59:29] local.INFO: Acknowledgment sent {"connection_id":216283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 05:59:56] local.INFO: TCP Data received {"connection_id":217825,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:59:56] local.INFO: Processing buffer {"connection_id":217825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 05:59:56] local.INFO: Packet analysis {"connection_id":217825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 05:59:56] local.INFO: Extracted packet for processing {"connection_id":217825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 05:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 05:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 05:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 05:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 05:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792110429000,"timestamp_ms":1792110429000,"timestamp_seconds":1792110429,"priority":1,"record_length":96,"hex_timestamp":"000001a1421b0348"} 
[2026-10-16 05:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 05:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 05:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 05:59:56] 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-10-16 05:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 05:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 05:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 05:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 05:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 05:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 05:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 05:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 05:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780192768001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 05:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 05:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 05:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 05:59:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 05:59:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 05:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 05:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 05:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780192768001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 05:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":217825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 05:59:56] local.INFO: GPS data processed {"connection_id":217825,"processed":1,"errors":0,"total":1} 
[2026-10-16 05:59:56] local.INFO: Acknowledgment sent {"connection_id":217825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:00:00] local.INFO: TCP Data received {"connection_id":216283,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:00:00] local.INFO: Processing buffer {"connection_id":216283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:00:00] local.INFO: Packet analysis {"connection_id":216283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:00:00] local.INFO: Extracted packet for processing {"connection_id":216283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 06:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06: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-10-16 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 06:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:00:00] 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-10-16 06:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:00:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":216283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:00:01] local.INFO: GPS data processed {"connection_id":216283,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:00:01] local.INFO: Acknowledgment sent {"connection_id":216283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:00:21] local.INFO: TCP Data received {"connection_id":219557,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:00:21] local.INFO: Processing buffer {"connection_id":219557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:00:21] local.INFO: IMEI packet received {"connection_id":219557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":219557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:00:22] local.INFO: TCP Data received {"connection_id":219558,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:00:22] local.INFO: Processing buffer {"connection_id":219558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:00:22] local.INFO: IMEI packet received {"connection_id":219558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":219558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:00:26] local.INFO: TCP Data received {"connection_id":219557,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:00:26] local.INFO: Processing buffer {"connection_id":219557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:00:26] local.INFO: IMEI packet received {"connection_id":219557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":219557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:00:27] local.INFO: TCP Data received {"connection_id":219558,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:00:27] local.INFO: Processing buffer {"connection_id":219558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:00:27] local.INFO: IMEI packet received {"connection_id":219558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":219558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:00:28] local.INFO: TCP Data received {"connection_id":219558,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:00:28] local.INFO: Processing buffer {"connection_id":219558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:00:28] local.INFO: Packet analysis {"connection_id":219558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 06:00:28] local.INFO: Extracted packet for processing {"connection_id":219558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 06:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792110429000,"timestamp_ms":1792110429000,"timestamp_seconds":1792110429,"priority":1,"record_length":96,"hex_timestamp":"000001a1421b0348"} 
[2026-10-16 06:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:00:28] 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-10-16 06:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780192768001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:00:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:00:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780192768001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":219558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:00:28] local.INFO: GPS data processed {"connection_id":219558,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:00:28] local.INFO: Acknowledgment sent {"connection_id":219558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:00:31] local.INFO: TCP Data received {"connection_id":219557,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:00:31] local.INFO: Processing buffer {"connection_id":219557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:00:31] local.INFO: Packet analysis {"connection_id":219557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:00:31] local.INFO: Extracted packet for processing {"connection_id":219557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 06:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 06:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:00:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":219557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:00:31] local.INFO: GPS data processed {"connection_id":219557,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:00:31] local.INFO: Acknowledgment sent {"connection_id":219557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:00:33] local.INFO: TCP Data received {"connection_id":219558,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:00:33] local.INFO: Processing buffer {"connection_id":219558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:00:33] local.INFO: Packet analysis {"connection_id":219558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 06:00:33] local.INFO: Extracted packet for processing {"connection_id":219558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 06:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792110429000,"timestamp_ms":1792110429000,"timestamp_seconds":1792110429,"priority":1,"record_length":96,"hex_timestamp":"000001a1421b0348"} 
[2026-10-16 06:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:00:33] 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-10-16 06:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780192768001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780192768001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":219558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:00:33] local.INFO: GPS data processed {"connection_id":219558,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:00:33] local.INFO: Acknowledgment sent {"connection_id":219558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:01:06] local.INFO: TCP Data received {"connection_id":219557,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:01:06] local.INFO: Processing buffer {"connection_id":219557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:01:06] local.INFO: Packet analysis {"connection_id":219557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:01:06] local.INFO: Extracted packet for processing {"connection_id":219557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 06:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":216,"data_length":795,"current_offset":136} 
[2026-10-16 06:01: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-10-16 06: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-10-16 06:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":219557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":219557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":219557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:01:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":219557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:01:06] local.INFO: GPS data processed {"connection_id":219557,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:01:06] local.INFO: Acknowledgment sent {"connection_id":219557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:01:17] local.INFO: TCP Data received {"connection_id":216284,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:01:17] local.INFO: Processing buffer {"connection_id":216284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:01:17] local.INFO: IMEI packet received {"connection_id":216284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":216284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:01:21] local.INFO: TCP Data received {"connection_id":216285,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:01:21] local.INFO: Processing buffer {"connection_id":216285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:01:21] local.INFO: IMEI packet received {"connection_id":216285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":216285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:01:23] local.INFO: TCP Data received {"connection_id":216284,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:01:23] local.INFO: Processing buffer {"connection_id":216284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:01:23] local.INFO: IMEI packet received {"connection_id":216284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":216284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:01:25] local.INFO: TCP Data received {"connection_id":216284,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:01:25] local.INFO: Processing buffer {"connection_id":216284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:01:25] local.INFO: Packet analysis {"connection_id":216284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 06:01:25] local.INFO: Extracted packet for processing {"connection_id":216284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 06:01:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792110429000,"timestamp_ms":1792110429000,"timestamp_seconds":1792110429,"priority":1,"record_length":96,"hex_timestamp":"000001a1421b0348"} 
[2026-10-16 06:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:01:25] 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-10-16 06:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780192768001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:01:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:01:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780192768001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":216284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:01:25] local.INFO: GPS data processed {"connection_id":216284,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:01:25] local.INFO: Acknowledgment sent {"connection_id":216284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:01:26] local.INFO: TCP Data received {"connection_id":216285,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:01:26] local.INFO: Processing buffer {"connection_id":216285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:01:26] local.INFO: IMEI packet received {"connection_id":216285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":216285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:01:27] local.INFO: TCP Data received {"connection_id":216285,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:01:27] local.INFO: Processing buffer {"connection_id":216285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:01:27] local.INFO: Packet analysis {"connection_id":216285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:01:27] local.INFO: Extracted packet for processing {"connection_id":216285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 06:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 06:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:01:27] 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-10-16 06:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:01:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":216285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:01:27] local.INFO: GPS data processed {"connection_id":216285,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:01:27] local.INFO: Acknowledgment sent {"connection_id":216285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:01:52] local.INFO: TCP Data received {"connection_id":216478,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:01:52] local.INFO: Processing buffer {"connection_id":216478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:01:52] local.INFO: IMEI packet received {"connection_id":216478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":216478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:01:56] local.INFO: TCP Data received {"connection_id":216284,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:01:56] local.INFO: Processing buffer {"connection_id":216284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:01:56] local.INFO: Packet analysis {"connection_id":216284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 06:01:56] local.INFO: Extracted packet for processing {"connection_id":216284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 06:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792110429000,"timestamp_ms":1792110429000,"timestamp_seconds":1792110429,"priority":1,"record_length":96,"hex_timestamp":"000001a1421b0348"} 
[2026-10-16 06:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:01:56] 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-10-16 06:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780192768001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:01:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:01:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780192768001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":216284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:01:57] local.INFO: GPS data processed {"connection_id":216284,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:01:57] local.INFO: Acknowledgment sent {"connection_id":216284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:01:59] local.INFO: TCP Data received {"connection_id":216285,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:01:59] local.INFO: Processing buffer {"connection_id":216285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:01:59] local.INFO: Packet analysis {"connection_id":216285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:01:59] local.INFO: Extracted packet for processing {"connection_id":216285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 06:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 06:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:01:59] 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-10-16 06:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:01:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":216285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:01:59] local.INFO: GPS data processed {"connection_id":216285,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:01:59] local.INFO: Acknowledgment sent {"connection_id":216285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:02:17] local.INFO: TCP Data received {"connection_id":219559,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:02:17] local.INFO: Processing buffer {"connection_id":219559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:02:17] local.INFO: IMEI packet received {"connection_id":219559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":219559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:02:21] local.INFO: TCP Data received {"connection_id":217827,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:02:21] local.INFO: Processing buffer {"connection_id":217827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:02:21] local.INFO: IMEI packet received {"connection_id":217827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":217827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:02:22] local.INFO: TCP Data received {"connection_id":219559,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:02:22] local.INFO: Processing buffer {"connection_id":219559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:02:22] local.INFO: IMEI packet received {"connection_id":219559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":219559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:02:23] local.INFO: TCP Data received {"connection_id":219559,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:02:23] local.INFO: Processing buffer {"connection_id":219559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421b0348012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:02:23] local.INFO: Packet analysis {"connection_id":219559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 06:02:23] local.INFO: Extracted packet for processing {"connection_id":219559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421b"} 
[2026-10-16 06:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792110429000,"timestamp_ms":1792110429000,"timestamp_seconds":1792110429,"priority":1,"record_length":96,"hex_timestamp":"000001a1421b0348"} 
[2026-10-16 06:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:02:23] 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-10-16 06: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-10-16 06:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780192768001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:02:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:02:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780192768001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":219559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:02:23] local.INFO: GPS data processed {"connection_id":219559,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:02:23] local.INFO: Acknowledgment sent {"connection_id":219559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:02:26] local.INFO: TCP Data received {"connection_id":217827,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:02:26] local.INFO: Processing buffer {"connection_id":217827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:02:26] local.INFO: IMEI packet received {"connection_id":217827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":217827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:02:27] local.INFO: TCP Data received {"connection_id":217827,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:02:27] local.INFO: Processing buffer {"connection_id":217827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:02:27] local.INFO: Packet analysis {"connection_id":217827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:02:27] local.INFO: Extracted packet for processing {"connection_id":217827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 06:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 06:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:02:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":217827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:02:27] local.INFO: GPS data processed {"connection_id":217827,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:02:27] local.INFO: Acknowledgment sent {"connection_id":217827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:02:55] local.INFO: TCP Data received {"connection_id":219559,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:02:55] local.INFO: Processing buffer {"connection_id":219559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:02:55] local.INFO: Packet analysis {"connection_id":219559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:02:55] local.INFO: Extracted packet for processing {"connection_id":219559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:02: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-10-16 06:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780269824001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792110730000,"timestamp_ms":1792110730000,"timestamp_seconds":1792110730,"priority":1,"record_length":96,"hex_timestamp":"000001a1421f9b10"} 
[2026-10-16 06:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:02:55] 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-10-16 06:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780269824001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780269824001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:02:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:02:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780269824001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":219559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:02:55] local.INFO: GPS data processed {"connection_id":219559,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:02:55] local.INFO: Acknowledgment sent {"connection_id":219559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:03:03] local.INFO: TCP Data received {"connection_id":217827,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:03:03] local.INFO: Processing buffer {"connection_id":217827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:03:03] local.INFO: Packet analysis {"connection_id":217827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:03:03] local.INFO: Extracted packet for processing {"connection_id":217827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 06:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 06:03:03] 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-10-16 06:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:03:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":217827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:03:03] local.INFO: GPS data processed {"connection_id":217827,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:03:03] local.INFO: Acknowledgment sent {"connection_id":217827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:03:21] local.INFO: TCP Data received {"connection_id":216286,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:03:21] local.INFO: Processing buffer {"connection_id":216286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:03:21] local.INFO: IMEI packet received {"connection_id":216286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":216286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:03:22] local.INFO: TCP Data received {"connection_id":216479,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:03:22] local.INFO: Processing buffer {"connection_id":216479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:03:22] local.INFO: IMEI packet received {"connection_id":216479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":216479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:03:26] local.INFO: TCP Data received {"connection_id":216286,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:03:26] local.INFO: Processing buffer {"connection_id":216286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:03:26] local.INFO: IMEI packet received {"connection_id":216286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":216286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:03:27] local.INFO: TCP Data received {"connection_id":216479,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:03:27] local.INFO: Processing buffer {"connection_id":216479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:03:27] local.INFO: IMEI packet received {"connection_id":216479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":216479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:03:27] local.INFO: TCP Data received {"connection_id":216286,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:03:27] local.INFO: Processing buffer {"connection_id":216286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421c4398012d7c240005dad510000000ea25..."} 
[2026-10-16 06:03:27] local.INFO: Packet analysis {"connection_id":216286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:03:27] local.INFO: Extracted packet for processing {"connection_id":216286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421c"} 
[2026-10-16 06:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":0,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110511000,"timestamp_ms":1792110511000,"timestamp_seconds":1792110511,"priority":1,"record_length":96,"hex_timestamp":"000001a1421c4398"} 
[2026-10-16 06:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 06:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780213760001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:03:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780213760001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":216286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:03:27] local.INFO: GPS data processed {"connection_id":216286,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:03:27] local.INFO: Acknowledgment sent {"connection_id":216286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:03:27] local.INFO: TCP Data received {"connection_id":216479,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:03:27] local.INFO: Processing buffer {"connection_id":216479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:03:27] local.INFO: Packet analysis {"connection_id":216479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:03:27] local.INFO: Extracted packet for processing {"connection_id":216479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780269824001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110730000,"timestamp_ms":1792110730000,"timestamp_seconds":1792110730,"priority":1,"record_length":96,"hex_timestamp":"000001a1421f9b10"} 
[2026-10-16 06:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:03:27] 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-10-16 06:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780269824001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780269824001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:03:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:03:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780269824001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":216479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:03:27] local.INFO: GPS data processed {"connection_id":216479,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:03:27] local.INFO: Acknowledgment sent {"connection_id":216479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:03:58] local.INFO: TCP Data received {"connection_id":216286,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:03:58] local.INFO: Processing buffer {"connection_id":216286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:03:58] local.INFO: Packet analysis {"connection_id":216286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:03:58] local.INFO: Extracted packet for processing {"connection_id":216286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780290816001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792110812000,"timestamp_ms":1792110812000,"timestamp_seconds":1792110812,"priority":1,"record_length":96,"hex_timestamp":"000001a14220db60"} 
[2026-10-16 06:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:03:58] 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-10-16 06:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780290816001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780290816001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:03:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780290816001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":216286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:03:58] local.INFO: GPS data processed {"connection_id":216286,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:03:58] local.INFO: Acknowledgment sent {"connection_id":216286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:03:59] local.INFO: TCP Data received {"connection_id":216479,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:03:59] local.INFO: Processing buffer {"connection_id":216479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:03:59] local.INFO: Packet analysis {"connection_id":216479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:03:59] local.INFO: Extracted packet for processing {"connection_id":216479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780269824001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792110730000,"timestamp_ms":1792110730000,"timestamp_seconds":1792110730,"priority":1,"record_length":96,"hex_timestamp":"000001a1421f9b10"} 
[2026-10-16 06:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780269824001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780269824001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:03:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:03:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780269824001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":216479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:03:59] local.INFO: GPS data processed {"connection_id":216479,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:03:59] local.INFO: Acknowledgment sent {"connection_id":216479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:04:17] local.INFO: TCP Data received {"connection_id":217829,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:04:17] local.INFO: Processing buffer {"connection_id":217829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:04:17] local.INFO: IMEI packet received {"connection_id":217829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":217829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:04:22] local.INFO: TCP Data received {"connection_id":217829,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:04:22] local.INFO: Processing buffer {"connection_id":217829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:04:22] local.INFO: IMEI packet received {"connection_id":217829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":217829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:04:23] local.INFO: TCP Data received {"connection_id":217829,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:04:23] local.INFO: Processing buffer {"connection_id":217829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:04:23] local.INFO: Packet analysis {"connection_id":217829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:04:23] local.INFO: Extracted packet for processing {"connection_id":217829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:04:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780269824001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792110730000,"timestamp_ms":1792110730000,"timestamp_seconds":1792110730,"priority":1,"record_length":96,"hex_timestamp":"000001a1421f9b10"} 
[2026-10-16 06:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:04:23] 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-10-16 06:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780269824001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780269824001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:04:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:04:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780269824001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":217829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:04:23] local.INFO: GPS data processed {"connection_id":217829,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:04:23] local.INFO: Acknowledgment sent {"connection_id":217829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:04:26] local.INFO: TCP Data received {"connection_id":216287,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:04:26] local.INFO: Processing buffer {"connection_id":216287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:04:26] local.INFO: IMEI packet received {"connection_id":216287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":216287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:04:31] local.INFO: TCP Data received {"connection_id":216287,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:04:31] local.INFO: Processing buffer {"connection_id":216287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:04:31] local.INFO: IMEI packet received {"connection_id":216287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":216287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:04:32] local.INFO: TCP Data received {"connection_id":216287,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:04:32] local.INFO: Processing buffer {"connection_id":216287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:04:32] local.INFO: Packet analysis {"connection_id":216287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:04:32] local.INFO: Extracted packet for processing {"connection_id":216287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780290816001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792110812000,"timestamp_ms":1792110812000,"timestamp_seconds":1792110812,"priority":1,"record_length":96,"hex_timestamp":"000001a14220db60"} 
[2026-10-16 06:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:04:32] 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-10-16 06:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780290816001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780290816001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:04:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780290816001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":216287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:04:32] local.INFO: GPS data processed {"connection_id":216287,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:04:32] local.INFO: Acknowledgment sent {"connection_id":216287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:04:37] local.INFO: TCP Data received {"connection_id":216287,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:04:37] local.INFO: Processing buffer {"connection_id":216287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:04:37] local.INFO: Packet analysis {"connection_id":216287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:04:37] local.INFO: Extracted packet for processing {"connection_id":216287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780290816001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792110812000,"timestamp_ms":1792110812000,"timestamp_seconds":1792110812,"priority":1,"record_length":96,"hex_timestamp":"000001a14220db60"} 
[2026-10-16 06:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:04: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-10-16 06: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-10-16 06:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780290816001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780290816001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:04:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780290816001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":216287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:04:37] local.INFO: GPS data processed {"connection_id":216287,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:04:37] local.INFO: Acknowledgment sent {"connection_id":216287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:04:55] local.INFO: TCP Data received {"connection_id":217829,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:04:55] local.INFO: Processing buffer {"connection_id":217829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:04:55] local.INFO: Packet analysis {"connection_id":217829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:04:55] local.INFO: Extracted packet for processing {"connection_id":217829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780269824001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792110730000,"timestamp_ms":1792110730000,"timestamp_seconds":1792110730,"priority":1,"record_length":96,"hex_timestamp":"000001a1421f9b10"} 
[2026-10-16 06:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:04:55] 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-10-16 06:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780269824001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780269824001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:04:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:04:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780269824001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":217829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:04:55] local.INFO: GPS data processed {"connection_id":217829,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:04:55] local.INFO: Acknowledgment sent {"connection_id":217829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:05:17] local.INFO: TCP Data received {"connection_id":216480,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:05:17] local.INFO: Processing buffer {"connection_id":216480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:05:17] local.INFO: IMEI packet received {"connection_id":216480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":216480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:05:21] local.INFO: TCP Data received {"connection_id":217830,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:05:21] local.INFO: Processing buffer {"connection_id":217830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:05:21] local.INFO: IMEI packet received {"connection_id":217830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":217830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:05:22] local.INFO: TCP Data received {"connection_id":216480,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:05:22] local.INFO: Processing buffer {"connection_id":216480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:05:22] local.INFO: IMEI packet received {"connection_id":216480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":216480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:05:24] local.INFO: TCP Data received {"connection_id":216480,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:05:24] local.INFO: Processing buffer {"connection_id":216480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:05:24] local.INFO: Packet analysis {"connection_id":216480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:05:24] local.INFO: Extracted packet for processing {"connection_id":216480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780269824001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792110730000,"timestamp_ms":1792110730000,"timestamp_seconds":1792110730,"priority":1,"record_length":96,"hex_timestamp":"000001a1421f9b10"} 
[2026-10-16 06:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:05:24] 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-10-16 06:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780269824001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780269824001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:05:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:05:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780269824001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":216480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:05:24] local.INFO: GPS data processed {"connection_id":216480,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:05:24] local.INFO: Acknowledgment sent {"connection_id":216480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:05:26] local.INFO: TCP Data received {"connection_id":217830,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:05:26] local.INFO: Processing buffer {"connection_id":217830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:05:26] local.INFO: IMEI packet received {"connection_id":217830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":217830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:05:27] local.INFO: TCP Data received {"connection_id":217830,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:05:27] local.INFO: Processing buffer {"connection_id":217830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:05:27] local.INFO: Packet analysis {"connection_id":217830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:05:27] local.INFO: Extracted packet for processing {"connection_id":217830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780290816001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110812000,"timestamp_ms":1792110812000,"timestamp_seconds":1792110812,"priority":1,"record_length":96,"hex_timestamp":"000001a14220db60"} 
[2026-10-16 06:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780290816001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780290816001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:05:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780290816001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":217830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:05:27] local.INFO: GPS data processed {"connection_id":217830,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:05:27] local.INFO: Acknowledgment sent {"connection_id":217830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:05:56] local.INFO: TCP Data received {"connection_id":216480,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:05:56] local.INFO: Processing buffer {"connection_id":216480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:05:56] local.INFO: Packet analysis {"connection_id":216480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:05:56] local.INFO: Extracted packet for processing {"connection_id":216480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780269824001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792110730000,"timestamp_ms":1792110730000,"timestamp_seconds":1792110730,"priority":1,"record_length":96,"hex_timestamp":"000001a1421f9b10"} 
[2026-10-16 06:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:05:56] 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-10-16 06:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780269824001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780269824001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:05:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:05:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780269824001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":216480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:05:56] local.INFO: GPS data processed {"connection_id":216480,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:05:56] local.INFO: Acknowledgment sent {"connection_id":216480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:05:58] local.INFO: TCP Data received {"connection_id":217830,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:05:58] local.INFO: Processing buffer {"connection_id":217830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:05:58] local.INFO: Packet analysis {"connection_id":217830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:05:58] local.INFO: Extracted packet for processing {"connection_id":217830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780290816001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792110812000,"timestamp_ms":1792110812000,"timestamp_seconds":1792110812,"priority":1,"record_length":96,"hex_timestamp":"000001a14220db60"} 
[2026-10-16 06:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:05:58] 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-10-16 06:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780290816001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780290816001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:05:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:05:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780290816001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":217830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:05:58] local.INFO: GPS data processed {"connection_id":217830,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:05:58] local.INFO: Acknowledgment sent {"connection_id":217830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:06:21] local.INFO: TCP Data received {"connection_id":216290,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:06:21] local.INFO: Processing buffer {"connection_id":216290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:06:21] local.INFO: IMEI packet received {"connection_id":216290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":216290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:06:22] local.INFO: TCP Data received {"connection_id":216289,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:06:22] local.INFO: Processing buffer {"connection_id":216289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:06:22] local.INFO: IMEI packet received {"connection_id":216289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":216289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:06:26] local.INFO: TCP Data received {"connection_id":216290,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:06:26] local.INFO: Processing buffer {"connection_id":216290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:06:26] local.INFO: IMEI packet received {"connection_id":216290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":216290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:06:27] local.INFO: TCP Data received {"connection_id":216289,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:06:27] local.INFO: Processing buffer {"connection_id":216289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:06:27] local.INFO: IMEI packet received {"connection_id":216289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":216289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:06:29] local.INFO: TCP Data received {"connection_id":216289,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:06:29] local.INFO: Processing buffer {"connection_id":216289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:06:29] local.INFO: Packet analysis {"connection_id":216289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:06:29] local.INFO: Extracted packet for processing {"connection_id":216289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780269824001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792110730000,"timestamp_ms":1792110730000,"timestamp_seconds":1792110730,"priority":1,"record_length":96,"hex_timestamp":"000001a1421f9b10"} 
[2026-10-16 06:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:06:29] 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-10-16 06:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780269824001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780269824001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:06:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:06:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780269824001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":216289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:06:29] local.INFO: GPS data processed {"connection_id":216289,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:06:29] local.INFO: Acknowledgment sent {"connection_id":216289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:06:29] local.INFO: TCP Data received {"connection_id":216290,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:06:29] local.INFO: Processing buffer {"connection_id":216290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:06:29] local.INFO: Packet analysis {"connection_id":216290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:06:29] local.INFO: Extracted packet for processing {"connection_id":216290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780290816001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792110812000,"timestamp_ms":1792110812000,"timestamp_seconds":1792110812,"priority":1,"record_length":96,"hex_timestamp":"000001a14220db60"} 
[2026-10-16 06:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780290816001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780290816001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:06:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780290816001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":216290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:06:29] local.INFO: GPS data processed {"connection_id":216290,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:06:29] local.INFO: Acknowledgment sent {"connection_id":216290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:06:33] local.INFO: TCP Data received {"connection_id":216289,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:06:33] local.INFO: Processing buffer {"connection_id":216289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:06:33] local.INFO: Packet analysis {"connection_id":216289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:06:33] local.INFO: Extracted packet for processing {"connection_id":216289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780269824001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792110730000,"timestamp_ms":1792110730000,"timestamp_seconds":1792110730,"priority":1,"record_length":96,"hex_timestamp":"000001a1421f9b10"} 
[2026-10-16 06:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780269824001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780269824001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:06:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:06:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780269824001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":216289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:06:33] local.INFO: GPS data processed {"connection_id":216289,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:06:33] local.INFO: Acknowledgment sent {"connection_id":216289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:07:01] local.INFO: TCP Data received {"connection_id":216290,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:07:01] local.INFO: Processing buffer {"connection_id":216290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:07:01] local.INFO: Packet analysis {"connection_id":216290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:07:01] local.INFO: Extracted packet for processing {"connection_id":216290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780290816001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792110812000,"timestamp_ms":1792110812000,"timestamp_seconds":1792110812,"priority":1,"record_length":96,"hex_timestamp":"000001a14220db60"} 
[2026-10-16 06:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:07:01] 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-10-16 06:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780290816001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780290816001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:07:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780290816001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":216290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:07:01] local.INFO: GPS data processed {"connection_id":216290,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:07:01] local.INFO: Acknowledgment sent {"connection_id":216290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:07:17] local.INFO: TCP Data received {"connection_id":216482,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:07:17] local.INFO: Processing buffer {"connection_id":216482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:07:17] local.INFO: IMEI packet received {"connection_id":216482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":216482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:07:21] local.INFO: TCP Data received {"connection_id":216483,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:07:21] local.INFO: Processing buffer {"connection_id":216483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:07:21] local.INFO: IMEI packet received {"connection_id":216483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":216483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:07:22] local.INFO: TCP Data received {"connection_id":216481,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:07:22] local.INFO: Processing buffer {"connection_id":216481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:07:22] local.INFO: IMEI packet received {"connection_id":216481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":216481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:07:22] local.INFO: TCP Data received {"connection_id":216482,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:07:22] local.INFO: Processing buffer {"connection_id":216482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:07:22] local.INFO: IMEI packet received {"connection_id":216482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":216482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:07:24] local.INFO: TCP Data received {"connection_id":216482,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:07:24] local.INFO: Processing buffer {"connection_id":216482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1421f9b10012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:07:24] local.INFO: Packet analysis {"connection_id":216482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:07:24] local.INFO: Extracted packet for processing {"connection_id":216482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1421f"} 
[2026-10-16 06:07:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780269824001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792110730000,"timestamp_ms":1792110730000,"timestamp_seconds":1792110730,"priority":1,"record_length":96,"hex_timestamp":"000001a1421f9b10"} 
[2026-10-16 06:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:07:24] 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-10-16 06:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780269824001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780269824001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:07:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:07:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780269824001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":216482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:07:24] local.INFO: GPS data processed {"connection_id":216482,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:07:24] local.INFO: Acknowledgment sent {"connection_id":216482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:07:26] local.INFO: TCP Data received {"connection_id":216483,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:07:26] local.INFO: Processing buffer {"connection_id":216483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:07:26] local.INFO: IMEI packet received {"connection_id":216483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":216483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:07:27] local.INFO: TCP Data received {"connection_id":216483,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:07:27] local.INFO: Processing buffer {"connection_id":216483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:07:27] local.INFO: Packet analysis {"connection_id":216483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:07:27] local.INFO: Extracted packet for processing {"connection_id":216483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780290816001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110812000,"timestamp_ms":1792110812000,"timestamp_seconds":1792110812,"priority":1,"record_length":96,"hex_timestamp":"000001a14220db60"} 
[2026-10-16 06:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780290816001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780290816001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:07:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780290816001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":216483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:07:28] local.INFO: GPS data processed {"connection_id":216483,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:07:28] local.INFO: Acknowledgment sent {"connection_id":216483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:07:51] local.INFO: TCP Data received {"connection_id":217831,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:07:51] local.INFO: Processing buffer {"connection_id":217831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:07:51] local.INFO: IMEI packet received {"connection_id":217831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":217831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:07:56] local.INFO: TCP Data received {"connection_id":216482,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:07:56] local.INFO: Processing buffer {"connection_id":216482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:07:56] local.INFO: Packet analysis {"connection_id":216482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:07:56] local.INFO: Extracted packet for processing {"connection_id":216482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780346880001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792111031000,"timestamp_ms":1792111031000,"timestamp_seconds":1792111031,"priority":1,"record_length":96,"hex_timestamp":"000001a1422432d8"} 
[2026-10-16 06:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780346880001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780346880001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:07:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:07:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780346880001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":216482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:07:56] local.INFO: GPS data processed {"connection_id":216482,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:07:56] local.INFO: Acknowledgment sent {"connection_id":216482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:08:02] local.INFO: TCP Data received {"connection_id":216483,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:08:02] local.INFO: Processing buffer {"connection_id":216483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:08:02] local.INFO: Packet analysis {"connection_id":216483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:08:02] local.INFO: Extracted packet for processing {"connection_id":216483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780290816001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792110812000,"timestamp_ms":1792110812000,"timestamp_seconds":1792110812,"priority":1,"record_length":96,"hex_timestamp":"000001a14220db60"} 
[2026-10-16 06:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:08:02] 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-10-16 06:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780290816001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780290816001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:08:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780290816001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":216483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:08:02] local.INFO: GPS data processed {"connection_id":216483,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:08:02] local.INFO: Acknowledgment sent {"connection_id":216483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:08:17] local.INFO: TCP Data received {"connection_id":216484,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:08:17] local.INFO: Processing buffer {"connection_id":216484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:08:17] local.INFO: IMEI packet received {"connection_id":216484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":216484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:08:21] local.INFO: TCP Data received {"connection_id":217832,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:08:21] local.INFO: Processing buffer {"connection_id":217832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:08:21] local.INFO: IMEI packet received {"connection_id":217832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":217832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:08:22] local.INFO: TCP Data received {"connection_id":216484,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:08:22] local.INFO: Processing buffer {"connection_id":216484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:08:22] local.INFO: IMEI packet received {"connection_id":216484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":216484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:08:23] local.INFO: TCP Data received {"connection_id":216484,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:08:23] local.INFO: Processing buffer {"connection_id":216484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:08:23] local.INFO: Packet analysis {"connection_id":216484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:08:23] local.INFO: Extracted packet for processing {"connection_id":216484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780346880001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792111031000,"timestamp_ms":1792111031000,"timestamp_seconds":1792111031,"priority":1,"record_length":96,"hex_timestamp":"000001a1422432d8"} 
[2026-10-16 06:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780346880001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780346880001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:08:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:08:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780346880001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":216484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:08:23] local.INFO: GPS data processed {"connection_id":216484,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:08:23] local.INFO: Acknowledgment sent {"connection_id":216484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:08:26] local.INFO: TCP Data received {"connection_id":217832,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:08:26] local.INFO: Processing buffer {"connection_id":217832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:08:26] local.INFO: IMEI packet received {"connection_id":217832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":217832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:08:27] local.INFO: TCP Data received {"connection_id":217832,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:08:27] local.INFO: Processing buffer {"connection_id":217832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14220db60012d7c240005dad510000300ea25..."} 
[2026-10-16 06:08:27] local.INFO: Packet analysis {"connection_id":217832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:08:27] local.INFO: Extracted packet for processing {"connection_id":217832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14220"} 
[2026-10-16 06:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780290816001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792110812000,"timestamp_ms":1792110812000,"timestamp_seconds":1792110812,"priority":1,"record_length":96,"hex_timestamp":"000001a14220db60"} 
[2026-10-16 06:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780290816001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780290816001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:08:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780290816001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":217832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:08:27] local.INFO: GPS data processed {"connection_id":217832,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:08:27] local.INFO: Acknowledgment sent {"connection_id":217832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:08:56] local.INFO: TCP Data received {"connection_id":216484,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:08:56] local.INFO: Processing buffer {"connection_id":216484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:08:56] local.INFO: Packet analysis {"connection_id":216484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:08:56] local.INFO: Extracted packet for processing {"connection_id":216484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780346880001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792111031000,"timestamp_ms":1792111031000,"timestamp_seconds":1792111031,"priority":1,"record_length":96,"hex_timestamp":"000001a1422432d8"} 
[2026-10-16 06:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780346880001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780346880001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:08:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:08:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780346880001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":216484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:08:56] local.INFO: GPS data processed {"connection_id":216484,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:08:56] local.INFO: Acknowledgment sent {"connection_id":216484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:08:58] local.INFO: TCP Data received {"connection_id":217832,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:08:58] local.INFO: Processing buffer {"connection_id":217832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:08:58] local.INFO: Packet analysis {"connection_id":217832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:08:58] local.INFO: Extracted packet for processing {"connection_id":217832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780367872001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792111113000,"timestamp_ms":1792111113000,"timestamp_seconds":1792111113,"priority":1,"record_length":96,"hex_timestamp":"000001a142257328"} 
[2026-10-16 06:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780367872001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780367872001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:08:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780367872001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":217832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:08:58] local.INFO: GPS data processed {"connection_id":217832,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:08:58] local.INFO: Acknowledgment sent {"connection_id":217832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:09:17] local.INFO: TCP Data received {"connection_id":217833,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:09:17] local.INFO: Processing buffer {"connection_id":217833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:09:17] local.INFO: IMEI packet received {"connection_id":217833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":217833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:09:22] local.INFO: TCP Data received {"connection_id":217833,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:09:22] local.INFO: Processing buffer {"connection_id":217833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:09:22] local.INFO: IMEI packet received {"connection_id":217833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":217833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:09:26] local.INFO: TCP Data received {"connection_id":217833,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:09:26] local.INFO: Processing buffer {"connection_id":217833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:09:26] local.INFO: Packet analysis {"connection_id":217833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:09:26] local.INFO: Extracted packet for processing {"connection_id":217833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780346880001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792111031000,"timestamp_ms":1792111031000,"timestamp_seconds":1792111031,"priority":1,"record_length":96,"hex_timestamp":"000001a1422432d8"} 
[2026-10-16 06:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":217833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":217833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":217833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780346880001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780346880001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:09:26] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:09:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780346880001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":217833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:09:26] local.INFO: GPS data processed {"connection_id":217833,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:09:26] local.INFO: Acknowledgment sent {"connection_id":217833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:09:26] local.INFO: TCP Data received {"connection_id":216485,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:09:26] local.INFO: Processing buffer {"connection_id":216485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:09:26] local.INFO: IMEI packet received {"connection_id":216485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":216485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:09:31] local.INFO: TCP Data received {"connection_id":216485,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:09:31] local.INFO: Processing buffer {"connection_id":216485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:09:31] local.INFO: IMEI packet received {"connection_id":216485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":216485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:09:33] local.INFO: TCP Data received {"connection_id":216485,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:09:33] local.INFO: Processing buffer {"connection_id":216485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:09:33] local.INFO: Packet analysis {"connection_id":216485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:09:33] local.INFO: Extracted packet for processing {"connection_id":216485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780367872001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792111113000,"timestamp_ms":1792111113000,"timestamp_seconds":1792111113,"priority":1,"record_length":96,"hex_timestamp":"000001a142257328"} 
[2026-10-16 06:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780367872001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780367872001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:09:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780367872001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":216485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:09:33] local.INFO: GPS data processed {"connection_id":216485,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:09:33] local.INFO: Acknowledgment sent {"connection_id":216485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:09:41] local.INFO: TCP Data received {"connection_id":216485,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:09:41] local.INFO: Processing buffer {"connection_id":216485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:09:41] local.INFO: Packet analysis {"connection_id":216485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:09:41] local.INFO: Extracted packet for processing {"connection_id":216485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780367872001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792111113000,"timestamp_ms":1792111113000,"timestamp_seconds":1792111113,"priority":1,"record_length":96,"hex_timestamp":"000001a142257328"} 
[2026-10-16 06:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:09:41] 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-10-16 06:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":216485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":216485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":216485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780367872001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780367872001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:09:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780367872001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":216485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:09:41] local.INFO: GPS data processed {"connection_id":216485,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:09:41] local.INFO: Acknowledgment sent {"connection_id":216485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:09:58] local.INFO: TCP Data received {"connection_id":217833,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:09:58] local.INFO: Processing buffer {"connection_id":217833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:09:58] local.INFO: Packet analysis {"connection_id":217833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:09:58] local.INFO: Extracted packet for processing {"connection_id":217833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780346880001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792111031000,"timestamp_ms":1792111031000,"timestamp_seconds":1792111031,"priority":1,"record_length":96,"hex_timestamp":"000001a1422432d8"} 
[2026-10-16 06:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780346880001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780346880001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:09:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:09:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780346880001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":217833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:09:58] local.INFO: GPS data processed {"connection_id":217833,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:09:58] local.INFO: Acknowledgment sent {"connection_id":217833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:10:21] local.INFO: TCP Data received {"connection_id":216292,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:10:21] local.INFO: Processing buffer {"connection_id":216292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:10:21] local.INFO: IMEI packet received {"connection_id":216292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":216292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:10:22] local.INFO: TCP Data received {"connection_id":219562,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:10:22] local.INFO: Processing buffer {"connection_id":219562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:10:22] local.INFO: IMEI packet received {"connection_id":219562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":219562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:10:26] local.INFO: TCP Data received {"connection_id":216292,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:10:26] local.INFO: Processing buffer {"connection_id":216292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:10:26] local.INFO: IMEI packet received {"connection_id":216292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":216292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:10:27] local.INFO: TCP Data received {"connection_id":216292,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:10:27] local.INFO: Processing buffer {"connection_id":216292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:10:27] local.INFO: Packet analysis {"connection_id":216292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:10:27] local.INFO: Extracted packet for processing {"connection_id":216292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780367872001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111113000,"timestamp_ms":1792111113000,"timestamp_seconds":1792111113,"priority":1,"record_length":96,"hex_timestamp":"000001a142257328"} 
[2026-10-16 06:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780367872001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780367872001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:10:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780367872001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":216292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:10:27] local.INFO: GPS data processed {"connection_id":216292,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:10:27] local.INFO: Acknowledgment sent {"connection_id":216292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:10:27] local.INFO: TCP Data received {"connection_id":219562,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:10:27] local.INFO: Processing buffer {"connection_id":219562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:10:27] local.INFO: IMEI packet received {"connection_id":219562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":219562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:10:28] local.INFO: TCP Data received {"connection_id":219562,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:10:28] local.INFO: Processing buffer {"connection_id":219562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:10:28] local.INFO: Packet analysis {"connection_id":219562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:10:28] local.INFO: Extracted packet for processing {"connection_id":219562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780346880001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792111031000,"timestamp_ms":1792111031000,"timestamp_seconds":1792111031,"priority":1,"record_length":96,"hex_timestamp":"000001a1422432d8"} 
[2026-10-16 06:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780346880001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780346880001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:10:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:10:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780346880001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":219562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:10:28] local.INFO: GPS data processed {"connection_id":219562,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:10:28] local.INFO: Acknowledgment sent {"connection_id":219562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:10:33] local.INFO: TCP Data received {"connection_id":219562,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:10:33] local.INFO: Processing buffer {"connection_id":219562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:10:33] local.INFO: Packet analysis {"connection_id":219562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:10:33] local.INFO: Extracted packet for processing {"connection_id":219562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780346880001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792111031000,"timestamp_ms":1792111031000,"timestamp_seconds":1792111031,"priority":1,"record_length":96,"hex_timestamp":"000001a1422432d8"} 
[2026-10-16 06:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780346880001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780346880001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:10:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:10:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780346880001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":219562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:10:33] local.INFO: GPS data processed {"connection_id":219562,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:10:33] local.INFO: Acknowledgment sent {"connection_id":219562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:11:10] local.INFO: TCP Data received {"connection_id":216292,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:11:10] local.INFO: Processing buffer {"connection_id":216292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:11:10] local.INFO: Packet analysis {"connection_id":216292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:11:10] local.INFO: Extracted packet for processing {"connection_id":216292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 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-10-16 06:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780367872001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792111113000,"timestamp_ms":1792111113000,"timestamp_seconds":1792111113,"priority":1,"record_length":96,"hex_timestamp":"000001a142257328"} 
[2026-10-16 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-10-16 06:11: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-10-16 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:11:10] 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-10-16 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-10-16 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-10-16 06:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":216292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":216292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":216292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780367872001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780367872001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:11:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780367872001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":216292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:11:10] local.INFO: GPS data processed {"connection_id":216292,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:11:10] local.INFO: Acknowledgment sent {"connection_id":216292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:11:17] local.INFO: TCP Data received {"connection_id":219563,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:11:17] local.INFO: Processing buffer {"connection_id":219563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:11:17] local.INFO: IMEI packet received {"connection_id":219563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":219563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:11:21] local.INFO: TCP Data received {"connection_id":217835,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:11:21] local.INFO: Processing buffer {"connection_id":217835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:11:21] local.INFO: IMEI packet received {"connection_id":217835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":217835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:11:22] local.INFO: TCP Data received {"connection_id":219563,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:11:22] local.INFO: Processing buffer {"connection_id":219563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:11:22] local.INFO: IMEI packet received {"connection_id":219563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":219563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:11:23] local.INFO: TCP Data received {"connection_id":219563,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:11:23] local.INFO: Processing buffer {"connection_id":219563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:11:23] local.INFO: Packet analysis {"connection_id":219563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:11:23] local.INFO: Extracted packet for processing {"connection_id":219563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780346880001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792111031000,"timestamp_ms":1792111031000,"timestamp_seconds":1792111031,"priority":1,"record_length":96,"hex_timestamp":"000001a1422432d8"} 
[2026-10-16 06:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780346880001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780346880001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:11:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:11:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780346880001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":219563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:11:23] local.INFO: GPS data processed {"connection_id":219563,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:11:23] local.INFO: Acknowledgment sent {"connection_id":219563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:11:26] local.INFO: TCP Data received {"connection_id":217835,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:11:26] local.INFO: Processing buffer {"connection_id":217835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:11:26] local.INFO: IMEI packet received {"connection_id":217835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":217835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:11:27] local.INFO: TCP Data received {"connection_id":217835,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:11:27] local.INFO: Processing buffer {"connection_id":217835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:11:27] local.INFO: Packet analysis {"connection_id":217835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:11:27] local.INFO: Extracted packet for processing {"connection_id":217835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780367872001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111113000,"timestamp_ms":1792111113000,"timestamp_seconds":1792111113,"priority":1,"record_length":96,"hex_timestamp":"000001a142257328"} 
[2026-10-16 06:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780367872001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780367872001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:11:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780367872001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":217835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:11:27] local.INFO: GPS data processed {"connection_id":217835,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:11:27] local.INFO: Acknowledgment sent {"connection_id":217835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:11:55] local.INFO: TCP Data received {"connection_id":219563,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:11:55] local.INFO: Processing buffer {"connection_id":219563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:11:55] local.INFO: Packet analysis {"connection_id":219563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:11:55] local.INFO: Extracted packet for processing {"connection_id":219563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780346880001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792111031000,"timestamp_ms":1792111031000,"timestamp_seconds":1792111031,"priority":1,"record_length":96,"hex_timestamp":"000001a1422432d8"} 
[2026-10-16 06:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780346880001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780346880001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:11:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:11:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780346880001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":219563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:11:55] local.INFO: GPS data processed {"connection_id":219563,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:11:55] local.INFO: Acknowledgment sent {"connection_id":219563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:11:59] local.INFO: TCP Data received {"connection_id":217835,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:11:59] local.INFO: Processing buffer {"connection_id":217835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:11:59] local.INFO: Packet analysis {"connection_id":217835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:11:59] local.INFO: Extracted packet for processing {"connection_id":217835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:11: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-10-16 06:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780367872001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792111113000,"timestamp_ms":1792111113000,"timestamp_seconds":1792111113,"priority":1,"record_length":96,"hex_timestamp":"000001a142257328"} 
[2026-10-16 06:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:11:59] 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-10-16 06:11: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-10-16 06:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780367872001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780367872001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:11:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780367872001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":217835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:11:59] local.INFO: GPS data processed {"connection_id":217835,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:11:59] local.INFO: Acknowledgment sent {"connection_id":217835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:12:17] local.INFO: TCP Data received {"connection_id":216486,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:12:17] local.INFO: Processing buffer {"connection_id":216486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:12:17] local.INFO: IMEI packet received {"connection_id":216486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":216486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:12:21] local.INFO: TCP Data received {"connection_id":219564,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:12:21] local.INFO: Processing buffer {"connection_id":219564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:12:21] local.INFO: IMEI packet received {"connection_id":219564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":219564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:12:22] local.INFO: TCP Data received {"connection_id":216486,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:12:22] local.INFO: Processing buffer {"connection_id":216486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:12:22] local.INFO: IMEI packet received {"connection_id":216486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":216486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:12:23] local.INFO: TCP Data received {"connection_id":216486,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:12:23] local.INFO: Processing buffer {"connection_id":216486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422432d8012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:12:23] local.INFO: Packet analysis {"connection_id":216486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:12:23] local.INFO: Extracted packet for processing {"connection_id":216486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14224"} 
[2026-10-16 06:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780346880001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792111031000,"timestamp_ms":1792111031000,"timestamp_seconds":1792111031,"priority":1,"record_length":96,"hex_timestamp":"000001a1422432d8"} 
[2026-10-16 06:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780346880001,"66":25604,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780346880001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:12:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:12:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780346880001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":216486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:12:23] local.INFO: GPS data processed {"connection_id":216486,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:12:23] local.INFO: Acknowledgment sent {"connection_id":216486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:12:26] local.INFO: TCP Data received {"connection_id":219564,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:12:26] local.INFO: Processing buffer {"connection_id":219564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:12:26] local.INFO: IMEI packet received {"connection_id":219564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":219564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:12:27] local.INFO: TCP Data received {"connection_id":219564,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:12:27] local.INFO: Processing buffer {"connection_id":219564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:12:27] local.INFO: Packet analysis {"connection_id":219564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:12:27] local.INFO: Extracted packet for processing {"connection_id":219564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780367872001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111113000,"timestamp_ms":1792111113000,"timestamp_seconds":1792111113,"priority":1,"record_length":96,"hex_timestamp":"000001a142257328"} 
[2026-10-16 06:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780367872001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780367872001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:12:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780367872001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":219564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:12:27] local.INFO: GPS data processed {"connection_id":219564,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:12:27] local.INFO: Acknowledgment sent {"connection_id":219564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:12:55] local.INFO: TCP Data received {"connection_id":216486,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:12:55] local.INFO: Processing buffer {"connection_id":216486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:12:55] local.INFO: Packet analysis {"connection_id":216486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:12:55] local.INFO: Extracted packet for processing {"connection_id":216486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:12:55] 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-10-16 06:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:12:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:12:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":216486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:12:55] local.INFO: GPS data processed {"connection_id":216486,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:12:55] local.INFO: Acknowledgment sent {"connection_id":216486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:13:01] local.INFO: TCP Data received {"connection_id":219564,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:13:01] local.INFO: Processing buffer {"connection_id":219564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:13:01] local.INFO: Packet analysis {"connection_id":219564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:13:01] local.INFO: Extracted packet for processing {"connection_id":219564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780367872001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792111113000,"timestamp_ms":1792111113000,"timestamp_seconds":1792111113,"priority":1,"record_length":96,"hex_timestamp":"000001a142257328"} 
[2026-10-16 06:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:13:01] 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-10-16 06:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780367872001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780367872001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:13:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780367872001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":219564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:13:01] local.INFO: GPS data processed {"connection_id":219564,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:13:01] local.INFO: Acknowledgment sent {"connection_id":219564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:13:17] local.INFO: TCP Data received {"connection_id":217836,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:13:17] local.INFO: Processing buffer {"connection_id":217836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:13:17] local.INFO: IMEI packet received {"connection_id":217836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":217836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:13:21] local.INFO: TCP Data received {"connection_id":217837,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:13:21] local.INFO: Processing buffer {"connection_id":217837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:13:21] local.INFO: IMEI packet received {"connection_id":217837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":217837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:13:22] local.INFO: TCP Data received {"connection_id":217836,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:13:22] local.INFO: Processing buffer {"connection_id":217836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:13:22] local.INFO: IMEI packet received {"connection_id":217836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":217836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:13:24] local.INFO: TCP Data received {"connection_id":217836,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:13:24] local.INFO: Processing buffer {"connection_id":217836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:13:24] local.INFO: Packet analysis {"connection_id":217836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:13:24] local.INFO: Extracted packet for processing {"connection_id":217836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:13:24] 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-10-16 06:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:13:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:13:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":217836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:13:24] local.INFO: GPS data processed {"connection_id":217836,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:13:24] local.INFO: Acknowledgment sent {"connection_id":217836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:13:26] local.INFO: TCP Data received {"connection_id":217837,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:13:26] local.INFO: Processing buffer {"connection_id":217837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:13:26] local.INFO: IMEI packet received {"connection_id":217837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":217837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:13:27] local.INFO: TCP Data received {"connection_id":217837,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:13:27] local.INFO: Processing buffer {"connection_id":217837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142257328012d7c240005dad510000300ea1d..."} 
[2026-10-16 06:13:27] local.INFO: Packet analysis {"connection_id":217837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:13:27] local.INFO: Extracted packet for processing {"connection_id":217837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14225"} 
[2026-10-16 06:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780367872001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111113000,"timestamp_ms":1792111113000,"timestamp_seconds":1792111113,"priority":1,"record_length":96,"hex_timestamp":"000001a142257328"} 
[2026-10-16 06:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780367872001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780367872001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:13:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780367872001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":217837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:13:27] local.INFO: GPS data processed {"connection_id":217837,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:13:27] local.INFO: Acknowledgment sent {"connection_id":217837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:13:56] local.INFO: TCP Data received {"connection_id":217836,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:13:56] local.INFO: Processing buffer {"connection_id":217836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:13:56] local.INFO: Packet analysis {"connection_id":217836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:13:56] local.INFO: Extracted packet for processing {"connection_id":217836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:13:56] 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-10-16 06:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:13:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:13:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":217836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:13:56] local.INFO: GPS data processed {"connection_id":217836,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:13:56] local.INFO: Acknowledgment sent {"connection_id":217836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:13:56] local.INFO: TCP Data received {"connection_id":216296,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:13:56] local.INFO: Processing buffer {"connection_id":216296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:13:56] local.INFO: IMEI packet received {"connection_id":216296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":216296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:13:58] local.INFO: TCP Data received {"connection_id":217837,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:13:58] local.INFO: Processing buffer {"connection_id":217837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:13:58] local.INFO: Packet analysis {"connection_id":217837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:13:58] local.INFO: Extracted packet for processing {"connection_id":217837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:13: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-10-16 06:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780444928001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792111414000,"timestamp_ms":1792111414000,"timestamp_seconds":1792111414,"priority":1,"record_length":96,"hex_timestamp":"000001a1422a0af0"} 
[2026-10-16 06:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:13: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-10-16 06:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780444928001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780444928001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:13:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:13:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780444928001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":217837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:13:58] local.INFO: GPS data processed {"connection_id":217837,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:13:58] local.INFO: Acknowledgment sent {"connection_id":217837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:14:21] local.INFO: TCP Data received {"connection_id":216297,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:14:21] local.INFO: Processing buffer {"connection_id":216297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:14:21] local.INFO: IMEI packet received {"connection_id":216297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":216297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:14:22] local.INFO: TCP Data received {"connection_id":217838,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:14:22] local.INFO: Processing buffer {"connection_id":217838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:14:22] local.INFO: IMEI packet received {"connection_id":217838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":217838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:14:26] local.INFO: TCP Data received {"connection_id":216297,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:14:26] local.INFO: Processing buffer {"connection_id":216297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:14:26] local.INFO: IMEI packet received {"connection_id":216297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":216297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:14:27] local.INFO: TCP Data received {"connection_id":216297,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:14:27] local.INFO: Processing buffer {"connection_id":216297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:14:27] local.INFO: Packet analysis {"connection_id":216297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:14:27] local.INFO: Extracted packet for processing {"connection_id":216297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780444928001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111414000,"timestamp_ms":1792111414000,"timestamp_seconds":1792111414,"priority":1,"record_length":96,"hex_timestamp":"000001a1422a0af0"} 
[2026-10-16 06:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:14:27] 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-10-16 06:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780444928001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780444928001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:14:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780444928001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":216297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:14:27] local.INFO: GPS data processed {"connection_id":216297,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:14:27] local.INFO: Acknowledgment sent {"connection_id":216297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:14:27] local.INFO: TCP Data received {"connection_id":217838,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:14:27] local.INFO: Processing buffer {"connection_id":217838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:14:27] local.INFO: IMEI packet received {"connection_id":217838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":217838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:14:29] local.INFO: TCP Data received {"connection_id":217838,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:14:29] local.INFO: Processing buffer {"connection_id":217838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:14:29] local.INFO: Packet analysis {"connection_id":217838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:14:29] local.INFO: Extracted packet for processing {"connection_id":217838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:14:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:14:29] 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-10-16 06:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:14:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:14:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":217838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:14:29] local.INFO: GPS data processed {"connection_id":217838,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:14:29] local.INFO: Acknowledgment sent {"connection_id":217838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:14:33] local.INFO: TCP Data received {"connection_id":217838,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:14:33] local.INFO: Processing buffer {"connection_id":217838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:14:33] local.INFO: Packet analysis {"connection_id":217838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:14:33] local.INFO: Extracted packet for processing {"connection_id":217838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:14:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:14:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":217838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:14:33] local.INFO: GPS data processed {"connection_id":217838,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:14:33] local.INFO: Acknowledgment sent {"connection_id":217838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:15:01] local.INFO: TCP Data received {"connection_id":216297,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:15:01] local.INFO: Processing buffer {"connection_id":216297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:15:01] local.INFO: Packet analysis {"connection_id":216297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:15:01] local.INFO: Extracted packet for processing {"connection_id":216297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780444928001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792111414000,"timestamp_ms":1792111414000,"timestamp_seconds":1792111414,"priority":1,"record_length":96,"hex_timestamp":"000001a1422a0af0"} 
[2026-10-16 06:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:15:01] 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-10-16 06:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780444928001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780444928001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:15:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780444928001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":216297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:15:01] local.INFO: GPS data processed {"connection_id":216297,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:15:01] local.INFO: Acknowledgment sent {"connection_id":216297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:15:17] local.INFO: TCP Data received {"connection_id":216487,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:15:17] local.INFO: Processing buffer {"connection_id":216487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:15:17] local.INFO: IMEI packet received {"connection_id":216487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":216487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:15:21] local.INFO: TCP Data received {"connection_id":216488,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:15:21] local.INFO: Processing buffer {"connection_id":216488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:15:21] local.INFO: IMEI packet received {"connection_id":216488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":216488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:15:22] local.INFO: TCP Data received {"connection_id":216487,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:15:22] local.INFO: Processing buffer {"connection_id":216487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:15:22] local.INFO: IMEI packet received {"connection_id":216487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":216487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:15:23] local.INFO: TCP Data received {"connection_id":216487,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:15:23] local.INFO: Processing buffer {"connection_id":216487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:15:23] local.INFO: Packet analysis {"connection_id":216487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:15:23] local.INFO: Extracted packet for processing {"connection_id":216487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:15:23] 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-10-16 06:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:15:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:15:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":216487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:15:23] local.INFO: GPS data processed {"connection_id":216487,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:15:23] local.INFO: Acknowledgment sent {"connection_id":216487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:15:26] local.INFO: TCP Data received {"connection_id":216488,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:15:26] local.INFO: Processing buffer {"connection_id":216488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:15:26] local.INFO: IMEI packet received {"connection_id":216488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":216488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:15:27] local.INFO: TCP Data received {"connection_id":216488,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:15:27] local.INFO: Processing buffer {"connection_id":216488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:15:27] local.INFO: Packet analysis {"connection_id":216488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:15:27] local.INFO: Extracted packet for processing {"connection_id":216488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780444928001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111414000,"timestamp_ms":1792111414000,"timestamp_seconds":1792111414,"priority":1,"record_length":96,"hex_timestamp":"000001a1422a0af0"} 
[2026-10-16 06:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:15:27] 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-10-16 06:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780444928001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780444928001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:15:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780444928001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":216488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:15:27] local.INFO: GPS data processed {"connection_id":216488,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:15:27] local.INFO: Acknowledgment sent {"connection_id":216488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:15:54] local.INFO: TCP Data received {"connection_id":216487,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:15:54] local.INFO: Processing buffer {"connection_id":216487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:15:54] local.INFO: Packet analysis {"connection_id":216487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:15:54] local.INFO: Extracted packet for processing {"connection_id":216487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:15:54] 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-10-16 06:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:15:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:15:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":216487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:15:54] local.INFO: GPS data processed {"connection_id":216487,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:15:54] local.INFO: Acknowledgment sent {"connection_id":216487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:15:59] local.INFO: TCP Data received {"connection_id":216488,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:15:59] local.INFO: Processing buffer {"connection_id":216488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:15:59] local.INFO: Packet analysis {"connection_id":216488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:15:59] local.INFO: Extracted packet for processing {"connection_id":216488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780444928001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792111414000,"timestamp_ms":1792111414000,"timestamp_seconds":1792111414,"priority":1,"record_length":96,"hex_timestamp":"000001a1422a0af0"} 
[2026-10-16 06:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780444928001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780444928001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:15:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780444928001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":216488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:15:59] local.INFO: GPS data processed {"connection_id":216488,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:15:59] local.INFO: Acknowledgment sent {"connection_id":216488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:16:17] local.INFO: TCP Data received {"connection_id":216298,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:16:17] local.INFO: Processing buffer {"connection_id":216298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:16:17] local.INFO: IMEI packet received {"connection_id":216298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":216298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:16:21] local.INFO: TCP Data received {"connection_id":219566,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:16:21] local.INFO: Processing buffer {"connection_id":219566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:16:21] local.INFO: IMEI packet received {"connection_id":219566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":219566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:16:22] local.INFO: TCP Data received {"connection_id":216298,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:16:22] local.INFO: Processing buffer {"connection_id":216298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:16:22] local.INFO: IMEI packet received {"connection_id":216298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":216298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:16:24] local.INFO: TCP Data received {"connection_id":216298,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:16:24] local.INFO: Processing buffer {"connection_id":216298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:16:24] local.INFO: Packet analysis {"connection_id":216298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:16:24] local.INFO: Extracted packet for processing {"connection_id":216298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:16:24] 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-10-16 06: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-10-16 06:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:16:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:16:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":216298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:16:24] local.INFO: GPS data processed {"connection_id":216298,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:16:24] local.INFO: Acknowledgment sent {"connection_id":216298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:16:26] local.INFO: TCP Data received {"connection_id":219566,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:16:26] local.INFO: Processing buffer {"connection_id":219566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:16:26] local.INFO: IMEI packet received {"connection_id":219566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":219566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:16:31] local.INFO: TCP Data received {"connection_id":219566,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:16:31] local.INFO: Processing buffer {"connection_id":219566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:16:31] local.INFO: Packet analysis {"connection_id":219566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:16:31] local.INFO: Extracted packet for processing {"connection_id":219566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780444928001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792111414000,"timestamp_ms":1792111414000,"timestamp_seconds":1792111414,"priority":1,"record_length":96,"hex_timestamp":"000001a1422a0af0"} 
[2026-10-16 06:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780444928001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780444928001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:16:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:16:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780444928001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":219566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:16:31] local.INFO: GPS data processed {"connection_id":219566,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:16:31] local.INFO: Acknowledgment sent {"connection_id":219566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:16:55] local.INFO: TCP Data received {"connection_id":216298,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:16:55] local.INFO: Processing buffer {"connection_id":216298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:16:55] local.INFO: Packet analysis {"connection_id":216298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:16:55] local.INFO: Extracted packet for processing {"connection_id":216298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:16:55] 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-10-16 06:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:16:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:16:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":216298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:16:55] local.INFO: GPS data processed {"connection_id":216298,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:16:55] local.INFO: Acknowledgment sent {"connection_id":216298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:17:02] local.INFO: TCP Data received {"connection_id":219566,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:17:02] local.INFO: Processing buffer {"connection_id":219566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:17:02] local.INFO: Packet analysis {"connection_id":219566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:17:02] local.INFO: Extracted packet for processing {"connection_id":219566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780444928001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792111414000,"timestamp_ms":1792111414000,"timestamp_seconds":1792111414,"priority":1,"record_length":96,"hex_timestamp":"000001a1422a0af0"} 
[2026-10-16 06:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:17:02] 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-10-16 06:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":219566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":219566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":219566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780444928001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780444928001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:17:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780444928001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":219566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:17:02] local.INFO: GPS data processed {"connection_id":219566,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:17:02] local.INFO: Acknowledgment sent {"connection_id":219566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:17:21] local.INFO: TCP Data received {"connection_id":217841,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:17:21] local.INFO: Processing buffer {"connection_id":217841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:17:21] local.INFO: IMEI packet received {"connection_id":217841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":217841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:17:22] local.INFO: TCP Data received {"connection_id":217840,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:17:22] local.INFO: Processing buffer {"connection_id":217840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:17:22] local.INFO: IMEI packet received {"connection_id":217840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":217840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:17:26] local.INFO: TCP Data received {"connection_id":217841,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:17:26] local.INFO: Processing buffer {"connection_id":217841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:17:26] local.INFO: IMEI packet received {"connection_id":217841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":217841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:17:27] local.INFO: TCP Data received {"connection_id":217840,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:17:27] local.INFO: Processing buffer {"connection_id":217840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:17:27] local.INFO: IMEI packet received {"connection_id":217840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":217840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:17:27] local.INFO: TCP Data received {"connection_id":217840,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:17:27] local.INFO: Processing buffer {"connection_id":217840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:17:27] local.INFO: Packet analysis {"connection_id":217840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:17:27] local.INFO: Extracted packet for processing {"connection_id":217840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:17:27] 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-10-16 06: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-10-16 06:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:17:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:17:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":217840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:17:27] local.INFO: GPS data processed {"connection_id":217840,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:17:27] local.INFO: Acknowledgment sent {"connection_id":217840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:17:30] local.INFO: TCP Data received {"connection_id":217841,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:17:30] local.INFO: Processing buffer {"connection_id":217841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:17:30] local.INFO: Packet analysis {"connection_id":217841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:17:30] local.INFO: Extracted packet for processing {"connection_id":217841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780444928001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792111414000,"timestamp_ms":1792111414000,"timestamp_seconds":1792111414,"priority":1,"record_length":96,"hex_timestamp":"000001a1422a0af0"} 
[2026-10-16 06:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:17: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-10-16 06:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780444928001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780444928001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:17:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780444928001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":217841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:17:30] local.INFO: GPS data processed {"connection_id":217841,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:17:30] local.INFO: Acknowledgment sent {"connection_id":217841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:17:33] local.INFO: TCP Data received {"connection_id":217840,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:17:33] local.INFO: Processing buffer {"connection_id":217840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14228caa0012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:17:33] local.INFO: Packet analysis {"connection_id":217840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:17:33] local.INFO: Extracted packet for processing {"connection_id":217840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14228"} 
[2026-10-16 06:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780423936001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792111332000,"timestamp_ms":1792111332000,"timestamp_seconds":1792111332,"priority":1,"record_length":96,"hex_timestamp":"000001a14228caa0"} 
[2026-10-16 06:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 06:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780423936001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780423936001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:17:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:17:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780423936001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":217840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:17:33] local.INFO: GPS data processed {"connection_id":217840,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:17:33] local.INFO: Acknowledgment sent {"connection_id":217840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:18:01] local.INFO: TCP Data received {"connection_id":217841,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:18:01] local.INFO: Processing buffer {"connection_id":217841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:18:01] local.INFO: Packet analysis {"connection_id":217841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:18:01] local.INFO: Extracted packet for processing {"connection_id":217841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780444928001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792111414000,"timestamp_ms":1792111414000,"timestamp_seconds":1792111414,"priority":1,"record_length":96,"hex_timestamp":"000001a1422a0af0"} 
[2026-10-16 06:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:18:01] 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-10-16 06:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780444928001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780444928001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:18:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780444928001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":217841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:18:01] local.INFO: GPS data processed {"connection_id":217841,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:18:01] local.INFO: Acknowledgment sent {"connection_id":217841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:18:17] local.INFO: TCP Data received {"connection_id":219567,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:18:17] local.INFO: Processing buffer {"connection_id":219567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:18:17] local.INFO: IMEI packet received {"connection_id":219567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":219567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:18:21] local.INFO: TCP Data received {"connection_id":217842,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:18:21] local.INFO: Processing buffer {"connection_id":217842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:18:21] local.INFO: IMEI packet received {"connection_id":217842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":217842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:18:22] local.INFO: TCP Data received {"connection_id":219567,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:18:22] local.INFO: Processing buffer {"connection_id":219567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:18:22] local.INFO: IMEI packet received {"connection_id":219567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":219567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:18:24] local.INFO: TCP Data received {"connection_id":219567,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:18:24] local.INFO: Processing buffer {"connection_id":219567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:18:24] local.INFO: Packet analysis {"connection_id":219567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:18:24] local.INFO: Extracted packet for processing {"connection_id":219567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780500992001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792111633000,"timestamp_ms":1792111633000,"timestamp_seconds":1792111633,"priority":1,"record_length":96,"hex_timestamp":"000001a1422d6268"} 
[2026-10-16 06:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780500992001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780500992001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:18:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:18:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780500992001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":219567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:18:24] local.INFO: GPS data processed {"connection_id":219567,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:18:24] local.INFO: Acknowledgment sent {"connection_id":219567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:18:26] local.INFO: TCP Data received {"connection_id":217842,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:18:26] local.INFO: Processing buffer {"connection_id":217842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:18:26] local.INFO: IMEI packet received {"connection_id":217842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":217842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:18:27] local.INFO: TCP Data received {"connection_id":217842,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:18:27] local.INFO: Processing buffer {"connection_id":217842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422a0af0012d7c240005dad510000300ea26..."} 
[2026-10-16 06:18:27] local.INFO: Packet analysis {"connection_id":217842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:18:27] local.INFO: Extracted packet for processing {"connection_id":217842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422a"} 
[2026-10-16 06:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":3,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780444928001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111414000,"timestamp_ms":1792111414000,"timestamp_seconds":1792111414,"priority":1,"record_length":96,"hex_timestamp":"000001a1422a0af0"} 
[2026-10-16 06:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:18:27] 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-10-16 06:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780444928001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780444928001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:18:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780444928001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":217842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:18:27] local.INFO: GPS data processed {"connection_id":217842,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:18:27] local.INFO: Acknowledgment sent {"connection_id":217842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:18:57] local.INFO: TCP Data received {"connection_id":219567,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:18:57] local.INFO: Processing buffer {"connection_id":219567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:18:57] local.INFO: Packet analysis {"connection_id":219567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:18:57] local.INFO: Extracted packet for processing {"connection_id":219567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780500992001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792111633000,"timestamp_ms":1792111633000,"timestamp_seconds":1792111633,"priority":1,"record_length":96,"hex_timestamp":"000001a1422d6268"} 
[2026-10-16 06:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780500992001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780500992001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:18:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:18:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780500992001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":219567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:18:57] local.INFO: GPS data processed {"connection_id":219567,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:18:57] local.INFO: Acknowledgment sent {"connection_id":219567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:18:58] local.INFO: TCP Data received {"connection_id":217842,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:18:58] local.INFO: Processing buffer {"connection_id":217842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:18:58] local.INFO: Packet analysis {"connection_id":217842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:18:58] local.INFO: Extracted packet for processing {"connection_id":217842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780521984001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792111714000,"timestamp_ms":1792111714000,"timestamp_seconds":1792111714,"priority":1,"record_length":96,"hex_timestamp":"000001a1422e9ed0"} 
[2026-10-16 06:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780521984001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780521984001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:18:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780521984001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":217842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:18:58] local.INFO: GPS data processed {"connection_id":217842,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:18:58] local.INFO: Acknowledgment sent {"connection_id":217842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:19:17] local.INFO: TCP Data received {"connection_id":219568,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:19:17] local.INFO: Processing buffer {"connection_id":219568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:19:17] local.INFO: IMEI packet received {"connection_id":219568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":219568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:19:21] local.INFO: TCP Data received {"connection_id":219569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:19:21] local.INFO: Processing buffer {"connection_id":219569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:19:21] local.INFO: IMEI packet received {"connection_id":219569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":219569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:19:22] local.INFO: TCP Data received {"connection_id":219568,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:19:22] local.INFO: Processing buffer {"connection_id":219568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:19:22] local.INFO: IMEI packet received {"connection_id":219568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":219568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:19:24] local.INFO: TCP Data received {"connection_id":219568,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:19:24] local.INFO: Processing buffer {"connection_id":219568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:19:24] local.INFO: Packet analysis {"connection_id":219568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:19:24] local.INFO: Extracted packet for processing {"connection_id":219568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780500992001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792111633000,"timestamp_ms":1792111633000,"timestamp_seconds":1792111633,"priority":1,"record_length":96,"hex_timestamp":"000001a1422d6268"} 
[2026-10-16 06:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780500992001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780500992001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:19:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:19:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780500992001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":219568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:19:24] local.INFO: GPS data processed {"connection_id":219568,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:19:24] local.INFO: Acknowledgment sent {"connection_id":219568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:19:26] local.INFO: TCP Data received {"connection_id":219569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:19:26] local.INFO: Processing buffer {"connection_id":219569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:19:26] local.INFO: IMEI packet received {"connection_id":219569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":219569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:19:27] local.INFO: TCP Data received {"connection_id":216491,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:19:27] local.INFO: Processing buffer {"connection_id":216491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:19:27] local.INFO: IMEI packet received {"connection_id":216491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":216491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:19:27] local.INFO: TCP Data received {"connection_id":219569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:19:27] local.INFO: Processing buffer {"connection_id":219569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:19:27] local.INFO: Packet analysis {"connection_id":219569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:19:27] local.INFO: Extracted packet for processing {"connection_id":219569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780521984001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111714000,"timestamp_ms":1792111714000,"timestamp_seconds":1792111714,"priority":1,"record_length":96,"hex_timestamp":"000001a1422e9ed0"} 
[2026-10-16 06:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:19:27] 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-10-16 06:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:19: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-10-16 06:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780521984001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780521984001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:19:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780521984001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":219569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:19:27] local.INFO: GPS data processed {"connection_id":219569,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:19:27] local.INFO: Acknowledgment sent {"connection_id":219569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:19:52] local.INFO: TCP Data received {"connection_id":216299,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:19:52] local.INFO: Processing buffer {"connection_id":216299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:19:52] local.INFO: IMEI packet received {"connection_id":216299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":216299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:19:55] local.INFO: TCP Data received {"connection_id":219568,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:19:55] local.INFO: Processing buffer {"connection_id":219568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:19:55] local.INFO: Packet analysis {"connection_id":219568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:19:55] local.INFO: Extracted packet for processing {"connection_id":219568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780500992001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792111633000,"timestamp_ms":1792111633000,"timestamp_seconds":1792111633,"priority":1,"record_length":96,"hex_timestamp":"000001a1422d6268"} 
[2026-10-16 06:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780500992001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780500992001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:19:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:19:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780500992001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":219568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:19:55] local.INFO: GPS data processed {"connection_id":219568,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:19:55] local.INFO: Acknowledgment sent {"connection_id":219568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:19:58] local.INFO: TCP Data received {"connection_id":219569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:19:58] local.INFO: Processing buffer {"connection_id":219569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:19:58] local.INFO: Packet analysis {"connection_id":219569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:19:58] local.INFO: Extracted packet for processing {"connection_id":219569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780521984001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792111714000,"timestamp_ms":1792111714000,"timestamp_seconds":1792111714,"priority":1,"record_length":96,"hex_timestamp":"000001a1422e9ed0"} 
[2026-10-16 06:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:19: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-10-16 06:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780521984001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780521984001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:19:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:19:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780521984001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":219569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:19:59] local.INFO: GPS data processed {"connection_id":219569,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:19:59] local.INFO: Acknowledgment sent {"connection_id":219569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:20:21] local.INFO: TCP Data received {"connection_id":216300,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:20:21] local.INFO: Processing buffer {"connection_id":216300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:20:21] local.INFO: IMEI packet received {"connection_id":216300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":216300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:20:22] local.INFO: TCP Data received {"connection_id":216492,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:20:22] local.INFO: Processing buffer {"connection_id":216492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:20:22] local.INFO: IMEI packet received {"connection_id":216492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":216492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:20:26] local.INFO: TCP Data received {"connection_id":216300,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:20:26] local.INFO: Processing buffer {"connection_id":216300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:20:26] local.INFO: IMEI packet received {"connection_id":216300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":216300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:20:27] local.INFO: TCP Data received {"connection_id":216300,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:20:27] local.INFO: Processing buffer {"connection_id":216300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:20:27] local.INFO: Packet analysis {"connection_id":216300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:20:27] local.INFO: Extracted packet for processing {"connection_id":216300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780521984001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111714000,"timestamp_ms":1792111714000,"timestamp_seconds":1792111714,"priority":1,"record_length":96,"hex_timestamp":"000001a1422e9ed0"} 
[2026-10-16 06:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:20:27] 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-10-16 06:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:20: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-10-16 06:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780521984001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780521984001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:20:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780521984001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":216300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:20:27] local.INFO: GPS data processed {"connection_id":216300,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:20:27] local.INFO: Acknowledgment sent {"connection_id":216300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:20:27] local.INFO: TCP Data received {"connection_id":216492,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:20:27] local.INFO: Processing buffer {"connection_id":216492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:20:27] local.INFO: IMEI packet received {"connection_id":216492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":216492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:20:28] local.INFO: TCP Data received {"connection_id":216492,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:20:28] local.INFO: Processing buffer {"connection_id":216492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:20:28] local.INFO: Packet analysis {"connection_id":216492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:20:28] local.INFO: Extracted packet for processing {"connection_id":216492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780500992001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792111633000,"timestamp_ms":1792111633000,"timestamp_seconds":1792111633,"priority":1,"record_length":96,"hex_timestamp":"000001a1422d6268"} 
[2026-10-16 06:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780500992001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780500992001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:20:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:20:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780500992001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":216492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:20:28] local.INFO: GPS data processed {"connection_id":216492,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:20:28] local.INFO: Acknowledgment sent {"connection_id":216492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:20:33] local.INFO: TCP Data received {"connection_id":216492,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:20:33] local.INFO: Processing buffer {"connection_id":216492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:20:33] local.INFO: Packet analysis {"connection_id":216492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:20:33] local.INFO: Extracted packet for processing {"connection_id":216492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780500992001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792111633000,"timestamp_ms":1792111633000,"timestamp_seconds":1792111633,"priority":1,"record_length":96,"hex_timestamp":"000001a1422d6268"} 
[2026-10-16 06:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780500992001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780500992001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:20:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:20:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780500992001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":216492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:20:33] local.INFO: GPS data processed {"connection_id":216492,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:20:33] local.INFO: Acknowledgment sent {"connection_id":216492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:20:58] local.INFO: TCP Data received {"connection_id":216300,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:20:58] local.INFO: Processing buffer {"connection_id":216300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:20:58] local.INFO: Packet analysis {"connection_id":216300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:20:58] local.INFO: Extracted packet for processing {"connection_id":216300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780521984001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792111714000,"timestamp_ms":1792111714000,"timestamp_seconds":1792111714,"priority":1,"record_length":96,"hex_timestamp":"000001a1422e9ed0"} 
[2026-10-16 06:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:20:58] 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-10-16 06:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780521984001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780521984001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:20:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780521984001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":216300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:20:58] local.INFO: GPS data processed {"connection_id":216300,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:20:58] local.INFO: Acknowledgment sent {"connection_id":216300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:21:18] local.INFO: TCP Data received {"connection_id":219570,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:21:18] local.INFO: Processing buffer {"connection_id":219570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:21:18] local.INFO: IMEI packet received {"connection_id":219570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":219570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:21:21] local.INFO: TCP Data received {"connection_id":216493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:21:21] local.INFO: Processing buffer {"connection_id":216493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:21:21] local.INFO: IMEI packet received {"connection_id":216493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":216493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:21:22] local.INFO: TCP Data received {"connection_id":219570,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:21:22] local.INFO: Processing buffer {"connection_id":219570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:21:22] local.INFO: IMEI packet received {"connection_id":219570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":219570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:21:23] local.INFO: TCP Data received {"connection_id":219570,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:21:23] local.INFO: Processing buffer {"connection_id":219570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:21:23] local.INFO: Packet analysis {"connection_id":219570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:21:23] local.INFO: Extracted packet for processing {"connection_id":219570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780500992001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792111633000,"timestamp_ms":1792111633000,"timestamp_seconds":1792111633,"priority":1,"record_length":96,"hex_timestamp":"000001a1422d6268"} 
[2026-10-16 06:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780500992001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780500992001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:21:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:21:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780500992001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":219570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:21:23] local.INFO: GPS data processed {"connection_id":219570,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:21:23] local.INFO: Acknowledgment sent {"connection_id":219570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:21:26] local.INFO: TCP Data received {"connection_id":216493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:21:26] local.INFO: Processing buffer {"connection_id":216493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:21:26] local.INFO: IMEI packet received {"connection_id":216493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":216493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:21:27] local.INFO: TCP Data received {"connection_id":216493,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:21:27] local.INFO: Processing buffer {"connection_id":216493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:21:27] local.INFO: Packet analysis {"connection_id":216493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:21:27] local.INFO: Extracted packet for processing {"connection_id":216493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780521984001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111714000,"timestamp_ms":1792111714000,"timestamp_seconds":1792111714,"priority":1,"record_length":96,"hex_timestamp":"000001a1422e9ed0"} 
[2026-10-16 06:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:21:27] 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-10-16 06:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:21: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-10-16 06:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780521984001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780521984001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:21:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780521984001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":216493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:21:27] local.INFO: GPS data processed {"connection_id":216493,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:21:27] local.INFO: Acknowledgment sent {"connection_id":216493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:21:55] local.INFO: TCP Data received {"connection_id":219570,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:21:55] local.INFO: Processing buffer {"connection_id":219570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:21:55] local.INFO: Packet analysis {"connection_id":219570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:21:55] local.INFO: Extracted packet for processing {"connection_id":219570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780500992001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792111633000,"timestamp_ms":1792111633000,"timestamp_seconds":1792111633,"priority":1,"record_length":96,"hex_timestamp":"000001a1422d6268"} 
[2026-10-16 06:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780500992001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780500992001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:21:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:21:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780500992001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":219570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:21:55] local.INFO: GPS data processed {"connection_id":219570,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:21:55] local.INFO: Acknowledgment sent {"connection_id":219570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:21:58] local.INFO: TCP Data received {"connection_id":216493,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:21:58] local.INFO: Processing buffer {"connection_id":216493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:21:58] local.INFO: Packet analysis {"connection_id":216493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:21:58] local.INFO: Extracted packet for processing {"connection_id":216493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780521984001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792111714000,"timestamp_ms":1792111714000,"timestamp_seconds":1792111714,"priority":1,"record_length":96,"hex_timestamp":"000001a1422e9ed0"} 
[2026-10-16 06:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:21: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-10-16 06:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780521984001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780521984001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:21:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:21:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780521984001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":216493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:21:58] local.INFO: GPS data processed {"connection_id":216493,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:21:58] local.INFO: Acknowledgment sent {"connection_id":216493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:22:17] local.INFO: TCP Data received {"connection_id":217844,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:22:17] local.INFO: Processing buffer {"connection_id":217844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:22:17] local.INFO: IMEI packet received {"connection_id":217844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":217844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:22:21] local.INFO: TCP Data received {"connection_id":216495,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:22:21] local.INFO: Processing buffer {"connection_id":216495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:22:21] local.INFO: IMEI packet received {"connection_id":216495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":216495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:22:22] local.INFO: TCP Data received {"connection_id":217844,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:22:22] local.INFO: Processing buffer {"connection_id":217844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:22:22] local.INFO: IMEI packet received {"connection_id":217844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":217844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:22:23] local.INFO: TCP Data received {"connection_id":217844,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:22:23] local.INFO: Processing buffer {"connection_id":217844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422d6268012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:22:23] local.INFO: Packet analysis {"connection_id":217844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:22:23] local.INFO: Extracted packet for processing {"connection_id":217844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422d"} 
[2026-10-16 06:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780500992001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792111633000,"timestamp_ms":1792111633000,"timestamp_seconds":1792111633,"priority":1,"record_length":96,"hex_timestamp":"000001a1422d6268"} 
[2026-10-16 06:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780500992001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780500992001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:22:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:22:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780500992001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":217844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:22:23] local.INFO: GPS data processed {"connection_id":217844,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:22:23] local.INFO: Acknowledgment sent {"connection_id":217844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:22:26] local.INFO: TCP Data received {"connection_id":216495,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:22:26] local.INFO: Processing buffer {"connection_id":216495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:22:26] local.INFO: IMEI packet received {"connection_id":216495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":216495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:22:27] local.INFO: TCP Data received {"connection_id":216495,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:22:27] local.INFO: Processing buffer {"connection_id":216495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:22:27] local.INFO: Packet analysis {"connection_id":216495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:22:27] local.INFO: Extracted packet for processing {"connection_id":216495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780521984001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111714000,"timestamp_ms":1792111714000,"timestamp_seconds":1792111714,"priority":1,"record_length":96,"hex_timestamp":"000001a1422e9ed0"} 
[2026-10-16 06:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:22:27] 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-10-16 06:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:22: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-10-16 06:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780521984001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780521984001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:22:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780521984001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":216495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:22:27] local.INFO: GPS data processed {"connection_id":216495,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:22:27] local.INFO: Acknowledgment sent {"connection_id":216495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:22:55] local.INFO: TCP Data received {"connection_id":217844,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:22:55] local.INFO: Processing buffer {"connection_id":217844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:22:55] local.INFO: Packet analysis {"connection_id":217844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:22:55] local.INFO: Extracted packet for processing {"connection_id":217844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:22:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:22:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":217844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:22:55] local.INFO: GPS data processed {"connection_id":217844,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:22:55] local.INFO: Acknowledgment sent {"connection_id":217844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:22:58] local.INFO: TCP Data received {"connection_id":216495,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:22:58] local.INFO: Processing buffer {"connection_id":216495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:22:58] local.INFO: Packet analysis {"connection_id":216495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:22:58] local.INFO: Extracted packet for processing {"connection_id":216495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780521984001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792111714000,"timestamp_ms":1792111714000,"timestamp_seconds":1792111714,"priority":1,"record_length":96,"hex_timestamp":"000001a1422e9ed0"} 
[2026-10-16 06:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:22: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-10-16 06:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780521984001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780521984001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:22:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780521984001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":216495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:22:58] local.INFO: GPS data processed {"connection_id":216495,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:22:58] local.INFO: Acknowledgment sent {"connection_id":216495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:23:21] local.INFO: TCP Data received {"connection_id":216303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:23:21] local.INFO: Processing buffer {"connection_id":216303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:23:21] local.INFO: IMEI packet received {"connection_id":216303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:23:22] local.INFO: TCP Data received {"connection_id":216302,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:23:22] local.INFO: Processing buffer {"connection_id":216302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:23:22] local.INFO: IMEI packet received {"connection_id":216302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":216302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:23:26] local.INFO: TCP Data received {"connection_id":216303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:23:26] local.INFO: Processing buffer {"connection_id":216303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:23:26] local.INFO: IMEI packet received {"connection_id":216303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":216303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:23:27] local.INFO: TCP Data received {"connection_id":216302,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:23:27] local.INFO: Processing buffer {"connection_id":216302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:23:27] local.INFO: IMEI packet received {"connection_id":216302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":216302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:23:28] local.INFO: TCP Data received {"connection_id":216302,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:23:28] local.INFO: Processing buffer {"connection_id":216302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:23:28] local.INFO: Packet analysis {"connection_id":216302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:23:28] local.INFO: Extracted packet for processing {"connection_id":216302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:23:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:23:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":216302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:23:28] local.INFO: GPS data processed {"connection_id":216302,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:23:28] local.INFO: Acknowledgment sent {"connection_id":216302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:23:29] local.INFO: TCP Data received {"connection_id":216303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:23:29] local.INFO: Processing buffer {"connection_id":216303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1422e9ed0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:23:29] local.INFO: Packet analysis {"connection_id":216303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:23:29] local.INFO: Extracted packet for processing {"connection_id":216303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1422e"} 
[2026-10-16 06:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780521984001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792111714000,"timestamp_ms":1792111714000,"timestamp_seconds":1792111714,"priority":1,"record_length":96,"hex_timestamp":"000001a1422e9ed0"} 
[2026-10-16 06:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780521984001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780521984001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:23:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780521984001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":216303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:23:29] local.INFO: GPS data processed {"connection_id":216303,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:23:29] local.INFO: Acknowledgment sent {"connection_id":216303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:23:33] local.INFO: TCP Data received {"connection_id":216302,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:23:33] local.INFO: Processing buffer {"connection_id":216302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:23:33] local.INFO: Packet analysis {"connection_id":216302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:23:33] local.INFO: Extracted packet for processing {"connection_id":216302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:23:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":216302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:23:33] local.INFO: GPS data processed {"connection_id":216302,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:23:33] local.INFO: Acknowledgment sent {"connection_id":216302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:24:00] local.INFO: TCP Data received {"connection_id":216303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:24:00] local.INFO: Processing buffer {"connection_id":216303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:24:00] local.INFO: Packet analysis {"connection_id":216303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:24:00] local.INFO: Extracted packet for processing {"connection_id":216303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780598784001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792112015000,"timestamp_ms":1792112015000,"timestamp_seconds":1792112015,"priority":1,"record_length":96,"hex_timestamp":"000001a142333698"} 
[2026-10-16 06:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:24:00] 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-10-16 06:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780598784001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780598784001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:24:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780598784001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":216303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:24:00] local.INFO: GPS data processed {"connection_id":216303,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:24:00] local.INFO: Acknowledgment sent {"connection_id":216303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:24:18] local.INFO: TCP Data received {"connection_id":217845,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:24:18] local.INFO: Processing buffer {"connection_id":217845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:24:18] local.INFO: IMEI packet received {"connection_id":217845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":217845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:24:22] local.INFO: TCP Data received {"connection_id":217845,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:24:22] local.INFO: Processing buffer {"connection_id":217845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:24:22] local.INFO: IMEI packet received {"connection_id":217845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":217845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:24:23] local.INFO: TCP Data received {"connection_id":217845,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:24:23] local.INFO: Processing buffer {"connection_id":217845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:24:23] local.INFO: Packet analysis {"connection_id":217845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:24:23] local.INFO: Extracted packet for processing {"connection_id":217845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:24:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:24:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":217845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:24:23] local.INFO: GPS data processed {"connection_id":217845,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:24:23] local.INFO: Acknowledgment sent {"connection_id":217845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:24:26] local.INFO: TCP Data received {"connection_id":217846,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:24:26] local.INFO: Processing buffer {"connection_id":217846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:24:26] local.INFO: IMEI packet received {"connection_id":217846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":217846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:24:31] local.INFO: TCP Data received {"connection_id":217846,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:24:31] local.INFO: Processing buffer {"connection_id":217846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:24:31] local.INFO: IMEI packet received {"connection_id":217846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":217846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:24:32] local.INFO: TCP Data received {"connection_id":217846,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:24:32] local.INFO: Processing buffer {"connection_id":217846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:24:32] local.INFO: Packet analysis {"connection_id":217846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:24:32] local.INFO: Extracted packet for processing {"connection_id":217846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780598784001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792112015000,"timestamp_ms":1792112015000,"timestamp_seconds":1792112015,"priority":1,"record_length":96,"hex_timestamp":"000001a142333698"} 
[2026-10-16 06:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:24:32] 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-10-16 06:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780598784001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780598784001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:24:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780598784001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":217846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:24:32] local.INFO: GPS data processed {"connection_id":217846,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:24:32] local.INFO: Acknowledgment sent {"connection_id":217846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:24:37] local.INFO: TCP Data received {"connection_id":217846,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:24:37] local.INFO: Processing buffer {"connection_id":217846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:24:37] local.INFO: Packet analysis {"connection_id":217846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:24:37] local.INFO: Extracted packet for processing {"connection_id":217846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780598784001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792112015000,"timestamp_ms":1792112015000,"timestamp_seconds":1792112015,"priority":1,"record_length":96,"hex_timestamp":"000001a142333698"} 
[2026-10-16 06:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:24: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-10-16 06: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-10-16 06:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:24:37] 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-10-16 06:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780598784001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780598784001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:24:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780598784001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":217846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:24:37] local.INFO: GPS data processed {"connection_id":217846,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:24:37] local.INFO: Acknowledgment sent {"connection_id":217846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:24:55] local.INFO: TCP Data received {"connection_id":217845,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:24:55] local.INFO: Processing buffer {"connection_id":217845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:24:55] local.INFO: Packet analysis {"connection_id":217845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:24:55] local.INFO: Extracted packet for processing {"connection_id":217845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:24:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:24:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":217845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:24:55] local.INFO: GPS data processed {"connection_id":217845,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:24:55] local.INFO: Acknowledgment sent {"connection_id":217845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:25:17] local.INFO: TCP Data received {"connection_id":219571,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:25:17] local.INFO: Processing buffer {"connection_id":219571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:25:17] local.INFO: IMEI packet received {"connection_id":219571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":219571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:25:21] local.INFO: TCP Data received {"connection_id":216304,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:25:21] local.INFO: Processing buffer {"connection_id":216304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:25:21] local.INFO: IMEI packet received {"connection_id":216304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":216304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:25:22] local.INFO: TCP Data received {"connection_id":219571,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:25:22] local.INFO: Processing buffer {"connection_id":219571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:25:22] local.INFO: IMEI packet received {"connection_id":219571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":219571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:25:24] local.INFO: TCP Data received {"connection_id":219571,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:25:24] local.INFO: Processing buffer {"connection_id":219571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:25:24] local.INFO: Packet analysis {"connection_id":219571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:25:24] local.INFO: Extracted packet for processing {"connection_id":219571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:25:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:25:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":219571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:25:24] local.INFO: GPS data processed {"connection_id":219571,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:25:24] local.INFO: Acknowledgment sent {"connection_id":219571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:25:26] local.INFO: TCP Data received {"connection_id":216304,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:25:26] local.INFO: Processing buffer {"connection_id":216304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:25:26] local.INFO: IMEI packet received {"connection_id":216304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":216304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:25:27] local.INFO: TCP Data received {"connection_id":216304,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:25:27] local.INFO: Processing buffer {"connection_id":216304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:25:27] local.INFO: Packet analysis {"connection_id":216304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:25:27] local.INFO: Extracted packet for processing {"connection_id":216304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780598784001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112015000,"timestamp_ms":1792112015000,"timestamp_seconds":1792112015,"priority":1,"record_length":96,"hex_timestamp":"000001a142333698"} 
[2026-10-16 06:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780598784001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780598784001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:25:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780598784001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":216304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:25:27] local.INFO: GPS data processed {"connection_id":216304,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:25:27] local.INFO: Acknowledgment sent {"connection_id":216304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:25:51] local.INFO: TCP Data received {"connection_id":216498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:25:51] local.INFO: Processing buffer {"connection_id":216498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:25:51] local.INFO: IMEI packet received {"connection_id":216498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":216498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:25:56] local.INFO: TCP Data received {"connection_id":219571,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:25:56] local.INFO: Processing buffer {"connection_id":219571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:25:56] local.INFO: Packet analysis {"connection_id":219571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:25:56] local.INFO: Extracted packet for processing {"connection_id":219571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:25:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:25:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":219571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:25:56] local.INFO: GPS data processed {"connection_id":219571,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:25:56] local.INFO: Acknowledgment sent {"connection_id":219571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:25:58] local.INFO: TCP Data received {"connection_id":216304,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:25:58] local.INFO: Processing buffer {"connection_id":216304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:25:58] local.INFO: Packet analysis {"connection_id":216304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:25:58] local.INFO: Extracted packet for processing {"connection_id":216304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780598784001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792112015000,"timestamp_ms":1792112015000,"timestamp_seconds":1792112015,"priority":1,"record_length":96,"hex_timestamp":"000001a142333698"} 
[2026-10-16 06:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:25:58] 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-10-16 06:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780598784001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780598784001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:25:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:25:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780598784001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":216304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:25:58] local.INFO: GPS data processed {"connection_id":216304,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:25:58] local.INFO: Acknowledgment sent {"connection_id":216304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:26:17] local.INFO: TCP Data received {"connection_id":216305,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:26:17] local.INFO: Processing buffer {"connection_id":216305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:26:17] local.INFO: IMEI packet received {"connection_id":216305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":216305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:26:21] local.INFO: TCP Data received {"connection_id":219572,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:26:21] local.INFO: Processing buffer {"connection_id":219572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:26:21] local.INFO: IMEI packet received {"connection_id":219572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":219572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:26:22] local.INFO: TCP Data received {"connection_id":216305,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:26:22] local.INFO: Processing buffer {"connection_id":216305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:26:22] local.INFO: IMEI packet received {"connection_id":216305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":216305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:26:23] local.INFO: TCP Data received {"connection_id":216305,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:26:23] local.INFO: Processing buffer {"connection_id":216305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:26:23] local.INFO: Packet analysis {"connection_id":216305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:26:23] local.INFO: Extracted packet for processing {"connection_id":216305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:26:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:26:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:26:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":216305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:26:23] local.INFO: GPS data processed {"connection_id":216305,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:26:23] local.INFO: Acknowledgment sent {"connection_id":216305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:26:26] local.INFO: TCP Data received {"connection_id":219572,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:26:26] local.INFO: Processing buffer {"connection_id":219572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:26:26] local.INFO: IMEI packet received {"connection_id":219572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":219572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:26:27] local.INFO: TCP Data received {"connection_id":219572,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:26:27] local.INFO: Processing buffer {"connection_id":219572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:26:27] local.INFO: Packet analysis {"connection_id":219572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:26:27] local.INFO: Extracted packet for processing {"connection_id":219572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780598784001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112015000,"timestamp_ms":1792112015000,"timestamp_seconds":1792112015,"priority":1,"record_length":96,"hex_timestamp":"000001a142333698"} 
[2026-10-16 06:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780598784001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780598784001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:26:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780598784001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":219572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:26:27] local.INFO: GPS data processed {"connection_id":219572,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:26:27] local.INFO: Acknowledgment sent {"connection_id":219572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:26:51] local.INFO: TCP Data received {"connection_id":216499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:26:51] local.INFO: Processing buffer {"connection_id":216499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:26:51] local.INFO: IMEI packet received {"connection_id":216499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":216499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:26:55] local.INFO: TCP Data received {"connection_id":216305,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:26:55] local.INFO: Processing buffer {"connection_id":216305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:26:55] local.INFO: Packet analysis {"connection_id":216305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:26:55] local.INFO: Extracted packet for processing {"connection_id":216305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:26:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:26:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":216305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:26:55] local.INFO: GPS data processed {"connection_id":216305,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:26:55] local.INFO: Acknowledgment sent {"connection_id":216305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:26:58] local.INFO: TCP Data received {"connection_id":219572,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:26:58] local.INFO: Processing buffer {"connection_id":219572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:26:58] local.INFO: Packet analysis {"connection_id":219572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:26:58] local.INFO: Extracted packet for processing {"connection_id":219572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780598784001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792112015000,"timestamp_ms":1792112015000,"timestamp_seconds":1792112015,"priority":1,"record_length":96,"hex_timestamp":"000001a142333698"} 
[2026-10-16 06:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:26:58] 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-10-16 06:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780598784001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780598784001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:26:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780598784001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":219572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:26:58] local.INFO: GPS data processed {"connection_id":219572,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:26:58] local.INFO: Acknowledgment sent {"connection_id":219572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:27:21] local.INFO: TCP Data received {"connection_id":216500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:27:21] local.INFO: Processing buffer {"connection_id":216500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:27:21] local.INFO: IMEI packet received {"connection_id":216500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":216500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:27:22] local.INFO: TCP Data received {"connection_id":216306,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:27:22] local.INFO: Processing buffer {"connection_id":216306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:27:22] local.INFO: IMEI packet received {"connection_id":216306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":216306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:27:26] local.INFO: TCP Data received {"connection_id":216500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:27:26] local.INFO: Processing buffer {"connection_id":216500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:27:26] local.INFO: IMEI packet received {"connection_id":216500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":216500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:27:27] local.INFO: TCP Data received {"connection_id":216306,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:27:27] local.INFO: Processing buffer {"connection_id":216306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:27:27] local.INFO: IMEI packet received {"connection_id":216306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":216306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:27:27] local.INFO: TCP Data received {"connection_id":216500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:27:27] local.INFO: Processing buffer {"connection_id":216500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:27:27] local.INFO: Packet analysis {"connection_id":216500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:27:27] local.INFO: Extracted packet for processing {"connection_id":216500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780598784001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112015000,"timestamp_ms":1792112015000,"timestamp_seconds":1792112015,"priority":1,"record_length":96,"hex_timestamp":"000001a142333698"} 
[2026-10-16 06:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:27: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-10-16 06:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780598784001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780598784001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:27:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780598784001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":216500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:27:27] local.INFO: GPS data processed {"connection_id":216500,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:27:27] local.INFO: Acknowledgment sent {"connection_id":216500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:27:27] local.INFO: TCP Data received {"connection_id":216306,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:27:27] local.INFO: Processing buffer {"connection_id":216306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:27:27] local.INFO: Packet analysis {"connection_id":216306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:27:27] local.INFO: Extracted packet for processing {"connection_id":216306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:27:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:27:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":216306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:27:27] local.INFO: GPS data processed {"connection_id":216306,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:27:27] local.INFO: Acknowledgment sent {"connection_id":216306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:27:33] local.INFO: TCP Data received {"connection_id":216306,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:27:33] local.INFO: Processing buffer {"connection_id":216306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14231fa30012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:27:33] local.INFO: Packet analysis {"connection_id":216306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:27:33] local.INFO: Extracted packet for processing {"connection_id":216306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14231"} 
[2026-10-16 06:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780578048001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792111934000,"timestamp_ms":1792111934000,"timestamp_seconds":1792111934,"priority":1,"record_length":96,"hex_timestamp":"000001a14231fa30"} 
[2026-10-16 06:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 06:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780578048001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780578048001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:27:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780578048001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":216306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:27:33] local.INFO: GPS data processed {"connection_id":216306,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:27:33] local.INFO: Acknowledgment sent {"connection_id":216306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:27:58] local.INFO: TCP Data received {"connection_id":216500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:27:58] local.INFO: Processing buffer {"connection_id":216500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:27:58] local.INFO: Packet analysis {"connection_id":216500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:27:58] local.INFO: Extracted packet for processing {"connection_id":216500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:27: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-10-16 06:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780598784001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792112015000,"timestamp_ms":1792112015000,"timestamp_seconds":1792112015,"priority":1,"record_length":96,"hex_timestamp":"000001a142333698"} 
[2026-10-16 06:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:27: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":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:27:58] 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-10-16 06:27: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-10-16 06:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:27: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-10-16 06:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780598784001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780598784001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:27:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780598784001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":216500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:27:58] local.INFO: GPS data processed {"connection_id":216500,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:27:58] local.INFO: Acknowledgment sent {"connection_id":216500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:28:17] local.INFO: TCP Data received {"connection_id":219573,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:28:17] local.INFO: Processing buffer {"connection_id":219573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:28:17] local.INFO: IMEI packet received {"connection_id":219573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":219573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:28:21] local.INFO: TCP Data received {"connection_id":216501,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:28:21] local.INFO: Processing buffer {"connection_id":216501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:28:21] local.INFO: IMEI packet received {"connection_id":216501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":216501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:28:22] local.INFO: TCP Data received {"connection_id":219573,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:28:22] local.INFO: Processing buffer {"connection_id":219573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:28:22] local.INFO: IMEI packet received {"connection_id":219573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":219573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:28:24] local.INFO: TCP Data received {"connection_id":219573,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:28:24] local.INFO: Processing buffer {"connection_id":219573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:28:24] local.INFO: Packet analysis {"connection_id":219573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:28:24] local.INFO: Extracted packet for processing {"connection_id":219573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780655104001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792112235000,"timestamp_ms":1792112235000,"timestamp_seconds":1792112235,"priority":1,"record_length":96,"hex_timestamp":"000001a1423691f8"} 
[2026-10-16 06:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:28:24] 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-10-16 06: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-10-16 06:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780655104001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780655104001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:28:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:28:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780655104001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":219573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:28:24] local.INFO: GPS data processed {"connection_id":219573,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:28:24] local.INFO: Acknowledgment sent {"connection_id":219573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:28:26] local.INFO: TCP Data received {"connection_id":216501,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:28:26] local.INFO: Processing buffer {"connection_id":216501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:28:26] local.INFO: IMEI packet received {"connection_id":216501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":216501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:28:27] local.INFO: TCP Data received {"connection_id":216501,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:28:27] local.INFO: Processing buffer {"connection_id":216501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142333698012d7c240005dad510000700ea23..."} 
[2026-10-16 06:28:27] local.INFO: Packet analysis {"connection_id":216501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:28:27] local.INFO: Extracted packet for processing {"connection_id":216501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14233"} 
[2026-10-16 06:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780598784001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112015000,"timestamp_ms":1792112015000,"timestamp_seconds":1792112015,"priority":1,"record_length":96,"hex_timestamp":"000001a142333698"} 
[2026-10-16 06:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780598784001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780598784001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:28:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780598784001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":216501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:28:27] local.INFO: GPS data processed {"connection_id":216501,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:28:27] local.INFO: Acknowledgment sent {"connection_id":216501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:28:56] local.INFO: TCP Data received {"connection_id":219573,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:28:56] local.INFO: Processing buffer {"connection_id":219573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:28:56] local.INFO: Packet analysis {"connection_id":219573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:28:56] local.INFO: Extracted packet for processing {"connection_id":219573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780655104001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792112235000,"timestamp_ms":1792112235000,"timestamp_seconds":1792112235,"priority":1,"record_length":96,"hex_timestamp":"000001a1423691f8"} 
[2026-10-16 06:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:28:56] 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-10-16 06:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780655104001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780655104001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:28:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:28:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780655104001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":219573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:28:56] local.INFO: GPS data processed {"connection_id":219573,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:28:56] local.INFO: Acknowledgment sent {"connection_id":219573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:29:01] local.INFO: TCP Data received {"connection_id":216501,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:29:01] local.INFO: Processing buffer {"connection_id":216501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:29:01] local.INFO: Packet analysis {"connection_id":216501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:29:01] local.INFO: Extracted packet for processing {"connection_id":216501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792112316000,"timestamp_ms":1792112316000,"timestamp_seconds":1792112316,"priority":1,"record_length":96,"hex_timestamp":"000001a14237ce60"} 
[2026-10-16 06:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:29:01] 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-10-16 06:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780675840001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:29:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780675840001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":216501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:29:01] local.INFO: GPS data processed {"connection_id":216501,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:29:01] local.INFO: Acknowledgment sent {"connection_id":216501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:29:17] local.INFO: TCP Data received {"connection_id":216307,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:29:17] local.INFO: Processing buffer {"connection_id":216307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:29:17] local.INFO: IMEI packet received {"connection_id":216307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":216307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:29:22] local.INFO: TCP Data received {"connection_id":216307,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:29:22] local.INFO: Processing buffer {"connection_id":216307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:29:22] local.INFO: IMEI packet received {"connection_id":216307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":216307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:29:23] local.INFO: TCP Data received {"connection_id":216307,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:29:23] local.INFO: Processing buffer {"connection_id":216307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:29:23] local.INFO: Packet analysis {"connection_id":216307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:29:23] local.INFO: Extracted packet for processing {"connection_id":216307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780655104001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792112235000,"timestamp_ms":1792112235000,"timestamp_seconds":1792112235,"priority":1,"record_length":96,"hex_timestamp":"000001a1423691f8"} 
[2026-10-16 06:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:29:23] 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-10-16 06: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-10-16 06:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780655104001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780655104001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:29:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:29:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780655104001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":216307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:29:23] local.INFO: GPS data processed {"connection_id":216307,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:29:23] local.INFO: Acknowledgment sent {"connection_id":216307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:29:26] local.INFO: TCP Data received {"connection_id":219574,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:29:26] local.INFO: Processing buffer {"connection_id":219574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:29:26] local.INFO: IMEI packet received {"connection_id":219574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":219574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:29:31] local.INFO: TCP Data received {"connection_id":219574,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:29:31] local.INFO: Processing buffer {"connection_id":219574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:29:31] local.INFO: IMEI packet received {"connection_id":219574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":219574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:29:32] local.INFO: TCP Data received {"connection_id":219574,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:29:32] local.INFO: Processing buffer {"connection_id":219574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:29:32] local.INFO: Packet analysis {"connection_id":219574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:29:32] local.INFO: Extracted packet for processing {"connection_id":219574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792112316000,"timestamp_ms":1792112316000,"timestamp_seconds":1792112316,"priority":1,"record_length":96,"hex_timestamp":"000001a14237ce60"} 
[2026-10-16 06:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:29:32] 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-10-16 06:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780675840001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:29:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780675840001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":219574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:29:32] local.INFO: GPS data processed {"connection_id":219574,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:29:32] local.INFO: Acknowledgment sent {"connection_id":219574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:29:41] local.INFO: TCP Data received {"connection_id":219574,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:29:41] local.INFO: Processing buffer {"connection_id":219574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:29:41] local.INFO: Packet analysis {"connection_id":219574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:29:41] local.INFO: Extracted packet for processing {"connection_id":219574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792112316000,"timestamp_ms":1792112316000,"timestamp_seconds":1792112316,"priority":1,"record_length":96,"hex_timestamp":"000001a14237ce60"} 
[2026-10-16 06:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:29: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-10-16 06: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:29:41] 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-10-16 06: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-10-16 06:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":219574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":219574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":219574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:29:41] 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-10-16 06:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780675840001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:29:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780675840001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":219574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:29:41] local.INFO: GPS data processed {"connection_id":219574,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:29:41] local.INFO: Acknowledgment sent {"connection_id":219574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:29:55] local.INFO: TCP Data received {"connection_id":216307,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:29:55] local.INFO: Processing buffer {"connection_id":216307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:29:55] local.INFO: Packet analysis {"connection_id":216307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:29:55] local.INFO: Extracted packet for processing {"connection_id":216307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780655104001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792112235000,"timestamp_ms":1792112235000,"timestamp_seconds":1792112235,"priority":1,"record_length":96,"hex_timestamp":"000001a1423691f8"} 
[2026-10-16 06:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:29:55] 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-10-16 06:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780655104001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780655104001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:29:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:29:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780655104001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":216307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:29:55] local.INFO: GPS data processed {"connection_id":216307,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:29:55] local.INFO: Acknowledgment sent {"connection_id":216307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:30:21] local.INFO: TCP Data received {"connection_id":219575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:30:21] local.INFO: Processing buffer {"connection_id":219575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:30:21] local.INFO: IMEI packet received {"connection_id":219575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":219575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:30:22] local.INFO: TCP Data received {"connection_id":217849,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:30:22] local.INFO: Processing buffer {"connection_id":217849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:30:22] local.INFO: IMEI packet received {"connection_id":217849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":217849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:30:27] local.INFO: TCP Data received {"connection_id":217849,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:30:27] local.INFO: Processing buffer {"connection_id":217849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:30:27] local.INFO: IMEI packet received {"connection_id":217849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":217849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:30:28] local.INFO: TCP Data received {"connection_id":217849,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:30:28] local.INFO: Processing buffer {"connection_id":217849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:30:28] local.INFO: Packet analysis {"connection_id":217849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:30:28] local.INFO: Extracted packet for processing {"connection_id":217849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780655104001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792112235000,"timestamp_ms":1792112235000,"timestamp_seconds":1792112235,"priority":1,"record_length":96,"hex_timestamp":"000001a1423691f8"} 
[2026-10-16 06:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:30:28] 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-10-16 06:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780655104001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780655104001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:30:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:30:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780655104001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":217849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:30:28] local.INFO: GPS data processed {"connection_id":217849,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:30:28] local.INFO: Acknowledgment sent {"connection_id":217849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:30:29] local.INFO: TCP Data received {"connection_id":219575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:30:29] local.INFO: Processing buffer {"connection_id":219575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:30:29] local.INFO: IMEI packet received {"connection_id":219575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":219575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:30:33] local.INFO: TCP Data received {"connection_id":217849,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:30:33] local.INFO: Processing buffer {"connection_id":217849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:30:33] local.INFO: Packet analysis {"connection_id":217849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:30:33] local.INFO: Extracted packet for processing {"connection_id":217849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780655104001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792112235000,"timestamp_ms":1792112235000,"timestamp_seconds":1792112235,"priority":1,"record_length":96,"hex_timestamp":"000001a1423691f8"} 
[2026-10-16 06:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:30:33] 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-10-16 06:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780655104001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780655104001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:30:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:30:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780655104001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":217849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:30:33] local.INFO: GPS data processed {"connection_id":217849,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:30:33] local.INFO: Acknowledgment sent {"connection_id":217849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:30:33] local.INFO: TCP Data received {"connection_id":219575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:30:33] local.INFO: Processing buffer {"connection_id":219575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:30:33] local.INFO: Packet analysis {"connection_id":219575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:30:33] local.INFO: Extracted packet for processing {"connection_id":219575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792112316000,"timestamp_ms":1792112316000,"timestamp_seconds":1792112316,"priority":1,"record_length":96,"hex_timestamp":"000001a14237ce60"} 
[2026-10-16 06:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:30: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-10-16 06:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780675840001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:30:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780675840001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":219575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:30:33] local.INFO: GPS data processed {"connection_id":219575,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:30:33] local.INFO: Acknowledgment sent {"connection_id":219575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:31:04] local.INFO: TCP Data received {"connection_id":219575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:31:04] local.INFO: Processing buffer {"connection_id":219575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:31:04] local.INFO: Packet analysis {"connection_id":219575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:31:04] local.INFO: Extracted packet for processing {"connection_id":219575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792112316000,"timestamp_ms":1792112316000,"timestamp_seconds":1792112316,"priority":1,"record_length":96,"hex_timestamp":"000001a14237ce60"} 
[2026-10-16 06:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":219575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":219575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":219575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:31: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-10-16 06:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780675840001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:31:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780675840001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":219575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:31:04] local.INFO: GPS data processed {"connection_id":219575,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:31:04] local.INFO: Acknowledgment sent {"connection_id":219575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:31:17] local.INFO: TCP Data received {"connection_id":216503,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:31:17] local.INFO: Processing buffer {"connection_id":216503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:31:17] local.INFO: IMEI packet received {"connection_id":216503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":216503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:31:21] local.INFO: TCP Data received {"connection_id":216504,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:31:21] local.INFO: Processing buffer {"connection_id":216504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:31:21] local.INFO: IMEI packet received {"connection_id":216504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":216504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:31:22] local.INFO: TCP Data received {"connection_id":216503,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:31:22] local.INFO: Processing buffer {"connection_id":216503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:31:22] local.INFO: IMEI packet received {"connection_id":216503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":216503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:31:23] local.INFO: TCP Data received {"connection_id":216503,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:31:23] local.INFO: Processing buffer {"connection_id":216503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:31:23] local.INFO: Packet analysis {"connection_id":216503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:31:23] local.INFO: Extracted packet for processing {"connection_id":216503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780655104001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792112235000,"timestamp_ms":1792112235000,"timestamp_seconds":1792112235,"priority":1,"record_length":96,"hex_timestamp":"000001a1423691f8"} 
[2026-10-16 06:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:31:23] 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-10-16 06:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780655104001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780655104001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:31:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:31:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780655104001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":216503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:31:23] local.INFO: GPS data processed {"connection_id":216503,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:31:23] local.INFO: Acknowledgment sent {"connection_id":216503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:31:26] local.INFO: TCP Data received {"connection_id":216504,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:31:26] local.INFO: Processing buffer {"connection_id":216504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:31:26] local.INFO: IMEI packet received {"connection_id":216504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":216504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:31:31] local.INFO: TCP Data received {"connection_id":216504,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:31:31] local.INFO: Processing buffer {"connection_id":216504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:31:31] local.INFO: Packet analysis {"connection_id":216504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:31:31] local.INFO: Extracted packet for processing {"connection_id":216504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792112316000,"timestamp_ms":1792112316000,"timestamp_seconds":1792112316,"priority":1,"record_length":96,"hex_timestamp":"000001a14237ce60"} 
[2026-10-16 06:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:31:31] 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-10-16 06:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780675840001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:31:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780675840001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":216504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:31:31] local.INFO: GPS data processed {"connection_id":216504,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:31:31] local.INFO: Acknowledgment sent {"connection_id":216504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:31:55] local.INFO: TCP Data received {"connection_id":216503,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:31:55] local.INFO: Processing buffer {"connection_id":216503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:31:55] local.INFO: Packet analysis {"connection_id":216503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:31:55] local.INFO: Extracted packet for processing {"connection_id":216503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780655104001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792112235000,"timestamp_ms":1792112235000,"timestamp_seconds":1792112235,"priority":1,"record_length":96,"hex_timestamp":"000001a1423691f8"} 
[2026-10-16 06:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:31:55] 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-10-16 06:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780655104001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780655104001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:31:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:31:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780655104001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":216503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:31:55] local.INFO: GPS data processed {"connection_id":216503,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:31:55] local.INFO: Acknowledgment sent {"connection_id":216503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:31:56] local.INFO: TCP Data received {"connection_id":219576,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:31:56] local.INFO: Processing buffer {"connection_id":219576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:31:56] local.INFO: IMEI packet received {"connection_id":219576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":219576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:32:06] local.INFO: TCP Data received {"connection_id":216504,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:32:06] local.INFO: Processing buffer {"connection_id":216504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:32:06] local.INFO: Packet analysis {"connection_id":216504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:32:06] local.INFO: Extracted packet for processing {"connection_id":216504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792112316000,"timestamp_ms":1792112316000,"timestamp_seconds":1792112316,"priority":1,"record_length":96,"hex_timestamp":"000001a14237ce60"} 
[2026-10-16 06:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:32: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-10-16 06: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-10-16 06:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780675840001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:32:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780675840001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":216504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:32:06] local.INFO: GPS data processed {"connection_id":216504,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:32:06] local.INFO: Acknowledgment sent {"connection_id":216504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:32:17] local.INFO: TCP Data received {"connection_id":217850,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:32:17] local.INFO: Processing buffer {"connection_id":217850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:32:17] local.INFO: IMEI packet received {"connection_id":217850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":217850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:32:21] local.INFO: TCP Data received {"connection_id":219577,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:32:21] local.INFO: Processing buffer {"connection_id":219577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:32:21] local.INFO: IMEI packet received {"connection_id":219577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":219577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:32:22] local.INFO: TCP Data received {"connection_id":217850,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:32:22] local.INFO: Processing buffer {"connection_id":217850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:32:22] local.INFO: IMEI packet received {"connection_id":217850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":217850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:32:23] local.INFO: TCP Data received {"connection_id":217850,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:32:23] local.INFO: Processing buffer {"connection_id":217850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423691f8012d7f98c005afddb00000002f25..."} 
[2026-10-16 06:32:23] local.INFO: Packet analysis {"connection_id":217850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:32:23] local.INFO: Extracted packet for processing {"connection_id":217850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14236"} 
[2026-10-16 06:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780655104001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792112235000,"timestamp_ms":1792112235000,"timestamp_seconds":1792112235,"priority":1,"record_length":96,"hex_timestamp":"000001a1423691f8"} 
[2026-10-16 06:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:32:23] 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-10-16 06:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780655104001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780655104001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:32:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:32:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780655104001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":217850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:32:23] local.INFO: GPS data processed {"connection_id":217850,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:32:23] local.INFO: Acknowledgment sent {"connection_id":217850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:32:26] local.INFO: TCP Data received {"connection_id":219577,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:32:26] local.INFO: Processing buffer {"connection_id":219577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:32:26] local.INFO: IMEI packet received {"connection_id":219577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":219577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:32:27] local.INFO: TCP Data received {"connection_id":219577,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:32:27] local.INFO: Processing buffer {"connection_id":219577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:32:27] local.INFO: Packet analysis {"connection_id":219577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:32:27] local.INFO: Extracted packet for processing {"connection_id":219577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112316000,"timestamp_ms":1792112316000,"timestamp_seconds":1792112316,"priority":1,"record_length":96,"hex_timestamp":"000001a14237ce60"} 
[2026-10-16 06:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780675840001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:32:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780675840001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":219577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:32:27] local.INFO: GPS data processed {"connection_id":219577,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:32:27] local.INFO: Acknowledgment sent {"connection_id":219577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:32:55] local.INFO: TCP Data received {"connection_id":217850,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:32:55] local.INFO: Processing buffer {"connection_id":217850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:32:55] local.INFO: Packet analysis {"connection_id":217850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:32:55] local.INFO: Extracted packet for processing {"connection_id":217850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:32:55] 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-10-16 06:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:32:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:32:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":217850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:32:55] local.INFO: GPS data processed {"connection_id":217850,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:32:55] local.INFO: Acknowledgment sent {"connection_id":217850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:32:58] local.INFO: TCP Data received {"connection_id":219577,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:32:58] local.INFO: Processing buffer {"connection_id":219577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:32:58] local.INFO: Packet analysis {"connection_id":219577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:32:58] local.INFO: Extracted packet for processing {"connection_id":219577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792112316000,"timestamp_ms":1792112316000,"timestamp_seconds":1792112316,"priority":1,"record_length":96,"hex_timestamp":"000001a14237ce60"} 
[2026-10-16 06:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:32:58] 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-10-16 06:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780675840001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:32:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:32:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780675840001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":219577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:32:58] local.INFO: GPS data processed {"connection_id":219577,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:32:58] local.INFO: Acknowledgment sent {"connection_id":219577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:33:21] local.INFO: TCP Data received {"connection_id":219578,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:33:21] local.INFO: Processing buffer {"connection_id":219578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:33:21] local.INFO: IMEI packet received {"connection_id":219578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":219578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:33:22] local.INFO: TCP Data received {"connection_id":216505,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:33:22] local.INFO: Processing buffer {"connection_id":216505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:33:22] local.INFO: IMEI packet received {"connection_id":216505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":216505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:33:26] local.INFO: TCP Data received {"connection_id":219578,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:33:26] local.INFO: Processing buffer {"connection_id":219578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:33:26] local.INFO: IMEI packet received {"connection_id":219578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":219578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:33:27] local.INFO: TCP Data received {"connection_id":216505,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:33:27] local.INFO: Processing buffer {"connection_id":216505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:33:27] local.INFO: IMEI packet received {"connection_id":216505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":216505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:33:27] local.INFO: TCP Data received {"connection_id":219578,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:33:27] local.INFO: Processing buffer {"connection_id":219578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14237ce60012d7c240005dad510000700ea22..."} 
[2026-10-16 06:33:27] local.INFO: Packet analysis {"connection_id":219578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:33:27] local.INFO: Extracted packet for processing {"connection_id":219578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14237"} 
[2026-10-16 06:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":34,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112316000,"timestamp_ms":1792112316000,"timestamp_seconds":1792112316,"priority":1,"record_length":96,"hex_timestamp":"000001a14237ce60"} 
[2026-10-16 06:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780675840001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:33:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780675840001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":219578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:33:27] local.INFO: GPS data processed {"connection_id":219578,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:33:27] local.INFO: Acknowledgment sent {"connection_id":219578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:33:27] local.INFO: TCP Data received {"connection_id":216505,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:33:27] local.INFO: Processing buffer {"connection_id":216505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:33:27] local.INFO: Packet analysis {"connection_id":216505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:33:27] local.INFO: Extracted packet for processing {"connection_id":216505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:33:27] 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-10-16 06:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:33:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:33:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":216505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:33:27] local.INFO: GPS data processed {"connection_id":216505,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:33:27] local.INFO: Acknowledgment sent {"connection_id":216505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:33:58] local.INFO: TCP Data received {"connection_id":219578,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:33:58] local.INFO: Processing buffer {"connection_id":219578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:33:58] local.INFO: Packet analysis {"connection_id":219578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:33:58] local.INFO: Extracted packet for processing {"connection_id":219578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780752896001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792112617000,"timestamp_ms":1792112617000,"timestamp_seconds":1792112617,"priority":1,"record_length":96,"hex_timestamp":"000001a1423c6628"} 
[2026-10-16 06:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780752896001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780752896001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:33:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780752896001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":219578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:33:58] local.INFO: GPS data processed {"connection_id":219578,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:33:58] local.INFO: Acknowledgment sent {"connection_id":219578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:33:59] local.INFO: TCP Data received {"connection_id":216505,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:33:59] local.INFO: Processing buffer {"connection_id":216505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:33:59] local.INFO: Packet analysis {"connection_id":216505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:33:59] local.INFO: Extracted packet for processing {"connection_id":216505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:33:59] 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-10-16 06:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:33:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:33:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":216505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:33:59] local.INFO: GPS data processed {"connection_id":216505,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:33:59] local.INFO: Acknowledgment sent {"connection_id":216505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:34:18] local.INFO: TCP Data received {"connection_id":217851,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:34:18] local.INFO: Processing buffer {"connection_id":217851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:34:18] local.INFO: IMEI packet received {"connection_id":217851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":217851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:34:21] local.INFO: TCP Data received {"connection_id":217852,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:34:21] local.INFO: Processing buffer {"connection_id":217852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:34:21] local.INFO: IMEI packet received {"connection_id":217852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":217852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:34:22] local.INFO: TCP Data received {"connection_id":217851,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:34:22] local.INFO: Processing buffer {"connection_id":217851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:34:22] local.INFO: IMEI packet received {"connection_id":217851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":217851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:34:24] local.INFO: TCP Data received {"connection_id":217851,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:34:24] local.INFO: Processing buffer {"connection_id":217851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:34:24] local.INFO: Packet analysis {"connection_id":217851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:34:24] local.INFO: Extracted packet for processing {"connection_id":217851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:34:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:34:24] 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-10-16 06:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:34:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:34:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":217851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:34:24] local.INFO: GPS data processed {"connection_id":217851,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:34:24] local.INFO: Acknowledgment sent {"connection_id":217851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:34:26] local.INFO: TCP Data received {"connection_id":217852,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:34:26] local.INFO: Processing buffer {"connection_id":217852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:34:26] local.INFO: IMEI packet received {"connection_id":217852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":217852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:34:27] local.INFO: TCP Data received {"connection_id":217852,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:34:27] local.INFO: Processing buffer {"connection_id":217852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:34:27] local.INFO: Packet analysis {"connection_id":217852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:34:27] local.INFO: Extracted packet for processing {"connection_id":217852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780752896001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112617000,"timestamp_ms":1792112617000,"timestamp_seconds":1792112617,"priority":1,"record_length":96,"hex_timestamp":"000001a1423c6628"} 
[2026-10-16 06:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780752896001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780752896001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:34:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780752896001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":217852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:34:27] local.INFO: GPS data processed {"connection_id":217852,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:34:27] local.INFO: Acknowledgment sent {"connection_id":217852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:34:55] local.INFO: TCP Data received {"connection_id":217851,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:34:55] local.INFO: Processing buffer {"connection_id":217851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:34:55] local.INFO: Packet analysis {"connection_id":217851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:34:55] local.INFO: Extracted packet for processing {"connection_id":217851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:34:55] 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-10-16 06:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:34:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:34:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":217851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:34:55] local.INFO: GPS data processed {"connection_id":217851,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:34:55] local.INFO: Acknowledgment sent {"connection_id":217851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:34:58] local.INFO: TCP Data received {"connection_id":217852,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:34:58] local.INFO: Processing buffer {"connection_id":217852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:34:58] local.INFO: Packet analysis {"connection_id":217852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:34:58] local.INFO: Extracted packet for processing {"connection_id":217852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780752896001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792112617000,"timestamp_ms":1792112617000,"timestamp_seconds":1792112617,"priority":1,"record_length":96,"hex_timestamp":"000001a1423c6628"} 
[2026-10-16 06:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780752896001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780752896001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:34:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780752896001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":217852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:34:59] local.INFO: GPS data processed {"connection_id":217852,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:34:59] local.INFO: Acknowledgment sent {"connection_id":217852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:35:17] local.INFO: TCP Data received {"connection_id":216310,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:35:17] local.INFO: Processing buffer {"connection_id":216310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:35:17] local.INFO: IMEI packet received {"connection_id":216310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":216310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:35:22] local.INFO: TCP Data received {"connection_id":216310,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:35:22] local.INFO: Processing buffer {"connection_id":216310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:35:22] local.INFO: IMEI packet received {"connection_id":216310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":216310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:35:23] local.INFO: TCP Data received {"connection_id":216310,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:35:23] local.INFO: Processing buffer {"connection_id":216310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:35:23] local.INFO: Packet analysis {"connection_id":216310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:35:23] local.INFO: Extracted packet for processing {"connection_id":216310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:35:23] 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-10-16 06:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:35:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:35:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":216310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:35:23] local.INFO: GPS data processed {"connection_id":216310,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:35:23] local.INFO: Acknowledgment sent {"connection_id":216310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:35:26] local.INFO: TCP Data received {"connection_id":217853,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:35:26] local.INFO: Processing buffer {"connection_id":217853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:35:26] local.INFO: IMEI packet received {"connection_id":217853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":217853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:35:31] local.INFO: TCP Data received {"connection_id":217853,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:35:31] local.INFO: Processing buffer {"connection_id":217853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:35:31] local.INFO: IMEI packet received {"connection_id":217853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":217853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:35:32] local.INFO: TCP Data received {"connection_id":217853,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:35:32] local.INFO: Processing buffer {"connection_id":217853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:35:32] local.INFO: Packet analysis {"connection_id":217853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:35:32] local.INFO: Extracted packet for processing {"connection_id":217853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780752896001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792112617000,"timestamp_ms":1792112617000,"timestamp_seconds":1792112617,"priority":1,"record_length":96,"hex_timestamp":"000001a1423c6628"} 
[2026-10-16 06:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:35:32] 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-10-16 06:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780752896001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780752896001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:35:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780752896001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":217853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:35:32] local.INFO: GPS data processed {"connection_id":217853,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:35:32] local.INFO: Acknowledgment sent {"connection_id":217853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:35:36] local.INFO: TCP Data received {"connection_id":217853,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:35:36] local.INFO: Processing buffer {"connection_id":217853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:35:36] local.INFO: Packet analysis {"connection_id":217853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:35:36] local.INFO: Extracted packet for processing {"connection_id":217853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780752896001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792112617000,"timestamp_ms":1792112617000,"timestamp_seconds":1792112617,"priority":1,"record_length":96,"hex_timestamp":"000001a1423c6628"} 
[2026-10-16 06:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:35:36] 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-10-16 06: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-10-16 06:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":217853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":217853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":217853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780752896001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780752896001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:35:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780752896001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":217853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:35:37] local.INFO: GPS data processed {"connection_id":217853,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:35:37] local.INFO: Acknowledgment sent {"connection_id":217853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:35:55] local.INFO: TCP Data received {"connection_id":216310,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:35:55] local.INFO: Processing buffer {"connection_id":216310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:35:55] local.INFO: Packet analysis {"connection_id":216310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:35:55] local.INFO: Extracted packet for processing {"connection_id":216310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:35:55] 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-10-16 06:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:35:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:35:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":216310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:35:55] local.INFO: GPS data processed {"connection_id":216310,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:35:55] local.INFO: Acknowledgment sent {"connection_id":216310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:36:17] local.INFO: TCP Data received {"connection_id":216507,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:36:17] local.INFO: Processing buffer {"connection_id":216507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:36:17] local.INFO: IMEI packet received {"connection_id":216507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":216507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:36:21] local.INFO: TCP Data received {"connection_id":219580,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:36:21] local.INFO: Processing buffer {"connection_id":219580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:36:21] local.INFO: IMEI packet received {"connection_id":219580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":219580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:36:22] local.INFO: TCP Data received {"connection_id":216507,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:36:22] local.INFO: Processing buffer {"connection_id":216507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:36:22] local.INFO: IMEI packet received {"connection_id":216507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":216507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:36:23] local.INFO: TCP Data received {"connection_id":216507,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:36:23] local.INFO: Processing buffer {"connection_id":216507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:36:23] local.INFO: Packet analysis {"connection_id":216507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:36:23] local.INFO: Extracted packet for processing {"connection_id":216507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:36:23] 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-10-16 06: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-10-16 06:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:36:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:36:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":216507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:36:23] local.INFO: GPS data processed {"connection_id":216507,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:36:23] local.INFO: Acknowledgment sent {"connection_id":216507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:36:26] local.INFO: TCP Data received {"connection_id":219580,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:36:26] local.INFO: Processing buffer {"connection_id":219580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:36:26] local.INFO: IMEI packet received {"connection_id":219580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":219580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:36:36] local.INFO: TCP Data received {"connection_id":219580,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:36:36] local.INFO: Processing buffer {"connection_id":219580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:36:36] local.INFO: Packet analysis {"connection_id":219580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:36:36] local.INFO: Extracted packet for processing {"connection_id":219580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780752896001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792112617000,"timestamp_ms":1792112617000,"timestamp_seconds":1792112617,"priority":1,"record_length":96,"hex_timestamp":"000001a1423c6628"} 
[2026-10-16 06:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:36:36] 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-10-16 06: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-10-16 06:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:36: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-10-16 06:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780752896001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780752896001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:36:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780752896001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":219580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:36:36] local.INFO: GPS data processed {"connection_id":219580,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:36:36] local.INFO: Acknowledgment sent {"connection_id":219580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:36:55] local.INFO: TCP Data received {"connection_id":216507,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:36:55] local.INFO: Processing buffer {"connection_id":216507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:36:55] local.INFO: Packet analysis {"connection_id":216507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:36:55] local.INFO: Extracted packet for processing {"connection_id":216507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:36:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:36:55] 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-10-16 06: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-10-16 06:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:36:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:36:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":216507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:36:55] local.INFO: GPS data processed {"connection_id":216507,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:36:55] local.INFO: Acknowledgment sent {"connection_id":216507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:37:21] local.INFO: TCP Data received {"connection_id":219582,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:37:21] local.INFO: Processing buffer {"connection_id":219582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:37:21] local.INFO: IMEI packet received {"connection_id":219582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":219582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:37:22] local.INFO: TCP Data received {"connection_id":219581,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:37:22] local.INFO: Processing buffer {"connection_id":219581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:37:22] local.INFO: IMEI packet received {"connection_id":219581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":219581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:37:26] local.INFO: TCP Data received {"connection_id":219582,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:37:26] local.INFO: Processing buffer {"connection_id":219582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:37:26] local.INFO: IMEI packet received {"connection_id":219582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":219582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:37:27] local.INFO: TCP Data received {"connection_id":219581,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:37:27] local.INFO: Processing buffer {"connection_id":219581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:37:27] local.INFO: IMEI packet received {"connection_id":219581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":219581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:37:27] local.INFO: TCP Data received {"connection_id":219582,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:37:27] local.INFO: Processing buffer {"connection_id":219582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:37:27] local.INFO: Packet analysis {"connection_id":219582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:37:27] local.INFO: Extracted packet for processing {"connection_id":219582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780752896001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112617000,"timestamp_ms":1792112617000,"timestamp_seconds":1792112617,"priority":1,"record_length":96,"hex_timestamp":"000001a1423c6628"} 
[2026-10-16 06:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780752896001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780752896001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:37:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780752896001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":219582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:37:27] local.INFO: GPS data processed {"connection_id":219582,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:37:27] local.INFO: Acknowledgment sent {"connection_id":219582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:37:28] local.INFO: TCP Data received {"connection_id":219581,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:37:28] local.INFO: Processing buffer {"connection_id":219581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:37:28] local.INFO: Packet analysis {"connection_id":219581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:37:28] local.INFO: Extracted packet for processing {"connection_id":219581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:37:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:37:28] 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-10-16 06:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:37:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:37:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":219581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:37:28] local.INFO: GPS data processed {"connection_id":219581,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:37:28] local.INFO: Acknowledgment sent {"connection_id":219581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:37:32] local.INFO: TCP Data received {"connection_id":216312,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:37:32] local.INFO: Processing buffer {"connection_id":216312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:37:32] local.INFO: IMEI packet received {"connection_id":216312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":216312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:37:34] local.INFO: TCP Data received {"connection_id":219581,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:37:34] local.INFO: Processing buffer {"connection_id":219581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423b29c0012d7f98c005afddb00000002f1f..."} 
[2026-10-16 06:37:34] local.INFO: Packet analysis {"connection_id":219581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:37:34] local.INFO: Extracted packet for processing {"connection_id":219581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423b"} 
[2026-10-16 06:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792112536000,"timestamp_ms":1792112536000,"timestamp_seconds":1792112536,"priority":1,"record_length":96,"hex_timestamp":"000001a1423b29c0"} 
[2026-10-16 06:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:37:34] 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-10-16 06:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780732160001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:37:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:37:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780732160001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":219581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:37:34] local.INFO: GPS data processed {"connection_id":219581,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:37:34] local.INFO: Acknowledgment sent {"connection_id":219581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:37:52] local.INFO: TCP Data received {"connection_id":216508,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:37:52] local.INFO: Processing buffer {"connection_id":216508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:37:52] local.INFO: IMEI packet received {"connection_id":216508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":216508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:37:58] local.INFO: TCP Data received {"connection_id":219582,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:37:58] local.INFO: Processing buffer {"connection_id":219582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:37:58] local.INFO: Packet analysis {"connection_id":219582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:37:58] local.INFO: Extracted packet for processing {"connection_id":219582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780752896001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792112617000,"timestamp_ms":1792112617000,"timestamp_seconds":1792112617,"priority":1,"record_length":96,"hex_timestamp":"000001a1423c6628"} 
[2026-10-16 06:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780752896001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780752896001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:37:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780752896001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":219582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:37:58] local.INFO: GPS data processed {"connection_id":219582,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:37:58] local.INFO: Acknowledgment sent {"connection_id":219582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:38:17] local.INFO: TCP Data received {"connection_id":216509,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:38:17] local.INFO: Processing buffer {"connection_id":216509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:38:17] local.INFO: IMEI packet received {"connection_id":216509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":216509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:38:21] local.INFO: TCP Data received {"connection_id":217854,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:38:21] local.INFO: Processing buffer {"connection_id":217854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:38:21] local.INFO: IMEI packet received {"connection_id":217854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":217854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:38:22] local.INFO: TCP Data received {"connection_id":216509,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:38:22] local.INFO: Processing buffer {"connection_id":216509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:38:22] local.INFO: IMEI packet received {"connection_id":216509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":216509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:38:23] local.INFO: TCP Data received {"connection_id":216509,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:38:23] local.INFO: Processing buffer {"connection_id":216509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:38:23] local.INFO: Packet analysis {"connection_id":216509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:38:23] local.INFO: Extracted packet for processing {"connection_id":216509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:38: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-10-16 06:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780809216001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792112837000,"timestamp_ms":1792112837000,"timestamp_seconds":1792112837,"priority":1,"record_length":96,"hex_timestamp":"000001a1423fc188"} 
[2026-10-16 06:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:38: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:38:23] 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-10-16 06:38: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-10-16 06:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780809216001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780809216001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:38:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:38:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780809216001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":216509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:38:23] local.INFO: GPS data processed {"connection_id":216509,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:38:23] local.INFO: Acknowledgment sent {"connection_id":216509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:38:26] local.INFO: TCP Data received {"connection_id":217854,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:38:26] local.INFO: Processing buffer {"connection_id":217854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:38:26] local.INFO: IMEI packet received {"connection_id":217854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":217854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:38:27] local.INFO: TCP Data received {"connection_id":217854,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:38:27] local.INFO: Processing buffer {"connection_id":217854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423c6628012d7c240005dad510000700ea25..."} 
[2026-10-16 06:38:27] local.INFO: Packet analysis {"connection_id":217854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:38:27] local.INFO: Extracted packet for processing {"connection_id":217854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423c"} 
[2026-10-16 06:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780752896001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112617000,"timestamp_ms":1792112617000,"timestamp_seconds":1792112617,"priority":1,"record_length":96,"hex_timestamp":"000001a1423c6628"} 
[2026-10-16 06:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780752896001,"66":12526,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780752896001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:38:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780752896001,"power":12526,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":217854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:38:27] local.INFO: GPS data processed {"connection_id":217854,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:38:27] local.INFO: Acknowledgment sent {"connection_id":217854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:38:55] local.INFO: TCP Data received {"connection_id":216509,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:38:55] local.INFO: Processing buffer {"connection_id":216509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:38:55] local.INFO: Packet analysis {"connection_id":216509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:38:55] local.INFO: Extracted packet for processing {"connection_id":216509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780809216001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792112837000,"timestamp_ms":1792112837000,"timestamp_seconds":1792112837,"priority":1,"record_length":96,"hex_timestamp":"000001a1423fc188"} 
[2026-10-16 06:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:38:55] 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-10-16 06:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780809216001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780809216001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:38:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:38:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780809216001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":216509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:38:55] local.INFO: GPS data processed {"connection_id":216509,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:38:55] local.INFO: Acknowledgment sent {"connection_id":216509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:38:58] local.INFO: TCP Data received {"connection_id":217854,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:38:58] local.INFO: Processing buffer {"connection_id":217854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:38:58] local.INFO: Packet analysis {"connection_id":217854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:38:58] local.INFO: Extracted packet for processing {"connection_id":217854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780829952001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792112918000,"timestamp_ms":1792112918000,"timestamp_seconds":1792112918,"priority":1,"record_length":96,"hex_timestamp":"000001a14240fdf0"} 
[2026-10-16 06:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:38:58] 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-10-16 06: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-10-16 06:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780829952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780829952001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:38:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780829952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":217854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:38:58] local.INFO: GPS data processed {"connection_id":217854,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:38:58] local.INFO: Acknowledgment sent {"connection_id":217854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:39:21] local.INFO: TCP Data received {"connection_id":216314,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:39:21] local.INFO: Processing buffer {"connection_id":216314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:39:21] local.INFO: IMEI packet received {"connection_id":216314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:39:22] local.INFO: TCP Data received {"connection_id":216313,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:39:22] local.INFO: Processing buffer {"connection_id":216313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:39:22] local.INFO: IMEI packet received {"connection_id":216313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":216313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:39:26] local.INFO: TCP Data received {"connection_id":216314,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:39:26] local.INFO: Processing buffer {"connection_id":216314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:39:26] local.INFO: IMEI packet received {"connection_id":216314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":216314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:39:27] local.INFO: TCP Data received {"connection_id":216313,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:39:27] local.INFO: Processing buffer {"connection_id":216313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:39:27] local.INFO: IMEI packet received {"connection_id":216313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":216313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:39:27] local.INFO: TCP Data received {"connection_id":216314,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:39:27] local.INFO: Processing buffer {"connection_id":216314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:39:27] local.INFO: Packet analysis {"connection_id":216314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:39:27] local.INFO: Extracted packet for processing {"connection_id":216314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780829952001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112918000,"timestamp_ms":1792112918000,"timestamp_seconds":1792112918,"priority":1,"record_length":96,"hex_timestamp":"000001a14240fdf0"} 
[2026-10-16 06:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780829952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780829952001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:39:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780829952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":216314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:39:27] local.INFO: GPS data processed {"connection_id":216314,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:39:27] local.INFO: Acknowledgment sent {"connection_id":216314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:39:27] local.INFO: TCP Data received {"connection_id":216313,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:39:27] local.INFO: Processing buffer {"connection_id":216313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:39:27] local.INFO: Packet analysis {"connection_id":216313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:39:27] local.INFO: Extracted packet for processing {"connection_id":216313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780809216001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112837000,"timestamp_ms":1792112837000,"timestamp_seconds":1792112837,"priority":1,"record_length":96,"hex_timestamp":"000001a1423fc188"} 
[2026-10-16 06:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:39:27] 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-10-16 06:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780809216001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780809216001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:39:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:39:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780809216001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":216313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:39:27] local.INFO: GPS data processed {"connection_id":216313,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:39:27] local.INFO: Acknowledgment sent {"connection_id":216313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:39:58] local.INFO: TCP Data received {"connection_id":216314,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:39:58] local.INFO: Processing buffer {"connection_id":216314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:39:58] local.INFO: Packet analysis {"connection_id":216314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:39:58] local.INFO: Extracted packet for processing {"connection_id":216314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780829952001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792112918000,"timestamp_ms":1792112918000,"timestamp_seconds":1792112918,"priority":1,"record_length":96,"hex_timestamp":"000001a14240fdf0"} 
[2026-10-16 06:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:39:58] 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-10-16 06:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780829952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780829952001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:39:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780829952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":216314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:39:58] local.INFO: GPS data processed {"connection_id":216314,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:39:58] local.INFO: Acknowledgment sent {"connection_id":216314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:39:59] local.INFO: TCP Data received {"connection_id":216313,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:39:59] local.INFO: Processing buffer {"connection_id":216313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:39:59] local.INFO: Packet analysis {"connection_id":216313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:39:59] local.INFO: Extracted packet for processing {"connection_id":216313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:39: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-10-16 06:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780809216001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792112837000,"timestamp_ms":1792112837000,"timestamp_seconds":1792112837,"priority":1,"record_length":96,"hex_timestamp":"000001a1423fc188"} 
[2026-10-16 06:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:39:59] 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-10-16 06:39: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-10-16 06:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780809216001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780809216001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:39:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:39:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780809216001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":216313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:39:59] local.INFO: GPS data processed {"connection_id":216313,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:39:59] local.INFO: Acknowledgment sent {"connection_id":216313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:40:17] local.INFO: TCP Data received {"connection_id":219583,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:40:17] local.INFO: Processing buffer {"connection_id":219583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:40:17] local.INFO: IMEI packet received {"connection_id":219583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":219583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:40:22] local.INFO: TCP Data received {"connection_id":219583,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:40:22] local.INFO: Processing buffer {"connection_id":219583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:40:22] local.INFO: IMEI packet received {"connection_id":219583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":219583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:40:24] local.INFO: TCP Data received {"connection_id":219583,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:40:24] local.INFO: Processing buffer {"connection_id":219583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:40:24] local.INFO: Packet analysis {"connection_id":219583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:40:24] local.INFO: Extracted packet for processing {"connection_id":219583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780809216001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792112837000,"timestamp_ms":1792112837000,"timestamp_seconds":1792112837,"priority":1,"record_length":96,"hex_timestamp":"000001a1423fc188"} 
[2026-10-16 06:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:40:24] 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-10-16 06:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780809216001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780809216001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:40:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:40:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780809216001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":219583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:40:24] local.INFO: GPS data processed {"connection_id":219583,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:40:24] local.INFO: Acknowledgment sent {"connection_id":219583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:40:26] local.INFO: TCP Data received {"connection_id":219584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:40:26] local.INFO: Processing buffer {"connection_id":219584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:40:26] local.INFO: IMEI packet received {"connection_id":219584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":219584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:40:31] local.INFO: TCP Data received {"connection_id":219584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:40:31] local.INFO: Processing buffer {"connection_id":219584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:40:31] local.INFO: IMEI packet received {"connection_id":219584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":219584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:40:32] local.INFO: TCP Data received {"connection_id":219584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:40:32] local.INFO: Processing buffer {"connection_id":219584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:40:32] local.INFO: Packet analysis {"connection_id":219584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:40:32] local.INFO: Extracted packet for processing {"connection_id":219584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780829952001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792112918000,"timestamp_ms":1792112918000,"timestamp_seconds":1792112918,"priority":1,"record_length":96,"hex_timestamp":"000001a14240fdf0"} 
[2026-10-16 06:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:40:32] 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-10-16 06:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:40: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-10-16 06:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780829952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780829952001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:40:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780829952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":219584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:40:32] local.INFO: GPS data processed {"connection_id":219584,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:40:32] local.INFO: Acknowledgment sent {"connection_id":219584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:40:36] local.INFO: TCP Data received {"connection_id":219584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:40:36] local.INFO: Processing buffer {"connection_id":219584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:40:36] local.INFO: Packet analysis {"connection_id":219584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:40:36] local.INFO: Extracted packet for processing {"connection_id":219584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:40:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780829952001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792112918000,"timestamp_ms":1792112918000,"timestamp_seconds":1792112918,"priority":1,"record_length":96,"hex_timestamp":"000001a14240fdf0"} 
[2026-10-16 06:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:40: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-10-16 06:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780829952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780829952001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:40:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780829952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":219584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:40:37] local.INFO: GPS data processed {"connection_id":219584,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:40:37] local.INFO: Acknowledgment sent {"connection_id":219584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:40:55] local.INFO: TCP Data received {"connection_id":219583,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:40:55] local.INFO: Processing buffer {"connection_id":219583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:40:55] local.INFO: Packet analysis {"connection_id":219583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:40:55] local.INFO: Extracted packet for processing {"connection_id":219583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780809216001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792112837000,"timestamp_ms":1792112837000,"timestamp_seconds":1792112837,"priority":1,"record_length":96,"hex_timestamp":"000001a1423fc188"} 
[2026-10-16 06:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:40:55] 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-10-16 06:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780809216001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780809216001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:40:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:40:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780809216001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":219583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:40:55] local.INFO: GPS data processed {"connection_id":219583,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:40:55] local.INFO: Acknowledgment sent {"connection_id":219583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:41:17] local.INFO: TCP Data received {"connection_id":216511,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:41:17] local.INFO: Processing buffer {"connection_id":216511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:41:17] local.INFO: IMEI packet received {"connection_id":216511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":216511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:41:21] local.INFO: TCP Data received {"connection_id":216512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:41:21] local.INFO: Processing buffer {"connection_id":216512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:41:21] local.INFO: IMEI packet received {"connection_id":216512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":216512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:41:22] local.INFO: TCP Data received {"connection_id":216511,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:41:22] local.INFO: Processing buffer {"connection_id":216511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:41:22] local.INFO: IMEI packet received {"connection_id":216511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":216511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:41:23] local.INFO: TCP Data received {"connection_id":216511,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:41:23] local.INFO: Processing buffer {"connection_id":216511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:41:23] local.INFO: Packet analysis {"connection_id":216511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:41:23] local.INFO: Extracted packet for processing {"connection_id":216511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780809216001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792112837000,"timestamp_ms":1792112837000,"timestamp_seconds":1792112837,"priority":1,"record_length":96,"hex_timestamp":"000001a1423fc188"} 
[2026-10-16 06:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:41:23] 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-10-16 06:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780809216001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780809216001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:41:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:41:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780809216001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":216511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:41:23] local.INFO: GPS data processed {"connection_id":216511,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:41:23] local.INFO: Acknowledgment sent {"connection_id":216511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:41:26] local.INFO: TCP Data received {"connection_id":216512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:41:26] local.INFO: Processing buffer {"connection_id":216512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:41:26] local.INFO: IMEI packet received {"connection_id":216512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":216512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:41:52] local.INFO: TCP Data received {"connection_id":216512,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:41:52] local.INFO: Processing buffer {"connection_id":216512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:41:52] local.INFO: Packet analysis {"connection_id":216512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:41:52] local.INFO: Extracted packet for processing {"connection_id":216512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:41:52] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780829952001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792112918000,"timestamp_ms":1792112918000,"timestamp_seconds":1792112918,"priority":1,"record_length":96,"hex_timestamp":"000001a14240fdf0"} 
[2026-10-16 06:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:41: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-10-16 06:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:41:52] 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-10-16 06:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":216512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":216512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":216512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:41:52] 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-10-16 06:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780829952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780829952001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:41:52] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780829952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":216512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:41:52] local.INFO: GPS data processed {"connection_id":216512,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:41:52] local.INFO: Acknowledgment sent {"connection_id":216512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:41:55] local.INFO: TCP Data received {"connection_id":216511,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:41:55] local.INFO: Processing buffer {"connection_id":216511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:41:55] local.INFO: Packet analysis {"connection_id":216511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:41:55] local.INFO: Extracted packet for processing {"connection_id":216511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780809216001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792112837000,"timestamp_ms":1792112837000,"timestamp_seconds":1792112837,"priority":1,"record_length":96,"hex_timestamp":"000001a1423fc188"} 
[2026-10-16 06:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:41:55] 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-10-16 06: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-10-16 06:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780809216001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780809216001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:41:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:41:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780809216001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":216511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:41:55] local.INFO: GPS data processed {"connection_id":216511,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:41:55] local.INFO: Acknowledgment sent {"connection_id":216511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:42:21] local.INFO: TCP Data received {"connection_id":217858,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:42:21] local.INFO: Processing buffer {"connection_id":217858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:42:21] local.INFO: IMEI packet received {"connection_id":217858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":217858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:42:22] local.INFO: TCP Data received {"connection_id":217857,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:42:22] local.INFO: Processing buffer {"connection_id":217857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:42:22] local.INFO: IMEI packet received {"connection_id":217857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":217857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:42:26] local.INFO: TCP Data received {"connection_id":217858,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:42:26] local.INFO: Processing buffer {"connection_id":217858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:42:26] local.INFO: IMEI packet received {"connection_id":217858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":217858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:42:27] local.INFO: TCP Data received {"connection_id":217858,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:42:27] local.INFO: Processing buffer {"connection_id":217858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:42:27] local.INFO: Packet analysis {"connection_id":217858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:42:27] local.INFO: Extracted packet for processing {"connection_id":217858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780829952001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112918000,"timestamp_ms":1792112918000,"timestamp_seconds":1792112918,"priority":1,"record_length":96,"hex_timestamp":"000001a14240fdf0"} 
[2026-10-16 06:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780829952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780829952001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:42:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780829952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":217858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:42:27] local.INFO: GPS data processed {"connection_id":217858,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:42:27] local.INFO: Acknowledgment sent {"connection_id":217858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:42:27] local.INFO: TCP Data received {"connection_id":217857,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:42:27] local.INFO: Processing buffer {"connection_id":217857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:42:27] local.INFO: IMEI packet received {"connection_id":217857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":217857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:42:28] local.INFO: TCP Data received {"connection_id":217857,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:42:28] local.INFO: Processing buffer {"connection_id":217857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:42:28] local.INFO: Packet analysis {"connection_id":217857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:42:28] local.INFO: Extracted packet for processing {"connection_id":217857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780809216001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792112837000,"timestamp_ms":1792112837000,"timestamp_seconds":1792112837,"priority":1,"record_length":96,"hex_timestamp":"000001a1423fc188"} 
[2026-10-16 06:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:42:28] 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-10-16 06:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780809216001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780809216001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:42:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:42:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780809216001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":217857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:42:28] local.INFO: GPS data processed {"connection_id":217857,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:42:28] local.INFO: Acknowledgment sent {"connection_id":217857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:42:33] local.INFO: TCP Data received {"connection_id":217857,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:42:33] local.INFO: Processing buffer {"connection_id":217857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1423fc188012d7f98c005afddb00000002f1e..."} 
[2026-10-16 06:42:33] local.INFO: Packet analysis {"connection_id":217857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:42:33] local.INFO: Extracted packet for processing {"connection_id":217857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1423f"} 
[2026-10-16 06:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":30,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780809216001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792112837000,"timestamp_ms":1792112837000,"timestamp_seconds":1792112837,"priority":1,"record_length":96,"hex_timestamp":"000001a1423fc188"} 
[2026-10-16 06:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:42:33] 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-10-16 06:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780809216001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780809216001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:42:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780809216001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":217857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:42:33] local.INFO: GPS data processed {"connection_id":217857,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:42:33] local.INFO: Acknowledgment sent {"connection_id":217857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:42:59] local.INFO: TCP Data received {"connection_id":217858,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:42:59] local.INFO: Processing buffer {"connection_id":217858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:42:59] local.INFO: Packet analysis {"connection_id":217858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:42:59] local.INFO: Extracted packet for processing {"connection_id":217858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780829952001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792112918000,"timestamp_ms":1792112918000,"timestamp_seconds":1792112918,"priority":1,"record_length":96,"hex_timestamp":"000001a14240fdf0"} 
[2026-10-16 06:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:42:59] 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-10-16 06:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780829952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780829952001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:42:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780829952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":217858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:42:59] local.INFO: GPS data processed {"connection_id":217858,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:42:59] local.INFO: Acknowledgment sent {"connection_id":217858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:43:18] local.INFO: TCP Data received {"connection_id":219586,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:43:18] local.INFO: Processing buffer {"connection_id":219586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:43:18] local.INFO: IMEI packet received {"connection_id":219586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":219586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:43:21] local.INFO: TCP Data received {"connection_id":216513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:43:21] local.INFO: Processing buffer {"connection_id":216513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:43:21] local.INFO: IMEI packet received {"connection_id":216513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":216513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:43:22] local.INFO: TCP Data received {"connection_id":219585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:43:22] local.INFO: Processing buffer {"connection_id":219585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:43:22] local.INFO: IMEI packet received {"connection_id":219585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":219585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:43:22] local.INFO: TCP Data received {"connection_id":219586,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:43:22] local.INFO: Processing buffer {"connection_id":219586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:43:22] local.INFO: IMEI packet received {"connection_id":219586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":219586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:43:23] local.INFO: TCP Data received {"connection_id":219586,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:43:23] local.INFO: Processing buffer {"connection_id":219586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:43:23] local.INFO: Packet analysis {"connection_id":219586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:43:23] local.INFO: Extracted packet for processing {"connection_id":219586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780886272001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792113138000,"timestamp_ms":1792113138000,"timestamp_seconds":1792113138,"priority":1,"record_length":96,"hex_timestamp":"000001a142445950"} 
[2026-10-16 06:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:43:23] 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-10-16 06:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780886272001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780886272001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:43:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:43:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780886272001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":219586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:43:23] local.INFO: GPS data processed {"connection_id":219586,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:43:23] local.INFO: Acknowledgment sent {"connection_id":219586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:43:26] local.INFO: TCP Data received {"connection_id":216513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:43:26] local.INFO: Processing buffer {"connection_id":216513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:43:26] local.INFO: IMEI packet received {"connection_id":216513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":216513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:43:27] local.INFO: TCP Data received {"connection_id":216513,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:43:27] local.INFO: Processing buffer {"connection_id":216513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14240fdf0012d7c240005dad510000700ea23..."} 
[2026-10-16 06:43:27] local.INFO: Packet analysis {"connection_id":216513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:43:27] local.INFO: Extracted packet for processing {"connection_id":216513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14240"} 
[2026-10-16 06:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780829952001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792112918000,"timestamp_ms":1792112918000,"timestamp_seconds":1792112918,"priority":1,"record_length":96,"hex_timestamp":"000001a14240fdf0"} 
[2026-10-16 06:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:43:27] 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-10-16 06:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780829952001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780829952001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:43:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780829952001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":216513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:43:27] local.INFO: GPS data processed {"connection_id":216513,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:43:27] local.INFO: Acknowledgment sent {"connection_id":216513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:43:52] local.INFO: TCP Data received {"connection_id":219587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:43:52] local.INFO: Processing buffer {"connection_id":219587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:43:52] local.INFO: IMEI packet received {"connection_id":219587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":219587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:43:55] local.INFO: TCP Data received {"connection_id":219586,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:43:55] local.INFO: Processing buffer {"connection_id":219586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:43:55] local.INFO: Packet analysis {"connection_id":219586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:43:55] local.INFO: Extracted packet for processing {"connection_id":219586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780886272001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792113138000,"timestamp_ms":1792113138000,"timestamp_seconds":1792113138,"priority":1,"record_length":96,"hex_timestamp":"000001a142445950"} 
[2026-10-16 06:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:43:55] 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-10-16 06: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-10-16 06:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780886272001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780886272001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:43:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:43:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780886272001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":219586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:43:55] local.INFO: GPS data processed {"connection_id":219586,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:43:55] local.INFO: Acknowledgment sent {"connection_id":219586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:44:01] local.INFO: TCP Data received {"connection_id":216513,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:44:01] local.INFO: Processing buffer {"connection_id":216513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:44:01] local.INFO: Packet analysis {"connection_id":216513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:44:01] local.INFO: Extracted packet for processing {"connection_id":216513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780907008001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792113219000,"timestamp_ms":1792113219000,"timestamp_seconds":1792113219,"priority":1,"record_length":96,"hex_timestamp":"000001a1424595b8"} 
[2026-10-16 06:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:44:01] 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-10-16 06:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:44:01] 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-10-16 06:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780907008001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780907008001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:44:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780907008001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":216513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:44:01] local.INFO: GPS data processed {"connection_id":216513,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:44:01] local.INFO: Acknowledgment sent {"connection_id":216513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:44:17] local.INFO: TCP Data received {"connection_id":217859,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:44:17] local.INFO: Processing buffer {"connection_id":217859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:44:17] local.INFO: IMEI packet received {"connection_id":217859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":217859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:44:21] local.INFO: TCP Data received {"connection_id":216316,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:44:21] local.INFO: Processing buffer {"connection_id":216316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:44:21] local.INFO: IMEI packet received {"connection_id":216316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":216316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:44:22] local.INFO: TCP Data received {"connection_id":217859,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:44:22] local.INFO: Processing buffer {"connection_id":217859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:44:22] local.INFO: IMEI packet received {"connection_id":217859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":217859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:44:23] local.INFO: TCP Data received {"connection_id":217859,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:44:23] local.INFO: Processing buffer {"connection_id":217859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:44:23] local.INFO: Packet analysis {"connection_id":217859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:44:23] local.INFO: Extracted packet for processing {"connection_id":217859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780886272001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792113138000,"timestamp_ms":1792113138000,"timestamp_seconds":1792113138,"priority":1,"record_length":96,"hex_timestamp":"000001a142445950"} 
[2026-10-16 06:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:44:23] 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-10-16 06: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-10-16 06:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780886272001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780886272001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:44:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:44:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780886272001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":217859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:44:23] local.INFO: GPS data processed {"connection_id":217859,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:44:23] local.INFO: Acknowledgment sent {"connection_id":217859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:44:26] local.INFO: TCP Data received {"connection_id":216316,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:44:26] local.INFO: Processing buffer {"connection_id":216316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:44:26] local.INFO: IMEI packet received {"connection_id":216316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":216316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:44:27] local.INFO: TCP Data received {"connection_id":216316,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:44:27] local.INFO: Processing buffer {"connection_id":216316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:44:27] local.INFO: Packet analysis {"connection_id":216316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:44:27] local.INFO: Extracted packet for processing {"connection_id":216316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780907008001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113219000,"timestamp_ms":1792113219000,"timestamp_seconds":1792113219,"priority":1,"record_length":96,"hex_timestamp":"000001a1424595b8"} 
[2026-10-16 06:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:44:27] 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-10-16 06:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:44: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-10-16 06:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780907008001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780907008001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:44:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780907008001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":216316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:44:27] local.INFO: GPS data processed {"connection_id":216316,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:44:27] local.INFO: Acknowledgment sent {"connection_id":216316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:44:56] local.INFO: TCP Data received {"connection_id":217859,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:44:56] local.INFO: Processing buffer {"connection_id":217859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:44:56] local.INFO: Packet analysis {"connection_id":217859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:44:56] local.INFO: Extracted packet for processing {"connection_id":217859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780886272001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792113138000,"timestamp_ms":1792113138000,"timestamp_seconds":1792113138,"priority":1,"record_length":96,"hex_timestamp":"000001a142445950"} 
[2026-10-16 06:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:44:56] 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-10-16 06: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-10-16 06:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780886272001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780886272001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:44:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:44:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780886272001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":217859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:44:56] local.INFO: GPS data processed {"connection_id":217859,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:44:56] local.INFO: Acknowledgment sent {"connection_id":217859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:44:58] local.INFO: TCP Data received {"connection_id":216316,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:44:58] local.INFO: Processing buffer {"connection_id":216316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:44:58] local.INFO: Packet analysis {"connection_id":216316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:44:58] local.INFO: Extracted packet for processing {"connection_id":216316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780907008001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792113219000,"timestamp_ms":1792113219000,"timestamp_seconds":1792113219,"priority":1,"record_length":96,"hex_timestamp":"000001a1424595b8"} 
[2026-10-16 06:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:44:58] 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-10-16 06:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780907008001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780907008001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:44:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:44:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780907008001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":216316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:44:58] local.INFO: GPS data processed {"connection_id":216316,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:44:58] local.INFO: Acknowledgment sent {"connection_id":216316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:45:17] local.INFO: TCP Data received {"connection_id":219589,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:45:17] local.INFO: Processing buffer {"connection_id":219589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:45:17] local.INFO: IMEI packet received {"connection_id":219589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":219589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:45:21] local.INFO: TCP Data received {"connection_id":219590,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:45:21] local.INFO: Processing buffer {"connection_id":219590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:45:21] local.INFO: IMEI packet received {"connection_id":219590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":219590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:45:23] local.INFO: TCP Data received {"connection_id":219589,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:45:23] local.INFO: Processing buffer {"connection_id":219589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:45:23] local.INFO: IMEI packet received {"connection_id":219589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":219589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:45:24] local.INFO: TCP Data received {"connection_id":219589,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:45:24] local.INFO: Processing buffer {"connection_id":219589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:45:24] local.INFO: Packet analysis {"connection_id":219589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:45:24] local.INFO: Extracted packet for processing {"connection_id":219589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:45:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780886272001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792113138000,"timestamp_ms":1792113138000,"timestamp_seconds":1792113138,"priority":1,"record_length":96,"hex_timestamp":"000001a142445950"} 
[2026-10-16 06:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:45:24] 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-10-16 06:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780886272001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780886272001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:45:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:45:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780886272001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":219589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:45:24] local.INFO: GPS data processed {"connection_id":219589,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:45:24] local.INFO: Acknowledgment sent {"connection_id":219589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:45:26] local.INFO: TCP Data received {"connection_id":219590,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:45:26] local.INFO: Processing buffer {"connection_id":219590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:45:26] local.INFO: IMEI packet received {"connection_id":219590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":219590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:45:27] local.INFO: TCP Data received {"connection_id":219590,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:45:27] local.INFO: Processing buffer {"connection_id":219590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:45:27] local.INFO: Packet analysis {"connection_id":219590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:45:27] local.INFO: Extracted packet for processing {"connection_id":219590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780907008001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113219000,"timestamp_ms":1792113219000,"timestamp_seconds":1792113219,"priority":1,"record_length":96,"hex_timestamp":"000001a1424595b8"} 
[2026-10-16 06:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:45:27] 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-10-16 06:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780907008001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780907008001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:45:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780907008001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":219590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:45:27] local.INFO: GPS data processed {"connection_id":219590,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:45:27] local.INFO: Acknowledgment sent {"connection_id":219590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:45:56] local.INFO: TCP Data received {"connection_id":219589,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:45:56] local.INFO: Processing buffer {"connection_id":219589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:45:56] local.INFO: Packet analysis {"connection_id":219589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:45:56] local.INFO: Extracted packet for processing {"connection_id":219589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780886272001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792113138000,"timestamp_ms":1792113138000,"timestamp_seconds":1792113138,"priority":1,"record_length":96,"hex_timestamp":"000001a142445950"} 
[2026-10-16 06:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:45:56] 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-10-16 06:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780886272001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780886272001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:45:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:45:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780886272001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":219589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:45:56] local.INFO: GPS data processed {"connection_id":219589,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:45:56] local.INFO: Acknowledgment sent {"connection_id":219589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:45:58] local.INFO: TCP Data received {"connection_id":219590,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:45:58] local.INFO: Processing buffer {"connection_id":219590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:45:58] local.INFO: Packet analysis {"connection_id":219590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:45:58] local.INFO: Extracted packet for processing {"connection_id":219590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780907008001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792113219000,"timestamp_ms":1792113219000,"timestamp_seconds":1792113219,"priority":1,"record_length":96,"hex_timestamp":"000001a1424595b8"} 
[2026-10-16 06:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780907008001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780907008001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:45:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:45:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780907008001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":219590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:45:58] local.INFO: GPS data processed {"connection_id":219590,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:45:58] local.INFO: Acknowledgment sent {"connection_id":219590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:46:22] local.INFO: TCP Data received {"connection_id":219591,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:46:22] local.INFO: Processing buffer {"connection_id":219591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:46:22] local.INFO: IMEI packet received {"connection_id":219591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":219591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:46:26] local.INFO: TCP Data received {"connection_id":216317,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:46:26] local.INFO: Processing buffer {"connection_id":216317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:46:26] local.INFO: IMEI packet received {"connection_id":216317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":216317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:46:27] local.INFO: TCP Data received {"connection_id":219591,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:46:27] local.INFO: Processing buffer {"connection_id":219591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:46:27] local.INFO: IMEI packet received {"connection_id":219591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":219591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:46:29] local.INFO: TCP Data received {"connection_id":219591,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:46:29] local.INFO: Processing buffer {"connection_id":219591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:46:29] local.INFO: Packet analysis {"connection_id":219591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:46:29] local.INFO: Extracted packet for processing {"connection_id":219591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:46:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780886272001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792113138000,"timestamp_ms":1792113138000,"timestamp_seconds":1792113138,"priority":1,"record_length":96,"hex_timestamp":"000001a142445950"} 
[2026-10-16 06:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:46:29] 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-10-16 06:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780886272001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780886272001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:46:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:46:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780886272001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":219591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:46:29] local.INFO: GPS data processed {"connection_id":219591,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:46:29] local.INFO: Acknowledgment sent {"connection_id":219591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:46:31] local.INFO: TCP Data received {"connection_id":216317,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:46:31] local.INFO: Processing buffer {"connection_id":216317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:46:31] local.INFO: IMEI packet received {"connection_id":216317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":216317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:46:32] local.INFO: TCP Data received {"connection_id":216317,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:46:32] local.INFO: Processing buffer {"connection_id":216317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:46:32] local.INFO: Packet analysis {"connection_id":216317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:46:32] local.INFO: Extracted packet for processing {"connection_id":216317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780907008001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792113219000,"timestamp_ms":1792113219000,"timestamp_seconds":1792113219,"priority":1,"record_length":96,"hex_timestamp":"000001a1424595b8"} 
[2026-10-16 06:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:46:32] 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-10-16 06:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780907008001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780907008001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:46:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780907008001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":216317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:46:32] local.INFO: GPS data processed {"connection_id":216317,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:46:32] local.INFO: Acknowledgment sent {"connection_id":216317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:46:36] local.INFO: TCP Data received {"connection_id":216317,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:46:36] local.INFO: Processing buffer {"connection_id":216317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:46:36] local.INFO: Packet analysis {"connection_id":216317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:46:36] local.INFO: Extracted packet for processing {"connection_id":216317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780907008001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792113219000,"timestamp_ms":1792113219000,"timestamp_seconds":1792113219,"priority":1,"record_length":96,"hex_timestamp":"000001a1424595b8"} 
[2026-10-16 06:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:46: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-10-16 06:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780907008001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780907008001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:46:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780907008001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":216317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:46:37] local.INFO: GPS data processed {"connection_id":216317,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:46:37] local.INFO: Acknowledgment sent {"connection_id":216317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:47:00] local.INFO: TCP Data received {"connection_id":219591,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:47:00] local.INFO: Processing buffer {"connection_id":219591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:47:00] local.INFO: Packet analysis {"connection_id":219591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:47:00] local.INFO: Extracted packet for processing {"connection_id":219591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780886272001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792113138000,"timestamp_ms":1792113138000,"timestamp_seconds":1792113138,"priority":1,"record_length":96,"hex_timestamp":"000001a142445950"} 
[2026-10-16 06:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:47:00] 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-10-16 06:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780886272001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780886272001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:47:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:47:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780886272001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":219591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:47:00] local.INFO: GPS data processed {"connection_id":219591,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:47:00] local.INFO: Acknowledgment sent {"connection_id":219591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:47:17] local.INFO: TCP Data received {"connection_id":216514,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:47:17] local.INFO: Processing buffer {"connection_id":216514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:47:17] local.INFO: IMEI packet received {"connection_id":216514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":216514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:47:21] local.INFO: TCP Data received {"connection_id":216515,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:47:21] local.INFO: Processing buffer {"connection_id":216515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:47:21] local.INFO: IMEI packet received {"connection_id":216515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":216515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:47:22] local.INFO: TCP Data received {"connection_id":216514,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:47:22] local.INFO: Processing buffer {"connection_id":216514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:47:22] local.INFO: IMEI packet received {"connection_id":216514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":216514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:47:24] local.INFO: TCP Data received {"connection_id":216514,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:47:24] local.INFO: Processing buffer {"connection_id":216514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:47:24] local.INFO: Packet analysis {"connection_id":216514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:47:24] local.INFO: Extracted packet for processing {"connection_id":216514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:47:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780886272001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792113138000,"timestamp_ms":1792113138000,"timestamp_seconds":1792113138,"priority":1,"record_length":96,"hex_timestamp":"000001a142445950"} 
[2026-10-16 06:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:47:24] 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-10-16 06: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-10-16 06:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780886272001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780886272001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:47:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:47:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780886272001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":216514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:47:24] local.INFO: GPS data processed {"connection_id":216514,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:47:24] local.INFO: Acknowledgment sent {"connection_id":216514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:47:26] local.INFO: TCP Data received {"connection_id":216515,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:47:26] local.INFO: Processing buffer {"connection_id":216515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:47:26] local.INFO: IMEI packet received {"connection_id":216515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":216515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:47:27] local.INFO: TCP Data received {"connection_id":216515,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:47:27] local.INFO: Processing buffer {"connection_id":216515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:47:27] local.INFO: Packet analysis {"connection_id":216515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:47:27] local.INFO: Extracted packet for processing {"connection_id":216515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780907008001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113219000,"timestamp_ms":1792113219000,"timestamp_seconds":1792113219,"priority":1,"record_length":96,"hex_timestamp":"000001a1424595b8"} 
[2026-10-16 06:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:47:27] 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-10-16 06:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780907008001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780907008001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:47:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780907008001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":216515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:47:27] local.INFO: GPS data processed {"connection_id":216515,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:47:27] local.INFO: Acknowledgment sent {"connection_id":216515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:47:57] local.INFO: TCP Data received {"connection_id":216514,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:47:57] local.INFO: Processing buffer {"connection_id":216514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142445950012d7f98c005afddb00000002f20..."} 
[2026-10-16 06:47:57] local.INFO: Packet analysis {"connection_id":216514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:47:57] local.INFO: Extracted packet for processing {"connection_id":216514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14244"} 
[2026-10-16 06:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780886272001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792113138000,"timestamp_ms":1792113138000,"timestamp_seconds":1792113138,"priority":1,"record_length":96,"hex_timestamp":"000001a142445950"} 
[2026-10-16 06:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:47:57] 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-10-16 06: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-10-16 06:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780886272001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780886272001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:47:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:47:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780886272001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":216514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:47:57] local.INFO: GPS data processed {"connection_id":216514,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:47:57] local.INFO: Acknowledgment sent {"connection_id":216514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:47:59] local.INFO: TCP Data received {"connection_id":216515,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:47:59] local.INFO: Processing buffer {"connection_id":216515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:47:59] local.INFO: Packet analysis {"connection_id":216515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:47:59] local.INFO: Extracted packet for processing {"connection_id":216515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780907008001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792113219000,"timestamp_ms":1792113219000,"timestamp_seconds":1792113219,"priority":1,"record_length":96,"hex_timestamp":"000001a1424595b8"} 
[2026-10-16 06:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780907008001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780907008001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:47:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780907008001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":216515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:47:59] local.INFO: GPS data processed {"connection_id":216515,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:47:59] local.INFO: Acknowledgment sent {"connection_id":216515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:48:17] local.INFO: TCP Data received {"connection_id":216516,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:48:17] local.INFO: Processing buffer {"connection_id":216516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:48:17] local.INFO: IMEI packet received {"connection_id":216516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":216516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:48:21] local.INFO: TCP Data received {"connection_id":217862,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:48:21] local.INFO: Processing buffer {"connection_id":217862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:48:21] local.INFO: IMEI packet received {"connection_id":217862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":217862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:48:22] local.INFO: TCP Data received {"connection_id":216516,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:48:22] local.INFO: Processing buffer {"connection_id":216516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:48:22] local.INFO: IMEI packet received {"connection_id":216516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":216516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:48:23] local.INFO: TCP Data received {"connection_id":216516,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:48:23] local.INFO: Processing buffer {"connection_id":216516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:48:23] local.INFO: Packet analysis {"connection_id":216516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:48:23] local.INFO: Extracted packet for processing {"connection_id":216516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:48:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780963328001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792113439000,"timestamp_ms":1792113439000,"timestamp_seconds":1792113439,"priority":1,"record_length":96,"hex_timestamp":"000001a14248f118"} 
[2026-10-16 06:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:48:23] 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-10-16 06: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-10-16 06:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780963328001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780963328001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:48:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:48:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780963328001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":216516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:48:23] local.INFO: GPS data processed {"connection_id":216516,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:48:23] local.INFO: Acknowledgment sent {"connection_id":216516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:48:26] local.INFO: TCP Data received {"connection_id":217862,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:48:26] local.INFO: Processing buffer {"connection_id":217862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:48:26] local.INFO: IMEI packet received {"connection_id":217862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":217862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:48:27] local.INFO: TCP Data received {"connection_id":217862,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:48:27] local.INFO: Processing buffer {"connection_id":217862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424595b8012d7c240005dad510000700ea28..."} 
[2026-10-16 06:48:27] local.INFO: Packet analysis {"connection_id":217862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:48:27] local.INFO: Extracted packet for processing {"connection_id":217862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14245"} 
[2026-10-16 06:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":40,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780907008001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113219000,"timestamp_ms":1792113219000,"timestamp_seconds":1792113219,"priority":1,"record_length":96,"hex_timestamp":"000001a1424595b8"} 
[2026-10-16 06:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:48:27] 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-10-16 06:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780907008001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780907008001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:48:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780907008001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":217862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:48:27] local.INFO: GPS data processed {"connection_id":217862,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:48:27] local.INFO: Acknowledgment sent {"connection_id":217862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:48:55] local.INFO: TCP Data received {"connection_id":216516,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:48:55] local.INFO: Processing buffer {"connection_id":216516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:48:55] local.INFO: Packet analysis {"connection_id":216516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:48:55] local.INFO: Extracted packet for processing {"connection_id":216516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780963328001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792113439000,"timestamp_ms":1792113439000,"timestamp_seconds":1792113439,"priority":1,"record_length":96,"hex_timestamp":"000001a14248f118"} 
[2026-10-16 06:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:48:55] 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-10-16 06: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-10-16 06:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780963328001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780963328001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:48:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:48:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780963328001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":216516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:48:55] local.INFO: GPS data processed {"connection_id":216516,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:48:55] local.INFO: Acknowledgment sent {"connection_id":216516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:48:58] local.INFO: TCP Data received {"connection_id":217862,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:48:58] local.INFO: Processing buffer {"connection_id":217862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:48:58] local.INFO: Packet analysis {"connection_id":217862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:48:58] local.INFO: Extracted packet for processing {"connection_id":217862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780984064001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792113520000,"timestamp_ms":1792113520000,"timestamp_seconds":1792113520,"priority":1,"record_length":96,"hex_timestamp":"000001a1424a2d80"} 
[2026-10-16 06:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780984064001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780984064001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:48:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:48:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780984064001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":217862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:48:58] local.INFO: GPS data processed {"connection_id":217862,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:48:58] local.INFO: Acknowledgment sent {"connection_id":217862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:49:21] local.INFO: TCP Data received {"connection_id":217864,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:49:21] local.INFO: Processing buffer {"connection_id":217864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:49:21] local.INFO: IMEI packet received {"connection_id":217864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":217864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:49:22] local.INFO: TCP Data received {"connection_id":216319,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:49:22] local.INFO: Processing buffer {"connection_id":216319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:49:22] local.INFO: IMEI packet received {"connection_id":216319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":216319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:49:26] local.INFO: TCP Data received {"connection_id":217864,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:49:26] local.INFO: Processing buffer {"connection_id":217864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:49:26] local.INFO: IMEI packet received {"connection_id":217864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":217864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:49:27] local.INFO: TCP Data received {"connection_id":216319,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:49:27] local.INFO: Processing buffer {"connection_id":216319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:49:27] local.INFO: IMEI packet received {"connection_id":216319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":216319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:49:27] local.INFO: TCP Data received {"connection_id":217864,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:49:27] local.INFO: Processing buffer {"connection_id":217864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:49:27] local.INFO: Packet analysis {"connection_id":217864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:49:27] local.INFO: Extracted packet for processing {"connection_id":217864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780984064001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113520000,"timestamp_ms":1792113520000,"timestamp_seconds":1792113520,"priority":1,"record_length":96,"hex_timestamp":"000001a1424a2d80"} 
[2026-10-16 06:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780984064001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780984064001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:49:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780984064001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":217864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:49:27] local.INFO: GPS data processed {"connection_id":217864,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:49:27] local.INFO: Acknowledgment sent {"connection_id":217864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:49:27] local.INFO: TCP Data received {"connection_id":216319,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:49:27] local.INFO: Processing buffer {"connection_id":216319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:49:27] local.INFO: Packet analysis {"connection_id":216319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:49:27] local.INFO: Extracted packet for processing {"connection_id":216319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780963328001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113439000,"timestamp_ms":1792113439000,"timestamp_seconds":1792113439,"priority":1,"record_length":96,"hex_timestamp":"000001a14248f118"} 
[2026-10-16 06:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:49:27] 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-10-16 06:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780963328001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780963328001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:49:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:49:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780963328001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":216319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:49:27] local.INFO: GPS data processed {"connection_id":216319,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:49:27] local.INFO: Acknowledgment sent {"connection_id":216319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:49:33] local.INFO: TCP Data received {"connection_id":216319,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:49:33] local.INFO: Processing buffer {"connection_id":216319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:49:33] local.INFO: Packet analysis {"connection_id":216319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:49:33] local.INFO: Extracted packet for processing {"connection_id":216319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780963328001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792113439000,"timestamp_ms":1792113439000,"timestamp_seconds":1792113439,"priority":1,"record_length":96,"hex_timestamp":"000001a14248f118"} 
[2026-10-16 06:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780963328001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780963328001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:49:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:49:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780963328001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":216319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:49:33] local.INFO: GPS data processed {"connection_id":216319,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:49:33] local.INFO: Acknowledgment sent {"connection_id":216319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:49:52] local.INFO: TCP Data received {"connection_id":217865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:49:52] local.INFO: Processing buffer {"connection_id":217865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:49:52] local.INFO: IMEI packet received {"connection_id":217865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":217865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:49:58] local.INFO: TCP Data received {"connection_id":217864,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:49:58] local.INFO: Processing buffer {"connection_id":217864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:49:58] local.INFO: Packet analysis {"connection_id":217864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:49:58] local.INFO: Extracted packet for processing {"connection_id":217864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780984064001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792113520000,"timestamp_ms":1792113520000,"timestamp_seconds":1792113520,"priority":1,"record_length":96,"hex_timestamp":"000001a1424a2d80"} 
[2026-10-16 06:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780984064001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780984064001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:49:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780984064001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":217864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:49:58] local.INFO: GPS data processed {"connection_id":217864,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:49:58] local.INFO: Acknowledgment sent {"connection_id":217864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:50:17] local.INFO: TCP Data received {"connection_id":216320,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:50:17] local.INFO: Processing buffer {"connection_id":216320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:50:17] local.INFO: IMEI packet received {"connection_id":216320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":216320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:50:21] local.INFO: TCP Data received {"connection_id":216321,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:50:21] local.INFO: Processing buffer {"connection_id":216321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:50:21] local.INFO: IMEI packet received {"connection_id":216321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":216321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:50:22] local.INFO: TCP Data received {"connection_id":216320,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:50:22] local.INFO: Processing buffer {"connection_id":216320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:50:22] local.INFO: IMEI packet received {"connection_id":216320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":216320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:50:23] local.INFO: TCP Data received {"connection_id":216320,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:50:23] local.INFO: Processing buffer {"connection_id":216320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:50:23] local.INFO: Packet analysis {"connection_id":216320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:50:23] local.INFO: Extracted packet for processing {"connection_id":216320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780963328001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792113439000,"timestamp_ms":1792113439000,"timestamp_seconds":1792113439,"priority":1,"record_length":96,"hex_timestamp":"000001a14248f118"} 
[2026-10-16 06:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:50:23] 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-10-16 06: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-10-16 06:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780963328001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780963328001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:50:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:50:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780963328001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":216320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:50:23] local.INFO: GPS data processed {"connection_id":216320,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:50:23] local.INFO: Acknowledgment sent {"connection_id":216320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:50:26] local.INFO: TCP Data received {"connection_id":216321,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:50:26] local.INFO: Processing buffer {"connection_id":216321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:50:26] local.INFO: IMEI packet received {"connection_id":216321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":216321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:50:27] local.INFO: TCP Data received {"connection_id":216321,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:50:27] local.INFO: Processing buffer {"connection_id":216321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:50:27] local.INFO: Packet analysis {"connection_id":216321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:50:27] local.INFO: Extracted packet for processing {"connection_id":216321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780984064001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113520000,"timestamp_ms":1792113520000,"timestamp_seconds":1792113520,"priority":1,"record_length":96,"hex_timestamp":"000001a1424a2d80"} 
[2026-10-16 06:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780984064001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780984064001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:50:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780984064001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":216321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:50:27] local.INFO: GPS data processed {"connection_id":216321,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:50:27] local.INFO: Acknowledgment sent {"connection_id":216321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:50:55] local.INFO: TCP Data received {"connection_id":216320,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:50:55] local.INFO: Processing buffer {"connection_id":216320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:50:55] local.INFO: Packet analysis {"connection_id":216320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:50:55] local.INFO: Extracted packet for processing {"connection_id":216320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780963328001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792113439000,"timestamp_ms":1792113439000,"timestamp_seconds":1792113439,"priority":1,"record_length":96,"hex_timestamp":"000001a14248f118"} 
[2026-10-16 06:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:50:55] 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-10-16 06:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780963328001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780963328001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:50:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:50:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780963328001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":216320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:50:55] local.INFO: GPS data processed {"connection_id":216320,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:50:55] local.INFO: Acknowledgment sent {"connection_id":216320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:50:58] local.INFO: TCP Data received {"connection_id":216321,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:50:58] local.INFO: Processing buffer {"connection_id":216321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:50:58] local.INFO: Packet analysis {"connection_id":216321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:50:58] local.INFO: Extracted packet for processing {"connection_id":216321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780984064001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792113520000,"timestamp_ms":1792113520000,"timestamp_seconds":1792113520,"priority":1,"record_length":96,"hex_timestamp":"000001a1424a2d80"} 
[2026-10-16 06:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780984064001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780984064001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:50:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:50:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780984064001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":216321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:50:58] local.INFO: GPS data processed {"connection_id":216321,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:50:58] local.INFO: Acknowledgment sent {"connection_id":216321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:51:17] local.INFO: TCP Data received {"connection_id":216518,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:51:17] local.INFO: Processing buffer {"connection_id":216518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:51:17] local.INFO: IMEI packet received {"connection_id":216518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":216518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:51:22] local.INFO: TCP Data received {"connection_id":216518,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:51:22] local.INFO: Processing buffer {"connection_id":216518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:51:22] local.INFO: IMEI packet received {"connection_id":216518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":216518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:51:23] local.INFO: TCP Data received {"connection_id":216518,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:51:23] local.INFO: Processing buffer {"connection_id":216518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:51:23] local.INFO: Packet analysis {"connection_id":216518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:51:23] local.INFO: Extracted packet for processing {"connection_id":216518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:51: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-10-16 06:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780963328001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792113439000,"timestamp_ms":1792113439000,"timestamp_seconds":1792113439,"priority":1,"record_length":96,"hex_timestamp":"000001a14248f118"} 
[2026-10-16 06:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:51: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:51:23] 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-10-16 06:51: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-10-16 06:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780963328001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780963328001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:51:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:51:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780963328001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":216518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:51:23] local.INFO: GPS data processed {"connection_id":216518,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:51:23] local.INFO: Acknowledgment sent {"connection_id":216518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:51:26] local.INFO: TCP Data received {"connection_id":216322,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:51:26] local.INFO: Processing buffer {"connection_id":216322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:51:26] local.INFO: IMEI packet received {"connection_id":216322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":216322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:51:31] local.INFO: TCP Data received {"connection_id":216322,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:51:31] local.INFO: Processing buffer {"connection_id":216322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:51:31] local.INFO: IMEI packet received {"connection_id":216322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":216322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:51:32] local.INFO: TCP Data received {"connection_id":216322,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:51:32] local.INFO: Processing buffer {"connection_id":216322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:51:32] local.INFO: Packet analysis {"connection_id":216322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:51:32] local.INFO: Extracted packet for processing {"connection_id":216322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780984064001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792113520000,"timestamp_ms":1792113520000,"timestamp_seconds":1792113520,"priority":1,"record_length":96,"hex_timestamp":"000001a1424a2d80"} 
[2026-10-16 06:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:51:32] 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-10-16 06:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780984064001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780984064001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:51:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780984064001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":216322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:51:33] local.INFO: GPS data processed {"connection_id":216322,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:51:33] local.INFO: Acknowledgment sent {"connection_id":216322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:51:36] local.INFO: TCP Data received {"connection_id":216322,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:51:36] local.INFO: Processing buffer {"connection_id":216322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:51:36] local.INFO: Packet analysis {"connection_id":216322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:51:36] local.INFO: Extracted packet for processing {"connection_id":216322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780984064001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792113520000,"timestamp_ms":1792113520000,"timestamp_seconds":1792113520,"priority":1,"record_length":96,"hex_timestamp":"000001a1424a2d80"} 
[2026-10-16 06:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:51:36] 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-10-16 06: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-10-16 06:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780984064001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780984064001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:51:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780984064001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":216322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:51:36] local.INFO: GPS data processed {"connection_id":216322,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:51:36] local.INFO: Acknowledgment sent {"connection_id":216322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:51:55] local.INFO: TCP Data received {"connection_id":216518,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:51:55] local.INFO: Processing buffer {"connection_id":216518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:51:55] local.INFO: Packet analysis {"connection_id":216518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:51:55] local.INFO: Extracted packet for processing {"connection_id":216518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780963328001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792113439000,"timestamp_ms":1792113439000,"timestamp_seconds":1792113439,"priority":1,"record_length":96,"hex_timestamp":"000001a14248f118"} 
[2026-10-16 06:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:51:55] 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-10-16 06:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780963328001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780963328001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:51:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:51:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780963328001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":216518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:51:56] local.INFO: GPS data processed {"connection_id":216518,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:51:56] local.INFO: Acknowledgment sent {"connection_id":216518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:52:21] local.INFO: TCP Data received {"connection_id":217867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:52:21] local.INFO: Processing buffer {"connection_id":217867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:52:21] local.INFO: IMEI packet received {"connection_id":217867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":217867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:52:22] local.INFO: TCP Data received {"connection_id":216323,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:52:22] local.INFO: Processing buffer {"connection_id":216323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:52:22] local.INFO: IMEI packet received {"connection_id":216323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":216323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:52:26] local.INFO: TCP Data received {"connection_id":217867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:52:26] local.INFO: Processing buffer {"connection_id":217867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:52:26] local.INFO: IMEI packet received {"connection_id":217867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":217867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:52:27] local.INFO: TCP Data received {"connection_id":216323,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:52:27] local.INFO: Processing buffer {"connection_id":216323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:52:27] local.INFO: IMEI packet received {"connection_id":216323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":216323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:52:27] local.INFO: TCP Data received {"connection_id":217867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:52:28] local.INFO: Processing buffer {"connection_id":217867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:52:28] local.INFO: Packet analysis {"connection_id":217867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:52:28] local.INFO: Extracted packet for processing {"connection_id":217867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:52:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780984064001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792113520000,"timestamp_ms":1792113520000,"timestamp_seconds":1792113520,"priority":1,"record_length":96,"hex_timestamp":"000001a1424a2d80"} 
[2026-10-16 06:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:52:28] 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-10-16 06:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780984064001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780984064001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:52:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780984064001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":217867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:52:28] local.INFO: GPS data processed {"connection_id":217867,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:52:28] local.INFO: Acknowledgment sent {"connection_id":217867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:52:29] local.INFO: TCP Data received {"connection_id":216323,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:52:29] local.INFO: Processing buffer {"connection_id":216323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:52:29] local.INFO: Packet analysis {"connection_id":216323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:52:29] local.INFO: Extracted packet for processing {"connection_id":216323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:52:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:52: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-10-16 06:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780963328001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792113439000,"timestamp_ms":1792113439000,"timestamp_seconds":1792113439,"priority":1,"record_length":96,"hex_timestamp":"000001a14248f118"} 
[2026-10-16 06:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:52: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:52:29] 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-10-16 06:52: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-10-16 06:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780963328001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780963328001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:52:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:52:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780963328001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":216323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:52:29] local.INFO: GPS data processed {"connection_id":216323,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:52:29] local.INFO: Acknowledgment sent {"connection_id":216323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:52:33] local.INFO: TCP Data received {"connection_id":216323,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:52:33] local.INFO: Processing buffer {"connection_id":216323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14248f118012d7f98c005afddb00000002f1d..."} 
[2026-10-16 06:52:33] local.INFO: Packet analysis {"connection_id":216323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:52:33] local.INFO: Extracted packet for processing {"connection_id":216323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14248"} 
[2026-10-16 06:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":29,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780963328001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792113439000,"timestamp_ms":1792113439000,"timestamp_seconds":1792113439,"priority":1,"record_length":96,"hex_timestamp":"000001a14248f118"} 
[2026-10-16 06:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 06:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780963328001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780963328001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:52:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:52:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780963328001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":216323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:52:33] local.INFO: GPS data processed {"connection_id":216323,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:52:33] local.INFO: Acknowledgment sent {"connection_id":216323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:52:59] local.INFO: TCP Data received {"connection_id":217867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:52:59] local.INFO: Processing buffer {"connection_id":217867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:52:59] local.INFO: Packet analysis {"connection_id":217867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:52:59] local.INFO: Extracted packet for processing {"connection_id":217867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780984064001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792113520000,"timestamp_ms":1792113520000,"timestamp_seconds":1792113520,"priority":1,"record_length":96,"hex_timestamp":"000001a1424a2d80"} 
[2026-10-16 06:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:52:59] 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-10-16 06:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:52:59] 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-10-16 06:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780984064001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780984064001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:52:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780984064001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":217867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:52:59] local.INFO: GPS data processed {"connection_id":217867,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:52:59] local.INFO: Acknowledgment sent {"connection_id":217867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:53:16] local.INFO: TCP Data received {"connection_id":219592,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:53:16] local.INFO: Processing buffer {"connection_id":219592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:53:16] local.INFO: IMEI packet received {"connection_id":219592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":219592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:53:21] local.INFO: TCP Data received {"connection_id":217868,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:53:21] local.INFO: Processing buffer {"connection_id":217868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:53:21] local.INFO: IMEI packet received {"connection_id":217868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":217868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:53:22] local.INFO: TCP Data received {"connection_id":219592,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:53:22] local.INFO: Processing buffer {"connection_id":219592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:53:22] local.INFO: IMEI packet received {"connection_id":219592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":219592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:53:23] local.INFO: TCP Data received {"connection_id":219592,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:53:23] local.INFO: Processing buffer {"connection_id":219592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:53:23] local.INFO: Packet analysis {"connection_id":219592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:53:23] local.INFO: Extracted packet for processing {"connection_id":219592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781040384001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792113740000,"timestamp_ms":1792113740000,"timestamp_seconds":1792113740,"priority":1,"record_length":96,"hex_timestamp":"000001a1424d88e0"} 
[2026-10-16 06:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:53:23] 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-10-16 06: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-10-16 06:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781040384001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781040384001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:53:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:53:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781040384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":219592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:53:24] local.INFO: GPS data processed {"connection_id":219592,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:53:24] local.INFO: Acknowledgment sent {"connection_id":219592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:53:26] local.INFO: TCP Data received {"connection_id":217868,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:53:26] local.INFO: Processing buffer {"connection_id":217868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:53:26] local.INFO: IMEI packet received {"connection_id":217868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":217868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:53:27] local.INFO: TCP Data received {"connection_id":217868,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:53:27] local.INFO: Processing buffer {"connection_id":217868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424a2d80012d7c240005dad510000a00ea26..."} 
[2026-10-16 06:53:27] local.INFO: Packet analysis {"connection_id":217868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:53:27] local.INFO: Extracted packet for processing {"connection_id":217868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424a"} 
[2026-10-16 06:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458780984064001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113520000,"timestamp_ms":1792113520000,"timestamp_seconds":1792113520,"priority":1,"record_length":96,"hex_timestamp":"000001a1424a2d80"} 
[2026-10-16 06:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:53: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-10-16 06:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458780984064001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458780984064001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:53:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458780984064001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":217868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:53:27] local.INFO: GPS data processed {"connection_id":217868,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:53:27] local.INFO: Acknowledgment sent {"connection_id":217868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:53:56] local.INFO: TCP Data received {"connection_id":219592,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:53:56] local.INFO: Processing buffer {"connection_id":219592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:53:56] local.INFO: Packet analysis {"connection_id":219592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:53:56] local.INFO: Extracted packet for processing {"connection_id":219592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781040384001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792113740000,"timestamp_ms":1792113740000,"timestamp_seconds":1792113740,"priority":1,"record_length":96,"hex_timestamp":"000001a1424d88e0"} 
[2026-10-16 06:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:53:56] 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-10-16 06:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781040384001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781040384001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:53:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:53:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781040384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":219592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:53:56] local.INFO: GPS data processed {"connection_id":219592,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:53:56] local.INFO: Acknowledgment sent {"connection_id":219592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:53:58] local.INFO: TCP Data received {"connection_id":217868,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:53:58] local.INFO: Processing buffer {"connection_id":217868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:53:58] local.INFO: Packet analysis {"connection_id":217868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:53:58] local.INFO: Extracted packet for processing {"connection_id":217868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:53: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-10-16 06:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:53:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":217868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:53:58] local.INFO: GPS data processed {"connection_id":217868,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:53:58] local.INFO: Acknowledgment sent {"connection_id":217868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:54:16] local.INFO: TCP Data received {"connection_id":217869,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:54:17] local.INFO: Processing buffer {"connection_id":217869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:54:17] local.INFO: IMEI packet received {"connection_id":217869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":217869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:54:21] local.INFO: TCP Data received {"connection_id":216325,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:54:21] local.INFO: Processing buffer {"connection_id":216325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:54:21] local.INFO: IMEI packet received {"connection_id":216325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":216325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:54:22] local.INFO: TCP Data received {"connection_id":217869,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:54:22] local.INFO: Processing buffer {"connection_id":217869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:54:22] local.INFO: IMEI packet received {"connection_id":217869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":217869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:54:23] local.INFO: TCP Data received {"connection_id":217869,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:54:23] local.INFO: Processing buffer {"connection_id":217869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:54:23] local.INFO: Packet analysis {"connection_id":217869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:54:23] local.INFO: Extracted packet for processing {"connection_id":217869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:54:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781040384001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792113740000,"timestamp_ms":1792113740000,"timestamp_seconds":1792113740,"priority":1,"record_length":96,"hex_timestamp":"000001a1424d88e0"} 
[2026-10-16 06:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:54:23] 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-10-16 06: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-10-16 06:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781040384001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781040384001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:54:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:54:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781040384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":217869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:54:23] local.INFO: GPS data processed {"connection_id":217869,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:54:23] local.INFO: Acknowledgment sent {"connection_id":217869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:54:26] local.INFO: TCP Data received {"connection_id":216325,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:54:26] local.INFO: Processing buffer {"connection_id":216325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:54:26] local.INFO: IMEI packet received {"connection_id":216325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":216325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:54:27] local.INFO: TCP Data received {"connection_id":216325,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:54:27] local.INFO: Processing buffer {"connection_id":216325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:54:27] local.INFO: Packet analysis {"connection_id":216325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:54:27] local.INFO: Extracted packet for processing {"connection_id":216325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:54:27] 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-10-16 06: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-10-16 06:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:54:27] 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-10-16 06:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:54:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":216325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:54:27] local.INFO: GPS data processed {"connection_id":216325,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:54:27] local.INFO: Acknowledgment sent {"connection_id":216325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:54:55] local.INFO: TCP Data received {"connection_id":217869,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:54:55] local.INFO: Processing buffer {"connection_id":217869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:54:55] local.INFO: Packet analysis {"connection_id":217869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:54:55] local.INFO: Extracted packet for processing {"connection_id":217869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781040384001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792113740000,"timestamp_ms":1792113740000,"timestamp_seconds":1792113740,"priority":1,"record_length":96,"hex_timestamp":"000001a1424d88e0"} 
[2026-10-16 06:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:54:55] 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-10-16 06:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781040384001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781040384001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:54:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:54:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781040384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":217869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:54:55] local.INFO: GPS data processed {"connection_id":217869,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:54:55] local.INFO: Acknowledgment sent {"connection_id":217869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:54:59] local.INFO: TCP Data received {"connection_id":216325,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:54:59] local.INFO: Processing buffer {"connection_id":216325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:54:59] local.INFO: Packet analysis {"connection_id":216325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:54:59] local.INFO: Extracted packet for processing {"connection_id":216325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:54:59] 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-10-16 06:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:54:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:54:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":216325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:54:59] local.INFO: GPS data processed {"connection_id":216325,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:54:59] local.INFO: Acknowledgment sent {"connection_id":216325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:55:22] local.INFO: TCP Data received {"connection_id":216520,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:55:22] local.INFO: Processing buffer {"connection_id":216520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:55:22] local.INFO: IMEI packet received {"connection_id":216520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":216520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:55:24] local.INFO: TCP Data received {"connection_id":216326,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:55:24] local.INFO: Processing buffer {"connection_id":216326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:55:24] local.INFO: IMEI packet received {"connection_id":216326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":216326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:55:26] local.INFO: TCP Data received {"connection_id":216521,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:55:26] local.INFO: Processing buffer {"connection_id":216521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:55:26] local.INFO: IMEI packet received {"connection_id":216521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":216521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:55:27] local.INFO: TCP Data received {"connection_id":216520,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:55:27] local.INFO: Processing buffer {"connection_id":216520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:55:27] local.INFO: IMEI packet received {"connection_id":216520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":216520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:55:27] local.INFO: TCP Data received {"connection_id":216520,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:55:27] local.INFO: Processing buffer {"connection_id":216520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:55:27] local.INFO: Packet analysis {"connection_id":216520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:55:27] local.INFO: Extracted packet for processing {"connection_id":216520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781040384001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113740000,"timestamp_ms":1792113740000,"timestamp_seconds":1792113740,"priority":1,"record_length":96,"hex_timestamp":"000001a1424d88e0"} 
[2026-10-16 06:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:55:27] 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-10-16 06: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-10-16 06:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781040384001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781040384001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:55:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:55:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781040384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":216520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:55:27] local.INFO: GPS data processed {"connection_id":216520,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:55:27] local.INFO: Acknowledgment sent {"connection_id":216520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:55:31] local.INFO: TCP Data received {"connection_id":216521,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:55:31] local.INFO: Processing buffer {"connection_id":216521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:55:31] local.INFO: IMEI packet received {"connection_id":216521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":216521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:55:32] local.INFO: TCP Data received {"connection_id":216521,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:55:32] local.INFO: Processing buffer {"connection_id":216521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:55:32] local.INFO: Packet analysis {"connection_id":216521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:55:32] local.INFO: Extracted packet for processing {"connection_id":216521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:55:32] 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-10-16 06:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:55:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":216521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:55:32] local.INFO: GPS data processed {"connection_id":216521,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:55:32] local.INFO: Acknowledgment sent {"connection_id":216521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:55:33] local.INFO: TCP Data received {"connection_id":216520,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:55:33] local.INFO: Processing buffer {"connection_id":216520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:55:33] local.INFO: Packet analysis {"connection_id":216520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:55:33] local.INFO: Extracted packet for processing {"connection_id":216520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781040384001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792113740000,"timestamp_ms":1792113740000,"timestamp_seconds":1792113740,"priority":1,"record_length":96,"hex_timestamp":"000001a1424d88e0"} 
[2026-10-16 06:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:55:33] 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-10-16 06:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781040384001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781040384001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:55:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:55:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781040384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":216520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:55:33] local.INFO: GPS data processed {"connection_id":216520,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:55:33] local.INFO: Acknowledgment sent {"connection_id":216520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:55:36] local.INFO: TCP Data received {"connection_id":216521,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:55:36] local.INFO: Processing buffer {"connection_id":216521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:55:36] local.INFO: Packet analysis {"connection_id":216521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:55:36] local.INFO: Extracted packet for processing {"connection_id":216521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:55: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-10-16 06:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:55:36] 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-10-16 06:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:55:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":216521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:55:36] local.INFO: GPS data processed {"connection_id":216521,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:55:36] local.INFO: Acknowledgment sent {"connection_id":216521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:55:42] local.INFO: TCP Data received {"connection_id":216521,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:55:42] local.INFO: Processing buffer {"connection_id":216521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:55:42] local.INFO: Packet analysis {"connection_id":216521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:55:42] local.INFO: Extracted packet for processing {"connection_id":216521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:55: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-10-16 06:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:55:42] 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-10-16 06:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":216521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":216521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":216521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:55:42] 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-10-16 06:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:55:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":216521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:55:42] local.INFO: GPS data processed {"connection_id":216521,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:55:42] local.INFO: Acknowledgment sent {"connection_id":216521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:55:51] local.INFO: TCP Data received {"connection_id":216327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:55:51] local.INFO: Processing buffer {"connection_id":216327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 06:55:51] local.INFO: IMEI packet received {"connection_id":216327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 06:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":216327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:56:18] local.INFO: TCP Data received {"connection_id":219593,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:56:18] local.INFO: Processing buffer {"connection_id":219593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:56:18] local.INFO: IMEI packet received {"connection_id":219593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":219593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:56:21] local.INFO: TCP Data received {"connection_id":219594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:56:21] local.INFO: Processing buffer {"connection_id":219594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:56:21] local.INFO: IMEI packet received {"connection_id":219594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":219594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:56:22] local.INFO: TCP Data received {"connection_id":219593,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:56:22] local.INFO: Processing buffer {"connection_id":219593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:56:22] local.INFO: IMEI packet received {"connection_id":219593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":219593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:56:24] local.INFO: TCP Data received {"connection_id":219593,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:56:24] local.INFO: Processing buffer {"connection_id":219593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:56:24] local.INFO: Packet analysis {"connection_id":219593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:56:24] local.INFO: Extracted packet for processing {"connection_id":219593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:56: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-10-16 06:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781040384001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792113740000,"timestamp_ms":1792113740000,"timestamp_seconds":1792113740,"priority":1,"record_length":96,"hex_timestamp":"000001a1424d88e0"} 
[2026-10-16 06:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:56:24] 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-10-16 06:56: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-10-16 06:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781040384001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781040384001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:56:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:56:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781040384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":219593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:56:24] local.INFO: GPS data processed {"connection_id":219593,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:56:24] local.INFO: Acknowledgment sent {"connection_id":219593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:56:26] local.INFO: TCP Data received {"connection_id":219594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:56:26] local.INFO: Processing buffer {"connection_id":219594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:56:26] local.INFO: IMEI packet received {"connection_id":219594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":219594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:56:27] local.INFO: TCP Data received {"connection_id":219594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:56:27] local.INFO: Processing buffer {"connection_id":219594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:56:27] local.INFO: Packet analysis {"connection_id":219594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:56:27] local.INFO: Extracted packet for processing {"connection_id":219594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:56:27] 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-10-16 06:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:56: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-10-16 06:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:56:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":219594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:56:27] local.INFO: GPS data processed {"connection_id":219594,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:56:27] local.INFO: Acknowledgment sent {"connection_id":219594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:56:56] local.INFO: TCP Data received {"connection_id":219593,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:56:56] local.INFO: Processing buffer {"connection_id":219593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:56:56] local.INFO: Packet analysis {"connection_id":219593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:56:56] local.INFO: Extracted packet for processing {"connection_id":219593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781040384001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792113740000,"timestamp_ms":1792113740000,"timestamp_seconds":1792113740,"priority":1,"record_length":96,"hex_timestamp":"000001a1424d88e0"} 
[2026-10-16 06:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:56:56] 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-10-16 06:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781040384001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781040384001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:56:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:56:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781040384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":219593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:56:56] local.INFO: GPS data processed {"connection_id":219593,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:56:56] local.INFO: Acknowledgment sent {"connection_id":219593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:56:58] local.INFO: TCP Data received {"connection_id":219594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:56:58] local.INFO: Processing buffer {"connection_id":219594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:56:58] local.INFO: Packet analysis {"connection_id":219594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:56:58] local.INFO: Extracted packet for processing {"connection_id":219594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:56: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-10-16 06:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:56:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":219594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:56:58] local.INFO: GPS data processed {"connection_id":219594,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:56:58] local.INFO: Acknowledgment sent {"connection_id":219594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:57:16] local.INFO: TCP Data received {"connection_id":217871,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:57:16] local.INFO: Processing buffer {"connection_id":217871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:57:16] local.INFO: IMEI packet received {"connection_id":217871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":217871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:57:21] local.INFO: TCP Data received {"connection_id":219595,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:57:21] local.INFO: Processing buffer {"connection_id":219595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:57:21] local.INFO: IMEI packet received {"connection_id":219595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":219595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:57:22] local.INFO: TCP Data received {"connection_id":217871,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:57:22] local.INFO: Processing buffer {"connection_id":217871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:57:22] local.INFO: IMEI packet received {"connection_id":217871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":217871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:57:23] local.INFO: TCP Data received {"connection_id":217871,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:57:23] local.INFO: Processing buffer {"connection_id":217871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:57:23] local.INFO: Packet analysis {"connection_id":217871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:57:23] local.INFO: Extracted packet for processing {"connection_id":217871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781040384001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792113740000,"timestamp_ms":1792113740000,"timestamp_seconds":1792113740,"priority":1,"record_length":96,"hex_timestamp":"000001a1424d88e0"} 
[2026-10-16 06:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:57:23] 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-10-16 06:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781040384001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781040384001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:57:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:57:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781040384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":217871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:57:23] local.INFO: GPS data processed {"connection_id":217871,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:57:23] local.INFO: Acknowledgment sent {"connection_id":217871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:57:26] local.INFO: TCP Data received {"connection_id":219595,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:57:26] local.INFO: Processing buffer {"connection_id":219595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:57:26] local.INFO: IMEI packet received {"connection_id":219595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":219595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:57:27] local.INFO: TCP Data received {"connection_id":219595,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:57:27] local.INFO: Processing buffer {"connection_id":219595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:57:27] local.INFO: Packet analysis {"connection_id":219595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:57:27] local.INFO: Extracted packet for processing {"connection_id":219595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:57:27] 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-10-16 06:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:57: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-10-16 06:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:57:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":219595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:57:27] local.INFO: GPS data processed {"connection_id":219595,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:57:27] local.INFO: Acknowledgment sent {"connection_id":219595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:57:55] local.INFO: TCP Data received {"connection_id":217871,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:57:55] local.INFO: Processing buffer {"connection_id":217871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424d88e0012d7f98c005afddb00000002f22..."} 
[2026-10-16 06:57:55] local.INFO: Packet analysis {"connection_id":217871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:57:55] local.INFO: Extracted packet for processing {"connection_id":217871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424d"} 
[2026-10-16 06:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781040384001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792113740000,"timestamp_ms":1792113740000,"timestamp_seconds":1792113740,"priority":1,"record_length":96,"hex_timestamp":"000001a1424d88e0"} 
[2026-10-16 06:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:57:55] 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-10-16 06:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781040384001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781040384001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:57:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:57:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781040384001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":217871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:57:55] local.INFO: GPS data processed {"connection_id":217871,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:57:55] local.INFO: Acknowledgment sent {"connection_id":217871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:57:59] local.INFO: TCP Data received {"connection_id":219595,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:57:59] local.INFO: Processing buffer {"connection_id":219595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:57:59] local.INFO: Packet analysis {"connection_id":219595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:57:59] local.INFO: Extracted packet for processing {"connection_id":219595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:57: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-10-16 06:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:57: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-10-16 06:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:57: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-10-16 06:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:57:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":219595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:57:59] local.INFO: GPS data processed {"connection_id":219595,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:57:59] local.INFO: Acknowledgment sent {"connection_id":219595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:58:17] local.INFO: TCP Data received {"connection_id":216328,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:58:17] local.INFO: Processing buffer {"connection_id":216328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:58:17] local.INFO: IMEI packet received {"connection_id":216328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":216328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:58:21] local.INFO: TCP Data received {"connection_id":216523,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:58:21] local.INFO: Processing buffer {"connection_id":216523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:58:21] local.INFO: IMEI packet received {"connection_id":216523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":216523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:58:22] local.INFO: TCP Data received {"connection_id":216328,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:58:22] local.INFO: Processing buffer {"connection_id":216328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:58:22] local.INFO: IMEI packet received {"connection_id":216328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":216328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:58:23] local.INFO: TCP Data received {"connection_id":216328,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:58:23] local.INFO: Processing buffer {"connection_id":216328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:58:23] local.INFO: Packet analysis {"connection_id":216328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 06:58:23] local.INFO: Extracted packet for processing {"connection_id":216328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 06:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781117440001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792114041000,"timestamp_ms":1792114041000,"timestamp_seconds":1792114041,"priority":1,"record_length":96,"hex_timestamp":"000001a1425220a8"} 
[2026-10-16 06:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:58:23] 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-10-16 06: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-10-16 06:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781117440001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781117440001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:58:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:58:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781117440001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":216328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:58:23] local.INFO: GPS data processed {"connection_id":216328,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:58:23] local.INFO: Acknowledgment sent {"connection_id":216328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:58:26] local.INFO: TCP Data received {"connection_id":216523,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:58:26] local.INFO: Processing buffer {"connection_id":216523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:58:26] local.INFO: IMEI packet received {"connection_id":216523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":216523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:58:27] local.INFO: TCP Data received {"connection_id":216523,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:58:27] local.INFO: Processing buffer {"connection_id":216523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1424ec548012d7c240005dad510000a00ea20..."} 
[2026-10-16 06:58:27] local.INFO: Packet analysis {"connection_id":216523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:58:27] local.INFO: Extracted packet for processing {"connection_id":216523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1424e"} 
[2026-10-16 06:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":10,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781061120001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792113821000,"timestamp_ms":1792113821000,"timestamp_seconds":1792113821,"priority":1,"record_length":96,"hex_timestamp":"000001a1424ec548"} 
[2026-10-16 06:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 06:58:27] 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-10-16 06: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-10-16 06:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:58:27] 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-10-16 06:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781061120001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781061120001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:58:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781061120001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":216523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:58:27] local.INFO: GPS data processed {"connection_id":216523,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:58:27] local.INFO: Acknowledgment sent {"connection_id":216523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:58:55] local.INFO: TCP Data received {"connection_id":216328,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:58:55] local.INFO: Processing buffer {"connection_id":216328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:58:55] local.INFO: Packet analysis {"connection_id":216328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 06:58:55] local.INFO: Extracted packet for processing {"connection_id":216328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 06:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781117440001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792114041000,"timestamp_ms":1792114041000,"timestamp_seconds":1792114041,"priority":1,"record_length":96,"hex_timestamp":"000001a1425220a8"} 
[2026-10-16 06:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:58:55] 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-10-16 06: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-10-16 06:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781117440001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781117440001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:58:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:58:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781117440001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":216328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:58:55] local.INFO: GPS data processed {"connection_id":216328,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:58:55] local.INFO: Acknowledgment sent {"connection_id":216328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:58:58] local.INFO: TCP Data received {"connection_id":216523,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 06:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 06:58:58] local.INFO: Processing buffer {"connection_id":216523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 06:58:58] local.INFO: Packet analysis {"connection_id":216523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 06:58:58] local.INFO: Extracted packet for processing {"connection_id":216523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 06:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06: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-10-16 06:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 06:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06: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":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06: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-10-16 06:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:58:58] 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-10-16 06:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:58:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":216523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:58:59] local.INFO: GPS data processed {"connection_id":216523,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:58:59] local.INFO: Acknowledgment sent {"connection_id":216523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:59:21] local.INFO: TCP Data received {"connection_id":216525,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:59:21] local.INFO: Processing buffer {"connection_id":216525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:59:21] local.INFO: IMEI packet received {"connection_id":216525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 06:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":216525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:59:22] local.INFO: TCP Data received {"connection_id":219596,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:59:22] local.INFO: Processing buffer {"connection_id":219596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:59:22] local.INFO: IMEI packet received {"connection_id":219596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 06:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":219596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 06:59:26] local.INFO: TCP Data received {"connection_id":216525,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:59:26] local.INFO: Processing buffer {"connection_id":216525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 06:59:26] local.INFO: IMEI packet received {"connection_id":216525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 06:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":216525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:59:27] local.INFO: TCP Data received {"connection_id":219596,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:59:27] local.INFO: Processing buffer {"connection_id":219596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 06:59:27] local.INFO: IMEI packet received {"connection_id":219596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 06:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":219596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 06:59:27] local.INFO: TCP Data received {"connection_id":216525,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 06:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 06:59:27] local.INFO: Processing buffer {"connection_id":216525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 06:59:27] local.INFO: Packet analysis {"connection_id":216525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 06:59:27] local.INFO: Extracted packet for processing {"connection_id":216525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 06:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 06:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:59:27] 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-10-16 06:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:59:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":216525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:59:27] local.INFO: GPS data processed {"connection_id":216525,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:59:27] local.INFO: Acknowledgment sent {"connection_id":216525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:59:28] local.INFO: TCP Data received {"connection_id":219596,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:59:28] local.INFO: Processing buffer {"connection_id":219596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:59:28] local.INFO: Packet analysis {"connection_id":219596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 06:59:28] local.INFO: Extracted packet for processing {"connection_id":219596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 06:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781117440001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792114041000,"timestamp_ms":1792114041000,"timestamp_seconds":1792114041,"priority":1,"record_length":96,"hex_timestamp":"000001a1425220a8"} 
[2026-10-16 06:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:59:28] 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-10-16 06:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781117440001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781117440001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:59:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:59:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781117440001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":219596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:59:28] local.INFO: GPS data processed {"connection_id":219596,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:59:28] local.INFO: Acknowledgment sent {"connection_id":219596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:59:33] local.INFO: TCP Data received {"connection_id":219596,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:59:33] local.INFO: Processing buffer {"connection_id":219596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 06:59:33] local.INFO: Packet analysis {"connection_id":219596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 06:59:33] local.INFO: Extracted packet for processing {"connection_id":219596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 06:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 06:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781117440001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792114041000,"timestamp_ms":1792114041000,"timestamp_seconds":1792114041,"priority":1,"record_length":96,"hex_timestamp":"000001a1425220a8"} 
[2026-10-16 06:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 06:59:33] 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-10-16 06:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 06:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 06:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 06:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 06:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781117440001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 06:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 06:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 06:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781117440001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:59:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 06:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 06:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 06:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781117440001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 06:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":219596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:59:33] local.INFO: GPS data processed {"connection_id":219596,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:59:33] local.INFO: Acknowledgment sent {"connection_id":219596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 06:59:58] local.INFO: TCP Data received {"connection_id":216525,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 06:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 06:59:58] local.INFO: Processing buffer {"connection_id":216525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 06:59:58] local.INFO: Packet analysis {"connection_id":216525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 06:59:58] local.INFO: Extracted packet for processing {"connection_id":216525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 06:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 06:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 06:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 06:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 06:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 06:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 06:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 06:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 06:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 06:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 06:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 06:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 06:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 06:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 06:59:58] 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-10-16 06:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 06:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 06:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 06:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 06:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 06:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 06:59:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 06:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 06:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 06:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 06:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 06:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":216525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 06:59:58] local.INFO: GPS data processed {"connection_id":216525,"processed":1,"errors":0,"total":1} 
[2026-10-16 06:59:58] local.INFO: Acknowledgment sent {"connection_id":216525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:00:17] local.INFO: TCP Data received {"connection_id":219597,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:00:17] local.INFO: Processing buffer {"connection_id":219597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:00:17] local.INFO: IMEI packet received {"connection_id":219597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":219597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:00:22] local.INFO: TCP Data received {"connection_id":219597,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:00:22] local.INFO: Processing buffer {"connection_id":219597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:00:22] local.INFO: IMEI packet received {"connection_id":219597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":219597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:00:24] local.INFO: TCP Data received {"connection_id":219597,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:00:24] local.INFO: Processing buffer {"connection_id":219597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:00:24] local.INFO: Packet analysis {"connection_id":219597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:00:24] local.INFO: Extracted packet for processing {"connection_id":219597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781117440001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792114041000,"timestamp_ms":1792114041000,"timestamp_seconds":1792114041,"priority":1,"record_length":96,"hex_timestamp":"000001a1425220a8"} 
[2026-10-16 07:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:00:24] 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-10-16 07:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781117440001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781117440001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:00:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:00:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781117440001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":219597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:00:24] local.INFO: GPS data processed {"connection_id":219597,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:00:24] local.INFO: Acknowledgment sent {"connection_id":219597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:00:26] local.INFO: TCP Data received {"connection_id":219598,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:00:26] local.INFO: Processing buffer {"connection_id":219598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:00:26] local.INFO: IMEI packet received {"connection_id":219598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":219598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:00:31] local.INFO: TCP Data received {"connection_id":219598,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:00:31] local.INFO: Processing buffer {"connection_id":219598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:00:31] local.INFO: IMEI packet received {"connection_id":219598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":219598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:00:32] local.INFO: TCP Data received {"connection_id":219598,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:00:32] local.INFO: Processing buffer {"connection_id":219598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:00:32] local.INFO: Packet analysis {"connection_id":219598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:00:32] local.INFO: Extracted packet for processing {"connection_id":219598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 07:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:00:32] 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-10-16 07:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:00:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":219598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:00:32] local.INFO: GPS data processed {"connection_id":219598,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:00:32] local.INFO: Acknowledgment sent {"connection_id":219598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:00:36] local.INFO: TCP Data received {"connection_id":219598,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:00:36] local.INFO: Processing buffer {"connection_id":219598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:00:36] local.INFO: Packet analysis {"connection_id":219598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:00:36] local.INFO: Extracted packet for processing {"connection_id":219598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 07:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:00:36] 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-10-16 07: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-10-16 07:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:00:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":219598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:00:37] local.INFO: GPS data processed {"connection_id":219598,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:00:37] local.INFO: Acknowledgment sent {"connection_id":219598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:00:55] local.INFO: TCP Data received {"connection_id":219597,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:00:55] local.INFO: Processing buffer {"connection_id":219597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:00:55] local.INFO: Packet analysis {"connection_id":219597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:00:55] local.INFO: Extracted packet for processing {"connection_id":219597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781117440001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792114041000,"timestamp_ms":1792114041000,"timestamp_seconds":1792114041,"priority":1,"record_length":96,"hex_timestamp":"000001a1425220a8"} 
[2026-10-16 07:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:00:55] 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-10-16 07:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781117440001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781117440001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:00:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:00:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781117440001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":219597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:00:55] local.INFO: GPS data processed {"connection_id":219597,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:00:55] local.INFO: Acknowledgment sent {"connection_id":219597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:01:17] local.INFO: TCP Data received {"connection_id":216329,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:01:17] local.INFO: Processing buffer {"connection_id":216329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:01:17] local.INFO: IMEI packet received {"connection_id":216329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":216329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:01:17] local.INFO: TCP Data received {"connection_id":219599,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:01:17] local.INFO: Processing buffer {"connection_id":219599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:01:17] local.INFO: IMEI packet received {"connection_id":219599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":219599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:01:22] local.INFO: TCP Data received {"connection_id":219599,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:01:22] local.INFO: Processing buffer {"connection_id":219599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:01:22] local.INFO: IMEI packet received {"connection_id":219599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":219599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:01:24] local.INFO: TCP Data received {"connection_id":219599,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:01:24] local.INFO: Processing buffer {"connection_id":219599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:01:24] local.INFO: Packet analysis {"connection_id":219599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:01:24] local.INFO: Extracted packet for processing {"connection_id":219599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781117440001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792114041000,"timestamp_ms":1792114041000,"timestamp_seconds":1792114041,"priority":1,"record_length":96,"hex_timestamp":"000001a1425220a8"} 
[2026-10-16 07:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:01:24] 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-10-16 07:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781117440001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781117440001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:01:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:01:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781117440001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":219599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:01:24] local.INFO: GPS data processed {"connection_id":219599,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:01:24] local.INFO: Acknowledgment sent {"connection_id":219599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:01:28] local.INFO: TCP Data received {"connection_id":216330,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:01:28] local.INFO: Processing buffer {"connection_id":216330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:01:28] local.INFO: IMEI packet received {"connection_id":216330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":216330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:01:29] local.INFO: TCP Data received {"connection_id":216330,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:01:29] local.INFO: Processing buffer {"connection_id":216330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:01:29] local.INFO: IMEI packet received {"connection_id":216330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":216330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:01:29] local.INFO: TCP Data received {"connection_id":216330,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:01:29] local.INFO: Processing buffer {"connection_id":216330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:01:29] local.INFO: Packet analysis {"connection_id":216330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:01:29] local.INFO: Extracted packet for processing {"connection_id":216330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 07:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:01:29] 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-10-16 07:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:01:29] 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-10-16 07:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:01:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":216330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:01:30] local.INFO: GPS data processed {"connection_id":216330,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:01:30] local.INFO: Acknowledgment sent {"connection_id":216330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:01:31] local.INFO: TCP Data received {"connection_id":216330,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:01:31] local.INFO: Processing buffer {"connection_id":216330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:01:31] local.INFO: Packet analysis {"connection_id":216330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:01:31] local.INFO: Extracted packet for processing {"connection_id":216330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 07:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:01:31] 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-10-16 07:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:01:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:01:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":216330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:01:31] local.INFO: GPS data processed {"connection_id":216330,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:01:31] local.INFO: Acknowledgment sent {"connection_id":216330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:01:52] local.INFO: TCP Data received {"connection_id":219600,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:01:52] local.INFO: Processing buffer {"connection_id":219600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:01:52] local.INFO: IMEI packet received {"connection_id":219600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":219600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:01:56] local.INFO: TCP Data received {"connection_id":219599,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:01:56] local.INFO: Processing buffer {"connection_id":219599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:01:56] local.INFO: Packet analysis {"connection_id":219599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:01:56] local.INFO: Extracted packet for processing {"connection_id":219599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781117440001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792114041000,"timestamp_ms":1792114041000,"timestamp_seconds":1792114041,"priority":1,"record_length":96,"hex_timestamp":"000001a1425220a8"} 
[2026-10-16 07:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:01:56] 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-10-16 07:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781117440001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781117440001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:01:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:01:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781117440001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":219599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:01:56] local.INFO: GPS data processed {"connection_id":219599,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:01:56] local.INFO: Acknowledgment sent {"connection_id":219599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:02:02] local.INFO: TCP Data received {"connection_id":216330,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:02:02] local.INFO: Processing buffer {"connection_id":216330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:02:02] local.INFO: Packet analysis {"connection_id":216330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:02:02] local.INFO: Extracted packet for processing {"connection_id":216330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 07:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:02:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":216330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:02:03] local.INFO: GPS data processed {"connection_id":216330,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:02:03] local.INFO: Acknowledgment sent {"connection_id":216330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:02:17] local.INFO: TCP Data received {"connection_id":216331,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:02:17] local.INFO: Processing buffer {"connection_id":216331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:02:17] local.INFO: IMEI packet received {"connection_id":216331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":216331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:02:21] local.INFO: TCP Data received {"connection_id":219601,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:02:21] local.INFO: Processing buffer {"connection_id":219601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:02:21] local.INFO: IMEI packet received {"connection_id":219601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":219601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:02:22] local.INFO: TCP Data received {"connection_id":216331,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:02:22] local.INFO: Processing buffer {"connection_id":216331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:02:22] local.INFO: IMEI packet received {"connection_id":216331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":216331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:02:26] local.INFO: TCP Data received {"connection_id":219601,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:02:26] local.INFO: Processing buffer {"connection_id":219601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:02:26] local.INFO: IMEI packet received {"connection_id":219601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":219601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:02:27] local.INFO: TCP Data received {"connection_id":216331,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:02:27] local.INFO: Processing buffer {"connection_id":216331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:02:27] local.INFO: Packet analysis {"connection_id":216331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:02:27] local.INFO: Extracted packet for processing {"connection_id":216331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781117440001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114041000,"timestamp_ms":1792114041000,"timestamp_seconds":1792114041,"priority":1,"record_length":96,"hex_timestamp":"000001a1425220a8"} 
[2026-10-16 07:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:02:27] 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-10-16 07:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781117440001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781117440001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:02:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:02:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781117440001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":216331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:02:27] local.INFO: GPS data processed {"connection_id":216331,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:02:27] local.INFO: Acknowledgment sent {"connection_id":216331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:02:27] local.INFO: TCP Data received {"connection_id":219601,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:02:27] local.INFO: Processing buffer {"connection_id":219601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:02:27] local.INFO: Packet analysis {"connection_id":219601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:02:27] local.INFO: Extracted packet for processing {"connection_id":219601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 07:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:02:27] 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-10-16 07:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:02:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":219601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:02:27] local.INFO: GPS data processed {"connection_id":219601,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:02:27] local.INFO: Acknowledgment sent {"connection_id":219601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:02:58] local.INFO: TCP Data received {"connection_id":219601,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:02:58] local.INFO: Processing buffer {"connection_id":219601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:02:58] local.INFO: Packet analysis {"connection_id":219601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:02:58] local.INFO: Extracted packet for processing {"connection_id":219601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 07:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:02:58] 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-10-16 07:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:02:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":219601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:02:58] local.INFO: GPS data processed {"connection_id":219601,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:02:58] local.INFO: Acknowledgment sent {"connection_id":219601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:02:58] local.INFO: TCP Data received {"connection_id":216331,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:02:58] local.INFO: Processing buffer {"connection_id":216331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425220a8012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:02:58] local.INFO: Packet analysis {"connection_id":216331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:02:58] local.INFO: Extracted packet for processing {"connection_id":216331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14252"} 
[2026-10-16 07:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781117440001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792114041000,"timestamp_ms":1792114041000,"timestamp_seconds":1792114041,"priority":1,"record_length":96,"hex_timestamp":"000001a1425220a8"} 
[2026-10-16 07:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:02:58] 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-10-16 07:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781117440001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781117440001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:02:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:02:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781117440001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":216331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:02:58] local.INFO: GPS data processed {"connection_id":216331,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:02:58] local.INFO: Acknowledgment sent {"connection_id":216331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:03:22] local.INFO: TCP Data received {"connection_id":217875,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:03:22] local.INFO: Processing buffer {"connection_id":217875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:03:22] local.INFO: IMEI packet received {"connection_id":217875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":217875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:03:22] local.INFO: TCP Data received {"connection_id":217874,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:03:22] local.INFO: Processing buffer {"connection_id":217874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:03:22] local.INFO: IMEI packet received {"connection_id":217874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":217874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:03:26] local.INFO: TCP Data received {"connection_id":217875,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:03:26] local.INFO: Processing buffer {"connection_id":217875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:03:26] local.INFO: IMEI packet received {"connection_id":217875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":217875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:03:26] local.INFO: TCP Data received {"connection_id":217874,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:03:26] local.INFO: Processing buffer {"connection_id":217874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:03:26] local.INFO: IMEI packet received {"connection_id":217874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":217874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:03:27] local.INFO: TCP Data received {"connection_id":217875,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:03:27] local.INFO: Processing buffer {"connection_id":217875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142535d10012d7c240005dad510000700ea23..."} 
[2026-10-16 07:03:27] local.INFO: Packet analysis {"connection_id":217875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:03:27] local.INFO: Extracted packet for processing {"connection_id":217875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14253"} 
[2026-10-16 07:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":35,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781138176001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114122000,"timestamp_ms":1792114122000,"timestamp_seconds":1792114122,"priority":1,"record_length":96,"hex_timestamp":"000001a142535d10"} 
[2026-10-16 07:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:03:27] 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-10-16 07:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781138176001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781138176001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:03:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781138176001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":217875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:03:27] local.INFO: GPS data processed {"connection_id":217875,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:03:27] local.INFO: Acknowledgment sent {"connection_id":217875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:03:27] local.INFO: TCP Data received {"connection_id":217874,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:03:27] local.INFO: Processing buffer {"connection_id":217874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:03:27] local.INFO: Packet analysis {"connection_id":217874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:03:27] local.INFO: Extracted packet for processing {"connection_id":217874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781194496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114342000,"timestamp_ms":1792114342000,"timestamp_seconds":1792114342,"priority":1,"record_length":96,"hex_timestamp":"000001a14256b870"} 
[2026-10-16 07:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781194496001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781194496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:03:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:03:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781194496001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":217874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:03:27] local.INFO: GPS data processed {"connection_id":217874,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:03:27] local.INFO: Acknowledgment sent {"connection_id":217874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:03:33] local.INFO: TCP Data received {"connection_id":217874,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:03:33] local.INFO: Processing buffer {"connection_id":217874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:03:33] local.INFO: Packet analysis {"connection_id":217874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:03:33] local.INFO: Extracted packet for processing {"connection_id":217874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781194496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792114342000,"timestamp_ms":1792114342000,"timestamp_seconds":1792114342,"priority":1,"record_length":96,"hex_timestamp":"000001a14256b870"} 
[2026-10-16 07:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781194496001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781194496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:03:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:03:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781194496001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":217874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:03:33] local.INFO: GPS data processed {"connection_id":217874,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:03:33] local.INFO: Acknowledgment sent {"connection_id":217874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:03:59] local.INFO: TCP Data received {"connection_id":217875,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:03:59] local.INFO: Processing buffer {"connection_id":217875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:03:59] local.INFO: Packet analysis {"connection_id":217875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:03:59] local.INFO: Extracted packet for processing {"connection_id":217875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781215232001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792114423000,"timestamp_ms":1792114423000,"timestamp_seconds":1792114423,"priority":1,"record_length":96,"hex_timestamp":"000001a14257f4d8"} 
[2026-10-16 07:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:03:59] 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-10-16 07:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:03:59] 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-10-16 07:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781215232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781215232001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:03:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:03:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781215232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":217875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:03:59] local.INFO: GPS data processed {"connection_id":217875,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:03:59] local.INFO: Acknowledgment sent {"connection_id":217875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:04:17] local.INFO: TCP Data received {"connection_id":219602,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:04:17] local.INFO: Processing buffer {"connection_id":219602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:04:17] local.INFO: IMEI packet received {"connection_id":219602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":219602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:04:21] local.INFO: TCP Data received {"connection_id":216527,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:04:21] local.INFO: Processing buffer {"connection_id":216527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:04:21] local.INFO: IMEI packet received {"connection_id":216527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":216527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:04:22] local.INFO: TCP Data received {"connection_id":219602,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:04:22] local.INFO: Processing buffer {"connection_id":219602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:04:22] local.INFO: IMEI packet received {"connection_id":219602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":219602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:04:23] local.INFO: TCP Data received {"connection_id":219602,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:04:23] local.INFO: Processing buffer {"connection_id":219602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:04:23] local.INFO: Packet analysis {"connection_id":219602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:04:23] local.INFO: Extracted packet for processing {"connection_id":219602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:04:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781194496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792114342000,"timestamp_ms":1792114342000,"timestamp_seconds":1792114342,"priority":1,"record_length":96,"hex_timestamp":"000001a14256b870"} 
[2026-10-16 07:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781194496001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781194496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:04:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:04:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781194496001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":219602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:04:23] local.INFO: GPS data processed {"connection_id":219602,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:04:23] local.INFO: Acknowledgment sent {"connection_id":219602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:04:28] local.INFO: TCP Data received {"connection_id":216527,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:04:28] local.INFO: Processing buffer {"connection_id":216527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:04:28] local.INFO: IMEI packet received {"connection_id":216527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":216527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:04:29] local.INFO: TCP Data received {"connection_id":216527,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:04:29] local.INFO: Processing buffer {"connection_id":216527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:04:29] local.INFO: Packet analysis {"connection_id":216527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:04:29] local.INFO: Extracted packet for processing {"connection_id":216527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:04: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-10-16 07:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781215232001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792114423000,"timestamp_ms":1792114423000,"timestamp_seconds":1792114423,"priority":1,"record_length":96,"hex_timestamp":"000001a14257f4d8"} 
[2026-10-16 07:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:04: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":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:04:29] 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-10-16 07:04: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-10-16 07:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:04:29] 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-10-16 07:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781215232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781215232001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:04:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781215232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":216527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:04:29] local.INFO: GPS data processed {"connection_id":216527,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:04:29] local.INFO: Acknowledgment sent {"connection_id":216527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:04:55] local.INFO: TCP Data received {"connection_id":219602,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:04:55] local.INFO: Processing buffer {"connection_id":219602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:04:55] local.INFO: Packet analysis {"connection_id":219602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:04:55] local.INFO: Extracted packet for processing {"connection_id":219602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781194496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792114342000,"timestamp_ms":1792114342000,"timestamp_seconds":1792114342,"priority":1,"record_length":96,"hex_timestamp":"000001a14256b870"} 
[2026-10-16 07:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781194496001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781194496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:04:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:04:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781194496001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":219602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:04:55] local.INFO: GPS data processed {"connection_id":219602,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:04:55] local.INFO: Acknowledgment sent {"connection_id":219602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:05:00] local.INFO: TCP Data received {"connection_id":216527,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:05:00] local.INFO: Processing buffer {"connection_id":216527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:05:00] local.INFO: Packet analysis {"connection_id":216527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:05:00] local.INFO: Extracted packet for processing {"connection_id":216527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781215232001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792114423000,"timestamp_ms":1792114423000,"timestamp_seconds":1792114423,"priority":1,"record_length":96,"hex_timestamp":"000001a14257f4d8"} 
[2026-10-16 07:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:05:00] 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-10-16 07:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:05:00] 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-10-16 07:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781215232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781215232001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:05:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:05:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781215232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":216527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:05:00] local.INFO: GPS data processed {"connection_id":216527,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:05:00] local.INFO: Acknowledgment sent {"connection_id":216527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:05:16] local.INFO: TCP Data received {"connection_id":219604,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:05:16] local.INFO: Processing buffer {"connection_id":219604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:05:16] local.INFO: IMEI packet received {"connection_id":219604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":219604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:05:22] local.INFO: TCP Data received {"connection_id":219604,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:05:22] local.INFO: Processing buffer {"connection_id":219604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:05:22] local.INFO: IMEI packet received {"connection_id":219604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":219604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:05:24] local.INFO: TCP Data received {"connection_id":216333,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:05:24] local.INFO: Processing buffer {"connection_id":216333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:05:24] local.INFO: IMEI packet received {"connection_id":216333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":216333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:05:24] local.INFO: TCP Data received {"connection_id":219604,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:05:24] local.INFO: Processing buffer {"connection_id":219604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:05:24] local.INFO: Packet analysis {"connection_id":219604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:05:24] local.INFO: Extracted packet for processing {"connection_id":219604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781194496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792114342000,"timestamp_ms":1792114342000,"timestamp_seconds":1792114342,"priority":1,"record_length":96,"hex_timestamp":"000001a14256b870"} 
[2026-10-16 07:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781194496001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781194496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:05:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:05:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781194496001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":219604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:05:24] local.INFO: GPS data processed {"connection_id":219604,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:05:24] local.INFO: Acknowledgment sent {"connection_id":219604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:05:26] local.INFO: TCP Data received {"connection_id":216333,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:05:26] local.INFO: Processing buffer {"connection_id":216333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:05:26] local.INFO: IMEI packet received {"connection_id":216333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":216333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:05:30] local.INFO: TCP Data received {"connection_id":216333,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:05:30] local.INFO: Processing buffer {"connection_id":216333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:05:30] local.INFO: Packet analysis {"connection_id":216333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:05:30] local.INFO: Extracted packet for processing {"connection_id":216333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781215232001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792114423000,"timestamp_ms":1792114423000,"timestamp_seconds":1792114423,"priority":1,"record_length":96,"hex_timestamp":"000001a14257f4d8"} 
[2026-10-16 07:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781215232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781215232001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:05:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781215232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":216333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:05:30] local.INFO: GPS data processed {"connection_id":216333,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:05:30] local.INFO: Acknowledgment sent {"connection_id":216333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:05:56] local.INFO: TCP Data received {"connection_id":219604,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:05:56] local.INFO: Processing buffer {"connection_id":219604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:05:56] local.INFO: Packet analysis {"connection_id":219604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:05:56] local.INFO: Extracted packet for processing {"connection_id":219604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781194496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792114342000,"timestamp_ms":1792114342000,"timestamp_seconds":1792114342,"priority":1,"record_length":96,"hex_timestamp":"000001a14256b870"} 
[2026-10-16 07:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781194496001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781194496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:05:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:05:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781194496001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":219604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:05:56] local.INFO: GPS data processed {"connection_id":219604,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:05:56] local.INFO: Acknowledgment sent {"connection_id":219604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:06:05] local.INFO: TCP Data received {"connection_id":216333,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:06:05] local.INFO: Processing buffer {"connection_id":216333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:06:05] local.INFO: Packet analysis {"connection_id":216333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:06:05] local.INFO: Extracted packet for processing {"connection_id":216333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781215232001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792114423000,"timestamp_ms":1792114423000,"timestamp_seconds":1792114423,"priority":1,"record_length":96,"hex_timestamp":"000001a14257f4d8"} 
[2026-10-16 07:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:06:05] 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-10-16 07: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-10-16 07:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781215232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781215232001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:06:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781215232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":216333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:06:05] local.INFO: GPS data processed {"connection_id":216333,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:06:05] local.INFO: Acknowledgment sent {"connection_id":216333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:06:17] local.INFO: TCP Data received {"connection_id":217876,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:06:17] local.INFO: Processing buffer {"connection_id":217876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:06:17] local.INFO: IMEI packet received {"connection_id":217876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":217876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:06:22] local.INFO: TCP Data received {"connection_id":217876,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:06:22] local.INFO: Processing buffer {"connection_id":217876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:06:22] local.INFO: IMEI packet received {"connection_id":217876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":217876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:06:23] local.INFO: TCP Data received {"connection_id":217876,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:06:23] local.INFO: Processing buffer {"connection_id":217876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:06:23] local.INFO: Packet analysis {"connection_id":217876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:06:23] local.INFO: Extracted packet for processing {"connection_id":217876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781194496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792114342000,"timestamp_ms":1792114342000,"timestamp_seconds":1792114342,"priority":1,"record_length":96,"hex_timestamp":"000001a14256b870"} 
[2026-10-16 07:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781194496001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781194496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:06:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:06:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781194496001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":217876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:06:23] local.INFO: GPS data processed {"connection_id":217876,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:06:23] local.INFO: Acknowledgment sent {"connection_id":217876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:06:26] local.INFO: TCP Data received {"connection_id":217877,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:06:26] local.INFO: Processing buffer {"connection_id":217877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:06:26] local.INFO: IMEI packet received {"connection_id":217877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":217877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:06:31] local.INFO: TCP Data received {"connection_id":217877,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:06:31] local.INFO: Processing buffer {"connection_id":217877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:06:31] local.INFO: IMEI packet received {"connection_id":217877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":217877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:06:32] local.INFO: TCP Data received {"connection_id":217877,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:06:32] local.INFO: Processing buffer {"connection_id":217877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:06:32] local.INFO: Packet analysis {"connection_id":217877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:06:32] local.INFO: Extracted packet for processing {"connection_id":217877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781215232001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792114423000,"timestamp_ms":1792114423000,"timestamp_seconds":1792114423,"priority":1,"record_length":96,"hex_timestamp":"000001a14257f4d8"} 
[2026-10-16 07:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:06:32] 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-10-16 07:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781215232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781215232001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:06:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781215232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":217877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:06:32] local.INFO: GPS data processed {"connection_id":217877,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:06:32] local.INFO: Acknowledgment sent {"connection_id":217877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:06:36] local.INFO: TCP Data received {"connection_id":217877,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:06:36] local.INFO: Processing buffer {"connection_id":217877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:06:36] local.INFO: Packet analysis {"connection_id":217877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:06:36] local.INFO: Extracted packet for processing {"connection_id":217877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781215232001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792114423000,"timestamp_ms":1792114423000,"timestamp_seconds":1792114423,"priority":1,"record_length":96,"hex_timestamp":"000001a14257f4d8"} 
[2026-10-16 07:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:06:36] 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-10-16 07: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-10-16 07:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":217877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":217877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":217877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781215232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781215232001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:06:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781215232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":217877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:06:37] local.INFO: GPS data processed {"connection_id":217877,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:06:37] local.INFO: Acknowledgment sent {"connection_id":217877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:06:55] local.INFO: TCP Data received {"connection_id":217876,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:06:55] local.INFO: Processing buffer {"connection_id":217876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:06:55] local.INFO: Packet analysis {"connection_id":217876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:06:55] local.INFO: Extracted packet for processing {"connection_id":217876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781194496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792114342000,"timestamp_ms":1792114342000,"timestamp_seconds":1792114342,"priority":1,"record_length":96,"hex_timestamp":"000001a14256b870"} 
[2026-10-16 07:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781194496001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781194496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:06:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:06:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781194496001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":217876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:06:55] local.INFO: GPS data processed {"connection_id":217876,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:06:55] local.INFO: Acknowledgment sent {"connection_id":217876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:07:16] local.INFO: TCP Data received {"connection_id":216528,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:07:16] local.INFO: Processing buffer {"connection_id":216528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:07:16] local.INFO: IMEI packet received {"connection_id":216528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":216528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:07:21] local.INFO: TCP Data received {"connection_id":216335,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:07:21] local.INFO: Processing buffer {"connection_id":216335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:07:21] local.INFO: IMEI packet received {"connection_id":216335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":216335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:07:22] local.INFO: TCP Data received {"connection_id":219605,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:07:22] local.INFO: Processing buffer {"connection_id":219605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:07:22] local.INFO: IMEI packet received {"connection_id":219605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":219605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:07:22] local.INFO: TCP Data received {"connection_id":216528,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:07:22] local.INFO: Processing buffer {"connection_id":216528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:07:22] local.INFO: IMEI packet received {"connection_id":216528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":216528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:07:23] local.INFO: TCP Data received {"connection_id":216528,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:07:23] local.INFO: Processing buffer {"connection_id":216528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:07:23] local.INFO: Packet analysis {"connection_id":216528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:07:23] local.INFO: Extracted packet for processing {"connection_id":216528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781194496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792114342000,"timestamp_ms":1792114342000,"timestamp_seconds":1792114342,"priority":1,"record_length":96,"hex_timestamp":"000001a14256b870"} 
[2026-10-16 07:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781194496001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781194496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:07:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:07:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781194496001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":216528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:07:23] local.INFO: GPS data processed {"connection_id":216528,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:07:23] local.INFO: Acknowledgment sent {"connection_id":216528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:07:26] local.INFO: TCP Data received {"connection_id":216335,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:07:26] local.INFO: Processing buffer {"connection_id":216335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:07:26] local.INFO: IMEI packet received {"connection_id":216335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":216335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:07:27] local.INFO: TCP Data received {"connection_id":216335,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:07:27] local.INFO: Processing buffer {"connection_id":216335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:07:27] local.INFO: Packet analysis {"connection_id":216335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:07:27] local.INFO: Extracted packet for processing {"connection_id":216335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781215232001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114423000,"timestamp_ms":1792114423000,"timestamp_seconds":1792114423,"priority":1,"record_length":96,"hex_timestamp":"000001a14257f4d8"} 
[2026-10-16 07:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781215232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781215232001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:07:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781215232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":216335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:07:27] local.INFO: GPS data processed {"connection_id":216335,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:07:27] local.INFO: Acknowledgment sent {"connection_id":216335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:07:51] local.INFO: TCP Data received {"connection_id":219606,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:07:51] local.INFO: Processing buffer {"connection_id":219606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:07:51] local.INFO: IMEI packet received {"connection_id":219606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":219606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:07:55] local.INFO: TCP Data received {"connection_id":216528,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:07:55] local.INFO: Processing buffer {"connection_id":216528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14256b870012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:07:55] local.INFO: Packet analysis {"connection_id":216528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:07:55] local.INFO: Extracted packet for processing {"connection_id":216528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14256"} 
[2026-10-16 07:07:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781194496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792114342000,"timestamp_ms":1792114342000,"timestamp_seconds":1792114342,"priority":1,"record_length":96,"hex_timestamp":"000001a14256b870"} 
[2026-10-16 07:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781194496001,"66":25473,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781194496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:07:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:07:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781194496001,"power":25473,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":216528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:07:55] local.INFO: GPS data processed {"connection_id":216528,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:07:55] local.INFO: Acknowledgment sent {"connection_id":216528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:07:58] local.INFO: TCP Data received {"connection_id":216335,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:07:58] local.INFO: Processing buffer {"connection_id":216335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:07:58] local.INFO: Packet analysis {"connection_id":216335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:07:58] local.INFO: Extracted packet for processing {"connection_id":216335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781215232001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792114423000,"timestamp_ms":1792114423000,"timestamp_seconds":1792114423,"priority":1,"record_length":96,"hex_timestamp":"000001a14257f4d8"} 
[2026-10-16 07:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781215232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781215232001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:07:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781215232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":216335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:07:58] local.INFO: GPS data processed {"connection_id":216335,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:07:58] local.INFO: Acknowledgment sent {"connection_id":216335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:08:16] local.INFO: TCP Data received {"connection_id":217878,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:08:16] local.INFO: Processing buffer {"connection_id":217878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:08:16] local.INFO: IMEI packet received {"connection_id":217878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":217878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:08:21] local.INFO: TCP Data received {"connection_id":216336,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:08:21] local.INFO: Processing buffer {"connection_id":216336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:08:21] local.INFO: IMEI packet received {"connection_id":216336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":216336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:08:22] local.INFO: TCP Data received {"connection_id":217878,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:08:22] local.INFO: Processing buffer {"connection_id":217878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:08:22] local.INFO: IMEI packet received {"connection_id":217878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":217878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:08:23] local.INFO: TCP Data received {"connection_id":217878,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:08:23] local.INFO: Processing buffer {"connection_id":217878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:08:23] local.INFO: Packet analysis {"connection_id":217878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:08:23] local.INFO: Extracted packet for processing {"connection_id":217878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781271552001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792114643000,"timestamp_ms":1792114643000,"timestamp_seconds":1792114643,"priority":1,"record_length":96,"hex_timestamp":"000001a1425b5038"} 
[2026-10-16 07:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781271552001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781271552001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:08:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:08:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781271552001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":217878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:08:23] local.INFO: GPS data processed {"connection_id":217878,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:08:23] local.INFO: Acknowledgment sent {"connection_id":217878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:08:26] local.INFO: TCP Data received {"connection_id":216336,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:08:26] local.INFO: Processing buffer {"connection_id":216336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:08:26] local.INFO: IMEI packet received {"connection_id":216336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":216336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:08:27] local.INFO: TCP Data received {"connection_id":216336,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:08:27] local.INFO: Processing buffer {"connection_id":216336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14257f4d8012d7c240005dad510000700ea26..."} 
[2026-10-16 07:08:27] local.INFO: Packet analysis {"connection_id":216336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:08:27] local.INFO: Extracted packet for processing {"connection_id":216336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14257"} 
[2026-10-16 07:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781215232001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114423000,"timestamp_ms":1792114423000,"timestamp_seconds":1792114423,"priority":1,"record_length":96,"hex_timestamp":"000001a14257f4d8"} 
[2026-10-16 07:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781215232001,"66":12613,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781215232001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:08:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781215232001,"power":12613,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":216336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:08:27] local.INFO: GPS data processed {"connection_id":216336,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:08:27] local.INFO: Acknowledgment sent {"connection_id":216336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:08:55] local.INFO: TCP Data received {"connection_id":217878,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:08:55] local.INFO: Processing buffer {"connection_id":217878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:08:55] local.INFO: Packet analysis {"connection_id":217878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:08:55] local.INFO: Extracted packet for processing {"connection_id":217878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781271552001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792114643000,"timestamp_ms":1792114643000,"timestamp_seconds":1792114643,"priority":1,"record_length":96,"hex_timestamp":"000001a1425b5038"} 
[2026-10-16 07:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781271552001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781271552001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:08:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:08:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781271552001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":217878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:08:55] local.INFO: GPS data processed {"connection_id":217878,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:08:55] local.INFO: Acknowledgment sent {"connection_id":217878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:09:03] local.INFO: TCP Data received {"connection_id":216336,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:09:03] local.INFO: Processing buffer {"connection_id":216336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:09:03] local.INFO: Packet analysis {"connection_id":216336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:09:03] local.INFO: Extracted packet for processing {"connection_id":216336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781292288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792114724000,"timestamp_ms":1792114724000,"timestamp_seconds":1792114724,"priority":1,"record_length":96,"hex_timestamp":"000001a1425c8ca0"} 
[2026-10-16 07:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 07:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:09: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-10-16 07:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781292288001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781292288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:09:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781292288001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":216336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:09:03] local.INFO: GPS data processed {"connection_id":216336,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:09:03] local.INFO: Acknowledgment sent {"connection_id":216336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:09:16] local.INFO: TCP Data received {"connection_id":216337,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:09:16] local.INFO: Processing buffer {"connection_id":216337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:09:16] local.INFO: IMEI packet received {"connection_id":216337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":216337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:09:21] local.INFO: TCP Data received {"connection_id":216338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:09:21] local.INFO: Processing buffer {"connection_id":216338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:09:21] local.INFO: IMEI packet received {"connection_id":216338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":216338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:09:22] local.INFO: TCP Data received {"connection_id":216337,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:09:22] local.INFO: Processing buffer {"connection_id":216337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:09:22] local.INFO: IMEI packet received {"connection_id":216337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":216337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:09:26] local.INFO: TCP Data received {"connection_id":216338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:09:26] local.INFO: Processing buffer {"connection_id":216338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:09:26] local.INFO: IMEI packet received {"connection_id":216338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":216338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:09:27] local.INFO: TCP Data received {"connection_id":216338,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:09:27] local.INFO: Processing buffer {"connection_id":216338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:09:27] local.INFO: Packet analysis {"connection_id":216338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:09:27] local.INFO: Extracted packet for processing {"connection_id":216338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781292288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114724000,"timestamp_ms":1792114724000,"timestamp_seconds":1792114724,"priority":1,"record_length":96,"hex_timestamp":"000001a1425c8ca0"} 
[2026-10-16 07:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 07:09:27] 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-10-16 07: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-10-16 07:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:09: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-10-16 07:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781292288001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781292288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:09:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781292288001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":216338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:09:27] local.INFO: GPS data processed {"connection_id":216338,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:09:27] local.INFO: Acknowledgment sent {"connection_id":216338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:09:27] local.INFO: TCP Data received {"connection_id":216337,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:09:27] local.INFO: Processing buffer {"connection_id":216337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:09:27] local.INFO: Packet analysis {"connection_id":216337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:09:27] local.INFO: Extracted packet for processing {"connection_id":216337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781271552001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114643000,"timestamp_ms":1792114643000,"timestamp_seconds":1792114643,"priority":1,"record_length":96,"hex_timestamp":"000001a1425b5038"} 
[2026-10-16 07:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781271552001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781271552001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:09:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:09:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781271552001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":216337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:09:27] local.INFO: GPS data processed {"connection_id":216337,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:09:27] local.INFO: Acknowledgment sent {"connection_id":216337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:09:58] local.INFO: TCP Data received {"connection_id":216337,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:09:58] local.INFO: Processing buffer {"connection_id":216337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:09:58] local.INFO: Packet analysis {"connection_id":216337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:09:58] local.INFO: Extracted packet for processing {"connection_id":216337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781271552001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792114643000,"timestamp_ms":1792114643000,"timestamp_seconds":1792114643,"priority":1,"record_length":96,"hex_timestamp":"000001a1425b5038"} 
[2026-10-16 07:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781271552001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781271552001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:09:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:09:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781271552001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":216337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:09:58] local.INFO: GPS data processed {"connection_id":216337,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:09:58] local.INFO: Acknowledgment sent {"connection_id":216337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:10:00] local.INFO: TCP Data received {"connection_id":216338,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:10:00] local.INFO: Processing buffer {"connection_id":216338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:10:00] local.INFO: Packet analysis {"connection_id":216338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:10:00] local.INFO: Extracted packet for processing {"connection_id":216338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781292288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792114724000,"timestamp_ms":1792114724000,"timestamp_seconds":1792114724,"priority":1,"record_length":96,"hex_timestamp":"000001a1425c8ca0"} 
[2026-10-16 07:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 07:10:00] 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-10-16 07:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:10: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-10-16 07:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781292288001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781292288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:10:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781292288001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":216338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:10:00] local.INFO: GPS data processed {"connection_id":216338,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:10:00] local.INFO: Acknowledgment sent {"connection_id":216338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:10:21] local.INFO: TCP Data received {"connection_id":219607,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:10:21] local.INFO: Processing buffer {"connection_id":219607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:10:21] local.INFO: IMEI packet received {"connection_id":219607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":219607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:10:26] local.INFO: TCP Data received {"connection_id":216339,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:10:26] local.INFO: Processing buffer {"connection_id":216339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:10:26] local.INFO: IMEI packet received {"connection_id":216339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":216339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:10:27] local.INFO: TCP Data received {"connection_id":219607,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:10:27] local.INFO: Processing buffer {"connection_id":219607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:10:27] local.INFO: IMEI packet received {"connection_id":219607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":219607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:10:28] local.INFO: TCP Data received {"connection_id":219607,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:10:28] local.INFO: Processing buffer {"connection_id":219607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:10:28] local.INFO: Packet analysis {"connection_id":219607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:10:28] local.INFO: Extracted packet for processing {"connection_id":219607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781271552001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792114643000,"timestamp_ms":1792114643000,"timestamp_seconds":1792114643,"priority":1,"record_length":96,"hex_timestamp":"000001a1425b5038"} 
[2026-10-16 07:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781271552001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781271552001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:10:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:10:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781271552001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":219607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:10:28] local.INFO: GPS data processed {"connection_id":219607,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:10:28] local.INFO: Acknowledgment sent {"connection_id":219607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:10:31] local.INFO: TCP Data received {"connection_id":216339,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:10:31] local.INFO: Processing buffer {"connection_id":216339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:10:31] local.INFO: IMEI packet received {"connection_id":216339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":216339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:10:34] local.INFO: TCP Data received {"connection_id":216339,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:10:34] local.INFO: Processing buffer {"connection_id":216339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:10:34] local.INFO: Packet analysis {"connection_id":216339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:10:34] local.INFO: Extracted packet for processing {"connection_id":216339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781292288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792114724000,"timestamp_ms":1792114724000,"timestamp_seconds":1792114724,"priority":1,"record_length":96,"hex_timestamp":"000001a1425c8ca0"} 
[2026-10-16 07:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 07:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781292288001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781292288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:10:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781292288001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":216339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:10:34] local.INFO: GPS data processed {"connection_id":216339,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:10:34] local.INFO: Acknowledgment sent {"connection_id":216339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:10:36] local.INFO: TCP Data received {"connection_id":216339,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:10:36] local.INFO: Processing buffer {"connection_id":216339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:10:36] local.INFO: Packet analysis {"connection_id":216339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:10:36] local.INFO: Extracted packet for processing {"connection_id":216339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 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-10-16 07:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781292288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792114724000,"timestamp_ms":1792114724000,"timestamp_seconds":1792114724,"priority":1,"record_length":96,"hex_timestamp":"000001a1425c8ca0"} 
[2026-10-16 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-10-16 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 07:10: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-10-16 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-10-16 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-10-16 07:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781292288001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781292288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:10:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781292288001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":216339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:10:36] local.INFO: GPS data processed {"connection_id":216339,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:10:36] local.INFO: Acknowledgment sent {"connection_id":216339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:11:00] local.INFO: TCP Data received {"connection_id":219607,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:11:00] local.INFO: Processing buffer {"connection_id":219607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:11:00] local.INFO: Packet analysis {"connection_id":219607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:11:00] local.INFO: Extracted packet for processing {"connection_id":219607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781271552001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792114643000,"timestamp_ms":1792114643000,"timestamp_seconds":1792114643,"priority":1,"record_length":96,"hex_timestamp":"000001a1425b5038"} 
[2026-10-16 07:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781271552001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781271552001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:11:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:11:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781271552001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":219607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:11:00] local.INFO: GPS data processed {"connection_id":219607,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:11:00] local.INFO: Acknowledgment sent {"connection_id":219607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:11:21] local.INFO: TCP Data received {"connection_id":216531,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:11:21] local.INFO: Processing buffer {"connection_id":216531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:11:21] local.INFO: IMEI packet received {"connection_id":216531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":216531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:11:22] local.INFO: TCP Data received {"connection_id":216532,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:11:22] local.INFO: Processing buffer {"connection_id":216532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:11:22] local.INFO: IMEI packet received {"connection_id":216532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":216532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:11:26] local.INFO: TCP Data received {"connection_id":216531,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:11:26] local.INFO: Processing buffer {"connection_id":216531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:11:26] local.INFO: IMEI packet received {"connection_id":216531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":216531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:11:26] local.INFO: TCP Data received {"connection_id":216532,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:11:26] local.INFO: Processing buffer {"connection_id":216532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:11:26] local.INFO: IMEI packet received {"connection_id":216532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":216532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:11:27] local.INFO: TCP Data received {"connection_id":216531,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:11:27] local.INFO: Processing buffer {"connection_id":216531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:11:27] local.INFO: Packet analysis {"connection_id":216531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:11:27] local.INFO: Extracted packet for processing {"connection_id":216531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781292288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114724000,"timestamp_ms":1792114724000,"timestamp_seconds":1792114724,"priority":1,"record_length":96,"hex_timestamp":"000001a1425c8ca0"} 
[2026-10-16 07:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 07:11:27] 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-10-16 07: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-10-16 07:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781292288001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781292288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:11:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781292288001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":216531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:11:27] local.INFO: GPS data processed {"connection_id":216531,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:11:27] local.INFO: Acknowledgment sent {"connection_id":216531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:11:28] local.INFO: TCP Data received {"connection_id":216532,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:11:28] local.INFO: Processing buffer {"connection_id":216532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:11:28] local.INFO: Packet analysis {"connection_id":216532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:11:28] local.INFO: Extracted packet for processing {"connection_id":216532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781271552001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792114643000,"timestamp_ms":1792114643000,"timestamp_seconds":1792114643,"priority":1,"record_length":96,"hex_timestamp":"000001a1425b5038"} 
[2026-10-16 07:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781271552001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781271552001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:11:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:11:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781271552001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":216532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:11:28] local.INFO: GPS data processed {"connection_id":216532,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:11:28] local.INFO: Acknowledgment sent {"connection_id":216532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:11:33] local.INFO: TCP Data received {"connection_id":216532,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:11:33] local.INFO: Processing buffer {"connection_id":216532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:11:33] local.INFO: Packet analysis {"connection_id":216532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:11:33] local.INFO: Extracted packet for processing {"connection_id":216532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781271552001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792114643000,"timestamp_ms":1792114643000,"timestamp_seconds":1792114643,"priority":1,"record_length":96,"hex_timestamp":"000001a1425b5038"} 
[2026-10-16 07:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781271552001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781271552001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:11:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:11:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781271552001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":216532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:11:33] local.INFO: GPS data processed {"connection_id":216532,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:11:33] local.INFO: Acknowledgment sent {"connection_id":216532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:11:58] local.INFO: TCP Data received {"connection_id":216531,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:11:58] local.INFO: Processing buffer {"connection_id":216531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:11:58] local.INFO: Packet analysis {"connection_id":216531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:11:58] local.INFO: Extracted packet for processing {"connection_id":216531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781292288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792114724000,"timestamp_ms":1792114724000,"timestamp_seconds":1792114724,"priority":1,"record_length":96,"hex_timestamp":"000001a1425c8ca0"} 
[2026-10-16 07:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 07:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781292288001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781292288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:11:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:11:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781292288001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":216531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:11:58] local.INFO: GPS data processed {"connection_id":216531,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:11:58] local.INFO: Acknowledgment sent {"connection_id":216531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:12:16] local.INFO: TCP Data received {"connection_id":216341,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:12:17] local.INFO: Processing buffer {"connection_id":216341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:12:17] local.INFO: IMEI packet received {"connection_id":216341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":216341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:12:21] local.INFO: TCP Data received {"connection_id":217879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:12:21] local.INFO: Processing buffer {"connection_id":217879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:12:21] local.INFO: IMEI packet received {"connection_id":217879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":217879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:12:22] local.INFO: TCP Data received {"connection_id":216341,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:12:22] local.INFO: Processing buffer {"connection_id":216341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:12:22] local.INFO: IMEI packet received {"connection_id":216341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":216341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:12:23] local.INFO: TCP Data received {"connection_id":216341,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:12:23] local.INFO: Processing buffer {"connection_id":216341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:12:23] local.INFO: Packet analysis {"connection_id":216341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:12:23] local.INFO: Extracted packet for processing {"connection_id":216341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781271552001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792114643000,"timestamp_ms":1792114643000,"timestamp_seconds":1792114643,"priority":1,"record_length":96,"hex_timestamp":"000001a1425b5038"} 
[2026-10-16 07:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781271552001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781271552001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:12:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:12:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781271552001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":216341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:12:23] local.INFO: GPS data processed {"connection_id":216341,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:12:23] local.INFO: Acknowledgment sent {"connection_id":216341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:12:26] local.INFO: TCP Data received {"connection_id":217879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:12:26] local.INFO: Processing buffer {"connection_id":217879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:12:26] local.INFO: IMEI packet received {"connection_id":217879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":217879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:12:28] local.INFO: TCP Data received {"connection_id":217879,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:12:28] local.INFO: Processing buffer {"connection_id":217879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:12:28] local.INFO: Packet analysis {"connection_id":217879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:12:28] local.INFO: Extracted packet for processing {"connection_id":217879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781292288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792114724000,"timestamp_ms":1792114724000,"timestamp_seconds":1792114724,"priority":1,"record_length":96,"hex_timestamp":"000001a1425c8ca0"} 
[2026-10-16 07:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 07:12:28] 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-10-16 07: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-10-16 07:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:12: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-10-16 07:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781292288001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781292288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:12:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781292288001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":217879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:12:28] local.INFO: GPS data processed {"connection_id":217879,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:12:28] local.INFO: Acknowledgment sent {"connection_id":217879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:12:55] local.INFO: TCP Data received {"connection_id":216341,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:12:55] local.INFO: Processing buffer {"connection_id":216341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425b5038012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:12:55] local.INFO: Packet analysis {"connection_id":216341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:12:55] local.INFO: Extracted packet for processing {"connection_id":216341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425b"} 
[2026-10-16 07:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781271552001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792114643000,"timestamp_ms":1792114643000,"timestamp_seconds":1792114643,"priority":1,"record_length":96,"hex_timestamp":"000001a1425b5038"} 
[2026-10-16 07:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781271552001,"66":25495,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781271552001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:12:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:12:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781271552001,"power":25495,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":216341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:12:55] local.INFO: GPS data processed {"connection_id":216341,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:12:55] local.INFO: Acknowledgment sent {"connection_id":216341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:12:59] local.INFO: TCP Data received {"connection_id":217879,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:12:59] local.INFO: Processing buffer {"connection_id":217879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:12:59] local.INFO: Packet analysis {"connection_id":217879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:12:59] local.INFO: Extracted packet for processing {"connection_id":217879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781292288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792114724000,"timestamp_ms":1792114724000,"timestamp_seconds":1792114724,"priority":1,"record_length":96,"hex_timestamp":"000001a1425c8ca0"} 
[2026-10-16 07:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 07:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781292288001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781292288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:12:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781292288001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":217879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:12:59] local.INFO: GPS data processed {"connection_id":217879,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:12:59] local.INFO: Acknowledgment sent {"connection_id":217879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:13:16] local.INFO: TCP Data received {"connection_id":216343,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:13:16] local.INFO: Processing buffer {"connection_id":216343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:13:16] local.INFO: IMEI packet received {"connection_id":216343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":216343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:13:21] local.INFO: TCP Data received {"connection_id":219609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:13:21] local.INFO: Processing buffer {"connection_id":219609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:13:21] local.INFO: IMEI packet received {"connection_id":219609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":219609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:13:22] local.INFO: TCP Data received {"connection_id":216342,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:13:22] local.INFO: Processing buffer {"connection_id":216342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:13:22] local.INFO: IMEI packet received {"connection_id":216342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":216342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:13:22] local.INFO: TCP Data received {"connection_id":216343,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:13:22] local.INFO: Processing buffer {"connection_id":216343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:13:22] local.INFO: IMEI packet received {"connection_id":216343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":216343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:13:25] local.INFO: TCP Data received {"connection_id":216343,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:13:25] local.INFO: Processing buffer {"connection_id":216343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:13:25] local.INFO: Packet analysis {"connection_id":216343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:13:25] local.INFO: Extracted packet for processing {"connection_id":216343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781348608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792114944000,"timestamp_ms":1792114944000,"timestamp_seconds":1792114944,"priority":1,"record_length":96,"hex_timestamp":"000001a1425fe800"} 
[2026-10-16 07:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 07:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781348608001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781348608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:13:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:13:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781348608001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":216343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:13:25] local.INFO: GPS data processed {"connection_id":216343,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:13:25] local.INFO: Acknowledgment sent {"connection_id":216343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:13:26] local.INFO: TCP Data received {"connection_id":219609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:13:26] local.INFO: Processing buffer {"connection_id":219609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:13:26] local.INFO: IMEI packet received {"connection_id":219609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":219609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:13:27] local.INFO: TCP Data received {"connection_id":219609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:13:27] local.INFO: Processing buffer {"connection_id":219609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425c8ca0012d7c240005dad510000700ea1e..."} 
[2026-10-16 07:13:27] local.INFO: Packet analysis {"connection_id":219609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:13:27] local.INFO: Extracted packet for processing {"connection_id":219609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425c"} 
[2026-10-16 07:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":30,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781292288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114724000,"timestamp_ms":1792114724000,"timestamp_seconds":1792114724,"priority":1,"record_length":96,"hex_timestamp":"000001a1425c8ca0"} 
[2026-10-16 07:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 07:13:27] 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-10-16 07:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:13:27] 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-10-16 07:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781292288001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781292288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:13:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781292288001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":219609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:13:27] local.INFO: GPS data processed {"connection_id":219609,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:13:27] local.INFO: Acknowledgment sent {"connection_id":219609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:13:52] local.INFO: TCP Data received {"connection_id":217880,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:13:52] local.INFO: Processing buffer {"connection_id":217880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:13:52] local.INFO: IMEI packet received {"connection_id":217880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":217880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:13:57] local.INFO: TCP Data received {"connection_id":216343,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:13:57] local.INFO: Processing buffer {"connection_id":216343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:13:57] local.INFO: Packet analysis {"connection_id":216343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:13:57] local.INFO: Extracted packet for processing {"connection_id":216343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781348608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792114944000,"timestamp_ms":1792114944000,"timestamp_seconds":1792114944,"priority":1,"record_length":96,"hex_timestamp":"000001a1425fe800"} 
[2026-10-16 07:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 07:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781348608001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781348608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:13:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:13:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781348608001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":216343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:13:57] local.INFO: GPS data processed {"connection_id":216343,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:13:57] local.INFO: Acknowledgment sent {"connection_id":216343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:13:59] local.INFO: TCP Data received {"connection_id":219609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:13:59] local.INFO: Processing buffer {"connection_id":219609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:13:59] local.INFO: Packet analysis {"connection_id":219609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14261"} 
[2026-10-16 07:13:59] local.INFO: Extracted packet for processing {"connection_id":219609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14261"} 
[2026-10-16 07:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781369344001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792115025000,"timestamp_ms":1792115025000,"timestamp_seconds":1792115025,"priority":1,"record_length":96,"hex_timestamp":"000001a142612468"} 
[2026-10-16 07:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:13:59] 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-10-16 07:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:13:59] 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-10-16 07:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781369344001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781369344001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:13:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781369344001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":219609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:13:59] local.INFO: GPS data processed {"connection_id":219609,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:13:59] local.INFO: Acknowledgment sent {"connection_id":219609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:14:21] local.INFO: TCP Data received {"connection_id":216533,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:14:21] local.INFO: Processing buffer {"connection_id":216533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:14:21] local.INFO: IMEI packet received {"connection_id":216533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":216533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:14:22] local.INFO: TCP Data received {"connection_id":219610,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:14:22] local.INFO: Processing buffer {"connection_id":219610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:14:22] local.INFO: IMEI packet received {"connection_id":219610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":219610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:14:26] local.INFO: TCP Data received {"connection_id":216533,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:14:26] local.INFO: Processing buffer {"connection_id":216533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:14:26] local.INFO: IMEI packet received {"connection_id":216533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":216533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:14:27] local.INFO: TCP Data received {"connection_id":219610,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:14:27] local.INFO: TCP Data received {"connection_id":216533,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:14:27] local.INFO: Processing buffer {"connection_id":219610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:14:27] local.INFO: IMEI packet received {"connection_id":219610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":219610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:14:27] local.INFO: Processing buffer {"connection_id":216533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:14:27] local.INFO: Packet analysis {"connection_id":216533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14261"} 
[2026-10-16 07:14:27] local.INFO: Extracted packet for processing {"connection_id":216533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14261"} 
[2026-10-16 07:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781369344001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115025000,"timestamp_ms":1792115025000,"timestamp_seconds":1792115025,"priority":1,"record_length":96,"hex_timestamp":"000001a142612468"} 
[2026-10-16 07:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781369344001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781369344001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:14:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781369344001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":216533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:14:27] local.INFO: GPS data processed {"connection_id":216533,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:14:27] local.INFO: Acknowledgment sent {"connection_id":216533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:14:28] local.INFO: TCP Data received {"connection_id":219610,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:14:28] local.INFO: Processing buffer {"connection_id":219610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:14:28] local.INFO: Packet analysis {"connection_id":219610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:14:28] local.INFO: Extracted packet for processing {"connection_id":219610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781348608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792114944000,"timestamp_ms":1792114944000,"timestamp_seconds":1792114944,"priority":1,"record_length":96,"hex_timestamp":"000001a1425fe800"} 
[2026-10-16 07:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 07:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781348608001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781348608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:14:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:14:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781348608001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":219610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:14:28] local.INFO: GPS data processed {"connection_id":219610,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:14:28] local.INFO: Acknowledgment sent {"connection_id":219610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:14:33] local.INFO: TCP Data received {"connection_id":219610,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:14:33] local.INFO: Processing buffer {"connection_id":219610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:14:33] local.INFO: Packet analysis {"connection_id":219610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:14:33] local.INFO: Extracted packet for processing {"connection_id":219610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781348608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792114944000,"timestamp_ms":1792114944000,"timestamp_seconds":1792114944,"priority":1,"record_length":96,"hex_timestamp":"000001a1425fe800"} 
[2026-10-16 07:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 07:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781348608001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781348608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:14:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:14:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781348608001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":219610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:14:33] local.INFO: GPS data processed {"connection_id":219610,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:14:33] local.INFO: Acknowledgment sent {"connection_id":219610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:14:59] local.INFO: TCP Data received {"connection_id":216533,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:14:59] local.INFO: Processing buffer {"connection_id":216533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:14:59] local.INFO: Packet analysis {"connection_id":216533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14261"} 
[2026-10-16 07:14:59] local.INFO: Extracted packet for processing {"connection_id":216533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14261"} 
[2026-10-16 07:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781369344001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792115025000,"timestamp_ms":1792115025000,"timestamp_seconds":1792115025,"priority":1,"record_length":96,"hex_timestamp":"000001a142612468"} 
[2026-10-16 07:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:14:59] 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-10-16 07:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781369344001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781369344001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:14:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781369344001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":216533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:14:59] local.INFO: GPS data processed {"connection_id":216533,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:14:59] local.INFO: Acknowledgment sent {"connection_id":216533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:15:17] local.INFO: TCP Data received {"connection_id":216535,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:15:17] local.INFO: Processing buffer {"connection_id":216535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:15:17] local.INFO: IMEI packet received {"connection_id":216535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":216535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:15:22] local.INFO: TCP Data received {"connection_id":216535,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:15:22] local.INFO: Processing buffer {"connection_id":216535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:15:22] local.INFO: IMEI packet received {"connection_id":216535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":216535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:15:23] local.INFO: TCP Data received {"connection_id":216535,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:15:23] local.INFO: Processing buffer {"connection_id":216535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:15:23] local.INFO: Packet analysis {"connection_id":216535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:15:23] local.INFO: Extracted packet for processing {"connection_id":216535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781348608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792114944000,"timestamp_ms":1792114944000,"timestamp_seconds":1792114944,"priority":1,"record_length":96,"hex_timestamp":"000001a1425fe800"} 
[2026-10-16 07:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 07:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781348608001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781348608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:15:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:15:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781348608001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":216535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:15:23] local.INFO: GPS data processed {"connection_id":216535,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:15:23] local.INFO: Acknowledgment sent {"connection_id":216535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:15:26] local.INFO: TCP Data received {"connection_id":216344,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:15:26] local.INFO: Processing buffer {"connection_id":216344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:15:26] local.INFO: IMEI packet received {"connection_id":216344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":216344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:15:31] local.INFO: TCP Data received {"connection_id":216344,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:15:31] local.INFO: Processing buffer {"connection_id":216344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:15:31] local.INFO: IMEI packet received {"connection_id":216344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":216344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:15:32] local.INFO: TCP Data received {"connection_id":216344,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:15:32] local.INFO: Processing buffer {"connection_id":216344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:15:32] local.INFO: Packet analysis {"connection_id":216344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14261"} 
[2026-10-16 07:15:32] local.INFO: Extracted packet for processing {"connection_id":216344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14261"} 
[2026-10-16 07:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781369344001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792115025000,"timestamp_ms":1792115025000,"timestamp_seconds":1792115025,"priority":1,"record_length":96,"hex_timestamp":"000001a142612468"} 
[2026-10-16 07:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:15:32] 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-10-16 07: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-10-16 07:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781369344001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781369344001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:15:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781369344001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":216344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:15:32] local.INFO: GPS data processed {"connection_id":216344,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:15:32] local.INFO: Acknowledgment sent {"connection_id":216344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:15:37] local.INFO: TCP Data received {"connection_id":216344,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:15:37] local.INFO: Processing buffer {"connection_id":216344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142612468012d7c240005dad510000700ea24..."} 
[2026-10-16 07:15:37] local.INFO: Packet analysis {"connection_id":216344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14261"} 
[2026-10-16 07:15:37] local.INFO: Extracted packet for processing {"connection_id":216344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14261"} 
[2026-10-16 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781369344001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792115025000,"timestamp_ms":1792115025000,"timestamp_seconds":1792115025,"priority":1,"record_length":96,"hex_timestamp":"000001a142612468"} 
[2026-10-16 07:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781369344001,"66":12602,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781369344001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:15:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781369344001,"power":12602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":216344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:15:37] local.INFO: GPS data processed {"connection_id":216344,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:15:37] local.INFO: Acknowledgment sent {"connection_id":216344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:15:55] local.INFO: TCP Data received {"connection_id":216535,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:15:55] local.INFO: Processing buffer {"connection_id":216535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:15:55] local.INFO: Packet analysis {"connection_id":216535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:15:55] local.INFO: Extracted packet for processing {"connection_id":216535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781348608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792114944000,"timestamp_ms":1792114944000,"timestamp_seconds":1792114944,"priority":1,"record_length":96,"hex_timestamp":"000001a1425fe800"} 
[2026-10-16 07:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 07:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781348608001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781348608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:15:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:15:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781348608001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":216535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:15:55] local.INFO: GPS data processed {"connection_id":216535,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:15:55] local.INFO: Acknowledgment sent {"connection_id":216535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:16:17] local.INFO: TCP Data received {"connection_id":216345,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:16:17] local.INFO: Processing buffer {"connection_id":216345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:16:17] local.INFO: IMEI packet received {"connection_id":216345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":216345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:16:21] local.INFO: TCP Data received {"connection_id":216346,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:16:21] local.INFO: Processing buffer {"connection_id":216346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:16:21] local.INFO: IMEI packet received {"connection_id":216346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":216346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:16:22] local.INFO: TCP Data received {"connection_id":216345,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:16:22] local.INFO: Processing buffer {"connection_id":216345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:16:22] local.INFO: IMEI packet received {"connection_id":216345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":216345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:16:24] local.INFO: TCP Data received {"connection_id":216345,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:16:24] local.INFO: Processing buffer {"connection_id":216345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:16:24] local.INFO: Packet analysis {"connection_id":216345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:16:24] local.INFO: Extracted packet for processing {"connection_id":216345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781348608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792114944000,"timestamp_ms":1792114944000,"timestamp_seconds":1792114944,"priority":1,"record_length":96,"hex_timestamp":"000001a1425fe800"} 
[2026-10-16 07:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 07:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781348608001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781348608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:16:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:16:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781348608001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":216345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:16:24] local.INFO: GPS data processed {"connection_id":216345,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:16:24] local.INFO: Acknowledgment sent {"connection_id":216345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:16:24] local.INFO: TCP Data received {"connection_id":216346,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:16:24] local.INFO: Processing buffer {"connection_id":216346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:16:24] local.INFO: IMEI packet received {"connection_id":216346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":216346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:16:27] local.INFO: TCP Data received {"connection_id":216346,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14262ce30012d7c240005dad510000700ea25..."} 
[2026-10-16 07:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14262ce30012d7c240005dad510000700ea25..."} 
[2026-10-16 07:16:27] local.INFO: Processing buffer {"connection_id":216346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14262ce30012d7c240005dad510000700ea25..."} 
[2026-10-16 07:16:27] local.INFO: Packet analysis {"connection_id":216346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14262"} 
[2026-10-16 07:16:27] local.INFO: Extracted packet for processing {"connection_id":216346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14262"} 
[2026-10-16 07:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781446400001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115134000,"timestamp_ms":1792115134000,"timestamp_seconds":1792115134,"priority":1,"record_length":96,"hex_timestamp":"000001a14262ce30"} 
[2026-10-16 07:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 07:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781446400001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781446400001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:16:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781446400001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":216346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:16:27] local.INFO: GPS data processed {"connection_id":216346,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:16:27] local.INFO: Acknowledgment sent {"connection_id":216346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:16:55] local.INFO: TCP Data received {"connection_id":216345,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:16:55] local.INFO: Processing buffer {"connection_id":216345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:16:55] local.INFO: Packet analysis {"connection_id":216345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:16:55] local.INFO: Extracted packet for processing {"connection_id":216345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781348608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792114944000,"timestamp_ms":1792114944000,"timestamp_seconds":1792114944,"priority":1,"record_length":96,"hex_timestamp":"000001a1425fe800"} 
[2026-10-16 07:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 07:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781348608001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781348608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:16:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:16:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781348608001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":216345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:16:55] local.INFO: GPS data processed {"connection_id":216345,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:16:55] local.INFO: Acknowledgment sent {"connection_id":216345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:17:16] local.INFO: TCP Data received {"connection_id":216346,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14262ce30012d7c240005dad510000700ea25..."} 
[2026-10-16 07:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14262ce30012d7c240005dad510000700ea25..."} 
[2026-10-16 07:17:16] local.INFO: Processing buffer {"connection_id":216346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14262ce30012d7c240005dad510000700ea25..."} 
[2026-10-16 07:17:16] local.INFO: Packet analysis {"connection_id":216346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14262"} 
[2026-10-16 07:17:16] local.INFO: Extracted packet for processing {"connection_id":216346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14262"} 
[2026-10-16 07:17:16] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98227472,"longitude_deg":76.31104,"latitude_deg":9.8227472,"altitude":7,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05dad510","is_valid_coordinates":true} 
[2026-10-16 07:17:16] 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-10-16 07:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781474304001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792115134000,"timestamp_ms":1792115134000,"timestamp_seconds":1792115134,"priority":1,"record_length":96,"hex_timestamp":"000001a14262ce30"} 
[2026-10-16 07:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 07:17:16] 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-10-16 07:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781474304001,"66":12504,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781474304001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:17:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781474304001,"power":12504,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":216346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:17:16] local.INFO: GPS data processed {"connection_id":216346,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:17:16] local.INFO: Acknowledgment sent {"connection_id":216346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:17:20] local.INFO: TCP Data received {"connection_id":216537,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:17:20] local.INFO: Processing buffer {"connection_id":216537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:17:20] local.INFO: IMEI packet received {"connection_id":216537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":216537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:17:21] local.INFO: TCP Data received {"connection_id":216537,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:17:21] local.INFO: Processing buffer {"connection_id":216537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:17:21] local.INFO: IMEI packet received {"connection_id":216537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":216537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:17:22] local.INFO: TCP Data received {"connection_id":216536,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:17:22] local.INFO: Processing buffer {"connection_id":216536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:17:22] local.INFO: IMEI packet received {"connection_id":216536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":216536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:17:26] local.INFO: TCP Data received {"connection_id":216537,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:17:26] local.INFO: Processing buffer {"connection_id":216537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:17:26] local.INFO: IMEI packet received {"connection_id":216537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":216537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:17:26] local.INFO: TCP Data received {"connection_id":216536,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:17:26] local.INFO: Processing buffer {"connection_id":216536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:17:26] local.INFO: IMEI packet received {"connection_id":216536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":216536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:17:27] local.INFO: TCP Data received {"connection_id":216537,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14262e5a0012d7c264005dad6780007008123..."} 
[2026-10-16 07:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14262e5a0012d7c264005dad6780007008123..."} 
[2026-10-16 07:17:27] local.INFO: Processing buffer {"connection_id":216537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14262e5a0012d7c264005dad6780007008123..."} 
[2026-10-16 07:17:27] local.INFO: Packet analysis {"connection_id":216537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14262"} 
[2026-10-16 07:17:27] local.INFO: Extracted packet for processing {"connection_id":216537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14262"} 
[2026-10-16 07:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":98227832,"longitude_deg":76.3110976,"latitude_deg":9.8227832,"altitude":7,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d7c2640","hex_latitude":"05dad678","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781474304001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785010880512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115140000,"timestamp_ms":1792115140000,"timestamp_seconds":1792115140,"priority":1,"record_length":96,"hex_timestamp":"000001a14262e5a0"} 
[2026-10-16 07:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:17: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-10-16 07: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 07:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781474304001,"66":11515,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945274785010880512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781474304001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:17:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785010880512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781474304001,"power":11515,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785010880512}} 
[2026-10-16 07:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":216537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:17:27] local.INFO: GPS data processed {"connection_id":216537,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:17:27] local.INFO: Acknowledgment sent {"connection_id":216537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:17:27] local.INFO: TCP Data received {"connection_id":216536,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:17:27] local.INFO: Processing buffer {"connection_id":216536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:17:27] local.INFO: Packet analysis {"connection_id":216536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:17:27] local.INFO: Extracted packet for processing {"connection_id":216536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781348608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792114944000,"timestamp_ms":1792114944000,"timestamp_seconds":1792114944,"priority":1,"record_length":96,"hex_timestamp":"000001a1425fe800"} 
[2026-10-16 07:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 07:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781348608001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781348608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:17:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:17:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781348608001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":216536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:17:27] local.INFO: GPS data processed {"connection_id":216536,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:17:27] local.INFO: Acknowledgment sent {"connection_id":216536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:17:33] local.INFO: TCP Data received {"connection_id":216536,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:17:33] local.INFO: Processing buffer {"connection_id":216536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1425fe800012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:17:33] local.INFO: Packet analysis {"connection_id":216536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:17:33] local.INFO: Extracted packet for processing {"connection_id":216536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1425f"} 
[2026-10-16 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781348608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792114944000,"timestamp_ms":1792114944000,"timestamp_seconds":1792114944,"priority":1,"record_length":96,"hex_timestamp":"000001a1425fe800"} 
[2026-10-16 07:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 07:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781348608001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781348608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:17:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:17:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781348608001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":216536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:17:33] local.INFO: GPS data processed {"connection_id":216536,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:17:33] local.INFO: Acknowledgment sent {"connection_id":216536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:17:58] local.INFO: TCP Data received {"connection_id":216537,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426337a8012d7c264005dad6780007008123..."} 
[2026-10-16 07:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426337a8012d7c264005dad6780007008123..."} 
[2026-10-16 07:17:58] local.INFO: Processing buffer {"connection_id":216537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426337a8012d7c264005dad6780007008123..."} 
[2026-10-16 07:17:58] local.INFO: Packet analysis {"connection_id":216537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14263"} 
[2026-10-16 07:17:58] local.INFO: Extracted packet for processing {"connection_id":216537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14263"} 
[2026-10-16 07:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":98227832,"longitude_deg":76.3110976,"latitude_deg":9.8227832,"altitude":7,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d7c2640","hex_latitude":"05dad678","is_valid_coordinates":true} 
[2026-10-16 07:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781475840001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945908103708571648,"note":"Value kept but may cause issues"} 
[2026-10-16 07:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792115161000,"timestamp_ms":1792115161000,"timestamp_seconds":1792115161,"priority":1,"record_length":96,"hex_timestamp":"000001a1426337a8"} 
[2026-10-16 07:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-10-16 07:17:58] 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-10-16 07:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781475840001,"66":13722,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945908103708571648},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781475840001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:17:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:17:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945908103708571648,"description":"Unknown IO ID 45"} 
[2026-10-16 07:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781475840001,"power":13722,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945908103708571648}} 
[2026-10-16 07:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":216537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:17:58] local.INFO: GPS data processed {"connection_id":216537,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:17:58] local.INFO: Acknowledgment sent {"connection_id":216537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:18:18] local.INFO: TCP Data received {"connection_id":219613,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:18:18] local.INFO: Processing buffer {"connection_id":219613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:18:18] local.INFO: IMEI packet received {"connection_id":219613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":219613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:18:21] local.INFO: TCP Data received {"connection_id":216348,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:18:21] local.INFO: Processing buffer {"connection_id":216348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:18:21] local.INFO: IMEI packet received {"connection_id":216348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":216348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:18:23] local.INFO: TCP Data received {"connection_id":219613,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:18:23] local.INFO: Processing buffer {"connection_id":219613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:18:23] local.INFO: IMEI packet received {"connection_id":219613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":219613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:18:25] local.INFO: TCP Data received {"connection_id":219613,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:18:25] local.INFO: Processing buffer {"connection_id":219613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:18:25] local.INFO: Packet analysis {"connection_id":219613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:18:25] local.INFO: Extracted packet for processing {"connection_id":219613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792115245000,"timestamp_ms":1792115245000,"timestamp_seconds":1792115245,"priority":1,"record_length":96,"hex_timestamp":"000001a142647fc8"} 
[2026-10-16 07:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:18:25] 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-10-16 07:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":219613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":219613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":219613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781425664001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:18:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:18:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781425664001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":219613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:18:25] local.INFO: GPS data processed {"connection_id":219613,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:18:25] local.INFO: Acknowledgment sent {"connection_id":219613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:18:26] local.INFO: TCP Data received {"connection_id":216348,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:18:26] local.INFO: Processing buffer {"connection_id":216348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:18:26] local.INFO: IMEI packet received {"connection_id":216348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":216348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:18:27] local.INFO: TCP Data received {"connection_id":216348,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426389b0012d7c264005dad6780007008120..."} 
[2026-10-16 07:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426389b0012d7c264005dad6780007008120..."} 
[2026-10-16 07:18:27] local.INFO: Processing buffer {"connection_id":216348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426389b0012d7c264005dad6780007008120..."} 
[2026-10-16 07:18:27] local.INFO: Packet analysis {"connection_id":216348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14263"} 
[2026-10-16 07:18:27] local.INFO: Extracted packet for processing {"connection_id":216348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14263"} 
[2026-10-16 07:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":98227832,"longitude_deg":76.3110976,"latitude_deg":9.8227832,"altitude":7,"angle":129,"satellites":32,"speed":0,"hex_longitude":"2d7c2640","hex_latitude":"05dad678","is_valid_coordinates":true} 
[2026-10-16 07:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781481216001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945908103708571648,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115182000,"timestamp_ms":1792115182000,"timestamp_seconds":1792115182,"priority":1,"record_length":96,"hex_timestamp":"000001a1426389b0"} 
[2026-10-16 07:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:18: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-10-16 07:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-16 07:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781481216001,"66":13928,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945908103708571648},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781481216001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:18:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945908103708571648,"description":"Unknown IO ID 45"} 
[2026-10-16 07:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781481216001,"power":13928,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945908103708571648}} 
[2026-10-16 07:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":216348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:18:27] local.INFO: GPS data processed {"connection_id":216348,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:18:27] local.INFO: Acknowledgment sent {"connection_id":216348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:18:57] local.INFO: TCP Data received {"connection_id":219613,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:18:57] local.INFO: Processing buffer {"connection_id":219613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:18:57] local.INFO: Packet analysis {"connection_id":219613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:18:57] local.INFO: Extracted packet for processing {"connection_id":219613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792115245000,"timestamp_ms":1792115245000,"timestamp_seconds":1792115245,"priority":1,"record_length":96,"hex_timestamp":"000001a142647fc8"} 
[2026-10-16 07:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:18:57] 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-10-16 07:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781425664001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:18:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:18:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781425664001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":219613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:18:57] local.INFO: GPS data processed {"connection_id":219613,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:18:57] local.INFO: Acknowledgment sent {"connection_id":219613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:18:58] local.INFO: TCP Data received {"connection_id":216348,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14263dbb8012d7c264005dad6780007008123..."} 
[2026-10-16 07:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14263dbb8012d7c264005dad6780007008123..."} 
[2026-10-16 07:18:58] local.INFO: Processing buffer {"connection_id":216348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14263dbb8012d7c264005dad6780007008123..."} 
[2026-10-16 07:18:58] local.INFO: Packet analysis {"connection_id":216348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14263"} 
[2026-10-16 07:18:58] local.INFO: Extracted packet for processing {"connection_id":216348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14263"} 
[2026-10-16 07:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":98227832,"longitude_deg":76.3110976,"latitude_deg":9.8227832,"altitude":7,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d7c2640","hex_latitude":"05dad678","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781486592001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945908103708571648,"note":"Value kept but may cause issues"} 
[2026-10-16 07:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792115203000,"timestamp_ms":1792115203000,"timestamp_seconds":1792115203,"priority":1,"record_length":96,"hex_timestamp":"000001a14263dbb8"} 
[2026-10-16 07:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 07:18:58] 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-10-16 07: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-10-16 07:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781486592001,"66":14102,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945908103708571648},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781486592001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:18:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945908103708571648,"description":"Unknown IO ID 45"} 
[2026-10-16 07:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781486592001,"power":14102,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945908103708571648}} 
[2026-10-16 07:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":216348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:18:58] local.INFO: GPS data processed {"connection_id":216348,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:18:58] local.INFO: Acknowledgment sent {"connection_id":216348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:19:16] local.INFO: TCP Data received {"connection_id":217881,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:19:16] local.INFO: Processing buffer {"connection_id":217881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:19:16] local.INFO: IMEI packet received {"connection_id":217881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":217881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:19:20] local.INFO: TCP Data received {"connection_id":216349,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:19:20] local.INFO: Processing buffer {"connection_id":216349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:19:20] local.INFO: IMEI packet received {"connection_id":216349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":216349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:19:22] local.INFO: TCP Data received {"connection_id":217881,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:19:22] local.INFO: Processing buffer {"connection_id":217881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:19:22] local.INFO: IMEI packet received {"connection_id":217881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":217881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:19:23] local.INFO: TCP Data received {"connection_id":217881,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:19:23] local.INFO: Processing buffer {"connection_id":217881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:19:23] local.INFO: Packet analysis {"connection_id":217881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:19:23] local.INFO: Extracted packet for processing {"connection_id":217881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792115245000,"timestamp_ms":1792115245000,"timestamp_seconds":1792115245,"priority":1,"record_length":96,"hex_timestamp":"000001a142647fc8"} 
[2026-10-16 07:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:19:23] 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-10-16 07: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-10-16 07:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781425664001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:19:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:19:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781425664001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":217881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:19:23] local.INFO: GPS data processed {"connection_id":217881,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:19:23] local.INFO: Acknowledgment sent {"connection_id":217881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:19:23] local.INFO: TCP Data received {"connection_id":216349,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:19:23] local.INFO: Processing buffer {"connection_id":216349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:19:23] local.INFO: IMEI packet received {"connection_id":216349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":216349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:19:26] local.INFO: TCP Data received {"connection_id":216349,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:19:26] local.INFO: Processing buffer {"connection_id":216349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:19:26] local.INFO: IMEI packet received {"connection_id":216349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":216349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:19:26] local.INFO: TCP Data received {"connection_id":216349,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142641a38012d7c264005dad6780007008125..."} 
[2026-10-16 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142641a38012d7c264005dad6780007008125..."} 
[2026-10-16 07:19:26] local.INFO: Processing buffer {"connection_id":216349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142641a38012d7c264005dad6780007008125..."} 
[2026-10-16 07:19:26] local.INFO: Packet analysis {"connection_id":216349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:19:26] local.INFO: Extracted packet for processing {"connection_id":216349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":98227832,"longitude_deg":76.3110976,"latitude_deg":9.8227832,"altitude":7,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d7c2640","hex_latitude":"05dad678","is_valid_coordinates":true} 
[2026-10-16 07:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781491968001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945908103708571648,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792115219000,"timestamp_ms":1792115219000,"timestamp_seconds":1792115219,"priority":1,"record_length":96,"hex_timestamp":"000001a142641a38"} 
[2026-10-16 07:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 07:19:26] 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-10-16 07:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781491968001,"66":13580,"161":206,"85":15104,"24":0,"16":145310425934725120,"45":8945908103708571648},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781491968001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:19:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145310425934725120,"km_value":145310425934725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945908103708571648,"description":"Unknown IO ID 45"} 
[2026-10-16 07:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781491968001,"power":13580,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945908103708571648}} 
[2026-10-16 07:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":216349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:19:26] local.INFO: GPS data processed {"connection_id":216349,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:19:26] local.INFO: Acknowledgment sent {"connection_id":216349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:19:51] local.INFO: TCP Data received {"connection_id":217882,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:19:51] local.INFO: Processing buffer {"connection_id":217882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:19:51] local.INFO: IMEI packet received {"connection_id":217882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":217882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:19:55] local.INFO: TCP Data received {"connection_id":217881,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:19:55] local.INFO: Processing buffer {"connection_id":217881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:19:55] local.INFO: Packet analysis {"connection_id":217881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:19:55] local.INFO: Extracted packet for processing {"connection_id":217881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792115245000,"timestamp_ms":1792115245000,"timestamp_seconds":1792115245,"priority":1,"record_length":96,"hex_timestamp":"000001a142647fc8"} 
[2026-10-16 07:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:19:55] 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-10-16 07:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781425664001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:19:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:19:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781425664001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":217881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:19:55] local.INFO: GPS data processed {"connection_id":217881,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:19:55] local.INFO: Acknowledgment sent {"connection_id":217881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:19:58] local.INFO: TCP Data received {"connection_id":216349,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426435900100000000000000000000000000..."} 
[2026-10-16 07:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426435900100000000000000000000000000..."} 
[2026-10-16 07:19:58] local.INFO: Processing buffer {"connection_id":216349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426435900100000000000000000000000000..."} 
[2026-10-16 07:19:58] local.INFO: Packet analysis {"connection_id":216349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:19:58] local.INFO: Extracted packet for processing {"connection_id":216349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:19:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 07:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781496064001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145310425934725120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945908103708571648,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792115226000,"timestamp_ms":1792115226000,"timestamp_seconds":1792115226,"priority":1,"record_length":96,"hex_timestamp":"000001a142643590"} 
[2026-10-16 07:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751645759,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3598188551,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631052747433377,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705050318,"corrected_to":0} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931237,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":305980891870527488,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3671396352,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2594079822801010695,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4179566290576395861,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-16 07:19:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,161,85,24,241,157,16,63,219,45,64,214,7,35,10,66,137,32,55,1,240,154,227,218,4,113,205,206,36,37,239,48,2,5,124,49,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1705050318,"validated":0}]} 
[2026-10-16 07:19:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504545154179268608,"timestamp_seconds":504545154179268.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 07:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":216349,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 07:19:58] local.INFO: GPS data processed {"connection_id":216349,"processed":0,"errors":0,"total":1} 
[2026-10-16 07:19:58] local.INFO: Acknowledgment sent {"connection_id":216349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:20:21] local.INFO: TCP Data received {"connection_id":216538,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:20:21] local.INFO: Processing buffer {"connection_id":216538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:20:21] local.INFO: IMEI packet received {"connection_id":216538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":216538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:20:21] local.INFO: TCP Data received {"connection_id":216538,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:20:21] local.INFO: Processing buffer {"connection_id":216538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:20:21] local.INFO: IMEI packet received {"connection_id":216538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":216538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:20:22] local.INFO: TCP Data received {"connection_id":219615,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:20:22] local.INFO: Processing buffer {"connection_id":219615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:20:22] local.INFO: IMEI packet received {"connection_id":219615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":219615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:20:26] local.INFO: TCP Data received {"connection_id":216538,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:20:26] local.INFO: Processing buffer {"connection_id":216538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:20:26] local.INFO: IMEI packet received {"connection_id":216538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":216538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:20:27] local.INFO: TCP Data received {"connection_id":216538,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14266aa78012d7c064005db62500000015b1c..."} 
[2026-10-16 07:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14266aa78012d7c064005db62500000015b1c..."} 
[2026-10-16 07:20:27] local.INFO: Processing buffer {"connection_id":216538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14266aa78012d7c064005db62500000015b1c..."} 
[2026-10-16 07:20:27] local.INFO: Packet analysis {"connection_id":216538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14266"} 
[2026-10-16 07:20:27] local.INFO: Extracted packet for processing {"connection_id":216538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14266"} 
[2026-10-16 07:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763102784,"raw_latitude":98263632,"longitude_deg":76.3102784,"latitude_deg":9.8263632,"altitude":0,"angle":347,"satellites":28,"speed":32,"hex_longitude":"2d7c0640","hex_latitude":"05db6250","is_valid_coordinates":true} 
[2026-10-16 07:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781536512001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145312285655564288,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939082335530287104,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115387000,"timestamp_ms":1792115387000,"timestamp_seconds":1792115387,"priority":1,"record_length":96,"hex_timestamp":"000001a14266aa78"} 
[2026-10-16 07:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:20: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-10-16 07:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 07:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781536512001,"66":12515,"161":206,"85":15104,"24":32,"16":145312285655564288,"45":8939082335530287104},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-10-16 07:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781536512001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:20:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 07:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145312285655564288,"km_value":145312285655564.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939082335530287104,"description":"Unknown IO ID 45"} 
[2026-10-16 07:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781536512001,"power":12515,"unknown_161":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8939082335530287104}} 
[2026-10-16 07:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":216538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:20:27] local.INFO: GPS data processed {"connection_id":216538,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:20:27] local.INFO: Acknowledgment sent {"connection_id":216538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:20:27] local.INFO: TCP Data received {"connection_id":219615,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:20:27] local.INFO: Processing buffer {"connection_id":219615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:20:27] local.INFO: IMEI packet received {"connection_id":219615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":219615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:20:29] local.INFO: TCP Data received {"connection_id":219615,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:20:29] local.INFO: Processing buffer {"connection_id":219615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:20:29] local.INFO: Packet analysis {"connection_id":219615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:20:29] local.INFO: Extracted packet for processing {"connection_id":219615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792115245000,"timestamp_ms":1792115245000,"timestamp_seconds":1792115245,"priority":1,"record_length":96,"hex_timestamp":"000001a142647fc8"} 
[2026-10-16 07:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:20:29] 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-10-16 07:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781425664001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:20:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:20:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781425664001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":219615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:20:29] local.INFO: GPS data processed {"connection_id":219615,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:20:29] local.INFO: Acknowledgment sent {"connection_id":219615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:20:32] local.INFO: TCP Data received {"connection_id":219615,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:20:32] local.INFO: Processing buffer {"connection_id":219615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:20:32] local.INFO: Packet analysis {"connection_id":219615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:20:32] local.INFO: Extracted packet for processing {"connection_id":219615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792115245000,"timestamp_ms":1792115245000,"timestamp_seconds":1792115245,"priority":1,"record_length":96,"hex_timestamp":"000001a142647fc8"} 
[2026-10-16 07:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781425664001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:20:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781425664001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":219615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:20:32] local.INFO: GPS data processed {"connection_id":219615,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:20:32] local.INFO: Acknowledgment sent {"connection_id":219615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:20:58] local.INFO: TCP Data received {"connection_id":216538,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14266d188012d7bfdc005db87880000015b21..."} 
[2026-10-16 07:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14266d188012d7bfdc005db87880000015b21..."} 
[2026-10-16 07:20:58] local.INFO: Processing buffer {"connection_id":216538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14266d188012d7bfdc005db87880000015b21..."} 
[2026-10-16 07:20:58] local.INFO: Packet analysis {"connection_id":216538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14266"} 
[2026-10-16 07:20:58] local.INFO: Extracted packet for processing {"connection_id":216538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14266"} 
[2026-10-16 07:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763100608,"raw_latitude":98273160,"longitude_deg":76.3100608,"latitude_deg":9.827316,"altitude":0,"angle":347,"satellites":33,"speed":45,"hex_longitude":"2d7bfdc0","hex_latitude":"05db8788","is_valid_coordinates":true} 
[2026-10-16 07:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781539072001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145312762396934144,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936900904462995456,"note":"Value kept but may cause issues"} 
[2026-10-16 07:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792115397000,"timestamp_ms":1792115397000,"timestamp_seconds":1792115397,"priority":1,"record_length":96,"hex_timestamp":"000001a14266d188"} 
[2026-10-16 07:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 07:20:58] 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-10-16 07:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781539072001,"66":13396,"162":206,"85":15104,"24":45,"16":145312762396934144,"45":8936900904462995456},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-16 07:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781539072001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:20:58] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-16 07:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145312762396934144,"km_value":145312762396934.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936900904462995456,"description":"Unknown IO ID 45"} 
[2026-10-16 07:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781539072001,"power":13396,"unknown_162":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8936900904462995456}} 
[2026-10-16 07:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":216538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:20:58] local.INFO: GPS data processed {"connection_id":216538,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:20:58] local.INFO: Acknowledgment sent {"connection_id":216538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:21:17] local.INFO: TCP Data received {"connection_id":219616,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:21:17] local.INFO: Processing buffer {"connection_id":219616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:21:17] local.INFO: IMEI packet received {"connection_id":219616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":219616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:21:22] local.INFO: TCP Data received {"connection_id":219616,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:21:22] local.INFO: Processing buffer {"connection_id":219616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:21:22] local.INFO: IMEI packet received {"connection_id":219616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":219616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:21:23] local.INFO: TCP Data received {"connection_id":219616,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:21:23] local.INFO: Processing buffer {"connection_id":219616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:21:23] local.INFO: Packet analysis {"connection_id":219616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:21:23] local.INFO: Extracted packet for processing {"connection_id":219616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792115245000,"timestamp_ms":1792115245000,"timestamp_seconds":1792115245,"priority":1,"record_length":96,"hex_timestamp":"000001a142647fc8"} 
[2026-10-16 07:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:21:23] 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-10-16 07:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781425664001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:21:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:21:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781425664001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":219616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:21:23] local.INFO: GPS data processed {"connection_id":219616,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:21:23] local.INFO: Acknowledgment sent {"connection_id":219616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:21:26] local.INFO: TCP Data received {"connection_id":219617,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:21:26] local.INFO: Processing buffer {"connection_id":219617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:21:26] local.INFO: IMEI packet received {"connection_id":219617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":219617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:21:31] local.INFO: TCP Data received {"connection_id":219617,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:21:31] local.INFO: Processing buffer {"connection_id":219617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:21:31] local.INFO: IMEI packet received {"connection_id":219617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":219617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:21:32] local.INFO: TCP Data received {"connection_id":219617,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14266f0c8012d7bf50005dbacd80000015a21..."} 
[2026-10-16 07:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14266f0c8012d7bf50005dbacd80000015a21..."} 
[2026-10-16 07:21:32] local.INFO: Processing buffer {"connection_id":219617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14266f0c8012d7bf50005dbacd80000015a21..."} 
[2026-10-16 07:21:32] local.INFO: Packet analysis {"connection_id":219617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14266"} 
[2026-10-16 07:21:32] local.INFO: Extracted packet for processing {"connection_id":219617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14266"} 
[2026-10-16 07:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763098368,"raw_latitude":98282712,"longitude_deg":76.3098368,"latitude_deg":9.8282712,"altitude":0,"angle":346,"satellites":33,"speed":49,"hex_longitude":"2d7bf500","hex_latitude":"05dbacd8","is_valid_coordinates":true} 
[2026-10-16 07:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781541632001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145313234843336704,"note":"Value kept but may cause issues"} 
[2026-10-16 07:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934508367163394048,"note":"Value kept but may cause issues"} 
[2026-10-16 07:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792115405000,"timestamp_ms":1792115405000,"timestamp_seconds":1792115405,"priority":1,"record_length":96,"hex_timestamp":"000001a14266f0c8"} 
[2026-10-16 07:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 07:21:32] 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-10-16 07:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781541632001,"66":14048,"162":206,"85":15104,"24":49,"16":145313234843336704,"45":8934508367163394048},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-10-16 07:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781541632001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:21:32] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-16 07:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145313234843336704,"km_value":145313234843336.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934508367163394048,"description":"Unknown IO ID 45"} 
[2026-10-16 07:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781541632001,"power":14048,"unknown_162":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8934508367163394048}} 
[2026-10-16 07:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":219617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:21:32] local.INFO: GPS data processed {"connection_id":219617,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:21:32] local.INFO: Acknowledgment sent {"connection_id":219617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:21:55] local.INFO: TCP Data received {"connection_id":219616,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:21:55] local.INFO: Processing buffer {"connection_id":219616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:21:55] local.INFO: Packet analysis {"connection_id":219616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:21:55] local.INFO: Extracted packet for processing {"connection_id":219616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792115245000,"timestamp_ms":1792115245000,"timestamp_seconds":1792115245,"priority":1,"record_length":96,"hex_timestamp":"000001a142647fc8"} 
[2026-10-16 07:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:21:55] 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-10-16 07:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781425664001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:21:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:21:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781425664001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":219616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:21:55] local.INFO: GPS data processed {"connection_id":219616,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:21:55] local.INFO: Acknowledgment sent {"connection_id":219616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:22:04] local.INFO: TCP Data received {"connection_id":219617,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142685c10012d7bd28005dd5cd80000015f1f..."} 
[2026-10-16 07:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142685c10012d7bd28005dd5cd80000015f1f..."} 
[2026-10-16 07:22:04] local.INFO: Processing buffer {"connection_id":219617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142685c10012d7bd28005dd5cd80000015f1f..."} 
[2026-10-16 07:22:04] local.INFO: Packet analysis {"connection_id":219617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14268"} 
[2026-10-16 07:22:04] local.INFO: Extracted packet for processing {"connection_id":219617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14268"} 
[2026-10-16 07:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763089536,"raw_latitude":98393304,"longitude_deg":76.3089536,"latitude_deg":9.8393304,"altitude":0,"angle":351,"satellites":31,"speed":39,"hex_longitude":"2d7bd280","hex_latitude":"05dd5cd8","is_valid_coordinates":true} 
[2026-10-16 07:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781565184001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145318625027293184,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923671580588537856,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792115498000,"timestamp_ms":1792115498000,"timestamp_seconds":1792115498,"priority":1,"record_length":96,"hex_timestamp":"000001a142685c10"} 
[2026-10-16 07:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 07:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":219617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":219617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":219617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781565184001,"66":13374,"174":206,"85":15104,"24":39,"16":145318625027293184,"45":8923671580588537856},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,45]} 
[2026-10-16 07:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781565184001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:22:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 07:22:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145318625027293184,"km_value":145318625027293.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923671580588537856,"description":"Unknown IO ID 45"} 
[2026-10-16 07:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781565184001,"power":13374,"unknown_174":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8923671580588537856}} 
[2026-10-16 07:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":219617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:22:04] local.INFO: GPS data processed {"connection_id":219617,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:22:04] local.INFO: Acknowledgment sent {"connection_id":219617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:22:16] local.INFO: TCP Data received {"connection_id":216350,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:22:16] local.INFO: Processing buffer {"connection_id":216350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:22:16] local.INFO: IMEI packet received {"connection_id":216350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":216350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:22:22] local.INFO: TCP Data received {"connection_id":216350,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:22:22] local.INFO: Processing buffer {"connection_id":216350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:22:22] local.INFO: IMEI packet received {"connection_id":216350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":216350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:22:24] local.INFO: TCP Data received {"connection_id":216350,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:22:24] local.INFO: Processing buffer {"connection_id":216350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:22:24] local.INFO: Packet analysis {"connection_id":216350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:22:24] local.INFO: Extracted packet for processing {"connection_id":216350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792115245000,"timestamp_ms":1792115245000,"timestamp_seconds":1792115245,"priority":1,"record_length":96,"hex_timestamp":"000001a142647fc8"} 
[2026-10-16 07:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:22:24] 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-10-16 07:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781425664001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:22:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:22:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781425664001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":216350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:22:24] local.INFO: GPS data processed {"connection_id":216350,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:22:24] local.INFO: Acknowledgment sent {"connection_id":216350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:22:27] local.INFO: TCP Data received {"connection_id":216539,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:22:27] local.INFO: Processing buffer {"connection_id":216539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:22:27] local.INFO: IMEI packet received {"connection_id":216539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":216539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:22:28] local.INFO: TCP Data received {"connection_id":216539,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:22:28] local.INFO: Processing buffer {"connection_id":216539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:22:28] local.INFO: IMEI packet received {"connection_id":216539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":216539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:22:54] local.INFO: TCP Data received {"connection_id":216539,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142687f38012d7bce8005dd8208000001621c..."} 
[2026-10-16 07:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142687f38012d7bce8005dd8208000001621c..."} 
[2026-10-16 07:22:54] local.INFO: Processing buffer {"connection_id":216539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142687f38012d7bce8005dd8208000001621c..."} 
[2026-10-16 07:22:54] local.INFO: Packet analysis {"connection_id":216539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14268"} 
[2026-10-16 07:22:54] local.INFO: Extracted packet for processing {"connection_id":216539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14268"} 
[2026-10-16 07:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763088512,"raw_latitude":98402824,"longitude_deg":76.3088512,"latitude_deg":9.8402824,"altitude":0,"angle":354,"satellites":28,"speed":46,"hex_longitude":"2d7bce80","hex_latitude":"05dd8208","is_valid_coordinates":true} 
[2026-10-16 07:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781567488001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145319088883761152,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922334574451415040,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792115507000,"timestamp_ms":1792115507000,"timestamp_seconds":1792115507,"priority":1,"record_length":96,"hex_timestamp":"000001a142687f38"} 
[2026-10-16 07:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:22: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-10-16 07:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-16 07:22:54] 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-10-16 07:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781567488001,"66":13059,"174":206,"85":15104,"24":46,"16":145319088883761152,"45":8922334574451415040},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,45]} 
[2026-10-16 07:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781567488001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:22:54] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 07:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145319088883761152,"km_value":145319088883761.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922334574451415040,"description":"Unknown IO ID 45"} 
[2026-10-16 07:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781567488001,"power":13059,"unknown_174":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8922334574451415040}} 
[2026-10-16 07:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":216539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:22:54] local.INFO: GPS data processed {"connection_id":216539,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:22:54] local.INFO: Acknowledgment sent {"connection_id":216539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:22:55] local.INFO: TCP Data received {"connection_id":216350,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:22:55] local.INFO: Processing buffer {"connection_id":216350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142647fc8012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:22:55] local.INFO: Packet analysis {"connection_id":216350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:22:55] local.INFO: Extracted packet for processing {"connection_id":216350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14264"} 
[2026-10-16 07:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781425664001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792115245000,"timestamp_ms":1792115245000,"timestamp_seconds":1792115245,"priority":1,"record_length":96,"hex_timestamp":"000001a142647fc8"} 
[2026-10-16 07:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:22:55] 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-10-16 07:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781425664001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781425664001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:22:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:22:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781425664001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":216350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:22:55] local.INFO: GPS data processed {"connection_id":216350,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:22:55] local.INFO: Acknowledgment sent {"connection_id":216350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:23:16] local.INFO: TCP Data received {"connection_id":217885,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:23:16] local.INFO: Processing buffer {"connection_id":217885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:23:16] local.INFO: IMEI packet received {"connection_id":217885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":217885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:23:21] local.INFO: TCP Data received {"connection_id":216351,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:23:21] local.INFO: Processing buffer {"connection_id":216351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:23:21] local.INFO: IMEI packet received {"connection_id":216351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:23:22] local.INFO: TCP Data received {"connection_id":217885,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:23:22] local.INFO: Processing buffer {"connection_id":217885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:23:22] local.INFO: IMEI packet received {"connection_id":217885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":217885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:23:23] local.INFO: TCP Data received {"connection_id":217885,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:23:23] local.INFO: Processing buffer {"connection_id":217885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:23:23] local.INFO: Packet analysis {"connection_id":217885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:23:23] local.INFO: Extracted packet for processing {"connection_id":217885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:23:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781502720001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792115546000,"timestamp_ms":1792115546000,"timestamp_seconds":1792115546,"priority":1,"record_length":96,"hex_timestamp":"000001a142691790"} 
[2026-10-16 07:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:23:23] 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-10-16 07: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-10-16 07:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781502720001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781502720001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:23:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:23:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781502720001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":217885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:23:23] local.INFO: GPS data processed {"connection_id":217885,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:23:23] local.INFO: Acknowledgment sent {"connection_id":217885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:23:25] local.INFO: TCP Data received {"connection_id":216351,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:23:25] local.INFO: Processing buffer {"connection_id":216351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:23:25] local.INFO: IMEI packet received {"connection_id":216351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":216351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:23:26] local.INFO: TCP Data received {"connection_id":216351,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:23:26] local.INFO: Processing buffer {"connection_id":216351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:23:26] local.INFO: IMEI packet received {"connection_id":216351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":216351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:23:27] local.INFO: TCP Data received {"connection_id":216351,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142689e78012d7bc88005dda7980000016019..."} 
[2026-10-16 07:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142689e78012d7bc88005dda7980000016019..."} 
[2026-10-16 07:23:27] local.INFO: Processing buffer {"connection_id":216351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142689e78012d7bc88005dda7980000016019..."} 
[2026-10-16 07:23:27] local.INFO: Packet analysis {"connection_id":216351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14268"} 
[2026-10-16 07:23:27] local.INFO: Extracted packet for processing {"connection_id":216351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14268"} 
[2026-10-16 07:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763086976,"raw_latitude":98412440,"longitude_deg":76.3086976,"latitude_deg":9.841244,"altitude":0,"angle":352,"satellites":25,"speed":52,"hex_longitude":"2d7bc880","hex_latitude":"05dda798","is_valid_coordinates":true} 
[2026-10-16 07:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781569792001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145319561330163712,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921208674547009536,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115515000,"timestamp_ms":1792115515000,"timestamp_seconds":1792115515,"priority":1,"record_length":96,"hex_timestamp":"000001a142689e78"} 
[2026-10-16 07:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:23: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-10-16 07:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 07:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303178682781025,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:27] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:27] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4077912064,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1639514318,"corrected_to":0} 
[2026-10-16 07:23:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926177,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:27] local.WARNING: Large IO value detected {"io_id":185,"raw_value":58077557095399472,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3702315008,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:27] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,174,85,24,241,157,16,70,161,92,45,128,31,10,66,56,64,58,28,21,1,240,227,69,220,4,113,205,48,219,223,104,33,239,52,185,2,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1639514318,"validated":0}]} 
[2026-10-16 07:23:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":389347378331648,"timestamp_seconds":389347378331.648,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 07:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781569792001,"66":13722,"174":206,"85":15104,"24":52,"16":145319561330163712,"45":8921208674547009536},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,45]} 
[2026-10-16 07:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781569792001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:23:27] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 07:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145319561330163712,"km_value":145319561330163.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921208674547009536,"description":"Unknown IO ID 45"} 
[2026-10-16 07:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781569792001,"power":13722,"unknown_174":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8921208674547009536}} 
[2026-10-16 07:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":216351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:23:27] local.INFO: GPS data processed {"connection_id":216351,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:23:27] local.INFO: Acknowledgment sent {"connection_id":216351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:23:31] local.INFO: TCP Data received {"connection_id":216351,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14268b9d0012d7bc18005ddca300000015a1b..."} 
[2026-10-16 07:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14268b9d0012d7bc18005ddca300000015a1b..."} 
[2026-10-16 07:23:31] local.INFO: Processing buffer {"connection_id":216351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14268b9d0012d7bc18005ddca300000015a1b..."} 
[2026-10-16 07:23:31] local.INFO: Packet analysis {"connection_id":216351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14268"} 
[2026-10-16 07:23:31] local.INFO: Extracted packet for processing {"connection_id":216351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14268"} 
[2026-10-16 07:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763085184,"raw_latitude":98421296,"longitude_deg":76.3085184,"latitude_deg":9.8421296,"altitude":0,"angle":346,"satellites":27,"speed":50,"hex_longitude":"2d7bc180","hex_latitude":"05ddca30","is_valid_coordinates":true} 
[2026-10-16 07:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781571840001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145319999416827904,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919519824689207296,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792115522000,"timestamp_ms":1792115522000,"timestamp_seconds":1792115522,"priority":1,"record_length":96,"hex_timestamp":"000001a14268b9d0"} 
[2026-10-16 07:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-16 07:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781571840001,"66":13102,"174":206,"85":15104,"24":50,"16":145319999416827904,"45":8919519824689207296},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,45]} 
[2026-10-16 07:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781571840001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:23:31] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 07:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145319999416827904,"km_value":145319999416827.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919519824689207296,"description":"Unknown IO ID 45"} 
[2026-10-16 07:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781571840001,"power":13102,"unknown_174":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8919519824689207296}} 
[2026-10-16 07:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":216351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:23:32] local.INFO: GPS data processed {"connection_id":216351,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:23:32] local.INFO: Acknowledgment sent {"connection_id":216351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:23:54] local.INFO: TCP Data received {"connection_id":217885,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:23:54] local.INFO: Processing buffer {"connection_id":217885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:23:54] local.INFO: Packet analysis {"connection_id":217885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:23:54] local.INFO: Extracted packet for processing {"connection_id":217885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781502720001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792115546000,"timestamp_ms":1792115546000,"timestamp_seconds":1792115546,"priority":1,"record_length":96,"hex_timestamp":"000001a142691790"} 
[2026-10-16 07:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781502720001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781502720001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:23:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:23:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781502720001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":217885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:23:54] local.INFO: GPS data processed {"connection_id":217885,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:23:54] local.INFO: Acknowledgment sent {"connection_id":217885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:24:03] local.INFO: TCP Data received {"connection_id":216351,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426a4458012d7b84c005df9ee0000001601e..."} 
[2026-10-16 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426a4458012d7b84c005df9ee0000001601e..."} 
[2026-10-16 07:24:03] local.INFO: Processing buffer {"connection_id":216351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426a4458012d7b84c005df9ee0000001601e..."} 
[2026-10-16 07:24:03] local.INFO: Packet analysis {"connection_id":216351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426a"} 
[2026-10-16 07:24:03] local.INFO: Extracted packet for processing {"connection_id":216351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426a"} 
[2026-10-16 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":98541280,"longitude_deg":76.3069632,"latitude_deg":9.854128,"altitude":0,"angle":352,"satellites":30,"speed":53,"hex_longitude":"2d7b84c0","hex_latitude":"05df9ee0","is_valid_coordinates":true} 
[2026-10-16 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781597696001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145325874932088832,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857269931220992,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792115623000,"timestamp_ms":1792115623000,"timestamp_seconds":1792115623,"priority":1,"record_length":96,"hex_timestamp":"000001a1426a4458"} 
[2026-10-16 07:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-16 07:24: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-10-16 07:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781597696001,"66":13993,"44":206,"85":15104,"24":53,"16":145325874932088832,"45":8901857269931220992},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-10-16 07:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781597696001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:24:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 07:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145325874932088832,"km_value":145325874932088.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857269931220992,"description":"Unknown IO ID 45"} 
[2026-10-16 07:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781597696001,"power":13993,"unknown_44":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8901857269931220992}} 
[2026-10-16 07:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":216351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:24:03] local.INFO: GPS data processed {"connection_id":216351,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:24:03] local.INFO: Acknowledgment sent {"connection_id":216351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:24:17] local.INFO: TCP Data received {"connection_id":219620,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:24:17] local.INFO: Processing buffer {"connection_id":219620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:24:17] local.INFO: IMEI packet received {"connection_id":219620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":219620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:24:21] local.INFO: TCP Data received {"connection_id":216540,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:24:21] local.INFO: Processing buffer {"connection_id":216540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:24:21] local.INFO: IMEI packet received {"connection_id":216540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":216540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:24:22] local.INFO: TCP Data received {"connection_id":216540,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:24:22] local.INFO: Processing buffer {"connection_id":216540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:24:22] local.INFO: IMEI packet received {"connection_id":216540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":216540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:24:22] local.INFO: TCP Data received {"connection_id":219620,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:24:22] local.INFO: Processing buffer {"connection_id":219620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:24:22] local.INFO: IMEI packet received {"connection_id":219620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":219620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:24:23] local.INFO: TCP Data received {"connection_id":219620,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:24:23] local.INFO: Processing buffer {"connection_id":219620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:24:23] local.INFO: Packet analysis {"connection_id":219620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:24:23] local.INFO: Extracted packet for processing {"connection_id":219620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781502720001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792115546000,"timestamp_ms":1792115546000,"timestamp_seconds":1792115546,"priority":1,"record_length":96,"hex_timestamp":"000001a142691790"} 
[2026-10-16 07:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:24:23] 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-10-16 07:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781502720001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781502720001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:24:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:24:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781502720001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":219620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:24:23] local.INFO: GPS data processed {"connection_id":219620,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:24:23] local.INFO: Acknowledgment sent {"connection_id":219620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:24:26] local.INFO: TCP Data received {"connection_id":216540,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:24:26] local.INFO: Processing buffer {"connection_id":216540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:24:26] local.INFO: IMEI packet received {"connection_id":216540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":216540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:24:27] local.INFO: TCP Data received {"connection_id":216540,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426a5fb0012d7b800005dfc3080000016020..."} 
[2026-10-16 07:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426a5fb0012d7b800005dfc3080000016020..."} 
[2026-10-16 07:24:27] local.INFO: Processing buffer {"connection_id":216540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426a5fb0012d7b800005dfc3080000016020..."} 
[2026-10-16 07:24:27] local.INFO: Packet analysis {"connection_id":216540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426a"} 
[2026-10-16 07:24:27] local.INFO: Extracted packet for processing {"connection_id":216540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426a"} 
[2026-10-16 07:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763068416,"raw_latitude":98550536,"longitude_deg":76.3068416,"latitude_deg":9.8550536,"altitude":0,"angle":352,"satellites":32,"speed":49,"hex_longitude":"2d7b8000","hex_latitude":"05dfc308","is_valid_coordinates":true} 
[2026-10-16 07:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781599488001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145326330198622208,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895050043392,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115630000,"timestamp_ms":1792115630000,"timestamp_seconds":1792115630,"priority":1,"record_length":96,"hex_timestamp":"000001a1426a5fb0"} 
[2026-10-16 07:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-16 07:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781599488001,"66":14080,"103":206,"85":15104,"24":49,"16":145326330198622208,"45":8900449895050043392},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-16 07:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781599488001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:24:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 07:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145326330198622208,"km_value":145326330198622.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895050043392,"description":"Unknown IO ID 45"} 
[2026-10-16 07:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781599488001,"power":14080,"unknown_103":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8900449895050043392}} 
[2026-10-16 07:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":216540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:24:27] local.INFO: GPS data processed {"connection_id":216540,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:24:27] local.INFO: Acknowledgment sent {"connection_id":216540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:24:55] local.INFO: TCP Data received {"connection_id":219620,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:24:55] local.INFO: Processing buffer {"connection_id":219620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:24:55] local.INFO: Packet analysis {"connection_id":219620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:24:55] local.INFO: Extracted packet for processing {"connection_id":219620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781502720001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792115546000,"timestamp_ms":1792115546000,"timestamp_seconds":1792115546,"priority":1,"record_length":96,"hex_timestamp":"000001a142691790"} 
[2026-10-16 07:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:24:55] 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-10-16 07:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781502720001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781502720001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:24:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:24:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781502720001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":219620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:24:55] local.INFO: GPS data processed {"connection_id":219620,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:24:55] local.INFO: Acknowledgment sent {"connection_id":219620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:24:58] local.INFO: TCP Data received {"connection_id":216540,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426a7ef0012d7b7a8005dfe9700000015f1c..."} 
[2026-10-16 07:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426a7ef0012d7b7a8005dfe9700000015f1c..."} 
[2026-10-16 07:24:58] local.INFO: Processing buffer {"connection_id":216540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426a7ef0012d7b7a8005dfe9700000015f1c..."} 
[2026-10-16 07:24:58] local.INFO: Packet analysis {"connection_id":216540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426a"} 
[2026-10-16 07:24:58] local.INFO: Extracted packet for processing {"connection_id":216540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426a"} 
[2026-10-16 07:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763067008,"raw_latitude":98560368,"longitude_deg":76.3067008,"latitude_deg":9.8560368,"altitude":0,"angle":351,"satellites":28,"speed":52,"hex_longitude":"2d7b7a80","hex_latitude":"05dfe970","is_valid_coordinates":true} 
[2026-10-16 07:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781601280001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145326811234959360,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899112888913037312,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792115638000,"timestamp_ms":1792115638000,"timestamp_seconds":1792115638,"priority":1,"record_length":96,"hex_timestamp":"000001a1426a7ef0"} 
[2026-10-16 07:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-10-16 07:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447663616,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2133590222,"corrected_to":0} 
[2026-10-16 07:24:58] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812287,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3739953152,"note":"Value kept but may cause issues"} 
[2026-10-16 07:24:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,85,24,241,157,16,77,161,68,45,192,158,30,10,66,44,41,122,29,76,13,1,240,137,227,223,4,113,205,48,211,147,224,25,239,53,2,5,50],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2133590222,"validated":0}]} 
[2026-10-16 07:24:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387165535141888,"timestamp_seconds":387165535141.888,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 07:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781601280001,"66":13646,"103":206,"85":15104,"24":52,"16":145326811234959360,"45":8899112888913037312},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-16 07:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781601280001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:24:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 07:24:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145326811234959360,"km_value":145326811234959.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899112888913037312,"description":"Unknown IO ID 45"} 
[2026-10-16 07:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781601280001,"power":13646,"unknown_103":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8899112888913037312}} 
[2026-10-16 07:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":216540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:24:58] local.INFO: GPS data processed {"connection_id":216540,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:24:58] local.INFO: Acknowledgment sent {"connection_id":216540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:25:11] local.INFO: TCP Data received {"connection_id":219621,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:25:11] local.INFO: Processing buffer {"connection_id":219621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:25:11] local.INFO: IMEI packet received {"connection_id":219621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":219621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:25:16] local.INFO: TCP Data received {"connection_id":217886,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:25:16] local.INFO: Processing buffer {"connection_id":217886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:25:16] local.INFO: IMEI packet received {"connection_id":217886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":217886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:25:21] local.INFO: TCP Data received {"connection_id":219622,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:25:21] local.INFO: Processing buffer {"connection_id":219622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:25:21] local.INFO: IMEI packet received {"connection_id":219622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":219622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:25:22] local.INFO: TCP Data received {"connection_id":217886,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:25:22] local.INFO: Processing buffer {"connection_id":217886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:25:22] local.INFO: IMEI packet received {"connection_id":217886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":217886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:25:24] local.INFO: TCP Data received {"connection_id":217886,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:25:24] local.INFO: Processing buffer {"connection_id":217886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:25:24] local.INFO: Packet analysis {"connection_id":217886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:25:24] local.INFO: Extracted packet for processing {"connection_id":217886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781502720001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792115546000,"timestamp_ms":1792115546000,"timestamp_seconds":1792115546,"priority":1,"record_length":96,"hex_timestamp":"000001a142691790"} 
[2026-10-16 07:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:25:24] 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-10-16 07:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781502720001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781502720001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:25:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:25:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781502720001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":217886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:25:24] local.INFO: GPS data processed {"connection_id":217886,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:25:24] local.INFO: Acknowledgment sent {"connection_id":217886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:25:26] local.INFO: TCP Data received {"connection_id":219622,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:25:26] local.INFO: Processing buffer {"connection_id":219622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:25:26] local.INFO: IMEI packet received {"connection_id":219622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":219622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:25:27] local.INFO: TCP Data received {"connection_id":219622,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426a9a48012d7b754005e00cb00000015f1d..."} 
[2026-10-16 07:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426a9a48012d7b754005e00cb00000015f1d..."} 
[2026-10-16 07:25:27] local.INFO: Processing buffer {"connection_id":219622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426a9a48012d7b754005e00cb00000015f1d..."} 
[2026-10-16 07:25:27] local.INFO: Packet analysis {"connection_id":219622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426a"} 
[2026-10-16 07:25:27] local.INFO: Extracted packet for processing {"connection_id":219622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426a"} 
[2026-10-16 07:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763065664,"raw_latitude":98569392,"longitude_deg":76.3065664,"latitude_deg":9.8569392,"altitude":0,"angle":351,"satellites":29,"speed":52,"hex_longitude":"2d7b7540","hex_latitude":"05e00cb0","is_valid_coordinates":true} 
[2026-10-16 07:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781603328001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145327253616590848,"note":"Value kept but may cause issues"} 
[2026-10-16 07:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897564776543645696,"note":"Value kept but may cause issues"} 
[2026-10-16 07:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115645000,"timestamp_ms":1792115645000,"timestamp_seconds":1792115645,"priority":1,"record_length":96,"hex_timestamp":"000001a1426a9a48"} 
[2026-10-16 07:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:25: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-10-16 07:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 07:25:27] 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-10-16 07:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781603328001,"66":14157,"103":206,"85":15104,"24":52,"16":145327253616590848,"45":8897564776543645696},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-16 07:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781603328001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:25:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 07:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145327253616590848,"km_value":145327253616590.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897564776543645696,"description":"Unknown IO ID 45"} 
[2026-10-16 07:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781603328001,"power":14157,"unknown_103":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8897564776543645696}} 
[2026-10-16 07:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":219622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:25:27] local.INFO: GPS data processed {"connection_id":219622,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:25:27] local.INFO: Acknowledgment sent {"connection_id":219622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:25:56] local.INFO: TCP Data received {"connection_id":216352,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:25:56] local.INFO: Processing buffer {"connection_id":216352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:25:56] local.INFO: IMEI packet received {"connection_id":216352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":216352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:25:56] local.INFO: TCP Data received {"connection_id":217886,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:25:56] local.INFO: Processing buffer {"connection_id":217886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:25:56] local.INFO: Packet analysis {"connection_id":217886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:25:56] local.INFO: Extracted packet for processing {"connection_id":217886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781502720001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792115546000,"timestamp_ms":1792115546000,"timestamp_seconds":1792115546,"priority":1,"record_length":96,"hex_timestamp":"000001a142691790"} 
[2026-10-16 07:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:25:56] 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-10-16 07:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781502720001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781502720001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:25:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:25:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781502720001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":217886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:25:56] local.INFO: GPS data processed {"connection_id":217886,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:25:56] local.INFO: Acknowledgment sent {"connection_id":217886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:26:10] local.INFO: TCP Data received {"connection_id":219622,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426ab5a0012d7b70c005e02ff8000001601d..."} 
[2026-10-16 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426ab5a0012d7b70c005e02ff8000001601d..."} 
[2026-10-16 07:26:10] local.INFO: Processing buffer {"connection_id":219622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426ab5a0012d7b70c005e02ff8000001601d..."} 
[2026-10-16 07:26:10] local.INFO: Packet analysis {"connection_id":219622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426a"} 
[2026-10-16 07:26:10] local.INFO: Extracted packet for processing {"connection_id":219622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426a"} 
[2026-10-16 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763064512,"raw_latitude":98578424,"longitude_deg":76.3064512,"latitude_deg":9.8578424,"altitude":0,"angle":352,"satellites":29,"speed":48,"hex_longitude":"2d7b70c0","hex_latitude":"05e02ff8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 07:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781605120001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145327695998222336,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896087032918224896,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792115652000,"timestamp_ms":1792115652000,"timestamp_seconds":1792115652,"priority":1,"record_length":96,"hex_timestamp":"000001a1426ab5a0"} 
[2026-10-16 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-10-16 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 07:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 07:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":219622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":219622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":219622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781605120001,"66":13961,"103":206,"85":15104,"24":48,"16":145327695998222336,"45":8896087032918224896},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-10-16 07:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781605120001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:26:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 07:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145327695998222336,"km_value":145327695998222.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896087032918224896,"description":"Unknown IO ID 45"} 
[2026-10-16 07:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781605120001,"power":13961,"unknown_103":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8896087032918224896}} 
[2026-10-16 07:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":219622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:26:10] local.INFO: GPS data processed {"connection_id":219622,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:26:10] local.INFO: Acknowledgment sent {"connection_id":219622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:26:16] local.INFO: TCP Data received {"connection_id":216353,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:26:16] local.INFO: Processing buffer {"connection_id":216353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:26:16] local.INFO: IMEI packet received {"connection_id":216353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":216353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:26:20] local.INFO: TCP Data received {"connection_id":217887,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:26:20] local.INFO: Processing buffer {"connection_id":217887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:26:20] local.INFO: IMEI packet received {"connection_id":217887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":217887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:26:21] local.INFO: TCP Data received {"connection_id":217887,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:26:21] local.INFO: Processing buffer {"connection_id":217887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:26:21] local.INFO: IMEI packet received {"connection_id":217887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":217887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:26:22] local.INFO: TCP Data received {"connection_id":216353,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:26:22] local.INFO: Processing buffer {"connection_id":216353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:26:22] local.INFO: IMEI packet received {"connection_id":216353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":216353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:26:23] local.INFO: TCP Data received {"connection_id":216353,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:26:23] local.INFO: Processing buffer {"connection_id":216353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:26:23] local.INFO: Packet analysis {"connection_id":216353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:26:23] local.INFO: Extracted packet for processing {"connection_id":216353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:26:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781502720001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792115546000,"timestamp_ms":1792115546000,"timestamp_seconds":1792115546,"priority":1,"record_length":96,"hex_timestamp":"000001a142691790"} 
[2026-10-16 07:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:26:23] 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-10-16 07:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781502720001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781502720001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:26:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:26:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781502720001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":216353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:26:23] local.INFO: GPS data processed {"connection_id":216353,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:26:23] local.INFO: Acknowledgment sent {"connection_id":216353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:26:26] local.INFO: TCP Data received {"connection_id":217887,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:26:26] local.INFO: Processing buffer {"connection_id":217887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:26:26] local.INFO: IMEI packet received {"connection_id":217887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":217887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:26:27] local.INFO: TCP Data received {"connection_id":217887,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426c5b80012d7b384005e1bdd8000001641e..."} 
[2026-10-16 07:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426c5b80012d7b384005e1bdd8000001641e..."} 
[2026-10-16 07:26:27] local.INFO: Processing buffer {"connection_id":217887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426c5b80012d7b384005e1bdd8000001641e..."} 
[2026-10-16 07:26:27] local.INFO: Packet analysis {"connection_id":217887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426c"} 
[2026-10-16 07:26:27] local.INFO: Extracted packet for processing {"connection_id":217887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426c"} 
[2026-10-16 07:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763050048,"raw_latitude":98680280,"longitude_deg":76.3050048,"latitude_deg":9.868028,"altitude":0,"angle":356,"satellites":30,"speed":46,"hex_longitude":"2d7b3840","hex_latitude":"05e1bdd8","is_valid_coordinates":true} 
[2026-10-16 07:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781632256001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145332686750220288,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879691115550781440,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115760000,"timestamp_ms":1792115760000,"timestamp_seconds":1792115760,"priority":1,"record_length":96,"hex_timestamp":"000001a1426c5b80"} 
[2026-10-16 07:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:26: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-10-16 07:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-10-16 07:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2385,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781632256001,"66":13830,"217":206,"85":15104,"24":46,"16":145332686750220288,"45":8879691115550781440},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-16 07:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781632256001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:26:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-16 07:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145332686750220288,"km_value":145332686750220.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879691115550781440,"description":"Unknown IO ID 45"} 
[2026-10-16 07:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781632256001,"power":13830,"unknown_217":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8879691115550781440}} 
[2026-10-16 07:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":217887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:26:27] local.INFO: GPS data processed {"connection_id":217887,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:26:27] local.INFO: Acknowledgment sent {"connection_id":217887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:26:55] local.INFO: TCP Data received {"connection_id":216353,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:26:55] local.INFO: Processing buffer {"connection_id":216353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:26:55] local.INFO: Packet analysis {"connection_id":216353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:26:55] local.INFO: Extracted packet for processing {"connection_id":216353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781502720001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792115546000,"timestamp_ms":1792115546000,"timestamp_seconds":1792115546,"priority":1,"record_length":96,"hex_timestamp":"000001a142691790"} 
[2026-10-16 07:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:26:55] 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-10-16 07:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781502720001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781502720001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:26:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:26:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781502720001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":216353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:26:55] local.INFO: GPS data processed {"connection_id":216353,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:26:55] local.INFO: Acknowledgment sent {"connection_id":216353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:26:58] local.INFO: TCP Data received {"connection_id":217887,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426c7ac0012d7b350005e1e1400000015f1c..."} 
[2026-10-16 07:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426c7ac0012d7b350005e1e1400000015f1c..."} 
[2026-10-16 07:26:58] local.INFO: Processing buffer {"connection_id":217887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426c7ac0012d7b350005e1e1400000015f1c..."} 
[2026-10-16 07:26:58] local.INFO: Packet analysis {"connection_id":217887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426c"} 
[2026-10-16 07:26:58] local.INFO: Extracted packet for processing {"connection_id":217887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426c"} 
[2026-10-16 07:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763049216,"raw_latitude":98689344,"longitude_deg":76.3049216,"latitude_deg":9.8689344,"altitude":0,"angle":351,"satellites":28,"speed":45,"hex_longitude":"2d7b3500","hex_latitude":"05e1e140","is_valid_coordinates":true} 
[2026-10-16 07:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781634560001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145333124836884480,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878917059367262208,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792115768000,"timestamp_ms":1792115768000,"timestamp_seconds":1792115768,"priority":1,"record_length":96,"hex_timestamp":"000001a1426c7ac0"} 
[2026-10-16 07:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-16 07:26:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":11540482650865664,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626251525888,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4612017501268608480,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-10-16 07:26:58] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2818649467,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3773020160,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:58] local.WARNING: Large IO value detected {"io_id":193,"raw_value":5857214508,"note":"Value kept but may cause issues"} 
[2026-10-16 07:26:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,85,24,241,157,16,83,161,56,45,152,33,10,66,82,9,64,117,32,210,1,240,94,227,225,4,113,205,38,132,216,28,239,55,2,5,41,193],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-10-16 07:26:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":391554991521792,"timestamp_seconds":391554991521.792,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 07:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781634560001,"66":13656,"217":206,"85":15104,"24":45,"16":145333124836884480,"45":8878917059367262208},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-10-16 07:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781634560001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:26:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-10-16 07:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145333124836884480,"km_value":145333124836884.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878917059367262208,"description":"Unknown IO ID 45"} 
[2026-10-16 07:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781634560001,"power":13656,"unknown_217":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8878917059367262208}} 
[2026-10-16 07:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":217887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:26:58] local.INFO: GPS data processed {"connection_id":217887,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:26:58] local.INFO: Acknowledgment sent {"connection_id":217887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:27:21] local.INFO: TCP Data received {"connection_id":217888,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:27:21] local.INFO: Processing buffer {"connection_id":217888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:27:21] local.INFO: IMEI packet received {"connection_id":217888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":217888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:27:22] local.INFO: TCP Data received {"connection_id":216354,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:27:22] local.INFO: Processing buffer {"connection_id":216354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:27:22] local.INFO: IMEI packet received {"connection_id":216354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":216354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:27:26] local.INFO: TCP Data received {"connection_id":217888,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:27:26] local.INFO: Processing buffer {"connection_id":217888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:27:26] local.INFO: IMEI packet received {"connection_id":217888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":217888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:27:26] local.INFO: TCP Data received {"connection_id":216354,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:27:26] local.INFO: Processing buffer {"connection_id":216354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:27:26] local.INFO: IMEI packet received {"connection_id":216354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":216354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:27:27] local.INFO: TCP Data received {"connection_id":217888,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426ca1d0012d7b304005e204800000015e1e..."} 
[2026-10-16 07:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426ca1d0012d7b304005e204800000015e1e..."} 
[2026-10-16 07:27:27] local.INFO: Processing buffer {"connection_id":217888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426ca1d0012d7b304005e204800000015e1e..."} 
[2026-10-16 07:27:27] local.INFO: Packet analysis {"connection_id":217888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426c"} 
[2026-10-16 07:27:27] local.INFO: Extracted packet for processing {"connection_id":217888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426c"} 
[2026-10-16 07:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98698368,"longitude_deg":76.3048,"latitude_deg":9.8698368,"altitude":0,"angle":350,"satellites":30,"speed":21,"hex_longitude":"2d7b3040","hex_latitude":"05e20480","is_valid_coordinates":true} 
[2026-10-16 07:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781636608001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878002265695272960,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145333567218515968,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 07:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115778000,"timestamp_ms":1792115778000,"timestamp_seconds":1792115778,"priority":1,"record_length":96,"hex_timestamp":"000001a1426ca1d0"} 
[2026-10-16 07:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:27: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-10-16 07:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-16 07:27:27] 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-10-16 07:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781636608001,"66":13678,"45":8878002265695272960,"85":15104,"24":21,"16":145333567218515968},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 07:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781636608001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878002265695272960,"description":"Unknown IO ID 45"} 
[2026-10-16 07:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145333567218515968,"km_value":145333567218515.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:27:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458781636608001,"power":13678,"unknown_45":8878002265695272960,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-10-16 07:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":217888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:27:27] local.INFO: GPS data processed {"connection_id":217888,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:27:27] local.INFO: Acknowledgment sent {"connection_id":217888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:27:27] local.INFO: TCP Data received {"connection_id":216354,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:27:27] local.INFO: Processing buffer {"connection_id":216354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:27:27] local.INFO: Packet analysis {"connection_id":216354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:27:27] local.INFO: Extracted packet for processing {"connection_id":216354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781502720001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792115546000,"timestamp_ms":1792115546000,"timestamp_seconds":1792115546,"priority":1,"record_length":96,"hex_timestamp":"000001a142691790"} 
[2026-10-16 07:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:27:27] 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-10-16 07:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781502720001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781502720001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:27:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:27:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781502720001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":216354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:27:27] local.INFO: GPS data processed {"connection_id":216354,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:27:27] local.INFO: Acknowledgment sent {"connection_id":216354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:27:33] local.INFO: TCP Data received {"connection_id":216354,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:27:33] local.INFO: Processing buffer {"connection_id":216354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142691790012d7f98c005afddb00000002f24..."} 
[2026-10-16 07:27:33] local.INFO: Packet analysis {"connection_id":216354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:27:33] local.INFO: Extracted packet for processing {"connection_id":216354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14269"} 
[2026-10-16 07:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781502720001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792115546000,"timestamp_ms":1792115546000,"timestamp_seconds":1792115546,"priority":1,"record_length":96,"hex_timestamp":"000001a142691790"} 
[2026-10-16 07:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781502720001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781502720001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:27:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781502720001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":216354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:27:34] local.INFO: GPS data processed {"connection_id":216354,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:27:34] local.INFO: Acknowledgment sent {"connection_id":216354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:27:58] local.INFO: TCP Data received {"connection_id":217888,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426cd498012d7b2cc005e22610000000011b..."} 
[2026-10-16 07:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426cd498012d7b2cc005e22610000000011b..."} 
[2026-10-16 07:27:58] local.INFO: Processing buffer {"connection_id":217888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426cd498012d7b2cc005e22610000000011b..."} 
[2026-10-16 07:27:58] local.INFO: Packet analysis {"connection_id":217888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426c"} 
[2026-10-16 07:27:58] local.INFO: Extracted packet for processing {"connection_id":217888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426c"} 
[2026-10-16 07:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763047104,"raw_latitude":98706960,"longitude_deg":76.3047104,"latitude_deg":9.870696,"altitude":0,"angle":1,"satellites":27,"speed":15,"hex_longitude":"2d7b2cc0","hex_latitude":"05e22610","is_valid_coordinates":true} 
[2026-10-16 07:27: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-10-16 07:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781639168001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259558207488,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145333988125310976,"note":"Value kept but may cause issues"} 
[2026-10-16 07:27:58] 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-10-16 07:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792115791000,"timestamp_ms":1792115791000,"timestamp_seconds":1792115791,"priority":1,"record_length":96,"hex_timestamp":"000001a1426cd498"} 
[2026-10-16 07:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-16 07:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:27: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-10-16 07:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781639168001,"66":12722,"45":8876665259558207488,"85":15104,"24":15,"16":145333988125310976},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 07:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781639168001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259558207488,"description":"Unknown IO ID 45"} 
[2026-10-16 07:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145333988125310976,"km_value":145333988125310.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:27:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458781639168001,"power":12722,"unknown_45":8876665259558207488,"unknown_85":15104,"ignition":15,"odometer":null}} 
[2026-10-16 07:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":217888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:27:58] local.INFO: GPS data processed {"connection_id":217888,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:27:58] local.INFO: Acknowledgment sent {"connection_id":217888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:28:18] local.INFO: TCP Data received {"connection_id":216355,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:28:18] local.INFO: Processing buffer {"connection_id":216355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:28:18] local.INFO: IMEI packet received {"connection_id":216355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":216355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:28:22] local.INFO: TCP Data received {"connection_id":216355,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:28:22] local.INFO: Processing buffer {"connection_id":216355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:28:22] local.INFO: IMEI packet received {"connection_id":216355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":216355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:28:23] local.INFO: TCP Data received {"connection_id":216355,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:28:23] local.INFO: Processing buffer {"connection_id":216355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:28:23] local.INFO: Packet analysis {"connection_id":216355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:28:23] local.INFO: Extracted packet for processing {"connection_id":216355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781579776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792115847000,"timestamp_ms":1792115847000,"timestamp_seconds":1792115847,"priority":1,"record_length":96,"hex_timestamp":"000001a1426daf58"} 
[2026-10-16 07:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781579776001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781579776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:28:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:28:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781579776001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":216355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:28:23] local.INFO: GPS data processed {"connection_id":216355,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:28:23] local.INFO: Acknowledgment sent {"connection_id":216355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:28:26] local.INFO: TCP Data received {"connection_id":219624,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:28:26] local.INFO: Processing buffer {"connection_id":219624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:28:26] local.INFO: IMEI packet received {"connection_id":219624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":219624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:28:31] local.INFO: TCP Data received {"connection_id":219624,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:28:31] local.INFO: Processing buffer {"connection_id":219624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:28:31] local.INFO: IMEI packet received {"connection_id":219624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":219624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:28:32] local.INFO: TCP Data received {"connection_id":219624,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426cdc68012d7b2d4005e22888000000151e..."} 
[2026-10-16 07:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426cdc68012d7b2d4005e22888000000151e..."} 
[2026-10-16 07:28:32] local.INFO: Processing buffer {"connection_id":219624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426cdc68012d7b2d4005e22888000000151e..."} 
[2026-10-16 07:28:32] local.INFO: Packet analysis {"connection_id":219624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426c"} 
[2026-10-16 07:28:32] local.INFO: Extracted packet for processing {"connection_id":219624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426c"} 
[2026-10-16 07:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763047232,"raw_latitude":98707592,"longitude_deg":76.3047232,"latitude_deg":9.8707592,"altitude":0,"angle":21,"satellites":30,"speed":12,"hex_longitude":"2d7b2d40","hex_latitude":"05e22888","is_valid_coordinates":true} 
[2026-10-16 07:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781642496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875680097141919744,"note":"Value kept but may cause issues"} 
[2026-10-16 07:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145334018190082048,"note":"Value kept but may cause issues"} 
[2026-10-16 07:28:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 07:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792115793000,"timestamp_ms":1792115793000,"timestamp_seconds":1792115793,"priority":1,"record_length":96,"hex_timestamp":"000001a1426cdc68"} 
[2026-10-16 07:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 07:28:32] 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-10-16 07:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781642496001,"66":13059,"45":8875680097141919744,"85":15104,"24":12,"16":145334018190082048},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 07:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781642496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875680097141919744,"description":"Unknown IO ID 45"} 
[2026-10-16 07:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145334018190082048,"km_value":145334018190082.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:28:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458781642496001,"power":13059,"unknown_45":8875680097141919744,"unknown_85":15104,"ignition":12,"odometer":null}} 
[2026-10-16 07:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":219624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:28:32] local.INFO: GPS data processed {"connection_id":219624,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:28:32] local.INFO: Acknowledgment sent {"connection_id":219624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:28:55] local.INFO: TCP Data received {"connection_id":216355,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:28:55] local.INFO: Processing buffer {"connection_id":216355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:28:55] local.INFO: Packet analysis {"connection_id":216355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:28:55] local.INFO: Extracted packet for processing {"connection_id":216355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781579776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792115847000,"timestamp_ms":1792115847000,"timestamp_seconds":1792115847,"priority":1,"record_length":96,"hex_timestamp":"000001a1426daf58"} 
[2026-10-16 07:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781579776001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781579776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:28:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:28:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781579776001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":216355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:28:55] local.INFO: GPS data processed {"connection_id":216355,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:28:55] local.INFO: Acknowledgment sent {"connection_id":216355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:29:02] local.INFO: TCP Data received {"connection_id":219624,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426ead40012d7b3c4005e1e6380006004423..."} 
[2026-10-16 07:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426ead40012d7b3c4005e1e6380006004423..."} 
[2026-10-16 07:29:02] local.INFO: Processing buffer {"connection_id":219624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426ead40012d7b3c4005e1e6380006004423..."} 
[2026-10-16 07:29:02] local.INFO: Packet analysis {"connection_id":219624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426e"} 
[2026-10-16 07:29:02] local.INFO: Extracted packet for processing {"connection_id":219624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426e"} 
[2026-10-16 07:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763051072,"raw_latitude":98690616,"longitude_deg":76.3051072,"latitude_deg":9.8690616,"altitude":6,"angle":68,"satellites":35,"speed":0,"hex_longitude":"2d7b3c40","hex_latitude":"05e1e638","is_valid_coordinates":true} 
[2026-10-16 07:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781668096001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880042959276748800,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145334958787919872,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 07:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792115912000,"timestamp_ms":1792115912000,"timestamp_seconds":1792115912,"priority":1,"record_length":96,"hex_timestamp":"000001a1426ead40"} 
[2026-10-16 07:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-16 07:29:02] 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-10-16 07:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":219624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":219624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":219624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781668096001,"66":12819,"45":8880042959276748800,"85":15104,"24":0,"16":145334958787919872},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 07:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781668096001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880042959276748800,"description":"Unknown IO ID 45"} 
[2026-10-16 07:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145334958787919872,"km_value":145334958787919.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:29:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458781668096001,"power":12819,"unknown_45":8880042959276748800,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-10-16 07:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":219624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:29:02] local.INFO: GPS data processed {"connection_id":219624,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:29:02] local.INFO: Acknowledgment sent {"connection_id":219624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:29:16] local.INFO: TCP Data received {"connection_id":217890,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:29:16] local.INFO: Processing buffer {"connection_id":217890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:29:16] local.INFO: IMEI packet received {"connection_id":217890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":217890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:29:21] local.INFO: TCP Data received {"connection_id":219625,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:29:21] local.INFO: Processing buffer {"connection_id":219625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:29:21] local.INFO: IMEI packet received {"connection_id":219625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":219625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:29:22] local.INFO: TCP Data received {"connection_id":217890,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:29:22] local.INFO: Processing buffer {"connection_id":217890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:29:22] local.INFO: IMEI packet received {"connection_id":217890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":217890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:29:24] local.INFO: TCP Data received {"connection_id":217890,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:29:24] local.INFO: Processing buffer {"connection_id":217890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:29:24] local.INFO: Packet analysis {"connection_id":217890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:29:24] local.INFO: Extracted packet for processing {"connection_id":217890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781579776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792115847000,"timestamp_ms":1792115847000,"timestamp_seconds":1792115847,"priority":1,"record_length":96,"hex_timestamp":"000001a1426daf58"} 
[2026-10-16 07:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781579776001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781579776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:29:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:29:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781579776001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":217890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:29:24] local.INFO: GPS data processed {"connection_id":217890,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:29:24] local.INFO: Acknowledgment sent {"connection_id":217890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:29:25] local.INFO: TCP Data received {"connection_id":219625,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:29:25] local.INFO: Processing buffer {"connection_id":219625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:29:25] local.INFO: IMEI packet received {"connection_id":219625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":219625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:29:26] local.INFO: TCP Data received {"connection_id":219625,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426ecc80012d7b3cc005e1e618000600b623..."} 
[2026-10-16 07:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426ecc80012d7b3cc005e1e618000600b623..."} 
[2026-10-16 07:29:26] local.INFO: Processing buffer {"connection_id":219625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426ecc80012d7b3cc005e1e618000600b623..."} 
[2026-10-16 07:29:26] local.INFO: Packet analysis {"connection_id":219625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426e"} 
[2026-10-16 07:29:26] local.INFO: Extracted packet for processing {"connection_id":219625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426e"} 
[2026-10-16 07:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763051200,"raw_latitude":98690584,"longitude_deg":76.30512,"latitude_deg":9.8690584,"altitude":6,"angle":182,"satellites":35,"speed":3,"hex_longitude":"2d7b3cc0","hex_latitude":"05e1e618","is_valid_coordinates":true} 
[2026-10-16 07:29: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-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781673472001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880042959276750848,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145334967377854464,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] 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-10-16 07:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792115920000,"timestamp_ms":1792115920000,"timestamp_seconds":1792115920,"priority":1,"record_length":96,"hex_timestamp":"000001a1426ecc80"} 
[2026-10-16 07:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":7856353633145401856,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2150433637630172125,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505817249873920,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3860332549,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6413389756465742080,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5633159595103551512,"corrected_to":0} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3221610985,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182221119684864,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391950,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":5908948446756261461,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84859421595132457,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.WARNING: Large IO value detected {"io_id":72,"raw_value":1126549017331712,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,45,85,24,241,157,16,161,91,64,230,6,34,10,66,9,5,32,192,1,240,116,227,225,4,113,205,101,58,30,239,51,2,54,59,237,69,120,72],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":5633159595103551512,"validated":0}]} 
[2026-10-16 07:29:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432420481342111744,"timestamp_seconds":432420481342111.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 07:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781673472001,"66":13493,"45":8880042959276750848,"85":15104,"24":3,"16":145334967377854464},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 07:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781673472001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880042959276750848,"description":"Unknown IO ID 45"} 
[2026-10-16 07:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145334967377854464,"km_value":145334967377854.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:29:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458781673472001,"power":13493,"unknown_45":8880042959276750848,"unknown_85":15104,"ignition":3,"odometer":null}} 
[2026-10-16 07:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":219625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:29:26] local.INFO: GPS data processed {"connection_id":219625,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:29:26] local.INFO: Acknowledgment sent {"connection_id":219625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:29:56] local.INFO: TCP Data received {"connection_id":217890,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:29:56] local.INFO: Processing buffer {"connection_id":217890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:29:56] local.INFO: Packet analysis {"connection_id":217890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:29:56] local.INFO: Extracted packet for processing {"connection_id":217890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781579776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792115847000,"timestamp_ms":1792115847000,"timestamp_seconds":1792115847,"priority":1,"record_length":96,"hex_timestamp":"000001a1426daf58"} 
[2026-10-16 07:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781579776001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781579776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:29:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:29:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781579776001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":217890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:29:56] local.INFO: GPS data processed {"connection_id":217890,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:29:56] local.INFO: Acknowledgment sent {"connection_id":217890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:29:57] local.INFO: TCP Data received {"connection_id":219625,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1426f0b00012d7b3ec005e1cd38000600aa22..."} 
[2026-10-16 07:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426f0b00012d7b3ec005e1cd38000600aa22..."} 
[2026-10-16 07:29:57] local.INFO: Processing buffer {"connection_id":219625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426f0b00012d7b3ec005e1cd38000600aa22..."} 
[2026-10-16 07:29:57] local.INFO: Packet analysis {"connection_id":219625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426f"} 
[2026-10-16 07:29:57] local.INFO: Extracted packet for processing {"connection_id":219625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426f"} 
[2026-10-16 07:29:57] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98684216,"longitude_deg":76.3051712,"latitude_deg":9.8684216,"altitude":6,"angle":170,"satellites":34,"speed":26,"hex_longitude":"2d7b3ec0","hex_latitude":"05e1cd38","is_valid_coordinates":true} 
[2026-10-16 07:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781675520001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880183696765097984,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145335280910467072,"note":"Value kept but may cause issues"} 
[2026-10-16 07:29:57] 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-10-16 07:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792115936000,"timestamp_ms":1792115936000,"timestamp_seconds":1792115936,"priority":1,"record_length":96,"hex_timestamp":"000001a1426f0b00"} 
[2026-10-16 07:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-16 07:29:57] 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-10-16 07:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781675520001,"66":13450,"45":8880183696765097984,"85":15104,"24":26,"16":145335280910467072},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 07:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781675520001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880183696765097984,"description":"Unknown IO ID 45"} 
[2026-10-16 07:29:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145335280910467072,"km_value":145335280910467.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:29:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458781675520001,"power":13450,"unknown_45":8880183696765097984,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-10-16 07:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":219625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:29:57] local.INFO: GPS data processed {"connection_id":219625,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:29:57] local.INFO: Acknowledgment sent {"connection_id":219625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:30:18] local.INFO: TCP Data received {"connection_id":216357,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:30:18] local.INFO: Processing buffer {"connection_id":216357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:30:18] local.INFO: IMEI packet received {"connection_id":216357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":216357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:30:21] local.INFO: TCP Data received {"connection_id":216357,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:30:21] local.INFO: Processing buffer {"connection_id":216357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:30:21] local.INFO: IMEI packet received {"connection_id":216357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":216357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:30:22] local.INFO: TCP Data received {"connection_id":216356,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:30:22] local.INFO: Processing buffer {"connection_id":216356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:30:22] local.INFO: IMEI packet received {"connection_id":216356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":216356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:30:26] local.INFO: TCP Data received {"connection_id":216357,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:30:26] local.INFO: Processing buffer {"connection_id":216357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:30:26] local.INFO: IMEI packet received {"connection_id":216357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":216357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:30:27] local.INFO: TCP Data received {"connection_id":216357,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427033e0012d7bcfc005e1daf80004003625..."} 
[2026-10-16 07:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427033e0012d7bcfc005e1daf80004003625..."} 
[2026-10-16 07:30:27] local.INFO: Processing buffer {"connection_id":216357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427033e0012d7bcfc005e1daf80004003625..."} 
[2026-10-16 07:30:27] local.INFO: Packet analysis {"connection_id":216357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14270"} 
[2026-10-16 07:30:27] local.INFO: Extracted packet for processing {"connection_id":216357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14270"} 
[2026-10-16 07:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763088832,"raw_latitude":98687736,"longitude_deg":76.3088832,"latitude_deg":9.8687736,"altitude":4,"angle":54,"satellites":37,"speed":21,"hex_longitude":"2d7bcfc0","hex_latitude":"05e1daf8","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781695488001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913538481503047680,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145337509998493696,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 07:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792116012000,"timestamp_ms":1792116012000,"timestamp_seconds":1792116012,"priority":1,"record_length":96,"hex_timestamp":"000001a1427033e0"} 
[2026-10-16 07:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-16 07:30:27] 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-10-16 07: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-10-16 07:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781695488001,"66":13319,"45":8913538481503047680,"85":15104,"24":21,"16":145337509998493696},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 07:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781695488001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913538481503047680,"description":"Unknown IO ID 45"} 
[2026-10-16 07:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145337509998493696,"km_value":145337509998493.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:30:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458781695488001,"power":13319,"unknown_45":8913538481503047680,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-10-16 07:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":216357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:30:27] local.INFO: GPS data processed {"connection_id":216357,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:30:27] local.INFO: Acknowledgment sent {"connection_id":216357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:30:27] local.INFO: TCP Data received {"connection_id":216356,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:30:27] local.INFO: Processing buffer {"connection_id":216356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:30:27] local.INFO: IMEI packet received {"connection_id":216356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":216356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:30:28] local.INFO: TCP Data received {"connection_id":216356,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:30:28] local.INFO: Processing buffer {"connection_id":216356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:30:28] local.INFO: Packet analysis {"connection_id":216356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:30:28] local.INFO: Extracted packet for processing {"connection_id":216356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781579776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792115847000,"timestamp_ms":1792115847000,"timestamp_seconds":1792115847,"priority":1,"record_length":96,"hex_timestamp":"000001a1426daf58"} 
[2026-10-16 07:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781579776001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781579776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:30:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:30:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781579776001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":216356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:30:28] local.INFO: GPS data processed {"connection_id":216356,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:30:28] local.INFO: Acknowledgment sent {"connection_id":216356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:30:33] local.INFO: TCP Data received {"connection_id":216356,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:30:33] local.INFO: Processing buffer {"connection_id":216356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:30:33] local.INFO: Packet analysis {"connection_id":216356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:30:33] local.INFO: Extracted packet for processing {"connection_id":216356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781579776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792115847000,"timestamp_ms":1792115847000,"timestamp_seconds":1792115847,"priority":1,"record_length":96,"hex_timestamp":"000001a1426daf58"} 
[2026-10-16 07:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781579776001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781579776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:30:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:30:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781579776001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":216356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:30:33] local.INFO: GPS data processed {"connection_id":216356,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:30:33] local.INFO: Acknowledgment sent {"connection_id":216356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:30:58] local.INFO: TCP Data received {"connection_id":216357,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14270c468012d7c3c0005e1e228000600281f..."} 
[2026-10-16 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14270c468012d7c3c0005e1e228000600281f..."} 
[2026-10-16 07:30:58] local.INFO: Processing buffer {"connection_id":216357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14270c468012d7c3c0005e1e228000600281f..."} 
[2026-10-16 07:30:58] local.INFO: Packet analysis {"connection_id":216357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14270"} 
[2026-10-16 07:30:58] local.INFO: Extracted packet for processing {"connection_id":216357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14270"} 
[2026-10-16 07:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763116544,"raw_latitude":98689576,"longitude_deg":76.3116544,"latitude_deg":9.8689576,"altitude":6,"angle":40,"satellites":31,"speed":25,"hex_longitude":"2d7c3c00","hex_latitude":"05e1e228","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781708288001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951537603360876544,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145338862913191936,"note":"Value kept but may cause issues"} 
[2026-10-16 07:30:58] 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-10-16 07:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792116049000,"timestamp_ms":1792116049000,"timestamp_seconds":1792116049,"priority":1,"record_length":96,"hex_timestamp":"000001a14270c468"} 
[2026-10-16 07:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-16 07:30:58] 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-10-16 07: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-10-16 07:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781708288001,"66":13450,"45":8951537603360876544,"85":15104,"24":25,"16":145338862913191936},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 07:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781708288001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951537603360876544,"description":"Unknown IO ID 45"} 
[2026-10-16 07:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145338862913191936,"km_value":145338862913191.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:30:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458781708288001,"power":13450,"unknown_45":8951537603360876544,"unknown_85":15104,"ignition":25,"odometer":null}} 
[2026-10-16 07:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":216357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:30:58] local.INFO: GPS data processed {"connection_id":216357,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:30:58] local.INFO: Acknowledgment sent {"connection_id":216357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:31:11] local.INFO: TCP Data received {"connection_id":219627,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:31:11] local.INFO: Processing buffer {"connection_id":219627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:31:11] local.INFO: IMEI packet received {"connection_id":219627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":219627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:31:17] local.INFO: TCP Data received {"connection_id":216543,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:31:17] local.INFO: Processing buffer {"connection_id":216543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:31:17] local.INFO: IMEI packet received {"connection_id":216543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":216543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:31:19] local.INFO: TCP Data received {"connection_id":216544,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:31:19] local.INFO: Processing buffer {"connection_id":216544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:31:19] local.INFO: IMEI packet received {"connection_id":216544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":216544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:31:21] local.INFO: TCP Data received {"connection_id":216544,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:31:21] local.INFO: Processing buffer {"connection_id":216544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:31:21] local.INFO: IMEI packet received {"connection_id":216544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":216544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:31:22] local.INFO: TCP Data received {"connection_id":216543,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:31:22] local.INFO: Processing buffer {"connection_id":216543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:31:22] local.INFO: IMEI packet received {"connection_id":216543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":216543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:31:23] local.INFO: TCP Data received {"connection_id":216543,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:31:23] local.INFO: Processing buffer {"connection_id":216543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:31:23] local.INFO: Packet analysis {"connection_id":216543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:31:23] local.INFO: Extracted packet for processing {"connection_id":216543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781579776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792115847000,"timestamp_ms":1792115847000,"timestamp_seconds":1792115847,"priority":1,"record_length":96,"hex_timestamp":"000001a1426daf58"} 
[2026-10-16 07:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781579776001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781579776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:31:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:31:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781579776001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":216543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:31:24] local.INFO: GPS data processed {"connection_id":216543,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:31:24] local.INFO: Acknowledgment sent {"connection_id":216543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:31:26] local.INFO: TCP Data received {"connection_id":216544,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:31:26] local.INFO: Processing buffer {"connection_id":216544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:31:26] local.INFO: IMEI packet received {"connection_id":216544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":216544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:31:27] local.INFO: TCP Data received {"connection_id":216544,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14270c850012d7c3d4005e1e4900006001a22..."} 
[2026-10-16 07:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14270c850012d7c3d4005e1e4900006001a22..."} 
[2026-10-16 07:31:27] local.INFO: Processing buffer {"connection_id":216544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14270c850012d7c3d4005e1e4900006001a22..."} 
[2026-10-16 07:31:27] local.INFO: Packet analysis {"connection_id":216544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14270"} 
[2026-10-16 07:31:27] local.INFO: Extracted packet for processing {"connection_id":216544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14270"} 
[2026-10-16 07:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763116864,"raw_latitude":98690192,"longitude_deg":76.3116864,"latitude_deg":9.8690192,"altitude":6,"angle":26,"satellites":34,"speed":26,"hex_longitude":"2d7c3d40","hex_latitude":"05e1e490","is_valid_coordinates":true} 
[2026-10-16 07:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781708544001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952030184570234880,"note":"Value kept but may cause issues"} 
[2026-10-16 07:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145338892977963008,"note":"Value kept but may cause issues"} 
[2026-10-16 07:31:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 07:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792116050000,"timestamp_ms":1792116050000,"timestamp_seconds":1792116050,"priority":1,"record_length":96,"hex_timestamp":"000001a14270c850"} 
[2026-10-16 07:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:31: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-10-16 07:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-16 07:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781708544001,"66":13526,"45":8952030184570234880,"85":15104,"24":26,"16":145338892977963008},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 07:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781708544001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952030184570234880,"description":"Unknown IO ID 45"} 
[2026-10-16 07:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145338892977963008,"km_value":145338892977963.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:31:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458781708544001,"power":13526,"unknown_45":8952030184570234880,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-10-16 07:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":216544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:31:27] local.INFO: GPS data processed {"connection_id":216544,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:31:27] local.INFO: Acknowledgment sent {"connection_id":216544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:31:51] local.INFO: TCP Data received {"connection_id":216358,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:31:51] local.INFO: Processing buffer {"connection_id":216358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:31:51] local.INFO: IMEI packet received {"connection_id":216358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":216358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:31:55] local.INFO: TCP Data received {"connection_id":216543,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:31:55] local.INFO: Processing buffer {"connection_id":216543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:31:55] local.INFO: Packet analysis {"connection_id":216543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:31:55] local.INFO: Extracted packet for processing {"connection_id":216543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781579776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792115847000,"timestamp_ms":1792115847000,"timestamp_seconds":1792115847,"priority":1,"record_length":96,"hex_timestamp":"000001a1426daf58"} 
[2026-10-16 07:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781579776001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781579776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:31:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:31:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781579776001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":216543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:31:55] local.INFO: GPS data processed {"connection_id":216543,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:31:55] local.INFO: Acknowledgment sent {"connection_id":216543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:32:01] local.INFO: TCP Data received {"connection_id":216544,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14270d7f0012d7c424005e1ee500006002622..."} 
[2026-10-16 07:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14270d7f0012d7c424005e1ee500006002622..."} 
[2026-10-16 07:32:01] local.INFO: Processing buffer {"connection_id":216544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14270d7f0012d7c424005e1ee500006002622..."} 
[2026-10-16 07:32:01] local.INFO: Packet analysis {"connection_id":216544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14270"} 
[2026-10-16 07:32:01] local.INFO: Extracted packet for processing {"connection_id":216544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14270"} 
[2026-10-16 07:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763118144,"raw_latitude":98692688,"longitude_deg":76.3118144,"latitude_deg":9.8692688,"altitude":6,"angle":38,"satellites":34,"speed":28,"hex_longitude":"2d7c4240","hex_latitude":"05e1ee50","is_valid_coordinates":true} 
[2026-10-16 07:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781708800001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952382028291280896,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145339030416916480,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 07:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792116054000,"timestamp_ms":1792116054000,"timestamp_seconds":1792116054,"priority":1,"record_length":96,"hex_timestamp":"000001a14270d7f0"} 
[2026-10-16 07:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-16 07:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781708800001,"66":13472,"45":8952382028291280896,"85":15104,"24":28,"16":145339030416916480},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 07:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781708800001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952382028291280896,"description":"Unknown IO ID 45"} 
[2026-10-16 07:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145339030416916480,"km_value":145339030416916.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:32:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458781708800001,"power":13472,"unknown_45":8952382028291280896,"unknown_85":15104,"ignition":28,"odometer":null}} 
[2026-10-16 07:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":216544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:32:01] local.INFO: GPS data processed {"connection_id":216544,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:32:01] local.INFO: Acknowledgment sent {"connection_id":216544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:32:16] local.INFO: TCP Data received {"connection_id":219628,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:32:16] local.INFO: Processing buffer {"connection_id":219628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:32:16] local.INFO: IMEI packet received {"connection_id":219628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":219628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:32:21] local.INFO: TCP Data received {"connection_id":216545,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:32:21] local.INFO: Processing buffer {"connection_id":216545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:32:21] local.INFO: IMEI packet received {"connection_id":216545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":216545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:32:22] local.INFO: TCP Data received {"connection_id":219628,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:32:22] local.INFO: Processing buffer {"connection_id":219628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:32:22] local.INFO: IMEI packet received {"connection_id":219628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":219628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:32:23] local.INFO: TCP Data received {"connection_id":219628,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:32:23] local.INFO: Processing buffer {"connection_id":219628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:32:23] local.INFO: Packet analysis {"connection_id":219628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:32:23] local.INFO: Extracted packet for processing {"connection_id":219628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781579776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792115847000,"timestamp_ms":1792115847000,"timestamp_seconds":1792115847,"priority":1,"record_length":96,"hex_timestamp":"000001a1426daf58"} 
[2026-10-16 07:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781579776001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781579776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:32:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:32:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781579776001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":219628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:32:23] local.INFO: GPS data processed {"connection_id":219628,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:32:23] local.INFO: Acknowledgment sent {"connection_id":219628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:32:24] local.INFO: TCP Data received {"connection_id":216545,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:32:24] local.INFO: Processing buffer {"connection_id":216545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:32:24] local.INFO: IMEI packet received {"connection_id":216545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":216545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:32:26] local.INFO: TCP Data received {"connection_id":216545,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:32:26] local.INFO: Processing buffer {"connection_id":216545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:32:26] local.INFO: IMEI packet received {"connection_id":216545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":216545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:32:27] local.INFO: TCP Data received {"connection_id":216545,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14271b2b0012d7cd48005e206f80005004d24..."} 
[2026-10-16 07:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14271b2b0012d7cd48005e206f80005004d24..."} 
[2026-10-16 07:32:27] local.INFO: Processing buffer {"connection_id":216545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14271b2b0012d7cd48005e206f80005004d24..."} 
[2026-10-16 07:32:27] local.INFO: Packet analysis {"connection_id":216545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14271"} 
[2026-10-16 07:32:27] local.INFO: Extracted packet for processing {"connection_id":216545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14271"} 
[2026-10-16 07:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763155584,"raw_latitude":98699000,"longitude_deg":76.3155584,"latitude_deg":9.8699,"altitude":5,"angle":77,"satellites":36,"speed":14,"hex_longitude":"2d7cd480","hex_latitude":"05e206f8","is_valid_coordinates":true} 
[2026-10-16 07:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781720576001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145341066231414784,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988199719079999488,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] 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-10-16 07:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792116110000,"timestamp_ms":1792116110000,"timestamp_seconds":1792116110,"priority":1,"record_length":96,"hex_timestamp":"000001a14271b2b0"} 
[2026-10-16 07:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:32: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-10-16 07:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751645785,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549752363,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":313448774846382080,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792771072,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6467175533264764932,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971748253004411307,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:27] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,43,85,24,241,157,16,90,161,84,45,128,12,4,32,10,66,49,192,19,2,35,89,38,1,240,133,227,226,113,205,28,30,99,208,34,239,53,5,23,124,51,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-10-16 07:32:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216272987996880896,"timestamp_seconds":216272987996880.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 07:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781720576001,"66":13559,"43":206,"85":15104,"24":14,"16":145341066231414784,"45":8988199719079999488},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 07:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781720576001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:32:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 07:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145341066231414784,"km_value":145341066231414.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988199719079999488,"description":"Unknown IO ID 45"} 
[2026-10-16 07:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781720576001,"power":13559,"unknown_43":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8988199719079999488}} 
[2026-10-16 07:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":216545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:32:27] local.INFO: GPS data processed {"connection_id":216545,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:32:27] local.INFO: Acknowledgment sent {"connection_id":216545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:32:34] local.INFO: TCP Data received {"connection_id":216545,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14271f518012d7cf80005e20e380008005a25..."} 
[2026-10-16 07:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14271f518012d7cf80005e20e380008005a25..."} 
[2026-10-16 07:32:34] local.INFO: Processing buffer {"connection_id":216545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14271f518012d7cf80005e20e380008005a25..."} 
[2026-10-16 07:32:34] local.INFO: Packet analysis {"connection_id":216545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14271"} 
[2026-10-16 07:32:34] local.INFO: Extracted packet for processing {"connection_id":216545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14271"} 
[2026-10-16 07:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763164672,"raw_latitude":98700856,"longitude_deg":76.3164672,"latitude_deg":9.8700856,"altitude":8,"angle":90,"satellites":37,"speed":26,"hex_longitude":"2d7cf800","hex_latitude":"05e20e38","is_valid_coordinates":true} 
[2026-10-16 07:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781724160001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145341508613046272,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994955118521022464,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32: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-10-16 07:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792116127000,"timestamp_ms":1792116127000,"timestamp_seconds":1792116127,"priority":1,"record_length":96,"hex_timestamp":"000001a14271f518"} 
[2026-10-16 07:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:32:34] 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-10-16 07:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 07:32:34] 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-10-16 07:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781724160001,"66":13678,"43":206,"85":15104,"24":26,"16":145341508613046272,"45":8994955118521022464},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 07:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781724160001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:32:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 07:32:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145341508613046272,"km_value":145341508613046.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994955118521022464,"description":"Unknown IO ID 45"} 
[2026-10-16 07:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781724160001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8994955118521022464}} 
[2026-10-16 07:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":216545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:32:34] local.INFO: GPS data processed {"connection_id":216545,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:32:34] local.INFO: Acknowledgment sent {"connection_id":216545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:32:55] local.INFO: TCP Data received {"connection_id":219628,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:32:55] local.INFO: Processing buffer {"connection_id":219628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1426daf58012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:32:55] local.INFO: Packet analysis {"connection_id":219628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:32:55] local.INFO: Extracted packet for processing {"connection_id":219628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1426d"} 
[2026-10-16 07:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781579776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792115847000,"timestamp_ms":1792115847000,"timestamp_seconds":1792115847,"priority":1,"record_length":96,"hex_timestamp":"000001a1426daf58"} 
[2026-10-16 07:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781579776001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781579776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:32:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:32:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781579776001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":219628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:32:55] local.INFO: GPS data processed {"connection_id":219628,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:32:55] local.INFO: Acknowledgment sent {"connection_id":219628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:33:06] local.INFO: TCP Data received {"connection_id":216545,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14271f518012d7cf80005e20e380008005a25..."} 
[2026-10-16 07:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14271f518012d7cf80005e20e380008005a25..."} 
[2026-10-16 07:33:06] local.INFO: Processing buffer {"connection_id":216545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14271f518012d7cf80005e20e380008005a25..."} 
[2026-10-16 07:33:06] local.INFO: Packet analysis {"connection_id":216545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14271"} 
[2026-10-16 07:33:06] local.INFO: Extracted packet for processing {"connection_id":216545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14271"} 
[2026-10-16 07:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763164672,"raw_latitude":98700856,"longitude_deg":76.3164672,"latitude_deg":9.8700856,"altitude":8,"angle":90,"satellites":37,"speed":26,"hex_longitude":"2d7cf800","hex_latitude":"05e20e38","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781728512001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145341508613046272,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004947480194725888,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:06] 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-10-16 07:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792116127000,"timestamp_ms":1792116127000,"timestamp_seconds":1792116127,"priority":1,"record_length":96,"hex_timestamp":"000001a14271f518"} 
[2026-10-16 07:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-16 07:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781728512001,"66":13678,"43":206,"85":15104,"24":26,"16":145341508613046272,"45":9004947480194725888},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 07:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781728512001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:33:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 07:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145341508613046272,"km_value":145341508613046.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004947480194725888,"description":"Unknown IO ID 45"} 
[2026-10-16 07:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781728512001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9004947480194725888}} 
[2026-10-16 07:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":216545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:33:06] local.INFO: GPS data processed {"connection_id":216545,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:33:06] local.INFO: Acknowledgment sent {"connection_id":216545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:33:17] local.INFO: TCP Data received {"connection_id":216360,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:33:17] local.INFO: Processing buffer {"connection_id":216360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:33:17] local.INFO: IMEI packet received {"connection_id":216360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":216360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:33:21] local.INFO: TCP Data received {"connection_id":219629,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:33:21] local.INFO: Processing buffer {"connection_id":219629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:33:21] local.INFO: IMEI packet received {"connection_id":219629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":219629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:33:22] local.INFO: TCP Data received {"connection_id":216360,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:33:22] local.INFO: Processing buffer {"connection_id":216360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:33:22] local.INFO: IMEI packet received {"connection_id":216360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":216360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:33:23] local.INFO: TCP Data received {"connection_id":216360,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:33:23] local.INFO: Processing buffer {"connection_id":216360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:33:23] local.INFO: Packet analysis {"connection_id":216360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:33:23] local.INFO: Extracted packet for processing {"connection_id":216360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781656832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792116148000,"timestamp_ms":1792116148000,"timestamp_seconds":1792116148,"priority":1,"record_length":96,"hex_timestamp":"000001a142724720"} 
[2026-10-16 07:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:33:23] 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-10-16 07: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-10-16 07:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781656832001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781656832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:33:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:33:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781656832001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":216360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:33:23] local.INFO: GPS data processed {"connection_id":216360,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:33:23] local.INFO: Acknowledgment sent {"connection_id":216360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:33:24] local.INFO: TCP Data received {"connection_id":219629,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:33:24] local.INFO: Processing buffer {"connection_id":219629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:33:24] local.INFO: IMEI packet received {"connection_id":219629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":219629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:33:26] local.INFO: TCP Data received {"connection_id":219629,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:33:26] local.INFO: Processing buffer {"connection_id":219629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:33:26] local.INFO: IMEI packet received {"connection_id":219629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":219629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:33:26] local.INFO: TCP Data received {"connection_id":219629,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142722bc8012d7d1c0005e20b98000a005e25..."} 
[2026-10-16 07:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142722bc8012d7d1c0005e20b98000a005e25..."} 
[2026-10-16 07:33:26] local.INFO: Processing buffer {"connection_id":219629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142722bc8012d7d1c0005e20b98000a005e25..."} 
[2026-10-16 07:33:26] local.INFO: Packet analysis {"connection_id":219629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:33:26] local.INFO: Extracted packet for processing {"connection_id":219629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":98700184,"longitude_deg":76.3173888,"latitude_deg":9.8700184,"altitude":10,"angle":94,"satellites":37,"speed":28,"hex_longitude":"2d7d1c00","hex_latitude":"05e20b98","is_valid_coordinates":true} 
[2026-10-16 07:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781728512001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145341950994677760,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004947480194725888,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:26] 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-10-16 07:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792116141000,"timestamp_ms":1792116141000,"timestamp_seconds":1792116141,"priority":1,"record_length":96,"hex_timestamp":"000001a142722bc8"} 
[2026-10-16 07:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-16 07:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781728512001,"66":13406,"43":206,"85":15104,"24":28,"16":145341950994677760,"45":9004947480194725888},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 07:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781728512001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:33:26] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 07:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145341950994677760,"km_value":145341950994677.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004947480194725888,"description":"Unknown IO ID 45"} 
[2026-10-16 07:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781728512001,"power":13406,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9004947480194725888}} 
[2026-10-16 07:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":219629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:33:26] local.INFO: GPS data processed {"connection_id":219629,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:33:26] local.INFO: Acknowledgment sent {"connection_id":219629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:33:55] local.INFO: TCP Data received {"connection_id":216360,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:33:55] local.INFO: Processing buffer {"connection_id":216360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:33:55] local.INFO: Packet analysis {"connection_id":216360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:33:55] local.INFO: Extracted packet for processing {"connection_id":216360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781656832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792116148000,"timestamp_ms":1792116148000,"timestamp_seconds":1792116148,"priority":1,"record_length":96,"hex_timestamp":"000001a142724720"} 
[2026-10-16 07:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:33:55] 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-10-16 07:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781656832001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781656832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:33:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:33:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781656832001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":216360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:33:55] local.INFO: GPS data processed {"connection_id":216360,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:33:55] local.INFO: Acknowledgment sent {"connection_id":216360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:33:57] local.INFO: TCP Data received {"connection_id":219629,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142725e90012d7d3f8005e208b0000d005f24..."} 
[2026-10-16 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142725e90012d7d3f8005e208b0000d005f24..."} 
[2026-10-16 07:33:57] local.INFO: Processing buffer {"connection_id":219629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142725e90012d7d3f8005e208b0000d005f24..."} 
[2026-10-16 07:33:57] local.INFO: Packet analysis {"connection_id":219629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:33:57] local.INFO: Extracted packet for processing {"connection_id":219629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":98699440,"longitude_deg":76.3182976,"latitude_deg":9.869944,"altitude":13,"angle":95,"satellites":36,"speed":28,"hex_longitude":"2d7d3f80","hex_latitude":"05e208b0","is_valid_coordinates":true} 
[2026-10-16 07:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781732096001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145342384786374656,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579356137472,"note":"Value kept but may cause issues"} 
[2026-10-16 07:33:57] 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-10-16 07:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792116154000,"timestamp_ms":1792116154000,"timestamp_seconds":1792116154,"priority":1,"record_length":96,"hex_timestamp":"000001a142725e90"} 
[2026-10-16 07:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-10-16 07:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781732096001,"66":13363,"43":206,"85":15104,"24":28,"16":145342384786374656,"45":9015080579356137472},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 07:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781732096001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:33:57] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 07:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145342384786374656,"km_value":145342384786374.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579356137472,"description":"Unknown IO ID 45"} 
[2026-10-16 07:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781732096001,"power":13363,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9015080579356137472}} 
[2026-10-16 07:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":219629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:33:57] local.INFO: GPS data processed {"connection_id":219629,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:33:57] local.INFO: Acknowledgment sent {"connection_id":219629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:34:17] local.INFO: TCP Data received {"connection_id":216361,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:34:17] local.INFO: Processing buffer {"connection_id":216361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:34:17] local.INFO: IMEI packet received {"connection_id":216361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":216361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:34:21] local.INFO: TCP Data received {"connection_id":217891,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:21] local.INFO: Processing buffer {"connection_id":217891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:21] local.INFO: IMEI packet received {"connection_id":217891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":217891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:34:23] local.INFO: TCP Data received {"connection_id":217891,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:23] local.INFO: Processing buffer {"connection_id":217891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:23] local.INFO: IMEI packet received {"connection_id":217891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":217891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:34:25] local.INFO: TCP Data received {"connection_id":217891,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:25] local.INFO: Processing buffer {"connection_id":217891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:25] local.INFO: IMEI packet received {"connection_id":217891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":217891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:34:26] local.INFO: TCP Data received {"connection_id":217891,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:26] local.INFO: Processing buffer {"connection_id":217891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:34:26] local.INFO: IMEI packet received {"connection_id":217891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":217891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:34:26] local.INFO: TCP Data received {"connection_id":217891,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142739710012d7e2c4005e20ab80003008d24..."} 
[2026-10-16 07:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142739710012d7e2c4005e20ab80003008d24..."} 
[2026-10-16 07:34:26] local.INFO: Processing buffer {"connection_id":217891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142739710012d7e2c4005e20ab80003008d24..."} 
[2026-10-16 07:34:26] local.INFO: Packet analysis {"connection_id":217891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14273"} 
[2026-10-16 07:34:26] local.INFO: Extracted packet for processing {"connection_id":217891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14273"} 
[2026-10-16 07:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763243584,"raw_latitude":98699960,"longitude_deg":76.3243584,"latitude_deg":9.869996,"altitude":3,"angle":141,"satellites":36,"speed":22,"hex_longitude":"2d7e2c40","hex_latitude":"05e20ab8","is_valid_coordinates":true} 
[2026-10-16 07:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781755648001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145345369788645376,"note":"Value kept but may cause issues"} 
[2026-10-16 07:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091289929300592640,"note":"Value kept but may cause issues"} 
[2026-10-16 07:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792116234000,"timestamp_ms":1792116234000,"timestamp_seconds":1792116234,"priority":1,"record_length":96,"hex_timestamp":"000001a142739710"} 
[2026-10-16 07:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-16 07:34:26] 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-10-16 07:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":217891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":217891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":217891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781755648001,"66":13613,"198":206,"85":15104,"24":22,"16":145345369788645376,"45":9091289929300592640},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 07:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781755648001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:34:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 07:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145345369788645376,"km_value":145345369788645.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091289929300592640,"description":"Unknown IO ID 45"} 
[2026-10-16 07:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781755648001,"power":13613,"unknown_198":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9091289929300592640}} 
[2026-10-16 07:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":217891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:34:27] local.INFO: GPS data processed {"connection_id":217891,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:34:27] local.INFO: Acknowledgment sent {"connection_id":217891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:34:27] local.INFO: TCP Data received {"connection_id":216361,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:34:27] local.INFO: Processing buffer {"connection_id":216361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:34:27] local.INFO: IMEI packet received {"connection_id":216361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":216361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:34:29] local.INFO: TCP Data received {"connection_id":216361,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:34:29] local.INFO: Processing buffer {"connection_id":216361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:34:29] local.INFO: Packet analysis {"connection_id":216361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:34:29] local.INFO: Extracted packet for processing {"connection_id":216361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:34: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-10-16 07:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781656832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792116148000,"timestamp_ms":1792116148000,"timestamp_seconds":1792116148,"priority":1,"record_length":96,"hex_timestamp":"000001a142724720"} 
[2026-10-16 07:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:34: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:34:29] 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-10-16 07:34: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-10-16 07:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781656832001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781656832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:34:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:34:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781656832001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":216361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:34:29] local.INFO: GPS data processed {"connection_id":216361,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:34:29] local.INFO: Acknowledgment sent {"connection_id":216361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:34:32] local.INFO: TCP Data received {"connection_id":217891,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142739af8012d7e2d4005e208c80003009924..."} 
[2026-10-16 07:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142739af8012d7e2d4005e208c80003009924..."} 
[2026-10-16 07:34:32] local.INFO: Processing buffer {"connection_id":217891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142739af8012d7e2d4005e208c80003009924..."} 
[2026-10-16 07:34:32] local.INFO: Packet analysis {"connection_id":217891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14273"} 
[2026-10-16 07:34:32] local.INFO: Extracted packet for processing {"connection_id":217891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14273"} 
[2026-10-16 07:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763243840,"raw_latitude":98699464,"longitude_deg":76.324384,"latitude_deg":9.8699464,"altitude":3,"angle":153,"satellites":36,"speed":22,"hex_longitude":"2d7e2d40","hex_latitude":"05e208c8","is_valid_coordinates":true} 
[2026-10-16 07:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781755904001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145345395558449152,"note":"Value kept but may cause issues"} 
[2026-10-16 07:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091712141765556224,"note":"Value kept but may cause issues"} 
[2026-10-16 07:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792116235000,"timestamp_ms":1792116235000,"timestamp_seconds":1792116235,"priority":1,"record_length":96,"hex_timestamp":"000001a142739af8"} 
[2026-10-16 07:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-16 07:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781755904001,"66":13613,"198":206,"85":15104,"24":22,"16":145345395558449152,"45":9091712141765556224},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 07:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781755904001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:34:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 07:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145345395558449152,"km_value":145345395558449.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091712141765556224,"description":"Unknown IO ID 45"} 
[2026-10-16 07:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781755904001,"power":13613,"unknown_198":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9091712141765556224}} 
[2026-10-16 07:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":217891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:34:32] local.INFO: GPS data processed {"connection_id":217891,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:34:32] local.INFO: Acknowledgment sent {"connection_id":217891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:35:01] local.INFO: TCP Data received {"connection_id":216361,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:35:01] local.INFO: Processing buffer {"connection_id":216361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:35:01] local.INFO: Packet analysis {"connection_id":216361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:35:01] local.INFO: Extracted packet for processing {"connection_id":216361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781656832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792116148000,"timestamp_ms":1792116148000,"timestamp_seconds":1792116148,"priority":1,"record_length":96,"hex_timestamp":"000001a142724720"} 
[2026-10-16 07:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781656832001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781656832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:35:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:35:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781656832001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":216361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:35:01] local.INFO: GPS data processed {"connection_id":216361,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:35:01] local.INFO: Acknowledgment sent {"connection_id":216361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:35:03] local.INFO: TCP Data received {"connection_id":217891,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14273a2c8012d7e2e4005e20450000300ad25..."} 
[2026-10-16 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14273a2c8012d7e2e4005e20450000300ad25..."} 
[2026-10-16 07:35:03] local.INFO: Processing buffer {"connection_id":217891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14273a2c8012d7e2e4005e20450000300ad25..."} 
[2026-10-16 07:35:03] local.INFO: Packet analysis {"connection_id":217891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14273"} 
[2026-10-16 07:35:03] local.INFO: Extracted packet for processing {"connection_id":217891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14273"} 
[2026-10-16 07:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763244096,"raw_latitude":98698320,"longitude_deg":76.3244096,"latitude_deg":9.869832,"altitude":3,"angle":173,"satellites":37,"speed":25,"hex_longitude":"2d7e2e40","hex_latitude":"05e20450","is_valid_coordinates":true} 
[2026-10-16 07:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781756160001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145345455687991296,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091993616742139904,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792116237000,"timestamp_ms":1792116237000,"timestamp_seconds":1792116237,"priority":1,"record_length":96,"hex_timestamp":"000001a14273a2c8"} 
[2026-10-16 07:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-16 07:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781756160001,"66":14135,"198":206,"85":15104,"24":25,"16":145345455687991296,"45":9091993616742139904},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 07:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781756160001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:35:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 07:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145345455687991296,"km_value":145345455687991.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091993616742139904,"description":"Unknown IO ID 45"} 
[2026-10-16 07:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781756160001,"power":14135,"unknown_198":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9091993616742139904}} 
[2026-10-16 07:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":217891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:35:03] local.INFO: GPS data processed {"connection_id":217891,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:35:03] local.INFO: Acknowledgment sent {"connection_id":217891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:35:16] local.INFO: TCP Data received {"connection_id":219631,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:35:16] local.INFO: Processing buffer {"connection_id":219631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:35:16] local.INFO: IMEI packet received {"connection_id":219631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":219631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:35:22] local.INFO: TCP Data received {"connection_id":219631,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:35:22] local.INFO: Processing buffer {"connection_id":219631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:35:22] local.INFO: IMEI packet received {"connection_id":219631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":219631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:35:23] local.INFO: TCP Data received {"connection_id":219631,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:35:23] local.INFO: Processing buffer {"connection_id":219631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:35:23] local.INFO: Packet analysis {"connection_id":219631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:35:23] local.INFO: Extracted packet for processing {"connection_id":219631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781656832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792116148000,"timestamp_ms":1792116148000,"timestamp_seconds":1792116148,"priority":1,"record_length":96,"hex_timestamp":"000001a142724720"} 
[2026-10-16 07:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:35:23] 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-10-16 07:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781656832001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781656832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:35:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:35:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781656832001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":219631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:35:23] local.INFO: GPS data processed {"connection_id":219631,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:35:23] local.INFO: Acknowledgment sent {"connection_id":219631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:35:26] local.INFO: TCP Data received {"connection_id":216362,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:35:26] local.INFO: Processing buffer {"connection_id":216362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:35:26] local.INFO: IMEI packet received {"connection_id":216362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":216362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:35:31] local.INFO: TCP Data received {"connection_id":216362,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:35:31] local.INFO: Processing buffer {"connection_id":216362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:35:31] local.INFO: IMEI packet received {"connection_id":216362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":216362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:35:31] local.INFO: TCP Data received {"connection_id":216362,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142748940012d7e1d8005e11b30000000d222..."} 
[2026-10-16 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142748940012d7e1d8005e11b30000000d222..."} 
[2026-10-16 07:35:31] local.INFO: Processing buffer {"connection_id":216362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142748940012d7e1d8005e11b30000000d222..."} 
[2026-10-16 07:35:31] local.INFO: Packet analysis {"connection_id":216362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14274"} 
[2026-10-16 07:35:31] local.INFO: Extracted packet for processing {"connection_id":216362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14274"} 
[2026-10-16 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763239808,"raw_latitude":98638640,"longitude_deg":76.3239808,"latitude_deg":9.863864,"altitude":0,"angle":210,"satellites":34,"speed":35,"hex_longitude":"2d7e1d80","hex_latitude":"05e11b30","is_valid_coordinates":true} 
[2026-10-16 07:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781771264001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145348410625490944,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088334442029760512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792116296000,"timestamp_ms":1792116296000,"timestamp_seconds":1792116296,"priority":1,"record_length":96,"hex_timestamp":"000001a142748940"} 
[2026-10-16 07:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-16 07:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781771264001,"66":14102,"197":206,"85":15104,"24":35,"16":145348410625490944,"45":9088334442029760512},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-10-16 07:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781771264001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:35:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-16 07:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145348410625490944,"km_value":145348410625490.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088334442029760512,"description":"Unknown IO ID 45"} 
[2026-10-16 07:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781771264001,"power":14102,"unknown_197":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9088334442029760512}} 
[2026-10-16 07:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":216362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:35:31] local.INFO: GPS data processed {"connection_id":216362,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:35:31] local.INFO: Acknowledgment sent {"connection_id":216362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:35:33] local.INFO: TCP Data received {"connection_id":216362,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14274a0b0012d7e13c005e109a0000000c525..."} 
[2026-10-16 07:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14274a0b0012d7e13c005e109a0000000c525..."} 
[2026-10-16 07:35:33] local.INFO: Processing buffer {"connection_id":216362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14274a0b0012d7e13c005e109a0000000c525..."} 
[2026-10-16 07:35:33] local.INFO: Packet analysis {"connection_id":216362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14274"} 
[2026-10-16 07:35:33] local.INFO: Extracted packet for processing {"connection_id":216362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14274"} 
[2026-10-16 07:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763237312,"raw_latitude":98634144,"longitude_deg":76.3237312,"latitude_deg":9.8634144,"altitude":0,"angle":197,"satellites":37,"speed":32,"hex_longitude":"2d7e13c0","hex_latitude":"05e109a0","is_valid_coordinates":true} 
[2026-10-16 07:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781771776001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145348659733594112,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087560385843376128,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792116302000,"timestamp_ms":1792116302000,"timestamp_seconds":1792116302,"priority":1,"record_length":96,"hex_timestamp":"000001a14274a0b0"} 
[2026-10-16 07:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 07:35:33] 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-10-16 07:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781771776001,"66":13254,"197":206,"85":15104,"24":32,"16":145348659733594112,"45":9087560385843376128},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-10-16 07:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781771776001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:35:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-16 07:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145348659733594112,"km_value":145348659733594.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087560385843376128,"description":"Unknown IO ID 45"} 
[2026-10-16 07:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781771776001,"power":13254,"unknown_197":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9087560385843376128}} 
[2026-10-16 07:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":216362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:35:33] local.INFO: GPS data processed {"connection_id":216362,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:35:33] local.INFO: Acknowledgment sent {"connection_id":216362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:35:55] local.INFO: TCP Data received {"connection_id":219631,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:35:55] local.INFO: Processing buffer {"connection_id":219631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:35:55] local.INFO: Packet analysis {"connection_id":219631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:35:55] local.INFO: Extracted packet for processing {"connection_id":219631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781656832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792116148000,"timestamp_ms":1792116148000,"timestamp_seconds":1792116148,"priority":1,"record_length":96,"hex_timestamp":"000001a142724720"} 
[2026-10-16 07:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:35:55] 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-10-16 07:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781656832001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781656832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:35:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:35:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781656832001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":219631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:35:55] local.INFO: GPS data processed {"connection_id":219631,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:35:55] local.INFO: Acknowledgment sent {"connection_id":219631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:36:05] local.INFO: TCP Data received {"connection_id":216362,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14274a880012d7e128005e10388000100ba25..."} 
[2026-10-16 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14274a880012d7e128005e10388000100ba25..."} 
[2026-10-16 07:36:05] local.INFO: Processing buffer {"connection_id":216362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14274a880012d7e128005e10388000100ba25..."} 
[2026-10-16 07:36:05] local.INFO: Packet analysis {"connection_id":216362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14274"} 
[2026-10-16 07:36:05] local.INFO: Extracted packet for processing {"connection_id":216362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14274"} 
[2026-10-16 07:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763236992,"raw_latitude":98632584,"longitude_deg":76.3236992,"latitude_deg":9.8632584,"altitude":1,"angle":186,"satellites":37,"speed":32,"hex_longitude":"2d7e1280","hex_latitude":"05e10388","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781773312001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145348737043005440,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084816004819296256,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792116304000,"timestamp_ms":1792116304000,"timestamp_seconds":1792116304,"priority":1,"record_length":96,"hex_timestamp":"000001a14274a880"} 
[2026-10-16 07:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:36:05] 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-10-16 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-16 07:36:05] 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-10-16 07: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-10-16 07:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781773312001,"66":13298,"197":206,"85":15104,"24":32,"16":145348737043005440,"45":9084816004819296256},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-10-16 07:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781773312001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:36:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-16 07:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145348737043005440,"km_value":145348737043005.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084816004819296256,"description":"Unknown IO ID 45"} 
[2026-10-16 07:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781773312001,"power":13298,"unknown_197":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9084816004819296256}} 
[2026-10-16 07:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":216362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:36:05] local.INFO: GPS data processed {"connection_id":216362,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:36:05] local.INFO: Acknowledgment sent {"connection_id":216362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:36:17] local.INFO: TCP Data received {"connection_id":216363,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:36:17] local.INFO: Processing buffer {"connection_id":216363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:36:17] local.INFO: IMEI packet received {"connection_id":216363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":216363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:36:19] local.INFO: TCP Data received {"connection_id":216364,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:36:19] local.INFO: Processing buffer {"connection_id":216364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:36:19] local.INFO: IMEI packet received {"connection_id":216364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":216364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:36:21] local.INFO: TCP Data received {"connection_id":216364,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:36:21] local.INFO: Processing buffer {"connection_id":216364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:36:21] local.INFO: IMEI packet received {"connection_id":216364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":216364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:36:22] local.INFO: TCP Data received {"connection_id":216363,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:36:22] local.INFO: Processing buffer {"connection_id":216363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:36:22] local.INFO: IMEI packet received {"connection_id":216363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":216363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:36:24] local.INFO: TCP Data received {"connection_id":216363,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:36:24] local.INFO: Processing buffer {"connection_id":216363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:36:24] local.INFO: Packet analysis {"connection_id":216363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:36:24] local.INFO: Extracted packet for processing {"connection_id":216363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:36: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-10-16 07:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781656832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792116148000,"timestamp_ms":1792116148000,"timestamp_seconds":1792116148,"priority":1,"record_length":96,"hex_timestamp":"000001a142724720"} 
[2026-10-16 07:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:36:24] 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-10-16 07:36: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-10-16 07:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781656832001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781656832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:36:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:36:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781656832001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":216363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:36:24] local.INFO: GPS data processed {"connection_id":216363,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:36:24] local.INFO: Acknowledgment sent {"connection_id":216363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:36:26] local.INFO: TCP Data received {"connection_id":216364,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:36:26] local.INFO: Processing buffer {"connection_id":216364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:36:26] local.INFO: IMEI packet received {"connection_id":216364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":216364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:36:26] local.INFO: TCP Data received {"connection_id":216364,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142757b70012d7e3f8005e06908000000b122..."} 
[2026-10-16 07:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142757b70012d7e3f8005e06908000000b122..."} 
[2026-10-16 07:36:26] local.INFO: Processing buffer {"connection_id":216364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142757b70012d7e3f8005e06908000000b122..."} 
[2026-10-16 07:36:26] local.INFO: Packet analysis {"connection_id":216364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14275"} 
[2026-10-16 07:36:26] local.INFO: Extracted packet for processing {"connection_id":216364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14275"} 
[2026-10-16 07:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763248512,"raw_latitude":98593032,"longitude_deg":76.3248512,"latitude_deg":9.8593032,"altitude":0,"angle":177,"satellites":34,"speed":45,"hex_longitude":"2d7e3f80","hex_latitude":"05e06908","is_valid_coordinates":true} 
[2026-10-16 07:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781786624001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145350880231686144,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096497216343396352,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:26] 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-10-16 07:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792116358000,"timestamp_ms":1792116358000,"timestamp_seconds":1792116358,"priority":1,"record_length":96,"hex_timestamp":"000001a142757b70"} 
[2026-10-16 07:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 07:36:26] 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-10-16 07:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781786624001,"66":13472,"207":206,"85":15104,"24":45,"16":145350880231686144,"45":9096497216343396352},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-16 07:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781786624001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:36:26] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-16 07:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145350880231686144,"km_value":145350880231686.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096497216343396352,"description":"Unknown IO ID 45"} 
[2026-10-16 07:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781786624001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9096497216343396352}} 
[2026-10-16 07:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":216364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:36:26] local.INFO: GPS data processed {"connection_id":216364,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:36:26] local.INFO: Acknowledgment sent {"connection_id":216364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:36:56] local.INFO: TCP Data received {"connection_id":216363,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:36:56] local.INFO: Processing buffer {"connection_id":216363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:36:56] local.INFO: Packet analysis {"connection_id":216363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:36:56] local.INFO: Extracted packet for processing {"connection_id":216363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781656832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792116148000,"timestamp_ms":1792116148000,"timestamp_seconds":1792116148,"priority":1,"record_length":96,"hex_timestamp":"000001a142724720"} 
[2026-10-16 07:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:36:56] 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-10-16 07:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781656832001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781656832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:36:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:36:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781656832001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":216363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:36:56] local.INFO: GPS data processed {"connection_id":216363,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:36:56] local.INFO: Acknowledgment sent {"connection_id":216363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:36:57] local.INFO: TCP Data received {"connection_id":216364,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142759ab0012d7e430005e04450000000a824..."} 
[2026-10-16 07:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142759ab0012d7e430005e04450000000a824..."} 
[2026-10-16 07:36:57] local.INFO: Processing buffer {"connection_id":216364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142759ab0012d7e430005e04450000000a824..."} 
[2026-10-16 07:36:57] local.INFO: Packet analysis {"connection_id":216364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14275"} 
[2026-10-16 07:36:57] local.INFO: Extracted packet for processing {"connection_id":216364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14275"} 
[2026-10-16 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763249408,"raw_latitude":98583632,"longitude_deg":76.3249408,"latitude_deg":9.8583632,"altitude":0,"angle":168,"satellites":36,"speed":46,"hex_longitude":"2d7e4300","hex_latitude":"05e04450","is_valid_coordinates":true} 
[2026-10-16 07:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781787648001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145351339793186816,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097130535039862784,"note":"Value kept but may cause issues"} 
[2026-10-16 07:36:57] 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-10-16 07:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792116366000,"timestamp_ms":1792116366000,"timestamp_seconds":1792116366,"priority":1,"record_length":96,"hex_timestamp":"000001a142759ab0"} 
[2026-10-16 07:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-16 07:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781787648001,"66":13363,"207":206,"85":15104,"24":46,"16":145351339793186816,"45":9097130535039862784},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-16 07:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781787648001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:36:57] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-16 07:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145351339793186816,"km_value":145351339793186.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097130535039862784,"description":"Unknown IO ID 45"} 
[2026-10-16 07:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781787648001,"power":13363,"unknown_207":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9097130535039862784}} 
[2026-10-16 07:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":216364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:36:57] local.INFO: GPS data processed {"connection_id":216364,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:36:57] local.INFO: Acknowledgment sent {"connection_id":216364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:37:21] local.INFO: TCP Data received {"connection_id":219633,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:37:21] local.INFO: Processing buffer {"connection_id":219633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:37:21] local.INFO: IMEI packet received {"connection_id":219633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":219633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:37:21] local.INFO: TCP Data received {"connection_id":219632,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:37:21] local.INFO: Processing buffer {"connection_id":219632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:37:21] local.INFO: IMEI packet received {"connection_id":219632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":219632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:37:22] local.INFO: TCP Data received {"connection_id":219634,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:37:22] local.INFO: Processing buffer {"connection_id":219634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:37:22] local.INFO: IMEI packet received {"connection_id":219634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":219634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:37:26] local.INFO: TCP Data received {"connection_id":219633,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:37:26] local.INFO: Processing buffer {"connection_id":219633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:37:26] local.INFO: IMEI packet received {"connection_id":219633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":219633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:37:26] local.INFO: TCP Data received {"connection_id":219634,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:37:26] local.INFO: Processing buffer {"connection_id":219634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:37:26] local.INFO: IMEI packet received {"connection_id":219634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":219634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:37:26] local.INFO: TCP Data received {"connection_id":219633,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14275a668012d7e474005e037280000009d25..."} 
[2026-10-16 07:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14275a668012d7e474005e037280000009d25..."} 
[2026-10-16 07:37:26] local.INFO: Processing buffer {"connection_id":219633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14275a668012d7e474005e037280000009d25..."} 
[2026-10-16 07:37:26] local.INFO: Packet analysis {"connection_id":219633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14275"} 
[2026-10-16 07:37:26] local.INFO: Extracted packet for processing {"connection_id":219633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14275"} 
[2026-10-16 07:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763250496,"raw_latitude":98580264,"longitude_deg":76.3250496,"latitude_deg":9.8580264,"altitude":0,"angle":157,"satellites":37,"speed":44,"hex_longitude":"2d7e4740","hex_latitude":"05e03728","is_valid_coordinates":true} 
[2026-10-16 07:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781789696001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145351511591878656,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098115697455943680,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:26] 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-10-16 07:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792116369000,"timestamp_ms":1792116369000,"timestamp_seconds":1792116369,"priority":1,"record_length":96,"hex_timestamp":"000001a14275a668"} 
[2026-10-16 07:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-16 07:37:26] 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-10-16 07:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781789696001,"66":14135,"207":206,"85":15104,"24":44,"16":145351511591878656,"45":9098115697455943680},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-16 07:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781789696001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:37:26] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-16 07:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145351511591878656,"km_value":145351511591878.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098115697455943680,"description":"Unknown IO ID 45"} 
[2026-10-16 07:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781789696001,"power":14135,"unknown_207":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9098115697455943680}} 
[2026-10-16 07:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":219633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:37:26] local.INFO: GPS data processed {"connection_id":219633,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:37:26] local.INFO: Acknowledgment sent {"connection_id":219633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:37:27] local.INFO: TCP Data received {"connection_id":219634,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:37:27] local.INFO: Processing buffer {"connection_id":219634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:37:27] local.INFO: Packet analysis {"connection_id":219634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:37:27] local.INFO: Extracted packet for processing {"connection_id":219634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781656832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792116148000,"timestamp_ms":1792116148000,"timestamp_seconds":1792116148,"priority":1,"record_length":96,"hex_timestamp":"000001a142724720"} 
[2026-10-16 07:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:37:27] 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-10-16 07:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781656832001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781656832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:37:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:37:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781656832001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":219634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:37:27] local.INFO: GPS data processed {"connection_id":219634,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:37:27] local.INFO: Acknowledgment sent {"connection_id":219634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:37:32] local.INFO: TCP Data received {"connection_id":219634,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:37:32] local.INFO: Processing buffer {"connection_id":219634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142724720012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:37:32] local.INFO: Packet analysis {"connection_id":219634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:37:32] local.INFO: Extracted packet for processing {"connection_id":219634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14272"} 
[2026-10-16 07:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781656832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792116148000,"timestamp_ms":1792116148000,"timestamp_seconds":1792116148,"priority":1,"record_length":96,"hex_timestamp":"000001a142724720"} 
[2026-10-16 07:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781656832001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781656832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:37:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:37:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781656832001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":219634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:37:32] local.INFO: GPS data processed {"connection_id":219634,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:37:32] local.INFO: Acknowledgment sent {"connection_id":219634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:37:56] local.INFO: TCP Data received {"connection_id":217892,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:37:56] local.INFO: Processing buffer {"connection_id":217892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:37:56] local.INFO: IMEI packet received {"connection_id":217892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":217892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:37:57] local.INFO: TCP Data received {"connection_id":219633,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14275c5a8012d7e53c005e016900000009e25..."} 
[2026-10-16 07:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14275c5a8012d7e53c005e016900000009e25..."} 
[2026-10-16 07:37:57] local.INFO: Processing buffer {"connection_id":219633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14275c5a8012d7e53c005e016900000009e25..."} 
[2026-10-16 07:37:57] local.INFO: Packet analysis {"connection_id":219633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14275"} 
[2026-10-16 07:37:57] local.INFO: Extracted packet for processing {"connection_id":219633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14275"} 
[2026-10-16 07:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763253696,"raw_latitude":98571920,"longitude_deg":76.3253696,"latitude_deg":9.857192,"altitude":0,"angle":158,"satellites":37,"speed":45,"hex_longitude":"2d7e53c0","hex_latitude":"05e01690","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781790464001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145351941088608256,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099311966106101760,"note":"Value kept but may cause issues"} 
[2026-10-16 07:37:57] 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-10-16 07:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792116377000,"timestamp_ms":1792116377000,"timestamp_seconds":1792116377,"priority":1,"record_length":96,"hex_timestamp":"000001a14275c5a8"} 
[2026-10-16 07:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-16 07:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781790464001,"66":14189,"207":206,"85":15104,"24":45,"16":145351941088608256,"45":9099311966106101760},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-10-16 07:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781790464001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:37:57] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-16 07:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145351941088608256,"km_value":145351941088608.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099311966106101760,"description":"Unknown IO ID 45"} 
[2026-10-16 07:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781790464001,"power":14189,"unknown_207":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9099311966106101760}} 
[2026-10-16 07:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":219633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:37:57] local.INFO: GPS data processed {"connection_id":219633,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:37:57] local.INFO: Acknowledgment sent {"connection_id":219633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:38:16] local.INFO: TCP Data received {"connection_id":219635,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:38:16] local.INFO: Processing buffer {"connection_id":219635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:38:16] local.INFO: IMEI packet received {"connection_id":219635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":219635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:38:21] local.INFO: TCP Data received {"connection_id":219636,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:38:21] local.INFO: Processing buffer {"connection_id":219636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:38:21] local.INFO: IMEI packet received {"connection_id":219636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":219636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:38:22] local.INFO: TCP Data received {"connection_id":219635,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:38:22] local.INFO: Processing buffer {"connection_id":219635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:38:22] local.INFO: IMEI packet received {"connection_id":219635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":219635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:38:23] local.INFO: TCP Data received {"connection_id":219636,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:38:23] local.INFO: Processing buffer {"connection_id":219636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:38:23] local.INFO: IMEI packet received {"connection_id":219636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":219636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:38:24] local.INFO: TCP Data received {"connection_id":219635,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:38:24] local.INFO: Processing buffer {"connection_id":219635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:38:24] local.INFO: Packet analysis {"connection_id":219635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:38:24] local.INFO: Extracted packet for processing {"connection_id":219635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781733888001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792116449000,"timestamp_ms":1792116449000,"timestamp_seconds":1792116449,"priority":1,"record_length":96,"hex_timestamp":"000001a14276dee8"} 
[2026-10-16 07:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:38:24] 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-10-16 07: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-10-16 07:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781733888001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781733888001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:38:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:38:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781733888001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":219635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:38:24] local.INFO: GPS data processed {"connection_id":219635,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:38:24] local.INFO: Acknowledgment sent {"connection_id":219635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:38:26] local.INFO: TCP Data received {"connection_id":219636,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:38:26] local.INFO: Processing buffer {"connection_id":219636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:38:26] local.INFO: IMEI packet received {"connection_id":219636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":219636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:38:27] local.INFO: TCP Data received {"connection_id":219636,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142772920012d7ecf0005dedd78000400aa23..."} 
[2026-10-16 07:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142772920012d7ecf0005dedd78000400aa23..."} 
[2026-10-16 07:38:27] local.INFO: Processing buffer {"connection_id":219636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142772920012d7ecf0005dedd78000400aa23..."} 
[2026-10-16 07:38:27] local.INFO: Packet analysis {"connection_id":219636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14277"} 
[2026-10-16 07:38:27] local.INFO: Extracted packet for processing {"connection_id":219636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14277"} 
[2026-10-16 07:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763285248,"raw_latitude":98491768,"longitude_deg":76.3285248,"latitude_deg":9.8491768,"altitude":4,"angle":170,"satellites":35,"speed":39,"hex_longitude":"2d7ecf00","hex_latitude":"05dedd78","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781814784001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145356158746492928,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136325925521885184,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:27] 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-10-16 07:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792116468000,"timestamp_ms":1792116468000,"timestamp_seconds":1792116468,"priority":1,"record_length":96,"hex_timestamp":"000001a142772920"} 
[2026-10-16 07:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:38: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-10-16 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 07:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781814784001,"66":13341,"206":206,"85":15104,"24":39,"16":145356158746492928,"45":9136325925521885184},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-10-16 07:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781814784001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:38:27] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-10-16 07:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145356158746492928,"km_value":145356158746492.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136325925521885184,"description":"Unknown IO ID 45"} 
[2026-10-16 07:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781814784001,"power":13341,"unknown_206":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9136325925521885184}} 
[2026-10-16 07:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":219636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:38:27] local.INFO: GPS data processed {"connection_id":219636,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:38:27] local.INFO: Acknowledgment sent {"connection_id":219636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:38:56] local.INFO: TCP Data received {"connection_id":219635,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:38:56] local.INFO: Processing buffer {"connection_id":219635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:38:56] local.INFO: Packet analysis {"connection_id":219635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:38:56] local.INFO: Extracted packet for processing {"connection_id":219635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781733888001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792116449000,"timestamp_ms":1792116449000,"timestamp_seconds":1792116449,"priority":1,"record_length":96,"hex_timestamp":"000001a14276dee8"} 
[2026-10-16 07:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:38:56] 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-10-16 07:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781733888001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781733888001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:38:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:38:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781733888001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":219635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:38:56] local.INFO: GPS data processed {"connection_id":219635,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:38:56] local.INFO: Acknowledgment sent {"connection_id":219635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:38:58] local.INFO: TCP Data received {"connection_id":219636,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142774c48012d7ed18005deb8a8000400b024..."} 
[2026-10-16 07:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142774c48012d7ed18005deb8a8000400b024..."} 
[2026-10-16 07:38:58] local.INFO: Processing buffer {"connection_id":219636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142774c48012d7ed18005deb8a8000400b024..."} 
[2026-10-16 07:38:58] local.INFO: Packet analysis {"connection_id":219636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14277"} 
[2026-10-16 07:38:58] local.INFO: Extracted packet for processing {"connection_id":219636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14277"} 
[2026-10-16 07:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763285888,"raw_latitude":98482344,"longitude_deg":76.3285888,"latitude_deg":9.8482344,"altitude":4,"angle":176,"satellites":36,"speed":41,"hex_longitude":"2d7ed180","hex_latitude":"05deb8a8","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781815808001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145356614013026304,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137522194171918336,"note":"Value kept but may cause issues"} 
[2026-10-16 07:38:58] 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-10-16 07:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792116477000,"timestamp_ms":1792116477000,"timestamp_seconds":1792116477,"priority":1,"record_length":96,"hex_timestamp":"000001a142774c48"} 
[2026-10-16 07:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-16 07:38:58] 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-10-16 07: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-10-16 07:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781815808001,"66":13820,"206":206,"85":15104,"24":41,"16":145356614013026304,"45":9137522194171918336},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-10-16 07:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781815808001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:38:58] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-10-16 07:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145356614013026304,"km_value":145356614013026.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137522194171918336,"description":"Unknown IO ID 45"} 
[2026-10-16 07:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781815808001,"power":13820,"unknown_206":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9137522194171918336}} 
[2026-10-16 07:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":219636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:38:58] local.INFO: GPS data processed {"connection_id":219636,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:38:58] local.INFO: Acknowledgment sent {"connection_id":219636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:39:21] local.INFO: TCP Data received {"connection_id":216365,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:21] local.INFO: Processing buffer {"connection_id":216365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:21] local.INFO: IMEI packet received {"connection_id":216365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:39:21] local.INFO: TCP Data received {"connection_id":216365,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:21] local.INFO: Processing buffer {"connection_id":216365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:21] local.INFO: IMEI packet received {"connection_id":216365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:39:24] local.INFO: TCP Data received {"connection_id":216365,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:24] local.INFO: Processing buffer {"connection_id":216365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:24] local.INFO: IMEI packet received {"connection_id":216365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":216365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:39:26] local.INFO: TCP Data received {"connection_id":216365,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:26] local.INFO: Processing buffer {"connection_id":216365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:39:26] local.INFO: IMEI packet received {"connection_id":216365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":216365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:39:26] local.INFO: TCP Data received {"connection_id":216365,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427763b8012d7ed60005dea108000300a523..."} 
[2026-10-16 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427763b8012d7ed60005dea108000300a523..."} 
[2026-10-16 07:39:26] local.INFO: Processing buffer {"connection_id":216365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427763b8012d7ed60005dea108000300a523..."} 
[2026-10-16 07:39:26] local.INFO: Packet analysis {"connection_id":216365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14277"} 
[2026-10-16 07:39:26] local.INFO: Extracted packet for processing {"connection_id":216365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14277"} 
[2026-10-16 07:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763287040,"raw_latitude":98476296,"longitude_deg":76.328704,"latitude_deg":9.8476296,"altitude":3,"angle":165,"satellites":35,"speed":37,"hex_longitude":"2d7ed600","hex_latitude":"05dea108","is_valid_coordinates":true} 
[2026-10-16 07:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781818112001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145356914660737024,"note":"Value kept but may cause issues"} 
[2026-10-16 07:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138225881611282432,"note":"Value kept but may cause issues"} 
[2026-10-16 07:39:26] 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-10-16 07:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792116483000,"timestamp_ms":1792116483000,"timestamp_seconds":1792116483,"priority":1,"record_length":96,"hex_timestamp":"000001a1427763b8"} 
[2026-10-16 07:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 07:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781818112001,"66":13559,"206":206,"85":15104,"24":37,"16":145356914660737024,"45":9138225881611282432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-10-16 07:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781818112001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:39:26] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-10-16 07:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145356914660737024,"km_value":145356914660737.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138225881611282432,"description":"Unknown IO ID 45"} 
[2026-10-16 07:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781818112001,"power":13559,"unknown_206":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9138225881611282432}} 
[2026-10-16 07:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":216365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:39:26] local.INFO: GPS data processed {"connection_id":216365,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:39:26] local.INFO: Acknowledgment sent {"connection_id":216365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:39:27] local.INFO: TCP Data received {"connection_id":217894,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:39:27] local.INFO: Processing buffer {"connection_id":217894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:39:27] local.INFO: IMEI packet received {"connection_id":217894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":217894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:39:32] local.INFO: TCP Data received {"connection_id":217894,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:39:32] local.INFO: Processing buffer {"connection_id":217894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:39:32] local.INFO: IMEI packet received {"connection_id":217894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":217894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:39:35] local.INFO: TCP Data received {"connection_id":217894,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:39:35] local.INFO: Processing buffer {"connection_id":217894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:39:35] local.INFO: Packet analysis {"connection_id":217894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:39:35] local.INFO: Extracted packet for processing {"connection_id":217894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781733888001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792116449000,"timestamp_ms":1792116449000,"timestamp_seconds":1792116449,"priority":1,"record_length":96,"hex_timestamp":"000001a14276dee8"} 
[2026-10-16 07:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":217894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":217894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":217894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781733888001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781733888001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:39:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:39:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781733888001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":217894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:39:35] local.INFO: GPS data processed {"connection_id":217894,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:39:35] local.INFO: Acknowledgment sent {"connection_id":217894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:40:00] local.INFO: TCP Data received {"connection_id":216365,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427901c8012d7f560005dd19b80000009824..."} 
[2026-10-16 07:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427901c8012d7f560005dd19b80000009824..."} 
[2026-10-16 07:40:00] local.INFO: Processing buffer {"connection_id":216365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427901c8012d7f560005dd19b80000009824..."} 
[2026-10-16 07:40:00] local.INFO: Packet analysis {"connection_id":216365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14279"} 
[2026-10-16 07:40:00] local.INFO: Extracted packet for processing {"connection_id":216365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14279"} 
[2026-10-16 07:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763319808,"raw_latitude":98376120,"longitude_deg":76.3319808,"latitude_deg":9.837612,"altitude":0,"angle":152,"satellites":36,"speed":44,"hex_longitude":"2d7f5600","hex_latitude":"05dd19b8","is_valid_coordinates":true} 
[2026-10-16 07:40: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-10-16 07:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781845504001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145362068621492224,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173621359906873344,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792116589000,"timestamp_ms":1792116589000,"timestamp_seconds":1792116589,"priority":1,"record_length":96,"hex_timestamp":"000001a1427901c8"} 
[2026-10-16 07:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-16 07:40:00] 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-10-16 07:40: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-10-16 07:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781845504001,"66":13917,"205":206,"85":15104,"24":44,"16":145362068621492224,"45":9173621359906873344},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-10-16 07:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781845504001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145362068621492224,"km_value":145362068621492.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173621359906873344,"description":"Unknown IO ID 45"} 
[2026-10-16 07:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781845504001,"power":13917,"cell_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9173621359906873344}} 
[2026-10-16 07:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":216365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:40:00] local.INFO: GPS data processed {"connection_id":216365,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:40:00] local.INFO: Acknowledgment sent {"connection_id":216365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:40:16] local.INFO: TCP Data received {"connection_id":216366,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:40:16] local.INFO: Processing buffer {"connection_id":216366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:40:16] local.INFO: IMEI packet received {"connection_id":216366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":216366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:40:22] local.INFO: TCP Data received {"connection_id":216366,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:40:22] local.INFO: Processing buffer {"connection_id":216366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:40:22] local.INFO: IMEI packet received {"connection_id":216366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":216366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:40:23] local.INFO: TCP Data received {"connection_id":216366,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:40:23] local.INFO: Processing buffer {"connection_id":216366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:40:23] local.INFO: Packet analysis {"connection_id":216366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:40:23] local.INFO: Extracted packet for processing {"connection_id":216366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781733888001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792116449000,"timestamp_ms":1792116449000,"timestamp_seconds":1792116449,"priority":1,"record_length":96,"hex_timestamp":"000001a14276dee8"} 
[2026-10-16 07:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:40:23] 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-10-16 07: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-10-16 07:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781733888001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781733888001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:40:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:40:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781733888001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":216366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:40:23] local.INFO: GPS data processed {"connection_id":216366,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:40:23] local.INFO: Acknowledgment sent {"connection_id":216366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:40:26] local.INFO: TCP Data received {"connection_id":216367,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:40:26] local.INFO: Processing buffer {"connection_id":216367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:40:26] local.INFO: IMEI packet received {"connection_id":216367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":216367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:40:31] local.INFO: TCP Data received {"connection_id":216367,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:40:31] local.INFO: Processing buffer {"connection_id":216367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:40:31] local.INFO: IMEI packet received {"connection_id":216367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":216367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:40:32] local.INFO: TCP Data received {"connection_id":216367,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142791550012d7f61c005dd09080000008c24..."} 
[2026-10-16 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142791550012d7f61c005dd09080000008c24..."} 
[2026-10-16 07:40:32] local.INFO: Processing buffer {"connection_id":216367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142791550012d7f61c005dd09080000008c24..."} 
[2026-10-16 07:40:32] local.INFO: Packet analysis {"connection_id":216367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14279"} 
[2026-10-16 07:40:32] local.INFO: Extracted packet for processing {"connection_id":216367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14279"} 
[2026-10-16 07:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763322816,"raw_latitude":98371848,"longitude_deg":76.3322816,"latitude_deg":9.8371848,"altitude":0,"angle":140,"satellites":36,"speed":30,"hex_longitude":"2d7f61c0","hex_latitude":"05dd0908","is_valid_coordinates":true} 
[2026-10-16 07:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781846784001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145362322024562688,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175521315998251008,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792116594000,"timestamp_ms":1792116594000,"timestamp_seconds":1792116594,"priority":1,"record_length":96,"hex_timestamp":"000001a142791550"} 
[2026-10-16 07:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-16 07:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781846784001,"66":12982,"205":206,"85":15104,"24":30,"16":145362322024562688,"45":9175521315998251008},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-10-16 07:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781846784001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145362322024562688,"km_value":145362322024562.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175521315998251008,"description":"Unknown IO ID 45"} 
[2026-10-16 07:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781846784001,"power":12982,"cell_id":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9175521315998251008}} 
[2026-10-16 07:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":216367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:40:32] local.INFO: GPS data processed {"connection_id":216367,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:40:32] local.INFO: Acknowledgment sent {"connection_id":216367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:40:39] local.INFO: TCP Data received {"connection_id":216367,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142792108012d7f650005dd05b80000007d23..."} 
[2026-10-16 07:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142792108012d7f650005dd05b80000007d23..."} 
[2026-10-16 07:40:39] local.INFO: Processing buffer {"connection_id":216367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142792108012d7f650005dd05b80000007d23..."} 
[2026-10-16 07:40:39] local.INFO: Packet analysis {"connection_id":216367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14279"} 
[2026-10-16 07:40:39] local.INFO: Extracted packet for processing {"connection_id":216367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14279"} 
[2026-10-16 07:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763323648,"raw_latitude":98371000,"longitude_deg":76.3323648,"latitude_deg":9.8371,"altitude":0,"angle":125,"satellites":35,"speed":10,"hex_longitude":"2d7f6500","hex_latitude":"05dd05b8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 07:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781848064001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145362377859137536,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178828646973507584,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792116597000,"timestamp_ms":1792116597000,"timestamp_seconds":1792116597,"priority":1,"record_length":96,"hex_timestamp":"000001a142792108"} 
[2026-10-16 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-10-16 07:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-16 07:40:39] 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-10-16 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-10-16 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-10-16 07:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781848064001,"66":13102,"205":206,"85":15104,"24":10,"16":145362377859137536,"45":9178828646973507584},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-10-16 07:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781848064001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145362377859137536,"km_value":145362377859137.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178828646973507584,"description":"Unknown IO ID 45"} 
[2026-10-16 07:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781848064001,"power":13102,"cell_id":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9178828646973507584}} 
[2026-10-16 07:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":216367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:40:39] local.INFO: GPS data processed {"connection_id":216367,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:40:39] local.INFO: Acknowledgment sent {"connection_id":216367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:40:55] local.INFO: TCP Data received {"connection_id":216366,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:40:55] local.INFO: Processing buffer {"connection_id":216366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:40:55] local.INFO: Packet analysis {"connection_id":216366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:40:55] local.INFO: Extracted packet for processing {"connection_id":216366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781733888001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792116449000,"timestamp_ms":1792116449000,"timestamp_seconds":1792116449,"priority":1,"record_length":96,"hex_timestamp":"000001a14276dee8"} 
[2026-10-16 07:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:40:55] 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-10-16 07:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781733888001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781733888001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:40:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:40:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781733888001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":216366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:40:55] local.INFO: GPS data processed {"connection_id":216366,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:40:55] local.INFO: Acknowledgment sent {"connection_id":216366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:41:21] local.INFO: TCP Data received {"connection_id":219637,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:41:21] local.INFO: Processing buffer {"connection_id":219637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:41:21] local.INFO: IMEI packet received {"connection_id":219637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":219637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:41:22] local.INFO: TCP Data received {"connection_id":219637,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:41:22] local.INFO: Processing buffer {"connection_id":219637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:41:22] local.INFO: IMEI packet received {"connection_id":219637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":219637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:41:22] local.INFO: TCP Data received {"connection_id":216368,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:41:22] local.INFO: Processing buffer {"connection_id":216368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:41:22] local.INFO: IMEI packet received {"connection_id":216368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":216368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:41:26] local.INFO: TCP Data received {"connection_id":216368,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:41:26] local.INFO: Processing buffer {"connection_id":216368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:41:26] local.INFO: IMEI packet received {"connection_id":216368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":216368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:41:27] local.INFO: TCP Data received {"connection_id":216368,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:41:27] local.INFO: Processing buffer {"connection_id":216368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:41:27] local.INFO: Packet analysis {"connection_id":216368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:41:27] local.INFO: Extracted packet for processing {"connection_id":216368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781733888001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792116449000,"timestamp_ms":1792116449000,"timestamp_seconds":1792116449,"priority":1,"record_length":96,"hex_timestamp":"000001a14276dee8"} 
[2026-10-16 07:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:41:27] 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-10-16 07:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781733888001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781733888001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:41:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:41:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781733888001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":216368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:41:27] local.INFO: GPS data processed {"connection_id":216368,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:41:27] local.INFO: Acknowledgment sent {"connection_id":216368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:41:30] local.INFO: TCP Data received {"connection_id":219637,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142796f28012d7f668005dd05300002007726..."} 
[2026-10-16 07:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142796f28012d7f668005dd05300002007726..."} 
[2026-10-16 07:41:30] local.INFO: Processing buffer {"connection_id":219637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142796f28012d7f668005dd05300002007726..."} 
[2026-10-16 07:41:30] local.INFO: Packet analysis {"connection_id":219637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14279"} 
[2026-10-16 07:41:30] local.INFO: Extracted packet for processing {"connection_id":219637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14279"} 
[2026-10-16 07:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763324032,"raw_latitude":98370864,"longitude_deg":76.3324032,"latitude_deg":9.8370864,"altitude":2,"angle":119,"satellites":38,"speed":0,"hex_longitude":"2d7f6680","hex_latitude":"05dd0530","is_valid_coordinates":true} 
[2026-10-16 07:41: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-10-16 07:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781848832001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145362403628941312,"note":"Value kept but may cause issues"} 
[2026-10-16 07:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179743440647600128,"note":"Value kept but may cause issues"} 
[2026-10-16 07:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792116617000,"timestamp_ms":1792116617000,"timestamp_seconds":1792116617,"priority":1,"record_length":96,"hex_timestamp":"000001a142796f28"} 
[2026-10-16 07:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 07:41:30] 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-10-16 07:41: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-10-16 07:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781848832001,"66":13363,"111":206,"85":15104,"24":0,"16":145362403628941312,"45":9179743440647600128},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-10-16 07:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781848832001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:41:30] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 07:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145362403628941312,"km_value":145362403628941.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179743440647600128,"description":"Unknown IO ID 45"} 
[2026-10-16 07:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781848832001,"power":13363,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9179743440647600128}} 
[2026-10-16 07:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":219637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:41:30] local.INFO: GPS data processed {"connection_id":219637,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:41:30] local.INFO: Acknowledgment sent {"connection_id":219637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:41:33] local.INFO: TCP Data received {"connection_id":216368,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:41:33] local.INFO: Processing buffer {"connection_id":216368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:41:33] local.INFO: Packet analysis {"connection_id":216368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:41:33] local.INFO: Extracted packet for processing {"connection_id":216368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781733888001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792116449000,"timestamp_ms":1792116449000,"timestamp_seconds":1792116449,"priority":1,"record_length":96,"hex_timestamp":"000001a14276dee8"} 
[2026-10-16 07:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:41:33] 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-10-16 07:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781733888001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781733888001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:41:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:41:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781733888001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":216368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:41:33] local.INFO: GPS data processed {"connection_id":216368,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:41:33] local.INFO: Acknowledgment sent {"connection_id":216368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:42:01] local.INFO: TCP Data received {"connection_id":219637,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14279c130012d7f668005dd05300002007727..."} 
[2026-10-16 07:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14279c130012d7f668005dd05300002007727..."} 
[2026-10-16 07:42:01] local.INFO: Processing buffer {"connection_id":219637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14279c130012d7f668005dd05300002007727..."} 
[2026-10-16 07:42:01] local.INFO: Packet analysis {"connection_id":219637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14279"} 
[2026-10-16 07:42:01] local.INFO: Extracted packet for processing {"connection_id":219637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14279"} 
[2026-10-16 07:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763324032,"raw_latitude":98370864,"longitude_deg":76.3324032,"latitude_deg":9.8370864,"altitude":2,"angle":119,"satellites":39,"speed":0,"hex_longitude":"2d7f6680","hex_latitude":"05dd0530","is_valid_coordinates":true} 
[2026-10-16 07:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781853952001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145362403628941312,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180165653112631296,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792116638000,"timestamp_ms":1792116638000,"timestamp_seconds":1792116638,"priority":1,"record_length":96,"hex_timestamp":"000001a14279c130"} 
[2026-10-16 07:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-16 07:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781853952001,"66":13559,"111":206,"85":15104,"24":0,"16":145362403628941312,"45":9180165653112631296},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-10-16 07:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781853952001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:42:01] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 07:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145362403628941312,"km_value":145362403628941.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180165653112631296,"description":"Unknown IO ID 45"} 
[2026-10-16 07:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781853952001,"power":13559,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9180165653112631296}} 
[2026-10-16 07:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":219637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:42:01] local.INFO: GPS data processed {"connection_id":219637,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:42:01] local.INFO: Acknowledgment sent {"connection_id":219637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:42:16] local.INFO: TCP Data received {"connection_id":217895,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:42:16] local.INFO: Processing buffer {"connection_id":217895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:42:16] local.INFO: IMEI packet received {"connection_id":217895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":217895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:42:21] local.INFO: TCP Data received {"connection_id":216550,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:42:21] local.INFO: Processing buffer {"connection_id":216550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:42:21] local.INFO: IMEI packet received {"connection_id":216550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":216550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:42:22] local.INFO: TCP Data received {"connection_id":217895,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:42:22] local.INFO: Processing buffer {"connection_id":217895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:42:22] local.INFO: IMEI packet received {"connection_id":217895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":217895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:42:23] local.INFO: TCP Data received {"connection_id":217895,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:42:23] local.INFO: Processing buffer {"connection_id":217895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:42:23] local.INFO: Packet analysis {"connection_id":217895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:42:23] local.INFO: Extracted packet for processing {"connection_id":217895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:42:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781733888001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792116449000,"timestamp_ms":1792116449000,"timestamp_seconds":1792116449,"priority":1,"record_length":96,"hex_timestamp":"000001a14276dee8"} 
[2026-10-16 07:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:42:23] 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-10-16 07:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781733888001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781733888001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:42:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:42:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781733888001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":217895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:42:23] local.INFO: GPS data processed {"connection_id":217895,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:42:23] local.INFO: Acknowledgment sent {"connection_id":217895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:42:25] local.INFO: TCP Data received {"connection_id":216550,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:42:25] local.INFO: Processing buffer {"connection_id":216550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:42:25] local.INFO: IMEI packet received {"connection_id":216550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":216550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:42:29] local.INFO: TCP Data received {"connection_id":216550,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427a1338012d7f668005dd05300002007727..."} 
[2026-10-16 07:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427a1338012d7f668005dd05300002007727..."} 
[2026-10-16 07:42:29] local.INFO: Processing buffer {"connection_id":216550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427a1338012d7f668005dd05300002007727..."} 
[2026-10-16 07:42:29] local.INFO: Packet analysis {"connection_id":216550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427a"} 
[2026-10-16 07:42:29] local.INFO: Extracted packet for processing {"connection_id":216550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427a"} 
[2026-10-16 07:42:29] local.INFO: GPS Element Parsed {"raw_longitude":763324032,"raw_latitude":98370864,"longitude_deg":76.3324032,"latitude_deg":9.8370864,"altitude":2,"angle":119,"satellites":39,"speed":0,"hex_longitude":"2d7f6680","hex_latitude":"05dd0530","is_valid_coordinates":true} 
[2026-10-16 07:42: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-10-16 07:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781859328001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145362403628941312,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180165653112631296,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792116659000,"timestamp_ms":1792116659000,"timestamp_seconds":1792116659,"priority":1,"record_length":96,"hex_timestamp":"000001a1427a1338"} 
[2026-10-16 07:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 07:42:29] 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-10-16 07:42: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-10-16 07:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781859328001,"66":13417,"111":206,"85":15104,"24":0,"16":145362403628941312,"45":9180165653112631296},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-10-16 07:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781859328001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:42:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 07:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145362403628941312,"km_value":145362403628941.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180165653112631296,"description":"Unknown IO ID 45"} 
[2026-10-16 07:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781859328001,"power":13417,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9180165653112631296}} 
[2026-10-16 07:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":216550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:42:29] local.INFO: GPS data processed {"connection_id":216550,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:42:29] local.INFO: Acknowledgment sent {"connection_id":216550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:42:55] local.INFO: TCP Data received {"connection_id":217895,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:42:55] local.INFO: Processing buffer {"connection_id":217895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14276dee8012d7f98c005afddb00000002f20..."} 
[2026-10-16 07:42:55] local.INFO: Packet analysis {"connection_id":217895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:42:55] local.INFO: Extracted packet for processing {"connection_id":217895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14276"} 
[2026-10-16 07:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781733888001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792116449000,"timestamp_ms":1792116449000,"timestamp_seconds":1792116449,"priority":1,"record_length":96,"hex_timestamp":"000001a14276dee8"} 
[2026-10-16 07:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 07:42:55] 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-10-16 07:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781733888001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781733888001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:42:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:42:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781733888001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":217895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:42:55] local.INFO: GPS data processed {"connection_id":217895,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:42:55] local.INFO: Acknowledgment sent {"connection_id":217895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:43:10] local.INFO: TCP Data received {"connection_id":216550,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427a6540012d7f668005dd05300002007729..."} 
[2026-10-16 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427a6540012d7f668005dd05300002007729..."} 
[2026-10-16 07:43:10] local.INFO: Processing buffer {"connection_id":216550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427a6540012d7f668005dd05300002007729..."} 
[2026-10-16 07:43:10] local.INFO: Packet analysis {"connection_id":216550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427a"} 
[2026-10-16 07:43:10] local.INFO: Extracted packet for processing {"connection_id":216550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427a"} 
[2026-10-16 07:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763324032,"raw_latitude":98370864,"longitude_deg":76.3324032,"latitude_deg":9.8370864,"altitude":2,"angle":119,"satellites":41,"speed":0,"hex_longitude":"2d7f6680","hex_latitude":"05dd0530","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781864704001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145362403628941312,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180165653112631296,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792116680000,"timestamp_ms":1792116680000,"timestamp_seconds":1792116680,"priority":1,"record_length":96,"hex_timestamp":"000001a1427a6540"} 
[2026-10-16 07:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-16 07:43:10] 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-10-16 07: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-10-16 07:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":216550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":216550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":216550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781864704001,"66":13276,"111":206,"85":15104,"24":0,"16":145362403628941312,"45":9180165653112631296},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-10-16 07:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781864704001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:43:10] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 07:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145362403628941312,"km_value":145362403628941.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180165653112631296,"description":"Unknown IO ID 45"} 
[2026-10-16 07:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781864704001,"power":13276,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9180165653112631296}} 
[2026-10-16 07:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":216550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:43:10] local.INFO: GPS data processed {"connection_id":216550,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:43:10] local.INFO: Acknowledgment sent {"connection_id":216550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:43:11] local.INFO: TCP Data received {"connection_id":217896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:43:11] local.INFO: Processing buffer {"connection_id":217896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:43:11] local.INFO: IMEI packet received {"connection_id":217896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":217896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:43:16] local.INFO: TCP Data received {"connection_id":216369,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:43:16] local.INFO: Processing buffer {"connection_id":216369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:43:16] local.INFO: IMEI packet received {"connection_id":216369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":216369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:43:22] local.INFO: TCP Data received {"connection_id":216369,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:43:22] local.INFO: Processing buffer {"connection_id":216369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:43:22] local.INFO: IMEI packet received {"connection_id":216369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":216369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:43:23] local.INFO: TCP Data received {"connection_id":216369,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:43:23] local.INFO: Processing buffer {"connection_id":216369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:43:23] local.INFO: Packet analysis {"connection_id":216369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:43:23] local.INFO: Extracted packet for processing {"connection_id":216369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781810944001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792116750000,"timestamp_ms":1792116750000,"timestamp_seconds":1792116750,"priority":1,"record_length":96,"hex_timestamp":"000001a1427b76b0"} 
[2026-10-16 07:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:43:23] 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-10-16 07:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781810944001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781810944001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:43:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:43:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781810944001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":216369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:43:23] local.INFO: GPS data processed {"connection_id":216369,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:43:23] local.INFO: Acknowledgment sent {"connection_id":216369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:43:34] local.INFO: TCP Data received {"connection_id":216370,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:43:34] local.INFO: Processing buffer {"connection_id":216370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:43:34] local.INFO: IMEI packet received {"connection_id":216370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":216370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:43:36] local.INFO: TCP Data received {"connection_id":216370,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:43:36] local.INFO: Processing buffer {"connection_id":216370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:43:36] local.INFO: IMEI packet received {"connection_id":216370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":216370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:43:37] local.INFO: TCP Data received {"connection_id":216370,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427c16d8012d7f81c005dcc6b0000000842a..."} 
[2026-10-16 07:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427c16d8012d7f81c005dcc6b0000000842a..."} 
[2026-10-16 07:43:37] local.INFO: Processing buffer {"connection_id":216370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427c16d8012d7f81c005dcc6b0000000842a..."} 
[2026-10-16 07:43:37] local.INFO: Packet analysis {"connection_id":216370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427c"} 
[2026-10-16 07:43:37] local.INFO: Extracted packet for processing {"connection_id":216370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427c"} 
[2026-10-16 07:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763331008,"raw_latitude":98354864,"longitude_deg":76.3331008,"latitude_deg":9.8354864,"altitude":0,"angle":132,"satellites":42,"speed":34,"hex_longitude":"2d7f81c0","hex_latitude":"05dcc6b0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781897984001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145363271212335104,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186428471340652544,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792116791000,"timestamp_ms":1792116791000,"timestamp_seconds":1792116791,"priority":1,"record_length":96,"hex_timestamp":"000001a1427c16d8"} 
[2026-10-16 07:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:43:37] 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-10-16 07: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":82,"data_length":795,"current_offset":136} 
[2026-10-16 07:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781897984001,"66":13559,"111":206,"85":15104,"24":34,"16":145363271212335104,"45":9186428471340652544},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-10-16 07:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781897984001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:43:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 07:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145363271212335104,"km_value":145363271212335.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186428471340652544,"description":"Unknown IO ID 45"} 
[2026-10-16 07:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781897984001,"power":13559,"unknown_111":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9186428471340652544}} 
[2026-10-16 07:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":216370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:43:37] local.INFO: GPS data processed {"connection_id":216370,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:43:37] local.INFO: Acknowledgment sent {"connection_id":216370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:43:42] local.INFO: TCP Data received {"connection_id":216370,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427c2290012d7f888005dcbf70000000912a..."} 
[2026-10-16 07:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427c2290012d7f888005dcbf70000000912a..."} 
[2026-10-16 07:43:42] local.INFO: Processing buffer {"connection_id":216370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427c2290012d7f888005dcbf70000000912a..."} 
[2026-10-16 07:43:42] local.INFO: Packet analysis {"connection_id":216370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427c"} 
[2026-10-16 07:43:42] local.INFO: Extracted packet for processing {"connection_id":216370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427c"} 
[2026-10-16 07:43:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":98353008,"longitude_deg":76.3332736,"latitude_deg":9.8353008,"altitude":0,"angle":145,"satellites":42,"speed":33,"hex_longitude":"2d7f8880","hex_latitude":"05dcbf70","is_valid_coordinates":true} 
[2026-10-16 07:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781898496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145363395766386688,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187835846223900672,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792116794000,"timestamp_ms":1792116794000,"timestamp_seconds":1792116794,"priority":1,"record_length":96,"hex_timestamp":"000001a1427c2290"} 
[2026-10-16 07:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:43: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-10-16 07:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 07:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":216370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":216370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":216370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781898496001,"66":13319,"111":206,"85":15104,"24":33,"16":145363395766386688,"45":9187835846223900672},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-10-16 07:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781898496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:43:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 07:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145363395766386688,"km_value":145363395766386.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187835846223900672,"description":"Unknown IO ID 45"} 
[2026-10-16 07:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781898496001,"power":13319,"unknown_111":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9187835846223900672}} 
[2026-10-16 07:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":216370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:43:42] local.INFO: GPS data processed {"connection_id":216370,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:43:42] local.INFO: Acknowledgment sent {"connection_id":216370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:43:51] local.INFO: TCP Data received {"connection_id":219639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:43:51] local.INFO: Processing buffer {"connection_id":219639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:43:51] local.INFO: IMEI packet received {"connection_id":219639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":219639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:43:55] local.INFO: TCP Data received {"connection_id":216369,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:43:55] local.INFO: Processing buffer {"connection_id":216369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:43:55] local.INFO: Packet analysis {"connection_id":216369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:43:55] local.INFO: Extracted packet for processing {"connection_id":216369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781810944001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792116750000,"timestamp_ms":1792116750000,"timestamp_seconds":1792116750,"priority":1,"record_length":96,"hex_timestamp":"000001a1427b76b0"} 
[2026-10-16 07:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:43:55] 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-10-16 07: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-10-16 07:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781810944001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781810944001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:43:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:43:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781810944001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":216369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:43:55] local.INFO: GPS data processed {"connection_id":216369,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:43:55] local.INFO: Acknowledgment sent {"connection_id":216369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:44:16] local.INFO: TCP Data received {"connection_id":216551,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:44:16] local.INFO: Processing buffer {"connection_id":216551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:44:16] local.INFO: IMEI packet received {"connection_id":216551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":216551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:44:22] local.INFO: TCP Data received {"connection_id":216551,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:44:22] local.INFO: Processing buffer {"connection_id":216551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:44:22] local.INFO: IMEI packet received {"connection_id":216551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":216551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:44:23] local.INFO: TCP Data received {"connection_id":216551,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:44:23] local.INFO: Processing buffer {"connection_id":216551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:44:23] local.INFO: Packet analysis {"connection_id":216551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:44:23] local.INFO: Extracted packet for processing {"connection_id":216551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781810944001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792116750000,"timestamp_ms":1792116750000,"timestamp_seconds":1792116750,"priority":1,"record_length":96,"hex_timestamp":"000001a1427b76b0"} 
[2026-10-16 07:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:44:23] 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-10-16 07: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-10-16 07:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781810944001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781810944001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:44:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:44:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781810944001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":216551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:44:23] local.INFO: GPS data processed {"connection_id":216551,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:44:23] local.INFO: Acknowledgment sent {"connection_id":216551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:44:26] local.INFO: TCP Data received {"connection_id":217897,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:44:26] local.INFO: Processing buffer {"connection_id":217897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:44:26] local.INFO: IMEI packet received {"connection_id":217897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":217897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:44:28] local.INFO: TCP Data received {"connection_id":217897,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:44:28] local.INFO: Processing buffer {"connection_id":217897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:44:28] local.INFO: IMEI packet received {"connection_id":217897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":217897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:44:31] local.INFO: TCP Data received {"connection_id":217897,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427c2a60012d7f8b4005dcb988000000a02a..."} 
[2026-10-16 07:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427c2a60012d7f8b4005dcb988000000a02a..."} 
[2026-10-16 07:44:31] local.INFO: Processing buffer {"connection_id":217897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427c2a60012d7f8b4005dcb988000000a02a..."} 
[2026-10-16 07:44:31] local.INFO: Packet analysis {"connection_id":217897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427c"} 
[2026-10-16 07:44:31] local.INFO: Extracted packet for processing {"connection_id":217897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427c"} 
[2026-10-16 07:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763333440,"raw_latitude":98351496,"longitude_deg":76.333344,"latitude_deg":9.8351496,"altitude":0,"angle":160,"satellites":42,"speed":32,"hex_longitude":"2d7f8b40","hex_latitude":"05dcb988","is_valid_coordinates":true} 
[2026-10-16 07:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781899264001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145363473075798016,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735802316222464,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792116796000,"timestamp_ms":1792116796000,"timestamp_seconds":1792116796,"priority":1,"record_length":96,"hex_timestamp":"000001a1427c2a60"} 
[2026-10-16 07:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3892391295,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":22528,"corrected_to":0} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":110,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":220,"raw_value":4081057792,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3707994112,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57719339654993211,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-6235232389171888123,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.WARNING: Large IO value detected {"io_id":221,"raw_value":333266372435126784,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,111,85,24,241,157,16,161,22,45,192,198,42,10,66,15,203,7,64,1,240,78,227,110,220,4,113,205,29,104,176,239,51,2,5,6,230,123,221],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":203,"original":22528,"validated":0}]} 
[2026-10-16 07:44:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":159609576816640,"timestamp_seconds":159609576816.64,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 07:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":217897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":217897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":217897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781899264001,"66":13820,"111":206,"85":15104,"24":32,"16":145363473075798016,"45":9189735802316222464},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-10-16 07:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781899264001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:44:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-10-16 07:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145363473075798016,"km_value":145363473075798.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735802316222464,"description":"Unknown IO ID 45"} 
[2026-10-16 07:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781899264001,"power":13820,"unknown_111":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9189735802316222464}} 
[2026-10-16 07:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":217897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:44:31] local.INFO: GPS data processed {"connection_id":217897,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:44:31] local.INFO: Acknowledgment sent {"connection_id":217897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:44:55] local.INFO: TCP Data received {"connection_id":216551,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:44:55] local.INFO: Processing buffer {"connection_id":216551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:44:55] local.INFO: Packet analysis {"connection_id":216551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:44:55] local.INFO: Extracted packet for processing {"connection_id":216551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781810944001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792116750000,"timestamp_ms":1792116750000,"timestamp_seconds":1792116750,"priority":1,"record_length":96,"hex_timestamp":"000001a1427b76b0"} 
[2026-10-16 07:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:44:55] 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-10-16 07: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-10-16 07:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781810944001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781810944001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:44:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:44:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781810944001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":216551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:44:55] local.INFO: GPS data processed {"connection_id":216551,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:44:55] local.INFO: Acknowledgment sent {"connection_id":216551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:45:03] local.INFO: TCP Data received {"connection_id":217897,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427d5ef8012d7fac4005dc80c00000004d2b..."} 
[2026-10-16 07:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427d5ef8012d7fac4005dc80c00000004d2b..."} 
[2026-10-16 07:45:03] local.INFO: Processing buffer {"connection_id":217897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427d5ef8012d7fac4005dc80c00000004d2b..."} 
[2026-10-16 07:45:03] local.INFO: Packet analysis {"connection_id":217897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427d"} 
[2026-10-16 07:45:03] local.INFO: Extracted packet for processing {"connection_id":217897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427d"} 
[2026-10-16 07:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":98336960,"longitude_deg":76.3341888,"latitude_deg":9.833696,"altitude":0,"angle":77,"satellites":43,"speed":28,"hex_longitude":"2d7fac40","hex_latitude":"05dc80c0","is_valid_coordinates":true} 
[2026-10-16 07:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781919488001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145364379313897472,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157845932032,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:03] 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-10-16 07:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792116875000,"timestamp_ms":1792116875000,"timestamp_seconds":1792116875,"priority":1,"record_length":96,"hex_timestamp":"000001a1427d5ef8"} 
[2026-10-16 07:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-16 07:45:03] 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-10-16 07:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781919488001,"66":13493,"53":206,"85":15104,"24":28,"16":145364379313897472,"45":9198391157845932032},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-10-16 07:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781919488001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:45:03] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-10-16 07:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145364379313897472,"km_value":145364379313897.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157845932032,"description":"Unknown IO ID 45"} 
[2026-10-16 07:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781919488001,"power":13493,"unknown_53":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9198391157845932032}} 
[2026-10-16 07:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":217897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:45:03] local.INFO: GPS data processed {"connection_id":217897,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:45:03] local.INFO: Acknowledgment sent {"connection_id":217897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:45:21] local.INFO: TCP Data received {"connection_id":216552,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:45:21] local.INFO: Processing buffer {"connection_id":216552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:45:21] local.INFO: IMEI packet received {"connection_id":216552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":216552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:45:22] local.INFO: TCP Data received {"connection_id":219641,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:45:22] local.INFO: Processing buffer {"connection_id":219641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:45:22] local.INFO: IMEI packet received {"connection_id":219641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":219641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:45:23] local.INFO: TCP Data received {"connection_id":216552,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:45:23] local.INFO: Processing buffer {"connection_id":216552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:45:23] local.INFO: IMEI packet received {"connection_id":216552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":216552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:45:25] local.INFO: TCP Data received {"connection_id":216552,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:45:25] local.INFO: Processing buffer {"connection_id":216552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:45:25] local.INFO: IMEI packet received {"connection_id":216552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":216552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:45:25] local.INFO: TCP Data received {"connection_id":216552,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427d8608012d7fd0c005dc89c80001004c27..."} 
[2026-10-16 07:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427d8608012d7fd0c005dc89c80001004c27..."} 
[2026-10-16 07:45:25] local.INFO: Processing buffer {"connection_id":216552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427d8608012d7fd0c005dc89c80001004c27..."} 
[2026-10-16 07:45:25] local.INFO: Packet analysis {"connection_id":216552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427d"} 
[2026-10-16 07:45:25] local.INFO: Extracted packet for processing {"connection_id":216552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427d"} 
[2026-10-16 07:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763351232,"raw_latitude":98339272,"longitude_deg":76.3351232,"latitude_deg":9.8339272,"altitude":1,"angle":76,"satellites":39,"speed":44,"hex_longitude":"2d7fd0c0","hex_latitude":"05dc89c8","is_valid_coordinates":true} 
[2026-10-16 07:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781920000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145364834580430848,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798532729520128,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:25] 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-10-16 07:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792116885000,"timestamp_ms":1792116885000,"timestamp_seconds":1792116885,"priority":1,"record_length":96,"hex_timestamp":"000001a1427d8608"} 
[2026-10-16 07:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-16 07:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781920000001,"66":13798,"53":206,"85":15104,"24":44,"16":145364834580430848,"45":9199798532729520128},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-10-16 07:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781920000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:45:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-10-16 07:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145364834580430848,"km_value":145364834580430.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798532729520128,"description":"Unknown IO ID 45"} 
[2026-10-16 07:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781920000001,"power":13798,"unknown_53":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9199798532729520128}} 
[2026-10-16 07:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":216552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:45:25] local.INFO: GPS data processed {"connection_id":216552,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:45:25] local.INFO: Acknowledgment sent {"connection_id":216552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:45:26] local.INFO: TCP Data received {"connection_id":216552,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427da930012d7ff60005dc91f00000004d27..."} 
[2026-10-16 07:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427da930012d7ff60005dc91f00000004d27..."} 
[2026-10-16 07:45:26] local.INFO: Processing buffer {"connection_id":216552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427da930012d7ff60005dc91f00000004d27..."} 
[2026-10-16 07:45:26] local.INFO: Packet analysis {"connection_id":216552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427d"} 
[2026-10-16 07:45:26] local.INFO: Extracted packet for processing {"connection_id":216552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427d"} 
[2026-10-16 07:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763360768,"raw_latitude":98341360,"longitude_deg":76.3360768,"latitude_deg":9.834136,"altitude":0,"angle":77,"satellites":39,"speed":39,"hex_longitude":"2d7ff600","hex_latitude":"05dc91f0","is_valid_coordinates":true} 
[2026-10-16 07:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781922560001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145365302731866112,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9210072369380050944,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:26] 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-10-16 07:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792116894000,"timestamp_ms":1792116894000,"timestamp_seconds":1792116894,"priority":1,"record_length":96,"hex_timestamp":"000001a1427da930"} 
[2026-10-16 07:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 07:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781922560001,"66":13613,"53":206,"85":15104,"24":39,"16":145365302731866112,"45":9210072369380050944},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-10-16 07:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781922560001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:45:26] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-10-16 07:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145365302731866112,"km_value":145365302731866.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9210072369380050944,"description":"Unknown IO ID 45"} 
[2026-10-16 07:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781922560001,"power":13613,"unknown_53":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9210072369380050944}} 
[2026-10-16 07:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":216552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:45:26] local.INFO: GPS data processed {"connection_id":216552,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:45:26] local.INFO: Acknowledgment sent {"connection_id":216552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:45:26] local.INFO: TCP Data received {"connection_id":219641,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:45:26] local.INFO: Processing buffer {"connection_id":219641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:45:26] local.INFO: IMEI packet received {"connection_id":219641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":219641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:45:27] local.INFO: TCP Data received {"connection_id":219641,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:45:27] local.INFO: Processing buffer {"connection_id":219641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:45:27] local.INFO: Packet analysis {"connection_id":219641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:45:27] local.INFO: Extracted packet for processing {"connection_id":219641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781810944001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792116750000,"timestamp_ms":1792116750000,"timestamp_seconds":1792116750,"priority":1,"record_length":96,"hex_timestamp":"000001a1427b76b0"} 
[2026-10-16 07:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:45:27] 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-10-16 07:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781810944001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781810944001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:45:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:45:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781810944001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":219641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:45:27] local.INFO: GPS data processed {"connection_id":219641,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:45:27] local.INFO: Acknowledgment sent {"connection_id":219641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:45:33] local.INFO: TCP Data received {"connection_id":219641,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:45:33] local.INFO: Processing buffer {"connection_id":219641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:45:33] local.INFO: Packet analysis {"connection_id":219641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:45:33] local.INFO: Extracted packet for processing {"connection_id":219641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781810944001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792116750000,"timestamp_ms":1792116750000,"timestamp_seconds":1792116750,"priority":1,"record_length":96,"hex_timestamp":"000001a1427b76b0"} 
[2026-10-16 07:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781810944001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781810944001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:45:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:45:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781810944001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":219641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:45:33] local.INFO: GPS data processed {"connection_id":219641,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:45:33] local.INFO: Acknowledgment sent {"connection_id":219641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:45:57] local.INFO: TCP Data received {"connection_id":216552,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427dcc58012d8018c005dc99900000004c28..."} 
[2026-10-16 07:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427dcc58012d8018c005dc99900000004c28..."} 
[2026-10-16 07:45:57] local.INFO: Processing buffer {"connection_id":216552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427dcc58012d8018c005dc99900000004c28..."} 
[2026-10-16 07:45:57] local.INFO: Packet analysis {"connection_id":216552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427d"} 
[2026-10-16 07:45:57] local.INFO: Extracted packet for processing {"connection_id":216552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427d"} 
[2026-10-16 07:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763369664,"raw_latitude":98343312,"longitude_deg":76.3369664,"latitude_deg":9.8343312,"altitude":0,"angle":76,"satellites":40,"speed":41,"hex_longitude":"2d8018c0","hex_latitude":"05dc9990","is_valid_coordinates":true} 
[2026-10-16 07:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781924864001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145365740818530304,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220557312263057408,"note":"Value kept but may cause issues"} 
[2026-10-16 07:45:57] 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-10-16 07:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792116903000,"timestamp_ms":1792116903000,"timestamp_seconds":1792116903,"priority":1,"record_length":96,"hex_timestamp":"000001a1427dcc58"} 
[2026-10-16 07:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-16 07:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781924864001,"66":13493,"53":206,"85":15104,"24":41,"16":145365740818530304,"45":9220557312263057408},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-10-16 07:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781924864001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:45:57] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-10-16 07:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145365740818530304,"km_value":145365740818530.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220557312263057408,"description":"Unknown IO ID 45"} 
[2026-10-16 07:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781924864001,"power":13493,"unknown_53":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9220557312263057408}} 
[2026-10-16 07:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":216552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:45:57] local.INFO: GPS data processed {"connection_id":216552,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:45:57] local.INFO: Acknowledgment sent {"connection_id":216552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:46:16] local.INFO: TCP Data received {"connection_id":216553,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:46:16] local.INFO: Processing buffer {"connection_id":216553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:46:16] local.INFO: IMEI packet received {"connection_id":216553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":216553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:46:21] local.INFO: TCP Data received {"connection_id":216372,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:46:21] local.INFO: Processing buffer {"connection_id":216372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:46:21] local.INFO: IMEI packet received {"connection_id":216372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":216372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:46:22] local.INFO: TCP Data received {"connection_id":216553,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:46:22] local.INFO: Processing buffer {"connection_id":216553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:46:22] local.INFO: IMEI packet received {"connection_id":216553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":216553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:46:23] local.INFO: TCP Data received {"connection_id":216553,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:46:23] local.INFO: Processing buffer {"connection_id":216553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:46:23] local.INFO: Packet analysis {"connection_id":216553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:46:23] local.INFO: Extracted packet for processing {"connection_id":216553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:46:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781810944001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792116750000,"timestamp_ms":1792116750000,"timestamp_seconds":1792116750,"priority":1,"record_length":96,"hex_timestamp":"000001a1427b76b0"} 
[2026-10-16 07:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:46:23] 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-10-16 07: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-10-16 07:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781810944001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781810944001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:46:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:46:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781810944001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":216553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:46:23] local.INFO: GPS data processed {"connection_id":216553,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:46:23] local.INFO: Acknowledgment sent {"connection_id":216553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:46:25] local.INFO: TCP Data received {"connection_id":216372,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:46:25] local.INFO: Processing buffer {"connection_id":216372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:46:25] local.INFO: IMEI packet received {"connection_id":216372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":216372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:46:28] local.INFO: TCP Data received {"connection_id":216372,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427ebaa0012d80978005dcad88000400362a..."} 
[2026-10-16 07:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427ebaa0012d80978005dcad88000400362a..."} 
[2026-10-16 07:46:28] local.INFO: Processing buffer {"connection_id":216372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427ebaa0012d80978005dcad88000400362a..."} 
[2026-10-16 07:46:28] local.INFO: Packet analysis {"connection_id":216372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427e"} 
[2026-10-16 07:46:28] local.INFO: Extracted packet for processing {"connection_id":216372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427e"} 
[2026-10-16 07:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763402112,"raw_latitude":98348424,"longitude_deg":76.3402112,"latitude_deg":9.8348424,"altitude":4,"angle":54,"satellites":42,"speed":12,"hex_longitude":"2d809780","hex_latitude":"05dcad88","is_valid_coordinates":true} 
[2026-10-16 07:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781939456001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145367385791004672,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184880308612931584,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:28] 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-10-16 07:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792116964000,"timestamp_ms":1792116964000,"timestamp_seconds":1792116964,"priority":1,"record_length":96,"hex_timestamp":"000001a1427ebaa0"} 
[2026-10-16 07:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 07:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781939456001,"66":13559,"251":206,"85":15104,"24":12,"16":145367385791004672,"45":-9184880308612931584},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-16 07:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781939456001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:46:28] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 07:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145367385791004672,"km_value":145367385791004.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184880308612931584,"description":"Unknown IO ID 45"} 
[2026-10-16 07:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781939456001,"power":13559,"unknown_251":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9184880308612931584}} 
[2026-10-16 07:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":216372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:46:28] local.INFO: GPS data processed {"connection_id":216372,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:46:28] local.INFO: Acknowledgment sent {"connection_id":216372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:46:55] local.INFO: TCP Data received {"connection_id":216553,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:46:55] local.INFO: Processing buffer {"connection_id":216553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:46:55] local.INFO: Packet analysis {"connection_id":216553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:46:55] local.INFO: Extracted packet for processing {"connection_id":216553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781810944001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792116750000,"timestamp_ms":1792116750000,"timestamp_seconds":1792116750,"priority":1,"record_length":96,"hex_timestamp":"000001a1427b76b0"} 
[2026-10-16 07:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:46:55] 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-10-16 07:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781810944001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781810944001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:46:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:46:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781810944001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":216553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:46:55] local.INFO: GPS data processed {"connection_id":216553,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:46:55] local.INFO: Acknowledgment sent {"connection_id":216553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:46:59] local.INFO: TCP Data received {"connection_id":216372,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427ed5f8012d809c8005dcb028000400452a..."} 
[2026-10-16 07:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427ed5f8012d809c8005dcb028000400452a..."} 
[2026-10-16 07:46:59] local.INFO: Processing buffer {"connection_id":216372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427ed5f8012d809c8005dcb028000400452a..."} 
[2026-10-16 07:46:59] local.INFO: Packet analysis {"connection_id":216372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427e"} 
[2026-10-16 07:46:59] local.INFO: Extracted packet for processing {"connection_id":216372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427e"} 
[2026-10-16 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763403392,"raw_latitude":98349096,"longitude_deg":76.3403392,"latitude_deg":9.8349096,"altitude":4,"angle":69,"satellites":42,"speed":6,"hex_longitude":"2d809c80","hex_latitude":"05dcb028","is_valid_coordinates":true} 
[2026-10-16 07:46: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-10-16 07:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781942784001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145367458805448704,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9180728552705914880,"note":"Value kept but may cause issues"} 
[2026-10-16 07:46:59] 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-10-16 07:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792116971000,"timestamp_ms":1792116971000,"timestamp_seconds":1792116971,"priority":1,"record_length":96,"hex_timestamp":"000001a1427ed5f8"} 
[2026-10-16 07:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:46: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":247,"data_length":795,"current_offset":136} 
[2026-10-16 07:46:59] 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-10-16 07:46: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-10-16 07:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781942784001,"66":13765,"251":206,"85":15104,"24":6,"16":145367458805448704,"45":-9180728552705914880},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-16 07:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781942784001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:46:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 07:46:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145367458805448704,"km_value":145367458805448.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9180728552705914880,"description":"Unknown IO ID 45"} 
[2026-10-16 07:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781942784001,"power":13765,"unknown_251":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9180728552705914880}} 
[2026-10-16 07:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":216372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:46:59] local.INFO: GPS data processed {"connection_id":216372,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:46:59] local.INFO: Acknowledgment sent {"connection_id":216372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:47:17] local.INFO: TCP Data received {"connection_id":219643,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:47:17] local.INFO: Processing buffer {"connection_id":219643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:47:17] local.INFO: IMEI packet received {"connection_id":219643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":219643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:47:21] local.INFO: TCP Data received {"connection_id":216554,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:47:21] local.INFO: Processing buffer {"connection_id":216554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:47:21] local.INFO: IMEI packet received {"connection_id":216554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":216554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:47:22] local.INFO: TCP Data received {"connection_id":219643,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:47:22] local.INFO: Processing buffer {"connection_id":219643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:47:22] local.INFO: IMEI packet received {"connection_id":219643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":219643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:47:23] local.INFO: TCP Data received {"connection_id":219643,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:47:23] local.INFO: Processing buffer {"connection_id":219643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:47:23] local.INFO: Packet analysis {"connection_id":219643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:47:23] local.INFO: Extracted packet for processing {"connection_id":219643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781810944001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792116750000,"timestamp_ms":1792116750000,"timestamp_seconds":1792116750,"priority":1,"record_length":96,"hex_timestamp":"000001a1427b76b0"} 
[2026-10-16 07:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:47:23] 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-10-16 07:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781810944001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781810944001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:47:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:47:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781810944001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":219643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:47:23] local.INFO: GPS data processed {"connection_id":219643,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:47:23] local.INFO: Acknowledgment sent {"connection_id":219643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:47:26] local.INFO: TCP Data received {"connection_id":216554,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:47:26] local.INFO: Processing buffer {"connection_id":216554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:47:26] local.INFO: IMEI packet received {"connection_id":216554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":216554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:47:27] local.INFO: TCP Data received {"connection_id":216554,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1427f04d8012d80a54005dcb440000500342a..."} 
[2026-10-16 07:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427f04d8012d80a54005dcb440000500342a..."} 
[2026-10-16 07:47:27] local.INFO: Processing buffer {"connection_id":216554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427f04d8012d80a54005dcb440000500342a..."} 
[2026-10-16 07:47:27] local.INFO: Packet analysis {"connection_id":216554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427f"} 
[2026-10-16 07:47:27] local.INFO: Extracted packet for processing {"connection_id":216554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427f"} 
[2026-10-16 07:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98350144,"longitude_deg":76.3405632,"latitude_deg":9.8350144,"altitude":5,"angle":52,"satellites":42,"speed":8,"hex_longitude":"2d80a540","hex_latitude":"05dcb440","is_valid_coordinates":true} 
[2026-10-16 07:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781944576001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145367574769565696,"note":"Value kept but may cause issues"} 
[2026-10-16 07:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179321177822189568,"note":"Value kept but may cause issues"} 
[2026-10-16 07:47:27] 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-10-16 07:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792116983000,"timestamp_ms":1792116983000,"timestamp_seconds":1792116983,"priority":1,"record_length":96,"hex_timestamp":"000001a1427f04d8"} 
[2026-10-16 07:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-10-16 07:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781944576001,"66":12743,"251":206,"85":15104,"24":8,"16":145367574769565696,"45":-9179321177822189568},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-16 07:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781944576001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:47:27] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 07:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145367574769565696,"km_value":145367574769565.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179321177822189568,"description":"Unknown IO ID 45"} 
[2026-10-16 07:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781944576001,"power":12743,"unknown_251":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9179321177822189568}} 
[2026-10-16 07:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":216554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:47:27] local.INFO: GPS data processed {"connection_id":216554,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:47:27] local.INFO: Acknowledgment sent {"connection_id":216554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:47:55] local.INFO: TCP Data received {"connection_id":219643,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:47:55] local.INFO: Processing buffer {"connection_id":219643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1427b76b0012d7f98c005afddb00000002f21..."} 
[2026-10-16 07:47:55] local.INFO: Packet analysis {"connection_id":219643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:47:55] local.INFO: Extracted packet for processing {"connection_id":219643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1427b"} 
[2026-10-16 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781810944001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792116750000,"timestamp_ms":1792116750000,"timestamp_seconds":1792116750,"priority":1,"record_length":96,"hex_timestamp":"000001a1427b76b0"} 
[2026-10-16 07:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:47:55] 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-10-16 07:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781810944001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781810944001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:47:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:47:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781810944001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":219643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:47:55] local.INFO: GPS data processed {"connection_id":219643,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:47:55] local.INFO: Acknowledgment sent {"connection_id":219643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:48:01] local.INFO: TCP Data received {"connection_id":216554,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142804cf8012d8084c005dca300000701022c..."} 
[2026-10-16 07:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142804cf8012d8084c005dca300000701022c..."} 
[2026-10-16 07:48:01] local.INFO: Processing buffer {"connection_id":216554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142804cf8012d8084c005dca300000701022c..."} 
[2026-10-16 07:48:01] local.INFO: Packet analysis {"connection_id":216554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:48:01] local.INFO: Extracted packet for processing {"connection_id":216554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763397312,"raw_latitude":98345728,"longitude_deg":76.3397312,"latitude_deg":9.8345728,"altitude":7,"angle":258,"satellites":44,"speed":5,"hex_longitude":"2d8084c0","hex_latitude":"05dca300","is_valid_coordinates":true} 
[2026-10-16 07:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145368094460608512,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179039702845530112,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:01] 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-10-16 07:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792117067000,"timestamp_ms":1792117067000,"timestamp_seconds":1792117067,"priority":1,"record_length":96,"hex_timestamp":"000001a142804cf8"} 
[2026-10-16 07:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-10-16 07:48:01] 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-10-16 07:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":13189,"251":206,"85":15104,"24":5,"16":145368094460608512,"45":-9179039702845530112},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-16 07:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:48:01] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 07:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145368094460608512,"km_value":145368094460608.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179039702845530112,"description":"Unknown IO ID 45"} 
[2026-10-16 07:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":13189,"unknown_251":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9179039702845530112}} 
[2026-10-16 07:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":216554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:48:01] local.INFO: GPS data processed {"connection_id":216554,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:48:01] local.INFO: Acknowledgment sent {"connection_id":216554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:48:17] local.INFO: TCP Data received {"connection_id":217899,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:48:17] local.INFO: Processing buffer {"connection_id":217899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:48:17] local.INFO: IMEI packet received {"connection_id":217899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":217899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:48:22] local.INFO: TCP Data received {"connection_id":217899,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:48:22] local.INFO: Processing buffer {"connection_id":217899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:48:22] local.INFO: IMEI packet received {"connection_id":217899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":217899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:48:23] local.INFO: TCP Data received {"connection_id":217899,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:48:23] local.INFO: Processing buffer {"connection_id":217899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:48:23] local.INFO: Packet analysis {"connection_id":217899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:48:23] local.INFO: Extracted packet for processing {"connection_id":217899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:48:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781888000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117051000,"timestamp_ms":1792117051000,"timestamp_seconds":1792117051,"priority":1,"record_length":96,"hex_timestamp":"000001a142800e78"} 
[2026-10-16 07:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781888000001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781888000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:48:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:48:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781888000001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":217899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:48:23] local.INFO: GPS data processed {"connection_id":217899,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:48:23] local.INFO: Acknowledgment sent {"connection_id":217899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:48:25] local.INFO: TCP Data received {"connection_id":216373,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:48:25] local.INFO: Processing buffer {"connection_id":216373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:48:25] local.INFO: IMEI packet received {"connection_id":216373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":216373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:48:26] local.INFO: TCP Data received {"connection_id":216373,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:48:26] local.INFO: Processing buffer {"connection_id":216373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:48:26] local.INFO: IMEI packet received {"connection_id":216373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":216373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:48:31] local.INFO: TCP Data received {"connection_id":216373,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:48:31] local.INFO: Processing buffer {"connection_id":216373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:48:31] local.INFO: IMEI packet received {"connection_id":216373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":216373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:48:32] local.INFO: TCP Data received {"connection_id":216373,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428054c8012d80838005dca2d8000701112b..."} 
[2026-10-16 07:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428054c8012d80838005dca2d8000701112b..."} 
[2026-10-16 07:48:32] local.INFO: Processing buffer {"connection_id":216373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428054c8012d80838005dca2d8000701112b..."} 
[2026-10-16 07:48:32] local.INFO: Packet analysis {"connection_id":216373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:48:32] local.INFO: Extracted packet for processing {"connection_id":216373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763396992,"raw_latitude":98345688,"longitude_deg":76.3396992,"latitude_deg":9.8345688,"altitude":7,"angle":273,"satellites":43,"speed":6,"hex_longitude":"2d808380","hex_latitude":"05dca2d8","is_valid_coordinates":true} 
[2026-10-16 07:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781969152001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145368107345510400,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186006208519929856,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:32] 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-10-16 07:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792117069000,"timestamp_ms":1792117069000,"timestamp_seconds":1792117069,"priority":1,"record_length":96,"hex_timestamp":"000001a1428054c8"} 
[2026-10-16 07:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-16 07:48:32] 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-10-16 07:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781969152001,"66":13276,"251":206,"85":15104,"24":6,"16":145368107345510400,"45":-9186006208519929856},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-16 07:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781969152001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:48:32] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 07:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145368107345510400,"km_value":145368107345510.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186006208519929856,"description":"Unknown IO ID 45"} 
[2026-10-16 07:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781969152001,"power":13276,"unknown_251":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9186006208519929856}} 
[2026-10-16 07:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":216373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:48:32] local.INFO: GPS data processed {"connection_id":216373,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:48:32] local.INFO: Acknowledgment sent {"connection_id":216373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:48:54] local.INFO: TCP Data received {"connection_id":217899,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:48:54] local.INFO: Processing buffer {"connection_id":217899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:48:54] local.INFO: Packet analysis {"connection_id":217899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:48:54] local.INFO: Extracted packet for processing {"connection_id":217899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781888000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792117051000,"timestamp_ms":1792117051000,"timestamp_seconds":1792117051,"priority":1,"record_length":96,"hex_timestamp":"000001a142800e78"} 
[2026-10-16 07:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781888000001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781888000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:48:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:48:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781888000001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":217899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:48:54] local.INFO: GPS data processed {"connection_id":217899,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:48:54] local.INFO: Acknowledgment sent {"connection_id":217899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:49:03] local.INFO: TCP Data received {"connection_id":216373,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142815a80012d804fc005dd0bb0000500022a..."} 
[2026-10-16 07:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142815a80012d804fc005dd0bb0000500022a..."} 
[2026-10-16 07:49:03] local.INFO: Processing buffer {"connection_id":216373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142815a80012d804fc005dd0bb0000500022a..."} 
[2026-10-16 07:49:03] local.INFO: Packet analysis {"connection_id":216373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14281"} 
[2026-10-16 07:49:03] local.INFO: Extracted packet for processing {"connection_id":216373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14281"} 
[2026-10-16 07:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763383744,"raw_latitude":98372528,"longitude_deg":76.3383744,"latitude_deg":9.8372528,"altitude":5,"angle":2,"satellites":42,"speed":22,"hex_longitude":"2d804fc0","hex_latitude":"05dd0bb0","is_valid_coordinates":true} 
[2026-10-16 07:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781986560001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145369851102232576,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201065119767230464,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:03] 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-10-16 07:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792117136000,"timestamp_ms":1792117136000,"timestamp_seconds":1792117136,"priority":1,"record_length":96,"hex_timestamp":"000001a142815a80"} 
[2026-10-16 07:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-16 07:49:03] 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-10-16 07:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781986560001,"66":13276,"251":206,"85":15104,"24":22,"16":145369851102232576,"45":-9201065119767230464},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-16 07:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781986560001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:49:03] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 07:49:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145369851102232576,"km_value":145369851102232.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201065119767230464,"description":"Unknown IO ID 45"} 
[2026-10-16 07:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781986560001,"power":13276,"unknown_251":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9201065119767230464}} 
[2026-10-16 07:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":216373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:49:03] local.INFO: GPS data processed {"connection_id":216373,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:49:03] local.INFO: Acknowledgment sent {"connection_id":216373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:49:11] local.INFO: TCP Data received {"connection_id":216374,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:49:11] local.INFO: Processing buffer {"connection_id":216374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:49:11] local.INFO: IMEI packet received {"connection_id":216374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":216374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:49:16] local.INFO: TCP Data received {"connection_id":219644,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:49:16] local.INFO: Processing buffer {"connection_id":219644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:49:16] local.INFO: IMEI packet received {"connection_id":219644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":219644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:49:17] local.INFO: TCP Data received {"connection_id":216555,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:17] local.INFO: Processing buffer {"connection_id":216555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:17] local.INFO: IMEI packet received {"connection_id":216555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":216555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:49:21] local.INFO: TCP Data received {"connection_id":216555,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:21] local.INFO: Processing buffer {"connection_id":216555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:21] local.INFO: IMEI packet received {"connection_id":216555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:49:21] local.INFO: TCP Data received {"connection_id":216555,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:21] local.INFO: Processing buffer {"connection_id":216555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:21] local.INFO: IMEI packet received {"connection_id":216555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:49:22] local.INFO: TCP Data received {"connection_id":216555,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:22] local.INFO: Processing buffer {"connection_id":216555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:49:22] local.INFO: IMEI packet received {"connection_id":216555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":216555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:49:22] local.INFO: TCP Data received {"connection_id":219644,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:49:22] local.INFO: Processing buffer {"connection_id":219644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:49:22] local.INFO: IMEI packet received {"connection_id":219644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":219644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:49:22] local.INFO: TCP Data received {"connection_id":216555,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142815e68012d804f0005dd0e300005015a2a..."} 
[2026-10-16 07:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142815e68012d804f0005dd0e300005015a2a..."} 
[2026-10-16 07:49:22] local.INFO: Processing buffer {"connection_id":216555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142815e68012d804f0005dd0e300005015a2a..."} 
[2026-10-16 07:49:22] local.INFO: Packet analysis {"connection_id":216555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14281"} 
[2026-10-16 07:49:22] local.INFO: Extracted packet for processing {"connection_id":216555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14281"} 
[2026-10-16 07:49:22] local.INFO: GPS Element Parsed {"raw_longitude":763383552,"raw_latitude":98373168,"longitude_deg":76.3383552,"latitude_deg":9.8373168,"altitude":5,"angle":346,"satellites":42,"speed":25,"hex_longitude":"2d804f00","hex_latitude":"05dd0e30","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781986816001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145369881167003648,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200924382278733824,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:22] 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-10-16 07:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792117137000,"timestamp_ms":1792117137000,"timestamp_seconds":1792117137,"priority":1,"record_length":96,"hex_timestamp":"000001a142815e68"} 
[2026-10-16 07:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:49:22] 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-10-16 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-16 07:49:22] 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-10-16 07: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-10-16 07:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781986816001,"66":13515,"251":206,"85":15104,"24":25,"16":145369881167003648,"45":-9200924382278733824},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-16 07:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781986816001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:49:22] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 07:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145369881167003648,"km_value":145369881167003.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200924382278733824,"description":"Unknown IO ID 45"} 
[2026-10-16 07:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781986816001,"power":13515,"unknown_251":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9200924382278733824}} 
[2026-10-16 07:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":216555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:49:22] local.INFO: GPS data processed {"connection_id":216555,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:49:22] local.INFO: Acknowledgment sent {"connection_id":216555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:49:23] local.INFO: TCP Data received {"connection_id":216555,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142816a20012d804c0005dd16200005014b2a..."} 
[2026-10-16 07:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142816a20012d804c0005dd16200005014b2a..."} 
[2026-10-16 07:49:23] local.INFO: Processing buffer {"connection_id":216555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142816a20012d804c0005dd16200005014b2a..."} 
[2026-10-16 07:49:23] local.INFO: Packet analysis {"connection_id":216555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14281"} 
[2026-10-16 07:49:23] local.INFO: Extracted packet for processing {"connection_id":216555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14281"} 
[2026-10-16 07:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763382784,"raw_latitude":98375200,"longitude_deg":76.3382784,"latitude_deg":9.83752,"altitude":5,"angle":331,"satellites":42,"speed":29,"hex_longitude":"2d804c00","hex_latitude":"05dd1620","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781987072001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145369988541186048,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201135488511102976,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:23] 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-10-16 07:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117140000,"timestamp_ms":1792117140000,"timestamp_seconds":1792117140,"priority":1,"record_length":96,"hex_timestamp":"000001a142816a20"} 
[2026-10-16 07:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-16 07:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781987072001,"66":12863,"251":206,"85":15104,"24":29,"16":145369988541186048,"45":-9201135488511102976},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-10-16 07:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781987072001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:49:23] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 07:49:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145369988541186048,"km_value":145369988541186.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201135488511102976,"description":"Unknown IO ID 45"} 
[2026-10-16 07:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781987072001,"power":12863,"unknown_251":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9201135488511102976}} 
[2026-10-16 07:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":216555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:49:23] local.INFO: GPS data processed {"connection_id":216555,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:49:23] local.INFO: Acknowledgment sent {"connection_id":216555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:49:23] local.INFO: TCP Data received {"connection_id":219644,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:49:23] local.INFO: Processing buffer {"connection_id":219644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:49:23] local.INFO: Packet analysis {"connection_id":219644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:49:23] local.INFO: Extracted packet for processing {"connection_id":219644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781888000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117051000,"timestamp_ms":1792117051000,"timestamp_seconds":1792117051,"priority":1,"record_length":96,"hex_timestamp":"000001a142800e78"} 
[2026-10-16 07:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781888000001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781888000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:49:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:49:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781888000001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":219644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:49:23] local.INFO: GPS data processed {"connection_id":219644,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:49:23] local.INFO: Acknowledgment sent {"connection_id":219644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:49:51] local.INFO: TCP Data received {"connection_id":216375,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:49:51] local.INFO: Processing buffer {"connection_id":216375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:49:51] local.INFO: IMEI packet received {"connection_id":216375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":216375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:49:54] local.INFO: TCP Data received {"connection_id":216555,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14281f6c0012d80790005dd5408000100012a..."} 
[2026-10-16 07:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14281f6c0012d80790005dd5408000100012a..."} 
[2026-10-16 07:49:54] local.INFO: Processing buffer {"connection_id":216555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14281f6c0012d80790005dd5408000100012a..."} 
[2026-10-16 07:49:54] local.INFO: Packet analysis {"connection_id":216555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14281"} 
[2026-10-16 07:49:54] local.INFO: Extracted packet for processing {"connection_id":216555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14281"} 
[2026-10-16 07:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763394304,"raw_latitude":98391048,"longitude_deg":76.3394304,"latitude_deg":9.8391048,"altitude":1,"angle":1,"satellites":42,"speed":24,"hex_longitude":"2d807900","hex_latitude":"05dd5408","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781996800001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145371208311898112,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189243170740692992,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:54] 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-10-16 07:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792117176000,"timestamp_ms":1792117176000,"timestamp_seconds":1792117176,"priority":1,"record_length":96,"hex_timestamp":"000001a14281f6c0"} 
[2026-10-16 07:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-16 07:49:54] 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-10-16 07: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-10-16 07:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781996800001,"66":13646,"249":206,"85":15104,"24":24,"16":145371208311898112,"45":-9189243170740692992},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-16 07:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781996800001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:49:54] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-16 07:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145371208311898112,"km_value":145371208311898.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189243170740692992,"description":"Unknown IO ID 45"} 
[2026-10-16 07:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781996800001,"power":13646,"unknown_249":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9189243170740692992}} 
[2026-10-16 07:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":216555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:49:54] local.INFO: GPS data processed {"connection_id":216555,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:49:54] local.INFO: Acknowledgment sent {"connection_id":216555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:49:55] local.INFO: TCP Data received {"connection_id":219644,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:49:55] local.INFO: Processing buffer {"connection_id":219644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:49:55] local.INFO: Packet analysis {"connection_id":219644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:49:55] local.INFO: Extracted packet for processing {"connection_id":219644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781888000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117051000,"timestamp_ms":1792117051000,"timestamp_seconds":1792117051,"priority":1,"record_length":96,"hex_timestamp":"000001a142800e78"} 
[2026-10-16 07:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781888000001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781888000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:49:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:49:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781888000001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":219644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:49:55] local.INFO: GPS data processed {"connection_id":219644,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:49:55] local.INFO: Acknowledgment sent {"connection_id":219644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:49:56] local.INFO: TCP Data received {"connection_id":216375,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:49:56] local.INFO: Processing buffer {"connection_id":216375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:49:56] local.INFO: IMEI packet received {"connection_id":216375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 07:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":216375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:49:57] local.INFO: TCP Data received {"connection_id":216375,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a142545ee0012d49fd4006741108000900122e..."} 
[2026-10-16 07:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142545ee0012d49fd4006741108000900122e..."} 
[2026-10-16 07:49:57] local.INFO: Processing buffer {"connection_id":216375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142545ee0012d49fd4006741108000900122e..."} 
[2026-10-16 07:49:57] local.INFO: Packet analysis {"connection_id":216375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14254"} 
[2026-10-16 07:49:57] local.INFO: Extracted packet for processing {"connection_id":216375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14254"} 
[2026-10-16 07:49:57] local.INFO: GPS Element Parsed {"raw_longitude":759823680,"raw_latitude":108269832,"longitude_deg":75.982368,"latitude_deg":10.8269832,"altitude":9,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2d49fd40","hex_latitude":"06741108","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781155072001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12356998867714048,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5331487930337789952,"note":"Value kept but may cause issues"} 
[2026-10-16 07:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792114188000,"timestamp_ms":1792114188000,"timestamp_seconds":1792114188,"priority":1,"record_length":96,"hex_timestamp":"000001a142545ee0"} 
[2026-10-16 07:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-10-16 07:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 07:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 07:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 07:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 07:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781155072001,"66":25952,"218":206,"80":60160,"24":0,"16":12356998867714048,"45":5331487930337789952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-10-16 07:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 07:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 07:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781155072001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:49:57] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-10-16 07:49:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-10-16 07:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12356998867714048,"km_value":12356998867714.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5331487930337789952,"description":"Unknown IO ID 45"} 
[2026-10-16 07:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781155072001,"power":25952,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5331487930337789952}} 
[2026-10-16 07:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":216375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:49:57] local.INFO: GPS data processed {"connection_id":216375,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:49:57] local.INFO: Acknowledgment sent {"connection_id":216375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:50:16] local.INFO: TCP Data received {"connection_id":217900,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:50:16] local.INFO: Processing buffer {"connection_id":217900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:50:16] local.INFO: IMEI packet received {"connection_id":217900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":217900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:50:21] local.INFO: TCP Data received {"connection_id":217901,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:50:21] local.INFO: Processing buffer {"connection_id":217901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:50:21] local.INFO: IMEI packet received {"connection_id":217901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":217901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:50:22] local.INFO: TCP Data received {"connection_id":217901,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:50:22] local.INFO: Processing buffer {"connection_id":217901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:50:22] local.INFO: IMEI packet received {"connection_id":217901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":217901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:50:22] local.INFO: TCP Data received {"connection_id":217900,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:50:22] local.INFO: Processing buffer {"connection_id":217900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:50:22] local.INFO: IMEI packet received {"connection_id":217900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":217900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:50:23] local.INFO: TCP Data received {"connection_id":217901,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:50:23] local.INFO: Processing buffer {"connection_id":217901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:50:23] local.INFO: IMEI packet received {"connection_id":217901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":217901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:50:23] local.INFO: TCP Data received {"connection_id":217900,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:50:23] local.INFO: Processing buffer {"connection_id":217900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:50:23] local.INFO: Packet analysis {"connection_id":217900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:50:23] local.INFO: Extracted packet for processing {"connection_id":217900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781888000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117051000,"timestamp_ms":1792117051000,"timestamp_seconds":1792117051,"priority":1,"record_length":96,"hex_timestamp":"000001a142800e78"} 
[2026-10-16 07:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781888000001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781888000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:50:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:50:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781888000001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":217900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:50:23] local.INFO: GPS data processed {"connection_id":217900,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:50:23] local.INFO: Acknowledgment sent {"connection_id":217900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:50:26] local.INFO: TCP Data received {"connection_id":217901,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14281faa8012d80778005dd5738000201592a..."} 
[2026-10-16 07:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14281faa8012d80778005dd5738000201592a..."} 
[2026-10-16 07:50:26] local.INFO: Processing buffer {"connection_id":217901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14281faa8012d80778005dd5738000201592a..."} 
[2026-10-16 07:50:26] local.INFO: Packet analysis {"connection_id":217901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14281"} 
[2026-10-16 07:50:26] local.INFO: Extracted packet for processing {"connection_id":217901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14281"} 
[2026-10-16 07:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763393920,"raw_latitude":98391864,"longitude_deg":76.339392,"latitude_deg":9.8391864,"altitude":2,"angle":345,"satellites":42,"speed":29,"hex_longitude":"2d807780","hex_latitude":"05dd5738","is_valid_coordinates":true} 
[2026-10-16 07:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781997056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145371251261571072,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189313539484678144,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:26] 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-10-16 07:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792117177000,"timestamp_ms":1792117177000,"timestamp_seconds":1792117177,"priority":1,"record_length":96,"hex_timestamp":"000001a14281faa8"} 
[2026-10-16 07:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 07:50:26] 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-10-16 07:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":217901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":217901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":217901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781997056001,"66":13646,"249":206,"85":15104,"24":29,"16":145371251261571072,"45":-9189313539484678144},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-16 07:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781997056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:50:26] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-16 07:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145371251261571072,"km_value":145371251261571.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189313539484678144,"description":"Unknown IO ID 45"} 
[2026-10-16 07:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781997056001,"power":13646,"unknown_249":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9189313539484678144}} 
[2026-10-16 07:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":217901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:50:26] local.INFO: GPS data processed {"connection_id":217901,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:50:26] local.INFO: Acknowledgment sent {"connection_id":217901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:50:28] local.INFO: TCP Data received {"connection_id":217901,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142821dd0012d806cc005dd78900002015d28..."} 
[2026-10-16 07:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142821dd0012d806cc005dd78900002015d28..."} 
[2026-10-16 07:50:28] local.INFO: Processing buffer {"connection_id":217901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142821dd0012d806cc005dd78900002015d28..."} 
[2026-10-16 07:50:28] local.INFO: Packet analysis {"connection_id":217901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14282"} 
[2026-10-16 07:50:28] local.INFO: Extracted packet for processing {"connection_id":217901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14282"} 
[2026-10-16 07:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763391168,"raw_latitude":98400400,"longitude_deg":76.3391168,"latitude_deg":9.84004,"altitude":2,"angle":349,"satellites":40,"speed":44,"hex_longitude":"2d806cc0","hex_latitude":"05dd7890","is_valid_coordinates":true} 
[2026-10-16 07:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781997312001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145371689348235264,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189735751949535232,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:28] 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-10-16 07:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792117186000,"timestamp_ms":1792117186000,"timestamp_seconds":1792117186,"priority":1,"record_length":96,"hex_timestamp":"000001a142821dd0"} 
[2026-10-16 07:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 07:50:28] 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-10-16 07:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781997312001,"66":13559,"249":206,"85":15104,"24":44,"16":145371689348235264,"45":-9189735751949535232},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-10-16 07:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781997312001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:50:28] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-10-16 07:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145371689348235264,"km_value":145371689348235.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189735751949535232,"description":"Unknown IO ID 45"} 
[2026-10-16 07:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781997312001,"power":13559,"unknown_249":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9189735751949535232}} 
[2026-10-16 07:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":217901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:50:28] local.INFO: GPS data processed {"connection_id":217901,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:50:28] local.INFO: Acknowledgment sent {"connection_id":217901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:50:41] local.INFO: TCP Data received {"connection_id":219645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:50:41] local.INFO: Processing buffer {"connection_id":219645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:50:41] local.INFO: IMEI packet received {"connection_id":219645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":219645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:50:51] local.INFO: TCP Data received {"connection_id":217902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:50:51] local.INFO: Processing buffer {"connection_id":217902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:50:51] local.INFO: IMEI packet received {"connection_id":217902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":217902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:50:55] local.INFO: TCP Data received {"connection_id":217900,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:50:55] local.INFO: Processing buffer {"connection_id":217900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:50:55] local.INFO: Packet analysis {"connection_id":217900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:50:55] local.INFO: Extracted packet for processing {"connection_id":217900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781888000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117051000,"timestamp_ms":1792117051000,"timestamp_seconds":1792117051,"priority":1,"record_length":96,"hex_timestamp":"000001a142800e78"} 
[2026-10-16 07:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781888000001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781888000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:50:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:50:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781888000001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":217900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:50:55] local.INFO: GPS data processed {"connection_id":217900,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:50:55] local.INFO: Acknowledgment sent {"connection_id":217900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:51:03] local.INFO: TCP Data received {"connection_id":217901,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428317d0012d80678005de6268000201562a..."} 
[2026-10-16 07:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428317d0012d80678005de6268000201562a..."} 
[2026-10-16 07:51:03] local.INFO: Processing buffer {"connection_id":217901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428317d0012d80678005de6268000201562a..."} 
[2026-10-16 07:51:03] local.INFO: Packet analysis {"connection_id":217901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14283"} 
[2026-10-16 07:51:03] local.INFO: Extracted packet for processing {"connection_id":217901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14283"} 
[2026-10-16 07:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763389824,"raw_latitude":98460264,"longitude_deg":76.3389824,"latitude_deg":9.8460264,"altitude":2,"angle":342,"satellites":42,"speed":31,"hex_longitude":"2d806780","hex_latitude":"05de6268","is_valid_coordinates":true} 
[2026-10-16 07:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782013440001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145374665760571392,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192550501701490688,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792117250000,"timestamp_ms":1792117250000,"timestamp_seconds":1792117250,"priority":1,"record_length":96,"hex_timestamp":"000001a1428317d0"} 
[2026-10-16 07:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-16 07:51: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-10-16 07:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782013440001,"66":14048,"100":206,"85":15104,"24":31,"16":145374665760571392,"45":-9192550501701490688},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-10-16 07:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782013440001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:51:03] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 07:51:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145374665760571392,"km_value":145374665760571.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192550501701490688,"description":"Unknown IO ID 45"} 
[2026-10-16 07:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782013440001,"power":14048,"unknown_100":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9192550501701490688}} 
[2026-10-16 07:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":217901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:51:03] local.INFO: GPS data processed {"connection_id":217901,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:51:03] local.INFO: Acknowledgment sent {"connection_id":217901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:51:19] local.INFO: TCP Data received {"connection_id":217904,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:51:19] local.INFO: Processing buffer {"connection_id":217904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:51:19] local.INFO: IMEI packet received {"connection_id":217904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":217904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:51:21] local.INFO: TCP Data received {"connection_id":217904,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:51:21] local.INFO: Processing buffer {"connection_id":217904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:51:21] local.INFO: IMEI packet received {"connection_id":217904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":217904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:51:22] local.INFO: TCP Data received {"connection_id":217903,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:51:22] local.INFO: Processing buffer {"connection_id":217903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:51:22] local.INFO: IMEI packet received {"connection_id":217903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":217903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:51:26] local.INFO: TCP Data received {"connection_id":217904,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:51:26] local.INFO: Processing buffer {"connection_id":217904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:51:26] local.INFO: IMEI packet received {"connection_id":217904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":217904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:51:26] local.INFO: TCP Data received {"connection_id":217903,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:51:26] local.INFO: Processing buffer {"connection_id":217903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:51:26] local.INFO: IMEI packet received {"connection_id":217903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":217903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:51:27] local.INFO: TCP Data received {"connection_id":217904,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428317d0012d80678005de6268000201562a..."} 
[2026-10-16 07:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428317d0012d80678005de6268000201562a..."} 
[2026-10-16 07:51:27] local.INFO: Processing buffer {"connection_id":217904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428317d0012d80678005de6268000201562a..."} 
[2026-10-16 07:51:27] local.INFO: Packet analysis {"connection_id":217904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14283"} 
[2026-10-16 07:51:27] local.INFO: Extracted packet for processing {"connection_id":217904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14283"} 
[2026-10-16 07:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763389824,"raw_latitude":98460264,"longitude_deg":76.3389824,"latitude_deg":9.8460264,"altitude":2,"angle":342,"satellites":42,"speed":31,"hex_longitude":"2d806780","hex_latitude":"05de6268","is_valid_coordinates":true} 
[2026-10-16 07:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782016000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145374665760571392,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194239351559395328,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792117250000,"timestamp_ms":1792117250000,"timestamp_seconds":1792117250,"priority":1,"record_length":96,"hex_timestamp":"000001a1428317d0"} 
[2026-10-16 07:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 07:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782016000001,"66":14048,"100":206,"85":15104,"24":31,"16":145374665760571392,"45":-9194239351559395328},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-10-16 07:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782016000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:51:27] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 07:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145374665760571392,"km_value":145374665760571.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194239351559395328,"description":"Unknown IO ID 45"} 
[2026-10-16 07:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782016000001,"power":14048,"unknown_100":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9194239351559395328}} 
[2026-10-16 07:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":217904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:51:27] local.INFO: GPS data processed {"connection_id":217904,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:51:27] local.INFO: Acknowledgment sent {"connection_id":217904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:51:28] local.INFO: TCP Data received {"connection_id":217903,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:51:28] local.INFO: Processing buffer {"connection_id":217903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:51:28] local.INFO: Packet analysis {"connection_id":217903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:51:28] local.INFO: Extracted packet for processing {"connection_id":217903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781888000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792117051000,"timestamp_ms":1792117051000,"timestamp_seconds":1792117051,"priority":1,"record_length":96,"hex_timestamp":"000001a142800e78"} 
[2026-10-16 07:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781888000001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781888000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:51:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:51:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781888000001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":217903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:51:28] local.INFO: GPS data processed {"connection_id":217903,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:51:28] local.INFO: Acknowledgment sent {"connection_id":217903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:51:33] local.INFO: TCP Data received {"connection_id":217903,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:51:33] local.INFO: Processing buffer {"connection_id":217903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:51:33] local.INFO: Packet analysis {"connection_id":217903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:51:33] local.INFO: Extracted packet for processing {"connection_id":217903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781888000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792117051000,"timestamp_ms":1792117051000,"timestamp_seconds":1792117051,"priority":1,"record_length":96,"hex_timestamp":"000001a142800e78"} 
[2026-10-16 07:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781888000001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781888000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:51:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:51:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781888000001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":217903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:51:33] local.INFO: GPS data processed {"connection_id":217903,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:51:33] local.INFO: Acknowledgment sent {"connection_id":217903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:51:58] local.INFO: TCP Data received {"connection_id":217904,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14283e2f0012d80600005df10900003016627..."} 
[2026-10-16 07:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14283e2f0012d80600005df10900003016627..."} 
[2026-10-16 07:51:58] local.INFO: Processing buffer {"connection_id":217904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14283e2f0012d80600005df10900003016627..."} 
[2026-10-16 07:51:58] local.INFO: Packet analysis {"connection_id":217904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14283"} 
[2026-10-16 07:51:58] local.INFO: Extracted packet for processing {"connection_id":217904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14283"} 
[2026-10-16 07:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763387904,"raw_latitude":98504848,"longitude_deg":76.3387904,"latitude_deg":9.8504848,"altitude":3,"angle":358,"satellites":39,"speed":43,"hex_longitude":"2d806000","hex_latitude":"05df1090","is_valid_coordinates":true} 
[2026-10-16 07:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782027264001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145376860488859648,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196209676387239936,"note":"Value kept but may cause issues"} 
[2026-10-16 07:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792117302000,"timestamp_ms":1792117302000,"timestamp_seconds":1792117302,"priority":1,"record_length":96,"hex_timestamp":"000001a14283e2f0"} 
[2026-10-16 07:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 07:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782027264001,"66":13091,"99":206,"85":15104,"24":43,"16":145376860488859648,"45":-9196209676387239936},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-10-16 07:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782027264001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:51:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 07:51:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145376860488859648,"km_value":145376860488859.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196209676387239936,"description":"Unknown IO ID 45"} 
[2026-10-16 07:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782027264001,"power":13091,"unknown_99":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9196209676387239936}} 
[2026-10-16 07:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":217904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:51:58] local.INFO: GPS data processed {"connection_id":217904,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:51:58] local.INFO: Acknowledgment sent {"connection_id":217904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:52:16] local.INFO: TCP Data received {"connection_id":219647,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:52:16] local.INFO: Processing buffer {"connection_id":219647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:52:16] local.INFO: IMEI packet received {"connection_id":219647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":219647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:52:21] local.INFO: TCP Data received {"connection_id":219648,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:52:21] local.INFO: Processing buffer {"connection_id":219648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:52:21] local.INFO: IMEI packet received {"connection_id":219648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":219648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:52:21] local.INFO: TCP Data received {"connection_id":219648,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:52:21] local.INFO: Processing buffer {"connection_id":219648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:52:21] local.INFO: IMEI packet received {"connection_id":219648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":219648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:52:22] local.INFO: TCP Data received {"connection_id":219647,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:52:22] local.INFO: Processing buffer {"connection_id":219647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:52:22] local.INFO: IMEI packet received {"connection_id":219647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":219647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:52:23] local.INFO: TCP Data received {"connection_id":219647,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:52:23] local.INFO: Processing buffer {"connection_id":219647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:52:23] local.INFO: Packet analysis {"connection_id":219647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:52:23] local.INFO: Extracted packet for processing {"connection_id":219647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:52:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781888000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117051000,"timestamp_ms":1792117051000,"timestamp_seconds":1792117051,"priority":1,"record_length":96,"hex_timestamp":"000001a142800e78"} 
[2026-10-16 07:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781888000001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781888000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:52:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:52:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781888000001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":219647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:52:23] local.INFO: GPS data processed {"connection_id":219647,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:52:23] local.INFO: Acknowledgment sent {"connection_id":219647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:52:26] local.INFO: TCP Data received {"connection_id":219648,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:52:26] local.INFO: Processing buffer {"connection_id":219648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:52:26] local.INFO: IMEI packet received {"connection_id":219648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":219648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:52:30] local.INFO: TCP Data received {"connection_id":219648,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142840618012d805d0005df32e8000201592a..."} 
[2026-10-16 07:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142840618012d805d0005df32e8000201592a..."} 
[2026-10-16 07:52:30] local.INFO: Processing buffer {"connection_id":219648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142840618012d805d0005df32e8000201592a..."} 
[2026-10-16 07:52:30] local.INFO: Packet analysis {"connection_id":219648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:52:30] local.INFO: Extracted packet for processing {"connection_id":219648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763387136,"raw_latitude":98513640,"longitude_deg":76.3387136,"latitude_deg":9.851364,"altitude":2,"angle":345,"satellites":42,"speed":32,"hex_longitude":"2d805d00","hex_latitude":"05df32e8","is_valid_coordinates":true} 
[2026-10-16 07:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782029312001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145377289985589248,"note":"Value kept but may cause issues"} 
[2026-10-16 07:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196350413873311744,"note":"Value kept but may cause issues"} 
[2026-10-16 07:52:30] 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-10-16 07:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792117311000,"timestamp_ms":1792117311000,"timestamp_seconds":1792117311,"priority":1,"record_length":96,"hex_timestamp":"000001a142840618"} 
[2026-10-16 07:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 07:52:30] 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-10-16 07:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782029312001,"66":13374,"99":206,"85":15104,"24":32,"16":145377289985589248,"45":-9196350413873311744},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-10-16 07:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782029312001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:52:30] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 07:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145377289985589248,"km_value":145377289985589.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196350413873311744,"description":"Unknown IO ID 45"} 
[2026-10-16 07:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782029312001,"power":13374,"unknown_99":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9196350413873311744}} 
[2026-10-16 07:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":219648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:52:30] local.INFO: GPS data processed {"connection_id":219648,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:52:30] local.INFO: Acknowledgment sent {"connection_id":219648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:52:55] local.INFO: TCP Data received {"connection_id":219647,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:52:55] local.INFO: Processing buffer {"connection_id":219647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142800e78012d7f98c005afddb00000002f1f..."} 
[2026-10-16 07:52:55] local.INFO: Packet analysis {"connection_id":219647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:52:55] local.INFO: Extracted packet for processing {"connection_id":219647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14280"} 
[2026-10-16 07:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":31,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781888000001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117051000,"timestamp_ms":1792117051000,"timestamp_seconds":1792117051,"priority":1,"record_length":96,"hex_timestamp":"000001a142800e78"} 
[2026-10-16 07:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 07:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781888000001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781888000001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:52:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:52:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781888000001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":219647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:52:55] local.INFO: GPS data processed {"connection_id":219647,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:52:55] local.INFO: Acknowledgment sent {"connection_id":219647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:53:01] local.INFO: TCP Data received {"connection_id":219648,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142840618012d805d0005df32e8000201592a..."} 
[2026-10-16 07:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142840618012d805d0005df32e8000201592a..."} 
[2026-10-16 07:53:01] local.INFO: Processing buffer {"connection_id":219648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142840618012d805d0005df32e8000201592a..."} 
[2026-10-16 07:53:01] local.INFO: Packet analysis {"connection_id":219648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:53:01] local.INFO: Extracted packet for processing {"connection_id":219648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763387136,"raw_latitude":98513640,"longitude_deg":76.3387136,"latitude_deg":9.851364,"altitude":2,"angle":345,"satellites":42,"speed":32,"hex_longitude":"2d805d00","hex_latitude":"05df32e8","is_valid_coordinates":true} 
[2026-10-16 07:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782031616001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145377289985589248,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197194838801192960,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:01] 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-10-16 07:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792117311000,"timestamp_ms":1792117311000,"timestamp_seconds":1792117311,"priority":1,"record_length":96,"hex_timestamp":"000001a142840618"} 
[2026-10-16 07:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-16 07:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782031616001,"66":13374,"99":206,"85":15104,"24":32,"16":145377289985589248,"45":-9197194838801192960},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-10-16 07:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782031616001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:53:01] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 07:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145377289985589248,"km_value":145377289985589.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197194838801192960,"description":"Unknown IO ID 45"} 
[2026-10-16 07:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782031616001,"power":13374,"unknown_99":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9197194838801192960}} 
[2026-10-16 07:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":219648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:53:01] local.INFO: GPS data processed {"connection_id":219648,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:53:01] local.INFO: Acknowledgment sent {"connection_id":219648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:53:16] local.INFO: TCP Data received {"connection_id":219649,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:53:16] local.INFO: Processing buffer {"connection_id":219649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:53:16] local.INFO: IMEI packet received {"connection_id":219649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":219649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:53:21] local.INFO: TCP Data received {"connection_id":217905,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:53:21] local.INFO: Processing buffer {"connection_id":217905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:53:21] local.INFO: IMEI packet received {"connection_id":217905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":217905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:53:22] local.INFO: TCP Data received {"connection_id":219649,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:53:22] local.INFO: Processing buffer {"connection_id":219649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:53:22] local.INFO: IMEI packet received {"connection_id":219649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":219649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:53:23] local.INFO: TCP Data received {"connection_id":219649,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:53:23] local.INFO: Processing buffer {"connection_id":219649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:53:23] local.INFO: Packet analysis {"connection_id":219649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:53:23] local.INFO: Extracted packet for processing {"connection_id":219649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117352000,"timestamp_ms":1792117352000,"timestamp_seconds":1792117352,"priority":1,"record_length":96,"hex_timestamp":"000001a14284a640"} 
[2026-10-16 07:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:53:23] 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-10-16 07: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-10-16 07:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:53:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:53:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":219649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:53:23] local.INFO: GPS data processed {"connection_id":219649,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:53:23] local.INFO: Acknowledgment sent {"connection_id":219649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:53:26] local.INFO: TCP Data received {"connection_id":217905,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:53:26] local.INFO: Processing buffer {"connection_id":217905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:53:26] local.INFO: IMEI packet received {"connection_id":217905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":217905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:53:27] local.INFO: TCP Data received {"connection_id":217905,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428532e0012d7fe6c005e03d080004015e26..."} 
[2026-10-16 07:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428532e0012d7fe6c005e03d080004015e26..."} 
[2026-10-16 07:53:27] local.INFO: Processing buffer {"connection_id":217905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428532e0012d7fe6c005e03d080004015e26..."} 
[2026-10-16 07:53:27] local.INFO: Packet analysis {"connection_id":217905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14285"} 
[2026-10-16 07:53:27] local.INFO: Extracted packet for processing {"connection_id":217905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14285"} 
[2026-10-16 07:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763356864,"raw_latitude":98581768,"longitude_deg":76.3356864,"latitude_deg":9.8581768,"altitude":4,"angle":350,"satellites":38,"speed":32,"hex_longitude":"2d7fe6c0","hex_latitude":"05e03d08","is_valid_coordinates":true} 
[2026-10-16 07:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782050816001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145380923527921664,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216687031394428928,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792117388000,"timestamp_ms":1792117388000,"timestamp_seconds":1792117388,"priority":1,"record_length":96,"hex_timestamp":"000001a1428532e0"} 
[2026-10-16 07:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-16 07:53: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-10-16 07:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782050816001,"66":14102,"121":206,"85":15104,"24":32,"16":145380923527921664,"45":9216687031394428928},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-16 07:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782050816001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:53:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-16 07:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145380923527921664,"km_value":145380923527921.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216687031394428928,"description":"Unknown IO ID 45"} 
[2026-10-16 07:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782050816001,"power":14102,"unknown_121":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9216687031394428928}} 
[2026-10-16 07:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":217905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:53:27] local.INFO: GPS data processed {"connection_id":217905,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:53:27] local.INFO: Acknowledgment sent {"connection_id":217905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:53:54] local.INFO: TCP Data received {"connection_id":219649,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:53:54] local.INFO: Processing buffer {"connection_id":219649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:53:54] local.INFO: Packet analysis {"connection_id":219649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:53:54] local.INFO: Extracted packet for processing {"connection_id":219649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792117352000,"timestamp_ms":1792117352000,"timestamp_seconds":1792117352,"priority":1,"record_length":96,"hex_timestamp":"000001a14284a640"} 
[2026-10-16 07:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:53:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:53:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":219649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:53:54] local.INFO: GPS data processed {"connection_id":219649,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:53:54] local.INFO: Acknowledgment sent {"connection_id":219649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:53:58] local.INFO: TCP Data received {"connection_id":217905,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142854280012d7fe2c005e04a600004015229..."} 
[2026-10-16 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142854280012d7fe2c005e04a600004015229..."} 
[2026-10-16 07:53:58] local.INFO: Processing buffer {"connection_id":217905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142854280012d7fe2c005e04a600004015229..."} 
[2026-10-16 07:53:58] local.INFO: Packet analysis {"connection_id":217905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14285"} 
[2026-10-16 07:53:58] local.INFO: Extracted packet for processing {"connection_id":217905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14285"} 
[2026-10-16 07:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763355840,"raw_latitude":98585184,"longitude_deg":76.335584,"latitude_deg":9.8585184,"altitude":4,"angle":338,"satellites":41,"speed":35,"hex_longitude":"2d7fe2c0","hex_latitude":"05e04a60","is_valid_coordinates":true} 
[2026-10-16 07:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782051328001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145381095326613504,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216264818929764352,"note":"Value kept but may cause issues"} 
[2026-10-16 07:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792117392000,"timestamp_ms":1792117392000,"timestamp_seconds":1792117392,"priority":1,"record_length":96,"hex_timestamp":"000001a142854280"} 
[2026-10-16 07:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 07:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782051328001,"66":13830,"121":206,"85":15104,"24":35,"16":145381095326613504,"45":9216264818929764352},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-16 07:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782051328001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:53:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-16 07:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145381095326613504,"km_value":145381095326613.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216264818929764352,"description":"Unknown IO ID 45"} 
[2026-10-16 07:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782051328001,"power":13830,"unknown_121":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9216264818929764352}} 
[2026-10-16 07:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":217905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:53:58] local.INFO: GPS data processed {"connection_id":217905,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:53:58] local.INFO: Acknowledgment sent {"connection_id":217905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:54:21] local.INFO: TCP Data received {"connection_id":216377,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:54:21] local.INFO: Processing buffer {"connection_id":216377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:54:21] local.INFO: IMEI packet received {"connection_id":216377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":216377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:54:22] local.INFO: TCP Data received {"connection_id":216377,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:54:22] local.INFO: Processing buffer {"connection_id":216377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:54:22] local.INFO: IMEI packet received {"connection_id":216377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":216377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:54:22] local.INFO: TCP Data received {"connection_id":217906,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:54:22] local.INFO: Processing buffer {"connection_id":217906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:54:22] local.INFO: IMEI packet received {"connection_id":217906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":217906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:54:26] local.INFO: TCP Data received {"connection_id":216377,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:54:26] local.INFO: Processing buffer {"connection_id":216377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:54:26] local.INFO: IMEI packet received {"connection_id":216377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":216377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:54:27] local.INFO: TCP Data received {"connection_id":217906,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:54:27] local.INFO: Processing buffer {"connection_id":217906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:54:27] local.INFO: IMEI packet received {"connection_id":217906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":217906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:54:28] local.INFO: TCP Data received {"connection_id":216377,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142857160012d7fd60005e069f8000301622a..."} 
[2026-10-16 07:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142857160012d7fd60005e069f8000301622a..."} 
[2026-10-16 07:54:28] local.INFO: Processing buffer {"connection_id":216377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142857160012d7fd60005e069f8000301622a..."} 
[2026-10-16 07:54:28] local.INFO: Packet analysis {"connection_id":216377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14285"} 
[2026-10-16 07:54:28] local.INFO: Extracted packet for processing {"connection_id":216377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14285"} 
[2026-10-16 07:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763352576,"raw_latitude":98593272,"longitude_deg":76.3352576,"latitude_deg":9.8593272,"altitude":3,"angle":354,"satellites":42,"speed":21,"hex_longitude":"2d7fd600","hex_latitude":"05e069f8","is_valid_coordinates":true} 
[2026-10-16 07:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782052352001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145381520528375808,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215138919023796224,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792117404000,"timestamp_ms":1792117404000,"timestamp_seconds":1792117404,"priority":1,"record_length":96,"hex_timestamp":"000001a142857160"} 
[2026-10-16 07:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-16 07:54:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10414582744023040,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626248572672,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2231375873,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3755206656,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:28] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298333902,"corrected_to":0} 
[2026-10-16 07:54:28] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-5187815267412998689,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:28] local.WARNING: Large IO value detected {"io_id":179,"raw_value":6917532331765399595,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:28] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,85,24,241,157,16,127,161,50,45,192,61,4,38,10,66,43,64,54,5,37,15,1,240,88,227,126,224,113,205,41,217,6,176,239,53,99,2,146,179],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298333902,"validated":0}]} 
[2026-10-16 07:54:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288602187177852928,"timestamp_seconds":288602187177852.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 07:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782052352001,"66":13243,"121":206,"85":15104,"24":21,"16":145381520528375808,"45":9215138919023796224},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-10-16 07:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782052352001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:54:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-16 07:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145381520528375808,"km_value":145381520528375.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215138919023796224,"description":"Unknown IO ID 45"} 
[2026-10-16 07:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782052352001,"power":13243,"unknown_121":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9215138919023796224}} 
[2026-10-16 07:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":216377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:54:28] local.INFO: GPS data processed {"connection_id":216377,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:54:28] local.INFO: Acknowledgment sent {"connection_id":216377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:54:29] local.INFO: TCP Data received {"connection_id":217906,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:54:29] local.INFO: Processing buffer {"connection_id":217906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:54:29] local.INFO: Packet analysis {"connection_id":217906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:54:29] local.INFO: Extracted packet for processing {"connection_id":217906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792117352000,"timestamp_ms":1792117352000,"timestamp_seconds":1792117352,"priority":1,"record_length":96,"hex_timestamp":"000001a14284a640"} 
[2026-10-16 07:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:54:29] 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-10-16 07:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:54:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:54:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":217906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:54:29] local.INFO: GPS data processed {"connection_id":217906,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:54:29] local.INFO: Acknowledgment sent {"connection_id":217906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:54:33] local.INFO: TCP Data received {"connection_id":217906,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:54:33] local.INFO: Processing buffer {"connection_id":217906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:54:33] local.INFO: Packet analysis {"connection_id":217906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:54:33] local.INFO: Extracted packet for processing {"connection_id":217906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792117352000,"timestamp_ms":1792117352000,"timestamp_seconds":1792117352,"priority":1,"record_length":96,"hex_timestamp":"000001a14284a640"} 
[2026-10-16 07:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:54:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:54:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":217906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:54:33] local.INFO: GPS data processed {"connection_id":217906,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:54:33] local.INFO: Acknowledgment sent {"connection_id":217906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:54:59] local.INFO: TCP Data received {"connection_id":216377,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14286a9e0012d7f618005e0e5e80004011d28..."} 
[2026-10-16 07:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14286a9e0012d7f618005e0e5e80004011d28..."} 
[2026-10-16 07:54:59] local.INFO: Processing buffer {"connection_id":216377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14286a9e0012d7f618005e0e5e80004011d28..."} 
[2026-10-16 07:54:59] local.INFO: Packet analysis {"connection_id":216377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14286"} 
[2026-10-16 07:54:59] local.INFO: Extracted packet for processing {"connection_id":216377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14286"} 
[2026-10-16 07:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763322752,"raw_latitude":98625000,"longitude_deg":76.3322752,"latitude_deg":9.8625,"altitude":4,"angle":285,"satellites":40,"speed":7,"hex_longitude":"2d7f6180","hex_latitude":"05e0e5e8","is_valid_coordinates":true} 
[2026-10-16 07:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782072064001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145384050264113152,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179673071968436224,"note":"Value kept but may cause issues"} 
[2026-10-16 07:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792117484000,"timestamp_ms":1792117484000,"timestamp_seconds":1792117484,"priority":1,"record_length":96,"hex_timestamp":"000001a14286a9e0"} 
[2026-10-16 07:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 07:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782072064001,"66":13689,"122":206,"85":15104,"24":7,"16":145384050264113152,"45":9179673071968436224},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-16 07:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782072064001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:54:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 07:54:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145384050264113152,"km_value":145384050264113.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179673071968436224,"description":"Unknown IO ID 45"} 
[2026-10-16 07:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782072064001,"power":13689,"unknown_122":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9179673071968436224}} 
[2026-10-16 07:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":216377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:55:00] local.INFO: GPS data processed {"connection_id":216377,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:55:00] local.INFO: Acknowledgment sent {"connection_id":216377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:55:17] local.INFO: TCP Data received {"connection_id":217907,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:55:17] local.INFO: Processing buffer {"connection_id":217907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:55:17] local.INFO: IMEI packet received {"connection_id":217907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":217907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:55:21] local.INFO: TCP Data received {"connection_id":216557,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:55:21] local.INFO: Processing buffer {"connection_id":216557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:55:21] local.INFO: IMEI packet received {"connection_id":216557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":216557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:55:22] local.INFO: TCP Data received {"connection_id":216557,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:55:22] local.INFO: Processing buffer {"connection_id":216557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:55:22] local.INFO: IMEI packet received {"connection_id":216557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":216557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:55:22] local.INFO: TCP Data received {"connection_id":217907,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:55:22] local.INFO: Processing buffer {"connection_id":217907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:55:22] local.INFO: IMEI packet received {"connection_id":217907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":217907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:55:23] local.INFO: TCP Data received {"connection_id":217907,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:55:23] local.INFO: Processing buffer {"connection_id":217907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:55:23] local.INFO: Packet analysis {"connection_id":217907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:55:23] local.INFO: Extracted packet for processing {"connection_id":217907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:55:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117352000,"timestamp_ms":1792117352000,"timestamp_seconds":1792117352,"priority":1,"record_length":96,"hex_timestamp":"000001a14284a640"} 
[2026-10-16 07:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:55:23] 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-10-16 07: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-10-16 07:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:55:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:55:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":217907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:55:23] local.INFO: GPS data processed {"connection_id":217907,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:55:23] local.INFO: Acknowledgment sent {"connection_id":217907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:55:26] local.INFO: TCP Data received {"connection_id":216557,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:55:26] local.INFO: Processing buffer {"connection_id":216557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:55:26] local.INFO: IMEI packet received {"connection_id":216557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":216557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:55:27] local.INFO: TCP Data received {"connection_id":216557,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14286b1b0012d7f5fc005e0e6480004011228..."} 
[2026-10-16 07:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14286b1b0012d7f5fc005e0e6480004011228..."} 
[2026-10-16 07:55:27] local.INFO: Processing buffer {"connection_id":216557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14286b1b0012d7f5fc005e0e6480004011228..."} 
[2026-10-16 07:55:27] local.INFO: Packet analysis {"connection_id":216557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14286"} 
[2026-10-16 07:55:27] local.INFO: Extracted packet for processing {"connection_id":216557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14286"} 
[2026-10-16 07:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763322304,"raw_latitude":98625096,"longitude_deg":76.3322304,"latitude_deg":9.8625096,"altitude":4,"angle":274,"satellites":40,"speed":11,"hex_longitude":"2d7f5fc0","hex_latitude":"05e0e648","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782075904001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145384076033916928,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178758278294136832,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792117486000,"timestamp_ms":1792117486000,"timestamp_seconds":1792117486,"priority":1,"record_length":96,"hex_timestamp":"000001a14286b1b0"} 
[2026-10-16 07:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-16 07:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07: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-10-16 07:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782075904001,"66":13374,"122":206,"85":15104,"24":11,"16":145384076033916928,"45":9178758278294136832},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-16 07:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782075904001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:55:27] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 07:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145384076033916928,"km_value":145384076033916.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178758278294136832,"description":"Unknown IO ID 45"} 
[2026-10-16 07:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782075904001,"power":13374,"unknown_122":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9178758278294136832}} 
[2026-10-16 07:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":216557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:55:27] local.INFO: GPS data processed {"connection_id":216557,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:55:27] local.INFO: Acknowledgment sent {"connection_id":216557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:55:55] local.INFO: TCP Data received {"connection_id":217907,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:55:55] local.INFO: Processing buffer {"connection_id":217907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:55:55] local.INFO: Packet analysis {"connection_id":217907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:55:55] local.INFO: Extracted packet for processing {"connection_id":217907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117352000,"timestamp_ms":1792117352000,"timestamp_seconds":1792117352,"priority":1,"record_length":96,"hex_timestamp":"000001a14284a640"} 
[2026-10-16 07:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:55:55] 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-10-16 07:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:55:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:55:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":217907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:55:55] local.INFO: GPS data processed {"connection_id":217907,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:55:55] local.INFO: Acknowledgment sent {"connection_id":217907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:55:59] local.INFO: TCP Data received {"connection_id":216557,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14286c150012d7f588005e0e810000501212c..."} 
[2026-10-16 07:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14286c150012d7f588005e0e810000501212c..."} 
[2026-10-16 07:55:59] local.INFO: Processing buffer {"connection_id":216557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14286c150012d7f588005e0e810000501212c..."} 
[2026-10-16 07:55:59] local.INFO: Packet analysis {"connection_id":216557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14286"} 
[2026-10-16 07:55:59] local.INFO: Extracted packet for processing {"connection_id":216557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14286"} 
[2026-10-16 07:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763320448,"raw_latitude":98625552,"longitude_deg":76.3320448,"latitude_deg":9.8625552,"altitude":5,"angle":289,"satellites":44,"speed":21,"hex_longitude":"2d7f5880","hex_latitude":"05e0e810","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782076416001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145384166228230144,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178265697084917760,"note":"Value kept but may cause issues"} 
[2026-10-16 07:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792117490000,"timestamp_ms":1792117490000,"timestamp_seconds":1792117490,"priority":1,"record_length":96,"hex_timestamp":"000001a14286c150"} 
[2026-10-16 07:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-16 07:55:59] 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-10-16 07: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-10-16 07:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782076416001,"66":13993,"122":206,"85":15104,"24":21,"16":145384166228230144,"45":9178265697084917760},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-16 07:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782076416001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:55:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 07:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145384166228230144,"km_value":145384166228230.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178265697084917760,"description":"Unknown IO ID 45"} 
[2026-10-16 07:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782076416001,"power":13993,"unknown_122":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9178265697084917760}} 
[2026-10-16 07:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":216557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:55:59] local.INFO: GPS data processed {"connection_id":216557,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:55:59] local.INFO: Acknowledgment sent {"connection_id":216557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:56:16] local.INFO: TCP Data received {"connection_id":217908,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:56:16] local.INFO: Processing buffer {"connection_id":217908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:56:16] local.INFO: IMEI packet received {"connection_id":217908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":217908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:56:16] local.INFO: TCP Data received {"connection_id":219651,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:56:16] local.INFO: Processing buffer {"connection_id":219651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:56:16] local.INFO: IMEI packet received {"connection_id":219651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":219651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:56:22] local.INFO: TCP Data received {"connection_id":217908,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:56:22] local.INFO: Processing buffer {"connection_id":217908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:56:22] local.INFO: IMEI packet received {"connection_id":217908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":217908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:56:23] local.INFO: TCP Data received {"connection_id":217908,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:56:23] local.INFO: Processing buffer {"connection_id":217908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:56:23] local.INFO: Packet analysis {"connection_id":217908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:56:23] local.INFO: Extracted packet for processing {"connection_id":217908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:56:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117352000,"timestamp_ms":1792117352000,"timestamp_seconds":1792117352,"priority":1,"record_length":96,"hex_timestamp":"000001a14284a640"} 
[2026-10-16 07:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:56:23] 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-10-16 07: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-10-16 07:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:56:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:56:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":217908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:56:23] local.INFO: GPS data processed {"connection_id":217908,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:56:23] local.INFO: Acknowledgment sent {"connection_id":217908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:56:27] local.INFO: TCP Data received {"connection_id":216558,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:56:27] local.INFO: Processing buffer {"connection_id":216558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:56:27] local.INFO: IMEI packet received {"connection_id":216558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":216558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:56:29] local.INFO: TCP Data received {"connection_id":216558,"ip":"42.109.136.11","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-16 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216558,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-16 07:56:29] local.INFO: Processing buffer {"connection_id":216558,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-16 07:56:29] local.INFO: IMEI packet received {"connection_id":216558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":216558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:56:30] local.INFO: TCP Data received {"connection_id":216558,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14287f9d0012d7e360005e0daa8000601182b..."} 
[2026-10-16 07:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14287f9d0012d7e360005e0daa8000601182b..."} 
[2026-10-16 07:56:30] local.INFO: Processing buffer {"connection_id":216558,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a142..."} 
[2026-10-16 07:56:30] local.INFO: IMEI packet received {"connection_id":216558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":216558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:56:32] local.INFO: TCP Data received {"connection_id":216558,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142883080012d7e138005e0e0e00005011f2c..."} 
[2026-10-16 07:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142883080012d7e138005e0e0e00005011f2c..."} 
[2026-10-16 07:56:32] local.INFO: Processing buffer {"connection_id":216558,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a14287f9d0012d7e360005e0daa8000601182b..."} 
[2026-10-16 07:56:32] local.INFO: Packet analysis {"connection_id":216558,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a14287"} 
[2026-10-16 07:56:32] local.INFO: Extracted packet for processing {"connection_id":216558,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14287"} 
[2026-10-16 07:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":98622120,"longitude_deg":76.324608,"latitude_deg":9.862212,"altitude":6,"angle":280,"satellites":43,"speed":40,"hex_longitude":"2d7e3600","hex_latitude":"05e0daa8","is_valid_coordinates":true} 
[2026-10-16 07:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782096384001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145387842720235520,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101493397186260992,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792117570000,"timestamp_ms":1792117570000,"timestamp_seconds":1792117570,"priority":1,"record_length":96,"hex_timestamp":"000001a14287f9d0"} 
[2026-10-16 07:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 07:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782096384001,"66":13222,"122":206,"85":15104,"24":40,"16":145387842720235520,"45":9101493397186260992},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-16 07:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782096384001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:56:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 07:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145387842720235520,"km_value":145387842720235.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101493397186260992,"description":"Unknown IO ID 45"} 
[2026-10-16 07:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782096384001,"power":13222,"unknown_122":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9101493397186260992}} 
[2026-10-16 07:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":216558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:56:32] local.INFO: GPS data processed {"connection_id":216558,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:56:32] local.INFO: Acknowledgment sent {"connection_id":216558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:56:32] local.INFO: Packet analysis {"connection_id":216558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14288"} 
[2026-10-16 07:56:32] local.INFO: Extracted packet for processing {"connection_id":216558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14288"} 
[2026-10-16 07:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763237248,"raw_latitude":98623712,"longitude_deg":76.3237248,"latitude_deg":9.8623712,"altitude":5,"angle":287,"satellites":44,"speed":5,"hex_longitude":"2d7e1380","hex_latitude":"05e0e0e0","is_valid_coordinates":true} 
[2026-10-16 07:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782097920001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145388272216965120,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522768558080,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792117584000,"timestamp_ms":1792117584000,"timestamp_seconds":1792117584,"priority":1,"record_length":96,"hex_timestamp":"000001a142883080"} 
[2026-10-16 07:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-10-16 07:56:32] 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-10-16 07:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782097920001,"66":13363,"122":206,"85":15104,"24":5,"16":145388272216965120,"45":9094456522768558080},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-16 07:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782097920001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:56:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 07:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145388272216965120,"km_value":145388272216965.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522768558080,"description":"Unknown IO ID 45"} 
[2026-10-16 07:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782097920001,"power":13363,"unknown_122":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9094456522768558080}} 
[2026-10-16 07:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":216558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:56:32] local.INFO: GPS data processed {"connection_id":216558,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:56:32] local.INFO: Acknowledgment sent {"connection_id":216558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:56:45] local.INFO: TCP Data received {"connection_id":216558,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142883468012d7e134005e0e1580005013b2c..."} 
[2026-10-16 07:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142883468012d7e134005e0e1580005013b2c..."} 
[2026-10-16 07:56:45] local.INFO: Processing buffer {"connection_id":216558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142883468012d7e134005e0e1580005013b2c..."} 
[2026-10-16 07:56:45] local.INFO: Packet analysis {"connection_id":216558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14288"} 
[2026-10-16 07:56:45] local.INFO: Extracted packet for processing {"connection_id":216558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14288"} 
[2026-10-16 07:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763237184,"raw_latitude":98623832,"longitude_deg":76.3237184,"latitude_deg":9.8623832,"altitude":5,"angle":315,"satellites":44,"speed":8,"hex_longitude":"2d7e1340","hex_latitude":"05e0e158","is_valid_coordinates":true} 
[2026-10-16 07:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782101504001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145388276511932416,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084745636072448000,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792117585000,"timestamp_ms":1792117585000,"timestamp_seconds":1792117585,"priority":1,"record_length":96,"hex_timestamp":"000001a142883468"} 
[2026-10-16 07:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:56:45] 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-10-16 07:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-16 07:56:45] 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-10-16 07:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782101504001,"66":13798,"122":206,"85":15104,"24":8,"16":145388276511932416,"45":9084745636072448000},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-16 07:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782101504001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:56:45] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 07:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145388276511932416,"km_value":145388276511932.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084745636072448000,"description":"Unknown IO ID 45"} 
[2026-10-16 07:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782101504001,"power":13798,"unknown_122":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9084745636072448000}} 
[2026-10-16 07:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":216558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:56:45] local.INFO: GPS data processed {"connection_id":216558,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:56:45] local.INFO: Acknowledgment sent {"connection_id":216558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:56:51] local.INFO: TCP Data received {"connection_id":216378,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:56:51] local.INFO: Processing buffer {"connection_id":216378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 07:56:51] local.INFO: IMEI packet received {"connection_id":216378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 07:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":216378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:56:55] local.INFO: TCP Data received {"connection_id":217908,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:56:55] local.INFO: Processing buffer {"connection_id":217908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:56:55] local.INFO: Packet analysis {"connection_id":217908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:56:55] local.INFO: Extracted packet for processing {"connection_id":217908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117352000,"timestamp_ms":1792117352000,"timestamp_seconds":1792117352,"priority":1,"record_length":96,"hex_timestamp":"000001a14284a640"} 
[2026-10-16 07:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:56:55] 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-10-16 07:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:56:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:56:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":217908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:56:55] local.INFO: GPS data processed {"connection_id":217908,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:56:55] local.INFO: Acknowledgment sent {"connection_id":217908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:57:16] local.INFO: TCP Data received {"connection_id":219652,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:57:16] local.INFO: Processing buffer {"connection_id":219652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:57:16] local.INFO: IMEI packet received {"connection_id":219652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":219652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:57:20] local.INFO: TCP Data received {"connection_id":217909,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:57:20] local.INFO: Processing buffer {"connection_id":217909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:57:20] local.INFO: IMEI packet received {"connection_id":217909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":217909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:57:21] local.INFO: TCP Data received {"connection_id":217909,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:57:21] local.INFO: Processing buffer {"connection_id":217909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:57:21] local.INFO: IMEI packet received {"connection_id":217909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":217909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:57:22] local.INFO: TCP Data received {"connection_id":219652,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:57:22] local.INFO: Processing buffer {"connection_id":219652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:57:22] local.INFO: IMEI packet received {"connection_id":219652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":219652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:57:23] local.INFO: TCP Data received {"connection_id":217909,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:57:23] local.INFO: Processing buffer {"connection_id":217909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:57:23] local.INFO: IMEI packet received {"connection_id":217909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":217909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:57:23] local.INFO: TCP Data received {"connection_id":219652,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:57:23] local.INFO: Processing buffer {"connection_id":219652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:57:23] local.INFO: Packet analysis {"connection_id":219652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:57:23] local.INFO: Extracted packet for processing {"connection_id":219652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117352000,"timestamp_ms":1792117352000,"timestamp_seconds":1792117352,"priority":1,"record_length":96,"hex_timestamp":"000001a14284a640"} 
[2026-10-16 07:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:57:23] 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-10-16 07:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:57:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:57:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":219652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:57:23] local.INFO: GPS data processed {"connection_id":219652,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:57:23] local.INFO: Acknowledgment sent {"connection_id":219652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:57:24] local.INFO: TCP Data received {"connection_id":217909,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142883850012d7e128005e0e2200005014e2d..."} 
[2026-10-16 07:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142883850012d7e128005e0e2200005014e2d..."} 
[2026-10-16 07:57:24] local.INFO: Processing buffer {"connection_id":217909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142883850012d7e128005e0e2200005014e2d..."} 
[2026-10-16 07:57:24] local.INFO: Packet analysis {"connection_id":217909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14288"} 
[2026-10-16 07:57:24] local.INFO: Extracted packet for processing {"connection_id":217909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14288"} 
[2026-10-16 07:57:24] local.INFO: GPS Element Parsed {"raw_longitude":763236992,"raw_latitude":98624032,"longitude_deg":76.3236992,"latitude_deg":9.8624032,"altitude":5,"angle":334,"satellites":45,"speed":10,"hex_longitude":"2d7e1280","hex_latitude":"05e0e220","is_valid_coordinates":true} 
[2026-10-16 07:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782101760001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145388289396834304,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084675267328301056,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792117586000,"timestamp_ms":1792117586000,"timestamp_seconds":1792117586,"priority":1,"record_length":96,"hex_timestamp":"000001a142883850"} 
[2026-10-16 07:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 07:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782101760001,"66":13798,"122":206,"85":15104,"24":10,"16":145388289396834304,"45":9084675267328301056},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-10-16 07:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782101760001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:57:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 07:57:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145388289396834304,"km_value":145388289396834.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084675267328301056,"description":"Unknown IO ID 45"} 
[2026-10-16 07:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782101760001,"power":13798,"unknown_122":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9084675267328301056}} 
[2026-10-16 07:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":217909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:57:24] local.INFO: GPS data processed {"connection_id":217909,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:57:24] local.INFO: Acknowledgment sent {"connection_id":217909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:57:55] local.INFO: TCP Data received {"connection_id":219652,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:57:55] local.INFO: Processing buffer {"connection_id":219652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14284a640012d7f98c005afddb00000002f23..."} 
[2026-10-16 07:57:55] local.INFO: Packet analysis {"connection_id":219652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:57:55] local.INFO: Extracted packet for processing {"connection_id":219652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14284"} 
[2026-10-16 07:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458781965056001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117352000,"timestamp_ms":1792117352000,"timestamp_seconds":1792117352,"priority":1,"record_length":96,"hex_timestamp":"000001a14284a640"} 
[2026-10-16 07:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:57:55] 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-10-16 07:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458781965056001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458781965056001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:57:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:57:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458781965056001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":219652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:57:55] local.INFO: GPS data processed {"connection_id":219652,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:57:55] local.INFO: Acknowledgment sent {"connection_id":219652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:57:55] local.INFO: TCP Data received {"connection_id":217909,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428978a0012d7e288005e20bb8000001412a..."} 
[2026-10-16 07:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428978a0012d7e288005e20bb8000001412a..."} 
[2026-10-16 07:57:55] local.INFO: Processing buffer {"connection_id":217909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428978a0012d7e288005e20bb8000001412a..."} 
[2026-10-16 07:57:55] local.INFO: Packet analysis {"connection_id":217909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:57:55] local.INFO: Extracted packet for processing {"connection_id":217909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763242624,"raw_latitude":98700216,"longitude_deg":76.3242624,"latitude_deg":9.8700216,"altitude":0,"angle":321,"satellites":42,"speed":22,"hex_longitude":"2d7e2880","hex_latitude":"05e20bb8","is_valid_coordinates":true} 
[2026-10-16 07:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782122496001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145392086147923968,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091360298044461056,"note":"Value kept but may cause issues"} 
[2026-10-16 07:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117668000,"timestamp_ms":1792117668000,"timestamp_seconds":1792117668,"priority":1,"record_length":96,"hex_timestamp":"000001a1428978a0"} 
[2026-10-16 07:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:57:55] 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-10-16 07:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 07:57:55] 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-10-16 07:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782122496001,"66":13646,"198":206,"85":15104,"24":22,"16":145392086147923968,"45":9091360298044461056},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 07:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782122496001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:57:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 07:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145392086147923968,"km_value":145392086147923.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091360298044461056,"description":"Unknown IO ID 45"} 
[2026-10-16 07:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782122496001,"power":13646,"unknown_198":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9091360298044461056}} 
[2026-10-16 07:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":217909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:57:55] local.INFO: GPS data processed {"connection_id":217909,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:57:55] local.INFO: Acknowledgment sent {"connection_id":217909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:58:21] local.INFO: TCP Data received {"connection_id":219653,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:58:21] local.INFO: Processing buffer {"connection_id":219653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:58:21] local.INFO: IMEI packet received {"connection_id":219653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":219653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:58:22] local.INFO: TCP Data received {"connection_id":216379,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:58:22] local.INFO: Processing buffer {"connection_id":216379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:58:22] local.INFO: IMEI packet received {"connection_id":216379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":216379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:58:26] local.INFO: TCP Data received {"connection_id":219653,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:58:26] local.INFO: Processing buffer {"connection_id":219653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:58:26] local.INFO: IMEI packet received {"connection_id":219653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":219653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:58:27] local.INFO: TCP Data received {"connection_id":219653,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142897c88012d7e26c005e20cf80001012c27..."} 
[2026-10-16 07:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142897c88012d7e26c005e20cf80001012c27..."} 
[2026-10-16 07:58:27] local.INFO: Processing buffer {"connection_id":219653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142897c88012d7e26c005e20cf80001012c27..."} 
[2026-10-16 07:58:27] local.INFO: Packet analysis {"connection_id":219653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:58:27] local.INFO: Extracted packet for processing {"connection_id":219653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763242176,"raw_latitude":98700536,"longitude_deg":76.3242176,"latitude_deg":9.8700536,"altitude":1,"angle":300,"satellites":39,"speed":21,"hex_longitude":"2d7e26c0","hex_latitude":"05e20cf8","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782123008001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145392116212695040,"note":"Value kept but may cause issues"} 
[2026-10-16 07:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090656610602956800,"note":"Value kept but may cause issues"} 
[2026-10-16 07:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792117669000,"timestamp_ms":1792117669000,"timestamp_seconds":1792117669,"priority":1,"record_length":96,"hex_timestamp":"000001a142897c88"} 
[2026-10-16 07:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 07:58:27] 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-10-16 07: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-10-16 07:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782123008001,"66":13906,"198":206,"85":15104,"24":21,"16":145392116212695040,"45":9090656610602956800},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 07:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782123008001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:58:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 07:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145392116212695040,"km_value":145392116212695.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090656610602956800,"description":"Unknown IO ID 45"} 
[2026-10-16 07:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782123008001,"power":13906,"unknown_198":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9090656610602956800}} 
[2026-10-16 07:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":219653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:58:27] local.INFO: GPS data processed {"connection_id":219653,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:58:27] local.INFO: Acknowledgment sent {"connection_id":219653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:58:28] local.INFO: TCP Data received {"connection_id":216379,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:58:28] local.INFO: Processing buffer {"connection_id":216379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:58:28] local.INFO: IMEI packet received {"connection_id":216379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":216379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:58:29] local.INFO: TCP Data received {"connection_id":216379,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:58:29] local.INFO: Processing buffer {"connection_id":216379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:58:29] local.INFO: Packet analysis {"connection_id":216379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:58:29] local.INFO: Extracted packet for processing {"connection_id":216379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782042112001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792117653000,"timestamp_ms":1792117653000,"timestamp_seconds":1792117653,"priority":1,"record_length":96,"hex_timestamp":"000001a142893e08"} 
[2026-10-16 07:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:58:29] 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-10-16 07:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782042112001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782042112001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:58:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:58:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782042112001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":216379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:58:29] local.INFO: GPS data processed {"connection_id":216379,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:58:29] local.INFO: Acknowledgment sent {"connection_id":216379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:58:58] local.INFO: TCP Data received {"connection_id":219653,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142898070012d7e248005e20d900001011d26..."} 
[2026-10-16 07:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142898070012d7e248005e20d900001011d26..."} 
[2026-10-16 07:58:58] local.INFO: Processing buffer {"connection_id":219653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142898070012d7e248005e20d900001011d26..."} 
[2026-10-16 07:58:58] local.INFO: Packet analysis {"connection_id":219653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:58:58] local.INFO: Extracted packet for processing {"connection_id":219653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763241600,"raw_latitude":98700688,"longitude_deg":76.32416,"latitude_deg":9.8700688,"altitude":1,"angle":285,"satellites":38,"speed":24,"hex_longitude":"2d7e2480","hex_latitude":"05e20d90","is_valid_coordinates":true} 
[2026-10-16 07: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-10-16 07:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782123264001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145392146277466112,"note":"Value kept but may cause issues"} 
[2026-10-16 07:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090164029393795072,"note":"Value kept but may cause issues"} 
[2026-10-16 07:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792117670000,"timestamp_ms":1792117670000,"timestamp_seconds":1792117670,"priority":1,"record_length":96,"hex_timestamp":"000001a142898070"} 
[2026-10-16 07:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-16 07:58:58] 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-10-16 07: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-10-16 07:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782123264001,"66":13906,"198":206,"85":15104,"24":24,"16":145392146277466112,"45":9090164029393795072},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 07:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782123264001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:58:58] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 07:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145392146277466112,"km_value":145392146277466.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090164029393795072,"description":"Unknown IO ID 45"} 
[2026-10-16 07:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782123264001,"power":13906,"unknown_198":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9090164029393795072}} 
[2026-10-16 07:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":219653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:58:58] local.INFO: GPS data processed {"connection_id":219653,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:58:58] local.INFO: Acknowledgment sent {"connection_id":219653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:59:00] local.INFO: TCP Data received {"connection_id":216379,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:59:00] local.INFO: Processing buffer {"connection_id":216379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:59:00] local.INFO: Packet analysis {"connection_id":216379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:59:00] local.INFO: Extracted packet for processing {"connection_id":216379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782042112001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792117653000,"timestamp_ms":1792117653000,"timestamp_seconds":1792117653,"priority":1,"record_length":96,"hex_timestamp":"000001a142893e08"} 
[2026-10-16 07:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:59:00] 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-10-16 07:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782042112001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782042112001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:59:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782042112001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":216379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:59:00] local.INFO: GPS data processed {"connection_id":216379,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:59:00] local.INFO: Acknowledgment sent {"connection_id":216379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:59:16] local.INFO: TCP Data received {"connection_id":216561,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:59:16] local.INFO: Processing buffer {"connection_id":216561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:59:16] local.INFO: IMEI packet received {"connection_id":216561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 07:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":216561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:59:20] local.INFO: TCP Data received {"connection_id":216562,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:59:20] local.INFO: Processing buffer {"connection_id":216562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:59:20] local.INFO: IMEI packet received {"connection_id":216562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 07:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":216562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:59:21] local.INFO: TCP Data received {"connection_id":216562,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:59:21] local.INFO: Processing buffer {"connection_id":216562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:59:21] local.INFO: IMEI packet received {"connection_id":216562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":216562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:59:22] local.INFO: TCP Data received {"connection_id":216561,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:59:22] local.INFO: Processing buffer {"connection_id":216561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 07:59:22] local.INFO: IMEI packet received {"connection_id":216561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 07:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":216561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:59:23] local.INFO: TCP Data received {"connection_id":216561,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:59:23] local.INFO: Processing buffer {"connection_id":216561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:59:23] local.INFO: Packet analysis {"connection_id":216561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:59:23] local.INFO: Extracted packet for processing {"connection_id":216561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782042112001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117653000,"timestamp_ms":1792117653000,"timestamp_seconds":1792117653,"priority":1,"record_length":96,"hex_timestamp":"000001a142893e08"} 
[2026-10-16 07:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:59:23] 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-10-16 07:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782042112001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782042112001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:59:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:59:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782042112001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":216561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:59:23] local.INFO: GPS data processed {"connection_id":216561,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:59:23] local.INFO: Acknowledgment sent {"connection_id":216561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:59:26] local.INFO: TCP Data received {"connection_id":216562,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:59:26] local.INFO: Processing buffer {"connection_id":216562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 07:59:26] local.INFO: IMEI packet received {"connection_id":216562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 07:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":216562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 07:59:28] local.INFO: TCP Data received {"connection_id":216562,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428993f8012d7e184005e20f080002011129..."} 
[2026-10-16 07:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428993f8012d7e184005e20f080002011129..."} 
[2026-10-16 07:59:28] local.INFO: Processing buffer {"connection_id":216562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428993f8012d7e184005e20f080002011129..."} 
[2026-10-16 07:59:28] local.INFO: Packet analysis {"connection_id":216562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:59:28] local.INFO: Extracted packet for processing {"connection_id":216562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763238464,"raw_latitude":98701064,"longitude_deg":76.3238464,"latitude_deg":9.8701064,"altitude":2,"angle":273,"satellites":41,"speed":21,"hex_longitude":"2d7e1840","hex_latitude":"05e20f08","is_valid_coordinates":true} 
[2026-10-16 07:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782123520001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145392296601321472,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089530710696235008,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792117675000,"timestamp_ms":1792117675000,"timestamp_seconds":1792117675,"priority":1,"record_length":96,"hex_timestamp":"000001a1428993f8"} 
[2026-10-16 07:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-16 07:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 07:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782123520001,"66":13319,"198":206,"85":15104,"24":21,"16":145392296601321472,"45":9089530710696235008},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 07:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782123520001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:59:28] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 07:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145392296601321472,"km_value":145392296601321.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089530710696235008,"description":"Unknown IO ID 45"} 
[2026-10-16 07:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782123520001,"power":13319,"unknown_198":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9089530710696235008}} 
[2026-10-16 07:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":216562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:59:28] local.INFO: GPS data processed {"connection_id":216562,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:59:28] local.INFO: Acknowledgment sent {"connection_id":216562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:59:55] local.INFO: TCP Data received {"connection_id":216561,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:59:55] local.INFO: Processing buffer {"connection_id":216561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 07:59:55] local.INFO: Packet analysis {"connection_id":216561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:59:55] local.INFO: Extracted packet for processing {"connection_id":216561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 07:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782042112001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117653000,"timestamp_ms":1792117653000,"timestamp_seconds":1792117653,"priority":1,"record_length":96,"hex_timestamp":"000001a142893e08"} 
[2026-10-16 07:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 07:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 07:59:55] 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-10-16 07:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 07:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 07:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 07:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 07:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782042112001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 07:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 07:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 07:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782042112001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:59:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 07:59:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 07:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 07:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782042112001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 07:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":216561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:59:55] local.INFO: GPS data processed {"connection_id":216561,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:59:55] local.INFO: Acknowledgment sent {"connection_id":216561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 07:59:58] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 07:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 07:59:58] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 07:59:58] local.INFO: IMEI packet received {"connection_id":217910,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 07:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":217910,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 07:59:59] local.INFO: TCP Data received {"connection_id":216562,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14289e218012d7e08c005e210e0000301162c..."} 
[2026-10-16 07:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14289e218012d7e08c005e210e0000301162c..."} 
[2026-10-16 07:59:59] local.INFO: Processing buffer {"connection_id":216562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14289e218012d7e08c005e210e0000301162c..."} 
[2026-10-16 07:59:59] local.INFO: Packet analysis {"connection_id":216562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:59:59] local.INFO: Extracted packet for processing {"connection_id":216562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 07:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763234496,"raw_latitude":98701536,"longitude_deg":76.3234496,"latitude_deg":9.8701536,"altitude":3,"angle":278,"satellites":44,"speed":13,"hex_longitude":"2d7e08c0","hex_latitude":"05e210e0","is_valid_coordinates":true} 
[2026-10-16 07:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782124800001,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145392489874849792,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086082642231625728,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 07:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792117695000,"timestamp_ms":1792117695000,"timestamp_seconds":1792117695,"priority":1,"record_length":96,"hex_timestamp":"000001a14289e218"} 
[2026-10-16 07:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 07:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 07:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":137,"raw_value":1655074157959757829,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2305871873,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":2297888768,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1606811854,"corrected_to":0} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2415996286,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787868160,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57807669952402747,"corrected_to":0} 
[2026-10-16 07:59:59] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5620492330661369856,"note":"Value kept but may cause issues"} 
[2026-10-16 07:59:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,198,85,24,241,157,16,137,161,128,45,13,1,38,10,66,124,192,12,39,120,240,78,227,226,4,113,205,26,81,43,41,239,53,2,5,247,225],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1606811854,"validated":0},{"io_id":247,"original":57807669952402747,"validated":0}]} 
[2026-10-16 07:59:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144415530845274112,"timestamp_seconds":144415530845274.12,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 07:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 07:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 07:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 07:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 07:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 07:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 07:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 07:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782124800001,"66":13820,"198":206,"85":15104,"24":13,"16":145392489874849792,"45":9086082642231625728},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 07:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 07:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 07:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782124800001,"description":"Unknown IO ID 0"} 
[2026-10-16 07:59:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 07:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 07:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145392489874849792,"km_value":145392489874849.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 07:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086082642231625728,"description":"Unknown IO ID 45"} 
[2026-10-16 07:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782124800001,"power":13820,"unknown_198":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9086082642231625728}} 
[2026-10-16 07:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":216562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 07:59:59] local.INFO: GPS data processed {"connection_id":216562,"processed":1,"errors":0,"total":1} 
[2026-10-16 07:59:59] local.INFO: Acknowledgment sent {"connection_id":216562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:00:04] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:00:04] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:00:04] local.INFO: IMEI packet received {"connection_id":217910,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":217910,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:00:07] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a00000000000140500100000000000000000000000000..."} 
[2026-10-16 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000140500100000000000000000000000000..."} 
[2026-10-16 08:00:07] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000140500100000000000000000000000000..."} 
[2026-10-16 08:00:07] local.INFO: Packet analysis {"connection_id":217910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-10-16 08:00:07] local.INFO: Extracted packet for processing {"connection_id":217910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-10-16 08:00:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 08:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36389020221046784,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 08:00:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":82000,"timestamp_seconds":82,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:00:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 08:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":217910,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 08:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 08:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 08:00:07] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 08:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":217910,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 08:00:07] local.ERROR: GPS data processing failed {"connection_id":217910,"error":"No valid data to process"} 
[2026-10-16 08:00:07] local.INFO: Acknowledgment sent {"connection_id":217910,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 08:00:21] local.INFO: TCP Data received {"connection_id":219655,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:00:21] local.INFO: Processing buffer {"connection_id":219655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:00:21] local.INFO: IMEI packet received {"connection_id":219655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":219655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:00:22] local.INFO: TCP Data received {"connection_id":216380,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:00:22] local.INFO: Processing buffer {"connection_id":216380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:00:22] local.INFO: IMEI packet received {"connection_id":216380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":216380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:00:24] local.INFO: TCP Data received {"connection_id":219655,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:00:24] local.INFO: Processing buffer {"connection_id":219655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:00:24] local.INFO: IMEI packet received {"connection_id":219655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":219655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:00:26] local.INFO: TCP Data received {"connection_id":219655,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:00:26] local.INFO: Processing buffer {"connection_id":219655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:00:26] local.INFO: IMEI packet received {"connection_id":219655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":219655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:00:27] local.INFO: TCP Data received {"connection_id":219655,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428a3420012d7e044005e211d00005011928..."} 
[2026-10-16 08:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428a3420012d7e044005e211d00005011928..."} 
[2026-10-16 08:00:27] local.INFO: Processing buffer {"connection_id":219655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428a3420012d7e044005e211d00005011928..."} 
[2026-10-16 08:00:27] local.INFO: Packet analysis {"connection_id":219655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428a"} 
[2026-10-16 08:00:27] local.INFO: Extracted packet for processing {"connection_id":219655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428a"} 
[2026-10-16 08:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763233344,"raw_latitude":98701776,"longitude_deg":76.3233344,"latitude_deg":9.8701776,"altitude":5,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d7e0440","hex_latitude":"05e211d0","is_valid_coordinates":true} 
[2026-10-16 08:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782129920001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145392545709424640,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9081719780092731392,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792117716000,"timestamp_ms":1792117716000,"timestamp_seconds":1792117716,"priority":1,"record_length":96,"hex_timestamp":"000001a1428a3420"} 
[2026-10-16 08:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:00: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-10-16 08:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 08:00:27] 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-10-16 08:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782129920001,"66":13200,"198":206,"85":15104,"24":0,"16":145392545709424640,"45":9081719780092731392},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 08:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782129920001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:00:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 08:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145392545709424640,"km_value":145392545709424.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9081719780092731392,"description":"Unknown IO ID 45"} 
[2026-10-16 08:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782129920001,"power":13200,"unknown_198":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9081719780092731392}} 
[2026-10-16 08:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":219655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:00:27] local.INFO: GPS data processed {"connection_id":219655,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:00:27] local.INFO: Acknowledgment sent {"connection_id":219655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:00:27] local.INFO: TCP Data received {"connection_id":216380,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:00:27] local.INFO: Processing buffer {"connection_id":216380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:00:27] local.INFO: IMEI packet received {"connection_id":216380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":216380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:00:29] local.INFO: TCP Data received {"connection_id":216380,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:00:29] local.INFO: Processing buffer {"connection_id":216380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:00:29] local.INFO: Packet analysis {"connection_id":216380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:00:29] local.INFO: Extracted packet for processing {"connection_id":216380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782042112001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792117653000,"timestamp_ms":1792117653000,"timestamp_seconds":1792117653,"priority":1,"record_length":96,"hex_timestamp":"000001a142893e08"} 
[2026-10-16 08:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:00:29] 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-10-16 08:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782042112001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782042112001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:00:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:00:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782042112001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":216380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:00:29] local.INFO: GPS data processed {"connection_id":216380,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:00:29] local.INFO: Acknowledgment sent {"connection_id":216380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:00:32] local.INFO: TCP Data received {"connection_id":219655,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428a8628012d7e044005e211d00005011928..."} 
[2026-10-16 08:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428a8628012d7e044005e211d00005011928..."} 
[2026-10-16 08:00:32] local.INFO: Processing buffer {"connection_id":219655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428a8628012d7e044005e211d00005011928..."} 
[2026-10-16 08:00:32] local.INFO: Packet analysis {"connection_id":219655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428a"} 
[2026-10-16 08:00:32] local.INFO: Extracted packet for processing {"connection_id":219655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428a"} 
[2026-10-16 08:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763233344,"raw_latitude":98701776,"longitude_deg":76.3233344,"latitude_deg":9.8701776,"altitude":5,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d7e0440","hex_latitude":"05e211d0","is_valid_coordinates":true} 
[2026-10-16 08:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782135296001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145392545709424640,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080453142697594880,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792117737000,"timestamp_ms":1792117737000,"timestamp_seconds":1792117737,"priority":1,"record_length":96,"hex_timestamp":"000001a1428a8628"} 
[2026-10-16 08:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 08:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782135296001,"66":12906,"198":206,"85":15104,"24":0,"16":145392545709424640,"45":9080453142697594880},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 08:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782135296001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:00:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 08:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145392545709424640,"km_value":145392545709424.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080453142697594880,"description":"Unknown IO ID 45"} 
[2026-10-16 08:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782135296001,"power":12906,"unknown_198":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080453142697594880}} 
[2026-10-16 08:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":219655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:00:32] local.INFO: GPS data processed {"connection_id":219655,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:00:32] local.INFO: Acknowledgment sent {"connection_id":219655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:00:32] local.INFO: TCP Data received {"connection_id":216380,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:00:32] local.INFO: Processing buffer {"connection_id":216380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:00:32] local.INFO: Packet analysis {"connection_id":216380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:00:32] local.INFO: Extracted packet for processing {"connection_id":216380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782042112001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792117653000,"timestamp_ms":1792117653000,"timestamp_seconds":1792117653,"priority":1,"record_length":96,"hex_timestamp":"000001a142893e08"} 
[2026-10-16 08:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782042112001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782042112001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:00:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:00:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782042112001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":216380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:00:32] local.INFO: GPS data processed {"connection_id":216380,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:00:32] local.INFO: Acknowledgment sent {"connection_id":216380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:00:38] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000000000004c6a80100000000000000000000000000..."} 
[2026-10-16 08:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000004c6a80100000000000000000000000000..."} 
[2026-10-16 08:00:38] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000004c6a80100000000000000000000000000..."} 
[2026-10-16 08:00:38] local.INFO: Packet analysis {"connection_id":217910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-10-16 08:00:38] local.INFO: Extracted packet for processing {"connection_id":217910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000004"} 
[2026-10-16 08:00:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36389020221046784,"note":"Value kept but may cause issues"} 
[2026-10-16 08:00:38] 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-10-16 08:00:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":313000,"timestamp_seconds":313,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:00:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 08:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217910,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 08:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 08:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 08:00:38] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 08:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":217910,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 08:00:38] local.ERROR: GPS data processing failed {"connection_id":217910,"error":"No valid data to process"} 
[2026-10-16 08:00:38] local.INFO: Acknowledgment sent {"connection_id":217910,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 08:01:02] local.INFO: TCP Data received {"connection_id":219655,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428ad830012d7e044005e211d0000501192b..."} 
[2026-10-16 08:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428ad830012d7e044005e211d0000501192b..."} 
[2026-10-16 08:01:02] local.INFO: Processing buffer {"connection_id":219655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428ad830012d7e044005e211d0000501192b..."} 
[2026-10-16 08:01:02] local.INFO: Packet analysis {"connection_id":219655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428a"} 
[2026-10-16 08:01:02] local.INFO: Extracted packet for processing {"connection_id":219655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428a"} 
[2026-10-16 08:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763233344,"raw_latitude":98701776,"longitude_deg":76.3233344,"latitude_deg":9.8701776,"altitude":5,"angle":281,"satellites":43,"speed":0,"hex_longitude":"2d7e0440","hex_latitude":"05e211d0","is_valid_coordinates":true} 
[2026-10-16 08:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782140672001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145392545709424640,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080453142697594880,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792117758000,"timestamp_ms":1792117758000,"timestamp_seconds":1792117758,"priority":1,"record_length":96,"hex_timestamp":"000001a1428ad830"} 
[2026-10-16 08:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-16 08:01:02] 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-10-16 08:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":219655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":219655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":219655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782140672001,"66":13450,"198":206,"85":15104,"24":0,"16":145392545709424640,"45":9080453142697594880},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-10-16 08:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782140672001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:01:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 08:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145392545709424640,"km_value":145392545709424.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080453142697594880,"description":"Unknown IO ID 45"} 
[2026-10-16 08:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782140672001,"power":13450,"unknown_198":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080453142697594880}} 
[2026-10-16 08:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":219655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:01:03] local.INFO: GPS data processed {"connection_id":219655,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:01:03] local.INFO: Acknowledgment sent {"connection_id":219655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:01:09] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a00000000000518b00100000000000000000000000000..."} 
[2026-10-16 08:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000518b00100000000000000000000000000..."} 
[2026-10-16 08:01:09] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000518b00100000000000000000000000000..."} 
[2026-10-16 08:01:09] local.INFO: Packet analysis {"connection_id":217910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-10-16 08:01:09] local.INFO: Extracted packet for processing {"connection_id":217910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000005"} 
[2026-10-16 08:01:09] 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-10-16 08: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-10-16 08:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36389020221046784,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:09] 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-10-16 08:01:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":334000,"timestamp_seconds":334,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:01:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 08:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":217910,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 08:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 08:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 08:01:09] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 08:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":217910,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 08:01:09] local.ERROR: GPS data processing failed {"connection_id":217910,"error":"No valid data to process"} 
[2026-10-16 08:01:09] local.INFO: Acknowledgment sent {"connection_id":217910,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 08:01:17] local.INFO: TCP Data received {"connection_id":217911,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:01:17] local.INFO: Processing buffer {"connection_id":217911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:01:17] local.INFO: IMEI packet received {"connection_id":217911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":217911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:01:22] local.INFO: TCP Data received {"connection_id":217911,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:01:22] local.INFO: Processing buffer {"connection_id":217911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:01:22] local.INFO: IMEI packet received {"connection_id":217911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":217911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:01:24] local.INFO: TCP Data received {"connection_id":219657,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:01:24] local.INFO: Processing buffer {"connection_id":219657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:01:24] local.INFO: IMEI packet received {"connection_id":219657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":219657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:01:24] local.INFO: TCP Data received {"connection_id":219657,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:01:24] local.INFO: Processing buffer {"connection_id":219657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:01:24] local.INFO: IMEI packet received {"connection_id":219657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":219657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:01:24] local.INFO: TCP Data received {"connection_id":217911,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:01:24] local.INFO: Processing buffer {"connection_id":217911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:01:24] local.INFO: Packet analysis {"connection_id":217911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:01:24] local.INFO: Extracted packet for processing {"connection_id":217911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782042112001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792117653000,"timestamp_ms":1792117653000,"timestamp_seconds":1792117653,"priority":1,"record_length":96,"hex_timestamp":"000001a142893e08"} 
[2026-10-16 08:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:01:24] 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-10-16 08:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782042112001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782042112001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:01:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:01:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782042112001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":217911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:01:24] local.INFO: GPS data processed {"connection_id":217911,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:01:24] local.INFO: Acknowledgment sent {"connection_id":217911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:01:26] local.INFO: TCP Data received {"connection_id":219657,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:01:26] local.INFO: Processing buffer {"connection_id":219657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:01:26] local.INFO: IMEI packet received {"connection_id":219657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":219657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:01:27] local.INFO: TCP Data received {"connection_id":219657,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428c5318012d7cf3c005e20c70000601062e..."} 
[2026-10-16 08:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428c5318012d7cf3c005e20c70000601062e..."} 
[2026-10-16 08:01:27] local.INFO: Processing buffer {"connection_id":219657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428c5318012d7cf3c005e20c70000601062e..."} 
[2026-10-16 08:01:27] local.INFO: Packet analysis {"connection_id":219657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428c"} 
[2026-10-16 08:01:27] local.INFO: Extracted packet for processing {"connection_id":219657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428c"} 
[2026-10-16 08:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763163584,"raw_latitude":98700400,"longitude_deg":76.3163584,"latitude_deg":9.87004,"altitude":6,"angle":262,"satellites":46,"speed":29,"hex_longitude":"2d7cf3c0","hex_latitude":"05e20c70","is_valid_coordinates":true} 
[2026-10-16 08:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782168576001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145395947323523072,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010295504752021504,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:27] 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-10-16 08:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792117855000,"timestamp_ms":1792117855000,"timestamp_seconds":1792117855,"priority":1,"record_length":96,"hex_timestamp":"000001a1428c5318"} 
[2026-10-16 08:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-16 08:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782168576001,"66":13450,"43":206,"85":15104,"24":29,"16":145395947323523072,"45":9010295504752021504},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 08:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782168576001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:01:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 08:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145395947323523072,"km_value":145395947323523.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010295504752021504,"description":"Unknown IO ID 45"} 
[2026-10-16 08:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782168576001,"power":13450,"unknown_43":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9010295504752021504}} 
[2026-10-16 08:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":219657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:01:27] local.INFO: GPS data processed {"connection_id":219657,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:01:27] local.INFO: Acknowledgment sent {"connection_id":219657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:01:40] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1428bf5580100000000000000000000000000..."} 
[2026-10-16 08:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428bf5580100000000000000000000000000..."} 
[2026-10-16 08:01:40] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428bf5580100000000000000000000000000..."} 
[2026-10-16 08:01:40] local.INFO: Packet analysis {"connection_id":217910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428b"} 
[2026-10-16 08:01:40] local.INFO: Extracted packet for processing {"connection_id":217910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428b"} 
[2026-10-16 08:01:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36389020221046784,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:40] 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-10-16 08:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792117831000,"timestamp_ms":1792117831000,"timestamp_seconds":1792117831,"priority":1,"record_length":96,"hex_timestamp":"000001a1428bf558"} 
[2026-10-16 08:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:01: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-16 08:01:40] 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-10-16 08: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-10-16 08:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":217910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":217910,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 08:01:40] local.INFO: GPS data processed {"connection_id":217910,"processed":0,"errors":0,"total":1} 
[2026-10-16 08:01:40] local.INFO: Acknowledgment sent {"connection_id":217910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:01:56] local.INFO: TCP Data received {"connection_id":217911,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:01:56] local.INFO: Processing buffer {"connection_id":217911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:01:56] local.INFO: Packet analysis {"connection_id":217911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:01:56] local.INFO: Extracted packet for processing {"connection_id":217911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782042112001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792117653000,"timestamp_ms":1792117653000,"timestamp_seconds":1792117653,"priority":1,"record_length":96,"hex_timestamp":"000001a142893e08"} 
[2026-10-16 08:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:01:56] 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-10-16 08:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782042112001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782042112001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:01:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:01:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782042112001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":217911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:01:56] local.INFO: GPS data processed {"connection_id":217911,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:01:56] local.INFO: Acknowledgment sent {"connection_id":217911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:01:58] local.INFO: TCP Data received {"connection_id":219657,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428ca138012d7cd68005e204e0000600fd2e..."} 
[2026-10-16 08:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428ca138012d7cd68005e204e0000600fd2e..."} 
[2026-10-16 08:01:58] local.INFO: Processing buffer {"connection_id":219657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428ca138012d7cd68005e204e0000600fd2e..."} 
[2026-10-16 08:01:58] local.INFO: Packet analysis {"connection_id":219657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428c"} 
[2026-10-16 08:01:58] local.INFO: Extracted packet for processing {"connection_id":219657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428c"} 
[2026-10-16 08:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763156096,"raw_latitude":98698464,"longitude_deg":76.3156096,"latitude_deg":9.8698464,"altitude":6,"angle":253,"satellites":46,"speed":0,"hex_longitude":"2d7cd680","hex_latitude":"05e204e0","is_valid_coordinates":true} 
[2026-10-16 08:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782170880001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145396316690710528,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003751211543588864,"note":"Value kept but may cause issues"} 
[2026-10-16 08:01:58] 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-10-16 08:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792117875000,"timestamp_ms":1792117875000,"timestamp_seconds":1792117875,"priority":1,"record_length":96,"hex_timestamp":"000001a1428ca138"} 
[2026-10-16 08:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-16 08:01:58] 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-10-16 08:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782170880001,"66":13580,"43":206,"85":15104,"24":0,"16":145396316690710528,"45":9003751211543588864},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 08:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782170880001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:01:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 08:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145396316690710528,"km_value":145396316690710.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003751211543588864,"description":"Unknown IO ID 45"} 
[2026-10-16 08:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782170880001,"power":13580,"unknown_43":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9003751211543588864}} 
[2026-10-16 08:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":219657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:01:58] local.INFO: GPS data processed {"connection_id":219657,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:01:58] local.INFO: Acknowledgment sent {"connection_id":219657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:02:11] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1428c47600100000000000000000000000000..."} 
[2026-10-16 08:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428c47600100000000000000000000000000..."} 
[2026-10-16 08:02:11] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428c47600100000000000000000000000000..."} 
[2026-10-16 08:02:11] local.INFO: Packet analysis {"connection_id":217910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428c"} 
[2026-10-16 08:02:11] local.INFO: Extracted packet for processing {"connection_id":217910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428c"} 
[2026-10-16 08:02: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-10-16 08: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-10-16 08:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36389020221046784,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 08:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792117852000,"timestamp_ms":1792117852000,"timestamp_seconds":1792117852,"priority":1,"record_length":96,"hex_timestamp":"000001a1428c4760"} 
[2026-10-16 08:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:02:11] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 08:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":217910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":217910,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 08:02:11] local.INFO: GPS data processed {"connection_id":217910,"processed":0,"errors":0,"total":1} 
[2026-10-16 08:02:11] local.INFO: Acknowledgment sent {"connection_id":217910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:02:16] local.INFO: TCP Data received {"connection_id":217912,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:02:16] local.INFO: TCP Data received {"connection_id":219658,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:02:16] local.INFO: Processing buffer {"connection_id":217912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:02:16] local.INFO: IMEI packet received {"connection_id":217912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":217912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:02:16] local.INFO: Processing buffer {"connection_id":219658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:02:16] local.INFO: IMEI packet received {"connection_id":219658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":219658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:02:21] local.INFO: TCP Data received {"connection_id":216381,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:02:21] local.INFO: Processing buffer {"connection_id":216381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:02:21] local.INFO: IMEI packet received {"connection_id":216381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":216381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:02:22] local.INFO: TCP Data received {"connection_id":217912,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:02:22] local.INFO: Processing buffer {"connection_id":217912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:02:22] local.INFO: IMEI packet received {"connection_id":217912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":217912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:02:23] local.INFO: TCP Data received {"connection_id":217912,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:02:23] local.INFO: Processing buffer {"connection_id":217912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:02:23] local.INFO: Packet analysis {"connection_id":217912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:02:23] local.INFO: Extracted packet for processing {"connection_id":217912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782042112001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117653000,"timestamp_ms":1792117653000,"timestamp_seconds":1792117653,"priority":1,"record_length":96,"hex_timestamp":"000001a142893e08"} 
[2026-10-16 08:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:02:23] 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-10-16 08: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-10-16 08:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782042112001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782042112001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:02:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:02:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782042112001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":217912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:02:23] local.INFO: GPS data processed {"connection_id":217912,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:02:23] local.INFO: Acknowledgment sent {"connection_id":217912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:02:26] local.INFO: TCP Data received {"connection_id":216381,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:02:26] local.INFO: Processing buffer {"connection_id":216381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:02:26] local.INFO: IMEI packet received {"connection_id":216381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":216381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:02:29] local.INFO: TCP Data received {"connection_id":216381,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428cb0d8012d7cd24005e20488000701092d..."} 
[2026-10-16 08:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428cb0d8012d7cd24005e20488000701092d..."} 
[2026-10-16 08:02:29] local.INFO: Processing buffer {"connection_id":216381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428cb0d8012d7cd24005e20488000701092d..."} 
[2026-10-16 08:02:29] local.INFO: Packet analysis {"connection_id":216381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428c"} 
[2026-10-16 08:02:29] local.INFO: Extracted packet for processing {"connection_id":216381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428c"} 
[2026-10-16 08:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763155008,"raw_latitude":98698376,"longitude_deg":76.3155008,"latitude_deg":9.8698376,"altitude":7,"angle":265,"satellites":45,"speed":17,"hex_longitude":"2d7cd240","hex_latitude":"05e20488","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782176000001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145396372525285376,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995518068474306560,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] 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-10-16 08:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792117879000,"timestamp_ms":1792117879000,"timestamp_seconds":1792117879,"priority":1,"record_length":96,"hex_timestamp":"000001a1428cb0d8"} 
[2026-10-16 08:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751645834,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2345807873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":732961002563305482,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959368134,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1606811854,"corrected_to":0} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070431,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":327340004751704064,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3791632384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":125,"raw_value":-4449549963683168251,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":55,"raw_value":225811227528789,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:29] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,43,85,24,241,157,16,141,161,83,45,192,12,6,46,10,66,140,47,11,8,1,240,242,227,226,4,113,205,33,167,120,32,239,51,198,2,5,9,125,55,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1606811854,"validated":0}]} 
[2026-10-16 08:02:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432623938237890560,"timestamp_seconds":432623938237890.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782176000001,"66":13624,"43":206,"85":15104,"24":17,"16":145396372525285376,"45":8995518068474306560},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 08:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782176000001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:02:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 08:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145396372525285376,"km_value":145396372525285.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995518068474306560,"description":"Unknown IO ID 45"} 
[2026-10-16 08:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782176000001,"power":13624,"unknown_43":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8995518068474306560}} 
[2026-10-16 08:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":216381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:02:29] local.INFO: GPS data processed {"connection_id":216381,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:02:29] local.INFO: Acknowledgment sent {"connection_id":216381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:02:43] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dc630012d0c27c00702ade8000a005d0a..."} 
[2026-10-16 08:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dc630012d0c27c00702ade8000a005d0a..."} 
[2026-10-16 08:02:43] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dc630012d0c27c00702ade8000a005d0a..."} 
[2026-10-16 08:02:43] local.INFO: Packet analysis {"connection_id":217910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:02:43] local.INFO: Extracted packet for processing {"connection_id":217910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:02:43] local.INFO: GPS Element Parsed {"raw_longitude":755771328,"raw_latitude":117616104,"longitude_deg":75.5771328,"latitude_deg":11.7616104,"altitude":10,"angle":93,"satellites":10,"speed":3,"hex_longitude":"2d0c27c0","hex_latitude":"0702ade8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782190848001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36389346638561280,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875457576424036352,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792117950000,"timestamp_ms":1792117950000,"timestamp_seconds":1792117950,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dc630"} 
[2026-10-16 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-10-16 08:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 08:02:43] 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-10-16 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-10-16 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-10-16 08:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":217910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782190848001,"66":14537,"37":206,"94":11008,"24":3,"16":36389346638561280,"45":875457576424036352},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 08:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782190848001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:02:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 08:02:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36389346638561280,"km_value":36389346638561.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":875457576424036352,"description":"Unknown IO ID 45"} 
[2026-10-16 08:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782190848001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":875457576424036352}} 
[2026-10-16 08:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":217910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045138,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:02:43] local.INFO: GPS data processed {"connection_id":217910,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:02:43] local.INFO: Acknowledgment sent {"connection_id":217910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:02:51] local.INFO: TCP Data received {"connection_id":217913,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:02:51] local.INFO: Processing buffer {"connection_id":217913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:02:51] local.INFO: IMEI packet received {"connection_id":217913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":217913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:02:55] local.INFO: TCP Data received {"connection_id":217912,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:02:55] local.INFO: Processing buffer {"connection_id":217912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142893e08012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:02:55] local.INFO: Packet analysis {"connection_id":217912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:02:55] local.INFO: Extracted packet for processing {"connection_id":217912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14289"} 
[2026-10-16 08:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:02: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-10-16 08:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782042112001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117653000,"timestamp_ms":1792117653000,"timestamp_seconds":1792117653,"priority":1,"record_length":96,"hex_timestamp":"000001a142893e08"} 
[2026-10-16 08:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:02:55] 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-10-16 08:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782042112001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782042112001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:02:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:02:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782042112001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":217912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:02:55] local.INFO: GPS data processed {"connection_id":217912,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:02:55] local.INFO: Acknowledgment sent {"connection_id":217912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:03:00] local.INFO: TCP Data received {"connection_id":216381,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428df8f8012d7c1a0005e1ddb8000901032c..."} 
[2026-10-16 08:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428df8f8012d7c1a0005e1ddb8000901032c..."} 
[2026-10-16 08:03:00] local.INFO: Processing buffer {"connection_id":216381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428df8f8012d7c1a0005e1ddb8000901032c..."} 
[2026-10-16 08:03:00] local.INFO: Packet analysis {"connection_id":216381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:03:00] local.INFO: Extracted packet for processing {"connection_id":216381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763107840,"raw_latitude":98688440,"longitude_deg":76.310784,"latitude_deg":9.868844,"altitude":9,"angle":259,"satellites":44,"speed":30,"hex_longitude":"2d7c1a00","hex_latitude":"05e1ddb8","is_valid_coordinates":true} 
[2026-10-16 08:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196480001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145398975275466752,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426541035366400,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:00] 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-10-16 08:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792117963000,"timestamp_ms":1792117963000,"timestamp_seconds":1792117963,"priority":1,"record_length":96,"hex_timestamp":"000001a1428df8f8"} 
[2026-10-16 08:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-10-16 08:03:00] 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-10-16 08:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196480001,"66":13678,"43":206,"85":15104,"24":30,"16":145398975275466752,"45":8949426541035366400},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 08:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196480001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:03:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 08:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145398975275466752,"km_value":145398975275466.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426541035366400,"description":"Unknown IO ID 45"} 
[2026-10-16 08:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196480001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8949426541035366400}} 
[2026-10-16 08:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":216381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:03:00] local.INFO: GPS data processed {"connection_id":216381,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:03:00] local.INFO: Acknowledgment sent {"connection_id":216381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:03:14] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dca18012d0c28000702adf8000a004d0a..."} 
[2026-10-16 08:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dca18012d0c28000702adf8000a004d0a..."} 
[2026-10-16 08:03:14] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dca18012d0c28000702adf8000a004d0a..."} 
[2026-10-16 08:03:14] local.INFO: Packet analysis {"connection_id":217910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:03:14] local.INFO: Extracted packet for processing {"connection_id":217910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:03:14] local.INFO: GPS Element Parsed {"raw_longitude":755771392,"raw_latitude":117616120,"longitude_deg":75.5771392,"latitude_deg":11.761612,"altitude":10,"angle":77,"satellites":10,"speed":3,"hex_longitude":"2d0c2800","hex_latitude":"0702adf8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782195200001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36389350933528576,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879788889106432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792117951000,"timestamp_ms":1792117951000,"timestamp_seconds":1792117951,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dca18"} 
[2026-10-16 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-10-16 08:03: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-10-16 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 08:03:14] 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-10-16 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-10-16 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-10-16 08:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":217910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782195200001,"66":14537,"37":206,"94":11008,"24":3,"16":36389350933528576,"45":875879788889106432},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 08:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782195200001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:03:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 08:03:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36389350933528576,"km_value":36389350933528.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879788889106432,"description":"Unknown IO ID 45"} 
[2026-10-16 08:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782195200001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":875879788889106432}} 
[2026-10-16 08:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":217910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045141,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:03:14] local.INFO: GPS data processed {"connection_id":217910,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:03:14] local.INFO: Acknowledgment sent {"connection_id":217910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:03:17] local.INFO: TCP Data received {"connection_id":216382,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:03:17] local.INFO: Processing buffer {"connection_id":216382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:03:17] local.INFO: IMEI packet received {"connection_id":216382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":216382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:03:22] local.INFO: TCP Data received {"connection_id":216382,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:03:22] local.INFO: Processing buffer {"connection_id":216382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:03:22] local.INFO: IMEI packet received {"connection_id":216382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":216382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:03:23] local.INFO: TCP Data received {"connection_id":216382,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:03:23] local.INFO: Processing buffer {"connection_id":216382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:03:23] local.INFO: Packet analysis {"connection_id":216382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:03:23] local.INFO: Extracted packet for processing {"connection_id":216382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782119168001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117954000,"timestamp_ms":1792117954000,"timestamp_seconds":1792117954,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd5d0"} 
[2026-10-16 08:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:03:23] 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-10-16 08:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782119168001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782119168001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:03:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:03:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782119168001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":216382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:03:23] local.INFO: GPS data processed {"connection_id":216382,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:03:23] local.INFO: Acknowledgment sent {"connection_id":216382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:03:24] local.INFO: TCP Data received {"connection_id":219659,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:24] local.INFO: Processing buffer {"connection_id":219659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:24] local.INFO: IMEI packet received {"connection_id":219659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":219659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:03:25] local.INFO: TCP Data received {"connection_id":219659,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:25] local.INFO: Processing buffer {"connection_id":219659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:25] local.INFO: IMEI packet received {"connection_id":219659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":219659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:03:26] local.INFO: TCP Data received {"connection_id":219659,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:26] local.INFO: Processing buffer {"connection_id":219659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:26] local.INFO: IMEI packet received {"connection_id":219659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":219659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:03:27] local.INFO: TCP Data received {"connection_id":219659,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:27] local.INFO: Processing buffer {"connection_id":219659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:03:27] local.INFO: IMEI packet received {"connection_id":219659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":219659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:03:31] local.INFO: TCP Data received {"connection_id":219659,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428e2bc0012d7bf48005e1d8500007010f2b..."} 
[2026-10-16 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428e2bc0012d7bf48005e1d8500007010f2b..."} 
[2026-10-16 08:03:31] local.INFO: Processing buffer {"connection_id":219659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428e2bc0012d7bf48005e1d8500007010f2b..."} 
[2026-10-16 08:03:31] local.INFO: Packet analysis {"connection_id":219659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428e"} 
[2026-10-16 08:03:31] local.INFO: Extracted packet for processing {"connection_id":219659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428e"} 
[2026-10-16 08:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763098240,"raw_latitude":98687056,"longitude_deg":76.309824,"latitude_deg":9.8687056,"altitude":7,"angle":271,"satellites":43,"speed":29,"hex_longitude":"2d7bf480","hex_latitude":"05e1d850","is_valid_coordinates":true} 
[2026-10-16 08:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782198528001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145399439131934720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942460035361781760,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:31] 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-10-16 08:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792117976000,"timestamp_ms":1792117976000,"timestamp_seconds":1792117976,"priority":1,"record_length":96,"hex_timestamp":"000001a1428e2bc0"} 
[2026-10-16 08:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-16 08:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782198528001,"66":13646,"43":206,"85":15104,"24":29,"16":145399439131934720,"45":8942460035361781760},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 08:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782198528001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:03:31] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 08:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145399439131934720,"km_value":145399439131934.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942460035361781760,"description":"Unknown IO ID 45"} 
[2026-10-16 08:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782198528001,"power":13646,"unknown_43":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8942460035361781760}} 
[2026-10-16 08:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":219659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:03:31] local.INFO: GPS data processed {"connection_id":219659,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:03:31] local.INFO: Acknowledgment sent {"connection_id":219659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:03:36] local.INFO: TCP Data received {"connection_id":219659,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428e2bc0012d7bf48005e1d8500007010f2b..."} 
[2026-10-16 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428e2bc0012d7bf48005e1d8500007010f2b..."} 
[2026-10-16 08:03:36] local.INFO: Processing buffer {"connection_id":219659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428e2bc0012d7bf48005e1d8500007010f2b..."} 
[2026-10-16 08:03:36] local.INFO: Packet analysis {"connection_id":219659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428e"} 
[2026-10-16 08:03:36] local.INFO: Extracted packet for processing {"connection_id":219659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428e"} 
[2026-10-16 08:03:36] local.INFO: GPS Element Parsed {"raw_longitude":763098240,"raw_latitude":98687056,"longitude_deg":76.309824,"latitude_deg":9.8687056,"altitude":7,"angle":271,"satellites":43,"speed":29,"hex_longitude":"2d7bf480","hex_latitude":"05e1d850","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782201856001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145399439131934720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931904723734777856,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:36] 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-10-16 08:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792117976000,"timestamp_ms":1792117976000,"timestamp_seconds":1792117976,"priority":1,"record_length":96,"hex_timestamp":"000001a1428e2bc0"} 
[2026-10-16 08:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:03: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-10-16 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 08:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782201856001,"66":13646,"43":206,"85":15104,"24":29,"16":145399439131934720,"45":8931904723734777856},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-10-16 08:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782201856001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:03:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 08:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145399439131934720,"km_value":145399439131934.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931904723734777856,"description":"Unknown IO ID 45"} 
[2026-10-16 08:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782201856001,"power":13646,"unknown_43":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8931904723734777856}} 
[2026-10-16 08:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":219659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:03:36] local.INFO: GPS data processed {"connection_id":219659,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:03:36] local.INFO: Acknowledgment sent {"connection_id":219659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:03:45] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd9b8012d0c28c00702ae20000a00410a..."} 
[2026-10-16 08:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd9b8012d0c28c00702ae20000a00410a..."} 
[2026-10-16 08:03:45] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd9b8012d0c28c00702ae20000a00410a..."} 
[2026-10-16 08:03:45] local.INFO: Packet analysis {"connection_id":217910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:03:45] local.INFO: Extracted packet for processing {"connection_id":217910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:03:45] local.INFO: GPS Element Parsed {"raw_longitude":755771584,"raw_latitude":117616160,"longitude_deg":75.5771584,"latitude_deg":11.761616,"altitude":10,"angle":65,"satellites":10,"speed":0,"hex_longitude":"2d0c28c0","hex_latitude":"0702ae20","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782195456001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36389359523463168,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875950157633288192,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03: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-10-16 08:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792117955000,"timestamp_ms":1792117955000,"timestamp_seconds":1792117955,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd9b8"} 
[2026-10-16 08:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:03: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-10-16 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 08:03:45] 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-10-16 08: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-10-16 08:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":217910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782195456001,"66":14548,"37":206,"94":11008,"24":0,"16":36389359523463168,"45":875950157633288192},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 08:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782195456001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:03:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 08:03:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36389359523463168,"km_value":36389359523463.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":875950157633288192,"description":"Unknown IO ID 45"} 
[2026-10-16 08:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782195456001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":875950157633288192}} 
[2026-10-16 08:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":217910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045145,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:03:46] local.INFO: GPS data processed {"connection_id":217910,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:03:46] local.INFO: Acknowledgment sent {"connection_id":217910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:03:55] local.INFO: TCP Data received {"connection_id":216382,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:03:55] local.INFO: Processing buffer {"connection_id":216382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:03:55] local.INFO: Packet analysis {"connection_id":216382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:03:55] local.INFO: Extracted packet for processing {"connection_id":216382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782119168001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117954000,"timestamp_ms":1792117954000,"timestamp_seconds":1792117954,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd5d0"} 
[2026-10-16 08:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:03:55] 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-10-16 08:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782119168001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782119168001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:03:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:03:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782119168001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":216382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:03:55] local.INFO: GPS data processed {"connection_id":216382,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:03:55] local.INFO: Acknowledgment sent {"connection_id":216382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:04:16] local.INFO: TCP Data received {"connection_id":216563,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:04:16] local.INFO: Processing buffer {"connection_id":216563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:04:16] local.INFO: IMEI packet received {"connection_id":216563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":216563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:04:17] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1428e1450012d0c29800702ae50000a00120b..."} 
[2026-10-16 08:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428e1450012d0c29800702ae50000a00120b..."} 
[2026-10-16 08:04:17] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428e1450012d0c29800702ae50000a00120b..."} 
[2026-10-16 08:04:17] local.INFO: Packet analysis {"connection_id":217910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428e"} 
[2026-10-16 08:04:17] local.INFO: Extracted packet for processing {"connection_id":217910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428e"} 
[2026-10-16 08:04:17] local.INFO: GPS Element Parsed {"raw_longitude":755771776,"raw_latitude":117616208,"longitude_deg":75.5771776,"latitude_deg":11.7616208,"altitude":10,"angle":18,"satellites":11,"speed":4,"hex_longitude":"2d0c2980","hex_latitude":"0702ae50","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196480001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36389372408365056,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876161263865831424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04: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-10-16 08:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792117970000,"timestamp_ms":1792117970000,"timestamp_seconds":1792117970,"priority":1,"record_length":96,"hex_timestamp":"000001a1428e1450"} 
[2026-10-16 08:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":212,"data_length":795,"current_offset":136} 
[2026-10-16 08:04:17] 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-10-16 08: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-10-16 08:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":217910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196480001,"66":14624,"37":206,"94":11008,"24":4,"16":36389372408365056,"45":876161263865831424},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 08:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196480001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:04:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 08:04:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36389372408365056,"km_value":36389372408365.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":876161263865831424,"description":"Unknown IO ID 45"} 
[2026-10-16 08:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196480001,"power":14624,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":876161263865831424}} 
[2026-10-16 08:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":217910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045147,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:04:17] local.INFO: GPS data processed {"connection_id":217910,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:04:17] local.INFO: Acknowledgment sent {"connection_id":217910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:04:21] local.INFO: TCP Data received {"connection_id":216564,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:04:21] local.INFO: Processing buffer {"connection_id":216564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:04:21] local.INFO: IMEI packet received {"connection_id":216564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":216564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:04:22] local.INFO: TCP Data received {"connection_id":216563,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:04:22] local.INFO: Processing buffer {"connection_id":216563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:04:22] local.INFO: IMEI packet received {"connection_id":216563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":216563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:04:23] local.INFO: TCP Data received {"connection_id":216563,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:04:23] local.INFO: Processing buffer {"connection_id":216563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:04:23] local.INFO: Packet analysis {"connection_id":216563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:04:23] local.INFO: Extracted packet for processing {"connection_id":216563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:04:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782119168001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117954000,"timestamp_ms":1792117954000,"timestamp_seconds":1792117954,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd5d0"} 
[2026-10-16 08:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:04:23] 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-10-16 08:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782119168001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782119168001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:04:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:04:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782119168001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":216563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:04:23] local.INFO: GPS data processed {"connection_id":216563,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:04:23] local.INFO: Acknowledgment sent {"connection_id":216563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:04:26] local.INFO: TCP Data received {"connection_id":216564,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:04:26] local.INFO: Processing buffer {"connection_id":216564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:04:26] local.INFO: IMEI packet received {"connection_id":216564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":216564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:04:27] local.INFO: TCP Data received {"connection_id":216564,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428f4cd0012d7b3fc005e1aa98000a00da28..."} 
[2026-10-16 08:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428f4cd0012d7b3fc005e1aa98000a00da28..."} 
[2026-10-16 08:04:27] local.INFO: Processing buffer {"connection_id":216564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428f4cd0012d7b3fc005e1aa98000a00da28..."} 
[2026-10-16 08:04:27] local.INFO: Packet analysis {"connection_id":216564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428f"} 
[2026-10-16 08:04:27] local.INFO: Extracted packet for processing {"connection_id":216564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428f"} 
[2026-10-16 08:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763051968,"raw_latitude":98675352,"longitude_deg":76.3051968,"latitude_deg":9.8675352,"altitude":10,"angle":218,"satellites":40,"speed":13,"hex_longitude":"2d7b3fc0","hex_latitude":"05e1aa98","is_valid_coordinates":true} 
[2026-10-16 08:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881309596668104704,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145401814248849408,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 08:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792118050000,"timestamp_ms":1792118050000,"timestamp_seconds":1792118050,"priority":1,"record_length":96,"hex_timestamp":"000001a1428f4cd0"} 
[2026-10-16 08:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 08:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782220544001,"66":13504,"45":8881309596668104704,"85":15104,"24":13,"16":145401814248849408},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 08:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881309596668104704,"description":"Unknown IO ID 45"} 
[2026-10-16 08:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145401814248849408,"km_value":145401814248849.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:04:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782220544001,"power":13504,"unknown_45":8881309596668104704,"unknown_85":15104,"ignition":13,"odometer":null}} 
[2026-10-16 08:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":216564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:04:27] local.INFO: GPS data processed {"connection_id":216564,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:04:27] local.INFO: Acknowledgment sent {"connection_id":216564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:04:50] local.INFO: TCP Data received {"connection_id":217910,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1428fd1a0012d0c4cc00703c8800010002b0e..."} 
[2026-10-16 08:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428fd1a0012d0c4cc00703c8800010002b0e..."} 
[2026-10-16 08:04:50] local.INFO: Processing buffer {"connection_id":217910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428fd1a0012d0c4cc00703c8800010002b0e..."} 
[2026-10-16 08:04:50] local.INFO: Packet analysis {"connection_id":217910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428f"} 
[2026-10-16 08:04:50] local.INFO: Extracted packet for processing {"connection_id":217910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428f"} 
[2026-10-16 08:04:50] local.INFO: GPS Element Parsed {"raw_longitude":755780800,"raw_latitude":117688448,"longitude_deg":75.57808,"latitude_deg":11.7688448,"altitude":16,"angle":43,"satellites":14,"speed":20,"hex_longitude":"2d0c4cc0","hex_latitude":"0703c880","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782227456001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36393401087688704,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880172282301859840,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04: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-10-16 08:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792118084000,"timestamp_ms":1792118084000,"timestamp_seconds":1792118084,"priority":1,"record_length":96,"hex_timestamp":"000001a1428fd1a0"} 
[2026-10-16 08:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:04: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-10-16 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:04: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-10-16 08: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-10-16 08:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":217910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":217910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782227456001,"66":14450,"37":206,"94":11008,"24":20,"16":36393401087688704,"45":880172282301859840},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 08:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782227456001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:04:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 08:04:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36393401087688704,"km_value":36393401087688.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":880172282301859840,"description":"Unknown IO ID 45"} 
[2026-10-16 08:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782227456001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":880172282301859840}} 
[2026-10-16 08:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":217910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045150,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:04:51] local.INFO: GPS data processed {"connection_id":217910,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:04:51] local.INFO: Acknowledgment sent {"connection_id":217910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:04:55] local.INFO: TCP Data received {"connection_id":216563,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:04:55] local.INFO: Processing buffer {"connection_id":216563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:04:55] local.INFO: Packet analysis {"connection_id":216563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:04:55] local.INFO: Extracted packet for processing {"connection_id":216563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782119168001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117954000,"timestamp_ms":1792117954000,"timestamp_seconds":1792117954,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd5d0"} 
[2026-10-16 08:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:04:55] 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-10-16 08:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782119168001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782119168001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:04:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:04:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782119168001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":216563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:04:55] local.INFO: GPS data processed {"connection_id":216563,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:04:55] local.INFO: Acknowledgment sent {"connection_id":216563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:04:58] local.INFO: TCP Data received {"connection_id":216564,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1428f50b8012d7b3f4005e1a948000a00cc28..."} 
[2026-10-16 08:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428f50b8012d7b3f4005e1a948000a00cc28..."} 
[2026-10-16 08:04:58] local.INFO: Processing buffer {"connection_id":216564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428f50b8012d7b3f4005e1a948000a00cc28..."} 
[2026-10-16 08:04:58] local.INFO: Packet analysis {"connection_id":216564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428f"} 
[2026-10-16 08:04:58] local.INFO: Extracted packet for processing {"connection_id":216564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428f"} 
[2026-10-16 08:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":98675016,"longitude_deg":76.305184,"latitude_deg":9.8675016,"altitude":10,"angle":204,"satellites":40,"speed":16,"hex_longitude":"2d7b3f40","hex_latitude":"05e1a948","is_valid_coordinates":true} 
[2026-10-16 08:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782220800001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881028121691330560,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145401831428718592,"note":"Value kept but may cause issues"} 
[2026-10-16 08:04:58] 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-10-16 08:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792118051000,"timestamp_ms":1792118051000,"timestamp_seconds":1792118051,"priority":1,"record_length":96,"hex_timestamp":"000001a1428f50b8"} 
[2026-10-16 08:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 08:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782220800001,"66":13504,"45":8881028121691330560,"85":15104,"24":16,"16":145401831428718592},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 08:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782220800001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881028121691330560,"description":"Unknown IO ID 45"} 
[2026-10-16 08:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145401831428718592,"km_value":145401831428718.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:04:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782220800001,"power":13504,"unknown_45":8881028121691330560,"unknown_85":15104,"ignition":16,"odometer":null}} 
[2026-10-16 08:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":216564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:04:58] local.INFO: GPS data processed {"connection_id":216564,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:04:58] local.INFO: Acknowledgment sent {"connection_id":216564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:05:03] local.INFO: TCP Data received {"connection_id":216384,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:05:03] local.INFO: Processing buffer {"connection_id":216384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:05:03] local.INFO: IMEI packet received {"connection_id":216384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":216384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:05:09] local.INFO: TCP Data received {"connection_id":216384,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:05:09] local.INFO: Processing buffer {"connection_id":216384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:05:09] local.INFO: IMEI packet received {"connection_id":216384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":216384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:05:09] local.INFO: TCP Data received {"connection_id":216384,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1428fd588012d0c4e000703ca480011001c0e..."} 
[2026-10-16 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428fd588012d0c4e000703ca480011001c0e..."} 
[2026-10-16 08:05:09] local.INFO: Processing buffer {"connection_id":216384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428fd588012d0c4e000703ca480011001c0e..."} 
[2026-10-16 08:05:09] local.INFO: Packet analysis {"connection_id":216384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428f"} 
[2026-10-16 08:05:09] local.INFO: Extracted packet for processing {"connection_id":216384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428f"} 
[2026-10-16 08:05:09] local.INFO: GPS Element Parsed {"raw_longitude":755781120,"raw_latitude":117688904,"longitude_deg":75.578112,"latitude_deg":11.7688904,"altitude":17,"angle":28,"satellites":14,"speed":20,"hex_longitude":"2d0c4e00","hex_latitude":"0703ca48","is_valid_coordinates":true} 
[2026-10-16 08:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782229504001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36393426857492480,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886294363045920768,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:09] 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-10-16 08:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792118085000,"timestamp_ms":1792118085000,"timestamp_seconds":1792118085,"priority":1,"record_length":96,"hex_timestamp":"000001a1428fd588"} 
[2026-10-16 08:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:05: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-10-16 08:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:05:09] 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-10-16 08:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782229504001,"66":14450,"37":206,"94":11008,"24":20,"16":36393426857492480,"45":886294363045920768},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 08:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782229504001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:05:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 08:05:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36393426857492480,"km_value":36393426857492.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":886294363045920768,"description":"Unknown IO ID 45"} 
[2026-10-16 08:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782229504001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":886294363045920768}} 
[2026-10-16 08:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":216384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045153,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:05:09] local.INFO: GPS data processed {"connection_id":216384,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:05:09] local.INFO: Acknowledgment sent {"connection_id":216384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:05:16] local.INFO: TCP Data received {"connection_id":216565,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:05:16] local.INFO: Processing buffer {"connection_id":216565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:05:16] local.INFO: IMEI packet received {"connection_id":216565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":216565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:05:21] local.INFO: TCP Data received {"connection_id":219661,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:05:21] local.INFO: Processing buffer {"connection_id":219661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:05:21] local.INFO: IMEI packet received {"connection_id":219661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":219661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:05:21] local.INFO: TCP Data received {"connection_id":219661,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:05:21] local.INFO: Processing buffer {"connection_id":219661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:05:21] local.INFO: IMEI packet received {"connection_id":219661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":219661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:05:22] local.INFO: TCP Data received {"connection_id":216565,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:05:22] local.INFO: Processing buffer {"connection_id":216565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:05:22] local.INFO: IMEI packet received {"connection_id":216565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":216565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:05:23] local.INFO: TCP Data received {"connection_id":216565,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:05:23] local.INFO: Processing buffer {"connection_id":216565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:05:23] local.INFO: Packet analysis {"connection_id":216565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:05:23] local.INFO: Extracted packet for processing {"connection_id":216565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:05:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782119168001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117954000,"timestamp_ms":1792117954000,"timestamp_seconds":1792117954,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd5d0"} 
[2026-10-16 08:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:05:23] 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-10-16 08:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782119168001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782119168001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:05:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:05:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782119168001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":216565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:05:23] local.INFO: GPS data processed {"connection_id":216565,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:05:23] local.INFO: Acknowledgment sent {"connection_id":216565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:05:26] local.INFO: TCP Data received {"connection_id":219661,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:05:26] local.INFO: Processing buffer {"connection_id":219661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:05:26] local.INFO: IMEI packet received {"connection_id":219661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":219661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:05:27] local.INFO: TCP Data received {"connection_id":219661,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142900c38012d7b3c8005e18b900001016125..."} 
[2026-10-16 08:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142900c38012d7b3c8005e18b900001016125..."} 
[2026-10-16 08:05:27] local.INFO: Processing buffer {"connection_id":219661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142900c38012d7b3c8005e18b900001016125..."} 
[2026-10-16 08:05:27] local.INFO: Packet analysis {"connection_id":219661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:05:27] local.INFO: Extracted packet for processing {"connection_id":219661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763051136,"raw_latitude":98667408,"longitude_deg":76.3051136,"latitude_deg":9.8667408,"altitude":1,"angle":353,"satellites":37,"speed":44,"hex_longitude":"2d7b3c80","hex_latitude":"05e18b90","is_valid_coordinates":true} 
[2026-10-16 08:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782230784001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915361087488,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145403394796814336,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 08:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792118099000,"timestamp_ms":1792118099000,"timestamp_seconds":1792118099,"priority":1,"record_length":96,"hex_timestamp":"000001a142900c38"} 
[2026-10-16 08:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751645842,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2412623873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871791149,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3305164110,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":329617093332828160,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4881908462183251977,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-2305617273567523243,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,45,85,24,241,157,16,147,161,221,64,96,3,37,10,66,213,192,94,36,209,1,240,110,227,225,4,113,205,7,178,73,32,33,239,53,2,5,15,123,54,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-10-16 08:05:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216554467268820992,"timestamp_seconds":216554467268821.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782230784001,"66":12906,"45":8881942915361087488,"85":15104,"24":44,"16":145403394796814336},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 08:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782230784001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915361087488,"description":"Unknown IO ID 45"} 
[2026-10-16 08:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145403394796814336,"km_value":145403394796814.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:05:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782230784001,"power":12906,"unknown_45":8881942915361087488,"unknown_85":15104,"ignition":44,"odometer":null}} 
[2026-10-16 08:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":219661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:05:27] local.INFO: GPS data processed {"connection_id":219661,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:05:27] local.INFO: Acknowledgment sent {"connection_id":219661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:05:41] local.INFO: TCP Data received {"connection_id":216384,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1428fd970012d0c4e000703ccb00011000c0e..."} 
[2026-10-16 08:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428fd970012d0c4e000703ccb00011000c0e..."} 
[2026-10-16 08:05:41] local.INFO: Processing buffer {"connection_id":216384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428fd970012d0c4e000703ccb00011000c0e..."} 
[2026-10-16 08:05:41] local.INFO: Packet analysis {"connection_id":216384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428f"} 
[2026-10-16 08:05:41] local.INFO: Extracted packet for processing {"connection_id":216384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428f"} 
[2026-10-16 08:05:41] local.INFO: GPS Element Parsed {"raw_longitude":755781120,"raw_latitude":117689520,"longitude_deg":75.578112,"latitude_deg":11.768952,"altitude":17,"angle":12,"satellites":14,"speed":22,"hex_longitude":"2d0c4e00","hex_latitude":"0703ccb0","is_valid_coordinates":true} 
[2026-10-16 08:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782229760001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36393456922263552,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886646206766925824,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:41] 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-10-16 08:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792118086000,"timestamp_ms":1792118086000,"timestamp_seconds":1792118086,"priority":1,"record_length":96,"hex_timestamp":"000001a1428fd970"} 
[2026-10-16 08:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:05: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-10-16 08:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:05:41] 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-10-16 08:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":216384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":216384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":216384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782229760001,"66":14548,"37":206,"94":11008,"24":22,"16":36393456922263552,"45":886646206766925824},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 08:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782229760001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:05:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 08:05:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36393456922263552,"km_value":36393456922263.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":886646206766925824,"description":"Unknown IO ID 45"} 
[2026-10-16 08:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782229760001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":886646206766925824}} 
[2026-10-16 08:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":216384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045156,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:05:41] local.INFO: GPS data processed {"connection_id":216384,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:05:41] local.INFO: Acknowledgment sent {"connection_id":216384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:05:55] local.INFO: TCP Data received {"connection_id":216565,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:05:55] local.INFO: Processing buffer {"connection_id":216565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:05:55] local.INFO: Packet analysis {"connection_id":216565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:05:55] local.INFO: Extracted packet for processing {"connection_id":216565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782119168001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117954000,"timestamp_ms":1792117954000,"timestamp_seconds":1792117954,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd5d0"} 
[2026-10-16 08:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:05:55] 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-10-16 08:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782119168001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782119168001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:05:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:05:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782119168001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":216565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:05:55] local.INFO: GPS data processed {"connection_id":216565,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:05:55] local.INFO: Acknowledgment sent {"connection_id":216565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:05:58] local.INFO: TCP Data received {"connection_id":219661,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142902f60012d7b38c005e1af300000016021..."} 
[2026-10-16 08:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142902f60012d7b38c005e1af300000016021..."} 
[2026-10-16 08:05:58] local.INFO: Processing buffer {"connection_id":219661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142902f60012d7b38c005e1af300000016021..."} 
[2026-10-16 08:05:58] local.INFO: Packet analysis {"connection_id":219661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:05:58] local.INFO: Extracted packet for processing {"connection_id":219661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763050176,"raw_latitude":98676528,"longitude_deg":76.3050176,"latitude_deg":9.8676528,"altitude":0,"angle":352,"satellites":33,"speed":31,"hex_longitude":"2d7b38c0","hex_latitude":"05e1af30","is_valid_coordinates":true} 
[2026-10-16 08:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782233344001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880113328014987264,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145403841473413120,"note":"Value kept but may cause issues"} 
[2026-10-16 08:05:58] 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-10-16 08:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792118108000,"timestamp_ms":1792118108000,"timestamp_seconds":1792118108,"priority":1,"record_length":96,"hex_timestamp":"000001a142902f60"} 
[2026-10-16 08:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-16 08:05:58] 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-10-16 08:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782233344001,"66":13798,"45":8880113328014987264,"85":15104,"24":31,"16":145403841473413120},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 08:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782233344001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880113328014987264,"description":"Unknown IO ID 45"} 
[2026-10-16 08:05:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145403841473413120,"km_value":145403841473413.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:05:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782233344001,"power":13798,"unknown_45":8880113328014987264,"unknown_85":15104,"ignition":31,"odometer":null}} 
[2026-10-16 08:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":219661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:05:58] local.INFO: GPS data processed {"connection_id":219661,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:05:58] local.INFO: Acknowledgment sent {"connection_id":219661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:06:16] local.INFO: TCP Data received {"connection_id":219662,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:06:16] local.INFO: Processing buffer {"connection_id":219662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:06:16] local.INFO: IMEI packet received {"connection_id":219662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":219662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:06:17] local.INFO: TCP Data received {"connection_id":216384,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a14290f698012d0ca2800704a838001301440e..."} 
[2026-10-16 08:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14290f698012d0ca2800704a838001301440e..."} 
[2026-10-16 08:06:17] local.INFO: Processing buffer {"connection_id":216384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14290f698012d0ca2800704a838001301440e..."} 
[2026-10-16 08:06:17] local.INFO: Packet analysis {"connection_id":216384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:06:17] local.INFO: Extracted packet for processing {"connection_id":216384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:06:17] local.INFO: GPS Element Parsed {"raw_longitude":755802752,"raw_latitude":117745720,"longitude_deg":75.5802752,"latitude_deg":11.774572,"altitude":19,"angle":324,"satellites":14,"speed":39,"hex_longitude":"2d0ca280","hex_latitude":"0704a838","is_valid_coordinates":true} 
[2026-10-16 08:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782246400001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36396798406819840,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916060341845819392,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06: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-10-16 08:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792118159000,"timestamp_ms":1792118159000,"timestamp_seconds":1792118159,"priority":1,"record_length":96,"hex_timestamp":"000001a14290f698"} 
[2026-10-16 08:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:06: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-10-16 08:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 08:06: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-10-16 08:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":216384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":216384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":216384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782246400001,"66":14537,"16":36396798406819840,"94":11008,"24":39,"45":916060341845819392},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 08:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782246400001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36396798406819840,"km_value":36396798406819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:06:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":916060341845819392,"description":"Unknown IO ID 45"} 
[2026-10-16 08:06:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782246400001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":39,"unknown_45":916060341845819392}} 
[2026-10-16 08:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":216384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045159,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:06:17] local.INFO: GPS data processed {"connection_id":216384,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:06:17] local.INFO: Acknowledgment sent {"connection_id":216384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:06:21] local.INFO: TCP Data received {"connection_id":217915,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:06:21] local.INFO: Processing buffer {"connection_id":217915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:06:21] local.INFO: IMEI packet received {"connection_id":217915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":217915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:06:22] local.INFO: TCP Data received {"connection_id":219662,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:06:22] local.INFO: Processing buffer {"connection_id":219662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:06:22] local.INFO: IMEI packet received {"connection_id":219662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":219662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:06:23] local.INFO: TCP Data received {"connection_id":219662,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:06:23] local.INFO: Processing buffer {"connection_id":219662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:06:23] local.INFO: Packet analysis {"connection_id":219662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:06:23] local.INFO: Extracted packet for processing {"connection_id":219662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782119168001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792117954000,"timestamp_ms":1792117954000,"timestamp_seconds":1792117954,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd5d0"} 
[2026-10-16 08:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:06:23] 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-10-16 08:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782119168001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782119168001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:06:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:06:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782119168001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":219662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:06:23] local.INFO: GPS data processed {"connection_id":219662,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:06:23] local.INFO: Acknowledgment sent {"connection_id":219662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:06:26] local.INFO: TCP Data received {"connection_id":217915,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:06:26] local.INFO: Processing buffer {"connection_id":217915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:06:26] local.INFO: IMEI packet received {"connection_id":217915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":217915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:06:30] local.INFO: TCP Data received {"connection_id":217915,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142905a58012d7b350005e1d2c8000001631e..."} 
[2026-10-16 08:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142905a58012d7b350005e1d2c8000001631e..."} 
[2026-10-16 08:06:30] local.INFO: Processing buffer {"connection_id":217915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142905a58012d7b350005e1d2c8000001631e..."} 
[2026-10-16 08:06:30] local.INFO: Packet analysis {"connection_id":217915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:06:30] local.INFO: Extracted packet for processing {"connection_id":217915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763049216,"raw_latitude":98685640,"longitude_deg":76.3049216,"latitude_deg":9.868564,"altitude":0,"angle":355,"satellites":30,"speed":36,"hex_longitude":"2d7b3500","hex_latitude":"05e1d2c8","is_valid_coordinates":true} 
[2026-10-16 08:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782235648001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879057796854657024,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145404283855044608,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:30] 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-10-16 08:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792118119000,"timestamp_ms":1792118119000,"timestamp_seconds":1792118119,"priority":1,"record_length":96,"hex_timestamp":"000001a142905a58"} 
[2026-10-16 08:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 08:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782235648001,"66":14102,"45":8879057796854657024,"85":15104,"24":36,"16":145404283855044608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 08:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782235648001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879057796854657024,"description":"Unknown IO ID 45"} 
[2026-10-16 08:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145404283855044608,"km_value":145404283855044.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:06:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782235648001,"power":14102,"unknown_45":8879057796854657024,"unknown_85":15104,"ignition":36,"odometer":null}} 
[2026-10-16 08:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":217915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:06:30] local.INFO: GPS data processed {"connection_id":217915,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:06:30] local.INFO: Acknowledgment sent {"connection_id":217915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:06:55] local.INFO: TCP Data received {"connection_id":219662,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:06:55] local.INFO: Processing buffer {"connection_id":219662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:06:55] local.INFO: Packet analysis {"connection_id":219662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:06:55] local.INFO: Extracted packet for processing {"connection_id":219662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782119168001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792117954000,"timestamp_ms":1792117954000,"timestamp_seconds":1792117954,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd5d0"} 
[2026-10-16 08:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:06:55] 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-10-16 08:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782119168001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782119168001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:06:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:06:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782119168001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":219662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:06:55] local.INFO: GPS data processed {"connection_id":219662,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:06:55] local.INFO: Acknowledgment sent {"connection_id":219662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:07:05] local.INFO: TCP Data received {"connection_id":217915,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142908938012d7b310005e1f5d0000001611f..."} 
[2026-10-16 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142908938012d7b310005e1f5d0000001611f..."} 
[2026-10-16 08:07:05] local.INFO: Processing buffer {"connection_id":217915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142908938012d7b310005e1f5d0000001611f..."} 
[2026-10-16 08:07:05] local.INFO: Packet analysis {"connection_id":217915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:07:05] local.INFO: Extracted packet for processing {"connection_id":217915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763048192,"raw_latitude":98694608,"longitude_deg":76.3048192,"latitude_deg":9.8694608,"altitude":0,"angle":353,"satellites":31,"speed":13,"hex_longitude":"2d7b3100","hex_latitude":"05e1f5d0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782238464001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878002265694324736,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145404721941708800,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:05] 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-10-16 08:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792118131000,"timestamp_ms":1792118131000,"timestamp_seconds":1792118131,"priority":1,"record_length":96,"hex_timestamp":"000001a142908938"} 
[2026-10-16 08:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:07: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-10-16 08: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 08:07: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-10-16 08: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-10-16 08:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782238464001,"66":12722,"45":8878002265694324736,"85":15104,"24":13,"16":145404721941708800},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 08:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782238464001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878002265694324736,"description":"Unknown IO ID 45"} 
[2026-10-16 08:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145404721941708800,"km_value":145404721941708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:07:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782238464001,"power":12722,"unknown_45":8878002265694324736,"unknown_85":15104,"ignition":13,"odometer":null}} 
[2026-10-16 08:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":217915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:07:05] local.INFO: GPS data processed {"connection_id":217915,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:07:05] local.INFO: Acknowledgment sent {"connection_id":217915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:07:14] local.INFO: TCP Data received {"connection_id":216384,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a14290f698012d0ca2800704a838001301440e..."} 
[2026-10-16 08:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14290f698012d0ca2800704a838001301440e..."} 
[2026-10-16 08:07:14] local.INFO: Processing buffer {"connection_id":216384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14290f698012d0ca2800704a838001301440e..."} 
[2026-10-16 08:07:14] local.INFO: Packet analysis {"connection_id":216384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:07:14] local.INFO: Extracted packet for processing {"connection_id":216384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:07:14] local.INFO: GPS Element Parsed {"raw_longitude":755802752,"raw_latitude":117745720,"longitude_deg":75.5802752,"latitude_deg":11.774572,"altitude":19,"angle":324,"satellites":14,"speed":39,"hex_longitude":"2d0ca280","hex_latitude":"0704a838","is_valid_coordinates":true} 
[2026-10-16 08:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782248704001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36396798406819840,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910430842313521152,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:14] 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-10-16 08:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792118159000,"timestamp_ms":1792118159000,"timestamp_seconds":1792118159,"priority":1,"record_length":96,"hex_timestamp":"000001a14290f698"} 
[2026-10-16 08:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 08:07:14] 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-10-16 08:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782248704001,"66":14537,"16":36396798406819840,"94":11008,"24":39,"45":910430842313521152},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 08:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782248704001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36396798406819840,"km_value":36396798406819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:07:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":910430842313521152,"description":"Unknown IO ID 45"} 
[2026-10-16 08:07:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782248704001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":39,"unknown_45":910430842313521152}} 
[2026-10-16 08:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":216384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045164,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:07:14] local.INFO: GPS data processed {"connection_id":216384,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:07:14] local.INFO: Acknowledgment sent {"connection_id":216384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:07:18] local.INFO: TCP Data received {"connection_id":219663,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:07:18] local.INFO: Processing buffer {"connection_id":219663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:07:18] local.INFO: IMEI packet received {"connection_id":219663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":219663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:07:22] local.INFO: TCP Data received {"connection_id":216567,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:07:22] local.INFO: Processing buffer {"connection_id":216567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:07:22] local.INFO: IMEI packet received {"connection_id":216567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":216567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:07:22] local.INFO: TCP Data received {"connection_id":219663,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:07:22] local.INFO: Processing buffer {"connection_id":219663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:07:22] local.INFO: IMEI packet received {"connection_id":219663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":219663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:07:23] local.INFO: TCP Data received {"connection_id":219663,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142920420012d0c3300070586c80016013311..."} 
[2026-10-16 08:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142920420012d0c3300070586c80016013311..."} 
[2026-10-16 08:07:23] local.INFO: Processing buffer {"connection_id":219663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142920420012d0c3300070586c80016013311..."} 
[2026-10-16 08:07:23] local.INFO: Packet analysis {"connection_id":219663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:07:23] local.INFO: Extracted packet for processing {"connection_id":219663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:07:23] local.INFO: GPS Element Parsed {"raw_longitude":755774208,"raw_latitude":117802696,"longitude_deg":75.5774208,"latitude_deg":11.7802696,"altitude":22,"angle":307,"satellites":17,"speed":33,"hex_longitude":"2d0c3300","hex_latitude":"070586c8","is_valid_coordinates":true} 
[2026-10-16 08:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782265856001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36399933732945920,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880383388563951616,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:23] 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-10-16 08:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792118228000,"timestamp_ms":1792118228000,"timestamp_seconds":1792118228,"priority":1,"record_length":96,"hex_timestamp":"000001a142920420"} 
[2026-10-16 08:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-10-16 08:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782265856001,"66":14591,"164":206,"94":10240,"24":33,"16":36399933732945920,"45":880383388563951616},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 08:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782265856001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:07:23] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 08:07:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36399933732945920,"km_value":36399933732945.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":880383388563951616,"description":"Unknown IO ID 45"} 
[2026-10-16 08:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782265856001,"power":14591,"unknown_164":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":880383388563951616}} 
[2026-10-16 08:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":219663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:07:23] local.INFO: GPS data processed {"connection_id":219663,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:07:23] local.INFO: Acknowledgment sent {"connection_id":219663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:07:25] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:07:25] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:07:25] local.INFO: IMEI packet received {"connection_id":219664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":219664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:07:26] local.INFO: TCP Data received {"connection_id":216385,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:07:26] local.INFO: Processing buffer {"connection_id":216385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:07:26] local.INFO: IMEI packet received {"connection_id":216385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":216385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:07:26] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:07:26] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:07:26] local.INFO: IMEI packet received {"connection_id":219664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":219664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:07:26] local.INFO: TCP Data received {"connection_id":216567,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:07:26] local.INFO: Processing buffer {"connection_id":216567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:07:26] local.INFO: IMEI packet received {"connection_id":216567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":216567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:07:27] local.INFO: TCP Data received {"connection_id":216567,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:07:27] local.INFO: Processing buffer {"connection_id":216567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:07:27] local.INFO: Packet analysis {"connection_id":216567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:07:27] local.INFO: Extracted packet for processing {"connection_id":216567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782119168001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792117954000,"timestamp_ms":1792117954000,"timestamp_seconds":1792117954,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd5d0"} 
[2026-10-16 08:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:07:27] 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-10-16 08:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782119168001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782119168001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:07:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:07:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782119168001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":216567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:07:27] local.INFO: GPS data processed {"connection_id":216567,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:07:27] local.INFO: Acknowledgment sent {"connection_id":216567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:07:30] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:07:30] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:07:30] local.INFO: IMEI packet received {"connection_id":219664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":219664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:07:31] local.INFO: TCP Data received {"connection_id":216385,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:07:31] local.INFO: Processing buffer {"connection_id":216385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:07:31] local.INFO: IMEI packet received {"connection_id":216385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":216385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:07:31] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-10-16 08:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-10-16 08:07:31] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-10-16 08:07:31] local.INFO: Packet analysis {"connection_id":219664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-16 08:07:31] local.INFO: Extracted packet for processing {"connection_id":219664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-16 08:07: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-10-16 08:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021448970862592,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:31] 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-10-16 08:07:31] 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-10-16 08:07:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 08:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219664,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":0} 
[2026-10-16 08:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":0} 
[2026-10-16 08:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 08:07:31] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 08:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":219664,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 08:07:31] local.ERROR: GPS data processing failed {"connection_id":219664,"error":"No valid data to process"} 
[2026-10-16 08:07:31] local.INFO: Acknowledgment sent {"connection_id":219664,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 08:07:34] local.INFO: TCP Data received {"connection_id":216385,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14290a878012d7b304005e1fe080000000421..."} 
[2026-10-16 08:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14290a878012d7b304005e1fe080000000421..."} 
[2026-10-16 08:07:34] local.INFO: Processing buffer {"connection_id":216385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14290a878012d7b304005e1fe080000000421..."} 
[2026-10-16 08:07:34] local.INFO: Packet analysis {"connection_id":216385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:07:34] local.INFO: Extracted packet for processing {"connection_id":216385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98696712,"longitude_deg":76.3048,"latitude_deg":9.8696712,"altitude":0,"angle":4,"satellites":33,"speed":11,"hex_longitude":"2d7b3040","hex_latitude":"05e1fe08","is_valid_coordinates":true} 
[2026-10-16 08:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782241536001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876876365789777920,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145404825020923904,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:34] 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-10-16 08:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792118139000,"timestamp_ms":1792118139000,"timestamp_seconds":1792118139,"priority":1,"record_length":96,"hex_timestamp":"000001a14290a878"} 
[2026-10-16 08:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 08:07:34] 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-10-16 08:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782241536001,"66":13798,"45":8876876365789777920,"85":15104,"24":11,"16":145404825020923904},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 08:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782241536001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876876365789777920,"description":"Unknown IO ID 45"} 
[2026-10-16 08:07:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145404825020923904,"km_value":145404825020923.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:07:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782241536001,"power":13798,"unknown_45":8876876365789777920,"unknown_85":15104,"ignition":11,"odometer":null}} 
[2026-10-16 08:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":216385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:07:34] local.INFO: GPS data processed {"connection_id":216385,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:07:34] local.INFO: Acknowledgment sent {"connection_id":216385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:07:38] local.INFO: TCP Data received {"connection_id":216567,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:07:38] local.INFO: Processing buffer {"connection_id":216567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1428dd5d0012d7f98c005afddb00000002f22..."} 
[2026-10-16 08:07:38] local.INFO: Packet analysis {"connection_id":216567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:07:38] local.INFO: Extracted packet for processing {"connection_id":216567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1428d"} 
[2026-10-16 08:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782119168001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792117954000,"timestamp_ms":1792117954000,"timestamp_seconds":1792117954,"priority":1,"record_length":96,"hex_timestamp":"000001a1428dd5d0"} 
[2026-10-16 08:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:07: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-10-16 08:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:07: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-10-16 08:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782119168001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782119168001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:07:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:07:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782119168001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":216567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:07:38] local.INFO: GPS data processed {"connection_id":216567,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:07:38] local.INFO: Acknowledgment sent {"connection_id":216567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:07:45] local.INFO: TCP Data received {"connection_id":216385,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14290b430012d7b300005e200e00000016121..."} 
[2026-10-16 08:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14290b430012d7b300005e200e00000016121..."} 
[2026-10-16 08:07:45] local.INFO: Processing buffer {"connection_id":216385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14290b430012d7b300005e200e00000016121..."} 
[2026-10-16 08:07:45] local.INFO: Packet analysis {"connection_id":216385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:07:45] local.INFO: Extracted packet for processing {"connection_id":216385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14290"} 
[2026-10-16 08:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763047936,"raw_latitude":98697440,"longitude_deg":76.3047936,"latitude_deg":9.869744,"altitude":0,"angle":353,"satellites":33,"speed":9,"hex_longitude":"2d7b3000","hex_latitude":"05e200e0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782243584001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259557783552,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145404863675629568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:07:45] 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-10-16 08:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792118142000,"timestamp_ms":1792118142000,"timestamp_seconds":1792118142,"priority":1,"record_length":96,"hex_timestamp":"000001a14290b430"} 
[2026-10-16 08:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:07:45] 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-10-16 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 08:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782243584001,"66":13906,"45":8876665259557783552,"85":15104,"24":9,"16":145404863675629568},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-10-16 08:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782243584001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259557783552,"description":"Unknown IO ID 45"} 
[2026-10-16 08:07:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145404863675629568,"km_value":145404863675629.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:07:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782243584001,"power":13906,"unknown_45":8876665259557783552,"unknown_85":15104,"ignition":9,"odometer":null}} 
[2026-10-16 08:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":216385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:07:45] local.INFO: GPS data processed {"connection_id":216385,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:07:45] local.INFO: Acknowledgment sent {"connection_id":216385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:08:00] local.INFO: TCP Data received {"connection_id":219666,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:00] local.INFO: Processing buffer {"connection_id":219666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:00] local.INFO: IMEI packet received {"connection_id":219666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":219666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:08:04] local.INFO: TCP Data received {"connection_id":219666,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:04] local.INFO: Processing buffer {"connection_id":219666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:04] local.INFO: IMEI packet received {"connection_id":219666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":219666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:08:04] local.INFO: TCP Data received {"connection_id":219666,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:04] local.INFO: Processing buffer {"connection_id":219666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:04] local.INFO: IMEI packet received {"connection_id":219666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":219666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:08:06] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1429294a8012d1968c0071ff000005b000008..."} 
[2026-10-16 08:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429294a8012d1968c0071ff000005b000008..."} 
[2026-10-16 08:08:06] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429294a8012d1968c0071ff000005b000008..."} 
[2026-10-16 08:08:06] local.INFO: Packet analysis {"connection_id":219664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:06] local.INFO: Extracted packet for processing {"connection_id":219664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533568,"longitude_deg":75.6639936,"latitude_deg":11.9533568,"altitude":91,"angle":0,"satellites":8,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021479035633664,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:06] 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-10-16 08:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792118265000,"timestamp_ms":1792118265000,"timestamp_seconds":1792118265,"priority":1,"record_length":96,"hex_timestamp":"000001a1429294a8"} 
[2026-10-16 08:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:08: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-10-16 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-10-16 08:08: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-10-16 08: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-10-16 08:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":219664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12298,"102":206,"83":41984,"24":0,"16":28021479035633664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16]} 
[2026-10-16 08:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 08:08:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021479035633664,"km_value":28021479035633.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:08:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-10-16 08:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":219664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:08:06] local.INFO: GPS data processed {"connection_id":219664,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:08:06] local.INFO: Acknowledgment sent {"connection_id":219664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:08:10] local.INFO: TCP Data received {"connection_id":219666,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:10] local.INFO: Processing buffer {"connection_id":219666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:08:10] local.INFO: IMEI packet received {"connection_id":219666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":219666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:08:17] local.INFO: TCP Data received {"connection_id":216386,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:08:17] local.INFO: Processing buffer {"connection_id":216386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:08:17] local.INFO: IMEI packet received {"connection_id":216386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":216386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:08:21] local.INFO: TCP Data received {"connection_id":216568,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:08:21] local.INFO: Processing buffer {"connection_id":216568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:08:21] local.INFO: IMEI packet received {"connection_id":216568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":216568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:08:21] local.INFO: TCP Data received {"connection_id":219665,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:08:21] local.INFO: Processing buffer {"connection_id":219665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:08:21] local.INFO: IMEI packet received {"connection_id":219665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":219665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:08:23] local.INFO: TCP Data received {"connection_id":216386,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:08:23] local.INFO: Processing buffer {"connection_id":216386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:08:23] local.INFO: IMEI packet received {"connection_id":216386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":216386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:08:24] local.INFO: TCP Data received {"connection_id":216386,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:08:24] local.INFO: Processing buffer {"connection_id":216386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:08:24] local.INFO: Packet analysis {"connection_id":216386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:24] local.INFO: Extracted packet for processing {"connection_id":216386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792118255000,"timestamp_ms":1792118255000,"timestamp_seconds":1792118255,"priority":1,"record_length":96,"hex_timestamp":"000001a142926d98"} 
[2026-10-16 08:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:08:24] 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-10-16 08:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196224001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:08:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:08:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196224001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":216386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:08:24] local.INFO: GPS data processed {"connection_id":216386,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:08:24] local.INFO: Acknowledgment sent {"connection_id":216386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:08:25] local.INFO: TCP Data received {"connection_id":219666,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1429213c0012d0c264007058d700017012411..."} 
[2026-10-16 08:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429213c0012d0c264007058d700017012411..."} 
[2026-10-16 08:08:25] local.INFO: Processing buffer {"connection_id":219666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429213c0012d0c264007058d700017012411..."} 
[2026-10-16 08:08:25] local.INFO: Packet analysis {"connection_id":219666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:25] local.INFO: Extracted packet for processing {"connection_id":219666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:25] local.INFO: GPS Element Parsed {"raw_longitude":755770944,"raw_latitude":117804400,"longitude_deg":75.5770944,"latitude_deg":11.78044,"altitude":23,"angle":292,"satellites":17,"speed":39,"hex_longitude":"2d0c2640","hex_latitude":"07058d70","is_valid_coordinates":true} 
[2026-10-16 08:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782266368001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36400114121572352,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879046382424868864,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:25] 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-10-16 08:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792118232000,"timestamp_ms":1792118232000,"timestamp_seconds":1792118232,"priority":1,"record_length":96,"hex_timestamp":"000001a1429213c0"} 
[2026-10-16 08:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 08:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2773,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":219666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":219666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":219666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782266368001,"66":13863,"164":206,"94":10240,"24":39,"16":36400114121572352,"45":879046382424868864},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 08:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782266368001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:08:25] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 08:08:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36400114121572352,"km_value":36400114121572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":879046382424868864,"description":"Unknown IO ID 45"} 
[2026-10-16 08:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782266368001,"power":13863,"unknown_164":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":879046382424868864}} 
[2026-10-16 08:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":219666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045172,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:08:25] local.INFO: GPS data processed {"connection_id":219666,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:08:25] local.INFO: Acknowledgment sent {"connection_id":219666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:08:26] local.INFO: TCP Data received {"connection_id":216568,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:08:26] local.INFO: Processing buffer {"connection_id":216568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:08:26] local.INFO: IMEI packet received {"connection_id":216568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":216568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:08:29] local.INFO: TCP Data received {"connection_id":216568,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142925df8012d7b040005e332980000016620..."} 
[2026-10-16 08:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142925df8012d7b040005e332980000016620..."} 
[2026-10-16 08:08:29] local.INFO: Processing buffer {"connection_id":216568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142925df8012d7b040005e332980000016620..."} 
[2026-10-16 08:08:29] local.INFO: Packet analysis {"connection_id":216568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:29] local.INFO: Extracted packet for processing {"connection_id":216568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98775704,"longitude_deg":76.3036672,"latitude_deg":9.8775704,"altitude":0,"angle":358,"satellites":32,"speed":30,"hex_longitude":"2d7b0400","hex_latitude":"05e33298","is_valid_coordinates":true} 
[2026-10-16 08:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782268416001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145408707671359488,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897902522368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792118251000,"timestamp_ms":1792118251000,"timestamp_seconds":1792118251,"priority":1,"record_length":96,"hex_timestamp":"000001a142925df8"} 
[2026-10-16 08:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 08:08:29] 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-10-16 08:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782268416001,"66":13461,"208":206,"85":15104,"24":30,"16":145408707671359488,"45":8866672897902522368},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-16 08:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782268416001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:08:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 08:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145408707671359488,"km_value":145408707671359.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897902522368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782268416001,"power":13461,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8866672897902522368}} 
[2026-10-16 08:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":216568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:08:29] local.INFO: GPS data processed {"connection_id":216568,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:08:29] local.INFO: Acknowledgment sent {"connection_id":216568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:08:37] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a14292e6b0012d196480071ff188003700000a..."} 
[2026-10-16 08:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14292e6b0012d196480071ff188003700000a..."} 
[2026-10-16 08:08:37] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14292e6b0012d196480071ff188003700000a..."} 
[2026-10-16 08:08:37] local.INFO: Packet analysis {"connection_id":219664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:37] local.INFO: Extracted packet for processing {"connection_id":219664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533960,"longitude_deg":75.6638848,"latitude_deg":11.953396,"altitude":55,"angle":0,"satellites":10,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782275840001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021534870208512,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359233024,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792118286000,"timestamp_ms":1792118286000,"timestamp_seconds":1792118286,"priority":1,"record_length":96,"hex_timestamp":"000001a14292e6b0"} 
[2026-10-16 08:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:08:37] 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-10-16 08: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-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513393074575704390,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":141,"raw_value":6629298651489370113,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055300,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":609675680023576782,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3993029888,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2371616768,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4680219712077764965,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":91800424826273792,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:37] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,102,83,24,241,157,16,141,187,10,66,27,1,240,53,4,113,205,2,101,72,36,239,6,99,161,7,59,38],"length":534,"final_offset":664,"validated_count":29,"validation_warnings":[]} 
[2026-10-16 08:08:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6557241091811180544,"timestamp_seconds":6557241091811181.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":219664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782275840001,"66":12287,"102":206,"83":41984,"24":0,"16":28021534870208512,"45":1830924385359233024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 08:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782275840001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:08:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021534870208512,"km_value":28021534870208.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359233024,"description":"Unknown IO ID 45"} 
[2026-10-16 08:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782275840001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359233024}} 
[2026-10-16 08:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":219664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:08:37] local.INFO: GPS data processed {"connection_id":219664,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:08:37] local.INFO: Acknowledgment sent {"connection_id":219664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:08:51] local.INFO: TCP Data received {"connection_id":216387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:08:51] local.INFO: Processing buffer {"connection_id":216387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:08:51] local.INFO: IMEI packet received {"connection_id":216387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":216387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:08:56] local.INFO: TCP Data received {"connection_id":216386,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:08:56] local.INFO: Processing buffer {"connection_id":216386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:08:56] local.INFO: Packet analysis {"connection_id":216386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:56] local.INFO: Extracted packet for processing {"connection_id":216386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792118255000,"timestamp_ms":1792118255000,"timestamp_seconds":1792118255,"priority":1,"record_length":96,"hex_timestamp":"000001a142926d98"} 
[2026-10-16 08:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:08: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-10-16 08:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:08:56] 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-10-16 08:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196224001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:08:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:08:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196224001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":216386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:08:56] local.INFO: GPS data processed {"connection_id":216386,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:08:56] local.INFO: Acknowledgment sent {"connection_id":216386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:09:00] local.INFO: TCP Data received {"connection_id":216568,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142928120012d7b040005e34cb00000015b24..."} 
[2026-10-16 08:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142928120012d7b040005e34cb00000015b24..."} 
[2026-10-16 08:09:00] local.INFO: Processing buffer {"connection_id":216568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142928120012d7b040005e34cb00000015b24..."} 
[2026-10-16 08:09:00] local.INFO: Packet analysis {"connection_id":216568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:09:00] local.INFO: Extracted packet for processing {"connection_id":216568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98782384,"longitude_deg":76.3036672,"latitude_deg":9.8782384,"altitude":0,"angle":347,"satellites":36,"speed":27,"hex_longitude":"2d7b0400","hex_latitude":"05e34cb0","is_valid_coordinates":true} 
[2026-10-16 08:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782272256001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145409034088873984,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991858558976,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792118260000,"timestamp_ms":1792118260000,"timestamp_seconds":1792118260,"priority":1,"record_length":96,"hex_timestamp":"000001a142928120"} 
[2026-10-16 08:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-10-16 08:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782272256001,"66":14135,"208":206,"85":15104,"24":27,"16":145409034088873984,"45":8864209991858558976},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-16 08:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782272256001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:09:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 08:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145409034088873984,"km_value":145409034088873.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991858558976,"description":"Unknown IO ID 45"} 
[2026-10-16 08:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782272256001,"power":14135,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8864209991858558976}} 
[2026-10-16 08:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":216568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:09:00] local.INFO: GPS data processed {"connection_id":216568,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:09:00] local.INFO: Acknowledgment sent {"connection_id":216568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:09:01] local.INFO: TCP Data received {"connection_id":217916,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217916,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:09:01] local.INFO: Processing buffer {"connection_id":217916,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:09:01] local.INFO: IMEI packet received {"connection_id":217916,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":217916,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:09:04] local.INFO: TCP Data received {"connection_id":217916,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217916,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:09:04] local.INFO: Processing buffer {"connection_id":217916,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:09:04] local.INFO: IMEI packet received {"connection_id":217916,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":217916,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:09:06] local.INFO: TCP Data received {"connection_id":217916,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217916,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:09:06] local.INFO: Processing buffer {"connection_id":217916,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:09:06] local.INFO: IMEI packet received {"connection_id":217916,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":217916,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:09:07] local.INFO: TCP Data received {"connection_id":217916,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142935be0012d0bd48007061c780023012412..."} 
[2026-10-16 08:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142935be0012d0bd48007061c780023012412..."} 
[2026-10-16 08:09:07] local.INFO: Processing buffer {"connection_id":217916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142935be0012d0bd48007061c780023012412..."} 
[2026-10-16 08:09:07] local.INFO: Packet analysis {"connection_id":217916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:09:07] local.INFO: Extracted packet for processing {"connection_id":217916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:09:07] local.INFO: GPS Element Parsed {"raw_longitude":755750016,"raw_latitude":117841016,"longitude_deg":75.5750016,"latitude_deg":11.7841016,"altitude":35,"angle":292,"satellites":18,"speed":15,"hex_longitude":"2d0bd480","hex_latitude":"07061c78","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782288640001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36402545073061888,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852869209600546816,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:07] 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-10-16 08:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792118316000,"timestamp_ms":1792118316000,"timestamp_seconds":1792118316,"priority":1,"record_length":96,"hex_timestamp":"000001a142935be0"} 
[2026-10-16 08:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:09: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-10-16 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 08:09:07] 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-10-16 08: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-10-16 08:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":217916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":217916,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":217916,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782288640001,"66":14428,"164":206,"94":10240,"24":15,"16":36402545073061888,"45":852869209600546816},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 08:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782288640001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:09:07] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 08:09:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36402545073061888,"km_value":36402545073061.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":852869209600546816,"description":"Unknown IO ID 45"} 
[2026-10-16 08:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782288640001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":852869209600546816}} 
[2026-10-16 08:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":217916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045177,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:09:07] local.INFO: GPS data processed {"connection_id":217916,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:09:07] local.INFO: Acknowledgment sent {"connection_id":217916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:09:08] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1429338b8012d196480071ff1a0003b00000c..."} 
[2026-10-16 08:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429338b8012d196480071ff1a0003b00000c..."} 
[2026-10-16 08:09:08] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429338b8012d196480071ff1a0003b00000c..."} 
[2026-10-16 08:09:08] local.INFO: Packet analysis {"connection_id":219664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:09:08] local.INFO: Extracted packet for processing {"connection_id":219664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533984,"longitude_deg":75.6638848,"latitude_deg":11.9533984,"altitude":59,"angle":0,"satellites":12,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff1a0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782281216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021539165175808,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708313088,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792118307000,"timestamp_ms":1792118307000,"timestamp_seconds":1792118307,"priority":1,"record_length":96,"hex_timestamp":"000001a1429338b8"} 
[2026-10-16 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-10-16 08:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 08:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 08:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":219664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782281216001,"66":12298,"102":206,"83":41984,"24":0,"16":28021539165175808,"45":1829728116708313088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 08:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782281216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:09:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021539165175808,"km_value":28021539165175.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708313088,"description":"Unknown IO ID 45"} 
[2026-10-16 08:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782281216001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708313088}} 
[2026-10-16 08:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":219664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:09:08] local.INFO: GPS data processed {"connection_id":219664,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:09:08] local.INFO: Acknowledgment sent {"connection_id":219664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:09:22] local.INFO: TCP Data received {"connection_id":219667,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:09:22] local.INFO: Processing buffer {"connection_id":219667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:09:22] local.INFO: IMEI packet received {"connection_id":219667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":219667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:09:26] local.INFO: TCP Data received {"connection_id":216569,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:09:26] local.INFO: Processing buffer {"connection_id":216569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:09:26] local.INFO: IMEI packet received {"connection_id":216569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":216569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:09:26] local.INFO: TCP Data received {"connection_id":219667,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:09:26] local.INFO: Processing buffer {"connection_id":219667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:09:26] local.INFO: IMEI packet received {"connection_id":219667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":219667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:09:26] local.INFO: TCP Data received {"connection_id":216569,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:09:26] local.INFO: Processing buffer {"connection_id":216569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:09:26] local.INFO: IMEI packet received {"connection_id":216569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":216569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:09:27] local.INFO: TCP Data received {"connection_id":219667,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:09:27] local.INFO: Processing buffer {"connection_id":219667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:09:27] local.INFO: Packet analysis {"connection_id":219667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:09:27] local.INFO: Extracted packet for processing {"connection_id":219667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792118255000,"timestamp_ms":1792118255000,"timestamp_seconds":1792118255,"priority":1,"record_length":96,"hex_timestamp":"000001a142926d98"} 
[2026-10-16 08:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:09:27] 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-10-16 08: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-10-16 08:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196224001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:09:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:09:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196224001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":219667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:09:27] local.INFO: GPS data processed {"connection_id":219667,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:09:27] local.INFO: Acknowledgment sent {"connection_id":219667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:09:29] local.INFO: TCP Data received {"connection_id":216569,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14292ac18012d7afb4005e368380000014e28..."} 
[2026-10-16 08:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14292ac18012d7afb4005e368380000014e28..."} 
[2026-10-16 08:09:29] local.INFO: Processing buffer {"connection_id":216569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14292ac18012d7afb4005e368380000014e28..."} 
[2026-10-16 08:09:29] local.INFO: Packet analysis {"connection_id":216569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:09:29] local.INFO: Extracted packet for processing {"connection_id":216569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:09:29] local.INFO: GPS Element Parsed {"raw_longitude":763034432,"raw_latitude":98789432,"longitude_deg":76.3034432,"latitude_deg":9.8789432,"altitude":0,"angle":334,"satellites":40,"speed":20,"hex_longitude":"2d7afb40","hex_latitude":"05e36838","is_valid_coordinates":true} 
[2026-10-16 08:09: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-10-16 08:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782274560001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145409390571159552,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991860269056,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792118271000,"timestamp_ms":1792118271000,"timestamp_seconds":1792118271,"priority":1,"record_length":96,"hex_timestamp":"000001a14292ac18"} 
[2026-10-16 08:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-16 08:09:29] 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-10-16 08:09: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-10-16 08:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782274560001,"66":13450,"208":206,"85":15104,"24":20,"16":145409390571159552,"45":8864209991860269056},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-16 08:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782274560001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:09:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 08:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145409390571159552,"km_value":145409390571159.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991860269056,"description":"Unknown IO ID 45"} 
[2026-10-16 08:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782274560001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8864209991860269056}} 
[2026-10-16 08:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":216569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:09:29] local.INFO: GPS data processed {"connection_id":216569,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:09:29] local.INFO: Acknowledgment sent {"connection_id":216569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:09:33] local.INFO: TCP Data received {"connection_id":219667,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:09:33] local.INFO: Processing buffer {"connection_id":219667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:09:33] local.INFO: Packet analysis {"connection_id":219667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:09:33] local.INFO: Extracted packet for processing {"connection_id":219667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792118255000,"timestamp_ms":1792118255000,"timestamp_seconds":1792118255,"priority":1,"record_length":96,"hex_timestamp":"000001a142926d98"} 
[2026-10-16 08:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196224001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:09:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:09:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196224001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":219667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:09:33] local.INFO: GPS data processed {"connection_id":219667,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:09:33] local.INFO: Acknowledgment sent {"connection_id":219667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:09:37] local.INFO: TCP Data received {"connection_id":216569,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14292fa38012d7af9c005e36c30000001582d..."} 
[2026-10-16 08:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14292fa38012d7af9c005e36c30000001582d..."} 
[2026-10-16 08:09:37] local.INFO: Processing buffer {"connection_id":216569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14292fa38012d7af9c005e36c30000001582d..."} 
[2026-10-16 08:09:37] local.INFO: Packet analysis {"connection_id":216569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:09:37] local.INFO: Extracted packet for processing {"connection_id":216569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763034048,"raw_latitude":98790448,"longitude_deg":76.3034048,"latitude_deg":9.8790448,"altitude":0,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d7af9c0","hex_latitude":"05e36c30","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782277376001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145409446405734400,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861747085815855104,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792118291000,"timestamp_ms":1792118291000,"timestamp_seconds":1792118291,"priority":1,"record_length":96,"hex_timestamp":"000001a14292fa38"} 
[2026-10-16 08:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:09:37] 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-10-16 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-16 08:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782277376001,"66":14243,"208":206,"85":15104,"24":0,"16":145409446405734400,"45":8861747085815855104},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-16 08:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782277376001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:09:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 08:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145409446405734400,"km_value":145409446405734.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861747085815855104,"description":"Unknown IO ID 45"} 
[2026-10-16 08:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782277376001,"power":14243,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8861747085815855104}} 
[2026-10-16 08:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":216569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:09:37] local.INFO: GPS data processed {"connection_id":216569,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:09:37] local.INFO: Acknowledgment sent {"connection_id":216569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:09:39] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a142938ac0012d196500071ff198003a00000d..."} 
[2026-10-16 08:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142938ac0012d196500071ff198003a00000d..."} 
[2026-10-16 08:09:39] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142938ac0012d196500071ff198003a00000d..."} 
[2026-10-16 08:09:39] local.INFO: Packet analysis {"connection_id":219664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:09:39] local.INFO: Extracted packet for processing {"connection_id":219664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533976,"longitude_deg":75.6638976,"latitude_deg":11.9533976,"altitude":58,"angle":0,"satellites":13,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff198","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782286592001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021552050077696,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708319232,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792118328000,"timestamp_ms":1792118328000,"timestamp_seconds":1792118328,"priority":1,"record_length":96,"hex_timestamp":"000001a142938ac0"} 
[2026-10-16 08:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-16 08:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513393074575704390,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:39] local.WARNING: Large IO value detected {"io_id":141,"raw_value":6629298651489370113,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:39] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4683745880227780965,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832512,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683568054501582,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:39] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2371616768,"note":"Value kept but may cause issues"} 
[2026-10-16 08:09:39] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,141,161,230,45,128,55,10,66,148,192,240,91,8,187,1,222,227,4,113,205,27,239,2,48,99,36],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[]} 
[2026-10-16 08:09:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251398099777355776,"timestamp_seconds":4251398099777356.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":219664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782286592001,"66":12287,"102":206,"83":41984,"24":0,"16":28021552050077696,"45":1829728116708319232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 08:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782286592001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:09:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021552050077696,"km_value":28021552050077.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708319232,"description":"Unknown IO ID 45"} 
[2026-10-16 08:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782286592001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708319232}} 
[2026-10-16 08:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":219664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:09:40] local.INFO: GPS data processed {"connection_id":219664,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:09:40] local.INFO: Acknowledgment sent {"connection_id":219664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:10:08] local.INFO: TCP Data received {"connection_id":217916,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142937350012d0bca8007061e500026011813..."} 
[2026-10-16 08:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142937350012d0bca8007061e500026011813..."} 
[2026-10-16 08:10:08] local.INFO: Processing buffer {"connection_id":217916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142937350012d0bca8007061e500026011813..."} 
[2026-10-16 08:10:08] local.INFO: Packet analysis {"connection_id":217916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:10:08] local.INFO: Extracted packet for processing {"connection_id":217916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:10:08] local.INFO: GPS Element Parsed {"raw_longitude":755747456,"raw_latitude":117841488,"longitude_deg":75.5747456,"latitude_deg":11.7841488,"altitude":38,"angle":280,"satellites":19,"speed":12,"hex_longitude":"2d0bca80","hex_latitude":"07061e50","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782288896001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36402669627113472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852446997135521792,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:08] 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-10-16 08:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792118322000,"timestamp_ms":1792118322000,"timestamp_seconds":1792118322,"priority":1,"record_length":96,"hex_timestamp":"000001a142937350"} 
[2026-10-16 08:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:10: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-10-16 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:10: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-10-16 08: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-10-16 08:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":217916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":217916,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":217916,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782288896001,"66":14450,"164":206,"94":10240,"24":12,"16":36402669627113472,"45":852446997135521792},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 08:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782288896001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:10:08] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 08:10:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36402669627113472,"km_value":36402669627113.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":852446997135521792,"description":"Unknown IO ID 45"} 
[2026-10-16 08:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782288896001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":852446997135521792}} 
[2026-10-16 08:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":217916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045184,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:10:09] local.INFO: GPS data processed {"connection_id":217916,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:10:09] local.INFO: Acknowledgment sent {"connection_id":217916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:10:11] local.INFO: TCP Data received {"connection_id":216570,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:11] local.INFO: Processing buffer {"connection_id":216570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:11] local.INFO: IMEI packet received {"connection_id":216570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":216570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:10:11] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a14293dcc8012d196500071ff1b8003a00000d..."} 
[2026-10-16 08:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14293dcc8012d196500071ff1b8003a00000d..."} 
[2026-10-16 08:10:11] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14293dcc8012d196500071ff1b8003a00000d..."} 
[2026-10-16 08:10:11] local.INFO: Packet analysis {"connection_id":219664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:10:11] local.INFO: Extracted packet for processing {"connection_id":219664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119534008,"longitude_deg":75.6638976,"latitude_deg":11.9534008,"altitude":58,"angle":0,"satellites":13,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff1b8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782291968001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021560640012288,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196672512,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792118349000,"timestamp_ms":1792118349000,"timestamp_seconds":1792118349,"priority":1,"record_length":96,"hex_timestamp":"000001a14293dcc8"} 
[2026-10-16 08:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:10:11] 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-10-16 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 08:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":219664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782291968001,"66":12265,"102":206,"83":41984,"24":0,"16":28021560640012288,"45":1829868854196672512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 08:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782291968001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:10:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021560640012288,"km_value":28021560640012.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196672512,"description":"Unknown IO ID 45"} 
[2026-10-16 08:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782291968001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196672512}} 
[2026-10-16 08:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":219664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:10:11] local.INFO: GPS data processed {"connection_id":219664,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:10:11] local.INFO: Acknowledgment sent {"connection_id":219664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:10:12] local.INFO: TCP Data received {"connection_id":216570,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:12] local.INFO: Processing buffer {"connection_id":216570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:12] local.INFO: IMEI packet received {"connection_id":216570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":216570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:10:13] local.INFO: TCP Data received {"connection_id":216570,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:13] local.INFO: Processing buffer {"connection_id":216570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:13] local.INFO: IMEI packet received {"connection_id":216570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":216570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:10:17] local.INFO: TCP Data received {"connection_id":216571,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:10:17] local.INFO: Processing buffer {"connection_id":216571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:10:17] local.INFO: IMEI packet received {"connection_id":216571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":216571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:10:18] local.INFO: TCP Data received {"connection_id":216570,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:18] local.INFO: Processing buffer {"connection_id":216570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:10:18] local.INFO: IMEI packet received {"connection_id":216570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":216570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:10:18] local.INFO: TCP Data received {"connection_id":216570,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142942318012d0bd880070610c8002700ad12..."} 
[2026-10-16 08:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142942318012d0bd880070610c8002700ad12..."} 
[2026-10-16 08:10:18] local.INFO: Processing buffer {"connection_id":216570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142942318012d0bd880070610c8002700ad12..."} 
[2026-10-16 08:10:18] local.INFO: Packet analysis {"connection_id":216570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14294"} 
[2026-10-16 08:10:18] local.INFO: Extracted packet for processing {"connection_id":216570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14294"} 
[2026-10-16 08:10:18] local.INFO: GPS Element Parsed {"raw_longitude":755751040,"raw_latitude":117838024,"longitude_deg":75.575104,"latitude_deg":11.7838024,"altitude":39,"angle":173,"satellites":18,"speed":1,"hex_longitude":"2d0bd880","hex_latitude":"070610c8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782301440001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36403030404366336,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853572897041649664,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792118367000,"timestamp_ms":1792118367000,"timestamp_seconds":1792118367,"priority":1,"record_length":96,"hex_timestamp":"000001a142942318"} 
[2026-10-16 08:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:10: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-10-16 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:10: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-10-16 08: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-10-16 08:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782301440001,"66":14439,"164":206,"94":10240,"24":1,"16":36403030404366336,"45":853572897041649664},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 08:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782301440001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:10:18] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 08:10:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36403030404366336,"km_value":36403030404366.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":853572897041649664,"description":"Unknown IO ID 45"} 
[2026-10-16 08:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782301440001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":853572897041649664}} 
[2026-10-16 08:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":216570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045186,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:10:18] local.INFO: GPS data processed {"connection_id":216570,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:10:18] local.INFO: Acknowledgment sent {"connection_id":216570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:10:21] local.INFO: TCP Data received {"connection_id":216389,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:10:21] local.INFO: Processing buffer {"connection_id":216389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:10:21] local.INFO: IMEI packet received {"connection_id":216389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":216389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:10:22] local.INFO: TCP Data received {"connection_id":216571,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:10:22] local.INFO: Processing buffer {"connection_id":216571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:10:22] local.INFO: IMEI packet received {"connection_id":216571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":216571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:10:23] local.INFO: TCP Data received {"connection_id":216571,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:10:23] local.INFO: Processing buffer {"connection_id":216571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:10:23] local.INFO: Packet analysis {"connection_id":216571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:10:23] local.INFO: Extracted packet for processing {"connection_id":216571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792118255000,"timestamp_ms":1792118255000,"timestamp_seconds":1792118255,"priority":1,"record_length":96,"hex_timestamp":"000001a142926d98"} 
[2026-10-16 08:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:10:23] 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-10-16 08:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196224001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:10:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:10:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196224001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":216571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:10:23] local.INFO: GPS data processed {"connection_id":216571,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:10:23] local.INFO: Acknowledgment sent {"connection_id":216571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:10:28] local.INFO: TCP Data received {"connection_id":216389,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:10:28] local.INFO: Processing buffer {"connection_id":216389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:10:28] local.INFO: IMEI packet received {"connection_id":216389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":216389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:10:29] local.INFO: TCP Data received {"connection_id":216389,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142934c40012d7af9c005e36c30000001582d..."} 
[2026-10-16 08:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142934c40012d7af9c005e36c30000001582d..."} 
[2026-10-16 08:10:29] local.INFO: Processing buffer {"connection_id":216389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142934c40012d7af9c005e36c30000001582d..."} 
[2026-10-16 08:10:29] local.INFO: Packet analysis {"connection_id":216389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:10:29] local.INFO: Extracted packet for processing {"connection_id":216389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763034048,"raw_latitude":98790448,"longitude_deg":76.3034048,"latitude_deg":9.8790448,"altitude":0,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d7af9c0","hex_latitude":"05e36c30","is_valid_coordinates":true} 
[2026-10-16 08:10: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-10-16 08:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782282496001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145409446405734400,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861324873351049216,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792118312000,"timestamp_ms":1792118312000,"timestamp_seconds":1792118312,"priority":1,"record_length":96,"hex_timestamp":"000001a142934c40"} 
[2026-10-16 08:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-16 08:10:29] 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-10-16 08:10: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-10-16 08:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782282496001,"66":13559,"208":206,"85":15104,"24":0,"16":145409446405734400,"45":8861324873351049216},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-16 08:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782282496001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:10:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 08:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145409446405734400,"km_value":145409446405734.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861324873351049216,"description":"Unknown IO ID 45"} 
[2026-10-16 08:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782282496001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8861324873351049216}} 
[2026-10-16 08:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":216389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:10:30] local.INFO: GPS data processed {"connection_id":216389,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:10:30] local.INFO: Acknowledgment sent {"connection_id":216389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:10:46] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a142942ed0012d196500071ff1c0003a00000d..."} 
[2026-10-16 08:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142942ed0012d196500071ff1c0003a00000d..."} 
[2026-10-16 08:10:46] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142942ed0012d196500071ff1c0003a00000d..."} 
[2026-10-16 08:10:46] local.INFO: Packet analysis {"connection_id":219664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14294"} 
[2026-10-16 08:10:46] local.INFO: Extracted packet for processing {"connection_id":219664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14294"} 
[2026-10-16 08:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119534016,"longitude_deg":75.6638976,"latitude_deg":11.9534016,"altitude":58,"angle":0,"satellites":13,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-10-16 08:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021582114848768,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196680704,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792118370000,"timestamp_ms":1792118370000,"timestamp_seconds":1792118370,"priority":1,"record_length":96,"hex_timestamp":"000001a142942ed0"} 
[2026-10-16 08:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:10:46] 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-10-16 08: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 08:10:46] 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-10-16 08: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-10-16 08:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":219664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782297344001,"66":12287,"102":206,"83":41984,"24":0,"16":28021582114848768,"45":1829868854196680704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 08:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:10:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021582114848768,"km_value":28021582114848.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196680704,"description":"Unknown IO ID 45"} 
[2026-10-16 08:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782297344001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196680704}} 
[2026-10-16 08:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":219664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:10:46] local.INFO: GPS data processed {"connection_id":219664,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:10:46] local.INFO: Acknowledgment sent {"connection_id":219664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:10:55] local.INFO: TCP Data received {"connection_id":216571,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:10:55] local.INFO: Processing buffer {"connection_id":216571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:10:55] local.INFO: Packet analysis {"connection_id":216571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:10:55] local.INFO: Extracted packet for processing {"connection_id":216571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792118255000,"timestamp_ms":1792118255000,"timestamp_seconds":1792118255,"priority":1,"record_length":96,"hex_timestamp":"000001a142926d98"} 
[2026-10-16 08:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:10:55] 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-10-16 08:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196224001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:10:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:10:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196224001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":216571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:10:55] local.INFO: GPS data processed {"connection_id":216571,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:10:55] local.INFO: Acknowledgment sent {"connection_id":216571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:11:02] local.INFO: TCP Data received {"connection_id":216389,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a142939e48012d7af9c005e36c300000015828..."} 
[2026-10-16 08:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142939e48012d7af9c005e36c300000015828..."} 
[2026-10-16 08:11:02] local.INFO: Processing buffer {"connection_id":216389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142939e48012d7af9c005e36c300000015828..."} 
[2026-10-16 08:11:02] local.INFO: Packet analysis {"connection_id":216389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:11:02] local.INFO: Extracted packet for processing {"connection_id":216389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763034048,"raw_latitude":98790448,"longitude_deg":76.3034048,"latitude_deg":9.8790448,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d7af9c0","hex_latitude":"05e36c30","is_valid_coordinates":true} 
[2026-10-16 08:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782287872001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145409446405734400,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861324873351049216,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792118333000,"timestamp_ms":1792118333000,"timestamp_seconds":1792118333,"priority":1,"record_length":96,"hex_timestamp":"000001a142939e48"} 
[2026-10-16 08:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 08:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782287872001,"66":13319,"208":206,"85":15104,"24":0,"16":145409446405734400,"45":8861324873351049216},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-16 08:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782287872001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:11:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 08:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145409446405734400,"km_value":145409446405734.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861324873351049216,"description":"Unknown IO ID 45"} 
[2026-10-16 08:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782287872001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8861324873351049216}} 
[2026-10-16 08:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":216389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:11:02] local.INFO: GPS data processed {"connection_id":216389,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:11:02] local.INFO: Acknowledgment sent {"connection_id":216389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:11:16] local.INFO: TCP Data received {"connection_id":216572,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:11:16] local.INFO: Processing buffer {"connection_id":216572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:11:16] local.INFO: IMEI packet received {"connection_id":216572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":216572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:11:17] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a142959a18012d196a40071fee300036005f12..."} 
[2026-10-16 08:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142959a18012d196a40071fee300036005f12..."} 
[2026-10-16 08:11:17] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142959a18012d196a40071fee300036005f12..."} 
[2026-10-16 08:11:17] local.INFO: Packet analysis {"connection_id":219664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14295"} 
[2026-10-16 08:11:17] local.INFO: Extracted packet for processing {"connection_id":219664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14295"} 
[2026-10-16 08:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119533104,"longitude_deg":75.664032,"latitude_deg":11.9533104,"altitude":54,"angle":95,"satellites":18,"speed":12,"hex_longitude":"2d196a40","hex_latitude":"071fee30","is_valid_coordinates":true} 
[2026-10-16 08:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782325760001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021723848769536,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792118463000,"timestamp_ms":1792118463000,"timestamp_seconds":1792118463,"priority":1,"record_length":96,"hex_timestamp":"000001a142959a18"} 
[2026-10-16 08:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:11:17] 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-10-16 08:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 08:11:17] 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-10-16 08:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":219664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782325760001,"66":13972,"102":206,"83":41984,"24":12,"16":28021723848769536,"45":1830502172894054400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 08:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782325760001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:11:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021723848769536,"km_value":28021723848769.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-10-16 08:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782325760001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-10-16 08:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":219664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:11:18] local.INFO: GPS data processed {"connection_id":219664,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:11:18] local.INFO: Acknowledgment sent {"connection_id":219664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:11:21] local.INFO: TCP Data received {"connection_id":217917,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:11:21] local.INFO: Processing buffer {"connection_id":217917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:11:21] local.INFO: IMEI packet received {"connection_id":217917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":217917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:11:22] local.INFO: TCP Data received {"connection_id":216572,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:11:22] local.INFO: Processing buffer {"connection_id":216572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:11:22] local.INFO: IMEI packet received {"connection_id":216572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":216572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:11:24] local.INFO: TCP Data received {"connection_id":216572,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:11:24] local.INFO: Processing buffer {"connection_id":216572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:11:24] local.INFO: Packet analysis {"connection_id":216572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:11:24] local.INFO: Extracted packet for processing {"connection_id":216572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:11:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:11: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-10-16 08:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792118255000,"timestamp_ms":1792118255000,"timestamp_seconds":1792118255,"priority":1,"record_length":96,"hex_timestamp":"000001a142926d98"} 
[2026-10-16 08:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:11:24] 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-10-16 08:11: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-10-16 08:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196224001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:11:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:11:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196224001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":216572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:11:24] local.INFO: GPS data processed {"connection_id":216572,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:11:24] local.INFO: Acknowledgment sent {"connection_id":216572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:11:28] local.INFO: TCP Data received {"connection_id":217917,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:11:28] local.INFO: Processing buffer {"connection_id":217917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:11:28] local.INFO: IMEI packet received {"connection_id":217917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":217917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:11:29] local.INFO: TCP Data received {"connection_id":217917,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14293d4f8012d7afa0005e36dc0000001662d..."} 
[2026-10-16 08:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14293d4f8012d7afa0005e36dc0000001662d..."} 
[2026-10-16 08:11:29] local.INFO: Processing buffer {"connection_id":217917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14293d4f8012d7afa0005e36dc0000001662d..."} 
[2026-10-16 08:11:29] local.INFO: Packet analysis {"connection_id":217917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:11:29] local.INFO: Extracted packet for processing {"connection_id":217917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14293"} 
[2026-10-16 08:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763034112,"raw_latitude":98790848,"longitude_deg":76.3034112,"latitude_deg":9.8790848,"altitude":0,"angle":358,"satellites":45,"speed":6,"hex_longitude":"2d7afa00","hex_latitude":"05e36dc0","is_valid_coordinates":true} 
[2026-10-16 08:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782293248001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145409467880570880,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861324873351049216,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792118347000,"timestamp_ms":1792118347000,"timestamp_seconds":1792118347,"priority":1,"record_length":96,"hex_timestamp":"000001a14293d4f8"} 
[2026-10-16 08:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2457935873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":2557673472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":93,"raw_value":4160826747,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857759,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809488896,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":78,"raw_value":57807712902075707,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":145,"raw_value":-828661036586319867,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-1470425278313391360,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:29] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,208,85,24,241,157,16,153,161,76,45,192,108,10,66,250,172,64,1,240,138,227,4,113,205,27,93,152,32,239,52,2,5,25,78,145,226],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-10-16 08:11:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":378403798646784,"timestamp_seconds":378403798646.784,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782293248001,"66":13515,"208":206,"85":15104,"24":6,"16":145409467880570880,"45":8861324873351049216},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-16 08:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782293248001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:11:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 08:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145409467880570880,"km_value":145409467880570.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861324873351049216,"description":"Unknown IO ID 45"} 
[2026-10-16 08:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782293248001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8861324873351049216}} 
[2026-10-16 08:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":217917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:11:29] local.INFO: GPS data processed {"connection_id":217917,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:11:29] local.INFO: Acknowledgment sent {"connection_id":217917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:11:48] local.INFO: TCP Data received {"connection_id":219664,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a14295bd40012d197a00071fecf80034004f12..."} 
[2026-10-16 08:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14295bd40012d197a00071fecf80034004f12..."} 
[2026-10-16 08:11:48] local.INFO: Processing buffer {"connection_id":219664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14295bd40012d197a00071fecf80034004f12..."} 
[2026-10-16 08:11:48] local.INFO: Packet analysis {"connection_id":219664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14295"} 
[2026-10-16 08:11:48] local.INFO: Extracted packet for processing {"connection_id":219664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14295"} 
[2026-10-16 08:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756644352,"raw_latitude":119532792,"longitude_deg":75.6644352,"latitude_deg":11.9532792,"altitude":52,"angle":79,"satellites":18,"speed":15,"hex_longitude":"2d197a00","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-10-16 08:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782326528001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28021917122297856,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824180224,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792118472000,"timestamp_ms":1792118472000,"timestamp_seconds":1792118472,"priority":1,"record_length":96,"hex_timestamp":"000001a14295bd40"} 
[2026-10-16 08:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:11:48] 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-10-16 08:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-16 08:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":219664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":219664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782326528001,"66":14004,"102":206,"83":41984,"24":15,"16":28021917122297856,"45":1831346597824180224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 08:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782326528001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:11:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28021917122297856,"km_value":28021917122297.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824180224,"description":"Unknown IO ID 45"} 
[2026-10-16 08:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782326528001,"power":14004,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1831346597824180224}} 
[2026-10-16 08:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":219664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:11:49] local.INFO: GPS data processed {"connection_id":219664,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:11:49] local.INFO: Acknowledgment sent {"connection_id":219664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:11:56] local.INFO: TCP Data received {"connection_id":216572,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:11:56] local.INFO: Processing buffer {"connection_id":216572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:11:56] local.INFO: Packet analysis {"connection_id":216572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:11:56] local.INFO: Extracted packet for processing {"connection_id":216572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792118255000,"timestamp_ms":1792118255000,"timestamp_seconds":1792118255,"priority":1,"record_length":96,"hex_timestamp":"000001a142926d98"} 
[2026-10-16 08:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:11: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-10-16 08:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:11:56] 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-10-16 08:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196224001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:11:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:11:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196224001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":216572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:11:56] local.INFO: GPS data processed {"connection_id":216572,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:11:56] local.INFO: Acknowledgment sent {"connection_id":216572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:12:05] local.INFO: TCP Data received {"connection_id":219669,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:05] local.INFO: Processing buffer {"connection_id":219669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:05] local.INFO: IMEI packet received {"connection_id":219669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":219669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:12:05] local.INFO: TCP Data received {"connection_id":219669,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:05] local.INFO: Processing buffer {"connection_id":219669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:05] local.INFO: IMEI packet received {"connection_id":219669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":219669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:12:06] local.INFO: TCP Data received {"connection_id":219669,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:06] local.INFO: Processing buffer {"connection_id":219669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:06] local.INFO: IMEI packet received {"connection_id":219669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":219669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:12:10] local.INFO: TCP Data received {"connection_id":219669,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:10] local.INFO: Processing buffer {"connection_id":219669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:12:10] local.INFO: IMEI packet received {"connection_id":219669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":219669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:12:10] local.INFO: TCP Data received {"connection_id":219669,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a142966920012d19dbc007200378002e002612..."} 
[2026-10-16 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142966920012d19dbc007200378002e002612..."} 
[2026-10-16 08:12:10] local.INFO: Processing buffer {"connection_id":219669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142966920012d19dbc007200378002e002612..."} 
[2026-10-16 08:12:10] local.INFO: Packet analysis {"connection_id":219669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14296"} 
[2026-10-16 08:12:10] local.INFO: Extracted packet for processing {"connection_id":219669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14296"} 
[2026-10-16 08:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756669376,"raw_latitude":119538552,"longitude_deg":75.6669376,"latitude_deg":11.9538552,"altitude":46,"angle":38,"satellites":18,"speed":20,"hex_longitude":"2d19dbc0","hex_latitude":"07200378","is_valid_coordinates":true} 
[2026-10-16 08:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782338560001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28023209907453952,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860338520426211328,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792118516000,"timestamp_ms":1792118516000,"timestamp_seconds":1792118516,"priority":1,"record_length":96,"hex_timestamp":"000001a142966920"} 
[2026-10-16 08:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 08:12:10] 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-10-16 08:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":219669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":219669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":219669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782338560001,"66":13646,"101":206,"83":41984,"24":20,"16":28023209907453952,"45":1860338520426211328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 08:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782338560001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:12:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 08:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28023209907453952,"km_value":28023209907453.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860338520426211328,"description":"Unknown IO ID 45"} 
[2026-10-16 08:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782338560001,"power":13646,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1860338520426211328}} 
[2026-10-16 08:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":219669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:12:10] local.INFO: GPS data processed {"connection_id":219669,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:12:10] local.INFO: Acknowledgment sent {"connection_id":219669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:12:17] local.INFO: TCP Data received {"connection_id":217919,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:12:17] local.INFO: Processing buffer {"connection_id":217919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:12:17] local.INFO: IMEI packet received {"connection_id":217919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":217919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:12:17] local.INFO: TCP Data received {"connection_id":216573,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:12:17] local.INFO: Processing buffer {"connection_id":216573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:12:17] local.INFO: IMEI packet received {"connection_id":216573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":216573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:12:22] local.INFO: TCP Data received {"connection_id":217919,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:12:22] local.INFO: Processing buffer {"connection_id":217919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:12:22] local.INFO: IMEI packet received {"connection_id":217919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":217919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:12:23] local.INFO: TCP Data received {"connection_id":217919,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:12:23] local.INFO: Processing buffer {"connection_id":217919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:12:23] local.INFO: Packet analysis {"connection_id":217919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:12:23] local.INFO: Extracted packet for processing {"connection_id":217919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792118255000,"timestamp_ms":1792118255000,"timestamp_seconds":1792118255,"priority":1,"record_length":96,"hex_timestamp":"000001a142926d98"} 
[2026-10-16 08:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:12:23] 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-10-16 08:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196224001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:12:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:12:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196224001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":217919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:12:23] local.INFO: GPS data processed {"connection_id":217919,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:12:23] local.INFO: Acknowledgment sent {"connection_id":217919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:12:36] local.INFO: TCP Data received {"connection_id":216573,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:12:36] local.INFO: Processing buffer {"connection_id":216573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:12:36] local.INFO: IMEI packet received {"connection_id":216573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":216573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:12:36] local.INFO: TCP Data received {"connection_id":216573,"ip":"42.106.6.52","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 08:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216573,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 08:12:36] local.INFO: Processing buffer {"connection_id":216573,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 08:12:36] local.INFO: IMEI packet received {"connection_id":216573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":216573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:12:41] local.INFO: TCP Data received {"connection_id":219669,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a142968478012d19df00072007f00030001a12..."} 
[2026-10-16 08:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142968478012d19df00072007f00030001a12..."} 
[2026-10-16 08:12:41] local.INFO: Processing buffer {"connection_id":219669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142968478012d19df00072007f00030001a12..."} 
[2026-10-16 08:12:41] local.INFO: Packet analysis {"connection_id":219669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14296"} 
[2026-10-16 08:12:41] local.INFO: Extracted packet for processing {"connection_id":219669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14296"} 
[2026-10-16 08:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119539696,"longitude_deg":75.6670208,"latitude_deg":11.9539696,"altitude":48,"angle":26,"satellites":18,"speed":6,"hex_longitude":"2d19df00","hex_latitude":"072007f0","is_valid_coordinates":true} 
[2026-10-16 08:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782340096001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28023282921897984,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863294007682234368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792118523000,"timestamp_ms":1792118523000,"timestamp_seconds":1792118523,"priority":1,"record_length":96,"hex_timestamp":"000001a142968478"} 
[2026-10-16 08:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 08:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":219669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":219669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":219669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782340096001,"66":13472,"101":206,"83":41984,"24":6,"16":28023282921897984,"45":1863294007682234368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 08:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782340096001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:12:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 08:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28023282921897984,"km_value":28023282921897.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863294007682234368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782340096001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1863294007682234368}} 
[2026-10-16 08:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":219669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:12:41] local.INFO: GPS data processed {"connection_id":219669,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:12:41] local.INFO: Acknowledgment sent {"connection_id":219669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:12:55] local.INFO: TCP Data received {"connection_id":217919,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:12:55] local.INFO: Processing buffer {"connection_id":217919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142926d98012d7f98c005afddb00000002f26..."} 
[2026-10-16 08:12:55] local.INFO: Packet analysis {"connection_id":217919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:12:55] local.INFO: Extracted packet for processing {"connection_id":217919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14292"} 
[2026-10-16 08:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782196224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792118255000,"timestamp_ms":1792118255000,"timestamp_seconds":1792118255,"priority":1,"record_length":96,"hex_timestamp":"000001a142926d98"} 
[2026-10-16 08:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:12:55] 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-10-16 08:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782196224001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782196224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:12:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:12:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782196224001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":217919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:12:55] local.INFO: GPS data processed {"connection_id":217919,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:12:55] local.INFO: Acknowledgment sent {"connection_id":217919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:13:12] local.INFO: TCP Data received {"connection_id":219669,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a142976ed8012d1a8a40071fb2a80032009914..."} 
[2026-10-16 08:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142976ed8012d1a8a40071fb2a80032009914..."} 
[2026-10-16 08:13:12] local.INFO: Processing buffer {"connection_id":219669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142976ed8012d1a8a40071fb2a80032009914..."} 
[2026-10-16 08:13:12] local.INFO: Packet analysis {"connection_id":219669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:13:12] local.INFO: Extracted packet for processing {"connection_id":219669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756714048,"raw_latitude":119517864,"longitude_deg":75.6714048,"latitude_deg":11.9517864,"altitude":50,"angle":153,"satellites":20,"speed":5,"hex_longitude":"2d1a8a40","hex_latitude":"071fb2a8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782356480001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28025752528093184,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912059547392188416,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792118583000,"timestamp_ms":1792118583000,"timestamp_seconds":1792118583,"priority":1,"record_length":96,"hex_timestamp":"000001a142976ed8"} 
[2026-10-16 08:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 08:13:12] 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-10-16 08: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-10-16 08:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":219669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":219669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":219669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782356480001,"66":14396,"101":206,"83":41984,"24":5,"16":28025752528093184,"45":1912059547392188416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 08:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782356480001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:13:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 08:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28025752528093184,"km_value":28025752528093.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912059547392188416,"description":"Unknown IO ID 45"} 
[2026-10-16 08:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782356480001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1912059547392188416}} 
[2026-10-16 08:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":219669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:13:12] local.INFO: GPS data processed {"connection_id":219669,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:13:12] local.INFO: Acknowledgment sent {"connection_id":219669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:13:22] local.INFO: TCP Data received {"connection_id":217920,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:13:22] local.INFO: Processing buffer {"connection_id":217920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:13:22] local.INFO: IMEI packet received {"connection_id":217920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":217920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:13:26] local.INFO: TCP Data received {"connection_id":217920,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:13:26] local.INFO: Processing buffer {"connection_id":217920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:13:26] local.INFO: IMEI packet received {"connection_id":217920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":217920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:13:28] local.INFO: TCP Data received {"connection_id":217920,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:13:28] local.INFO: Processing buffer {"connection_id":217920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:13:28] local.INFO: Packet analysis {"connection_id":217920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:13:28] local.INFO: Extracted packet for processing {"connection_id":217920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782273280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792118556000,"timestamp_ms":1792118556000,"timestamp_seconds":1792118556,"priority":1,"record_length":96,"hex_timestamp":"000001a142970560"} 
[2026-10-16 08:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:13:28] 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-10-16 08:13: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-10-16 08:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782273280001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782273280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:13:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:13:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782273280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":217920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:13:28] local.INFO: GPS data processed {"connection_id":217920,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:13:28] local.INFO: Acknowledgment sent {"connection_id":217920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:13:31] local.INFO: TCP Data received {"connection_id":219670,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:13:31] local.INFO: Processing buffer {"connection_id":219670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:13:31] local.INFO: IMEI packet received {"connection_id":219670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":219670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:13:31] local.INFO: TCP Data received {"connection_id":219670,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:13:31] local.INFO: Processing buffer {"connection_id":219670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:13:31] local.INFO: IMEI packet received {"connection_id":219670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":219670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:13:34] local.INFO: TCP Data received {"connection_id":217920,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:13:34] local.INFO: Processing buffer {"connection_id":217920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:13:34] local.INFO: Packet analysis {"connection_id":217920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:13:34] local.INFO: Extracted packet for processing {"connection_id":217920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782273280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792118556000,"timestamp_ms":1792118556000,"timestamp_seconds":1792118556,"priority":1,"record_length":96,"hex_timestamp":"000001a142970560"} 
[2026-10-16 08:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:13:34] 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-10-16 08:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782273280001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782273280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:13:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:13:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782273280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":217920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:13:34] local.INFO: GPS data processed {"connection_id":217920,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:13:34] local.INFO: Acknowledgment sent {"connection_id":217920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:13:36] local.INFO: TCP Data received {"connection_id":219670,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:13:36] local.INFO: Processing buffer {"connection_id":219670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:13:36] local.INFO: IMEI packet received {"connection_id":219670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":219670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:13:36] local.INFO: TCP Data received {"connection_id":219670,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a142971500012d7a27c005e4b0480002010128..."} 
[2026-10-16 08:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142971500012d7a27c005e4b0480002010128..."} 
[2026-10-16 08:13:36] local.INFO: Processing buffer {"connection_id":219670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142971500012d7a27c005e4b0480002010128..."} 
[2026-10-16 08:13:36] local.INFO: Packet analysis {"connection_id":219670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:13:36] local.INFO: Extracted packet for processing {"connection_id":219670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:13:36] local.INFO: GPS Element Parsed {"raw_longitude":762980288,"raw_latitude":98873416,"longitude_deg":76.2980288,"latitude_deg":9.8873416,"altitude":2,"angle":257,"satellites":40,"speed":5,"hex_longitude":"2d7a27c0","hex_latitude":"05e4b048","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782346240001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145414428567797760,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806366884168378368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792118560000,"timestamp_ms":1792118560000,"timestamp_seconds":1792118560,"priority":1,"record_length":96,"hex_timestamp":"000001a142971500"} 
[2026-10-16 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-10-16 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-10-16 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 08:13: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-10-16 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-10-16 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-10-16 08:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782346240001,"66":13493,"39":206,"87":13824,"24":5,"16":145414428567797760,"45":8806366884168378368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-16 08:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782346240001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:13:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-16 08:13:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 08:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145414428567797760,"km_value":145414428567797.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806366884168378368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782346240001,"power":13493,"unknown_39":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8806366884168378368}} 
[2026-10-16 08:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":219670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:13:36] local.INFO: GPS data processed {"connection_id":219670,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:13:36] local.INFO: Acknowledgment sent {"connection_id":219670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:13:43] local.INFO: TCP Data received {"connection_id":219669,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a142977a90012d1a8840071fb2280032011314..."} 
[2026-10-16 08:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142977a90012d1a8840071fb2280032011314..."} 
[2026-10-16 08:13:43] local.INFO: Processing buffer {"connection_id":219669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142977a90012d1a8840071fb2280032011314..."} 
[2026-10-16 08:13:43] local.INFO: Packet analysis {"connection_id":219669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:13:43] local.INFO: Extracted packet for processing {"connection_id":219669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756713536,"raw_latitude":119517736,"longitude_deg":75.6713536,"latitude_deg":11.9517736,"altitude":50,"angle":275,"satellites":20,"speed":5,"hex_longitude":"2d1a8840","hex_latitude":"071fb228","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782357248001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28025778297896960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912411391112947712,"note":"Value kept but may cause issues"} 
[2026-10-16 08:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792118586000,"timestamp_ms":1792118586000,"timestamp_seconds":1792118586,"priority":1,"record_length":96,"hex_timestamp":"000001a142977a90"} 
[2026-10-16 08:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:13:43] 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-10-16 08: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-10-16 08:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":219669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":219669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":219669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782357248001,"66":14254,"101":206,"83":41984,"24":5,"16":28025778297896960,"45":1912411391112947712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 08:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782357248001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:13:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 08:13:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28025778297896960,"km_value":28025778297896.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912411391112947712,"description":"Unknown IO ID 45"} 
[2026-10-16 08:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782357248001,"power":14254,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1912411391112947712}} 
[2026-10-16 08:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":219669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:13:44] local.INFO: GPS data processed {"connection_id":219669,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:13:44] local.INFO: Acknowledgment sent {"connection_id":219669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:14:11] local.INFO: TCP Data received {"connection_id":216574,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:14:11] local.INFO: Processing buffer {"connection_id":216574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:14:11] local.INFO: IMEI packet received {"connection_id":216574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":216574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:14:16] local.INFO: TCP Data received {"connection_id":216393,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:14:16] local.INFO: Processing buffer {"connection_id":216393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:14:16] local.INFO: IMEI packet received {"connection_id":216393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":216393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:14:21] local.INFO: TCP Data received {"connection_id":216575,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:14:21] local.INFO: Processing buffer {"connection_id":216575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:14:21] local.INFO: IMEI packet received {"connection_id":216575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":216575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:14:22] local.INFO: TCP Data received {"connection_id":216393,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:14:22] local.INFO: Processing buffer {"connection_id":216393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:14:22] local.INFO: IMEI packet received {"connection_id":216393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":216393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:14:23] local.INFO: TCP Data received {"connection_id":216393,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:14:23] local.INFO: Processing buffer {"connection_id":216393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:14:23] local.INFO: Packet analysis {"connection_id":216393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:14:23] local.INFO: Extracted packet for processing {"connection_id":216393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782273280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792118556000,"timestamp_ms":1792118556000,"timestamp_seconds":1792118556,"priority":1,"record_length":96,"hex_timestamp":"000001a142970560"} 
[2026-10-16 08:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:14:23] 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-10-16 08:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782273280001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782273280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:14:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:14:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782273280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":216393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:14:23] local.INFO: GPS data processed {"connection_id":216393,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:14:23] local.INFO: Acknowledgment sent {"connection_id":216393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:14:26] local.INFO: TCP Data received {"connection_id":216575,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:14:26] local.INFO: Processing buffer {"connection_id":216575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:14:26] local.INFO: IMEI packet received {"connection_id":216575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":216575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:14:27] local.INFO: TCP Data received {"connection_id":216575,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1429718e8012d7a270005e4b010000200f529..."} 
[2026-10-16 08:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429718e8012d7a270005e4b010000200f529..."} 
[2026-10-16 08:14:27] local.INFO: Processing buffer {"connection_id":216575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429718e8012d7a270005e4b010000200f529..."} 
[2026-10-16 08:14:27] local.INFO: Packet analysis {"connection_id":216575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:14:27] local.INFO: Extracted packet for processing {"connection_id":216575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:14:27] local.INFO: GPS Element Parsed {"raw_longitude":762980096,"raw_latitude":98873360,"longitude_deg":76.2980096,"latitude_deg":9.887336,"altitude":2,"angle":245,"satellites":41,"speed":5,"hex_longitude":"2d7a2700","hex_latitude":"05e4b010","is_valid_coordinates":true} 
[2026-10-16 08:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782351360001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145414432862765056,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802215128263051264,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:27] 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-10-16 08:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792118561000,"timestamp_ms":1792118561000,"timestamp_seconds":1792118561,"priority":1,"record_length":96,"hex_timestamp":"000001a1429718e8"} 
[2026-10-16 08:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-16 08:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:14: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-10-16 08:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782351360001,"66":13428,"39":206,"87":13824,"24":5,"16":145414432862765056,"45":8802215128263051264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-10-16 08:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782351360001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:14:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-10-16 08:14:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 08:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145414432862765056,"km_value":145414432862765.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802215128263051264,"description":"Unknown IO ID 45"} 
[2026-10-16 08:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782351360001,"power":13428,"unknown_39":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8802215128263051264}} 
[2026-10-16 08:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":216575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:14:27] local.INFO: GPS data processed {"connection_id":216575,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:14:27] local.INFO: Acknowledgment sent {"connection_id":216575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:14:50] local.INFO: TCP Data received {"connection_id":216394,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:14:50] local.INFO: Processing buffer {"connection_id":216394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:14:50] local.INFO: IMEI packet received {"connection_id":216394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":216394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:14:55] local.INFO: TCP Data received {"connection_id":216393,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:14:55] local.INFO: Processing buffer {"connection_id":216393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:14:55] local.INFO: Packet analysis {"connection_id":216393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:14:55] local.INFO: Extracted packet for processing {"connection_id":216393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782273280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792118556000,"timestamp_ms":1792118556000,"timestamp_seconds":1792118556,"priority":1,"record_length":96,"hex_timestamp":"000001a142970560"} 
[2026-10-16 08:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:14:55] 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-10-16 08:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782273280001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782273280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:14:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:14:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782273280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":216393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:14:55] local.INFO: GPS data processed {"connection_id":216393,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:14:55] local.INFO: Acknowledgment sent {"connection_id":216393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:14:58] local.INFO: TCP Data received {"connection_id":216575,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14298e9c0012d79e28005e49238000700442d..."} 
[2026-10-16 08:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14298e9c0012d79e28005e49238000700442d..."} 
[2026-10-16 08:14:58] local.INFO: Processing buffer {"connection_id":216575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14298e9c0012d79e28005e49238000700442d..."} 
[2026-10-16 08:14:58] local.INFO: Packet analysis {"connection_id":216575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14298"} 
[2026-10-16 08:14:58] local.INFO: Extracted packet for processing {"connection_id":216575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14298"} 
[2026-10-16 08:14:58] local.INFO: GPS Element Parsed {"raw_longitude":762962560,"raw_latitude":98865720,"longitude_deg":76.296256,"latitude_deg":9.886572,"altitude":7,"angle":68,"satellites":45,"speed":9,"hex_longitude":"2d79e280","hex_latitude":"05e49238","is_valid_coordinates":true} 
[2026-10-16 08:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782381824001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145415622568706048,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511879891306496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792118680000,"timestamp_ms":1792118680000,"timestamp_seconds":1792118680,"priority":1,"record_length":96,"hex_timestamp":"000001a14298e9c0"} 
[2026-10-16 08:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 08:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:14:58] 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-10-16 08:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782381824001,"66":14026,"102":206,"87":12288,"24":9,"16":145415622568706048,"45":8782511879891306496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-16 08:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782381824001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:14:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-16 08:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145415622568706048,"km_value":145415622568706.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511879891306496,"description":"Unknown IO ID 45"} 
[2026-10-16 08:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782381824001,"power":14026,"unknown_102":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8782511879891306496}} 
[2026-10-16 08:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":216575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:14:58] local.INFO: GPS data processed {"connection_id":216575,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:14:58] local.INFO: Acknowledgment sent {"connection_id":216575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:15:16] local.INFO: TCP Data received {"connection_id":216576,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:15:16] local.INFO: Processing buffer {"connection_id":216576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:15:16] local.INFO: IMEI packet received {"connection_id":216576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":216576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:15:21] local.INFO: TCP Data received {"connection_id":217921,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:15:21] local.INFO: Processing buffer {"connection_id":217921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:15:21] local.INFO: IMEI packet received {"connection_id":217921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":217921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:15:21] local.INFO: TCP Data received {"connection_id":217921,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:15:21] local.INFO: Processing buffer {"connection_id":217921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:15:21] local.INFO: IMEI packet received {"connection_id":217921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":217921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:15:22] local.INFO: TCP Data received {"connection_id":216576,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:15:22] local.INFO: Processing buffer {"connection_id":216576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:15:22] local.INFO: IMEI packet received {"connection_id":216576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":216576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:15:23] local.INFO: TCP Data received {"connection_id":216576,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:15:23] local.INFO: Processing buffer {"connection_id":216576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:15:23] local.INFO: Packet analysis {"connection_id":216576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:15:23] local.INFO: Extracted packet for processing {"connection_id":216576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782273280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792118556000,"timestamp_ms":1792118556000,"timestamp_seconds":1792118556,"priority":1,"record_length":96,"hex_timestamp":"000001a142970560"} 
[2026-10-16 08:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:15:23] 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-10-16 08:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782273280001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782273280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:15:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:15:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782273280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":216576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:15:23] local.INFO: GPS data processed {"connection_id":216576,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:15:23] local.INFO: Acknowledgment sent {"connection_id":216576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:15:27] local.INFO: TCP Data received {"connection_id":217921,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:15:27] local.INFO: Processing buffer {"connection_id":217921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:15:27] local.INFO: IMEI packet received {"connection_id":217921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":217921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:15:32] local.INFO: TCP Data received {"connection_id":217921,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14298eda8012d79e3c005e49270000800562d..."} 
[2026-10-16 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14298eda8012d79e3c005e49270000800562d..."} 
[2026-10-16 08:15:32] local.INFO: Processing buffer {"connection_id":217921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14298eda8012d79e3c005e49270000800562d..."} 
[2026-10-16 08:15:32] local.INFO: Packet analysis {"connection_id":217921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14298"} 
[2026-10-16 08:15:32] local.INFO: Extracted packet for processing {"connection_id":217921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14298"} 
[2026-10-16 08:15:32] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":98865776,"longitude_deg":76.296288,"latitude_deg":9.8865776,"altitude":8,"angle":86,"satellites":45,"speed":11,"hex_longitude":"2d79e3c0","hex_latitude":"05e49270","is_valid_coordinates":true} 
[2026-10-16 08:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782382080001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145415635453607936,"note":"Value kept but may cause issues"} 
[2026-10-16 08:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986123868160,"note":"Value kept but may cause issues"} 
[2026-10-16 08:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792118681000,"timestamp_ms":1792118681000,"timestamp_seconds":1792118681,"priority":1,"record_length":96,"hex_timestamp":"000001a14298eda8"} 
[2026-10-16 08:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 08:15:32] 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-10-16 08:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782382080001,"66":13906,"102":206,"87":12288,"24":11,"16":145415635453607936,"45":8782722986123868160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-16 08:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782382080001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:15:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:15:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-16 08:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145415635453607936,"km_value":145415635453607.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986123868160,"description":"Unknown IO ID 45"} 
[2026-10-16 08:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782382080001,"power":13906,"unknown_102":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8782722986123868160}} 
[2026-10-16 08:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":217921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:15:32] local.INFO: GPS data processed {"connection_id":217921,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:15:32] local.INFO: Acknowledgment sent {"connection_id":217921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:15:55] local.INFO: TCP Data received {"connection_id":216576,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:15:55] local.INFO: Processing buffer {"connection_id":216576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:15:55] local.INFO: Packet analysis {"connection_id":216576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:15:55] local.INFO: Extracted packet for processing {"connection_id":216576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782273280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792118556000,"timestamp_ms":1792118556000,"timestamp_seconds":1792118556,"priority":1,"record_length":96,"hex_timestamp":"000001a142970560"} 
[2026-10-16 08:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:15:55] 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-10-16 08: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-10-16 08:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782273280001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782273280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:15:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:15:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782273280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":216576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:15:55] local.INFO: GPS data processed {"connection_id":216576,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:15:55] local.INFO: Acknowledgment sent {"connection_id":216576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:16:03] local.INFO: TCP Data received {"connection_id":217921,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14298f578012d79e6c005e49360000900442d..."} 
[2026-10-16 08:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14298f578012d79e6c005e49360000900442d..."} 
[2026-10-16 08:16:03] local.INFO: Processing buffer {"connection_id":217921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14298f578012d79e6c005e49360000900442d..."} 
[2026-10-16 08:16:03] local.INFO: Packet analysis {"connection_id":217921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14298"} 
[2026-10-16 08:16:03] local.INFO: Extracted packet for processing {"connection_id":217921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14298"} 
[2026-10-16 08:16:03] local.INFO: GPS Element Parsed {"raw_longitude":762963648,"raw_latitude":98866016,"longitude_deg":76.2963648,"latitude_deg":9.8866016,"altitude":9,"angle":68,"satellites":45,"speed":16,"hex_longitude":"2d79e6c0","hex_latitude":"05e49360","is_valid_coordinates":true} 
[2026-10-16 08:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782382336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145415674108313600,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829844770816,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792118683000,"timestamp_ms":1792118683000,"timestamp_seconds":1792118683,"priority":1,"record_length":96,"hex_timestamp":"000001a14298f578"} 
[2026-10-16 08:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-16 08:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:16: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-10-16 08:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782382336001,"66":13450,"102":206,"87":12288,"24":16,"16":145415674108313600,"45":8783074829844770816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-16 08:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782382336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:16:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:16:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-16 08:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145415674108313600,"km_value":145415674108313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829844770816,"description":"Unknown IO ID 45"} 
[2026-10-16 08:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782382336001,"power":13450,"unknown_102":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8783074829844770816}} 
[2026-10-16 08:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":217921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:16:03] local.INFO: GPS data processed {"connection_id":217921,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:16:03] local.INFO: Acknowledgment sent {"connection_id":217921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:16:22] local.INFO: TCP Data received {"connection_id":216577,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:16:22] local.INFO: Processing buffer {"connection_id":216577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:16:22] local.INFO: IMEI packet received {"connection_id":216577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":216577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:16:26] local.INFO: TCP Data received {"connection_id":219672,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:16:26] local.INFO: Processing buffer {"connection_id":219672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:16:26] local.INFO: IMEI packet received {"connection_id":219672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":219672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:16:27] local.INFO: TCP Data received {"connection_id":216577,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:16:27] local.INFO: Processing buffer {"connection_id":216577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:16:27] local.INFO: IMEI packet received {"connection_id":216577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":216577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:16:29] local.INFO: TCP Data received {"connection_id":216577,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:16:29] local.INFO: Processing buffer {"connection_id":216577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:16:29] local.INFO: Packet analysis {"connection_id":216577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:16:29] local.INFO: Extracted packet for processing {"connection_id":216577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:16: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-10-16 08:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782273280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792118556000,"timestamp_ms":1792118556000,"timestamp_seconds":1792118556,"priority":1,"record_length":96,"hex_timestamp":"000001a142970560"} 
[2026-10-16 08:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:16: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:16:29] 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-10-16 08:16: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-10-16 08:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782273280001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782273280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:16:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:16:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782273280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":216577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:16:29] local.INFO: GPS data processed {"connection_id":216577,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:16:29] local.INFO: Acknowledgment sent {"connection_id":216577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:16:31] local.INFO: TCP Data received {"connection_id":219672,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:16:31] local.INFO: Processing buffer {"connection_id":219672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:16:31] local.INFO: IMEI packet received {"connection_id":219672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":219672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:16:32] local.INFO: TCP Data received {"connection_id":219672,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a142993010012d7a044005e4a1e8000b00512b..."} 
[2026-10-16 08:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142993010012d7a044005e4a1e8000b00512b..."} 
[2026-10-16 08:16:32] local.INFO: Processing buffer {"connection_id":219672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142993010012d7a044005e4a1e8000b00512b..."} 
[2026-10-16 08:16:32] local.INFO: Packet analysis {"connection_id":219672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:16:32] local.INFO: Extracted packet for processing {"connection_id":219672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:16:32] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98869736,"longitude_deg":76.29712,"latitude_deg":9.8869736,"altitude":11,"angle":81,"satellites":43,"speed":8,"hex_longitude":"2d7a0440","hex_latitude":"05e4a1e8","is_valid_coordinates":true} 
[2026-10-16 08:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782382848001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145416077835239424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783919254774964224,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792118698000,"timestamp_ms":1792118698000,"timestamp_seconds":1792118698,"priority":1,"record_length":96,"hex_timestamp":"000001a142993010"} 
[2026-10-16 08:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-10-16 08:16:32] 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-10-16 08:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782382848001,"66":13037,"102":206,"87":12288,"24":8,"16":145416077835239424,"45":8783919254774964224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-16 08:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782382848001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:16:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:16:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-16 08:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145416077835239424,"km_value":145416077835239.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783919254774964224,"description":"Unknown IO ID 45"} 
[2026-10-16 08:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782382848001,"power":13037,"unknown_102":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8783919254774964224}} 
[2026-10-16 08:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":219672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:16:32] local.INFO: GPS data processed {"connection_id":219672,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:16:32] local.INFO: Acknowledgment sent {"connection_id":219672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:16:33] local.INFO: TCP Data received {"connection_id":216577,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:16:33] local.INFO: Processing buffer {"connection_id":216577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:16:33] local.INFO: Packet analysis {"connection_id":216577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:16:33] local.INFO: Extracted packet for processing {"connection_id":216577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782273280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792118556000,"timestamp_ms":1792118556000,"timestamp_seconds":1792118556,"priority":1,"record_length":96,"hex_timestamp":"000001a142970560"} 
[2026-10-16 08:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782273280001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782273280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:16:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782273280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":216577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:16:33] local.INFO: GPS data processed {"connection_id":216577,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:16:33] local.INFO: Acknowledgment sent {"connection_id":216577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:16:56] local.INFO: TCP Data received {"connection_id":217923,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:16:56] local.INFO: Processing buffer {"connection_id":217923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:16:56] local.INFO: IMEI packet received {"connection_id":217923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":217923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:16:59] local.INFO: TCP Data received {"connection_id":217923,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:16:59] local.INFO: Processing buffer {"connection_id":217923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:16:59] local.INFO: IMEI packet received {"connection_id":217923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":217923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:17:01] local.INFO: TCP Data received {"connection_id":217923,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:17:01] local.INFO: Processing buffer {"connection_id":217923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:17:01] local.INFO: IMEI packet received {"connection_id":217923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":217923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:17:02] local.INFO: TCP Data received {"connection_id":217923,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1429a87d0012d1901400720ce680038012d17..."} 
[2026-10-16 08:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429a87d0012d1901400720ce680038012d17..."} 
[2026-10-16 08:17:02] local.INFO: Processing buffer {"connection_id":217923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429a87d0012d1901400720ce680038012d17..."} 
[2026-10-16 08:17:02] local.INFO: Packet analysis {"connection_id":217923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429a"} 
[2026-10-16 08:17:02] local.INFO: Extracted packet for processing {"connection_id":217923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429a"} 
[2026-10-16 08:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756613440,"raw_latitude":119590504,"longitude_deg":75.661344,"latitude_deg":11.9590504,"altitude":56,"angle":301,"satellites":23,"speed":31,"hex_longitude":"2d190140","hex_latitude":"0720ce68","is_valid_coordinates":true} 
[2026-10-16 08:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28031834201784320,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 08:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792118786000,"timestamp_ms":1792118786000,"timestamp_seconds":1792118786,"priority":1,"record_length":96,"hex_timestamp":"000001a1429a87d0"} 
[2026-10-16 08:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:17: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-10-16 08:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-10-16 08:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:02] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2581071873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:02] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2963275829,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-16 08:17:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:02] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:02] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:02] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2511011840,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:02] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,24,241,16,150,161,61,10,66,45,64,1,240,92,227,32,4,113,205,83,19,192,178,232,22,239,55,101,2,157,99,7,49,14],"length":479,"final_offset":609,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-16 08:17:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":239,"timestamp_seconds":0.239,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":217923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14341,"103":206,"83":41984,"24":31,"16":28031834201784320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16]} 
[2026-10-16 08:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 08:17:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 08:17:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28031834201784320,"km_value":28031834201784.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:17:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null}} 
[2026-10-16 08:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":217923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:17:02] local.INFO: GPS data processed {"connection_id":217923,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:17:02] local.INFO: Acknowledgment sent {"connection_id":217923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:17:03] local.INFO: TCP Data received {"connection_id":219672,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a142995ef0012d7a068005e4a0e8000a00af2d..."} 
[2026-10-16 08:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142995ef0012d7a068005e4a0e8000a00af2d..."} 
[2026-10-16 08:17:03] local.INFO: Processing buffer {"connection_id":219672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142995ef0012d7a068005e4a0e8000a00af2d..."} 
[2026-10-16 08:17:03] local.INFO: Packet analysis {"connection_id":219672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:17:03] local.INFO: Extracted packet for processing {"connection_id":219672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:17:03] local.INFO: GPS Element Parsed {"raw_longitude":762971776,"raw_latitude":98869480,"longitude_deg":76.2971776,"latitude_deg":9.886948,"altitude":10,"angle":175,"satellites":45,"speed":4,"hex_longitude":"2d7a0680","hex_latitude":"05e4a0e8","is_valid_coordinates":true} 
[2026-10-16 08:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782386688001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145416125079879680,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766588880896,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792118710000,"timestamp_ms":1792118710000,"timestamp_seconds":1792118710,"priority":1,"record_length":96,"hex_timestamp":"000001a142995ef0"} 
[2026-10-16 08:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-10-16 08:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":219672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":219672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":219672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08: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-10-16 08:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782386688001,"66":13472,"102":206,"87":12288,"24":4,"16":145416125079879680,"45":8792222766588880896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-16 08:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782386688001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:17:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:17:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-16 08:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145416125079879680,"km_value":145416125079879.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766588880896,"description":"Unknown IO ID 45"} 
[2026-10-16 08:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782386688001,"power":13472,"unknown_102":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8792222766588880896}} 
[2026-10-16 08:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":219672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:17:03] local.INFO: GPS data processed {"connection_id":219672,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:17:03] local.INFO: Acknowledgment sent {"connection_id":219672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:17:03] local.INFO: TCP Data received {"connection_id":217923,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1429a9f40012d18f2800720da080039013c18..."} 
[2026-10-16 08:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429a9f40012d18f2800720da080039013c18..."} 
[2026-10-16 08:17:03] local.INFO: Processing buffer {"connection_id":217923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429a9f40012d18f2800720da080039013c18..."} 
[2026-10-16 08:17:03] local.INFO: Packet analysis {"connection_id":217923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429a"} 
[2026-10-16 08:17:03] local.INFO: Extracted packet for processing {"connection_id":217923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429a"} 
[2026-10-16 08:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756609664,"raw_latitude":119593480,"longitude_deg":75.6609664,"latitude_deg":11.959348,"altitude":57,"angle":316,"satellites":24,"speed":34,"hex_longitude":"2d18f280","hex_latitude":"0720da08","is_valid_coordinates":true} 
[2026-10-16 08:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782409216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28032066130018304,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801791725284255744,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792118792000,"timestamp_ms":1792118792000,"timestamp_seconds":1792118792,"priority":1,"record_length":96,"hex_timestamp":"000001a1429a9f40"} 
[2026-10-16 08:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:17:03] 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-10-16 08:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000463796,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2587727873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2877816883,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3221692592,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2513240064,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504027340144640,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84752240686342314,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.WARNING: Large IO value detected {"io_id":144,"raw_value":13793584192949760,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:03] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,16,150,161,61,10,66,1,240,45,32,4,113,205,44,216,166,160,239,56,101,2,157,99,7,50,20,206,227,224,144],"length":529,"final_offset":659,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-16 08:17:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035556317910204416,"timestamp_seconds":4035556317910204.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782409216001,"66":14211,"103":206,"83":41984,"24":34,"16":28032066130018304,"45":1801791725284255744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 08:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782409216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:17:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 08:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28032066130018304,"km_value":28032066130018.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801791725284255744,"description":"Unknown IO ID 45"} 
[2026-10-16 08:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782409216001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1801791725284255744}} 
[2026-10-16 08:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":217923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:17:03] local.INFO: GPS data processed {"connection_id":217923,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:17:03] local.INFO: Acknowledgment sent {"connection_id":217923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:17:17] local.INFO: TCP Data received {"connection_id":216578,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:17:17] local.INFO: Processing buffer {"connection_id":216578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:17:17] local.INFO: IMEI packet received {"connection_id":216578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":216578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:17:22] local.INFO: TCP Data received {"connection_id":216578,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:17:22] local.INFO: Processing buffer {"connection_id":216578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:17:22] local.INFO: IMEI packet received {"connection_id":216578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":216578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:17:23] local.INFO: TCP Data received {"connection_id":216578,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:17:23] local.INFO: Processing buffer {"connection_id":216578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:17:23] local.INFO: Packet analysis {"connection_id":216578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:17:23] local.INFO: Extracted packet for processing {"connection_id":216578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:17:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782273280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792118556000,"timestamp_ms":1792118556000,"timestamp_seconds":1792118556,"priority":1,"record_length":96,"hex_timestamp":"000001a142970560"} 
[2026-10-16 08:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:17:23] 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-10-16 08:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782273280001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782273280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:17:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:17:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782273280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":216578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:17:23] local.INFO: GPS data processed {"connection_id":216578,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:17:23] local.INFO: Acknowledgment sent {"connection_id":216578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:17:25] local.INFO: TCP Data received {"connection_id":219673,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:17:25] local.INFO: Processing buffer {"connection_id":219673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:17:25] local.INFO: IMEI packet received {"connection_id":219673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":219673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:17:26] local.INFO: TCP Data received {"connection_id":219673,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:17:26] local.INFO: Processing buffer {"connection_id":219673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:17:26] local.INFO: IMEI packet received {"connection_id":219673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":219673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:17:26] local.INFO: TCP Data received {"connection_id":219673,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1429966c0012d7a070005e49ff8000a00992e..."} 
[2026-10-16 08:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429966c0012d7a070005e49ff8000a00992e..."} 
[2026-10-16 08:17:26] local.INFO: Processing buffer {"connection_id":219673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429966c0012d7a070005e49ff8000a00992e..."} 
[2026-10-16 08:17:26] local.INFO: Packet analysis {"connection_id":219673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:17:26] local.INFO: Extracted packet for processing {"connection_id":219673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:17:26] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":98869240,"longitude_deg":76.2971904,"latitude_deg":9.886924,"altitude":10,"angle":153,"satellites":46,"speed":5,"hex_longitude":"2d7a0700","hex_latitude":"05e49ff8","is_valid_coordinates":true} 
[2026-10-16 08:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782389760001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145416137964781568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792856085286414336,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792118712000,"timestamp_ms":1792118712000,"timestamp_seconds":1792118712,"priority":1,"record_length":96,"hex_timestamp":"000001a1429966c0"} 
[2026-10-16 08:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-10-16 08:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:17: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-10-16 08:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782389760001,"66":13928,"102":206,"87":12288,"24":5,"16":145416137964781568,"45":8792856085286414336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-16 08:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782389760001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:17:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:17:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-16 08:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145416137964781568,"km_value":145416137964781.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792856085286414336,"description":"Unknown IO ID 45"} 
[2026-10-16 08:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782389760001,"power":13928,"unknown_102":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8792856085286414336}} 
[2026-10-16 08:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":219673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:17:27] local.INFO: GPS data processed {"connection_id":219673,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:17:27] local.INFO: Acknowledgment sent {"connection_id":219673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:17:27] local.INFO: TCP Data received {"connection_id":219673,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a142997278012d7a080005e49ea00009008b2e..."} 
[2026-10-16 08:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142997278012d7a080005e49ea00009008b2e..."} 
[2026-10-16 08:17:27] local.INFO: Processing buffer {"connection_id":219673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142997278012d7a080005e49ea00009008b2e..."} 
[2026-10-16 08:17:27] local.INFO: Packet analysis {"connection_id":219673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:17:27] local.INFO: Extracted packet for processing {"connection_id":219673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:17:27] local.INFO: GPS Element Parsed {"raw_longitude":762972160,"raw_latitude":98868896,"longitude_deg":76.297216,"latitude_deg":9.8868896,"altitude":9,"angle":139,"satellites":46,"speed":5,"hex_longitude":"2d7a0800","hex_latitude":"05e49ea0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782390272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145416163734585344,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822774708224,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792118715000,"timestamp_ms":1792118715000,"timestamp_seconds":1792118715,"priority":1,"record_length":96,"hex_timestamp":"000001a142997278"} 
[2026-10-16 08:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 08:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:17: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-10-16 08:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782390272001,"66":13341,"102":206,"87":12288,"24":5,"16":145416163734585344,"45":8792996822774708224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-16 08:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782390272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:17:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:17:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-16 08:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145416163734585344,"km_value":145416163734585.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822774708224,"description":"Unknown IO ID 45"} 
[2026-10-16 08:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782390272001,"power":13341,"unknown_102":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8792996822774708224}} 
[2026-10-16 08:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":219673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:17:27] local.INFO: GPS data processed {"connection_id":219673,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:17:27] local.INFO: Acknowledgment sent {"connection_id":219673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:17:37] local.INFO: TCP Data received {"connection_id":217924,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:17:37] local.INFO: Processing buffer {"connection_id":217924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:17:37] local.INFO: IMEI packet received {"connection_id":217924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":217924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:17:38] local.INFO: TCP Data received {"connection_id":217924,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b4f08012d0e55c00705d040000f00421c..."} 
[2026-10-16 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b4f08012d0e55c00705d040000f00421c..."} 
[2026-10-16 08:17:38] local.INFO: Processing buffer {"connection_id":217924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b4f08012d0e55c00705d040000f00421c..."} 
[2026-10-16 08:17:38] local.INFO: Packet analysis {"connection_id":217924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:17:38] local.INFO: Extracted packet for processing {"connection_id":217924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":755914176,"raw_latitude":117821504,"longitude_deg":75.5914176,"latitude_deg":11.7821504,"altitude":15,"angle":66,"satellites":28,"speed":21,"hex_longitude":"2d0e55c0","hex_latitude":"0705d040","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782421760001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36413531599405056,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1031816926039300096,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] 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-10-16 08:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792118837000,"timestamp_ms":1792118837000,"timestamp_seconds":1792118837,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b4f08"} 
[2026-10-16 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-10-16 08:17: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-10-16 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-16 08:17: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-10-16 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-10-16 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-10-16 08:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782421760001,"66":14428,"167":206,"94":11008,"24":21,"16":36413531599405056,"45":1031816926039300096},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-10-16 08:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782421760001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:17:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 08:17:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36413531599405056,"km_value":36413531599405.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1031816926039300096,"description":"Unknown IO ID 45"} 
[2026-10-16 08:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782421760001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":1031816926039300096}} 
[2026-10-16 08:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":217924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045223,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:17:38] local.INFO: GPS data processed {"connection_id":217924,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:17:38] local.INFO: Acknowledgment sent {"connection_id":217924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:17:38] local.INFO: TCP Data received {"connection_id":217923,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b3b80012d18bdc007215a500041014218..."} 
[2026-10-16 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b3b80012d18bdc007215a500041014218..."} 
[2026-10-16 08:17:38] local.INFO: Processing buffer {"connection_id":217923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b3b80012d18bdc007215a500041014218..."} 
[2026-10-16 08:17:38] local.INFO: Packet analysis {"connection_id":217923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:17:38] local.INFO: Extracted packet for processing {"connection_id":217923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756596160,"raw_latitude":119626320,"longitude_deg":75.659616,"latitude_deg":11.962632,"altitude":65,"angle":322,"satellites":24,"speed":34,"hex_longitude":"2d18bdc0","hex_latitude":"07215a50","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28033835656544256,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783582208,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792118832000,"timestamp_ms":1792118832000,"timestamp_seconds":1792118832,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b3b80"} 
[2026-10-16 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-10-16 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000464082,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":15763994962830592,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2600783873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221692692,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485688,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2546597888,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84751279687409919,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,152,161,32,45,192,68,64,10,66,61,12,1,240,109,227,33,4,113,205,36,233,208,120,239,55,2,99,7,58,37,206,8],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-10-16 08:17:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539997963377901568,"timestamp_seconds":4539997963377902.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 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-10-16 08:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782420480001,"66":14265,"103":206,"83":41984,"24":34,"16":28033835656544256,"45":1783777326783582208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 08:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:17:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 08:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28033835656544256,"km_value":28033835656544.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783582208,"description":"Unknown IO ID 45"} 
[2026-10-16 08:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782420480001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1783777326783582208}} 
[2026-10-16 08:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":217923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:17:39] local.INFO: GPS data processed {"connection_id":217923,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:17:39] local.INFO: Acknowledgment sent {"connection_id":217923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:17:55] local.INFO: TCP Data received {"connection_id":216578,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:17:55] local.INFO: Processing buffer {"connection_id":216578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142970560012d7f98c005afddb00001002f23..."} 
[2026-10-16 08:17:55] local.INFO: Packet analysis {"connection_id":216578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:17:55] local.INFO: Extracted packet for processing {"connection_id":216578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14297"} 
[2026-10-16 08:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":1,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782273280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792118556000,"timestamp_ms":1792118556000,"timestamp_seconds":1792118556,"priority":1,"record_length":96,"hex_timestamp":"000001a142970560"} 
[2026-10-16 08:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:17:55] 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-10-16 08:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782273280001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782273280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:17:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:17:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782273280001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":216578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:17:55] local.INFO: GPS data processed {"connection_id":216578,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:17:55] local.INFO: Acknowledgment sent {"connection_id":216578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:17:59] local.INFO: TCP Data received {"connection_id":219673,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a142998218012d7a0a4005e49be00008009a2e..."} 
[2026-10-16 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142998218012d7a0a4005e49be00008009a2e..."} 
[2026-10-16 08:17:59] local.INFO: Processing buffer {"connection_id":219673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142998218012d7a0a4005e49be00008009a2e..."} 
[2026-10-16 08:17:59] local.INFO: Packet analysis {"connection_id":219673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:17:59] local.INFO: Extracted packet for processing {"connection_id":219673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":762972736,"raw_latitude":98868192,"longitude_deg":76.2972736,"latitude_deg":9.8868192,"altitude":8,"angle":154,"satellites":46,"speed":7,"hex_longitude":"2d7a0a40","hex_latitude":"05e49be0","is_valid_coordinates":true} 
[2026-10-16 08:17: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-10-16 08:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782391040001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145416206684258304,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793278297751330816,"note":"Value kept but may cause issues"} 
[2026-10-16 08:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792118719000,"timestamp_ms":1792118719000,"timestamp_seconds":1792118719,"priority":1,"record_length":96,"hex_timestamp":"000001a142998218"} 
[2026-10-16 08:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-10-16 08:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:17: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-10-16 08:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:17: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-10-16 08:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782391040001,"66":13972,"102":206,"87":12288,"24":7,"16":145416206684258304,"45":8793278297751330816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-16 08:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782391040001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:17:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-16 08:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145416206684258304,"km_value":145416206684258.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793278297751330816,"description":"Unknown IO ID 45"} 
[2026-10-16 08:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782391040001,"power":13972,"unknown_102":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8793278297751330816}} 
[2026-10-16 08:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":219673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:17:59] local.INFO: GPS data processed {"connection_id":219673,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:17:59] local.INFO: Acknowledgment sent {"connection_id":219673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:18:03] local.INFO: TCP Data received {"connection_id":216579,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:18:03] local.INFO: Processing buffer {"connection_id":216579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:18:03] local.INFO: IMEI packet received {"connection_id":216579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":216579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:18:08] local.INFO: TCP Data received {"connection_id":216579,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:18:08] local.INFO: Processing buffer {"connection_id":216579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:18:08] local.INFO: IMEI packet received {"connection_id":216579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":216579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:18:09] local.INFO: TCP Data received {"connection_id":216579,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b5ea8012d0e5e400705d418001000511b..."} 
[2026-10-16 08:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b5ea8012d0e5e400705d418001000511b..."} 
[2026-10-16 08:18:09] local.INFO: Processing buffer {"connection_id":216579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b5ea8012d0e5e400705d418001000511b..."} 
[2026-10-16 08:18:09] local.INFO: Packet analysis {"connection_id":216579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:18:09] local.INFO: Extracted packet for processing {"connection_id":216579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:18:09] local.INFO: GPS Element Parsed {"raw_longitude":755916352,"raw_latitude":117822488,"longitude_deg":75.5916352,"latitude_deg":11.7822488,"altitude":16,"angle":81,"satellites":27,"speed":20,"hex_longitude":"2d0e5e40","hex_latitude":"0705d418","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782422272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36413647563522048,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1032942825946234880,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:09] 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-10-16 08:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792118841000,"timestamp_ms":1792118841000,"timestamp_seconds":1792118841,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b5ea8"} 
[2026-10-16 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-10-16 08:18: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-10-16 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 08:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782422272001,"66":14428,"165":206,"94":11008,"24":20,"16":36413647563522048,"45":1032942825946234880},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 08:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782422272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:18:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 08:18:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36413647563522048,"km_value":36413647563522.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1032942825946234880,"description":"Unknown IO ID 45"} 
[2026-10-16 08:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782422272001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":1032942825946234880}} 
[2026-10-16 08:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":216579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045227,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:18:09] local.INFO: GPS data processed {"connection_id":216579,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:18:09] local.INFO: Acknowledgment sent {"connection_id":216579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:18:14] local.INFO: TCP Data received {"connection_id":217925,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:18:14] local.INFO: Processing buffer {"connection_id":217925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:18:14] local.INFO: IMEI packet received {"connection_id":217925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":217925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:18:16] local.INFO: TCP Data received {"connection_id":217925,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:18:16] local.INFO: Processing buffer {"connection_id":217925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:18:16] local.INFO: IMEI packet received {"connection_id":217925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":217925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:18:19] local.INFO: TCP Data received {"connection_id":217923,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b6290012d18a940072173e80043013318..."} 
[2026-10-16 08:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b6290012d18a940072173e80043013318..."} 
[2026-10-16 08:18:19] local.INFO: Processing buffer {"connection_id":217923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b6290012d18a940072173e80043013318..."} 
[2026-10-16 08:18:19] local.INFO: Packet analysis {"connection_id":217923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:18:19] local.INFO: Extracted packet for processing {"connection_id":217923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119632872,"longitude_deg":75.6590912,"latitude_deg":11.9632872,"altitude":67,"angle":307,"satellites":24,"speed":32,"hex_longitude":"2d18a940","hex_latitude":"072173e8","is_valid_coordinates":true} 
[2026-10-16 08:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782420992001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28034239383470080,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782792164365455360,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792118842000,"timestamp_ms":1792118842000,"timestamp_seconds":1792118842,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b6290"} 
[2026-10-16 08:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 08:18: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-10-16 08:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":217923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782420992001,"66":14265,"103":206,"83":41984,"24":32,"16":28034239383470080,"45":1782792164365455360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 08:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782420992001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:18:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 08:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28034239383470080,"km_value":28034239383470.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782792164365455360,"description":"Unknown IO ID 45"} 
[2026-10-16 08:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782420992001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1782792164365455360}} 
[2026-10-16 08:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":217923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:18:19] local.INFO: GPS data processed {"connection_id":217923,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:18:19] local.INFO: Acknowledgment sent {"connection_id":217923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:18:21] local.INFO: TCP Data received {"connection_id":217925,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:18:21] local.INFO: Processing buffer {"connection_id":217925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:18:21] local.INFO: IMEI packet received {"connection_id":217925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":217925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:18:22] local.INFO: TCP Data received {"connection_id":217925,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:18:22] local.INFO: Processing buffer {"connection_id":217925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:18:22] local.INFO: Packet analysis {"connection_id":217925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:18:22] local.INFO: Extracted packet for processing {"connection_id":217925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782350336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792118856000,"timestamp_ms":1792118856000,"timestamp_seconds":1792118856,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b9940"} 
[2026-10-16 08:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:18:22] 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-10-16 08:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782350336001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782350336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:18:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:18:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782350336001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":217925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:18:22] local.INFO: GPS data processed {"connection_id":217925,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:18:22] local.INFO: Acknowledgment sent {"connection_id":217925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:18:26] local.INFO: TCP Data received {"connection_id":216398,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:18:26] local.INFO: Processing buffer {"connection_id":216398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:18:26] local.INFO: IMEI packet received {"connection_id":216398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":216398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:18:31] local.INFO: TCP Data received {"connection_id":216398,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:18:31] local.INFO: Processing buffer {"connection_id":216398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:18:31] local.INFO: IMEI packet received {"connection_id":216398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":216398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:18:32] local.INFO: TCP Data received {"connection_id":216398,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14299c868012d7a11c005e48be8000b00a62e..."} 
[2026-10-16 08:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14299c868012d7a11c005e48be8000b00a62e..."} 
[2026-10-16 08:18:32] local.INFO: Processing buffer {"connection_id":216398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14299c868012d7a11c005e48be8000b00a62e..."} 
[2026-10-16 08:18:32] local.INFO: Packet analysis {"connection_id":216398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:18:32] local.INFO: Extracted packet for processing {"connection_id":216398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14299"} 
[2026-10-16 08:18:32] local.INFO: GPS Element Parsed {"raw_longitude":762974656,"raw_latitude":98864104,"longitude_deg":76.2974656,"latitude_deg":9.8864104,"altitude":11,"angle":166,"satellites":46,"speed":2,"hex_longitude":"2d7a11c0","hex_latitude":"05e48be8","is_valid_coordinates":true} 
[2026-10-16 08:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782392064001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145416430022557696,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793911616448749568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792118737000,"timestamp_ms":1792118737000,"timestamp_seconds":1792118737,"priority":1,"record_length":96,"hex_timestamp":"000001a14299c868"} 
[2026-10-16 08:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-16 08:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782392064001,"66":13537,"102":206,"87":12288,"24":2,"16":145416430022557696,"45":8793911616448749568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-16 08:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782392064001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:18:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:18:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-16 08:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145416430022557696,"km_value":145416430022557.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793911616448749568,"description":"Unknown IO ID 45"} 
[2026-10-16 08:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782392064001,"power":13537,"unknown_102":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8793911616448749568}} 
[2026-10-16 08:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":216398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:18:32] local.INFO: GPS data processed {"connection_id":216398,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:18:32] local.INFO: Acknowledgment sent {"connection_id":216398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:18:42] local.INFO: TCP Data received {"connection_id":216579,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1429c3968012d0e62c00705fa18001600001c..."} 
[2026-10-16 08:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429c3968012d0e62c00705fa18001600001c..."} 
[2026-10-16 08:18:42] local.INFO: Processing buffer {"connection_id":216579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429c3968012d0e62c00705fa18001600001c..."} 
[2026-10-16 08:18:42] local.INFO: Packet analysis {"connection_id":216579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429c"} 
[2026-10-16 08:18:42] local.INFO: Extracted packet for processing {"connection_id":216579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429c"} 
[2026-10-16 08:18:42] local.INFO: GPS Element Parsed {"raw_longitude":755917504,"raw_latitude":117832216,"longitude_deg":75.5917504,"latitude_deg":11.7832216,"altitude":22,"angle":0,"satellites":28,"speed":5,"hex_longitude":"2d0e62c0","hex_latitude":"0705fa18","is_valid_coordinates":true} 
[2026-10-16 08:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782437632001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36414210204237824,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036602000646215680,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792118897000,"timestamp_ms":1792118897000,"timestamp_seconds":1792118897,"priority":1,"record_length":96,"hex_timestamp":"000001a1429c3968"} 
[2026-10-16 08:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:18: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-10-16 08:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 08:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":216579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":216579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":216579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782437632001,"66":14515,"165":206,"94":11008,"24":5,"16":36414210204237824,"45":1036602000646215680},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 08:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782437632001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:18:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 08:18:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 08:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36414210204237824,"km_value":36414210204237.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036602000646215680,"description":"Unknown IO ID 45"} 
[2026-10-16 08:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782437632001,"power":14515,"unknown_165":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":1036602000646215680}} 
[2026-10-16 08:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":216579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045231,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:18:42] local.INFO: GPS data processed {"connection_id":216579,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:18:42] local.INFO: Acknowledgment sent {"connection_id":216579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:18:51] local.INFO: TCP Data received {"connection_id":217923,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1429c58a8012d181bc00721aa400039001617..."} 
[2026-10-16 08:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429c58a8012d181bc00721aa400039001617..."} 
[2026-10-16 08:18:51] local.INFO: Processing buffer {"connection_id":217923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429c58a8012d181bc00721aa400039001617..."} 
[2026-10-16 08:18:51] local.INFO: Packet analysis {"connection_id":217923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429c"} 
[2026-10-16 08:18:51] local.INFO: Extracted packet for processing {"connection_id":217923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429c"} 
[2026-10-16 08:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119646784,"longitude_deg":75.6554688,"latitude_deg":11.9646784,"altitude":57,"angle":22,"satellites":23,"speed":11,"hex_longitude":"2d181bc0","hex_latitude":"0721aa40","is_valid_coordinates":true} 
[2026-10-16 08:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782439424001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28036154938884096,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399326720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792118905000,"timestamp_ms":1792118905000,"timestamp_seconds":1792118905,"priority":1,"record_length":96,"hex_timestamp":"000001a1429c58a8"} 
[2026-10-16 08:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:18: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-10-16 08:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":217923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782439424001,"66":14396,"106":206,"83":41984,"24":11,"16":28036154938884096,"45":1737122849399326720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-10-16 08:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782439424001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:18:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-16 08:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28036154938884096,"km_value":28036154938884.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399326720,"description":"Unknown IO ID 45"} 
[2026-10-16 08:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782439424001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737122849399326720}} 
[2026-10-16 08:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":217923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:18:52] local.INFO: GPS data processed {"connection_id":217923,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:18:52] local.INFO: Acknowledgment sent {"connection_id":217923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:18:54] local.INFO: TCP Data received {"connection_id":217925,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:18:54] local.INFO: Processing buffer {"connection_id":217925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:18:54] local.INFO: Packet analysis {"connection_id":217925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:18:54] local.INFO: Extracted packet for processing {"connection_id":217925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782350336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792118856000,"timestamp_ms":1792118856000,"timestamp_seconds":1792118856,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b9940"} 
[2026-10-16 08:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:18: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-10-16 08:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782350336001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782350336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:18:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:18:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782350336001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":217925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:18:54] local.INFO: GPS data processed {"connection_id":217925,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:18:54] local.INFO: Acknowledgment sent {"connection_id":217925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:19:03] local.INFO: TCP Data received {"connection_id":216398,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1429c9728012d7a2f4005e45c30000a00672d..."} 
[2026-10-16 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429c9728012d7a2f4005e45c30000a00672d..."} 
[2026-10-16 08:19:03] local.INFO: Processing buffer {"connection_id":216398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429c9728012d7a2f4005e45c30000a00672d..."} 
[2026-10-16 08:19:03] local.INFO: Packet analysis {"connection_id":216398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429c"} 
[2026-10-16 08:19:03] local.INFO: Extracted packet for processing {"connection_id":216398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429c"} 
[2026-10-16 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":762982208,"raw_latitude":98851888,"longitude_deg":76.2982208,"latitude_deg":9.8851888,"altitude":10,"angle":103,"satellites":45,"speed":16,"hex_longitude":"2d7a2f40","hex_latitude":"05e45c30","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782443520001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145417138692161536,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803903978117838848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792118921000,"timestamp_ms":1792118921000,"timestamp_seconds":1792118921,"priority":1,"record_length":96,"hex_timestamp":"000001a1429c9728"} 
[2026-10-16 08:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-10-16 08:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:19: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-10-16 08:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782443520001,"66":13580,"102":206,"87":12288,"24":16,"16":145417138692161536,"45":8803903978117838848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-10-16 08:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782443520001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:19:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 08:19:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-10-16 08:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145417138692161536,"km_value":145417138692161.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803903978117838848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782443520001,"power":13580,"unknown_102":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8803903978117838848}} 
[2026-10-16 08:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":216398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:19:03] local.INFO: GPS data processed {"connection_id":216398,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:19:03] local.INFO: Acknowledgment sent {"connection_id":216398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:19:03] local.INFO: TCP Data received {"connection_id":219676,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:03] local.INFO: Processing buffer {"connection_id":219676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:03] local.INFO: IMEI packet received {"connection_id":219676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":219676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:19:04] local.INFO: TCP Data received {"connection_id":219676,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:04] local.INFO: Processing buffer {"connection_id":219676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:04] local.INFO: IMEI packet received {"connection_id":219676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":219676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:19:05] local.INFO: TCP Data received {"connection_id":219676,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:05] local.INFO: Processing buffer {"connection_id":219676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:05] local.INFO: IMEI packet received {"connection_id":219676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":219676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:19:06] local.INFO: TCP Data received {"connection_id":219676,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:06] local.INFO: Processing buffer {"connection_id":219676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:19:06] local.INFO: IMEI packet received {"connection_id":219676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":219676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:19:22] local.INFO: TCP Data received {"connection_id":217926,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:19:22] local.INFO: Processing buffer {"connection_id":217926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:19:22] local.INFO: IMEI packet received {"connection_id":217926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":217926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:19:23] local.INFO: TCP Data received {"connection_id":217923,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1429c6078012d181d400721acd80039002116..."} 
[2026-10-16 08:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429c6078012d181d400721acd80039002116..."} 
[2026-10-16 08:19:23] local.INFO: Processing buffer {"connection_id":217923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429c6078012d181d400721acd80039002116..."} 
[2026-10-16 08:19:23] local.INFO: Packet analysis {"connection_id":217923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429c"} 
[2026-10-16 08:19:23] local.INFO: Extracted packet for processing {"connection_id":217923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429c"} 
[2026-10-16 08:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647448,"longitude_deg":75.6555072,"latitude_deg":11.9647448,"altitude":57,"angle":33,"satellites":22,"speed":18,"hex_longitude":"2d181d40","hex_latitude":"0721acd8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782439680001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28036193593589760,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143567872,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792118907000,"timestamp_ms":1792118907000,"timestamp_seconds":1792118907,"priority":1,"record_length":96,"hex_timestamp":"000001a1429c6078"} 
[2026-10-16 08:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782439680001,"66":14341,"106":206,"83":41984,"24":18,"16":28036193593589760,"45":1737193218143567872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-10-16 08:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782439680001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:19:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-16 08:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28036193593589760,"km_value":28036193593589.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143567872,"description":"Unknown IO ID 45"} 
[2026-10-16 08:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782439680001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1737193218143567872}} 
[2026-10-16 08:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":217923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:19:23] local.INFO: GPS data processed {"connection_id":217923,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:19:23] local.INFO: Acknowledgment sent {"connection_id":217923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:19:26] local.INFO: TCP Data received {"connection_id":217926,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:19:26] local.INFO: Processing buffer {"connection_id":217926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:19:26] local.INFO: IMEI packet received {"connection_id":217926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":217926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:19:27] local.INFO: TCP Data received {"connection_id":217926,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:19:27] local.INFO: Processing buffer {"connection_id":217926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:19:27] local.INFO: Packet analysis {"connection_id":217926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:19:27] local.INFO: Extracted packet for processing {"connection_id":217926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782350336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792118856000,"timestamp_ms":1792118856000,"timestamp_seconds":1792118856,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b9940"} 
[2026-10-16 08:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:19:27] 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-10-16 08:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782350336001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782350336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:19:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:19:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782350336001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":217926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:19:27] local.INFO: GPS data processed {"connection_id":217926,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:19:27] local.INFO: Acknowledgment sent {"connection_id":217926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:19:33] local.INFO: TCP Data received {"connection_id":217926,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:19:33] local.INFO: Processing buffer {"connection_id":217926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:19:33] local.INFO: Packet analysis {"connection_id":217926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:19:33] local.INFO: Extracted packet for processing {"connection_id":217926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782350336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792118856000,"timestamp_ms":1792118856000,"timestamp_seconds":1792118856,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b9940"} 
[2026-10-16 08:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782350336001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782350336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:19:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:19:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782350336001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":217926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:19:33] local.INFO: GPS data processed {"connection_id":217926,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:19:33] local.INFO: Acknowledgment sent {"connection_id":217926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:19:59] local.INFO: TCP Data received {"connection_id":217923,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1429c9340012d1831000721cb78003d001f18..."} 
[2026-10-16 08:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429c9340012d1831000721cb78003d001f18..."} 
[2026-10-16 08:19:59] local.INFO: Processing buffer {"connection_id":217923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429c9340012d1831000721cb78003d001f18..."} 
[2026-10-16 08:19:59] local.INFO: Packet analysis {"connection_id":217923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429c"} 
[2026-10-16 08:19:59] local.INFO: Extracted packet for processing {"connection_id":217923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429c"} 
[2026-10-16 08:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756560128,"raw_latitude":119655288,"longitude_deg":75.6560128,"latitude_deg":11.9655288,"altitude":61,"angle":31,"satellites":24,"speed":34,"hex_longitude":"2d183100","hex_latitude":"0721cb78","is_valid_coordinates":true} 
[2026-10-16 08:19: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-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782440192001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28036640270188544,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608803840,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792118920000,"timestamp_ms":1792118920000,"timestamp_seconds":1792118920,"priority":1,"record_length":96,"hex_timestamp":"000001a1429c9340"} 
[2026-10-16 08:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:19: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":5,"data_length":795,"current_offset":136} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000464363,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2622031873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13462122,"corrected_to":0} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504027423703040,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2807038009,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221692839,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2595422208,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84750530215616925,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.WARNING: Large IO value detected {"io_id":104,"raw_value":16608342600326400,"note":"Value kept but may cause issues"} 
[2026-10-16 08:19:59] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,154,161,88,45,192,170,57,23,10,66,84,128,169,80,1,240,247,227,33,4,113,205,61,27,239,55,2,99,7,58,12,206,72,104],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":247,"original":13462122,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-10-16 08:19:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107319238536069120,"timestamp_seconds":4107319238536069.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782440192001,"66":14243,"106":206,"83":41984,"24":34,"16":28036640270188544,"45":1737615430608803840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-10-16 08:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782440192001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:19:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-16 08:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28036640270188544,"km_value":28036640270188.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608803840,"description":"Unknown IO ID 45"} 
[2026-10-16 08:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782440192001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1737615430608803840}} 
[2026-10-16 08:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":217923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:19:59] local.INFO: GPS data processed {"connection_id":217923,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:19:59] local.INFO: Acknowledgment sent {"connection_id":217923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:20:16] local.INFO: TCP Data received {"connection_id":216580,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:20:16] local.INFO: Processing buffer {"connection_id":216580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:20:16] local.INFO: IMEI packet received {"connection_id":216580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":216580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:20:16] local.INFO: TCP Data received {"connection_id":219677,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:20:16] local.INFO: Processing buffer {"connection_id":219677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:20:16] local.INFO: IMEI packet received {"connection_id":219677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":219677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:20:22] local.INFO: TCP Data received {"connection_id":216580,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:20:22] local.INFO: Processing buffer {"connection_id":216580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:20:22] local.INFO: IMEI packet received {"connection_id":216580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":216580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:20:23] local.INFO: TCP Data received {"connection_id":216580,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:20:23] local.INFO: Processing buffer {"connection_id":216580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:20:23] local.INFO: Packet analysis {"connection_id":216580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:20:23] local.INFO: Extracted packet for processing {"connection_id":216580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782350336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792118856000,"timestamp_ms":1792118856000,"timestamp_seconds":1792118856,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b9940"} 
[2026-10-16 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-10-16 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:20:23] 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-10-16 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-10-16 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-10-16 08:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782350336001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782350336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:20:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:20:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782350336001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":216580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:20:23] local.INFO: GPS data processed {"connection_id":216580,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:20:23] local.INFO: Acknowledgment sent {"connection_id":216580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:20:51] local.INFO: TCP Data received {"connection_id":219679,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:20:51] local.INFO: Processing buffer {"connection_id":219679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:20:51] local.INFO: IMEI packet received {"connection_id":219679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":219679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:20:55] local.INFO: TCP Data received {"connection_id":216580,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:20:55] local.INFO: Processing buffer {"connection_id":216580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:20:55] local.INFO: Packet analysis {"connection_id":216580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:20:55] local.INFO: Extracted packet for processing {"connection_id":216580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782350336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792118856000,"timestamp_ms":1792118856000,"timestamp_seconds":1792118856,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b9940"} 
[2026-10-16 08:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:20:55] 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-10-16 08:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782350336001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782350336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:20:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:20:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782350336001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":216580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:20:55] local.INFO: GPS data processed {"connection_id":216580,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:20:55] local.INFO: Acknowledgment sent {"connection_id":216580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:21:17] local.INFO: TCP Data received {"connection_id":216581,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:21:17] local.INFO: Processing buffer {"connection_id":216581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:21:17] local.INFO: IMEI packet received {"connection_id":216581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":216581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:21:22] local.INFO: TCP Data received {"connection_id":216581,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:21:22] local.INFO: Processing buffer {"connection_id":216581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:21:22] local.INFO: IMEI packet received {"connection_id":216581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":216581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:21:24] local.INFO: TCP Data received {"connection_id":216581,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:21:24] local.INFO: Processing buffer {"connection_id":216581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:21:24] local.INFO: Packet analysis {"connection_id":216581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:21:24] local.INFO: Extracted packet for processing {"connection_id":216581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:21:24] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782350336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792118856000,"timestamp_ms":1792118856000,"timestamp_seconds":1792118856,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b9940"} 
[2026-10-16 08:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:21:24] 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-10-16 08:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782350336001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782350336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:21:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:21:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782350336001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":216581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:21:24] local.INFO: GPS data processed {"connection_id":216581,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:21:24] local.INFO: Acknowledgment sent {"connection_id":216581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:21:56] local.INFO: TCP Data received {"connection_id":216581,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:21:56] local.INFO: Processing buffer {"connection_id":216581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:21:56] local.INFO: Packet analysis {"connection_id":216581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:21:56] local.INFO: Extracted packet for processing {"connection_id":216581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782350336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792118856000,"timestamp_ms":1792118856000,"timestamp_seconds":1792118856,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b9940"} 
[2026-10-16 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-10-16 08:21: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-10-16 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:21:56] 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-10-16 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-10-16 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-10-16 08:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782350336001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782350336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:21:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:21:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782350336001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":216581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:21:56] local.INFO: GPS data processed {"connection_id":216581,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:21:56] local.INFO: Acknowledgment sent {"connection_id":216581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:22:17] local.INFO: TCP Data received {"connection_id":216400,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:22:17] local.INFO: Processing buffer {"connection_id":216400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:22:17] local.INFO: IMEI packet received {"connection_id":216400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":216400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:22:22] local.INFO: TCP Data received {"connection_id":216400,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:22:22] local.INFO: Processing buffer {"connection_id":216400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:22:22] local.INFO: IMEI packet received {"connection_id":216400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":216400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:22:25] local.INFO: TCP Data received {"connection_id":216400,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:22:25] local.INFO: Processing buffer {"connection_id":216400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:22:25] local.INFO: Packet analysis {"connection_id":216400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:22:25] local.INFO: Extracted packet for processing {"connection_id":216400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782350336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792118856000,"timestamp_ms":1792118856000,"timestamp_seconds":1792118856,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b9940"} 
[2026-10-16 08:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782350336001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782350336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:22:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:22:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782350336001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":216400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:22:25] local.INFO: GPS data processed {"connection_id":216400,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:22:25] local.INFO: Acknowledgment sent {"connection_id":216400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:22:56] local.INFO: TCP Data received {"connection_id":216400,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:22:56] local.INFO: Processing buffer {"connection_id":216400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1429b9940012d7f98c005afddb00000002f23..."} 
[2026-10-16 08:22:56] local.INFO: Packet analysis {"connection_id":216400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:22:56] local.INFO: Extracted packet for processing {"connection_id":216400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1429b"} 
[2026-10-16 08:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782350336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792118856000,"timestamp_ms":1792118856000,"timestamp_seconds":1792118856,"priority":1,"record_length":96,"hex_timestamp":"000001a1429b9940"} 
[2026-10-16 08:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:22: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-10-16 08:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:22:56] 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-10-16 08:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782350336001,"66":25538,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782350336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:22:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:22:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782350336001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":216400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:22:56] local.INFO: GPS data processed {"connection_id":216400,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:22:56] local.INFO: Acknowledgment sent {"connection_id":216400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:23:22] local.INFO: TCP Data received {"connection_id":216584,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:23:22] local.INFO: Processing buffer {"connection_id":216584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:23:22] local.INFO: IMEI packet received {"connection_id":216584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":216584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:23:26] local.INFO: TCP Data received {"connection_id":216584,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:23:26] local.INFO: Processing buffer {"connection_id":216584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:23:26] local.INFO: IMEI packet received {"connection_id":216584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":216584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:23:27] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:23:27] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:23:27] local.INFO: IMEI packet received {"connection_id":216585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":216585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:23:28] local.INFO: TCP Data received {"connection_id":216584,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:23:28] local.INFO: Processing buffer {"connection_id":216584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:23:28] local.INFO: Packet analysis {"connection_id":216584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:23:28] local.INFO: Extracted packet for processing {"connection_id":216584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782427136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792119157000,"timestamp_ms":1792119157000,"timestamp_seconds":1792119157,"priority":1,"record_length":96,"hex_timestamp":"000001a142a03108"} 
[2026-10-16 08:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 08:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782427136001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782427136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:23:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:23:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782427136001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":216584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:23:28] local.INFO: GPS data processed {"connection_id":216584,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:23:28] local.INFO: Acknowledgment sent {"connection_id":216584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:23:32] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:23:32] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:23:32] local.INFO: IMEI packet received {"connection_id":216585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":216585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:23:33] local.INFO: TCP Data received {"connection_id":216584,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:23:33] local.INFO: Processing buffer {"connection_id":216584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:23:33] local.INFO: Packet analysis {"connection_id":216584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:23:33] local.INFO: Extracted packet for processing {"connection_id":216584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782427136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792119157000,"timestamp_ms":1792119157000,"timestamp_seconds":1792119157,"priority":1,"record_length":96,"hex_timestamp":"000001a142a03108"} 
[2026-10-16 08:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 08:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782427136001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782427136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:23:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782427136001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":216584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:23:33] local.INFO: GPS data processed {"connection_id":216584,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:23:33] local.INFO: Acknowledgment sent {"connection_id":216584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:23:34] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a142a0b9c0012d1a6d8007243af80033000b1b..."} 
[2026-10-16 08:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a0b9c0012d1a6d8007243af80033000b1b..."} 
[2026-10-16 08:23:34] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a0b9c0012d1a6d8007243af80033000b1b..."} 
[2026-10-16 08:23:34] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:23:34] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756706688,"raw_latitude":119814904,"longitude_deg":75.6706688,"latitude_deg":11.9814904,"altitude":51,"angle":11,"satellites":27,"speed":18,"hex_longitude":"2d1a6d80","hex_latitude":"07243af8","is_valid_coordinates":true} 
[2026-10-16 08:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782510848001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28048271041626112,"note":"Value kept but may cause issues"} 
[2026-10-16 08:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904670829328373760,"note":"Value kept but may cause issues"} 
[2026-10-16 08:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792119192000,"timestamp_ms":1792119192000,"timestamp_seconds":1792119192,"priority":1,"record_length":96,"hex_timestamp":"000001a142a0b9c0"} 
[2026-10-16 08:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-16 08:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782510848001,"66":14298,"177":206,"83":42752,"24":18,"16":28048271041626112,"45":1904670829328373760},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-16 08:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782510848001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:23:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 08:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28048271041626112,"km_value":28048271041626.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904670829328373760,"description":"Unknown IO ID 45"} 
[2026-10-16 08:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782510848001,"power":14298,"unknown_177":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1904670829328373760}} 
[2026-10-16 08:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:23:34] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:23:34] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:24:06] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a142a0c190012d1a6ec007243e000034001f1b..."} 
[2026-10-16 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a0c190012d1a6ec007243e000034001f1b..."} 
[2026-10-16 08:24:06] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a0c190012d1a6ec007243e000034001f1b..."} 
[2026-10-16 08:24:06] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:24:06] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756707008,"raw_latitude":119815680,"longitude_deg":75.6707008,"latitude_deg":11.981568,"altitude":52,"angle":31,"satellites":27,"speed":16,"hex_longitude":"2d1a6ec0","hex_latitude":"07243e00","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782513152001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28048313991299072,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904318985608558592,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792119194000,"timestamp_ms":1792119194000,"timestamp_seconds":1792119194,"priority":1,"record_length":96,"hex_timestamp":"000001a142a0c190"} 
[2026-10-16 08:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":218,"data_length":795,"current_offset":136} 
[2026-10-16 08:24: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-10-16 08: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-10-16 08:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782513152001,"66":14352,"177":206,"83":42752,"24":16,"16":28048313991299072,"45":1904318985608558592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-16 08:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782513152001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:24:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 08:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28048313991299072,"km_value":28048313991299.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904318985608558592,"description":"Unknown IO ID 45"} 
[2026-10-16 08:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782513152001,"power":14352,"unknown_177":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1904318985608558592}} 
[2026-10-16 08:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:24:06] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:24:06] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:24:09] local.INFO: TCP Data received {"connection_id":216402,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:24:09] local.INFO: Processing buffer {"connection_id":216402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:24:09] local.INFO: IMEI packet received {"connection_id":216402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":216402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:24:13] local.INFO: TCP Data received {"connection_id":216402,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a136c0012d0e318007068820001900161d..."} 
[2026-10-16 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a136c0012d0e318007068820001900161d..."} 
[2026-10-16 08:24:13] local.INFO: Processing buffer {"connection_id":216402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a136c0012d0e318007068820001900161d..."} 
[2026-10-16 08:24:13] local.INFO: Packet analysis {"connection_id":216402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a1"} 
[2026-10-16 08:24:13] local.INFO: Extracted packet for processing {"connection_id":216402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a1"} 
[2026-10-16 08:24:13] local.INFO: GPS Element Parsed {"raw_longitude":755904896,"raw_latitude":117868576,"longitude_deg":75.5904896,"latitude_deg":11.7868576,"altitude":25,"angle":22,"satellites":29,"speed":4,"hex_longitude":"2d0e3180","hex_latitude":"07068820","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782518016001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36417890991210496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022317145587304448,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792119224000,"timestamp_ms":1792119224000,"timestamp_seconds":1792119224,"priority":1,"record_length":96,"hex_timestamp":"000001a142a136c0"} 
[2026-10-16 08:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08: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-10-16 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-16 08:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782518016001,"66":14396,"219":206,"94":10240,"24":4,"16":36417890991210496,"45":1022317145587304448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782518016001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:24:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:24:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36417890991210496,"km_value":36417890991210.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022317145587304448,"description":"Unknown IO ID 45"} 
[2026-10-16 08:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782518016001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1022317145587304448}} 
[2026-10-16 08:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":216402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045249,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:24:13] local.INFO: GPS data processed {"connection_id":216402,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:24:13] local.INFO: Acknowledgment sent {"connection_id":216402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:24:16] local.INFO: TCP Data received {"connection_id":216587,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:24:16] local.INFO: Processing buffer {"connection_id":216587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:24:16] local.INFO: IMEI packet received {"connection_id":216587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":216587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:24:22] local.INFO: TCP Data received {"connection_id":216587,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:24:22] local.INFO: Processing buffer {"connection_id":216587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:24:22] local.INFO: IMEI packet received {"connection_id":216587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":216587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:24:23] local.INFO: TCP Data received {"connection_id":216587,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:24:23] local.INFO: Processing buffer {"connection_id":216587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:24:23] local.INFO: Packet analysis {"connection_id":216587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:24:23] local.INFO: Extracted packet for processing {"connection_id":216587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782427136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792119157000,"timestamp_ms":1792119157000,"timestamp_seconds":1792119157,"priority":1,"record_length":96,"hex_timestamp":"000001a142a03108"} 
[2026-10-16 08:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 08:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782427136001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782427136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:24:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:24:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782427136001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":216587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:24:23] local.INFO: GPS data processed {"connection_id":216587,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:24:23] local.INFO: Acknowledgment sent {"connection_id":216587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:24:37] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a142a0c578012d1a700007243f280035002d1b..."} 
[2026-10-16 08:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a0c578012d1a700007243f280035002d1b..."} 
[2026-10-16 08:24:37] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a0c578012d1a700007243f280035002d1b..."} 
[2026-10-16 08:24:37] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:24:37] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756707328,"raw_latitude":119815976,"longitude_deg":75.6707328,"latitude_deg":11.9815976,"altitude":53,"angle":45,"satellites":27,"speed":15,"hex_longitude":"2d1a7000","hex_latitude":"07243f28","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782513664001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28048331171168256,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904670829329645568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792119195000,"timestamp_ms":1792119195000,"timestamp_seconds":1792119195,"priority":1,"record_length":96,"hex_timestamp":"000001a142a0c578"} 
[2026-10-16 08:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733132032,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2692687873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637963349786624,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090156032,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789984974,"corrected_to":0} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2775842816,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":88,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.WARNING: Large IO value detected {"io_id":26,"raw_value":8394717556892500010,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,177,83,24,241,16,165,161,185,45,128,58,51,27,10,66,150,192,42,47,134,1,240,196,36,4,113,205,13,119,239,2,55,99,206,88,31,26],"length":628,"final_offset":758,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1789984974,"validated":0}]} 
[2026-10-16 08:24:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747029090797879296,"timestamp_seconds":3747029090797879.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782513664001,"66":14363,"177":206,"83":42752,"24":15,"16":28048331171168256,"45":1904670829329645568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-16 08:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782513664001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:24:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 08:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28048331171168256,"km_value":28048331171168.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904670829329645568,"description":"Unknown IO ID 45"} 
[2026-10-16 08:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782513664001,"power":14363,"unknown_177":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1904670829329645568}} 
[2026-10-16 08:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:24:37] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:24:37] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:24:44] local.INFO: TCP Data received {"connection_id":216402,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a13aa8012d0e3180070688600019000a1d..."} 
[2026-10-16 08:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a13aa8012d0e3180070688600019000a1d..."} 
[2026-10-16 08:24:44] local.INFO: Processing buffer {"connection_id":216402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a13aa8012d0e3180070688600019000a1d..."} 
[2026-10-16 08:24:44] local.INFO: Packet analysis {"connection_id":216402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a1"} 
[2026-10-16 08:24:44] local.INFO: Extracted packet for processing {"connection_id":216402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a1"} 
[2026-10-16 08:24:44] local.INFO: GPS Element Parsed {"raw_longitude":755904896,"raw_latitude":117868640,"longitude_deg":75.5904896,"latitude_deg":11.786864,"altitude":25,"angle":10,"satellites":29,"speed":2,"hex_longitude":"2d0e3180","hex_latitude":"07068860","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782521344001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36417895286177792,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022739358052524032,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:44] 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-10-16 08:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792119225000,"timestamp_ms":1792119225000,"timestamp_seconds":1792119225,"priority":1,"record_length":96,"hex_timestamp":"000001a142a13aa8"} 
[2026-10-16 08:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:24: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-10-16 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782521344001,"66":14396,"219":206,"94":10240,"24":2,"16":36417895286177792,"45":1022739358052524032},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782521344001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:24:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:24:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36417895286177792,"km_value":36417895286177.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022739358052524032,"description":"Unknown IO ID 45"} 
[2026-10-16 08:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782521344001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1022739358052524032}} 
[2026-10-16 08:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":216402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:24:44] local.INFO: GPS data processed {"connection_id":216402,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:24:44] local.INFO: Acknowledgment sent {"connection_id":216402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:24:55] local.INFO: TCP Data received {"connection_id":216587,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:24:55] local.INFO: Processing buffer {"connection_id":216587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:24:55] local.INFO: Packet analysis {"connection_id":216587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:24:55] local.INFO: Extracted packet for processing {"connection_id":216587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782427136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792119157000,"timestamp_ms":1792119157000,"timestamp_seconds":1792119157,"priority":1,"record_length":96,"hex_timestamp":"000001a142a03108"} 
[2026-10-16 08:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 08:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782427136001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782427136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:24:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:24:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782427136001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":216587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:24:55] local.INFO: GPS data processed {"connection_id":216587,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:24:55] local.INFO: Acknowledgment sent {"connection_id":216587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:25:08] local.INFO: TCP Data received {"connection_id":216588,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:25:08] local.INFO: Processing buffer {"connection_id":216588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:25:08] local.INFO: IMEI packet received {"connection_id":216588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":216588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:25:09] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a142a257d0012d1a90c007248010005500e31b..."} 
[2026-10-16 08:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a257d0012d1a90c007248010005500e31b..."} 
[2026-10-16 08:25:09] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a257d0012d1a90c007248010005500e31b..."} 
[2026-10-16 08:25:09] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:25:09] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:25:09] local.INFO: GPS Element Parsed {"raw_longitude":756715712,"raw_latitude":119832592,"longitude_deg":75.6715712,"latitude_deg":11.9832592,"altitude":85,"angle":227,"satellites":27,"speed":22,"hex_longitude":"2d1a90c0","hex_latitude":"07248010","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782538752001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28049808639918080,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917196465798080512,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25: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-10-16 08:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792119298000,"timestamp_ms":1792119298000,"timestamp_seconds":1792119298,"priority":1,"record_length":96,"hex_timestamp":"000001a142a257d0"} 
[2026-10-16 08:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:25:09] 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-10-16 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 08:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782538752001,"66":14080,"137":206,"83":42752,"24":22,"16":28049808639918080,"45":1917196465798080512},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782538752001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:25:09] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28049808639918080,"km_value":28049808639918.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917196465798080512,"description":"Unknown IO ID 45"} 
[2026-10-16 08:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782538752001,"power":14080,"unknown_137":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1917196465798080512}} 
[2026-10-16 08:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:25:09] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:25:09] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:25:11] local.INFO: TCP Data received {"connection_id":216588,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:25:11] local.INFO: Processing buffer {"connection_id":216588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:25:11] local.INFO: IMEI packet received {"connection_id":216588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":216588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:25:11] local.INFO: TCP Data received {"connection_id":216588,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a22508012d0e3bc00706e8c00017015f1c..."} 
[2026-10-16 08:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a22508012d0e3bc00706e8c00017015f1c..."} 
[2026-10-16 08:25:11] local.INFO: Processing buffer {"connection_id":216588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a22508012d0e3bc00706e8c00017015f1c..."} 
[2026-10-16 08:25:11] local.INFO: Packet analysis {"connection_id":216588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:25:11] local.INFO: Extracted packet for processing {"connection_id":216588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:25:11] local.INFO: GPS Element Parsed {"raw_longitude":755907520,"raw_latitude":117893312,"longitude_deg":75.590752,"latitude_deg":11.7893312,"altitude":23,"angle":351,"satellites":28,"speed":7,"hex_longitude":"2d0e3bc0","hex_latitude":"0706e8c0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782534912001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36419123646824448,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025694845313857536,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792119285000,"timestamp_ms":1792119285000,"timestamp_seconds":1792119285,"priority":1,"record_length":96,"hex_timestamp":"000001a142a22508"} 
[2026-10-16 08:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08: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-10-16 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:25: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-10-16 08: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-10-16 08:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":216588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":216588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":216588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782534912001,"66":14439,"219":206,"94":10240,"24":7,"16":36419123646824448,"45":1025694845313857536},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782534912001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:25:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:25:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36419123646824448,"km_value":36419123646824.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025694845313857536,"description":"Unknown IO ID 45"} 
[2026-10-16 08:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782534912001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1025694845313857536}} 
[2026-10-16 08:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":216588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045255,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:25:11] local.INFO: GPS data processed {"connection_id":216588,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:25:11] local.INFO: Acknowledgment sent {"connection_id":216588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:25:12] local.INFO: TCP Data received {"connection_id":216588,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a234a8012d0e3bc00706ec58001700031e..."} 
[2026-10-16 08:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a234a8012d0e3bc00706ec58001700031e..."} 
[2026-10-16 08:25:12] local.INFO: Processing buffer {"connection_id":216588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a234a8012d0e3bc00706ec58001700031e..."} 
[2026-10-16 08:25:12] local.INFO: Packet analysis {"connection_id":216588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:25:12] local.INFO: Extracted packet for processing {"connection_id":216588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:25:12] local.INFO: GPS Element Parsed {"raw_longitude":755907520,"raw_latitude":117894232,"longitude_deg":75.590752,"latitude_deg":11.7894232,"altitude":23,"angle":3,"satellites":30,"speed":9,"hex_longitude":"2d0e3bc0","hex_latitude":"0706ec58","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782536960001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36419166596497408,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025624476570140672,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:12] 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-10-16 08:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792119289000,"timestamp_ms":1792119289000,"timestamp_seconds":1792119289,"priority":1,"record_length":96,"hex_timestamp":"000001a142a234a8"} 
[2026-10-16 08:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08: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-10-16 08:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 08:25:12] 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-10-16 08: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-10-16 08:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":216588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":216588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":216588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782536960001,"66":14396,"219":206,"94":10240,"24":9,"16":36419166596497408,"45":1025624476570140672},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782536960001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:25:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:25:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36419166596497408,"km_value":36419166596497.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025624476570140672,"description":"Unknown IO ID 45"} 
[2026-10-16 08:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782536960001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1025624476570140672}} 
[2026-10-16 08:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":216588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:25:13] local.INFO: GPS data processed {"connection_id":216588,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:25:13] local.INFO: Acknowledgment sent {"connection_id":216588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:25:16] local.INFO: TCP Data received {"connection_id":216589,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:25:16] local.INFO: Processing buffer {"connection_id":216589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:25:16] local.INFO: IMEI packet received {"connection_id":216589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":216589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:25:22] local.INFO: TCP Data received {"connection_id":216589,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:25:22] local.INFO: Processing buffer {"connection_id":216589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:25:22] local.INFO: IMEI packet received {"connection_id":216589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":216589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:25:23] local.INFO: TCP Data received {"connection_id":216589,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:25:23] local.INFO: Processing buffer {"connection_id":216589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:25:23] local.INFO: Packet analysis {"connection_id":216589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:25:23] local.INFO: Extracted packet for processing {"connection_id":216589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782427136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792119157000,"timestamp_ms":1792119157000,"timestamp_seconds":1792119157,"priority":1,"record_length":96,"hex_timestamp":"000001a142a03108"} 
[2026-10-16 08:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 08:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782427136001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782427136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:25:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:25:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782427136001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":216589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:25:23] local.INFO: GPS data processed {"connection_id":216589,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:25:23] local.INFO: Acknowledgment sent {"connection_id":216589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:25:39] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a142a25fa0012d1a8e0007247d00005500d21b..."} 
[2026-10-16 08:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a25fa0012d1a8e0007247d00005500d21b..."} 
[2026-10-16 08:25:39] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a25fa0012d1a8e0007247d00005500d21b..."} 
[2026-10-16 08:25:39] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:25:39] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756715008,"raw_latitude":119831808,"longitude_deg":75.6715008,"latitude_deg":11.9831808,"altitude":85,"angle":210,"satellites":27,"speed":18,"hex_longitude":"2d1a8e00","hex_latitude":"07247d00","is_valid_coordinates":true} 
[2026-10-16 08:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782540288001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28049855884558336,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914240978542137344,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] 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-10-16 08:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792119300000,"timestamp_ms":1792119300000,"timestamp_seconds":1792119300,"priority":1,"record_length":96,"hex_timestamp":"000001a142a25fa0"} 
[2026-10-16 08:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:25:39] 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-10-16 08:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446321408,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2720335873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2291138643,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789984974,"corrected_to":0} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221693577,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531178,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2800222208,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,137,83,24,241,157,16,167,161,64,45,135,84,27,10,66,56,192,136,166,40,128,1,240,148,227,36,4,113,205,7,33,163,32,239,54,177,2,99,82],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1789984974,"validated":0}]} 
[2026-10-16 08:25:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6125145198328938496,"timestamp_seconds":6125145198328938.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782540288001,"66":14102,"137":206,"83":42752,"24":18,"16":28049855884558336,"45":1914240978542137344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782540288001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:25:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28049855884558336,"km_value":28049855884558.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914240978542137344,"description":"Unknown IO ID 45"} 
[2026-10-16 08:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782540288001,"power":14102,"unknown_137":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1914240978542137344}} 
[2026-10-16 08:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:25:39] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:25:39] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:25:52] local.INFO: TCP Data received {"connection_id":216588,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a282c8012d0e3d000706fe48001a00011e..."} 
[2026-10-16 08:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a282c8012d0e3d000706fe48001a00011e..."} 
[2026-10-16 08:25:53] local.INFO: Processing buffer {"connection_id":216588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a282c8012d0e3d000706fe48001a00011e..."} 
[2026-10-16 08:25:53] local.INFO: Packet analysis {"connection_id":216588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:25:53] local.INFO: Extracted packet for processing {"connection_id":216588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:25:53] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117898824,"longitude_deg":75.590784,"latitude_deg":11.7898824,"altitude":26,"angle":1,"satellites":30,"speed":11,"hex_longitude":"2d0e3d00","hex_latitude":"0706fe48","is_valid_coordinates":true} 
[2026-10-16 08:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782537984001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36419394229764096,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025624476570376192,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:53] 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-10-16 08:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792119309000,"timestamp_ms":1792119309000,"timestamp_seconds":1792119309,"priority":1,"record_length":96,"hex_timestamp":"000001a142a282c8"} 
[2026-10-16 08:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:25: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-10-16 08:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:25: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-10-16 08:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782537984001,"66":14515,"219":206,"94":10240,"24":11,"16":36419394229764096,"45":1025624476570376192},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782537984001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:25:53] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:25:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36419394229764096,"km_value":36419394229764.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025624476570376192,"description":"Unknown IO ID 45"} 
[2026-10-16 08:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782537984001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1025624476570376192}} 
[2026-10-16 08:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":216588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045259,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:25:53] local.INFO: GPS data processed {"connection_id":216588,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:25:53] local.INFO: Acknowledgment sent {"connection_id":216588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:25:55] local.INFO: TCP Data received {"connection_id":216589,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:25:55] local.INFO: Processing buffer {"connection_id":216589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:25:55] local.INFO: Packet analysis {"connection_id":216589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:25:55] local.INFO: Extracted packet for processing {"connection_id":216589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782427136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792119157000,"timestamp_ms":1792119157000,"timestamp_seconds":1792119157,"priority":1,"record_length":96,"hex_timestamp":"000001a142a03108"} 
[2026-10-16 08:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 08:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782427136001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782427136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:25:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:25:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782427136001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":216589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:25:55] local.INFO: GPS data processed {"connection_id":216589,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:25:55] local.INFO: Acknowledgment sent {"connection_id":216589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:26:04] local.INFO: TCP Data received {"connection_id":217928,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217928,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:26:04] local.INFO: Processing buffer {"connection_id":217928,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:26:04] local.INFO: IMEI packet received {"connection_id":217928,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":217928,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:26:08] local.INFO: TCP Data received {"connection_id":217928,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217928,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:26:08] local.INFO: Processing buffer {"connection_id":217928,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:26:08] local.INFO: IMEI packet received {"connection_id":217928,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":217928,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:26:14] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a142a31f08012d1a6e40072417d8002a00841b..."} 
[2026-10-16 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a31f08012d1a6e40072417d8002a00841b..."} 
[2026-10-16 08:26:15] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a31f08012d1a6e40072417d8002a00841b..."} 
[2026-10-16 08:26:15] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:26:15] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756706880,"raw_latitude":119805912,"longitude_deg":75.670688,"latitude_deg":11.9805912,"altitude":42,"angle":132,"satellites":27,"speed":16,"hex_longitude":"2d1a6e40","hex_latitude":"072417d8","is_valid_coordinates":true} 
[2026-10-16 08:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782552832001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28051251748929536,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903967141885503488,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792119349000,"timestamp_ms":1792119349000,"timestamp_seconds":1792119349,"priority":1,"record_length":96,"hex_timestamp":"000001a142a31f08"} 
[2026-10-16 08:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:26:15] 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-10-16 08:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 08:26:15] 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-10-16 08:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782552832001,"66":14048,"177":206,"83":42752,"24":16,"16":28051251748929536,"45":1903967141885503488},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-16 08:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782552832001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:26:15] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 08:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28051251748929536,"km_value":28051251748929.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903967141885503488,"description":"Unknown IO ID 45"} 
[2026-10-16 08:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782552832001,"power":14048,"unknown_177":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1903967141885503488}} 
[2026-10-16 08:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:26:15] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:26:15] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:26:15] local.INFO: TCP Data received {"connection_id":216403,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:26:15] local.INFO: Processing buffer {"connection_id":216403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:26:15] local.INFO: IMEI packet received {"connection_id":216403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":216403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:26:18] local.INFO: TCP Data received {"connection_id":217928,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a28a98012d0e3cc0070700d0001a01541e..."} 
[2026-10-16 08:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a28a98012d0e3cc0070700d0001a01541e..."} 
[2026-10-16 08:26:18] local.INFO: Processing buffer {"connection_id":217928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a28a98012d0e3cc0070700d0001a01541e..."} 
[2026-10-16 08:26:18] local.INFO: Packet analysis {"connection_id":217928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:26:18] local.INFO: Extracted packet for processing {"connection_id":217928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:26:18] local.INFO: GPS Element Parsed {"raw_longitude":755907776,"raw_latitude":117899472,"longitude_deg":75.5907776,"latitude_deg":11.7899472,"altitude":26,"angle":340,"satellites":30,"speed":13,"hex_longitude":"2d0e3cc0","hex_latitude":"070700d0","is_valid_coordinates":true} 
[2026-10-16 08:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782543104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36419428589502464,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320292440064,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792119311000,"timestamp_ms":1792119311000,"timestamp_seconds":1792119311,"priority":1,"record_length":96,"hex_timestamp":"000001a142a28a98"} 
[2026-10-16 08:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:26: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-10-16 08:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 08:26: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-10-16 08:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":217928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":217928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":217928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782543104001,"66":14407,"219":206,"94":10240,"24":13,"16":36419428589502464,"45":1025976320292440064},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782543104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:26:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:26:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36419428589502464,"km_value":36419428589502.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320292440064,"description":"Unknown IO ID 45"} 
[2026-10-16 08:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782543104001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1025976320292440064}} 
[2026-10-16 08:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":217928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045262,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:26:18] local.INFO: GPS data processed {"connection_id":217928,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:26:18] local.INFO: Acknowledgment sent {"connection_id":217928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:26:22] local.INFO: TCP Data received {"connection_id":219681,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:26:22] local.INFO: Processing buffer {"connection_id":219681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:26:22] local.INFO: IMEI packet received {"connection_id":219681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":219681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:26:27] local.INFO: TCP Data received {"connection_id":219681,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:26:27] local.INFO: Processing buffer {"connection_id":219681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:26:27] local.INFO: IMEI packet received {"connection_id":219681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":219681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:26:28] local.INFO: TCP Data received {"connection_id":219681,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:26:28] local.INFO: Processing buffer {"connection_id":219681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:26:28] local.INFO: Packet analysis {"connection_id":219681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:26:28] local.INFO: Extracted packet for processing {"connection_id":219681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782427136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792119157000,"timestamp_ms":1792119157000,"timestamp_seconds":1792119157,"priority":1,"record_length":96,"hex_timestamp":"000001a142a03108"} 
[2026-10-16 08:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 08:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782427136001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782427136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:26:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:26:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782427136001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":219681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:26:28] local.INFO: GPS data processed {"connection_id":219681,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:26:28] local.INFO: Acknowledgment sent {"connection_id":219681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:26:33] local.INFO: TCP Data received {"connection_id":219681,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:26:33] local.INFO: Processing buffer {"connection_id":219681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:26:33] local.INFO: Packet analysis {"connection_id":219681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:26:33] local.INFO: Extracted packet for processing {"connection_id":219681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782427136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792119157000,"timestamp_ms":1792119157000,"timestamp_seconds":1792119157,"priority":1,"record_length":96,"hex_timestamp":"000001a142a03108"} 
[2026-10-16 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-10-16 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 08:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 08:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782427136001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782427136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:26:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:26:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782427136001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":219681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:26:33] local.INFO: GPS data processed {"connection_id":219681,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:26:33] local.INFO: Acknowledgment sent {"connection_id":219681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:26:46] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a142a34230012d1a750007241118002b00691b..."} 
[2026-10-16 08:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a34230012d1a750007241118002b00691b..."} 
[2026-10-16 08:26:46] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a34230012d1a750007241118002b00691b..."} 
[2026-10-16 08:26:46] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:26:46] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756708608,"raw_latitude":119804184,"longitude_deg":75.6708608,"latitude_deg":11.9804184,"altitude":43,"angle":105,"satellites":27,"speed":6,"hex_longitude":"2d1a7500","hex_latitude":"07241118","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782553344001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28051372008013824,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904530091838789632,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792119358000,"timestamp_ms":1792119358000,"timestamp_seconds":1792119358,"priority":1,"record_length":96,"hex_timestamp":"000001a142a34230"} 
[2026-10-16 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-10-16 08:26:46] 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-10-16 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 08:26:46] 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-10-16 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-10-16 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-10-16 08:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782553344001,"66":14396,"177":206,"83":42752,"24":6,"16":28051372008013824,"45":1904530091838789632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-16 08:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782553344001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:26:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 08:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28051372008013824,"km_value":28051372008013.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904530091838789632,"description":"Unknown IO ID 45"} 
[2026-10-16 08:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782553344001,"power":14396,"unknown_177":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1904530091838789632}} 
[2026-10-16 08:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:26:46] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:26:46] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:26:51] local.INFO: TCP Data received {"connection_id":217929,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:26:51] local.INFO: Processing buffer {"connection_id":217929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:26:51] local.INFO: IMEI packet received {"connection_id":217929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":217929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:26:56] local.INFO: TCP Data received {"connection_id":217929,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:26:56] local.INFO: Processing buffer {"connection_id":217929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:26:56] local.INFO: IMEI packet received {"connection_id":217929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 08:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":217929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:26:57] local.INFO: TCP Data received {"connection_id":217929,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142a2c530012d4ea9c006764ee00019004128..."} 
[2026-10-16 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a2c530012d4ea9c006764ee00019004128..."} 
[2026-10-16 08:26:57] local.INFO: Processing buffer {"connection_id":217929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a2c530012d4ea9c006764ee00019004128..."} 
[2026-10-16 08:26:57] local.INFO: Packet analysis {"connection_id":217929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:26:57] local.INFO: Extracted packet for processing {"connection_id":217929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a2"} 
[2026-10-16 08:26:57] local.INFO: GPS Element Parsed {"raw_longitude":760129984,"raw_latitude":108416736,"longitude_deg":76.0129984,"latitude_deg":10.8416736,"altitude":25,"angle":65,"satellites":40,"speed":57,"hex_longitude":"2d4ea9c0","hex_latitude":"06764ee0","is_valid_coordinates":true} 
[2026-10-16 08:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782544640001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12356998867714048,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5643362204569063424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792119326000,"timestamp_ms":1792119326000,"timestamp_seconds":1792119326,"priority":1,"record_length":96,"hex_timestamp":"000001a142a2c530"} 
[2026-10-16 08:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 08:26:57] 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-10-16 08:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 08:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 08:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 08:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 08:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782544640001,"66":27876,"168":206,"80":60160,"24":57,"16":12356998867714048,"45":5643362204569063424},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-10-16 08:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 08:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 08:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782544640001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:26:57] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-10-16 08:26:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-10-16 08:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12356998867714048,"km_value":12356998867714.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5643362204569063424,"description":"Unknown IO ID 45"} 
[2026-10-16 08:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782544640001,"power":27876,"unknown_168":206,"unknown_80":60160,"ignition":57,"odometer":null,"unknown_45":5643362204569063424}} 
[2026-10-16 08:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":217929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:26:57] local.INFO: GPS data processed {"connection_id":217929,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:26:57] local.INFO: Acknowledgment sent {"connection_id":217929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:27:03] local.INFO: TCP Data received {"connection_id":217930,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:27:03] local.INFO: Processing buffer {"connection_id":217930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:27:03] local.INFO: IMEI packet received {"connection_id":217930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":217930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:27:08] local.INFO: TCP Data received {"connection_id":217930,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:27:08] local.INFO: Processing buffer {"connection_id":217930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:27:08] local.INFO: IMEI packet received {"connection_id":217930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":217930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:27:11] local.INFO: TCP Data received {"connection_id":217930,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a3e640012d0dd0800706c7a80026008f1c..."} 
[2026-10-16 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a3e640012d0dd0800706c7a80026008f1c..."} 
[2026-10-16 08:27:11] local.INFO: Processing buffer {"connection_id":217930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a3e640012d0dd0800706c7a80026008f1c..."} 
[2026-10-16 08:27:11] local.INFO: Packet analysis {"connection_id":217930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:27:11] local.INFO: Extracted packet for processing {"connection_id":217930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":755880064,"raw_latitude":117884840,"longitude_deg":75.5880064,"latitude_deg":11.788484,"altitude":38,"angle":143,"satellites":28,"speed":16,"hex_longitude":"2d0dd080","hex_latitude":"0706c7a8","is_valid_coordinates":true} 
[2026-10-16 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782566144001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36421438634196992,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995154810339135488,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792119400000,"timestamp_ms":1792119400000,"timestamp_seconds":1792119400,"priority":1,"record_length":96,"hex_timestamp":"000001a142a3e640"} 
[2026-10-16 08:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:27: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-10-16 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 08:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":217930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":217930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":217930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782566144001,"66":14396,"219":206,"94":10240,"24":16,"16":36421438634196992,"45":995154810339135488},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782566144001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:27:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:27:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36421438634196992,"km_value":36421438634196.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":995154810339135488,"description":"Unknown IO ID 45"} 
[2026-10-16 08:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782566144001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":995154810339135488}} 
[2026-10-16 08:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":217930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045267,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:27:11] local.INFO: GPS data processed {"connection_id":217930,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:27:11] local.INFO: Acknowledgment sent {"connection_id":217930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:27:16] local.INFO: TCP Data received {"connection_id":216404,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:27:16] local.INFO: Processing buffer {"connection_id":216404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:27:16] local.INFO: IMEI packet received {"connection_id":216404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":216404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:27:17] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a142a34618012d1a75c007241148002b00461b..."} 
[2026-10-16 08:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a34618012d1a75c007241148002b00461b..."} 
[2026-10-16 08:27:17] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a34618012d1a75c007241148002b00461b..."} 
[2026-10-16 08:27:17] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:27:17] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756708800,"raw_latitude":119804232,"longitude_deg":75.67088,"latitude_deg":11.9804232,"altitude":43,"angle":70,"satellites":27,"speed":9,"hex_longitude":"2d1a75c0","hex_latitude":"07241148","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782555648001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28051380597948416,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906430047931144192,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792119359000,"timestamp_ms":1792119359000,"timestamp_seconds":1792119359,"priority":1,"record_length":96,"hex_timestamp":"000001a142a34618"} 
[2026-10-16 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-10-16 08:27:17] 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-10-16 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":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:27: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-10-16 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-10-16 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-10-16 08:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782555648001,"66":14396,"177":206,"83":42752,"24":9,"16":28051380597948416,"45":1906430047931144192},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-10-16 08:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782555648001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:27:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 08:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28051380597948416,"km_value":28051380597948.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906430047931144192,"description":"Unknown IO ID 45"} 
[2026-10-16 08:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782555648001,"power":14396,"unknown_177":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1906430047931144192}} 
[2026-10-16 08:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:27:17] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:27:17] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:27:22] local.INFO: TCP Data received {"connection_id":216404,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:27:22] local.INFO: Processing buffer {"connection_id":216404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:27:22] local.INFO: IMEI packet received {"connection_id":216404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":216404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:27:23] local.INFO: TCP Data received {"connection_id":216404,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:27:23] local.INFO: Processing buffer {"connection_id":216404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:27:23] local.INFO: Packet analysis {"connection_id":216404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:27:23] local.INFO: Extracted packet for processing {"connection_id":216404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:27: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-10-16 08:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782427136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792119157000,"timestamp_ms":1792119157000,"timestamp_seconds":1792119157,"priority":1,"record_length":96,"hex_timestamp":"000001a142a03108"} 
[2026-10-16 08:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:27: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 08:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:27: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-10-16 08:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782427136001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782427136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:27:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:27:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782427136001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":216404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:27:23] local.INFO: GPS data processed {"connection_id":216404,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:27:23] local.INFO: Acknowledgment sent {"connection_id":216404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:27:42] local.INFO: TCP Data received {"connection_id":217930,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a3ea28012d0dd1c00706c6900025007b1b..."} 
[2026-10-16 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a3ea28012d0dd1c00706c6900025007b1b..."} 
[2026-10-16 08:27:42] local.INFO: Processing buffer {"connection_id":217930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a3ea28012d0dd1c00706c6900025007b1b..."} 
[2026-10-16 08:27:42] local.INFO: Packet analysis {"connection_id":217930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:27:42] local.INFO: Extracted packet for processing {"connection_id":217930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":755880384,"raw_latitude":117884560,"longitude_deg":75.5880384,"latitude_deg":11.788456,"altitude":37,"angle":123,"satellites":27,"speed":16,"hex_longitude":"2d0dd1c0","hex_latitude":"0706c690","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782566400001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36421460109033472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995436285315753984,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792119401000,"timestamp_ms":1792119401000,"timestamp_seconds":1792119401,"priority":1,"record_length":96,"hex_timestamp":"000001a142a3ea28"} 
[2026-10-16 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-10-16 08:27: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-10-16 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 08:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":217930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":217930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":217930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782566400001,"66":14396,"219":206,"94":10240,"24":16,"16":36421460109033472,"45":995436285315753984},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782566400001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:27:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:27:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36421460109033472,"km_value":36421460109033.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":995436285315753984,"description":"Unknown IO ID 45"} 
[2026-10-16 08:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782566400001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":995436285315753984}} 
[2026-10-16 08:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":217930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045270,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:27:42] local.INFO: GPS data processed {"connection_id":217930,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:27:42] local.INFO: Acknowledgment sent {"connection_id":217930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:27:51] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a142a37cc8012d1a9880072420700029003e19..."} 
[2026-10-16 08:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a37cc8012d1a9880072420700029003e19..."} 
[2026-10-16 08:27:51] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a37cc8012d1a9880072420700029003e19..."} 
[2026-10-16 08:27:51] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:27:51] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a3"} 
[2026-10-16 08:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756717696,"raw_latitude":119808112,"longitude_deg":75.6717696,"latitude_deg":11.9808112,"altitude":41,"angle":62,"satellites":25,"speed":40,"hex_longitude":"2d1a9880","hex_latitude":"07242070","is_valid_coordinates":true} 
[2026-10-16 08:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782555904001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28051840159449088,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906641154163689472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792119373000,"timestamp_ms":1792119373000,"timestamp_seconds":1792119373,"priority":1,"record_length":96,"hex_timestamp":"000001a142a37cc8"} 
[2026-10-16 08:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:27:51] 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-10-16 08:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782555904001,"66":14352,"43":206,"83":42752,"24":40,"16":28051840159449088,"45":1906641154163689472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 08:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782555904001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:27:51] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 08:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28051840159449088,"km_value":28051840159449.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906641154163689472,"description":"Unknown IO ID 45"} 
[2026-10-16 08:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782555904001,"power":14352,"unknown_43":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1906641154163689472}} 
[2026-10-16 08:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:27:51] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:27:51] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:27:55] local.INFO: TCP Data received {"connection_id":216404,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:27:55] local.INFO: Processing buffer {"connection_id":216404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a03108012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:27:55] local.INFO: Packet analysis {"connection_id":216404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:27:55] local.INFO: Extracted packet for processing {"connection_id":216404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a0"} 
[2026-10-16 08:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782427136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792119157000,"timestamp_ms":1792119157000,"timestamp_seconds":1792119157,"priority":1,"record_length":96,"hex_timestamp":"000001a142a03108"} 
[2026-10-16 08:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 08:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:27: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-10-16 08:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782427136001,"66":25582,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782427136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:27:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:27:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782427136001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":216404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:27:55] local.INFO: GPS data processed {"connection_id":216404,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:27:55] local.INFO: Acknowledgment sent {"connection_id":216404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:28:03] local.INFO: TCP Data received {"connection_id":217932,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217932,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:28:03] local.INFO: Processing buffer {"connection_id":217932,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:28:03] local.INFO: IMEI packet received {"connection_id":217932,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":217932,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:28:04] local.INFO: TCP Data received {"connection_id":217932,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217932,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:28:04] local.INFO: Processing buffer {"connection_id":217932,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:28:04] local.INFO: IMEI packet received {"connection_id":217932,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":217932,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:28:07] local.INFO: TCP Data received {"connection_id":217932,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217932,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:28:07] local.INFO: Processing buffer {"connection_id":217932,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:28:07] local.INFO: IMEI packet received {"connection_id":217932,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":217932,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:28:07] local.INFO: TCP Data received {"connection_id":217932,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a4e810012d0df0400706b288001c003d1f..."} 
[2026-10-16 08:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a4e810012d0df0400706b288001c003d1f..."} 
[2026-10-16 08:28:08] local.INFO: Processing buffer {"connection_id":217932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a4e810012d0df0400706b288001c003d1f..."} 
[2026-10-16 08:28:08] local.INFO: Packet analysis {"connection_id":217932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:28:08] local.INFO: Extracted packet for processing {"connection_id":217932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:28:08] local.INFO: GPS Element Parsed {"raw_longitude":755888192,"raw_latitude":117879432,"longitude_deg":75.5888192,"latitude_deg":11.7879432,"altitude":28,"angle":61,"satellites":31,"speed":2,"hex_longitude":"2d0df040","hex_latitude":"0706b288","is_valid_coordinates":true} 
[2026-10-16 08:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782582784001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36421992684978176,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004232378336569344,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:08] 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-10-16 08:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792119466000,"timestamp_ms":1792119466000,"timestamp_seconds":1792119466,"priority":1,"record_length":96,"hex_timestamp":"000001a142a4e810"} 
[2026-10-16 08:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:28: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-10-16 08:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 08:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":217932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":217932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":217932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782582784001,"66":14559,"219":206,"94":10240,"24":2,"16":36421992684978176,"45":1004232378336569344},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782582784001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:28:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:28:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36421992684978176,"km_value":36421992684978.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004232378336569344,"description":"Unknown IO ID 45"} 
[2026-10-16 08:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782582784001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1004232378336569344}} 
[2026-10-16 08:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":217932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045273,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:28:08] local.INFO: GPS data processed {"connection_id":217932,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:28:08] local.INFO: Acknowledgment sent {"connection_id":217932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:28:11] local.INFO: TCP Data received {"connection_id":217933,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:28:11] local.INFO: Processing buffer {"connection_id":217933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:28:11] local.INFO: IMEI packet received {"connection_id":217933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":217933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:28:17] local.INFO: TCP Data received {"connection_id":216590,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:28:17] local.INFO: Processing buffer {"connection_id":216590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:28:17] local.INFO: IMEI packet received {"connection_id":216590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":216590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:28:17] local.INFO: TCP Data received {"connection_id":216590,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:28:17] local.INFO: Processing buffer {"connection_id":216590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:28:17] local.INFO: IMEI packet received {"connection_id":216590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":216590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:28:22] local.INFO: TCP Data received {"connection_id":216590,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:28:22] local.INFO: Processing buffer {"connection_id":216590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:28:22] local.INFO: IMEI packet received {"connection_id":216590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":216590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:28:23] local.INFO: TCP Data received {"connection_id":216590,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:28:23] local.INFO: Processing buffer {"connection_id":216590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:28:23] local.INFO: Packet analysis {"connection_id":216590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:28:23] local.INFO: Extracted packet for processing {"connection_id":216590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782504192001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792119458000,"timestamp_ms":1792119458000,"timestamp_seconds":1792119458,"priority":1,"record_length":96,"hex_timestamp":"000001a142a4c8d0"} 
[2026-10-16 08:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:28:23] 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-10-16 08: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-10-16 08:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782504192001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782504192001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:28:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:28:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782504192001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":216590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:28:23] local.INFO: GPS data processed {"connection_id":216590,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:28:23] local.INFO: Acknowledgment sent {"connection_id":216590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:28:39] local.INFO: TCP Data received {"connection_id":217932,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a50f20012d0df0c00706b2c8001c014a1f..."} 
[2026-10-16 08:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a50f20012d0df0c00706b2c8001c014a1f..."} 
[2026-10-16 08:28:39] local.INFO: Processing buffer {"connection_id":217932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a50f20012d0df0c00706b2c8001c014a1f..."} 
[2026-10-16 08:28:39] local.INFO: Packet analysis {"connection_id":217932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:28:39] local.INFO: Extracted packet for processing {"connection_id":217932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:28:39] local.INFO: GPS Element Parsed {"raw_longitude":755888320,"raw_latitude":117879496,"longitude_deg":75.588832,"latitude_deg":11.7879496,"altitude":28,"angle":330,"satellites":31,"speed":6,"hex_longitude":"2d0df0c0","hex_latitude":"0706b2c8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782583296001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36422001274912768,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004373115824932864,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:39] 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-10-16 08:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792119476000,"timestamp_ms":1792119476000,"timestamp_seconds":1792119476,"priority":1,"record_length":96,"hex_timestamp":"000001a142a50f20"} 
[2026-10-16 08:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:28: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-10-16 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 08:28:39] 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-10-16 08: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-10-16 08:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":217932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":217932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":217932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782583296001,"66":14396,"219":206,"94":10240,"24":6,"16":36422001274912768,"45":1004373115824932864},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782583296001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:28:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:28:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36422001274912768,"km_value":36422001274912.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004373115824932864,"description":"Unknown IO ID 45"} 
[2026-10-16 08:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782583296001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1004373115824932864}} 
[2026-10-16 08:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":217932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045275,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:28:39] local.INFO: GPS data processed {"connection_id":217932,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:28:39] local.INFO: Acknowledgment sent {"connection_id":217932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:28:54] local.INFO: TCP Data received {"connection_id":216590,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:28:54] local.INFO: Processing buffer {"connection_id":216590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:28:54] local.INFO: Packet analysis {"connection_id":216590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:28:54] local.INFO: Extracted packet for processing {"connection_id":216590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782504192001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792119458000,"timestamp_ms":1792119458000,"timestamp_seconds":1792119458,"priority":1,"record_length":96,"hex_timestamp":"000001a142a4c8d0"} 
[2026-10-16 08:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:28:54] 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-10-16 08:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782504192001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782504192001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:28:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:28:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782504192001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":216590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:28:54] local.INFO: GPS data processed {"connection_id":216590,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:28:54] local.INFO: Acknowledgment sent {"connection_id":216590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:29:03] local.INFO: TCP Data received {"connection_id":219683,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:29:03] local.INFO: Processing buffer {"connection_id":219683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:29:03] local.INFO: IMEI packet received {"connection_id":219683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":219683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:29:08] local.INFO: TCP Data received {"connection_id":219683,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:29:08] local.INFO: Processing buffer {"connection_id":219683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:29:08] local.INFO: IMEI packet received {"connection_id":219683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":219683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:29:09] local.INFO: TCP Data received {"connection_id":219683,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a516f0012d0defc00706b4b0001c01561f..."} 
[2026-10-16 08:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a516f0012d0defc00706b4b0001c01561f..."} 
[2026-10-16 08:29:09] local.INFO: Processing buffer {"connection_id":219683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a516f0012d0defc00706b4b0001c01561f..."} 
[2026-10-16 08:29:09] local.INFO: Packet analysis {"connection_id":219683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:29:09] local.INFO: Extracted packet for processing {"connection_id":219683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:29:09] local.INFO: GPS Element Parsed {"raw_longitude":755888064,"raw_latitude":117879984,"longitude_deg":75.5888064,"latitude_deg":11.7879984,"altitude":28,"angle":342,"satellites":31,"speed":12,"hex_longitude":"2d0defc0","hex_latitude":"0706b4b0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782585856001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36422027044716544,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004513853313304576,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:09] 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-10-16 08:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792119478000,"timestamp_ms":1792119478000,"timestamp_seconds":1792119478,"priority":1,"record_length":96,"hex_timestamp":"000001a142a516f0"} 
[2026-10-16 08:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:29: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-10-16 08:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":219683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":219683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":219683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782585856001,"66":14374,"219":206,"94":10240,"24":12,"16":36422027044716544,"45":1004513853313304576},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782585856001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:29:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:29:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36422027044716544,"km_value":36422027044716.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004513853313304576,"description":"Unknown IO ID 45"} 
[2026-10-16 08:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782585856001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1004513853313304576}} 
[2026-10-16 08:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":219683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:29:09] local.INFO: GPS data processed {"connection_id":219683,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:29:09] local.INFO: Acknowledgment sent {"connection_id":219683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:29:17] local.INFO: TCP Data received {"connection_id":217935,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:29:17] local.INFO: Processing buffer {"connection_id":217935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:29:17] local.INFO: IMEI packet received {"connection_id":217935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":217935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:29:18] local.INFO: TCP Data received {"connection_id":217934,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:29:18] local.INFO: Processing buffer {"connection_id":217934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:29:18] local.INFO: IMEI packet received {"connection_id":217934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":217934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:29:22] local.INFO: TCP Data received {"connection_id":217935,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:29:22] local.INFO: Processing buffer {"connection_id":217935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:29:22] local.INFO: IMEI packet received {"connection_id":217935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":217935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:29:23] local.INFO: TCP Data received {"connection_id":217934,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:29:23] local.INFO: Processing buffer {"connection_id":217934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:29:23] local.INFO: IMEI packet received {"connection_id":217934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":217934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:29:23] local.INFO: TCP Data received {"connection_id":217935,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:29:23] local.INFO: Processing buffer {"connection_id":217935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:29:23] local.INFO: Packet analysis {"connection_id":217935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:29:23] local.INFO: Extracted packet for processing {"connection_id":217935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782504192001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792119458000,"timestamp_ms":1792119458000,"timestamp_seconds":1792119458,"priority":1,"record_length":96,"hex_timestamp":"000001a142a4c8d0"} 
[2026-10-16 08:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:29:23] 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-10-16 08: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-10-16 08:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782504192001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782504192001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:29:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:29:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782504192001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":217935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:29:23] local.INFO: GPS data processed {"connection_id":217935,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:29:23] local.INFO: Acknowledgment sent {"connection_id":217935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:29:24] local.INFO: TCP Data received {"connection_id":217934,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a56ce0012d1b2480072497600024005d1c..."} 
[2026-10-16 08:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a56ce0012d1b2480072497600024005d1c..."} 
[2026-10-16 08:29:24] local.INFO: Processing buffer {"connection_id":217934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a56ce0012d1b2480072497600024005d1c..."} 
[2026-10-16 08:29:24] local.INFO: Packet analysis {"connection_id":217934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:29:24] local.INFO: Extracted packet for processing {"connection_id":217934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756753536,"raw_latitude":119838560,"longitude_deg":75.6753536,"latitude_deg":11.983856,"altitude":36,"angle":93,"satellites":28,"speed":7,"hex_longitude":"2d1b2480","hex_latitude":"07249760","is_valid_coordinates":true} 
[2026-10-16 08:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782591744001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955688168864309248,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054189506560000,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 08:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792119500000,"timestamp_ms":1792119500000,"timestamp_seconds":1792119500,"priority":1,"record_length":96,"hex_timestamp":"000001a142a56ce0"} 
[2026-10-16 08:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:29:24] 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-10-16 08:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 08:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782591744001,"66":14004,"45":1955688168864309248,"83":41984,"24":7,"16":28054189506560000},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-10-16 08:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782591744001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955688168864309248,"description":"Unknown IO ID 45"} 
[2026-10-16 08:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054189506560000,"km_value":28054189506560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:29:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782591744001,"power":14004,"unknown_45":1955688168864309248,"unknown_83":41984,"ignition":7,"odometer":null}} 
[2026-10-16 08:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":217934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:29:24] local.INFO: GPS data processed {"connection_id":217934,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:29:24] local.INFO: Acknowledgment sent {"connection_id":217934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:29:27] local.INFO: TCP Data received {"connection_id":217934,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a574b0012d1b2640072496b0002500731d..."} 
[2026-10-16 08:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a574b0012d1b2640072496b0002500731d..."} 
[2026-10-16 08:29:27] local.INFO: Processing buffer {"connection_id":217934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a574b0012d1b2640072496b0002500731d..."} 
[2026-10-16 08:29:27] local.INFO: Packet analysis {"connection_id":217934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:29:27] local.INFO: Extracted packet for processing {"connection_id":217934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756753984,"raw_latitude":119838384,"longitude_deg":75.6753984,"latitude_deg":11.9838384,"altitude":37,"angle":115,"satellites":29,"speed":11,"hex_longitude":"2d1b2640","hex_latitude":"072496b0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782592000001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955828906352664576,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054215276363776,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 08:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792119502000,"timestamp_ms":1792119502000,"timestamp_seconds":1792119502,"priority":1,"record_length":96,"hex_timestamp":"000001a142a574b0"} 
[2026-10-16 08:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:29:27] 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-10-16 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 08:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782592000001,"66":14026,"45":1955828906352664576,"83":41984,"24":11,"16":28054215276363776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-10-16 08:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782592000001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955828906352664576,"description":"Unknown IO ID 45"} 
[2026-10-16 08:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054215276363776,"km_value":28054215276363.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:29:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782592000001,"power":14026,"unknown_45":1955828906352664576,"unknown_83":41984,"ignition":11,"odometer":null}} 
[2026-10-16 08:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":217934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:29:27] local.INFO: GPS data processed {"connection_id":217934,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:29:27] local.INFO: Acknowledgment sent {"connection_id":217934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:29:40] local.INFO: TCP Data received {"connection_id":219683,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a63800012d0da5c00706ef58002a01251f..."} 
[2026-10-16 08:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a63800012d0da5c00706ef58002a01251f..."} 
[2026-10-16 08:29:40] local.INFO: Processing buffer {"connection_id":219683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a63800012d0da5c00706ef58002a01251f..."} 
[2026-10-16 08:29:40] local.INFO: Packet analysis {"connection_id":219683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a6"} 
[2026-10-16 08:29:40] local.INFO: Extracted packet for processing {"connection_id":219683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a6"} 
[2026-10-16 08:29:40] local.INFO: GPS Element Parsed {"raw_longitude":755869120,"raw_latitude":117895000,"longitude_deg":75.586912,"latitude_deg":11.7895,"altitude":42,"angle":293,"satellites":31,"speed":23,"hex_longitude":"2d0da5c0","hex_latitude":"0706ef58","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782604800001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36423525988302848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984599498714894336,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:40] 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-10-16 08:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792119552000,"timestamp_ms":1792119552000,"timestamp_seconds":1792119552,"priority":1,"record_length":96,"hex_timestamp":"000001a142a63800"} 
[2026-10-16 08:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:29:40] 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-10-16 08: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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-10-16 08:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":219683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":219683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":219683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782604800001,"66":14515,"219":206,"94":10240,"24":23,"16":36423525988302848,"45":984599498714894336},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782604800001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:29:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:29:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36423525988302848,"km_value":36423525988302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":984599498714894336,"description":"Unknown IO ID 45"} 
[2026-10-16 08:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782604800001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":984599498714894336}} 
[2026-10-16 08:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":219683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045281,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:29:41] local.INFO: GPS data processed {"connection_id":219683,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:29:41] local.INFO: Acknowledgment sent {"connection_id":219683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:29:55] local.INFO: TCP Data received {"connection_id":217935,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:29:55] local.INFO: Processing buffer {"connection_id":217935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:29:55] local.INFO: Packet analysis {"connection_id":217935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:29:55] local.INFO: Extracted packet for processing {"connection_id":217935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782504192001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792119458000,"timestamp_ms":1792119458000,"timestamp_seconds":1792119458,"priority":1,"record_length":96,"hex_timestamp":"000001a142a4c8d0"} 
[2026-10-16 08:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:29:55] 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-10-16 08:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782504192001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782504192001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:29:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:29:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782504192001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":217935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:29:55] local.INFO: GPS data processed {"connection_id":217935,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:29:55] local.INFO: Acknowledgment sent {"connection_id":217935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:30:02] local.INFO: TCP Data received {"connection_id":217934,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a57c80012d1b28c0072494f8002700841d..."} 
[2026-10-16 08:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a57c80012d1b28c0072494f8002700841d..."} 
[2026-10-16 08:30:02] local.INFO: Processing buffer {"connection_id":217934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a57c80012d1b28c0072494f8002700841d..."} 
[2026-10-16 08:30:02] local.INFO: Packet analysis {"connection_id":217934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:30:02] local.INFO: Extracted packet for processing {"connection_id":217934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756754624,"raw_latitude":119837944,"longitude_deg":75.6754624,"latitude_deg":11.9837944,"altitude":39,"angle":132,"satellites":29,"speed":15,"hex_longitude":"2d1b28c0","hex_latitude":"072494f8","is_valid_coordinates":true} 
[2026-10-16 08:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782592512001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956321487561863168,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054249636102144,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 08:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792119504000,"timestamp_ms":1792119504000,"timestamp_seconds":1792119504,"priority":1,"record_length":96,"hex_timestamp":"000001a142a57c80"} 
[2026-10-16 08:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:30:02] 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-10-16 08:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 08:30:02] 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-10-16 08:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":217934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":217934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":217934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782592512001,"66":14048,"45":1956321487561863168,"83":41984,"24":15,"16":28054249636102144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-10-16 08:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782592512001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956321487561863168,"description":"Unknown IO ID 45"} 
[2026-10-16 08:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054249636102144,"km_value":28054249636102.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:30:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782592512001,"power":14048,"unknown_45":1956321487561863168,"unknown_83":41984,"ignition":15,"odometer":null}} 
[2026-10-16 08:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":217934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:30:02] local.INFO: GPS data processed {"connection_id":217934,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:30:02] local.INFO: Acknowledgment sent {"connection_id":217934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:30:09] local.INFO: TCP Data received {"connection_id":219684,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:30:09] local.INFO: Processing buffer {"connection_id":219684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:30:09] local.INFO: IMEI packet received {"connection_id":219684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":219684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:30:09] local.INFO: TCP Data received {"connection_id":219684,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:30:09] local.INFO: Processing buffer {"connection_id":219684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:30:09] local.INFO: IMEI packet received {"connection_id":219684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":219684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:30:13] local.INFO: TCP Data received {"connection_id":219684,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:30:13] local.INFO: Processing buffer {"connection_id":219684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:30:13] local.INFO: IMEI packet received {"connection_id":219684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":219684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:30:14] local.INFO: TCP Data received {"connection_id":219684,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a63fd0012d0da1c00706f278002b01311f..."} 
[2026-10-16 08:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a63fd0012d0da1c00706f278002b01311f..."} 
[2026-10-16 08:30:14] local.INFO: Processing buffer {"connection_id":219684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a63fd0012d0da1c00706f278002b01311f..."} 
[2026-10-16 08:30:14] local.INFO: Packet analysis {"connection_id":219684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a6"} 
[2026-10-16 08:30:14] local.INFO: Extracted packet for processing {"connection_id":219684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a6"} 
[2026-10-16 08:30:14] local.INFO: GPS Element Parsed {"raw_longitude":755868096,"raw_latitude":117895800,"longitude_deg":75.5868096,"latitude_deg":11.78958,"altitude":43,"angle":305,"satellites":31,"speed":24,"hex_longitude":"2d0da1c0","hex_latitude":"0706f278","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782605312001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36423590412812288,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983403230063974400,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30: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-10-16 08:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792119554000,"timestamp_ms":1792119554000,"timestamp_seconds":1792119554,"priority":1,"record_length":96,"hex_timestamp":"000001a142a63fd0"} 
[2026-10-16 08:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:30: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-10-16 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 08:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":219684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":219684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":219684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782605312001,"66":14428,"219":206,"94":10240,"24":24,"16":36423590412812288,"45":983403230063974400},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 08:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782605312001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:30:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 08:30:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36423590412812288,"km_value":36423590412812.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":983403230063974400,"description":"Unknown IO ID 45"} 
[2026-10-16 08:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782605312001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":983403230063974400}} 
[2026-10-16 08:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":219684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:30:14] local.INFO: GPS data processed {"connection_id":219684,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:30:14] local.INFO: Acknowledgment sent {"connection_id":219684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:30:16] local.INFO: TCP Data received {"connection_id":216591,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:30:16] local.INFO: Processing buffer {"connection_id":216591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:30:16] local.INFO: IMEI packet received {"connection_id":216591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":216591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:30:22] local.INFO: TCP Data received {"connection_id":216591,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:30:22] local.INFO: Processing buffer {"connection_id":216591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:30:22] local.INFO: IMEI packet received {"connection_id":216591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":216591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:30:23] local.INFO: TCP Data received {"connection_id":216591,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:30:23] local.INFO: Processing buffer {"connection_id":216591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a4c8d0012d7f98c005afddb00000002f24..."} 
[2026-10-16 08:30:23] local.INFO: Packet analysis {"connection_id":216591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:30:23] local.INFO: Extracted packet for processing {"connection_id":216591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a4"} 
[2026-10-16 08:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":36,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782504192001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792119458000,"timestamp_ms":1792119458000,"timestamp_seconds":1792119458,"priority":1,"record_length":96,"hex_timestamp":"000001a142a4c8d0"} 
[2026-10-16 08:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 08:30:23] 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-10-16 08:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782504192001,"66":25549,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782504192001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:30:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:30:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782504192001,"power":25549,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":216591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:30:23] local.INFO: GPS data processed {"connection_id":216591,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:30:23] local.INFO: Acknowledgment sent {"connection_id":216591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:30:36] local.INFO: TCP Data received {"connection_id":217934,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a58c20012d1b2dc0072490e8002800761d..."} 
[2026-10-16 08:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a58c20012d1b2dc0072490e8002800761d..."} 
[2026-10-16 08:30:36] local.INFO: Processing buffer {"connection_id":217934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a58c20012d1b2dc0072490e8002800761d..."} 
[2026-10-16 08:30:36] local.INFO: Packet analysis {"connection_id":217934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:30:36] local.INFO: Extracted packet for processing {"connection_id":217934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756755904,"raw_latitude":119836904,"longitude_deg":75.6755904,"latitude_deg":11.9836904,"altitude":40,"angle":118,"satellites":29,"speed":13,"hex_longitude":"2d1b2dc0","hex_latitude":"072490e8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782593024001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957025175003527168,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054331240480768,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 08:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792119508000,"timestamp_ms":1792119508000,"timestamp_seconds":1792119508,"priority":1,"record_length":96,"hex_timestamp":"000001a142a58c20"} 
[2026-10-16 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-10-16 08:30:36] 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-10-16 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 08:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 08:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":217934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":217934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":217934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782593024001,"66":13798,"45":1957025175003527168,"83":41984,"24":13,"16":28054331240480768},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-10-16 08:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782593024001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957025175003527168,"description":"Unknown IO ID 45"} 
[2026-10-16 08:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054331240480768,"km_value":28054331240480.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:30:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458782593024001,"power":13798,"unknown_45":1957025175003527168,"unknown_83":41984,"ignition":13,"odometer":null}} 
[2026-10-16 08:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":217934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:30:37] local.INFO: GPS data processed {"connection_id":217934,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:30:37] local.INFO: Acknowledgment sent {"connection_id":217934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:30:55] local.INFO: TCP Data received {"connection_id":216591,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a70af0012d7f98c005afddb00000002f20..."} 
[2026-10-16 08:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a70af0012d7f98c005afddb00000002f20..."} 
[2026-10-16 08:30:55] local.INFO: Processing buffer {"connection_id":216591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a70af0012d7f98c005afddb00000002f20..."} 
[2026-10-16 08:30:55] local.INFO: Packet analysis {"connection_id":216591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:30:55] local.INFO: Extracted packet for processing {"connection_id":216591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763336896,"raw_latitude":95411632,"longitude_deg":76.3336896,"latitude_deg":9.5411632,"altitude":0,"angle":47,"satellites":32,"speed":0,"hex_longitude":"2d7f98c0","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-10-16 08:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782581248001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792119606000,"timestamp_ms":1792119606000,"timestamp_seconds":1792119606,"priority":1,"record_length":96,"hex_timestamp":"000001a142a70af0"} 
[2026-10-16 08:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 08:30:55] 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-10-16 08:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782581248001,"66":25593,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782581248001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:30:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:30:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782581248001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":216591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:30:55] local.INFO: GPS data processed {"connection_id":216591,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:30:55] local.INFO: Acknowledgment sent {"connection_id":216591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:31:00] local.INFO: TCP Data received {"connection_id":219684,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a75cf8012d0d2d4007071938002401551e..."} 
[2026-10-16 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a75cf8012d0d2d4007071938002401551e..."} 
[2026-10-16 08:31:00] local.INFO: Processing buffer {"connection_id":219684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a75cf8012d0d2d4007071938002401551e..."} 
[2026-10-16 08:31:00] local.INFO: Packet analysis {"connection_id":219684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:00] local.INFO: Extracted packet for processing {"connection_id":219684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:00] local.INFO: GPS Element Parsed {"raw_longitude":755838272,"raw_latitude":117905720,"longitude_deg":75.5838272,"latitude_deg":11.790572,"altitude":36,"angle":341,"satellites":30,"speed":9,"hex_longitude":"2d0d2d40","hex_latitude":"07071938","is_valid_coordinates":true} 
[2026-10-16 08:31: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-10-16 08:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782624000001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36425140896006144,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339093856256,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:00] 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-10-16 08:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792119627000,"timestamp_ms":1792119627000,"timestamp_seconds":1792119627,"priority":1,"record_length":96,"hex_timestamp":"000001a142a75cf8"} 
[2026-10-16 08:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:31:00] 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-10-16 08:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-16 08:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:31: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-10-16 08:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782624000001,"66":14352,"221":206,"94":10240,"24":9,"16":36425140896006144,"45":949837339093856256},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782624000001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:31:00] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:31:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36425140896006144,"km_value":36425140896006.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339093856256,"description":"Unknown IO ID 45"} 
[2026-10-16 08:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782624000001,"power":14352,"unknown_221":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":949837339093856256}} 
[2026-10-16 08:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":219684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:31:00] local.INFO: GPS data processed {"connection_id":219684,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:31:00] local.INFO: Acknowledgment sent {"connection_id":219684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:31:02] local.INFO: TCP Data received {"connection_id":216406,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:31:02] local.INFO: Processing buffer {"connection_id":216406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:31:02] local.INFO: IMEI packet received {"connection_id":216406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":216406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:31:07] local.INFO: TCP Data received {"connection_id":217937,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217937,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:31:07] local.INFO: Processing buffer {"connection_id":217937,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:31:07] local.INFO: IMEI packet received {"connection_id":217937,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":217937,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:31:07] local.INFO: TCP Data received {"connection_id":216406,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:31:07] local.INFO: Processing buffer {"connection_id":216406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:31:07] local.INFO: IMEI packet received {"connection_id":216406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":216406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:31:08] local.INFO: TCP Data received {"connection_id":216406,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a59bc0012d1b320007248f20002a006a1d..."} 
[2026-10-16 08:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a59bc0012d1b320007248f20002a006a1d..."} 
[2026-10-16 08:31:08] local.INFO: Processing buffer {"connection_id":216406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a59bc0012d1b320007248f20002a006a1d..."} 
[2026-10-16 08:31:08] local.INFO: Packet analysis {"connection_id":216406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:31:08] local.INFO: Extracted packet for processing {"connection_id":216406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756756992,"raw_latitude":119836448,"longitude_deg":75.6756992,"latitude_deg":11.9836448,"altitude":42,"angle":106,"satellites":29,"speed":10,"hex_longitude":"2d1b3200","hex_latitude":"07248f20","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782594048001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054382780088320,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958432549886814208,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792119512000,"timestamp_ms":1792119512000,"timestamp_seconds":1792119512,"priority":1,"record_length":96,"hex_timestamp":"000001a142a59bc0"} 
[2026-10-16 08:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:31:08] 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-10-16 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 08:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782594048001,"66":13961,"136":206,"83":42752,"24":10,"16":28054382780088320,"45":1958432549886814208},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-16 08:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782594048001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:31:08] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-16 08:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054382780088320,"km_value":28054382780088.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958432549886814208,"description":"Unknown IO ID 45"} 
[2026-10-16 08:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782594048001,"power":13961,"unknown_136":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1958432549886814208}} 
[2026-10-16 08:31:08] local.INFO: TCP Data received {"connection_id":217937,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217937,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:31:08] local.INFO: Processing buffer {"connection_id":217937,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:31:08] local.INFO: IMEI packet received {"connection_id":217937,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":217937,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":216406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:31:08] local.INFO: GPS data processed {"connection_id":216406,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:31:08] local.INFO: Acknowledgment sent {"connection_id":216406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:31:09] local.INFO: TCP Data received {"connection_id":217937,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a768b0012d0d2c0007071ca0002601611e..."} 
[2026-10-16 08:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a768b0012d0d2c0007071ca0002601611e..."} 
[2026-10-16 08:31:09] local.INFO: Processing buffer {"connection_id":217937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a768b0012d0d2c0007071ca0002601611e..."} 
[2026-10-16 08:31:09] local.INFO: Packet analysis {"connection_id":217937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:09] local.INFO: Extracted packet for processing {"connection_id":217937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:09] local.INFO: GPS Element Parsed {"raw_longitude":755837952,"raw_latitude":117906592,"longitude_deg":75.5837952,"latitude_deg":11.7906592,"altitude":38,"angle":353,"satellites":30,"speed":13,"hex_longitude":"2d0d2c00","hex_latitude":"07071ca0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782624512001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36425188140646400,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949485495373084672,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] 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-10-16 08:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792119630000,"timestamp_ms":1792119630000,"timestamp_seconds":1792119630,"priority":1,"record_length":96,"hex_timestamp":"000001a142a768b0"} 
[2026-10-16 08:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:31: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-10-16 08: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147392,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2806351873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84738617050072852,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1017532113823465482,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504155425275904,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264497115,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6845735320693309696,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3892391181,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485615,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":120,"raw_value":10415682759954176,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.WARNING: Large IO value detected {"io_id":13,"raw_value":6467176791910383653,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:09] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,221,94,24,241,157,16,104,161,85,45,128,23,36,30,10,66,81,64,22,77,1,240,255,227,7,4,113,205,12,53,57,80,239,55,2,129,9,206,120,13],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":803012814,"validated":0}]} 
[2026-10-16 08:31:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594448447680086016,"timestamp_seconds":2594448447680086.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":217937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":217937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":217937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782624512001,"66":13689,"221":206,"94":10240,"24":13,"16":36425188140646400,"45":949485495373084672},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782624512001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:31:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:31:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36425188140646400,"km_value":36425188140646.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":949485495373084672,"description":"Unknown IO ID 45"} 
[2026-10-16 08:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782624512001,"power":13689,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":949485495373084672}} 
[2026-10-16 08:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":217937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045290,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:31:09] local.INFO: GPS data processed {"connection_id":217937,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:31:09] local.INFO: Acknowledgment sent {"connection_id":217937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:31:13] local.INFO: TCP Data received {"connection_id":217937,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a79790012d0d2ac007073058002700031e..."} 
[2026-10-16 08:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a79790012d0d2ac007073058002700031e..."} 
[2026-10-16 08:31:13] local.INFO: Processing buffer {"connection_id":217937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a79790012d0d2ac007073058002700031e..."} 
[2026-10-16 08:31:13] local.INFO: Packet analysis {"connection_id":217937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:13] local.INFO: Extracted packet for processing {"connection_id":217937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:13] local.INFO: GPS Element Parsed {"raw_longitude":755837632,"raw_latitude":117911640,"longitude_deg":75.5837632,"latitude_deg":11.791164,"altitude":39,"angle":3,"satellites":30,"speed":21,"hex_longitude":"2d0d2ac0","hex_latitude":"07073058","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782625280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36425432953782272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949133651652419584,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:13] 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-10-16 08:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792119642000,"timestamp_ms":1792119642000,"timestamp_seconds":1792119642,"priority":1,"record_length":96,"hex_timestamp":"000001a142a79790"} 
[2026-10-16 08:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:31: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-10-16 08: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-10-16 08:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":217937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":217937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":217937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782625280001,"66":14374,"221":206,"94":10240,"24":21,"16":36425432953782272,"45":949133651652419584},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782625280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:31:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:31:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36425432953782272,"km_value":36425432953782.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":949133651652419584,"description":"Unknown IO ID 45"} 
[2026-10-16 08:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782625280001,"power":14374,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":949133651652419584}} 
[2026-10-16 08:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":217937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:31:13] local.INFO: GPS data processed {"connection_id":217937,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:31:13] local.INFO: Acknowledgment sent {"connection_id":217937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:31:17] local.INFO: TCP Data received {"connection_id":216407,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:31:17] local.INFO: Processing buffer {"connection_id":216407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:31:17] local.INFO: IMEI packet received {"connection_id":216407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":216407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:31:18] local.INFO: TCP Data received {"connection_id":216407,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:31:18] local.INFO: Processing buffer {"connection_id":216407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:31:18] local.INFO: IMEI packet received {"connection_id":216407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":216407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:31:20] local.INFO: TCP Data received {"connection_id":216407,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a71a90012d7f938005afda88000000721e..."} 
[2026-10-16 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a71a90012d7f938005afda88000000721e..."} 
[2026-10-16 08:31:20] local.INFO: Processing buffer {"connection_id":216407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a71a90012d7f938005afda88000000721e..."} 
[2026-10-16 08:31:20] local.INFO: Packet analysis {"connection_id":216407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:20] local.INFO: Extracted packet for processing {"connection_id":216407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:20] local.INFO: GPS Element Parsed {"raw_longitude":763335552,"raw_latitude":95410824,"longitude_deg":76.3335552,"latitude_deg":9.5410824,"altitude":0,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d7f9380","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-10-16 08:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782619136001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194309769934778368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792119610000,"timestamp_ms":1792119610000,"timestamp_seconds":1792119610,"priority":1,"record_length":96,"hex_timestamp":"000001a142a71a90"} 
[2026-10-16 08:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:31:20] 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-10-16 08:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 08:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":216407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":216407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":216407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782619136001,"66":22842,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9194309769934778368},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782619136001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:31:20] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:31:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194309769934778368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782619136001,"power":22842,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9194309769934778368}} 
[2026-10-16 08:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":216407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:31:20] local.INFO: GPS data processed {"connection_id":216407,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:31:20] local.INFO: Acknowledgment sent {"connection_id":216407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:31:22] local.INFO: TCP Data received {"connection_id":216407,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a768b0012d7f938005afda880000007222..."} 
[2026-10-16 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a768b0012d7f938005afda880000007222..."} 
[2026-10-16 08:31:22] local.INFO: Processing buffer {"connection_id":216407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a768b0012d7f938005afda880000007222..."} 
[2026-10-16 08:31:22] local.INFO: Packet analysis {"connection_id":216407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:22] local.INFO: Extracted packet for processing {"connection_id":216407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763335552,"raw_latitude":95410824,"longitude_deg":76.3335552,"latitude_deg":9.5410824,"altitude":0,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d7f9380","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-10-16 08:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782620160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192832026306840576,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792119630000,"timestamp_ms":1792119630000,"timestamp_seconds":1792119630,"priority":1,"record_length":96,"hex_timestamp":"000001a142a768b0"} 
[2026-10-16 08:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:31:22] 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-10-16 08:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":89,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 08:31:22] 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-10-16 08:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782620160001,"66":27767,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9192832026306840576},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782620160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:31:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:31:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192832026306840576,"description":"Unknown IO ID 45"} 
[2026-10-16 08:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782620160001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9192832026306840576}} 
[2026-10-16 08:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":216407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:31:22] local.INFO: GPS data processed {"connection_id":216407,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:31:22] local.INFO: Acknowledgment sent {"connection_id":216407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:31:39] local.INFO: TCP Data received {"connection_id":216406,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a5e9e0012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a5e9e0012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:31:39] local.INFO: Processing buffer {"connection_id":216406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a5e9e0012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:31:39] local.INFO: Packet analysis {"connection_id":216406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:31:39] local.INFO: Extracted packet for processing {"connection_id":216406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a5"} 
[2026-10-16 08:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119836072,"longitude_deg":75.675776,"latitude_deg":11.9836072,"altitude":42,"angle":109,"satellites":28,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"07248da8","is_valid_coordinates":true} 
[2026-10-16 08:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782595072001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054425729761280,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959628818537717760,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792119532000,"timestamp_ms":1792119532000,"timestamp_seconds":1792119532,"priority":1,"record_length":96,"hex_timestamp":"000001a142a5e9e0"} 
[2026-10-16 08:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:31:39] 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-10-16 08:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 08:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782595072001,"66":14048,"176":206,"83":42752,"24":0,"16":28054425729761280,"45":1959628818537717760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782595072001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:31:39] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:31:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054425729761280,"km_value":28054425729761.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959628818537717760,"description":"Unknown IO ID 45"} 
[2026-10-16 08:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782595072001,"power":14048,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1959628818537717760}} 
[2026-10-16 08:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":216406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:31:39] local.INFO: GPS data processed {"connection_id":216406,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:31:39] local.INFO: Acknowledgment sent {"connection_id":216406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:31:44] local.INFO: TCP Data received {"connection_id":217937,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a833d0012d0cddc007074df8001e00fc1f..."} 
[2026-10-16 08:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a833d0012d0cddc007074df8001e00fc1f..."} 
[2026-10-16 08:31:44] local.INFO: Processing buffer {"connection_id":217937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a833d0012d0cddc007074df8001e00fc1f..."} 
[2026-10-16 08:31:44] local.INFO: Packet analysis {"connection_id":217937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:31:44] local.INFO: Extracted packet for processing {"connection_id":217937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:31:44] local.INFO: GPS Element Parsed {"raw_longitude":755817920,"raw_latitude":117919224,"longitude_deg":75.581792,"latitude_deg":11.7919224,"altitude":30,"angle":252,"satellites":31,"speed":17,"hex_longitude":"2d0cddc0","hex_latitude":"07074df8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782638336001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36426652724494336,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927671184681512960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:44] 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-10-16 08:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792119682000,"timestamp_ms":1792119682000,"timestamp_seconds":1792119682,"priority":1,"record_length":96,"hex_timestamp":"000001a142a833d0"} 
[2026-10-16 08:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08: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-10-16 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:31:44] 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-10-16 08: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-10-16 08:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":217937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":217937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":217937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782638336001,"66":14428,"221":206,"94":10240,"24":17,"16":36426652724494336,"45":927671184681512960},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782638336001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:31:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:31:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36426652724494336,"km_value":36426652724494.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":927671184681512960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782638336001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":927671184681512960}} 
[2026-10-16 08:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":217937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045295,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:31:44] local.INFO: GPS data processed {"connection_id":217937,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:31:44] local.INFO: Acknowledgment sent {"connection_id":217937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:31:54] local.INFO: TCP Data received {"connection_id":216407,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a793a8012d7f938005afda800000006520..."} 
[2026-10-16 08:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a793a8012d7f938005afda800000006520..."} 
[2026-10-16 08:31:54] local.INFO: Processing buffer {"connection_id":216407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a793a8012d7f938005afda800000006520..."} 
[2026-10-16 08:31:54] local.INFO: Packet analysis {"connection_id":216407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:54] local.INFO: Extracted packet for processing {"connection_id":216407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763335552,"raw_latitude":95410816,"longitude_deg":76.3335552,"latitude_deg":9.5410816,"altitude":0,"angle":101,"satellites":32,"speed":1,"hex_longitude":"2d7f9380","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782625280001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192832026306840576,"note":"Value kept but may cause issues"} 
[2026-10-16 08:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792119641000,"timestamp_ms":1792119641000,"timestamp_seconds":1792119641,"priority":1,"record_length":96,"hex_timestamp":"000001a142a793a8"} 
[2026-10-16 08:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:31: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-10-16 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782625280001,"66":27995,"236":206,"19":45568,"24":1,"16":15204480580583424,"45":9192832026306840576},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782625280001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:31:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:31:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192832026306840576,"description":"Unknown IO ID 45"} 
[2026-10-16 08:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782625280001,"power":27995,"unknown_236":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":9192832026306840576}} 
[2026-10-16 08:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":216407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:31:54] local.INFO: GPS data processed {"connection_id":216407,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:31:54] local.INFO: Acknowledgment sent {"connection_id":216407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:32:03] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:32:03] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:32:03] local.INFO: IMEI packet received {"connection_id":216593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":216593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:32:04] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.52","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 08:32:04] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 08:32:04] local.INFO: IMEI packet received {"connection_id":216593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":216593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:32:08] local.INFO: TCP Data received {"connection_id":216594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:32:08] local.INFO: Processing buffer {"connection_id":216594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:32:08] local.INFO: IMEI packet received {"connection_id":216594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":216594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:32:09] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:32:09] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 08:32:09] local.INFO: IMEI packet received {"connection_id":216593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":216593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:32:10] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a837b8012d0cdc4007074e00001e01161f..."} 
[2026-10-16 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a837b8012d0cdc4007074e00001e01161f..."} 
[2026-10-16 08:32:10] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a142..."} 
[2026-10-16 08:32:10] local.INFO: IMEI packet received {"connection_id":216593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":216593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:32:13] local.INFO: TCP Data received {"connection_id":216594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:32:13] local.INFO: Processing buffer {"connection_id":216594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:32:13] local.INFO: IMEI packet received {"connection_id":216594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":216594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:32:13] local.INFO: TCP Data received {"connection_id":216594,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a63800012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a63800012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:32:13] local.INFO: Processing buffer {"connection_id":216594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a63800012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:32:13] local.INFO: Packet analysis {"connection_id":216594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a6"} 
[2026-10-16 08:32:13] local.INFO: Extracted packet for processing {"connection_id":216594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a6"} 
[2026-10-16 08:32:13] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119836072,"longitude_deg":75.675776,"latitude_deg":11.9836072,"altitude":42,"angle":109,"satellites":28,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"07248da8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782600192001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054425729761280,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243467753472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32: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-10-16 08:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792119552000,"timestamp_ms":1792119552000,"timestamp_seconds":1792119552,"priority":1,"record_length":96,"hex_timestamp":"000001a142a63800"} 
[2026-10-16 08:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:32:13] 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-10-16 08: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 08:32: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-10-16 08: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-10-16 08:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782600192001,"66":14396,"176":206,"83":42752,"24":0,"16":28054425729761280,"45":1960473243467753472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782600192001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:32:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054425729761280,"km_value":28054425729761.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243467753472,"description":"Unknown IO ID 45"} 
[2026-10-16 08:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782600192001,"power":14396,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1960473243467753472}} 
[2026-10-16 08:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":216594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:32:14] local.INFO: GPS data processed {"connection_id":216594,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:32:14] local.INFO: Acknowledgment sent {"connection_id":216594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:32:16] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a83ba0012d0cda8007074eb0001d01231f..."} 
[2026-10-16 08:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a83ba0012d0cda8007074eb0001d01231f..."} 
[2026-10-16 08:32:16] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a142a837b8012d0cdc4007074e00001e01161f..."} 
[2026-10-16 08:32:16] local.INFO: Packet analysis {"connection_id":216593,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:32:16] local.INFO: Extracted packet for processing {"connection_id":216593,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:32:16] local.INFO: GPS Element Parsed {"raw_longitude":755817536,"raw_latitude":117919232,"longitude_deg":75.5817536,"latitude_deg":11.7919232,"altitude":30,"angle":278,"satellites":31,"speed":16,"hex_longitude":"2d0cdc40","hex_latitude":"07074e00","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782638592001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36426669904363520,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927108234728044544,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792119683000,"timestamp_ms":1792119683000,"timestamp_seconds":1792119683,"priority":1,"record_length":96,"hex_timestamp":"000001a142a837b8"} 
[2026-10-16 08:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:32:16] 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-10-16 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782638592001,"66":14428,"221":206,"94":10240,"24":16,"16":36426669904363520,"45":927108234728044544},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782638592001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:32:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:32:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36426669904363520,"km_value":36426669904363.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":927108234728044544,"description":"Unknown IO ID 45"} 
[2026-10-16 08:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782638592001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":927108234728044544}} 
[2026-10-16 08:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":216593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045298,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:32:17] local.INFO: GPS data processed {"connection_id":216593,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:32:17] local.INFO: Acknowledgment sent {"connection_id":216593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:32:17] local.INFO: Packet analysis {"connection_id":216593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:32:17] local.INFO: Extracted packet for processing {"connection_id":216593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:32:17] local.INFO: GPS Element Parsed {"raw_longitude":755817088,"raw_latitude":117919408,"longitude_deg":75.5817088,"latitude_deg":11.7919408,"altitude":29,"angle":291,"satellites":31,"speed":18,"hex_longitude":"2d0cda80","hex_latitude":"07074eb0","is_valid_coordinates":true} 
[2026-10-16 08:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782638848001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36426695674167296,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926686022262980608,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792119684000,"timestamp_ms":1792119684000,"timestamp_seconds":1792119684,"priority":1,"record_length":96,"hex_timestamp":"000001a142a83ba0"} 
[2026-10-16 08:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:32:17] 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-10-16 08:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:32: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-10-16 08:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":216593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":216593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":216593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782638848001,"66":14428,"221":206,"94":10240,"24":18,"16":36426695674167296,"45":926686022262980608},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782638848001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:32:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:32:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36426695674167296,"km_value":36426695674167.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":926686022262980608,"description":"Unknown IO ID 45"} 
[2026-10-16 08:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782638848001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":926686022262980608}} 
[2026-10-16 08:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":216593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045299,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:32:17] local.INFO: GPS data processed {"connection_id":216593,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:32:17] local.INFO: Acknowledgment sent {"connection_id":216593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:32:17] local.INFO: TCP Data received {"connection_id":216595,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:32:17] local.INFO: Processing buffer {"connection_id":216595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:32:17] local.INFO: IMEI packet received {"connection_id":216595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":216595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:32:22] local.INFO: TCP Data received {"connection_id":216595,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:32:22] local.INFO: Processing buffer {"connection_id":216595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:32:22] local.INFO: IMEI packet received {"connection_id":216595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":216595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:32:23] local.INFO: TCP Data received {"connection_id":216595,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a79b78012d7f938005afda680000007220..."} 
[2026-10-16 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a79b78012d7f938005afda680000007220..."} 
[2026-10-16 08:32:23] local.INFO: Processing buffer {"connection_id":216595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a79b78012d7f938005afda680000007220..."} 
[2026-10-16 08:32:23] local.INFO: Packet analysis {"connection_id":216595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:32:23] local.INFO: Extracted packet for processing {"connection_id":216595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763335552,"raw_latitude":95410792,"longitude_deg":76.3335552,"latitude_deg":9.5410792,"altitude":0,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d7f9380","hex_latitude":"05afda68","is_valid_coordinates":true} 
[2026-10-16 08:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782628096001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204480580583424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192832026306838528,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792119643000,"timestamp_ms":1792119643000,"timestamp_seconds":1792119643,"priority":1,"record_length":96,"hex_timestamp":"000001a142a79b78"} 
[2026-10-16 08:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:32: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-10-16 08:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 08:32:23] 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-10-16 08:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782628096001,"66":27919,"236":206,"19":45568,"24":0,"16":15204480580583424,"45":9192832026306838528},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782628096001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:32:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:32:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204480580583424,"km_value":15204480580583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192832026306838528,"description":"Unknown IO ID 45"} 
[2026-10-16 08:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782628096001,"power":27919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9192832026306838528}} 
[2026-10-16 08:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":216595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:32:23] local.INFO: GPS data processed {"connection_id":216595,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:32:23] local.INFO: Acknowledgment sent {"connection_id":216595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:32:47] local.INFO: TCP Data received {"connection_id":216594,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a68620012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a68620012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:32:47] local.INFO: Processing buffer {"connection_id":216594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a68620012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:32:47] local.INFO: Packet analysis {"connection_id":216594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a6"} 
[2026-10-16 08:32:47] local.INFO: Extracted packet for processing {"connection_id":216594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a6"} 
[2026-10-16 08:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119836072,"longitude_deg":75.675776,"latitude_deg":11.9836072,"altitude":42,"angle":109,"satellites":28,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"07248da8","is_valid_coordinates":true} 
[2026-10-16 08:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782605312001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054425729761280,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243467753472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32: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-10-16 08:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792119572000,"timestamp_ms":1792119572000,"timestamp_seconds":1792119572,"priority":1,"record_length":96,"hex_timestamp":"000001a142a68620"} 
[2026-10-16 08:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:32:47] 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-10-16 08:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:32:47] 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-10-16 08:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782605312001,"66":14428,"176":206,"83":42752,"24":0,"16":28054425729761280,"45":1960473243467753472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782605312001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:32:47] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054425729761280,"km_value":28054425729761.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243467753472,"description":"Unknown IO ID 45"} 
[2026-10-16 08:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782605312001,"power":14428,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1960473243467753472}} 
[2026-10-16 08:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":216594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:32:47] local.INFO: GPS data processed {"connection_id":216594,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:32:47] local.INFO: Acknowledgment sent {"connection_id":216594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:32:54] local.INFO: TCP Data received {"connection_id":216595,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a7ed80012d7f93c005afda60000000791e..."} 
[2026-10-16 08:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a7ed80012d7f93c005afda60000000791e..."} 
[2026-10-16 08:32:54] local.INFO: Processing buffer {"connection_id":216595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a7ed80012d7f93c005afda60000000791e..."} 
[2026-10-16 08:32:54] local.INFO: Packet analysis {"connection_id":216595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:32:54] local.INFO: Extracted packet for processing {"connection_id":216595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763335616,"raw_latitude":95410784,"longitude_deg":76.3335616,"latitude_deg":9.5410784,"altitude":0,"angle":121,"satellites":30,"speed":0,"hex_longitude":"2d7f93c0","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-10-16 08:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782628608001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204484875550720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192832026306832384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792119664000,"timestamp_ms":1792119664000,"timestamp_seconds":1792119664,"priority":1,"record_length":96,"hex_timestamp":"000001a142a7ed80"} 
[2026-10-16 08:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:32: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-10-16 08:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 08:32:54] 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-10-16 08:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782628608001,"66":28050,"236":206,"19":45568,"24":0,"16":15204484875550720,"45":9192832026306832384},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782628608001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:32:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:32:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204484875550720,"km_value":15204484875550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192832026306832384,"description":"Unknown IO ID 45"} 
[2026-10-16 08:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782628608001,"power":28050,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9192832026306832384}} 
[2026-10-16 08:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":216595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:32:54] local.INFO: GPS data processed {"connection_id":216595,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:32:54] local.INFO: Acknowledgment sent {"connection_id":216595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:32:59] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a889c0012d0cbb0007075a60001a01231f..."} 
[2026-10-16 08:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a889c0012d0cbb0007075a60001a01231f..."} 
[2026-10-16 08:32:59] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a889c0012d0cbb0007075a60001a01231f..."} 
[2026-10-16 08:32:59] local.INFO: Packet analysis {"connection_id":216593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:32:59] local.INFO: Extracted packet for processing {"connection_id":216593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:32:59] local.INFO: GPS Element Parsed {"raw_longitude":755809024,"raw_latitude":117922400,"longitude_deg":75.5809024,"latitude_deg":11.79224,"altitude":26,"angle":291,"satellites":31,"speed":8,"hex_longitude":"2d0cbb00","hex_latitude":"07075a60","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782639104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36427107991027712,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926193441053782016,"note":"Value kept but may cause issues"} 
[2026-10-16 08:32:59] 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-10-16 08:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792119704000,"timestamp_ms":1792119704000,"timestamp_seconds":1792119704,"priority":1,"record_length":96,"hex_timestamp":"000001a142a889c0"} 
[2026-10-16 08:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:32: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-10-16 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:32:59] 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-10-16 08:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782639104001,"66":14102,"221":206,"94":10240,"24":8,"16":36427107991027712,"45":926193441053782016},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782639104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:32:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:32:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36427107991027712,"km_value":36427107991027.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":926193441053782016,"description":"Unknown IO ID 45"} 
[2026-10-16 08:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782639104001,"power":14102,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":926193441053782016}} 
[2026-10-16 08:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":216593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045303,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:33:00] local.INFO: GPS data processed {"connection_id":216593,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:33:00] local.INFO: Acknowledgment sent {"connection_id":216593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:33:07] local.INFO: TCP Data received {"connection_id":217939,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:33:07] local.INFO: Processing buffer {"connection_id":217939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:33:07] local.INFO: IMEI packet received {"connection_id":217939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":217939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:33:08] local.INFO: TCP Data received {"connection_id":217938,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:33:08] local.INFO: Processing buffer {"connection_id":217938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:33:08] local.INFO: IMEI packet received {"connection_id":217938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":217938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:33:12] local.INFO: TCP Data received {"connection_id":217939,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:33:12] local.INFO: Processing buffer {"connection_id":217939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:33:12] local.INFO: IMEI packet received {"connection_id":217939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":217939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:33:12] local.INFO: TCP Data received {"connection_id":217939,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:33:12] local.INFO: Processing buffer {"connection_id":217939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:33:12] local.INFO: IMEI packet received {"connection_id":217939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":217939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:33:13] local.INFO: TCP Data received {"connection_id":217939,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a6d440012d1b350007248da8002a006d1a..."} 
[2026-10-16 08:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a6d440012d1b350007248da8002a006d1a..."} 
[2026-10-16 08:33:13] local.INFO: Processing buffer {"connection_id":217939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a6d440012d1b350007248da8002a006d1a..."} 
[2026-10-16 08:33:13] local.INFO: Packet analysis {"connection_id":217939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a6"} 
[2026-10-16 08:33:13] local.INFO: Extracted packet for processing {"connection_id":217939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a6"} 
[2026-10-16 08:33:13] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119836072,"longitude_deg":75.675776,"latitude_deg":11.9836072,"altitude":42,"angle":109,"satellites":26,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"07248da8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782610432001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054425729761280,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243467753472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33: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-10-16 08:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792119592000,"timestamp_ms":1792119592000,"timestamp_seconds":1792119592,"priority":1,"record_length":96,"hex_timestamp":"000001a142a6d440"} 
[2026-10-16 08:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:33:13] 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-10-16 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:33:13] 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-10-16 08: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-10-16 08:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":217939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":217939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":217939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782610432001,"66":14461,"176":206,"83":42752,"24":0,"16":28054425729761280,"45":1960473243467753472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782610432001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:33:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054425729761280,"km_value":28054425729761.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243467753472,"description":"Unknown IO ID 45"} 
[2026-10-16 08:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782610432001,"power":14461,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1960473243467753472}} 
[2026-10-16 08:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":217939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:33:13] local.INFO: GPS data processed {"connection_id":217939,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:33:13] local.INFO: Acknowledgment sent {"connection_id":217939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:33:13] local.INFO: TCP Data received {"connection_id":217938,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:33:13] local.INFO: Processing buffer {"connection_id":217938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:33:13] local.INFO: IMEI packet received {"connection_id":217938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":217938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:33:14] local.INFO: TCP Data received {"connection_id":217939,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a72260012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a72260012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:33:14] local.INFO: Processing buffer {"connection_id":217939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a72260012d1b350007248da8002a006d1c..."} 
[2026-10-16 08:33:14] local.INFO: Packet analysis {"connection_id":217939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:33:14] local.INFO: Extracted packet for processing {"connection_id":217939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119836072,"longitude_deg":75.675776,"latitude_deg":11.9836072,"altitude":42,"angle":109,"satellites":28,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"07248da8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782615552001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054425729761280,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243467753472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:14] 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-10-16 08:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792119612000,"timestamp_ms":1792119612000,"timestamp_seconds":1792119612,"priority":1,"record_length":96,"hex_timestamp":"000001a142a72260"} 
[2026-10-16 08:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:33:14] 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-10-16 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 08:33:14] 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-10-16 08: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-10-16 08:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":217939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":217939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":217939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782615552001,"66":14428,"176":206,"83":42752,"24":0,"16":28054425729761280,"45":1960473243467753472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782615552001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:33:14] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054425729761280,"km_value":28054425729761.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243467753472,"description":"Unknown IO ID 45"} 
[2026-10-16 08:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782615552001,"power":14428,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1960473243467753472}} 
[2026-10-16 08:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":217939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:33:14] local.INFO: GPS data processed {"connection_id":217939,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:33:14] local.INFO: Acknowledgment sent {"connection_id":217939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:33:16] local.INFO: TCP Data received {"connection_id":216409,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:33:16] local.INFO: Processing buffer {"connection_id":216409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:33:16] local.INFO: IMEI packet received {"connection_id":216409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":216409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:33:21] local.INFO: TCP Data received {"connection_id":216409,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:33:21] local.INFO: Processing buffer {"connection_id":216409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:33:21] local.INFO: IMEI packet received {"connection_id":216409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":216409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:33:22] local.INFO: TCP Data received {"connection_id":216409,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:33:22] local.INFO: Processing buffer {"connection_id":216409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:33:22] local.INFO: IMEI packet received {"connection_id":216409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":216409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:33:23] local.INFO: TCP Data received {"connection_id":216409,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a7f550012d7f93c005afda78000001271e..."} 
[2026-10-16 08:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a7f550012d7f93c005afda78000001271e..."} 
[2026-10-16 08:33:23] local.INFO: Processing buffer {"connection_id":216409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a7f550012d7f93c005afda78000001271e..."} 
[2026-10-16 08:33:23] local.INFO: Packet analysis {"connection_id":216409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:33:23] local.INFO: Extracted packet for processing {"connection_id":216409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a7"} 
[2026-10-16 08:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763335616,"raw_latitude":95410808,"longitude_deg":76.3335616,"latitude_deg":9.5410808,"altitude":0,"angle":295,"satellites":30,"speed":1,"hex_longitude":"2d7f93c0","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782633984001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204484875550720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192902395051008000,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792119666000,"timestamp_ms":1792119666000,"timestamp_seconds":1792119666,"priority":1,"record_length":96,"hex_timestamp":"000001a142a7f550"} 
[2026-10-16 08:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:33: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-10-16 08: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-10-16 08:33:23] 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-10-16 08: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-10-16 08:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782633984001,"66":27995,"236":206,"19":45568,"24":1,"16":15204484875550720,"45":9192902395051008000},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782633984001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:33:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:33:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204484875550720,"km_value":15204484875550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192902395051008000,"description":"Unknown IO ID 45"} 
[2026-10-16 08:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782633984001,"power":27995,"unknown_236":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":9192902395051008000}} 
[2026-10-16 08:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":216409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:33:23] local.INFO: GPS data processed {"connection_id":216409,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:33:23] local.INFO: Acknowledgment sent {"connection_id":216409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:33:24] local.INFO: TCP Data received {"connection_id":217938,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a8c070012d0caf0007075e08001901181f..."} 
[2026-10-16 08:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a8c070012d0caf0007075e08001901181f..."} 
[2026-10-16 08:33:24] local.INFO: Processing buffer {"connection_id":217938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a8c070012d0caf0007075e08001901181f..."} 
[2026-10-16 08:33:24] local.INFO: Packet analysis {"connection_id":217938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:33:24] local.INFO: Extracted packet for processing {"connection_id":217938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:33:24] local.INFO: GPS Element Parsed {"raw_longitude":755805952,"raw_latitude":117923336,"longitude_deg":75.5805952,"latitude_deg":11.7923336,"altitude":25,"angle":280,"satellites":31,"speed":8,"hex_longitude":"2d0caf00","hex_latitude":"07075e08","is_valid_coordinates":true} 
[2026-10-16 08:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782644224001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36427258314883072,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917326979288162304,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:24] 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-10-16 08:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792119718000,"timestamp_ms":1792119718000,"timestamp_seconds":1792119718,"priority":1,"record_length":96,"hex_timestamp":"000001a142a8c070"} 
[2026-10-16 08:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:33:24] 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-10-16 08:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 08:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782644224001,"66":14559,"221":206,"94":10240,"24":8,"16":36427258314883072,"45":917326979288162304},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782644224001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:33:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:33:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36427258314883072,"km_value":36427258314883.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":917326979288162304,"description":"Unknown IO ID 45"} 
[2026-10-16 08:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782644224001,"power":14559,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":917326979288162304}} 
[2026-10-16 08:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":217938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045307,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:33:24] local.INFO: GPS data processed {"connection_id":217938,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:33:24] local.INFO: Acknowledgment sent {"connection_id":217938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:33:27] local.INFO: TCP Data received {"connection_id":216409,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a84758012d7f938005afda880000012320..."} 
[2026-10-16 08:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a84758012d7f938005afda880000012320..."} 
[2026-10-16 08:33:27] local.INFO: Processing buffer {"connection_id":216409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a84758012d7f938005afda880000012320..."} 
[2026-10-16 08:33:27] local.INFO: Packet analysis {"connection_id":216409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:33:27] local.INFO: Extracted packet for processing {"connection_id":216409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763335552,"raw_latitude":95410824,"longitude_deg":76.3335552,"latitude_deg":9.5410824,"altitude":0,"angle":291,"satellites":32,"speed":0,"hex_longitude":"2d7f9380","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-10-16 08:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782634496001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204489170518016,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192902395051014144,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792119687000,"timestamp_ms":1792119687000,"timestamp_seconds":1792119687,"priority":1,"record_length":96,"hex_timestamp":"000001a142a84758"} 
[2026-10-16 08:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:33: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-10-16 08:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 08:33:27] 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-10-16 08:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782634496001,"66":27865,"236":206,"19":45568,"24":0,"16":15204489170518016,"45":9192902395051014144},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782634496001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:33:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:33:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204489170518016,"km_value":15204489170518.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192902395051014144,"description":"Unknown IO ID 45"} 
[2026-10-16 08:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782634496001,"power":27865,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9192902395051014144}} 
[2026-10-16 08:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":216409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:33:27] local.INFO: GPS data processed {"connection_id":216409,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:33:27] local.INFO: Acknowledgment sent {"connection_id":216409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:33:31] local.INFO: TCP Data received {"connection_id":216408,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:33:31] local.INFO: Processing buffer {"connection_id":216408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:33:31] local.INFO: IMEI packet received {"connection_id":216408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":216408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:33:45] local.INFO: TCP Data received {"connection_id":217939,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a99748012d1b310007248d70002c01161f..."} 
[2026-10-16 08:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a99748012d1b310007248d70002c01161f..."} 
[2026-10-16 08:33:45] local.INFO: Processing buffer {"connection_id":217939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a99748012d1b310007248d70002c01161f..."} 
[2026-10-16 08:33:45] local.INFO: Packet analysis {"connection_id":217939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:33:45] local.INFO: Extracted packet for processing {"connection_id":217939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756756736,"raw_latitude":119836016,"longitude_deg":75.6756736,"latitude_deg":11.9836016,"altitude":44,"angle":278,"satellites":31,"speed":7,"hex_longitude":"2d1b3100","hex_latitude":"07248d70","is_valid_coordinates":true} 
[2026-10-16 08:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782660352001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054524514009088,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243467624448,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] 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-10-16 08:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792119773000,"timestamp_ms":1792119773000,"timestamp_seconds":1792119773,"priority":1,"record_length":96,"hex_timestamp":"000001a142a99748"} 
[2026-10-16 08:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:33:45] 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-10-16 08:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2834511873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250249830314053032,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-8239335337878544896,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":168,"raw_value":918735617225195527,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2874802176,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":158,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.WARNING: Large IO value detected {"io_id":46,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:45] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,176,83,24,241,157,16,171,161,123,45,128,139,43,31,10,66,116,140,30,61,1,240,7,227,36,4,113,205,165,53,168,239,56,2,99,42,158,106,46],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-10-16 08:33:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098803227433762816,"timestamp_seconds":3098803227433763.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":217939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":217939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":217939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782660352001,"66":13330,"176":206,"83":42752,"24":7,"16":28054524514009088,"45":1960473243467624448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782660352001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:33:45] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054524514009088,"km_value":28054524514009.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243467624448,"description":"Unknown IO ID 45"} 
[2026-10-16 08:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782660352001,"power":13330,"unknown_176":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1960473243467624448}} 
[2026-10-16 08:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":217939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:33:46] local.INFO: GPS data processed {"connection_id":217939,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:33:46] local.INFO: Acknowledgment sent {"connection_id":217939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:33:51] local.INFO: TCP Data received {"connection_id":216410,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:33:51] local.INFO: Processing buffer {"connection_id":216410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:33:51] local.INFO: IMEI packet received {"connection_id":216410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":216410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:33:59] local.INFO: TCP Data received {"connection_id":216409,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a987a8012d7f93c005afdc100000006923..."} 
[2026-10-16 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a987a8012d7f93c005afdc100000006923..."} 
[2026-10-16 08:33:59] local.INFO: Processing buffer {"connection_id":216409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a987a8012d7f93c005afdc100000006923..."} 
[2026-10-16 08:33:59] local.INFO: Packet analysis {"connection_id":216409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:33:59] local.INFO: Extracted packet for processing {"connection_id":216409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763335616,"raw_latitude":95411216,"longitude_deg":76.3335616,"latitude_deg":9.5411216,"altitude":0,"angle":105,"satellites":35,"speed":1,"hex_longitude":"2d7f93c0","hex_latitude":"05afdc10","is_valid_coordinates":true} 
[2026-10-16 08:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782658816001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204540710125568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192902395051122688,"note":"Value kept but may cause issues"} 
[2026-10-16 08:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792119769000,"timestamp_ms":1792119769000,"timestamp_seconds":1792119769,"priority":1,"record_length":96,"hex_timestamp":"000001a142a987a8"} 
[2026-10-16 08:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 08:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782658816001,"66":27767,"236":206,"19":45568,"24":1,"16":15204540710125568,"45":9192902395051122688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782658816001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:33:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:33:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204540710125568,"km_value":15204540710125.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192902395051122688,"description":"Unknown IO ID 45"} 
[2026-10-16 08:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782658816001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":9192902395051122688}} 
[2026-10-16 08:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":216409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:33:59] local.INFO: GPS data processed {"connection_id":216409,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:33:59] local.INFO: Acknowledgment sent {"connection_id":216409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:34:03] local.INFO: TCP Data received {"connection_id":216411,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:34:03] local.INFO: Processing buffer {"connection_id":216411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:34:03] local.INFO: IMEI packet received {"connection_id":216411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":216411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:34:05] local.INFO: TCP Data received {"connection_id":216596,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:34:06] local.INFO: Processing buffer {"connection_id":216596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:34:06] local.INFO: IMEI packet received {"connection_id":216596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":216596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:34:07] local.INFO: TCP Data received {"connection_id":216596,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:34:07] local.INFO: Processing buffer {"connection_id":216596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:34:07] local.INFO: IMEI packet received {"connection_id":216596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":216596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:34:08] local.INFO: TCP Data received {"connection_id":216411,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:34:08] local.INFO: Processing buffer {"connection_id":216411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:34:08] local.INFO: IMEI packet received {"connection_id":216411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":216411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:34:09] local.INFO: TCP Data received {"connection_id":216411,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:34:09] local.INFO: Processing buffer {"connection_id":216411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:34:09] local.INFO: Packet analysis {"connection_id":216411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:34:09] local.INFO: Extracted packet for processing {"connection_id":216411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":755805376,"raw_latitude":117923552,"longitude_deg":75.5805376,"latitude_deg":11.7923552,"altitude":25,"angle":289,"satellites":31,"speed":0,"hex_longitude":"2d0cacc0","hex_latitude":"07075ee0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782647808001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36427284084686848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913949279567874048,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:09] 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-10-16 08:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792119722000,"timestamp_ms":1792119722000,"timestamp_seconds":1792119722,"priority":1,"record_length":96,"hex_timestamp":"000001a142a8d010"} 
[2026-10-16 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-10-16 08:34: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-10-16 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 08:34:09] 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-10-16 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-10-16 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-10-16 08:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782647808001,"66":14450,"221":206,"94":10240,"24":0,"16":36427284084686848,"45":913949279567874048},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782647808001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:34:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:34:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36427284084686848,"km_value":36427284084686.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":913949279567874048,"description":"Unknown IO ID 45"} 
[2026-10-16 08:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782647808001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913949279567874048}} 
[2026-10-16 08:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":216411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:34:09] local.INFO: GPS data processed {"connection_id":216411,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:34:09] local.INFO: Acknowledgment sent {"connection_id":216411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:34:13] local.INFO: TCP Data received {"connection_id":216596,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:34:13] local.INFO: Processing buffer {"connection_id":216596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:34:13] local.INFO: IMEI packet received {"connection_id":216596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":216596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:34:14] local.INFO: TCP Data received {"connection_id":216596,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a99f18012d1b2fc007248db8002d012a1f..."} 
[2026-10-16 08:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a99f18012d1b2fc007248db8002d012a1f..."} 
[2026-10-16 08:34:14] local.INFO: Processing buffer {"connection_id":216596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a99f18012d1b2fc007248db8002d012a1f..."} 
[2026-10-16 08:34:14] local.INFO: Packet analysis {"connection_id":216596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:34:14] local.INFO: Extracted packet for processing {"connection_id":216596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119836088,"longitude_deg":75.6756416,"latitude_deg":11.9836088,"altitude":45,"angle":298,"satellites":31,"speed":3,"hex_longitude":"2d1b2fc0","hex_latitude":"07248db8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782661888001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054537398910976,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959347343560896512,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] 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-10-16 08:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792119775000,"timestamp_ms":1792119775000,"timestamp_seconds":1792119775,"priority":1,"record_length":96,"hex_timestamp":"000001a142a99f18"} 
[2026-10-16 08:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2839375873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250249830314053032,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-8239335337878544896,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":168,"raw_value":6548235151438315527,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2874802176,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":114,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.WARNING: Large IO value detected {"io_id":47,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,176,83,24,241,157,16,171,161,127,45,139,43,30,10,66,123,128,31,116,1,240,231,227,36,4,113,205,243,53,168,239,56,2,99,7,42,114,106,47],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-10-16 08:34:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170839935045795840,"timestamp_seconds":3170839935045796.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782661888001,"66":13276,"176":206,"83":42752,"24":3,"16":28054537398910976,"45":1959347343560896512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782661888001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:34:14] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:34:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054537398910976,"km_value":28054537398910.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959347343560896512,"description":"Unknown IO ID 45"} 
[2026-10-16 08:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782661888001,"power":13276,"unknown_176":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1959347343560896512}} 
[2026-10-16 08:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":216596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:34:14] local.INFO: GPS data processed {"connection_id":216596,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:34:14] local.INFO: Acknowledgment sent {"connection_id":216596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:34:16] local.INFO: TCP Data received {"connection_id":216412,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:34:16] local.INFO: Processing buffer {"connection_id":216412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:34:16] local.INFO: IMEI packet received {"connection_id":216412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":216412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:34:20] local.INFO: TCP Data received {"connection_id":216412,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:34:20] local.INFO: Processing buffer {"connection_id":216412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:34:20] local.INFO: IMEI packet received {"connection_id":216412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":216412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:34:22] local.INFO: TCP Data received {"connection_id":216412,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:34:22] local.INFO: Processing buffer {"connection_id":216412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:34:22] local.INFO: IMEI packet received {"connection_id":216412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":216412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:34:24] local.INFO: TCP Data received {"connection_id":216412,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a9d9b0012d7f94c005afdbe0000001371f..."} 
[2026-10-16 08:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a9d9b0012d7f94c005afdbe0000001371f..."} 
[2026-10-16 08:34:24] local.INFO: Processing buffer {"connection_id":216412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a9d9b0012d7f94c005afdbe0000001371f..."} 
[2026-10-16 08:34:24] local.INFO: Packet analysis {"connection_id":216412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:34:24] local.INFO: Extracted packet for processing {"connection_id":216412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:34:24] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411168,"longitude_deg":76.3335872,"latitude_deg":9.5411168,"altitude":0,"angle":311,"satellites":31,"speed":1,"hex_longitude":"2d7f94c0","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-10-16 08:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782660864001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204557889994752,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192902395051118592,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792119790000,"timestamp_ms":1792119790000,"timestamp_seconds":1792119790,"priority":1,"record_length":96,"hex_timestamp":"000001a142a9d9b0"} 
[2026-10-16 08:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:34:24] 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-10-16 08:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782660864001,"66":27984,"236":206,"19":45568,"24":1,"16":15204557889994752,"45":9192902395051118592},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782660864001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:34:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:34:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204557889994752,"km_value":15204557889994.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192902395051118592,"description":"Unknown IO ID 45"} 
[2026-10-16 08:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782660864001,"power":27984,"unknown_236":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":9192902395051118592}} 
[2026-10-16 08:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":216412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:34:24] local.INFO: GPS data processed {"connection_id":216412,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:34:24] local.INFO: Acknowledgment sent {"connection_id":216412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:34:27] local.INFO: TCP Data received {"connection_id":217940,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:34:27] local.INFO: Processing buffer {"connection_id":217940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:34:27] local.INFO: IMEI packet received {"connection_id":217940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":217940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:34:27] local.INFO: TCP Data received {"connection_id":217940,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:34:27] local.INFO: Processing buffer {"connection_id":217940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:34:27] local.INFO: IMEI packet received {"connection_id":217940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":217940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:34:31] local.INFO: TCP Data received {"connection_id":217940,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:34:31] local.INFO: Processing buffer {"connection_id":217940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:34:31] local.INFO: IMEI packet received {"connection_id":217940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":217940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:34:32] local.INFO: TCP Data received {"connection_id":217940,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142aa9530012d7b098005e35200000800662a..."} 
[2026-10-16 08:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aa9530012d7b098005e35200000800662a..."} 
[2026-10-16 08:34:32] local.INFO: Processing buffer {"connection_id":217940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aa9530012d7b098005e35200000800662a..."} 
[2026-10-16 08:34:32] local.INFO: Packet analysis {"connection_id":217940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:34:32] local.INFO: Extracted packet for processing {"connection_id":217940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98783744,"longitude_deg":76.303808,"latitude_deg":9.8783744,"altitude":8,"angle":102,"satellites":42,"speed":8,"hex_longitude":"2d7b0980","hex_latitude":"05e35200","is_valid_coordinates":true} 
[2026-10-16 08:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782678272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145433223344685056,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366744182784,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792119838000,"timestamp_ms":1792119838000,"timestamp_seconds":1792119838,"priority":1,"record_length":96,"hex_timestamp":"000001a142aa9530"} 
[2026-10-16 08:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2856271873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637310514782160,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1074127746,"corrected_to":0} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531167,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":337248803541221376,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3816960000,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-1549231796547223545,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":55,"raw_value":225811395300949,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,174,161,141,45,192,82,8,41,10,66,133,84,7,42,117,1,240,46,227,4,113,205,13,51,246,48,38,239,54,2,5,14,122,55,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":246,"original":1074127746,"validated":0}]} 
[2026-10-16 08:34:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576585177506643968,"timestamp_seconds":576585177506644.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782678272001,"66":13580,"208":206,"85":15104,"24":8,"16":145433223344685056,"45":8865617366744182784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-16 08:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782678272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:34:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 08:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145433223344685056,"km_value":145433223344685.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366744182784,"description":"Unknown IO ID 45"} 
[2026-10-16 08:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782678272001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8865617366744182784}} 
[2026-10-16 08:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":217940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:34:32] local.INFO: GPS data processed {"connection_id":217940,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:34:32] local.INFO: Acknowledgment sent {"connection_id":217940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:34:37] local.INFO: TCP Data received {"connection_id":217940,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142aa9918012d7b0a4005e352180008004d28..."} 
[2026-10-16 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aa9918012d7b0a4005e352180008004d28..."} 
[2026-10-16 08:34:37] local.INFO: Processing buffer {"connection_id":217940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aa9918012d7b0a4005e352180008004d28..."} 
[2026-10-16 08:34:37] local.INFO: Packet analysis {"connection_id":217940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:34:37] local.INFO: Extracted packet for processing {"connection_id":217940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98783768,"longitude_deg":76.3038272,"latitude_deg":9.8783768,"altitude":8,"angle":77,"satellites":40,"speed":7,"hex_longitude":"2d7b0a40","hex_latitude":"05e35218","is_valid_coordinates":true} 
[2026-10-16 08:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782678528001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145433231934619648,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104232525824,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792119839000,"timestamp_ms":1792119839000,"timestamp_seconds":1792119839,"priority":1,"record_length":96,"hex_timestamp":"000001a142aa9918"} 
[2026-10-16 08:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:34:37] 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-10-16 08:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2859855873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637310514782160,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-10-16 08:34:37] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3221611390,"corrected_to":0} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3305164127,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":337248803541221376,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3816960000,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-702555067169898488,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-8574627879118123435,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,174,161,145,45,82,8,42,10,66,141,192,41,133,1,240,230,227,4,113,205,27,63,247,176,40,239,53,2,5,14,122,54,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":247,"original":3221611390,"validated":0}]} 
[2026-10-16 08:34:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576573082878607360,"timestamp_seconds":576573082878607.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 08:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 08:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 08:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782678528001,"66":13102,"208":206,"85":15104,"24":7,"16":145433231934619648,"45":8865758104232525824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-10-16 08:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 08:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 08:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782678528001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:34:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 08:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-10-16 08:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145433231934619648,"km_value":145433231934619.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104232525824,"description":"Unknown IO ID 45"} 
[2026-10-16 08:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782678528001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8865758104232525824}} 
[2026-10-16 08:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":217940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:34:37] local.INFO: GPS data processed {"connection_id":217940,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:34:37] local.INFO: Acknowledgment sent {"connection_id":217940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:34:41] local.INFO: TCP Data received {"connection_id":216411,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:34:41] local.INFO: Processing buffer {"connection_id":216411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:34:41] local.INFO: Packet analysis {"connection_id":216411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:34:41] local.INFO: Extracted packet for processing {"connection_id":216411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":755805376,"raw_latitude":117923552,"longitude_deg":75.5805376,"latitude_deg":11.7923552,"altitude":25,"angle":289,"satellites":31,"speed":0,"hex_longitude":"2d0cacc0","hex_latitude":"07075ee0","is_valid_coordinates":true} 
[2026-10-16 08:34:41] 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-10-16 08:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782648832001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36427284084686848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913315960870330368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:41] 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-10-16 08:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792119722000,"timestamp_ms":1792119722000,"timestamp_seconds":1792119722,"priority":1,"record_length":96,"hex_timestamp":"000001a142a8d010"} 
[2026-10-16 08:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:34:41] 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-10-16 08: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-10-16 08:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":216411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":216411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":216411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782648832001,"66":14450,"221":206,"94":10240,"24":0,"16":36427284084686848,"45":913315960870330368},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782648832001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:34:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:34:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36427284084686848,"km_value":36427284084686.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":913315960870330368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782648832001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913315960870330368}} 
[2026-10-16 08:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":216411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045316,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:34:41] local.INFO: GPS data processed {"connection_id":216411,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:34:41] local.INFO: Acknowledgment sent {"connection_id":216411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:34:45] local.INFO: TCP Data received {"connection_id":216596,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142a9e950012d1b2fc007248dc8002c012a1f..."} 
[2026-10-16 08:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a9e950012d1b2fc007248dc8002c012a1f..."} 
[2026-10-16 08:34:45] local.INFO: Processing buffer {"connection_id":216596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a9e950012d1b2fc007248dc8002c012a1f..."} 
[2026-10-16 08:34:45] local.INFO: Packet analysis {"connection_id":216596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:34:45] local.INFO: Extracted packet for processing {"connection_id":216596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119836104,"longitude_deg":75.6756416,"latitude_deg":11.9836104,"altitude":44,"angle":298,"satellites":31,"speed":0,"hex_longitude":"2d1b2fc0","hex_latitude":"07248dc8","is_valid_coordinates":true} 
[2026-10-16 08:34: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-10-16 08:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782662400001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054541693878272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499840026624,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:45] 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-10-16 08:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792119794000,"timestamp_ms":1792119794000,"timestamp_seconds":1792119794,"priority":1,"record_length":96,"hex_timestamp":"000001a142a9e950"} 
[2026-10-16 08:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:34:45] 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-10-16 08: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":220,"data_length":795,"current_offset":136} 
[2026-10-16 08:34: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-10-16 08: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-10-16 08:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782662400001,"66":13243,"176":206,"83":42752,"24":0,"16":28054541693878272,"45":1958995499840026624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782662400001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:34:45] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054541693878272,"km_value":28054541693878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499840026624,"description":"Unknown IO ID 45"} 
[2026-10-16 08:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782662400001,"power":13243,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958995499840026624}} 
[2026-10-16 08:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":216596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:34:45] local.INFO: GPS data processed {"connection_id":216596,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:34:45] local.INFO: Acknowledgment sent {"connection_id":216596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:34:55] local.INFO: TCP Data received {"connection_id":216412,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142a9d9b0012d7f94c005afdbe0000001371f..."} 
[2026-10-16 08:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a9d9b0012d7f94c005afdbe0000001371f..."} 
[2026-10-16 08:34:55] local.INFO: Processing buffer {"connection_id":216412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a9d9b0012d7f94c005afdbe0000001371f..."} 
[2026-10-16 08:34:55] local.INFO: Packet analysis {"connection_id":216412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:34:55] local.INFO: Extracted packet for processing {"connection_id":216412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a9"} 
[2026-10-16 08:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95411168,"longitude_deg":76.3335872,"latitude_deg":9.5411168,"altitude":0,"angle":311,"satellites":31,"speed":1,"hex_longitude":"2d7f94c0","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-10-16 08:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782666240001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204557889994752,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027816960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792119790000,"timestamp_ms":1792119790000,"timestamp_seconds":1792119790,"priority":1,"record_length":96,"hex_timestamp":"000001a142a9d9b0"} 
[2026-10-16 08:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 08:34:55] 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-10-16 08:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782666240001,"66":27984,"236":206,"19":45568,"24":1,"16":15204557889994752,"45":9193183870027816960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782666240001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:34:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:34:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204557889994752,"km_value":15204557889994.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027816960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782666240001,"power":27984,"unknown_236":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":9193183870027816960}} 
[2026-10-16 08:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":216412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:34:55] local.INFO: GPS data processed {"connection_id":216412,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:34:55] local.INFO: Acknowledgment sent {"connection_id":216412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:35:05] local.INFO: TCP Data received {"connection_id":216597,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:35:05] local.INFO: Processing buffer {"connection_id":216597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:35:05] local.INFO: IMEI packet received {"connection_id":216597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":216597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:35:08] local.INFO: TCP Data received {"connection_id":216598,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:35:08] local.INFO: Processing buffer {"connection_id":216598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:35:08] local.INFO: IMEI packet received {"connection_id":216598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":216598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:35:08] local.INFO: TCP Data received {"connection_id":216597,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:35:08] local.INFO: Processing buffer {"connection_id":216597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:35:08] local.INFO: IMEI packet received {"connection_id":216597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":216597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:35:08] local.INFO: TCP Data received {"connection_id":216598,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:35:09] local.INFO: Processing buffer {"connection_id":216598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:35:09] local.INFO: IMEI packet received {"connection_id":216598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":216598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:35:09] local.INFO: TCP Data received {"connection_id":216597,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:35:09] local.INFO: Processing buffer {"connection_id":216597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:35:09] local.INFO: Packet analysis {"connection_id":216597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:35:09] local.INFO: Extracted packet for processing {"connection_id":216597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":755805376,"raw_latitude":117923552,"longitude_deg":75.5805376,"latitude_deg":11.7923552,"altitude":25,"angle":289,"satellites":31,"speed":0,"hex_longitude":"2d0cacc0","hex_latitude":"07075ee0","is_valid_coordinates":true} 
[2026-10-16 08:35:09] 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-10-16 08:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782648832001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36427284084686848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913315960870330368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:09] 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-10-16 08:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792119722000,"timestamp_ms":1792119722000,"timestamp_seconds":1792119722,"priority":1,"record_length":96,"hex_timestamp":"000001a142a8d010"} 
[2026-10-16 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-10-16 08: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-10-16 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:35:09] 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-10-16 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-10-16 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-10-16 08:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782648832001,"66":14450,"221":206,"94":10240,"24":0,"16":36427284084686848,"45":913315960870330368},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782648832001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:35:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:35:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36427284084686848,"km_value":36427284084686.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":913315960870330368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782648832001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913315960870330368}} 
[2026-10-16 08:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":216597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045319,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:35:09] local.INFO: GPS data processed {"connection_id":216597,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:35:09] local.INFO: Acknowledgment sent {"connection_id":216597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:35:13] local.INFO: TCP Data received {"connection_id":216598,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:35:13] local.INFO: Processing buffer {"connection_id":216598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:35:13] local.INFO: IMEI packet received {"connection_id":216598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":216598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:35:14] local.INFO: TCP Data received {"connection_id":216598,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142aa3388012d1b2fc007248dc8002c012a22..."} 
[2026-10-16 08:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aa3388012d1b2fc007248dc8002c012a22..."} 
[2026-10-16 08:35:14] local.INFO: Processing buffer {"connection_id":216598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aa3388012d1b2fc007248dc8002c012a22..."} 
[2026-10-16 08:35:14] local.INFO: Packet analysis {"connection_id":216598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:35:14] local.INFO: Extracted packet for processing {"connection_id":216598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119836104,"longitude_deg":75.6756416,"latitude_deg":11.9836104,"altitude":44,"angle":298,"satellites":34,"speed":0,"hex_longitude":"2d1b2fc0","hex_latitude":"07248dc8","is_valid_coordinates":true} 
[2026-10-16 08:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782667264001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054541693878272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499840030720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:14] 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-10-16 08:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792119813000,"timestamp_ms":1792119813000,"timestamp_seconds":1792119813,"priority":1,"record_length":96,"hex_timestamp":"000001a142aa3388"} 
[2026-10-16 08:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-16 08:35: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-10-16 08:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782667264001,"66":13254,"176":206,"83":42752,"24":0,"16":28054541693878272,"45":1958995499840030720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782667264001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:35:14] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054541693878272,"km_value":28054541693878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499840030720,"description":"Unknown IO ID 45"} 
[2026-10-16 08:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782667264001,"power":13254,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958995499840030720}} 
[2026-10-16 08:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":216598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:35:14] local.INFO: GPS data processed {"connection_id":216598,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:35:14] local.INFO: Acknowledgment sent {"connection_id":216598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:35:20] local.INFO: TCP Data received {"connection_id":216414,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:35:20] local.INFO: Processing buffer {"connection_id":216414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:35:20] local.INFO: IMEI packet received {"connection_id":216414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":216414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:35:21] local.INFO: TCP Data received {"connection_id":216414,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:35:21] local.INFO: Processing buffer {"connection_id":216414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:35:21] local.INFO: IMEI packet received {"connection_id":216414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":216414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:35:21] local.INFO: TCP Data received {"connection_id":219685,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:35:21] local.INFO: Processing buffer {"connection_id":219685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:35:21] local.INFO: IMEI packet received {"connection_id":219685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":219685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:35:22] local.INFO: TCP Data received {"connection_id":219685,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:35:22] local.INFO: Processing buffer {"connection_id":219685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:35:22] local.INFO: IMEI packet received {"connection_id":219685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":219685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:35:26] local.INFO: TCP Data received {"connection_id":219685,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:35:26] local.INFO: Processing buffer {"connection_id":219685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:35:26] local.INFO: IMEI packet received {"connection_id":219685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":219685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:35:28] local.INFO: TCP Data received {"connection_id":219685,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142aa00c0012d7f944005afdbe80000012521..."} 
[2026-10-16 08:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aa00c0012d7f944005afdbe80000012521..."} 
[2026-10-16 08:35:28] local.INFO: Processing buffer {"connection_id":219685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aa00c0012d7f944005afdbe80000012521..."} 
[2026-10-16 08:35:28] local.INFO: Packet analysis {"connection_id":219685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:35:28] local.INFO: Extracted packet for processing {"connection_id":219685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763335744,"raw_latitude":95411176,"longitude_deg":76.3335744,"latitude_deg":9.5411176,"altitude":0,"angle":293,"satellites":33,"speed":1,"hex_longitude":"2d7f9440","hex_latitude":"05afdbe8","is_valid_coordinates":true} 
[2026-10-16 08:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782666240001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204566479929344,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027816960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792119800000,"timestamp_ms":1792119800000,"timestamp_seconds":1792119800,"priority":1,"record_length":96,"hex_timestamp":"000001a142aa00c0"} 
[2026-10-16 08:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:35: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-10-16 08:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 08:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782666240001,"66":27930,"236":206,"19":45568,"24":1,"16":15204566479929344,"45":9193183870027816960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782666240001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:35:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:35:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204566479929344,"km_value":15204566479929.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027816960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782666240001,"power":27930,"unknown_236":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":9193183870027816960}} 
[2026-10-16 08:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":219685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:35:28] local.INFO: GPS data processed {"connection_id":219685,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:35:28] local.INFO: Acknowledgment sent {"connection_id":219685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:35:34] local.INFO: TCP Data received {"connection_id":219685,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142aa56b0012d7f944005afdbd80000012521..."} 
[2026-10-16 08:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aa56b0012d7f944005afdbd80000012521..."} 
[2026-10-16 08:35:34] local.INFO: Processing buffer {"connection_id":219685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aa56b0012d7f944005afdbd80000012521..."} 
[2026-10-16 08:35:34] local.INFO: Packet analysis {"connection_id":219685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:35:34] local.INFO: Extracted packet for processing {"connection_id":219685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763335744,"raw_latitude":95411160,"longitude_deg":76.3335744,"latitude_deg":9.541116,"altitude":0,"angle":293,"satellites":33,"speed":0,"hex_longitude":"2d7f9440","hex_latitude":"05afdbd8","is_valid_coordinates":true} 
[2026-10-16 08:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782668800001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204566479929344,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193043132539463680,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792119822000,"timestamp_ms":1792119822000,"timestamp_seconds":1792119822,"priority":1,"record_length":96,"hex_timestamp":"000001a142aa56b0"} 
[2026-10-16 08:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-16 08:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782668800001,"66":27919,"236":206,"19":45568,"24":0,"16":15204566479929344,"45":9193043132539463680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782668800001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:35:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:35:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204566479929344,"km_value":15204566479929.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193043132539463680,"description":"Unknown IO ID 45"} 
[2026-10-16 08:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782668800001,"power":27919,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9193043132539463680}} 
[2026-10-16 08:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":219685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:35:34] local.INFO: GPS data processed {"connection_id":219685,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:35:34] local.INFO: Acknowledgment sent {"connection_id":219685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:35:40] local.INFO: TCP Data received {"connection_id":216597,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:35:40] local.INFO: Processing buffer {"connection_id":216597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142a8d010012d0cacc007075ee0001901211f..."} 
[2026-10-16 08:35:40] local.INFO: Packet analysis {"connection_id":216597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:35:40] local.INFO: Extracted packet for processing {"connection_id":216597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142a8"} 
[2026-10-16 08:35:40] local.INFO: GPS Element Parsed {"raw_longitude":755805376,"raw_latitude":117923552,"longitude_deg":75.5805376,"latitude_deg":11.7923552,"altitude":25,"angle":289,"satellites":31,"speed":0,"hex_longitude":"2d0cacc0","hex_latitude":"07075ee0","is_valid_coordinates":true} 
[2026-10-16 08:35:40] 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-10-16 08:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782648832001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36427284084686848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913315960870330368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:40] 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-10-16 08:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792119722000,"timestamp_ms":1792119722000,"timestamp_seconds":1792119722,"priority":1,"record_length":96,"hex_timestamp":"000001a142a8d010"} 
[2026-10-16 08:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:35:40] 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-10-16 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:35:40] 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-10-16 08: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-10-16 08:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":216597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":216597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":216597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782648832001,"66":14450,"221":206,"94":10240,"24":0,"16":36427284084686848,"45":913315960870330368},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782648832001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:35:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:35:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36427284084686848,"km_value":36427284084686.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":913315960870330368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782648832001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913315960870330368}} 
[2026-10-16 08:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":216597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:35:40] local.INFO: GPS data processed {"connection_id":216597,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:35:40] local.INFO: Acknowledgment sent {"connection_id":216597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:35:45] local.INFO: TCP Data received {"connection_id":216598,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142aa79d8012d1b2fc007248dc8002c012a23..."} 
[2026-10-16 08:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aa79d8012d1b2fc007248dc8002c012a23..."} 
[2026-10-16 08:35:45] local.INFO: Processing buffer {"connection_id":216598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aa79d8012d1b2fc007248dc8002c012a23..."} 
[2026-10-16 08:35:45] local.INFO: Packet analysis {"connection_id":216598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:35:45] local.INFO: Extracted packet for processing {"connection_id":216598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119836104,"longitude_deg":75.6756416,"latitude_deg":11.9836104,"altitude":44,"angle":298,"satellites":35,"speed":0,"hex_longitude":"2d1b2fc0","hex_latitude":"07248dc8","is_valid_coordinates":true} 
[2026-10-16 08:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782672128001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054541693878272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499840030720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:35:45] 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-10-16 08:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792119831000,"timestamp_ms":1792119831000,"timestamp_seconds":1792119831,"priority":1,"record_length":96,"hex_timestamp":"000001a142aa79d8"} 
[2026-10-16 08:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:35:45] 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-10-16 08:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-10-16 08:35: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-10-16 08:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782672128001,"66":13243,"176":206,"83":42752,"24":0,"16":28054541693878272,"45":1958995499840030720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782672128001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:35:45] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054541693878272,"km_value":28054541693878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499840030720,"description":"Unknown IO ID 45"} 
[2026-10-16 08:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782672128001,"power":13243,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958995499840030720}} 
[2026-10-16 08:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":216598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:35:45] local.INFO: GPS data processed {"connection_id":216598,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:35:45] local.INFO: Acknowledgment sent {"connection_id":216598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:36:03] local.INFO: TCP Data received {"connection_id":219686,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:36:03] local.INFO: Processing buffer {"connection_id":219686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:36:03] local.INFO: IMEI packet received {"connection_id":219686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":219686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:36:07] local.INFO: TCP Data received {"connection_id":216599,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:36:07] local.INFO: Processing buffer {"connection_id":216599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:36:07] local.INFO: IMEI packet received {"connection_id":216599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":216599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:36:08] local.INFO: TCP Data received {"connection_id":219686,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:36:08] local.INFO: Processing buffer {"connection_id":219686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:36:08] local.INFO: IMEI packet received {"connection_id":219686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":219686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:36:09] local.INFO: TCP Data received {"connection_id":219686,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac4e98012d0cad4007075f080019012124..."} 
[2026-10-16 08:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac4e98012d0cad4007075f080019012124..."} 
[2026-10-16 08:36:09] local.INFO: Processing buffer {"connection_id":219686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac4e98012d0cad4007075f080019012124..."} 
[2026-10-16 08:36:09] local.INFO: Packet analysis {"connection_id":219686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:36:09] local.INFO: Extracted packet for processing {"connection_id":219686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:36:09] local.INFO: GPS Element Parsed {"raw_longitude":755805504,"raw_latitude":117923592,"longitude_deg":75.5805504,"latitude_deg":11.7923592,"altitude":25,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d0cad40","hex_latitude":"07075f08","is_valid_coordinates":true} 
[2026-10-16 08:36: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-10-16 08:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782648832001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36427284084686848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913315960870330368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:09] 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-10-16 08:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792119951000,"timestamp_ms":1792119951000,"timestamp_seconds":1792119951,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac4e98"} 
[2026-10-16 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-10-16 08: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-10-16 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:36:09] 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-10-16 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-10-16 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-10-16 08:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":219686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":219686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":219686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782648832001,"66":12841,"221":206,"94":10240,"24":0,"16":36427284084686848,"45":913315960870330368},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782648832001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:36:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:36:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36427284084686848,"km_value":36427284084686.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":913315960870330368,"description":"Unknown IO ID 45"} 
[2026-10-16 08:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782648832001,"power":12841,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913315960870330368}} 
[2026-10-16 08:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":219686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045325,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:36:09] local.INFO: GPS data processed {"connection_id":219686,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:36:09] local.INFO: Acknowledgment sent {"connection_id":219686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:36:11] local.INFO: TCP Data received {"connection_id":216599,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:36:12] local.INFO: Processing buffer {"connection_id":216599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:36:12] local.INFO: IMEI packet received {"connection_id":216599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":216599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:36:12] local.INFO: TCP Data received {"connection_id":217943,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:36:12] local.INFO: Processing buffer {"connection_id":217943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:36:12] local.INFO: IMEI packet received {"connection_id":217943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":217943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:36:15] local.INFO: TCP Data received {"connection_id":216599,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142aac410012d1b2fc007248dc8002c012a23..."} 
[2026-10-16 08:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aac410012d1b2fc007248dc8002c012a23..."} 
[2026-10-16 08:36:15] local.INFO: Processing buffer {"connection_id":216599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aac410012d1b2fc007248dc8002c012a23..."} 
[2026-10-16 08:36:15] local.INFO: Packet analysis {"connection_id":216599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:36:15] local.INFO: Extracted packet for processing {"connection_id":216599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142aa"} 
[2026-10-16 08:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119836104,"longitude_deg":75.6756416,"latitude_deg":11.9836104,"altitude":44,"angle":298,"satellites":35,"speed":0,"hex_longitude":"2d1b2fc0","hex_latitude":"07248dc8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782676736001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054541693878272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499840030720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:15] 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-10-16 08:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792119850000,"timestamp_ms":1792119850000,"timestamp_seconds":1792119850,"priority":1,"record_length":96,"hex_timestamp":"000001a142aac410"} 
[2026-10-16 08:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:36:15] 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-10-16 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-16 08:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782676736001,"66":13124,"176":206,"83":42752,"24":0,"16":28054541693878272,"45":1958995499840030720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782676736001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:36:15] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054541693878272,"km_value":28054541693878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499840030720,"description":"Unknown IO ID 45"} 
[2026-10-16 08:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782676736001,"power":13124,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958995499840030720}} 
[2026-10-16 08:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":216599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:36:15] local.INFO: GPS data processed {"connection_id":216599,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:36:15] local.INFO: Acknowledgment sent {"connection_id":216599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:36:17] local.INFO: TCP Data received {"connection_id":217943,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:36:17] local.INFO: Processing buffer {"connection_id":217943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:36:17] local.INFO: IMEI packet received {"connection_id":217943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":217943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:36:22] local.INFO: TCP Data received {"connection_id":217943,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:36:22] local.INFO: Processing buffer {"connection_id":217943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:36:22] local.INFO: IMEI packet received {"connection_id":217943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":217943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:36:23] local.INFO: TCP Data received {"connection_id":217943,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142abd198012d7fa2c005afd908000300d125..."} 
[2026-10-16 08:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142abd198012d7fa2c005afd908000300d125..."} 
[2026-10-16 08:36:23] local.INFO: Processing buffer {"connection_id":217943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142abd198012d7fa2c005afd908000300d125..."} 
[2026-10-16 08:36:23] local.INFO: Packet analysis {"connection_id":217943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:36:23] local.INFO: Extracted packet for processing {"connection_id":217943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95410440,"longitude_deg":76.3339456,"latitude_deg":9.541044,"altitude":3,"angle":209,"satellites":37,"speed":3,"hex_longitude":"2d7fa2c0","hex_latitude":"05afd908","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782697728001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204789818228736,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888445790208,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792119919000,"timestamp_ms":1792119919000,"timestamp_seconds":1792119919,"priority":1,"record_length":96,"hex_timestamp":"000001a142abd198"} 
[2026-10-16 08:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-10-16 08:36:23] 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-10-16 08: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-10-16 08:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782697728001,"66":27930,"236":206,"19":45568,"24":3,"16":15204789818228736,"45":9197194888445790208},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782697728001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:36:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:36:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204789818228736,"km_value":15204789818228.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888445790208,"description":"Unknown IO ID 45"} 
[2026-10-16 08:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782697728001,"power":27930,"unknown_236":206,"unknown_19":45568,"ignition":3,"odometer":null,"unknown_45":9197194888445790208}} 
[2026-10-16 08:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":217943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:36:23] local.INFO: GPS data processed {"connection_id":217943,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:36:23] local.INFO: Acknowledgment sent {"connection_id":217943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:36:28] local.INFO: TCP Data received {"connection_id":217943,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142abd968012d7fa24005afd7a8000300ba25..."} 
[2026-10-16 08:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142abd968012d7fa24005afd7a8000300ba25..."} 
[2026-10-16 08:36:28] local.INFO: Processing buffer {"connection_id":217943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142abd968012d7fa24005afd7a8000300ba25..."} 
[2026-10-16 08:36:28] local.INFO: Packet analysis {"connection_id":217943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:36:28] local.INFO: Extracted packet for processing {"connection_id":217943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":95410088,"longitude_deg":76.3339328,"latitude_deg":9.5410088,"altitude":3,"angle":186,"satellites":37,"speed":7,"hex_longitude":"2d7fa240","hex_latitude":"05afd7a8","is_valid_coordinates":true} 
[2026-10-16 08:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782699264001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204806998097920,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519701579776,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792119921000,"timestamp_ms":1792119921000,"timestamp_seconds":1792119921,"priority":1,"record_length":96,"hex_timestamp":"000001a142abd968"} 
[2026-10-16 08:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-16 08:36:28] 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-10-16 08:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782699264001,"66":27821,"236":206,"19":45568,"24":7,"16":15204806998097920,"45":9197124519701579776},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782699264001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:36:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:36:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204806998097920,"km_value":15204806998097.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519701579776,"description":"Unknown IO ID 45"} 
[2026-10-16 08:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782699264001,"power":27821,"unknown_236":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":9197124519701579776}} 
[2026-10-16 08:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":217943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:36:28] local.INFO: GPS data processed {"connection_id":217943,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:36:28] local.INFO: Acknowledgment sent {"connection_id":217943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:36:43] local.INFO: TCP Data received {"connection_id":219686,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac4e98012d0cad4007075f080019012124..."} 
[2026-10-16 08:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac4e98012d0cad4007075f080019012124..."} 
[2026-10-16 08:36:43] local.INFO: Processing buffer {"connection_id":219686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac4e98012d0cad4007075f080019012124..."} 
[2026-10-16 08:36:43] local.INFO: Packet analysis {"connection_id":219686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:36:43] local.INFO: Extracted packet for processing {"connection_id":219686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:36:43] local.INFO: GPS Element Parsed {"raw_longitude":755805504,"raw_latitude":117923592,"longitude_deg":75.5805504,"latitude_deg":11.7923592,"altitude":25,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d0cad40","hex_latitude":"07075f08","is_valid_coordinates":true} 
[2026-10-16 08:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782707456001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36427284084686848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913456698358695936,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36: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-10-16 08:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792119951000,"timestamp_ms":1792119951000,"timestamp_seconds":1792119951,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac4e98"} 
[2026-10-16 08:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 08:36:43] 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-10-16 08:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":219686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":219686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":219686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782707456001,"66":12841,"221":206,"94":10240,"24":0,"16":36427284084686848,"45":913456698358695936},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782707456001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:36:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:36:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36427284084686848,"km_value":36427284084686.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":913456698358695936,"description":"Unknown IO ID 45"} 
[2026-10-16 08:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782707456001,"power":12841,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913456698358695936}} 
[2026-10-16 08:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":219686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045329,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:36:43] local.INFO: GPS data processed {"connection_id":219686,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:36:43] local.INFO: Acknowledgment sent {"connection_id":219686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:36:50] local.INFO: TCP Data received {"connection_id":216599,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ab1618012d1b2fc007248dc8002c012a22..."} 
[2026-10-16 08:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ab1618012d1b2fc007248dc8002c012a22..."} 
[2026-10-16 08:36:50] local.INFO: Processing buffer {"connection_id":216599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ab1618012d1b2fc007248dc8002c012a22..."} 
[2026-10-16 08:36:50] local.INFO: Packet analysis {"connection_id":216599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:36:50] local.INFO: Extracted packet for processing {"connection_id":216599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119836104,"longitude_deg":75.6756416,"latitude_deg":11.9836104,"altitude":44,"angle":298,"satellites":34,"speed":0,"hex_longitude":"2d1b2fc0","hex_latitude":"07248dc8","is_valid_coordinates":true} 
[2026-10-16 08:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782681600001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054541693878272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499840030720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792119871000,"timestamp_ms":1792119871000,"timestamp_seconds":1792119871,"priority":1,"record_length":96,"hex_timestamp":"000001a142ab1618"} 
[2026-10-16 08:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:36:50] 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-10-16 08:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-10-16 08:36:50] 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-10-16 08:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":216599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":216599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":216599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782681600001,"66":13135,"176":206,"83":42752,"24":0,"16":28054541693878272,"45":1958995499840030720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782681600001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:36:50] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054541693878272,"km_value":28054541693878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499840030720,"description":"Unknown IO ID 45"} 
[2026-10-16 08:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782681600001,"power":13135,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958995499840030720}} 
[2026-10-16 08:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":216599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:36:50] local.INFO: GPS data processed {"connection_id":216599,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:36:50] local.INFO: Acknowledgment sent {"connection_id":216599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:36:59] local.INFO: TCP Data received {"connection_id":217943,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142abe520012d7fa20005afd548000300ad25..."} 
[2026-10-16 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142abe520012d7fa20005afd548000300ad25..."} 
[2026-10-16 08:36:59] local.INFO: Processing buffer {"connection_id":217943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142abe520012d7fa20005afd548000300ad25..."} 
[2026-10-16 08:36:59] local.INFO: Packet analysis {"connection_id":217943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:36:59] local.INFO: Extracted packet for processing {"connection_id":217943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":95409480,"longitude_deg":76.3339264,"latitude_deg":9.540948,"altitude":3,"angle":173,"satellites":37,"speed":7,"hex_longitude":"2d7fa200","hex_latitude":"05afd548","is_valid_coordinates":true} 
[2026-10-16 08:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782699776001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204837062868992,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782213134336,"note":"Value kept but may cause issues"} 
[2026-10-16 08:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792119924000,"timestamp_ms":1792119924000,"timestamp_seconds":1792119924,"priority":1,"record_length":96,"hex_timestamp":"000001a142abe520"} 
[2026-10-16 08:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:36: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-10-16 08:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 08:36:59] 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-10-16 08:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782699776001,"66":27995,"236":206,"19":45568,"24":7,"16":15204837062868992,"45":9196983782213134336},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782699776001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:36:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:36:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204837062868992,"km_value":15204837062868.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782213134336,"description":"Unknown IO ID 45"} 
[2026-10-16 08:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782699776001,"power":27995,"unknown_236":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":9196983782213134336}} 
[2026-10-16 08:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":217943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:36:59] local.INFO: GPS data processed {"connection_id":217943,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:36:59] local.INFO: Acknowledgment sent {"connection_id":217943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:37:03] local.INFO: TCP Data received {"connection_id":217945,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217945,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:37:03] local.INFO: Processing buffer {"connection_id":217945,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:37:03] local.INFO: IMEI packet received {"connection_id":217945,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":217945,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:37:06] local.INFO: TCP Data received {"connection_id":217945,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217945,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:37:06] local.INFO: Processing buffer {"connection_id":217945,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:37:06] local.INFO: IMEI packet received {"connection_id":217945,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":217945,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:37:07] local.INFO: TCP Data received {"connection_id":216600,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:37:07] local.INFO: Processing buffer {"connection_id":216600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:37:07] local.INFO: IMEI packet received {"connection_id":216600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":216600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:37:09] local.INFO: TCP Data received {"connection_id":217945,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217945,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:37:09] local.INFO: Processing buffer {"connection_id":217945,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:37:09] local.INFO: IMEI packet received {"connection_id":217945,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":217945,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:37:09] local.INFO: TCP Data received {"connection_id":217945,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142aca488012d0cac8007075f080019012123..."} 
[2026-10-16 08:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aca488012d0cac8007075f080019012123..."} 
[2026-10-16 08:37:10] local.INFO: Processing buffer {"connection_id":217945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aca488012d0cac8007075f080019012123..."} 
[2026-10-16 08:37:10] local.INFO: Packet analysis {"connection_id":217945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:37:10] local.INFO: Extracted packet for processing {"connection_id":217945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:37:10] local.INFO: GPS Element Parsed {"raw_longitude":755805312,"raw_latitude":117923592,"longitude_deg":75.5805312,"latitude_deg":11.7923592,"altitude":25,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d0cac80","hex_latitude":"07075f08","is_valid_coordinates":true} 
[2026-10-16 08:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782707456001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36427284084686848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913456698358695936,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:10] 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-10-16 08:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792119973000,"timestamp_ms":1792119973000,"timestamp_seconds":1792119973,"priority":1,"record_length":96,"hex_timestamp":"000001a142aca488"} 
[2026-10-16 08:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 08:37:10] 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-10-16 08:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":217945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":217945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":217945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782707456001,"66":14309,"221":206,"94":10240,"24":0,"16":36427284084686848,"45":913456698358695936},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782707456001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:37:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:37:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36427284084686848,"km_value":36427284084686.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":913456698358695936,"description":"Unknown IO ID 45"} 
[2026-10-16 08:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782707456001,"power":14309,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913456698358695936}} 
[2026-10-16 08:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":217945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045332,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:37:10] local.INFO: GPS data processed {"connection_id":217945,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:37:10] local.INFO: Acknowledgment sent {"connection_id":217945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:37:13] local.INFO: TCP Data received {"connection_id":216600,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:37:13] local.INFO: Processing buffer {"connection_id":216600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:37:13] local.INFO: IMEI packet received {"connection_id":216600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":216600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:37:14] local.INFO: TCP Data received {"connection_id":216600,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ab6820012d1b2fc007248dc8002c012a21..."} 
[2026-10-16 08:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ab6820012d1b2fc007248dc8002c012a21..."} 
[2026-10-16 08:37:14] local.INFO: Processing buffer {"connection_id":216600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ab6820012d1b2fc007248dc8002c012a21..."} 
[2026-10-16 08:37:14] local.INFO: Packet analysis {"connection_id":216600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:37:14] local.INFO: Extracted packet for processing {"connection_id":216600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119836104,"longitude_deg":75.6756416,"latitude_deg":11.9836104,"altitude":44,"angle":298,"satellites":33,"speed":0,"hex_longitude":"2d1b2fc0","hex_latitude":"07248dc8","is_valid_coordinates":true} 
[2026-10-16 08:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782686976001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054541693878272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499840030720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:14] 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-10-16 08:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792119892000,"timestamp_ms":1792119892000,"timestamp_seconds":1792119892,"priority":1,"record_length":96,"hex_timestamp":"000001a142ab6820"} 
[2026-10-16 08:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:37:14] 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-10-16 08:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-16 08:37:14] 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-10-16 08:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782686976001,"66":13135,"176":206,"83":42752,"24":0,"16":28054541693878272,"45":1958995499840030720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782686976001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:37:14] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054541693878272,"km_value":28054541693878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499840030720,"description":"Unknown IO ID 45"} 
[2026-10-16 08:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782686976001,"power":13135,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958995499840030720}} 
[2026-10-16 08:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":216600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:37:14] local.INFO: GPS data processed {"connection_id":216600,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:37:14] local.INFO: Acknowledgment sent {"connection_id":216600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:37:14] local.INFO: TCP Data received {"connection_id":216600,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142abba28012d1b2fc007248dc8002c012a23..."} 
[2026-10-16 08:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142abba28012d1b2fc007248dc8002c012a23..."} 
[2026-10-16 08:37:14] local.INFO: Processing buffer {"connection_id":216600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142abba28012d1b2fc007248dc8002c012a23..."} 
[2026-10-16 08:37:14] local.INFO: Packet analysis {"connection_id":216600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:37:14] local.INFO: Extracted packet for processing {"connection_id":216600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119836104,"longitude_deg":75.6756416,"latitude_deg":11.9836104,"altitude":44,"angle":298,"satellites":35,"speed":0,"hex_longitude":"2d1b2fc0","hex_latitude":"07248dc8","is_valid_coordinates":true} 
[2026-10-16 08:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054541693878272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499840030720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:14] 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-10-16 08:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792119913000,"timestamp_ms":1792119913000,"timestamp_seconds":1792119913,"priority":1,"record_length":96,"hex_timestamp":"000001a142abba28"} 
[2026-10-16 08:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:37:14] 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-10-16 08:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-16 08:37:14] 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-10-16 08:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782692352001,"66":13102,"176":206,"83":42752,"24":0,"16":28054541693878272,"45":1958995499840030720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:37:14] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054541693878272,"km_value":28054541693878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499840030720,"description":"Unknown IO ID 45"} 
[2026-10-16 08:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782692352001,"power":13102,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958995499840030720}} 
[2026-10-16 08:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":216600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:37:15] local.INFO: GPS data processed {"connection_id":216600,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:37:15] local.INFO: Acknowledgment sent {"connection_id":216600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:37:18] local.INFO: TCP Data received {"connection_id":216415,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:37:18] local.INFO: Processing buffer {"connection_id":216415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:37:18] local.INFO: IMEI packet received {"connection_id":216415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":216415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:37:22] local.INFO: TCP Data received {"connection_id":216415,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:37:22] local.INFO: Processing buffer {"connection_id":216415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:37:22] local.INFO: IMEI packet received {"connection_id":216415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":216415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:37:24] local.INFO: TCP Data received {"connection_id":216415,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142abfc90012d7fa28005afd1380005009b25..."} 
[2026-10-16 08:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142abfc90012d7fa28005afd1380005009b25..."} 
[2026-10-16 08:37:24] local.INFO: Processing buffer {"connection_id":216415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142abfc90012d7fa28005afd1380005009b25..."} 
[2026-10-16 08:37:24] local.INFO: Packet analysis {"connection_id":216415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:37:24] local.INFO: Extracted packet for processing {"connection_id":216415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ab"} 
[2026-10-16 08:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95408440,"longitude_deg":76.3339392,"latitude_deg":9.540844,"altitude":5,"angle":155,"satellites":37,"speed":5,"hex_longitude":"2d7fa280","hex_latitude":"05afd138","is_valid_coordinates":true} 
[2026-10-16 08:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782700544001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204888602476544,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413468801024,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792119930000,"timestamp_ms":1792119930000,"timestamp_seconds":1792119930,"priority":1,"record_length":96,"hex_timestamp":"000001a142abfc90"} 
[2026-10-16 08:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 08:37:24] 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-10-16 08:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782700544001,"66":27843,"236":206,"19":45568,"24":5,"16":15204888602476544,"45":9196913413468801024},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782700544001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:37:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:37:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204888602476544,"km_value":15204888602476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413468801024,"description":"Unknown IO ID 45"} 
[2026-10-16 08:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782700544001,"power":27843,"unknown_236":206,"unknown_19":45568,"ignition":5,"odometer":null,"unknown_45":9196913413468801024}} 
[2026-10-16 08:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":216415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:37:24] local.INFO: GPS data processed {"connection_id":216415,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:37:24] local.INFO: Acknowledgment sent {"connection_id":216415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:37:41] local.INFO: TCP Data received {"connection_id":217945,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142ada270012d0c77c0070777900018010e24..."} 
[2026-10-16 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ada270012d0c77c0070777900018010e24..."} 
[2026-10-16 08:37:41] local.INFO: Processing buffer {"connection_id":217945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ada270012d0c77c0070777900018010e24..."} 
[2026-10-16 08:37:41] local.INFO: Packet analysis {"connection_id":217945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ad"} 
[2026-10-16 08:37:41] local.INFO: Extracted packet for processing {"connection_id":217945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ad"} 
[2026-10-16 08:37:41] local.INFO: GPS Element Parsed {"raw_longitude":755791808,"raw_latitude":117929872,"longitude_deg":75.5791808,"latitude_deg":11.7929872,"altitude":24,"angle":270,"satellites":36,"speed":23,"hex_longitude":"2d0c77c0","hex_latitude":"07077790","is_valid_coordinates":true} 
[2026-10-16 08:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782729216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36428241862393856,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":899594055757291520,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:41] 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-10-16 08:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792120038000,"timestamp_ms":1792120038000,"timestamp_seconds":1792120038,"priority":1,"record_length":96,"hex_timestamp":"000001a142ada270"} 
[2026-10-16 08:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:37: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-10-16 08:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":217945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":217945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":217945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782729216001,"66":14396,"221":206,"94":10240,"24":23,"16":36428241862393856,"45":899594055757291520},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782729216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:37:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:37:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36428241862393856,"km_value":36428241862393.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":899594055757291520,"description":"Unknown IO ID 45"} 
[2026-10-16 08:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782729216001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":899594055757291520}} 
[2026-10-16 08:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":217945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:37:41] local.INFO: GPS data processed {"connection_id":217945,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:37:41] local.INFO: Acknowledgment sent {"connection_id":217945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:37:46] local.INFO: TCP Data received {"connection_id":216600,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac0c30012d1b2fc007248dc8002c012a22..."} 
[2026-10-16 08:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac0c30012d1b2fc007248dc8002c012a22..."} 
[2026-10-16 08:37:46] local.INFO: Processing buffer {"connection_id":216600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac0c30012d1b2fc007248dc8002c012a22..."} 
[2026-10-16 08:37:46] local.INFO: Packet analysis {"connection_id":216600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:37:46] local.INFO: Extracted packet for processing {"connection_id":216600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119836104,"longitude_deg":75.6756416,"latitude_deg":11.9836104,"altitude":44,"angle":298,"satellites":34,"speed":0,"hex_longitude":"2d1b2fc0","hex_latitude":"07248dc8","is_valid_coordinates":true} 
[2026-10-16 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782697728001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054541693878272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499840030720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:46] 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-10-16 08:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792119934000,"timestamp_ms":1792119934000,"timestamp_seconds":1792119934,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac0c30"} 
[2026-10-16 08:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:37:46] 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-10-16 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 08:37:46] 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-10-16 08:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782697728001,"66":13059,"176":206,"83":42752,"24":0,"16":28054541693878272,"45":1958995499840030720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782697728001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:37:46] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054541693878272,"km_value":28054541693878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499840030720,"description":"Unknown IO ID 45"} 
[2026-10-16 08:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782697728001,"power":13059,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958995499840030720}} 
[2026-10-16 08:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":216600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:37:46] local.INFO: GPS data processed {"connection_id":216600,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:37:46] local.INFO: Acknowledgment sent {"connection_id":216600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:37:56] local.INFO: TCP Data received {"connection_id":216415,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac0460012d7fa2c005afd0680006009225..."} 
[2026-10-16 08:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac0460012d7fa2c005afd0680006009225..."} 
[2026-10-16 08:37:56] local.INFO: Processing buffer {"connection_id":216415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac0460012d7fa2c005afd0680006009225..."} 
[2026-10-16 08:37:56] local.INFO: Packet analysis {"connection_id":216415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:37:56] local.INFO: Extracted packet for processing {"connection_id":216415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95408232,"longitude_deg":76.3339456,"latitude_deg":9.5408232,"altitude":6,"angle":146,"satellites":37,"speed":3,"hex_longitude":"2d7fa2c0","hex_latitude":"05afd068","is_valid_coordinates":true} 
[2026-10-16 08:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782702080001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956890112,"note":"Value kept but may cause issues"} 
[2026-10-16 08:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792119932000,"timestamp_ms":1792119932000,"timestamp_seconds":1792119932,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac0460"} 
[2026-10-16 08:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:37: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-10-16 08:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-16 08:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782702080001,"66":27745,"236":206,"19":45568,"24":3,"16":15204901487378432,"45":9197054150956890112},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782702080001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:37:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:37:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956890112,"description":"Unknown IO ID 45"} 
[2026-10-16 08:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782702080001,"power":27745,"unknown_236":206,"unknown_19":45568,"ignition":3,"odometer":null,"unknown_45":9197054150956890112}} 
[2026-10-16 08:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":216415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:37:56] local.INFO: GPS data processed {"connection_id":216415,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:37:56] local.INFO: Acknowledgment sent {"connection_id":216415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:38:07] local.INFO: TCP Data received {"connection_id":217946,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:38:07] local.INFO: Processing buffer {"connection_id":217946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:38:07] local.INFO: IMEI packet received {"connection_id":217946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":217946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:38:07] local.INFO: TCP Data received {"connection_id":219687,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:07] local.INFO: Processing buffer {"connection_id":219687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:07] local.INFO: IMEI packet received {"connection_id":219687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":219687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:38:08] local.INFO: TCP Data received {"connection_id":217946,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:38:08] local.INFO: Processing buffer {"connection_id":217946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:38:08] local.INFO: IMEI packet received {"connection_id":217946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":217946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:38:08] local.INFO: TCP Data received {"connection_id":219687,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:08] local.INFO: Processing buffer {"connection_id":219687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:08] local.INFO: IMEI packet received {"connection_id":219687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":219687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:38:10] local.INFO: TCP Data received {"connection_id":217946,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:38:10] local.INFO: Processing buffer {"connection_id":217946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:38:10] local.INFO: IMEI packet received {"connection_id":217946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":217946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:38:11] local.INFO: TCP Data received {"connection_id":217946,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142add538012d0c5180070775080012010c24..."} 
[2026-10-16 08:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142add538012d0c5180070775080012010c24..."} 
[2026-10-16 08:38:11] local.INFO: Processing buffer {"connection_id":217946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142add538012d0c5180070775080012010c24..."} 
[2026-10-16 08:38:11] local.INFO: Packet analysis {"connection_id":217946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ad"} 
[2026-10-16 08:38:11] local.INFO: Extracted packet for processing {"connection_id":217946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ad"} 
[2026-10-16 08:38:11] local.INFO: GPS Element Parsed {"raw_longitude":755782016,"raw_latitude":117929224,"longitude_deg":75.5782016,"latitude_deg":11.7929224,"altitude":18,"angle":268,"satellites":36,"speed":41,"hex_longitude":"2d0c5180","hex_latitude":"07077508","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782729728001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36428705718861824,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898397787106283520,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792120051000,"timestamp_ms":1792120051000,"timestamp_seconds":1792120051,"priority":1,"record_length":96,"hex_timestamp":"000001a142add538"} 
[2026-10-16 08:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:38: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-10-16 08:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":217946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":217946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":217946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782729728001,"66":14461,"221":206,"94":10240,"24":41,"16":36428705718861824,"45":898397787106283520},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782729728001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:38:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36428705718861824,"km_value":36428705718861.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":898397787106283520,"description":"Unknown IO ID 45"} 
[2026-10-16 08:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782729728001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":898397787106283520}} 
[2026-10-16 08:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":217946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045339,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:38:11] local.INFO: GPS data processed {"connection_id":217946,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:38:11] local.INFO: Acknowledgment sent {"connection_id":217946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:38:12] local.INFO: TCP Data received {"connection_id":219687,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:12] local.INFO: Processing buffer {"connection_id":219687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:12] local.INFO: IMEI packet received {"connection_id":219687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":219687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:38:12] local.INFO: TCP Data received {"connection_id":219687,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:12] local.INFO: Processing buffer {"connection_id":219687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:38:12] local.INFO: IMEI packet received {"connection_id":219687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":219687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:38:13] local.INFO: TCP Data received {"connection_id":219687,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac5e38012d1b2fc007248dc8002c012a24..."} 
[2026-10-16 08:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac5e38012d1b2fc007248dc8002c012a24..."} 
[2026-10-16 08:38:13] local.INFO: Processing buffer {"connection_id":219687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac5e38012d1b2fc007248dc8002c012a24..."} 
[2026-10-16 08:38:13] local.INFO: Packet analysis {"connection_id":219687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:38:13] local.INFO: Extracted packet for processing {"connection_id":219687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119836104,"longitude_deg":75.6756416,"latitude_deg":11.9836104,"altitude":44,"angle":298,"satellites":36,"speed":0,"hex_longitude":"2d1b2fc0","hex_latitude":"07248dc8","is_valid_coordinates":true} 
[2026-10-16 08:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28054541693878272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499840030720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38: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-10-16 08:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792119955000,"timestamp_ms":1792119955000,"timestamp_seconds":1792119955,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac5e38"} 
[2026-10-16 08:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:38:13] 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-10-16 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418410,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":176,"raw_value":58075821928611840,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2864975873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2378694700,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3623955739,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221693581,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2883882,"corrected_to":0} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391978,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2876571648,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:13] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,176,83,24,241,157,16,171,161,186,45,192,141,44,35,10,66,104,33,22,1,240,79,227,36,4,113,205,121,47,200,239,51,2,99,7],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0},{"io_id":200,"original":2883882,"validated":0}]} 
[2026-10-16 08:38:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170861938162794496,"timestamp_seconds":3170861938162794.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":13961,"176":206,"83":42752,"24":0,"16":28054541693878272,"45":1958995499840030720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:38:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28054541693878272,"km_value":28054541693878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499840030720,"description":"Unknown IO ID 45"} 
[2026-10-16 08:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":13961,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1958995499840030720}} 
[2026-10-16 08:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":219687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:38:13] local.INFO: GPS data processed {"connection_id":219687,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:38:13] local.INFO: Acknowledgment sent {"connection_id":219687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:38:14] local.INFO: TCP Data received {"connection_id":217946,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142adf478012d0c36c0070772c0001000fa24..."} 
[2026-10-16 08:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142adf478012d0c36c0070772c0001000fa24..."} 
[2026-10-16 08:38:14] local.INFO: Processing buffer {"connection_id":217946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142adf478012d0c36c0070772c0001000fa24..."} 
[2026-10-16 08:38:14] local.INFO: Packet analysis {"connection_id":217946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ad"} 
[2026-10-16 08:38:14] local.INFO: Extracted packet for processing {"connection_id":217946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ad"} 
[2026-10-16 08:38:14] local.INFO: GPS Element Parsed {"raw_longitude":755775168,"raw_latitude":117928640,"longitude_deg":75.5775168,"latitude_deg":11.792864,"altitude":16,"angle":250,"satellites":36,"speed":19,"hex_longitude":"2d0c36c0","hex_latitude":"070772c0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782733056001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36429036431343616,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887631369246935040,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:14] 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-10-16 08:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792120059000,"timestamp_ms":1792120059000,"timestamp_seconds":1792120059,"priority":1,"record_length":96,"hex_timestamp":"000001a142adf478"} 
[2026-10-16 08:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:38: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-10-16 08: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":125,"data_length":795,"current_offset":136} 
[2026-10-16 08:38:14] 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-10-16 08: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-10-16 08:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":217946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":217946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":217946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782733056001,"66":14646,"221":206,"94":10240,"24":19,"16":36429036431343616,"45":887631369246935040},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 08:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782733056001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:38:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 08:38:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36429036431343616,"km_value":36429036431343.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":887631369246935040,"description":"Unknown IO ID 45"} 
[2026-10-16 08:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782733056001,"power":14646,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":887631369246935040}} 
[2026-10-16 08:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":217946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045341,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:38:14] local.INFO: GPS data processed {"connection_id":217946,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:38:14] local.INFO: Acknowledgment sent {"connection_id":217946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:38:16] local.INFO: TCP Data received {"connection_id":219688,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:38:16] local.INFO: Processing buffer {"connection_id":219688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:38:16] local.INFO: IMEI packet received {"connection_id":219688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":219688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:38:21] local.INFO: TCP Data received {"connection_id":219688,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:38:21] local.INFO: Processing buffer {"connection_id":219688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:38:21] local.INFO: IMEI packet received {"connection_id":219688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":219688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:38:22] local.INFO: TCP Data received {"connection_id":219688,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:38:22] local.INFO: Processing buffer {"connection_id":219688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:38:22] local.INFO: Packet analysis {"connection_id":219688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:38:22] local.INFO: Extracted packet for processing {"connection_id":219688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:38:22] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95408064,"longitude_deg":76.3339584,"latitude_deg":9.5408064,"altitude":6,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afcfc0","is_valid_coordinates":true} 
[2026-10-16 08:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782702592001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519701014528,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792119934000,"timestamp_ms":1792119934000,"timestamp_seconds":1792119934,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac0c30"} 
[2026-10-16 08:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 08:38:22] 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-10-16 08:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782702592001,"66":27767,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197124519701014528},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782702592001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:38:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:38:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519701014528,"description":"Unknown IO ID 45"} 
[2026-10-16 08:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782702592001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197124519701014528}} 
[2026-10-16 08:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":219688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:38:22] local.INFO: GPS data processed {"connection_id":219688,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:38:22] local.INFO: Acknowledgment sent {"connection_id":219688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:38:44] local.INFO: TCP Data received {"connection_id":219687,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ae5620012d1ab200072427c0002c014d25..."} 
[2026-10-16 08:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ae5620012d1ab200072427c0002c014d25..."} 
[2026-10-16 08:38:44] local.INFO: Processing buffer {"connection_id":219687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ae5620012d1ab200072427c0002c014d25..."} 
[2026-10-16 08:38:44] local.INFO: Packet analysis {"connection_id":219687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:38:44] local.INFO: Extracted packet for processing {"connection_id":219687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756724224,"raw_latitude":119809984,"longitude_deg":75.6724224,"latitude_deg":11.9809984,"altitude":44,"angle":333,"satellites":37,"speed":7,"hex_longitude":"2d1ab200","hex_latitude":"072427c0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782741248001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28056693472493568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923670390256115712,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:44] 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-10-16 08:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792120084000,"timestamp_ms":1792120084000,"timestamp_seconds":1792120084,"priority":1,"record_length":96,"hex_timestamp":"000001a142ae5620"} 
[2026-10-16 08:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:38:44] 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-10-16 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 08:38:44] 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-10-16 08: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-10-16 08:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782741248001,"66":13928,"137":206,"83":42752,"24":7,"16":28056693472493568,"45":1923670390256115712},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782741248001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:38:44] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:38:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28056693472493568,"km_value":28056693472493.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923670390256115712,"description":"Unknown IO ID 45"} 
[2026-10-16 08:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782741248001,"power":13928,"unknown_137":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1923670390256115712}} 
[2026-10-16 08:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":219687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:38:44] local.INFO: GPS data processed {"connection_id":219687,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:38:44] local.INFO: Acknowledgment sent {"connection_id":219687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:38:45] local.INFO: TCP Data received {"connection_id":217946,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142aeded8012d0bb380070725f0001200ac22..."} 
[2026-10-16 08:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aeded8012d0bb380070725f0001200ac22..."} 
[2026-10-16 08:38:45] local.INFO: Processing buffer {"connection_id":217946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aeded8012d0bb380070725f0001200ac22..."} 
[2026-10-16 08:38:45] local.INFO: Packet analysis {"connection_id":217946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:38:45] local.INFO: Extracted packet for processing {"connection_id":217946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:38:45] local.INFO: GPS Element Parsed {"raw_longitude":755741568,"raw_latitude":117908976,"longitude_deg":75.5741568,"latitude_deg":11.7908976,"altitude":18,"angle":172,"satellites":34,"speed":31,"hex_longitude":"2d0bb380","hex_latitude":"070725f0","is_valid_coordinates":true} 
[2026-10-16 08:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782747392001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36431347123748864,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843087954178959360,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:45] 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-10-16 08:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792120119000,"timestamp_ms":1792120119000,"timestamp_seconds":1792120119,"priority":1,"record_length":96,"hex_timestamp":"000001a142aeded8"} 
[2026-10-16 08:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:38: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-10-16 08:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 08:38:45] 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-10-16 08:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":217946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":217946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":217946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782747392001,"66":14407,"163":206,"94":10240,"24":31,"16":36431347123748864,"45":843087954178959360},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-16 08:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782747392001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:38:45] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 08:38:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36431347123748864,"km_value":36431347123748.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":843087954178959360,"description":"Unknown IO ID 45"} 
[2026-10-16 08:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782747392001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":843087954178959360}} 
[2026-10-16 08:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":217946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045344,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:38:45] local.INFO: GPS data processed {"connection_id":217946,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:38:45] local.INFO: Acknowledgment sent {"connection_id":217946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:38:54] local.INFO: TCP Data received {"connection_id":219688,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:38:54] local.INFO: Processing buffer {"connection_id":219688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:38:54] local.INFO: Packet analysis {"connection_id":219688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:38:54] local.INFO: Extracted packet for processing {"connection_id":219688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95408064,"longitude_deg":76.3339584,"latitude_deg":9.5408064,"altitude":6,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afcfc0","is_valid_coordinates":true} 
[2026-10-16 08:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782702592001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519701014528,"note":"Value kept but may cause issues"} 
[2026-10-16 08:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792119934000,"timestamp_ms":1792119934000,"timestamp_seconds":1792119934,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac0c30"} 
[2026-10-16 08:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 08:38:54] 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-10-16 08:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782702592001,"66":27767,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197124519701014528},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782702592001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:38:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:38:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519701014528,"description":"Unknown IO ID 45"} 
[2026-10-16 08:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782702592001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197124519701014528}} 
[2026-10-16 08:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":219688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:38:54] local.INFO: GPS data processed {"connection_id":219688,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:38:54] local.INFO: Acknowledgment sent {"connection_id":219688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:39:03] local.INFO: TCP Data received {"connection_id":216416,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216416,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:39:03] local.INFO: Processing buffer {"connection_id":216416,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:39:03] local.INFO: IMEI packet received {"connection_id":216416,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":216416,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:39:08] local.INFO: TCP Data received {"connection_id":216416,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216416,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:39:08] local.INFO: Processing buffer {"connection_id":216416,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:39:08] local.INFO: IMEI packet received {"connection_id":216416,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":216416,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:39:09] local.INFO: TCP Data received {"connection_id":216416,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142aeea90012d0bb4c007071dd0001100bb22..."} 
[2026-10-16 08:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aeea90012d0bb4c007071dd0001100bb22..."} 
[2026-10-16 08:39:09] local.INFO: Processing buffer {"connection_id":216416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aeea90012d0bb4c007071dd0001100bb22..."} 
[2026-10-16 08:39:09] local.INFO: Packet analysis {"connection_id":216416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:39:09] local.INFO: Extracted packet for processing {"connection_id":216416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:39:09] local.INFO: GPS Element Parsed {"raw_longitude":755741888,"raw_latitude":117906896,"longitude_deg":75.5741888,"latitude_deg":11.7906896,"altitude":17,"angle":187,"satellites":34,"speed":24,"hex_longitude":"2d0bb4c0","hex_latitude":"07071dd0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782750464001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36431450202963968,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843158322921467904,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792120122000,"timestamp_ms":1792120122000,"timestamp_seconds":1792120122,"priority":1,"record_length":96,"hex_timestamp":"000001a142aeea90"} 
[2026-10-16 08:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:39: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-10-16 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 08:39:09] 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-10-16 08: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-10-16 08:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782750464001,"66":14407,"163":206,"94":10240,"24":24,"16":36431450202963968,"45":843158322921467904},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-16 08:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782750464001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:39:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 08:39:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36431450202963968,"km_value":36431450202963.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":843158322921467904,"description":"Unknown IO ID 45"} 
[2026-10-16 08:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782750464001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":843158322921467904}} 
[2026-10-16 08:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":216416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045346,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:39:09] local.INFO: GPS data processed {"connection_id":216416,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:39:09] local.INFO: Acknowledgment sent {"connection_id":216416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:39:10] local.INFO: TCP Data received {"connection_id":217948,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:39:10] local.INFO: Processing buffer {"connection_id":217948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:39:10] local.INFO: IMEI packet received {"connection_id":217948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":217948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:39:12] local.INFO: TCP Data received {"connection_id":216417,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:39:12] local.INFO: Processing buffer {"connection_id":216417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:39:12] local.INFO: IMEI packet received {"connection_id":216417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":216417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:39:12] local.INFO: TCP Data received {"connection_id":216417,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:39:12] local.INFO: Processing buffer {"connection_id":216417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:39:12] local.INFO: IMEI packet received {"connection_id":216417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":216417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:39:14] local.INFO: TCP Data received {"connection_id":216416,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142aeee78012d0bb44007071bb0001000ca22..."} 
[2026-10-16 08:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aeee78012d0bb44007071bb0001000ca22..."} 
[2026-10-16 08:39:14] local.INFO: Processing buffer {"connection_id":216416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aeee78012d0bb44007071bb0001000ca22..."} 
[2026-10-16 08:39:14] local.INFO: Packet analysis {"connection_id":216416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:39:14] local.INFO: Extracted packet for processing {"connection_id":216416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:39:14] local.INFO: GPS Element Parsed {"raw_longitude":755741760,"raw_latitude":117906352,"longitude_deg":75.574176,"latitude_deg":11.7906352,"altitude":16,"angle":202,"satellites":34,"speed":23,"hex_longitude":"2d0bb440","hex_latitude":"07071bb0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782751232001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36431475972767744,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843510166641823744,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:14] 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-10-16 08:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792120123000,"timestamp_ms":1792120123000,"timestamp_seconds":1792120123,"priority":1,"record_length":96,"hex_timestamp":"000001a142aeee78"} 
[2026-10-16 08:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:39: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-10-16 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 08:39: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-10-16 08: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-10-16 08:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782751232001,"66":14515,"163":206,"94":10240,"24":23,"16":36431475972767744,"45":843510166641823744},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-16 08:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782751232001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:39:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 08:39:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36431475972767744,"km_value":36431475972767.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":843510166641823744,"description":"Unknown IO ID 45"} 
[2026-10-16 08:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782751232001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":843510166641823744}} 
[2026-10-16 08:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":216416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045347,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:39:14] local.INFO: GPS data processed {"connection_id":216416,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:39:14] local.INFO: Acknowledgment sent {"connection_id":216416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:39:16] local.INFO: TCP Data received {"connection_id":216601,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:39:16] local.INFO: Processing buffer {"connection_id":216601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:39:16] local.INFO: IMEI packet received {"connection_id":216601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":216601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:39:17] local.INFO: TCP Data received {"connection_id":216417,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:39:17] local.INFO: Processing buffer {"connection_id":216417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:39:17] local.INFO: IMEI packet received {"connection_id":216417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":216417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:39:18] local.INFO: TCP Data received {"connection_id":216417,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ae5a08012d1ab1c007242868002c016426..."} 
[2026-10-16 08:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ae5a08012d1ab1c007242868002c016426..."} 
[2026-10-16 08:39:18] local.INFO: Processing buffer {"connection_id":216417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ae5a08012d1ab1c007242868002c016426..."} 
[2026-10-16 08:39:18] local.INFO: Packet analysis {"connection_id":216417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:39:18] local.INFO: Extracted packet for processing {"connection_id":216417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756724160,"raw_latitude":119810152,"longitude_deg":75.672416,"latitude_deg":11.9810152,"altitude":44,"angle":356,"satellites":38,"speed":6,"hex_longitude":"2d1ab1c0","hex_latitude":"07242868","is_valid_coordinates":true} 
[2026-10-16 08:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782741504001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28056702062428160,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923600021511979008,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:18] 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-10-16 08:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792120085000,"timestamp_ms":1792120085000,"timestamp_seconds":1792120085,"priority":1,"record_length":96,"hex_timestamp":"000001a142ae5a08"} 
[2026-10-16 08:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:39: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-10-16 08:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 08:39:18] 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-10-16 08:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782741504001,"66":13972,"137":206,"83":42752,"24":6,"16":28056702062428160,"45":1923600021511979008},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782741504001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:39:18] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28056702062428160,"km_value":28056702062428.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923600021511979008,"description":"Unknown IO ID 45"} 
[2026-10-16 08:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782741504001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1923600021511979008}} 
[2026-10-16 08:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":216417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:39:18] local.INFO: GPS data processed {"connection_id":216417,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:39:18] local.INFO: Acknowledgment sent {"connection_id":216417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:39:21] local.INFO: TCP Data received {"connection_id":216601,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:39:21] local.INFO: Processing buffer {"connection_id":216601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:39:21] local.INFO: IMEI packet received {"connection_id":216601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:39:22] local.INFO: TCP Data received {"connection_id":216601,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:39:22] local.INFO: Processing buffer {"connection_id":216601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:39:22] local.INFO: Packet analysis {"connection_id":216601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:39:22] local.INFO: Extracted packet for processing {"connection_id":216601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:39:22] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95408064,"longitude_deg":76.3339584,"latitude_deg":9.5408064,"altitude":6,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afcfc0","is_valid_coordinates":true} 
[2026-10-16 08:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782702592001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519701014528,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792119934000,"timestamp_ms":1792119934000,"timestamp_seconds":1792119934,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac0c30"} 
[2026-10-16 08:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 08:39:22] 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-10-16 08:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782702592001,"66":27767,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197124519701014528},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782702592001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:39:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:39:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519701014528,"description":"Unknown IO ID 45"} 
[2026-10-16 08:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782702592001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197124519701014528}} 
[2026-10-16 08:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":216601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:39:22] local.INFO: GPS data processed {"connection_id":216601,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:39:22] local.INFO: Acknowledgment sent {"connection_id":216601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:39:23] local.INFO: TCP Data received {"connection_id":216417,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ae5df0012d1ab20007242958002c001126..."} 
[2026-10-16 08:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ae5df0012d1ab20007242958002c001126..."} 
[2026-10-16 08:39:23] local.INFO: Processing buffer {"connection_id":216417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ae5df0012d1ab20007242958002c001126..."} 
[2026-10-16 08:39:23] local.INFO: Packet analysis {"connection_id":216417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:39:23] local.INFO: Extracted packet for processing {"connection_id":216417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756724224,"raw_latitude":119810392,"longitude_deg":75.6724224,"latitude_deg":11.9810392,"altitude":44,"angle":17,"satellites":38,"speed":10,"hex_longitude":"2d1ab200","hex_latitude":"07242958","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782741760001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28056714947330048,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923529652767844352,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:23] 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-10-16 08:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120086000,"timestamp_ms":1792120086000,"timestamp_seconds":1792120086,"priority":1,"record_length":96,"hex_timestamp":"000001a142ae5df0"} 
[2026-10-16 08:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:39:23] 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-10-16 08: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-16 08:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782741760001,"66":13972,"137":206,"83":42752,"24":10,"16":28056714947330048,"45":1923529652767844352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782741760001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:39:23] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28056714947330048,"km_value":28056714947330.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923529652767844352,"description":"Unknown IO ID 45"} 
[2026-10-16 08:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782741760001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1923529652767844352}} 
[2026-10-16 08:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":216417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:39:23] local.INFO: GPS data processed {"connection_id":216417,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:39:23] local.INFO: Acknowledgment sent {"connection_id":216417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:39:45] local.INFO: TCP Data received {"connection_id":216416,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142aef260012d0bb300070719f0001000da23..."} 
[2026-10-16 08:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aef260012d0bb300070719f0001000da23..."} 
[2026-10-16 08:39:45] local.INFO: Processing buffer {"connection_id":216416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aef260012d0bb300070719f0001000da23..."} 
[2026-10-16 08:39:45] local.INFO: Packet analysis {"connection_id":216416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:39:45] local.INFO: Extracted packet for processing {"connection_id":216416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:39:45] local.INFO: GPS Element Parsed {"raw_longitude":755741440,"raw_latitude":117905904,"longitude_deg":75.574144,"latitude_deg":11.7905904,"altitude":16,"angle":218,"satellites":35,"speed":21,"hex_longitude":"2d0bb300","hex_latitude":"070719f0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782751488001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36431501742571520,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843369429153329152,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:45] 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-10-16 08:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792120124000,"timestamp_ms":1792120124000,"timestamp_seconds":1792120124,"priority":1,"record_length":96,"hex_timestamp":"000001a142aef260"} 
[2026-10-16 08:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:39: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-10-16 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 08:39:45] 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-10-16 08: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-10-16 08:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782751488001,"66":14515,"163":206,"94":10240,"24":21,"16":36431501742571520,"45":843369429153329152},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-16 08:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782751488001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:39:45] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 08:39:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36431501742571520,"km_value":36431501742571.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":843369429153329152,"description":"Unknown IO ID 45"} 
[2026-10-16 08:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782751488001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":843369429153329152}} 
[2026-10-16 08:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":216416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:39:45] local.INFO: GPS data processed {"connection_id":216416,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:39:45] local.INFO: Acknowledgment sent {"connection_id":216416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:39:51] local.INFO: TCP Data received {"connection_id":217949,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:39:51] local.INFO: Processing buffer {"connection_id":217949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:39:51] local.INFO: IMEI packet received {"connection_id":217949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":217949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:39:54] local.INFO: TCP Data received {"connection_id":216601,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:39:54] local.INFO: Processing buffer {"connection_id":216601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:39:54] local.INFO: Packet analysis {"connection_id":216601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:39:54] local.INFO: Extracted packet for processing {"connection_id":216601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95408064,"longitude_deg":76.3339584,"latitude_deg":9.5408064,"altitude":6,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afcfc0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782702592001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519701014528,"note":"Value kept but may cause issues"} 
[2026-10-16 08:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792119934000,"timestamp_ms":1792119934000,"timestamp_seconds":1792119934,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac0c30"} 
[2026-10-16 08:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 08:39:54] 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-10-16 08: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-10-16 08:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782702592001,"66":27767,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197124519701014528},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782702592001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:39:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:39:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519701014528,"description":"Unknown IO ID 45"} 
[2026-10-16 08:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782702592001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197124519701014528}} 
[2026-10-16 08:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":216601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:39:54] local.INFO: GPS data processed {"connection_id":216601,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:39:54] local.INFO: Acknowledgment sent {"connection_id":216601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:40:04] local.INFO: TCP Data received {"connection_id":217950,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217950,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:40:04] local.INFO: Processing buffer {"connection_id":217950,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:40:04] local.INFO: IMEI packet received {"connection_id":217950,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":217950,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:40:04] local.INFO: TCP Data received {"connection_id":217950,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217950,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:40:04] local.INFO: Processing buffer {"connection_id":217950,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:40:04] local.INFO: IMEI packet received {"connection_id":217950,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":217950,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:40:05] local.INFO: TCP Data received {"connection_id":217950,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217950,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:40:05] local.INFO: Processing buffer {"connection_id":217950,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:40:05] local.INFO: IMEI packet received {"connection_id":217950,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":217950,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:40:06] local.INFO: TCP Data received {"connection_id":217950,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142afb998012d0b2e800706ca00001200ce21..."} 
[2026-10-16 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142afb998012d0b2e800706ca00001200ce21..."} 
[2026-10-16 08:40:06] local.INFO: Processing buffer {"connection_id":217950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142afb998012d0b2e800706ca00001200ce21..."} 
[2026-10-16 08:40:06] local.INFO: Packet analysis {"connection_id":217950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:40:06] local.INFO: Extracted packet for processing {"connection_id":217950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":755707520,"raw_latitude":117885440,"longitude_deg":75.570752,"latitude_deg":11.788544,"altitude":18,"angle":206,"satellites":33,"speed":41,"hex_longitude":"2d0b2e80","hex_latitude":"0706ca00","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36433563326873600,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810225750642511872,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:06] 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-10-16 08:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792120175000,"timestamp_ms":1792120175000,"timestamp_seconds":1792120175,"priority":1,"record_length":96,"hex_timestamp":"000001a142afb998"} 
[2026-10-16 08:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08: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-10-16 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:40: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-10-16 08: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-10-16 08:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217950,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217950,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782762496001,"66":14461,"163":206,"94":10240,"24":41,"16":36433563326873600,"45":810225750642511872},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-16 08:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:40:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 08:40:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36433563326873600,"km_value":36433563326873.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":810225750642511872,"description":"Unknown IO ID 45"} 
[2026-10-16 08:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782762496001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":810225750642511872}} 
[2026-10-16 08:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":217950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045353,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:40:06] local.INFO: GPS data processed {"connection_id":217950,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:40:06] local.INFO: Acknowledgment sent {"connection_id":217950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:40:08] local.INFO: TCP Data received {"connection_id":216418,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:40:08] local.INFO: Processing buffer {"connection_id":216418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:40:08] local.INFO: IMEI packet received {"connection_id":216418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":216418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:40:13] local.INFO: TCP Data received {"connection_id":216418,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:40:13] local.INFO: Processing buffer {"connection_id":216418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:40:13] local.INFO: IMEI packet received {"connection_id":216418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":216418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:40:13] local.INFO: TCP Data received {"connection_id":216418,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ae61d8012d1ab2c007242a90002c002426..."} 
[2026-10-16 08:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ae61d8012d1ab2c007242a90002c002426..."} 
[2026-10-16 08:40:13] local.INFO: Processing buffer {"connection_id":216418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ae61d8012d1ab2c007242a90002c002426..."} 
[2026-10-16 08:40:13] local.INFO: Packet analysis {"connection_id":216418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:40:13] local.INFO: Extracted packet for processing {"connection_id":216418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:40:13] local.INFO: GPS Element Parsed {"raw_longitude":756724416,"raw_latitude":119810704,"longitude_deg":75.6724416,"latitude_deg":11.9810704,"altitude":44,"angle":36,"satellites":38,"speed":14,"hex_longitude":"2d1ab2c0","hex_latitude":"07242a90","is_valid_coordinates":true} 
[2026-10-16 08:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782742016001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28056732127199232,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923600021512083456,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:13] 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-10-16 08:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792120087000,"timestamp_ms":1792120087000,"timestamp_seconds":1792120087,"priority":1,"record_length":96,"hex_timestamp":"000001a142ae61d8"} 
[2026-10-16 08:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:40:13] 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-10-16 08:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-16 08:40:13] 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-10-16 08:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782742016001,"66":13167,"137":206,"83":42752,"24":14,"16":28056732127199232,"45":1923600021512083456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782742016001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:40:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28056732127199232,"km_value":28056732127199.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923600021512083456,"description":"Unknown IO ID 45"} 
[2026-10-16 08:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782742016001,"power":13167,"unknown_137":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1923600021512083456}} 
[2026-10-16 08:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":216418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:40:14] local.INFO: GPS data processed {"connection_id":216418,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:40:14] local.INFO: Acknowledgment sent {"connection_id":216418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:40:17] local.INFO: TCP Data received {"connection_id":219689,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:40:17] local.INFO: Processing buffer {"connection_id":219689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:40:17] local.INFO: IMEI packet received {"connection_id":219689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":219689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:40:18] local.INFO: TCP Data received {"connection_id":216418,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ae65c0012d1ab3c007242bd8002c003426..."} 
[2026-10-16 08:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ae65c0012d1ab3c007242bd8002c003426..."} 
[2026-10-16 08:40:18] local.INFO: Processing buffer {"connection_id":216418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ae65c0012d1ab3c007242bd8002c003426..."} 
[2026-10-16 08:40:18] local.INFO: Packet analysis {"connection_id":216418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:40:18] local.INFO: Extracted packet for processing {"connection_id":216418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756724672,"raw_latitude":119811032,"longitude_deg":75.6724672,"latitude_deg":11.9811032,"altitude":44,"angle":52,"satellites":38,"speed":18,"hex_longitude":"2d1ab3c0","hex_latitude":"07242bd8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782742272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28056753602035712,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923811127744696320,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:18] 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-10-16 08:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792120088000,"timestamp_ms":1792120088000,"timestamp_seconds":1792120088,"priority":1,"record_length":96,"hex_timestamp":"000001a142ae65c0"} 
[2026-10-16 08:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:40: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-10-16 08: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-16 08:40:18] 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-10-16 08: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-10-16 08:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782742272001,"66":13167,"137":206,"83":42752,"24":18,"16":28056753602035712,"45":1923811127744696320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782742272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:40:18] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28056753602035712,"km_value":28056753602035.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923811127744696320,"description":"Unknown IO ID 45"} 
[2026-10-16 08:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782742272001,"power":13167,"unknown_137":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1923811127744696320}} 
[2026-10-16 08:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":216418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:40:18] local.INFO: GPS data processed {"connection_id":216418,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:40:18] local.INFO: Acknowledgment sent {"connection_id":216418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:40:22] local.INFO: TCP Data received {"connection_id":219689,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:40:22] local.INFO: Processing buffer {"connection_id":219689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:40:22] local.INFO: IMEI packet received {"connection_id":219689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":219689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:40:23] local.INFO: TCP Data received {"connection_id":219689,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:40:23] local.INFO: Processing buffer {"connection_id":219689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:40:23] local.INFO: Packet analysis {"connection_id":219689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:40:23] local.INFO: Extracted packet for processing {"connection_id":219689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95408064,"longitude_deg":76.3339584,"latitude_deg":9.5408064,"altitude":6,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afcfc0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782702592001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519701014528,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792119934000,"timestamp_ms":1792119934000,"timestamp_seconds":1792119934,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac0c30"} 
[2026-10-16 08:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 08:40:23] 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-10-16 08: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-10-16 08:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782702592001,"66":27767,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197124519701014528},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782702592001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:40:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:40:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519701014528,"description":"Unknown IO ID 45"} 
[2026-10-16 08:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782702592001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197124519701014528}} 
[2026-10-16 08:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":219689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:40:23] local.INFO: GPS data processed {"connection_id":219689,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:40:23] local.INFO: Acknowledgment sent {"connection_id":219689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:40:37] local.INFO: TCP Data received {"connection_id":217950,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142afe490012d0b1ec00706a858001200cc1f..."} 
[2026-10-16 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142afe490012d0b1ec00706a858001200cc1f..."} 
[2026-10-16 08:40:37] local.INFO: Processing buffer {"connection_id":217950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142afe490012d0b1ec00706a858001200cc1f..."} 
[2026-10-16 08:40:37] local.INFO: Packet analysis {"connection_id":217950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:40:37] local.INFO: Extracted packet for processing {"connection_id":217950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":755703488,"raw_latitude":117876824,"longitude_deg":75.5703488,"latitude_deg":11.7876824,"altitude":18,"angle":204,"satellites":31,"speed":27,"hex_longitude":"2d0b1ec0","hex_latitude":"0706a858","is_valid_coordinates":true} 
[2026-10-16 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782764800001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36434022888374272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805722151012925440,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:37] 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-10-16 08:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792120186000,"timestamp_ms":1792120186000,"timestamp_seconds":1792120186,"priority":1,"record_length":96,"hex_timestamp":"000001a142afe490"} 
[2026-10-16 08:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:40: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-10-16 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 08:40: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-10-16 08:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217950,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217950,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782764800001,"66":14396,"163":206,"94":10240,"24":27,"16":36434022888374272,"45":805722151012925440},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-16 08:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782764800001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:40:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 08:40:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36434022888374272,"km_value":36434022888374.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":805722151012925440,"description":"Unknown IO ID 45"} 
[2026-10-16 08:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782764800001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":805722151012925440}} 
[2026-10-16 08:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":217950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045357,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:40:37] local.INFO: GPS data processed {"connection_id":217950,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:40:37] local.INFO: Acknowledgment sent {"connection_id":217950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:40:49] local.INFO: TCP Data received {"connection_id":216418,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ae7948012d1abac0072430c0002c002426..."} 
[2026-10-16 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ae7948012d1abac0072430c0002c002426..."} 
[2026-10-16 08:40:49] local.INFO: Processing buffer {"connection_id":216418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ae7948012d1abac0072430c0002c002426..."} 
[2026-10-16 08:40:49] local.INFO: Packet analysis {"connection_id":216418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:40:49] local.INFO: Extracted packet for processing {"connection_id":216418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756726464,"raw_latitude":119812288,"longitude_deg":75.6726464,"latitude_deg":11.9812288,"altitude":44,"angle":36,"satellites":38,"speed":9,"hex_longitude":"2d1abac0","hex_latitude":"072430c0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782742528001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28056856681250816,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924092602721490944,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:49] 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-10-16 08:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792120093000,"timestamp_ms":1792120093000,"timestamp_seconds":1792120093,"priority":1,"record_length":96,"hex_timestamp":"000001a142ae7948"} 
[2026-10-16 08:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:40: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-10-16 08: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-16 08:40:49] 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-10-16 08: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-10-16 08:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":216418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":216418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":216418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782742528001,"66":14113,"137":206,"83":42752,"24":9,"16":28056856681250816,"45":1924092602721490944},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782742528001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:40:49] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28056856681250816,"km_value":28056856681250.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924092602721490944,"description":"Unknown IO ID 45"} 
[2026-10-16 08:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782742528001,"power":14113,"unknown_137":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1924092602721490944}} 
[2026-10-16 08:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":216418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:40:49] local.INFO: GPS data processed {"connection_id":216418,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:40:49] local.INFO: Acknowledgment sent {"connection_id":216418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:40:55] local.INFO: TCP Data received {"connection_id":219689,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:40:55] local.INFO: Processing buffer {"connection_id":219689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ac0c30012d7fa34005afcfc00006009e24..."} 
[2026-10-16 08:40:55] local.INFO: Packet analysis {"connection_id":219689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:40:55] local.INFO: Extracted packet for processing {"connection_id":219689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ac"} 
[2026-10-16 08:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95408064,"longitude_deg":76.3339584,"latitude_deg":9.5408064,"altitude":6,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afcfc0","is_valid_coordinates":true} 
[2026-10-16 08:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782702592001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519701014528,"note":"Value kept but may cause issues"} 
[2026-10-16 08:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792119934000,"timestamp_ms":1792119934000,"timestamp_seconds":1792119934,"priority":1,"record_length":96,"hex_timestamp":"000001a142ac0c30"} 
[2026-10-16 08:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 08:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782702592001,"66":27767,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197124519701014528},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782702592001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:40:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:40:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519701014528,"description":"Unknown IO ID 45"} 
[2026-10-16 08:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782702592001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197124519701014528}} 
[2026-10-16 08:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":219689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:40:55] local.INFO: GPS data processed {"connection_id":219689,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:40:55] local.INFO: Acknowledgment sent {"connection_id":219689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:41:04] local.INFO: TCP Data received {"connection_id":216602,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:41:04] local.INFO: Processing buffer {"connection_id":216602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:41:04] local.INFO: IMEI packet received {"connection_id":216602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":216602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:41:05] local.INFO: TCP Data received {"connection_id":216602,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:41:05] local.INFO: Processing buffer {"connection_id":216602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:41:05] local.INFO: IMEI packet received {"connection_id":216602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":216602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:41:08] local.INFO: TCP Data received {"connection_id":217951,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:41:08] local.INFO: Processing buffer {"connection_id":217951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:41:08] local.INFO: IMEI packet received {"connection_id":217951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":217951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:41:13] local.INFO: TCP Data received {"connection_id":217951,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:41:13] local.INFO: Processing buffer {"connection_id":217951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:41:13] local.INFO: IMEI packet received {"connection_id":217951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":217951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:41:14] local.INFO: TCP Data received {"connection_id":217951,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142aecb50012d1abb4007243160002c002426..."} 
[2026-10-16 08:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142aecb50012d1abb4007243160002c002426..."} 
[2026-10-16 08:41:14] local.INFO: Processing buffer {"connection_id":217951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142aecb50012d1abb4007243160002c002426..."} 
[2026-10-16 08:41:14] local.INFO: Packet analysis {"connection_id":217951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:41:14] local.INFO: Extracted packet for processing {"connection_id":217951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ae"} 
[2026-10-16 08:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756726592,"raw_latitude":119812448,"longitude_deg":75.6726592,"latitude_deg":11.9812448,"altitude":44,"angle":36,"satellites":38,"speed":0,"hex_longitude":"2d1abb40","hex_latitude":"07243160","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782743808001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28056869566152704,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926062927558787072,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:14] 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-10-16 08:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792120114000,"timestamp_ms":1792120114000,"timestamp_seconds":1792120114,"priority":1,"record_length":96,"hex_timestamp":"000001a142aecb50"} 
[2026-10-16 08:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:41:14] 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-10-16 08: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-16 08:41:14] 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-10-16 08: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-10-16 08:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":217951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":217951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":217951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782743808001,"66":14396,"137":206,"83":42752,"24":0,"16":28056869566152704,"45":1926062927558787072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782743808001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:41:14] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28056869566152704,"km_value":28056869566152.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926062927558787072,"description":"Unknown IO ID 45"} 
[2026-10-16 08:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782743808001,"power":14396,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1926062927558787072}} 
[2026-10-16 08:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":217951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:41:14] local.INFO: GPS data processed {"connection_id":217951,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:41:14] local.INFO: Acknowledgment sent {"connection_id":217951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:41:15] local.INFO: TCP Data received {"connection_id":216602,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142affc00012d0b170007069a50001100d820..."} 
[2026-10-16 08:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142affc00012d0b170007069a50001100d820..."} 
[2026-10-16 08:41:15] local.INFO: Processing buffer {"connection_id":216602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142affc00012d0b170007069a50001100d820..."} 
[2026-10-16 08:41:15] local.INFO: Packet analysis {"connection_id":216602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:41:15] local.INFO: Extracted packet for processing {"connection_id":216602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:41:15] local.INFO: GPS Element Parsed {"raw_longitude":755701504,"raw_latitude":117873232,"longitude_deg":75.5701504,"latitude_deg":11.7873232,"altitude":17,"angle":216,"satellites":32,"speed":28,"hex_longitude":"2d0b1700","hex_latitude":"07069a50","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782767616001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36434220456869888,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801288920127526912,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41: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-10-16 08:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792120192000,"timestamp_ms":1792120192000,"timestamp_seconds":1792120192,"priority":1,"record_length":96,"hex_timestamp":"000001a142affc00"} 
[2026-10-16 08:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:41: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-10-16 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:41: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-10-16 08: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-10-16 08:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782767616001,"66":14450,"163":206,"94":10240,"24":28,"16":36434220456869888,"45":801288920127526912},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-16 08:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782767616001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:41:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 08:41:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36434220456869888,"km_value":36434220456869.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":801288920127526912,"description":"Unknown IO ID 45"} 
[2026-10-16 08:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782767616001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":801288920127526912}} 
[2026-10-16 08:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":216602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045361,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:41:15] local.INFO: GPS data processed {"connection_id":216602,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:41:15] local.INFO: Acknowledgment sent {"connection_id":216602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:41:16] local.INFO: TCP Data received {"connection_id":219690,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:41:16] local.INFO: Processing buffer {"connection_id":219690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:41:16] local.INFO: IMEI packet received {"connection_id":219690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":219690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:41:22] local.INFO: TCP Data received {"connection_id":219690,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:41:22] local.INFO: Processing buffer {"connection_id":219690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:41:22] local.INFO: IMEI packet received {"connection_id":219690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":219690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:41:23] local.INFO: TCP Data received {"connection_id":219690,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:41:23] local.INFO: Processing buffer {"connection_id":219690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:41:23] local.INFO: Packet analysis {"connection_id":219690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:41:23] local.INFO: Extracted packet for processing {"connection_id":219690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189326848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120235000,"timestamp_ms":1792120235000,"timestamp_seconds":1792120235,"priority":1,"record_length":96,"hex_timestamp":"000001a142b0a3f8"} 
[2026-10-16 08:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:41:23] 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-10-16 08:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":26539,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189326848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:41:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:41:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189326848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":26539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189326848}} 
[2026-10-16 08:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":219690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:41:23] local.INFO: GPS data processed {"connection_id":219690,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:41:23] local.INFO: Acknowledgment sent {"connection_id":219690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:41:45] local.INFO: TCP Data received {"connection_id":217951,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142af1d58012d1abb4007243160002c002425..."} 
[2026-10-16 08:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142af1d58012d1abb4007243160002c002425..."} 
[2026-10-16 08:41:45] local.INFO: Processing buffer {"connection_id":217951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142af1d58012d1abb4007243160002c002425..."} 
[2026-10-16 08:41:45] local.INFO: Packet analysis {"connection_id":217951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:41:45] local.INFO: Extracted packet for processing {"connection_id":217951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756726592,"raw_latitude":119812448,"longitude_deg":75.6726592,"latitude_deg":11.9812448,"altitude":44,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d1abb40","hex_latitude":"07243160","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782749184001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28056869566152704,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926203665047183360,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:45] 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-10-16 08:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792120135000,"timestamp_ms":1792120135000,"timestamp_seconds":1792120135,"priority":1,"record_length":96,"hex_timestamp":"000001a142af1d58"} 
[2026-10-16 08:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:41:45] 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-10-16 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":217951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":217951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":217951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782749184001,"66":13939,"137":206,"83":42752,"24":0,"16":28056869566152704,"45":1926203665047183360},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782749184001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:41:45] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28056869566152704,"km_value":28056869566152.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926203665047183360,"description":"Unknown IO ID 45"} 
[2026-10-16 08:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782749184001,"power":13939,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1926203665047183360}} 
[2026-10-16 08:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":217951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:41:45] local.INFO: GPS data processed {"connection_id":217951,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:41:45] local.INFO: Acknowledgment sent {"connection_id":217951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:41:48] local.INFO: TCP Data received {"connection_id":216602,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b02310012d0aff0007067fc0000f00da20..."} 
[2026-10-16 08:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b02310012d0aff0007067fc0000f00da20..."} 
[2026-10-16 08:41:48] local.INFO: Processing buffer {"connection_id":216602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b02310012d0aff0007067fc0000f00da20..."} 
[2026-10-16 08:41:48] local.INFO: Packet analysis {"connection_id":216602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:41:48] local.INFO: Extracted packet for processing {"connection_id":216602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:41:48] local.INFO: GPS Element Parsed {"raw_longitude":755695360,"raw_latitude":117866432,"longitude_deg":75.569536,"latitude_deg":11.7866432,"altitude":15,"angle":218,"satellites":32,"speed":34,"hex_longitude":"2d0aff00","hex_latitude":"07067fc0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782769152001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36434662838501376,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799107489057099776,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:48] 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-10-16 08:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792120202000,"timestamp_ms":1792120202000,"timestamp_seconds":1792120202,"priority":1,"record_length":96,"hex_timestamp":"000001a142b02310"} 
[2026-10-16 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-10-16 08:41: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-10-16 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:41:48] 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-10-16 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-10-16 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-10-16 08:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782769152001,"66":14428,"163":206,"94":10240,"24":34,"16":36434662838501376,"45":799107489057099776},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-10-16 08:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782769152001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:41:48] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 08:41:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36434662838501376,"km_value":36434662838501.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":799107489057099776,"description":"Unknown IO ID 45"} 
[2026-10-16 08:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782769152001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":799107489057099776}} 
[2026-10-16 08:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":216602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045364,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:41:49] local.INFO: GPS data processed {"connection_id":216602,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:41:49] local.INFO: Acknowledgment sent {"connection_id":216602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:41:55] local.INFO: TCP Data received {"connection_id":219690,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:41:55] local.INFO: Processing buffer {"connection_id":219690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:41:55] local.INFO: Packet analysis {"connection_id":219690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:41:55] local.INFO: Extracted packet for processing {"connection_id":219690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189326848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792120235000,"timestamp_ms":1792120235000,"timestamp_seconds":1792120235,"priority":1,"record_length":96,"hex_timestamp":"000001a142b0a3f8"} 
[2026-10-16 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-10-16 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:41:55] 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-10-16 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-10-16 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-10-16 08:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":26539,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189326848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:41:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:41:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189326848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":26539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189326848}} 
[2026-10-16 08:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":219690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:41:55] local.INFO: GPS data processed {"connection_id":219690,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:41:55] local.INFO: Acknowledgment sent {"connection_id":219690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:42:03] local.INFO: TCP Data received {"connection_id":219692,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:42:03] local.INFO: Processing buffer {"connection_id":219692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:42:03] local.INFO: IMEI packet received {"connection_id":219692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":219692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:42:03] local.INFO: TCP Data received {"connection_id":219692,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:42:03] local.INFO: Processing buffer {"connection_id":219692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:42:03] local.INFO: IMEI packet received {"connection_id":219692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":219692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:42:08] local.INFO: TCP Data received {"connection_id":216421,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:42:08] local.INFO: Processing buffer {"connection_id":216421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:42:08] local.INFO: IMEI packet received {"connection_id":216421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":216421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:42:08] local.INFO: TCP Data received {"connection_id":219692,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:42:08] local.INFO: Processing buffer {"connection_id":219692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:42:08] local.INFO: IMEI packet received {"connection_id":219692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":219692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:42:13] local.INFO: TCP Data received {"connection_id":216421,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:42:13] local.INFO: Processing buffer {"connection_id":216421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:42:13] local.INFO: IMEI packet received {"connection_id":216421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":216421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:42:14] local.INFO: TCP Data received {"connection_id":216421,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142af57f0012d1abc8007243270002b003e28..."} 
[2026-10-16 08:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142af57f0012d1abc8007243270002b003e28..."} 
[2026-10-16 08:42:14] local.INFO: Processing buffer {"connection_id":216421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142af57f0012d1abc8007243270002b003e28..."} 
[2026-10-16 08:42:14] local.INFO: Packet analysis {"connection_id":216421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:42:14] local.INFO: Extracted packet for processing {"connection_id":216421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756726912,"raw_latitude":119812720,"longitude_deg":75.6726912,"latitude_deg":11.981272,"altitude":43,"angle":62,"satellites":40,"speed":8,"hex_longitude":"2d1abc80","hex_latitude":"07243270","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782754560001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28056891040989184,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926203665047183360,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:14] 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-10-16 08:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792120150000,"timestamp_ms":1792120150000,"timestamp_seconds":1792120150,"priority":1,"record_length":96,"hex_timestamp":"000001a142af57f0"} 
[2026-10-16 08:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:42:14] 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-10-16 08: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-10-16 08:42:14] 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-10-16 08: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-10-16 08:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782754560001,"66":13961,"137":206,"83":42752,"24":8,"16":28056891040989184,"45":1926203665047183360},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782754560001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:42:14] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28056891040989184,"km_value":28056891040989.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926203665047183360,"description":"Unknown IO ID 45"} 
[2026-10-16 08:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782754560001,"power":13961,"unknown_137":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1926203665047183360}} 
[2026-10-16 08:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":216421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:42:14] local.INFO: GPS data processed {"connection_id":216421,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:42:14] local.INFO: Acknowledgment sent {"connection_id":216421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:42:22] local.INFO: TCP Data received {"connection_id":219693,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:42:22] local.INFO: Processing buffer {"connection_id":219693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:42:22] local.INFO: IMEI packet received {"connection_id":219693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":219693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:42:23] local.INFO: TCP Data received {"connection_id":219692,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b1b180012d0b4c000705ffc8000d007322..."} 
[2026-10-16 08:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b1b180012d0b4c000705ffc8000d007322..."} 
[2026-10-16 08:42:23] local.INFO: Processing buffer {"connection_id":219692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b1b180012d0b4c000705ffc8000d007322..."} 
[2026-10-16 08:42:23] local.INFO: Packet analysis {"connection_id":219692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b1"} 
[2026-10-16 08:42:23] local.INFO: Extracted packet for processing {"connection_id":219692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b1"} 
[2026-10-16 08:42:23] local.INFO: GPS Element Parsed {"raw_longitude":755715072,"raw_latitude":117833672,"longitude_deg":75.5715072,"latitude_deg":11.7833672,"altitude":13,"angle":115,"satellites":34,"speed":15,"hex_longitude":"2d0b4c00","hex_latitude":"0705ffc8","is_valid_coordinates":true} 
[2026-10-16 08:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782796800001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36436836091953152,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812055337975990272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42: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-10-16 08:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120304000,"timestamp_ms":1792120304000,"timestamp_seconds":1792120304,"priority":1,"record_length":96,"hex_timestamp":"000001a142b1b180"} 
[2026-10-16 08:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:42:23] 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-10-16 08:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:42: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-10-16 08:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782796800001,"66":14439,"165":206,"94":10240,"24":15,"16":36436836091953152,"45":812055337975990272},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 08:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782796800001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:42:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 08:42:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36436836091953152,"km_value":36436836091953.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":812055337975990272,"description":"Unknown IO ID 45"} 
[2026-10-16 08:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782796800001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":812055337975990272}} 
[2026-10-16 08:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":219692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045367,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:42:23] local.INFO: GPS data processed {"connection_id":219692,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:42:23] local.INFO: Acknowledgment sent {"connection_id":219692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:42:27] local.INFO: TCP Data received {"connection_id":219693,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:42:27] local.INFO: Processing buffer {"connection_id":219693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:42:27] local.INFO: IMEI packet received {"connection_id":219693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":219693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:42:29] local.INFO: TCP Data received {"connection_id":219693,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:42:29] local.INFO: Processing buffer {"connection_id":219693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:42:29] local.INFO: Packet analysis {"connection_id":219693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:42:29] local.INFO: Extracted packet for processing {"connection_id":219693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:42:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:42: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-10-16 08:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189326848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792120235000,"timestamp_ms":1792120235000,"timestamp_seconds":1792120235,"priority":1,"record_length":96,"hex_timestamp":"000001a142b0a3f8"} 
[2026-10-16 08:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:42: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-10-16 08:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":26539,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189326848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:42:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:42:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189326848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":26539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189326848}} 
[2026-10-16 08:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":219693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:42:29] local.INFO: GPS data processed {"connection_id":219693,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:42:29] local.INFO: Acknowledgment sent {"connection_id":219693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:42:32] local.INFO: TCP Data received {"connection_id":219693,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:42:32] local.INFO: Processing buffer {"connection_id":219693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:42:32] local.INFO: Packet analysis {"connection_id":219693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:42:32] local.INFO: Extracted packet for processing {"connection_id":219693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189326848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792120235000,"timestamp_ms":1792120235000,"timestamp_seconds":1792120235,"priority":1,"record_length":96,"hex_timestamp":"000001a142b0a3f8"} 
[2026-10-16 08:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":26539,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189326848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:42:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:42:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189326848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":26539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189326848}} 
[2026-10-16 08:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":219693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:42:32] local.INFO: GPS data processed {"connection_id":219693,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:42:32] local.INFO: Acknowledgment sent {"connection_id":219693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:42:45] local.INFO: TCP Data received {"connection_id":216421,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:42:45] local.INFO: Processing buffer {"connection_id":216421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:42:45] local.INFO: Packet analysis {"connection_id":216421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:42:45] local.INFO: Extracted packet for processing {"connection_id":216421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756732736,"raw_latitude":119815552,"longitude_deg":75.6732736,"latitude_deg":11.9815552,"altitude":44,"angle":54,"satellites":40,"speed":24,"hex_longitude":"2d1ad340","hex_latitude":"07243d80","is_valid_coordinates":true} 
[2026-10-16 08:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782758400001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28057200278634496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926555508768141312,"note":"Value kept but may cause issues"} 
[2026-10-16 08:42:45] 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-10-16 08:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792120163000,"timestamp_ms":1792120163000,"timestamp_seconds":1792120163,"priority":1,"record_length":96,"hex_timestamp":"000001a142af8ab8"} 
[2026-10-16 08:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:42:45] 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-10-16 08: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 08:42:45] 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-10-16 08: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-10-16 08:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782758400001,"66":13928,"176":206,"83":42752,"24":24,"16":28057200278634496,"45":1926555508768141312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782758400001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:42:45] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28057200278634496,"km_value":28057200278634.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926555508768141312,"description":"Unknown IO ID 45"} 
[2026-10-16 08:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782758400001,"power":13928,"unknown_176":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1926555508768141312}} 
[2026-10-16 08:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":216421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:42:45] local.INFO: GPS data processed {"connection_id":216421,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:42:45] local.INFO: Acknowledgment sent {"connection_id":216421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:43:02] local.INFO: TCP Data received {"connection_id":219694,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:02] local.INFO: Processing buffer {"connection_id":219694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:02] local.INFO: IMEI packet received {"connection_id":219694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":219694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:43:03] local.INFO: TCP Data received {"connection_id":219694,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:03] local.INFO: Processing buffer {"connection_id":219694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:03] local.INFO: IMEI packet received {"connection_id":219694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":219694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:43:06] local.INFO: TCP Data received {"connection_id":219694,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:06] local.INFO: Processing buffer {"connection_id":219694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:06] local.INFO: IMEI packet received {"connection_id":219694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":219694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:43:07] local.INFO: TCP Data received {"connection_id":219694,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:07] local.INFO: Processing buffer {"connection_id":219694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:43:07] local.INFO: IMEI packet received {"connection_id":219694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":219694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:43:08] local.INFO: TCP Data received {"connection_id":219694,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b29be0012d0b528007060980000d00c61f..."} 
[2026-10-16 08:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b29be0012d0b528007060980000d00c61f..."} 
[2026-10-16 08:43:08] local.INFO: Processing buffer {"connection_id":219694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b29be0012d0b528007060980000d00c61f..."} 
[2026-10-16 08:43:08] local.INFO: Packet analysis {"connection_id":219694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b2"} 
[2026-10-16 08:43:08] local.INFO: Extracted packet for processing {"connection_id":219694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b2"} 
[2026-10-16 08:43:08] local.INFO: GPS Element Parsed {"raw_longitude":755716736,"raw_latitude":117836160,"longitude_deg":75.5716736,"latitude_deg":11.783616,"altitude":13,"angle":198,"satellites":31,"speed":2,"hex_longitude":"2d0b5280","hex_latitude":"07060980","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782812672001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36437068020187136,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815925618906097664,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:08] 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-10-16 08:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792120364000,"timestamp_ms":1792120364000,"timestamp_seconds":1792120364,"priority":1,"record_length":96,"hex_timestamp":"000001a142b29be0"} 
[2026-10-16 08:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 08:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":219694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":219694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":219694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782812672001,"66":14407,"165":206,"94":10240,"24":2,"16":36437068020187136,"45":815925618906097664},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 08:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782812672001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:43:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 08:43:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36437068020187136,"km_value":36437068020187.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":815925618906097664,"description":"Unknown IO ID 45"} 
[2026-10-16 08:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782812672001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":815925618906097664}} 
[2026-10-16 08:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":219694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045371,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:43:08] local.INFO: GPS data processed {"connection_id":219694,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:43:08] local.INFO: Acknowledgment sent {"connection_id":219694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:43:08] local.INFO: TCP Data received {"connection_id":219695,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:43:08] local.INFO: Processing buffer {"connection_id":219695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:43:08] local.INFO: IMEI packet received {"connection_id":219695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":219695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:43:13] local.INFO: TCP Data received {"connection_id":219695,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:43:13] local.INFO: Processing buffer {"connection_id":219695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:43:13] local.INFO: IMEI packet received {"connection_id":219695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":219695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:43:14] local.INFO: TCP Data received {"connection_id":219695,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:43:14] local.INFO: Processing buffer {"connection_id":219695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:43:14] local.INFO: Packet analysis {"connection_id":219695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:43:14] local.INFO: Extracted packet for processing {"connection_id":219695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756732736,"raw_latitude":119815552,"longitude_deg":75.6732736,"latitude_deg":11.9815552,"altitude":44,"angle":54,"satellites":40,"speed":24,"hex_longitude":"2d1ad340","hex_latitude":"07243d80","is_valid_coordinates":true} 
[2026-10-16 08:43:14] 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-10-16 08:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782761728001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28057200278634496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932959064489033728,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:14] 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-10-16 08:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792120163000,"timestamp_ms":1792120163000,"timestamp_seconds":1792120163,"priority":1,"record_length":96,"hex_timestamp":"000001a142af8ab8"} 
[2026-10-16 08:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:43: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-10-16 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 08:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":219695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":219695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":219695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782761728001,"66":13928,"176":206,"83":42752,"24":24,"16":28057200278634496,"45":1932959064489033728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782761728001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:43:14] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28057200278634496,"km_value":28057200278634.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932959064489033728,"description":"Unknown IO ID 45"} 
[2026-10-16 08:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782761728001,"power":13928,"unknown_176":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1932959064489033728}} 
[2026-10-16 08:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":219695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:43:14] local.INFO: GPS data processed {"connection_id":219695,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:43:14] local.INFO: Acknowledgment sent {"connection_id":219695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:43:17] local.INFO: TCP Data received {"connection_id":216422,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:43:17] local.INFO: Processing buffer {"connection_id":216422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:43:17] local.INFO: IMEI packet received {"connection_id":216422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":216422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:43:21] local.INFO: TCP Data received {"connection_id":216422,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:43:21] local.INFO: Processing buffer {"connection_id":216422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:43:21] local.INFO: IMEI packet received {"connection_id":216422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":216422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:43:23] local.INFO: TCP Data received {"connection_id":216422,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:43:23] local.INFO: Processing buffer {"connection_id":216422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:43:23] local.INFO: Packet analysis {"connection_id":216422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:43:23] local.INFO: Extracted packet for processing {"connection_id":216422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189326848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120235000,"timestamp_ms":1792120235000,"timestamp_seconds":1792120235,"priority":1,"record_length":96,"hex_timestamp":"000001a142b0a3f8"} 
[2026-10-16 08:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:43:23] 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-10-16 08:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":26539,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189326848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:43:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:43:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189326848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":26539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189326848}} 
[2026-10-16 08:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":216422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:43:23] local.INFO: GPS data processed {"connection_id":216422,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:43:23] local.INFO: Acknowledgment sent {"connection_id":216422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:43:43] local.INFO: TCP Data received {"connection_id":219694,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b2cea8012d0b4fc0070603d0000d00d222..."} 
[2026-10-16 08:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b2cea8012d0b4fc0070603d0000d00d222..."} 
[2026-10-16 08:43:43] local.INFO: Processing buffer {"connection_id":219694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b2cea8012d0b4fc0070603d0000d00d222..."} 
[2026-10-16 08:43:43] local.INFO: Packet analysis {"connection_id":219694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b2"} 
[2026-10-16 08:43:43] local.INFO: Extracted packet for processing {"connection_id":219694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b2"} 
[2026-10-16 08:43:43] local.INFO: GPS Element Parsed {"raw_longitude":755716032,"raw_latitude":117834704,"longitude_deg":75.5716032,"latitude_deg":11.7834704,"altitude":13,"angle":210,"satellites":34,"speed":6,"hex_longitude":"2d0b4fc0","hex_latitude":"070603d0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782813184001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36437145329598464,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815855250161893376,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792120377000,"timestamp_ms":1792120377000,"timestamp_seconds":1792120377,"priority":1,"record_length":96,"hex_timestamp":"000001a142b2cea8"} 
[2026-10-16 08:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:43: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-10-16 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 08:43: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-10-16 08: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-10-16 08:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":219694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":219694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":219694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782813184001,"66":14407,"165":206,"94":10240,"24":6,"16":36437145329598464,"45":815855250161893376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 08:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782813184001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:43:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 08:43:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36437145329598464,"km_value":36437145329598.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":815855250161893376,"description":"Unknown IO ID 45"} 
[2026-10-16 08:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782813184001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":815855250161893376}} 
[2026-10-16 08:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":219694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045374,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:43:43] local.INFO: GPS data processed {"connection_id":219694,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:43:43] local.INFO: Acknowledgment sent {"connection_id":219694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:43:47] local.INFO: TCP Data received {"connection_id":219695,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:43:47] local.INFO: Processing buffer {"connection_id":219695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:43:47] local.INFO: Packet analysis {"connection_id":219695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:43:47] local.INFO: Extracted packet for processing {"connection_id":219695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756732736,"raw_latitude":119815552,"longitude_deg":75.6732736,"latitude_deg":11.9815552,"altitude":44,"angle":54,"satellites":40,"speed":24,"hex_longitude":"2d1ad340","hex_latitude":"07243d80","is_valid_coordinates":true} 
[2026-10-16 08:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782761728001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28057200278634496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932959064489033728,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43: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-10-16 08:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792120163000,"timestamp_ms":1792120163000,"timestamp_seconds":1792120163,"priority":1,"record_length":96,"hex_timestamp":"000001a142af8ab8"} 
[2026-10-16 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-10-16 08:43:47] 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-10-16 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 08:43:47] 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-10-16 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-10-16 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-10-16 08:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":219695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":219695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":219695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782761728001,"66":13928,"176":206,"83":42752,"24":24,"16":28057200278634496,"45":1932959064489033728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782761728001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:43:47] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28057200278634496,"km_value":28057200278634.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932959064489033728,"description":"Unknown IO ID 45"} 
[2026-10-16 08:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782761728001,"power":13928,"unknown_176":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1932959064489033728}} 
[2026-10-16 08:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":219695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:43:48] local.INFO: GPS data processed {"connection_id":219695,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:43:48] local.INFO: Acknowledgment sent {"connection_id":219695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:43:54] local.INFO: TCP Data received {"connection_id":216422,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:43:54] local.INFO: Processing buffer {"connection_id":216422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:43:54] local.INFO: Packet analysis {"connection_id":216422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:43:54] local.INFO: Extracted packet for processing {"connection_id":216422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189326848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792120235000,"timestamp_ms":1792120235000,"timestamp_seconds":1792120235,"priority":1,"record_length":96,"hex_timestamp":"000001a142b0a3f8"} 
[2026-10-16 08:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":26539,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189326848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:43:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:43:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189326848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":26539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189326848}} 
[2026-10-16 08:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":216422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:43:54] local.INFO: GPS data processed {"connection_id":216422,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:43:54] local.INFO: Acknowledgment sent {"connection_id":216422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:44:04] local.INFO: TCP Data received {"connection_id":217952,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217952,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:44:04] local.INFO: Processing buffer {"connection_id":217952,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:44:04] local.INFO: IMEI packet received {"connection_id":217952,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":217952,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:44:04] local.INFO: TCP Data received {"connection_id":217952,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217952,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:44:04] local.INFO: Processing buffer {"connection_id":217952,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:44:04] local.INFO: IMEI packet received {"connection_id":217952,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":217952,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:44:07] local.INFO: TCP Data received {"connection_id":216604,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:44:07] local.INFO: Processing buffer {"connection_id":216604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:44:07] local.INFO: IMEI packet received {"connection_id":216604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":216604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:44:08] local.INFO: TCP Data received {"connection_id":217952,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217952,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:44:08] local.INFO: Processing buffer {"connection_id":217952,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:44:08] local.INFO: IMEI packet received {"connection_id":217952,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":217952,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:44:09] local.INFO: TCP Data received {"connection_id":217952,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b3a580012d0b2b00070612e0000a010721..."} 
[2026-10-16 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b3a580012d0b2b00070612e0000a010721..."} 
[2026-10-16 08:44:09] local.INFO: Processing buffer {"connection_id":217952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b3a580012d0b2b00070612e0000a010721..."} 
[2026-10-16 08:44:09] local.INFO: Packet analysis {"connection_id":217952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:44:09] local.INFO: Extracted packet for processing {"connection_id":217952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":117838560,"longitude_deg":75.5706624,"latitude_deg":11.783856,"altitude":10,"angle":263,"satellites":33,"speed":3,"hex_longitude":"2d0b2b00","hex_latitude":"070612e0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782828288001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36437716560248832,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805159201047455744,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:09] 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-10-16 08:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792120432000,"timestamp_ms":1792120432000,"timestamp_seconds":1792120432,"priority":1,"record_length":96,"hex_timestamp":"000001a142b3a580"} 
[2026-10-16 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-10-16 08:44: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-10-16 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 08:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":217952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":217952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":217952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782828288001,"66":14374,"165":206,"94":10240,"24":3,"16":36437716560248832,"45":805159201047455744},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 08:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782828288001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:44:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 08:44:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36437716560248832,"km_value":36437716560248.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":805159201047455744,"description":"Unknown IO ID 45"} 
[2026-10-16 08:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782828288001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":805159201047455744}} 
[2026-10-16 08:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":217952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045377,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:44:09] local.INFO: GPS data processed {"connection_id":217952,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:44:09] local.INFO: Acknowledgment sent {"connection_id":217952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:44:13] local.INFO: TCP Data received {"connection_id":216604,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:44:13] local.INFO: Processing buffer {"connection_id":216604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:44:13] local.INFO: IMEI packet received {"connection_id":216604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":216604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:44:13] local.INFO: TCP Data received {"connection_id":216604,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:44:13] local.INFO: Processing buffer {"connection_id":216604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142af8ab8012d1ad34007243d80002c003628..."} 
[2026-10-16 08:44:13] local.INFO: Packet analysis {"connection_id":216604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:44:13] local.INFO: Extracted packet for processing {"connection_id":216604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142af"} 
[2026-10-16 08:44:13] local.INFO: GPS Element Parsed {"raw_longitude":756732736,"raw_latitude":119815552,"longitude_deg":75.6732736,"latitude_deg":11.9815552,"altitude":44,"angle":54,"satellites":40,"speed":24,"hex_longitude":"2d1ad340","hex_latitude":"07243d80","is_valid_coordinates":true} 
[2026-10-16 08:44:13] 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-10-16 08:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782761728001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28057200278634496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932959064489033728,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44: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-10-16 08:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792120163000,"timestamp_ms":1792120163000,"timestamp_seconds":1792120163,"priority":1,"record_length":96,"hex_timestamp":"000001a142af8ab8"} 
[2026-10-16 08:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:44:13] 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-10-16 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 08:44:13] 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-10-16 08: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-10-16 08:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782761728001,"66":13928,"176":206,"83":42752,"24":24,"16":28057200278634496,"45":1932959064489033728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782761728001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:44:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:44:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28057200278634496,"km_value":28057200278634.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932959064489033728,"description":"Unknown IO ID 45"} 
[2026-10-16 08:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782761728001,"power":13928,"unknown_176":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1932959064489033728}} 
[2026-10-16 08:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":216604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:44:14] local.INFO: GPS data processed {"connection_id":216604,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:44:14] local.INFO: Acknowledgment sent {"connection_id":216604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:44:16] local.INFO: TCP Data received {"connection_id":216424,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:44:16] local.INFO: Processing buffer {"connection_id":216424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:44:16] local.INFO: IMEI packet received {"connection_id":216424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":216424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:44:22] local.INFO: TCP Data received {"connection_id":216424,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:44:22] local.INFO: Processing buffer {"connection_id":216424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:44:22] local.INFO: IMEI packet received {"connection_id":216424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":216424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:44:23] local.INFO: TCP Data received {"connection_id":216424,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:44:23] local.INFO: Processing buffer {"connection_id":216424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:44:23] local.INFO: Packet analysis {"connection_id":216424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:44:23] local.INFO: Extracted packet for processing {"connection_id":216424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189326848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120235000,"timestamp_ms":1792120235000,"timestamp_seconds":1792120235,"priority":1,"record_length":96,"hex_timestamp":"000001a142b0a3f8"} 
[2026-10-16 08:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:44:23] 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-10-16 08: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-10-16 08:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":26539,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189326848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:44:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:44:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189326848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":26539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189326848}} 
[2026-10-16 08:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":216424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:44:23] local.INFO: GPS data processed {"connection_id":216424,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:44:23] local.INFO: Acknowledgment sent {"connection_id":216424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:44:40] local.INFO: TCP Data received {"connection_id":217952,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b3ad50012d0b2a80070612c0000a00fc21..."} 
[2026-10-16 08:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b3ad50012d0b2a80070612c0000a00fc21..."} 
[2026-10-16 08:44:40] local.INFO: Processing buffer {"connection_id":217952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b3ad50012d0b2a80070612c0000a00fc21..."} 
[2026-10-16 08:44:40] local.INFO: Packet analysis {"connection_id":217952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:44:40] local.INFO: Extracted packet for processing {"connection_id":217952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:44:40] local.INFO: GPS Element Parsed {"raw_longitude":755706496,"raw_latitude":117838528,"longitude_deg":75.5706496,"latitude_deg":11.7838528,"altitude":10,"angle":252,"satellites":33,"speed":3,"hex_longitude":"2d0b2a80","hex_latitude":"070612c0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782830592001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36437725150183424,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804736988582436864,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:40] 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-10-16 08:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792120434000,"timestamp_ms":1792120434000,"timestamp_seconds":1792120434,"priority":1,"record_length":96,"hex_timestamp":"000001a142b3ad50"} 
[2026-10-16 08:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:44:40] 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-10-16 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 08:44: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-10-16 08: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-10-16 08:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":217952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":217952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":217952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782830592001,"66":14254,"165":206,"94":10240,"24":3,"16":36437725150183424,"45":804736988582436864},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 08:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782830592001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:44:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 08:44:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36437725150183424,"km_value":36437725150183.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":804736988582436864,"description":"Unknown IO ID 45"} 
[2026-10-16 08:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782830592001,"power":14254,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":804736988582436864}} 
[2026-10-16 08:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":217952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:44:40] local.INFO: GPS data processed {"connection_id":217952,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:44:40] local.INFO: Acknowledgment sent {"connection_id":217952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:44:44] local.INFO: TCP Data received {"connection_id":216604,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b39db0012d1ae7c007245f080025002f23..."} 
[2026-10-16 08:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b39db0012d1ae7c007245f080025002f23..."} 
[2026-10-16 08:44:44] local.INFO: Processing buffer {"connection_id":216604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b39db0012d1ae7c007245f080025002f23..."} 
[2026-10-16 08:44:44] local.INFO: Packet analysis {"connection_id":216604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:44:44] local.INFO: Extracted packet for processing {"connection_id":216604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756737984,"raw_latitude":119824136,"longitude_deg":75.6737984,"latitude_deg":11.9824136,"altitude":37,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d1ae7c0","hex_latitude":"07245f08","is_valid_coordinates":true} 
[2026-10-16 08:44: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-10-16 08:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782761728001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28057200278634496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932959064489033728,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792120430000,"timestamp_ms":1792120430000,"timestamp_seconds":1792120430,"priority":1,"record_length":96,"hex_timestamp":"000001a142b39db0"} 
[2026-10-16 08:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:44:44] 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-10-16 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 08:44:44] 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-10-16 08: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-10-16 08:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782761728001,"66":2166,"176":206,"83":42752,"24":0,"16":28057200278634496,"45":1932959064489033728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782761728001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:44:44] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:44:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28057200278634496,"km_value":28057200278634.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932959064489033728,"description":"Unknown IO ID 45"} 
[2026-10-16 08:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782761728001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1932959064489033728}} 
[2026-10-16 08:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":216604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:44:44] local.INFO: GPS data processed {"connection_id":216604,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:44:44] local.INFO: Acknowledgment sent {"connection_id":216604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:44:55] local.INFO: TCP Data received {"connection_id":216424,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:44:55] local.INFO: Processing buffer {"connection_id":216424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:44:55] local.INFO: Packet analysis {"connection_id":216424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:44:55] local.INFO: Extracted packet for processing {"connection_id":216424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189326848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792120235000,"timestamp_ms":1792120235000,"timestamp_seconds":1792120235,"priority":1,"record_length":96,"hex_timestamp":"000001a142b0a3f8"} 
[2026-10-16 08:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:44:55] 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-10-16 08: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-10-16 08:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":26539,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189326848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:44:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:44:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189326848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":26539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189326848}} 
[2026-10-16 08:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":216424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:44:55] local.INFO: GPS data processed {"connection_id":216424,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:44:55] local.INFO: Acknowledgment sent {"connection_id":216424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:45:03] local.INFO: TCP Data received {"connection_id":217953,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217953,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:45:03] local.INFO: Processing buffer {"connection_id":217953,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:45:03] local.INFO: IMEI packet received {"connection_id":217953,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":217953,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:45:08] local.INFO: TCP Data received {"connection_id":217953,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217953,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:45:08] local.INFO: Processing buffer {"connection_id":217953,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:45:08] local.INFO: IMEI packet received {"connection_id":217953,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":217953,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:45:09] local.INFO: TCP Data received {"connection_id":217953,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b48bf8012d0b21c007059c30001000e920..."} 
[2026-10-16 08:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b48bf8012d0b21c007059c30001000e920..."} 
[2026-10-16 08:45:09] local.INFO: Processing buffer {"connection_id":217953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b48bf8012d0b21c007059c30001000e920..."} 
[2026-10-16 08:45:09] local.INFO: Packet analysis {"connection_id":217953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b4"} 
[2026-10-16 08:45:09] local.INFO: Extracted packet for processing {"connection_id":217953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b4"} 
[2026-10-16 08:45:09] local.INFO: GPS Element Parsed {"raw_longitude":755704256,"raw_latitude":117808176,"longitude_deg":75.5704256,"latitude_deg":11.7808176,"altitude":16,"angle":233,"satellites":32,"speed":9,"hex_longitude":"2d0b21c0","hex_latitude":"07059c30","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782842880001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36439262748475392,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802344451272642560,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:09] 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-10-16 08:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792120491000,"timestamp_ms":1792120491000,"timestamp_seconds":1792120491,"priority":1,"record_length":96,"hex_timestamp":"000001a142b48bf8"} 
[2026-10-16 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-10-16 08:45: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-10-16 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 08:45:09] 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-10-16 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-10-16 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-10-16 08:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":217953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":217953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":217953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782842880001,"66":14374,"165":206,"94":10240,"24":9,"16":36439262748475392,"45":802344451272642560},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 08:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782842880001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:45:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 08:45:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36439262748475392,"km_value":36439262748475.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":802344451272642560,"description":"Unknown IO ID 45"} 
[2026-10-16 08:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782842880001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":802344451272642560}} 
[2026-10-16 08:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":217953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045383,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:45:09] local.INFO: GPS data processed {"connection_id":217953,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:45:09] local.INFO: Acknowledgment sent {"connection_id":217953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:45:11] local.INFO: TCP Data received {"connection_id":219696,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:45:12] local.INFO: Processing buffer {"connection_id":219696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:45:12] local.INFO: IMEI packet received {"connection_id":219696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":219696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:45:12] local.INFO: TCP Data received {"connection_id":219696,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:45:12] local.INFO: Processing buffer {"connection_id":219696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:45:12] local.INFO: IMEI packet received {"connection_id":219696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":219696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:45:14] local.INFO: TCP Data received {"connection_id":219696,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:45:14] local.INFO: Processing buffer {"connection_id":219696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:45:14] local.INFO: IMEI packet received {"connection_id":219696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":219696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:45:16] local.INFO: TCP Data received {"connection_id":216426,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:45:16] local.INFO: Processing buffer {"connection_id":216426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:45:16] local.INFO: IMEI packet received {"connection_id":216426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":216426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:45:16] local.INFO: TCP Data received {"connection_id":216425,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:45:16] local.INFO: Processing buffer {"connection_id":216425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:45:16] local.INFO: IMEI packet received {"connection_id":216425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":216425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:45:22] local.INFO: TCP Data received {"connection_id":216426,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:45:22] local.INFO: Processing buffer {"connection_id":216426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:45:22] local.INFO: IMEI packet received {"connection_id":216426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":216426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:45:23] local.INFO: TCP Data received {"connection_id":216426,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:45:23] local.INFO: Processing buffer {"connection_id":216426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:45:23] local.INFO: Packet analysis {"connection_id":216426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:45:23] local.INFO: Extracted packet for processing {"connection_id":216426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189326848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120235000,"timestamp_ms":1792120235000,"timestamp_seconds":1792120235,"priority":1,"record_length":96,"hex_timestamp":"000001a142b0a3f8"} 
[2026-10-16 08:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:45:23] 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-10-16 08: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-10-16 08:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":26539,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189326848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:45:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:45:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189326848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":26539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189326848}} 
[2026-10-16 08:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":216426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:45:23] local.INFO: GPS data processed {"connection_id":216426,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:45:23] local.INFO: Acknowledgment sent {"connection_id":216426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:45:24] local.INFO: TCP Data received {"connection_id":219696,"ip":"42.106.6.47","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a142..."} 
[2026-10-16 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219696,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a142..."} 
[2026-10-16 08:45:24] local.INFO: Processing buffer {"connection_id":219696,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a142..."} 
[2026-10-16 08:45:24] local.INFO: IMEI packet received {"connection_id":219696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":219696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:45:33] local.INFO: TCP Data received {"connection_id":219696,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b39db0012d1ae7c007245f080025002f23..."} 
[2026-10-16 08:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b39db0012d1ae7c007245f080025002f23..."} 
[2026-10-16 08:45:33] local.INFO: Processing buffer {"connection_id":219696,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a142b39db0012d1ae7c007245f080025002f23..."} 
[2026-10-16 08:45:33] local.INFO: Packet analysis {"connection_id":219696,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:45:33] local.INFO: Extracted packet for processing {"connection_id":219696,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756737984,"raw_latitude":119824136,"longitude_deg":75.6737984,"latitude_deg":11.9824136,"altitude":37,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d1ae7c0","hex_latitude":"07245f08","is_valid_coordinates":true} 
[2026-10-16 08:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782830080001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28057200278634496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938729301513799680,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792120430000,"timestamp_ms":1792120430000,"timestamp_seconds":1792120430,"priority":1,"record_length":96,"hex_timestamp":"000001a142b39db0"} 
[2026-10-16 08:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:45:33] 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-10-16 08:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 08:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782830080001,"66":2166,"176":206,"83":42752,"24":0,"16":28057200278634496,"45":1938729301513799680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782830080001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:45:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28057200278634496,"km_value":28057200278634.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938729301513799680,"description":"Unknown IO ID 45"} 
[2026-10-16 08:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782830080001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938729301513799680}} 
[2026-10-16 08:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":219696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:45:33] local.INFO: GPS data processed {"connection_id":219696,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:45:33] local.INFO: Acknowledgment sent {"connection_id":219696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:45:33] local.INFO: Packet analysis {"connection_id":219696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:45:33] local.INFO: Extracted packet for processing {"connection_id":219696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756737984,"raw_latitude":119824136,"longitude_deg":75.6737984,"latitude_deg":11.9824136,"altitude":37,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2d1ae7c0","hex_latitude":"07245f08","is_valid_coordinates":true} 
[2026-10-16 08:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782830080001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28057200278634496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938729301513799680,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792120430000,"timestamp_ms":1792120430000,"timestamp_seconds":1792120430,"priority":1,"record_length":96,"hex_timestamp":"000001a142b39db0"} 
[2026-10-16 08:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:45:33] 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-10-16 08:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 08:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782830080001,"66":2166,"176":206,"83":42752,"24":0,"16":28057200278634496,"45":1938729301513799680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782830080001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:45:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28057200278634496,"km_value":28057200278634.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938729301513799680,"description":"Unknown IO ID 45"} 
[2026-10-16 08:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782830080001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938729301513799680}} 
[2026-10-16 08:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":219696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:45:33] local.INFO: GPS data processed {"connection_id":219696,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:45:33] local.INFO: Acknowledgment sent {"connection_id":219696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:45:34] local.INFO: TCP Data received {"connection_id":219696,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b3a198012d1aef80072463c80025007a24..."} 
[2026-10-16 08:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b3a198012d1aef80072463c80025007a24..."} 
[2026-10-16 08:45:34] local.INFO: Processing buffer {"connection_id":219696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b3a198012d1aef80072463c80025007a24..."} 
[2026-10-16 08:45:34] local.INFO: Packet analysis {"connection_id":219696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:45:34] local.INFO: Extracted packet for processing {"connection_id":219696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b3"} 
[2026-10-16 08:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756739968,"raw_latitude":119825352,"longitude_deg":75.6739968,"latitude_deg":11.9825352,"altitude":37,"angle":122,"satellites":36,"speed":0,"hex_longitude":"2d1aef80","hex_latitude":"072463c8","is_valid_coordinates":true} 
[2026-10-16 08:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782830080001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28057200278634496,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938729301513799680,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792120431000,"timestamp_ms":1792120431000,"timestamp_seconds":1792120431,"priority":1,"record_length":96,"hex_timestamp":"000001a142b3a198"} 
[2026-10-16 08:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 08:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782830080001,"66":12885,"176":206,"83":42752,"24":0,"16":28057200278634496,"45":1938729301513799680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782830080001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:45:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28057200278634496,"km_value":28057200278634.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938729301513799680,"description":"Unknown IO ID 45"} 
[2026-10-16 08:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782830080001,"power":12885,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938729301513799680}} 
[2026-10-16 08:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":219696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:45:34] local.INFO: GPS data processed {"connection_id":219696,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:45:34] local.INFO: Acknowledgment sent {"connection_id":219696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:45:43] local.INFO: TCP Data received {"connection_id":217953,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b48fe0012d0b210007059bc0001000fa1f..."} 
[2026-10-16 08:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b48fe0012d0b210007059bc0001000fa1f..."} 
[2026-10-16 08:45:43] local.INFO: Processing buffer {"connection_id":217953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b48fe0012d0b210007059bc0001000fa1f..."} 
[2026-10-16 08:45:43] local.INFO: Packet analysis {"connection_id":217953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b4"} 
[2026-10-16 08:45:43] local.INFO: Extracted packet for processing {"connection_id":217953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b4"} 
[2026-10-16 08:45:43] local.INFO: GPS Element Parsed {"raw_longitude":755704064,"raw_latitude":117808064,"longitude_deg":75.5704064,"latitude_deg":11.7808064,"altitude":16,"angle":250,"satellites":31,"speed":12,"hex_longitude":"2d0b2100","hex_latitude":"07059bc0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782845696001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36439275633377280,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802133345040084992,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792120492000,"timestamp_ms":1792120492000,"timestamp_seconds":1792120492,"priority":1,"record_length":96,"hex_timestamp":"000001a142b48fe0"} 
[2026-10-16 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-10-16 08:45: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-10-16 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 08:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 08:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":217953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":217953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":217953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782845696001,"66":14439,"165":206,"94":10240,"24":12,"16":36439275633377280,"45":802133345040084992},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 08:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782845696001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:45:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 08:45:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36439275633377280,"km_value":36439275633377.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":802133345040084992,"description":"Unknown IO ID 45"} 
[2026-10-16 08:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782845696001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":802133345040084992}} 
[2026-10-16 08:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":217953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045388,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:45:44] local.INFO: GPS data processed {"connection_id":217953,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:45:44] local.INFO: Acknowledgment sent {"connection_id":217953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:45:54] local.INFO: TCP Data received {"connection_id":216605,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:45:54] local.INFO: Processing buffer {"connection_id":216605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:45:54] local.INFO: IMEI packet received {"connection_id":216605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":216605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:45:55] local.INFO: TCP Data received {"connection_id":216426,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:45:55] local.INFO: Processing buffer {"connection_id":216426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b0a3f8012d7fa40005afcde00009009e28..."} 
[2026-10-16 08:45:55] local.INFO: Packet analysis {"connection_id":216426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:45:55] local.INFO: Extracted packet for processing {"connection_id":216426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b0"} 
[2026-10-16 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782703104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189326848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792120235000,"timestamp_ms":1792120235000,"timestamp_seconds":1792120235,"priority":1,"record_length":96,"hex_timestamp":"000001a142b0a3f8"} 
[2026-10-16 08:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 08:45:55] 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-10-16 08:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782703104001,"66":26539,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189326848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782703104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:45:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:45:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189326848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782703104001,"power":26539,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189326848}} 
[2026-10-16 08:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":216426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:45:55] local.INFO: GPS data processed {"connection_id":216426,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:45:55] local.INFO: Acknowledgment sent {"connection_id":216426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:46:07] local.INFO: TCP Data received {"connection_id":216606,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:46:07] local.INFO: Processing buffer {"connection_id":216606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:46:07] local.INFO: IMEI packet received {"connection_id":216606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":216606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:46:07] local.INFO: TCP Data received {"connection_id":216606,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:46:07] local.INFO: Processing buffer {"connection_id":216606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:46:07] local.INFO: IMEI packet received {"connection_id":216606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":216606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:46:08] local.INFO: TCP Data received {"connection_id":216607,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:46:08] local.INFO: Processing buffer {"connection_id":216607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:46:08] local.INFO: IMEI packet received {"connection_id":216607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":216607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:46:13] local.INFO: TCP Data received {"connection_id":216606,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:46:13] local.INFO: Processing buffer {"connection_id":216606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:46:13] local.INFO: IMEI packet received {"connection_id":216606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":216606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:46:13] local.INFO: TCP Data received {"connection_id":216607,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:46:13] local.INFO: Processing buffer {"connection_id":216607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:46:13] local.INFO: IMEI packet received {"connection_id":216607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":216607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:46:13] local.INFO: TCP Data received {"connection_id":216606,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b4f188012d1adf40072445f0002800d927..."} 
[2026-10-16 08:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b4f188012d1adf40072445f0002800d927..."} 
[2026-10-16 08:46:14] local.INFO: Processing buffer {"connection_id":216606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b4f188012d1adf40072445f0002800d927..."} 
[2026-10-16 08:46:14] local.INFO: Packet analysis {"connection_id":216606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b4"} 
[2026-10-16 08:46:14] local.INFO: Extracted packet for processing {"connection_id":216606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b4"} 
[2026-10-16 08:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756735808,"raw_latitude":119817712,"longitude_deg":75.6735808,"latitude_deg":11.9817712,"altitude":40,"angle":217,"satellites":39,"speed":27,"hex_longitude":"2d1adf40","hex_latitude":"072445f0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782848512001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28057741444513792,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941262576304414720,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:14] 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-10-16 08:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792120517000,"timestamp_ms":1792120517000,"timestamp_seconds":1792120517,"priority":1,"record_length":96,"hex_timestamp":"000001a142b4f188"} 
[2026-10-16 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-10-16 08:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 08:46:14] 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-10-16 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-10-16 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-10-16 08:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782848512001,"66":14243,"176":206,"83":42752,"24":27,"16":28057741444513792,"45":1941262576304414720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782848512001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:46:14] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28057741444513792,"km_value":28057741444513.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941262576304414720,"description":"Unknown IO ID 45"} 
[2026-10-16 08:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782848512001,"power":14243,"unknown_176":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1941262576304414720}} 
[2026-10-16 08:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":216606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:46:14] local.INFO: GPS data processed {"connection_id":216606,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:46:14] local.INFO: Acknowledgment sent {"connection_id":216606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:46:14] local.INFO: TCP Data received {"connection_id":216607,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b57a40012d0ae680070592b0002301161f..."} 
[2026-10-16 08:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b57a40012d0ae680070592b0002301161f..."} 
[2026-10-16 08:46:14] local.INFO: Processing buffer {"connection_id":216607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b57a40012d0ae680070592b0002301161f..."} 
[2026-10-16 08:46:14] local.INFO: Packet analysis {"connection_id":216607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:46:14] local.INFO: Extracted packet for processing {"connection_id":216607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:46:14] local.INFO: GPS Element Parsed {"raw_longitude":755689088,"raw_latitude":117805744,"longitude_deg":75.5689088,"latitude_deg":11.7805744,"altitude":35,"angle":278,"satellites":31,"speed":11,"hex_longitude":"2d0ae680","hex_latitude":"070592b0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782861056001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36440010072784896,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785807796390240256,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:14] 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-10-16 08:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792120552000,"timestamp_ms":1792120552000,"timestamp_seconds":1792120552,"priority":1,"record_length":96,"hex_timestamp":"000001a142b57a40"} 
[2026-10-16 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-10-16 08:46: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-10-16 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:46: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-10-16 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-10-16 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-10-16 08:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782861056001,"66":14450,"153":206,"94":10240,"24":11,"16":36440010072784896,"45":785807796390240256},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782861056001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:46:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:46:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36440010072784896,"km_value":36440010072784.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":785807796390240256,"description":"Unknown IO ID 45"} 
[2026-10-16 08:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782861056001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":785807796390240256}} 
[2026-10-16 08:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":216607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045391,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:46:14] local.INFO: GPS data processed {"connection_id":216607,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:46:14] local.INFO: Acknowledgment sent {"connection_id":216607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:46:21] local.INFO: TCP Data received {"connection_id":216608,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:46:21] local.INFO: Processing buffer {"connection_id":216608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:46:21] local.INFO: IMEI packet received {"connection_id":216608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":216608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:46:27] local.INFO: TCP Data received {"connection_id":216608,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:46:27] local.INFO: Processing buffer {"connection_id":216608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:46:27] local.INFO: IMEI packet received {"connection_id":216608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":216608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:46:28] local.INFO: TCP Data received {"connection_id":216608,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:46:28] local.INFO: Processing buffer {"connection_id":216608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:46:28] local.INFO: Packet analysis {"connection_id":216608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:46:28] local.INFO: Extracted packet for processing {"connection_id":216608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782780160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792120536000,"timestamp_ms":1792120536000,"timestamp_seconds":1792120536,"priority":1,"record_length":96,"hex_timestamp":"000001a142b53bc0"} 
[2026-10-16 08:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 08:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782780160001,"66":26289,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782780160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:46:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:46:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782780160001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":216608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:46:28] local.INFO: GPS data processed {"connection_id":216608,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:46:28] local.INFO: Acknowledgment sent {"connection_id":216608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:46:32] local.INFO: TCP Data received {"connection_id":216608,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:46:32] local.INFO: Processing buffer {"connection_id":216608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:46:32] local.INFO: Packet analysis {"connection_id":216608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:46:32] local.INFO: Extracted packet for processing {"connection_id":216608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782780160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792120536000,"timestamp_ms":1792120536000,"timestamp_seconds":1792120536,"priority":1,"record_length":96,"hex_timestamp":"000001a142b53bc0"} 
[2026-10-16 08:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 08:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782780160001,"66":26289,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782780160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:46:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782780160001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":216608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:46:32] local.INFO: GPS data processed {"connection_id":216608,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:46:32] local.INFO: Acknowledgment sent {"connection_id":216608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:46:44] local.INFO: TCP Data received {"connection_id":216606,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b50510012d1ad5c007243c10002900e626..."} 
[2026-10-16 08:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b50510012d1ad5c007243c10002900e626..."} 
[2026-10-16 08:46:44] local.INFO: Processing buffer {"connection_id":216606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b50510012d1ad5c007243c10002900e626..."} 
[2026-10-16 08:46:44] local.INFO: Packet analysis {"connection_id":216606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:46:44] local.INFO: Extracted packet for processing {"connection_id":216606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756733376,"raw_latitude":119815184,"longitude_deg":75.6733376,"latitude_deg":11.9815184,"altitude":41,"angle":230,"satellites":38,"speed":29,"hex_longitude":"2d1ad5c0","hex_latitude":"07243c10","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782852352001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28057908948238336,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936336764210114560,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792120522000,"timestamp_ms":1792120522000,"timestamp_seconds":1792120522,"priority":1,"record_length":96,"hex_timestamp":"000001a142b50510"} 
[2026-10-16 08:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:46: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-10-16 08: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-16 08:46:44] 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-10-16 08: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-10-16 08:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782852352001,"66":14211,"176":206,"83":42752,"24":29,"16":28057908948238336,"45":1936336764210114560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782852352001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:46:44] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:46:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28057908948238336,"km_value":28057908948238.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936336764210114560,"description":"Unknown IO ID 45"} 
[2026-10-16 08:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782852352001,"power":14211,"unknown_176":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1936336764210114560}} 
[2026-10-16 08:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":216606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:46:44] local.INFO: GPS data processed {"connection_id":216606,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:46:44] local.INFO: Acknowledgment sent {"connection_id":216606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:46:49] local.INFO: TCP Data received {"connection_id":216607,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b57e28012d0ae54007059328002201291f..."} 
[2026-10-16 08:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b57e28012d0ae54007059328002201291f..."} 
[2026-10-16 08:46:49] local.INFO: Processing buffer {"connection_id":216607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b57e28012d0ae54007059328002201291f..."} 
[2026-10-16 08:46:49] local.INFO: Packet analysis {"connection_id":216607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:46:49] local.INFO: Extracted packet for processing {"connection_id":216607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:46:49] local.INFO: GPS Element Parsed {"raw_longitude":755688768,"raw_latitude":117805864,"longitude_deg":75.5688768,"latitude_deg":11.7805864,"altitude":34,"angle":297,"satellites":31,"speed":10,"hex_longitude":"2d0ae540","hex_latitude":"07059328","is_valid_coordinates":true} 
[2026-10-16 08:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782861312001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36440022957686784,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785455952669356032,"note":"Value kept but may cause issues"} 
[2026-10-16 08:46:49] 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-10-16 08:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792120553000,"timestamp_ms":1792120553000,"timestamp_seconds":1792120553,"priority":1,"record_length":96,"hex_timestamp":"000001a142b57e28"} 
[2026-10-16 08:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:46:49] 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-10-16 08:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:46:49] 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-10-16 08:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":216607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":216607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":216607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782861312001,"66":14450,"153":206,"94":10240,"24":10,"16":36440022957686784,"45":785455952669356032},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782861312001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:46:49] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:46:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36440022957686784,"km_value":36440022957686.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":785455952669356032,"description":"Unknown IO ID 45"} 
[2026-10-16 08:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782861312001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":785455952669356032}} 
[2026-10-16 08:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":216607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045395,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:46:49] local.INFO: GPS data processed {"connection_id":216607,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:46:49] local.INFO: Acknowledgment sent {"connection_id":216607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:47:03] local.INFO: TCP Data received {"connection_id":216427,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:47:03] local.INFO: Processing buffer {"connection_id":216427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:47:03] local.INFO: IMEI packet received {"connection_id":216427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":216427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:47:04] local.INFO: TCP Data received {"connection_id":216427,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:47:04] local.INFO: Processing buffer {"connection_id":216427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:47:04] local.INFO: IMEI packet received {"connection_id":216427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":216427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:47:06] local.INFO: TCP Data received {"connection_id":216427,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:47:06] local.INFO: Processing buffer {"connection_id":216427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:47:06] local.INFO: IMEI packet received {"connection_id":216427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":216427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:47:07] local.INFO: TCP Data received {"connection_id":216427,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b65500012d0ae380070594180023000b20..."} 
[2026-10-16 08:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b65500012d0ae380070594180023000b20..."} 
[2026-10-16 08:47:07] local.INFO: Processing buffer {"connection_id":216427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b65500012d0ae380070594180023000b20..."} 
[2026-10-16 08:47:07] local.INFO: Packet analysis {"connection_id":216427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:47:07] local.INFO: Extracted packet for processing {"connection_id":216427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:47:07] local.INFO: GPS Element Parsed {"raw_longitude":755688320,"raw_latitude":117806104,"longitude_deg":75.568832,"latitude_deg":11.7806104,"altitude":35,"angle":11,"satellites":32,"speed":3,"hex_longitude":"2d0ae380","hex_latitude":"07059418","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782873600001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36440168986574848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784470790250930176,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:07] 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-10-16 08:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792120608000,"timestamp_ms":1792120608000,"timestamp_seconds":1792120608,"priority":1,"record_length":96,"hex_timestamp":"000001a142b65500"} 
[2026-10-16 08:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:47:07] 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-10-16 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 08:47:07] 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-10-16 08: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-10-16 08:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782873600001,"66":14428,"153":206,"94":10240,"24":3,"16":36440168986574848,"45":784470790250930176},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782873600001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:47:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:47:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36440168986574848,"km_value":36440168986574.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":784470790250930176,"description":"Unknown IO ID 45"} 
[2026-10-16 08:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782873600001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":784470790250930176}} 
[2026-10-16 08:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":216427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045396,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:47:07] local.INFO: GPS data processed {"connection_id":216427,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:47:07] local.INFO: Acknowledgment sent {"connection_id":216427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:47:08] local.INFO: TCP Data received {"connection_id":219697,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:47:08] local.INFO: Processing buffer {"connection_id":219697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:47:08] local.INFO: IMEI packet received {"connection_id":219697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":219697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:47:10] local.INFO: TCP Data received {"connection_id":219697,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:47:10] local.INFO: Processing buffer {"connection_id":219697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:47:10] local.INFO: IMEI packet received {"connection_id":219697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":219697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:47:12] local.INFO: TCP Data received {"connection_id":219697,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b51898012d1ac940072434c8002900f225..."} 
[2026-10-16 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b51898012d1ac940072434c8002900f225..."} 
[2026-10-16 08:47:12] local.INFO: Processing buffer {"connection_id":219697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b51898012d1ac940072434c8002900f225..."} 
[2026-10-16 08:47:12] local.INFO: Packet analysis {"connection_id":219697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:47:12] local.INFO: Extracted packet for processing {"connection_id":219697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756730176,"raw_latitude":119813320,"longitude_deg":75.6730176,"latitude_deg":11.981332,"altitude":41,"angle":242,"satellites":37,"speed":32,"hex_longitude":"2d1ac940","hex_latitude":"072434c8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782853632001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28058085041897472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933662751930716160,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:12] 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-10-16 08:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792120527000,"timestamp_ms":1792120527000,"timestamp_seconds":1792120527,"priority":1,"record_length":96,"hex_timestamp":"000001a142b51898"} 
[2026-10-16 08:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:47:12] 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-10-16 08: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 08:47:12] 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-10-16 08: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-10-16 08:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":219697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":219697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":219697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782853632001,"66":14254,"176":206,"83":42752,"24":32,"16":28058085041897472,"45":1933662751930716160},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-10-16 08:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782853632001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:47:12] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-10-16 08:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28058085041897472,"km_value":28058085041897.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933662751930716160,"description":"Unknown IO ID 45"} 
[2026-10-16 08:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782853632001,"power":14254,"unknown_176":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1933662751930716160}} 
[2026-10-16 08:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":219697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:47:12] local.INFO: GPS data processed {"connection_id":219697,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:47:12] local.INFO: Acknowledgment sent {"connection_id":219697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:47:16] local.INFO: TCP Data received {"connection_id":217956,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:47:16] local.INFO: Processing buffer {"connection_id":217956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:47:16] local.INFO: IMEI packet received {"connection_id":217956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":217956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:47:22] local.INFO: TCP Data received {"connection_id":217956,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:47:22] local.INFO: Processing buffer {"connection_id":217956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:47:22] local.INFO: IMEI packet received {"connection_id":217956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":217956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:47:23] local.INFO: TCP Data received {"connection_id":217956,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:47:23] local.INFO: Processing buffer {"connection_id":217956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:47:23] local.INFO: Packet analysis {"connection_id":217956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:47:23] local.INFO: Extracted packet for processing {"connection_id":217956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782780160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120536000,"timestamp_ms":1792120536000,"timestamp_seconds":1792120536,"priority":1,"record_length":96,"hex_timestamp":"000001a142b53bc0"} 
[2026-10-16 08:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 08:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782780160001,"66":26289,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782780160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:47:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:47:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782780160001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":217956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:47:23] local.INFO: GPS data processed {"connection_id":217956,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:47:23] local.INFO: Acknowledgment sent {"connection_id":217956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:47:39] local.INFO: TCP Data received {"connection_id":216427,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b658e8012d0ae380070594800023016620..."} 
[2026-10-16 08:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b658e8012d0ae380070594800023016620..."} 
[2026-10-16 08:47:39] local.INFO: Processing buffer {"connection_id":216427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b658e8012d0ae380070594800023016620..."} 
[2026-10-16 08:47:39] local.INFO: Packet analysis {"connection_id":216427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:47:39] local.INFO: Extracted packet for processing {"connection_id":216427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:47:39] local.INFO: GPS Element Parsed {"raw_longitude":755688320,"raw_latitude":117806208,"longitude_deg":75.568832,"latitude_deg":11.7806208,"altitude":35,"angle":358,"satellites":32,"speed":4,"hex_longitude":"2d0ae380","hex_latitude":"07059480","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782875648001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36440173281542144,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784611527739316224,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:39] 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-10-16 08:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792120609000,"timestamp_ms":1792120609000,"timestamp_seconds":1792120609,"priority":1,"record_length":96,"hex_timestamp":"000001a142b658e8"} 
[2026-10-16 08:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:47: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-10-16 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:47:39] 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-10-16 08: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-10-16 08:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782875648001,"66":14428,"153":206,"94":10240,"24":4,"16":36440173281542144,"45":784611527739316224},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782875648001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:47:39] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:47:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36440173281542144,"km_value":36440173281542.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":784611527739316224,"description":"Unknown IO ID 45"} 
[2026-10-16 08:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782875648001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":784611527739316224}} 
[2026-10-16 08:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":216427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045399,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:47:40] local.INFO: GPS data processed {"connection_id":216427,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:47:40] local.INFO: Acknowledgment sent {"connection_id":216427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:47:51] local.INFO: TCP Data received {"connection_id":219697,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b54390012d1aa880072425d8002900f628..."} 
[2026-10-16 08:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b54390012d1aa880072425d8002900f628..."} 
[2026-10-16 08:47:51] local.INFO: Processing buffer {"connection_id":219697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b54390012d1aa880072425d8002900f628..."} 
[2026-10-16 08:47:51] local.INFO: Packet analysis {"connection_id":219697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:47:51] local.INFO: Extracted packet for processing {"connection_id":219697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756721792,"raw_latitude":119809496,"longitude_deg":75.6721792,"latitude_deg":11.9809496,"altitude":41,"angle":246,"satellites":40,"speed":31,"hex_longitude":"2d1aa880","hex_latitude":"072425d8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782854912001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28058523128561664,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930144314721355776,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792120538000,"timestamp_ms":1792120538000,"timestamp_seconds":1792120538,"priority":1,"record_length":96,"hex_timestamp":"000001a142b54390"} 
[2026-10-16 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-10-16 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 08:47:51] 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-10-16 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-10-16 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-10-16 08:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":219697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":219697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":219697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782854912001,"66":14265,"43":206,"83":42752,"24":31,"16":28058523128561664,"45":1930144314721355776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 08:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782854912001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:47:51] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 08:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28058523128561664,"km_value":28058523128561.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930144314721355776,"description":"Unknown IO ID 45"} 
[2026-10-16 08:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782854912001,"power":14265,"unknown_43":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1930144314721355776}} 
[2026-10-16 08:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":219697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:47:51] local.INFO: GPS data processed {"connection_id":219697,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:47:51] local.INFO: Acknowledgment sent {"connection_id":219697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:47:55] local.INFO: TCP Data received {"connection_id":217956,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:47:55] local.INFO: Processing buffer {"connection_id":217956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:47:55] local.INFO: Packet analysis {"connection_id":217956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:47:55] local.INFO: Extracted packet for processing {"connection_id":217956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782780160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792120536000,"timestamp_ms":1792120536000,"timestamp_seconds":1792120536,"priority":1,"record_length":96,"hex_timestamp":"000001a142b53bc0"} 
[2026-10-16 08:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 08:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782780160001,"66":26289,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782780160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:47:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:47:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782780160001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":217956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:47:55] local.INFO: GPS data processed {"connection_id":217956,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:47:55] local.INFO: Acknowledgment sent {"connection_id":217956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:48:03] local.INFO: TCP Data received {"connection_id":216428,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:48:03] local.INFO: Processing buffer {"connection_id":216428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:48:03] local.INFO: IMEI packet received {"connection_id":216428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":216428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:48:04] local.INFO: TCP Data received {"connection_id":216428,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:48:04] local.INFO: Processing buffer {"connection_id":216428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:48:04] local.INFO: IMEI packet received {"connection_id":216428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":216428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:48:11] local.INFO: TCP Data received {"connection_id":216428,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:48:11] local.INFO: Processing buffer {"connection_id":216428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:48:11] local.INFO: IMEI packet received {"connection_id":216428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":216428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:48:11] local.INFO: TCP Data received {"connection_id":216428,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b68bb0012d0ae380070594f0002300a521..."} 
[2026-10-16 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b68bb0012d0ae380070594f0002300a521..."} 
[2026-10-16 08:48:11] local.INFO: Processing buffer {"connection_id":216428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b68bb0012d0ae380070594f0002300a521..."} 
[2026-10-16 08:48:11] local.INFO: Packet analysis {"connection_id":216428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:48:11] local.INFO: Extracted packet for processing {"connection_id":216428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:48:11] local.INFO: GPS Element Parsed {"raw_longitude":755688320,"raw_latitude":117806320,"longitude_deg":75.568832,"latitude_deg":11.780632,"altitude":35,"angle":165,"satellites":33,"speed":1,"hex_longitude":"2d0ae380","hex_latitude":"070594f0","is_valid_coordinates":true} 
[2026-10-16 08:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782875904001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36440186166444032,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784611527739342848,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:11] 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-10-16 08:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792120622000,"timestamp_ms":1792120622000,"timestamp_seconds":1792120622,"priority":1,"record_length":96,"hex_timestamp":"000001a142b68bb0"} 
[2026-10-16 08:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:48: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-10-16 08:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:48: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-10-16 08:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":216428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":216428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":216428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782875904001,"66":14352,"153":206,"94":10240,"24":1,"16":36440186166444032,"45":784611527739342848},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782875904001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:48:11] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:48:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36440186166444032,"km_value":36440186166444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":784611527739342848,"description":"Unknown IO ID 45"} 
[2026-10-16 08:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782875904001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":784611527739342848}} 
[2026-10-16 08:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":216428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045402,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:48:11] local.INFO: GPS data processed {"connection_id":216428,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:48:11] local.INFO: Acknowledgment sent {"connection_id":216428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:48:16] local.INFO: TCP Data received {"connection_id":216609,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:48:16] local.INFO: Processing buffer {"connection_id":216609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:48:16] local.INFO: IMEI packet received {"connection_id":216609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":216609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:48:17] local.INFO: TCP Data received {"connection_id":216609,"ip":"42.106.6.47","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-16 08:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216609,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-16 08:48:17] local.INFO: Processing buffer {"connection_id":216609,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-16 08:48:17] local.INFO: IMEI packet received {"connection_id":216609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":216609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:48:17] local.INFO: TCP Data received {"connection_id":216609,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b6c260012d19b68007239f700038010727..."} 
[2026-10-16 08:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b6c260012d19b68007239f700038010727..."} 
[2026-10-16 08:48:17] local.INFO: Processing buffer {"connection_id":216609,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a142..."} 
[2026-10-16 08:48:17] local.INFO: IMEI packet received {"connection_id":216609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":216609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:48:18] local.INFO: TCP Data received {"connection_id":216609,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b6e970012d19938007239b10003d010526..."} 
[2026-10-16 08:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b6e970012d19938007239b10003d010526..."} 
[2026-10-16 08:48:18] local.INFO: Processing buffer {"connection_id":216609,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a142b6c260012d19b68007239f700038010727..."} 
[2026-10-16 08:48:18] local.INFO: Packet analysis {"connection_id":216609,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:48:18] local.INFO: Extracted packet for processing {"connection_id":216609,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756659840,"raw_latitude":119775088,"longitude_deg":75.665984,"latitude_deg":11.9775088,"altitude":56,"angle":263,"satellites":39,"speed":33,"hex_longitude":"2d19b680","hex_latitude":"07239f70","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782879488001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28062092246384640,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862942164022171648,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792120636000,"timestamp_ms":1792120636000,"timestamp_seconds":1792120636,"priority":1,"record_length":96,"hex_timestamp":"000001a142b6c260"} 
[2026-10-16 08:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:48:18] 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-10-16 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 08:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782879488001,"66":14233,"42":206,"83":42752,"24":33,"16":28062092246384640,"45":1862942164022171648},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-10-16 08:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782879488001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:48:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-10-16 08:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28062092246384640,"km_value":28062092246384.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862942164022171648,"description":"Unknown IO ID 45"} 
[2026-10-16 08:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782879488001,"power":14233,"unknown_42":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1862942164022171648}} 
[2026-10-16 08:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":216609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:48:18] local.INFO: GPS data processed {"connection_id":216609,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:48:18] local.INFO: Acknowledgment sent {"connection_id":216609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:48:18] local.INFO: Packet analysis {"connection_id":216609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:48:18] local.INFO: Extracted packet for processing {"connection_id":216609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756650880,"raw_latitude":119773968,"longitude_deg":75.665088,"latitude_deg":11.9773968,"altitude":61,"angle":261,"satellites":38,"speed":37,"hex_longitude":"2d199380","hex_latitude":"07239b10","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782882816001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28062521743114240,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852809064860315648,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:18] 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-10-16 08:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792120646000,"timestamp_ms":1792120646000,"timestamp_seconds":1792120646,"priority":1,"record_length":96,"hex_timestamp":"000001a142b6e970"} 
[2026-10-16 08:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:48:18] 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-10-16 08:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 08:48:18] 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-10-16 08: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-10-16 08:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782882816001,"66":14363,"185":206,"83":42752,"24":37,"16":28062521743114240,"45":1852809064860315648},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-10-16 08:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782882816001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:48:18] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-16 08:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28062521743114240,"km_value":28062521743114.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852809064860315648,"description":"Unknown IO ID 45"} 
[2026-10-16 08:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782882816001,"power":14363,"unknown_185":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1852809064860315648}} 
[2026-10-16 08:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":216609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:48:18] local.INFO: GPS data processed {"connection_id":216609,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:48:18] local.INFO: Acknowledgment sent {"connection_id":216609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:48:22] local.INFO: TCP Data received {"connection_id":216429,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:48:22] local.INFO: Processing buffer {"connection_id":216429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:48:22] local.INFO: IMEI packet received {"connection_id":216429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":216429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:48:23] local.INFO: TCP Data received {"connection_id":216609,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b6fcf8012d198100072396f8003f00f824..."} 
[2026-10-16 08:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b6fcf8012d198100072396f8003f00f824..."} 
[2026-10-16 08:48:23] local.INFO: Processing buffer {"connection_id":216609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b6fcf8012d198100072396f8003f00f824..."} 
[2026-10-16 08:48:23] local.INFO: Packet analysis {"connection_id":216609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:48:23] local.INFO: Extracted packet for processing {"connection_id":216609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b6"} 
[2026-10-16 08:48:23] local.INFO: GPS Element Parsed {"raw_longitude":756646144,"raw_latitude":119772920,"longitude_deg":75.6646144,"latitude_deg":11.977292,"altitude":63,"angle":248,"satellites":36,"speed":38,"hex_longitude":"2d198100","hex_latitude":"072396f8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782885376001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28062753671348224,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842957440675155968,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120651000,"timestamp_ms":1792120651000,"timestamp_seconds":1792120651,"priority":1,"record_length":96,"hex_timestamp":"000001a142b6fcf8"} 
[2026-10-16 08:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":27,"data_length":795,"current_offset":136} 
[2026-10-16 08:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782885376001,"66":14233,"185":206,"83":42752,"24":38,"16":28062753671348224,"45":1842957440675155968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-10-16 08:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782885376001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:48:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-10-16 08:48:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28062753671348224,"km_value":28062753671348.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842957440675155968,"description":"Unknown IO ID 45"} 
[2026-10-16 08:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782885376001,"power":14233,"unknown_185":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1842957440675155968}} 
[2026-10-16 08:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":216609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:48:23] local.INFO: GPS data processed {"connection_id":216609,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:48:23] local.INFO: Acknowledgment sent {"connection_id":216609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:48:27] local.INFO: TCP Data received {"connection_id":216429,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:48:27] local.INFO: Processing buffer {"connection_id":216429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:48:27] local.INFO: IMEI packet received {"connection_id":216429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":216429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:48:28] local.INFO: TCP Data received {"connection_id":216429,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:48:28] local.INFO: Processing buffer {"connection_id":216429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:48:28] local.INFO: Packet analysis {"connection_id":216429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:48:28] local.INFO: Extracted packet for processing {"connection_id":216429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782780160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792120536000,"timestamp_ms":1792120536000,"timestamp_seconds":1792120536,"priority":1,"record_length":96,"hex_timestamp":"000001a142b53bc0"} 
[2026-10-16 08:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 08:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782780160001,"66":26289,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782780160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:48:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:48:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782780160001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":216429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:48:28] local.INFO: GPS data processed {"connection_id":216429,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:48:28] local.INFO: Acknowledgment sent {"connection_id":216429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:48:32] local.INFO: TCP Data received {"connection_id":216429,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:48:32] local.INFO: Processing buffer {"connection_id":216429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:48:32] local.INFO: Packet analysis {"connection_id":216429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:48:32] local.INFO: Extracted packet for processing {"connection_id":216429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782780160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792120536000,"timestamp_ms":1792120536000,"timestamp_seconds":1792120536,"priority":1,"record_length":96,"hex_timestamp":"000001a142b53bc0"} 
[2026-10-16 08:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 08:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782780160001,"66":26289,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782780160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:48:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782780160001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":216429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:48:32] local.INFO: GPS data processed {"connection_id":216429,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:48:32] local.INFO: Acknowledgment sent {"connection_id":216429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:48:43] local.INFO: TCP Data received {"connection_id":216428,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b7f6f8012d0a84400705a8f80012012120..."} 
[2026-10-16 08:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b7f6f8012d0a84400705a8f80012012120..."} 
[2026-10-16 08:48:43] local.INFO: Processing buffer {"connection_id":216428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b7f6f8012d0a84400705a8f80012012120..."} 
[2026-10-16 08:48:43] local.INFO: Packet analysis {"connection_id":216428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b7"} 
[2026-10-16 08:48:43] local.INFO: Extracted packet for processing {"connection_id":216428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b7"} 
[2026-10-16 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":755663936,"raw_latitude":117811448,"longitude_deg":75.5663936,"latitude_deg":11.7811448,"altitude":18,"angle":289,"satellites":32,"speed":11,"hex_longitude":"2d0a8440","hex_latitude":"0705a8f8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782902784001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36441646455324672,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758012142441496576,"note":"Value kept but may cause issues"} 
[2026-10-16 08:48:43] 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-10-16 08:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792120715000,"timestamp_ms":1792120715000,"timestamp_seconds":1792120715,"priority":1,"record_length":96,"hex_timestamp":"000001a142b7f6f8"} 
[2026-10-16 08:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 08:48:43] 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-10-16 08: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-10-16 08:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":216428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":216428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":216428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782902784001,"66":14537,"153":206,"94":10240,"24":11,"16":36441646455324672,"45":758012142441496576},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782902784001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:48:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:48:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36441646455324672,"km_value":36441646455324.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":758012142441496576,"description":"Unknown IO ID 45"} 
[2026-10-16 08:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782902784001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":758012142441496576}} 
[2026-10-16 08:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":216428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045408,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:48:43] local.INFO: GPS data processed {"connection_id":216428,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:48:43] local.INFO: Acknowledgment sent {"connection_id":216428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:49:03] local.INFO: TCP Data received {"connection_id":216430,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216430,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:49:03] local.INFO: Processing buffer {"connection_id":216430,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:49:03] local.INFO: IMEI packet received {"connection_id":216430,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":216430,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:49:08] local.INFO: TCP Data received {"connection_id":216430,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216430,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:49:08] local.INFO: Processing buffer {"connection_id":216430,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:49:08] local.INFO: IMEI packet received {"connection_id":216430,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":216430,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:49:11] local.INFO: TCP Data received {"connection_id":216430,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b802b0012d0a81c00705a9e0001001351f..."} 
[2026-10-16 08:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b802b0012d0a81c00705a9e0001001351f..."} 
[2026-10-16 08:49:11] local.INFO: Processing buffer {"connection_id":216430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b802b0012d0a81c00705a9e0001001351f..."} 
[2026-10-16 08:49:11] local.INFO: Packet analysis {"connection_id":216430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:49:11] local.INFO: Extracted packet for processing {"connection_id":216430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:49:11] local.INFO: GPS Element Parsed {"raw_longitude":755663296,"raw_latitude":117811680,"longitude_deg":75.5663296,"latitude_deg":11.781168,"altitude":16,"angle":309,"satellites":31,"speed":12,"hex_longitude":"2d0a81c0","hex_latitude":"0705a9e0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782903040001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36441680815063040,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757801036208994304,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:11] 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-10-16 08:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792120718000,"timestamp_ms":1792120718000,"timestamp_seconds":1792120718,"priority":1,"record_length":96,"hex_timestamp":"000001a142b802b0"} 
[2026-10-16 08:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 08:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":216430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":216430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":216430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782903040001,"66":14396,"153":206,"94":10240,"24":12,"16":36441680815063040,"45":757801036208994304},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782903040001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:49:11] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:49:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36441680815063040,"km_value":36441680815063.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":757801036208994304,"description":"Unknown IO ID 45"} 
[2026-10-16 08:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782903040001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":757801036208994304}} 
[2026-10-16 08:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":216430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:49:11] local.INFO: GPS data processed {"connection_id":216430,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:49:11] local.INFO: Acknowledgment sent {"connection_id":216430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:49:17] local.INFO: TCP Data received {"connection_id":216610,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:49:17] local.INFO: Processing buffer {"connection_id":216610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:49:17] local.INFO: IMEI packet received {"connection_id":216610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":216610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:49:22] local.INFO: TCP Data received {"connection_id":216610,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:49:22] local.INFO: Processing buffer {"connection_id":216610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:49:22] local.INFO: IMEI packet received {"connection_id":216610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":216610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:49:23] local.INFO: TCP Data received {"connection_id":216610,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:49:23] local.INFO: Processing buffer {"connection_id":216610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:49:23] local.INFO: Packet analysis {"connection_id":216610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:49:23] local.INFO: Extracted packet for processing {"connection_id":216610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782780160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120536000,"timestamp_ms":1792120536000,"timestamp_seconds":1792120536,"priority":1,"record_length":96,"hex_timestamp":"000001a142b53bc0"} 
[2026-10-16 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-10-16 08:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 08:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 08:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782780160001,"66":26289,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782780160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:49:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:49:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782780160001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":216610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:49:23] local.INFO: GPS data processed {"connection_id":216610,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:49:23] local.INFO: Acknowledgment sent {"connection_id":216610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:49:37] local.INFO: TCP Data received {"connection_id":217958,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:37] local.INFO: Processing buffer {"connection_id":217958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:37] local.INFO: IMEI packet received {"connection_id":217958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":217958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:49:38] local.INFO: TCP Data received {"connection_id":217958,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:38] local.INFO: Processing buffer {"connection_id":217958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:38] local.INFO: IMEI packet received {"connection_id":217958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":217958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:49:40] local.INFO: TCP Data received {"connection_id":217958,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:40] local.INFO: Processing buffer {"connection_id":217958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:40] local.INFO: IMEI packet received {"connection_id":217958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":217958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:49:43] local.INFO: TCP Data received {"connection_id":217958,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:43] local.INFO: Processing buffer {"connection_id":217958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:49:43] local.INFO: IMEI packet received {"connection_id":217958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":217958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:49:43] local.INFO: TCP Data received {"connection_id":217958,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b7ef28012d18e5000722f878005c012220..."} 
[2026-10-16 08:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b7ef28012d18e5000722f878005c012220..."} 
[2026-10-16 08:49:43] local.INFO: Processing buffer {"connection_id":217958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b7ef28012d18e5000722f878005c012220..."} 
[2026-10-16 08:49:43] local.INFO: Packet analysis {"connection_id":217958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b7"} 
[2026-10-16 08:49:43] local.INFO: Extracted packet for processing {"connection_id":217958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b7"} 
[2026-10-16 08:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756606208,"raw_latitude":119732344,"longitude_deg":75.6606208,"latitude_deg":11.9732344,"altitude":92,"angle":290,"satellites":32,"speed":39,"hex_longitude":"2d18e500","hex_latitude":"0722f878","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782902016001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28065601234665472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795951119553673216,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:43] 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-10-16 08:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792120713000,"timestamp_ms":1792120713000,"timestamp_seconds":1792120713,"priority":1,"record_length":96,"hex_timestamp":"000001a142b7ef28"} 
[2026-10-16 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-10-16 08:49:43] 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-10-16 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 08:49:43] 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-10-16 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-10-16 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-10-16 08:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":217958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":217958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":217958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782902016001,"66":13559,"137":206,"83":42752,"24":39,"16":28065601234665472,"45":1795951119553673216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782902016001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:49:43] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:49:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28065601234665472,"km_value":28065601234665.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795951119553673216,"description":"Unknown IO ID 45"} 
[2026-10-16 08:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782902016001,"power":13559,"unknown_137":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1795951119553673216}} 
[2026-10-16 08:49:43] local.INFO: TCP Data received {"connection_id":216430,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b80698012d0a80c00705aae00010014120..."} 
[2026-10-16 08:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b80698012d0a80c00705aae00010014120..."} 
[2026-10-16 08:49:43] local.INFO: Processing buffer {"connection_id":216430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b80698012d0a80c00705aae00010014120..."} 
[2026-10-16 08:49:43] local.INFO: Packet analysis {"connection_id":216430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:49:43] local.INFO: Extracted packet for processing {"connection_id":216430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:49:43] local.INFO: GPS Element Parsed {"raw_longitude":755663040,"raw_latitude":117811936,"longitude_deg":75.566304,"latitude_deg":11.7811936,"altitude":16,"angle":321,"satellites":32,"speed":14,"hex_longitude":"2d0a80c0","hex_latitude":"0705aae0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782903808001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36441697994932224,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348767277056,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:43] 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-10-16 08:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792120719000,"timestamp_ms":1792120719000,"timestamp_seconds":1792120719,"priority":1,"record_length":96,"hex_timestamp":"000001a142b80698"} 
[2026-10-16 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-10-16 08:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:49:43] 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-10-16 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-10-16 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-10-16 08:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":216430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":216430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":216430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782903808001,"66":14396,"153":206,"94":10240,"24":14,"16":36441697994932224,"45":757097348767277056},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782903808001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:49:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:49:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36441697994932224,"km_value":36441697994932.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348767277056,"description":"Unknown IO ID 45"} 
[2026-10-16 08:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782903808001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":757097348767277056}} 
[2026-10-16 08:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":217958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:49:44] local.INFO: GPS data processed {"connection_id":217958,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:49:44] local.INFO: Acknowledgment sent {"connection_id":217958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":216430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:49:44] local.INFO: GPS data processed {"connection_id":216430,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:49:44] local.INFO: Acknowledgment sent {"connection_id":216430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:49:55] local.INFO: TCP Data received {"connection_id":216610,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:49:55] local.INFO: Processing buffer {"connection_id":216610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:49:55] local.INFO: Packet analysis {"connection_id":216610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:49:55] local.INFO: Extracted packet for processing {"connection_id":216610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782780160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792120536000,"timestamp_ms":1792120536000,"timestamp_seconds":1792120536,"priority":1,"record_length":96,"hex_timestamp":"000001a142b53bc0"} 
[2026-10-16 08:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 08:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782780160001,"66":26289,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782780160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:49:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:49:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782780160001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":216610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:49:55] local.INFO: GPS data processed {"connection_id":216610,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:49:55] local.INFO: Acknowledgment sent {"connection_id":216610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:50:08] local.INFO: TCP Data received {"connection_id":217959,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:50:08] local.INFO: Processing buffer {"connection_id":217959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:50:08] local.INFO: IMEI packet received {"connection_id":217959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":217959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:50:12] local.INFO: TCP Data received {"connection_id":217960,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:50:12] local.INFO: Processing buffer {"connection_id":217960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:50:12] local.INFO: IMEI packet received {"connection_id":217960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":217960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:50:13] local.INFO: TCP Data received {"connection_id":217960,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:50:13] local.INFO: Processing buffer {"connection_id":217960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:50:13] local.INFO: IMEI packet received {"connection_id":217960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":217960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:50:14] local.INFO: TCP Data received {"connection_id":217959,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:50:14] local.INFO: Processing buffer {"connection_id":217959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:50:14] local.INFO: IMEI packet received {"connection_id":217959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":217959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:50:14] local.INFO: TCP Data received {"connection_id":217959,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b80e68012d0a7f800705ad40000f014f20..."} 
[2026-10-16 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b80e68012d0a7f800705ad40000f014f20..."} 
[2026-10-16 08:50:14] local.INFO: Processing buffer {"connection_id":217959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b80e68012d0a7f800705ad40000f014f20..."} 
[2026-10-16 08:50:14] local.INFO: Packet analysis {"connection_id":217959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:50:14] local.INFO: Extracted packet for processing {"connection_id":217959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":755662720,"raw_latitude":117812544,"longitude_deg":75.566272,"latitude_deg":11.7812544,"altitude":15,"angle":335,"satellites":32,"speed":14,"hex_longitude":"2d0a7f80","hex_latitude":"0705ad40","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782904064001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36441732354670592,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756815873790631936,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:14] 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-10-16 08:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792120721000,"timestamp_ms":1792120721000,"timestamp_seconds":1792120721,"priority":1,"record_length":96,"hex_timestamp":"000001a142b80e68"} 
[2026-10-16 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-10-16 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:50:14] 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-10-16 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-10-16 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-10-16 08:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":217959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":217959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":217959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782904064001,"66":14428,"153":206,"94":10240,"24":14,"16":36441732354670592,"45":756815873790631936},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782904064001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:50:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:50:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36441732354670592,"km_value":36441732354670.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":756815873790631936,"description":"Unknown IO ID 45"} 
[2026-10-16 08:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782904064001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":756815873790631936}} 
[2026-10-16 08:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":217959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045414,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:50:14] local.INFO: GPS data processed {"connection_id":217959,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:50:14] local.INFO: Acknowledgment sent {"connection_id":217959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:50:16] local.INFO: TCP Data received {"connection_id":219699,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:50:16] local.INFO: Processing buffer {"connection_id":219699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:50:16] local.INFO: IMEI packet received {"connection_id":219699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":219699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:50:17] local.INFO: TCP Data received {"connection_id":217960,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:50:17] local.INFO: Processing buffer {"connection_id":217960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:50:17] local.INFO: IMEI packet received {"connection_id":217960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":217960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:50:18] local.INFO: TCP Data received {"connection_id":217960,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b80e68012d18c800072303f00060010f25..."} 
[2026-10-16 08:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b80e68012d18c800072303f00060010f25..."} 
[2026-10-16 08:50:18] local.INFO: Processing buffer {"connection_id":217960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b80e68012d18c800072303f00060010f25..."} 
[2026-10-16 08:50:18] local.INFO: Packet analysis {"connection_id":217960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:50:18] local.INFO: Extracted packet for processing {"connection_id":217960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119735280,"longitude_deg":75.6598784,"latitude_deg":11.973528,"altitude":96,"angle":271,"satellites":37,"speed":39,"hex_longitude":"2d18c800","hex_latitude":"072303f0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782902528001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28065979191787520,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793840057228490752,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:18] 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-10-16 08:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792120721000,"timestamp_ms":1792120721000,"timestamp_seconds":1792120721,"priority":1,"record_length":96,"hex_timestamp":"000001a142b80e68"} 
[2026-10-16 08:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:50:18] 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-10-16 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 08:50:18] 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-10-16 08: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-10-16 08:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":217960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":217960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":217960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782902528001,"66":13993,"137":206,"83":42752,"24":39,"16":28065979191787520,"45":1793840057228490752},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782902528001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:50:18] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28065979191787520,"km_value":28065979191787.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793840057228490752,"description":"Unknown IO ID 45"} 
[2026-10-16 08:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782902528001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1793840057228490752}} 
[2026-10-16 08:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":217960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:50:18] local.INFO: GPS data processed {"connection_id":217960,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:50:18] local.INFO: Acknowledgment sent {"connection_id":217960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:50:20] local.INFO: TCP Data received {"connection_id":217960,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b81638012d18c08007230278006100f923..."} 
[2026-10-16 08:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b81638012d18c08007230278006100f923..."} 
[2026-10-16 08:50:20] local.INFO: Processing buffer {"connection_id":217960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b81638012d18c08007230278006100f923..."} 
[2026-10-16 08:50:20] local.INFO: Packet analysis {"connection_id":217960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:50:20] local.INFO: Extracted packet for processing {"connection_id":217960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756596864,"raw_latitude":119734904,"longitude_deg":75.6596864,"latitude_deg":11.9734904,"altitude":97,"angle":249,"satellites":35,"speed":38,"hex_longitude":"2d18c080","hex_latitude":"07230278","is_valid_coordinates":true} 
[2026-10-16 08:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782904576001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28066077976035328,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785677282904633344,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:20] 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-10-16 08:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792120723000,"timestamp_ms":1792120723000,"timestamp_seconds":1792120723,"priority":1,"record_length":96,"hex_timestamp":"000001a142b81638"} 
[2026-10-16 08:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-16 08:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":217960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":217960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":217960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782904576001,"66":14004,"137":206,"83":42752,"24":38,"16":28066077976035328,"45":1785677282904633344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 08:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782904576001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:50:20] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 08:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 08:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28066077976035328,"km_value":28066077976035.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785677282904633344,"description":"Unknown IO ID 45"} 
[2026-10-16 08:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782904576001,"power":14004,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1785677282904633344}} 
[2026-10-16 08:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":217960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:50:20] local.INFO: GPS data processed {"connection_id":217960,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:50:20] local.INFO: Acknowledgment sent {"connection_id":217960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:50:22] local.INFO: TCP Data received {"connection_id":219699,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:50:22] local.INFO: Processing buffer {"connection_id":219699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:50:22] local.INFO: IMEI packet received {"connection_id":219699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":219699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:50:22] local.INFO: TCP Data received {"connection_id":217959,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b83578012d0a76400705c080000e015c1e..."} 
[2026-10-16 08:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b83578012d0a76400705c080000e015c1e..."} 
[2026-10-16 08:50:22] local.INFO: Processing buffer {"connection_id":217959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b83578012d0a76400705c080000e015c1e..."} 
[2026-10-16 08:50:22] local.INFO: Packet analysis {"connection_id":217959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:50:22] local.INFO: Extracted packet for processing {"connection_id":217959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b8"} 
[2026-10-16 08:50:22] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117817472,"longitude_deg":75.5660352,"latitude_deg":11.7817472,"altitude":14,"angle":348,"satellites":30,"speed":22,"hex_longitude":"2d0a7640","hex_latitude":"0705c080","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782904576001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36441994347675648,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756464030069899264,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50: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-10-16 08:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792120731000,"timestamp_ms":1792120731000,"timestamp_seconds":1792120731,"priority":1,"record_length":96,"hex_timestamp":"000001a142b83578"} 
[2026-10-16 08:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:50: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-10-16 08: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-10-16 08:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782904576001,"66":14396,"153":206,"94":10240,"24":22,"16":36441994347675648,"45":756464030069899264},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782904576001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:50:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:50:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36441994347675648,"km_value":36441994347675.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":756464030069899264,"description":"Unknown IO ID 45"} 
[2026-10-16 08:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782904576001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":756464030069899264}} 
[2026-10-16 08:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":217959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:50:22] local.INFO: GPS data processed {"connection_id":217959,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:50:22] local.INFO: Acknowledgment sent {"connection_id":217959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:50:23] local.INFO: TCP Data received {"connection_id":219699,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:50:23] local.INFO: Processing buffer {"connection_id":219699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:50:23] local.INFO: Packet analysis {"connection_id":219699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:50:23] local.INFO: Extracted packet for processing {"connection_id":219699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782780160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120536000,"timestamp_ms":1792120536000,"timestamp_seconds":1792120536,"priority":1,"record_length":96,"hex_timestamp":"000001a142b53bc0"} 
[2026-10-16 08:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 08:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782780160001,"66":26289,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782780160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:50:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:50:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782780160001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":219699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:50:23] local.INFO: GPS data processed {"connection_id":219699,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:50:23] local.INFO: Acknowledgment sent {"connection_id":219699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:50:51] local.INFO: TCP Data received {"connection_id":217960,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b92f78012d186a4007221bc0005600d524..."} 
[2026-10-16 08:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b92f78012d186a4007221bc0005600d524..."} 
[2026-10-16 08:50:51] local.INFO: Processing buffer {"connection_id":217960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b92f78012d186a4007221bc0005600d524..."} 
[2026-10-16 08:50:51] local.INFO: Packet analysis {"connection_id":217960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:50:51] local.INFO: Extracted packet for processing {"connection_id":217960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756574784,"raw_latitude":119675840,"longitude_deg":75.6574784,"latitude_deg":11.967584,"altitude":86,"angle":213,"satellites":36,"speed":60,"hex_longitude":"2d186a40","hex_latitude":"07221bc0","is_valid_coordinates":true} 
[2026-10-16 08:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782921984001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28069256251834368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764707397126393856,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792120795000,"timestamp_ms":1792120795000,"timestamp_seconds":1792120795,"priority":1,"record_length":96,"hex_timestamp":"000001a142b92f78"} 
[2026-10-16 08:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-16 08:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":217960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":217960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":217960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782921984001,"66":14048,"105":206,"83":41984,"24":60,"16":28069256251834368,"45":1764707397126393856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782921984001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:50:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28069256251834368,"km_value":28069256251834.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764707397126393856,"description":"Unknown IO ID 45"} 
[2026-10-16 08:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782921984001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":60,"odometer":null,"unknown_45":1764707397126393856}} 
[2026-10-16 08:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":217960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:50:51] local.INFO: GPS data processed {"connection_id":217960,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:50:51] local.INFO: Acknowledgment sent {"connection_id":217960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:50:55] local.INFO: TCP Data received {"connection_id":219699,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:50:55] local.INFO: Processing buffer {"connection_id":219699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b53bc0012d7fa40005afcde00009009e2b..."} 
[2026-10-16 08:50:55] local.INFO: Packet analysis {"connection_id":219699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:50:55] local.INFO: Extracted packet for processing {"connection_id":219699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b5"} 
[2026-10-16 08:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782780160001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792120536000,"timestamp_ms":1792120536000,"timestamp_seconds":1792120536,"priority":1,"record_length":96,"hex_timestamp":"000001a142b53bc0"} 
[2026-10-16 08:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 08:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782780160001,"66":26289,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782780160001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:50:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:50:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782780160001,"power":26289,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":219699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:50:55] local.INFO: GPS data processed {"connection_id":219699,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:50:55] local.INFO: Acknowledgment sent {"connection_id":219699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:51:03] local.INFO: TCP Data received {"connection_id":219700,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:51:03] local.INFO: Processing buffer {"connection_id":219700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:51:03] local.INFO: IMEI packet received {"connection_id":219700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":219700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:51:08] local.INFO: TCP Data received {"connection_id":216612,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:51:08] local.INFO: Processing buffer {"connection_id":216612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:51:08] local.INFO: IMEI packet received {"connection_id":216612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":216612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:51:08] local.INFO: TCP Data received {"connection_id":219700,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:51:08] local.INFO: Processing buffer {"connection_id":219700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:51:08] local.INFO: IMEI packet received {"connection_id":219700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":219700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:51:09] local.INFO: TCP Data received {"connection_id":219700,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9c000012d0a74c007060498000b00731e..."} 
[2026-10-16 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9c000012d0a74c007060498000b00731e..."} 
[2026-10-16 08:51:09] local.INFO: Processing buffer {"connection_id":219700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9c000012d0a74c007060498000b00731e..."} 
[2026-10-16 08:51:09] local.INFO: Packet analysis {"connection_id":219700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:09] local.INFO: Extracted packet for processing {"connection_id":219700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:09] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834904,"longitude_deg":75.5659968,"latitude_deg":11.7834904,"altitude":11,"angle":115,"satellites":30,"speed":1,"hex_longitude":"2d0a74c0","hex_latitude":"07060498","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782932736001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36442960715317248,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587634688,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:09] 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-10-16 08:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792120832000,"timestamp_ms":1792120832000,"timestamp_seconds":1792120832,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9c000"} 
[2026-10-16 08:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:51: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-10-16 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 08:51:09] 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-10-16 08: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-10-16 08:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":219700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":219700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":219700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782932736001,"66":14559,"153":206,"94":10240,"24":1,"16":36442960715317248,"45":753297436587634688},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782932736001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:51:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:51:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36442960715317248,"km_value":36442960715317.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587634688,"description":"Unknown IO ID 45"} 
[2026-10-16 08:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782932736001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753297436587634688}} 
[2026-10-16 08:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":219700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:51:09] local.INFO: GPS data processed {"connection_id":219700,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:51:09] local.INFO: Acknowledgment sent {"connection_id":219700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:51:13] local.INFO: TCP Data received {"connection_id":216612,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:51:13] local.INFO: Processing buffer {"connection_id":216612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:51:13] local.INFO: IMEI packet received {"connection_id":216612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":216612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:51:13] local.INFO: TCP Data received {"connection_id":216612,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b94ad0012d1853800721fb38004f00d526..."} 
[2026-10-16 08:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b94ad0012d1853800721fb38004f00d526..."} 
[2026-10-16 08:51:13] local.INFO: Processing buffer {"connection_id":216612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b94ad0012d1853800721fb38004f00d526..."} 
[2026-10-16 08:51:13] local.INFO: Packet analysis {"connection_id":216612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:13] local.INFO: Extracted packet for processing {"connection_id":216612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756568960,"raw_latitude":119667512,"longitude_deg":75.656896,"latitude_deg":11.9667512,"altitude":79,"angle":213,"satellites":38,"speed":54,"hex_longitude":"2d185380","hex_latitude":"0721fb38","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782923520001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28069741583138816,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759289003822792704,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792120802000,"timestamp_ms":1792120802000,"timestamp_seconds":1792120802,"priority":1,"record_length":96,"hex_timestamp":"000001a142b94ad0"} 
[2026-10-16 08:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:51:13] 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-10-16 08: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 08:51: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-10-16 08: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-10-16 08:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782923520001,"66":14450,"105":206,"83":41984,"24":54,"16":28069741583138816,"45":1759289003822792704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782923520001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:51:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28069741583138816,"km_value":28069741583138.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759289003822792704,"description":"Unknown IO ID 45"} 
[2026-10-16 08:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782923520001,"power":14450,"unknown_105":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":1759289003822792704}} 
[2026-10-16 08:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":216612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:51:14] local.INFO: GPS data processed {"connection_id":216612,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:51:14] local.INFO: Acknowledgment sent {"connection_id":216612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:51:14] local.INFO: TCP Data received {"connection_id":219700,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9c3e8012d0a750007060480000b00671f..."} 
[2026-10-16 08:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9c3e8012d0a750007060480000b00671f..."} 
[2026-10-16 08:51:14] local.INFO: Processing buffer {"connection_id":219700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9c3e8012d0a750007060480000b00671f..."} 
[2026-10-16 08:51:14] local.INFO: Packet analysis {"connection_id":219700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:14] local.INFO: Extracted packet for processing {"connection_id":219700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:14] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834880,"longitude_deg":75.5660032,"latitude_deg":11.783488,"altitude":11,"angle":103,"satellites":31,"speed":2,"hex_longitude":"2d0a7500","hex_latitude":"07060480","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782932992001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36442965010284544,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075983872,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:14] 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-10-16 08:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792120833000,"timestamp_ms":1792120833000,"timestamp_seconds":1792120833,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9c3e8"} 
[2026-10-16 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-10-16 08:51: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-10-16 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 08:51:14] 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-10-16 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-10-16 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-10-16 08:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":219700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":219700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":219700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782932992001,"66":14515,"153":206,"94":10240,"24":2,"16":36442965010284544,"45":753438174075983872},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782932992001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:51:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:51:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36442965010284544,"km_value":36442965010284.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075983872,"description":"Unknown IO ID 45"} 
[2026-10-16 08:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782932992001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753438174075983872}} 
[2026-10-16 08:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":219700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045423,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:51:14] local.INFO: GPS data processed {"connection_id":219700,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:51:14] local.INFO: Acknowledgment sent {"connection_id":219700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:51:15] local.INFO: TCP Data received {"connection_id":217962,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:51:15] local.INFO: Processing buffer {"connection_id":217962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:51:15] local.INFO: IMEI packet received {"connection_id":217962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":217962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:51:16] local.INFO: TCP Data received {"connection_id":217961,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:51:16] local.INFO: Processing buffer {"connection_id":217961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:51:16] local.INFO: IMEI packet received {"connection_id":217961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":217961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:51:16] local.INFO: TCP Data received {"connection_id":217962,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:51:16] local.INFO: Processing buffer {"connection_id":217962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:51:16] local.INFO: IMEI packet received {"connection_id":217962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":217962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:51:22] local.INFO: TCP Data received {"connection_id":217962,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:51:22] local.INFO: Processing buffer {"connection_id":217962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:51:22] local.INFO: IMEI packet received {"connection_id":217962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":217962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:51:23] local.INFO: TCP Data received {"connection_id":217962,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:51:23] local.INFO: Processing buffer {"connection_id":217962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:51:23] local.INFO: Packet analysis {"connection_id":217962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:23] local.INFO: Extracted packet for processing {"connection_id":217962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:51: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-10-16 08:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782857216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120837000,"timestamp_ms":1792120837000,"timestamp_seconds":1792120837,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9d388"} 
[2026-10-16 08:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:51: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 08:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:51: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-10-16 08:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782857216001,"66":26082,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782857216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:51:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:51:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782857216001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":217962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:51:23] local.INFO: GPS data processed {"connection_id":217962,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:51:23] local.INFO: Acknowledgment sent {"connection_id":217962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:51:44] local.INFO: TCP Data received {"connection_id":216612,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b96a10012d183dc00721dae0004b00d528..."} 
[2026-10-16 08:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b96a10012d183dc00721dae0004b00d528..."} 
[2026-10-16 08:51:44] local.INFO: Processing buffer {"connection_id":216612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b96a10012d183dc00721dae0004b00d528..."} 
[2026-10-16 08:51:44] local.INFO: Packet analysis {"connection_id":216612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:44] local.INFO: Extracted packet for processing {"connection_id":216612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119659232,"longitude_deg":75.6563392,"latitude_deg":11.9659232,"altitude":75,"angle":213,"satellites":40,"speed":44,"hex_longitude":"2d183dc0","hex_latitude":"0721dae0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782925312001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28070222619475968,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752885448100493312,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792120810000,"timestamp_ms":1792120810000,"timestamp_seconds":1792120810,"priority":1,"record_length":96,"hex_timestamp":"000001a142b96a10"} 
[2026-10-16 08:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:51:44] 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-10-16 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 08:51:44] 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-10-16 08: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-10-16 08:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782925312001,"66":13059,"105":206,"83":41984,"24":44,"16":28070222619475968,"45":1752885448100493312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782925312001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:51:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:51:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28070222619475968,"km_value":28070222619475.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752885448100493312,"description":"Unknown IO ID 45"} 
[2026-10-16 08:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782925312001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1752885448100493312}} 
[2026-10-16 08:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":216612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:51:45] local.INFO: GPS data processed {"connection_id":216612,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:51:45] local.INFO: Acknowledgment sent {"connection_id":216612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:51:45] local.INFO: TCP Data received {"connection_id":219700,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9cbb8012d0a754007060478000b00521f..."} 
[2026-10-16 08:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9cbb8012d0a754007060478000b00521f..."} 
[2026-10-16 08:51:45] local.INFO: Processing buffer {"connection_id":219700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9cbb8012d0a754007060478000b00521f..."} 
[2026-10-16 08:51:45] local.INFO: Packet analysis {"connection_id":219700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:45] local.INFO: Extracted packet for processing {"connection_id":219700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:45] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117834872,"longitude_deg":75.5660096,"latitude_deg":11.7834872,"altitude":11,"angle":82,"satellites":31,"speed":1,"hex_longitude":"2d0a7540","hex_latitude":"07060478","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782933248001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36442969305251840,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820155392,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:45] 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-10-16 08:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792120835000,"timestamp_ms":1792120835000,"timestamp_seconds":1792120835,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9cbb8"} 
[2026-10-16 08:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:51: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-10-16 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 08:51:45] 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-10-16 08: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-10-16 08:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":219700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":219700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":219700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782933248001,"66":14515,"153":206,"94":10240,"24":1,"16":36442969305251840,"45":753508542820155392},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782933248001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:51:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:51:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36442969305251840,"km_value":36442969305251.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820155392,"description":"Unknown IO ID 45"} 
[2026-10-16 08:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782933248001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753508542820155392}} 
[2026-10-16 08:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":219700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045426,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:51:45] local.INFO: GPS data processed {"connection_id":219700,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:51:45] local.INFO: Acknowledgment sent {"connection_id":219700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:51:47] local.INFO: TCP Data received {"connection_id":216431,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:51:47] local.INFO: Processing buffer {"connection_id":216431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:51:47] local.INFO: IMEI packet received {"connection_id":216431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":216431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:51:55] local.INFO: TCP Data received {"connection_id":217962,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:51:55] local.INFO: Processing buffer {"connection_id":217962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:51:55] local.INFO: Packet analysis {"connection_id":217962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:55] local.INFO: Extracted packet for processing {"connection_id":217962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782857216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792120837000,"timestamp_ms":1792120837000,"timestamp_seconds":1792120837,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9d388"} 
[2026-10-16 08:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 08:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782857216001,"66":26082,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782857216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:51:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:51:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782857216001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":217962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:51:55] local.INFO: GPS data processed {"connection_id":217962,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:51:55] local.INFO: Acknowledgment sent {"connection_id":217962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:52:03] local.INFO: TCP Data received {"connection_id":216432,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:52:03] local.INFO: Processing buffer {"connection_id":216432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:52:03] local.INFO: IMEI packet received {"connection_id":216432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":216432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:52:07] local.INFO: TCP Data received {"connection_id":216613,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:52:07] local.INFO: Processing buffer {"connection_id":216613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:52:07] local.INFO: IMEI packet received {"connection_id":216613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":216613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:52:07] local.INFO: TCP Data received {"connection_id":216613,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:52:07] local.INFO: Processing buffer {"connection_id":216613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:52:07] local.INFO: IMEI packet received {"connection_id":216613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":216613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:52:08] local.INFO: TCP Data received {"connection_id":216432,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:52:08] local.INFO: Processing buffer {"connection_id":216432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:52:08] local.INFO: IMEI packet received {"connection_id":216432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":216432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:52:09] local.INFO: TCP Data received {"connection_id":216432,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142ba19d8012d0a758007060478000b004d1e..."} 
[2026-10-16 08:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ba19d8012d0a758007060478000b004d1e..."} 
[2026-10-16 08:52:09] local.INFO: Processing buffer {"connection_id":216432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ba19d8012d0a758007060478000b004d1e..."} 
[2026-10-16 08:52:09] local.INFO: Packet analysis {"connection_id":216432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:52:09] local.INFO: Extracted packet for processing {"connection_id":216432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:52:09] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117834872,"longitude_deg":75.566016,"latitude_deg":11.7834872,"altitude":11,"angle":77,"satellites":30,"speed":0,"hex_longitude":"2d0a7580","hex_latitude":"07060478","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782933760001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36442973600219136,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911564331008,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:09] 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-10-16 08:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792120855000,"timestamp_ms":1792120855000,"timestamp_seconds":1792120855,"priority":1,"record_length":96,"hex_timestamp":"000001a142ba19d8"} 
[2026-10-16 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-10-16 08:52: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-10-16 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 08:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 08:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782933760001,"66":14428,"153":206,"94":10240,"24":0,"16":36442973600219136,"45":753578911564331008},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782933760001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:52:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:52:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36442973600219136,"km_value":36442973600219.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911564331008,"description":"Unknown IO ID 45"} 
[2026-10-16 08:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782933760001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753578911564331008}} 
[2026-10-16 08:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":216432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045428,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:52:09] local.INFO: GPS data processed {"connection_id":216432,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:52:09] local.INFO: Acknowledgment sent {"connection_id":216432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:52:13] local.INFO: TCP Data received {"connection_id":216613,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:52:13] local.INFO: Processing buffer {"connection_id":216613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:52:13] local.INFO: IMEI packet received {"connection_id":216613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":216613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:52:14] local.INFO: TCP Data received {"connection_id":216613,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b99120012d1829400721bb50004800d428..."} 
[2026-10-16 08:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b99120012d1829400721bb50004800d428..."} 
[2026-10-16 08:52:14] local.INFO: Processing buffer {"connection_id":216613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b99120012d1829400721bb50004800d428..."} 
[2026-10-16 08:52:14] local.INFO: Packet analysis {"connection_id":216613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:52:14] local.INFO: Extracted packet for processing {"connection_id":216613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119651152,"longitude_deg":75.6558144,"latitude_deg":11.9651152,"altitude":72,"angle":212,"satellites":40,"speed":31,"hex_longitude":"2d182940","hex_latitude":"0721bb50","is_valid_coordinates":true} 
[2026-10-16 08:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782927360001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28070690770911232,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367354916864,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792120820000,"timestamp_ms":1792120820000,"timestamp_seconds":1792120820,"priority":1,"record_length":96,"hex_timestamp":"000001a142b99120"} 
[2026-10-16 08:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:52:14] 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-10-16 08:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303178867330410,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709980,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3103567873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221693047,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531178,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3080781824,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:14] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,185,161,74,45,128,251,79,38,10,66,47,64,27,86,36,184,1,240,169,227,34,4,113,205,50,221,162,48,37,239,54,2,99,7,111,28],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-10-16 08:52:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553920622886912,"timestamp_seconds":5404553920622887.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782927360001,"66":13243,"105":206,"83":41984,"24":31,"16":28070690770911232,"45":1746763367354916864},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782927360001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:52:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28070690770911232,"km_value":28070690770911.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367354916864,"description":"Unknown IO ID 45"} 
[2026-10-16 08:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782927360001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1746763367354916864}} 
[2026-10-16 08:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":216613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:52:14] local.INFO: GPS data processed {"connection_id":216613,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:52:14] local.INFO: Acknowledgment sent {"connection_id":216613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:52:21] local.INFO: TCP Data received {"connection_id":217963,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:52:21] local.INFO: Processing buffer {"connection_id":217963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:52:21] local.INFO: IMEI packet received {"connection_id":217963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":217963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:52:27] local.INFO: TCP Data received {"connection_id":217963,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:52:27] local.INFO: Processing buffer {"connection_id":217963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:52:27] local.INFO: IMEI packet received {"connection_id":217963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":217963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:52:29] local.INFO: TCP Data received {"connection_id":217963,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:52:29] local.INFO: Processing buffer {"connection_id":217963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:52:29] local.INFO: Packet analysis {"connection_id":217963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:52:29] local.INFO: Extracted packet for processing {"connection_id":217963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:52:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:52: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-10-16 08:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782857216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792120837000,"timestamp_ms":1792120837000,"timestamp_seconds":1792120837,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9d388"} 
[2026-10-16 08:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 08:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:52: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-10-16 08:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782857216001,"66":26082,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782857216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:52:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:52:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782857216001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":217963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:52:29] local.INFO: GPS data processed {"connection_id":217963,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:52:29] local.INFO: Acknowledgment sent {"connection_id":217963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:52:40] local.INFO: TCP Data received {"connection_id":216432,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142ba6be0012d0a758007060478000b004d1e..."} 
[2026-10-16 08:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ba6be0012d0a758007060478000b004d1e..."} 
[2026-10-16 08:52:40] local.INFO: Processing buffer {"connection_id":216432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ba6be0012d0a758007060478000b004d1e..."} 
[2026-10-16 08:52:40] local.INFO: Packet analysis {"connection_id":216432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:52:40] local.INFO: Extracted packet for processing {"connection_id":216432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:52:40] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117834872,"longitude_deg":75.566016,"latitude_deg":11.7834872,"altitude":11,"angle":77,"satellites":30,"speed":0,"hex_longitude":"2d0a7580","hex_latitude":"07060478","is_valid_coordinates":true} 
[2026-10-16 08:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782938880001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36442973600219136,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280308508672,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:40] 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-10-16 08:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792120876000,"timestamp_ms":1792120876000,"timestamp_seconds":1792120876,"priority":1,"record_length":96,"hex_timestamp":"000001a142ba6be0"} 
[2026-10-16 08:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:52: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-10-16 08:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:52:40] 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-10-16 08:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":216432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":216432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":216432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782938880001,"66":14396,"153":206,"94":10240,"24":0,"16":36442973600219136,"45":753649280308508672},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782938880001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:52:40] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:52:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36442973600219136,"km_value":36442973600219.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280308508672,"description":"Unknown IO ID 45"} 
[2026-10-16 08:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782938880001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753649280308508672}} 
[2026-10-16 08:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":216432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045431,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:52:40] local.INFO: GPS data processed {"connection_id":216432,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:52:40] local.INFO: Acknowledgment sent {"connection_id":216432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:52:44] local.INFO: TCP Data received {"connection_id":216613,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9a890012d1823400721b0e8004800be28..."} 
[2026-10-16 08:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9a890012d1823400721b0e8004800be28..."} 
[2026-10-16 08:52:44] local.INFO: Processing buffer {"connection_id":216613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9a890012d1823400721b0e8004800be28..."} 
[2026-10-16 08:52:44] local.INFO: Packet analysis {"connection_id":216613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:52:44] local.INFO: Extracted packet for processing {"connection_id":216613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119648488,"longitude_deg":75.6556608,"latitude_deg":11.9648488,"altitude":72,"angle":190,"satellites":40,"speed":9,"hex_longitude":"2d182340","hex_latitude":"0721b0e8","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782929920001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28070836799799296,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130330279936,"note":"Value kept but may cause issues"} 
[2026-10-16 08:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792120826000,"timestamp_ms":1792120826000,"timestamp_seconds":1792120826,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9a890"} 
[2026-10-16 08:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:52: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-10-16 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-16 08:52:44] 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-10-16 08: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-10-16 08:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782929920001,"66":13222,"105":206,"83":41984,"24":9,"16":28070836799799296,"45":1740993130330279936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782929920001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:52:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28070836799799296,"km_value":28070836799799.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130330279936,"description":"Unknown IO ID 45"} 
[2026-10-16 08:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782929920001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1740993130330279936}} 
[2026-10-16 08:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":216613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:52:45] local.INFO: GPS data processed {"connection_id":216613,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:52:45] local.INFO: Acknowledgment sent {"connection_id":216613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:53:01] local.INFO: TCP Data received {"connection_id":217963,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:53:01] local.INFO: Processing buffer {"connection_id":217963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:53:01] local.INFO: Packet analysis {"connection_id":217963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:53:01] local.INFO: Extracted packet for processing {"connection_id":217963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782857216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792120837000,"timestamp_ms":1792120837000,"timestamp_seconds":1792120837,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9d388"} 
[2026-10-16 08:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:53: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-10-16 08:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 08:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782857216001,"66":26082,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782857216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:53:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:53:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782857216001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":217963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:53:01] local.INFO: GPS data processed {"connection_id":217963,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:53:01] local.INFO: Acknowledgment sent {"connection_id":217963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:53:04] local.INFO: TCP Data received {"connection_id":217964,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217964,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:53:04] local.INFO: Processing buffer {"connection_id":217964,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:53:04] local.INFO: IMEI packet received {"connection_id":217964,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":217964,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:53:04] local.INFO: TCP Data received {"connection_id":217964,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217964,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:53:04] local.INFO: Processing buffer {"connection_id":217964,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:53:04] local.INFO: IMEI packet received {"connection_id":217964,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":217964,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:53:05] local.INFO: TCP Data received {"connection_id":217964,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217964,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:53:05] local.INFO: Processing buffer {"connection_id":217964,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:53:05] local.INFO: IMEI packet received {"connection_id":217964,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":217964,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:53:07] local.INFO: TCP Data received {"connection_id":217966,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:53:07] local.INFO: Processing buffer {"connection_id":217966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:53:07] local.INFO: IMEI packet received {"connection_id":217966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":217966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:53:09] local.INFO: TCP Data received {"connection_id":217964,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142babde8012d0a758007060478000b004d22..."} 
[2026-10-16 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142babde8012d0a758007060478000b004d22..."} 
[2026-10-16 08:53:09] local.INFO: Processing buffer {"connection_id":217964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142babde8012d0a758007060478000b004d22..."} 
[2026-10-16 08:53:09] local.INFO: Packet analysis {"connection_id":217964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:53:09] local.INFO: Extracted packet for processing {"connection_id":217964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:53:09] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117834872,"longitude_deg":75.566016,"latitude_deg":11.7834872,"altitude":11,"angle":77,"satellites":34,"speed":0,"hex_longitude":"2d0a7580","hex_latitude":"07060478","is_valid_coordinates":true} 
[2026-10-16 08:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782944256001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36442973600219136,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280308508672,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:09] 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-10-16 08:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792120897000,"timestamp_ms":1792120897000,"timestamp_seconds":1792120897,"priority":1,"record_length":96,"hex_timestamp":"000001a142babde8"} 
[2026-10-16 08:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:53: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-10-16 08:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":217964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":217964,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":217964,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782944256001,"66":14396,"153":206,"94":10240,"24":0,"16":36442973600219136,"45":753649280308508672},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782944256001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:53:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:53:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36442973600219136,"km_value":36442973600219.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280308508672,"description":"Unknown IO ID 45"} 
[2026-10-16 08:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782944256001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753649280308508672}} 
[2026-10-16 08:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":217964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045434,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:53:10] local.INFO: GPS data processed {"connection_id":217964,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:53:10] local.INFO: Acknowledgment sent {"connection_id":217964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:53:12] local.INFO: TCP Data received {"connection_id":217966,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:53:12] local.INFO: Processing buffer {"connection_id":217966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:53:12] local.INFO: IMEI packet received {"connection_id":217966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":217966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:53:12] local.INFO: TCP Data received {"connection_id":217966,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9fa98012d1822c00721ae90004800bf25..."} 
[2026-10-16 08:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9fa98012d1822c00721ae90004800bf25..."} 
[2026-10-16 08:53:12] local.INFO: Processing buffer {"connection_id":217966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9fa98012d1822c00721ae90004800bf25..."} 
[2026-10-16 08:53:12] local.INFO: Packet analysis {"connection_id":217966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:53:12] local.INFO: Extracted packet for processing {"connection_id":217966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119647888,"longitude_deg":75.655648,"latitude_deg":11.9647888,"altitude":72,"angle":191,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-10-16 08:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782931456001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28070866864570368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469334016,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792120847000,"timestamp_ms":1792120847000,"timestamp_seconds":1792120847,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9fa98"} 
[2026-10-16 08:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:53:12] 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-10-16 08:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-10-16 08:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":217966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":217966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":217966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782931456001,"66":13059,"105":206,"83":41984,"24":0,"16":28070866864570368,"45":1739304280469334016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782931456001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:53:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28070866864570368,"km_value":28070866864570.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469334016,"description":"Unknown IO ID 45"} 
[2026-10-16 08:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782931456001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469334016}} 
[2026-10-16 08:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":217966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:53:13] local.INFO: GPS data processed {"connection_id":217966,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:53:13] local.INFO: Acknowledgment sent {"connection_id":217966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:53:16] local.INFO: TCP Data received {"connection_id":219701,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:53:16] local.INFO: Processing buffer {"connection_id":219701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:53:16] local.INFO: IMEI packet received {"connection_id":219701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":219701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:53:22] local.INFO: TCP Data received {"connection_id":219701,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:53:22] local.INFO: Processing buffer {"connection_id":219701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:53:22] local.INFO: IMEI packet received {"connection_id":219701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":219701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:53:23] local.INFO: TCP Data received {"connection_id":219701,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:53:23] local.INFO: Processing buffer {"connection_id":219701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:53:23] local.INFO: Packet analysis {"connection_id":219701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:53:23] local.INFO: Extracted packet for processing {"connection_id":219701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782857216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120837000,"timestamp_ms":1792120837000,"timestamp_seconds":1792120837,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9d388"} 
[2026-10-16 08:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 08:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782857216001,"66":26082,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782857216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:53:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:53:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782857216001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":219701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:53:23] local.INFO: GPS data processed {"connection_id":219701,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:53:23] local.INFO: Acknowledgment sent {"connection_id":219701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:53:42] local.INFO: TCP Data received {"connection_id":217964,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142bafc68012d0a750007060430000b00f121..."} 
[2026-10-16 08:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bafc68012d0a750007060430000b00f121..."} 
[2026-10-16 08:53:42] local.INFO: Processing buffer {"connection_id":217964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bafc68012d0a750007060430000b00f121..."} 
[2026-10-16 08:53:42] local.INFO: Packet analysis {"connection_id":217964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:53:42] local.INFO: Extracted packet for processing {"connection_id":217964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:53:42] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834800,"longitude_deg":75.5660032,"latitude_deg":11.78348,"altitude":11,"angle":241,"satellites":33,"speed":1,"hex_longitude":"2d0a7500","hex_latitude":"07060430","is_valid_coordinates":true} 
[2026-10-16 08:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782949632001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36442982190153728,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280308508672,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:42] 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-10-16 08:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792120913000,"timestamp_ms":1792120913000,"timestamp_seconds":1792120913,"priority":1,"record_length":96,"hex_timestamp":"000001a142bafc68"} 
[2026-10-16 08:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:53:42] 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-10-16 08:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":217964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":217964,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":217964,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782949632001,"66":14591,"153":206,"94":10240,"24":1,"16":36442982190153728,"45":753649280308508672},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782949632001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:53:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:53:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36442982190153728,"km_value":36442982190153.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280308508672,"description":"Unknown IO ID 45"} 
[2026-10-16 08:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782949632001,"power":14591,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753649280308508672}} 
[2026-10-16 08:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":217964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:53:42] local.INFO: GPS data processed {"connection_id":217964,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:53:42] local.INFO: Acknowledgment sent {"connection_id":217964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:53:43] local.INFO: TCP Data received {"connection_id":217966,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ba4ca0012d1822c00721ae90004800bf27..."} 
[2026-10-16 08:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ba4ca0012d1822c00721ae90004800bf27..."} 
[2026-10-16 08:53:43] local.INFO: Processing buffer {"connection_id":217966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ba4ca0012d1822c00721ae90004800bf27..."} 
[2026-10-16 08:53:43] local.INFO: Packet analysis {"connection_id":217966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:53:43] local.INFO: Extracted packet for processing {"connection_id":217966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:53:43] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119647888,"longitude_deg":75.655648,"latitude_deg":11.9647888,"altitude":72,"angle":191,"satellites":39,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782936832001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28070866864570368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980825088,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792120868000,"timestamp_ms":1792120868000,"timestamp_seconds":1792120868,"priority":1,"record_length":96,"hex_timestamp":"000001a142ba4ca0"} 
[2026-10-16 08:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:53:43] 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-10-16 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303178682781034,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043710010,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3108687873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4214751311,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3101097984,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:43] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,186,161,168,45,64,176,72,40,10,66,145,187,106,192,1,240,3,227,185,33,4,113,205,54,47,36,239,2,99,7,91,58],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-10-16 08:53:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188356936365506560,"timestamp_seconds":5188356936365507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":217966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":217966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":217966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782936832001,"66":14004,"105":206,"83":41984,"24":0,"16":28070866864570368,"45":1739163542980825088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782936832001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:53:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:53:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28070866864570368,"km_value":28070866864570.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980825088,"description":"Unknown IO ID 45"} 
[2026-10-16 08:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782936832001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542980825088}} 
[2026-10-16 08:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":217966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:53:44] local.INFO: GPS data processed {"connection_id":217966,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:53:44] local.INFO: Acknowledgment sent {"connection_id":217966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:53:55] local.INFO: TCP Data received {"connection_id":219701,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:53:55] local.INFO: Processing buffer {"connection_id":219701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:53:55] local.INFO: Packet analysis {"connection_id":219701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:53:55] local.INFO: Extracted packet for processing {"connection_id":219701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782857216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792120837000,"timestamp_ms":1792120837000,"timestamp_seconds":1792120837,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9d388"} 
[2026-10-16 08:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 08:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782857216001,"66":26082,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782857216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:53:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:53:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782857216001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":219701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:53:55] local.INFO: GPS data processed {"connection_id":219701,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:53:55] local.INFO: Acknowledgment sent {"connection_id":219701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:54:03] local.INFO: TCP Data received {"connection_id":216616,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:54:03] local.INFO: Processing buffer {"connection_id":216616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:54:03] local.INFO: IMEI packet received {"connection_id":216616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":216616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:54:07] local.INFO: TCP Data received {"connection_id":216616,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:54:07] local.INFO: Processing buffer {"connection_id":216616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:54:07] local.INFO: IMEI packet received {"connection_id":216616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":216616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:54:07] local.INFO: TCP Data received {"connection_id":216616,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142bc8ad8012d0a72800705df60000e00e822..."} 
[2026-10-16 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bc8ad8012d0a72800705df60000e00e822..."} 
[2026-10-16 08:54:07] local.INFO: Processing buffer {"connection_id":216616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bc8ad8012d0a72800705df60000e00e822..."} 
[2026-10-16 08:54:07] local.INFO: Packet analysis {"connection_id":216616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142bc"} 
[2026-10-16 08:54:07] local.INFO: Extracted packet for processing {"connection_id":216616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142bc"} 
[2026-10-16 08:54:07] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117825376,"longitude_deg":75.5659392,"latitude_deg":11.7825376,"altitude":14,"angle":232,"satellites":34,"speed":0,"hex_longitude":"2d0a7280","hex_latitude":"0705df60","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782979584001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36443471816425472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752875224120129536,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:07] 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-10-16 08:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792121015000,"timestamp_ms":1792121015000,"timestamp_seconds":1792121015,"priority":1,"record_length":96,"hex_timestamp":"000001a142bc8ad8"} 
[2026-10-16 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-10-16 08:54: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-10-16 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 08:54:07] 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-10-16 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-10-16 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-10-16 08:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782979584001,"66":14428,"153":206,"94":10240,"24":0,"16":36443471816425472,"45":752875224120129536},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782979584001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:54:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:54:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36443471816425472,"km_value":36443471816425.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":752875224120129536,"description":"Unknown IO ID 45"} 
[2026-10-16 08:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782979584001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":752875224120129536}} 
[2026-10-16 08:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":216616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045440,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:54:08] local.INFO: GPS data processed {"connection_id":216616,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:54:08] local.INFO: Acknowledgment sent {"connection_id":216616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:54:08] local.INFO: TCP Data received {"connection_id":219702,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:54:08] local.INFO: Processing buffer {"connection_id":219702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:54:08] local.INFO: IMEI packet received {"connection_id":219702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":219702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:54:13] local.INFO: TCP Data received {"connection_id":219702,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:54:13] local.INFO: Processing buffer {"connection_id":219702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:54:13] local.INFO: IMEI packet received {"connection_id":219702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":219702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:54:13] local.INFO: TCP Data received {"connection_id":219702,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ba9ea8012d1822c00721ae90004800bf29..."} 
[2026-10-16 08:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ba9ea8012d1822c00721ae90004800bf29..."} 
[2026-10-16 08:54:13] local.INFO: Processing buffer {"connection_id":219702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ba9ea8012d1822c00721ae90004800bf29..."} 
[2026-10-16 08:54:13] local.INFO: Packet analysis {"connection_id":219702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:54:13] local.INFO: Extracted packet for processing {"connection_id":219702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119647888,"longitude_deg":75.655648,"latitude_deg":11.9647888,"altitude":72,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782942208001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28070866864570368,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980825088,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792120889000,"timestamp_ms":1792120889000,"timestamp_seconds":1792120889,"priority":1,"record_length":96,"hex_timestamp":"000001a142ba9ea8"} 
[2026-10-16 08:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:54:13] 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-10-16 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 08:54:13] 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-10-16 08: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-10-16 08:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782942208001,"66":13091,"105":206,"83":41984,"24":0,"16":28070866864570368,"45":1739163542980825088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782942208001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:54:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28070866864570368,"km_value":28070866864570.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980825088,"description":"Unknown IO ID 45"} 
[2026-10-16 08:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782942208001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542980825088}} 
[2026-10-16 08:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":219702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:54:14] local.INFO: GPS data processed {"connection_id":219702,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:54:14] local.INFO: Acknowledgment sent {"connection_id":219702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:54:16] local.INFO: TCP Data received {"connection_id":216433,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:54:16] local.INFO: Processing buffer {"connection_id":216433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:54:16] local.INFO: IMEI packet received {"connection_id":216433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":216433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:54:22] local.INFO: TCP Data received {"connection_id":216433,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:54:22] local.INFO: Processing buffer {"connection_id":216433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:54:22] local.INFO: IMEI packet received {"connection_id":216433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":216433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:54:23] local.INFO: TCP Data received {"connection_id":216433,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:54:23] local.INFO: Processing buffer {"connection_id":216433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:54:23] local.INFO: Packet analysis {"connection_id":216433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:54:23] local.INFO: Extracted packet for processing {"connection_id":216433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:54:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782857216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792120837000,"timestamp_ms":1792120837000,"timestamp_seconds":1792120837,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9d388"} 
[2026-10-16 08:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 08:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782857216001,"66":26082,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782857216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:54:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:54:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782857216001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":216433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:54:23] local.INFO: GPS data processed {"connection_id":216433,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:54:23] local.INFO: Acknowledgment sent {"connection_id":216433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:54:31] local.INFO: TCP Data received {"connection_id":216617,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:31] local.INFO: Processing buffer {"connection_id":216617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:31] local.INFO: IMEI packet received {"connection_id":216617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":216617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:54:33] local.INFO: TCP Data received {"connection_id":216617,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:33] local.INFO: Processing buffer {"connection_id":216617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:33] local.INFO: IMEI packet received {"connection_id":216617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":216617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:54:34] local.INFO: TCP Data received {"connection_id":216617,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:34] local.INFO: Processing buffer {"connection_id":216617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:34] local.INFO: IMEI packet received {"connection_id":216617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":216617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:54:35] local.INFO: TCP Data received {"connection_id":216617,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:35] local.INFO: Processing buffer {"connection_id":216617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:54:35] local.INFO: IMEI packet received {"connection_id":216617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 08:54:35] local.ERROR: TCP Connection error {"connection_id":216617,"code":2,"message":"client closed"} 
[2026-10-16 08:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":216617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:54:38] local.INFO: TCP Data received {"connection_id":216616,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142bcdce0012d0a72800705df40000e00e822..."} 
[2026-10-16 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bcdce0012d0a72800705df40000e00e822..."} 
[2026-10-16 08:54:38] local.INFO: Processing buffer {"connection_id":216616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bcdce0012d0a72800705df40000e00e822..."} 
[2026-10-16 08:54:38] local.INFO: Packet analysis {"connection_id":216616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142bc"} 
[2026-10-16 08:54:38] local.INFO: Extracted packet for processing {"connection_id":216616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142bc"} 
[2026-10-16 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117825344,"longitude_deg":75.5659392,"latitude_deg":11.7825344,"altitude":14,"angle":232,"satellites":34,"speed":0,"hex_longitude":"2d0a7280","hex_latitude":"0705df40","is_valid_coordinates":true} 
[2026-10-16 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-10-16 08:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782979840001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36443471816425472,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855375945728,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:38] 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-10-16 08:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792121036000,"timestamp_ms":1792121036000,"timestamp_seconds":1792121036,"priority":1,"record_length":96,"hex_timestamp":"000001a142bcdce0"} 
[2026-10-16 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-10-16 08:54: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-10-16 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 08:54: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-10-16 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-10-16 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-10-16 08:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782979840001,"66":13722,"153":206,"94":10240,"24":0,"16":36443471816425472,"45":752804855375945728},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782979840001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:54:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:54:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36443471816425472,"km_value":36443471816425.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855375945728,"description":"Unknown IO ID 45"} 
[2026-10-16 08:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782979840001,"power":13722,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":752804855375945728}} 
[2026-10-16 08:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":216616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:54:39] local.INFO: GPS data processed {"connection_id":216616,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:54:39] local.INFO: Acknowledgment sent {"connection_id":216616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:54:48] local.INFO: TCP Data received {"connection_id":219702,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142bac1d0012d1820c00721aed8004b00e129..."} 
[2026-10-16 08:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bac1d0012d1820c00721aed8004b00e129..."} 
[2026-10-16 08:54:48] local.INFO: Processing buffer {"connection_id":219702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bac1d0012d1820c00721aed8004b00e129..."} 
[2026-10-16 08:54:48] local.INFO: Packet analysis {"connection_id":219702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:54:48] local.INFO: Extracted packet for processing {"connection_id":219702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119647960,"longitude_deg":75.6555968,"latitude_deg":11.964796,"altitude":75,"angle":225,"satellites":41,"speed":6,"hex_longitude":"2d1820c0","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-10-16 08:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782947584001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28070892634374144,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980825088,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792120898000,"timestamp_ms":1792120898000,"timestamp_seconds":1792120898,"priority":1,"record_length":96,"hex_timestamp":"000001a142bac1d0"} 
[2026-10-16 08:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:54:48] 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-10-16 08:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 08:54:48] 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-10-16 08:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":219702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":219702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":219702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782947584001,"66":12939,"105":206,"83":41984,"24":6,"16":28070892634374144,"45":1739163542980825088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782947584001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:54:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28070892634374144,"km_value":28070892634374.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980825088,"description":"Unknown IO ID 45"} 
[2026-10-16 08:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782947584001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739163542980825088}} 
[2026-10-16 08:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":219702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:54:48] local.INFO: GPS data processed {"connection_id":219702,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:54:48] local.INFO: Acknowledgment sent {"connection_id":219702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:54:55] local.INFO: TCP Data received {"connection_id":216433,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:54:55] local.INFO: Processing buffer {"connection_id":216433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:54:55] local.INFO: Packet analysis {"connection_id":216433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:54:55] local.INFO: Extracted packet for processing {"connection_id":216433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782857216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792120837000,"timestamp_ms":1792120837000,"timestamp_seconds":1792120837,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9d388"} 
[2026-10-16 08:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 08:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782857216001,"66":26082,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782857216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:54:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:54:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782857216001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":216433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:54:55] local.INFO: GPS data processed {"connection_id":216433,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:54:55] local.INFO: Acknowledgment sent {"connection_id":216433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:55:03] local.INFO: TCP Data received {"connection_id":217967,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217967,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:55:03] local.INFO: Processing buffer {"connection_id":217967,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:55:03] local.INFO: IMEI packet received {"connection_id":217967,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":217967,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:55:08] local.INFO: TCP Data received {"connection_id":216619,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:55:08] local.INFO: Processing buffer {"connection_id":216619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:55:08] local.INFO: IMEI packet received {"connection_id":216619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":216619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:55:13] local.INFO: TCP Data received {"connection_id":216619,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:55:13] local.INFO: Processing buffer {"connection_id":216619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:55:13] local.INFO: IMEI packet received {"connection_id":216619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":216619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:55:13] local.INFO: TCP Data received {"connection_id":217967,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217967,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:55:13] local.INFO: Processing buffer {"connection_id":217967,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:55:13] local.INFO: IMEI packet received {"connection_id":217967,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":217967,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:55:13] local.INFO: TCP Data received {"connection_id":216619,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142bac5b8012d1820400721ae40004b00d62a..."} 
[2026-10-16 08:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bac5b8012d1820400721ae40004b00d62a..."} 
[2026-10-16 08:55:13] local.INFO: Processing buffer {"connection_id":216619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bac5b8012d1820400721ae40004b00d62a..."} 
[2026-10-16 08:55:13] local.INFO: Packet analysis {"connection_id":216619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:55:13] local.INFO: Extracted packet for processing {"connection_id":216619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ba"} 
[2026-10-16 08:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119647808,"longitude_deg":75.655584,"latitude_deg":11.9647808,"altitude":75,"angle":214,"satellites":42,"speed":9,"hex_longitude":"2d182040","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782949888001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28070901224308736,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027422208,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792120899000,"timestamp_ms":1792120899000,"timestamp_seconds":1792120899,"priority":1,"record_length":96,"hex_timestamp":"000001a142bac5b8"} 
[2026-10-16 08:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:55:13] 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-10-16 08: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":139,"data_length":795,"current_offset":136} 
[2026-10-16 08:55: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-10-16 08: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-10-16 08:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782949888001,"66":13080,"105":206,"83":41984,"24":9,"16":28070901224308736,"45":1738600593027422208},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782949888001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:55:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28070901224308736,"km_value":28070901224308.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027422208,"description":"Unknown IO ID 45"} 
[2026-10-16 08:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782949888001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738600593027422208}} 
[2026-10-16 08:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":216619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:55:14] local.INFO: GPS data processed {"connection_id":216619,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:55:14] local.INFO: Acknowledgment sent {"connection_id":216619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:55:14] local.INFO: TCP Data received {"connection_id":217967,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142bd0008012d0a72800705de50000e00aa21..."} 
[2026-10-16 08:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bd0008012d0a72800705de50000e00aa21..."} 
[2026-10-16 08:55:14] local.INFO: Processing buffer {"connection_id":217967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bd0008012d0a72800705de50000e00aa21..."} 
[2026-10-16 08:55:14] local.INFO: Packet analysis {"connection_id":217967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142bd"} 
[2026-10-16 08:55:14] local.INFO: Extracted packet for processing {"connection_id":217967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142bd"} 
[2026-10-16 08:55:14] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117825104,"longitude_deg":75.5659392,"latitude_deg":11.7825104,"altitude":14,"angle":170,"satellites":33,"speed":3,"hex_longitude":"2d0a7280","hex_latitude":"0705de50","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782985216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36443484701327360,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855375937536,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:14] 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-10-16 08:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792121045000,"timestamp_ms":1792121045000,"timestamp_seconds":1792121045,"priority":1,"record_length":96,"hex_timestamp":"000001a142bd0008"} 
[2026-10-16 08:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:55: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-10-16 08: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-16 08:55:14] 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-10-16 08: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-10-16 08:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":217967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":217967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":217967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782985216001,"66":14396,"153":206,"94":10240,"24":3,"16":36443484701327360,"45":752804855375937536},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782985216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:55:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:55:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36443484701327360,"km_value":36443484701327.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855375937536,"description":"Unknown IO ID 45"} 
[2026-10-16 08:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782985216001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":752804855375937536}} 
[2026-10-16 08:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":217967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045447,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:55:15] local.INFO: GPS data processed {"connection_id":217967,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:55:15] local.INFO: Acknowledgment sent {"connection_id":217967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:55:22] local.INFO: TCP Data received {"connection_id":219703,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:55:22] local.INFO: Processing buffer {"connection_id":219703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:55:22] local.INFO: IMEI packet received {"connection_id":219703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":219703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:55:27] local.INFO: TCP Data received {"connection_id":219703,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:55:27] local.INFO: Processing buffer {"connection_id":219703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:55:27] local.INFO: IMEI packet received {"connection_id":219703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":219703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:55:28] local.INFO: TCP Data received {"connection_id":219703,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:55:28] local.INFO: Processing buffer {"connection_id":219703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:55:28] local.INFO: Packet analysis {"connection_id":219703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:55:28] local.INFO: Extracted packet for processing {"connection_id":219703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782857216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792120837000,"timestamp_ms":1792120837000,"timestamp_seconds":1792120837,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9d388"} 
[2026-10-16 08:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 08:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782857216001,"66":26082,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782857216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:55:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:55:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782857216001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":219703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:55:28] local.INFO: GPS data processed {"connection_id":219703,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:55:28] local.INFO: Acknowledgment sent {"connection_id":219703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:55:32] local.INFO: TCP Data received {"connection_id":219703,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:55:32] local.INFO: Processing buffer {"connection_id":219703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142b9d388012d7fa40005afcde00009009e30..."} 
[2026-10-16 08:55:32] local.INFO: Packet analysis {"connection_id":219703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:55:32] local.INFO: Extracted packet for processing {"connection_id":219703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142b9"} 
[2026-10-16 08:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782857216001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792120837000,"timestamp_ms":1792120837000,"timestamp_seconds":1792120837,"priority":1,"record_length":96,"hex_timestamp":"000001a142b9d388"} 
[2026-10-16 08:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 08:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782857216001,"66":26082,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782857216001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:55:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:55:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782857216001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":219703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:55:32] local.INFO: GPS data processed {"connection_id":219703,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:55:32] local.INFO: Acknowledgment sent {"connection_id":219703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:55:44] local.INFO: TCP Data received {"connection_id":216619,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142bd36b8012d1828c007219d400050008a2c..."} 
[2026-10-16 08:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bd36b8012d1828c007219d400050008a2c..."} 
[2026-10-16 08:55:44] local.INFO: Processing buffer {"connection_id":216619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bd36b8012d1828c007219d400050008a2c..."} 
[2026-10-16 08:55:44] local.INFO: Packet analysis {"connection_id":216619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142bd"} 
[2026-10-16 08:55:44] local.INFO: Extracted packet for processing {"connection_id":216619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142bd"} 
[2026-10-16 08:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":80,"angle":138,"satellites":44,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782985728001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28071171807248384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792121059000,"timestamp_ms":1792121059000,"timestamp_seconds":1792121059,"priority":1,"record_length":96,"hex_timestamp":"000001a142bd36b8"} 
[2026-10-16 08:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:55:44] 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-10-16 08: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 08:55:44] 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-10-16 08: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-10-16 08:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782985728001,"66":12776,"105":206,"83":41984,"24":0,"16":28071171807248384,"45":1740852392839954432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782985728001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:55:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28071171807248384,"km_value":28071171807248.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-10-16 08:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782985728001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-10-16 08:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":216619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:55:44] local.INFO: GPS data processed {"connection_id":216619,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:55:44] local.INFO: Acknowledgment sent {"connection_id":216619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:55:45] local.INFO: TCP Data received {"connection_id":217967,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a142bd4e28012d0a79c00705baa0000f009c23..."} 
[2026-10-16 08:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bd4e28012d0a79c00705baa0000f009c23..."} 
[2026-10-16 08:55:45] local.INFO: Processing buffer {"connection_id":217967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bd4e28012d0a79c00705baa0000f009c23..."} 
[2026-10-16 08:55:45] local.INFO: Packet analysis {"connection_id":217967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142bd"} 
[2026-10-16 08:55:45] local.INFO: Extracted packet for processing {"connection_id":217967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142bd"} 
[2026-10-16 08:55:45] local.INFO: GPS Element Parsed {"raw_longitude":755661248,"raw_latitude":117815968,"longitude_deg":75.5661248,"latitude_deg":11.7815968,"altitude":15,"angle":156,"satellites":35,"speed":26,"hex_longitude":"2d0a79c0","hex_latitude":"0705baa0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782987520001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36443939967860736,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855375876096,"note":"Value kept but may cause issues"} 
[2026-10-16 08:55:45] 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-10-16 08:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792121065000,"timestamp_ms":1792121065000,"timestamp_seconds":1792121065,"priority":1,"record_length":96,"hex_timestamp":"000001a142bd4e28"} 
[2026-10-16 08:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 08:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":217967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":217967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":217967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 08:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 08:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 08:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782987520001,"66":14265,"153":206,"94":10240,"24":26,"16":36443939967860736,"45":752804855375876096},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 08:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 08:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 08:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782987520001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:55:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 08:55:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 08:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36443939967860736,"km_value":36443939967860.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855375876096,"description":"Unknown IO ID 45"} 
[2026-10-16 08:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782987520001,"power":14265,"unknown_153":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":752804855375876096}} 
[2026-10-16 08:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":217967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045451,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:55:45] local.INFO: GPS data processed {"connection_id":217967,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:55:45] local.INFO: Acknowledgment sent {"connection_id":217967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:56:07] local.INFO: TCP Data received {"connection_id":216620,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:56:07] local.INFO: Processing buffer {"connection_id":216620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:56:07] local.INFO: IMEI packet received {"connection_id":216620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":216620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:56:12] local.INFO: TCP Data received {"connection_id":216621,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216621,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:56:12] local.INFO: Processing buffer {"connection_id":216621,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 08:56:12] local.INFO: IMEI packet received {"connection_id":216621,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 08:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":216621,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:56:13] local.INFO: TCP Data received {"connection_id":216620,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:56:13] local.INFO: Processing buffer {"connection_id":216620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:56:13] local.INFO: IMEI packet received {"connection_id":216620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":216620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:56:13] local.INFO: TCP Data received {"connection_id":216621,"ip":"42.106.6.52","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 08:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216621,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 08:56:13] local.INFO: Processing buffer {"connection_id":216621,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 08:56:13] local.INFO: IMEI packet received {"connection_id":216621,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 08:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":216621,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:56:13] local.INFO: TCP Data received {"connection_id":216620,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142bd88c0012d1828c007219d400050008a2c..."} 
[2026-10-16 08:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bd88c0012d1828c007219d400050008a2c..."} 
[2026-10-16 08:56:13] local.INFO: Processing buffer {"connection_id":216620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bd88c0012d1828c007219d400050008a2c..."} 
[2026-10-16 08:56:13] local.INFO: Packet analysis {"connection_id":216620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142bd"} 
[2026-10-16 08:56:13] local.INFO: Extracted packet for processing {"connection_id":216620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142bd"} 
[2026-10-16 08:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":80,"angle":138,"satellites":44,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782991104001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28071171807248384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792121080000,"timestamp_ms":1792121080000,"timestamp_seconds":1792121080,"priority":1,"record_length":96,"hex_timestamp":"000001a142bd88c0"} 
[2026-10-16 08:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:56:13] 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-10-16 08: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 08:56:13] 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-10-16 08: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-10-16 08:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782991104001,"66":12776,"105":206,"83":41984,"24":0,"16":28071171807248384,"45":1740852392839954432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782991104001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:56:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28071171807248384,"km_value":28071171807248.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-10-16 08:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782991104001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-10-16 08:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":216620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:56:13] local.INFO: GPS data processed {"connection_id":216620,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:56:13] local.INFO: Acknowledgment sent {"connection_id":216620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:56:17] local.INFO: TCP Data received {"connection_id":216622,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:56:17] local.INFO: Processing buffer {"connection_id":216622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:56:17] local.INFO: IMEI packet received {"connection_id":216622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":216622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:56:18] local.INFO: TCP Data received {"connection_id":216622,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:56:18] local.INFO: Processing buffer {"connection_id":216622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:56:18] local.INFO: IMEI packet received {"connection_id":216622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":216622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:56:22] local.INFO: TCP Data received {"connection_id":216622,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:56:22] local.INFO: Processing buffer {"connection_id":216622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:56:22] local.INFO: IMEI packet received {"connection_id":216622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":216622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:56:23] local.INFO: TCP Data received {"connection_id":216622,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:56:23] local.INFO: Processing buffer {"connection_id":216622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:56:23] local.INFO: Packet analysis {"connection_id":216622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:56:23] local.INFO: Extracted packet for processing {"connection_id":216622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:56:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 08:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 08:56:23] 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-10-16 08: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-10-16 08:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:56:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:56:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":216622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:56:23] local.INFO: GPS data processed {"connection_id":216622,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:56:23] local.INFO: Acknowledgment sent {"connection_id":216622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:56:28] local.INFO: TCP Data received {"connection_id":216622,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:56:28] local.INFO: Processing buffer {"connection_id":216622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:56:28] local.INFO: Packet analysis {"connection_id":216622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:56:28] local.INFO: Extracted packet for processing {"connection_id":216622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 08:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 08:56:28] 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-10-16 08:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:56:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:56:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":216622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:56:28] local.INFO: GPS data processed {"connection_id":216622,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:56:28] local.INFO: Acknowledgment sent {"connection_id":216622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:56:47] local.INFO: TCP Data received {"connection_id":216620,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142bddac8012d1828c007219d400050008a2c..."} 
[2026-10-16 08:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bddac8012d1828c007219d400050008a2c..."} 
[2026-10-16 08:56:47] local.INFO: Processing buffer {"connection_id":216620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bddac8012d1828c007219d400050008a2c..."} 
[2026-10-16 08:56:47] local.INFO: Packet analysis {"connection_id":216620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142bd"} 
[2026-10-16 08:56:47] local.INFO: Extracted packet for processing {"connection_id":216620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142bd"} 
[2026-10-16 08:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":80,"angle":138,"satellites":44,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782996480001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28071171807248384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792121101000,"timestamp_ms":1792121101000,"timestamp_seconds":1792121101,"priority":1,"record_length":96,"hex_timestamp":"000001a142bddac8"} 
[2026-10-16 08:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 08:56:47] 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-10-16 08: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-10-16 08:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782996480001,"66":12743,"105":206,"83":41984,"24":0,"16":28071171807248384,"45":1740852392839954432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782996480001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:56:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28071171807248384,"km_value":28071171807248.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-10-16 08:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782996480001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-10-16 08:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":216620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:56:47] local.INFO: GPS data processed {"connection_id":216620,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:56:47] local.INFO: Acknowledgment sent {"connection_id":216620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:56:59] local.INFO: TCP Data received {"connection_id":216622,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:56:59] local.INFO: Processing buffer {"connection_id":216622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:56:59] local.INFO: Packet analysis {"connection_id":216622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:56:59] local.INFO: Extracted packet for processing {"connection_id":216622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 08:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:56: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-10-16 08:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 08:56:59] 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-10-16 08:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:56:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:56:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":216622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:56:59] local.INFO: GPS data processed {"connection_id":216622,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:56:59] local.INFO: Acknowledgment sent {"connection_id":216622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:57:07] local.INFO: TCP Data received {"connection_id":217968,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:57:07] local.INFO: Processing buffer {"connection_id":217968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:57:07] local.INFO: IMEI packet received {"connection_id":217968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":217968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:57:13] local.INFO: TCP Data received {"connection_id":217968,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:57:13] local.INFO: Processing buffer {"connection_id":217968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:57:13] local.INFO: IMEI packet received {"connection_id":217968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":217968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:57:13] local.INFO: TCP Data received {"connection_id":217968,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142be2cd0012d1828c007219d400050008a2e..."} 
[2026-10-16 08:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be2cd0012d1828c007219d400050008a2e..."} 
[2026-10-16 08:57:13] local.INFO: Processing buffer {"connection_id":217968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be2cd0012d1828c007219d400050008a2e..."} 
[2026-10-16 08:57:13] local.INFO: Packet analysis {"connection_id":217968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:57:13] local.INFO: Extracted packet for processing {"connection_id":217968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:57:13] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":80,"angle":138,"satellites":46,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783001856001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28071171807248384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792121122000,"timestamp_ms":1792121122000,"timestamp_seconds":1792121122,"priority":1,"record_length":96,"hex_timestamp":"000001a142be2cd0"} 
[2026-10-16 08:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:57:13] 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-10-16 08: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":199,"data_length":795,"current_offset":136} 
[2026-10-16 08:57:13] 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-10-16 08: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-10-16 08:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":217968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":217968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":217968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783001856001,"66":12711,"105":206,"83":41984,"24":0,"16":28071171807248384,"45":1740852392839954432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783001856001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:57:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28071171807248384,"km_value":28071171807248.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-10-16 08:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783001856001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-10-16 08:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":217968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:57:14] local.INFO: GPS data processed {"connection_id":217968,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:57:14] local.INFO: Acknowledgment sent {"connection_id":217968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:57:16] local.INFO: TCP Data received {"connection_id":216623,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:57:16] local.INFO: Processing buffer {"connection_id":216623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:57:16] local.INFO: IMEI packet received {"connection_id":216623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":216623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:57:18] local.INFO: TCP Data received {"connection_id":219704,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:57:18] local.INFO: Processing buffer {"connection_id":219704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:57:18] local.INFO: IMEI packet received {"connection_id":219704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":219704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:57:22] local.INFO: TCP Data received {"connection_id":216623,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:57:22] local.INFO: Processing buffer {"connection_id":216623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:57:22] local.INFO: IMEI packet received {"connection_id":216623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":216623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:57:23] local.INFO: TCP Data received {"connection_id":216623,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:57:23] local.INFO: Processing buffer {"connection_id":216623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:57:23] local.INFO: Packet analysis {"connection_id":216623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:57:23] local.INFO: Extracted packet for processing {"connection_id":216623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 08:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 08:57:23] 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-10-16 08:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:57:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:57:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":216623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:57:23] local.INFO: GPS data processed {"connection_id":216623,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:57:23] local.INFO: Acknowledgment sent {"connection_id":216623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:57:44] local.INFO: TCP Data received {"connection_id":217968,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142be7ed8012d1828c007219d400050008a2e..."} 
[2026-10-16 08:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be7ed8012d1828c007219d400050008a2e..."} 
[2026-10-16 08:57:44] local.INFO: Processing buffer {"connection_id":217968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be7ed8012d1828c007219d400050008a2e..."} 
[2026-10-16 08:57:44] local.INFO: Packet analysis {"connection_id":217968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:57:44] local.INFO: Extracted packet for processing {"connection_id":217968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":80,"angle":138,"satellites":46,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783007232001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28071171807248384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792121143000,"timestamp_ms":1792121143000,"timestamp_seconds":1792121143,"priority":1,"record_length":96,"hex_timestamp":"000001a142be7ed8"} 
[2026-10-16 08:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:57:44] 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-10-16 08: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-16 08:57:44] 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-10-16 08: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-10-16 08:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":217968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":217968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":217968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783007232001,"66":12667,"105":206,"83":41984,"24":0,"16":28071171807248384,"45":1740852392839954432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783007232001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:57:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:57:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28071171807248384,"km_value":28071171807248.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-10-16 08:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783007232001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-10-16 08:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":217968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:57:45] local.INFO: GPS data processed {"connection_id":217968,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:57:45] local.INFO: Acknowledgment sent {"connection_id":217968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:57:51] local.INFO: TCP Data received {"connection_id":216624,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:57:51] local.INFO: Processing buffer {"connection_id":216624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 08:57:51] local.INFO: IMEI packet received {"connection_id":216624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 08:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":216624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:57:55] local.INFO: TCP Data received {"connection_id":216623,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:57:55] local.INFO: Processing buffer {"connection_id":216623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:57:55] local.INFO: Packet analysis {"connection_id":216623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:57:55] local.INFO: Extracted packet for processing {"connection_id":216623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 08:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 08:57:55] 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-10-16 08:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:57:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:57:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":216623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:57:55] local.INFO: GPS data processed {"connection_id":216623,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:57:55] local.INFO: Acknowledgment sent {"connection_id":216623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:58:15] local.INFO: TCP Data received {"connection_id":216436,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:58:15] local.INFO: Processing buffer {"connection_id":216436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:58:15] local.INFO: IMEI packet received {"connection_id":216436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":216436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:58:18] local.INFO: TCP Data received {"connection_id":216436,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:58:18] local.INFO: Processing buffer {"connection_id":216436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:58:18] local.INFO: IMEI packet received {"connection_id":216436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":216436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:58:19] local.INFO: TCP Data received {"connection_id":216436,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142bed0e0012d1828c007219d400050008a2b..."} 
[2026-10-16 08:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bed0e0012d1828c007219d400050008a2b..."} 
[2026-10-16 08:58:19] local.INFO: Processing buffer {"connection_id":216436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bed0e0012d1828c007219d400050008a2b..."} 
[2026-10-16 08:58:19] local.INFO: Packet analysis {"connection_id":216436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:58:19] local.INFO: Extracted packet for processing {"connection_id":216436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":80,"angle":138,"satellites":43,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-10-16 08:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783012608001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28071171807248384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792121164000,"timestamp_ms":1792121164000,"timestamp_seconds":1792121164,"priority":1,"record_length":96,"hex_timestamp":"000001a142bed0e0"} 
[2026-10-16 08:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 08:58: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-10-16 08:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":216436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":216436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":216436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783012608001,"66":12667,"105":206,"83":41984,"24":0,"16":28071171807248384,"45":1740852392839954432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783012608001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:58:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28071171807248384,"km_value":28071171807248.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-10-16 08:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783012608001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-10-16 08:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":216436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:58:19] local.INFO: GPS data processed {"connection_id":216436,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:58:19] local.INFO: Acknowledgment sent {"connection_id":216436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:58:22] local.INFO: TCP Data received {"connection_id":219705,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:58:22] local.INFO: Processing buffer {"connection_id":219705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:58:22] local.INFO: IMEI packet received {"connection_id":219705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":219705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:58:23] local.INFO: TCP Data received {"connection_id":216436,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142bf22e8012d1828c007219d400050008a2d..."} 
[2026-10-16 08:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bf22e8012d1828c007219d400050008a2d..."} 
[2026-10-16 08:58:23] local.INFO: Processing buffer {"connection_id":216436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bf22e8012d1828c007219d400050008a2d..."} 
[2026-10-16 08:58:23] local.INFO: Packet analysis {"connection_id":216436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142bf"} 
[2026-10-16 08:58:23] local.INFO: Extracted packet for processing {"connection_id":216436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142bf"} 
[2026-10-16 08:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":80,"angle":138,"satellites":45,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783017984001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28071171807248384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121185000,"timestamp_ms":1792121185000,"timestamp_seconds":1792121185,"priority":1,"record_length":96,"hex_timestamp":"000001a142bf22e8"} 
[2026-10-16 08:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 08:58: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-10-16 08: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-10-16 08:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783017984001,"66":12558,"105":206,"83":41984,"24":0,"16":28071171807248384,"45":1740852392839954432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783017984001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:58:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28071171807248384,"km_value":28071171807248.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-10-16 08:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783017984001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-10-16 08:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":216436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:58:23] local.INFO: GPS data processed {"connection_id":216436,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:58:23] local.INFO: Acknowledgment sent {"connection_id":216436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:58:27] local.INFO: TCP Data received {"connection_id":219705,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:58:27] local.INFO: Processing buffer {"connection_id":219705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:58:27] local.INFO: IMEI packet received {"connection_id":219705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":219705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:58:28] local.INFO: TCP Data received {"connection_id":219705,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:58:28] local.INFO: Processing buffer {"connection_id":219705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:58:28] local.INFO: Packet analysis {"connection_id":219705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:58:28] local.INFO: Extracted packet for processing {"connection_id":219705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 08:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 08:58:28] 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-10-16 08:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:58:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:58:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":219705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:58:28] local.INFO: GPS data processed {"connection_id":219705,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:58:28] local.INFO: Acknowledgment sent {"connection_id":219705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:58:32] local.INFO: TCP Data received {"connection_id":219705,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:58:32] local.INFO: Processing buffer {"connection_id":219705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:58:32] local.INFO: Packet analysis {"connection_id":219705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:58:32] local.INFO: Extracted packet for processing {"connection_id":219705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 08:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 08:58:32] 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-10-16 08:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:58:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":219705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:58:32] local.INFO: GPS data processed {"connection_id":219705,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:58:32] local.INFO: Acknowledgment sent {"connection_id":219705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:58:37] local.INFO: TCP Data received {"connection_id":219705,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:58:37] local.INFO: Processing buffer {"connection_id":219705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:58:37] local.INFO: Packet analysis {"connection_id":219705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:58:37] local.INFO: Extracted packet for processing {"connection_id":219705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 08:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08: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-10-16 08: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":226,"data_length":795,"current_offset":136} 
[2026-10-16 08:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08: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-10-16 08:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":219705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":219705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":219705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:58:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:58:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":219705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:58:37] local.INFO: GPS data processed {"connection_id":219705,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:58:37] local.INFO: Acknowledgment sent {"connection_id":219705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:59:08] local.INFO: TCP Data received {"connection_id":216626,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:59:08] local.INFO: Processing buffer {"connection_id":216626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:59:08] local.INFO: IMEI packet received {"connection_id":216626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 08:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":216626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:59:09] local.INFO: TCP Data received {"connection_id":216626,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:59:09] local.INFO: Processing buffer {"connection_id":216626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:59:09] local.INFO: IMEI packet received {"connection_id":216626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":216626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:59:13] local.INFO: TCP Data received {"connection_id":216626,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:59:13] local.INFO: Processing buffer {"connection_id":216626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 08:59:13] local.INFO: IMEI packet received {"connection_id":216626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 08:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":216626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:59:17] local.INFO: TCP Data received {"connection_id":216627,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:59:17] local.INFO: Processing buffer {"connection_id":216627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:59:17] local.INFO: IMEI packet received {"connection_id":216627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 08:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":216627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 08:59:17] local.INFO: TCP Data received {"connection_id":216626,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142bf74f0012d1828c007219d400050008a27..."} 
[2026-10-16 08:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bf74f0012d1828c007219d400050008a27..."} 
[2026-10-16 08:59:17] local.INFO: Processing buffer {"connection_id":216626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bf74f0012d1828c007219d400050008a27..."} 
[2026-10-16 08:59:17] local.INFO: Packet analysis {"connection_id":216626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142bf"} 
[2026-10-16 08:59:17] local.INFO: Extracted packet for processing {"connection_id":216626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142bf"} 
[2026-10-16 08:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":80,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-10-16 08:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783023360001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28071171807248384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792121206000,"timestamp_ms":1792121206000,"timestamp_seconds":1792121206,"priority":1,"record_length":96,"hex_timestamp":"000001a142bf74f0"} 
[2026-10-16 08:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:59:17] 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-10-16 08:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3185231873,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249391936366288192,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2638217296,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3221692829,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366698,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3130327040,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,186,161,208,45,192,80,43,10,66,126,46,44,1,240,167,227,33,4,113,205,136,40,64,239,49,2,99,7,106,53,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-10-16 08:59:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764759448912396288,"timestamp_seconds":5764759448912396.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 08:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":216626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":216626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":216626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783023360001,"66":12591,"105":206,"83":41984,"24":0,"16":28071171807248384,"45":1740852392839954432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783023360001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:59:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:59:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28071171807248384,"km_value":28071171807248.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-10-16 08:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783023360001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-10-16 08:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":216626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:59:17] local.INFO: GPS data processed {"connection_id":216626,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:59:17] local.INFO: Acknowledgment sent {"connection_id":216626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:59:22] local.INFO: TCP Data received {"connection_id":216627,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:59:22] local.INFO: Processing buffer {"connection_id":216627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 08:59:22] local.INFO: IMEI packet received {"connection_id":216627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 08:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":216627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 08:59:23] local.INFO: TCP Data received {"connection_id":216627,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:59:23] local.INFO: Processing buffer {"connection_id":216627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:59:23] local.INFO: Packet analysis {"connection_id":216627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:59:23] local.INFO: Extracted packet for processing {"connection_id":216627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 08:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 08:59:23] 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-10-16 08:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:59:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:59:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":216627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:59:23] local.INFO: GPS data processed {"connection_id":216627,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:59:23] local.INFO: Acknowledgment sent {"connection_id":216627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:59:48] local.INFO: TCP Data received {"connection_id":216626,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142bfc6f8012d1828c007219d400050008a2c..."} 
[2026-10-16 08:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142bfc6f8012d1828c007219d400050008a2c..."} 
[2026-10-16 08:59:48] local.INFO: Processing buffer {"connection_id":216626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142bfc6f8012d1828c007219d400050008a2c..."} 
[2026-10-16 08:59:48] local.INFO: Packet analysis {"connection_id":216626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142bf"} 
[2026-10-16 08:59:48] local.INFO: Extracted packet for processing {"connection_id":216626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142bf"} 
[2026-10-16 08:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":80,"angle":138,"satellites":44,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-10-16 08:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 08:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783028736001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28071171807248384,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792121227000,"timestamp_ms":1792121227000,"timestamp_seconds":1792121227,"priority":1,"record_length":96,"hex_timestamp":"000001a142bfc6f8"} 
[2026-10-16 08:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 08:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 08:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 08:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 08:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 08:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 08:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 08:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783028736001,"66":12537,"105":206,"83":41984,"24":0,"16":28071171807248384,"45":1740852392839954432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 08:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 08:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 08:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783028736001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:59:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 08:59:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 08:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28071171807248384,"km_value":28071171807248.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-10-16 08:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783028736001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-10-16 08:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":216626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:59:48] local.INFO: GPS data processed {"connection_id":216626,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:59:48] local.INFO: Acknowledgment sent {"connection_id":216626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:59:54] local.INFO: TCP Data received {"connection_id":216627,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:59:54] local.INFO: Processing buffer {"connection_id":216627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 08:59:54] local.INFO: Packet analysis {"connection_id":216627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:59:54] local.INFO: Extracted packet for processing {"connection_id":216627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 08:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 08: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-10-16 08:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 08:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 08:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 08:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 08:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 08:59:54] 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-10-16 08: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-10-16 08:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 08:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 08:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 08:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 08:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 08:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 08:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 08:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 08:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 08:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 08:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 08:59:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 08:59:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 08:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 08:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 08:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 08:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":216627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 08:59:54] local.INFO: GPS data processed {"connection_id":216627,"processed":1,"errors":0,"total":1} 
[2026-10-16 08:59:54] local.INFO: Acknowledgment sent {"connection_id":216627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 08:59:56] local.INFO: TCP Data received {"connection_id":219707,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:59:56] local.INFO: Processing buffer {"connection_id":219707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 08:59:56] local.INFO: IMEI packet received {"connection_id":219707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 08:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":219707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:00:01] local.INFO: TCP Data received {"connection_id":219707,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:00:01] local.INFO: Processing buffer {"connection_id":219707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:00:01] local.INFO: IMEI packet received {"connection_id":219707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":219707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:00:02] local.INFO: TCP Data received {"connection_id":219707,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c15d38012d7d014005eaf0f8000c00f625..."} 
[2026-10-16 09:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c15d38012d7d014005eaf0f8000c00f625..."} 
[2026-10-16 09:00:02] local.INFO: Processing buffer {"connection_id":219707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c15d38012d7d014005eaf0f8000c00f625..."} 
[2026-10-16 09:00:02] local.INFO: Packet analysis {"connection_id":219707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c1"} 
[2026-10-16 09:00:02] local.INFO: Extracted packet for processing {"connection_id":219707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c1"} 
[2026-10-16 09:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763167040,"raw_latitude":99283192,"longitude_deg":76.316704,"latitude_deg":9.9283192,"altitude":12,"angle":246,"satellites":37,"speed":11,"hex_longitude":"2d7d0140","hex_latitude":"05eaf0f8","is_valid_coordinates":true} 
[2026-10-16 09:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783060224001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145464409102221312,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008043705087660032,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:02] 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-10-16 09:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792121331000,"timestamp_ms":1792121331000,"timestamp_seconds":1792121331,"priority":1,"record_length":96,"hex_timestamp":"000001a142c15d38"} 
[2026-10-16 09:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-10-16 09:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444612608,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:02] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":5888,"corrected_to":0} 
[2026-10-16 09:00:02] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":26624,"corrected_to":0} 
[2026-10-16 09:00:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3236943873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:02] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3238002688,"corrected_to":0} 
[2026-10-16 09:00:02] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":43009,"corrected_to":0} 
[2026-10-16 09:00:02] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4254072845,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-10-16 09:00:02] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4026609021,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:02] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812240,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3942486016,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,158,87,24,241,157,16,203,161,34,45,64,246,13,40,10,66,202,255,192,253,43,247,1,240,178,227,234,4,113,205,235,32,160,239,53,2,5,14,3],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":203,"original":5888,"validated":0},{"io_id":246,"original":26624,"validated":0},{"io_id":202,"original":3238002688,"validated":0},{"io_id":247,"original":43009,"validated":0},{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-10-16 09:00:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864974965664382976,"timestamp_seconds":864974965664383.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":219707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":219707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":219707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783060224001,"66":13798,"158":206,"87":13824,"24":11,"16":145464409102221312,"45":9008043705087660032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-16 09:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783060224001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:00:02] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-16 09:00:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145464409102221312,"km_value":145464409102221.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008043705087660032,"description":"Unknown IO ID 45"} 
[2026-10-16 09:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783060224001,"power":13798,"unknown_158":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9008043705087660032}} 
[2026-10-16 09:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":219707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:00:02] local.INFO: GPS data processed {"connection_id":219707,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:00:02] local.INFO: Acknowledgment sent {"connection_id":219707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:00:07] local.INFO: TCP Data received {"connection_id":217971,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:00:07] local.INFO: Processing buffer {"connection_id":217971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:00:07] local.INFO: IMEI packet received {"connection_id":217971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":217971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:00:08] local.INFO: TCP Data received {"connection_id":217971,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:00:08] local.INFO: Processing buffer {"connection_id":217971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:00:08] local.INFO: IMEI packet received {"connection_id":217971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":217971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:00:13] local.INFO: TCP Data received {"connection_id":217971,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:00:13] local.INFO: Processing buffer {"connection_id":217971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:00:13] local.INFO: IMEI packet received {"connection_id":217971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":217971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:00:14] local.INFO: TCP Data received {"connection_id":217971,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c01900012d1828c007219d400050008a2c..."} 
[2026-10-16 09:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c01900012d1828c007219d400050008a2c..."} 
[2026-10-16 09:00:14] local.INFO: Processing buffer {"connection_id":217971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c01900012d1828c007219d400050008a2c..."} 
[2026-10-16 09:00:14] local.INFO: Packet analysis {"connection_id":217971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c0"} 
[2026-10-16 09:00:14] local.INFO: Extracted packet for processing {"connection_id":217971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c0"} 
[2026-10-16 09:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643456,"longitude_deg":75.6558016,"latitude_deg":11.9643456,"altitude":80,"angle":138,"satellites":44,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783034112001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28071171807248384,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839954432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792121248000,"timestamp_ms":1792121248000,"timestamp_seconds":1792121248,"priority":1,"record_length":96,"hex_timestamp":"000001a142c01900"} 
[2026-10-16 09:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:00:14] 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-10-16 09: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 09:00:14] 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-10-16 09: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-10-16 09:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":217971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":217971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":217971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783034112001,"66":12363,"105":206,"83":41984,"24":0,"16":28071171807248384,"45":1740852392839954432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 09:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783034112001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:00:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 09:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28071171807248384,"km_value":28071171807248.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839954432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783034112001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839954432}} 
[2026-10-16 09:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":217971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:00:14] local.INFO: GPS data processed {"connection_id":217971,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:00:14] local.INFO: Acknowledgment sent {"connection_id":217971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:00:17] local.INFO: TCP Data received {"connection_id":216628,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:00:17] local.INFO: Processing buffer {"connection_id":216628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:00:17] local.INFO: IMEI packet received {"connection_id":216628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":216628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:00:22] local.INFO: TCP Data received {"connection_id":216628,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:00:22] local.INFO: Processing buffer {"connection_id":216628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:00:22] local.INFO: IMEI packet received {"connection_id":216628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":216628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:00:23] local.INFO: TCP Data received {"connection_id":216628,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 09:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 09:00:23] local.INFO: Processing buffer {"connection_id":216628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 09:00:23] local.INFO: Packet analysis {"connection_id":216628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 09:00:23] local.INFO: Extracted packet for processing {"connection_id":216628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 09:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:00: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-10-16 09:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 09:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 09:00:23] 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-10-16 09:00: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-10-16 09:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:00:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:00:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":216628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:00:23] local.INFO: GPS data processed {"connection_id":216628,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:00:23] local.INFO: Acknowledgment sent {"connection_id":216628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:00:31] local.INFO: TCP Data received {"connection_id":217972,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:00:31] local.INFO: Processing buffer {"connection_id":217972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:00:31] local.INFO: IMEI packet received {"connection_id":217972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":217972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:00:34] local.INFO: TCP Data received {"connection_id":217972,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:00:34] local.INFO: Processing buffer {"connection_id":217972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:00:34] local.INFO: IMEI packet received {"connection_id":217972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":217972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:00:35] local.INFO: TCP Data received {"connection_id":217972,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c168f0012d7cfd4005eaefd8000c010327..."} 
[2026-10-16 09:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c168f0012d7cfd4005eaefd8000c010327..."} 
[2026-10-16 09:00:35] local.INFO: Processing buffer {"connection_id":217972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c168f0012d7cfd4005eaefd8000c010327..."} 
[2026-10-16 09:00:35] local.INFO: Packet analysis {"connection_id":217972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c1"} 
[2026-10-16 09:00:35] local.INFO: Extracted packet for processing {"connection_id":217972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c1"} 
[2026-10-16 09:00:35] local.INFO: GPS Element Parsed {"raw_longitude":763166016,"raw_latitude":99282904,"longitude_deg":76.3166016,"latitude_deg":9.9282904,"altitude":12,"angle":259,"satellites":39,"speed":13,"hex_longitude":"2d7cfd40","hex_latitude":"05eaefd8","is_valid_coordinates":true} 
[2026-10-16 09:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783060736001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145464460641828864,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007551123878377472,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00: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-10-16 09:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792121334000,"timestamp_ms":1792121334000,"timestamp_seconds":1792121334,"priority":1,"record_length":96,"hex_timestamp":"000001a142c168f0"} 
[2026-10-16 09:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 09:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":217972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":217972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":217972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783060736001,"66":13319,"158":206,"87":13824,"24":13,"16":145464460641828864,"45":9007551123878377472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-16 09:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783060736001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:00:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-16 09:00:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145464460641828864,"km_value":145464460641828.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007551123878377472,"description":"Unknown IO ID 45"} 
[2026-10-16 09:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783060736001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9007551123878377472}} 
[2026-10-16 09:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":217972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:00:35] local.INFO: GPS data processed {"connection_id":217972,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:00:35] local.INFO: Acknowledgment sent {"connection_id":217972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:00:36] local.INFO: TCP Data received {"connection_id":217972,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c18448012d7cf90005eaef08000a011b28..."} 
[2026-10-16 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c18448012d7cf90005eaef08000a011b28..."} 
[2026-10-16 09:00:36] local.INFO: Processing buffer {"connection_id":217972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c18448012d7cf90005eaef08000a011b28..."} 
[2026-10-16 09:00:36] local.INFO: Packet analysis {"connection_id":217972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c1"} 
[2026-10-16 09:00:36] local.INFO: Extracted packet for processing {"connection_id":217972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c1"} 
[2026-10-16 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763164928,"raw_latitude":99282696,"longitude_deg":76.3164928,"latitude_deg":9.9282696,"altitude":10,"angle":283,"satellites":40,"speed":1,"hex_longitude":"2d7cf900","hex_latitude":"05eaef08","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783061504001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145464516476403712,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006425223971461120,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] 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-10-16 09:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792121341000,"timestamp_ms":1792121341000,"timestamp_seconds":1792121341,"priority":1,"record_length":96,"hex_timestamp":"000001a142c18448"} 
[2026-10-16 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-10-16 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":5888,"corrected_to":0} 
[2026-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3237967873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4211081216,"corrected_to":0} 
[2026-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-171136725691061504,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-10-16 09:00:36] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2818649469,"corrected_to":0} 
[2026-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397008,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3942486016,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":-1445654185501523963,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,158,87,24,241,157,16,203,161,93,45,64,240,12,37,10,66,85,38,34,1,68,227,202,234,4,113,205,8,247,30,104,43,239,49,2,5,13,133,192],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":203,"original":5888,"validated":0},{"io_id":202,"original":4211081216,"validated":0},{"io_id":205,"original":1352532174,"validated":0},{"io_id":247,"original":2818649469,"validated":0}]} 
[2026-10-16 09:00:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864976069471305728,"timestamp_seconds":864976069471305.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 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-10-16 09:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":217972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":217972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":217972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783061504001,"66":12526,"158":206,"87":13824,"24":1,"16":145464516476403712,"45":9006425223971461120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-10-16 09:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783061504001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:00:36] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-10-16 09:00:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145464516476403712,"km_value":145464516476403.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006425223971461120,"description":"Unknown IO ID 45"} 
[2026-10-16 09:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783061504001,"power":12526,"unknown_158":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9006425223971461120}} 
[2026-10-16 09:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":217972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:00:36] local.INFO: GPS data processed {"connection_id":217972,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:00:36] local.INFO: Acknowledgment sent {"connection_id":217972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:00:47] local.INFO: TCP Data received {"connection_id":217971,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c24f68012d18b14007216d680049009027..."} 
[2026-10-16 09:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c24f68012d18b14007216d680049009027..."} 
[2026-10-16 09:00:47] local.INFO: Processing buffer {"connection_id":217971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c24f68012d18b14007216d680049009027..."} 
[2026-10-16 09:00:47] local.INFO: Packet analysis {"connection_id":217971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c2"} 
[2026-10-16 09:00:47] local.INFO: Extracted packet for processing {"connection_id":217971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c2"} 
[2026-10-16 09:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756592960,"raw_latitude":119631208,"longitude_deg":75.659296,"latitude_deg":11.9631208,"altitude":73,"angle":144,"satellites":39,"speed":28,"hex_longitude":"2d18b140","hex_latitude":"07216d68","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783076096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28072975693512704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778358933483788288,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792121393000,"timestamp_ms":1792121393000,"timestamp_seconds":1792121393,"priority":1,"record_length":96,"hex_timestamp":"000001a142c24f68"} 
[2026-10-16 09:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 09:00:47] 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-10-16 09: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-10-16 09:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783076096001,"66":12015,"103":206,"83":41984,"24":28,"16":28072975693512704,"45":1778358933483788288},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 09:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783076096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:00:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 09:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28072975693512704,"km_value":28072975693512.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778358933483788288,"description":"Unknown IO ID 45"} 
[2026-10-16 09:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783076096001,"power":12015,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1778358933483788288}} 
[2026-10-16 09:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":217971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:00:48] local.INFO: GPS data processed {"connection_id":217971,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:00:48] local.INFO: Acknowledgment sent {"connection_id":217971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:00:56] local.INFO: TCP Data received {"connection_id":216628,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 09:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 09:00:56] local.INFO: Processing buffer {"connection_id":216628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142be6b50012d7fa40005afcde00009009e2e..."} 
[2026-10-16 09:00:56] local.INFO: Packet analysis {"connection_id":216628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 09:00:56] local.INFO: Extracted packet for processing {"connection_id":216628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142be"} 
[2026-10-16 09:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458782934272001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792121138000,"timestamp_ms":1792121138000,"timestamp_seconds":1792121138,"priority":1,"record_length":96,"hex_timestamp":"000001a142be6b50"} 
[2026-10-16 09:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:00: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-10-16 09:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 09:00:56] 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-10-16 09:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458782934272001,"66":26039,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458782934272001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:00:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:00:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458782934272001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":216628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:00:56] local.INFO: GPS data processed {"connection_id":216628,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:00:56] local.INFO: Acknowledgment sent {"connection_id":216628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:01:06] local.INFO: TCP Data received {"connection_id":216438,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:01:06] local.INFO: Processing buffer {"connection_id":216438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:01:06] local.INFO: IMEI packet received {"connection_id":216438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":216438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:01:07] local.INFO: TCP Data received {"connection_id":216438,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:01:07] local.INFO: Processing buffer {"connection_id":216438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:01:07] local.INFO: IMEI packet received {"connection_id":216438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":216438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:01:11] local.INFO: TCP Data received {"connection_id":216438,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:01:11] local.INFO: Processing buffer {"connection_id":216438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:01:11] local.INFO: IMEI packet received {"connection_id":216438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":216438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:01:12] local.INFO: TCP Data received {"connection_id":216438,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c27678012d18c3c007215278004400a029..."} 
[2026-10-16 09:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c27678012d18c3c007215278004400a029..."} 
[2026-10-16 09:01:12] local.INFO: Processing buffer {"connection_id":216438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c27678012d18c3c007215278004400a029..."} 
[2026-10-16 09:01:12] local.INFO: Packet analysis {"connection_id":216438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c2"} 
[2026-10-16 09:01:12] local.INFO: Extracted packet for processing {"connection_id":216438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c2"} 
[2026-10-16 09:01:12] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119624312,"longitude_deg":75.6597696,"latitude_deg":11.9624312,"altitude":68,"angle":160,"satellites":41,"speed":36,"hex_longitude":"2d18c3c0","hex_latitude":"07215278","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783076608001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28073379420438528,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779273727157823488,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792121403000,"timestamp_ms":1792121403000,"timestamp_seconds":1792121403,"priority":1,"record_length":96,"hex_timestamp":"000001a142c27678"} 
[2026-10-16 09:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:01:12] 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-10-16 09: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-16 09:01:12] 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-10-16 09: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-10-16 09:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":216438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":216438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":216438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783076608001,"66":12863,"103":206,"83":41984,"24":36,"16":28073379420438528,"45":1779273727157823488},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 09:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783076608001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:01:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 09:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28073379420438528,"km_value":28073379420438.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779273727157823488,"description":"Unknown IO ID 45"} 
[2026-10-16 09:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783076608001,"power":12863,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1779273727157823488}} 
[2026-10-16 09:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":216438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:01:12] local.INFO: GPS data processed {"connection_id":216438,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:01:12] local.INFO: Acknowledgment sent {"connection_id":216438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:01:16] local.INFO: TCP Data received {"connection_id":217973,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:01:16] local.INFO: Processing buffer {"connection_id":217973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:01:16] local.INFO: IMEI packet received {"connection_id":217973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":217973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:01:17] local.INFO: TCP Data received {"connection_id":217973,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:01:17] local.INFO: Processing buffer {"connection_id":217973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:01:17] local.INFO: IMEI packet received {"connection_id":217973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":217973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:01:21] local.INFO: TCP Data received {"connection_id":219709,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:01:21] local.INFO: Processing buffer {"connection_id":219709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:01:21] local.INFO: IMEI packet received {"connection_id":219709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":219709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:01:22] local.INFO: TCP Data received {"connection_id":217973,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:01:22] local.INFO: Processing buffer {"connection_id":217973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:01:22] local.INFO: IMEI packet received {"connection_id":217973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":217973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:01:23] local.INFO: TCP Data received {"connection_id":217973,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:01:23] local.INFO: Processing buffer {"connection_id":217973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:01:23] local.INFO: Packet analysis {"connection_id":217973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:01:23] local.INFO: Extracted packet for processing {"connection_id":217973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783011328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121439000,"timestamp_ms":1792121439000,"timestamp_seconds":1792121439,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30318"} 
[2026-10-16 09:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 09:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783011328001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783011328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:01:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:01:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783011328001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":217973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:01:23] local.INFO: GPS data processed {"connection_id":217973,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:01:23] local.INFO: Acknowledgment sent {"connection_id":217973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:01:26] local.INFO: TCP Data received {"connection_id":219709,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:01:26] local.INFO: Processing buffer {"connection_id":219709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:01:26] local.INFO: IMEI packet received {"connection_id":219709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":219709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:01:26] local.INFO: TCP Data received {"connection_id":219709,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30ae8012d7c7d4005ead158000400fe27..."} 
[2026-10-16 09:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30ae8012d7c7d4005ead158000400fe27..."} 
[2026-10-16 09:01:26] local.INFO: Processing buffer {"connection_id":219709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30ae8012d7c7d4005ead158000400fe27..."} 
[2026-10-16 09:01:26] local.INFO: Packet analysis {"connection_id":219709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:01:26] local.INFO: Extracted packet for processing {"connection_id":219709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763133248,"raw_latitude":99275096,"longitude_deg":76.3133248,"latitude_deg":9.9275096,"altitude":4,"angle":254,"satellites":39,"speed":6,"hex_longitude":"2d7c7d40","hex_latitude":"05ead158","is_valid_coordinates":true} 
[2026-10-16 09:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783086080001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145466101319335936,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971311220624891904,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:26] 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-10-16 09:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792121441000,"timestamp_ms":1792121441000,"timestamp_seconds":1792121441,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30ae8"} 
[2026-10-16 09:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 09:01:26] 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-10-16 09:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783086080001,"66":13189,"8":206,"87":13824,"24":6,"16":145466101319335936,"45":8971311220624891904},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-10-16 09:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783086080001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:01:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-10-16 09:01:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145466101319335936,"km_value":145466101319335.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971311220624891904,"description":"Unknown IO ID 45"} 
[2026-10-16 09:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783086080001,"power":13189,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8971311220624891904}} 
[2026-10-16 09:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":219709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:01:26] local.INFO: GPS data processed {"connection_id":219709,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:01:26] local.INFO: Acknowledgment sent {"connection_id":219709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:01:39] local.INFO: TCP Data received {"connection_id":219708,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219708,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:01:39] local.INFO: Processing buffer {"connection_id":219708,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:01:39] local.INFO: IMEI packet received {"connection_id":219708,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":219708,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:01:43] local.INFO: TCP Data received {"connection_id":216438,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c34968012d193c400720b3900021007926..."} 
[2026-10-16 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c34968012d193c400720b3900021007926..."} 
[2026-10-16 09:01:43] local.INFO: Processing buffer {"connection_id":216438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c34968012d193c400720b3900021007926..."} 
[2026-10-16 09:01:43] local.INFO: Packet analysis {"connection_id":216438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:01:43] local.INFO: Extracted packet for processing {"connection_id":216438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119583632,"longitude_deg":75.6628544,"latitude_deg":11.9583632,"altitude":33,"angle":121,"satellites":38,"speed":46,"hex_longitude":"2d193c40","hex_latitude":"0720b390","is_valid_coordinates":true} 
[2026-10-16 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783091200001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28076046595129344,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809391549654632448,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792121457000,"timestamp_ms":1792121457000,"timestamp_seconds":1792121457,"priority":1,"record_length":96,"hex_timestamp":"000001a142c34968"} 
[2026-10-16 09:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:01:43] 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-10-16 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-16 09:01:43] 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-10-16 09:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":216438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":216438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":216438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783091200001,"66":13961,"103":206,"83":41984,"24":46,"16":28076046595129344,"45":1809391549654632448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 09:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783091200001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:01:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 09:01:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28076046595129344,"km_value":28076046595129.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809391549654632448,"description":"Unknown IO ID 45"} 
[2026-10-16 09:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783091200001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1809391549654632448}} 
[2026-10-16 09:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":216438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:01:43] local.INFO: GPS data processed {"connection_id":216438,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:01:43] local.INFO: Acknowledgment sent {"connection_id":216438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:01:55] local.INFO: TCP Data received {"connection_id":217973,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:01:55] local.INFO: Processing buffer {"connection_id":217973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:01:55] local.INFO: Packet analysis {"connection_id":217973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:01:55] local.INFO: Extracted packet for processing {"connection_id":217973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783011328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792121439000,"timestamp_ms":1792121439000,"timestamp_seconds":1792121439,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30318"} 
[2026-10-16 09:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 09:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783011328001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783011328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:01:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:01:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783011328001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":217973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:01:55] local.INFO: GPS data processed {"connection_id":217973,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:01:55] local.INFO: Acknowledgment sent {"connection_id":217973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:01:57] local.INFO: TCP Data received {"connection_id":219709,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c34968012d7c5f8005eac9b00002010a26..."} 
[2026-10-16 09:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c34968012d7c5f8005eac9b00002010a26..."} 
[2026-10-16 09:01:57] local.INFO: Processing buffer {"connection_id":219709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c34968012d7c5f8005eac9b00002010a26..."} 
[2026-10-16 09:01:57] local.INFO: Packet analysis {"connection_id":219709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:01:57] local.INFO: Extracted packet for processing {"connection_id":219709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763125632,"raw_latitude":99273136,"longitude_deg":76.3125632,"latitude_deg":9.9273136,"altitude":2,"angle":266,"satellites":38,"speed":23,"hex_longitude":"2d7c5f80","hex_latitude":"05eac9b0","is_valid_coordinates":true} 
[2026-10-16 09:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088896001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145466479276457984,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970396426950498304,"note":"Value kept but may cause issues"} 
[2026-10-16 09:01:57] 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-10-16 09:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792121457000,"timestamp_ms":1792121457000,"timestamp_seconds":1792121457,"priority":1,"record_length":96,"hex_timestamp":"000001a142c34968"} 
[2026-10-16 09:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-16 09:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088896001,"66":13928,"8":206,"87":13824,"24":23,"16":145466479276457984,"45":8970396426950498304},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-10-16 09:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088896001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:01:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-10-16 09:01:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145466479276457984,"km_value":145466479276457.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970396426950498304,"description":"Unknown IO ID 45"} 
[2026-10-16 09:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088896001,"power":13928,"unknown_8":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8970396426950498304}} 
[2026-10-16 09:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":219709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:01:57] local.INFO: GPS data processed {"connection_id":219709,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:01:57] local.INFO: Acknowledgment sent {"connection_id":219709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:02:07] local.INFO: TCP Data received {"connection_id":216630,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:02:07] local.INFO: Processing buffer {"connection_id":216630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:02:07] local.INFO: IMEI packet received {"connection_id":216630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":216630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:02:08] local.INFO: TCP Data received {"connection_id":216630,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:02:08] local.INFO: Processing buffer {"connection_id":216630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:02:08] local.INFO: IMEI packet received {"connection_id":216630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":216630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:02:12] local.INFO: TCP Data received {"connection_id":216630,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:02:12] local.INFO: Processing buffer {"connection_id":216630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:02:12] local.INFO: IMEI packet received {"connection_id":216630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":216630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:02:13] local.INFO: TCP Data received {"connection_id":216630,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c35520012d1948400720ae38001f006c27..."} 
[2026-10-16 09:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c35520012d1948400720ae38001f006c27..."} 
[2026-10-16 09:02:13] local.INFO: Processing buffer {"connection_id":216630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c35520012d1948400720ae38001f006c27..."} 
[2026-10-16 09:02:13] local.INFO: Packet analysis {"connection_id":216630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:02:13] local.INFO: Extracted packet for processing {"connection_id":216630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756631616,"raw_latitude":119582264,"longitude_deg":75.6631616,"latitude_deg":11.9582264,"altitude":31,"angle":108,"satellites":39,"speed":40,"hex_longitude":"2d194840","hex_latitude":"0720ae38","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783092992001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28076205508919296,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748908425216,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792121460000,"timestamp_ms":1792121460000,"timestamp_seconds":1792121460,"priority":1,"record_length":96,"hex_timestamp":"000001a142c35520"} 
[2026-10-16 09:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:02:13] 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-10-16 09: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 09:02:13] 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-10-16 09: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-10-16 09:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783092992001,"66":13820,"103":206,"83":41984,"24":40,"16":28076205508919296,"45":1818398748908425216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 09:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783092992001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:02:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 09:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28076205508919296,"km_value":28076205508919.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748908425216,"description":"Unknown IO ID 45"} 
[2026-10-16 09:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783092992001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1818398748908425216}} 
[2026-10-16 09:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":216630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:02:13] local.INFO: GPS data processed {"connection_id":216630,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:02:13] local.INFO: Acknowledgment sent {"connection_id":216630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:02:15] local.INFO: TCP Data received {"connection_id":216439,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:02:15] local.INFO: Processing buffer {"connection_id":216439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:02:15] local.INFO: IMEI packet received {"connection_id":216439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":216439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:02:18] local.INFO: TCP Data received {"connection_id":217974,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:02:18] local.INFO: Processing buffer {"connection_id":217974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:02:18] local.INFO: IMEI packet received {"connection_id":217974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":217974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:02:21] local.INFO: TCP Data received {"connection_id":219711,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:02:21] local.INFO: Processing buffer {"connection_id":219711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:02:21] local.INFO: IMEI packet received {"connection_id":219711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":219711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:02:22] local.INFO: TCP Data received {"connection_id":217974,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:02:22] local.INFO: Processing buffer {"connection_id":217974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:02:22] local.INFO: IMEI packet received {"connection_id":217974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":217974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:02:23] local.INFO: TCP Data received {"connection_id":217974,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:02:23] local.INFO: Processing buffer {"connection_id":217974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:02:23] local.INFO: Packet analysis {"connection_id":217974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:02:23] local.INFO: Extracted packet for processing {"connection_id":217974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783011328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121439000,"timestamp_ms":1792121439000,"timestamp_seconds":1792121439,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30318"} 
[2026-10-16 09:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 09:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783011328001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783011328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:02:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:02:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783011328001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":217974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:02:23] local.INFO: GPS data processed {"connection_id":217974,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:02:23] local.INFO: Acknowledgment sent {"connection_id":217974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:02:26] local.INFO: TCP Data received {"connection_id":219711,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:02:26] local.INFO: Processing buffer {"connection_id":219711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:02:26] local.INFO: IMEI packet received {"connection_id":219711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":219711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:02:27] local.INFO: TCP Data received {"connection_id":219711,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c44368012d7c31c005eb13b00007014b24..."} 
[2026-10-16 09:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c44368012d7c31c005eb13b00007014b24..."} 
[2026-10-16 09:02:27] local.INFO: Processing buffer {"connection_id":219711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c44368012d7c31c005eb13b00007014b24..."} 
[2026-10-16 09:02:27] local.INFO: Packet analysis {"connection_id":219711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:02:27] local.INFO: Extracted packet for processing {"connection_id":219711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":99292080,"longitude_deg":76.311392,"latitude_deg":9.929208,"altitude":7,"angle":331,"satellites":36,"speed":23,"hex_longitude":"2d7c31c0","hex_latitude":"05eb13b0","is_valid_coordinates":true} 
[2026-10-16 09:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783108608001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145467879435796480,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950482072352215040,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:27] 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-10-16 09:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792121521000,"timestamp_ms":1792121521000,"timestamp_seconds":1792121521,"priority":1,"record_length":96,"hex_timestamp":"000001a142c44368"} 
[2026-10-16 09:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:02: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-10-16 09:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 09:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783108608001,"66":13678,"10":206,"87":13824,"24":23,"16":145467879435796480,"45":8950482072352215040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-10-16 09:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783108608001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:02:27] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 09:02:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145467879435796480,"km_value":145467879435796.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950482072352215040,"description":"Unknown IO ID 45"} 
[2026-10-16 09:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783108608001,"power":13678,"unknown_10":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8950482072352215040}} 
[2026-10-16 09:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":219711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:02:27] local.INFO: GPS data processed {"connection_id":219711,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:02:27] local.INFO: Acknowledgment sent {"connection_id":219711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:02:37] local.INFO: TCP Data received {"connection_id":216439,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 09:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216439,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 09:02:37] local.INFO: Processing buffer {"connection_id":216439,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 09:02:37] local.INFO: IMEI packet received {"connection_id":216439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":216439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:02:44] local.INFO: TCP Data received {"connection_id":216630,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c44b38012d19bc400720a6f8002a00b52e..."} 
[2026-10-16 09:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c44b38012d19bc400720a6f8002a00b52e..."} 
[2026-10-16 09:02:44] local.INFO: Processing buffer {"connection_id":216630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c44b38012d19bc400720a6f8002a00b52e..."} 
[2026-10-16 09:02:44] local.INFO: Packet analysis {"connection_id":216630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:02:44] local.INFO: Extracted packet for processing {"connection_id":216630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119580408,"longitude_deg":75.6661312,"latitude_deg":11.9580408,"altitude":42,"angle":181,"satellites":46,"speed":3,"hex_longitude":"2d19bc40","hex_latitude":"0720a6f8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783109120001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28077687272636416,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926600704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792121523000,"timestamp_ms":1792121523000,"timestamp_seconds":1792121523,"priority":1,"record_length":96,"hex_timestamp":"000001a142c44b38"} 
[2026-10-16 09:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 09:02:44] 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-10-16 09: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-10-16 09:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783109120001,"66":14233,"103":206,"83":41984,"24":3,"16":28077687272636416,"45":1854427545926600704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 09:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783109120001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:02:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 09:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28077687272636416,"km_value":28077687272636.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926600704,"description":"Unknown IO ID 45"} 
[2026-10-16 09:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783109120001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1854427545926600704}} 
[2026-10-16 09:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":216630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:02:44] local.INFO: GPS data processed {"connection_id":216630,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:02:44] local.INFO: Acknowledgment sent {"connection_id":216630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:02:55] local.INFO: TCP Data received {"connection_id":217974,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:02:55] local.INFO: Processing buffer {"connection_id":217974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:02:55] local.INFO: Packet analysis {"connection_id":217974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:02:55] local.INFO: Extracted packet for processing {"connection_id":217974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:02: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-10-16 09:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783011328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792121439000,"timestamp_ms":1792121439000,"timestamp_seconds":1792121439,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30318"} 
[2026-10-16 09:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 09:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783011328001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783011328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:02:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:02:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783011328001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":217974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:02:55] local.INFO: GPS data processed {"connection_id":217974,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:02:55] local.INFO: Acknowledgment sent {"connection_id":217974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:02:59] local.INFO: TCP Data received {"connection_id":219711,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c44750012d7c310005eb16100007015725..."} 
[2026-10-16 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c44750012d7c310005eb16100007015725..."} 
[2026-10-16 09:02:59] local.INFO: Processing buffer {"connection_id":219711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c44750012d7c310005eb16100007015725..."} 
[2026-10-16 09:02:59] local.INFO: Packet analysis {"connection_id":219711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:02:59] local.INFO: Extracted packet for processing {"connection_id":219711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763113728,"raw_latitude":99292688,"longitude_deg":76.3113728,"latitude_deg":9.9292688,"altitude":7,"angle":343,"satellites":37,"speed":26,"hex_longitude":"2d7c3100","hex_latitude":"05eb1610","is_valid_coordinates":true} 
[2026-10-16 09:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783109376001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145467909500567552,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145066213191680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:02:59] 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-10-16 09:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792121522000,"timestamp_ms":1792121522000,"timestamp_seconds":1792121522,"priority":1,"record_length":96,"hex_timestamp":"000001a142c44750"} 
[2026-10-16 09:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-16 09:02:59] 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-10-16 09:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783109376001,"66":13678,"10":206,"87":13824,"24":26,"16":145467909500567552,"45":8949145066213191680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-10-16 09:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783109376001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:02:59] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 09:02:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145467909500567552,"km_value":145467909500567.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145066213191680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783109376001,"power":13678,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8949145066213191680}} 
[2026-10-16 09:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":219711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:02:59] local.INFO: GPS data processed {"connection_id":219711,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:02:59] local.INFO: Acknowledgment sent {"connection_id":219711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:03:07] local.INFO: TCP Data received {"connection_id":216440,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:03:07] local.INFO: Processing buffer {"connection_id":216440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:03:07] local.INFO: IMEI packet received {"connection_id":216440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":216440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:03:11] local.INFO: TCP Data received {"connection_id":217975,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:03:11] local.INFO: Processing buffer {"connection_id":217975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:03:11] local.INFO: IMEI packet received {"connection_id":217975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":217975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:03:12] local.INFO: TCP Data received {"connection_id":216440,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:03:12] local.INFO: Processing buffer {"connection_id":216440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:03:12] local.INFO: IMEI packet received {"connection_id":216440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":216440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:03:12] local.INFO: TCP Data received {"connection_id":216440,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:03:12] local.INFO: Processing buffer {"connection_id":216440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:03:12] local.INFO: IMEI packet received {"connection_id":216440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":216440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:03:13] local.INFO: TCP Data received {"connection_id":216440,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c44f20012d19bc400720a6a8002a00cb2e..."} 
[2026-10-16 09:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c44f20012d19bc400720a6a8002a00cb2e..."} 
[2026-10-16 09:03:13] local.INFO: Processing buffer {"connection_id":216440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c44f20012d19bc400720a6a8002a00cb2e..."} 
[2026-10-16 09:03:13] local.INFO: Packet analysis {"connection_id":216440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:03:13] local.INFO: Extracted packet for processing {"connection_id":216440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119580328,"longitude_deg":75.6661312,"latitude_deg":11.9580328,"altitude":42,"angle":203,"satellites":46,"speed":3,"hex_longitude":"2d19bc40","hex_latitude":"0720a6a8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783109888001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28077691567603712,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926563840,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792121524000,"timestamp_ms":1792121524000,"timestamp_seconds":1792121524,"priority":1,"record_length":96,"hex_timestamp":"000001a142c44f20"} 
[2026-10-16 09:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:03:13] 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-10-16 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 09:03:13] 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-10-16 09: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-10-16 09:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783109888001,"66":14233,"103":206,"83":41984,"24":3,"16":28077691567603712,"45":1854427545926563840},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 09:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783109888001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:03:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 09:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28077691567603712,"km_value":28077691567603.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926563840,"description":"Unknown IO ID 45"} 
[2026-10-16 09:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783109888001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1854427545926563840}} 
[2026-10-16 09:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":216440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:03:13] local.INFO: GPS data processed {"connection_id":216440,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:03:13] local.INFO: Acknowledgment sent {"connection_id":216440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:03:16] local.INFO: TCP Data received {"connection_id":216631,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:03:16] local.INFO: Processing buffer {"connection_id":216631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:03:16] local.INFO: IMEI packet received {"connection_id":216631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":216631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:03:18] local.INFO: TCP Data received {"connection_id":216440,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c45308012d19bc000720a628002a00da2f..."} 
[2026-10-16 09:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c45308012d19bc000720a628002a00da2f..."} 
[2026-10-16 09:03:18] local.INFO: Processing buffer {"connection_id":216440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c45308012d19bc000720a628002a00da2f..."} 
[2026-10-16 09:03:18] local.INFO: Packet analysis {"connection_id":216440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:03:18] local.INFO: Extracted packet for processing {"connection_id":216440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119580200,"longitude_deg":75.6661248,"latitude_deg":11.95802,"altitude":42,"angle":218,"satellites":47,"speed":7,"hex_longitude":"2d19bc00","hex_latitude":"0720a628","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783110144001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28077695862571008,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926543360,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792121525000,"timestamp_ms":1792121525000,"timestamp_seconds":1792121525,"priority":1,"record_length":96,"hex_timestamp":"000001a142c45308"} 
[2026-10-16 09:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:03:18] 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-10-16 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 09:03:18] 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-10-16 09: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-10-16 09:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783110144001,"66":14189,"103":206,"83":41984,"24":7,"16":28077695862571008,"45":1854427545926543360},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 09:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783110144001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:03:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 09:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28077695862571008,"km_value":28077695862571.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926543360,"description":"Unknown IO ID 45"} 
[2026-10-16 09:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783110144001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1854427545926543360}} 
[2026-10-16 09:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":216440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:03:18] local.INFO: GPS data processed {"connection_id":216440,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:03:18] local.INFO: Acknowledgment sent {"connection_id":216440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:03:21] local.INFO: TCP Data received {"connection_id":217977,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:03:21] local.INFO: Processing buffer {"connection_id":217977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:03:21] local.INFO: IMEI packet received {"connection_id":217977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":217977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:03:22] local.INFO: TCP Data received {"connection_id":216631,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:03:22] local.INFO: Processing buffer {"connection_id":216631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:03:22] local.INFO: IMEI packet received {"connection_id":216631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":216631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:03:23] local.INFO: TCP Data received {"connection_id":216631,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:03:23] local.INFO: Processing buffer {"connection_id":216631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:03:23] local.INFO: Packet analysis {"connection_id":216631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:03:23] local.INFO: Extracted packet for processing {"connection_id":216631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783011328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121439000,"timestamp_ms":1792121439000,"timestamp_seconds":1792121439,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30318"} 
[2026-10-16 09:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 09:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783011328001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783011328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:03:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:03:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783011328001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":216631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:03:23] local.INFO: GPS data processed {"connection_id":216631,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:03:23] local.INFO: Acknowledgment sent {"connection_id":216631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:03:26] local.INFO: TCP Data received {"connection_id":217977,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:03:26] local.INFO: Processing buffer {"connection_id":217977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:03:26] local.INFO: IMEI packet received {"connection_id":217977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":217977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:03:27] local.INFO: TCP Data received {"connection_id":217977,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c45ec0012d7c2d0005eb23300008014226..."} 
[2026-10-16 09:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c45ec0012d7c2d0005eb23300008014226..."} 
[2026-10-16 09:03:27] local.INFO: Processing buffer {"connection_id":217977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c45ec0012d7c2d0005eb23300008014226..."} 
[2026-10-16 09:03:27] local.INFO: Packet analysis {"connection_id":217977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:03:27] local.INFO: Extracted packet for processing {"connection_id":217977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763112704,"raw_latitude":99296048,"longitude_deg":76.3112704,"latitude_deg":9.9296048,"altitude":8,"angle":322,"satellites":38,"speed":22,"hex_longitude":"2d7c2d00","hex_latitude":"05eb2330","is_valid_coordinates":true} 
[2026-10-16 09:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783109632001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145468081299259392,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948933959980814336,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:27] 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-10-16 09:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792121528000,"timestamp_ms":1792121528000,"timestamp_seconds":1792121528,"priority":1,"record_length":96,"hex_timestamp":"000001a142c45ec0"} 
[2026-10-16 09:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-16 09:03:27] 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-10-16 09:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783109632001,"66":14048,"10":206,"87":13824,"24":22,"16":145468081299259392,"45":8948933959980814336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-10-16 09:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783109632001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:03:27] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 09:03:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145468081299259392,"km_value":145468081299259.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948933959980814336,"description":"Unknown IO ID 45"} 
[2026-10-16 09:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783109632001,"power":14048,"unknown_10":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8948933959980814336}} 
[2026-10-16 09:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":217977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:03:27] local.INFO: GPS data processed {"connection_id":217977,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:03:27] local.INFO: Acknowledgment sent {"connection_id":217977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:03:49] local.INFO: TCP Data received {"connection_id":216440,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c54150012d19ec40071ffc70002a00712d..."} 
[2026-10-16 09:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c54150012d19ec40071ffc70002a00712d..."} 
[2026-10-16 09:03:49] local.INFO: Processing buffer {"connection_id":216440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c54150012d19ec40071ffc70002a00712d..."} 
[2026-10-16 09:03:49] local.INFO: Packet analysis {"connection_id":216440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c5"} 
[2026-10-16 09:03:49] local.INFO: Extracted packet for processing {"connection_id":216440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c5"} 
[2026-10-16 09:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756673600,"raw_latitude":119536752,"longitude_deg":75.66736,"latitude_deg":11.9536752,"altitude":42,"angle":113,"satellites":45,"speed":26,"hex_longitude":"2d19ec40","hex_latitude":"071ffc70","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783125760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28080105339224064,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867234657355810816,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792121586000,"timestamp_ms":1792121586000,"timestamp_seconds":1792121586,"priority":1,"record_length":96,"hex_timestamp":"000001a142c54150"} 
[2026-10-16 09:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 09:03:49] 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-10-16 09: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-10-16 09:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":216440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":216440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":216440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783125760001,"66":14276,"101":206,"83":41984,"24":26,"16":28080105339224064,"45":1867234657355810816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783125760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:03:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28080105339224064,"km_value":28080105339224.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867234657355810816,"description":"Unknown IO ID 45"} 
[2026-10-16 09:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783125760001,"power":14276,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1867234657355810816}} 
[2026-10-16 09:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":216440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:03:49] local.INFO: GPS data processed {"connection_id":216440,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:03:49] local.INFO: Acknowledgment sent {"connection_id":216440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:03:55] local.INFO: TCP Data received {"connection_id":216631,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:03:55] local.INFO: Processing buffer {"connection_id":216631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:03:55] local.INFO: Packet analysis {"connection_id":216631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:03:55] local.INFO: Extracted packet for processing {"connection_id":216631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783011328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792121439000,"timestamp_ms":1792121439000,"timestamp_seconds":1792121439,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30318"} 
[2026-10-16 09:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 09:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783011328001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783011328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:03:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:03:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783011328001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":216631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:03:55] local.INFO: GPS data processed {"connection_id":216631,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:03:55] local.INFO: Acknowledgment sent {"connection_id":216631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:03:58] local.INFO: TCP Data received {"connection_id":217977,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c46e60012d7c278005eb2ac00008015427..."} 
[2026-10-16 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c46e60012d7c278005eb2ac00008015427..."} 
[2026-10-16 09:03:58] local.INFO: Processing buffer {"connection_id":217977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c46e60012d7c278005eb2ac00008015427..."} 
[2026-10-16 09:03:58] local.INFO: Packet analysis {"connection_id":217977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:03:58] local.INFO: Extracted packet for processing {"connection_id":217977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c4"} 
[2026-10-16 09:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763111296,"raw_latitude":99297984,"longitude_deg":76.3111296,"latitude_deg":9.9297984,"altitude":8,"angle":340,"satellites":39,"speed":20,"hex_longitude":"2d7c2780","hex_latitude":"05eb2ac0","is_valid_coordinates":true} 
[2026-10-16 09:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783111168001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145468197263376384,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947808060074831872,"note":"Value kept but may cause issues"} 
[2026-10-16 09:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792121532000,"timestamp_ms":1792121532000,"timestamp_seconds":1792121532,"priority":1,"record_length":96,"hex_timestamp":"000001a142c46e60"} 
[2026-10-16 09:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 09:03:58] 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-10-16 09:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783111168001,"66":14157,"10":206,"87":13824,"24":20,"16":145468197263376384,"45":8947808060074831872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-10-16 09:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783111168001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:03:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 09:03:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145468197263376384,"km_value":145468197263376.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947808060074831872,"description":"Unknown IO ID 45"} 
[2026-10-16 09:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783111168001,"power":14157,"unknown_10":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8947808060074831872}} 
[2026-10-16 09:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":217977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:03:58] local.INFO: GPS data processed {"connection_id":217977,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:03:58] local.INFO: Acknowledgment sent {"connection_id":217977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:04:07] local.INFO: TCP Data received {"connection_id":216441,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:04:07] local.INFO: Processing buffer {"connection_id":216441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:04:07] local.INFO: IMEI packet received {"connection_id":216441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":216441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:04:10] local.INFO: TCP Data received {"connection_id":216441,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:04:10] local.INFO: Processing buffer {"connection_id":216441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:04:10] local.INFO: IMEI packet received {"connection_id":216441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":216441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:04:12] local.INFO: TCP Data received {"connection_id":216441,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:04:12] local.INFO: Processing buffer {"connection_id":216441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:04:12] local.INFO: IMEI packet received {"connection_id":216441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":216441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:04:13] local.INFO: TCP Data received {"connection_id":216441,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c54538012d19ef40071ffbf8002a00632d..."} 
[2026-10-16 09:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c54538012d19ef40071ffbf8002a00632d..."} 
[2026-10-16 09:04:13] local.INFO: Processing buffer {"connection_id":216441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c54538012d19ef40071ffbf8002a00632d..."} 
[2026-10-16 09:04:13] local.INFO: Packet analysis {"connection_id":216441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c5"} 
[2026-10-16 09:04:13] local.INFO: Extracted packet for processing {"connection_id":216441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c5"} 
[2026-10-16 09:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756674368,"raw_latitude":119536632,"longitude_deg":75.6674368,"latitude_deg":11.9536632,"altitude":42,"angle":99,"satellites":45,"speed":26,"hex_longitude":"2d19ef40","hex_latitude":"071ffbf8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783126016001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28080139698962432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867938344797499392,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792121587000,"timestamp_ms":1792121587000,"timestamp_seconds":1792121587,"priority":1,"record_length":96,"hex_timestamp":"000001a142c54538"} 
[2026-10-16 09:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:04:13] 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-10-16 09: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 09:04:13] 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-10-16 09: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-10-16 09:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783126016001,"66":14233,"101":206,"83":41984,"24":26,"16":28080139698962432,"45":1867938344797499392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783126016001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:04:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28080139698962432,"km_value":28080139698962.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867938344797499392,"description":"Unknown IO ID 45"} 
[2026-10-16 09:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783126016001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1867938344797499392}} 
[2026-10-16 09:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":216441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:04:13] local.INFO: GPS data processed {"connection_id":216441,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:04:13] local.INFO: Acknowledgment sent {"connection_id":216441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:04:16] local.INFO: TCP Data received {"connection_id":217978,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:04:16] local.INFO: Processing buffer {"connection_id":217978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:04:16] local.INFO: IMEI packet received {"connection_id":217978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":217978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:04:21] local.INFO: TCP Data received {"connection_id":219714,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:04:21] local.INFO: Processing buffer {"connection_id":219714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:04:21] local.INFO: IMEI packet received {"connection_id":219714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":219714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:04:22] local.INFO: TCP Data received {"connection_id":217978,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:04:22] local.INFO: Processing buffer {"connection_id":217978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:04:22] local.INFO: IMEI packet received {"connection_id":217978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":217978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:04:23] local.INFO: TCP Data received {"connection_id":217978,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:04:23] local.INFO: Processing buffer {"connection_id":217978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:04:23] local.INFO: Packet analysis {"connection_id":217978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:04:23] local.INFO: Extracted packet for processing {"connection_id":217978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:04:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783011328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121439000,"timestamp_ms":1792121439000,"timestamp_seconds":1792121439,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30318"} 
[2026-10-16 09:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 09:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783011328001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783011328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:04:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:04:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783011328001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":217978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:04:23] local.INFO: GPS data processed {"connection_id":217978,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:04:23] local.INFO: Acknowledgment sent {"connection_id":217978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:04:27] local.INFO: TCP Data received {"connection_id":219714,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:04:27] local.INFO: Processing buffer {"connection_id":219714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:04:27] local.INFO: IMEI packet received {"connection_id":219714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":219714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:04:28] local.INFO: TCP Data received {"connection_id":219714,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c61c10012d7be44005ec32980000015b23..."} 
[2026-10-16 09:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c61c10012d7be44005ec32980000015b23..."} 
[2026-10-16 09:04:28] local.INFO: Processing buffer {"connection_id":219714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c61c10012d7be44005ec32980000015b23..."} 
[2026-10-16 09:04:28] local.INFO: Packet analysis {"connection_id":219714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:04:28] local.INFO: Extracted packet for processing {"connection_id":219714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763094080,"raw_latitude":99365528,"longitude_deg":76.309408,"latitude_deg":9.9365528,"altitude":0,"angle":347,"satellites":35,"speed":14,"hex_longitude":"2d7be440","hex_latitude":"05ec3298","is_valid_coordinates":true} 
[2026-10-16 09:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783140096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145471607467409408,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025181696,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:28] 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-10-16 09:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792121642000,"timestamp_ms":1792121642000,"timestamp_seconds":1792121642,"priority":1,"record_length":96,"hex_timestamp":"000001a142c61c10"} 
[2026-10-16 09:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-16 09:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783140096001,"66":13276,"198":206,"87":13824,"24":14,"16":145471607467409408,"45":8927471493025181696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783140096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:04:28] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:04:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145471607467409408,"km_value":145471607467409.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025181696,"description":"Unknown IO ID 45"} 
[2026-10-16 09:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783140096001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8927471493025181696}} 
[2026-10-16 09:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":219714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:04:28] local.INFO: GPS data processed {"connection_id":219714,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:04:28] local.INFO: Acknowledgment sent {"connection_id":219714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:04:44] local.INFO: TCP Data received {"connection_id":216441,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c54920012d19f240071ffc40002a00562e..."} 
[2026-10-16 09:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c54920012d19f240071ffc40002a00562e..."} 
[2026-10-16 09:04:44] local.INFO: Processing buffer {"connection_id":216441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c54920012d19f240071ffc40002a00562e..."} 
[2026-10-16 09:04:44] local.INFO: Packet analysis {"connection_id":216441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c5"} 
[2026-10-16 09:04:44] local.INFO: Extracted packet for processing {"connection_id":216441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c5"} 
[2026-10-16 09:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756675136,"raw_latitude":119536704,"longitude_deg":75.6675136,"latitude_deg":11.9536704,"altitude":42,"angle":86,"satellites":46,"speed":30,"hex_longitude":"2d19f240","hex_latitude":"071ffc40","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783126272001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28080178353668096,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868782769727600640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792121588000,"timestamp_ms":1792121588000,"timestamp_seconds":1792121588,"priority":1,"record_length":96,"hex_timestamp":"000001a142c54920"} 
[2026-10-16 09:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 09:04:44] 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-10-16 09: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-10-16 09:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783126272001,"66":14233,"101":206,"83":41984,"24":30,"16":28080178353668096,"45":1868782769727600640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783126272001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:04:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28080178353668096,"km_value":28080178353668.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868782769727600640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783126272001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1868782769727600640}} 
[2026-10-16 09:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":216441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:04:44] local.INFO: GPS data processed {"connection_id":216441,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:04:44] local.INFO: Acknowledgment sent {"connection_id":216441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:04:55] local.INFO: TCP Data received {"connection_id":217978,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:04:55] local.INFO: Processing buffer {"connection_id":217978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:04:55] local.INFO: Packet analysis {"connection_id":217978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:04:55] local.INFO: Extracted packet for processing {"connection_id":217978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783011328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792121439000,"timestamp_ms":1792121439000,"timestamp_seconds":1792121439,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30318"} 
[2026-10-16 09:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 09:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783011328001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783011328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:04:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:04:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783011328001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":217978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:04:55] local.INFO: GPS data processed {"connection_id":217978,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:04:55] local.INFO: Acknowledgment sent {"connection_id":217978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:04:59] local.INFO: TCP Data received {"connection_id":219714,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c61ff8012d7be40005ec33e00000000824..."} 
[2026-10-16 09:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c61ff8012d7be40005ec33e00000000824..."} 
[2026-10-16 09:04:59] local.INFO: Processing buffer {"connection_id":219714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c61ff8012d7be40005ec33e00000000824..."} 
[2026-10-16 09:04:59] local.INFO: Packet analysis {"connection_id":219714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:04:59] local.INFO: Extracted packet for processing {"connection_id":219714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":99365856,"longitude_deg":76.3094016,"latitude_deg":9.9365856,"altitude":0,"angle":8,"satellites":36,"speed":12,"hex_longitude":"2d7be400","hex_latitude":"05ec33e0","is_valid_coordinates":true} 
[2026-10-16 09:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783140352001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145471620352311296,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927330755536918528,"note":"Value kept but may cause issues"} 
[2026-10-16 09:04:59] 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-10-16 09:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792121643000,"timestamp_ms":1792121643000,"timestamp_seconds":1792121643,"priority":1,"record_length":96,"hex_timestamp":"000001a142c61ff8"} 
[2026-10-16 09:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-16 09:04:59] 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-10-16 09:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783140352001,"66":13135,"198":206,"87":13824,"24":12,"16":145471620352311296,"45":8927330755536918528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783140352001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:04:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:04:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145471620352311296,"km_value":145471620352311.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927330755536918528,"description":"Unknown IO ID 45"} 
[2026-10-16 09:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783140352001,"power":13135,"unknown_198":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8927330755536918528}} 
[2026-10-16 09:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":219714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:04:59] local.INFO: GPS data processed {"connection_id":219714,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:04:59] local.INFO: Acknowledgment sent {"connection_id":219714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:05:13] local.INFO: TCP Data received {"connection_id":219715,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:05:13] local.INFO: Processing buffer {"connection_id":219715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:05:13] local.INFO: IMEI packet received {"connection_id":219715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":219715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:05:16] local.INFO: TCP Data received {"connection_id":219715,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:05:16] local.INFO: Processing buffer {"connection_id":219715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:05:16] local.INFO: IMEI packet received {"connection_id":219715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":219715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:05:16] local.INFO: TCP Data received {"connection_id":219715,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c63380012d1aae40071f9850003200602a..."} 
[2026-10-16 09:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c63380012d1aae40071f9850003200602a..."} 
[2026-10-16 09:05:16] local.INFO: Processing buffer {"connection_id":219715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c63380012d1aae40071f9850003200602a..."} 
[2026-10-16 09:05:16] local.INFO: Packet analysis {"connection_id":219715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:05:16] local.INFO: Extracted packet for processing {"connection_id":219715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756723264,"raw_latitude":119511120,"longitude_deg":75.6723264,"latitude_deg":11.951112,"altitude":50,"angle":96,"satellites":42,"speed":33,"hex_longitude":"2d1aae40","hex_latitude":"071f9850","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783141120001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28082909952868352,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919870477994162176,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792121648000,"timestamp_ms":1792121648000,"timestamp_seconds":1792121648,"priority":1,"record_length":96,"hex_timestamp":"000001a142c63380"} 
[2026-10-16 09:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:05:16] 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-10-16 09: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 09:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":219715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":219715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":219715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783141120001,"66":14265,"101":206,"83":41984,"24":33,"16":28082909952868352,"45":1919870477994162176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783141120001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:05:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:05:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28082909952868352,"km_value":28082909952868.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919870477994162176,"description":"Unknown IO ID 45"} 
[2026-10-16 09:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783141120001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1919870477994162176}} 
[2026-10-16 09:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":219715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:05:16] local.INFO: GPS data processed {"connection_id":219715,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:05:16] local.INFO: Acknowledgment sent {"connection_id":219715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:05:18] local.INFO: TCP Data received {"connection_id":219715,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c64320012d1abb80071f95e00032006c25..."} 
[2026-10-16 09:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c64320012d1abb80071f95e00032006c25..."} 
[2026-10-16 09:05:18] local.INFO: Processing buffer {"connection_id":219715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c64320012d1abb80071f95e00032006c25..."} 
[2026-10-16 09:05:18] local.INFO: Packet analysis {"connection_id":219715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:05:18] local.INFO: Extracted packet for processing {"connection_id":219715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756726656,"raw_latitude":119510496,"longitude_deg":75.6726656,"latitude_deg":11.9510496,"altitude":50,"angle":108,"satellites":37,"speed":32,"hex_longitude":"2d1abb80","hex_latitude":"071f95e0","is_valid_coordinates":true} 
[2026-10-16 09:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783141888001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28083073161625600,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922544490272804864,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792121652000,"timestamp_ms":1792121652000,"timestamp_seconds":1792121652,"priority":1,"record_length":96,"hex_timestamp":"000001a142c64320"} 
[2026-10-16 09:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:05:18] 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-10-16 09:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 09:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":219715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":219715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":219715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783141888001,"66":14428,"101":206,"83":41984,"24":32,"16":28083073161625600,"45":1922544490272804864},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783141888001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:05:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28083073161625600,"km_value":28083073161625.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922544490272804864,"description":"Unknown IO ID 45"} 
[2026-10-16 09:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783141888001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1922544490272804864}} 
[2026-10-16 09:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":219715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:05:18] local.INFO: GPS data processed {"connection_id":219715,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:05:18] local.INFO: Acknowledgment sent {"connection_id":219715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:05:22] local.INFO: TCP Data received {"connection_id":217980,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:05:22] local.INFO: Processing buffer {"connection_id":217980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:05:22] local.INFO: IMEI packet received {"connection_id":217980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":217980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:05:22] local.INFO: TCP Data received {"connection_id":217979,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:05:22] local.INFO: Processing buffer {"connection_id":217979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:05:22] local.INFO: IMEI packet received {"connection_id":217979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":217979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:05:26] local.INFO: TCP Data received {"connection_id":217980,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:05:26] local.INFO: Processing buffer {"connection_id":217980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:05:26] local.INFO: IMEI packet received {"connection_id":217980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":217980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:05:27] local.INFO: TCP Data received {"connection_id":217979,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:05:27] local.INFO: Processing buffer {"connection_id":217979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:05:27] local.INFO: IMEI packet received {"connection_id":217979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":217979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:05:28] local.INFO: TCP Data received {"connection_id":217979,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:05:28] local.INFO: Processing buffer {"connection_id":217979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:05:28] local.INFO: Packet analysis {"connection_id":217979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:05:28] local.INFO: Extracted packet for processing {"connection_id":217979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783011328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792121439000,"timestamp_ms":1792121439000,"timestamp_seconds":1792121439,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30318"} 
[2026-10-16 09:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 09:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:05: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-10-16 09:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783011328001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783011328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:05:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:05:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783011328001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":217979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:05:28] local.INFO: GPS data processed {"connection_id":217979,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:05:28] local.INFO: Acknowledgment sent {"connection_id":217979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:05:31] local.INFO: TCP Data received {"connection_id":217980,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:05:31] local.INFO: Processing buffer {"connection_id":217980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:05:31] local.INFO: IMEI packet received {"connection_id":217980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":217980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:05:32] local.INFO: TCP Data received {"connection_id":217980,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c623e0012d7be4c005ec35100000002225..."} 
[2026-10-16 09:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c623e0012d7be4c005ec35100000002225..."} 
[2026-10-16 09:05:32] local.INFO: Processing buffer {"connection_id":217980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c623e0012d7be4c005ec35100000002225..."} 
[2026-10-16 09:05:32] local.INFO: Packet analysis {"connection_id":217980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:05:32] local.INFO: Extracted packet for processing {"connection_id":217980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99366160,"longitude_deg":76.3094208,"latitude_deg":9.936616,"altitude":0,"angle":34,"satellites":37,"speed":13,"hex_longitude":"2d7be4c0","hex_latitude":"05ec3510","is_valid_coordinates":true} 
[2026-10-16 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783140608001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145471637532180480,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386792824832,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792121644000,"timestamp_ms":1792121644000,"timestamp_seconds":1792121644,"priority":1,"record_length":96,"hex_timestamp":"000001a142c623e0"} 
[2026-10-16 09:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-16 09:05:32] 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-10-16 09:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783140608001,"66":13135,"198":206,"87":13824,"24":13,"16":145471637532180480,"45":8927260386792824832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783140608001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:05:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:05:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145471637532180480,"km_value":145471637532180.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386792824832,"description":"Unknown IO ID 45"} 
[2026-10-16 09:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783140608001,"power":13135,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8927260386792824832}} 
[2026-10-16 09:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":217980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:05:32] local.INFO: GPS data processed {"connection_id":217980,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:05:32] local.INFO: Acknowledgment sent {"connection_id":217980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:05:33] local.INFO: TCP Data received {"connection_id":217979,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:05:33] local.INFO: Processing buffer {"connection_id":217979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c30318012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:05:33] local.INFO: Packet analysis {"connection_id":217979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:05:33] local.INFO: Extracted packet for processing {"connection_id":217979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c3"} 
[2026-10-16 09:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783011328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792121439000,"timestamp_ms":1792121439000,"timestamp_seconds":1792121439,"priority":1,"record_length":96,"hex_timestamp":"000001a142c30318"} 
[2026-10-16 09:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 09:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783011328001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783011328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:05:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:05:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783011328001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":217979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:05:33] local.INFO: GPS data processed {"connection_id":217979,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:05:33] local.INFO: Acknowledgment sent {"connection_id":217979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:05:33] local.INFO: TCP Data received {"connection_id":217980,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c627c8012d7be5c005ec35a80000003e25..."} 
[2026-10-16 09:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c627c8012d7be5c005ec35a80000003e25..."} 
[2026-10-16 09:05:33] local.INFO: Processing buffer {"connection_id":217980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c627c8012d7be5c005ec35a80000003e25..."} 
[2026-10-16 09:05:33] local.INFO: Packet analysis {"connection_id":217980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:05:33] local.INFO: Extracted packet for processing {"connection_id":217980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763094464,"raw_latitude":99366312,"longitude_deg":76.3094464,"latitude_deg":9.9366312,"altitude":0,"angle":62,"satellites":37,"speed":13,"hex_longitude":"2d7be5c0","hex_latitude":"05ec35a8","is_valid_coordinates":true} 
[2026-10-16 09:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783140864001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145471654712049664,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025435648,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792121645000,"timestamp_ms":1792121645000,"timestamp_seconds":1792121645,"priority":1,"record_length":96,"hex_timestamp":"000001a142c627c8"} 
[2026-10-16 09:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-16 09:05:33] 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-10-16 09:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783140864001,"66":13048,"198":206,"87":13824,"24":13,"16":145471654712049664,"45":8927471493025435648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783140864001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:05:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:05:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145471654712049664,"km_value":145471654712049.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025435648,"description":"Unknown IO ID 45"} 
[2026-10-16 09:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783140864001,"power":13048,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8927471493025435648}} 
[2026-10-16 09:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":217980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:05:33] local.INFO: GPS data processed {"connection_id":217980,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:05:33] local.INFO: Acknowledgment sent {"connection_id":217980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:05:49] local.INFO: TCP Data received {"connection_id":219715,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c6fea0012d1afc80071f8cb80033005f29..."} 
[2026-10-16 09:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c6fea0012d1afc80071f8cb80033005f29..."} 
[2026-10-16 09:05:49] local.INFO: Processing buffer {"connection_id":219715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c6fea0012d1afc80071f8cb80033005f29..."} 
[2026-10-16 09:05:49] local.INFO: Packet analysis {"connection_id":219715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:05:49] local.INFO: Extracted packet for processing {"connection_id":219715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c6"} 
[2026-10-16 09:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756743296,"raw_latitude":119508152,"longitude_deg":75.6743296,"latitude_deg":11.9508152,"altitude":51,"angle":95,"satellites":41,"speed":18,"hex_longitude":"2d1afc80","hex_latitude":"071f8cb8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783152384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28084026644365312,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939644095106824192,"note":"Value kept but may cause issues"} 
[2026-10-16 09:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792121700000,"timestamp_ms":1792121700000,"timestamp_seconds":1792121700,"priority":1,"record_length":96,"hex_timestamp":"000001a142c6fea0"} 
[2026-10-16 09:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 09:05:49] 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-10-16 09: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-10-16 09:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":219715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":219715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":219715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783152384001,"66":14461,"101":206,"83":41984,"24":18,"16":28084026644365312,"45":1939644095106824192},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783152384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:05:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28084026644365312,"km_value":28084026644365.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939644095106824192,"description":"Unknown IO ID 45"} 
[2026-10-16 09:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783152384001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1939644095106824192}} 
[2026-10-16 09:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":219715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:05:49] local.INFO: GPS data processed {"connection_id":219715,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:05:49] local.INFO: Acknowledgment sent {"connection_id":219715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:06:04] local.INFO: TCP Data received {"connection_id":217981,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:04] local.INFO: Processing buffer {"connection_id":217981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:04] local.INFO: IMEI packet received {"connection_id":217981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":217981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:06:05] local.INFO: TCP Data received {"connection_id":217980,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c7a2b0012d7d1c0005ec3e28000500f527..."} 
[2026-10-16 09:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c7a2b0012d7d1c0005ec3e28000500f527..."} 
[2026-10-16 09:06:05] local.INFO: Processing buffer {"connection_id":217980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c7a2b0012d7d1c0005ec3e28000500f527..."} 
[2026-10-16 09:06:05] local.INFO: Packet analysis {"connection_id":217980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:05] local.INFO: Extracted packet for processing {"connection_id":217980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99368488,"longitude_deg":76.3173888,"latitude_deg":9.9368488,"altitude":5,"angle":245,"satellites":39,"speed":13,"hex_longitude":"2d7d1c00","hex_latitude":"05ec3e28","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165696001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145475537362485248,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423248160768,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792121742000,"timestamp_ms":1792121742000,"timestamp_seconds":1792121742,"priority":1,"record_length":96,"hex_timestamp":"000001a142c7a2b0"} 
[2026-10-16 09:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:06:05] 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-10-16 09: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 09:06:05] 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-10-16 09: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-10-16 09:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165696001,"66":12624,"110":206,"87":13824,"24":13,"16":145475537362485248,"45":9015432423248160768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165696001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:06:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:06:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145475537362485248,"km_value":145475537362485.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423248160768,"description":"Unknown IO ID 45"} 
[2026-10-16 09:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165696001,"power":12624,"unknown_110":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9015432423248160768}} 
[2026-10-16 09:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":217980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:06:05] local.INFO: GPS data processed {"connection_id":217980,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:06:05] local.INFO: Acknowledgment sent {"connection_id":217980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:06:08] local.INFO: TCP Data received {"connection_id":217981,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:08] local.INFO: Processing buffer {"connection_id":217981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:08] local.INFO: IMEI packet received {"connection_id":217981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":217981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:06:08] local.INFO: TCP Data received {"connection_id":217981,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:08] local.INFO: Processing buffer {"connection_id":217981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:08] local.INFO: IMEI packet received {"connection_id":217981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":217981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:06:14] local.INFO: TCP Data received {"connection_id":217981,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:14] local.INFO: Processing buffer {"connection_id":217981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:06:14] local.INFO: IMEI packet received {"connection_id":217981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":217981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:06:17] local.INFO: TCP Data received {"connection_id":216633,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:06:17] local.INFO: Processing buffer {"connection_id":216633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:06:17] local.INFO: IMEI packet received {"connection_id":216633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":216633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:06:18] local.INFO: TCP Data received {"connection_id":216633,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:06:18] local.INFO: Processing buffer {"connection_id":216633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:06:18] local.INFO: IMEI packet received {"connection_id":216633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":216633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:06:18] local.INFO: TCP Data received {"connection_id":217981,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c70288012d1afe40071f8c280034006c29..."} 
[2026-10-16 09:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c70288012d1afe40071f8c280034006c29..."} 
[2026-10-16 09:06:18] local.INFO: Processing buffer {"connection_id":217981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c70288012d1afe40071f8c280034006c29..."} 
[2026-10-16 09:06:18] local.INFO: Packet analysis {"connection_id":217981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:18] local.INFO: Extracted packet for processing {"connection_id":217981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756743744,"raw_latitude":119508008,"longitude_deg":75.6743744,"latitude_deg":11.9508008,"altitude":52,"angle":108,"satellites":41,"speed":19,"hex_longitude":"2d1afe40","hex_latitude":"071f8c28","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783155200001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28084048119201792,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944569907199653888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792121701000,"timestamp_ms":1792121701000,"timestamp_seconds":1792121701,"priority":1,"record_length":96,"hex_timestamp":"000001a142c70288"} 
[2026-10-16 09:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 09:06:18] 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-10-16 09: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-10-16 09:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":217981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":217981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":217981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783155200001,"66":14396,"101":206,"83":41984,"24":19,"16":28084048119201792,"45":1944569907199653888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783155200001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:06:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28084048119201792,"km_value":28084048119201.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944569907199653888,"description":"Unknown IO ID 45"} 
[2026-10-16 09:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783155200001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1944569907199653888}} 
[2026-10-16 09:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":217981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:06:18] local.INFO: GPS data processed {"connection_id":217981,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:06:18] local.INFO: Acknowledgment sent {"connection_id":217981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:06:19] local.INFO: TCP Data received {"connection_id":217981,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c70a58012d1b0200071f8a380034007929..."} 
[2026-10-16 09:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c70a58012d1b0200071f8a380034007929..."} 
[2026-10-16 09:06:19] local.INFO: Processing buffer {"connection_id":217981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c70a58012d1b0200071f8a380034007929..."} 
[2026-10-16 09:06:19] local.INFO: Packet analysis {"connection_id":217981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:19] local.INFO: Extracted packet for processing {"connection_id":217981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756744704,"raw_latitude":119507512,"longitude_deg":75.6744704,"latitude_deg":11.9507512,"altitude":52,"angle":121,"satellites":41,"speed":20,"hex_longitude":"2d1b0200","hex_latitude":"071f8a38","is_valid_coordinates":true} 
[2026-10-16 09:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783155456001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28084099658809344,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945062488408860672,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792121703000,"timestamp_ms":1792121703000,"timestamp_seconds":1792121703,"priority":1,"record_length":96,"hex_timestamp":"000001a142c70a58"} 
[2026-10-16 09:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 09:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":217981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":217981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":217981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783155456001,"66":13363,"101":206,"83":41984,"24":20,"16":28084099658809344,"45":1945062488408860672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783155456001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:06:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28084099658809344,"km_value":28084099658809.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945062488408860672,"description":"Unknown IO ID 45"} 
[2026-10-16 09:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783155456001,"power":13363,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1945062488408860672}} 
[2026-10-16 09:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":217981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:06:19] local.INFO: GPS data processed {"connection_id":217981,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:06:19] local.INFO: Acknowledgment sent {"connection_id":217981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:06:21] local.INFO: TCP Data received {"connection_id":216442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:06:21] local.INFO: Processing buffer {"connection_id":216442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:06:21] local.INFO: IMEI packet received {"connection_id":216442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":216442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:06:21] local.INFO: TCP Data received {"connection_id":216442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:06:21] local.INFO: Processing buffer {"connection_id":216442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:06:21] local.INFO: IMEI packet received {"connection_id":216442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":216442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:06:22] local.INFO: TCP Data received {"connection_id":216633,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:06:22] local.INFO: Processing buffer {"connection_id":216633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:06:22] local.INFO: IMEI packet received {"connection_id":216633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":216633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:06:24] local.INFO: TCP Data received {"connection_id":216633,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:06:24] local.INFO: Processing buffer {"connection_id":216633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:06:24] local.INFO: Packet analysis {"connection_id":216633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:24] local.INFO: Extracted packet for processing {"connection_id":216633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:06:24] 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-10-16 09: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-10-16 09:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:06:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:06:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":216633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:06:25] local.INFO: GPS data processed {"connection_id":216633,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:06:25] local.INFO: Acknowledgment sent {"connection_id":216633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:06:26] local.INFO: TCP Data received {"connection_id":216442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:06:26] local.INFO: Processing buffer {"connection_id":216442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:06:26] local.INFO: IMEI packet received {"connection_id":216442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":216442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:06:26] local.INFO: TCP Data received {"connection_id":216442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c7aa80012d7d190005ec3d380005010425..."} 
[2026-10-16 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c7aa80012d7d190005ec3d380005010425..."} 
[2026-10-16 09:06:26] local.INFO: Processing buffer {"connection_id":216442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c7aa80012d7d190005ec3d380005010425..."} 
[2026-10-16 09:06:26] local.INFO: Packet analysis {"connection_id":216442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:26] local.INFO: Extracted packet for processing {"connection_id":216442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763173120,"raw_latitude":99368248,"longitude_deg":76.317312,"latitude_deg":9.9368248,"altitude":5,"angle":260,"satellites":37,"speed":18,"hex_longitude":"2d7d1900","hex_latitude":"05ec3d38","is_valid_coordinates":true} 
[2026-10-16 09:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165952001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145475576017190912,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579527223296,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:26] 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-10-16 09:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792121744000,"timestamp_ms":1792121744000,"timestamp_seconds":1792121744,"priority":1,"record_length":96,"hex_timestamp":"000001a142c7aa80"} 
[2026-10-16 09:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 09:06:26] 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-10-16 09:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165952001,"66":13602,"110":206,"87":13824,"24":18,"16":145475576017190912,"45":9015080579527223296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165952001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:06:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:06:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145475576017190912,"km_value":145475576017190.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579527223296,"description":"Unknown IO ID 45"} 
[2026-10-16 09:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165952001,"power":13602,"unknown_110":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9015080579527223296}} 
[2026-10-16 09:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":216442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:06:26] local.INFO: GPS data processed {"connection_id":216442,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:06:26] local.INFO: Acknowledgment sent {"connection_id":216442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:06:27] local.INFO: TCP Data received {"connection_id":216633,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:06:27] local.INFO: Processing buffer {"connection_id":216633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:06:27] local.INFO: Packet analysis {"connection_id":216633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:27] local.INFO: Extracted packet for processing {"connection_id":216633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:06:27] 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-10-16 09: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-10-16 09:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:06:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:06:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":216633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:06:27] local.INFO: GPS data processed {"connection_id":216633,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:06:27] local.INFO: Acknowledgment sent {"connection_id":216633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:06:31] local.INFO: TCP Data received {"connection_id":216442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c7d960012d7cf58005ec3ab00006010b2a..."} 
[2026-10-16 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c7d960012d7cf58005ec3ab00006010b2a..."} 
[2026-10-16 09:06:31] local.INFO: Processing buffer {"connection_id":216442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c7d960012d7cf58005ec3ab00006010b2a..."} 
[2026-10-16 09:06:31] local.INFO: Packet analysis {"connection_id":216442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:31] local.INFO: Extracted packet for processing {"connection_id":216442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763164032,"raw_latitude":99367600,"longitude_deg":76.3164032,"latitude_deg":9.93676,"altitude":6,"angle":267,"satellites":42,"speed":28,"hex_longitude":"2d7cf580","hex_latitude":"05ec3ab0","is_valid_coordinates":true} 
[2026-10-16 09:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783166464001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145476009808887808,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014236154597029888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792121756000,"timestamp_ms":1792121756000,"timestamp_seconds":1792121756,"priority":1,"record_length":96,"hex_timestamp":"000001a142c7d960"} 
[2026-10-16 09:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-16 09:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783166464001,"66":14080,"110":206,"87":13824,"24":28,"16":145476009808887808,"45":9014236154597029888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783166464001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:06:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:06:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145476009808887808,"km_value":145476009808887.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014236154597029888,"description":"Unknown IO ID 45"} 
[2026-10-16 09:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783166464001,"power":14080,"unknown_110":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9014236154597029888}} 
[2026-10-16 09:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":216442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:06:31] local.INFO: GPS data processed {"connection_id":216442,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:06:31] local.INFO: Acknowledgment sent {"connection_id":216442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:06:50] local.INFO: TCP Data received {"connection_id":217981,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142c7d190012d1b5600071f6d50003b006e2b..."} 
[2026-10-16 09:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c7d190012d1b5600071f6d50003b006e2b..."} 
[2026-10-16 09:06:50] local.INFO: Processing buffer {"connection_id":217981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c7d190012d1b5600071f6d50003b006e2b..."} 
[2026-10-16 09:06:50] local.INFO: Packet analysis {"connection_id":217981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:50] local.INFO: Extracted packet for processing {"connection_id":217981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119500112,"longitude_deg":75.6766208,"latitude_deg":11.9500112,"altitude":59,"angle":110,"satellites":43,"speed":6,"hex_longitude":"2d1b5600","hex_latitude":"071f6d50","is_valid_coordinates":true} 
[2026-10-16 09:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783168768001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28085349494292480,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969621180124864512,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792121754000,"timestamp_ms":1792121754000,"timestamp_seconds":1792121754,"priority":1,"record_length":96,"hex_timestamp":"000001a142c7d190"} 
[2026-10-16 09:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:06:50] 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-10-16 09:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-10-16 09:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":217981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":217981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":217981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783168768001,"66":13537,"101":206,"83":41984,"24":6,"16":28085349494292480,"45":1969621180124864512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783168768001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:06:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28085349494292480,"km_value":28085349494292.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969621180124864512,"description":"Unknown IO ID 45"} 
[2026-10-16 09:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783168768001,"power":13537,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1969621180124864512}} 
[2026-10-16 09:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":217981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:06:50] local.INFO: GPS data processed {"connection_id":217981,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:06:50] local.INFO: Acknowledgment sent {"connection_id":217981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:06:59] local.INFO: TCP Data received {"connection_id":216633,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:06:59] local.INFO: Processing buffer {"connection_id":216633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:06:59] local.INFO: Packet analysis {"connection_id":216633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:59] local.INFO: Extracted packet for processing {"connection_id":216633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:06: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-10-16 09:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:06: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-10-16 09:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:06:59] 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-10-16 09:06: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-10-16 09:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:06:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:06:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":216633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:06:59] local.INFO: GPS data processed {"connection_id":216633,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:06:59] local.INFO: Acknowledgment sent {"connection_id":216633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:07:03] local.INFO: TCP Data received {"connection_id":216442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c80840012d7cd18005ec3918000b010c2a..."} 
[2026-10-16 09:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c80840012d7cd18005ec3918000b010c2a..."} 
[2026-10-16 09:07:03] local.INFO: Processing buffer {"connection_id":216442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c80840012d7cd18005ec3918000b010c2a..."} 
[2026-10-16 09:07:03] local.INFO: Packet analysis {"connection_id":216442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:07:03] local.INFO: Extracted packet for processing {"connection_id":216442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763154816,"raw_latitude":99367192,"longitude_deg":76.3154816,"latitude_deg":9.9367192,"altitude":11,"angle":268,"satellites":42,"speed":33,"hex_longitude":"2d7cd180","hex_latitude":"05ec3918","is_valid_coordinates":true} 
[2026-10-16 09:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783169536001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145476452190519296,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004243792923635712,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792121768000,"timestamp_ms":1792121768000,"timestamp_seconds":1792121768,"priority":1,"record_length":96,"hex_timestamp":"000001a142c80840"} 
[2026-10-16 09:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-10-16 09:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444141568,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963717632,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3348815873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:07:03] local.WARNING: Large IO value detected {"io_id":150,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,87,24,241,157,16,213,161,170,45,61,5,37,10,66,162,62,39,158,64,1,240,80,227,236,4,113,205,9,150,30,168,239,52,2,8],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:07:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432639314222645248,"timestamp_seconds":432639314222645.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783169536001,"66":14102,"110":206,"87":13824,"24":33,"16":145476452190519296,"45":9004243792923635712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783169536001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:07:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:07:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145476452190519296,"km_value":145476452190519.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004243792923635712,"description":"Unknown IO ID 45"} 
[2026-10-16 09:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783169536001,"power":14102,"unknown_110":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":9004243792923635712}} 
[2026-10-16 09:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":216442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:07:03] local.INFO: GPS data processed {"connection_id":216442,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:07:03] local.INFO: Acknowledgment sent {"connection_id":216442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:07:09] local.INFO: TCP Data received {"connection_id":216634,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:07:09] local.INFO: Processing buffer {"connection_id":216634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:07:09] local.INFO: IMEI packet received {"connection_id":216634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":216634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:07:09] local.INFO: TCP Data received {"connection_id":216634,"ip":"42.106.6.47","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-16 09:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216634,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-16 09:07:09] local.INFO: Processing buffer {"connection_id":216634,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-16 09:07:09] local.INFO: IMEI packet received {"connection_id":216634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":216634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:07:10] local.INFO: TCP Data received {"connection_id":216634,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:07:10] local.INFO: Processing buffer {"connection_id":216634,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-10-16 09:07:10] local.INFO: IMEI packet received {"connection_id":216634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":216634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:07:21] local.INFO: TCP Data received {"connection_id":219718,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:07:21] local.INFO: Processing buffer {"connection_id":219718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:07:21] local.INFO: IMEI packet received {"connection_id":219718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":219718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:07:21] local.INFO: TCP Data received {"connection_id":217982,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:07:21] local.INFO: Processing buffer {"connection_id":217982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:07:21] local.INFO: IMEI packet received {"connection_id":217982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":217982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:07:24] local.INFO: TCP Data received {"connection_id":219718,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:07:24] local.INFO: Processing buffer {"connection_id":219718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:07:24] local.INFO: IMEI packet received {"connection_id":219718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":219718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:07:27] local.INFO: TCP Data received {"connection_id":217982,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:07:27] local.INFO: Processing buffer {"connection_id":217982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:07:27] local.INFO: IMEI packet received {"connection_id":217982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":217982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:07:28] local.INFO: TCP Data received {"connection_id":219718,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c83338012d7cac0005ec37d0000d010b2d..."} 
[2026-10-16 09:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c83338012d7cac0005ec37d0000d010b2d..."} 
[2026-10-16 09:07:28] local.INFO: Processing buffer {"connection_id":219718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c83338012d7cac0005ec37d0000d010b2d..."} 
[2026-10-16 09:07:28] local.INFO: Packet analysis {"connection_id":219718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:07:28] local.INFO: Extracted packet for processing {"connection_id":219718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763145216,"raw_latitude":99366864,"longitude_deg":76.3145216,"latitude_deg":9.9366864,"altitude":13,"angle":267,"satellites":45,"speed":38,"hex_longitude":"2d7cac00","hex_latitude":"05ec37d0","is_valid_coordinates":true} 
[2026-10-16 09:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783172608001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145476911752019968,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994110693761947648,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:28] 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-10-16 09:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792121779000,"timestamp_ms":1792121779000,"timestamp_seconds":1792121779,"priority":1,"record_length":96,"hex_timestamp":"000001a142c83338"} 
[2026-10-16 09:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 09:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783172608001,"66":13678,"197":206,"87":13824,"24":38,"16":145476911752019968,"45":8994110693761947648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-16 09:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783172608001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:07:28] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-16 09:07:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145476911752019968,"km_value":145476911752019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994110693761947648,"description":"Unknown IO ID 45"} 
[2026-10-16 09:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783172608001,"power":13678,"unknown_197":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8994110693761947648}} 
[2026-10-16 09:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":219718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:07:28] local.INFO: GPS data processed {"connection_id":219718,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:07:28] local.INFO: Acknowledgment sent {"connection_id":219718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:07:28] local.INFO: TCP Data received {"connection_id":217982,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:07:28] local.INFO: Processing buffer {"connection_id":217982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:07:28] local.INFO: Packet analysis {"connection_id":217982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:07:28] local.INFO: Extracted packet for processing {"connection_id":217982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:07:28] 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-10-16 09:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:07:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:07:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":217982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:07:28] local.INFO: GPS data processed {"connection_id":217982,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:07:28] local.INFO: Acknowledgment sent {"connection_id":217982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:07:33] local.INFO: TCP Data received {"connection_id":217982,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:07:33] local.INFO: Processing buffer {"connection_id":217982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:07:33] local.INFO: Packet analysis {"connection_id":217982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:07:33] local.INFO: Extracted packet for processing {"connection_id":217982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:07:33] 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-10-16 09:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:07:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:07:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":217982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:07:33] local.INFO: GPS data processed {"connection_id":217982,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:07:33] local.INFO: Acknowledgment sent {"connection_id":217982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:08:00] local.INFO: TCP Data received {"connection_id":219718,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c85a48012d7c87c005ec36d8000c010d2d..."} 
[2026-10-16 09:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c85a48012d7c87c005ec36d8000c010d2d..."} 
[2026-10-16 09:08:00] local.INFO: Processing buffer {"connection_id":219718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c85a48012d7c87c005ec36d8000c010d2d..."} 
[2026-10-16 09:08:00] local.INFO: Packet analysis {"connection_id":219718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:08:00] local.INFO: Extracted packet for processing {"connection_id":219718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763135936,"raw_latitude":99366616,"longitude_deg":76.3135936,"latitude_deg":9.9366616,"altitude":12,"angle":269,"satellites":45,"speed":36,"hex_longitude":"2d7c87c0","hex_latitude":"05ec36d8","is_valid_coordinates":true} 
[2026-10-16 09:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783175424001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145477358428618752,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983555382135214080,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:00] 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-10-16 09:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792121789000,"timestamp_ms":1792121789000,"timestamp_seconds":1792121789,"priority":1,"record_length":96,"hex_timestamp":"000001a142c85a48"} 
[2026-10-16 09:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-10-16 09:08:00] 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-10-16 09:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783175424001,"66":14157,"197":206,"87":13824,"24":36,"16":145477358428618752,"45":8983555382135214080},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-10-16 09:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783175424001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:08:00] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-16 09:08:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145477358428618752,"km_value":145477358428618.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983555382135214080,"description":"Unknown IO ID 45"} 
[2026-10-16 09:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783175424001,"power":14157,"unknown_197":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8983555382135214080}} 
[2026-10-16 09:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":219718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:08:01] local.INFO: GPS data processed {"connection_id":219718,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:08:01] local.INFO: Acknowledgment sent {"connection_id":219718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:08:17] local.INFO: TCP Data received {"connection_id":216635,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:08:17] local.INFO: Processing buffer {"connection_id":216635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:08:17] local.INFO: IMEI packet received {"connection_id":216635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":216635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:08:22] local.INFO: TCP Data received {"connection_id":216635,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:08:22] local.INFO: Processing buffer {"connection_id":216635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:08:22] local.INFO: IMEI packet received {"connection_id":216635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":216635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:08:23] local.INFO: TCP Data received {"connection_id":216635,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:08:23] local.INFO: Processing buffer {"connection_id":216635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:08:23] local.INFO: Packet analysis {"connection_id":216635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:08:23] local.INFO: Extracted packet for processing {"connection_id":216635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:08:23] 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-10-16 09:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:08:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:08:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":216635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:08:23] local.INFO: GPS data processed {"connection_id":216635,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:08:23] local.INFO: Acknowledgment sent {"connection_id":216635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:08:26] local.INFO: TCP Data received {"connection_id":217984,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:08:26] local.INFO: Processing buffer {"connection_id":217984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:08:26] local.INFO: IMEI packet received {"connection_id":217984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":217984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:08:28] local.INFO: TCP Data received {"connection_id":216635,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:08:28] local.INFO: Processing buffer {"connection_id":216635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:08:28] local.INFO: Packet analysis {"connection_id":216635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:08:28] local.INFO: Extracted packet for processing {"connection_id":216635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:08:28] 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-10-16 09:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:08:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:08:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":216635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:08:28] local.INFO: GPS data processed {"connection_id":216635,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:08:28] local.INFO: Acknowledgment sent {"connection_id":216635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:08:31] local.INFO: TCP Data received {"connection_id":217984,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:08:31] local.INFO: Processing buffer {"connection_id":217984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:08:31] local.INFO: IMEI packet received {"connection_id":217984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":217984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:08:31] local.INFO: TCP Data received {"connection_id":216444,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:08:31] local.INFO: Processing buffer {"connection_id":216444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:08:31] local.INFO: IMEI packet received {"connection_id":216444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":216444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:08:31] local.INFO: TCP Data received {"connection_id":217984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c88540012d7c62c005ec35d0000d010c2d..."} 
[2026-10-16 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c88540012d7c62c005ec35d0000d010c2d..."} 
[2026-10-16 09:08:31] local.INFO: Processing buffer {"connection_id":217984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c88540012d7c62c005ec35d0000d010c2d..."} 
[2026-10-16 09:08:31] local.INFO: Packet analysis {"connection_id":217984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:08:31] local.INFO: Extracted packet for processing {"connection_id":217984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763126464,"raw_latitude":99366352,"longitude_deg":76.3126464,"latitude_deg":9.9366352,"altitude":13,"angle":268,"satellites":45,"speed":32,"hex_longitude":"2d7c62c0","hex_latitude":"05ec35d0","is_valid_coordinates":true} 
[2026-10-16 09:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783177984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145477809400184832,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973351914229389312,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792121800000,"timestamp_ms":1792121800000,"timestamp_seconds":1792121800,"priority":1,"record_length":96,"hex_timestamp":"000001a142c88540"} 
[2026-10-16 09:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 09:08:31] 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-10-16 09:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":217984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":217984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":217984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783177984001,"66":13624,"198":206,"87":13824,"24":32,"16":145477809400184832,"45":8973351914229389312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783177984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:08:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:08:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145477809400184832,"km_value":145477809400184.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973351914229389312,"description":"Unknown IO ID 45"} 
[2026-10-16 09:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783177984001,"power":13624,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8973351914229389312}} 
[2026-10-16 09:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":217984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:08:31] local.INFO: GPS data processed {"connection_id":217984,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:08:31] local.INFO: Acknowledgment sent {"connection_id":217984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:08:32] local.INFO: TCP Data received {"connection_id":217984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c8b808012d7c3f0005ec34d0000e010a2d..."} 
[2026-10-16 09:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c8b808012d7c3f0005ec34d0000e010a2d..."} 
[2026-10-16 09:08:32] local.INFO: Processing buffer {"connection_id":217984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c8b808012d7c3f0005ec34d0000e010a2d..."} 
[2026-10-16 09:08:32] local.INFO: Packet analysis {"connection_id":217984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:08:32] local.INFO: Extracted packet for processing {"connection_id":217984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":99366096,"longitude_deg":76.3117312,"latitude_deg":9.9366096,"altitude":14,"angle":266,"satellites":45,"speed":31,"hex_longitude":"2d7c3f00","hex_latitude":"05ec34d0","is_valid_coordinates":true} 
[2026-10-16 09:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783180800001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145478247486849024,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962937340091027456,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792121813000,"timestamp_ms":1792121813000,"timestamp_seconds":1792121813,"priority":1,"record_length":96,"hex_timestamp":"000001a142c8b808"} 
[2026-10-16 09:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-16 09:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783180800001,"66":13319,"198":206,"87":13824,"24":31,"16":145478247486849024,"45":8962937340091027456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783180800001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:08:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:08:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145478247486849024,"km_value":145478247486849.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962937340091027456,"description":"Unknown IO ID 45"} 
[2026-10-16 09:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783180800001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8962937340091027456}} 
[2026-10-16 09:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":217984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:08:32] local.INFO: GPS data processed {"connection_id":217984,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:08:32] local.INFO: Acknowledgment sent {"connection_id":217984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:08:53] local.INFO: TCP Data received {"connection_id":219719,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:08:53] local.INFO: Processing buffer {"connection_id":219719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:08:53] local.INFO: IMEI packet received {"connection_id":219719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":219719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:08:58] local.INFO: TCP Data received {"connection_id":216636,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:08:58] local.INFO: Processing buffer {"connection_id":216636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:08:58] local.INFO: IMEI packet received {"connection_id":216636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":216636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:08:59] local.INFO: TCP Data received {"connection_id":216635,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:08:59] local.INFO: Processing buffer {"connection_id":216635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:08:59] local.INFO: Packet analysis {"connection_id":216635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:08:59] local.INFO: Extracted packet for processing {"connection_id":216635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:08: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-10-16 09:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:08:59] 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-10-16 09:08: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-10-16 09:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:08:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:08:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":216635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:08:59] local.INFO: GPS data processed {"connection_id":216635,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:08:59] local.INFO: Acknowledgment sent {"connection_id":216635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:09:02] local.INFO: TCP Data received {"connection_id":216636,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:09:02] local.INFO: Processing buffer {"connection_id":216636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:09:02] local.INFO: IMEI packet received {"connection_id":216636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":216636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:09:03] local.INFO: TCP Data received {"connection_id":216636,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142ca4e48012d0c3c4007062db0001b003423..."} 
[2026-10-16 09:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ca4e48012d0c3c4007062db0001b003423..."} 
[2026-10-16 09:09:03] local.INFO: Processing buffer {"connection_id":216636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ca4e48012d0c3c4007062db0001b003423..."} 
[2026-10-16 09:09:03] local.INFO: Packet analysis {"connection_id":216636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ca"} 
[2026-10-16 09:09:03] local.INFO: Extracted packet for processing {"connection_id":216636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ca"} 
[2026-10-16 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117845424,"longitude_deg":75.5776576,"latitude_deg":11.7845424,"altitude":27,"angle":52,"satellites":35,"speed":12,"hex_longitude":"2d0c3c40","hex_latitude":"07062db0","is_valid_coordinates":true} 
[2026-10-16 09:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783208704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36461300225671168,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877639007551965184,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:03] 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-10-16 09:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792121917000,"timestamp_ms":1792121917000,"timestamp_seconds":1792121917,"priority":1,"record_length":96,"hex_timestamp":"000001a142ca4e48"} 
[2026-10-16 09:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 09:09:03] 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-10-16 09: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-10-16 09:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783208704001,"66":14494,"164":206,"94":10240,"24":12,"16":36461300225671168,"45":877639007551965184},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 09:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783208704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:09:03] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 09:09:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36461300225671168,"km_value":36461300225671.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":877639007551965184,"description":"Unknown IO ID 45"} 
[2026-10-16 09:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783208704001,"power":14494,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":877639007551965184}} 
[2026-10-16 09:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":216636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045528,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:09:03] local.INFO: GPS data processed {"connection_id":216636,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:09:03] local.INFO: Acknowledgment sent {"connection_id":216636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:09:07] local.INFO: TCP Data received {"connection_id":217984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c8e300012d7c1b4005ec3388000e010c2e..."} 
[2026-10-16 09:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c8e300012d7c1b4005ec3388000e010c2e..."} 
[2026-10-16 09:09:07] local.INFO: Processing buffer {"connection_id":217984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c8e300012d7c1b4005ec3388000e010c2e..."} 
[2026-10-16 09:09:07] local.INFO: Packet analysis {"connection_id":217984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:09:07] local.INFO: Extracted packet for processing {"connection_id":217984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c8"} 
[2026-10-16 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763108160,"raw_latitude":99365768,"longitude_deg":76.310816,"latitude_deg":9.9365768,"altitude":14,"angle":268,"satellites":46,"speed":30,"hex_longitude":"2d7c1b40","hex_latitude":"05ec3388","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783184128001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145478681278545920,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609673555968,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09: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-10-16 09:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792121824000,"timestamp_ms":1792121824000,"timestamp_seconds":1792121824,"priority":1,"record_length":96,"hex_timestamp":"000001a142c8e300"} 
[2026-10-16 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-10-16 09:09: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-10-16 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3355983873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4478829850910861056,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3584622592,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2147871802,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":34,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:07] local.WARNING: Large IO value detected {"io_id":199,"raw_value":-6723872948780007419,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:07] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,87,24,241,157,16,215,161,133,45,192,53,13,10,66,90,54,12,197,214,51,1,240,110,227,236,4,113,205,33,217,245,176,42,239,55,2,5,18,34,199],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:09:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009098979899539456,"timestamp_seconds":1009098979899539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 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-10-16 09:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":217984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":217984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":217984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783184128001,"66":13820,"198":206,"87":13824,"24":30,"16":145478681278545920,"45":8952874609673555968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783184128001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:09:07] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:09:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145478681278545920,"km_value":145478681278545.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609673555968,"description":"Unknown IO ID 45"} 
[2026-10-16 09:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783184128001,"power":13820,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8952874609673555968}} 
[2026-10-16 09:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":217984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:09:07] local.INFO: GPS data processed {"connection_id":217984,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:09:07] local.INFO: Acknowledgment sent {"connection_id":217984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:09:18] local.INFO: TCP Data received {"connection_id":216446,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:09:18] local.INFO: Processing buffer {"connection_id":216446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:09:18] local.INFO: IMEI packet received {"connection_id":216446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":216446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:09:22] local.INFO: TCP Data received {"connection_id":216447,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:09:22] local.INFO: Processing buffer {"connection_id":216447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:09:22] local.INFO: IMEI packet received {"connection_id":216447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":216447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:09:22] local.INFO: TCP Data received {"connection_id":216446,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:09:22] local.INFO: Processing buffer {"connection_id":216446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:09:22] local.INFO: IMEI packet received {"connection_id":216446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":216446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:09:23] local.INFO: TCP Data received {"connection_id":216446,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:09:23] local.INFO: Processing buffer {"connection_id":216446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:09:23] local.INFO: Packet analysis {"connection_id":216446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:09:23] local.INFO: Extracted packet for processing {"connection_id":216446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:09:23] 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-10-16 09:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:09:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:09:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":216446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:09:23] local.INFO: GPS data processed {"connection_id":216446,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:09:23] local.INFO: Acknowledgment sent {"connection_id":216446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:09:26] local.INFO: TCP Data received {"connection_id":216447,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:09:26] local.INFO: Processing buffer {"connection_id":216447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:09:26] local.INFO: IMEI packet received {"connection_id":216447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":216447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:09:27] local.INFO: TCP Data received {"connection_id":216447,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c92950012d7bf7c005ec3170000f01082e..."} 
[2026-10-16 09:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c92950012d7bf7c005ec3170000f01082e..."} 
[2026-10-16 09:09:27] local.INFO: Processing buffer {"connection_id":216447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c92950012d7bf7c005ec3170000f01082e..."} 
[2026-10-16 09:09:27] local.INFO: Packet analysis {"connection_id":216447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c9"} 
[2026-10-16 09:09:27] local.INFO: Extracted packet for processing {"connection_id":216447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c9"} 
[2026-10-16 09:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763099072,"raw_latitude":99365232,"longitude_deg":76.3099072,"latitude_deg":9.9365232,"altitude":15,"angle":264,"satellites":46,"speed":11,"hex_longitude":"2d7bf7c0","hex_latitude":"05ec3170","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783186944001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145479119365210112,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942811879256066048,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:27] 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-10-16 09:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792121842000,"timestamp_ms":1792121842000,"timestamp_seconds":1792121842,"priority":1,"record_length":96,"hex_timestamp":"000001a142c92950"} 
[2026-10-16 09:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 09:09:27] 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-10-16 09: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-10-16 09:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783186944001,"66":13243,"198":206,"87":13824,"24":11,"16":145479119365210112,"45":8942811879256066048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783186944001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:09:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:09:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145479119365210112,"km_value":145479119365210.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942811879256066048,"description":"Unknown IO ID 45"} 
[2026-10-16 09:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783186944001,"power":13243,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8942811879256066048}} 
[2026-10-16 09:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":216447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:09:27] local.INFO: GPS data processed {"connection_id":216447,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:09:27] local.INFO: Acknowledgment sent {"connection_id":216447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:09:35] local.INFO: TCP Data received {"connection_id":216447,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142c967d0012d7bd4c005ec2ab8001100ff2d..."} 
[2026-10-16 09:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c967d0012d7bd4c005ec2ab8001100ff2d..."} 
[2026-10-16 09:09:35] local.INFO: Processing buffer {"connection_id":216447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c967d0012d7bd4c005ec2ab8001100ff2d..."} 
[2026-10-16 09:09:35] local.INFO: Packet analysis {"connection_id":216447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c9"} 
[2026-10-16 09:09:35] local.INFO: Extracted packet for processing {"connection_id":216447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c9"} 
[2026-10-16 09:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763090112,"raw_latitude":99363512,"longitude_deg":76.3090112,"latitude_deg":9.9363512,"altitude":17,"angle":255,"satellites":45,"speed":28,"hex_longitude":"2d7bd4c0","hex_latitude":"05ec2ab8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783191552001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145479553156907008,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932819517582700544,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:35] 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-10-16 09:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792121858000,"timestamp_ms":1792121858000,"timestamp_seconds":1792121858,"priority":1,"record_length":96,"hex_timestamp":"000001a142c967d0"} 
[2026-10-16 09:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":187,"data_length":795,"current_offset":136} 
[2026-10-16 09:09: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-10-16 09: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-10-16 09:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783191552001,"66":14135,"198":206,"87":13824,"24":28,"16":145479553156907008,"45":8932819517582700544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783191552001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:09:35] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:09:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145479553156907008,"km_value":145479553156907.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932819517582700544,"description":"Unknown IO ID 45"} 
[2026-10-16 09:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783191552001,"power":14135,"unknown_198":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8932819517582700544}} 
[2026-10-16 09:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":216447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:09:35] local.INFO: GPS data processed {"connection_id":216447,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:09:35] local.INFO: Acknowledgment sent {"connection_id":216447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:09:54] local.INFO: TCP Data received {"connection_id":216446,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:09:54] local.INFO: Processing buffer {"connection_id":216446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:09:54] local.INFO: Packet analysis {"connection_id":216446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:09:54] local.INFO: Extracted packet for processing {"connection_id":216446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:09:54] 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-10-16 09:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:09:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:09:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":216446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:09:54] local.INFO: GPS data processed {"connection_id":216446,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:09:54] local.INFO: Acknowledgment sent {"connection_id":216446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:10:16] local.INFO: TCP Data received {"connection_id":216639,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:10:16] local.INFO: Processing buffer {"connection_id":216639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:10:16] local.INFO: IMEI packet received {"connection_id":216639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":216639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:10:19] local.INFO: TCP Data received {"connection_id":216448,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:10:19] local.INFO: Processing buffer {"connection_id":216448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:10:19] local.INFO: IMEI packet received {"connection_id":216448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":216448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:10:21] local.INFO: TCP Data received {"connection_id":216448,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:10:21] local.INFO: Processing buffer {"connection_id":216448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:10:21] local.INFO: IMEI packet received {"connection_id":216448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":216448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:10:22] local.INFO: TCP Data received {"connection_id":216639,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:10:22] local.INFO: Processing buffer {"connection_id":216639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:10:22] local.INFO: IMEI packet received {"connection_id":216639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":216639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:10:22] local.INFO: TCP Data received {"connection_id":216636,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142ca5230012d0c3d0007062e58001c002323..."} 
[2026-10-16 09:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ca5230012d0c3d0007062e58001c002323..."} 
[2026-10-16 09:10:23] local.INFO: Processing buffer {"connection_id":216636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ca5230012d0c3d0007062e58001c002323..."} 
[2026-10-16 09:10:23] local.INFO: Packet analysis {"connection_id":216636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ca"} 
[2026-10-16 09:10:23] local.INFO: Extracted packet for processing {"connection_id":216636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ca"} 
[2026-10-16 09:10:23] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117845592,"longitude_deg":75.5776768,"latitude_deg":11.7845592,"altitude":28,"angle":35,"satellites":35,"speed":7,"hex_longitude":"2d0c3d00","hex_latitude":"07062e58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783210752001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36461308815605760,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025970380800,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:23] 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-10-16 09:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121918000,"timestamp_ms":1792121918000,"timestamp_seconds":1792121918,"priority":1,"record_length":96,"hex_timestamp":"000001a142ca5230"} 
[2026-10-16 09:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-10-16 09:10:23] 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-10-16 09: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-10-16 09:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783210752001,"66":14309,"164":206,"94":10240,"24":7,"16":36461308815605760,"45":881650025970380800},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 09:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783210752001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:10:23] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 09:10:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36461308815605760,"km_value":36461308815605.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025970380800,"description":"Unknown IO ID 45"} 
[2026-10-16 09:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783210752001,"power":14309,"unknown_164":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":881650025970380800}} 
[2026-10-16 09:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":216636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045534,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:10:23] local.INFO: GPS data processed {"connection_id":216636,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:10:23] local.INFO: Acknowledgment sent {"connection_id":216636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:10:23] local.INFO: TCP Data received {"connection_id":216639,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:10:23] local.INFO: Processing buffer {"connection_id":216639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:10:23] local.INFO: Packet analysis {"connection_id":216639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:10:23] local.INFO: Extracted packet for processing {"connection_id":216639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:10:23] 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-10-16 09: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-10-16 09:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:10:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:10:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":216639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:10:23] local.INFO: GPS data processed {"connection_id":216639,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:10:23] local.INFO: Acknowledgment sent {"connection_id":216639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:10:26] local.INFO: TCP Data received {"connection_id":216448,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:10:26] local.INFO: Processing buffer {"connection_id":216448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:10:26] local.INFO: IMEI packet received {"connection_id":216448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":216448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:10:27] local.INFO: TCP Data received {"connection_id":216448,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142cb6788012d7a8d4005eba680000c011023..."} 
[2026-10-16 09:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cb6788012d7a8d4005eba680000c011023..."} 
[2026-10-16 09:10:27] local.INFO: Processing buffer {"connection_id":216448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cb6788012d7a8d4005eba680000c011023..."} 
[2026-10-16 09:10:27] local.INFO: Packet analysis {"connection_id":216448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:10:27] local.INFO: Extracted packet for processing {"connection_id":216448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763006272,"raw_latitude":99329664,"longitude_deg":76.3006272,"latitude_deg":9.9329664,"altitude":12,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d7a8d40","hex_latitude":"05eba680","is_valid_coordinates":true} 
[2026-10-16 09:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783227392001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145483891073875968,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831488525957801984,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:27] 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-10-16 09:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792121989000,"timestamp_ms":1792121989000,"timestamp_seconds":1792121989,"priority":1,"record_length":96,"hex_timestamp":"000001a142cb6788"} 
[2026-10-16 09:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 09:10:27] 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-10-16 09:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783227392001,"66":13200,"161":206,"87":13824,"24":0,"16":145483891073875968,"45":8831488525957801984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783227392001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:10:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:10:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145483891073875968,"km_value":145483891073875.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831488525957801984,"description":"Unknown IO ID 45"} 
[2026-10-16 09:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783227392001,"power":13200,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8831488525957801984}} 
[2026-10-16 09:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":216448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:10:27] local.INFO: GPS data processed {"connection_id":216448,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:10:27] local.INFO: Acknowledgment sent {"connection_id":216448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:10:38] local.INFO: TCP Data received {"connection_id":219720,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:10:38] local.INFO: Processing buffer {"connection_id":219720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:10:38] local.INFO: IMEI packet received {"connection_id":219720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":219720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:10:43] local.INFO: TCP Data received {"connection_id":219720,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:10:43] local.INFO: Processing buffer {"connection_id":219720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:10:43] local.INFO: IMEI packet received {"connection_id":219720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":219720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:10:44] local.INFO: TCP Data received {"connection_id":219720,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142cb5018012d0c3ac007064658001300fe23..."} 
[2026-10-16 09:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cb5018012d0c3ac007064658001300fe23..."} 
[2026-10-16 09:10:44] local.INFO: Processing buffer {"connection_id":219720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cb5018012d0c3ac007064658001300fe23..."} 
[2026-10-16 09:10:44] local.INFO: Packet analysis {"connection_id":219720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:10:44] local.INFO: Extracted packet for processing {"connection_id":219720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:10:44] local.INFO: GPS Element Parsed {"raw_longitude":755776192,"raw_latitude":117851736,"longitude_deg":75.5776192,"latitude_deg":11.7851736,"altitude":19,"angle":254,"satellites":35,"speed":2,"hex_longitude":"2d0c3ac0","hex_latitude":"07064658","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783227392001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36461957355667456,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550995292160,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:44] 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-10-16 09:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792121983000,"timestamp_ms":1792121983000,"timestamp_seconds":1792121983,"priority":1,"record_length":96,"hex_timestamp":"000001a142cb5018"} 
[2026-10-16 09:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 09:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783227392001,"66":14396,"164":206,"94":10240,"24":2,"16":36461957355667456,"45":881368550995292160},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 09:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783227392001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:10:44] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 09:10:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36461957355667456,"km_value":36461957355667.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550995292160,"description":"Unknown IO ID 45"} 
[2026-10-16 09:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783227392001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":881368550995292160}} 
[2026-10-16 09:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":219720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:10:44] local.INFO: GPS data processed {"connection_id":219720,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:10:44] local.INFO: Acknowledgment sent {"connection_id":219720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:10:55] local.INFO: TCP Data received {"connection_id":216639,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:10:55] local.INFO: Processing buffer {"connection_id":216639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142c79ae0012d7fa40005afcde00009009e2f..."} 
[2026-10-16 09:10:55] local.INFO: Packet analysis {"connection_id":216639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:10:55] local.INFO: Extracted packet for processing {"connection_id":216639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142c7"} 
[2026-10-16 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407584,"longitude_deg":76.3339776,"latitude_deg":9.5407584,"altitude":9,"angle":158,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afcde0","is_valid_coordinates":true} 
[2026-10-16 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783088384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792121740000,"timestamp_ms":1792121740000,"timestamp_seconds":1792121740,"priority":1,"record_length":96,"hex_timestamp":"000001a142c79ae0"} 
[2026-10-16 09:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:10:55] 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-10-16 09:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783088384001,"66":25897,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783088384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:10:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:10:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783088384001,"power":25897,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":216639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:10:55] local.INFO: GPS data processed {"connection_id":216639,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:10:55] local.INFO: Acknowledgment sent {"connection_id":216639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:10:57] local.INFO: TCP Data received {"connection_id":216448,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142cb86c8012d7a8b8005eba650000b00fc23..."} 
[2026-10-16 09:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cb86c8012d7a8b8005eba650000b00fc23..."} 
[2026-10-16 09:10:57] local.INFO: Processing buffer {"connection_id":216448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cb86c8012d7a8b8005eba650000b00fc23..."} 
[2026-10-16 09:10:57] local.INFO: Packet analysis {"connection_id":216448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:10:57] local.INFO: Extracted packet for processing {"connection_id":216448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763005824,"raw_latitude":99329616,"longitude_deg":76.3005824,"latitude_deg":9.9329616,"altitude":11,"angle":252,"satellites":35,"speed":5,"hex_longitude":"2d7a8b80","hex_latitude":"05eba650","is_valid_coordinates":true} 
[2026-10-16 09:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783229184001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145483916843679744,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830784838515982336,"note":"Value kept but may cause issues"} 
[2026-10-16 09:10:57] 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-10-16 09:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792121997000,"timestamp_ms":1792121997000,"timestamp_seconds":1792121997,"priority":1,"record_length":96,"hex_timestamp":"000001a142cb86c8"} 
[2026-10-16 09:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 09:10:57] 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-10-16 09:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783229184001,"66":13602,"161":206,"87":13824,"24":5,"16":145483916843679744,"45":8830784838515982336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783229184001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:10:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:10:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145483916843679744,"km_value":145483916843679.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830784838515982336,"description":"Unknown IO ID 45"} 
[2026-10-16 09:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783229184001,"power":13602,"unknown_161":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8830784838515982336}} 
[2026-10-16 09:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":216448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:10:57] local.INFO: GPS data processed {"connection_id":216448,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:10:57] local.INFO: Acknowledgment sent {"connection_id":216448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:11:08] local.INFO: TCP Data received {"connection_id":217987,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217987,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:11:08] local.INFO: Processing buffer {"connection_id":217987,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:11:08] local.INFO: IMEI packet received {"connection_id":217987,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":217987,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:11:12] local.INFO: TCP Data received {"connection_id":217987,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217987,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:11:12] local.INFO: Processing buffer {"connection_id":217987,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:11:12] local.INFO: IMEI packet received {"connection_id":217987,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":217987,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:11:13] local.INFO: TCP Data received {"connection_id":217987,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142cb6788012d0c3bc0070645b80013008323..."} 
[2026-10-16 09:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cb6788012d0c3bc0070645b80013008323..."} 
[2026-10-16 09:11:13] local.INFO: Processing buffer {"connection_id":217987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cb6788012d0c3bc0070645b80013008323..."} 
[2026-10-16 09:11:13] local.INFO: Packet analysis {"connection_id":217987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:11:13] local.INFO: Extracted packet for processing {"connection_id":217987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:11:13] local.INFO: GPS Element Parsed {"raw_longitude":755776448,"raw_latitude":117851576,"longitude_deg":75.5776448,"latitude_deg":11.7851576,"altitude":19,"angle":131,"satellites":35,"speed":4,"hex_longitude":"2d0c3bc0","hex_latitude":"070645b8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783227648001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36461974535536640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881227813506930688,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:13] 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-10-16 09:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792121989000,"timestamp_ms":1792121989000,"timestamp_seconds":1792121989,"priority":1,"record_length":96,"hex_timestamp":"000001a142cb6788"} 
[2026-10-16 09:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:11: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-10-16 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 09:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":217987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":217987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":217987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783227648001,"66":14450,"164":206,"94":10240,"24":4,"16":36461974535536640,"45":881227813506930688},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 09:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783227648001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:11:13] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 09:11:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36461974535536640,"km_value":36461974535536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":881227813506930688,"description":"Unknown IO ID 45"} 
[2026-10-16 09:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783227648001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":881227813506930688}} 
[2026-10-16 09:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":217987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:11:13] local.INFO: GPS data processed {"connection_id":217987,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:11:13] local.INFO: Acknowledgment sent {"connection_id":217987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:11:16] local.INFO: TCP Data received {"connection_id":216449,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:11:16] local.INFO: Processing buffer {"connection_id":216449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:11:16] local.INFO: IMEI packet received {"connection_id":216449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":216449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:11:21] local.INFO: TCP Data received {"connection_id":216641,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:11:21] local.INFO: Processing buffer {"connection_id":216641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:11:21] local.INFO: IMEI packet received {"connection_id":216641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":216641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:11:22] local.INFO: TCP Data received {"connection_id":216449,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:11:22] local.INFO: Processing buffer {"connection_id":216449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:11:22] local.INFO: IMEI packet received {"connection_id":216449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":216449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:11:23] local.INFO: TCP Data received {"connection_id":216449,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:11:23] local.INFO: Processing buffer {"connection_id":216449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:11:23] local.INFO: Packet analysis {"connection_id":216449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:11:23] local.INFO: Extracted packet for processing {"connection_id":216449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 09:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:11:23] 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-10-16 09:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165440001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:11:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:11:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165440001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":216449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:11:23] local.INFO: GPS data processed {"connection_id":216449,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:11:23] local.INFO: Acknowledgment sent {"connection_id":216449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:11:26] local.INFO: TCP Data received {"connection_id":216641,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:11:26] local.INFO: Processing buffer {"connection_id":216641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:11:26] local.INFO: IMEI packet received {"connection_id":216641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":216641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:11:26] local.INFO: TCP Data received {"connection_id":216641,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142cbd4e8012d7a76c005eb9e50000d00f828..."} 
[2026-10-16 09:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cbd4e8012d7a76c005eb9e50000d00f828..."} 
[2026-10-16 09:11:26] local.INFO: Processing buffer {"connection_id":216641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cbd4e8012d7a76c005eb9e50000d00f828..."} 
[2026-10-16 09:11:26] local.INFO: Packet analysis {"connection_id":216641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:11:26] local.INFO: Extracted packet for processing {"connection_id":216641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763000512,"raw_latitude":99327568,"longitude_deg":76.3000512,"latitude_deg":9.9327568,"altitude":13,"angle":248,"satellites":40,"speed":2,"hex_longitude":"2d7a76c0","hex_latitude":"05eb9e50","is_valid_coordinates":true} 
[2026-10-16 09:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783231232001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484187426619392,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830292257306726400,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11: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-10-16 09:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792122017000,"timestamp_ms":1792122017000,"timestamp_seconds":1792122017,"priority":1,"record_length":96,"hex_timestamp":"000001a142cbd4e8"} 
[2026-10-16 09:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-16 09:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783231232001,"66":12939,"161":206,"87":13824,"24":2,"16":145484187426619392,"45":8830292257306726400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783231232001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:11:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:11:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484187426619392,"km_value":145484187426619.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830292257306726400,"description":"Unknown IO ID 45"} 
[2026-10-16 09:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783231232001,"power":12939,"unknown_161":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8830292257306726400}} 
[2026-10-16 09:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":216641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:11:26] local.INFO: GPS data processed {"connection_id":216641,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:11:26] local.INFO: Acknowledgment sent {"connection_id":216641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:11:44] local.INFO: TCP Data received {"connection_id":217987,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142cb6f58012d0c3d80070644d00013007423..."} 
[2026-10-16 09:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cb6f58012d0c3d80070644d00013007423..."} 
[2026-10-16 09:11:44] local.INFO: Processing buffer {"connection_id":217987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cb6f58012d0c3d80070644d00013007423..."} 
[2026-10-16 09:11:44] local.INFO: Packet analysis {"connection_id":217987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:11:44] local.INFO: Extracted packet for processing {"connection_id":217987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cb"} 
[2026-10-16 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":755776896,"raw_latitude":117851344,"longitude_deg":75.5776896,"latitude_deg":11.7851344,"altitude":19,"angle":116,"satellites":35,"speed":12,"hex_longitude":"2d0c3d80","hex_latitude":"070644d0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783229184001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36461996010373120,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288483600384,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:44] 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-10-16 09:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792121991000,"timestamp_ms":1792121991000,"timestamp_seconds":1792121991,"priority":1,"record_length":96,"hex_timestamp":"000001a142cb6f58"} 
[2026-10-16 09:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 09:11:44] 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-10-16 09: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-10-16 09:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":217987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":217987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":217987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783229184001,"66":14428,"164":206,"94":10240,"24":12,"16":36461996010373120,"45":881509288483600384},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 09:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783229184001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:11:44] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 09:11:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36461996010373120,"km_value":36461996010373.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288483600384,"description":"Unknown IO ID 45"} 
[2026-10-16 09:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783229184001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":881509288483600384}} 
[2026-10-16 09:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":217987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:11:44] local.INFO: GPS data processed {"connection_id":217987,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:11:44] local.INFO: Acknowledgment sent {"connection_id":217987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:11:55] local.INFO: TCP Data received {"connection_id":216449,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:11:55] local.INFO: Processing buffer {"connection_id":216449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:11:55] local.INFO: Packet analysis {"connection_id":216449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:11:55] local.INFO: Extracted packet for processing {"connection_id":216449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 09:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:11:55] 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-10-16 09:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165440001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:11:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:11:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165440001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":216449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:11:55] local.INFO: GPS data processed {"connection_id":216449,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:11:55] local.INFO: Acknowledgment sent {"connection_id":216449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:11:57] local.INFO: TCP Data received {"connection_id":216641,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7a724005eb9c98000e00e725..."} 
[2026-10-16 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7a724005eb9c98000e00e725..."} 
[2026-10-16 09:11:57] local.INFO: Processing buffer {"connection_id":216641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7a724005eb9c98000e00e725..."} 
[2026-10-16 09:11:57] local.INFO: Packet analysis {"connection_id":216641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:11:57] local.INFO: Extracted packet for processing {"connection_id":216641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:11:57] local.INFO: GPS Element Parsed {"raw_longitude":762999360,"raw_latitude":99327128,"longitude_deg":76.299936,"latitude_deg":9.9327128,"altitude":14,"angle":231,"satellites":37,"speed":4,"hex_longitude":"2d7a7240","hex_latitude":"05eb9c98","is_valid_coordinates":true} 
[2026-10-16 09:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783236352001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484247556161536,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824451651539456000,"note":"Value kept but may cause issues"} 
[2026-10-16 09:11:57] 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-10-16 09:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 09:11:57] 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-10-16 09:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783236352001,"66":13646,"161":206,"87":13824,"24":4,"16":145484247556161536,"45":8824451651539456000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783236352001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:11:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:11:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484247556161536,"km_value":145484247556161.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824451651539456000,"description":"Unknown IO ID 45"} 
[2026-10-16 09:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783236352001,"power":13646,"unknown_161":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8824451651539456000}} 
[2026-10-16 09:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":216641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:11:57] local.INFO: GPS data processed {"connection_id":216641,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:11:57] local.INFO: Acknowledgment sent {"connection_id":216641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:12:04] local.INFO: TCP Data received {"connection_id":217988,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:12:04] local.INFO: Processing buffer {"connection_id":217988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:12:04] local.INFO: IMEI packet received {"connection_id":217988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":217988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:12:09] local.INFO: TCP Data received {"connection_id":217988,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:12:09] local.INFO: Processing buffer {"connection_id":217988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:12:09] local.INFO: IMEI packet received {"connection_id":217988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":217988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:12:09] local.INFO: TCP Data received {"connection_id":217988,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142cd1920012d0ca2c00705e3a0000c009423..."} 
[2026-10-16 09:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cd1920012d0ca2c00705e3a0000c009423..."} 
[2026-10-16 09:12:09] local.INFO: Processing buffer {"connection_id":217988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cd1920012d0ca2c00705e3a0000c009423..."} 
[2026-10-16 09:12:09] local.INFO: Packet analysis {"connection_id":217988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:12:09] local.INFO: Extracted packet for processing {"connection_id":217988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:12:09] local.INFO: GPS Element Parsed {"raw_longitude":755802816,"raw_latitude":117826464,"longitude_deg":75.5802816,"latitude_deg":11.7826464,"altitude":12,"angle":148,"satellites":35,"speed":12,"hex_longitude":"2d0ca2c0","hex_latitude":"0705e3a0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783252224001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36463774126833664,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907897567544680448,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:09] 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-10-16 09:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792122100000,"timestamp_ms":1792122100000,"timestamp_seconds":1792122100,"priority":1,"record_length":96,"hex_timestamp":"000001a142cd1920"} 
[2026-10-16 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-10-16 09:12: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-10-16 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 09:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 09:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":217988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":217988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":217988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783252224001,"66":14233,"220":206,"94":10240,"24":12,"16":36463774126833664,"45":907897567544680448},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 09:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783252224001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:12:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 09:12:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36463774126833664,"km_value":36463774126833.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":907897567544680448,"description":"Unknown IO ID 45"} 
[2026-10-16 09:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783252224001,"power":14233,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":907897567544680448}} 
[2026-10-16 09:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":217988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045546,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:12:09] local.INFO: GPS data processed {"connection_id":217988,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:12:09] local.INFO: Acknowledgment sent {"connection_id":217988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:12:13] local.INFO: TCP Data received {"connection_id":219721,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:12:13] local.INFO: Processing buffer {"connection_id":219721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:12:13] local.INFO: IMEI packet received {"connection_id":219721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":219721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:12:13] local.INFO: TCP Data received {"connection_id":219721,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ca07f8012d1b8d80071f76b0003a009924..."} 
[2026-10-16 09:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ca07f8012d1b8d80071f76b0003a009924..."} 
[2026-10-16 09:12:13] local.INFO: Processing buffer {"connection_id":219721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ca07f8012d1b8d80071f76b0003a009924..."} 
[2026-10-16 09:12:13] local.INFO: Packet analysis {"connection_id":219721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ca"} 
[2026-10-16 09:12:13] local.INFO: Extracted packet for processing {"connection_id":219721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ca"} 
[2026-10-16 09:12:13] local.INFO: GPS Element Parsed {"raw_longitude":756780416,"raw_latitude":119502512,"longitude_deg":75.6780416,"latitude_deg":11.9502512,"altitude":58,"angle":153,"satellites":36,"speed":0,"hex_longitude":"2d1b8d80","hex_latitude":"071f76b0","is_valid_coordinates":true} 
[2026-10-16 09:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783200768001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28086062458863616,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985383778821255168,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792121899000,"timestamp_ms":1792121899000,"timestamp_seconds":1792121899,"priority":1,"record_length":96,"hex_timestamp":"000001a142ca07f8"} 
[2026-10-16 09:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:12: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-10-16 09: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:12:13] 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-10-16 09: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-10-16 09:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783200768001,"66":12558,"101":206,"83":41984,"24":0,"16":28086062458863616,"45":1985383778821255168},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783200768001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:12:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28086062458863616,"km_value":28086062458863.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985383778821255168,"description":"Unknown IO ID 45"} 
[2026-10-16 09:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783200768001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1985383778821255168}} 
[2026-10-16 09:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":219721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:12:14] local.INFO: GPS data processed {"connection_id":219721,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:12:14] local.INFO: Acknowledgment sent {"connection_id":219721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:12:17] local.INFO: TCP Data received {"connection_id":216450,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:12:17] local.INFO: Processing buffer {"connection_id":216450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:12:17] local.INFO: IMEI packet received {"connection_id":216450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":216450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:12:21] local.INFO: TCP Data received {"connection_id":216643,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:12:21] local.INFO: Processing buffer {"connection_id":216643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:12:21] local.INFO: IMEI packet received {"connection_id":216643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":216643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:12:22] local.INFO: TCP Data received {"connection_id":216450,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:12:22] local.INFO: Processing buffer {"connection_id":216450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:12:22] local.INFO: IMEI packet received {"connection_id":216450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":216450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:12:23] local.INFO: TCP Data received {"connection_id":216450,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:12:23] local.INFO: Processing buffer {"connection_id":216450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:12:23] local.INFO: Packet analysis {"connection_id":216450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:12:23] local.INFO: Extracted packet for processing {"connection_id":216450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 09:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:12:23] 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-10-16 09:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165440001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:12:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:12:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165440001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":216450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:12:23] local.INFO: GPS data processed {"connection_id":216450,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:12:23] local.INFO: Acknowledgment sent {"connection_id":216450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:12:26] local.INFO: TCP Data received {"connection_id":216643,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:12:26] local.INFO: Processing buffer {"connection_id":216643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:12:26] local.INFO: IMEI packet received {"connection_id":216643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":216643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:12:27] local.INFO: TCP Data received {"connection_id":216643,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc6570012d7a700005eb9be0000d00e12a..."} 
[2026-10-16 09:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc6570012d7a700005eb9be0000d00e12a..."} 
[2026-10-16 09:12:27] local.INFO: Processing buffer {"connection_id":216643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc6570012d7a700005eb9be0000d00e12a..."} 
[2026-10-16 09:12:27] local.INFO: Packet analysis {"connection_id":216643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:12:27] local.INFO: Extracted packet for processing {"connection_id":216643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:12:27] local.INFO: GPS Element Parsed {"raw_longitude":762998784,"raw_latitude":99326944,"longitude_deg":76.2998784,"latitude_deg":9.9326944,"altitude":13,"angle":225,"satellites":42,"speed":0,"hex_longitude":"2d7a7000","hex_latitude":"05eb9be0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484277620932608,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823185014144145408,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:27] 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-10-16 09:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792122054000,"timestamp_ms":1792122054000,"timestamp_seconds":1792122054,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc6570"} 
[2026-10-16 09:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 09:12:27] 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-10-16 09: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-10-16 09:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":13439,"161":206,"87":13824,"24":0,"16":145484277620932608,"45":8823185014144145408},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:12:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:12:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484277620932608,"km_value":145484277620932.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823185014144145408,"description":"Unknown IO ID 45"} 
[2026-10-16 09:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":13439,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8823185014144145408}} 
[2026-10-16 09:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":216643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:12:27] local.INFO: GPS data processed {"connection_id":216643,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:12:27] local.INFO: Acknowledgment sent {"connection_id":216643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:12:44] local.INFO: TCP Data received {"connection_id":217988,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142cd57a0012d0caa400705d8800006008523..."} 
[2026-10-16 09:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cd57a0012d0caa400705d8800006008523..."} 
[2026-10-16 09:12:44] local.INFO: Processing buffer {"connection_id":217988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cd57a0012d0caa400705d8800006008523..."} 
[2026-10-16 09:12:44] local.INFO: Packet analysis {"connection_id":217988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:12:44] local.INFO: Extracted packet for processing {"connection_id":217988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:12:44] local.INFO: GPS Element Parsed {"raw_longitude":755804736,"raw_latitude":117823616,"longitude_deg":75.5804736,"latitude_deg":11.7823616,"altitude":6,"angle":133,"satellites":35,"speed":10,"hex_longitude":"2d0caa40","hex_latitude":"0705d880","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783257600001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36463941630558208,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910501211078369280,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792122116000,"timestamp_ms":1792122116000,"timestamp_seconds":1792122116,"priority":1,"record_length":96,"hex_timestamp":"000001a142cd57a0"} 
[2026-10-16 09:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:12: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-10-16 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 09:12:44] 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-10-16 09: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-10-16 09:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":217988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":217988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":217988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783257600001,"66":14428,"220":206,"94":10240,"24":10,"16":36463941630558208,"45":910501211078369280},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 09:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783257600001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:12:44] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 09:12:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36463941630558208,"km_value":36463941630558.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":910501211078369280,"description":"Unknown IO ID 45"} 
[2026-10-16 09:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783257600001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":910501211078369280}} 
[2026-10-16 09:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":217988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045550,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:12:44] local.INFO: GPS data processed {"connection_id":217988,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:12:44] local.INFO: Acknowledgment sent {"connection_id":217988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:12:52] local.INFO: TCP Data received {"connection_id":219721,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142cd57a0012d1b8480071f7768004400ea28..."} 
[2026-10-16 09:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cd57a0012d1b8480071f7768004400ea28..."} 
[2026-10-16 09:12:52] local.INFO: Processing buffer {"connection_id":219721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cd57a0012d1b8480071f7768004400ea28..."} 
[2026-10-16 09:12:52] local.INFO: Packet analysis {"connection_id":219721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:12:52] local.INFO: Extracted packet for processing {"connection_id":219721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756778112,"raw_latitude":119502696,"longitude_deg":75.6778112,"latitude_deg":11.9502696,"altitude":68,"angle":234,"satellites":40,"speed":7,"hex_longitude":"2d1b8480","hex_latitude":"071f7768","is_valid_coordinates":true} 
[2026-10-16 09:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783261184001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28086195602849792,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1983202347751833600,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792122116000,"timestamp_ms":1792122116000,"timestamp_seconds":1792122116,"priority":1,"record_length":96,"hex_timestamp":"000001a142cd57a0"} 
[2026-10-16 09:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:12:52] 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-10-16 09:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-16 09:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":219721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":219721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":219721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783261184001,"66":13928,"101":206,"83":41984,"24":7,"16":28086195602849792,"45":1983202347751833600},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783261184001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:12:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:12:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28086195602849792,"km_value":28086195602849.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1983202347751833600,"description":"Unknown IO ID 45"} 
[2026-10-16 09:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783261184001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1983202347751833600}} 
[2026-10-16 09:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":219721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:12:52] local.INFO: GPS data processed {"connection_id":219721,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:12:52] local.INFO: Acknowledgment sent {"connection_id":219721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:12:56] local.INFO: TCP Data received {"connection_id":216450,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:12:56] local.INFO: Processing buffer {"connection_id":216450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:12:56] local.INFO: Packet analysis {"connection_id":216450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:12:56] local.INFO: Extracted packet for processing {"connection_id":216450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:12: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-10-16 09: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:12:56] 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-10-16 09: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-10-16 09:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165440001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:12:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:12:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165440001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":216450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:12:56] local.INFO: GPS data processed {"connection_id":216450,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:12:56] local.INFO: Acknowledgment sent {"connection_id":216450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:13:01] local.INFO: TCP Data received {"connection_id":216643,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142ccb778012d7a700005eb9be0000d00e128..."} 
[2026-10-16 09:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ccb778012d7a700005eb9be0000d00e128..."} 
[2026-10-16 09:13:01] local.INFO: Processing buffer {"connection_id":216643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ccb778012d7a700005eb9be0000d00e128..."} 
[2026-10-16 09:13:01] local.INFO: Packet analysis {"connection_id":216643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:13:01] local.INFO: Extracted packet for processing {"connection_id":216643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:13:01] local.INFO: GPS Element Parsed {"raw_longitude":762998784,"raw_latitude":99326944,"longitude_deg":76.2998784,"latitude_deg":9.9326944,"altitude":13,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d7a7000","hex_latitude":"05eb9be0","is_valid_coordinates":true} 
[2026-10-16 09:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783245824001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484277620932608,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822551695446499328,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:01] 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-10-16 09:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792122075000,"timestamp_ms":1792122075000,"timestamp_seconds":1792122075,"priority":1,"record_length":96,"hex_timestamp":"000001a142ccb778"} 
[2026-10-16 09:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-10-16 09:13:01] 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-10-16 09:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783245824001,"66":13559,"161":206,"87":13824,"24":0,"16":145484277620932608,"45":8822551695446499328},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783245824001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:13:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:13:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484277620932608,"km_value":145484277620932.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822551695446499328,"description":"Unknown IO ID 45"} 
[2026-10-16 09:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783245824001,"power":13559,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8822551695446499328}} 
[2026-10-16 09:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":216643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:13:01] local.INFO: GPS data processed {"connection_id":216643,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:13:01] local.INFO: Acknowledgment sent {"connection_id":216643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:13:03] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:03] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:03] local.INFO: IMEI packet received {"connection_id":216644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":216644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:13:06] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:06] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:06] local.INFO: IMEI packet received {"connection_id":216644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":216644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:13:07] local.INFO: TCP Data received {"connection_id":219722,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:07] local.INFO: Processing buffer {"connection_id":219722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:07] local.INFO: IMEI packet received {"connection_id":219722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":219722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:13:07] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:07] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:07] local.INFO: IMEI packet received {"connection_id":216644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":216644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:13:08] local.INFO: TCP Data received {"connection_id":219722,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:08] local.INFO: Processing buffer {"connection_id":219722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:08] local.INFO: IMEI packet received {"connection_id":219722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":219722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:13:08] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:08] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:13:08] local.INFO: IMEI packet received {"connection_id":216644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":216644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:13:09] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142ce45e8012d0c6c000705a3e8001400e422..."} 
[2026-10-16 09:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ce45e8012d0c6c000705a3e8001400e422..."} 
[2026-10-16 09:13:09] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ce45e8012d0c6c000705a3e8001400e422..."} 
[2026-10-16 09:13:09] local.INFO: Packet analysis {"connection_id":216644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:13:09] local.INFO: Extracted packet for processing {"connection_id":216644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:13:09] local.INFO: GPS Element Parsed {"raw_longitude":755788800,"raw_latitude":117810152,"longitude_deg":75.57888,"latitude_deg":11.7810152,"altitude":20,"angle":228,"satellites":34,"speed":20,"hex_longitude":"2d0c6c00","hex_latitude":"0705a3e8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783276800001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36465466343948288,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896216356006318080,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:09] 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-10-16 09:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792122177000,"timestamp_ms":1792122177000,"timestamp_seconds":1792122177,"priority":1,"record_length":96,"hex_timestamp":"000001a142ce45e8"} 
[2026-10-16 09:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:13: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-10-16 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 09:13: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-10-16 09: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-10-16 09:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783276800001,"66":14352,"220":206,"94":10240,"24":20,"16":36465466343948288,"45":896216356006318080},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 09:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783276800001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:13:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 09:13:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36465466343948288,"km_value":36465466343948.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":896216356006318080,"description":"Unknown IO ID 45"} 
[2026-10-16 09:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783276800001,"power":14352,"unknown_220":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":896216356006318080}} 
[2026-10-16 09:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":216644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:13:09] local.INFO: GPS data processed {"connection_id":216644,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:13:09] local.INFO: Acknowledgment sent {"connection_id":216644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:13:09] local.INFO: TCP Data received {"connection_id":219722,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:09] local.INFO: Processing buffer {"connection_id":219722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:09] local.INFO: IMEI packet received {"connection_id":219722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":219722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:13:11] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142ce49d0012d0c6b000705a278001500d522..."} 
[2026-10-16 09:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ce49d0012d0c6b000705a278001500d522..."} 
[2026-10-16 09:13:11] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ce49d0012d0c6b000705a278001500d522..."} 
[2026-10-16 09:13:11] local.INFO: Packet analysis {"connection_id":216644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:13:11] local.INFO: Extracted packet for processing {"connection_id":216644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:13:11] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117809784,"longitude_deg":75.5788544,"latitude_deg":11.7809784,"altitude":21,"angle":213,"satellites":34,"speed":17,"hex_longitude":"2d0c6b00","hex_latitude":"0705a278","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783277312001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36465487818784768,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895090456099284992,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792122178000,"timestamp_ms":1792122178000,"timestamp_seconds":1792122178,"priority":1,"record_length":96,"hex_timestamp":"000001a142ce49d0"} 
[2026-10-16 09:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:13: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-10-16 09: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143296,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3659969886947072,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3455567873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504156031025152,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3014656014,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926651868,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5764871410124390656,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802947278,"corrected_to":0} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2353070080,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-4935937470372511732,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:11] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,220,94,24,241,157,16,141,161,62,45,166,19,33,10,66,50,128,170,18,34,140,11,192,1,240,60,227,5,4,113,205,23,224,186,184,36,239,56,2,129,7,13,206,12],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":802947278,"validated":0}]} 
[2026-10-16 09:13:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441402715439890432,"timestamp_seconds":1441402715439890.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":216644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":216644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":216644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783277312001,"66":14537,"220":206,"94":10240,"24":17,"16":36465487818784768,"45":895090456099284992},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 09:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783277312001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:13:11] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 09:13:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36465487818784768,"km_value":36465487818784.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":895090456099284992,"description":"Unknown IO ID 45"} 
[2026-10-16 09:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783277312001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":895090456099284992}} 
[2026-10-16 09:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":216644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045555,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:13:11] local.INFO: GPS data processed {"connection_id":216644,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:13:11] local.INFO: Acknowledgment sent {"connection_id":216644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:13:13] local.INFO: TCP Data received {"connection_id":219722,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:13] local.INFO: Processing buffer {"connection_id":219722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:13:13] local.INFO: IMEI packet received {"connection_id":219722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":219722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:13:13] local.INFO: TCP Data received {"connection_id":219722,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142cd5b88012d1b8400071f7710004400f528..."} 
[2026-10-16 09:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cd5b88012d1b8400071f7710004400f528..."} 
[2026-10-16 09:13:13] local.INFO: Processing buffer {"connection_id":219722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cd5b88012d1b8400071f7710004400f528..."} 
[2026-10-16 09:13:13] local.INFO: Packet analysis {"connection_id":219722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:13:13] local.INFO: Extracted packet for processing {"connection_id":219722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756777984,"raw_latitude":119502608,"longitude_deg":75.6777984,"latitude_deg":11.9502608,"altitude":68,"angle":245,"satellites":40,"speed":7,"hex_longitude":"2d1b8400","hex_latitude":"071f7710","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783261696001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28086204192784384,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982850504030906368,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792122117000,"timestamp_ms":1792122117000,"timestamp_seconds":1792122117,"priority":1,"record_length":96,"hex_timestamp":"000001a142cd5b88"} 
[2026-10-16 09:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:13: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-10-16 09: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 09:13:13] 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-10-16 09: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-10-16 09:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783261696001,"66":13972,"101":206,"83":41984,"24":7,"16":28086204192784384,"45":1982850504030906368},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783261696001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:13:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28086204192784384,"km_value":28086204192784.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982850504030906368,"description":"Unknown IO ID 45"} 
[2026-10-16 09:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783261696001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1982850504030906368}} 
[2026-10-16 09:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":219722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:13:13] local.INFO: GPS data processed {"connection_id":219722,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:13:13] local.INFO: Acknowledgment sent {"connection_id":219722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:13:16] local.INFO: TCP Data received {"connection_id":216452,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:13:16] local.INFO: Processing buffer {"connection_id":216452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:13:16] local.INFO: IMEI packet received {"connection_id":216452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":216452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:13:21] local.INFO: TCP Data received {"connection_id":219723,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:13:21] local.INFO: Processing buffer {"connection_id":219723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:13:21] local.INFO: IMEI packet received {"connection_id":219723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":219723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:13:22] local.INFO: TCP Data received {"connection_id":216452,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:13:22] local.INFO: Processing buffer {"connection_id":216452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:13:22] local.INFO: IMEI packet received {"connection_id":216452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":216452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:13:24] local.INFO: TCP Data received {"connection_id":216452,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:13:24] local.INFO: Processing buffer {"connection_id":216452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:13:24] local.INFO: Packet analysis {"connection_id":216452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:13:24] local.INFO: Extracted packet for processing {"connection_id":216452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 09:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:13:24] 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-10-16 09:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165440001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:13:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:13:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165440001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":216452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:13:24] local.INFO: GPS data processed {"connection_id":216452,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:13:24] local.INFO: Acknowledgment sent {"connection_id":216452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:13:26] local.INFO: TCP Data received {"connection_id":219723,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:13:26] local.INFO: Processing buffer {"connection_id":219723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:13:26] local.INFO: IMEI packet received {"connection_id":219723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":219723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:13:36] local.INFO: TCP Data received {"connection_id":219723,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142ccbb60012d7a6f4005eb9b38000d005928..."} 
[2026-10-16 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ccbb60012d7a6f4005eb9b38000d005928..."} 
[2026-10-16 09:13:36] local.INFO: Processing buffer {"connection_id":219723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ccbb60012d7a6f4005eb9b38000d005928..."} 
[2026-10-16 09:13:36] local.INFO: Packet analysis {"connection_id":219723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:13:36] local.INFO: Extracted packet for processing {"connection_id":219723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":762998592,"raw_latitude":99326776,"longitude_deg":76.2998592,"latitude_deg":9.9326776,"altitude":13,"angle":89,"satellites":40,"speed":1,"hex_longitude":"2d7a6f40","hex_latitude":"05eb9b38","is_valid_coordinates":true} 
[2026-10-16 09:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783251200001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484290505834496,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822551695446499328,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13: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-10-16 09:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792122076000,"timestamp_ms":1792122076000,"timestamp_seconds":1792122076,"priority":1,"record_length":96,"hex_timestamp":"000001a142ccbb60"} 
[2026-10-16 09:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 09:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783251200001,"66":13559,"161":206,"87":13824,"24":1,"16":145484290505834496,"45":8822551695446499328},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783251200001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:13:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:13:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484290505834496,"km_value":145484290505834.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822551695446499328,"description":"Unknown IO ID 45"} 
[2026-10-16 09:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783251200001,"power":13559,"unknown_161":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8822551695446499328}} 
[2026-10-16 09:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":219723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:13:36] local.INFO: GPS data processed {"connection_id":219723,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:13:36] local.INFO: Acknowledgment sent {"connection_id":219723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:13:44] local.INFO: TCP Data received {"connection_id":219722,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ce49d0012d1b4600071f7bb0004000e329..."} 
[2026-10-16 09:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ce49d0012d1b4600071f7bb0004000e329..."} 
[2026-10-16 09:13:44] local.INFO: Processing buffer {"connection_id":219722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ce49d0012d1b4600071f7bb0004000e329..."} 
[2026-10-16 09:13:44] local.INFO: Packet analysis {"connection_id":219722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:13:44] local.INFO: Extracted packet for processing {"connection_id":219722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756762112,"raw_latitude":119503792,"longitude_deg":75.6762112,"latitude_deg":11.9503792,"altitude":64,"angle":227,"satellites":41,"speed":18,"hex_longitude":"2d1b4600","hex_latitude":"071f7bb0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783277312001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28087084661080064,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965539792963547136,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792122178000,"timestamp_ms":1792122178000,"timestamp_seconds":1792122178,"priority":1,"record_length":96,"hex_timestamp":"000001a142ce49d0"} 
[2026-10-16 09:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:13: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-10-16 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 09:13:44] 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-10-16 09: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-10-16 09:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783277312001,"66":13102,"101":206,"83":41984,"24":18,"16":28087084661080064,"45":1965539792963547136},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783277312001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:13:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28087084661080064,"km_value":28087084661080.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965539792963547136,"description":"Unknown IO ID 45"} 
[2026-10-16 09:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783277312001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1965539792963547136}} 
[2026-10-16 09:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":219722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:13:45] local.INFO: GPS data processed {"connection_id":219722,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:13:45] local.INFO: Acknowledgment sent {"connection_id":219722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:13:55] local.INFO: TCP Data received {"connection_id":216452,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:13:55] local.INFO: Processing buffer {"connection_id":216452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:13:55] local.INFO: Packet analysis {"connection_id":216452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:13:55] local.INFO: Extracted packet for processing {"connection_id":216452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 09:13: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-10-16 09:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:13: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:13:55] 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-10-16 09:13: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-10-16 09:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165440001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:13:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:13:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165440001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":216452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:13:55] local.INFO: GPS data processed {"connection_id":216452,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:13:55] local.INFO: Acknowledgment sent {"connection_id":216452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:14:01] local.INFO: TCP Data received {"connection_id":216453,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:14:01] local.INFO: Processing buffer {"connection_id":216453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:14:01] local.INFO: IMEI packet received {"connection_id":216453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":216453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:14:07] local.INFO: TCP Data received {"connection_id":217989,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:07] local.INFO: Processing buffer {"connection_id":217989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:07] local.INFO: IMEI packet received {"connection_id":217989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":217989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:14:08] local.INFO: TCP Data received {"connection_id":217989,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:08] local.INFO: Processing buffer {"connection_id":217989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:08] local.INFO: IMEI packet received {"connection_id":217989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":217989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:14:11] local.INFO: TCP Data received {"connection_id":217989,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:11] local.INFO: Processing buffer {"connection_id":217989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:11] local.INFO: IMEI packet received {"connection_id":217989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":217989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:14:11] local.INFO: TCP Data received {"connection_id":217989,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:11] local.INFO: Processing buffer {"connection_id":217989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:14:11] local.INFO: IMEI packet received {"connection_id":217989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":217989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:14:12] local.INFO: TCP Data received {"connection_id":217989,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ce5970012d1b4040071f7698003f00f42b..."} 
[2026-10-16 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ce5970012d1b4040071f7698003f00f42b..."} 
[2026-10-16 09:14:12] local.INFO: Processing buffer {"connection_id":217989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ce5970012d1b4040071f7698003f00f42b..."} 
[2026-10-16 09:14:12] local.INFO: Packet analysis {"connection_id":217989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:14:12] local.INFO: Extracted packet for processing {"connection_id":217989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119502488,"longitude_deg":75.676064,"latitude_deg":11.9502488,"altitude":63,"angle":244,"satellites":43,"speed":22,"hex_longitude":"2d1b4040","hex_latitude":"071f7698","is_valid_coordinates":true} 
[2026-10-16 09:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783277568001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28087179150360576,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965258317986770944,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792122182000,"timestamp_ms":1792122182000,"timestamp_seconds":1792122182,"priority":1,"record_length":96,"hex_timestamp":"000001a142ce5970"} 
[2026-10-16 09:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 09:14: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-10-16 09:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":217989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":217989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":217989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783277568001,"66":14189,"101":206,"83":41984,"24":22,"16":28087179150360576,"45":1965258317986770944},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783277568001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:14:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28087179150360576,"km_value":28087179150360.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965258317986770944,"description":"Unknown IO ID 45"} 
[2026-10-16 09:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783277568001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1965258317986770944}} 
[2026-10-16 09:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":217989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:14:12] local.INFO: GPS data processed {"connection_id":217989,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:14:12] local.INFO: Acknowledgment sent {"connection_id":217989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:14:13] local.INFO: TCP Data received {"connection_id":217989,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ce6528012d1b39c0071f7488003d01072c..."} 
[2026-10-16 09:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ce6528012d1b39c0071f7488003d01072c..."} 
[2026-10-16 09:14:13] local.INFO: Processing buffer {"connection_id":217989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ce6528012d1b39c0071f7488003d01072c..."} 
[2026-10-16 09:14:13] local.INFO: Packet analysis {"connection_id":217989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:14:13] local.INFO: Extracted packet for processing {"connection_id":217989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756758976,"raw_latitude":119501960,"longitude_deg":75.6758976,"latitude_deg":11.950196,"altitude":61,"angle":263,"satellites":44,"speed":23,"hex_longitude":"2d1b39c0","hex_latitude":"071f7488","is_valid_coordinates":true} 
[2026-10-16 09:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783278592001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28087260754739200,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836870350848,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792122185000,"timestamp_ms":1792122185000,"timestamp_seconds":1792122185,"priority":1,"record_length":96,"hex_timestamp":"000001a142ce6528"} 
[2026-10-16 09:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:14: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-10-16 09:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 09:14:13] 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-10-16 09:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":217989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":217989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":217989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783278592001,"66":14189,"101":206,"83":41984,"24":23,"16":28087260754739200,"45":1963639836870350848},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783278592001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:14:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28087260754739200,"km_value":28087260754739.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836870350848,"description":"Unknown IO ID 45"} 
[2026-10-16 09:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783278592001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1963639836870350848}} 
[2026-10-16 09:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":217989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:14:13] local.INFO: GPS data processed {"connection_id":217989,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:14:13] local.INFO: Acknowledgment sent {"connection_id":217989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:14:16] local.INFO: TCP Data received {"connection_id":216645,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:14:16] local.INFO: Processing buffer {"connection_id":216645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:14:16] local.INFO: IMEI packet received {"connection_id":216645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":216645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:14:21] local.INFO: TCP Data received {"connection_id":219724,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:14:21] local.INFO: Processing buffer {"connection_id":219724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:14:21] local.INFO: IMEI packet received {"connection_id":219724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":219724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:14:22] local.INFO: TCP Data received {"connection_id":216645,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:14:22] local.INFO: Processing buffer {"connection_id":216645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:14:22] local.INFO: IMEI packet received {"connection_id":216645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":216645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:14:23] local.INFO: TCP Data received {"connection_id":216645,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:14:23] local.INFO: Processing buffer {"connection_id":216645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:14:23] local.INFO: Packet analysis {"connection_id":216645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:14:23] local.INFO: Extracted packet for processing {"connection_id":216645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 09:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:14:23] 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-10-16 09:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165440001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:14:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:14:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165440001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":216645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:14:23] local.INFO: GPS data processed {"connection_id":216645,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:14:23] local.INFO: Acknowledgment sent {"connection_id":216645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:14:26] local.INFO: TCP Data received {"connection_id":219724,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:14:26] local.INFO: Processing buffer {"connection_id":219724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:14:26] local.INFO: IMEI packet received {"connection_id":219724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":219724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:14:27] local.INFO: TCP Data received {"connection_id":219724,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142cd0980012d7a6f8005eb9b20000d005926..."} 
[2026-10-16 09:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cd0980012d7a6f8005eb9b20000d005926..."} 
[2026-10-16 09:14:27] local.INFO: Processing buffer {"connection_id":219724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cd0980012d7a6f8005eb9b20000d005926..."} 
[2026-10-16 09:14:27] local.INFO: Packet analysis {"connection_id":219724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:14:27] local.INFO: Extracted packet for processing {"connection_id":219724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:14:27] local.INFO: GPS Element Parsed {"raw_longitude":762998656,"raw_latitude":99326752,"longitude_deg":76.2998656,"latitude_deg":9.9326752,"altitude":13,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d7a6f80","hex_latitude":"05eb9b20","is_valid_coordinates":true} 
[2026-10-16 09:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783251456001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484294800801792,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822340589213923328,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:27] 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-10-16 09:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792122096000,"timestamp_ms":1792122096000,"timestamp_seconds":1792122096,"priority":1,"record_length":96,"hex_timestamp":"000001a142cd0980"} 
[2026-10-16 09:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 09:14:27] 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-10-16 09:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783251456001,"66":12798,"161":206,"87":13824,"24":0,"16":145484294800801792,"45":8822340589213923328},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783251456001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:14:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:14:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484294800801792,"km_value":145484294800801.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822340589213923328,"description":"Unknown IO ID 45"} 
[2026-10-16 09:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783251456001,"power":12798,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8822340589213923328}} 
[2026-10-16 09:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":219724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:14:27] local.INFO: GPS data processed {"connection_id":219724,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:14:27] local.INFO: Acknowledgment sent {"connection_id":219724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:14:46] local.INFO: TCP Data received {"connection_id":217989,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ce74c8012d1b30c0071f74b0003b01192d..."} 
[2026-10-16 09:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ce74c8012d1b30c0071f74b0003b01192d..."} 
[2026-10-16 09:14:46] local.INFO: Processing buffer {"connection_id":217989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ce74c8012d1b30c0071f74b0003b01192d..."} 
[2026-10-16 09:14:46] local.INFO: Packet analysis {"connection_id":217989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:14:46] local.INFO: Extracted packet for processing {"connection_id":217989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756756672,"raw_latitude":119502000,"longitude_deg":75.6756672,"latitude_deg":11.9502,"altitude":59,"angle":281,"satellites":45,"speed":22,"hex_longitude":"2d1b30c0","hex_latitude":"071f74b0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783279360001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28087372423888896,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961810249521596416,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792122189000,"timestamp_ms":1792122189000,"timestamp_seconds":1792122189,"priority":1,"record_length":96,"hex_timestamp":"000001a142ce74c8"} 
[2026-10-16 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-10-16 09:14:46] 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-10-16 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 09:14:46] 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-10-16 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-10-16 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-10-16 09:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":217989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":217989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":217989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783279360001,"66":14211,"101":206,"83":41984,"24":22,"16":28087372423888896,"45":1961810249521596416},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783279360001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:14:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28087372423888896,"km_value":28087372423888.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961810249521596416,"description":"Unknown IO ID 45"} 
[2026-10-16 09:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783279360001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1961810249521596416}} 
[2026-10-16 09:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":217989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:14:46] local.INFO: GPS data processed {"connection_id":217989,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:14:46] local.INFO: Acknowledgment sent {"connection_id":217989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:14:49] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142ce4db8012d0c6b000705a098001500bf22..."} 
[2026-10-16 09:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ce4db8012d0c6b000705a098001500bf22..."} 
[2026-10-16 09:14:49] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ce4db8012d0c6b000705a098001500bf22..."} 
[2026-10-16 09:14:49] local.INFO: Packet analysis {"connection_id":216644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:14:49] local.INFO: Extracted packet for processing {"connection_id":216644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:14:49] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117809304,"longitude_deg":75.5788544,"latitude_deg":11.7809304,"altitude":21,"angle":191,"satellites":34,"speed":18,"hex_longitude":"2d0c6b00","hex_latitude":"0705a098","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783277568001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36465509293621248,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981122480128,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:49] 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-10-16 09:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792122179000,"timestamp_ms":1792122179000,"timestamp_seconds":1792122179,"priority":1,"record_length":96,"hex_timestamp":"000001a142ce4db8"} 
[2026-10-16 09:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 09:14:49] 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-10-16 09: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-10-16 09:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":216644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":216644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":216644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783277568001,"66":14537,"220":206,"94":10240,"24":18,"16":36465509293621248,"45":894808981122480128},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 09:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783277568001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:14:49] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 09:14:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36465509293621248,"km_value":36465509293621.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981122480128,"description":"Unknown IO ID 45"} 
[2026-10-16 09:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783277568001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":894808981122480128}} 
[2026-10-16 09:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":216644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045566,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:14:49] local.INFO: GPS data processed {"connection_id":216644,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:14:49] local.INFO: Acknowledgment sent {"connection_id":216644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:14:56] local.INFO: TCP Data received {"connection_id":216645,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:14:56] local.INFO: Processing buffer {"connection_id":216645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:14:56] local.INFO: Packet analysis {"connection_id":216645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:14:56] local.INFO: Extracted packet for processing {"connection_id":216645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 09:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:14: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-10-16 09:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:14:56] 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-10-16 09:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165440001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:14:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:14:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165440001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":216645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:14:56] local.INFO: GPS data processed {"connection_id":216645,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:14:56] local.INFO: Acknowledgment sent {"connection_id":216645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:14:57] local.INFO: TCP Data received {"connection_id":219724,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142cd5b88012d7a6f8005eb9b20000d005926..."} 
[2026-10-16 09:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cd5b88012d7a6f8005eb9b20000d005926..."} 
[2026-10-16 09:14:57] local.INFO: Processing buffer {"connection_id":219724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cd5b88012d7a6f8005eb9b20000d005926..."} 
[2026-10-16 09:14:57] local.INFO: Packet analysis {"connection_id":219724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:14:57] local.INFO: Extracted packet for processing {"connection_id":219724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:14:57] local.INFO: GPS Element Parsed {"raw_longitude":762998656,"raw_latitude":99326752,"longitude_deg":76.2998656,"latitude_deg":9.9326752,"altitude":13,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d7a6f80","hex_latitude":"05eb9b20","is_valid_coordinates":true} 
[2026-10-16 09:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783256576001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484294800801792,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822410957958094848,"note":"Value kept but may cause issues"} 
[2026-10-16 09:14:57] 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-10-16 09:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792122117000,"timestamp_ms":1792122117000,"timestamp_seconds":1792122117,"priority":1,"record_length":96,"hex_timestamp":"000001a142cd5b88"} 
[2026-10-16 09:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 09:14:57] 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-10-16 09:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783256576001,"66":12841,"161":206,"87":13824,"24":0,"16":145484294800801792,"45":8822410957958094848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783256576001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:14:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:14:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484294800801792,"km_value":145484294800801.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822410957958094848,"description":"Unknown IO ID 45"} 
[2026-10-16 09:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783256576001,"power":12841,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8822410957958094848}} 
[2026-10-16 09:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":219724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:14:57] local.INFO: GPS data processed {"connection_id":219724,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:14:57] local.INFO: Acknowledgment sent {"connection_id":219724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:15:07] local.INFO: TCP Data received {"connection_id":219725,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:15:07] local.INFO: Processing buffer {"connection_id":219725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:15:07] local.INFO: IMEI packet received {"connection_id":219725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":219725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:15:08] local.INFO: TCP Data received {"connection_id":219725,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:15:08] local.INFO: Processing buffer {"connection_id":219725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:15:08] local.INFO: IMEI packet received {"connection_id":219725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":219725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:15:13] local.INFO: TCP Data received {"connection_id":219725,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:15:13] local.INFO: Processing buffer {"connection_id":219725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:15:13] local.INFO: IMEI packet received {"connection_id":219725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":219725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:15:13] local.INFO: TCP Data received {"connection_id":219725,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142cf66f8012d1ac4c0071f87f0002c015c2a..."} 
[2026-10-16 09:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cf66f8012d1ac4c0071f87f0002c015c2a..."} 
[2026-10-16 09:15:13] local.INFO: Processing buffer {"connection_id":219725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cf66f8012d1ac4c0071f87f0002c015c2a..."} 
[2026-10-16 09:15:13] local.INFO: Packet analysis {"connection_id":219725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cf"} 
[2026-10-16 09:15:13] local.INFO: Extracted packet for processing {"connection_id":219725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cf"} 
[2026-10-16 09:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756729024,"raw_latitude":119506928,"longitude_deg":75.6729024,"latitude_deg":11.9506928,"altitude":44,"angle":348,"satellites":42,"speed":13,"hex_longitude":"2d1ac4c0","hex_latitude":"071f87f0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783296000001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28088789763096576,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736009216,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792122251000,"timestamp_ms":1792122251000,"timestamp_seconds":1792122251,"priority":1,"record_length":96,"hex_timestamp":"000001a142cf66f8"} 
[2026-10-16 09:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:15: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-10-16 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 09:15:13] 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-10-16 09: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-10-16 09:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783296000001,"66":14243,"101":206,"83":41984,"24":13,"16":28088789763096576,"45":1929018414736009216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783296000001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:15:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28088789763096576,"km_value":28088789763096.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736009216,"description":"Unknown IO ID 45"} 
[2026-10-16 09:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783296000001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1929018414736009216}} 
[2026-10-16 09:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":219725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:15:14] local.INFO: GPS data processed {"connection_id":219725,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:15:14] local.INFO: Acknowledgment sent {"connection_id":219725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:15:16] local.INFO: TCP Data received {"connection_id":216646,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:15:16] local.INFO: Processing buffer {"connection_id":216646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:15:16] local.INFO: IMEI packet received {"connection_id":216646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":216646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:15:22] local.INFO: TCP Data received {"connection_id":216646,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:15:22] local.INFO: Processing buffer {"connection_id":216646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:15:22] local.INFO: IMEI packet received {"connection_id":216646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":216646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:15:23] local.INFO: TCP Data received {"connection_id":216646,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:15:23] local.INFO: Processing buffer {"connection_id":216646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:15:23] local.INFO: Packet analysis {"connection_id":216646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:15:23] local.INFO: Extracted packet for processing {"connection_id":216646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 09:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:15:23] 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-10-16 09:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165440001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:15:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:15:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165440001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":216646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:15:23] local.INFO: GPS data processed {"connection_id":216646,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:15:23] local.INFO: Acknowledgment sent {"connection_id":216646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:15:26] local.INFO: TCP Data received {"connection_id":216454,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:15:26] local.INFO: Processing buffer {"connection_id":216454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:15:26] local.INFO: IMEI packet received {"connection_id":216454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":216454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:15:31] local.INFO: TCP Data received {"connection_id":216454,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:15:31] local.INFO: Processing buffer {"connection_id":216454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:15:31] local.INFO: IMEI packet received {"connection_id":216454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":216454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:15:32] local.INFO: TCP Data received {"connection_id":216454,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142cd8298012d7a6d0005eb9a28000e00ff28..."} 
[2026-10-16 09:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cd8298012d7a6d0005eb9a28000e00ff28..."} 
[2026-10-16 09:15:32] local.INFO: Processing buffer {"connection_id":216454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cd8298012d7a6d0005eb9a28000e00ff28..."} 
[2026-10-16 09:15:32] local.INFO: Packet analysis {"connection_id":216454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:15:32] local.INFO: Extracted packet for processing {"connection_id":216454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:15:32] local.INFO: GPS Element Parsed {"raw_longitude":762998016,"raw_latitude":99326504,"longitude_deg":76.2998016,"latitude_deg":9.9326504,"altitude":14,"angle":255,"satellites":40,"speed":1,"hex_longitude":"2d7a6d00","hex_latitude":"05eb9a28","is_valid_coordinates":true} 
[2026-10-16 09:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783261952001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484324865572864,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822410957958094848,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792122127000,"timestamp_ms":1792122127000,"timestamp_seconds":1792122127,"priority":1,"record_length":96,"hex_timestamp":"000001a142cd8298"} 
[2026-10-16 09:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783261952001,"66":12689,"161":206,"87":13824,"24":1,"16":145484324865572864,"45":8822410957958094848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783261952001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:15:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:15:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484324865572864,"km_value":145484324865572.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822410957958094848,"description":"Unknown IO ID 45"} 
[2026-10-16 09:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783261952001,"power":12689,"unknown_161":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8822410957958094848}} 
[2026-10-16 09:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":216454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:15:32] local.INFO: GPS data processed {"connection_id":216454,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:15:32] local.INFO: Acknowledgment sent {"connection_id":216454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:15:36] local.INFO: TCP Data received {"connection_id":216454,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142cdd4a0012d7a6c4005eb99e0001001021f..."} 
[2026-10-16 09:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cdd4a0012d7a6c4005eb99e0001001021f..."} 
[2026-10-16 09:15:36] local.INFO: Processing buffer {"connection_id":216454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cdd4a0012d7a6c4005eb99e0001001021f..."} 
[2026-10-16 09:15:36] local.INFO: Packet analysis {"connection_id":216454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:15:36] local.INFO: Extracted packet for processing {"connection_id":216454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cd"} 
[2026-10-16 09:15:36] local.INFO: GPS Element Parsed {"raw_longitude":762997824,"raw_latitude":99326432,"longitude_deg":76.2997824,"latitude_deg":9.9326432,"altitude":16,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d7a6c40","hex_latitude":"05eb99e0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783264512001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484337750474752,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821707270516254720,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15: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-10-16 09:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792122148000,"timestamp_ms":1792122148000,"timestamp_seconds":1792122148,"priority":1,"record_length":96,"hex_timestamp":"000001a142cdd4a0"} 
[2026-10-16 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-10-16 09:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 09:15:36] 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-10-16 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-10-16 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-10-16 09:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783264512001,"66":13059,"161":206,"87":13824,"24":0,"16":145484337750474752,"45":8821707270516254720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783264512001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:15:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:15:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484337750474752,"km_value":145484337750474.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821707270516254720,"description":"Unknown IO ID 45"} 
[2026-10-16 09:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783264512001,"power":13059,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8821707270516254720}} 
[2026-10-16 09:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":216454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:15:36] local.INFO: GPS data processed {"connection_id":216454,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:15:36] local.INFO: Acknowledgment sent {"connection_id":216454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:15:45] local.INFO: TCP Data received {"connection_id":219725,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d00720012d1a6580071fdbb0002e011e28..."} 
[2026-10-16 09:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d00720012d1a6580071fdbb0002e011e28..."} 
[2026-10-16 09:15:45] local.INFO: Processing buffer {"connection_id":219725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d00720012d1a6580071fdbb0002e011e28..."} 
[2026-10-16 09:15:45] local.INFO: Packet analysis {"connection_id":219725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:15:45] local.INFO: Extracted packet for processing {"connection_id":219725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756704640,"raw_latitude":119528368,"longitude_deg":75.670464,"latitude_deg":11.9528368,"altitude":46,"angle":286,"satellites":40,"speed":35,"hex_longitude":"2d1a6580","hex_latitude":"071fdbb0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783306240001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28090443325505536,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903967141814120448,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792122292000,"timestamp_ms":1792122292000,"timestamp_seconds":1792122292,"priority":1,"record_length":96,"hex_timestamp":"000001a142d00720"} 
[2026-10-16 09:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:15:45] 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-10-16 09: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 09:15:45] 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-10-16 09: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-10-16 09:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":219725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":219725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":219725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783306240001,"66":14428,"101":206,"83":41984,"24":35,"16":28090443325505536,"45":1903967141814120448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783306240001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:15:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28090443325505536,"km_value":28090443325505.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903967141814120448,"description":"Unknown IO ID 45"} 
[2026-10-16 09:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783306240001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1903967141814120448}} 
[2026-10-16 09:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":219725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:15:45] local.INFO: GPS data processed {"connection_id":219725,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:15:45] local.INFO: Acknowledgment sent {"connection_id":219725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:15:55] local.INFO: TCP Data received {"connection_id":216646,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:15:55] local.INFO: Processing buffer {"connection_id":216646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142cc1750012d7fa34005afce500009000a2c..."} 
[2026-10-16 09:15:55] local.INFO: Packet analysis {"connection_id":216646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:15:55] local.INFO: Extracted packet for processing {"connection_id":216646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142cc"} 
[2026-10-16 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 09:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783165440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421736960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792122034000,"timestamp_ms":1792122034000,"timestamp_seconds":1792122034,"priority":1,"record_length":96,"hex_timestamp":"000001a142cc1750"} 
[2026-10-16 09:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 09:15:55] 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-10-16 09:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783165440001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421736960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783165440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:15:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:15:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421736960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783165440001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421736960}} 
[2026-10-16 09:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":216646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:15:55] local.INFO: GPS data processed {"connection_id":216646,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:15:55] local.INFO: Acknowledgment sent {"connection_id":216646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:15:58] local.INFO: TCP Data received {"connection_id":219726,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219726,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:15:58] local.INFO: Processing buffer {"connection_id":219726,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:15:58] local.INFO: IMEI packet received {"connection_id":219726,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":219726,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:16:03] local.INFO: TCP Data received {"connection_id":219726,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219726,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:16:03] local.INFO: Processing buffer {"connection_id":219726,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:16:03] local.INFO: IMEI packet received {"connection_id":219726,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":219726,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:16:04] local.INFO: TCP Data received {"connection_id":219726,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a142d02660012d0c3e0007057be8001b009124..."} 
[2026-10-16 09:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d02660012d0c3e0007057be8001b009124..."} 
[2026-10-16 09:16:04] local.INFO: Processing buffer {"connection_id":219726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d02660012d0c3e0007057be8001b009124..."} 
[2026-10-16 09:16:04] local.INFO: Packet analysis {"connection_id":219726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:16:04] local.INFO: Extracted packet for processing {"connection_id":219726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:16:04] local.INFO: GPS Element Parsed {"raw_longitude":755777024,"raw_latitude":117799912,"longitude_deg":75.5777024,"latitude_deg":11.7799912,"altitude":27,"angle":145,"satellites":36,"speed":13,"hex_longitude":"2d0c3e00","hex_latitude":"07057be8","is_valid_coordinates":true} 
[2026-10-16 09:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783308288001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36466454186426368,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132191354880,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:04] 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-10-16 09:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792122300000,"timestamp_ms":1792122300000,"timestamp_seconds":1792122300,"priority":1,"record_length":96,"hex_timestamp":"000001a142d02660"} 
[2026-10-16 09:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 09:16:04] 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-10-16 09:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":219726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":219726,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":219726,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783308288001,"66":14428,"164":206,"94":10240,"24":13,"16":36466454186426368,"45":881861132191354880},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 09:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783308288001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:16:04] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 09:16:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 09:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36466454186426368,"km_value":36466454186426.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132191354880,"description":"Unknown IO ID 45"} 
[2026-10-16 09:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783308288001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":881861132191354880}} 
[2026-10-16 09:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":219726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:16:04] local.INFO: GPS data processed {"connection_id":219726,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:16:04] local.INFO: Acknowledgment sent {"connection_id":219726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:16:07] local.INFO: TCP Data received {"connection_id":216648,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:07] local.INFO: Processing buffer {"connection_id":216648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:07] local.INFO: IMEI packet received {"connection_id":216648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":216648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:16:10] local.INFO: TCP Data received {"connection_id":216648,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:10] local.INFO: Processing buffer {"connection_id":216648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:10] local.INFO: IMEI packet received {"connection_id":216648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":216648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:16:10] local.INFO: TCP Data received {"connection_id":216648,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:10] local.INFO: Processing buffer {"connection_id":216648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:10] local.INFO: IMEI packet received {"connection_id":216648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":216648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:16:11] local.INFO: TCP Data received {"connection_id":216648,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:11] local.INFO: Processing buffer {"connection_id":216648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:16:11] local.INFO: IMEI packet received {"connection_id":216648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":216648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:16:16] local.INFO: TCP Data received {"connection_id":217991,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:16:16] local.INFO: Processing buffer {"connection_id":217991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:16:16] local.INFO: IMEI packet received {"connection_id":217991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":217991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:16:21] local.INFO: TCP Data received {"connection_id":216649,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:16:21] local.INFO: Processing buffer {"connection_id":216649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:16:21] local.INFO: IMEI packet received {"connection_id":216649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":216649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:16:21] local.INFO: TCP Data received {"connection_id":216649,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:16:21] local.INFO: Processing buffer {"connection_id":216649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:16:21] local.INFO: IMEI packet received {"connection_id":216649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":216649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:16:22] local.INFO: TCP Data received {"connection_id":217991,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:16:22] local.INFO: Processing buffer {"connection_id":217991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:16:22] local.INFO: IMEI packet received {"connection_id":217991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":217991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:16:23] local.INFO: TCP Data received {"connection_id":217991,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:16:23] local.INFO: Processing buffer {"connection_id":217991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:16:23] local.INFO: Packet analysis {"connection_id":217991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:16:23] local.INFO: Extracted packet for processing {"connection_id":217991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:16:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122335000,"timestamp_ms":1792122335000,"timestamp_seconds":1792122335,"priority":1,"record_length":96,"hex_timestamp":"000001a142d0af18"} 
[2026-10-16 09:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:16:23] 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-10-16 09:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:16:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:16:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 09:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":217991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:16:23] local.INFO: GPS data processed {"connection_id":217991,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:16:23] local.INFO: Acknowledgment sent {"connection_id":217991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:16:26] local.INFO: TCP Data received {"connection_id":216649,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:16:26] local.INFO: Processing buffer {"connection_id":216649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:16:26] local.INFO: IMEI packet received {"connection_id":216649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":216649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:16:27] local.INFO: TCP Data received {"connection_id":216649,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142ce26a8012d7a6c4005eb99e00010010228..."} 
[2026-10-16 09:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ce26a8012d7a6c4005eb99e00010010228..."} 
[2026-10-16 09:16:27] local.INFO: Processing buffer {"connection_id":216649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ce26a8012d7a6c4005eb99e00010010228..."} 
[2026-10-16 09:16:27] local.INFO: Packet analysis {"connection_id":216649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:16:27] local.INFO: Extracted packet for processing {"connection_id":216649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ce"} 
[2026-10-16 09:16:27] local.INFO: GPS Element Parsed {"raw_longitude":762997824,"raw_latitude":99326432,"longitude_deg":76.2997824,"latitude_deg":9.9326432,"altitude":16,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d7a6c40","hex_latitude":"05eb99e0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783269888001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484337750474752,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821496164283703296,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] 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-10-16 09:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792122169000,"timestamp_ms":1792122169000,"timestamp_seconds":1792122169,"priority":1,"record_length":96,"hex_timestamp":"000001a142ce26a8"} 
[2026-10-16 09:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169388203309,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":161,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3434831873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2604138509,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3710779392,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024877,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952861184,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:27] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,87,24,241,157,16,221,130,45,154,14,40,10,66,91,128,155,13,38,9,1,240,254,227,235,4,113,205,183,112,224,239,52,2,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-10-16 09:16:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153205311750799360,"timestamp_seconds":1153205311750799.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783269888001,"66":12472,"161":206,"87":13824,"24":0,"16":145484337750474752,"45":8821496164283703296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783269888001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:16:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:16:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484337750474752,"km_value":145484337750474.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821496164283703296,"description":"Unknown IO ID 45"} 
[2026-10-16 09:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783269888001,"power":12472,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8821496164283703296}} 
[2026-10-16 09:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":216649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:16:27] local.INFO: GPS data processed {"connection_id":216649,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:16:27] local.INFO: Acknowledgment sent {"connection_id":216649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:16:55] local.INFO: TCP Data received {"connection_id":217991,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:16:55] local.INFO: Processing buffer {"connection_id":217991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:16:55] local.INFO: Packet analysis {"connection_id":217991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:16:55] local.INFO: Extracted packet for processing {"connection_id":217991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792122335000,"timestamp_ms":1792122335000,"timestamp_seconds":1792122335,"priority":1,"record_length":96,"hex_timestamp":"000001a142d0af18"} 
[2026-10-16 09:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:16:55] 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-10-16 09:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:16:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:16:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 09:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":217991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:16:55] local.INFO: GPS data processed {"connection_id":217991,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:16:55] local.INFO: Acknowledgment sent {"connection_id":217991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:16:58] local.INFO: TCP Data received {"connection_id":216649,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d18208012d7a64c005eb9788001300e924..."} 
[2026-10-16 09:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d18208012d7a64c005eb9788001300e924..."} 
[2026-10-16 09:16:58] local.INFO: Processing buffer {"connection_id":216649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d18208012d7a64c005eb9788001300e924..."} 
[2026-10-16 09:16:58] local.INFO: Packet analysis {"connection_id":216649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d1"} 
[2026-10-16 09:16:58] local.INFO: Extracted packet for processing {"connection_id":216649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d1"} 
[2026-10-16 09:16:58] local.INFO: GPS Element Parsed {"raw_longitude":762995904,"raw_latitude":99325832,"longitude_deg":76.2995904,"latitude_deg":9.9325832,"altitude":19,"angle":233,"satellites":36,"speed":2,"hex_longitude":"2d7a64c0","hex_latitude":"05eb9788","is_valid_coordinates":true} 
[2026-10-16 09:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783329024001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484449419624448,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820792476841914368,"note":"Value kept but may cause issues"} 
[2026-10-16 09:16:58] 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-10-16 09:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792122389000,"timestamp_ms":1792122389000,"timestamp_seconds":1792122389,"priority":1,"record_length":96,"hex_timestamp":"000001a142d18208"} 
[2026-10-16 09:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-16 09:16:58] 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-10-16 09:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783329024001,"66":13363,"161":206,"87":13824,"24":2,"16":145484449419624448,"45":8820792476841914368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783329024001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:16:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:16:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484449419624448,"km_value":145484449419624.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820792476841914368,"description":"Unknown IO ID 45"} 
[2026-10-16 09:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783329024001,"power":13363,"unknown_161":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8820792476841914368}} 
[2026-10-16 09:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":216649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:16:58] local.INFO: GPS data processed {"connection_id":216649,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:16:58] local.INFO: Acknowledgment sent {"connection_id":216649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:17:16] local.INFO: TCP Data received {"connection_id":216455,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:17:16] local.INFO: Processing buffer {"connection_id":216455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:17:16] local.INFO: IMEI packet received {"connection_id":216455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":216455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:17:21] local.INFO: TCP Data received {"connection_id":216650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:17:21] local.INFO: Processing buffer {"connection_id":216650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:17:21] local.INFO: IMEI packet received {"connection_id":216650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":216650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:17:21] local.INFO: TCP Data received {"connection_id":216455,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:17:21] local.INFO: Processing buffer {"connection_id":216455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:17:21] local.INFO: IMEI packet received {"connection_id":216455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":216455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:17:22] local.INFO: TCP Data received {"connection_id":216455,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:17:22] local.INFO: Processing buffer {"connection_id":216455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:17:22] local.INFO: Packet analysis {"connection_id":216455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:17:22] local.INFO: Extracted packet for processing {"connection_id":216455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:17:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792122335000,"timestamp_ms":1792122335000,"timestamp_seconds":1792122335,"priority":1,"record_length":96,"hex_timestamp":"000001a142d0af18"} 
[2026-10-16 09:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:17:22] 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-10-16 09:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:17:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:17:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 09:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":216455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:17:22] local.INFO: GPS data processed {"connection_id":216455,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:17:22] local.INFO: Acknowledgment sent {"connection_id":216455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:17:24] local.INFO: TCP Data received {"connection_id":217994,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217994,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:17:24] local.INFO: Processing buffer {"connection_id":217994,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:17:24] local.INFO: IMEI packet received {"connection_id":217994,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":217994,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:17:24] local.INFO: TCP Data received {"connection_id":216650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:17:24] local.INFO: Processing buffer {"connection_id":216650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:17:24] local.INFO: IMEI packet received {"connection_id":216650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":216650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:17:25] local.INFO: TCP Data received {"connection_id":216650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d18dc0012d7a644005eb9708001300fa26..."} 
[2026-10-16 09:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d18dc0012d7a644005eb9708001300fa26..."} 
[2026-10-16 09:17:25] local.INFO: Processing buffer {"connection_id":216650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d18dc0012d7a644005eb9708001300fa26..."} 
[2026-10-16 09:17:25] local.INFO: Packet analysis {"connection_id":216650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d1"} 
[2026-10-16 09:17:25] local.INFO: Extracted packet for processing {"connection_id":216650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d1"} 
[2026-10-16 09:17:25] local.INFO: GPS Element Parsed {"raw_longitude":762995776,"raw_latitude":99325704,"longitude_deg":76.2995776,"latitude_deg":9.9325704,"altitude":19,"angle":250,"satellites":38,"speed":2,"hex_longitude":"2d7a6440","hex_latitude":"05eb9708","is_valid_coordinates":true} 
[2026-10-16 09:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783331584001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484458009559040,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819385101958219776,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:25] 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-10-16 09:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792122392000,"timestamp_ms":1792122392000,"timestamp_seconds":1792122392,"priority":1,"record_length":96,"hex_timestamp":"000001a142d18dc0"} 
[2026-10-16 09:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-16 09:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783331584001,"66":14298,"161":206,"87":13824,"24":2,"16":145484458009559040,"45":8819385101958219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783331584001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:17:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:17:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484458009559040,"km_value":145484458009559.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819385101958219776,"description":"Unknown IO ID 45"} 
[2026-10-16 09:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783331584001,"power":14298,"unknown_161":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8819385101958219776}} 
[2026-10-16 09:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":216650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:17:25] local.INFO: GPS data processed {"connection_id":216650,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:17:25] local.INFO: Acknowledgment sent {"connection_id":216650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:17:29] local.INFO: TCP Data received {"connection_id":217994,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217994,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:17:29] local.INFO: Processing buffer {"connection_id":217994,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:17:29] local.INFO: IMEI packet received {"connection_id":217994,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":217994,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:17:32] local.INFO: TCP Data received {"connection_id":217994,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d22230012d0ce5800704bf58001f004e21..."} 
[2026-10-16 09:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d22230012d0ce5800704bf58001f004e21..."} 
[2026-10-16 09:17:32] local.INFO: Processing buffer {"connection_id":217994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d22230012d0ce5800704bf58001f004e21..."} 
[2026-10-16 09:17:32] local.INFO: Packet analysis {"connection_id":217994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:17:32] local.INFO: Extracted packet for processing {"connection_id":217994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:17:32] local.INFO: GPS Element Parsed {"raw_longitude":755819904,"raw_latitude":117751640,"longitude_deg":75.5819904,"latitude_deg":11.775164,"altitude":31,"angle":78,"satellites":33,"speed":15,"hex_longitude":"2d0ce580","hex_latitude":"0704bf58","is_valid_coordinates":true} 
[2026-10-16 09:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783341312001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36469984649543680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927741553382719488,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:32] 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-10-16 09:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792122430000,"timestamp_ms":1792122430000,"timestamp_seconds":1792122430,"priority":1,"record_length":96,"hex_timestamp":"000001a142d22230"} 
[2026-10-16 09:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 09:17:32] 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-10-16 09:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217994,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217994,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783341312001,"66":14439,"18":206,"28":32256,"24":15,"16":36469984649543680,"45":927741553382719488},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783341312001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:17:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36469984649543680,"km_value":36469984649543.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":927741553382719488,"description":"Unknown IO ID 45"} 
[2026-10-16 09:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783341312001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":15,"odometer":null,"unknown_45":927741553382719488}} 
[2026-10-16 09:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":217994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:17:32] local.INFO: GPS data processed {"connection_id":217994,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:17:32] local.INFO: Acknowledgment sent {"connection_id":217994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:17:54] local.INFO: TCP Data received {"connection_id":216455,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:17:54] local.INFO: Processing buffer {"connection_id":216455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:17:54] local.INFO: Packet analysis {"connection_id":216455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:17:54] local.INFO: Extracted packet for processing {"connection_id":216455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792122335000,"timestamp_ms":1792122335000,"timestamp_seconds":1792122335,"priority":1,"record_length":96,"hex_timestamp":"000001a142d0af18"} 
[2026-10-16 09:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:17:54] 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-10-16 09: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-10-16 09:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:17:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:17:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 09:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":216455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:17:54] local.INFO: GPS data processed {"connection_id":216455,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:17:54] local.INFO: Acknowledgment sent {"connection_id":216455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:17:56] local.INFO: TCP Data received {"connection_id":216650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d1dbe0012d7a62c005eb96680013010225..."} 
[2026-10-16 09:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d1dbe0012d7a62c005eb96680013010225..."} 
[2026-10-16 09:17:56] local.INFO: Processing buffer {"connection_id":216650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d1dbe0012d7a62c005eb96680013010225..."} 
[2026-10-16 09:17:56] local.INFO: Packet analysis {"connection_id":216650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d1"} 
[2026-10-16 09:17:56] local.INFO: Extracted packet for processing {"connection_id":216650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d1"} 
[2026-10-16 09:17:56] local.INFO: GPS Element Parsed {"raw_longitude":762995392,"raw_latitude":99325544,"longitude_deg":76.2995392,"latitude_deg":9.9325544,"altitude":19,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d7a62c0","hex_latitude":"05eb9668","is_valid_coordinates":true} 
[2026-10-16 09:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783332352001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484479484395520,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819244364469831680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:17:56] 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-10-16 09:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792122412000,"timestamp_ms":1792122412000,"timestamp_seconds":1792122412,"priority":1,"record_length":96,"hex_timestamp":"000001a142d1dbe0"} 
[2026-10-16 09:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-16 09:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783332352001,"66":14254,"161":206,"87":13824,"24":0,"16":145484479484395520,"45":8819244364469831680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783332352001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:17:56] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:17:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484479484395520,"km_value":145484479484395.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819244364469831680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783332352001,"power":14254,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8819244364469831680}} 
[2026-10-16 09:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":216650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:17:56] local.INFO: GPS data processed {"connection_id":216650,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:17:56] local.INFO: Acknowledgment sent {"connection_id":216650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:18:03] local.INFO: TCP Data received {"connection_id":219727,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:18:03] local.INFO: Processing buffer {"connection_id":219727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:18:03] local.INFO: IMEI packet received {"connection_id":219727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":219727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:18:06] local.INFO: TCP Data received {"connection_id":219727,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:18:06] local.INFO: Processing buffer {"connection_id":219727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:18:06] local.INFO: IMEI packet received {"connection_id":219727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":219727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:18:08] local.INFO: TCP Data received {"connection_id":219727,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:18:08] local.INFO: Processing buffer {"connection_id":219727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:18:08] local.INFO: IMEI packet received {"connection_id":219727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":219727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:18:10] local.INFO: TCP Data received {"connection_id":219727,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d22de8012d0ce9c00704bff00020005f22..."} 
[2026-10-16 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d22de8012d0ce9c00704bff00020005f22..."} 
[2026-10-16 09:18:10] local.INFO: Processing buffer {"connection_id":219727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d22de8012d0ce9c00704bff00020005f22..."} 
[2026-10-16 09:18:10] local.INFO: Packet analysis {"connection_id":219727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:18:10] local.INFO: Extracted packet for processing {"connection_id":219727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":755820992,"raw_latitude":117751792,"longitude_deg":75.5820992,"latitude_deg":11.7751792,"altitude":32,"angle":95,"satellites":34,"speed":13,"hex_longitude":"2d0ce9c0","hex_latitude":"0704bff0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783342080001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36470036189151232,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929289665754650624,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:10] 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-10-16 09:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792122433000,"timestamp_ms":1792122433000,"timestamp_seconds":1792122433,"priority":1,"record_length":96,"hex_timestamp":"000001a142d22de8"} 
[2026-10-16 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-10-16 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 09:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 09:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":219727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":219727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":219727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783342080001,"66":14559,"18":206,"28":32256,"24":13,"16":36470036189151232,"45":929289665754650624},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783342080001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:18:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:18:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36470036189151232,"km_value":36470036189151.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":929289665754650624,"description":"Unknown IO ID 45"} 
[2026-10-16 09:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783342080001,"power":14559,"unknown_18":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":929289665754650624}} 
[2026-10-16 09:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":219727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:18:10] local.INFO: GPS data processed {"connection_id":219727,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:18:10] local.INFO: Acknowledgment sent {"connection_id":219727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:18:11] local.INFO: TCP Data received {"connection_id":219727,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d26498012d0d0d800704bb600021005420..."} 
[2026-10-16 09:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d26498012d0d0d800704bb600021005420..."} 
[2026-10-16 09:18:11] local.INFO: Processing buffer {"connection_id":219727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d26498012d0d0d800704bb600021005420..."} 
[2026-10-16 09:18:11] local.INFO: Packet analysis {"connection_id":219727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:18:11] local.INFO: Extracted packet for processing {"connection_id":219727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:18:11] local.INFO: GPS Element Parsed {"raw_longitude":755830144,"raw_latitude":117750624,"longitude_deg":75.5830144,"latitude_deg":11.7750624,"altitude":33,"angle":84,"satellites":32,"speed":36,"hex_longitude":"2d0d0d80","hex_latitude":"0704bb60","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783342848001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36470474275815424,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930485934405709824,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:11] 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-10-16 09:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792122447000,"timestamp_ms":1792122447000,"timestamp_seconds":1792122447,"priority":1,"record_length":96,"hex_timestamp":"000001a142d26498"} 
[2026-10-16 09:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:18: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-10-16 09: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 09:18: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-10-16 09: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-10-16 09:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":219727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":219727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":219727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783342848001,"66":14396,"18":206,"28":32256,"24":36,"16":36470474275815424,"45":930485934405709824},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783342848001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:18:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36470474275815424,"km_value":36470474275815.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":930485934405709824,"description":"Unknown IO ID 45"} 
[2026-10-16 09:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783342848001,"power":14396,"unknown_18":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":930485934405709824}} 
[2026-10-16 09:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":219727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045586,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:18:12] local.INFO: GPS data processed {"connection_id":219727,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:18:12] local.INFO: Acknowledgment sent {"connection_id":219727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:18:16] local.INFO: TCP Data received {"connection_id":217996,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:18:16] local.INFO: Processing buffer {"connection_id":217996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:18:16] local.INFO: IMEI packet received {"connection_id":217996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":217996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:18:21] local.INFO: TCP Data received {"connection_id":216457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:18:21] local.INFO: Processing buffer {"connection_id":216457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:18:21] local.INFO: IMEI packet received {"connection_id":216457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":216457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:18:22] local.INFO: TCP Data received {"connection_id":217996,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:18:22] local.INFO: Processing buffer {"connection_id":217996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:18:22] local.INFO: IMEI packet received {"connection_id":217996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":217996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:18:23] local.INFO: TCP Data received {"connection_id":217996,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:18:23] local.INFO: Processing buffer {"connection_id":217996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:18:23] local.INFO: Packet analysis {"connection_id":217996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:18:23] local.INFO: Extracted packet for processing {"connection_id":217996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:18:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122335000,"timestamp_ms":1792122335000,"timestamp_seconds":1792122335,"priority":1,"record_length":96,"hex_timestamp":"000001a142d0af18"} 
[2026-10-16 09:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:18:23] 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-10-16 09:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:18:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:18:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 09:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":217996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:18:23] local.INFO: GPS data processed {"connection_id":217996,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:18:23] local.INFO: Acknowledgment sent {"connection_id":217996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:18:26] local.INFO: TCP Data received {"connection_id":216457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:18:26] local.INFO: Processing buffer {"connection_id":216457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:18:26] local.INFO: IMEI packet received {"connection_id":216457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":216457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:18:26] local.INFO: TCP Data received {"connection_id":216457,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d22de8012d7a62c005eb96680013010224..."} 
[2026-10-16 09:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d22de8012d7a62c005eb96680013010224..."} 
[2026-10-16 09:18:26] local.INFO: Processing buffer {"connection_id":216457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d22de8012d7a62c005eb96680013010224..."} 
[2026-10-16 09:18:26] local.INFO: Packet analysis {"connection_id":216457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:18:26] local.INFO: Extracted packet for processing {"connection_id":216457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:18:26] local.INFO: GPS Element Parsed {"raw_longitude":762995392,"raw_latitude":99325544,"longitude_deg":76.2995392,"latitude_deg":9.9325544,"altitude":19,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d7a62c0","hex_latitude":"05eb9668","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783337472001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484479484395520,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818822152004724736,"note":"Value kept but may cause issues"} 
[2026-10-16 09: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-10-16 09:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792122433000,"timestamp_ms":1792122433000,"timestamp_seconds":1792122433,"priority":1,"record_length":96,"hex_timestamp":"000001a142d22de8"} 
[2026-10-16 09:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 09:18:26] 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-10-16 09: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-10-16 09:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783337472001,"66":13515,"161":206,"87":13824,"24":0,"16":145484479484395520,"45":8818822152004724736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783337472001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:18:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:18:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484479484395520,"km_value":145484479484395.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818822152004724736,"description":"Unknown IO ID 45"} 
[2026-10-16 09:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783337472001,"power":13515,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8818822152004724736}} 
[2026-10-16 09:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":216457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:18:26] local.INFO: GPS data processed {"connection_id":216457,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:18:26] local.INFO: Acknowledgment sent {"connection_id":216457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:18:43] local.INFO: TCP Data received {"connection_id":219727,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d327e8012d0d3b4007049cd8001b00bc23..."} 
[2026-10-16 09:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d327e8012d0d3b4007049cd8001b00bc23..."} 
[2026-10-16 09:18:43] local.INFO: Processing buffer {"connection_id":219727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d327e8012d0d3b4007049cd8001b00bc23..."} 
[2026-10-16 09:18:43] local.INFO: Packet analysis {"connection_id":219727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d3"} 
[2026-10-16 09:18:43] local.INFO: Extracted packet for processing {"connection_id":219727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d3"} 
[2026-10-16 09:18:43] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":117742808,"longitude_deg":75.5841856,"latitude_deg":11.7742808,"altitude":27,"angle":188,"satellites":35,"speed":6,"hex_longitude":"2d0d3b40","hex_latitude":"07049cd8","is_valid_coordinates":true} 
[2026-10-16 09:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783357696001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36471410578685952,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953496513749790720,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:43] 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-10-16 09:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792122497000,"timestamp_ms":1792122497000,"timestamp_seconds":1792122497,"priority":1,"record_length":96,"hex_timestamp":"000001a142d327e8"} 
[2026-10-16 09:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 09:18: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-10-16 09:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":219727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":219727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":219727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783357696001,"66":14439,"18":206,"28":32256,"24":6,"16":36471410578685952,"45":953496513749790720},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783357696001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:18:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:18:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36471410578685952,"km_value":36471410578685.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":953496513749790720,"description":"Unknown IO ID 45"} 
[2026-10-16 09:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783357696001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":953496513749790720}} 
[2026-10-16 09:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":219727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045589,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:18:44] local.INFO: GPS data processed {"connection_id":219727,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:18:44] local.INFO: Acknowledgment sent {"connection_id":219727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:18:55] local.INFO: TCP Data received {"connection_id":217996,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:18:55] local.INFO: Processing buffer {"connection_id":217996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:18:55] local.INFO: Packet analysis {"connection_id":217996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:18:55] local.INFO: Extracted packet for processing {"connection_id":217996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792122335000,"timestamp_ms":1792122335000,"timestamp_seconds":1792122335,"priority":1,"record_length":96,"hex_timestamp":"000001a142d0af18"} 
[2026-10-16 09:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:18:55] 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-10-16 09:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:18:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:18:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 09:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":217996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:18:55] local.INFO: GPS data processed {"connection_id":217996,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:18:55] local.INFO: Acknowledgment sent {"connection_id":217996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:18:57] local.INFO: TCP Data received {"connection_id":216457,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d25110012d7a5c4005eb93f8001000ec26..."} 
[2026-10-16 09:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d25110012d7a5c4005eb93f8001000ec26..."} 
[2026-10-16 09:18:57] local.INFO: Processing buffer {"connection_id":216457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d25110012d7a5c4005eb93f8001000ec26..."} 
[2026-10-16 09:18:57] local.INFO: Packet analysis {"connection_id":216457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:18:57] local.INFO: Extracted packet for processing {"connection_id":216457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:18:57] local.INFO: GPS Element Parsed {"raw_longitude":762993728,"raw_latitude":99324920,"longitude_deg":76.2993728,"latitude_deg":9.932492,"altitude":16,"angle":236,"satellites":38,"speed":4,"hex_longitude":"2d7a5c40","hex_latitude":"05eb93f8","is_valid_coordinates":true} 
[2026-10-16 09:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783342848001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484565383741440,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818822152004724736,"note":"Value kept but may cause issues"} 
[2026-10-16 09:18:57] 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-10-16 09:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792122442000,"timestamp_ms":1792122442000,"timestamp_seconds":1792122442,"priority":1,"record_length":96,"hex_timestamp":"000001a142d25110"} 
[2026-10-16 09:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-16 09:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783342848001,"66":12819,"161":206,"87":13824,"24":4,"16":145484565383741440,"45":8818822152004724736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783342848001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:18:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:18:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484565383741440,"km_value":145484565383741.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818822152004724736,"description":"Unknown IO ID 45"} 
[2026-10-16 09:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783342848001,"power":12819,"unknown_161":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8818822152004724736}} 
[2026-10-16 09:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":216457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:18:57] local.INFO: GPS data processed {"connection_id":216457,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:18:57] local.INFO: Acknowledgment sent {"connection_id":216457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:19:03] local.INFO: TCP Data received {"connection_id":217997,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217997,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:19:03] local.INFO: Processing buffer {"connection_id":217997,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:19:03] local.INFO: IMEI packet received {"connection_id":217997,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":217997,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:19:08] local.INFO: TCP Data received {"connection_id":217997,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217997,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:19:08] local.INFO: Processing buffer {"connection_id":217997,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:19:08] local.INFO: IMEI packet received {"connection_id":217997,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":217997,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:19:11] local.INFO: TCP Data received {"connection_id":217997,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d333a0012d0d3ac007049a88001a00b023..."} 
[2026-10-16 09:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d333a0012d0d3ac007049a88001a00b023..."} 
[2026-10-16 09:19:11] local.INFO: Processing buffer {"connection_id":217997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d333a0012d0d3ac007049a88001a00b023..."} 
[2026-10-16 09:19:11] local.INFO: Packet analysis {"connection_id":217997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d3"} 
[2026-10-16 09:19:11] local.INFO: Extracted packet for processing {"connection_id":217997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d3"} 
[2026-10-16 09:19:11] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117742216,"longitude_deg":75.5841728,"latitude_deg":11.7742216,"altitude":26,"angle":176,"satellites":35,"speed":7,"hex_longitude":"2d0d3ac0","hex_latitude":"07049a88","is_valid_coordinates":true} 
[2026-10-16 09:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783359232001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36471440643457024,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145005328384,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:11] 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-10-16 09:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792122500000,"timestamp_ms":1792122500000,"timestamp_seconds":1792122500,"priority":1,"record_length":96,"hex_timestamp":"000001a142d333a0"} 
[2026-10-16 09:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:19: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-10-16 09:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 09:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":217997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":217997,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":217997,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783359232001,"66":14309,"18":206,"28":32256,"24":7,"16":36471440643457024,"45":953426145005328384},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783359232001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:19:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36471440643457024,"km_value":36471440643457.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145005328384,"description":"Unknown IO ID 45"} 
[2026-10-16 09:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783359232001,"power":14309,"unknown_18":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":953426145005328384}} 
[2026-10-16 09:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":217997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:19:11] local.INFO: GPS data processed {"connection_id":217997,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:19:11] local.INFO: Acknowledgment sent {"connection_id":217997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:19:16] local.INFO: TCP Data received {"connection_id":219729,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:19:16] local.INFO: Processing buffer {"connection_id":219729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:19:16] local.INFO: IMEI packet received {"connection_id":219729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":219729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:19:21] local.INFO: TCP Data received {"connection_id":216652,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:21] local.INFO: Processing buffer {"connection_id":216652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:21] local.INFO: IMEI packet received {"connection_id":216652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":216652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:19:22] local.INFO: TCP Data received {"connection_id":216652,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:22] local.INFO: Processing buffer {"connection_id":216652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:22] local.INFO: IMEI packet received {"connection_id":216652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":216652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:19:22] local.INFO: TCP Data received {"connection_id":219729,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:19:22] local.INFO: Processing buffer {"connection_id":219729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:19:22] local.INFO: IMEI packet received {"connection_id":219729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":219729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:19:23] local.INFO: TCP Data received {"connection_id":216652,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:23] local.INFO: Processing buffer {"connection_id":216652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:23] local.INFO: IMEI packet received {"connection_id":216652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":216652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:19:24] local.INFO: TCP Data received {"connection_id":219729,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:19:24] local.INFO: Processing buffer {"connection_id":219729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:19:24] local.INFO: Packet analysis {"connection_id":219729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:19:24] local.INFO: Extracted packet for processing {"connection_id":219729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792122335000,"timestamp_ms":1792122335000,"timestamp_seconds":1792122335,"priority":1,"record_length":96,"hex_timestamp":"000001a142d0af18"} 
[2026-10-16 09:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:19:24] 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-10-16 09:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:19:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:19:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 09:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":219729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:19:24] local.INFO: GPS data processed {"connection_id":219729,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:19:24] local.INFO: Acknowledgment sent {"connection_id":219729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:19:25] local.INFO: TCP Data received {"connection_id":216652,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:25] local.INFO: Processing buffer {"connection_id":216652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:19:25] local.INFO: IMEI packet received {"connection_id":216652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":216652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:19:26] local.INFO: TCP Data received {"connection_id":216652,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d258e0012d7a5b4005eb9388000f010827..."} 
[2026-10-16 09:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d258e0012d7a5b4005eb9388000f010827..."} 
[2026-10-16 09:19:26] local.INFO: Processing buffer {"connection_id":216652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d258e0012d7a5b4005eb9388000f010827..."} 
[2026-10-16 09:19:26] local.INFO: Packet analysis {"connection_id":216652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:19:26] local.INFO: Extracted packet for processing {"connection_id":216652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d2"} 
[2026-10-16 09:19:26] local.INFO: GPS Element Parsed {"raw_longitude":762993472,"raw_latitude":99324808,"longitude_deg":76.2993472,"latitude_deg":9.9324808,"altitude":15,"angle":264,"satellites":39,"speed":2,"hex_longitude":"2d7a5b40","hex_latitude":"05eb9388","is_valid_coordinates":true} 
[2026-10-16 09:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783345152001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484578268643328,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816992564655945728,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19: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-10-16 09:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792122444000,"timestamp_ms":1792122444000,"timestamp_seconds":1792122444,"priority":1,"record_length":96,"hex_timestamp":"000001a142d258e0"} 
[2026-10-16 09:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-3407280976303593088,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505819542716416,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2542272531,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3712352256,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6413389756465742080,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3287910089183592472,"corrected_to":0} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":90,"raw_value":4160826746,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221613465,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182221119684864,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485613,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1470082230389769439,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504628754123902551,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195359488,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84858561527933849,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.WARNING: Large IO value detected {"io_id":56,"raw_value":5349103114387456,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,161,87,24,241,157,16,221,45,192,150,19,36,10,66,219,37,141,64,1,240,218,227,235,4,113,205,2,90,105,176,34,239,55,5,52,54,68,69,224,56],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3287910089183592472,"validated":0}]} 
[2026-10-16 09:19:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153181152560021504,"timestamp_seconds":1153181152560021.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783345152001,"66":12819,"161":206,"87":13824,"24":2,"16":145484578268643328,"45":8816992564655945728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783345152001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:19:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:19:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484578268643328,"km_value":145484578268643.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816992564655945728,"description":"Unknown IO ID 45"} 
[2026-10-16 09:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783345152001,"power":12819,"unknown_161":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8816992564655945728}} 
[2026-10-16 09:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":216652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:19:26] local.INFO: GPS data processed {"connection_id":216652,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:19:26] local.INFO: Acknowledgment sent {"connection_id":216652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:19:44] local.INFO: TCP Data received {"connection_id":217997,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d35ab0012d0d3a4007048ab0001900bc23..."} 
[2026-10-16 09:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d35ab0012d0d3a4007048ab0001900bc23..."} 
[2026-10-16 09:19:44] local.INFO: Processing buffer {"connection_id":217997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d35ab0012d0d3a4007048ab0001900bc23..."} 
[2026-10-16 09:19:44] local.INFO: Packet analysis {"connection_id":217997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d3"} 
[2026-10-16 09:19:44] local.INFO: Extracted packet for processing {"connection_id":217997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d3"} 
[2026-10-16 09:19:44] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117738160,"longitude_deg":75.58416,"latitude_deg":11.773816,"altitude":25,"angle":188,"satellites":35,"speed":20,"hex_longitude":"2d0d3a40","hex_latitude":"07048ab0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783360000001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36471638211952640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407516821504,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:44] 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-10-16 09:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792122510000,"timestamp_ms":1792122510000,"timestamp_seconds":1792122510,"priority":1,"record_length":96,"hex_timestamp":"000001a142d35ab0"} 
[2026-10-16 09:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:19: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-10-16 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 09:19:44] 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-10-16 09: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-10-16 09:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":217997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":217997,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":217997,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783360000001,"66":14265,"18":206,"28":32256,"24":20,"16":36471638211952640,"45":953285407516821504},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783360000001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:19:44] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:19:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36471638211952640,"km_value":36471638211952.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407516821504,"description":"Unknown IO ID 45"} 
[2026-10-16 09:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783360000001,"power":14265,"unknown_18":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":953285407516821504}} 
[2026-10-16 09:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":217997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:19:44] local.INFO: GPS data processed {"connection_id":217997,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:19:44] local.INFO: Acknowledgment sent {"connection_id":217997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:19:55] local.INFO: TCP Data received {"connection_id":219729,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:19:55] local.INFO: Processing buffer {"connection_id":219729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:19:55] local.INFO: Packet analysis {"connection_id":219729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:19:55] local.INFO: Extracted packet for processing {"connection_id":219729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792122335000,"timestamp_ms":1792122335000,"timestamp_seconds":1792122335,"priority":1,"record_length":96,"hex_timestamp":"000001a142d0af18"} 
[2026-10-16 09:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:19:55] 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-10-16 09:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:19:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:19:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 09:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":219729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:19:55] local.INFO: GPS data processed {"connection_id":219729,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:19:55] local.INFO: Acknowledgment sent {"connection_id":219729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:19:56] local.INFO: TCP Data received {"connection_id":219730,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:19:56] local.INFO: Processing buffer {"connection_id":219730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:19:56] local.INFO: IMEI packet received {"connection_id":219730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":219730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:19:57] local.INFO: TCP Data received {"connection_id":216652,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d44128012d7a518005eb9640000c015c27..."} 
[2026-10-16 09:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d44128012d7a518005eb9640000c015c27..."} 
[2026-10-16 09:19:57] local.INFO: Processing buffer {"connection_id":216652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d44128012d7a518005eb9640000c015c27..."} 
[2026-10-16 09:19:57] local.INFO: Packet analysis {"connection_id":216652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:19:57] local.INFO: Extracted packet for processing {"connection_id":216652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:19:57] local.INFO: GPS Element Parsed {"raw_longitude":762990976,"raw_latitude":99325504,"longitude_deg":76.2990976,"latitude_deg":9.9325504,"altitude":12,"angle":348,"satellites":39,"speed":0,"hex_longitude":"2d7a5180","hex_latitude":"05eb9640","is_valid_coordinates":true} 
[2026-10-16 09:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783376640001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484728592498688,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814107446144747520,"note":"Value kept but may cause issues"} 
[2026-10-16 09:19:57] 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-10-16 09:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792122569000,"timestamp_ms":1792122569000,"timestamp_seconds":1792122569,"priority":1,"record_length":96,"hex_timestamp":"000001a142d44128"} 
[2026-10-16 09:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 09:19:57] 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-10-16 09:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783376640001,"66":13135,"163":206,"87":13824,"24":0,"16":145484728592498688,"45":8814107446144747520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783376640001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:19:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:19:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484728592498688,"km_value":145484728592498.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814107446144747520,"description":"Unknown IO ID 45"} 
[2026-10-16 09:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783376640001,"power":13135,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8814107446144747520}} 
[2026-10-16 09:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":216652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:19:57] local.INFO: GPS data processed {"connection_id":216652,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:19:57] local.INFO: Acknowledgment sent {"connection_id":216652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:20:03] local.INFO: TCP Data received {"connection_id":217998,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217998,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:20:03] local.INFO: Processing buffer {"connection_id":217998,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:20:03] local.INFO: IMEI packet received {"connection_id":217998,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":217998,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:20:08] local.INFO: TCP Data received {"connection_id":217998,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217998,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:20:08] local.INFO: Processing buffer {"connection_id":217998,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:20:08] local.INFO: IMEI packet received {"connection_id":217998,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":217998,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:20:09] local.INFO: TCP Data received {"connection_id":217998,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d3a100012d0d3740070474c8001500cd23..."} 
[2026-10-16 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d3a100012d0d3740070474c8001500cd23..."} 
[2026-10-16 09:20:09] local.INFO: Processing buffer {"connection_id":217998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d3a100012d0d3740070474c8001500cd23..."} 
[2026-10-16 09:20:09] local.INFO: Packet analysis {"connection_id":217998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d3"} 
[2026-10-16 09:20:09] local.INFO: Extracted packet for processing {"connection_id":217998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d3"} 
[2026-10-16 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":755840832,"raw_latitude":117732552,"longitude_deg":75.5840832,"latitude_deg":11.7732552,"altitude":21,"angle":205,"satellites":35,"speed":17,"hex_longitude":"2d0d3740","hex_latitude":"070474c8","is_valid_coordinates":true} 
[2026-10-16 09:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783362560001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36471917384826880,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670027427840,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:09] 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-10-16 09:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792122528000,"timestamp_ms":1792122528000,"timestamp_seconds":1792122528,"priority":1,"record_length":96,"hex_timestamp":"000001a142d3a100"} 
[2026-10-16 09:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:20: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-10-16 09:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 09:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":217998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":217998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":217998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783362560001,"66":14439,"18":206,"28":32256,"24":17,"16":36471917384826880,"45":953144670027427840},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783362560001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:20:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:20:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36471917384826880,"km_value":36471917384826.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670027427840,"description":"Unknown IO ID 45"} 
[2026-10-16 09:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783362560001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":953144670027427840}} 
[2026-10-16 09:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":217998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045598,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:20:09] local.INFO: GPS data processed {"connection_id":217998,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:20:09] local.INFO: Acknowledgment sent {"connection_id":217998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:20:21] local.INFO: TCP Data received {"connection_id":216458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:20:21] local.INFO: Processing buffer {"connection_id":216458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:20:21] local.INFO: IMEI packet received {"connection_id":216458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":216458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:20:21] local.INFO: TCP Data received {"connection_id":216458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:20:21] local.INFO: Processing buffer {"connection_id":216458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:20:21] local.INFO: IMEI packet received {"connection_id":216458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":216458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:20:22] local.INFO: TCP Data received {"connection_id":219731,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:20:22] local.INFO: Processing buffer {"connection_id":219731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:20:22] local.INFO: IMEI packet received {"connection_id":219731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":219731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:20:26] local.INFO: TCP Data received {"connection_id":216458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:20:26] local.INFO: Processing buffer {"connection_id":216458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:20:26] local.INFO: IMEI packet received {"connection_id":216458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":216458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:20:27] local.INFO: TCP Data received {"connection_id":216458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d44510012d7a510005eb96a0000b014e27..."} 
[2026-10-16 09:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d44510012d7a510005eb96a0000b014e27..."} 
[2026-10-16 09:20:27] local.INFO: Processing buffer {"connection_id":216458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d44510012d7a510005eb96a0000b014e27..."} 
[2026-10-16 09:20:27] local.INFO: Packet analysis {"connection_id":216458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:20:27] local.INFO: Extracted packet for processing {"connection_id":216458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:20:27] local.INFO: GPS Element Parsed {"raw_longitude":762990848,"raw_latitude":99325600,"longitude_deg":76.2990848,"latitude_deg":9.93256,"altitude":11,"angle":334,"satellites":39,"speed":3,"hex_longitude":"2d7a5100","hex_latitude":"05eb96a0","is_valid_coordinates":true} 
[2026-10-16 09:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783377664001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484737182433280,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813966708656455680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:27] 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-10-16 09:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792122570000,"timestamp_ms":1792122570000,"timestamp_seconds":1792122570,"priority":1,"record_length":96,"hex_timestamp":"000001a142d44510"} 
[2026-10-16 09:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-16 09:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783377664001,"66":13135,"163":206,"87":13824,"24":3,"16":145484737182433280,"45":8813966708656455680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783377664001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:20:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:20:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484737182433280,"km_value":145484737182433.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813966708656455680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783377664001,"power":13135,"unknown_163":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8813966708656455680}} 
[2026-10-16 09:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":216458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:20:27] local.INFO: GPS data processed {"connection_id":216458,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:20:27] local.INFO: Acknowledgment sent {"connection_id":216458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:20:27] local.INFO: TCP Data received {"connection_id":219731,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:20:27] local.INFO: Processing buffer {"connection_id":219731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:20:27] local.INFO: IMEI packet received {"connection_id":219731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":219731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:20:29] local.INFO: TCP Data received {"connection_id":219731,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:20:29] local.INFO: Processing buffer {"connection_id":219731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:20:29] local.INFO: Packet analysis {"connection_id":219731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:20:29] local.INFO: Extracted packet for processing {"connection_id":219731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792122335000,"timestamp_ms":1792122335000,"timestamp_seconds":1792122335,"priority":1,"record_length":96,"hex_timestamp":"000001a142d0af18"} 
[2026-10-16 09:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:20:29] 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-10-16 09:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:20:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:20:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 09:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":219731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:20:29] local.INFO: GPS data processed {"connection_id":219731,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:20:29] local.INFO: Acknowledgment sent {"connection_id":219731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:20:32] local.INFO: TCP Data received {"connection_id":219731,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:20:32] local.INFO: Processing buffer {"connection_id":219731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d0af18012d7fa40005afce580009000a2c..."} 
[2026-10-16 09:20:32] local.INFO: Packet analysis {"connection_id":219731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:20:32] local.INFO: Extracted packet for processing {"connection_id":219731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d0"} 
[2026-10-16 09:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783240704001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792122335000,"timestamp_ms":1792122335000,"timestamp_seconds":1792122335,"priority":1,"record_length":96,"hex_timestamp":"000001a142d0af18"} 
[2026-10-16 09:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783240704001,"66":25875,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783240704001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:20:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 09:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783240704001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 09:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":219731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:20:32] local.INFO: GPS data processed {"connection_id":219731,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:20:32] local.INFO: Acknowledgment sent {"connection_id":219731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:20:42] local.INFO: TCP Data received {"connection_id":217998,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d4f0f0012d0d274007041978001700ae23..."} 
[2026-10-16 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d4f0f0012d0d274007041978001700ae23..."} 
[2026-10-16 09:20:42] local.INFO: Processing buffer {"connection_id":217998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d4f0f0012d0d274007041978001700ae23..."} 
[2026-10-16 09:20:42] local.INFO: Packet analysis {"connection_id":217998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:20:42] local.INFO: Extracted packet for processing {"connection_id":217998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":755836736,"raw_latitude":117709176,"longitude_deg":75.5836736,"latitude_deg":11.7709176,"altitude":23,"angle":174,"satellites":35,"speed":9,"hex_longitude":"2d0d2740","hex_latitude":"07041978","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783387648001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36473094205865984,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947796645462986752,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:42] 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-10-16 09:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792122614000,"timestamp_ms":1792122614000,"timestamp_seconds":1792122614,"priority":1,"record_length":96,"hex_timestamp":"000001a142d4f0f0"} 
[2026-10-16 09:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:20:42] 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-10-16 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 09:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":217998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":217998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":217998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783387648001,"66":13798,"18":206,"28":32256,"24":9,"16":36473094205865984,"45":947796645462986752},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783387648001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:20:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:20:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36473094205865984,"km_value":36473094205865.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":947796645462986752,"description":"Unknown IO ID 45"} 
[2026-10-16 09:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783387648001,"power":13798,"unknown_18":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":947796645462986752}} 
[2026-10-16 09:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":217998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:20:42] local.INFO: GPS data processed {"connection_id":217998,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:20:42] local.INFO: Acknowledgment sent {"connection_id":217998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:20:58] local.INFO: TCP Data received {"connection_id":216458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d49330012d7a4f4005eb9a200008015626..."} 
[2026-10-16 09:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d49330012d7a4f4005eb9a200008015626..."} 
[2026-10-16 09:20:58] local.INFO: Processing buffer {"connection_id":216458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d49330012d7a4f4005eb9a200008015626..."} 
[2026-10-16 09:20:58] local.INFO: Packet analysis {"connection_id":216458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:20:58] local.INFO: Extracted packet for processing {"connection_id":216458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:20:58] local.INFO: GPS Element Parsed {"raw_longitude":762990400,"raw_latitude":99326496,"longitude_deg":76.29904,"latitude_deg":9.9326496,"altitude":8,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7a4f40","hex_latitude":"05eb9a20","is_valid_coordinates":true} 
[2026-10-16 09:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783377920001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484788722040832,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813825971168124928,"note":"Value kept but may cause issues"} 
[2026-10-16 09:20:58] 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-10-16 09:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792122590000,"timestamp_ms":1792122590000,"timestamp_seconds":1792122590,"priority":1,"record_length":96,"hex_timestamp":"000001a142d49330"} 
[2026-10-16 09:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-16 09:20:58] 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-10-16 09:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783377920001,"66":13646,"163":206,"87":13824,"24":0,"16":145484788722040832,"45":8813825971168124928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783377920001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:20:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:20:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484788722040832,"km_value":145484788722040.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813825971168124928,"description":"Unknown IO ID 45"} 
[2026-10-16 09:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783377920001,"power":13646,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8813825971168124928}} 
[2026-10-16 09:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":216458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:20:58] local.INFO: GPS data processed {"connection_id":216458,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:20:58] local.INFO: Acknowledgment sent {"connection_id":216458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:21:08] local.INFO: TCP Data received {"connection_id":216655,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216655,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:21:08] local.INFO: Processing buffer {"connection_id":216655,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:21:08] local.INFO: IMEI packet received {"connection_id":216655,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":216655,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:21:12] local.INFO: TCP Data received {"connection_id":216655,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216655,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:21:12] local.INFO: Processing buffer {"connection_id":216655,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:21:12] local.INFO: IMEI packet received {"connection_id":216655,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":216655,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:21:13] local.INFO: TCP Data received {"connection_id":216656,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:21:13] local.INFO: Processing buffer {"connection_id":216656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:21:13] local.INFO: IMEI packet received {"connection_id":216656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":216656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:21:13] local.INFO: TCP Data received {"connection_id":216655,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d52b88012d0d29c007040950001800bd23..."} 
[2026-10-16 09:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d52b88012d0d29c007040950001800bd23..."} 
[2026-10-16 09:21:13] local.INFO: Processing buffer {"connection_id":216655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d52b88012d0d29c007040950001800bd23..."} 
[2026-10-16 09:21:13] local.INFO: Packet analysis {"connection_id":216655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:13] local.INFO: Extracted packet for processing {"connection_id":216655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:13] local.INFO: GPS Element Parsed {"raw_longitude":755837376,"raw_latitude":117705040,"longitude_deg":75.5837376,"latitude_deg":11.770504,"altitude":24,"angle":189,"satellites":35,"speed":8,"hex_longitude":"2d0d29c0","hex_latitude":"07040950","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783389184001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36473300364296192,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947796645462505472,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:13] 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-10-16 09:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792122629000,"timestamp_ms":1792122629000,"timestamp_seconds":1792122629,"priority":1,"record_length":96,"hex_timestamp":"000001a142d52b88"} 
[2026-10-16 09:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:21: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-10-16 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 09:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783389184001,"66":14396,"18":206,"28":32256,"24":8,"16":36473300364296192,"45":947796645462505472},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783389184001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:21:13] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:21:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36473300364296192,"km_value":36473300364296.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":947796645462505472,"description":"Unknown IO ID 45"} 
[2026-10-16 09:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783389184001,"power":14396,"unknown_18":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":947796645462505472}} 
[2026-10-16 09:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":216655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045604,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:21:13] local.INFO: GPS data processed {"connection_id":216655,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:21:13] local.INFO: Acknowledgment sent {"connection_id":216655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:21:14] local.INFO: TCP Data received {"connection_id":216656,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d1ff08012d199ac0071fefd8003f011429..."} 
[2026-10-16 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d1ff08012d199ac0071fefd8003f011429..."} 
[2026-10-16 09:21:14] local.INFO: Processing buffer {"connection_id":216656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d1ff08012d199ac0071fefd8003f011429..."} 
[2026-10-16 09:21:14] local.INFO: Packet analysis {"connection_id":216656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d1"} 
[2026-10-16 09:21:14] local.INFO: Extracted packet for processing {"connection_id":216656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d1"} 
[2026-10-16 09:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756652736,"raw_latitude":119533528,"longitude_deg":75.6652736,"latitude_deg":11.9533528,"altitude":63,"angle":276,"satellites":41,"speed":9,"hex_longitude":"2d199ac0","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783338496001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093213579411456,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846546246566653952,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792122421000,"timestamp_ms":1792122421000,"timestamp_seconds":1792122421,"priority":1,"record_length":96,"hex_timestamp":"000001a142d1ff08"} 
[2026-10-16 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-10-16 09:21:14] 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-10-16 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-10-16 09:21:14] 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-10-16 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-10-16 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-10-16 09:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783338496001,"66":13124,"101":206,"83":41984,"24":9,"16":28093213579411456,"45":1846546246566653952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 09:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783338496001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:21:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 09:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093213579411456,"km_value":28093213579411.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846546246566653952,"description":"Unknown IO ID 45"} 
[2026-10-16 09:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783338496001,"power":13124,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1846546246566653952}} 
[2026-10-16 09:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":216656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:21:14] local.INFO: GPS data processed {"connection_id":216656,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:21:14] local.INFO: Acknowledgment sent {"connection_id":216656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:21:14] local.INFO: TCP Data received {"connection_id":217999,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:21:14] local.INFO: Processing buffer {"connection_id":217999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:21:14] local.INFO: IMEI packet received {"connection_id":217999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":217999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:21:15] local.INFO: TCP Data received {"connection_id":216655,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d53b28012d0d2980070405e0001800ae22..."} 
[2026-10-16 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d53b28012d0d2980070405e0001800ae22..."} 
[2026-10-16 09:21:15] local.INFO: Processing buffer {"connection_id":216655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d53b28012d0d2980070405e0001800ae22..."} 
[2026-10-16 09:21:15] local.INFO: Packet analysis {"connection_id":216655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:15] local.INFO: Extracted packet for processing {"connection_id":216655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":755837312,"raw_latitude":117704160,"longitude_deg":75.5837312,"latitude_deg":11.770416,"altitude":24,"angle":174,"satellites":34,"speed":9,"hex_longitude":"2d0d2980","hex_latitude":"070405e0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783393024001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36473343313969152,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948500332903223296,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:15] 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-10-16 09:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792122633000,"timestamp_ms":1792122633000,"timestamp_seconds":1792122633,"priority":1,"record_length":96,"hex_timestamp":"000001a142d53b28"} 
[2026-10-16 09:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 09:21: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-10-16 09: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-10-16 09:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783393024001,"66":14537,"18":206,"28":32256,"24":9,"16":36473343313969152,"45":948500332903223296},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783393024001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:21:15] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:21:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36473343313969152,"km_value":36473343313969.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":948500332903223296,"description":"Unknown IO ID 45"} 
[2026-10-16 09:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783393024001,"power":14537,"unknown_18":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":948500332903223296}} 
[2026-10-16 09:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":216655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:21:15] local.INFO: GPS data processed {"connection_id":216655,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:21:15] local.INFO: Acknowledgment sent {"connection_id":216655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:21:16] local.INFO: TCP Data received {"connection_id":217999,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:21:16] local.INFO: Processing buffer {"connection_id":217999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:21:16] local.INFO: IMEI packet received {"connection_id":217999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":217999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:21:20] local.INFO: TCP Data received {"connection_id":218000,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:21] local.INFO: Processing buffer {"connection_id":218000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:21] local.INFO: IMEI packet received {"connection_id":218000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":218000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:21:22] local.INFO: TCP Data received {"connection_id":217999,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:21:22] local.INFO: Processing buffer {"connection_id":217999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:21:22] local.INFO: IMEI packet received {"connection_id":217999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":217999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:21:23] local.INFO: TCP Data received {"connection_id":217999,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:21:23] local.INFO: Processing buffer {"connection_id":217999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:21:23] local.INFO: Packet analysis {"connection_id":217999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:23] local.INFO: Extracted packet for processing {"connection_id":217999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:21:23] 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-10-16 09:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:21:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:21:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":217999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:21:23] local.INFO: GPS data processed {"connection_id":217999,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:21:23] local.INFO: Acknowledgment sent {"connection_id":217999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:21:23] local.INFO: TCP Data received {"connection_id":218000,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:23] local.INFO: Processing buffer {"connection_id":218000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:23] local.INFO: IMEI packet received {"connection_id":218000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":218000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:21:24] local.INFO: TCP Data received {"connection_id":218000,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:24] local.INFO: Processing buffer {"connection_id":218000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:24] local.INFO: IMEI packet received {"connection_id":218000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":218000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:21:26] local.INFO: TCP Data received {"connection_id":218000,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:26] local.INFO: Processing buffer {"connection_id":218000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:21:26] local.INFO: IMEI packet received {"connection_id":218000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":218000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:21:27] local.INFO: TCP Data received {"connection_id":218000,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d4e538012d7a4cc005eba0e80005014e26..."} 
[2026-10-16 09:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d4e538012d7a4cc005eba0e80005014e26..."} 
[2026-10-16 09:21:27] local.INFO: Processing buffer {"connection_id":218000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d4e538012d7a4cc005eba0e80005014e26..."} 
[2026-10-16 09:21:27] local.INFO: Packet analysis {"connection_id":218000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:21:27] local.INFO: Extracted packet for processing {"connection_id":218000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:21:27] local.INFO: GPS Element Parsed {"raw_longitude":762989760,"raw_latitude":99328232,"longitude_deg":76.298976,"latitude_deg":9.9328232,"altitude":5,"angle":334,"satellites":38,"speed":7,"hex_longitude":"2d7a4cc0","hex_latitude":"05eba0e8","is_valid_coordinates":true} 
[2026-10-16 09:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783383040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484883211321344,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813333389959110656,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:27] 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-10-16 09:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792122611000,"timestamp_ms":1792122611000,"timestamp_seconds":1792122611,"priority":1,"record_length":96,"hex_timestamp":"000001a142d4e538"} 
[2026-10-16 09:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 09:21:27] 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-10-16 09:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783383040001,"66":12917,"163":206,"87":13824,"24":7,"16":145484883211321344,"45":8813333389959110656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783383040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:21:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:21:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484883211321344,"km_value":145484883211321.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813333389959110656,"description":"Unknown IO ID 45"} 
[2026-10-16 09:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783383040001,"power":12917,"unknown_163":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8813333389959110656}} 
[2026-10-16 09:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":218000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:21:27] local.INFO: GPS data processed {"connection_id":218000,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:21:27] local.INFO: Acknowledgment sent {"connection_id":218000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:21:47] local.INFO: TCP Data received {"connection_id":216655,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d58d30012d0d2b000703e608001600b522..."} 
[2026-10-16 09:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d58d30012d0d2b000703e608001600b522..."} 
[2026-10-16 09:21:47] local.INFO: Processing buffer {"connection_id":216655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d58d30012d0d2b000703e608001600b522..."} 
[2026-10-16 09:21:47] local.INFO: Packet analysis {"connection_id":216655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:47] local.INFO: Extracted packet for processing {"connection_id":216655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:47] local.INFO: GPS Element Parsed {"raw_longitude":755837696,"raw_latitude":117696008,"longitude_deg":75.5837696,"latitude_deg":11.7696008,"altitude":22,"angle":181,"satellites":34,"speed":21,"hex_longitude":"2d0d2b00","hex_latitude":"0703e608","is_valid_coordinates":true} 
[2026-10-16 09:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394048001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36473738450960384,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948429964158820352,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:47] 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-10-16 09:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792122654000,"timestamp_ms":1792122654000,"timestamp_seconds":1792122654,"priority":1,"record_length":96,"hex_timestamp":"000001a142d58d30"} 
[2026-10-16 09:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:21:47] 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-10-16 09:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 09:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394048001,"66":14428,"18":206,"28":32256,"24":21,"16":36473738450960384,"45":948429964158820352},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394048001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:21:47] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:21:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36473738450960384,"km_value":36473738450960.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":948429964158820352,"description":"Unknown IO ID 45"} 
[2026-10-16 09:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394048001,"power":14428,"unknown_18":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":948429964158820352}} 
[2026-10-16 09:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":216655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:21:47] local.INFO: GPS data processed {"connection_id":216655,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:21:47] local.INFO: Acknowledgment sent {"connection_id":216655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:21:48] local.INFO: TCP Data received {"connection_id":216656,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d579a8012d197bc0071fecb8003b010b2b..."} 
[2026-10-16 09:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d579a8012d197bc0071fecb8003b010b2b..."} 
[2026-10-16 09:21:48] local.INFO: Processing buffer {"connection_id":216656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d579a8012d197bc0071fecb8003b010b2b..."} 
[2026-10-16 09:21:48] local.INFO: Packet analysis {"connection_id":216656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:48] local.INFO: Extracted packet for processing {"connection_id":216656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756644800,"raw_latitude":119532728,"longitude_deg":75.66448,"latitude_deg":11.9532728,"altitude":59,"angle":267,"satellites":43,"speed":13,"hex_longitude":"2d197bc0","hex_latitude":"071fecb8","is_valid_coordinates":true} 
[2026-10-16 09:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783397888001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093604421435392,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836694622381598720,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792122649000,"timestamp_ms":1792122649000,"timestamp_seconds":1792122649,"priority":1,"record_length":96,"hex_timestamp":"000001a142d579a8"} 
[2026-10-16 09:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 09:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783397888001,"66":12428,"102":206,"83":41984,"24":13,"16":28093604421435392,"45":1836694622381598720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783397888001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:21:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:21:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093604421435392,"km_value":28093604421435.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836694622381598720,"description":"Unknown IO ID 45"} 
[2026-10-16 09:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783397888001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1836694622381598720}} 
[2026-10-16 09:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":216656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:21:48] local.INFO: GPS data processed {"connection_id":216656,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:21:48] local.INFO: Acknowledgment sent {"connection_id":216656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:21:55] local.INFO: TCP Data received {"connection_id":217999,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:21:55] local.INFO: Processing buffer {"connection_id":217999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:21:55] local.INFO: Packet analysis {"connection_id":217999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:55] local.INFO: Extracted packet for processing {"connection_id":217999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:21:55] 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-10-16 09:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:21:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:21:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":217999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:21:55] local.INFO: GPS data processed {"connection_id":217999,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:21:55] local.INFO: Acknowledgment sent {"connection_id":217999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:22:00] local.INFO: TCP Data received {"connection_id":216658,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:22:00] local.INFO: Processing buffer {"connection_id":216658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:22:00] local.INFO: IMEI packet received {"connection_id":216658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":216658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:22:04] local.INFO: TCP Data received {"connection_id":216658,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:22:04] local.INFO: Processing buffer {"connection_id":216658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:22:04] local.INFO: IMEI packet received {"connection_id":216658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":216658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:22:07] local.INFO: TCP Data received {"connection_id":219732,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:22:07] local.INFO: Processing buffer {"connection_id":219732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:22:07] local.INFO: IMEI packet received {"connection_id":219732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":219732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:22:09] local.INFO: TCP Data received {"connection_id":216658,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:22:09] local.INFO: Processing buffer {"connection_id":216658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:22:09] local.INFO: IMEI packet received {"connection_id":216658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":216658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:22:10] local.INFO: TCP Data received {"connection_id":216658,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d5ac70012d0d2c000703d670001500a922..."} 
[2026-10-16 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d5ac70012d0d2c000703d670001500a922..."} 
[2026-10-16 09:22:10] local.INFO: Processing buffer {"connection_id":216658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d5ac70012d0d2c000703d670001500a922..."} 
[2026-10-16 09:22:10] local.INFO: Packet analysis {"connection_id":216658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:10] local.INFO: Extracted packet for processing {"connection_id":216658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:10] local.INFO: GPS Element Parsed {"raw_longitude":755837952,"raw_latitude":117692016,"longitude_deg":75.5837952,"latitude_deg":11.7692016,"altitude":21,"angle":169,"satellites":34,"speed":17,"hex_longitude":"2d0d2c00","hex_latitude":"0703d670","is_valid_coordinates":true} 
[2026-10-16 09:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783399424001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36473936019456000,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948852176621799424,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:10] 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-10-16 09:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792122662000,"timestamp_ms":1792122662000,"timestamp_seconds":1792122662,"priority":1,"record_length":96,"hex_timestamp":"000001a142d5ac70"} 
[2026-10-16 09:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:22: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-10-16 09:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 09:22: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-10-16 09:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":216658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":216658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":216658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783399424001,"66":14439,"18":206,"28":32256,"24":17,"16":36473936019456000,"45":948852176621799424},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783399424001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:22:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36473936019456000,"km_value":36473936019456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":948852176621799424,"description":"Unknown IO ID 45"} 
[2026-10-16 09:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783399424001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":948852176621799424}} 
[2026-10-16 09:22:10] local.INFO: TCP Data received {"connection_id":218000,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d4f4d8012d7a4b8005eba2e80005015a27..."} 
[2026-10-16 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d4f4d8012d7a4b8005eba2e80005015a27..."} 
[2026-10-16 09:22:10] local.INFO: Processing buffer {"connection_id":218000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d4f4d8012d7a4b8005eba2e80005015a27..."} 
[2026-10-16 09:22:10] local.INFO: Packet analysis {"connection_id":218000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:22:10] local.INFO: Extracted packet for processing {"connection_id":218000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d4"} 
[2026-10-16 09:22:10] local.INFO: GPS Element Parsed {"raw_longitude":762989440,"raw_latitude":99328744,"longitude_deg":76.298944,"latitude_deg":9.9328744,"altitude":5,"angle":346,"satellites":39,"speed":2,"hex_longitude":"2d7a4b80","hex_latitude":"05eba2e8","is_valid_coordinates":true} 
[2026-10-16 09:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783388416001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484908981125120,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812629702517778432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792122615000,"timestamp_ms":1792122615000,"timestamp_seconds":1792122615,"priority":1,"record_length":96,"hex_timestamp":"000001a142d4f4d8"} 
[2026-10-16 09:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 09:22: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-10-16 09:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":218000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":218000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":218000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783388416001,"66":14135,"163":206,"87":13824,"24":2,"16":145484908981125120,"45":8812629702517778432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783388416001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:22:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:22:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484908981125120,"km_value":145484908981125.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812629702517778432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783388416001,"power":14135,"unknown_163":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8812629702517778432}} 
[2026-10-16 09:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":216658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:22:10] local.INFO: GPS data processed {"connection_id":216658,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:22:10] local.INFO: Acknowledgment sent {"connection_id":216658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":218000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:22:10] local.INFO: GPS data processed {"connection_id":218000,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:22:10] local.INFO: Acknowledgment sent {"connection_id":218000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:22:13] local.INFO: TCP Data received {"connection_id":219732,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:22:13] local.INFO: Processing buffer {"connection_id":219732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:22:13] local.INFO: IMEI packet received {"connection_id":219732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":219732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:22:16] local.INFO: TCP Data received {"connection_id":216659,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:22:16] local.INFO: Processing buffer {"connection_id":216659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:22:16] local.INFO: IMEI packet received {"connection_id":216659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":216659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:22:17] local.INFO: TCP Data received {"connection_id":219732,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d58d30012d1974c0071fece0003b01182a..."} 
[2026-10-16 09:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d58d30012d1974c0071fece0003b01182a..."} 
[2026-10-16 09:22:17] local.INFO: Processing buffer {"connection_id":219732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d58d30012d1974c0071fece0003b01182a..."} 
[2026-10-16 09:22:17] local.INFO: Packet analysis {"connection_id":219732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:17] local.INFO: Extracted packet for processing {"connection_id":219732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532768,"longitude_deg":75.6643008,"latitude_deg":11.9532768,"altitude":59,"angle":280,"satellites":42,"speed":11,"hex_longitude":"2d1974c0","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783398144001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093694615748608,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836272409916520448,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792122654000,"timestamp_ms":1792122654000,"timestamp_seconds":1792122654,"priority":1,"record_length":96,"hex_timestamp":"000001a142d58d30"} 
[2026-10-16 09:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:22:17] 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-10-16 09:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":219732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":219732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":219732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783398144001,"66":12461,"102":206,"83":41984,"24":11,"16":28093694615748608,"45":1836272409916520448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783398144001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:22:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093694615748608,"km_value":28093694615748.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836272409916520448,"description":"Unknown IO ID 45"} 
[2026-10-16 09:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783398144001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1836272409916520448}} 
[2026-10-16 09:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":219732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:22:17] local.INFO: GPS data processed {"connection_id":219732,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:22:17] local.INFO: Acknowledgment sent {"connection_id":219732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:22:19] local.INFO: TCP Data received {"connection_id":216658,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d5cf98012d0d2dc00703c9b8001300b422..."} 
[2026-10-16 09:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d5cf98012d0d2dc00703c9b8001300b422..."} 
[2026-10-16 09:22:19] local.INFO: Processing buffer {"connection_id":216658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d5cf98012d0d2dc00703c9b8001300b422..."} 
[2026-10-16 09:22:19] local.INFO: Packet analysis {"connection_id":216658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:19] local.INFO: Extracted packet for processing {"connection_id":216658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:19] local.INFO: GPS Element Parsed {"raw_longitude":755838400,"raw_latitude":117688760,"longitude_deg":75.58384,"latitude_deg":11.768876,"altitude":19,"angle":180,"satellites":34,"speed":6,"hex_longitude":"2d0d2dc0","hex_latitude":"0703c9b8","is_valid_coordinates":true} 
[2026-10-16 09:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783401472001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36474094933245952,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949133651597488128,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:19] 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-10-16 09:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792122671000,"timestamp_ms":1792122671000,"timestamp_seconds":1792122671,"priority":1,"record_length":96,"hex_timestamp":"000001a142d5cf98"} 
[2026-10-16 09:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 09:22: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-10-16 09:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":216658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":216658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":216658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783401472001,"66":14309,"18":206,"28":32256,"24":6,"16":36474094933245952,"45":949133651597488128},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783401472001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:22:19] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36474094933245952,"km_value":36474094933245.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":949133651597488128,"description":"Unknown IO ID 45"} 
[2026-10-16 09:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783401472001,"power":14309,"unknown_18":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":949133651597488128}} 
[2026-10-16 09:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":216658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045615,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:22:19] local.INFO: GPS data processed {"connection_id":216658,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:22:19] local.INFO: Acknowledgment sent {"connection_id":216658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:22:22] local.INFO: TCP Data received {"connection_id":216659,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:22:22] local.INFO: Processing buffer {"connection_id":216659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:22:22] local.INFO: IMEI packet received {"connection_id":216659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":216659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:22:23] local.INFO: TCP Data received {"connection_id":219733,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:22:23] local.INFO: Processing buffer {"connection_id":219733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:22:23] local.INFO: IMEI packet received {"connection_id":219733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":219733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:22:23] local.INFO: TCP Data received {"connection_id":216659,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:22:23] local.INFO: Processing buffer {"connection_id":216659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:22:23] local.INFO: Packet analysis {"connection_id":216659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:23] local.INFO: Extracted packet for processing {"connection_id":216659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:22:23] 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-10-16 09: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-10-16 09:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:22:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:22:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":216659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:22:23] local.INFO: GPS data processed {"connection_id":216659,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:22:23] local.INFO: Acknowledgment sent {"connection_id":216659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:22:26] local.INFO: TCP Data received {"connection_id":219733,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:22:26] local.INFO: Processing buffer {"connection_id":219733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:22:26] local.INFO: IMEI packet received {"connection_id":219733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":219733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:22:31] local.INFO: TCP Data received {"connection_id":219733,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:22:31] local.INFO: Processing buffer {"connection_id":219733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:22:31] local.INFO: IMEI packet received {"connection_id":219733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":219733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:22:31] local.INFO: TCP Data received {"connection_id":219733,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d50478012d7a4b4005eba3f80005014d26..."} 
[2026-10-16 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d50478012d7a4b4005eba3f80005014d26..."} 
[2026-10-16 09:22:31] local.INFO: Processing buffer {"connection_id":219733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d50478012d7a4b4005eba3f80005014d26..."} 
[2026-10-16 09:22:31] local.INFO: Packet analysis {"connection_id":219733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:31] local.INFO: Extracted packet for processing {"connection_id":219733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:31] local.INFO: GPS Element Parsed {"raw_longitude":762989376,"raw_latitude":99329016,"longitude_deg":76.2989376,"latitude_deg":9.9329016,"altitude":5,"angle":333,"satellites":38,"speed":4,"hex_longitude":"2d7a4b40","hex_latitude":"05eba3f8","is_valid_coordinates":true} 
[2026-10-16 09:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783389440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145484926160994304,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812277858797021184,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:31] 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-10-16 09:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792122619000,"timestamp_ms":1792122619000,"timestamp_seconds":1792122619,"priority":1,"record_length":96,"hex_timestamp":"000001a142d50478"} 
[2026-10-16 09:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-16 09:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783389440001,"66":12939,"163":206,"87":13824,"24":4,"16":145484926160994304,"45":8812277858797021184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783389440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:22:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:22:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145484926160994304,"km_value":145484926160994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812277858797021184,"description":"Unknown IO ID 45"} 
[2026-10-16 09:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783389440001,"power":12939,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8812277858797021184}} 
[2026-10-16 09:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":219733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:22:31] local.INFO: GPS data processed {"connection_id":219733,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:22:31] local.INFO: Acknowledgment sent {"connection_id":219733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:22:40] local.INFO: TCP Data received {"connection_id":219733,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d55680012d7a43c005ebb3e00006014f26..."} 
[2026-10-16 09:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d55680012d7a43c005ebb3e00006014f26..."} 
[2026-10-16 09:22:41] local.INFO: Processing buffer {"connection_id":219733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d55680012d7a43c005ebb3e00006014f26..."} 
[2026-10-16 09:22:41] local.INFO: Packet analysis {"connection_id":219733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:41] local.INFO: Extracted packet for processing {"connection_id":219733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:41] local.INFO: GPS Element Parsed {"raw_longitude":762987456,"raw_latitude":99333088,"longitude_deg":76.2987456,"latitude_deg":9.9333088,"altitude":6,"angle":335,"satellites":38,"speed":0,"hex_longitude":"2d7a43c0","hex_latitude":"05ebb3e0","is_valid_coordinates":true} 
[2026-10-16 09:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783390464001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145485149499293696,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812207490052913152,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22: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-10-16 09:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792122640000,"timestamp_ms":1792122640000,"timestamp_seconds":1792122640,"priority":1,"record_length":96,"hex_timestamp":"000001a142d55680"} 
[2026-10-16 09:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:22:41] 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-10-16 09:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 09:22: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-10-16 09:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":219733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":219733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":219733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783390464001,"66":13526,"163":206,"87":13824,"24":0,"16":145485149499293696,"45":8812207490052913152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783390464001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:22:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:22:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145485149499293696,"km_value":145485149499293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812207490052913152,"description":"Unknown IO ID 45"} 
[2026-10-16 09:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783390464001,"power":13526,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8812207490052913152}} 
[2026-10-16 09:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":219733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:22:41] local.INFO: GPS data processed {"connection_id":219733,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:22:41] local.INFO: Acknowledgment sent {"connection_id":219733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:22:48] local.INFO: TCP Data received {"connection_id":219732,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d5ac70012d196c00071fed38003a010d2a..."} 
[2026-10-16 09:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d5ac70012d196c00071fed38003a010d2a..."} 
[2026-10-16 09:22:48] local.INFO: Processing buffer {"connection_id":219732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d5ac70012d196c00071fed38003a010d2a..."} 
[2026-10-16 09:22:48] local.INFO: Packet analysis {"connection_id":219732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:48] local.INFO: Extracted packet for processing {"connection_id":219732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119532856,"longitude_deg":75.6640768,"latitude_deg":11.9532856,"altitude":58,"angle":269,"satellites":42,"speed":6,"hex_longitude":"2d196c00","hex_latitude":"071fed38","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783399424001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093797694963712,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079556096,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792122662000,"timestamp_ms":1792122662000,"timestamp_seconds":1792122662,"priority":1,"record_length":96,"hex_timestamp":"000001a142d5ac70"} 
[2026-10-16 09:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":219732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":219732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":219732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783399424001,"66":12461,"102":206,"83":41984,"24":6,"16":28093797694963712,"45":1834302085079556096},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783399424001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:22:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093797694963712,"km_value":28093797694963.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079556096,"description":"Unknown IO ID 45"} 
[2026-10-16 09:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783399424001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1834302085079556096}} 
[2026-10-16 09:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":219732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:22:48] local.INFO: GPS data processed {"connection_id":219732,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:22:48] local.INFO: Acknowledgment sent {"connection_id":219732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:22:55] local.INFO: TCP Data received {"connection_id":216659,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:22:55] local.INFO: Processing buffer {"connection_id":216659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:22:55] local.INFO: Packet analysis {"connection_id":216659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:55] local.INFO: Extracted packet for processing {"connection_id":216659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:22:55] 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-10-16 09:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:22:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:22:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":216659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:22:55] local.INFO: GPS data processed {"connection_id":216659,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:22:55] local.INFO: Acknowledgment sent {"connection_id":216659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:23:02] local.INFO: TCP Data received {"connection_id":216460,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:23:02] local.INFO: Processing buffer {"connection_id":216460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:23:02] local.INFO: IMEI packet received {"connection_id":216460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":216460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:23:03] local.INFO: TCP Data received {"connection_id":216460,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:23:03] local.INFO: Processing buffer {"connection_id":216460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:23:03] local.INFO: IMEI packet received {"connection_id":216460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":216460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:23:07] local.INFO: TCP Data received {"connection_id":219734,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:23:07] local.INFO: Processing buffer {"connection_id":219734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:23:07] local.INFO: IMEI packet received {"connection_id":219734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":219734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:23:09] local.INFO: TCP Data received {"connection_id":216460,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:23:09] local.INFO: Processing buffer {"connection_id":216460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:23:09] local.INFO: IMEI packet received {"connection_id":216460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":216460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:23:11] local.INFO: TCP Data received {"connection_id":216460,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d6e108012d0d2680070403600017000121..."} 
[2026-10-16 09:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d6e108012d0d2680070403600017000121..."} 
[2026-10-16 09:23:11] local.INFO: Processing buffer {"connection_id":216460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d6e108012d0d2680070403600017000121..."} 
[2026-10-16 09:23:11] local.INFO: Packet analysis {"connection_id":216460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d6"} 
[2026-10-16 09:23:11] local.INFO: Extracted packet for processing {"connection_id":216460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d6"} 
[2026-10-16 09:23:11] local.INFO: GPS Element Parsed {"raw_longitude":755836544,"raw_latitude":117703520,"longitude_deg":75.5836544,"latitude_deg":11.770352,"altitude":23,"angle":1,"satellites":33,"speed":13,"hex_longitude":"2d0d2680","hex_latitude":"07040360","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783420928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36474876617293824,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947655907972425728,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:11] 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-10-16 09:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792122741000,"timestamp_ms":1792122741000,"timestamp_seconds":1792122741,"priority":1,"record_length":96,"hex_timestamp":"000001a142d6e108"} 
[2026-10-16 09:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:23: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-10-16 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 09:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":216460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":216460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":216460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783420928001,"66":14548,"18":206,"28":32256,"24":13,"16":36474876617293824,"45":947655907972425728},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783420928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:23:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:23:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36474876617293824,"km_value":36474876617293.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":947655907972425728,"description":"Unknown IO ID 45"} 
[2026-10-16 09:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783420928001,"power":14548,"unknown_18":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":947655907972425728}} 
[2026-10-16 09:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":216460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045621,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:23:11] local.INFO: GPS data processed {"connection_id":216460,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:23:11] local.INFO: Acknowledgment sent {"connection_id":216460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:23:13] local.INFO: TCP Data received {"connection_id":219734,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:23:13] local.INFO: Processing buffer {"connection_id":219734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:23:13] local.INFO: IMEI packet received {"connection_id":219734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":219734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:23:14] local.INFO: TCP Data received {"connection_id":219734,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d5fe78012d196900071fed50003a011128..."} 
[2026-10-16 09:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d5fe78012d196900071fed50003a011128..."} 
[2026-10-16 09:23:14] local.INFO: Processing buffer {"connection_id":219734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d5fe78012d196900071fed50003a011128..."} 
[2026-10-16 09:23:14] local.INFO: Packet analysis {"connection_id":219734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:23:14] local.INFO: Extracted packet for processing {"connection_id":219734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783401472001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831839179033360384,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792122683000,"timestamp_ms":1792122683000,"timestamp_seconds":1792122683,"priority":1,"record_length":96,"hex_timestamp":"000001a142d5fe78"} 
[2026-10-16 09:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:23:14] 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-10-16 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:23: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-10-16 09: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-10-16 09:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":219734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":219734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":219734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783401472001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1831839179033360384},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783401472001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:23:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831839179033360384,"description":"Unknown IO ID 45"} 
[2026-10-16 09:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783401472001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831839179033360384}} 
[2026-10-16 09:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":219734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:23:14] local.INFO: GPS data processed {"connection_id":219734,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:23:14] local.INFO: Acknowledgment sent {"connection_id":219734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:23:19] local.INFO: TCP Data received {"connection_id":216461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:23:19] local.INFO: Processing buffer {"connection_id":216461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:23:19] local.INFO: IMEI packet received {"connection_id":216461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":216461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:23:21] local.INFO: TCP Data received {"connection_id":216461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:23:21] local.INFO: Processing buffer {"connection_id":216461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:23:21] local.INFO: IMEI packet received {"connection_id":216461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:23:22] local.INFO: TCP Data received {"connection_id":216660,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:23:22] local.INFO: Processing buffer {"connection_id":216660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:23:22] local.INFO: IMEI packet received {"connection_id":216660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":216660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:23:24] local.INFO: TCP Data received {"connection_id":216461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:23:24] local.INFO: Processing buffer {"connection_id":216461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:23:24] local.INFO: IMEI packet received {"connection_id":216461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":216461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:23:25] local.INFO: TCP Data received {"connection_id":216461,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d7a458012d79f7c005ec73c80007000925..."} 
[2026-10-16 09:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d7a458012d79f7c005ec73c80007000925..."} 
[2026-10-16 09:23:25] local.INFO: Processing buffer {"connection_id":216461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d7a458012d79f7c005ec73c80007000925..."} 
[2026-10-16 09:23:25] local.INFO: Packet analysis {"connection_id":216461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:23:25] local.INFO: Extracted packet for processing {"connection_id":216461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:23:25] local.INFO: GPS Element Parsed {"raw_longitude":762968000,"raw_latitude":99382216,"longitude_deg":76.2968,"latitude_deg":9.9382216,"altitude":7,"angle":9,"satellites":37,"speed":5,"hex_longitude":"2d79f7c0","hex_latitude":"05ec73c8","is_valid_coordinates":true} 
[2026-10-16 09:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783430656001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145487730774638592,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790956129323026432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792122791000,"timestamp_ms":1792122791000,"timestamp_seconds":1792122791,"priority":1,"record_length":96,"hex_timestamp":"000001a142d7a458"} 
[2026-10-16 09:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-10-16 09:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783430656001,"66":13515,"99":206,"87":13824,"24":5,"16":145487730774638592,"45":8790956129323026432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783430656001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:23:25] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145487730774638592,"km_value":145487730774638.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790956129323026432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783430656001,"power":13515,"unknown_99":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8790956129323026432}} 
[2026-10-16 09:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":216461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:23:25] local.INFO: GPS data processed {"connection_id":216461,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:23:25] local.INFO: Acknowledgment sent {"connection_id":216461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:23:27] local.INFO: TCP Data received {"connection_id":216660,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:23:27] local.INFO: Processing buffer {"connection_id":216660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:23:27] local.INFO: IMEI packet received {"connection_id":216660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":216660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:23:29] local.INFO: TCP Data received {"connection_id":216660,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:23:29] local.INFO: Processing buffer {"connection_id":216660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:23:29] local.INFO: Packet analysis {"connection_id":216660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:23:29] local.INFO: Extracted packet for processing {"connection_id":216660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:23:29] 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-10-16 09:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:23:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:23:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":216660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:23:29] local.INFO: GPS data processed {"connection_id":216660,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:23:29] local.INFO: Acknowledgment sent {"connection_id":216660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:23:32] local.INFO: TCP Data received {"connection_id":216660,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:23:32] local.INFO: Processing buffer {"connection_id":216660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:23:32] local.INFO: Packet analysis {"connection_id":216660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:23:32] local.INFO: Extracted packet for processing {"connection_id":216660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:23:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":216660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:23:32] local.INFO: GPS data processed {"connection_id":216660,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:23:32] local.INFO: Acknowledgment sent {"connection_id":216660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:23:43] local.INFO: TCP Data received {"connection_id":216460,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d70fe8012d0d264007040eb00018015d23..."} 
[2026-10-16 09:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d70fe8012d0d264007040eb00018015d23..."} 
[2026-10-16 09:23:43] local.INFO: Processing buffer {"connection_id":216460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d70fe8012d0d264007040eb00018015d23..."} 
[2026-10-16 09:23:43] local.INFO: Packet analysis {"connection_id":216460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:23:43] local.INFO: Extracted packet for processing {"connection_id":216460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:23:43] local.INFO: GPS Element Parsed {"raw_longitude":755836480,"raw_latitude":117706416,"longitude_deg":75.583648,"latitude_deg":11.7706416,"altitude":24,"angle":349,"satellites":35,"speed":9,"hex_longitude":"2d0d2640","hex_latitude":"07040eb0","is_valid_coordinates":true} 
[2026-10-16 09:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783421696001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36475022646181888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947585539228524544,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:43] 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-10-16 09:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792122753000,"timestamp_ms":1792122753000,"timestamp_seconds":1792122753,"priority":1,"record_length":96,"hex_timestamp":"000001a142d70fe8"} 
[2026-10-16 09:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 09:23:43] 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-10-16 09:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":216460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":216460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":216460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783421696001,"66":14580,"18":206,"28":32256,"24":9,"16":36475022646181888,"45":947585539228524544},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783421696001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:23:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36475022646181888,"km_value":36475022646181.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":947585539228524544,"description":"Unknown IO ID 45"} 
[2026-10-16 09:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783421696001,"power":14580,"unknown_18":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":947585539228524544}} 
[2026-10-16 09:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":216460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045626,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:23:43] local.INFO: GPS data processed {"connection_id":216460,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:23:43] local.INFO: Acknowledgment sent {"connection_id":216460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:23:45] local.INFO: TCP Data received {"connection_id":219734,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d65080012d196900071fed50003a011128..."} 
[2026-10-16 09:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d65080012d196900071fed50003a011128..."} 
[2026-10-16 09:23:45] local.INFO: Processing buffer {"connection_id":219734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d65080012d196900071fed50003a011128..."} 
[2026-10-16 09:23:45] local.INFO: Packet analysis {"connection_id":219734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d6"} 
[2026-10-16 09:23:45] local.INFO: Extracted packet for processing {"connection_id":219734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d6"} 
[2026-10-16 09:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783406848001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792122704000,"timestamp_ms":1792122704000,"timestamp_seconds":1792122704,"priority":1,"record_length":96,"hex_timestamp":"000001a142d65080"} 
[2026-10-16 09:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:23:45] 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-10-16 09:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:23: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-10-16 09:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":219734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":219734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":219734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783406848001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783406848001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:23:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783406848001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":219734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:23:45] local.INFO: GPS data processed {"connection_id":219734,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:23:45] local.INFO: Acknowledgment sent {"connection_id":219734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:23:57] local.INFO: TCP Data received {"connection_id":216461,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d7a840012d79f7c005ec74580007001c22..."} 
[2026-10-16 09:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d7a840012d79f7c005ec74580007001c22..."} 
[2026-10-16 09:23:57] local.INFO: Processing buffer {"connection_id":216461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d7a840012d79f7c005ec74580007001c22..."} 
[2026-10-16 09:23:57] local.INFO: Packet analysis {"connection_id":216461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:23:57] local.INFO: Extracted packet for processing {"connection_id":216461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:23:57] local.INFO: GPS Element Parsed {"raw_longitude":762968000,"raw_latitude":99382360,"longitude_deg":76.2968,"latitude_deg":9.938236,"altitude":7,"angle":28,"satellites":34,"speed":6,"hex_longitude":"2d79f7c0","hex_latitude":"05ec7458","is_valid_coordinates":true} 
[2026-10-16 09:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783434496001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145487739364573184,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788704329511192576,"note":"Value kept but may cause issues"} 
[2026-10-16 09:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792122792000,"timestamp_ms":1792122792000,"timestamp_seconds":1792122792,"priority":1,"record_length":96,"hex_timestamp":"000001a142d7a840"} 
[2026-10-16 09:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-16 09:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783434496001,"66":13515,"99":206,"87":13824,"24":6,"16":145487739364573184,"45":8788704329511192576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783434496001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:23:57] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:23:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145487739364573184,"km_value":145487739364573.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788704329511192576,"description":"Unknown IO ID 45"} 
[2026-10-16 09:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783434496001,"power":13515,"unknown_99":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8788704329511192576}} 
[2026-10-16 09:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":216461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:23:57] local.INFO: GPS data processed {"connection_id":216461,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:23:57] local.INFO: Acknowledgment sent {"connection_id":216461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:24:03] local.INFO: TCP Data received {"connection_id":218002,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218002,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:24:03] local.INFO: Processing buffer {"connection_id":218002,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:24:03] local.INFO: IMEI packet received {"connection_id":218002,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":218002,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:24:08] local.INFO: TCP Data received {"connection_id":218002,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218002,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:24:08] local.INFO: Processing buffer {"connection_id":218002,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:24:08] local.INFO: IMEI packet received {"connection_id":218002,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":218002,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:24:11] local.INFO: TCP Data received {"connection_id":218002,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d73ec8012d0d244007041c480017000122..."} 
[2026-10-16 09:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d73ec8012d0d244007041c480017000122..."} 
[2026-10-16 09:24:11] local.INFO: Processing buffer {"connection_id":218002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d73ec8012d0d244007041c480017000122..."} 
[2026-10-16 09:24:11] local.INFO: Packet analysis {"connection_id":218002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:24:11] local.INFO: Extracted packet for processing {"connection_id":218002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:24:11] local.INFO: GPS Element Parsed {"raw_longitude":755835968,"raw_latitude":117709896,"longitude_deg":75.5835968,"latitude_deg":11.7709896,"altitude":23,"angle":1,"satellites":34,"speed":12,"hex_longitude":"2d0d2440","hex_latitude":"07041c48","is_valid_coordinates":true} 
[2026-10-16 09:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783424768001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36475194444873728,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947515170485088256,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:11] 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-10-16 09:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792122765000,"timestamp_ms":1792122765000,"timestamp_seconds":1792122765,"priority":1,"record_length":96,"hex_timestamp":"000001a142d73ec8"} 
[2026-10-16 09:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-16 09:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":218002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":218002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":218002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783424768001,"66":14428,"18":206,"28":32256,"24":12,"16":36475194444873728,"45":947515170485088256},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783424768001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:24:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36475194444873728,"km_value":36475194444873.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":947515170485088256,"description":"Unknown IO ID 45"} 
[2026-10-16 09:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783424768001,"power":14428,"unknown_18":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":947515170485088256}} 
[2026-10-16 09:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":218002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045629,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:24:11] local.INFO: GPS data processed {"connection_id":218002,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:24:11] local.INFO: Acknowledgment sent {"connection_id":218002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:24:13] local.INFO: TCP Data received {"connection_id":216661,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:24:13] local.INFO: Processing buffer {"connection_id":216661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:24:13] local.INFO: IMEI packet received {"connection_id":216661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":216661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:24:17] local.INFO: TCP Data received {"connection_id":216462,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:24:17] local.INFO: Processing buffer {"connection_id":216462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:24:17] local.INFO: IMEI packet received {"connection_id":216462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":216462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:24:18] local.INFO: TCP Data received {"connection_id":216661,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:24:18] local.INFO: Processing buffer {"connection_id":216661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:24:18] local.INFO: IMEI packet received {"connection_id":216661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":216661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:24:21] local.INFO: TCP Data received {"connection_id":216662,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:24:21] local.INFO: Processing buffer {"connection_id":216662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:24:21] local.INFO: IMEI packet received {"connection_id":216662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":216662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:24:22] local.INFO: TCP Data received {"connection_id":216462,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:24:22] local.INFO: Processing buffer {"connection_id":216462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:24:22] local.INFO: IMEI packet received {"connection_id":216462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":216462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:24:23] local.INFO: TCP Data received {"connection_id":216462,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:24:23] local.INFO: Processing buffer {"connection_id":216462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:24:23] local.INFO: Packet analysis {"connection_id":216462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:24:23] local.INFO: Extracted packet for processing {"connection_id":216462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:24:23] 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-10-16 09:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:24:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:24:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":216462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:24:23] local.INFO: GPS data processed {"connection_id":216462,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:24:23] local.INFO: Acknowledgment sent {"connection_id":216462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:24:26] local.INFO: TCP Data received {"connection_id":216662,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:24:26] local.INFO: Processing buffer {"connection_id":216662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:24:26] local.INFO: IMEI packet received {"connection_id":216662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":216662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:24:28] local.INFO: TCP Data received {"connection_id":216462,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:24:28] local.INFO: Processing buffer {"connection_id":216462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:24:28] local.INFO: Packet analysis {"connection_id":216462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:24:28] local.INFO: Extracted packet for processing {"connection_id":216462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:24:28] 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-10-16 09:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:24:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:24:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":216462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:24:28] local.INFO: GPS data processed {"connection_id":216462,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:24:28] local.INFO: Acknowledgment sent {"connection_id":216462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:24:28] local.INFO: TCP Data received {"connection_id":216662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d7b010012d79f88005ec75780007002924..."} 
[2026-10-16 09:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d7b010012d79f88005ec75780007002924..."} 
[2026-10-16 09:24:29] local.INFO: Processing buffer {"connection_id":216662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d7b010012d79f88005ec75780007002924..."} 
[2026-10-16 09:24:29] local.INFO: Packet analysis {"connection_id":216662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:24:29] local.INFO: Extracted packet for processing {"connection_id":216662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":762968192,"raw_latitude":99382648,"longitude_deg":76.2968192,"latitude_deg":9.9382648,"altitude":7,"angle":41,"satellites":36,"speed":8,"hex_longitude":"2d79f880","hex_latitude":"05ec7578","is_valid_coordinates":true} 
[2026-10-16 09:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783434752001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145487756544442368,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788704329511229440,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792122794000,"timestamp_ms":1792122794000,"timestamp_seconds":1792122794,"priority":1,"record_length":96,"hex_timestamp":"000001a142d7b010"} 
[2026-10-16 09:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-16 09:24:29] 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-10-16 09:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783434752001,"66":13559,"99":206,"87":13824,"24":8,"16":145487756544442368,"45":8788704329511229440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783434752001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:24:29] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:24:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145487756544442368,"km_value":145487756544442.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788704329511229440,"description":"Unknown IO ID 45"} 
[2026-10-16 09:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783434752001,"power":13559,"unknown_99":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8788704329511229440}} 
[2026-10-16 09:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":216662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:24:29] local.INFO: GPS data processed {"connection_id":216662,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:24:29] local.INFO: Acknowledgment sent {"connection_id":216662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:24:29] local.INFO: TCP Data received {"connection_id":216661,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d6a288012d196900071fed50003a01112a..."} 
[2026-10-16 09:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d6a288012d196900071fed50003a01112a..."} 
[2026-10-16 09:24:29] local.INFO: Processing buffer {"connection_id":216661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d6a288012d196900071fed50003a01112a..."} 
[2026-10-16 09:24:29] local.INFO: Packet analysis {"connection_id":216661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d6"} 
[2026-10-16 09:24:29] local.INFO: Extracted packet for processing {"connection_id":216661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d6"} 
[2026-10-16 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783412224001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792122725000,"timestamp_ms":1792122725000,"timestamp_seconds":1792122725,"priority":1,"record_length":96,"hex_timestamp":"000001a142d6a288"} 
[2026-10-16 09:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:24: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-10-16 09:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783412224001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783412224001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:24:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783412224001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":216661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:24:29] local.INFO: GPS data processed {"connection_id":216661,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:24:29] local.INFO: Acknowledgment sent {"connection_id":216661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:24:30] local.INFO: TCP Data received {"connection_id":216661,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d6f490012d196900071fed50003a01112a..."} 
[2026-10-16 09:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d6f490012d196900071fed50003a01112a..."} 
[2026-10-16 09:24:30] local.INFO: Processing buffer {"connection_id":216661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d6f490012d196900071fed50003a01112a..."} 
[2026-10-16 09:24:30] local.INFO: Packet analysis {"connection_id":216661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d6"} 
[2026-10-16 09:24:30] local.INFO: Extracted packet for processing {"connection_id":216661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d6"} 
[2026-10-16 09:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783417600001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792122746000,"timestamp_ms":1792122746000,"timestamp_seconds":1792122746,"priority":1,"record_length":96,"hex_timestamp":"000001a142d6f490"} 
[2026-10-16 09:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783417600001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783417600001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:24:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783417600001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":216661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:24:30] local.INFO: GPS data processed {"connection_id":216661,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:24:30] local.INFO: Acknowledgment sent {"connection_id":216661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:24:46] local.INFO: TCP Data received {"connection_id":218002,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d75638012d0d2380070424a80017015d22..."} 
[2026-10-16 09:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d75638012d0d2380070424a80017015d22..."} 
[2026-10-16 09:24:46] local.INFO: Processing buffer {"connection_id":218002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d75638012d0d2380070424a80017015d22..."} 
[2026-10-16 09:24:46] local.INFO: Packet analysis {"connection_id":218002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:24:46] local.INFO: Extracted packet for processing {"connection_id":218002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:24:46] local.INFO: GPS Element Parsed {"raw_longitude":755835776,"raw_latitude":117712040,"longitude_deg":75.5835776,"latitude_deg":11.771204,"altitude":23,"angle":349,"satellites":34,"speed":16,"hex_longitude":"2d0d2380","hex_latitude":"070424a8","is_valid_coordinates":true} 
[2026-10-16 09:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783427840001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36475297524088832,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":946952220532557824,"note":"Value kept but may cause issues"} 
[2026-10-16 09:24:46] 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-10-16 09:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792122771000,"timestamp_ms":1792122771000,"timestamp_seconds":1792122771,"priority":1,"record_length":96,"hex_timestamp":"000001a142d75638"} 
[2026-10-16 09:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:24: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-10-16 09:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 09:24: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-10-16 09:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218002,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783427840001,"66":14515,"18":206,"28":32256,"24":16,"16":36475297524088832,"45":946952220532557824},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783427840001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:24:46] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:24:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36475297524088832,"km_value":36475297524088.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":946952220532557824,"description":"Unknown IO ID 45"} 
[2026-10-16 09:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783427840001,"power":14515,"unknown_18":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":946952220532557824}} 
[2026-10-16 09:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":218002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045635,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:24:47] local.INFO: GPS data processed {"connection_id":218002,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:24:47] local.INFO: Acknowledgment sent {"connection_id":218002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:00] local.INFO: TCP Data received {"connection_id":216662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d7b7e0012d79f9c005ec76800007003b26..."} 
[2026-10-16 09:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d7b7e0012d79f9c005ec76800007003b26..."} 
[2026-10-16 09:25:00] local.INFO: Processing buffer {"connection_id":216662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d7b7e0012d79f9c005ec76800007003b26..."} 
[2026-10-16 09:25:00] local.INFO: Packet analysis {"connection_id":216662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:25:00] local.INFO: Extracted packet for processing {"connection_id":216662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:25:00] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":99382912,"longitude_deg":76.2968512,"latitude_deg":9.9382912,"altitude":7,"angle":59,"satellites":38,"speed":7,"hex_longitude":"2d79f9c0","hex_latitude":"05ec7680","is_valid_coordinates":true} 
[2026-10-16 09:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783435264001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145487778019278848,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788915435743836160,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792122796000,"timestamp_ms":1792122796000,"timestamp_seconds":1792122796,"priority":1,"record_length":96,"hex_timestamp":"000001a142d7b7e0"} 
[2026-10-16 09:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 09:25:00] 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-10-16 09:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783435264001,"66":13178,"99":206,"87":13824,"24":7,"16":145487778019278848,"45":8788915435743836160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783435264001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:00] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:25:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145487778019278848,"km_value":145487778019278.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788915435743836160,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783435264001,"power":13178,"unknown_99":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8788915435743836160}} 
[2026-10-16 09:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":216662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:00] local.INFO: GPS data processed {"connection_id":216662,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:00] local.INFO: Acknowledgment sent {"connection_id":216662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:00] local.INFO: TCP Data received {"connection_id":216462,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:25:00] local.INFO: Processing buffer {"connection_id":216462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:25:00] local.INFO: Packet analysis {"connection_id":216462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:25:00] local.INFO: Extracted packet for processing {"connection_id":216462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:25:00] 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-10-16 09:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:25:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":216462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:00] local.INFO: GPS data processed {"connection_id":216462,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:00] local.INFO: Acknowledgment sent {"connection_id":216462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:07] local.INFO: TCP Data received {"connection_id":216663,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:25:07] local.INFO: Processing buffer {"connection_id":216663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:25:07] local.INFO: IMEI packet received {"connection_id":216663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":216663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:25:08] local.INFO: TCP Data received {"connection_id":216664,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:25:08] local.INFO: Processing buffer {"connection_id":216664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:25:08] local.INFO: IMEI packet received {"connection_id":216664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":216664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:25:09] local.INFO: TCP Data received {"connection_id":216664,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:25:09] local.INFO: Processing buffer {"connection_id":216664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:25:09] local.INFO: IMEI packet received {"connection_id":216664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":216664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:25:10] local.INFO: TCP Data received {"connection_id":216663,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:25:10] local.INFO: Processing buffer {"connection_id":216663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:25:10] local.INFO: IMEI packet received {"connection_id":216663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":216663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:25:11] local.INFO: TCP Data received {"connection_id":216663,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d74698012d196900071fed50003a01112a..."} 
[2026-10-16 09:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d74698012d196900071fed50003a01112a..."} 
[2026-10-16 09:25:11] local.INFO: Processing buffer {"connection_id":216663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d74698012d196900071fed50003a01112a..."} 
[2026-10-16 09:25:11] local.INFO: Packet analysis {"connection_id":216663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:25:11] local.INFO: Extracted packet for processing {"connection_id":216663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783422976001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792122767000,"timestamp_ms":1792122767000,"timestamp_seconds":1792122767,"priority":1,"record_length":96,"hex_timestamp":"000001a142d74698"} 
[2026-10-16 09:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25: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-10-16 09: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":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:25: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-10-16 09: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-10-16 09:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":216663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":216663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":216663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783422976001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783422976001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783422976001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":216663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:11] local.INFO: GPS data processed {"connection_id":216663,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:11] local.INFO: Acknowledgment sent {"connection_id":216663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:11] local.INFO: TCP Data received {"connection_id":216664,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:25:11] local.INFO: Processing buffer {"connection_id":216664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:25:11] local.INFO: IMEI packet received {"connection_id":216664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":216664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:25:13] local.INFO: TCP Data received {"connection_id":216664,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d91388012d0d39400704b890001e016023..."} 
[2026-10-16 09:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d91388012d0d39400704b890001e016023..."} 
[2026-10-16 09:25:13] local.INFO: Processing buffer {"connection_id":216664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d91388012d0d39400704b890001e016023..."} 
[2026-10-16 09:25:13] local.INFO: Packet analysis {"connection_id":216664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:25:13] local.INFO: Extracted packet for processing {"connection_id":216664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:25:13] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117749904,"longitude_deg":75.5841344,"latitude_deg":11.7749904,"altitude":30,"angle":352,"satellites":35,"speed":8,"hex_longitude":"2d0d3940","hex_latitude":"0704b890","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783457280001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36477178719764480,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952863195053414400,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:13] 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-10-16 09:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792122885000,"timestamp_ms":1792122885000,"timestamp_seconds":1792122885,"priority":1,"record_length":96,"hex_timestamp":"000001a142d91388"} 
[2026-10-16 09:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25: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-10-16 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 09:25:13] 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-10-16 09: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-10-16 09:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783457280001,"66":14450,"18":206,"28":32256,"24":8,"16":36477178719764480,"45":952863195053414400},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783457280001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:13] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:25:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36477178719764480,"km_value":36477178719764.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":952863195053414400,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783457280001,"power":14450,"unknown_18":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":952863195053414400}} 
[2026-10-16 09:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":216664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045639,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:13] local.INFO: GPS data processed {"connection_id":216664,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:13] local.INFO: Acknowledgment sent {"connection_id":216664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:14] local.INFO: TCP Data received {"connection_id":216664,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d91b58012d0d39000704ba28001e014f23..."} 
[2026-10-16 09:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d91b58012d0d39000704ba28001e014f23..."} 
[2026-10-16 09:25:14] local.INFO: Processing buffer {"connection_id":216664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d91b58012d0d39000704ba28001e014f23..."} 
[2026-10-16 09:25:14] local.INFO: Packet analysis {"connection_id":216664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:25:14] local.INFO: Extracted packet for processing {"connection_id":216664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:25:14] local.INFO: GPS Element Parsed {"raw_longitude":755841280,"raw_latitude":117750312,"longitude_deg":75.584128,"latitude_deg":11.7750312,"altitude":30,"angle":335,"satellites":35,"speed":6,"hex_longitude":"2d0d3900","hex_latitude":"0704ba28","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783458560001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36477200194600960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952863195053723648,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:14] 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-10-16 09:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792122887000,"timestamp_ms":1792122887000,"timestamp_seconds":1792122887,"priority":1,"record_length":96,"hex_timestamp":"000001a142d91b58"} 
[2026-10-16 09:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25: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-10-16 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 09:25: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-10-16 09: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-10-16 09:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783458560001,"66":14439,"18":206,"28":32256,"24":6,"16":36477200194600960,"45":952863195053723648},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783458560001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:14] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:25:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36477200194600960,"km_value":36477200194600.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":952863195053723648,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783458560001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":952863195053723648}} 
[2026-10-16 09:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":216664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:15] local.INFO: GPS data processed {"connection_id":216664,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:15] local.INFO: Acknowledgment sent {"connection_id":216664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:17] local.INFO: TCP Data received {"connection_id":219735,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:25:17] local.INFO: Processing buffer {"connection_id":219735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:25:17] local.INFO: IMEI packet received {"connection_id":219735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":219735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:25:17] local.INFO: TCP Data received {"connection_id":218003,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:25:17] local.INFO: Processing buffer {"connection_id":218003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:25:17] local.INFO: IMEI packet received {"connection_id":218003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":218003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:25:21] local.INFO: TCP Data received {"connection_id":218004,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:25:21] local.INFO: Processing buffer {"connection_id":218004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:25:21] local.INFO: IMEI packet received {"connection_id":218004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":218004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:25:22] local.INFO: TCP Data received {"connection_id":218003,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:25:22] local.INFO: Processing buffer {"connection_id":218003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:25:22] local.INFO: IMEI packet received {"connection_id":218003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":218003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:25:24] local.INFO: TCP Data received {"connection_id":218003,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:25:24] local.INFO: Processing buffer {"connection_id":218003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:25:24] local.INFO: Packet analysis {"connection_id":218003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:25:24] local.INFO: Extracted packet for processing {"connection_id":218003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:25:24] 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-10-16 09:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":218003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":218003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":218003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:25:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":218003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:24] local.INFO: GPS data processed {"connection_id":218003,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:24] local.INFO: Acknowledgment sent {"connection_id":218003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:26] local.INFO: TCP Data received {"connection_id":218004,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:25:26] local.INFO: Processing buffer {"connection_id":218004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:25:26] local.INFO: IMEI packet received {"connection_id":218004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":218004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:25:27] local.INFO: TCP Data received {"connection_id":218004,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d7cb68012d7a000005ec7988000700472a..."} 
[2026-10-16 09:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d7cb68012d7a000005ec7988000700472a..."} 
[2026-10-16 09:25:27] local.INFO: Processing buffer {"connection_id":218004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d7cb68012d7a000005ec7988000700472a..."} 
[2026-10-16 09:25:27] local.INFO: Packet analysis {"connection_id":218004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:25:27] local.INFO: Extracted packet for processing {"connection_id":218004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:25:27] local.INFO: GPS Element Parsed {"raw_longitude":762970112,"raw_latitude":99383688,"longitude_deg":76.2970112,"latitude_deg":9.9383688,"altitude":7,"angle":71,"satellites":42,"speed":24,"hex_longitude":"2d7a0000","hex_latitude":"05ec7988","is_valid_coordinates":true} 
[2026-10-16 09:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783435776001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145487863918624768,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464792064,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792122801000,"timestamp_ms":1792122801000,"timestamp_seconds":1792122801,"priority":1,"record_length":96,"hex_timestamp":"000001a142d7cb68"} 
[2026-10-16 09:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-10-16 09:25:27] 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-10-16 09:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783435776001,"66":13319,"99":206,"87":13824,"24":24,"16":145487863918624768,"45":8789267279464792064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783435776001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:27] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:25:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145487863918624768,"km_value":145487863918624.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464792064,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783435776001,"power":13319,"unknown_99":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8789267279464792064}} 
[2026-10-16 09:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":218004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:27] local.INFO: GPS data processed {"connection_id":218004,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:27] local.INFO: Acknowledgment sent {"connection_id":218004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:42] local.INFO: TCP Data received {"connection_id":216663,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d798a0012d196900071fed50003a01112a..."} 
[2026-10-16 09:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d798a0012d196900071fed50003a01112a..."} 
[2026-10-16 09:25:42] local.INFO: Processing buffer {"connection_id":216663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d798a0012d196900071fed50003a01112a..."} 
[2026-10-16 09:25:42] local.INFO: Packet analysis {"connection_id":216663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:25:42] local.INFO: Extracted packet for processing {"connection_id":216663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783428352001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792122788000,"timestamp_ms":1792122788000,"timestamp_seconds":1792122788,"priority":1,"record_length":96,"hex_timestamp":"000001a142d798a0"} 
[2026-10-16 09:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25:42] 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-10-16 09:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:25: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-10-16 09:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":216663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":216663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":216663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783428352001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783428352001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783428352001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":216663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:42] local.INFO: GPS data processed {"connection_id":216663,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:42] local.INFO: Acknowledgment sent {"connection_id":216663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:51] local.INFO: TCP Data received {"connection_id":219736,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:25:51] local.INFO: Processing buffer {"connection_id":219736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:25:51] local.INFO: IMEI packet received {"connection_id":219736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":219736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:25:52] local.INFO: TCP Data received {"connection_id":216664,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142d92af8012d0d37800704bb68001f011923..."} 
[2026-10-16 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d92af8012d0d37800704bb68001f011923..."} 
[2026-10-16 09:25:52] local.INFO: Processing buffer {"connection_id":216664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d92af8012d0d37800704bb68001f011923..."} 
[2026-10-16 09:25:52] local.INFO: Packet analysis {"connection_id":216664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:25:52] local.INFO: Extracted packet for processing {"connection_id":216664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:25:52] local.INFO: GPS Element Parsed {"raw_longitude":755840896,"raw_latitude":117750632,"longitude_deg":75.5840896,"latitude_deg":11.7750632,"altitude":31,"angle":281,"satellites":35,"speed":5,"hex_longitude":"2d0d3780","hex_latitude":"0704bb68","is_valid_coordinates":true} 
[2026-10-16 09:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783459072001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36477225964404736,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952792826309650432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:52] 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-10-16 09:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792122891000,"timestamp_ms":1792122891000,"timestamp_seconds":1792122891,"priority":1,"record_length":96,"hex_timestamp":"000001a142d92af8"} 
[2026-10-16 09:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25:52] 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-10-16 09:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 09:25: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-10-16 09:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":216664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":216664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":216664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783459072001,"66":14407,"18":206,"28":32256,"24":5,"16":36477225964404736,"45":952792826309650432},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783459072001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:52] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:25:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36477225964404736,"km_value":36477225964404.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":952792826309650432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783459072001,"power":14407,"unknown_18":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_45":952792826309650432}} 
[2026-10-16 09:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":216664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045644,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:52] local.INFO: GPS data processed {"connection_id":216664,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:52] local.INFO: Acknowledgment sent {"connection_id":216664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:56] local.INFO: TCP Data received {"connection_id":218003,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:25:56] local.INFO: Processing buffer {"connection_id":218003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d546e0012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:25:56] local.INFO: Packet analysis {"connection_id":218003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:25:56] local.INFO: Extracted packet for processing {"connection_id":218003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d5"} 
[2026-10-16 09:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783317760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792122636000,"timestamp_ms":1792122636000,"timestamp_seconds":1792122636,"priority":1,"record_length":96,"hex_timestamp":"000001a142d546e0"} 
[2026-10-16 09:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 09:25:56] 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-10-16 09:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783317760001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783317760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:25:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783317760001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":218003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:56] local.INFO: GPS data processed {"connection_id":218003,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:56] local.INFO: Acknowledgment sent {"connection_id":218003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:25:58] local.INFO: TCP Data received {"connection_id":218004,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142d7def0012d7a098005ec7d300008003b2c..."} 
[2026-10-16 09:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d7def0012d7a098005ec7d300008003b2c..."} 
[2026-10-16 09:25:58] local.INFO: Processing buffer {"connection_id":218004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d7def0012d7a098005ec7d300008003b2c..."} 
[2026-10-16 09:25:58] local.INFO: Packet analysis {"connection_id":218004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:25:58] local.INFO: Extracted packet for processing {"connection_id":218004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:25:58] local.INFO: GPS Element Parsed {"raw_longitude":762972544,"raw_latitude":99384624,"longitude_deg":76.2972544,"latitude_deg":9.9384624,"altitude":8,"angle":59,"satellites":44,"speed":12,"hex_longitude":"2d7a0980","hex_latitude":"05ec7d30","is_valid_coordinates":true} 
[2026-10-16 09:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783437056001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145487988472676352,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791026498069432320,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792122806000,"timestamp_ms":1792122806000,"timestamp_seconds":1792122806,"priority":1,"record_length":96,"hex_timestamp":"000001a142d7def0"} 
[2026-10-16 09:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3617871873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13452387,"corrected_to":0} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1742893103059051264,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3757899776,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962902528,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221302649,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":255,"raw_value":3221613655,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728644,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":252,"raw_value":57777562231658294,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-2231532320528711675,"note":"Value kept but may cause issues"} 
[2026-10-16 09:25:58] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,99,87,24,241,157,16,224,161,183,45,192,118,7,38,10,66,176,128,117,36,168,1,240,203,227,236,4,113,205,5,105,255,136,239,52,2,11,23,252,214],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":203,"original":13452387,"validated":0},{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-10-16 09:25:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504481403981266944,"timestamp_seconds":504481403981266.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783437056001,"66":12906,"99":206,"87":13824,"24":12,"16":145487988472676352,"45":8791026498069432320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783437056001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:25:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145487988472676352,"km_value":145487988472676.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791026498069432320,"description":"Unknown IO ID 45"} 
[2026-10-16 09:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783437056001,"power":12906,"unknown_99":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8791026498069432320}} 
[2026-10-16 09:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":218004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:25:58] local.INFO: GPS data processed {"connection_id":218004,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:25:58] local.INFO: Acknowledgment sent {"connection_id":218004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:26:04] local.INFO: TCP Data received {"connection_id":218005,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218005,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:26:04] local.INFO: Processing buffer {"connection_id":218005,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:26:04] local.INFO: IMEI packet received {"connection_id":218005,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":218005,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:26:06] local.INFO: TCP Data received {"connection_id":218005,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218005,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:26:06] local.INFO: Processing buffer {"connection_id":218005,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:26:06] local.INFO: IMEI packet received {"connection_id":218005,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":218005,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:26:07] local.INFO: TCP Data received {"connection_id":218005,"ip":"117.225.163.234","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218005,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:26:07] local.INFO: Processing buffer {"connection_id":218005,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:26:07] local.INFO: IMEI packet received {"connection_id":218005,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":218005,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:26:07] local.INFO: TCP Data received {"connection_id":216463,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:26:07] local.INFO: Processing buffer {"connection_id":216463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:26:07] local.INFO: IMEI packet received {"connection_id":216463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":216463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:26:09] local.INFO: TCP Data received {"connection_id":218005,"ip":"117.225.163.234","data_length":795,"data_hex":"000000000000030f8e0a000001a142da05b8012d0cafc00704bf000026012223..."} 
[2026-10-16 09:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142da05b8012d0cafc00704bf000026012223..."} 
[2026-10-16 09:26:09] local.INFO: Processing buffer {"connection_id":218005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142da05b8012d0cafc00704bf000026012223..."} 
[2026-10-16 09:26:09] local.INFO: Packet analysis {"connection_id":218005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:26:09] local.INFO: Extracted packet for processing {"connection_id":218005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:26:09] local.INFO: GPS Element Parsed {"raw_longitude":755806144,"raw_latitude":117751552,"longitude_deg":75.5806144,"latitude_deg":11.7751552,"altitude":38,"angle":290,"satellites":35,"speed":32,"hex_longitude":"2d0cafc0","hex_latitude":"0704bf00","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783473664001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36478901001650176,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916834398035007488,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:09] 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-10-16 09:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792122947000,"timestamp_ms":1792122947000,"timestamp_seconds":1792122947,"priority":1,"record_length":96,"hex_timestamp":"000001a142da05b8"} 
[2026-10-16 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-10-16 09:26: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-10-16 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 09:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 09:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":218005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":218005,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":218005,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.163.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783473664001,"66":14515,"18":206,"28":32256,"24":32,"16":36478901001650176,"45":916834398035007488},"client_ip":"117.225.163.234","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 09:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783473664001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:26:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 09:26:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 09:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36478901001650176,"km_value":36478901001650.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":916834398035007488,"description":"Unknown IO ID 45"} 
[2026-10-16 09:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783473664001,"power":14515,"unknown_18":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_45":916834398035007488}} 
[2026-10-16 09:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":218005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045647,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:26:09] local.INFO: GPS data processed {"connection_id":218005,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:26:09] local.INFO: Acknowledgment sent {"connection_id":218005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:26:13] local.INFO: TCP Data received {"connection_id":216463,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:26:13] local.INFO: Processing buffer {"connection_id":216463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:26:13] local.INFO: IMEI packet received {"connection_id":216463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":216463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:26:13] local.INFO: TCP Data received {"connection_id":216463,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d7eaa8012d196900071fed50003a01112c..."} 
[2026-10-16 09:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d7eaa8012d196900071fed50003a01112c..."} 
[2026-10-16 09:26:13] local.INFO: Processing buffer {"connection_id":216463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d7eaa8012d196900071fed50003a01112c..."} 
[2026-10-16 09:26:13] local.INFO: Packet analysis {"connection_id":216463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:26:13] local.INFO: Extracted packet for processing {"connection_id":216463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d7"} 
[2026-10-16 09:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783433728001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792122809000,"timestamp_ms":1792122809000,"timestamp_seconds":1792122809,"priority":1,"record_length":96,"hex_timestamp":"000001a142d7eaa8"} 
[2026-10-16 09:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:26:13] 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-10-16 09:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 09:26: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-10-16 09: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-10-16 09:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783433728001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783433728001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:26:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783433728001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":216463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:26:14] local.INFO: GPS data processed {"connection_id":216463,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:26:14] local.INFO: Acknowledgment sent {"connection_id":216463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:26:15] local.INFO: TCP Data received {"connection_id":219737,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:26:15] local.INFO: Processing buffer {"connection_id":219737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:26:15] local.INFO: IMEI packet received {"connection_id":219737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":219737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:26:16] local.INFO: TCP Data received {"connection_id":219737,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:26:16] local.INFO: Processing buffer {"connection_id":219737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:26:16] local.INFO: IMEI packet received {"connection_id":219737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":219737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:26:21] local.INFO: TCP Data received {"connection_id":216665,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:26:21] local.INFO: Processing buffer {"connection_id":216665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:26:21] local.INFO: IMEI packet received {"connection_id":216665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":216665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:26:21] local.INFO: TCP Data received {"connection_id":219737,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:26:21] local.INFO: Processing buffer {"connection_id":219737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:26:21] local.INFO: IMEI packet received {"connection_id":219737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":219737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:26:22] local.INFO: TCP Data received {"connection_id":219737,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:26:22] local.INFO: Processing buffer {"connection_id":219737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:26:22] local.INFO: Packet analysis {"connection_id":219737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:26:22] local.INFO: Extracted packet for processing {"connection_id":219737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:26:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792122937000,"timestamp_ms":1792122937000,"timestamp_seconds":1792122937,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9dea8"} 
[2026-10-16 09:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:26:22] 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-10-16 09: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-10-16 09:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394816001,"66":25734,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:26:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:26:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394816001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":219737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:26:22] local.INFO: GPS data processed {"connection_id":219737,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:26:22] local.INFO: Acknowledgment sent {"connection_id":219737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:26:25] local.INFO: TCP Data received {"connection_id":216665,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:26:25] local.INFO: Processing buffer {"connection_id":216665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:26:25] local.INFO: IMEI packet received {"connection_id":216665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":216665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:26:26] local.INFO: TCP Data received {"connection_id":216665,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:26:26] local.INFO: Processing buffer {"connection_id":216665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:26:26] local.INFO: IMEI packet received {"connection_id":216665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":216665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:26:27] local.INFO: TCP Data received {"connection_id":216665,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142da7ae8012d7a1a0005ec8348000800902a..."} 
[2026-10-16 09:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142da7ae8012d7a1a0005ec8348000800902a..."} 
[2026-10-16 09:26:27] local.INFO: Processing buffer {"connection_id":216665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142da7ae8012d7a1a0005ec8348000800902a..."} 
[2026-10-16 09:26:27] local.INFO: Packet analysis {"connection_id":216665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:26:27] local.INFO: Extracted packet for processing {"connection_id":216665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":99386184,"longitude_deg":76.2976768,"latitude_deg":9.9386184,"altitude":8,"angle":144,"satellites":42,"speed":6,"hex_longitude":"2d7a1a00","hex_latitude":"05ec8348","is_valid_coordinates":true} 
[2026-10-16 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783481600001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145488250465681408,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720434176,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792122977000,"timestamp_ms":1792122977000,"timestamp_seconds":1792122977,"priority":1,"record_length":96,"hex_timestamp":"000001a142da7ae8"} 
[2026-10-16 09:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-10-16 09:26:27] 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-10-16 09:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783481600001,"66":13059,"100":206,"87":13824,"24":6,"16":145488250465681408,"45":8798274478720434176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-16 09:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783481600001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:26:27] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 09:26:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145488250465681408,"km_value":145488250465681.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720434176,"description":"Unknown IO ID 45"} 
[2026-10-16 09:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783481600001,"power":13059,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8798274478720434176}} 
[2026-10-16 09:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":216665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:26:27] local.INFO: GPS data processed {"connection_id":216665,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:26:27] local.INFO: Acknowledgment sent {"connection_id":216665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:26:28] local.INFO: TCP Data received {"connection_id":216665,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142da7ed0012d7a1a4005ec82980008009d2a..."} 
[2026-10-16 09:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142da7ed0012d7a1a4005ec82980008009d2a..."} 
[2026-10-16 09:26:28] local.INFO: Processing buffer {"connection_id":216665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142da7ed0012d7a1a4005ec82980008009d2a..."} 
[2026-10-16 09:26:28] local.INFO: Packet analysis {"connection_id":216665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:26:28] local.INFO: Extracted packet for processing {"connection_id":216665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:26:28] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":99386008,"longitude_deg":76.2976832,"latitude_deg":9.9386008,"altitude":8,"angle":157,"satellites":42,"speed":8,"hex_longitude":"2d7a1a40","hex_latitude":"05ec8298","is_valid_coordinates":true} 
[2026-10-16 09:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783482112001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145488259055616000,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847464548352,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792122978000,"timestamp_ms":1792122978000,"timestamp_seconds":1792122978,"priority":1,"record_length":96,"hex_timestamp":"000001a142da7ed0"} 
[2026-10-16 09:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113134916,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":100,"raw_value":58079734643818506,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3663695873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2182086666,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3770548224,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2818649466,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967899648,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,224,161,115,45,192,132,9,42,10,66,103,131,43,99,64,1,240,116,227,236,4,113,205,91,25,144,44,239,54,2,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-10-16 09:26:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576619262366842880,"timestamp_seconds":576619262366842.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783482112001,"66":13059,"100":206,"87":13824,"24":8,"16":145488259055616000,"45":8798344847464548352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-16 09:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783482112001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:26:28] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 09:26:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145488259055616000,"km_value":145488259055616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847464548352,"description":"Unknown IO ID 45"} 
[2026-10-16 09:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783482112001,"power":13059,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8798344847464548352}} 
[2026-10-16 09:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":216665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:26:28] local.INFO: GPS data processed {"connection_id":216665,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:26:28] local.INFO: Acknowledgment sent {"connection_id":216665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:26:44] local.INFO: TCP Data received {"connection_id":216463,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d83cb0012d196900071fed50003a011129..."} 
[2026-10-16 09:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d83cb0012d196900071fed50003a011129..."} 
[2026-10-16 09:26:44] local.INFO: Processing buffer {"connection_id":216463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d83cb0012d196900071fed50003a011129..."} 
[2026-10-16 09:26:44] local.INFO: Packet analysis {"connection_id":216463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d8"} 
[2026-10-16 09:26:44] local.INFO: Extracted packet for processing {"connection_id":216463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d8"} 
[2026-10-16 09:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783439104001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792122830000,"timestamp_ms":1792122830000,"timestamp_seconds":1792122830,"priority":1,"record_length":96,"hex_timestamp":"000001a142d83cb0"} 
[2026-10-16 09:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:26:44] 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-10-16 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:26: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-10-16 09: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-10-16 09:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783439104001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783439104001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:26:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783439104001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":216463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:26:45] local.INFO: GPS data processed {"connection_id":216463,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:26:45] local.INFO: Acknowledgment sent {"connection_id":216463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:26:54] local.INFO: TCP Data received {"connection_id":219737,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:26:54] local.INFO: Processing buffer {"connection_id":219737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:26:54] local.INFO: Packet analysis {"connection_id":219737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:26:54] local.INFO: Extracted packet for processing {"connection_id":219737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792122937000,"timestamp_ms":1792122937000,"timestamp_seconds":1792122937,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9dea8"} 
[2026-10-16 09:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394816001,"66":25734,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:26:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:26:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394816001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":219737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:26:54] local.INFO: GPS data processed {"connection_id":219737,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:26:54] local.INFO: Acknowledgment sent {"connection_id":219737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:26:59] local.INFO: TCP Data received {"connection_id":216665,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142da8e70012d7a1ac005ec81700007012b2a..."} 
[2026-10-16 09:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142da8e70012d7a1ac005ec81700007012b2a..."} 
[2026-10-16 09:26:59] local.INFO: Processing buffer {"connection_id":216665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142da8e70012d7a1ac005ec81700007012b2a..."} 
[2026-10-16 09:26:59] local.INFO: Packet analysis {"connection_id":216665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:26:59] local.INFO: Extracted packet for processing {"connection_id":216665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:26:59] local.INFO: GPS Element Parsed {"raw_longitude":762976960,"raw_latitude":99385712,"longitude_deg":76.297696,"latitude_deg":9.9385712,"altitude":7,"angle":299,"satellites":42,"speed":0,"hex_longitude":"2d7a1ac0","hex_latitude":"05ec8170","is_valid_coordinates":true} 
[2026-10-16 09:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783482368001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145488280530452480,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216208680960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792122982000,"timestamp_ms":1792122982000,"timestamp_seconds":1792122982,"priority":1,"record_length":96,"hex_timestamp":"000001a142da8e70"} 
[2026-10-16 09:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303177223163204,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":100,"raw_value":58079734643818504,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3663951873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2194669578,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3770679296,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2415996282,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221613698,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967913984,"note":"Value kept but may cause issues"} 
[2026-10-16 09:26:59] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,100,87,24,241,157,16,224,161,122,45,131,8,42,10,66,115,192,132,9,103,1,240,116,227,236,4,113,205,95,25,43,239,54,2,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-10-16 09:26:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576633556018135040,"timestamp_seconds":576633556018135.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783482368001,"66":14276,"100":206,"87":13824,"24":0,"16":145488280530452480,"45":8798415216208680960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-16 09:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783482368001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:26:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 09:26:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145488280530452480,"km_value":145488280530452.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216208680960,"description":"Unknown IO ID 45"} 
[2026-10-16 09:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783482368001,"power":14276,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798415216208680960}} 
[2026-10-16 09:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":216665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:26:59] local.INFO: GPS data processed {"connection_id":216665,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:26:59] local.INFO: Acknowledgment sent {"connection_id":216665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:27:07] local.INFO: TCP Data received {"connection_id":219739,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:27:07] local.INFO: Processing buffer {"connection_id":219739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:27:07] local.INFO: IMEI packet received {"connection_id":219739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":219739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:27:13] local.INFO: TCP Data received {"connection_id":219739,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:27:13] local.INFO: Processing buffer {"connection_id":219739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:27:13] local.INFO: IMEI packet received {"connection_id":219739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":219739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:27:16] local.INFO: TCP Data received {"connection_id":219739,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d88eb8012d196900071fed50003a01112b..."} 
[2026-10-16 09:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d88eb8012d196900071fed50003a01112b..."} 
[2026-10-16 09:27:16] local.INFO: Processing buffer {"connection_id":219739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d88eb8012d196900071fed50003a01112b..."} 
[2026-10-16 09:27:16] local.INFO: Packet analysis {"connection_id":219739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d8"} 
[2026-10-16 09:27:16] local.INFO: Extracted packet for processing {"connection_id":219739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d8"} 
[2026-10-16 09:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783444480001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792122851000,"timestamp_ms":1792122851000,"timestamp_seconds":1792122851,"priority":1,"record_length":96,"hex_timestamp":"000001a142d88eb8"} 
[2026-10-16 09:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:27:16] 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-10-16 09:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:27: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-10-16 09:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":219739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":219739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":219739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783444480001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783444480001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:27:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783444480001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":219739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:27:16] local.INFO: GPS data processed {"connection_id":219739,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:27:16] local.INFO: Acknowledgment sent {"connection_id":219739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:27:21] local.INFO: TCP Data received {"connection_id":216465,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:27:21] local.INFO: Processing buffer {"connection_id":216465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:27:21] local.INFO: IMEI packet received {"connection_id":216465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":216465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:27:21] local.INFO: TCP Data received {"connection_id":219740,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:27:21] local.INFO: Processing buffer {"connection_id":219740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:27:21] local.INFO: IMEI packet received {"connection_id":219740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":219740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:27:26] local.INFO: TCP Data received {"connection_id":216465,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:27:26] local.INFO: Processing buffer {"connection_id":216465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:27:26] local.INFO: IMEI packet received {"connection_id":216465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":216465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:27:27] local.INFO: TCP Data received {"connection_id":216465,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142da9a28012d7a1a0005ec81b80007011a29..."} 
[2026-10-16 09:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142da9a28012d7a1a0005ec81b80007011a29..."} 
[2026-10-16 09:27:27] local.INFO: Processing buffer {"connection_id":216465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142da9a28012d7a1a0005ec81b80007011a29..."} 
[2026-10-16 09:27:27] local.INFO: Packet analysis {"connection_id":216465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:27:27] local.INFO: Extracted packet for processing {"connection_id":216465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:27:27] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":99385784,"longitude_deg":76.2976768,"latitude_deg":9.9385784,"altitude":7,"angle":282,"satellites":41,"speed":2,"hex_longitude":"2d7a1a00","hex_latitude":"05ec81b8","is_valid_coordinates":true} 
[2026-10-16 09:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783483392001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145488289120387072,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798555953696960512,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792122985000,"timestamp_ms":1792122985000,"timestamp_seconds":1792122985,"priority":1,"record_length":96,"hex_timestamp":"000001a142da9a28"} 
[2026-10-16 09:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 09:27:27] 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-10-16 09:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783483392001,"66":14211,"100":206,"87":13824,"24":2,"16":145488289120387072,"45":8798555953696960512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-16 09:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783483392001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:27:27] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 09:27:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145488289120387072,"km_value":145488289120387.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798555953696960512,"description":"Unknown IO ID 45"} 
[2026-10-16 09:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783483392001,"power":14211,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8798555953696960512}} 
[2026-10-16 09:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":216465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:27:27] local.INFO: GPS data processed {"connection_id":216465,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:27:27] local.INFO: Acknowledgment sent {"connection_id":216465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:27:28] local.INFO: TCP Data received {"connection_id":219740,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:27:28] local.INFO: Processing buffer {"connection_id":219740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:27:28] local.INFO: IMEI packet received {"connection_id":219740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":219740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:27:29] local.INFO: TCP Data received {"connection_id":219740,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:27:29] local.INFO: Processing buffer {"connection_id":219740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:27:29] local.INFO: Packet analysis {"connection_id":219740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:27:29] local.INFO: Extracted packet for processing {"connection_id":219740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792122937000,"timestamp_ms":1792122937000,"timestamp_seconds":1792122937,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9dea8"} 
[2026-10-16 09:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394816001,"66":25734,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:27:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:27:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394816001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":219740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:27:29] local.INFO: GPS data processed {"connection_id":219740,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:27:29] local.INFO: Acknowledgment sent {"connection_id":219740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:27:47] local.INFO: TCP Data received {"connection_id":219739,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d8e0c0012d196900071fed50003a01112c..."} 
[2026-10-16 09:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d8e0c0012d196900071fed50003a01112c..."} 
[2026-10-16 09:27:47] local.INFO: Processing buffer {"connection_id":219739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d8e0c0012d196900071fed50003a01112c..."} 
[2026-10-16 09:27:47] local.INFO: Packet analysis {"connection_id":219739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d8"} 
[2026-10-16 09:27:47] local.INFO: Extracted packet for processing {"connection_id":219739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d8"} 
[2026-10-16 09:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783449856001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792122872000,"timestamp_ms":1792122872000,"timestamp_seconds":1792122872,"priority":1,"record_length":96,"hex_timestamp":"000001a142d8e0c0"} 
[2026-10-16 09:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":219739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":219739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":219739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783449856001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783449856001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:27:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783449856001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":219739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:27:47] local.INFO: GPS data processed {"connection_id":219739,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:27:47] local.INFO: Acknowledgment sent {"connection_id":219739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:27:59] local.INFO: TCP Data received {"connection_id":216465,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142db9bf8012d79e60005ec97c80009015429..."} 
[2026-10-16 09:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142db9bf8012d79e60005ec97c80009015429..."} 
[2026-10-16 09:27:59] local.INFO: Processing buffer {"connection_id":216465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142db9bf8012d79e60005ec97c80009015429..."} 
[2026-10-16 09:27:59] local.INFO: Packet analysis {"connection_id":216465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:27:59] local.INFO: Extracted packet for processing {"connection_id":216465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:27:59] local.INFO: GPS Element Parsed {"raw_longitude":762963456,"raw_latitude":99391432,"longitude_deg":76.2963456,"latitude_deg":9.9391432,"altitude":9,"angle":340,"satellites":41,"speed":16,"hex_longitude":"2d79e600","hex_latitude":"05ec97c8","is_valid_coordinates":true} 
[2026-10-16 09:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783495936001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145489216833323008,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787930273325576192,"note":"Value kept but may cause issues"} 
[2026-10-16 09:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792123051000,"timestamp_ms":1792123051000,"timestamp_seconds":1792123051,"priority":1,"record_length":96,"hex_timestamp":"000001a142db9bf8"} 
[2026-10-16 09:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 09:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783495936001,"66":14157,"100":206,"87":13824,"24":16,"16":145489216833323008,"45":8787930273325576192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-16 09:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783495936001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:27:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 09:27:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145489216833323008,"km_value":145489216833323.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787930273325576192,"description":"Unknown IO ID 45"} 
[2026-10-16 09:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783495936001,"power":14157,"unknown_100":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8787930273325576192}} 
[2026-10-16 09:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":216465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:27:59] local.INFO: GPS data processed {"connection_id":216465,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:27:59] local.INFO: Acknowledgment sent {"connection_id":216465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:28:00] local.INFO: TCP Data received {"connection_id":219740,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:28:00] local.INFO: Processing buffer {"connection_id":219740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:28:00] local.INFO: Packet analysis {"connection_id":219740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:28:00] local.INFO: Extracted packet for processing {"connection_id":219740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792122937000,"timestamp_ms":1792122937000,"timestamp_seconds":1792122937,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9dea8"} 
[2026-10-16 09:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394816001,"66":25734,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:28:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:28:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394816001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":219740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:28:01] local.INFO: GPS data processed {"connection_id":219740,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:28:01] local.INFO: Acknowledgment sent {"connection_id":219740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:28:07] local.INFO: TCP Data received {"connection_id":216466,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:28:07] local.INFO: Processing buffer {"connection_id":216466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:28:07] local.INFO: IMEI packet received {"connection_id":216466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":216466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:28:13] local.INFO: TCP Data received {"connection_id":216466,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:28:13] local.INFO: Processing buffer {"connection_id":216466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:28:13] local.INFO: IMEI packet received {"connection_id":216466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":216466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:28:13] local.INFO: TCP Data received {"connection_id":216466,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d932c8012d196900071fed50003a01112a..."} 
[2026-10-16 09:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d932c8012d196900071fed50003a01112a..."} 
[2026-10-16 09:28:13] local.INFO: Processing buffer {"connection_id":216466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d932c8012d196900071fed50003a01112a..."} 
[2026-10-16 09:28:13] local.INFO: Packet analysis {"connection_id":216466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:28:13] local.INFO: Extracted packet for processing {"connection_id":216466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783455232001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792122893000,"timestamp_ms":1792122893000,"timestamp_seconds":1792122893,"priority":1,"record_length":96,"hex_timestamp":"000001a142d932c8"} 
[2026-10-16 09:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:28:13] 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-10-16 09:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 09:28: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-10-16 09:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783455232001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783455232001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:28:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783455232001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":216466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:28:13] local.INFO: GPS data processed {"connection_id":216466,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:28:13] local.INFO: Acknowledgment sent {"connection_id":216466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:28:16] local.INFO: TCP Data received {"connection_id":218007,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218007,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:28:16] local.INFO: Processing buffer {"connection_id":218007,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:28:16] local.INFO: IMEI packet received {"connection_id":218007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":218007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:28:17] local.INFO: TCP Data received {"connection_id":216467,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:28:17] local.INFO: Processing buffer {"connection_id":216467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:28:17] local.INFO: IMEI packet received {"connection_id":216467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":216467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:28:18] local.INFO: TCP Data received {"connection_id":218007,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218007,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:28:18] local.INFO: Processing buffer {"connection_id":218007,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:28:18] local.INFO: IMEI packet received {"connection_id":218007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":218007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:28:19] local.INFO: TCP Data received {"connection_id":218007,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218007,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:28:19] local.INFO: Processing buffer {"connection_id":218007,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:28:19] local.INFO: IMEI packet received {"connection_id":218007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":218007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:28:20] local.INFO: TCP Data received {"connection_id":218007,"ip":"42.106.6.55","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a142..."} 
[2026-10-16 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218007,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a142..."} 
[2026-10-16 09:28:20] local.INFO: Processing buffer {"connection_id":218007,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a142..."} 
[2026-10-16 09:28:20] local.INFO: IMEI packet received {"connection_id":218007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":218007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:28:20] local.INFO: TCP Data received {"connection_id":218007,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142dbcad8012d0c72400703fcb8001400eb22..."} 
[2026-10-16 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dbcad8012d0c72400703fcb8001400eb22..."} 
[2026-10-16 09:28:20] local.INFO: Processing buffer {"connection_id":218007,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a142dbaf80012d0c914007041250001600e723..."} 
[2026-10-16 09:28:20] local.INFO: Packet analysis {"connection_id":218007,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:28:20] local.INFO: Extracted packet for processing {"connection_id":218007,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":755798336,"raw_latitude":117707344,"longitude_deg":75.5798336,"latitude_deg":11.7707344,"altitude":22,"angle":231,"satellites":35,"speed":49,"hex_longitude":"2d0c9140","hex_latitude":"07041250","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783501824001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36481920363659264,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907475355048671232,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792123056000,"timestamp_ms":1792123056000,"timestamp_seconds":1792123056,"priority":1,"record_length":96,"hex_timestamp":"000001a142dbaf80"} 
[2026-10-16 09:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 09:28:20] 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-10-16 09: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-10-16 09:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":218007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":218007,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":218007,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783501824001,"66":14439,"17":206,"94":11008,"24":49,"16":36481920363659264,"45":907475355048671232},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 09:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783501824001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:28:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36481920363659264,"km_value":36481920363659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":907475355048671232,"description":"Unknown IO ID 45"} 
[2026-10-16 09:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783501824001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":907475355048671232}} 
[2026-10-16 09:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":218007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045662,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:28:20] local.INFO: GPS data processed {"connection_id":218007,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:28:20] local.INFO: Acknowledgment sent {"connection_id":218007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:28:20] local.INFO: Packet analysis {"connection_id":218007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:28:20] local.INFO: Extracted packet for processing {"connection_id":218007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":755790400,"raw_latitude":117701816,"longitude_deg":75.57904,"latitude_deg":11.7701816,"altitude":20,"angle":235,"satellites":34,"speed":54,"hex_longitude":"2d0c7240","hex_latitude":"0703fcb8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783502336001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36482384220127232,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905575398955438080,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792123063000,"timestamp_ms":1792123063000,"timestamp_seconds":1792123063,"priority":1,"record_length":96,"hex_timestamp":"000001a142dbcad8"} 
[2026-10-16 09:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 09:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":218007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":218007,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":218007,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783502336001,"66":14428,"17":206,"94":11008,"24":54,"16":36482384220127232,"45":905575398955438080},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 09:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783502336001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:28:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36482384220127232,"km_value":36482384220127.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":905575398955438080,"description":"Unknown IO ID 45"} 
[2026-10-16 09:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783502336001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":905575398955438080}} 
[2026-10-16 09:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":218007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:28:21] local.INFO: GPS data processed {"connection_id":218007,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:28:21] local.INFO: Acknowledgment sent {"connection_id":218007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:28:22] local.INFO: TCP Data received {"connection_id":216467,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:28:22] local.INFO: Processing buffer {"connection_id":216467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:28:22] local.INFO: IMEI packet received {"connection_id":216467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":216467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:28:22] local.INFO: TCP Data received {"connection_id":218007,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142dbea18012d0c54400703e550001200e323..."} 
[2026-10-16 09:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dbea18012d0c54400703e550001200e323..."} 
[2026-10-16 09:28:22] local.INFO: Processing buffer {"connection_id":218007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dbea18012d0c54400703e550001200e323..."} 
[2026-10-16 09:28:22] local.INFO: Packet analysis {"connection_id":218007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:28:22] local.INFO: Extracted packet for processing {"connection_id":218007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:28:22] local.INFO: GPS Element Parsed {"raw_longitude":755782720,"raw_latitude":117695824,"longitude_deg":75.578272,"latitude_deg":11.7695824,"altitude":18,"angle":227,"satellites":35,"speed":33,"hex_longitude":"2d0c5440","hex_latitude":"0703e550","is_valid_coordinates":true} 
[2026-10-16 09:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783504128001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36482848076595200,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896849674675992576,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28: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-10-16 09:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792123071000,"timestamp_ms":1792123071000,"timestamp_seconds":1792123071,"priority":1,"record_length":96,"hex_timestamp":"000001a142dbea18"} 
[2026-10-16 09:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 09:28: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-10-16 09:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218007,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218007,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783504128001,"66":14548,"16":36482848076595200,"94":11008,"24":33,"45":896849674675992576},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 09:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783504128001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36482848076595200,"km_value":36482848076595.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:28:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":896849674675992576,"description":"Unknown IO ID 45"} 
[2026-10-16 09:28:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458783504128001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":33,"unknown_45":896849674675992576}} 
[2026-10-16 09:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":218007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045664,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:28:23] local.INFO: GPS data processed {"connection_id":218007,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:28:23] local.INFO: Acknowledgment sent {"connection_id":218007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:28:23] local.INFO: TCP Data received {"connection_id":216467,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:28:23] local.INFO: Processing buffer {"connection_id":216467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:28:23] local.INFO: Packet analysis {"connection_id":216467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:28:23] local.INFO: Extracted packet for processing {"connection_id":216467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122937000,"timestamp_ms":1792122937000,"timestamp_seconds":1792122937,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9dea8"} 
[2026-10-16 09:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:28:23] 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-10-16 09: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-10-16 09:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394816001,"66":25734,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:28:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:28:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394816001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":216467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:28:23] local.INFO: GPS data processed {"connection_id":216467,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:28:23] local.INFO: Acknowledgment sent {"connection_id":216467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:28:26] local.INFO: TCP Data received {"connection_id":216468,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:28:26] local.INFO: Processing buffer {"connection_id":216468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:28:26] local.INFO: IMEI packet received {"connection_id":216468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":216468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:28:31] local.INFO: TCP Data received {"connection_id":216468,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:28:31] local.INFO: Processing buffer {"connection_id":216468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:28:31] local.INFO: IMEI packet received {"connection_id":216468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":216468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:28:32] local.INFO: TCP Data received {"connection_id":216468,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142dbee00012d79e08005ecab380007015c28..."} 
[2026-10-16 09:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dbee00012d79e08005ecab380007015c28..."} 
[2026-10-16 09:28:32] local.INFO: Processing buffer {"connection_id":216468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dbee00012d79e08005ecab380007015c28..."} 
[2026-10-16 09:28:32] local.INFO: Packet analysis {"connection_id":216468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:28:32] local.INFO: Extracted packet for processing {"connection_id":216468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:28:32] local.INFO: GPS Element Parsed {"raw_longitude":762962048,"raw_latitude":99396408,"longitude_deg":76.2962048,"latitude_deg":9.9396408,"altitude":7,"angle":348,"satellites":40,"speed":5,"hex_longitude":"2d79e080","hex_latitude":"05ecab38","is_valid_coordinates":true} 
[2026-10-16 09:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783501056001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145489483121295360,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783708148676937728,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792123072000,"timestamp_ms":1792123072000,"timestamp_seconds":1792123072,"priority":1,"record_length":96,"hex_timestamp":"000001a142dbee00"} 
[2026-10-16 09:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 09:28:32] 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-10-16 09:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783501056001,"66":13276,"100":206,"87":13824,"24":5,"16":145489483121295360,"45":8783708148676937728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-16 09:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783501056001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:28:32] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 09:28:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145489483121295360,"km_value":145489483121295.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783708148676937728,"description":"Unknown IO ID 45"} 
[2026-10-16 09:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783501056001,"power":13276,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8783708148676937728}} 
[2026-10-16 09:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":216468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:28:32] local.INFO: GPS data processed {"connection_id":216468,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:28:32] local.INFO: Acknowledgment sent {"connection_id":216468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:28:41] local.INFO: TCP Data received {"connection_id":216468,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142dbf1e8012d79e0c005ecab600007004729..."} 
[2026-10-16 09:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dbf1e8012d79e0c005ecab600007004729..."} 
[2026-10-16 09:28:41] local.INFO: Processing buffer {"connection_id":216468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dbf1e8012d79e0c005ecab600007004729..."} 
[2026-10-16 09:28:41] local.INFO: Packet analysis {"connection_id":216468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:28:41] local.INFO: Extracted packet for processing {"connection_id":216468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:28:41] local.INFO: GPS Element Parsed {"raw_longitude":762962112,"raw_latitude":99396448,"longitude_deg":76.2962112,"latitude_deg":9.9396448,"altitude":7,"angle":71,"satellites":41,"speed":6,"hex_longitude":"2d79e0c0","hex_latitude":"05ecab60","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783506432001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145489487416262656,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782160036306302976,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792123073000,"timestamp_ms":1792123073000,"timestamp_seconds":1792123073,"priority":1,"record_length":96,"hex_timestamp":"000001a142dbf1e8"} 
[2026-10-16 09:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:28:41] 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-10-16 09: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-10-16 09:28:41] 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-10-16 09: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-10-16 09:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":216468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":216468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":216468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783506432001,"66":13080,"100":206,"87":13824,"24":6,"16":145489487416262656,"45":8782160036306302976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-16 09:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783506432001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:28:41] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 09:28:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145489487416262656,"km_value":145489487416262.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782160036306302976,"description":"Unknown IO ID 45"} 
[2026-10-16 09:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783506432001,"power":13080,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8782160036306302976}} 
[2026-10-16 09:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":216468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:28:41] local.INFO: GPS data processed {"connection_id":216468,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:28:41] local.INFO: Acknowledgment sent {"connection_id":216468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:28:47] local.INFO: TCP Data received {"connection_id":216466,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d984d0012d196900071fed50003a01112b..."} 
[2026-10-16 09:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d984d0012d196900071fed50003a01112b..."} 
[2026-10-16 09:28:47] local.INFO: Processing buffer {"connection_id":216466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d984d0012d196900071fed50003a01112b..."} 
[2026-10-16 09:28:47] local.INFO: Packet analysis {"connection_id":216466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:28:47] local.INFO: Extracted packet for processing {"connection_id":216466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783460608001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792122914000,"timestamp_ms":1792122914000,"timestamp_seconds":1792122914,"priority":1,"record_length":96,"hex_timestamp":"000001a142d984d0"} 
[2026-10-16 09:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783460608001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783460608001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:28:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783460608001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":216466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:28:47] local.INFO: GPS data processed {"connection_id":216466,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:28:47] local.INFO: Acknowledgment sent {"connection_id":216466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:28:55] local.INFO: TCP Data received {"connection_id":216467,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:28:55] local.INFO: Processing buffer {"connection_id":216467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:28:55] local.INFO: Packet analysis {"connection_id":216467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:28:55] local.INFO: Extracted packet for processing {"connection_id":216467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792122937000,"timestamp_ms":1792122937000,"timestamp_seconds":1792122937,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9dea8"} 
[2026-10-16 09:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:28:55] 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-10-16 09:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394816001,"66":25734,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:28:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:28:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394816001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":216467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:28:55] local.INFO: GPS data processed {"connection_id":216467,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:28:55] local.INFO: Acknowledgment sent {"connection_id":216467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:29:07] local.INFO: TCP Data received {"connection_id":218008,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:29:07] local.INFO: Processing buffer {"connection_id":218008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:29:07] local.INFO: IMEI packet received {"connection_id":218008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":218008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:29:08] local.INFO: TCP Data received {"connection_id":216666,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:29:08] local.INFO: Processing buffer {"connection_id":216666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:29:08] local.INFO: IMEI packet received {"connection_id":216666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":216666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:29:09] local.INFO: TCP Data received {"connection_id":216666,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216666,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:29:09] local.INFO: Processing buffer {"connection_id":216666,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:29:09] local.INFO: IMEI packet received {"connection_id":216666,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":216666,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:29:10] local.INFO: TCP Data received {"connection_id":216666,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142dc99e0012d0c6c800703b548001f00bb1f..."} 
[2026-10-16 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dc99e0012d0c6c800703b548001f00bb1f..."} 
[2026-10-16 09:29:10] local.INFO: Processing buffer {"connection_id":216666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dc99e0012d0c6c800703b548001f00bb1f..."} 
[2026-10-16 09:29:10] local.INFO: Packet analysis {"connection_id":216666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dc"} 
[2026-10-16 09:29:10] local.INFO: Extracted packet for processing {"connection_id":216666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dc"} 
[2026-10-16 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":755788928,"raw_latitude":117683528,"longitude_deg":75.5788928,"latitude_deg":11.7683528,"altitude":31,"angle":187,"satellites":31,"speed":25,"hex_longitude":"2d0c6c80","hex_latitude":"0703b548","is_valid_coordinates":true} 
[2026-10-16 09:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783515904001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36483788674433024,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895231193556377600,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:10] 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-10-16 09:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792123116000,"timestamp_ms":1792123116000,"timestamp_seconds":1792123116,"priority":1,"record_length":96,"hex_timestamp":"000001a142dc99e0"} 
[2026-10-16 09:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 09:29: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-10-16 09:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":216666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":216666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":216666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783515904001,"66":14396,"16":36483788674433024,"94":11008,"24":25,"45":895231193556377600},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 09:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783515904001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36483788674433024,"km_value":36483788674433.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:29:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":895231193556377600,"description":"Unknown IO ID 45"} 
[2026-10-16 09:29:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458783515904001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":25,"unknown_45":895231193556377600}} 
[2026-10-16 09:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":216666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045670,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:29:10] local.INFO: GPS data processed {"connection_id":216666,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:29:10] local.INFO: Acknowledgment sent {"connection_id":216666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:29:13] local.INFO: TCP Data received {"connection_id":218008,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:29:13] local.INFO: Processing buffer {"connection_id":218008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:29:13] local.INFO: IMEI packet received {"connection_id":218008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":218008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:29:13] local.INFO: TCP Data received {"connection_id":218008,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9d6d8012d196900071fed50003a01112b..."} 
[2026-10-16 09:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9d6d8012d196900071fed50003a01112b..."} 
[2026-10-16 09:29:13] local.INFO: Processing buffer {"connection_id":218008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9d6d8012d196900071fed50003a01112b..."} 
[2026-10-16 09:29:13] local.INFO: Packet analysis {"connection_id":218008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:29:13] local.INFO: Extracted packet for processing {"connection_id":218008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783465984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792122935000,"timestamp_ms":1792122935000,"timestamp_seconds":1792122935,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9d6d8"} 
[2026-10-16 09:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:29:13] 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-10-16 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:29: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-10-16 09: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-10-16 09:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783465984001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783465984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:29:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783465984001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":218008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:29:13] local.INFO: GPS data processed {"connection_id":218008,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:29:13] local.INFO: Acknowledgment sent {"connection_id":218008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:29:16] local.INFO: TCP Data received {"connection_id":216666,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142dcb920012d0c68800703a498001e00cd22..."} 
[2026-10-16 09:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dcb920012d0c68800703a498001e00cd22..."} 
[2026-10-16 09:29:16] local.INFO: Processing buffer {"connection_id":216666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dcb920012d0c68800703a498001e00cd22..."} 
[2026-10-16 09:29:16] local.INFO: Packet analysis {"connection_id":216666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dc"} 
[2026-10-16 09:29:16] local.INFO: Extracted packet for processing {"connection_id":216666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dc"} 
[2026-10-16 09:29:16] local.INFO: GPS Element Parsed {"raw_longitude":755787904,"raw_latitude":117679256,"longitude_deg":75.5787904,"latitude_deg":11.7679256,"altitude":30,"angle":205,"satellites":34,"speed":8,"hex_longitude":"2d0c6880","hex_latitude":"0703a498","is_valid_coordinates":true} 
[2026-10-16 09:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783517696001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36484003422797824,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895231193555224576,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 09:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792123124000,"timestamp_ms":1792123124000,"timestamp_seconds":1792123124,"priority":1,"record_length":96,"hex_timestamp":"000001a142dcb920"} 
[2026-10-16 09:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 09:29: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-10-16 09:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783517696001,"66":14461,"16":36484003422797824,"94":11008,"24":8,"45":895231193555224576},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 09:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783517696001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36484003422797824,"km_value":36484003422797.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:29:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":895231193555224576,"description":"Unknown IO ID 45"} 
[2026-10-16 09:29:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458783517696001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":895231193555224576}} 
[2026-10-16 09:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":216666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045672,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:29:16] local.INFO: GPS data processed {"connection_id":216666,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:29:16] local.INFO: Acknowledgment sent {"connection_id":216666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:29:16] local.INFO: TCP Data received {"connection_id":216469,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:29:16] local.INFO: Processing buffer {"connection_id":216469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:29:16] local.INFO: IMEI packet received {"connection_id":216469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":216469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:29:21] local.INFO: TCP Data received {"connection_id":218009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:29:21] local.INFO: Processing buffer {"connection_id":218009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:29:21] local.INFO: IMEI packet received {"connection_id":218009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":218009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:29:22] local.INFO: TCP Data received {"connection_id":218009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:29:22] local.INFO: Processing buffer {"connection_id":218009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:29:22] local.INFO: IMEI packet received {"connection_id":218009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":218009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:29:22] local.INFO: TCP Data received {"connection_id":216469,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:29:22] local.INFO: Processing buffer {"connection_id":216469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:29:22] local.INFO: IMEI packet received {"connection_id":216469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":216469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:29:24] local.INFO: TCP Data received {"connection_id":216469,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:29:24] local.INFO: Processing buffer {"connection_id":216469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:29:24] local.INFO: Packet analysis {"connection_id":216469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:29:24] local.INFO: Extracted packet for processing {"connection_id":216469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792122937000,"timestamp_ms":1792122937000,"timestamp_seconds":1792122937,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9dea8"} 
[2026-10-16 09:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:29:24] 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-10-16 09:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394816001,"66":25734,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:29:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:29:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394816001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":216469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:29:24] local.INFO: GPS data processed {"connection_id":216469,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:29:24] local.INFO: Acknowledgment sent {"connection_id":216469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:29:25] local.INFO: TCP Data received {"connection_id":218009,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142dd0740012d79f4c005ecacb00009009627..."} 
[2026-10-16 09:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dd0740012d79f4c005ecacb00009009627..."} 
[2026-10-16 09:29:25] local.INFO: Processing buffer {"connection_id":218009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dd0740012d79f4c005ecacb00009009627..."} 
[2026-10-16 09:29:25] local.INFO: Packet analysis {"connection_id":218009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:29:25] local.INFO: Extracted packet for processing {"connection_id":218009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:29:25] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99396784,"longitude_deg":76.2967232,"latitude_deg":9.9396784,"altitude":9,"angle":150,"satellites":39,"speed":2,"hex_longitude":"2d79f4c0","hex_latitude":"05ecacb0","is_valid_coordinates":true} 
[2026-10-16 09:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783522816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145489809538809856,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787789535840632832,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792123144000,"timestamp_ms":1792123144000,"timestamp_seconds":1792123144,"priority":1,"record_length":96,"hex_timestamp":"000001a142dd0740"} 
[2026-10-16 09:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 09:29:25] 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-10-16 09:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":218009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":218009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":218009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783522816001,"66":13559,"118":206,"87":13824,"24":2,"16":145489809538809856,"45":8787789535840632832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-16 09:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783522816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:29:25] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-16 09:29:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145489809538809856,"km_value":145489809538809.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787789535840632832,"description":"Unknown IO ID 45"} 
[2026-10-16 09:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783522816001,"power":13559,"unknown_118":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8787789535840632832}} 
[2026-10-16 09:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":218009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:29:25] local.INFO: GPS data processed {"connection_id":218009,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:29:25] local.INFO: Acknowledgment sent {"connection_id":218009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:29:47] local.INFO: TCP Data received {"connection_id":216666,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142dd0740012d0c644007039728001a00c221..."} 
[2026-10-16 09:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dd0740012d0c644007039728001a00c221..."} 
[2026-10-16 09:29:47] local.INFO: Processing buffer {"connection_id":216666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dd0740012d0c644007039728001a00c221..."} 
[2026-10-16 09:29:47] local.INFO: Packet analysis {"connection_id":216666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:29:47] local.INFO: Extracted packet for processing {"connection_id":216666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:29:47] local.INFO: GPS Element Parsed {"raw_longitude":755786816,"raw_latitude":117675816,"longitude_deg":75.5786816,"latitude_deg":11.7675816,"altitude":26,"angle":194,"satellites":33,"speed":0,"hex_longitude":"2d0c6440","hex_latitude":"07039728","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783519744001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36484179516456960,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894105293647288320,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 09:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792123144000,"timestamp_ms":1792123144000,"timestamp_seconds":1792123144,"priority":1,"record_length":96,"hex_timestamp":"000001a142dd0740"} 
[2026-10-16 09:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:29:47] 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-10-16 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 09:29:47] 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-10-16 09: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-10-16 09:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216666,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783519744001,"66":14515,"16":36484179516456960,"94":11008,"24":0,"45":894105293647288320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 09:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783519744001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36484179516456960,"km_value":36484179516456.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:29:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":894105293647288320,"description":"Unknown IO ID 45"} 
[2026-10-16 09:29:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458783519744001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":894105293647288320}} 
[2026-10-16 09:29:47] local.INFO: TCP Data received {"connection_id":218008,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142da28e0012d196900071fed50003a01112a..."} 
[2026-10-16 09:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142da28e0012d196900071fed50003a01112a..."} 
[2026-10-16 09:29:47] local.INFO: Processing buffer {"connection_id":218008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142da28e0012d196900071fed50003a01112a..."} 
[2026-10-16 09:29:47] local.INFO: Packet analysis {"connection_id":218008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:29:47] local.INFO: Extracted packet for processing {"connection_id":218008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471360001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792122956000,"timestamp_ms":1792122956000,"timestamp_seconds":1792122956,"priority":1,"record_length":96,"hex_timestamp":"000001a142da28e0"} 
[2026-10-16 09:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471360001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471360001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:29:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471360001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":216666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:29:47] local.INFO: GPS data processed {"connection_id":216666,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:29:47] local.INFO: Acknowledgment sent {"connection_id":216666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":218008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:29:47] local.INFO: GPS data processed {"connection_id":218008,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:29:47] local.INFO: Acknowledgment sent {"connection_id":218008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:29:56] local.INFO: TCP Data received {"connection_id":216469,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:29:56] local.INFO: Processing buffer {"connection_id":216469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:29:56] local.INFO: Packet analysis {"connection_id":216469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:29:56] local.INFO: Extracted packet for processing {"connection_id":216469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792122937000,"timestamp_ms":1792122937000,"timestamp_seconds":1792122937,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9dea8"} 
[2026-10-16 09:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394816001,"66":25734,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:29:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:29:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394816001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":216469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:29:56] local.INFO: GPS data processed {"connection_id":216469,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:29:56] local.INFO: Acknowledgment sent {"connection_id":216469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:29:56] local.INFO: TCP Data received {"connection_id":218009,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142dd0b28012d79f4c005ecacb0000900a328..."} 
[2026-10-16 09:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dd0b28012d79f4c005ecacb0000900a328..."} 
[2026-10-16 09:29:56] local.INFO: Processing buffer {"connection_id":218009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dd0b28012d79f4c005ecacb0000900a328..."} 
[2026-10-16 09:29:56] local.INFO: Packet analysis {"connection_id":218009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:29:56] local.INFO: Extracted packet for processing {"connection_id":218009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:29:56] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99396784,"longitude_deg":76.2967232,"latitude_deg":9.9396784,"altitude":9,"angle":163,"satellites":40,"speed":0,"hex_longitude":"2d79f4c0","hex_latitude":"05ecacb0","is_valid_coordinates":true} 
[2026-10-16 09:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783524864001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145489809538809856,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904584790016,"note":"Value kept but may cause issues"} 
[2026-10-16 09:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792123145000,"timestamp_ms":1792123145000,"timestamp_seconds":1792123145,"priority":1,"record_length":96,"hex_timestamp":"000001a142dd0b28"} 
[2026-10-16 09:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 09:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783524864001,"66":13515,"118":206,"87":13824,"24":0,"16":145489809538809856,"45":8787859904584790016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-16 09:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783524864001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:29:56] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-16 09:29:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145489809538809856,"km_value":145489809538809.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904584790016,"description":"Unknown IO ID 45"} 
[2026-10-16 09:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783524864001,"power":13515,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787859904584790016}} 
[2026-10-16 09:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":218009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:29:56] local.INFO: GPS data processed {"connection_id":218009,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:29:56] local.INFO: Acknowledgment sent {"connection_id":218009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:30:02] local.INFO: TCP Data received {"connection_id":219742,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:02] local.INFO: Processing buffer {"connection_id":219742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:02] local.INFO: IMEI packet received {"connection_id":219742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":219742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:30:03] local.INFO: TCP Data received {"connection_id":219742,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:03] local.INFO: Processing buffer {"connection_id":219742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:03] local.INFO: IMEI packet received {"connection_id":219742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":219742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:30:05] local.INFO: TCP Data received {"connection_id":219742,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:05] local.INFO: Processing buffer {"connection_id":219742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:05] local.INFO: IMEI packet received {"connection_id":219742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":219742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:30:07] local.INFO: TCP Data received {"connection_id":219743,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:30:07] local.INFO: Processing buffer {"connection_id":219743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:30:07] local.INFO: IMEI packet received {"connection_id":219743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":219743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:30:08] local.INFO: TCP Data received {"connection_id":219742,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:08] local.INFO: Processing buffer {"connection_id":219742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:30:08] local.INFO: IMEI packet received {"connection_id":219742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":219742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:30:09] local.INFO: TCP Data received {"connection_id":219742,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142ddda30012d0c390007035e38001300b322..."} 
[2026-10-16 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ddda30012d0c390007035e38001300b322..."} 
[2026-10-16 09:30:09] local.INFO: Processing buffer {"connection_id":219742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ddda30012d0c390007035e38001300b322..."} 
[2026-10-16 09:30:09] local.INFO: Packet analysis {"connection_id":219742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:30:09] local.INFO: Extracted packet for processing {"connection_id":219742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:30:09] local.INFO: GPS Element Parsed {"raw_longitude":755775744,"raw_latitude":117661240,"longitude_deg":75.5775744,"latitude_deg":11.766124,"altitude":19,"angle":179,"satellites":34,"speed":12,"hex_longitude":"2d0c3900","hex_latitude":"07035e38","is_valid_coordinates":true} 
[2026-10-16 09:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783538432001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36485240373379072,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880735232248995840,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:09] 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-10-16 09:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792123198000,"timestamp_ms":1792123198000,"timestamp_seconds":1792123198,"priority":1,"record_length":96,"hex_timestamp":"000001a142ddda30"} 
[2026-10-16 09:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:30: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-10-16 09:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 09:30:09] 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-10-16 09:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":219742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":219742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":219742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783538432001,"66":14298,"37":206,"94":11008,"24":12,"16":36485240373379072,"45":880735232248995840},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 09:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783538432001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:30:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 09:30:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36485240373379072,"km_value":36485240373379.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":880735232248995840,"description":"Unknown IO ID 45"} 
[2026-10-16 09:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783538432001,"power":14298,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":880735232248995840}} 
[2026-10-16 09:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":219742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:30:09] local.INFO: GPS data processed {"connection_id":219742,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:30:09] local.INFO: Acknowledgment sent {"connection_id":219742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:30:10] local.INFO: TCP Data received {"connection_id":219742,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142dde5e8012d0c38c007035a68001300cf22..."} 
[2026-10-16 09:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dde5e8012d0c38c007035a68001300cf22..."} 
[2026-10-16 09:30:10] local.INFO: Processing buffer {"connection_id":219742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dde5e8012d0c38c007035a68001300cf22..."} 
[2026-10-16 09:30:10] local.INFO: Packet analysis {"connection_id":219742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:30:10] local.INFO: Extracted packet for processing {"connection_id":219742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:30:10] local.INFO: GPS Element Parsed {"raw_longitude":755775680,"raw_latitude":117660264,"longitude_deg":75.577568,"latitude_deg":11.7660264,"altitude":19,"angle":207,"satellites":34,"speed":12,"hex_longitude":"2d0c38c0","hex_latitude":"07035a68","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783538688001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36485287618019328,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880735232248920064,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:10] 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-10-16 09:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792123201000,"timestamp_ms":1792123201000,"timestamp_seconds":1792123201,"priority":1,"record_length":96,"hex_timestamp":"000001a142dde5e8"} 
[2026-10-16 09:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-16 09:30:10] 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-10-16 09: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-10-16 09:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":219742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":219742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":219742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783538688001,"66":14265,"37":206,"94":11008,"24":12,"16":36485287618019328,"45":880735232248920064},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 09:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783538688001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:30:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 09:30:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36485287618019328,"km_value":36485287618019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":880735232248920064,"description":"Unknown IO ID 45"} 
[2026-10-16 09:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783538688001,"power":14265,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":880735232248920064}} 
[2026-10-16 09:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":219742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045680,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:30:10] local.INFO: GPS data processed {"connection_id":219742,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:30:10] local.INFO: Acknowledgment sent {"connection_id":219742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:30:15] local.INFO: TCP Data received {"connection_id":219743,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:30:15] local.INFO: Processing buffer {"connection_id":219743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:30:15] local.INFO: IMEI packet received {"connection_id":219743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":219743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:30:16] local.INFO: TCP Data received {"connection_id":219743,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142da7ae8012d196900071fed50003a01112b..."} 
[2026-10-16 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142da7ae8012d196900071fed50003a01112b..."} 
[2026-10-16 09:30:16] local.INFO: Processing buffer {"connection_id":219743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142da7ae8012d196900071fed50003a01112b..."} 
[2026-10-16 09:30:16] local.INFO: Packet analysis {"connection_id":219743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:30:16] local.INFO: Extracted packet for processing {"connection_id":219743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783476736001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792122977000,"timestamp_ms":1792122977000,"timestamp_seconds":1792122977,"priority":1,"record_length":96,"hex_timestamp":"000001a142da7ae8"} 
[2026-10-16 09:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:30:16] 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-10-16 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:30: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-10-16 09: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-10-16 09:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":219743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":219743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":219743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783476736001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783476736001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:30:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:30:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783476736001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":219743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:30:16] local.INFO: GPS data processed {"connection_id":219743,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:30:16] local.INFO: Acknowledgment sent {"connection_id":219743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:30:16] local.INFO: TCP Data received {"connection_id":216667,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:30:16] local.INFO: Processing buffer {"connection_id":216667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:30:16] local.INFO: IMEI packet received {"connection_id":216667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":216667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:30:21] local.INFO: TCP Data received {"connection_id":219744,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:30:21] local.INFO: Processing buffer {"connection_id":219744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:30:21] local.INFO: IMEI packet received {"connection_id":219744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":219744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:30:22] local.INFO: TCP Data received {"connection_id":216667,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:30:22] local.INFO: Processing buffer {"connection_id":216667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:30:22] local.INFO: IMEI packet received {"connection_id":216667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":216667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:30:23] local.INFO: TCP Data received {"connection_id":219744,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:30:23] local.INFO: Processing buffer {"connection_id":219744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:30:23] local.INFO: IMEI packet received {"connection_id":219744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":219744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:30:23] local.INFO: TCP Data received {"connection_id":216667,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:30:23] local.INFO: Processing buffer {"connection_id":216667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:30:23] local.INFO: Packet analysis {"connection_id":216667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:30:23] local.INFO: Extracted packet for processing {"connection_id":216667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792122937000,"timestamp_ms":1792122937000,"timestamp_seconds":1792122937,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9dea8"} 
[2026-10-16 09:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:30:23] 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-10-16 09:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394816001,"66":25734,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:30:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:30:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394816001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":216667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:30:23] local.INFO: GPS data processed {"connection_id":216667,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:30:23] local.INFO: Acknowledgment sent {"connection_id":216667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:30:24] local.INFO: TCP Data received {"connection_id":219744,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142ddf1a0012d79e10005eca868000700ad27..."} 
[2026-10-16 09:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ddf1a0012d79e10005eca868000700ad27..."} 
[2026-10-16 09:30:24] local.INFO: Processing buffer {"connection_id":219744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ddf1a0012d79e10005eca868000700ad27..."} 
[2026-10-16 09:30:24] local.INFO: Packet analysis {"connection_id":219744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:30:24] local.INFO: Extracted packet for processing {"connection_id":219744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":762962176,"raw_latitude":99395688,"longitude_deg":76.2962176,"latitude_deg":9.9395688,"altitude":7,"angle":173,"satellites":39,"speed":11,"hex_longitude":"2d79e100","hex_latitude":"05eca868","is_valid_coordinates":true} 
[2026-10-16 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783539712001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145490123071422464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782300773794592768,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792123204000,"timestamp_ms":1792123204000,"timestamp_seconds":1792123204,"priority":1,"record_length":96,"hex_timestamp":"000001a142ddf1a0"} 
[2026-10-16 09:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 09:30:24] 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-10-16 09:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783539712001,"66":14515,"118":206,"87":13824,"24":11,"16":145490123071422464,"45":8782300773794592768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-16 09:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783539712001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:30:24] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-16 09:30:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145490123071422464,"km_value":145490123071422.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782300773794592768,"description":"Unknown IO ID 45"} 
[2026-10-16 09:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783539712001,"power":14515,"unknown_118":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8782300773794592768}} 
[2026-10-16 09:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":219744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:30:24] local.INFO: GPS data processed {"connection_id":219744,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:30:24] local.INFO: Acknowledgment sent {"connection_id":219744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:30:41] local.INFO: TCP Data received {"connection_id":219742,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142dde9d0012d0c3840070359c0001300e122..."} 
[2026-10-16 09:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dde9d0012d0c3840070359c0001300e122..."} 
[2026-10-16 09:30:41] local.INFO: Processing buffer {"connection_id":219742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dde9d0012d0c3840070359c0001300e122..."} 
[2026-10-16 09:30:41] local.INFO: Packet analysis {"connection_id":219742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:30:41] local.INFO: Extracted packet for processing {"connection_id":219742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:30:41] local.INFO: GPS Element Parsed {"raw_longitude":755775552,"raw_latitude":117660096,"longitude_deg":75.5775552,"latitude_deg":11.7660096,"altitude":19,"angle":225,"satellites":34,"speed":5,"hex_longitude":"2d0c3840","hex_latitude":"070359c0","is_valid_coordinates":true} 
[2026-10-16 09:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783539456001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36485296207953920,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863504492544,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:41] 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-10-16 09:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792123202000,"timestamp_ms":1792123202000,"timestamp_seconds":1792123202,"priority":1,"record_length":96,"hex_timestamp":"000001a142dde9d0"} 
[2026-10-16 09:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 09:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":219742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":219742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":219742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783539456001,"66":14330,"37":206,"94":11008,"24":5,"16":36485296207953920,"45":880664863504492544},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 09:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783539456001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:30:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 09:30:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36485296207953920,"km_value":36485296207953.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863504492544,"description":"Unknown IO ID 45"} 
[2026-10-16 09:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783539456001,"power":14330,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":880664863504492544}} 
[2026-10-16 09:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":219742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:30:41] local.INFO: GPS data processed {"connection_id":219742,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:30:41] local.INFO: Acknowledgment sent {"connection_id":219742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:30:47] local.INFO: TCP Data received {"connection_id":219743,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142dac908012d196900071fed50003a01112c..."} 
[2026-10-16 09:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dac908012d196900071fed50003a01112c..."} 
[2026-10-16 09:30:47] local.INFO: Processing buffer {"connection_id":219743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dac908012d196900071fed50003a01112c..."} 
[2026-10-16 09:30:47] local.INFO: Packet analysis {"connection_id":219743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:30:47] local.INFO: Extracted packet for processing {"connection_id":219743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142da"} 
[2026-10-16 09:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783482112001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792122997000,"timestamp_ms":1792122997000,"timestamp_seconds":1792122997,"priority":1,"record_length":96,"hex_timestamp":"000001a142dac908"} 
[2026-10-16 09:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":219743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":219743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":219743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783482112001,"66":12287,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783482112001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:30:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783482112001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":219743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:30:47] local.INFO: GPS data processed {"connection_id":219743,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:30:47] local.INFO: Acknowledgment sent {"connection_id":219743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:30:54] local.INFO: TCP Data received {"connection_id":216667,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:30:54] local.INFO: Processing buffer {"connection_id":216667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142d9dea8012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:30:54] local.INFO: Packet analysis {"connection_id":216667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:30:54] local.INFO: Extracted packet for processing {"connection_id":216667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142d9"} 
[2026-10-16 09:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783394816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792122937000,"timestamp_ms":1792122937000,"timestamp_seconds":1792122937,"priority":1,"record_length":96,"hex_timestamp":"000001a142d9dea8"} 
[2026-10-16 09:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783394816001,"66":25734,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783394816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:30:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:30:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783394816001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":216667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:30:54] local.INFO: GPS data processed {"connection_id":216667,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:30:54] local.INFO: Acknowledgment sent {"connection_id":216667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:30:56] local.INFO: TCP Data received {"connection_id":219744,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142ddf970012d79e20005eca5980008009d27..."} 
[2026-10-16 09:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ddf970012d79e20005eca5980008009d27..."} 
[2026-10-16 09:30:56] local.INFO: Processing buffer {"connection_id":219744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ddf970012d79e20005eca5980008009d27..."} 
[2026-10-16 09:30:56] local.INFO: Packet analysis {"connection_id":219744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:30:56] local.INFO: Extracted packet for processing {"connection_id":219744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dd"} 
[2026-10-16 09:30:56] local.INFO: GPS Element Parsed {"raw_longitude":762962432,"raw_latitude":99394968,"longitude_deg":76.2962432,"latitude_deg":9.9394968,"altitude":8,"angle":157,"satellites":39,"speed":19,"hex_longitude":"2d79e200","hex_latitude":"05eca598","is_valid_coordinates":true} 
[2026-10-16 09:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783540224001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145490161726128128,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782300773794473984,"note":"Value kept but may cause issues"} 
[2026-10-16 09:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792123206000,"timestamp_ms":1792123206000,"timestamp_seconds":1792123206,"priority":1,"record_length":96,"hex_timestamp":"000001a142ddf970"} 
[2026-10-16 09:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 09:30: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-10-16 09:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783540224001,"66":14135,"118":206,"87":13824,"24":19,"16":145490161726128128,"45":8782300773794473984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-16 09:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783540224001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:30:56] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-16 09:30:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145490161726128128,"km_value":145490161726128.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782300773794473984,"description":"Unknown IO ID 45"} 
[2026-10-16 09:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783540224001,"power":14135,"unknown_118":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8782300773794473984}} 
[2026-10-16 09:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":219744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:30:56] local.INFO: GPS data processed {"connection_id":219744,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:30:56] local.INFO: Acknowledgment sent {"connection_id":219744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:31:04] local.INFO: TCP Data received {"connection_id":219745,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219745,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:31:04] local.INFO: Processing buffer {"connection_id":219745,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:31:04] local.INFO: IMEI packet received {"connection_id":219745,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":219745,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:31:05] local.INFO: TCP Data received {"connection_id":219745,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219745,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:31:05] local.INFO: Processing buffer {"connection_id":219745,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:31:05] local.INFO: IMEI packet received {"connection_id":219745,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":219745,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:31:08] local.INFO: TCP Data received {"connection_id":219745,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219745,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:31:08] local.INFO: Processing buffer {"connection_id":219745,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:31:08] local.INFO: IMEI packet received {"connection_id":219745,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":219745,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:31:11] local.INFO: TCP Data received {"connection_id":219745,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142de0528012d0c3780070359480013010821..."} 
[2026-10-16 09:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de0528012d0c3780070359480013010821..."} 
[2026-10-16 09:31:11] local.INFO: Processing buffer {"connection_id":219745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de0528012d0c3780070359480013010821..."} 
[2026-10-16 09:31:11] local.INFO: Packet analysis {"connection_id":219745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:11] local.INFO: Extracted packet for processing {"connection_id":219745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":755775360,"raw_latitude":117659976,"longitude_deg":75.577536,"latitude_deg":11.7659976,"altitude":19,"angle":264,"satellites":33,"speed":10,"hex_longitude":"2d0c3780","hex_latitude":"07035948","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783539712001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36485309092855808,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880524126016094208,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792123209000,"timestamp_ms":1792123209000,"timestamp_seconds":1792123209,"priority":1,"record_length":96,"hex_timestamp":"000001a142de0528"} 
[2026-10-16 09:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-10-16 09:31:11] 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-10-16 09: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-10-16 09:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":219745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":219745,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":219745,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783539712001,"66":14439,"37":206,"94":11008,"24":10,"16":36485309092855808,"45":880524126016094208},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 09:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783539712001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:31:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 09:31:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36485309092855808,"km_value":36485309092855.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":880524126016094208,"description":"Unknown IO ID 45"} 
[2026-10-16 09:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783539712001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":880524126016094208}} 
[2026-10-16 09:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":219745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045688,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:31:11] local.INFO: GPS data processed {"connection_id":219745,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:31:11] local.INFO: Acknowledgment sent {"connection_id":219745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:31:11] local.INFO: TCP Data received {"connection_id":219745,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142de2850012d0c2800070356a8001400f821..."} 
[2026-10-16 09:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de2850012d0c2800070356a8001400f821..."} 
[2026-10-16 09:31:11] local.INFO: Processing buffer {"connection_id":219745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de2850012d0c2800070356a8001400f821..."} 
[2026-10-16 09:31:11] local.INFO: Packet analysis {"connection_id":219745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:11] local.INFO: Extracted packet for processing {"connection_id":219745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":755771392,"raw_latitude":117659304,"longitude_deg":75.5771392,"latitude_deg":11.7659304,"altitude":20,"angle":248,"satellites":33,"speed":19,"hex_longitude":"2d0c2800","hex_latitude":"070356a8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783541504001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36485498071416832,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880313019783530496,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792123218000,"timestamp_ms":1792123218000,"timestamp_seconds":1792123218,"priority":1,"record_length":96,"hex_timestamp":"000001a142de2850"} 
[2026-10-16 09:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 09:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":219745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":219745,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":219745,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783541504001,"66":14407,"37":206,"94":11008,"24":19,"16":36485498071416832,"45":880313019783530496},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 09:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783541504001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:31:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 09:31:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36485498071416832,"km_value":36485498071416.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":880313019783530496,"description":"Unknown IO ID 45"} 
[2026-10-16 09:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783541504001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":880313019783530496}} 
[2026-10-16 09:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":219745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:31:12] local.INFO: GPS data processed {"connection_id":219745,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:31:12] local.INFO: Acknowledgment sent {"connection_id":219745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:31:13] local.INFO: TCP Data received {"connection_id":216668,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:31:13] local.INFO: Processing buffer {"connection_id":216668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:31:13] local.INFO: IMEI packet received {"connection_id":216668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":216668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:31:16] local.INFO: TCP Data received {"connection_id":216470,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:31:16] local.INFO: Processing buffer {"connection_id":216470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:31:16] local.INFO: IMEI packet received {"connection_id":216470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":216470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:31:17] local.INFO: TCP Data received {"connection_id":216470,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:31:17] local.INFO: Processing buffer {"connection_id":216470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:31:17] local.INFO: IMEI packet received {"connection_id":216470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":216470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:31:18] local.INFO: TCP Data received {"connection_id":216668,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:31:18] local.INFO: Processing buffer {"connection_id":216668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:31:18] local.INFO: IMEI packet received {"connection_id":216668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":216668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:31:18] local.INFO: TCP Data received {"connection_id":218011,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:31:18] local.INFO: Processing buffer {"connection_id":218011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:31:18] local.INFO: IMEI packet received {"connection_id":218011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":218011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:31:18] local.INFO: TCP Data received {"connection_id":216668,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142db1ef8012d196900071fed50003a01112b..."} 
[2026-10-16 09:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142db1ef8012d196900071fed50003a01112b..."} 
[2026-10-16 09:31:18] local.INFO: Processing buffer {"connection_id":216668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142db1ef8012d196900071fed50003a01112b..."} 
[2026-10-16 09:31:18] local.INFO: Packet analysis {"connection_id":216668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:31:18] local.INFO: Extracted packet for processing {"connection_id":216668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783487232001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792123019000,"timestamp_ms":1792123019000,"timestamp_seconds":1792123019,"priority":1,"record_length":96,"hex_timestamp":"000001a142db1ef8"} 
[2026-10-16 09:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:31:18] 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-10-16 09:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 09:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783487232001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783487232001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:31:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783487232001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":216668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:31:18] local.INFO: GPS data processed {"connection_id":216668,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:31:18] local.INFO: Acknowledgment sent {"connection_id":216668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:31:21] local.INFO: TCP Data received {"connection_id":216471,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:31:21] local.INFO: Processing buffer {"connection_id":216471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:31:21] local.INFO: IMEI packet received {"connection_id":216471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":216471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:31:22] local.INFO: TCP Data received {"connection_id":216470,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:31:22] local.INFO: Processing buffer {"connection_id":216470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:31:22] local.INFO: IMEI packet received {"connection_id":216470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":216470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:31:23] local.INFO: TCP Data received {"connection_id":216668,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142db7100012d196900071fed50003a011129..."} 
[2026-10-16 09:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142db7100012d196900071fed50003a011129..."} 
[2026-10-16 09:31:23] local.INFO: Processing buffer {"connection_id":216668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142db7100012d196900071fed50003a011129..."} 
[2026-10-16 09:31:23] local.INFO: Packet analysis {"connection_id":216668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:31:23] local.INFO: Extracted packet for processing {"connection_id":216668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783492864001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123040000,"timestamp_ms":1792123040000,"timestamp_seconds":1792123040,"priority":1,"record_length":96,"hex_timestamp":"000001a142db7100"} 
[2026-10-16 09:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:31:23] 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-10-16 09:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783492864001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783492864001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:31:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783492864001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":216668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:31:23] local.INFO: GPS data processed {"connection_id":216668,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:31:23] local.INFO: Acknowledgment sent {"connection_id":216668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:31:23] local.INFO: TCP Data received {"connection_id":216470,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:31:23] local.INFO: Processing buffer {"connection_id":216470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:31:23] local.INFO: Packet analysis {"connection_id":216470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:23] local.INFO: Extracted packet for processing {"connection_id":216470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123238000,"timestamp_ms":1792123238000,"timestamp_seconds":1792123238,"priority":1,"record_length":96,"hex_timestamp":"000001a142de7670"} 
[2026-10-16 09:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:31:23] 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-10-16 09:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471872001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:31:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:31:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471872001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":216470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:31:23] local.INFO: GPS data processed {"connection_id":216470,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:31:23] local.INFO: Acknowledgment sent {"connection_id":216470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:31:26] local.INFO: TCP Data received {"connection_id":216471,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:31:26] local.INFO: Processing buffer {"connection_id":216471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:31:26] local.INFO: IMEI packet received {"connection_id":216471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":216471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:31:27] local.INFO: TCP Data received {"connection_id":216471,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142de3408012d79efc005ec84280007009726..."} 
[2026-10-16 09:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de3408012d79efc005ec84280007009726..."} 
[2026-10-16 09:31:27] local.INFO: Processing buffer {"connection_id":216471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de3408012d79efc005ec84280007009726..."} 
[2026-10-16 09:31:27] local.INFO: Packet analysis {"connection_id":216471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:27] local.INFO: Extracted packet for processing {"connection_id":216471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:27] local.INFO: GPS Element Parsed {"raw_longitude":762965952,"raw_latitude":99386408,"longitude_deg":76.2965952,"latitude_deg":9.9386408,"altitude":7,"angle":151,"satellites":38,"speed":19,"hex_longitude":"2d79efc0","hex_latitude":"05ec8428","is_valid_coordinates":true} 
[2026-10-16 09:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783540736001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145490608402726912,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248771000320,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792123221000,"timestamp_ms":1792123221000,"timestamp_seconds":1792123221,"priority":1,"record_length":96,"hex_timestamp":"000001a142de3408"} 
[2026-10-16 09:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-16 09:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783540736001,"66":13993,"118":206,"87":13824,"24":19,"16":145490608402726912,"45":8782582248771000320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-10-16 09:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783540736001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:31:27] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-10-16 09:31:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145490608402726912,"km_value":145490608402726.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248771000320,"description":"Unknown IO ID 45"} 
[2026-10-16 09:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783540736001,"power":13993,"unknown_118":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8782582248771000320}} 
[2026-10-16 09:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":216471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:31:27] local.INFO: GPS data processed {"connection_id":216471,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:31:27] local.INFO: Acknowledgment sent {"connection_id":216471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:31:43] local.INFO: TCP Data received {"connection_id":219745,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142df4960012d0bf780070359680011012d23..."} 
[2026-10-16 09:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142df4960012d0bf780070359680011012d23..."} 
[2026-10-16 09:31:43] local.INFO: Processing buffer {"connection_id":219745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142df4960012d0bf780070359680011012d23..."} 
[2026-10-16 09:31:43] local.INFO: Packet analysis {"connection_id":219745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142df"} 
[2026-10-16 09:31:43] local.INFO: Extracted packet for processing {"connection_id":219745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142df"} 
[2026-10-16 09:31:43] local.INFO: GPS Element Parsed {"raw_longitude":755758976,"raw_latitude":117660008,"longitude_deg":75.5758976,"latitude_deg":11.7660008,"altitude":17,"angle":301,"satellites":35,"speed":13,"hex_longitude":"2d0bf780","hex_latitude":"07035968","is_valid_coordinates":true} 
[2026-10-16 09:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783562496001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36486494503829504,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862650464994879488,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792123292000,"timestamp_ms":1792123292000,"timestamp_seconds":1792123292,"priority":1,"record_length":96,"hex_timestamp":"000001a142df4960"} 
[2026-10-16 09:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 09:31:43] 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-10-16 09:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":219745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":219745,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":219745,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783562496001,"66":14396,"37":206,"94":11008,"24":13,"16":36486494503829504,"45":862650464994879488},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 09:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783562496001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:31:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 09:31:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36486494503829504,"km_value":36486494503829.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":862650464994879488,"description":"Unknown IO ID 45"} 
[2026-10-16 09:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783562496001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":862650464994879488}} 
[2026-10-16 09:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":219745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045694,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:31:43] local.INFO: GPS data processed {"connection_id":219745,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:31:43] local.INFO: Acknowledgment sent {"connection_id":219745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:31:51] local.INFO: TCP Data received {"connection_id":219746,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:31:51] local.INFO: Processing buffer {"connection_id":219746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:31:51] local.INFO: IMEI packet received {"connection_id":219746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":219746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:31:55] local.INFO: TCP Data received {"connection_id":216470,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:31:55] local.INFO: Processing buffer {"connection_id":216470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:31:55] local.INFO: Packet analysis {"connection_id":216470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:55] local.INFO: Extracted packet for processing {"connection_id":216470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792123238000,"timestamp_ms":1792123238000,"timestamp_seconds":1792123238,"priority":1,"record_length":96,"hex_timestamp":"000001a142de7670"} 
[2026-10-16 09:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:31:55] 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-10-16 09:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471872001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:31:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:31:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471872001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":216470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:31:55] local.INFO: GPS data processed {"connection_id":216470,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:31:55] local.INFO: Acknowledgment sent {"connection_id":216470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:31:58] local.INFO: TCP Data received {"connection_id":216471,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142de62e8012d79f94005ec7130000600a428..."} 
[2026-10-16 09:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de62e8012d79f94005ec7130000600a428..."} 
[2026-10-16 09:31:58] local.INFO: Processing buffer {"connection_id":216471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de62e8012d79f94005ec7130000600a428..."} 
[2026-10-16 09:31:58] local.INFO: Packet analysis {"connection_id":216471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:58] local.INFO: Extracted packet for processing {"connection_id":216471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:31:58] local.INFO: GPS Element Parsed {"raw_longitude":762968384,"raw_latitude":99381552,"longitude_deg":76.2968384,"latitude_deg":9.9381552,"altitude":6,"angle":164,"satellites":40,"speed":24,"hex_longitude":"2d79f940","hex_latitude":"05ec7130","is_valid_coordinates":true} 
[2026-10-16 09:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783544576001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145490874690699264,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786452529698580480,"note":"Value kept but may cause issues"} 
[2026-10-16 09:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792123233000,"timestamp_ms":1792123233000,"timestamp_seconds":1792123233,"priority":1,"record_length":96,"hex_timestamp":"000001a142de62e8"} 
[2026-10-16 09:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-16 09:31:58] 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-10-16 09:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783544576001,"66":13787,"100":206,"87":13824,"24":24,"16":145490874690699264,"45":8786452529698580480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-16 09:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783544576001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:31:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 09:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145490874690699264,"km_value":145490874690699.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786452529698580480,"description":"Unknown IO ID 45"} 
[2026-10-16 09:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783544576001,"power":13787,"unknown_100":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8786452529698580480}} 
[2026-10-16 09:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":216471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:31:58] local.INFO: GPS data processed {"connection_id":216471,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:31:58] local.INFO: Acknowledgment sent {"connection_id":216471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:32:03] local.INFO: TCP Data received {"connection_id":218012,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:32:03] local.INFO: Processing buffer {"connection_id":218012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:32:03] local.INFO: IMEI packet received {"connection_id":218012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":218012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:32:04] local.INFO: TCP Data received {"connection_id":218012,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:32:04] local.INFO: Processing buffer {"connection_id":218012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:32:04] local.INFO: IMEI packet received {"connection_id":218012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":218012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:32:07] local.INFO: TCP Data received {"connection_id":218013,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:32:07] local.INFO: Processing buffer {"connection_id":218013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:32:07] local.INFO: IMEI packet received {"connection_id":218013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":218013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:32:08] local.INFO: TCP Data received {"connection_id":218012,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:32:08] local.INFO: Processing buffer {"connection_id":218012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:32:08] local.INFO: IMEI packet received {"connection_id":218012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":218012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:32:09] local.INFO: TCP Data received {"connection_id":218012,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142df5130012d0bf50007035a880010011423..."} 
[2026-10-16 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142df5130012d0bf50007035a880010011423..."} 
[2026-10-16 09:32:09] local.INFO: Processing buffer {"connection_id":218012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142df5130012d0bf50007035a880010011423..."} 
[2026-10-16 09:32:09] local.INFO: Packet analysis {"connection_id":218012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142df"} 
[2026-10-16 09:32:09] local.INFO: Extracted packet for processing {"connection_id":218012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142df"} 
[2026-10-16 09:32:09] local.INFO: GPS Element Parsed {"raw_longitude":755758336,"raw_latitude":117660296,"longitude_deg":75.5758336,"latitude_deg":11.7660296,"altitude":16,"angle":276,"satellites":35,"speed":14,"hex_longitude":"2d0bf500","hex_latitude":"07035a88","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783562752001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36486528863567872,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862298621274056704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:09] 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-10-16 09:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792123294000,"timestamp_ms":1792123294000,"timestamp_seconds":1792123294,"priority":1,"record_length":96,"hex_timestamp":"000001a142df5130"} 
[2026-10-16 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-10-16 09:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 09:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 09:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":218012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":218012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":218012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783562752001,"66":14537,"37":206,"94":11008,"24":14,"16":36486528863567872,"45":862298621274056704},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 09:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783562752001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:32:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 09:32:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36486528863567872,"km_value":36486528863567.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":862298621274056704,"description":"Unknown IO ID 45"} 
[2026-10-16 09:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783562752001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":862298621274056704}} 
[2026-10-16 09:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":218012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045697,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:32:09] local.INFO: GPS data processed {"connection_id":218012,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:32:09] local.INFO: Acknowledgment sent {"connection_id":218012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:32:10] local.INFO: TCP Data received {"connection_id":218013,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:32:10] local.INFO: Processing buffer {"connection_id":218013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:32:10] local.INFO: IMEI packet received {"connection_id":218013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":218013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:32:14] local.INFO: TCP Data received {"connection_id":218013,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142dbc308012d196900071fed50003a01112c..."} 
[2026-10-16 09:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dbc308012d196900071fed50003a01112c..."} 
[2026-10-16 09:32:14] local.INFO: Processing buffer {"connection_id":218013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dbc308012d196900071fed50003a01112c..."} 
[2026-10-16 09:32:14] local.INFO: Packet analysis {"connection_id":218013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:32:14] local.INFO: Extracted packet for processing {"connection_id":218013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142db"} 
[2026-10-16 09:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783498240001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792123061000,"timestamp_ms":1792123061000,"timestamp_seconds":1792123061,"priority":1,"record_length":96,"hex_timestamp":"000001a142dbc308"} 
[2026-10-16 09:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:32:14] 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-10-16 09:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:32: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-10-16 09:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783498240001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783498240001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:32:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783498240001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":218013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:32:14] local.INFO: GPS data processed {"connection_id":218013,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:32:14] local.INFO: Acknowledgment sent {"connection_id":218013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:32:17] local.INFO: TCP Data received {"connection_id":216472,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:32:17] local.INFO: Processing buffer {"connection_id":216472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:32:17] local.INFO: IMEI packet received {"connection_id":216472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":216472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:32:21] local.INFO: TCP Data received {"connection_id":216669,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:32:21] local.INFO: Processing buffer {"connection_id":216669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:32:21] local.INFO: IMEI packet received {"connection_id":216669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":216669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:32:22] local.INFO: TCP Data received {"connection_id":216472,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:32:22] local.INFO: Processing buffer {"connection_id":216472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:32:22] local.INFO: IMEI packet received {"connection_id":216472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":216472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:32:23] local.INFO: TCP Data received {"connection_id":216472,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:32:23] local.INFO: Processing buffer {"connection_id":216472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:32:23] local.INFO: Packet analysis {"connection_id":216472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:32:23] local.INFO: Extracted packet for processing {"connection_id":216472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123238000,"timestamp_ms":1792123238000,"timestamp_seconds":1792123238,"priority":1,"record_length":96,"hex_timestamp":"000001a142de7670"} 
[2026-10-16 09:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:32:23] 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-10-16 09:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471872001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:32:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:32:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471872001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":216472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:32:23] local.INFO: GPS data processed {"connection_id":216472,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:32:23] local.INFO: Acknowledgment sent {"connection_id":216472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:32:26] local.INFO: TCP Data received {"connection_id":216669,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:32:26] local.INFO: Processing buffer {"connection_id":216669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:32:26] local.INFO: IMEI packet received {"connection_id":216669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":216669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:32:27] local.INFO: TCP Data received {"connection_id":216669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142dea550012d7a038005ec50300009009d26..."} 
[2026-10-16 09:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dea550012d7a038005ec50300009009d26..."} 
[2026-10-16 09:32:27] local.INFO: Processing buffer {"connection_id":216669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dea550012d7a038005ec50300009009d26..."} 
[2026-10-16 09:32:27] local.INFO: Packet analysis {"connection_id":216669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:32:27] local.INFO: Extracted packet for processing {"connection_id":216669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:32:27] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":99373104,"longitude_deg":76.2971008,"latitude_deg":9.9373104,"altitude":9,"angle":157,"satellites":38,"speed":11,"hex_longitude":"2d7a0380","hex_latitude":"05ec5030","is_valid_coordinates":true} 
[2026-10-16 09:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783547648001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145491304187428864,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789126541976088576,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792123250000,"timestamp_ms":1792123250000,"timestamp_seconds":1792123250,"priority":1,"record_length":96,"hex_timestamp":"000001a142dea550"} 
[2026-10-16 09:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-10-16 09:32:27] 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-10-16 09:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783547648001,"66":13374,"100":206,"87":13824,"24":11,"16":145491304187428864,"45":8789126541976088576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-10-16 09:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783547648001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:32:27] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-10-16 09:32:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145491304187428864,"km_value":145491304187428.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789126541976088576,"description":"Unknown IO ID 45"} 
[2026-10-16 09:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783547648001,"power":13374,"unknown_100":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8789126541976088576}} 
[2026-10-16 09:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":216669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:32:27] local.INFO: GPS data processed {"connection_id":216669,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:32:27] local.INFO: Acknowledgment sent {"connection_id":216669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:32:40] local.INFO: TCP Data received {"connection_id":218012,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142df5900012d0bf14007035a800010010723..."} 
[2026-10-16 09:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142df5900012d0bf14007035a800010010723..."} 
[2026-10-16 09:32:40] local.INFO: Processing buffer {"connection_id":218012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142df5900012d0bf14007035a800010010723..."} 
[2026-10-16 09:32:40] local.INFO: Packet analysis {"connection_id":218012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142df"} 
[2026-10-16 09:32:40] local.INFO: Extracted packet for processing {"connection_id":218012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142df"} 
[2026-10-16 09:32:40] local.INFO: GPS Element Parsed {"raw_longitude":755757376,"raw_latitude":117660288,"longitude_deg":75.5757376,"latitude_deg":11.7660288,"altitude":16,"angle":263,"satellites":35,"speed":21,"hex_longitude":"2d0bf140","hex_latitude":"07035a80","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783563264001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36486576108208128,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861594933832353792,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:40] 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-10-16 09:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792123296000,"timestamp_ms":1792123296000,"timestamp_seconds":1792123296,"priority":1,"record_length":96,"hex_timestamp":"000001a142df5900"} 
[2026-10-16 09:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 09:32:40] 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-10-16 09: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-10-16 09:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":218012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":218012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":218012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783563264001,"66":14407,"37":206,"94":11008,"24":21,"16":36486576108208128,"45":861594933832353792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 09:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783563264001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:32:40] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 09:32:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36486576108208128,"km_value":36486576108208.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":861594933832353792,"description":"Unknown IO ID 45"} 
[2026-10-16 09:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783563264001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":861594933832353792}} 
[2026-10-16 09:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":218012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:32:40] local.INFO: GPS data processed {"connection_id":218012,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:32:40] local.INFO: Acknowledgment sent {"connection_id":218012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:32:45] local.INFO: TCP Data received {"connection_id":218013,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142dc1510012d196900071fed50003a011128..."} 
[2026-10-16 09:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dc1510012d196900071fed50003a011128..."} 
[2026-10-16 09:32:45] local.INFO: Processing buffer {"connection_id":218013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dc1510012d196900071fed50003a011128..."} 
[2026-10-16 09:32:45] local.INFO: Packet analysis {"connection_id":218013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142dc"} 
[2026-10-16 09:32:45] local.INFO: Extracted packet for processing {"connection_id":218013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142dc"} 
[2026-10-16 09:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783503616001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792123082000,"timestamp_ms":1792123082000,"timestamp_seconds":1792123082,"priority":1,"record_length":96,"hex_timestamp":"000001a142dc1510"} 
[2026-10-16 09:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:32: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-10-16 09: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-10-16 09: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-10-16 09: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-10-16 09:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783503616001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783503616001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:32:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783503616001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":218013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:32:45] local.INFO: GPS data processed {"connection_id":218013,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:32:45] local.INFO: Acknowledgment sent {"connection_id":218013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:32:55] local.INFO: TCP Data received {"connection_id":216472,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:32:55] local.INFO: Processing buffer {"connection_id":216472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:32:55] local.INFO: Packet analysis {"connection_id":216472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:32:55] local.INFO: Extracted packet for processing {"connection_id":216472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792123238000,"timestamp_ms":1792123238000,"timestamp_seconds":1792123238,"priority":1,"record_length":96,"hex_timestamp":"000001a142de7670"} 
[2026-10-16 09:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:32:55] 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-10-16 09:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471872001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:32:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:32:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471872001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":216472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:32:55] local.INFO: GPS data processed {"connection_id":216472,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:32:55] local.INFO: Acknowledgment sent {"connection_id":216472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:32:58] local.INFO: TCP Data received {"connection_id":216669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e06a70012d7a278005ebf548000900861f..."} 
[2026-10-16 09:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e06a70012d7a278005ebf548000900861f..."} 
[2026-10-16 09:32:58] local.INFO: Processing buffer {"connection_id":216669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e06a70012d7a278005ebf548000900861f..."} 
[2026-10-16 09:32:58] local.INFO: Packet analysis {"connection_id":216669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:32:58] local.INFO: Extracted packet for processing {"connection_id":216669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:32:58] local.INFO: GPS Element Parsed {"raw_longitude":762980224,"raw_latitude":99349832,"longitude_deg":76.2980224,"latitude_deg":9.9349832,"altitude":9,"angle":134,"satellites":31,"speed":10,"hex_longitude":"2d7a2780","hex_latitude":"05ebf548","is_valid_coordinates":true} 
[2026-10-16 09:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783580928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145492541138010112,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801722547175878656,"note":"Value kept but may cause issues"} 
[2026-10-16 09:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792123366000,"timestamp_ms":1792123366000,"timestamp_seconds":1792123366,"priority":1,"record_length":96,"hex_timestamp":"000001a142e06a70"} 
[2026-10-16 09:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-10-16 09:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783580928001,"66":13526,"99":206,"87":13824,"24":10,"16":145492541138010112,"45":8801722547175878656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783580928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:32:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:32:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145492541138010112,"km_value":145492541138010.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801722547175878656,"description":"Unknown IO ID 45"} 
[2026-10-16 09:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783580928001,"power":13526,"unknown_99":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8801722547175878656}} 
[2026-10-16 09:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":216669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:32:58] local.INFO: GPS data processed {"connection_id":216669,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:32:58] local.INFO: Acknowledgment sent {"connection_id":216669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:33:07] local.INFO: TCP Data received {"connection_id":219747,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:33:07] local.INFO: Processing buffer {"connection_id":219747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:33:07] local.INFO: IMEI packet received {"connection_id":219747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":219747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:33:13] local.INFO: TCP Data received {"connection_id":219747,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:33:13] local.INFO: Processing buffer {"connection_id":219747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:33:13] local.INFO: IMEI packet received {"connection_id":219747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":219747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:33:13] local.INFO: TCP Data received {"connection_id":216670,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:33:13] local.INFO: Processing buffer {"connection_id":216670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:33:13] local.INFO: IMEI packet received {"connection_id":216670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":216670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:33:14] local.INFO: TCP Data received {"connection_id":219747,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142df9780012d196900071fed50003a01112b..."} 
[2026-10-16 09:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142df9780012d196900071fed50003a01112b..."} 
[2026-10-16 09:33:14] local.INFO: Processing buffer {"connection_id":219747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142df9780012d196900071fed50003a01112b..."} 
[2026-10-16 09:33:14] local.INFO: Packet analysis {"connection_id":219747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142df"} 
[2026-10-16 09:33:14] local.INFO: Extracted packet for processing {"connection_id":219747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142df"} 
[2026-10-16 09:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783562496001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792123312000,"timestamp_ms":1792123312000,"timestamp_seconds":1792123312,"priority":1,"record_length":96,"hex_timestamp":"000001a142df9780"} 
[2026-10-16 09:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:33: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-10-16 09: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-10-16 09:33:14] 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-10-16 09: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-10-16 09:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":219747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":219747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":219747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783562496001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783562496001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:33:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783562496001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":219747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:33:14] local.INFO: GPS data processed {"connection_id":219747,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:33:14] local.INFO: Acknowledgment sent {"connection_id":219747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:33:16] local.INFO: TCP Data received {"connection_id":216473,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:33:16] local.INFO: Processing buffer {"connection_id":216473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:33:16] local.INFO: IMEI packet received {"connection_id":216473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":216473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:33:19] local.INFO: TCP Data received {"connection_id":216474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:33:19] local.INFO: Processing buffer {"connection_id":216474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:33:19] local.INFO: IMEI packet received {"connection_id":216474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":216474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:33:19] local.INFO: TCP Data received {"connection_id":216670,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:33:19] local.INFO: Processing buffer {"connection_id":216670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:33:19] local.INFO: IMEI packet received {"connection_id":216670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":216670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:33:20] local.INFO: TCP Data received {"connection_id":216670,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:33:20] local.INFO: Processing buffer {"connection_id":216670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:33:20] local.INFO: IMEI packet received {"connection_id":216670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":216670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:33:21] local.INFO: TCP Data received {"connection_id":216474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:33:21] local.INFO: Processing buffer {"connection_id":216474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:33:21] local.INFO: IMEI packet received {"connection_id":216474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":216474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:33:22] local.INFO: TCP Data received {"connection_id":216473,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:33:22] local.INFO: Processing buffer {"connection_id":216473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:33:22] local.INFO: IMEI packet received {"connection_id":216473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":216473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:33:23] local.INFO: TCP Data received {"connection_id":216473,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:33:23] local.INFO: Processing buffer {"connection_id":216473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:33:23] local.INFO: Packet analysis {"connection_id":216473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:33:23] local.INFO: Extracted packet for processing {"connection_id":216473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123238000,"timestamp_ms":1792123238000,"timestamp_seconds":1792123238,"priority":1,"record_length":96,"hex_timestamp":"000001a142de7670"} 
[2026-10-16 09:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:33:23] 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-10-16 09: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-10-16 09:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471872001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:33:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:33:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471872001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":216473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:33:23] local.INFO: GPS data processed {"connection_id":216473,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:33:23] local.INFO: Acknowledgment sent {"connection_id":216473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:33:26] local.INFO: TCP Data received {"connection_id":216474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:33:26] local.INFO: Processing buffer {"connection_id":216474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:33:26] local.INFO: IMEI packet received {"connection_id":216474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":216474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:33:27] local.INFO: TCP Data received {"connection_id":216474,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e07240012d7a28c005ebf340000900931e..."} 
[2026-10-16 09:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e07240012d7a28c005ebf340000900931e..."} 
[2026-10-16 09:33:27] local.INFO: Processing buffer {"connection_id":216474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e07240012d7a28c005ebf340000900931e..."} 
[2026-10-16 09:33:27] local.INFO: Packet analysis {"connection_id":216474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:33:27] local.INFO: Extracted packet for processing {"connection_id":216474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:33:27] local.INFO: GPS Element Parsed {"raw_longitude":762980544,"raw_latitude":99349312,"longitude_deg":76.2980544,"latitude_deg":9.9349312,"altitude":9,"angle":147,"satellites":30,"speed":13,"hex_longitude":"2d7a28c0","hex_latitude":"05ebf340","is_valid_coordinates":true} 
[2026-10-16 09:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783581696001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145492575497748480,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802144759640836096,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792123368000,"timestamp_ms":1792123368000,"timestamp_seconds":1792123368,"priority":1,"record_length":96,"hex_timestamp":"000001a142e07240"} 
[2026-10-16 09:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-10-16 09:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783581696001,"66":13417,"99":206,"87":13824,"24":13,"16":145492575497748480,"45":8802144759640836096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783581696001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:33:27] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:33:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145492575497748480,"km_value":145492575497748.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802144759640836096,"description":"Unknown IO ID 45"} 
[2026-10-16 09:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783581696001,"power":13417,"unknown_99":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8802144759640836096}} 
[2026-10-16 09:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":216474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:33:27] local.INFO: GPS data processed {"connection_id":216474,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:33:27] local.INFO: Acknowledgment sent {"connection_id":216474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:33:39] local.INFO: TCP Data received {"connection_id":216670,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a142e05eb8012d0b87c0070350a8001000d422..."} 
[2026-10-16 09:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e05eb8012d0b87c0070350a8001000d422..."} 
[2026-10-16 09:33:39] local.INFO: Processing buffer {"connection_id":216670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e05eb8012d0b87c0070350a8001000d422..."} 
[2026-10-16 09:33:39] local.INFO: Packet analysis {"connection_id":216670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:33:39] local.INFO: Extracted packet for processing {"connection_id":216670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:33:39] local.INFO: GPS Element Parsed {"raw_longitude":755730368,"raw_latitude":117657768,"longitude_deg":75.5730368,"latitude_deg":11.7657768,"altitude":16,"angle":212,"satellites":34,"speed":10,"hex_longitude":"2d0b87c0","hex_latitude":"070350a8","is_valid_coordinates":true} 
[2026-10-16 09:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783580672001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36487903253102592,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831195636347017216,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:39] 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-10-16 09:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792123363000,"timestamp_ms":1792123363000,"timestamp_seconds":1792123363,"priority":1,"record_length":96,"hex_timestamp":"000001a142e05eb8"} 
[2026-10-16 09:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:33: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-10-16 09:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 09:33:39] 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-10-16 09:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 09:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 09:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 09:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783580672001,"66":14374,"37":206,"94":11008,"24":10,"16":36487903253102592,"45":831195636347017216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 09:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 09:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 09:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783580672001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:33:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 09:33:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 09:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36487903253102592,"km_value":36487903253102.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":831195636347017216,"description":"Unknown IO ID 45"} 
[2026-10-16 09:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783580672001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":831195636347017216}} 
[2026-10-16 09:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":216670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045708,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:33:39] local.INFO: GPS data processed {"connection_id":216670,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:33:39] local.INFO: Acknowledgment sent {"connection_id":216670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:33:45] local.INFO: TCP Data received {"connection_id":219747,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142dfed70012d196900071fed50003a01112c..."} 
[2026-10-16 09:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142dfed70012d196900071fed50003a01112c..."} 
[2026-10-16 09:33:45] local.INFO: Processing buffer {"connection_id":219747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142dfed70012d196900071fed50003a01112c..."} 
[2026-10-16 09:33:45] local.INFO: Packet analysis {"connection_id":219747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142df"} 
[2026-10-16 09:33:45] local.INFO: Extracted packet for processing {"connection_id":219747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142df"} 
[2026-10-16 09:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783567872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792123334000,"timestamp_ms":1792123334000,"timestamp_seconds":1792123334,"priority":1,"record_length":96,"hex_timestamp":"000001a142dfed70"} 
[2026-10-16 09:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:33: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-10-16 09:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 09:33:45] 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-10-16 09:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":219747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":219747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":219747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783567872001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783567872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:33:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783567872001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":219747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:33:45] local.INFO: GPS data processed {"connection_id":219747,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:33:45] local.INFO: Acknowledgment sent {"connection_id":219747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:33:55] local.INFO: TCP Data received {"connection_id":216473,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:33:55] local.INFO: Processing buffer {"connection_id":216473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:33:55] local.INFO: Packet analysis {"connection_id":216473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:33:55] local.INFO: Extracted packet for processing {"connection_id":216473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792123238000,"timestamp_ms":1792123238000,"timestamp_seconds":1792123238,"priority":1,"record_length":96,"hex_timestamp":"000001a142de7670"} 
[2026-10-16 09:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:33:55] 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-10-16 09:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471872001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:33:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:33:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471872001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":216473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:33:55] local.INFO: GPS data processed {"connection_id":216473,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:33:55] local.INFO: Acknowledgment sent {"connection_id":216473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:33:58] local.INFO: TCP Data received {"connection_id":216474,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e07df8012d7a2a0005ebf028000a009f1e..."} 
[2026-10-16 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e07df8012d7a2a0005ebf028000a009f1e..."} 
[2026-10-16 09:33:58] local.INFO: Processing buffer {"connection_id":216474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e07df8012d7a2a0005ebf028000a009f1e..."} 
[2026-10-16 09:33:58] local.INFO: Packet analysis {"connection_id":216474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:33:58] local.INFO: Extracted packet for processing {"connection_id":216474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:33:58] local.INFO: GPS Element Parsed {"raw_longitude":762980864,"raw_latitude":99348520,"longitude_deg":76.2980864,"latitude_deg":9.934852,"altitude":10,"angle":159,"satellites":30,"speed":7,"hex_longitude":"2d7a2a00","hex_latitude":"05ebf028","is_valid_coordinates":true} 
[2026-10-16 09:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783582208001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145492614152454144,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802496603361591296,"note":"Value kept but may cause issues"} 
[2026-10-16 09:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792123371000,"timestamp_ms":1792123371000,"timestamp_seconds":1792123371,"priority":1,"record_length":96,"hex_timestamp":"000001a142e07df8"} 
[2026-10-16 09:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-16 09:33:58] 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-10-16 09:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783582208001,"66":13820,"99":206,"87":13824,"24":7,"16":145492614152454144,"45":8802496603361591296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783582208001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:33:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:33:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145492614152454144,"km_value":145492614152454.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802496603361591296,"description":"Unknown IO ID 45"} 
[2026-10-16 09:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783582208001,"power":13820,"unknown_99":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8802496603361591296}} 
[2026-10-16 09:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":216474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:33:58] local.INFO: GPS data processed {"connection_id":216474,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:33:58] local.INFO: Acknowledgment sent {"connection_id":216474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:34:07] local.INFO: TCP Data received {"connection_id":216671,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:34:07] local.INFO: Processing buffer {"connection_id":216671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:34:07] local.INFO: IMEI packet received {"connection_id":216671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":216671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:34:13] local.INFO: TCP Data received {"connection_id":216671,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:34:13] local.INFO: Processing buffer {"connection_id":216671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:34:13] local.INFO: IMEI packet received {"connection_id":216671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":216671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:34:16] local.INFO: TCP Data received {"connection_id":216475,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:34:16] local.INFO: Processing buffer {"connection_id":216475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:34:16] local.INFO: IMEI packet received {"connection_id":216475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":216475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:34:17] local.INFO: TCP Data received {"connection_id":216671,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e03f78012d196900071fed50003a01112d..."} 
[2026-10-16 09:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e03f78012d196900071fed50003a01112d..."} 
[2026-10-16 09:34:17] local.INFO: Processing buffer {"connection_id":216671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e03f78012d196900071fed50003a01112d..."} 
[2026-10-16 09:34:17] local.INFO: Packet analysis {"connection_id":216671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:34:17] local.INFO: Extracted packet for processing {"connection_id":216671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783573504001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792123355000,"timestamp_ms":1792123355000,"timestamp_seconds":1792123355,"priority":1,"record_length":96,"hex_timestamp":"000001a142e03f78"} 
[2026-10-16 09:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":216671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":216671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":216671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783573504001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783573504001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:34:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783573504001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":216671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:34:17] local.INFO: GPS data processed {"connection_id":216671,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:34:17] local.INFO: Acknowledgment sent {"connection_id":216671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:34:21] local.INFO: TCP Data received {"connection_id":219748,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:21] local.INFO: Processing buffer {"connection_id":219748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:21] local.INFO: IMEI packet received {"connection_id":219748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":219748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:34:21] local.INFO: TCP Data received {"connection_id":219748,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:21] local.INFO: Processing buffer {"connection_id":219748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:21] local.INFO: IMEI packet received {"connection_id":219748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":219748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:34:22] local.INFO: TCP Data received {"connection_id":216475,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:34:22] local.INFO: Processing buffer {"connection_id":216475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:34:22] local.INFO: IMEI packet received {"connection_id":216475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":216475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:34:22] local.INFO: TCP Data received {"connection_id":219749,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219749,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:34:22] local.INFO: Processing buffer {"connection_id":219749,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:34:22] local.INFO: IMEI packet received {"connection_id":219749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 09:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":219749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:34:23] local.INFO: TCP Data received {"connection_id":216475,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:34:23] local.INFO: Processing buffer {"connection_id":216475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:34:23] local.INFO: Packet analysis {"connection_id":216475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:34:23] local.INFO: Extracted packet for processing {"connection_id":216475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123238000,"timestamp_ms":1792123238000,"timestamp_seconds":1792123238,"priority":1,"record_length":96,"hex_timestamp":"000001a142de7670"} 
[2026-10-16 09:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:34:23] 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-10-16 09:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471872001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:34:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:34:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471872001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":216475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:34:23] local.INFO: GPS data processed {"connection_id":216475,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:34:23] local.INFO: Acknowledgment sent {"connection_id":216475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:34:24] local.INFO: TCP Data received {"connection_id":219748,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:24] local.INFO: Processing buffer {"connection_id":219748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:24] local.INFO: IMEI packet received {"connection_id":219748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":219748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:34:26] local.INFO: TCP Data received {"connection_id":219748,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:26] local.INFO: Processing buffer {"connection_id":219748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:34:26] local.INFO: IMEI packet received {"connection_id":219748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":219748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:34:26] local.INFO: TCP Data received {"connection_id":219748,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e0c060012d7a2ec005ebe1e8000f00b621..."} 
[2026-10-16 09:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e0c060012d7a2ec005ebe1e8000f00b621..."} 
[2026-10-16 09:34:26] local.INFO: Processing buffer {"connection_id":219748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e0c060012d7a2ec005ebe1e8000f00b621..."} 
[2026-10-16 09:34:26] local.INFO: Packet analysis {"connection_id":219748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:34:26] local.INFO: Extracted packet for processing {"connection_id":219748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:34:26] local.INFO: GPS Element Parsed {"raw_longitude":762982080,"raw_latitude":99344872,"longitude_deg":76.298208,"latitude_deg":9.9344872,"altitude":15,"angle":182,"satellites":33,"speed":1,"hex_longitude":"2d7a2ec0","hex_latitude":"05ebe1e8","is_valid_coordinates":true} 
[2026-10-16 09:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783582976001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145492803131015168,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802848447082276864,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792123388000,"timestamp_ms":1792123388000,"timestamp_seconds":1792123388,"priority":1,"record_length":96,"hex_timestamp":"000001a142e0c060"} 
[2026-10-16 09:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 09:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783582976001,"66":13504,"99":206,"87":13824,"24":1,"16":145492803131015168,"45":8802848447082276864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783582976001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:34:26] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:34:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145492803131015168,"km_value":145492803131015.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802848447082276864,"description":"Unknown IO ID 45"} 
[2026-10-16 09:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783582976001,"power":13504,"unknown_99":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8802848447082276864}} 
[2026-10-16 09:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":219748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:34:26] local.INFO: GPS data processed {"connection_id":219748,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:34:26] local.INFO: Acknowledgment sent {"connection_id":219748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:34:34] local.INFO: TCP Data received {"connection_id":219749,"ip":"42.106.6.55","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 09:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219749,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 09:34:34] local.INFO: Processing buffer {"connection_id":219749,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 09:34:34] local.INFO: IMEI packet received {"connection_id":219749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":219749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:34:36] local.INFO: TCP Data received {"connection_id":219749,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219749,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 09:34:36] local.INFO: Processing buffer {"connection_id":219749,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 09:34:36] local.INFO: IMEI packet received {"connection_id":219749,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 09:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":219749,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:34:48] local.INFO: TCP Data received {"connection_id":216671,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e09180012d196900071fed50003a01112b..."} 
[2026-10-16 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e09180012d196900071fed50003a01112b..."} 
[2026-10-16 09:34:48] local.INFO: Processing buffer {"connection_id":216671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e09180012d196900071fed50003a01112b..."} 
[2026-10-16 09:34:48] local.INFO: Packet analysis {"connection_id":216671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:34:48] local.INFO: Extracted packet for processing {"connection_id":216671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783578880001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792123376000,"timestamp_ms":1792123376000,"timestamp_seconds":1792123376,"priority":1,"record_length":96,"hex_timestamp":"000001a142e09180"} 
[2026-10-16 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-10-16 09:34:48] 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-10-16 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 09:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783578880001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783578880001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:34:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783578880001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":216671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:34:48] local.INFO: GPS data processed {"connection_id":216671,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:34:48] local.INFO: Acknowledgment sent {"connection_id":216671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:34:55] local.INFO: TCP Data received {"connection_id":216475,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:34:55] local.INFO: Processing buffer {"connection_id":216475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:34:55] local.INFO: Packet analysis {"connection_id":216475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:34:55] local.INFO: Extracted packet for processing {"connection_id":216475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792123238000,"timestamp_ms":1792123238000,"timestamp_seconds":1792123238,"priority":1,"record_length":96,"hex_timestamp":"000001a142de7670"} 
[2026-10-16 09:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:34:55] 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-10-16 09:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471872001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:34:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:34:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471872001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":216475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:34:55] local.INFO: GPS data processed {"connection_id":216475,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:34:55] local.INFO: Acknowledgment sent {"connection_id":216475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:34:58] local.INFO: TCP Data received {"connection_id":219748,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e0e388012d7a2e4005ebe0b80011009a25..."} 
[2026-10-16 09:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e0e388012d7a2e4005ebe0b80011009a25..."} 
[2026-10-16 09:34:58] local.INFO: Processing buffer {"connection_id":219748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e0e388012d7a2e4005ebe0b80011009a25..."} 
[2026-10-16 09:34:58] local.INFO: Packet analysis {"connection_id":219748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:34:58] local.INFO: Extracted packet for processing {"connection_id":219748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:34:58] local.INFO: GPS Element Parsed {"raw_longitude":762981952,"raw_latitude":99344568,"longitude_deg":76.2981952,"latitude_deg":9.9344568,"altitude":17,"angle":154,"satellites":37,"speed":3,"hex_longitude":"2d7a2e40","hex_latitude":"05ebe0b8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783587328001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145492820310884352,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804185453220718592,"note":"Value kept but may cause issues"} 
[2026-10-16 09:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792123397000,"timestamp_ms":1792123397000,"timestamp_seconds":1792123397,"priority":1,"record_length":96,"hex_timestamp":"000001a142e0e388"} 
[2026-10-16 09:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 09:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783587328001,"66":14298,"99":206,"87":13824,"24":3,"16":145492820310884352,"45":8804185453220718592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-10-16 09:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783587328001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:34:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-10-16 09:34:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145492820310884352,"km_value":145492820310884.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804185453220718592,"description":"Unknown IO ID 45"} 
[2026-10-16 09:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783587328001,"power":14298,"unknown_99":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8804185453220718592}} 
[2026-10-16 09:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":219748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:34:58] local.INFO: GPS data processed {"connection_id":219748,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:34:58] local.INFO: Acknowledgment sent {"connection_id":219748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:35:07] local.INFO: TCP Data received {"connection_id":216476,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:35:07] local.INFO: Processing buffer {"connection_id":216476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:35:07] local.INFO: IMEI packet received {"connection_id":216476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":216476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:35:13] local.INFO: TCP Data received {"connection_id":216476,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:35:13] local.INFO: Processing buffer {"connection_id":216476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:35:13] local.INFO: IMEI packet received {"connection_id":216476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":216476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:35:13] local.INFO: TCP Data received {"connection_id":216476,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e0e388012d196900071fed50003a01112c..."} 
[2026-10-16 09:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e0e388012d196900071fed50003a01112c..."} 
[2026-10-16 09:35:13] local.INFO: Processing buffer {"connection_id":216476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e0e388012d196900071fed50003a01112c..."} 
[2026-10-16 09:35:13] local.INFO: Packet analysis {"connection_id":216476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:35:13] local.INFO: Extracted packet for processing {"connection_id":216476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e0"} 
[2026-10-16 09:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783584256001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792123397000,"timestamp_ms":1792123397000,"timestamp_seconds":1792123397,"priority":1,"record_length":96,"hex_timestamp":"000001a142e0e388"} 
[2026-10-16 09:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:35:13] 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-10-16 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:35: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-10-16 09: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-10-16 09:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783584256001,"66":12406,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783584256001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:35:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783584256001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":216476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:35:13] local.INFO: GPS data processed {"connection_id":216476,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:35:13] local.INFO: Acknowledgment sent {"connection_id":216476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:35:16] local.INFO: TCP Data received {"connection_id":218018,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:35:16] local.INFO: Processing buffer {"connection_id":218018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:35:16] local.INFO: IMEI packet received {"connection_id":218018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":218018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:35:22] local.INFO: TCP Data received {"connection_id":218018,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:35:22] local.INFO: Processing buffer {"connection_id":218018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:35:22] local.INFO: IMEI packet received {"connection_id":218018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":218018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:35:23] local.INFO: TCP Data received {"connection_id":218018,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:35:23] local.INFO: Processing buffer {"connection_id":218018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:35:23] local.INFO: Packet analysis {"connection_id":218018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:35:23] local.INFO: Extracted packet for processing {"connection_id":218018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123238000,"timestamp_ms":1792123238000,"timestamp_seconds":1792123238,"priority":1,"record_length":96,"hex_timestamp":"000001a142de7670"} 
[2026-10-16 09:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:35:23] 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-10-16 09:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471872001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:35:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:35:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471872001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":218018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:35:23] local.INFO: GPS data processed {"connection_id":218018,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:35:23] local.INFO: Acknowledgment sent {"connection_id":218018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:35:26] local.INFO: TCP Data received {"connection_id":216672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:35:26] local.INFO: Processing buffer {"connection_id":216672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:35:26] local.INFO: IMEI packet received {"connection_id":216672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":216672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:35:30] local.INFO: TCP Data received {"connection_id":216672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:35:30] local.INFO: Processing buffer {"connection_id":216672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:35:30] local.INFO: IMEI packet received {"connection_id":216672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":216672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:35:31] local.INFO: TCP Data received {"connection_id":216672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e21c08012d7a3cc005ebc4200018009d24..."} 
[2026-10-16 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e21c08012d7a3cc005ebc4200018009d24..."} 
[2026-10-16 09:35:31] local.INFO: Processing buffer {"connection_id":216672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e21c08012d7a3cc005ebc4200018009d24..."} 
[2026-10-16 09:35:31] local.INFO: Packet analysis {"connection_id":216672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:35:31] local.INFO: Extracted packet for processing {"connection_id":216672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":762985664,"raw_latitude":99337248,"longitude_deg":76.2985664,"latitude_deg":9.9337248,"altitude":24,"angle":157,"satellites":36,"speed":16,"hex_longitude":"2d7a3cc0","hex_latitude":"05ebc420","is_valid_coordinates":true} 
[2026-10-16 09:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783608576001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145493292757286912,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806859465498034176,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:31] 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-10-16 09:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792123477000,"timestamp_ms":1792123477000,"timestamp_seconds":1792123477,"priority":1,"record_length":96,"hex_timestamp":"000001a142e21c08"} 
[2026-10-16 09:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-16 09:35:31] 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-10-16 09:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783608576001,"66":14211,"163":206,"87":13824,"24":16,"16":145493292757286912,"45":8806859465498034176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783608576001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:35:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:35:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145493292757286912,"km_value":145493292757286.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806859465498034176,"description":"Unknown IO ID 45"} 
[2026-10-16 09:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783608576001,"power":14211,"unknown_163":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8806859465498034176}} 
[2026-10-16 09:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":216672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:35:31] local.INFO: GPS data processed {"connection_id":216672,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:35:31] local.INFO: Acknowledgment sent {"connection_id":216672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:35:31] local.INFO: TCP Data received {"connection_id":216672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e26a28012d7a4a4005eba8580016009c21..."} 
[2026-10-16 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e26a28012d7a4a4005eba8580016009c21..."} 
[2026-10-16 09:35:31] local.INFO: Processing buffer {"connection_id":216672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e26a28012d7a4a4005eba8580016009c21..."} 
[2026-10-16 09:35:31] local.INFO: Packet analysis {"connection_id":216672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:35:31] local.INFO: Extracted packet for processing {"connection_id":216672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":762989120,"raw_latitude":99330136,"longitude_deg":76.298912,"latitude_deg":9.9330136,"altitude":22,"angle":156,"satellites":33,"speed":19,"hex_longitude":"2d7a4a40","hex_latitude":"05eba858","is_valid_coordinates":true} 
[2026-10-16 09:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783610112001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145493679304343552,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808126102892716032,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:31] 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-10-16 09:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792123497000,"timestamp_ms":1792123497000,"timestamp_seconds":1792123497,"priority":1,"record_length":96,"hex_timestamp":"000001a142e26a28"} 
[2026-10-16 09:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 09:35:31] 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-10-16 09:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783610112001,"66":12906,"163":206,"87":13824,"24":19,"16":145493679304343552,"45":8808126102892716032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783610112001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:35:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:35:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145493679304343552,"km_value":145493679304343.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808126102892716032,"description":"Unknown IO ID 45"} 
[2026-10-16 09:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783610112001,"power":12906,"unknown_163":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8808126102892716032}} 
[2026-10-16 09:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":216672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:35:31] local.INFO: GPS data processed {"connection_id":216672,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:35:31] local.INFO: Acknowledgment sent {"connection_id":216672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:35:47] local.INFO: TCP Data received {"connection_id":216476,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e13590012d196900071fed50003a01112b..."} 
[2026-10-16 09:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e13590012d196900071fed50003a01112b..."} 
[2026-10-16 09:35:47] local.INFO: Processing buffer {"connection_id":216476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e13590012d196900071fed50003a01112b..."} 
[2026-10-16 09:35:47] local.INFO: Packet analysis {"connection_id":216476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e1"} 
[2026-10-16 09:35:47] local.INFO: Extracted packet for processing {"connection_id":216476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e1"} 
[2026-10-16 09:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783589632001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792123418000,"timestamp_ms":1792123418000,"timestamp_seconds":1792123418,"priority":1,"record_length":96,"hex_timestamp":"000001a142e13590"} 
[2026-10-16 09:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:35:47] 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-10-16 09:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 09:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783589632001,"66":12374,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783589632001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:35:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783589632001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":216476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:35:47] local.INFO: GPS data processed {"connection_id":216476,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:35:47] local.INFO: Acknowledgment sent {"connection_id":216476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:35:56] local.INFO: TCP Data received {"connection_id":218018,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:35:56] local.INFO: Processing buffer {"connection_id":218018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142de7670012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:35:56] local.INFO: Packet analysis {"connection_id":218018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:35:56] local.INFO: Extracted packet for processing {"connection_id":218018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142de"} 
[2026-10-16 09:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783471872001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792123238000,"timestamp_ms":1792123238000,"timestamp_seconds":1792123238,"priority":1,"record_length":96,"hex_timestamp":"000001a142de7670"} 
[2026-10-16 09:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 09:35:56] 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-10-16 09:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783471872001,"66":25756,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783471872001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:35:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:35:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783471872001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":218018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:35:56] local.INFO: GPS data processed {"connection_id":218018,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:35:56] local.INFO: Acknowledgment sent {"connection_id":218018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:36:02] local.INFO: TCP Data received {"connection_id":216672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e28198012d7a4f0005eba0480014008f24..."} 
[2026-10-16 09:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e28198012d7a4f0005eba0480014008f24..."} 
[2026-10-16 09:36:02] local.INFO: Processing buffer {"connection_id":216672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e28198012d7a4f0005eba0480014008f24..."} 
[2026-10-16 09:36:02] local.INFO: Packet analysis {"connection_id":216672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:36:02] local.INFO: Extracted packet for processing {"connection_id":216672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:36:02] local.INFO: GPS Element Parsed {"raw_longitude":762990336,"raw_latitude":99328072,"longitude_deg":76.2990336,"latitude_deg":9.9328072,"altitude":20,"angle":143,"satellites":36,"speed":15,"hex_longitude":"2d7a4f00","hex_latitude":"05eba048","is_valid_coordinates":true} 
[2026-10-16 09:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783615232001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145493795268460544,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811926015076489216,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:02] 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-10-16 09:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792123503000,"timestamp_ms":1792123503000,"timestamp_seconds":1792123503,"priority":1,"record_length":96,"hex_timestamp":"000001a142e28198"} 
[2026-10-16 09:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-16 09:36:02] 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-10-16 09:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783615232001,"66":13624,"163":206,"87":13824,"24":15,"16":145493795268460544,"45":8811926015076489216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783615232001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:36:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145493795268460544,"km_value":145493795268460.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811926015076489216,"description":"Unknown IO ID 45"} 
[2026-10-16 09:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783615232001,"power":13624,"unknown_163":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8811926015076489216}} 
[2026-10-16 09:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":216672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:36:02] local.INFO: GPS data processed {"connection_id":216672,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:36:02] local.INFO: Acknowledgment sent {"connection_id":216672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:36:07] local.INFO: TCP Data received {"connection_id":216477,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:36:07] local.INFO: Processing buffer {"connection_id":216477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:36:07] local.INFO: IMEI packet received {"connection_id":216477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":216477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:36:13] local.INFO: TCP Data received {"connection_id":216477,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:36:13] local.INFO: Processing buffer {"connection_id":216477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:36:13] local.INFO: IMEI packet received {"connection_id":216477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":216477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:36:13] local.INFO: TCP Data received {"connection_id":216477,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e18798012d196900071fed50003a01112b..."} 
[2026-10-16 09:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e18798012d196900071fed50003a01112b..."} 
[2026-10-16 09:36:13] local.INFO: Processing buffer {"connection_id":216477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e18798012d196900071fed50003a01112b..."} 
[2026-10-16 09:36:13] local.INFO: Packet analysis {"connection_id":216477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e1"} 
[2026-10-16 09:36:13] local.INFO: Extracted packet for processing {"connection_id":216477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e1"} 
[2026-10-16 09:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783595008001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792123439000,"timestamp_ms":1792123439000,"timestamp_seconds":1792123439,"priority":1,"record_length":96,"hex_timestamp":"000001a142e18798"} 
[2026-10-16 09:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:36:13] 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-10-16 09:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-16 09:36:13] 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-10-16 09:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783595008001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783595008001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:36:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783595008001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":216477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:36:13] local.INFO: GPS data processed {"connection_id":216477,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:36:13] local.INFO: Acknowledgment sent {"connection_id":216477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:36:17] local.INFO: TCP Data received {"connection_id":219750,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:36:17] local.INFO: Processing buffer {"connection_id":219750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:36:17] local.INFO: IMEI packet received {"connection_id":219750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":219750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:36:21] local.INFO: TCP Data received {"connection_id":218020,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:36:21] local.INFO: Processing buffer {"connection_id":218020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:36:21] local.INFO: IMEI packet received {"connection_id":218020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":218020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:36:21] local.INFO: TCP Data received {"connection_id":218020,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:36:21] local.INFO: Processing buffer {"connection_id":218020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:36:21] local.INFO: IMEI packet received {"connection_id":218020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":218020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:36:22] local.INFO: TCP Data received {"connection_id":219750,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:36:22] local.INFO: Processing buffer {"connection_id":219750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:36:22] local.INFO: IMEI packet received {"connection_id":219750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":219750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:36:26] local.INFO: TCP Data received {"connection_id":218020,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:36:26] local.INFO: Processing buffer {"connection_id":218020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:36:26] local.INFO: IMEI packet received {"connection_id":218020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":218020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:36:27] local.INFO: TCP Data received {"connection_id":219750,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:36:27] local.INFO: Processing buffer {"connection_id":219750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:36:27] local.INFO: IMEI packet received {"connection_id":219750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":219750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:36:28] local.INFO: TCP Data received {"connection_id":219750,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:36:28] local.INFO: Processing buffer {"connection_id":219750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:36:28] local.INFO: Packet analysis {"connection_id":219750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:36:28] local.INFO: Extracted packet for processing {"connection_id":219750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792123539000,"timestamp_ms":1792123539000,"timestamp_seconds":1792123539,"priority":1,"record_length":96,"hex_timestamp":"000001a142e30e38"} 
[2026-10-16 09:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783548928001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:36:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:36:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783548928001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":219750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:36:28] local.INFO: GPS data processed {"connection_id":219750,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:36:28] local.INFO: Acknowledgment sent {"connection_id":219750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:36:28] local.INFO: TCP Data received {"connection_id":218020,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e29520012d7a520005eb9bf0000f00a128..."} 
[2026-10-16 09:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e29520012d7a520005eb9bf0000f00a128..."} 
[2026-10-16 09:36:28] local.INFO: Processing buffer {"connection_id":218020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e29520012d7a520005eb9bf0000f00a128..."} 
[2026-10-16 09:36:28] local.INFO: Packet analysis {"connection_id":218020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:36:28] local.INFO: Extracted packet for processing {"connection_id":218020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":762991104,"raw_latitude":99326960,"longitude_deg":76.2991104,"latitude_deg":9.932696,"altitude":15,"angle":161,"satellites":40,"speed":7,"hex_longitude":"2d7a5200","hex_latitude":"05eb9bf0","is_valid_coordinates":true} 
[2026-10-16 09:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783616768001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145493859692969984,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813263021215336448,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:28] 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-10-16 09:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792123508000,"timestamp_ms":1792123508000,"timestamp_seconds":1792123508,"priority":1,"record_length":96,"hex_timestamp":"000001a142e29520"} 
[2026-10-16 09:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-10-16 09:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783616768001,"66":14298,"163":206,"87":13824,"24":7,"16":145493859692969984,"45":8813263021215336448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783616768001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:36:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:36:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145493859692969984,"km_value":145493859692969.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813263021215336448,"description":"Unknown IO ID 45"} 
[2026-10-16 09:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783616768001,"power":14298,"unknown_163":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8813263021215336448}} 
[2026-10-16 09:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":218020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:36:28] local.INFO: GPS data processed {"connection_id":218020,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:36:28] local.INFO: Acknowledgment sent {"connection_id":218020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:36:31] local.INFO: TCP Data received {"connection_id":218020,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e2e340012d7a530005eb9a30000d00a123..."} 
[2026-10-16 09:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e2e340012d7a530005eb9a30000d00a123..."} 
[2026-10-16 09:36:31] local.INFO: Processing buffer {"connection_id":218020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e2e340012d7a530005eb9a30000d00a123..."} 
[2026-10-16 09:36:31] local.INFO: Packet analysis {"connection_id":218020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:36:31] local.INFO: Extracted packet for processing {"connection_id":218020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:36:31] local.INFO: GPS Element Parsed {"raw_longitude":762991360,"raw_latitude":99326512,"longitude_deg":76.299136,"latitude_deg":9.9326512,"altitude":13,"angle":161,"satellites":35,"speed":0,"hex_longitude":"2d7a5300","hex_latitude":"05eb9a30","is_valid_coordinates":true} 
[2026-10-16 09:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783618048001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145493889757741056,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814107446145183744,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:31] 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-10-16 09:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792123528000,"timestamp_ms":1792123528000,"timestamp_seconds":1792123528,"priority":1,"record_length":96,"hex_timestamp":"000001a142e2e340"} 
[2026-10-16 09:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-16 09:36:31] 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-10-16 09:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":218020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":218020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":218020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783618048001,"66":13917,"163":206,"87":13824,"24":0,"16":145493889757741056,"45":8814107446145183744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783618048001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:36:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:36:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145493889757741056,"km_value":145493889757741.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814107446145183744,"description":"Unknown IO ID 45"} 
[2026-10-16 09:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783618048001,"power":13917,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8814107446145183744}} 
[2026-10-16 09:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":218020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:36:31] local.INFO: GPS data processed {"connection_id":218020,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:36:31] local.INFO: Acknowledgment sent {"connection_id":218020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:36:32] local.INFO: TCP Data received {"connection_id":219750,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:36:32] local.INFO: Processing buffer {"connection_id":219750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:36:32] local.INFO: Packet analysis {"connection_id":219750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:36:32] local.INFO: Extracted packet for processing {"connection_id":219750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792123539000,"timestamp_ms":1792123539000,"timestamp_seconds":1792123539,"priority":1,"record_length":96,"hex_timestamp":"000001a142e30e38"} 
[2026-10-16 09:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783548928001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:36:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783548928001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":219750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:36:32] local.INFO: GPS data processed {"connection_id":219750,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:36:32] local.INFO: Acknowledgment sent {"connection_id":219750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:36:44] local.INFO: TCP Data received {"connection_id":216477,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e1d9a0012d196900071fed50003a01112d..."} 
[2026-10-16 09:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e1d9a0012d196900071fed50003a01112d..."} 
[2026-10-16 09:36:44] local.INFO: Processing buffer {"connection_id":216477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e1d9a0012d196900071fed50003a01112d..."} 
[2026-10-16 09:36:44] local.INFO: Packet analysis {"connection_id":216477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e1"} 
[2026-10-16 09:36:44] local.INFO: Extracted packet for processing {"connection_id":216477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e1"} 
[2026-10-16 09:36:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783600384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792123460000,"timestamp_ms":1792123460000,"timestamp_seconds":1792123460,"priority":1,"record_length":96,"hex_timestamp":"000001a142e1d9a0"} 
[2026-10-16 09:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:36:44] 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-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:36: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-10-16 09: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-10-16 09:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783600384001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783600384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:36:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:36:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783600384001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":216477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:36:44] local.INFO: GPS data processed {"connection_id":216477,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:36:44] local.INFO: Acknowledgment sent {"connection_id":216477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:37:02] local.INFO: TCP Data received {"connection_id":218020,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e33548012d7a54c005eb98200006009628..."} 
[2026-10-16 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e33548012d7a54c005eb98200006009628..."} 
[2026-10-16 09:37:02] local.INFO: Processing buffer {"connection_id":218020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e33548012d7a54c005eb98200006009628..."} 
[2026-10-16 09:37:02] local.INFO: Packet analysis {"connection_id":218020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:37:02] local.INFO: Extracted packet for processing {"connection_id":218020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:37:02] local.INFO: GPS Element Parsed {"raw_longitude":762991808,"raw_latitude":99325984,"longitude_deg":76.2991808,"latitude_deg":9.9325984,"altitude":6,"angle":150,"satellites":40,"speed":0,"hex_longitude":"2d7a54c0","hex_latitude":"05eb9820","is_valid_coordinates":true} 
[2026-10-16 09:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783623168001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145493928412446720,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814388921121779712,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:02] 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-10-16 09:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792123549000,"timestamp_ms":1792123549000,"timestamp_seconds":1792123549,"priority":1,"record_length":96,"hex_timestamp":"000001a142e33548"} 
[2026-10-16 09:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-10-16 09:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":218020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":218020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":218020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783623168001,"66":13580,"163":206,"87":13824,"24":0,"16":145493928412446720,"45":8814388921121779712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783623168001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:37:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:37:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145493928412446720,"km_value":145493928412446.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814388921121779712,"description":"Unknown IO ID 45"} 
[2026-10-16 09:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783623168001,"power":13580,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8814388921121779712}} 
[2026-10-16 09:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":218020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:37:02] local.INFO: GPS data processed {"connection_id":218020,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:37:02] local.INFO: Acknowledgment sent {"connection_id":218020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:37:07] local.INFO: TCP Data received {"connection_id":218021,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:37:07] local.INFO: Processing buffer {"connection_id":218021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:37:07] local.INFO: IMEI packet received {"connection_id":218021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":218021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:37:13] local.INFO: TCP Data received {"connection_id":218021,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:37:13] local.INFO: Processing buffer {"connection_id":218021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:37:13] local.INFO: IMEI packet received {"connection_id":218021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":218021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:37:13] local.INFO: TCP Data received {"connection_id":218021,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e22ba8012d196900071fed50003a01112b..."} 
[2026-10-16 09:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e22ba8012d196900071fed50003a01112b..."} 
[2026-10-16 09:37:13] local.INFO: Processing buffer {"connection_id":218021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e22ba8012d196900071fed50003a01112b..."} 
[2026-10-16 09:37:13] local.INFO: Packet analysis {"connection_id":218021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:37:13] local.INFO: Extracted packet for processing {"connection_id":218021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783605760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792123481000,"timestamp_ms":1792123481000,"timestamp_seconds":1792123481,"priority":1,"record_length":96,"hex_timestamp":"000001a142e22ba8"} 
[2026-10-16 09:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:37: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-10-16 09: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-10-16 09: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-10-16 09: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-10-16 09:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783605760001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783605760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:37:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783605760001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":218021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:37:13] local.INFO: GPS data processed {"connection_id":218021,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:37:13] local.INFO: Acknowledgment sent {"connection_id":218021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:37:15] local.INFO: TCP Data received {"connection_id":216478,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:37:15] local.INFO: Processing buffer {"connection_id":216478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:37:15] local.INFO: IMEI packet received {"connection_id":216478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":216478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:37:16] local.INFO: TCP Data received {"connection_id":216674,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:37:16] local.INFO: Processing buffer {"connection_id":216674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:37:16] local.INFO: IMEI packet received {"connection_id":216674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":216674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:37:21] local.INFO: TCP Data received {"connection_id":219751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:37:21] local.INFO: Processing buffer {"connection_id":219751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:37:21] local.INFO: IMEI packet received {"connection_id":219751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":219751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:37:22] local.INFO: TCP Data received {"connection_id":216674,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:37:22] local.INFO: Processing buffer {"connection_id":216674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:37:22] local.INFO: IMEI packet received {"connection_id":216674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":216674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:37:23] local.INFO: TCP Data received {"connection_id":216674,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:37:23] local.INFO: Processing buffer {"connection_id":216674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:37:23] local.INFO: Packet analysis {"connection_id":216674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:37:23] local.INFO: Extracted packet for processing {"connection_id":216674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123539000,"timestamp_ms":1792123539000,"timestamp_seconds":1792123539,"priority":1,"record_length":96,"hex_timestamp":"000001a142e30e38"} 
[2026-10-16 09:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:37:23] 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-10-16 09:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783548928001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:37:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:37:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783548928001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":216674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:37:23] local.INFO: GPS data processed {"connection_id":216674,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:37:23] local.INFO: Acknowledgment sent {"connection_id":216674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:37:23] local.INFO: TCP Data received {"connection_id":219751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:37:23] local.INFO: Processing buffer {"connection_id":219751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:37:23] local.INFO: IMEI packet received {"connection_id":219751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":219751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:37:24] local.INFO: TCP Data received {"connection_id":219751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e35488012d7a580005eb96200005005e28..."} 
[2026-10-16 09:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e35488012d7a580005eb96200005005e28..."} 
[2026-10-16 09:37:24] local.INFO: Processing buffer {"connection_id":219751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e35488012d7a580005eb96200005005e28..."} 
[2026-10-16 09:37:24] local.INFO: Packet analysis {"connection_id":219751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:37:24] local.INFO: Extracted packet for processing {"connection_id":219751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:37:24] local.INFO: GPS Element Parsed {"raw_longitude":762992640,"raw_latitude":99325472,"longitude_deg":76.299264,"latitude_deg":9.9325472,"altitude":5,"angle":94,"satellites":40,"speed":6,"hex_longitude":"2d7a5800","hex_latitude":"05eb9620","is_valid_coordinates":true} 
[2026-10-16 09:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783628544001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145493975657086976,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814881502330888192,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] 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-10-16 09:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792123557000,"timestamp_ms":1792123557000,"timestamp_seconds":1792123557,"priority":1,"record_length":96,"hex_timestamp":"000001a142e35488"} 
[2026-10-16 09:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751645925,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3798607873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2824339478,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637778666204579,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221613508,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197867821,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":2,"raw_value":352766211144024064,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3956015104,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3819058994404130838,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620717930850340439,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,163,87,24,241,157,16,229,161,227,45,154,13,35,10,66,149,155,15,40,129,1,240,56,235,4,113,205,19,28,60,32,36,239,55,2,5,22,122,53,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-10-16 09:37:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432510662770425856,"timestamp_seconds":432510662770425.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783628544001,"66":13646,"163":206,"87":13824,"24":6,"16":145493975657086976,"45":8814881502330888192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783628544001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:37:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:37:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145493975657086976,"km_value":145493975657086.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814881502330888192,"description":"Unknown IO ID 45"} 
[2026-10-16 09:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783628544001,"power":13646,"unknown_163":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8814881502330888192}} 
[2026-10-16 09:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":219751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:37:24] local.INFO: GPS data processed {"connection_id":219751,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:37:24] local.INFO: Acknowledgment sent {"connection_id":219751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:37:45] local.INFO: TCP Data received {"connection_id":218021,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e27db0012d196900071fed50003a011129..."} 
[2026-10-16 09:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e27db0012d196900071fed50003a011129..."} 
[2026-10-16 09:37:45] local.INFO: Processing buffer {"connection_id":218021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e27db0012d196900071fed50003a011129..."} 
[2026-10-16 09:37:45] local.INFO: Packet analysis {"connection_id":218021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:37:45] local.INFO: Extracted packet for processing {"connection_id":218021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783611136001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792123502000,"timestamp_ms":1792123502000,"timestamp_seconds":1792123502,"priority":1,"record_length":96,"hex_timestamp":"000001a142e27db0"} 
[2026-10-16 09:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:37:45] 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-10-16 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:37: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-10-16 09: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-10-16 09:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783611136001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783611136001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:37:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783611136001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":218021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:37:45] local.INFO: GPS data processed {"connection_id":218021,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:37:45] local.INFO: Acknowledgment sent {"connection_id":218021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:37:49] local.INFO: TCP Data received {"connection_id":219752,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:37:49] local.INFO: Processing buffer {"connection_id":219752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:37:49] local.INFO: IMEI packet received {"connection_id":219752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":219752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:37:55] local.INFO: TCP Data received {"connection_id":216674,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:37:55] local.INFO: Processing buffer {"connection_id":216674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:37:55] local.INFO: Packet analysis {"connection_id":216674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:37:55] local.INFO: Extracted packet for processing {"connection_id":216674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792123539000,"timestamp_ms":1792123539000,"timestamp_seconds":1792123539,"priority":1,"record_length":96,"hex_timestamp":"000001a142e30e38"} 
[2026-10-16 09:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:37:55] 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-10-16 09:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783548928001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:37:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:37:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783548928001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":216674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:37:55] local.INFO: GPS data processed {"connection_id":216674,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:37:55] local.INFO: Acknowledgment sent {"connection_id":216674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:37:56] local.INFO: TCP Data received {"connection_id":219751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e36040012d7a5a0005eb96100005005128..."} 
[2026-10-16 09:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e36040012d7a5a0005eb96100005005128..."} 
[2026-10-16 09:37:56] local.INFO: Processing buffer {"connection_id":219751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e36040012d7a5a0005eb96100005005128..."} 
[2026-10-16 09:37:56] local.INFO: Packet analysis {"connection_id":219751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:37:56] local.INFO: Extracted packet for processing {"connection_id":219751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:37:56] local.INFO: GPS Element Parsed {"raw_longitude":762993152,"raw_latitude":99325456,"longitude_deg":76.2993152,"latitude_deg":9.9325456,"altitude":5,"angle":81,"satellites":40,"speed":8,"hex_longitude":"2d7a5a00","hex_latitude":"05eb9610","is_valid_coordinates":true} 
[2026-10-16 09:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783630592001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145494001426890752,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815796296005066752,"note":"Value kept but may cause issues"} 
[2026-10-16 09:37:56] 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-10-16 09:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792123560000,"timestamp_ms":1792123560000,"timestamp_seconds":1792123560,"priority":1,"record_length":96,"hex_timestamp":"000001a142e36040"} 
[2026-10-16 09:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 09:37:56] 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-10-16 09:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783630592001,"66":13961,"163":206,"87":13824,"24":8,"16":145494001426890752,"45":8815796296005066752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783630592001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:37:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:37:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145494001426890752,"km_value":145494001426890.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815796296005066752,"description":"Unknown IO ID 45"} 
[2026-10-16 09:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783630592001,"power":13961,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8815796296005066752}} 
[2026-10-16 09:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":219751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:37:56] local.INFO: GPS data processed {"connection_id":219751,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:37:56] local.INFO: Acknowledgment sent {"connection_id":219751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:38:13] local.INFO: TCP Data received {"connection_id":219753,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:38:13] local.INFO: Processing buffer {"connection_id":219753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:38:13] local.INFO: IMEI packet received {"connection_id":219753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":219753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:38:16] local.INFO: TCP Data received {"connection_id":216480,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:38:16] local.INFO: Processing buffer {"connection_id":216480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:38:16] local.INFO: IMEI packet received {"connection_id":216480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":216480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:38:18] local.INFO: TCP Data received {"connection_id":219753,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:38:18] local.INFO: Processing buffer {"connection_id":219753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:38:18] local.INFO: IMEI packet received {"connection_id":219753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":219753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:38:18] local.INFO: TCP Data received {"connection_id":219753,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e2cfb8012d196900071fed50003a011129..."} 
[2026-10-16 09:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e2cfb8012d196900071fed50003a011129..."} 
[2026-10-16 09:38:18] local.INFO: Processing buffer {"connection_id":219753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e2cfb8012d196900071fed50003a011129..."} 
[2026-10-16 09:38:18] local.INFO: Packet analysis {"connection_id":219753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:38:18] local.INFO: Extracted packet for processing {"connection_id":219753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e2"} 
[2026-10-16 09:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783616512001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792123523000,"timestamp_ms":1792123523000,"timestamp_seconds":1792123523,"priority":1,"record_length":96,"hex_timestamp":"000001a142e2cfb8"} 
[2026-10-16 09:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:38:18] 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-10-16 09:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 09:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":219753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":219753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":219753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783616512001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783616512001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:38:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783616512001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":219753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:38:19] local.INFO: GPS data processed {"connection_id":219753,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:38:19] local.INFO: Acknowledgment sent {"connection_id":219753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:38:21] local.INFO: TCP Data received {"connection_id":216676,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:38:21] local.INFO: Processing buffer {"connection_id":216676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:38:21] local.INFO: IMEI packet received {"connection_id":216676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":216676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:38:22] local.INFO: TCP Data received {"connection_id":216480,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:38:22] local.INFO: Processing buffer {"connection_id":216480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:38:22] local.INFO: IMEI packet received {"connection_id":216480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":216480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:38:23] local.INFO: TCP Data received {"connection_id":216480,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:38:23] local.INFO: Processing buffer {"connection_id":216480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:38:23] local.INFO: Packet analysis {"connection_id":216480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:38:23] local.INFO: Extracted packet for processing {"connection_id":216480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:38: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-10-16 09:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123539000,"timestamp_ms":1792123539000,"timestamp_seconds":1792123539,"priority":1,"record_length":96,"hex_timestamp":"000001a142e30e38"} 
[2026-10-16 09:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:38: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:38:23] 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-10-16 09:38: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-10-16 09:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783548928001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:38:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:38:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783548928001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":216480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:38:23] local.INFO: GPS data processed {"connection_id":216480,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:38:23] local.INFO: Acknowledgment sent {"connection_id":216480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:38:23] local.INFO: TCP Data received {"connection_id":219753,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e31dd8012d196900071fed50003a011129..."} 
[2026-10-16 09:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e31dd8012d196900071fed50003a011129..."} 
[2026-10-16 09:38:23] local.INFO: Processing buffer {"connection_id":219753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e31dd8012d196900071fed50003a011129..."} 
[2026-10-16 09:38:23] local.INFO: Packet analysis {"connection_id":219753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:38:23] local.INFO: Extracted packet for processing {"connection_id":219753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:38: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-10-16 09:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783621888001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123543000,"timestamp_ms":1792123543000,"timestamp_seconds":1792123543,"priority":1,"record_length":96,"hex_timestamp":"000001a142e31dd8"} 
[2026-10-16 09:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:38:23] 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-10-16 09:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:38: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-10-16 09:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783621888001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783621888001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:38:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783621888001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":219753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:38:23] local.INFO: GPS data processed {"connection_id":219753,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:38:23] local.INFO: Acknowledgment sent {"connection_id":219753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:38:26] local.INFO: TCP Data received {"connection_id":216676,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:38:26] local.INFO: Processing buffer {"connection_id":216676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:38:26] local.INFO: IMEI packet received {"connection_id":216676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":216676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:38:26] local.INFO: TCP Data received {"connection_id":216676,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e373c8012d7a5ec005eb97380006004528..."} 
[2026-10-16 09:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e373c8012d7a5ec005eb97380006004528..."} 
[2026-10-16 09:38:26] local.INFO: Processing buffer {"connection_id":216676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e373c8012d7a5ec005eb97380006004528..."} 
[2026-10-16 09:38:26] local.INFO: Packet analysis {"connection_id":216676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:38:26] local.INFO: Extracted packet for processing {"connection_id":216676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:38:26] local.INFO: GPS Element Parsed {"raw_longitude":762994368,"raw_latitude":99325752,"longitude_deg":76.2994368,"latitude_deg":9.9325752,"altitude":6,"angle":69,"satellites":40,"speed":13,"hex_longitude":"2d7a5ec0","hex_latitude":"05eb9738","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783631360001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145494061556432896,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816359245958483968,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:26] 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-10-16 09:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792123565000,"timestamp_ms":1792123565000,"timestamp_seconds":1792123565,"priority":1,"record_length":96,"hex_timestamp":"000001a142e373c8"} 
[2026-10-16 09:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 09:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783631360001,"66":14461,"163":206,"87":13824,"24":13,"16":145494061556432896,"45":8816359245958483968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783631360001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:38:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:38:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145494061556432896,"km_value":145494061556432.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816359245958483968,"description":"Unknown IO ID 45"} 
[2026-10-16 09:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783631360001,"power":14461,"unknown_163":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8816359245958483968}} 
[2026-10-16 09:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":216676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:38:26] local.INFO: GPS data processed {"connection_id":216676,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:38:26] local.INFO: Acknowledgment sent {"connection_id":216676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:38:55] local.INFO: TCP Data received {"connection_id":216480,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:38:55] local.INFO: Processing buffer {"connection_id":216480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:38:55] local.INFO: Packet analysis {"connection_id":216480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:38:55] local.INFO: Extracted packet for processing {"connection_id":216480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792123539000,"timestamp_ms":1792123539000,"timestamp_seconds":1792123539,"priority":1,"record_length":96,"hex_timestamp":"000001a142e30e38"} 
[2026-10-16 09:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:38:55] 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-10-16 09:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783548928001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:38:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:38:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783548928001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":216480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:38:55] local.INFO: GPS data processed {"connection_id":216480,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:38:55] local.INFO: Acknowledgment sent {"connection_id":216480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:39:07] local.INFO: TCP Data received {"connection_id":216676,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e3aa78012d7a754005eb9f900009003a28..."} 
[2026-10-16 09:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e3aa78012d7a754005eb9f900009003a28..."} 
[2026-10-16 09:39:07] local.INFO: Processing buffer {"connection_id":216676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e3aa78012d7a754005eb9f900009003a28..."} 
[2026-10-16 09:39:07] local.INFO: Packet analysis {"connection_id":216676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:07] local.INFO: Extracted packet for processing {"connection_id":216676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763000128,"raw_latitude":99327888,"longitude_deg":76.3000128,"latitude_deg":9.9327888,"altitude":9,"angle":58,"satellites":40,"speed":13,"hex_longitude":"2d7a7540","hex_latitude":"05eb9f90","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783632640001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145494353614209024,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817696252097935360,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:07] 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-10-16 09:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792123579000,"timestamp_ms":1792123579000,"timestamp_seconds":1792123579,"priority":1,"record_length":96,"hex_timestamp":"000001a142e3aa78"} 
[2026-10-16 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-10-16 09:39: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-10-16 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 09:39: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-10-16 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-10-16 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-10-16 09:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783632640001,"66":13961,"163":206,"87":13824,"24":13,"16":145494353614209024,"45":8817696252097935360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-10-16 09:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783632640001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:39:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 09:39:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145494353614209024,"km_value":145494353614209.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817696252097935360,"description":"Unknown IO ID 45"} 
[2026-10-16 09:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783632640001,"power":13961,"unknown_163":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8817696252097935360}} 
[2026-10-16 09:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":216676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:39:07] local.INFO: GPS data processed {"connection_id":216676,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:39:07] local.INFO: Acknowledgment sent {"connection_id":216676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:39:07] local.INFO: TCP Data received {"connection_id":219755,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:39:07] local.INFO: Processing buffer {"connection_id":219755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:39:07] local.INFO: IMEI packet received {"connection_id":219755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":219755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:39:10] local.INFO: TCP Data received {"connection_id":219755,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:39:10] local.INFO: Processing buffer {"connection_id":219755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:39:10] local.INFO: IMEI packet received {"connection_id":219755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":219755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:39:11] local.INFO: TCP Data received {"connection_id":219755,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e36fe0012d196900071fed50003a01112a..."} 
[2026-10-16 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e36fe0012d196900071fed50003a01112a..."} 
[2026-10-16 09:39:11] local.INFO: Processing buffer {"connection_id":219755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e36fe0012d196900071fed50003a01112a..."} 
[2026-10-16 09:39:11] local.INFO: Packet analysis {"connection_id":219755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:11] local.INFO: Extracted packet for processing {"connection_id":219755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783627008001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792123564000,"timestamp_ms":1792123564000,"timestamp_seconds":1792123564,"priority":1,"record_length":96,"hex_timestamp":"000001a142e36fe0"} 
[2026-10-16 09:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 09:39:11] 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-10-16 09:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":219755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":219755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":219755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783627008001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783627008001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:39:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783627008001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":219755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:39:11] local.INFO: GPS data processed {"connection_id":219755,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:39:11] local.INFO: Acknowledgment sent {"connection_id":219755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:39:16] local.INFO: TCP Data received {"connection_id":218022,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:39:16] local.INFO: Processing buffer {"connection_id":218022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:39:16] local.INFO: IMEI packet received {"connection_id":218022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":218022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:39:21] local.INFO: TCP Data received {"connection_id":219756,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:39:21] local.INFO: Processing buffer {"connection_id":219756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:39:21] local.INFO: IMEI packet received {"connection_id":219756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":219756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:39:22] local.INFO: TCP Data received {"connection_id":218022,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:39:22] local.INFO: Processing buffer {"connection_id":218022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:39:22] local.INFO: IMEI packet received {"connection_id":218022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":218022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:39:22] local.INFO: TCP Data received {"connection_id":219756,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:39:22] local.INFO: Processing buffer {"connection_id":219756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:39:22] local.INFO: IMEI packet received {"connection_id":219756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":219756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:39:22] local.INFO: TCP Data received {"connection_id":218022,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:39:22] local.INFO: Processing buffer {"connection_id":218022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:39:22] local.INFO: Packet analysis {"connection_id":218022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:22] local.INFO: Extracted packet for processing {"connection_id":218022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792123539000,"timestamp_ms":1792123539000,"timestamp_seconds":1792123539,"priority":1,"record_length":96,"hex_timestamp":"000001a142e30e38"} 
[2026-10-16 09:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:39:22] 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-10-16 09:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783548928001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:39:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:39:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783548928001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":218022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:39:22] local.INFO: GPS data processed {"connection_id":218022,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:39:22] local.INFO: Acknowledgment sent {"connection_id":218022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:39:26] local.INFO: TCP Data received {"connection_id":219756,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:39:26] local.INFO: Processing buffer {"connection_id":219756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:39:26] local.INFO: IMEI packet received {"connection_id":219756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":219756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:39:27] local.INFO: TCP Data received {"connection_id":219756,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e3f898012d7a794005eba1880009004128..."} 
[2026-10-16 09:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e3f898012d7a794005eba1880009004128..."} 
[2026-10-16 09:39:27] local.INFO: Processing buffer {"connection_id":219756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e3f898012d7a794005eba1880009004128..."} 
[2026-10-16 09:39:27] local.INFO: Packet analysis {"connection_id":219756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:27] local.INFO: Extracted packet for processing {"connection_id":219756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763001152,"raw_latitude":99328392,"longitude_deg":76.3001152,"latitude_deg":9.9328392,"altitude":9,"angle":65,"satellites":40,"speed":4,"hex_longitude":"2d7a7940","hex_latitude":"05eba188","is_valid_coordinates":true} 
[2026-10-16 09:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783636224001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145494422333685760,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824029439074471936,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:27] 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-10-16 09:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792123599000,"timestamp_ms":1792123599000,"timestamp_seconds":1792123599,"priority":1,"record_length":96,"hex_timestamp":"000001a142e3f898"} 
[2026-10-16 09:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 09:39:27] 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-10-16 09:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783636224001,"66":14048,"161":206,"87":13824,"24":4,"16":145494422333685760,"45":8824029439074471936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-10-16 09:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783636224001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:39:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 09:39:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145494422333685760,"km_value":145494422333685.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824029439074471936,"description":"Unknown IO ID 45"} 
[2026-10-16 09:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783636224001,"power":14048,"unknown_161":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8824029439074471936}} 
[2026-10-16 09:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":219756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:39:27] local.INFO: GPS data processed {"connection_id":219756,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:39:27] local.INFO: Acknowledgment sent {"connection_id":219756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:39:42] local.INFO: TCP Data received {"connection_id":219755,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e3c1e8012d196900071fed50003a01112b..."} 
[2026-10-16 09:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e3c1e8012d196900071fed50003a01112b..."} 
[2026-10-16 09:39:42] local.INFO: Processing buffer {"connection_id":219755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e3c1e8012d196900071fed50003a01112b..."} 
[2026-10-16 09:39:42] local.INFO: Packet analysis {"connection_id":219755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:42] local.INFO: Extracted packet for processing {"connection_id":219755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783632384001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792123585000,"timestamp_ms":1792123585000,"timestamp_seconds":1792123585,"priority":1,"record_length":96,"hex_timestamp":"000001a142e3c1e8"} 
[2026-10-16 09:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:39: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-10-16 09:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:39: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-10-16 09:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":219755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":219755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":219755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783632384001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783632384001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:39:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783632384001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":219755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:39:42] local.INFO: GPS data processed {"connection_id":219755,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:39:42] local.INFO: Acknowledgment sent {"connection_id":219755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:39:54] local.INFO: TCP Data received {"connection_id":218022,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:39:54] local.INFO: Processing buffer {"connection_id":218022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:39:54] local.INFO: Packet analysis {"connection_id":218022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:54] local.INFO: Extracted packet for processing {"connection_id":218022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792123539000,"timestamp_ms":1792123539000,"timestamp_seconds":1792123539,"priority":1,"record_length":96,"hex_timestamp":"000001a142e30e38"} 
[2026-10-16 09:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783548928001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:39:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:39:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783548928001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":218022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:39:54] local.INFO: GPS data processed {"connection_id":218022,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:39:54] local.INFO: Acknowledgment sent {"connection_id":218022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:40:01] local.INFO: TCP Data received {"connection_id":219756,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e69878012d7bf08005ec31e8000e00522a..."} 
[2026-10-16 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e69878012d7bf08005ec31e8000e00522a..."} 
[2026-10-16 09:40:01] local.INFO: Processing buffer {"connection_id":219756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e69878012d7bf08005ec31e8000e00522a..."} 
[2026-10-16 09:40:01] local.INFO: Packet analysis {"connection_id":219756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:40:01] local.INFO: Extracted packet for processing {"connection_id":219756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763097216,"raw_latitude":99365352,"longitude_deg":76.3097216,"latitude_deg":9.9365352,"altitude":14,"angle":82,"satellites":42,"speed":29,"hex_longitude":"2d7bf080","hex_latitude":"05ec31e8","is_valid_coordinates":true} 
[2026-10-16 09:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783682560001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145499365841043456,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920997568560392192,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792123771000,"timestamp_ms":1792123771000,"timestamp_seconds":1792123771,"priority":1,"record_length":96,"hex_timestamp":"000001a142e69878"} 
[2026-10-16 09:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 09:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783682560001,"66":13906,"198":206,"87":13824,"24":29,"16":145499365841043456,"45":8920997568560392192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783682560001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:40:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:40:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145499365841043456,"km_value":145499365841043.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920997568560392192,"description":"Unknown IO ID 45"} 
[2026-10-16 09:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783682560001,"power":13906,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8920997568560392192}} 
[2026-10-16 09:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":219756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:40:01] local.INFO: GPS data processed {"connection_id":219756,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:40:01] local.INFO: Acknowledgment sent {"connection_id":219756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:40:07] local.INFO: TCP Data received {"connection_id":216678,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:40:07] local.INFO: Processing buffer {"connection_id":216678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:40:07] local.INFO: IMEI packet received {"connection_id":216678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":216678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:40:13] local.INFO: TCP Data received {"connection_id":216678,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:40:13] local.INFO: Processing buffer {"connection_id":216678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:40:13] local.INFO: IMEI packet received {"connection_id":216678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":216678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:40:14] local.INFO: TCP Data received {"connection_id":216678,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e413f0012d196900071fed50003a01112b..."} 
[2026-10-16 09:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e413f0012d196900071fed50003a01112b..."} 
[2026-10-16 09:40:14] local.INFO: Processing buffer {"connection_id":216678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e413f0012d196900071fed50003a01112b..."} 
[2026-10-16 09:40:14] local.INFO: Packet analysis {"connection_id":216678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e4"} 
[2026-10-16 09:40:14] local.INFO: Extracted packet for processing {"connection_id":216678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e4"} 
[2026-10-16 09:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783637760001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792123606000,"timestamp_ms":1792123606000,"timestamp_seconds":1792123606,"priority":1,"record_length":96,"hex_timestamp":"000001a142e413f0"} 
[2026-10-16 09:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:40: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-10-16 09:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:40:14] 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-10-16 09:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783637760001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783637760001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:40:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783637760001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":216678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:40:14] local.INFO: GPS data processed {"connection_id":216678,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:40:14] local.INFO: Acknowledgment sent {"connection_id":216678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:40:17] local.INFO: TCP Data received {"connection_id":218024,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:40:17] local.INFO: Processing buffer {"connection_id":218024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:40:17] local.INFO: IMEI packet received {"connection_id":218024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":218024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:40:21] local.INFO: TCP Data received {"connection_id":219757,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:40:21] local.INFO: Processing buffer {"connection_id":219757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:40:21] local.INFO: IMEI packet received {"connection_id":219757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":219757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:40:22] local.INFO: TCP Data received {"connection_id":218024,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:40:22] local.INFO: Processing buffer {"connection_id":218024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:40:22] local.INFO: IMEI packet received {"connection_id":218024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":218024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:40:23] local.INFO: TCP Data received {"connection_id":218024,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:40:23] local.INFO: Processing buffer {"connection_id":218024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:40:23] local.INFO: Packet analysis {"connection_id":218024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:40:23] local.INFO: Extracted packet for processing {"connection_id":218024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123539000,"timestamp_ms":1792123539000,"timestamp_seconds":1792123539,"priority":1,"record_length":96,"hex_timestamp":"000001a142e30e38"} 
[2026-10-16 09:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:40:23] 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-10-16 09: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-10-16 09:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783548928001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:40:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:40:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783548928001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":218024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:40:23] local.INFO: GPS data processed {"connection_id":218024,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:40:23] local.INFO: Acknowledgment sent {"connection_id":218024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:40:25] local.INFO: TCP Data received {"connection_id":219757,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:40:25] local.INFO: Processing buffer {"connection_id":219757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:40:25] local.INFO: IMEI packet received {"connection_id":219757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":219757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:40:26] local.INFO: TCP Data received {"connection_id":219757,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e6bf88012d7c154005ec34b8000d00592c..."} 
[2026-10-16 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e6bf88012d7c154005ec34b8000d00592c..."} 
[2026-10-16 09:40:26] local.INFO: Processing buffer {"connection_id":219757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e6bf88012d7c154005ec34b8000d00592c..."} 
[2026-10-16 09:40:26] local.INFO: Packet analysis {"connection_id":219757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:40:26] local.INFO: Extracted packet for processing {"connection_id":219757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:40:26] local.INFO: GPS Element Parsed {"raw_longitude":763106624,"raw_latitude":99366072,"longitude_deg":76.3106624,"latitude_deg":9.9366072,"altitude":13,"angle":89,"satellites":44,"speed":42,"hex_longitude":"2d7c1540","hex_latitude":"05ec34b8","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783685376001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145499816812609536,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930778824001579008,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:26] 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-10-16 09:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792123781000,"timestamp_ms":1792123781000,"timestamp_seconds":1792123781,"priority":1,"record_length":96,"hex_timestamp":"000001a142e6bf88"} 
[2026-10-16 09:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-16 09:40:26] 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-10-16 09: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-10-16 09:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783685376001,"66":14048,"198":206,"87":13824,"24":42,"16":145499816812609536,"45":8930778824001579008},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783685376001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:40:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:40:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145499816812609536,"km_value":145499816812609.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930778824001579008,"description":"Unknown IO ID 45"} 
[2026-10-16 09:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783685376001,"power":14048,"unknown_198":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8930778824001579008}} 
[2026-10-16 09:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":219757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:40:26] local.INFO: GPS data processed {"connection_id":219757,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:40:26] local.INFO: Acknowledgment sent {"connection_id":219757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:40:48] local.INFO: TCP Data received {"connection_id":216678,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e469e0012d196900071fed50003a01112b..."} 
[2026-10-16 09:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e469e0012d196900071fed50003a01112b..."} 
[2026-10-16 09:40:48] local.INFO: Processing buffer {"connection_id":216678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e469e0012d196900071fed50003a01112b..."} 
[2026-10-16 09:40:48] local.INFO: Packet analysis {"connection_id":216678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e4"} 
[2026-10-16 09:40:48] local.INFO: Extracted packet for processing {"connection_id":216678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e4"} 
[2026-10-16 09:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783643136001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792123628000,"timestamp_ms":1792123628000,"timestamp_seconds":1792123628,"priority":1,"record_length":96,"hex_timestamp":"000001a142e469e0"} 
[2026-10-16 09:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:40:48] 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-10-16 09:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783643136001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783643136001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:40:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783643136001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":216678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:40:48] local.INFO: GPS data processed {"connection_id":216678,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:40:48] local.INFO: Acknowledgment sent {"connection_id":216678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:40:55] local.INFO: TCP Data received {"connection_id":218024,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:40:55] local.INFO: Processing buffer {"connection_id":218024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e30e38012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:40:55] local.INFO: Packet analysis {"connection_id":218024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:40:55] local.INFO: Extracted packet for processing {"connection_id":218024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e3"} 
[2026-10-16 09:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792123539000,"timestamp_ms":1792123539000,"timestamp_seconds":1792123539,"priority":1,"record_length":96,"hex_timestamp":"000001a142e30e38"} 
[2026-10-16 09:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 09:40:55] 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-10-16 09:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783548928001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:40:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:40:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783548928001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":218024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:40:55] local.INFO: GPS data processed {"connection_id":218024,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:40:55] local.INFO: Acknowledgment sent {"connection_id":218024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:40:58] local.INFO: TCP Data received {"connection_id":219757,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e6ee68012d7c3ac005ec3600000d00582c..."} 
[2026-10-16 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e6ee68012d7c3ac005ec3600000d00582c..."} 
[2026-10-16 09:40:58] local.INFO: Processing buffer {"connection_id":219757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e6ee68012d7c3ac005ec3600000d00582c..."} 
[2026-10-16 09:40:58] local.INFO: Packet analysis {"connection_id":219757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:40:58] local.INFO: Extracted packet for processing {"connection_id":219757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763116224,"raw_latitude":99366400,"longitude_deg":76.3116224,"latitude_deg":9.93664,"altitude":13,"angle":88,"satellites":44,"speed":29,"hex_longitude":"2d7c3ac0","hex_latitude":"05ec3600","is_valid_coordinates":true} 
[2026-10-16 09:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783687936001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145500276374110208,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941123029395879936,"note":"Value kept but may cause issues"} 
[2026-10-16 09:40:58] 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-10-16 09:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792123793000,"timestamp_ms":1792123793000,"timestamp_seconds":1792123793,"priority":1,"record_length":96,"hex_timestamp":"000001a142e6ee68"} 
[2026-10-16 09:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 09:40:58] 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-10-16 09:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783687936001,"66":14515,"198":206,"87":13824,"24":29,"16":145500276374110208,"45":8941123029395879936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783687936001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:40:58] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:40:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145500276374110208,"km_value":145500276374110.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941123029395879936,"description":"Unknown IO ID 45"} 
[2026-10-16 09:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783687936001,"power":14515,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8941123029395879936}} 
[2026-10-16 09:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":219757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:40:58] local.INFO: GPS data processed {"connection_id":219757,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:40:58] local.INFO: Acknowledgment sent {"connection_id":219757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:41:07] local.INFO: TCP Data received {"connection_id":216481,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:41:07] local.INFO: Processing buffer {"connection_id":216481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:41:07] local.INFO: IMEI packet received {"connection_id":216481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":216481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:41:13] local.INFO: TCP Data received {"connection_id":216481,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:41:13] local.INFO: Processing buffer {"connection_id":216481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:41:13] local.INFO: IMEI packet received {"connection_id":216481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":216481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:41:13] local.INFO: TCP Data received {"connection_id":216481,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e4bbe8012d196900071fed50003a01112b..."} 
[2026-10-16 09:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e4bbe8012d196900071fed50003a01112b..."} 
[2026-10-16 09:41:13] local.INFO: Processing buffer {"connection_id":216481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e4bbe8012d196900071fed50003a01112b..."} 
[2026-10-16 09:41:13] local.INFO: Packet analysis {"connection_id":216481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e4"} 
[2026-10-16 09:41:13] local.INFO: Extracted packet for processing {"connection_id":216481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e4"} 
[2026-10-16 09:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783648768001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792123649000,"timestamp_ms":1792123649000,"timestamp_seconds":1792123649,"priority":1,"record_length":96,"hex_timestamp":"000001a142e4bbe8"} 
[2026-10-16 09:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:41: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-10-16 09: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 09:41: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-10-16 09: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-10-16 09:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783648768001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783648768001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:41:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783648768001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":216481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:41:13] local.INFO: GPS data processed {"connection_id":216481,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:41:13] local.INFO: Acknowledgment sent {"connection_id":216481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:41:16] local.INFO: TCP Data received {"connection_id":218025,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:41:16] local.INFO: Processing buffer {"connection_id":218025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:41:16] local.INFO: IMEI packet received {"connection_id":218025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":218025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:41:18] local.INFO: TCP Data received {"connection_id":218025,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:41:18] local.INFO: Processing buffer {"connection_id":218025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:41:18] local.INFO: IMEI packet received {"connection_id":218025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":218025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:41:21] local.INFO: TCP Data received {"connection_id":216679,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:41:21] local.INFO: Processing buffer {"connection_id":216679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:41:21] local.INFO: IMEI packet received {"connection_id":216679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":216679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:41:23] local.INFO: TCP Data received {"connection_id":218025,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:41:23] local.INFO: Processing buffer {"connection_id":218025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:41:23] local.INFO: IMEI packet received {"connection_id":218025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":218025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:41:24] local.INFO: TCP Data received {"connection_id":218025,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:41:24] local.INFO: Processing buffer {"connection_id":218025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:41:24] local.INFO: Packet analysis {"connection_id":218025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:41:24] local.INFO: Extracted packet for processing {"connection_id":218025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:41: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-10-16 09:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:41: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:41:24] 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-10-16 09:41: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-10-16 09:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":218025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":218025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":218025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:41:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:41:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":218025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:41:24] local.INFO: GPS data processed {"connection_id":218025,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:41:24] local.INFO: Acknowledgment sent {"connection_id":218025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:41:26] local.INFO: TCP Data received {"connection_id":216679,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:41:26] local.INFO: Processing buffer {"connection_id":216679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:41:26] local.INFO: IMEI packet received {"connection_id":216679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":216679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:41:28] local.INFO: TCP Data received {"connection_id":218025,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:41:28] local.INFO: Processing buffer {"connection_id":218025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:41:28] local.INFO: Packet analysis {"connection_id":218025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:41:28] local.INFO: Extracted packet for processing {"connection_id":218025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:41:28] 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-10-16 09:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:41:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:41:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":218025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:41:28] local.INFO: GPS data processed {"connection_id":218025,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:41:28] local.INFO: Acknowledgment sent {"connection_id":218025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:41:29] local.INFO: TCP Data received {"connection_id":216679,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e72130012d7c5ec005ec3738000b00572d..."} 
[2026-10-16 09:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e72130012d7c5ec005ec3738000b00572d..."} 
[2026-10-16 09:41:29] local.INFO: Processing buffer {"connection_id":216679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e72130012d7c5ec005ec3738000b00572d..."} 
[2026-10-16 09:41:29] local.INFO: Packet analysis {"connection_id":216679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:41:29] local.INFO: Extracted packet for processing {"connection_id":216679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763125440,"raw_latitude":99366712,"longitude_deg":76.312544,"latitude_deg":9.9366712,"altitude":11,"angle":87,"satellites":45,"speed":28,"hex_longitude":"2d7c5ec0","hex_latitude":"05ec3738","is_valid_coordinates":true} 
[2026-10-16 09:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783691008001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145500718755741696,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951678341022613504,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:29] 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-10-16 09:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792123806000,"timestamp_ms":1792123806000,"timestamp_seconds":1792123806,"priority":1,"record_length":96,"hex_timestamp":"000001a142e72130"} 
[2026-10-16 09:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 09:41:29] 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-10-16 09:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783691008001,"66":13656,"198":206,"87":13824,"24":28,"16":145500718755741696,"45":8951678341022613504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783691008001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:41:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:41:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145500718755741696,"km_value":145500718755741.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951678341022613504,"description":"Unknown IO ID 45"} 
[2026-10-16 09:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783691008001,"power":13656,"unknown_198":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8951678341022613504}} 
[2026-10-16 09:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":216679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:41:30] local.INFO: GPS data processed {"connection_id":216679,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:41:30] local.INFO: Acknowledgment sent {"connection_id":216679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:41:44] local.INFO: TCP Data received {"connection_id":216481,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e50df0012d196900071fed50003a01112d..."} 
[2026-10-16 09:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e50df0012d196900071fed50003a01112d..."} 
[2026-10-16 09:41:44] local.INFO: Processing buffer {"connection_id":216481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e50df0012d196900071fed50003a01112d..."} 
[2026-10-16 09:41:44] local.INFO: Packet analysis {"connection_id":216481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e5"} 
[2026-10-16 09:41:44] local.INFO: Extracted packet for processing {"connection_id":216481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e5"} 
[2026-10-16 09:41:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783654144001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792123670000,"timestamp_ms":1792123670000,"timestamp_seconds":1792123670,"priority":1,"record_length":96,"hex_timestamp":"000001a142e50df0"} 
[2026-10-16 09:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:41:44] 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-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:41: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-10-16 09: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-10-16 09:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783654144001,"66":12406,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783654144001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:41:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:41:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783654144001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":216481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:41:45] local.INFO: GPS data processed {"connection_id":216481,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:41:45] local.INFO: Acknowledgment sent {"connection_id":216481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:41:59] local.INFO: TCP Data received {"connection_id":218025,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:41:59] local.INFO: Processing buffer {"connection_id":218025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:41:59] local.INFO: Packet analysis {"connection_id":218025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:41:59] local.INFO: Extracted packet for processing {"connection_id":218025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:41:59] 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-10-16 09:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:41:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:41:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":218025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:41:59] local.INFO: GPS data processed {"connection_id":218025,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:41:59] local.INFO: Acknowledgment sent {"connection_id":218025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:42:02] local.INFO: TCP Data received {"connection_id":216679,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e76398012d7c830005ec3858000a00592d..."} 
[2026-10-16 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e76398012d7c830005ec3858000a00592d..."} 
[2026-10-16 09:42:02] local.INFO: Processing buffer {"connection_id":216679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e76398012d7c830005ec3858000a00592d..."} 
[2026-10-16 09:42:02] local.INFO: Packet analysis {"connection_id":216679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:42:02] local.INFO: Extracted packet for processing {"connection_id":216679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763134720,"raw_latitude":99367000,"longitude_deg":76.313472,"latitude_deg":9.9367,"altitude":10,"angle":89,"satellites":45,"speed":16,"hex_longitude":"2d7c8300","hex_latitude":"05ec3858","is_valid_coordinates":true} 
[2026-10-16 09:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783694336001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145501156842405888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961811440184276992,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792123823000,"timestamp_ms":1792123823000,"timestamp_seconds":1792123823,"priority":1,"record_length":96,"hex_timestamp":"000001a142e76398"} 
[2026-10-16 09:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-16 09:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783694336001,"66":14135,"198":206,"87":13824,"24":16,"16":145501156842405888,"45":8961811440184276992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-10-16 09:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783694336001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:42:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-10-16 09:42:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145501156842405888,"km_value":145501156842405.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961811440184276992,"description":"Unknown IO ID 45"} 
[2026-10-16 09:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783694336001,"power":14135,"unknown_198":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8961811440184276992}} 
[2026-10-16 09:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":216679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:42:02] local.INFO: GPS data processed {"connection_id":216679,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:42:02] local.INFO: Acknowledgment sent {"connection_id":216679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:42:07] local.INFO: TCP Data received {"connection_id":216483,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:42:07] local.INFO: Processing buffer {"connection_id":216483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:42:07] local.INFO: IMEI packet received {"connection_id":216483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":216483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:42:13] local.INFO: TCP Data received {"connection_id":216483,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:42:13] local.INFO: Processing buffer {"connection_id":216483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:42:13] local.INFO: IMEI packet received {"connection_id":216483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":216483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:42:13] local.INFO: TCP Data received {"connection_id":216483,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e55ff8012d196900071fed50003a01112a..."} 
[2026-10-16 09:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e55ff8012d196900071fed50003a01112a..."} 
[2026-10-16 09:42:13] local.INFO: Processing buffer {"connection_id":216483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e55ff8012d196900071fed50003a01112a..."} 
[2026-10-16 09:42:13] local.INFO: Packet analysis {"connection_id":216483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e5"} 
[2026-10-16 09:42:13] local.INFO: Extracted packet for processing {"connection_id":216483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e5"} 
[2026-10-16 09:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783659520001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792123691000,"timestamp_ms":1792123691000,"timestamp_seconds":1792123691,"priority":1,"record_length":96,"hex_timestamp":"000001a142e55ff8"} 
[2026-10-16 09:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:42: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-10-16 09: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 09:42: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-10-16 09: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-10-16 09:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783659520001,"66":12374,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783659520001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:42:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783659520001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":216483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:42:14] local.INFO: GPS data processed {"connection_id":216483,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:42:14] local.INFO: Acknowledgment sent {"connection_id":216483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:42:16] local.INFO: TCP Data received {"connection_id":216680,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:42:16] local.INFO: Processing buffer {"connection_id":216680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:42:16] local.INFO: IMEI packet received {"connection_id":216680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":216680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:42:21] local.INFO: TCP Data received {"connection_id":216681,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:42:21] local.INFO: Processing buffer {"connection_id":216681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:42:21] local.INFO: IMEI packet received {"connection_id":216681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":216681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:42:22] local.INFO: TCP Data received {"connection_id":216680,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:42:22] local.INFO: Processing buffer {"connection_id":216680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:42:22] local.INFO: IMEI packet received {"connection_id":216680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":216680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:42:23] local.INFO: TCP Data received {"connection_id":216680,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:42:23] local.INFO: Processing buffer {"connection_id":216680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:42:23] local.INFO: Packet analysis {"connection_id":216680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:42:23] local.INFO: Extracted packet for processing {"connection_id":216680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:42:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:42:23] 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-10-16 09:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:42:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:42:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":216680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:42:23] local.INFO: GPS data processed {"connection_id":216680,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:42:23] local.INFO: Acknowledgment sent {"connection_id":216680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:42:25] local.INFO: TCP Data received {"connection_id":216681,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:42:25] local.INFO: Processing buffer {"connection_id":216681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:42:25] local.INFO: IMEI packet received {"connection_id":216681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":216681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:42:26] local.INFO: TCP Data received {"connection_id":216681,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:42:26] local.INFO: Processing buffer {"connection_id":216681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:42:26] local.INFO: IMEI packet received {"connection_id":216681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":216681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:42:26] local.INFO: TCP Data received {"connection_id":216681,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e8f5f0012d7d380005ec39f8000900d32b..."} 
[2026-10-16 09:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e8f5f0012d7d380005ec39f8000900d32b..."} 
[2026-10-16 09:42:26] local.INFO: Processing buffer {"connection_id":216681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e8f5f0012d7d380005ec39f8000900d32b..."} 
[2026-10-16 09:42:26] local.INFO: Packet analysis {"connection_id":216681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e8"} 
[2026-10-16 09:42:26] local.INFO: Extracted packet for processing {"connection_id":216681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e8"} 
[2026-10-16 09:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763181056,"raw_latitude":99367416,"longitude_deg":76.3181056,"latitude_deg":9.9367416,"altitude":9,"angle":211,"satellites":43,"speed":11,"hex_longitude":"2d7d3800","hex_latitude":"05ec39f8","is_valid_coordinates":true} 
[2026-10-16 09:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783724800001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145503441765007360,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102616363276288,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] 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-10-16 09:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792123926000,"timestamp_ms":1792123926000,"timestamp_seconds":1792123926,"priority":1,"record_length":96,"hex_timestamp":"000001a142e8f5f0"} 
[2026-10-16 09:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751645933,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3907151873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637168780855662,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":355268699608842240,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-1062842999890247673,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.WARNING: Large IO value detected {"io_id":55,"raw_value":5548660509198306903,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,110,87,24,241,157,16,238,161,45,192,60,8,43,10,66,234,128,61,226,64,1,240,230,227,236,4,113,205,3,148,47,216,42,239,54,2,5,26,124,55],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:42:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576674242243461120,"timestamp_seconds":576674242243461.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783724800001,"66":13580,"110":206,"87":13824,"24":11,"16":145503441765007360,"45":9023102616363276288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783724800001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:42:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:42:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145503441765007360,"km_value":145503441765007.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102616363276288,"description":"Unknown IO ID 45"} 
[2026-10-16 09:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783724800001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9023102616363276288}} 
[2026-10-16 09:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":216681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:42:26] local.INFO: GPS data processed {"connection_id":216681,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:42:26] local.INFO: Acknowledgment sent {"connection_id":216681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:42:35] local.INFO: TCP Data received {"connection_id":216681,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e8fdc0012d7d360005ec37b8000900df2b..."} 
[2026-10-16 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e8fdc0012d7d360005ec37b8000900df2b..."} 
[2026-10-16 09:42:35] local.INFO: Processing buffer {"connection_id":216681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e8fdc0012d7d360005ec37b8000900df2b..."} 
[2026-10-16 09:42:35] local.INFO: Packet analysis {"connection_id":216681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e8"} 
[2026-10-16 09:42:35] local.INFO: Extracted packet for processing {"connection_id":216681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e8"} 
[2026-10-16 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99366840,"longitude_deg":76.3180544,"latitude_deg":9.936684,"altitude":9,"angle":223,"satellites":43,"speed":17,"hex_longitude":"2d7d3600","hex_latitude":"05ec37b8","is_valid_coordinates":true} 
[2026-10-16 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783725056001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145503480419713024,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878874847232,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] 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-10-16 09:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792123928000,"timestamp_ms":1792123928000,"timestamp_seconds":1792123928,"priority":1,"record_length":96,"hex_timestamp":"000001a142e8fdc0"} 
[2026-10-16 09:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751645934,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3907151873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636747874060654,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812233,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":355348963957669888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963672576,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":125,"raw_value":1567259182532395013,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,110,87,24,241,157,16,238,161,242,45,128,59,8,43,10,66,192,60,234,1,240,227,236,4,113,205,3,226,55,184,239,53,2,5,7,125,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:42:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648750527979126784,"timestamp_seconds":648750527979126.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783725056001,"66":13526,"110":206,"87":13824,"24":17,"16":145503480419713024,"45":9022961878874847232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783725056001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:42:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:42:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145503480419713024,"km_value":145503480419713.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878874847232,"description":"Unknown IO ID 45"} 
[2026-10-16 09:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783725056001,"power":13526,"unknown_110":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9022961878874847232}} 
[2026-10-16 09:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":216681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:42:35] local.INFO: GPS data processed {"connection_id":216681,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:42:35] local.INFO: Acknowledgment sent {"connection_id":216681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:42:45] local.INFO: TCP Data received {"connection_id":216483,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e5b200012d196900071fed50003a01112e..."} 
[2026-10-16 09:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e5b200012d196900071fed50003a01112e..."} 
[2026-10-16 09:42:45] local.INFO: Processing buffer {"connection_id":216483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e5b200012d196900071fed50003a01112e..."} 
[2026-10-16 09:42:45] local.INFO: Packet analysis {"connection_id":216483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e5"} 
[2026-10-16 09:42:45] local.INFO: Extracted packet for processing {"connection_id":216483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e5"} 
[2026-10-16 09:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783664896001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792123712000,"timestamp_ms":1792123712000,"timestamp_seconds":1792123712,"priority":1,"record_length":96,"hex_timestamp":"000001a142e5b200"} 
[2026-10-16 09:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:42:45] 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-10-16 09: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-16 09:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783664896001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783664896001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:42:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783664896001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":216483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:42:45] local.INFO: GPS data processed {"connection_id":216483,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:42:45] local.INFO: Acknowledgment sent {"connection_id":216483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:42:55] local.INFO: TCP Data received {"connection_id":216680,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:42:55] local.INFO: Processing buffer {"connection_id":216680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:42:55] local.INFO: Packet analysis {"connection_id":216680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:42:55] local.INFO: Extracted packet for processing {"connection_id":216680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:42:55] 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-10-16 09:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:42:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:42:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":216680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:42:55] local.INFO: GPS data processed {"connection_id":216680,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:42:55] local.INFO: Acknowledgment sent {"connection_id":216680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:43:07] local.INFO: TCP Data received {"connection_id":219759,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:43:07] local.INFO: Processing buffer {"connection_id":219759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:43:07] local.INFO: IMEI packet received {"connection_id":219759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":219759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:43:13] local.INFO: TCP Data received {"connection_id":219759,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:43:13] local.INFO: Processing buffer {"connection_id":219759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:43:13] local.INFO: IMEI packet received {"connection_id":219759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":219759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:43:13] local.INFO: TCP Data received {"connection_id":219759,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e60408012d196900071fed50003a01112f..."} 
[2026-10-16 09:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e60408012d196900071fed50003a01112f..."} 
[2026-10-16 09:43:13] local.INFO: Processing buffer {"connection_id":219759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e60408012d196900071fed50003a01112f..."} 
[2026-10-16 09:43:13] local.INFO: Packet analysis {"connection_id":219759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:43:13] local.INFO: Extracted packet for processing {"connection_id":219759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783670272001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792123733000,"timestamp_ms":1792123733000,"timestamp_seconds":1792123733,"priority":1,"record_length":96,"hex_timestamp":"000001a142e60408"} 
[2026-10-16 09:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:43: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-10-16 09: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":97,"data_length":795,"current_offset":136} 
[2026-10-16 09:43: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-10-16 09: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-10-16 09:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783670272001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783670272001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:43:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783670272001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":219759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:43:13] local.INFO: GPS data processed {"connection_id":219759,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:43:13] local.INFO: Acknowledgment sent {"connection_id":219759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:43:16] local.INFO: TCP Data received {"connection_id":216484,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:43:16] local.INFO: Processing buffer {"connection_id":216484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:43:16] local.INFO: IMEI packet received {"connection_id":216484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":216484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:43:19] local.INFO: TCP Data received {"connection_id":216682,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:43:19] local.INFO: Processing buffer {"connection_id":216682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:43:19] local.INFO: IMEI packet received {"connection_id":216682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":216682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:43:21] local.INFO: TCP Data received {"connection_id":219760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:43:21] local.INFO: Processing buffer {"connection_id":219760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:43:21] local.INFO: IMEI packet received {"connection_id":219760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":219760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:43:21] local.INFO: TCP Data received {"connection_id":219760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:43:21] local.INFO: Processing buffer {"connection_id":219760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:43:21] local.INFO: IMEI packet received {"connection_id":219760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":219760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:43:22] local.INFO: TCP Data received {"connection_id":219760,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-16 09:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219760,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-16 09:43:22] local.INFO: Processing buffer {"connection_id":219760,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-10-16 09:43:22] local.INFO: IMEI packet received {"connection_id":219760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":219760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:43:22] local.INFO: TCP Data received {"connection_id":216484,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:43:22] local.INFO: Processing buffer {"connection_id":216484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:43:22] local.INFO: IMEI packet received {"connection_id":216484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":216484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:43:23] local.INFO: TCP Data received {"connection_id":216484,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:43:23] local.INFO: Processing buffer {"connection_id":216484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:43:23] local.INFO: Packet analysis {"connection_id":216484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:43:23] local.INFO: Extracted packet for processing {"connection_id":216484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:43:23] 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-10-16 09:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:43:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:43:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":216484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:43:23] local.INFO: GPS data processed {"connection_id":216484,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:43:23] local.INFO: Acknowledgment sent {"connection_id":216484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:43:47] local.INFO: TCP Data received {"connection_id":219759,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e65610012d196900071fed50003a01112e..."} 
[2026-10-16 09:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e65610012d196900071fed50003a01112e..."} 
[2026-10-16 09:43:47] local.INFO: Processing buffer {"connection_id":219759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e65610012d196900071fed50003a01112e..."} 
[2026-10-16 09:43:47] local.INFO: Packet analysis {"connection_id":219759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:43:47] local.INFO: Extracted packet for processing {"connection_id":219759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783675648001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792123754000,"timestamp_ms":1792123754000,"timestamp_seconds":1792123754,"priority":1,"record_length":96,"hex_timestamp":"000001a142e65610"} 
[2026-10-16 09:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:43:47] 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-10-16 09:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:43:47] 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-10-16 09: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-10-16 09:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":219759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":219759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":219759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783675648001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783675648001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:43:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783675648001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":219759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:43:47] local.INFO: GPS data processed {"connection_id":219759,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:43:47] local.INFO: Acknowledgment sent {"connection_id":219759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:43:55] local.INFO: TCP Data received {"connection_id":216484,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:43:55] local.INFO: Processing buffer {"connection_id":216484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:43:55] local.INFO: Packet analysis {"connection_id":216484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:43:55] local.INFO: Extracted packet for processing {"connection_id":216484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:43:55] 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-10-16 09: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-10-16 09:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:43:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:43:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":216484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:43:55] local.INFO: GPS data processed {"connection_id":216484,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:43:55] local.INFO: Acknowledgment sent {"connection_id":216484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:44:13] local.INFO: TCP Data received {"connection_id":219761,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:44:13] local.INFO: Processing buffer {"connection_id":219761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:44:13] local.INFO: IMEI packet received {"connection_id":219761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":219761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:44:18] local.INFO: TCP Data received {"connection_id":219761,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:44:18] local.INFO: Processing buffer {"connection_id":219761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:44:18] local.INFO: IMEI packet received {"connection_id":219761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":219761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:44:22] local.INFO: TCP Data received {"connection_id":219761,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e6a430012d196900071fed50003a01112e..."} 
[2026-10-16 09:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e6a430012d196900071fed50003a01112e..."} 
[2026-10-16 09:44:22] local.INFO: Processing buffer {"connection_id":219761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e6a430012d196900071fed50003a01112e..."} 
[2026-10-16 09:44:22] local.INFO: Packet analysis {"connection_id":219761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:44:22] local.INFO: Extracted packet for processing {"connection_id":219761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783681024001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792123774000,"timestamp_ms":1792123774000,"timestamp_seconds":1792123774,"priority":1,"record_length":96,"hex_timestamp":"000001a142e6a430"} 
[2026-10-16 09:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:44:22] 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-10-16 09:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 09:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783681024001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783681024001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:44:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783681024001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":219761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:44:22] local.INFO: GPS data processed {"connection_id":219761,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:44:22] local.INFO: Acknowledgment sent {"connection_id":219761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:44:22] local.INFO: TCP Data received {"connection_id":219762,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:44:22] local.INFO: Processing buffer {"connection_id":219762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:44:22] local.INFO: IMEI packet received {"connection_id":219762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":219762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:44:23] local.INFO: TCP Data received {"connection_id":219761,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142e6f638012d196900071fed50003a01112d..."} 
[2026-10-16 09:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e6f638012d196900071fed50003a01112d..."} 
[2026-10-16 09:44:23] local.INFO: Processing buffer {"connection_id":219761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e6f638012d196900071fed50003a01112d..."} 
[2026-10-16 09:44:23] local.INFO: Packet analysis {"connection_id":219761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:44:23] local.INFO: Extracted packet for processing {"connection_id":219761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e6"} 
[2026-10-16 09:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783686144001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123795000,"timestamp_ms":1792123795000,"timestamp_seconds":1792123795,"priority":1,"record_length":96,"hex_timestamp":"000001a142e6f638"} 
[2026-10-16 09:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:44:23] 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-10-16 09: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 09:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783686144001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783686144001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:44:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783686144001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":219761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:44:23] local.INFO: GPS data processed {"connection_id":219761,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:44:23] local.INFO: Acknowledgment sent {"connection_id":219761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:44:27] local.INFO: TCP Data received {"connection_id":219762,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:44:27] local.INFO: Processing buffer {"connection_id":219762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:44:27] local.INFO: IMEI packet received {"connection_id":219762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":219762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:44:29] local.INFO: TCP Data received {"connection_id":219762,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:44:29] local.INFO: Processing buffer {"connection_id":219762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:44:29] local.INFO: Packet analysis {"connection_id":219762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:44:29] local.INFO: Extracted packet for processing {"connection_id":219762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:44:29] 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-10-16 09: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-10-16 09:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:44:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:44:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":219762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:44:29] local.INFO: GPS data processed {"connection_id":219762,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:44:29] local.INFO: Acknowledgment sent {"connection_id":219762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:44:32] local.INFO: TCP Data received {"connection_id":219762,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:44:32] local.INFO: Processing buffer {"connection_id":219762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:44:32] local.INFO: Packet analysis {"connection_id":219762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:44:32] local.INFO: Extracted packet for processing {"connection_id":219762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:44:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":219762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:44:32] local.INFO: GPS data processed {"connection_id":219762,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:44:32] local.INFO: Acknowledgment sent {"connection_id":219762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:45:07] local.INFO: TCP Data received {"connection_id":216684,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:45:07] local.INFO: Processing buffer {"connection_id":216684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:45:07] local.INFO: IMEI packet received {"connection_id":216684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":216684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:45:07] local.INFO: TCP Data received {"connection_id":216684,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:45:07] local.INFO: Processing buffer {"connection_id":216684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:45:07] local.INFO: IMEI packet received {"connection_id":216684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":216684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:45:13] local.INFO: TCP Data received {"connection_id":216684,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:45:13] local.INFO: Processing buffer {"connection_id":216684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:45:13] local.INFO: IMEI packet received {"connection_id":216684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":216684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:45:13] local.INFO: TCP Data received {"connection_id":216684,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ea8078012d196900071fed50003a01112b..."} 
[2026-10-16 09:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ea8078012d196900071fed50003a01112b..."} 
[2026-10-16 09:45:13] local.INFO: Processing buffer {"connection_id":216684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ea8078012d196900071fed50003a01112b..."} 
[2026-10-16 09:45:13] local.INFO: Packet analysis {"connection_id":216684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:45:13] local.INFO: Extracted packet for processing {"connection_id":216684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:45:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783745536001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792124027000,"timestamp_ms":1792124027000,"timestamp_seconds":1792124027,"priority":1,"record_length":96,"hex_timestamp":"000001a142ea8078"} 
[2026-10-16 09:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:45: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-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:45: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-10-16 09: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-10-16 09:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783745536001,"66":12374,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783745536001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:45:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783745536001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":216684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:45:14] local.INFO: GPS data processed {"connection_id":216684,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:45:14] local.INFO: Acknowledgment sent {"connection_id":216684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:45:16] local.INFO: TCP Data received {"connection_id":216685,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:45:16] local.INFO: Processing buffer {"connection_id":216685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:45:16] local.INFO: IMEI packet received {"connection_id":216685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":216685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:45:22] local.INFO: TCP Data received {"connection_id":216685,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:45:22] local.INFO: Processing buffer {"connection_id":216685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:45:22] local.INFO: IMEI packet received {"connection_id":216685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":216685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:45:23] local.INFO: TCP Data received {"connection_id":216685,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:45:23] local.INFO: Processing buffer {"connection_id":216685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:45:23] local.INFO: Packet analysis {"connection_id":216685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:45:23] local.INFO: Extracted packet for processing {"connection_id":216685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:45:23] 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-10-16 09: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-10-16 09:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:45:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:45:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":216685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:45:23] local.INFO: GPS data processed {"connection_id":216685,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:45:23] local.INFO: Acknowledgment sent {"connection_id":216685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:45:45] local.INFO: TCP Data received {"connection_id":216684,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ead280012d196900071fed50003a01112c..."} 
[2026-10-16 09:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ead280012d196900071fed50003a01112c..."} 
[2026-10-16 09:45:45] local.INFO: Processing buffer {"connection_id":216684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ead280012d196900071fed50003a01112c..."} 
[2026-10-16 09:45:45] local.INFO: Packet analysis {"connection_id":216684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:45:45] local.INFO: Extracted packet for processing {"connection_id":216684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783750912001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792124048000,"timestamp_ms":1792124048000,"timestamp_seconds":1792124048,"priority":1,"record_length":96,"hex_timestamp":"000001a142ead280"} 
[2026-10-16 09:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:45: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-10-16 09: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-16 09:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783750912001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783750912001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:45:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783750912001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":216684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:45:45] local.INFO: GPS data processed {"connection_id":216684,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:45:45] local.INFO: Acknowledgment sent {"connection_id":216684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:45:55] local.INFO: TCP Data received {"connection_id":216685,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:45:55] local.INFO: Processing buffer {"connection_id":216685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e7a600012d7fa40005afce580009000a2e..."} 
[2026-10-16 09:45:55] local.INFO: Packet analysis {"connection_id":216685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:45:55] local.INFO: Extracted packet for processing {"connection_id":216685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e7"} 
[2026-10-16 09:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783625984001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792123840000,"timestamp_ms":1792123840000,"timestamp_seconds":1792123840,"priority":1,"record_length":96,"hex_timestamp":"000001a142e7a600"} 
[2026-10-16 09:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:45:55] 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-10-16 09:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783625984001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783625984001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:45:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:45:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783625984001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":216685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:45:55] local.INFO: GPS data processed {"connection_id":216685,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:45:55] local.INFO: Acknowledgment sent {"connection_id":216685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:46:07] local.INFO: TCP Data received {"connection_id":218027,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:46:07] local.INFO: Processing buffer {"connection_id":218027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:46:07] local.INFO: IMEI packet received {"connection_id":218027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":218027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:46:10] local.INFO: TCP Data received {"connection_id":218027,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:46:10] local.INFO: Processing buffer {"connection_id":218027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:46:10] local.INFO: IMEI packet received {"connection_id":218027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":218027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:46:11] local.INFO: TCP Data received {"connection_id":218027,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142eb20a0012d196900071fed50003a01112c..."} 
[2026-10-16 09:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142eb20a0012d196900071fed50003a01112c..."} 
[2026-10-16 09:46:11] local.INFO: Processing buffer {"connection_id":218027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142eb20a0012d196900071fed50003a01112c..."} 
[2026-10-16 09:46:11] local.INFO: Packet analysis {"connection_id":218027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142eb"} 
[2026-10-16 09:46:11] local.INFO: Extracted packet for processing {"connection_id":218027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142eb"} 
[2026-10-16 09:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783756288001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792124068000,"timestamp_ms":1792124068000,"timestamp_seconds":1792124068,"priority":1,"record_length":96,"hex_timestamp":"000001a142eb20a0"} 
[2026-10-16 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-10-16 09:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:46: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-10-16 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-10-16 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-10-16 09:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":218027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":218027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":218027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783756288001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783756288001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:46:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783756288001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":218027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:46:11] local.INFO: GPS data processed {"connection_id":218027,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:46:11] local.INFO: Acknowledgment sent {"connection_id":218027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:46:16] local.INFO: TCP Data received {"connection_id":218028,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:46:16] local.INFO: Processing buffer {"connection_id":218028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:46:16] local.INFO: IMEI packet received {"connection_id":218028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":218028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:46:20] local.INFO: TCP Data received {"connection_id":218028,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:46:20] local.INFO: Processing buffer {"connection_id":218028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:46:20] local.INFO: IMEI packet received {"connection_id":218028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":218028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:46:21] local.INFO: TCP Data received {"connection_id":218028,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:46:21] local.INFO: Processing buffer {"connection_id":218028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:46:21] local.INFO: IMEI packet received {"connection_id":218028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":218028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:46:22] local.INFO: TCP Data received {"connection_id":218028,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:46:22] local.INFO: Processing buffer {"connection_id":218028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:46:22] local.INFO: Packet analysis {"connection_id":218028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:46:22] local.INFO: Extracted packet for processing {"connection_id":218028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:46:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 09:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:46:22] 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-10-16 09:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:46:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:46:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":218028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:46:22] local.INFO: GPS data processed {"connection_id":218028,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:46:22] local.INFO: Acknowledgment sent {"connection_id":218028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:46:27] local.INFO: TCP Data received {"connection_id":218028,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:46:27] local.INFO: Processing buffer {"connection_id":218028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:46:27] local.INFO: Packet analysis {"connection_id":218028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:46:27] local.INFO: Extracted packet for processing {"connection_id":218028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 09:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:46:27] 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-10-16 09:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:46:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:46:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":218028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:46:27] local.INFO: GPS data processed {"connection_id":218028,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:46:27] local.INFO: Acknowledgment sent {"connection_id":218028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:46:42] local.INFO: TCP Data received {"connection_id":218027,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142eb72a8012d196900071fed50003a01112e..."} 
[2026-10-16 09:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142eb72a8012d196900071fed50003a01112e..."} 
[2026-10-16 09:46:42] local.INFO: Processing buffer {"connection_id":218027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142eb72a8012d196900071fed50003a01112e..."} 
[2026-10-16 09:46:42] local.INFO: Packet analysis {"connection_id":218027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142eb"} 
[2026-10-16 09:46:42] local.INFO: Extracted packet for processing {"connection_id":218027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142eb"} 
[2026-10-16 09:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783761408001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792124089000,"timestamp_ms":1792124089000,"timestamp_seconds":1792124089,"priority":1,"record_length":96,"hex_timestamp":"000001a142eb72a8"} 
[2026-10-16 09:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:46:42] 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-10-16 09:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 09:46: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-10-16 09:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":218027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":218027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":218027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783761408001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783761408001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:46:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783761408001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":218027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:46:42] local.INFO: GPS data processed {"connection_id":218027,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:46:42] local.INFO: Acknowledgment sent {"connection_id":218027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:46:59] local.INFO: TCP Data received {"connection_id":218028,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:46:59] local.INFO: Processing buffer {"connection_id":218028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:46:59] local.INFO: Packet analysis {"connection_id":218028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:46:59] local.INFO: Extracted packet for processing {"connection_id":218028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:46: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-10-16 09:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 09:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:46:59] 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-10-16 09:46: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-10-16 09:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:46:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:46:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":218028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:46:59] local.INFO: GPS data processed {"connection_id":218028,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:46:59] local.INFO: Acknowledgment sent {"connection_id":218028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:47:07] local.INFO: TCP Data received {"connection_id":219765,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:47:07] local.INFO: Processing buffer {"connection_id":219765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:47:07] local.INFO: IMEI packet received {"connection_id":219765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":219765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:47:13] local.INFO: TCP Data received {"connection_id":219765,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:47:13] local.INFO: Processing buffer {"connection_id":219765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:47:13] local.INFO: IMEI packet received {"connection_id":219765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":219765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:47:16] local.INFO: TCP Data received {"connection_id":218030,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:47:16] local.INFO: Processing buffer {"connection_id":218030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:47:16] local.INFO: IMEI packet received {"connection_id":218030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":218030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:47:22] local.INFO: TCP Data received {"connection_id":218030,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:47:22] local.INFO: Processing buffer {"connection_id":218030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:47:22] local.INFO: IMEI packet received {"connection_id":218030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":218030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:47:23] local.INFO: TCP Data received {"connection_id":219765,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ebc4b0012d196900071fed50003a01112d..."} 
[2026-10-16 09:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ebc4b0012d196900071fed50003a01112d..."} 
[2026-10-16 09:47:23] local.INFO: Processing buffer {"connection_id":219765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ebc4b0012d196900071fed50003a01112d..."} 
[2026-10-16 09:47:23] local.INFO: Packet analysis {"connection_id":219765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142eb"} 
[2026-10-16 09:47:23] local.INFO: Extracted packet for processing {"connection_id":219765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142eb"} 
[2026-10-16 09:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783766784001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792124110000,"timestamp_ms":1792124110000,"timestamp_seconds":1792124110,"priority":1,"record_length":96,"hex_timestamp":"000001a142ebc4b0"} 
[2026-10-16 09:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:47:23] 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-10-16 09:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783766784001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783766784001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:47:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783766784001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":219765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:47:23] local.INFO: GPS data processed {"connection_id":219765,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:47:23] local.INFO: Acknowledgment sent {"connection_id":219765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:47:23] local.INFO: TCP Data received {"connection_id":218030,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:47:23] local.INFO: Processing buffer {"connection_id":218030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:47:23] local.INFO: Packet analysis {"connection_id":218030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:47:23] local.INFO: Extracted packet for processing {"connection_id":218030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 09:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:47:23] 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-10-16 09:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:47:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:47:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":218030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:47:23] local.INFO: GPS data processed {"connection_id":218030,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:47:23] local.INFO: Acknowledgment sent {"connection_id":218030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:47:55] local.INFO: TCP Data received {"connection_id":218030,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:47:55] local.INFO: Processing buffer {"connection_id":218030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:47:55] local.INFO: Packet analysis {"connection_id":218030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:47:55] local.INFO: Extracted packet for processing {"connection_id":218030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 09:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:47:55] 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-10-16 09:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:47:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:47:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":218030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:47:55] local.INFO: GPS data processed {"connection_id":218030,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:47:55] local.INFO: Acknowledgment sent {"connection_id":218030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:48:07] local.INFO: TCP Data received {"connection_id":218031,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:48:07] local.INFO: Processing buffer {"connection_id":218031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:48:07] local.INFO: IMEI packet received {"connection_id":218031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":218031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:48:13] local.INFO: TCP Data received {"connection_id":218031,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:48:13] local.INFO: Processing buffer {"connection_id":218031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:48:13] local.INFO: IMEI packet received {"connection_id":218031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":218031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:48:13] local.INFO: TCP Data received {"connection_id":218031,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec16b8012d196900071fed50003a011129..."} 
[2026-10-16 09:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec16b8012d196900071fed50003a011129..."} 
[2026-10-16 09:48:13] local.INFO: Processing buffer {"connection_id":218031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec16b8012d196900071fed50003a011129..."} 
[2026-10-16 09:48:13] local.INFO: Packet analysis {"connection_id":218031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:48:13] local.INFO: Extracted packet for processing {"connection_id":218031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783772160001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792124131000,"timestamp_ms":1792124131000,"timestamp_seconds":1792124131,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec16b8"} 
[2026-10-16 09:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:48:13] 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-10-16 09: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":97,"data_length":795,"current_offset":136} 
[2026-10-16 09:48: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-10-16 09: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-10-16 09:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783772160001,"66":11743,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783772160001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:48:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783772160001,"power":11743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":218031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:48:14] local.INFO: GPS data processed {"connection_id":218031,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:48:14] local.INFO: Acknowledgment sent {"connection_id":218031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:48:16] local.INFO: TCP Data received {"connection_id":219766,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:48:16] local.INFO: Processing buffer {"connection_id":219766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:48:16] local.INFO: IMEI packet received {"connection_id":219766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":219766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:48:22] local.INFO: TCP Data received {"connection_id":219766,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:48:22] local.INFO: Processing buffer {"connection_id":219766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:48:22] local.INFO: IMEI packet received {"connection_id":219766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":219766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:48:24] local.INFO: TCP Data received {"connection_id":219766,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:48:24] local.INFO: Processing buffer {"connection_id":219766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:48:24] local.INFO: Packet analysis {"connection_id":219766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:48:24] local.INFO: Extracted packet for processing {"connection_id":219766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:48:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 09:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:48:24] 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-10-16 09:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:48:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:48:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":219766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:48:24] local.INFO: GPS data processed {"connection_id":219766,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:48:24] local.INFO: Acknowledgment sent {"connection_id":219766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:48:26] local.INFO: TCP Data received {"connection_id":216688,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:48:26] local.INFO: Processing buffer {"connection_id":216688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:48:26] local.INFO: IMEI packet received {"connection_id":216688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":216688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:48:27] local.INFO: TCP Data received {"connection_id":216688,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e9c110012d7d370005ec1960000300ae25..."} 
[2026-10-16 09:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e9c110012d7d370005ec1960000300ae25..."} 
[2026-10-16 09:48:27] local.INFO: Processing buffer {"connection_id":216688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e9c110012d7d370005ec1960000300ae25..."} 
[2026-10-16 09:48:27] local.INFO: Packet analysis {"connection_id":216688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:48:27] local.INFO: Extracted packet for processing {"connection_id":216688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99359072,"longitude_deg":76.31808,"latitude_deg":9.9359072,"altitude":3,"angle":174,"satellites":37,"speed":11,"hex_longitude":"2d7d3700","hex_latitude":"05ec1960","is_valid_coordinates":true} 
[2026-10-16 09:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783737600001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145503918506377216,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403896217600,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:27] 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-10-16 09:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792123978000,"timestamp_ms":1792123978000,"timestamp_seconds":1792123978,"priority":1,"record_length":96,"hex_timestamp":"000001a142e9c110"} 
[2026-10-16 09:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 09:48:27] 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-10-16 09:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783737600001,"66":13820,"110":206,"87":13824,"24":11,"16":145503918506377216,"45":9022680403896217600},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783737600001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:48:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:48:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145503918506377216,"km_value":145503918506377.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403896217600,"description":"Unknown IO ID 45"} 
[2026-10-16 09:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783737600001,"power":13820,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9022680403896217600}} 
[2026-10-16 09:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":216688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:48:27] local.INFO: GPS data processed {"connection_id":216688,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:48:27] local.INFO: Acknowledgment sent {"connection_id":216688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:48:41] local.INFO: TCP Data received {"connection_id":216687,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:48:41] local.INFO: Processing buffer {"connection_id":216687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:48:41] local.INFO: IMEI packet received {"connection_id":216687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":216687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:48:45] local.INFO: TCP Data received {"connection_id":218031,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec68c0012d196900071fed50003a01112d..."} 
[2026-10-16 09:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec68c0012d196900071fed50003a01112d..."} 
[2026-10-16 09:48:45] local.INFO: Processing buffer {"connection_id":218031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec68c0012d196900071fed50003a01112d..."} 
[2026-10-16 09:48:45] local.INFO: Packet analysis {"connection_id":218031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:48:45] local.INFO: Extracted packet for processing {"connection_id":218031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783777536001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792124152000,"timestamp_ms":1792124152000,"timestamp_seconds":1792124152,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec68c0"} 
[2026-10-16 09:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:48: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-10-16 09:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 09:48:45] 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-10-16 09:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783777536001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783777536001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:48:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783777536001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":218031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:48:45] local.INFO: GPS data processed {"connection_id":218031,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:48:45] local.INFO: Acknowledgment sent {"connection_id":218031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:48:49] local.INFO: TCP Data received {"connection_id":218032,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:48:49] local.INFO: Processing buffer {"connection_id":218032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:48:49] local.INFO: IMEI packet received {"connection_id":218032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":218032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:48:56] local.INFO: TCP Data received {"connection_id":219766,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:48:56] local.INFO: Processing buffer {"connection_id":219766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:48:56] local.INFO: Packet analysis {"connection_id":219766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:48:56] local.INFO: Extracted packet for processing {"connection_id":219766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 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-10-16 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:48:56] 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-10-16 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-10-16 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-10-16 09:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:48:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:48:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":219766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:48:56] local.INFO: GPS data processed {"connection_id":219766,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:48:56] local.INFO: Acknowledgment sent {"connection_id":219766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:49:01] local.INFO: TCP Data received {"connection_id":216688,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e9d880012d7d374005ec13b00003009d25..."} 
[2026-10-16 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e9d880012d7d374005ec13b00003009d25..."} 
[2026-10-16 09:49:01] local.INFO: Processing buffer {"connection_id":216688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e9d880012d7d374005ec13b00003009d25..."} 
[2026-10-16 09:49:01] local.INFO: Packet analysis {"connection_id":216688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:49:01] local.INFO: Extracted packet for processing {"connection_id":216688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":99357616,"longitude_deg":76.3180864,"latitude_deg":9.9357616,"altitude":3,"angle":157,"satellites":37,"speed":3,"hex_longitude":"2d7d3740","hex_latitude":"05ec13b0","is_valid_coordinates":true} 
[2026-10-16 09:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783738368001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145503987225853952,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403896000512,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792123984000,"timestamp_ms":1792123984000,"timestamp_seconds":1792123984,"priority":1,"record_length":96,"hex_timestamp":"000001a142e9d880"} 
[2026-10-16 09:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 09:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783738368001,"66":14048,"110":206,"87":13824,"24":3,"16":145503987225853952,"45":9022680403896000512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783738368001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:49:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:49:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145503987225853952,"km_value":145503987225853.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403896000512,"description":"Unknown IO ID 45"} 
[2026-10-16 09:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783738368001,"power":14048,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9022680403896000512}} 
[2026-10-16 09:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":216688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:49:01] local.INFO: GPS data processed {"connection_id":216688,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:49:01] local.INFO: Acknowledgment sent {"connection_id":216688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:49:07] local.INFO: TCP Data received {"connection_id":218033,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:49:07] local.INFO: Processing buffer {"connection_id":218033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:49:07] local.INFO: IMEI packet received {"connection_id":218033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":218033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:49:13] local.INFO: TCP Data received {"connection_id":218033,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:49:13] local.INFO: Processing buffer {"connection_id":218033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:49:13] local.INFO: IMEI packet received {"connection_id":218033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":218033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:49:13] local.INFO: TCP Data received {"connection_id":218033,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ecbac8012d196900071fed50003a01112e..."} 
[2026-10-16 09:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ecbac8012d196900071fed50003a01112e..."} 
[2026-10-16 09:49:13] local.INFO: Processing buffer {"connection_id":218033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ecbac8012d196900071fed50003a01112e..."} 
[2026-10-16 09:49:13] local.INFO: Packet analysis {"connection_id":218033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:49:13] local.INFO: Extracted packet for processing {"connection_id":218033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783782912001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792124173000,"timestamp_ms":1792124173000,"timestamp_seconds":1792124173,"priority":1,"record_length":96,"hex_timestamp":"000001a142ecbac8"} 
[2026-10-16 09:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:49: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-10-16 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 09:49: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-10-16 09: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-10-16 09:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783782912001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783782912001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:49:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783782912001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":218033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:49:13] local.INFO: GPS data processed {"connection_id":218033,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:49:13] local.INFO: Acknowledgment sent {"connection_id":218033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:49:16] local.INFO: TCP Data received {"connection_id":216487,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:49:16] local.INFO: Processing buffer {"connection_id":216487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:49:16] local.INFO: IMEI packet received {"connection_id":216487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":216487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:49:21] local.INFO: TCP Data received {"connection_id":216487,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:49:21] local.INFO: Processing buffer {"connection_id":216487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:49:21] local.INFO: IMEI packet received {"connection_id":216487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:49:22] local.INFO: TCP Data received {"connection_id":216487,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:49:22] local.INFO: Processing buffer {"connection_id":216487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:49:22] local.INFO: Packet analysis {"connection_id":216487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:49:22] local.INFO: Extracted packet for processing {"connection_id":216487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:49:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 09:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:49:22] 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-10-16 09: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-10-16 09:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:49:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:49:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":216487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:49:22] local.INFO: GPS data processed {"connection_id":216487,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:49:22] local.INFO: Acknowledgment sent {"connection_id":216487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:49:26] local.INFO: TCP Data received {"connection_id":216488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:49:26] local.INFO: Processing buffer {"connection_id":216488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:49:26] local.INFO: IMEI packet received {"connection_id":216488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":216488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:49:31] local.INFO: TCP Data received {"connection_id":216488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:49:31] local.INFO: Processing buffer {"connection_id":216488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:49:31] local.INFO: IMEI packet received {"connection_id":216488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":216488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:49:32] local.INFO: TCP Data received {"connection_id":216488,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e9e438012d7d37c005ec1330000200561f..."} 
[2026-10-16 09:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e9e438012d7d37c005ec1330000200561f..."} 
[2026-10-16 09:49:32] local.INFO: Processing buffer {"connection_id":216488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e9e438012d7d37c005ec1330000200561f..."} 
[2026-10-16 09:49:32] local.INFO: Packet analysis {"connection_id":216488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:49:32] local.INFO: Extracted packet for processing {"connection_id":216488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":99357488,"longitude_deg":76.3180992,"latitude_deg":9.9357488,"altitude":2,"angle":86,"satellites":31,"speed":0,"hex_longitude":"2d7d37c0","hex_latitude":"05ec1330","is_valid_coordinates":true} 
[2026-10-16 09:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783739904001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504000110755840,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772639805440,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792123987000,"timestamp_ms":1792123987000,"timestamp_seconds":1792123987,"priority":1,"record_length":96,"hex_timestamp":"000001a142e9e438"} 
[2026-10-16 09:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 09:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783739904001,"66":13037,"110":206,"87":13824,"24":0,"16":145504000110755840,"45":9022750772639805440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783739904001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:49:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:49:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504000110755840,"km_value":145504000110755.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772639805440,"description":"Unknown IO ID 45"} 
[2026-10-16 09:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783739904001,"power":13037,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022750772639805440}} 
[2026-10-16 09:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":216488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:49:32] local.INFO: GPS data processed {"connection_id":216488,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:49:32] local.INFO: Acknowledgment sent {"connection_id":216488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:49:40] local.INFO: TCP Data received {"connection_id":216488,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e9ec08012d7d38c005ec12f80001003720..."} 
[2026-10-16 09:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e9ec08012d7d38c005ec12f80001003720..."} 
[2026-10-16 09:49:40] local.INFO: Processing buffer {"connection_id":216488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e9ec08012d7d38c005ec12f80001003720..."} 
[2026-10-16 09:49:40] local.INFO: Packet analysis {"connection_id":216488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:49:40] local.INFO: Extracted packet for processing {"connection_id":216488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99357432,"longitude_deg":76.3181248,"latitude_deg":9.9357432,"altitude":1,"angle":55,"satellites":32,"speed":2,"hex_longitude":"2d7d38c0","hex_latitude":"05ec12f8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783740672001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504012995657728,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891510128128000,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:40] 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-10-16 09:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792123989000,"timestamp_ms":1792123989000,"timestamp_seconds":1792123989,"priority":1,"record_length":96,"hex_timestamp":"000001a142e9ec08"} 
[2026-10-16 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-10-16 09:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-10-16 09:49:40] 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-10-16 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-10-16 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-10-16 09:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":216488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":216488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":216488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783740672001,"66":13656,"110":206,"87":13824,"24":2,"16":145504012995657728,"45":9022891510128128000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783740672001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:49:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:49:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504012995657728,"km_value":145504012995657.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891510128128000,"description":"Unknown IO ID 45"} 
[2026-10-16 09:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783740672001,"power":13656,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022891510128128000}} 
[2026-10-16 09:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":216488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:49:40] local.INFO: GPS data processed {"connection_id":216488,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:49:40] local.INFO: Acknowledgment sent {"connection_id":216488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:49:44] local.INFO: TCP Data received {"connection_id":218033,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ed0cd0012d196900071fed50003a01112d..."} 
[2026-10-16 09:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ed0cd0012d196900071fed50003a01112d..."} 
[2026-10-16 09:49:44] local.INFO: Processing buffer {"connection_id":218033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ed0cd0012d196900071fed50003a01112d..."} 
[2026-10-16 09:49:44] local.INFO: Packet analysis {"connection_id":218033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ed"} 
[2026-10-16 09:49:44] local.INFO: Extracted packet for processing {"connection_id":218033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ed"} 
[2026-10-16 09:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783788288001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792124194000,"timestamp_ms":1792124194000,"timestamp_seconds":1792124194,"priority":1,"record_length":96,"hex_timestamp":"000001a142ed0cd0"} 
[2026-10-16 09:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:49: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-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:49: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-10-16 09: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-10-16 09:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783788288001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783788288001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:49:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783788288001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":218033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:49:45] local.INFO: GPS data processed {"connection_id":218033,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:49:45] local.INFO: Acknowledgment sent {"connection_id":218033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:49:54] local.INFO: TCP Data received {"connection_id":216487,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:49:54] local.INFO: Processing buffer {"connection_id":216487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:49:54] local.INFO: Packet analysis {"connection_id":216487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:49:54] local.INFO: Extracted packet for processing {"connection_id":216487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 09:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:49:54] 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-10-16 09: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-10-16 09:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:49:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:49:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":216487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:49:54] local.INFO: GPS data processed {"connection_id":216487,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:49:54] local.INFO: Acknowledgment sent {"connection_id":216487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:50:07] local.INFO: TCP Data received {"connection_id":219768,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:50:07] local.INFO: Processing buffer {"connection_id":219768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:50:07] local.INFO: IMEI packet received {"connection_id":219768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":219768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:50:13] local.INFO: TCP Data received {"connection_id":219768,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:50:13] local.INFO: Processing buffer {"connection_id":219768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:50:13] local.INFO: IMEI packet received {"connection_id":219768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":219768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:50:16] local.INFO: TCP Data received {"connection_id":219768,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ed62c0012d196900071fed50003a01112e..."} 
[2026-10-16 09:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ed62c0012d196900071fed50003a01112e..."} 
[2026-10-16 09:50:16] local.INFO: Processing buffer {"connection_id":219768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ed62c0012d196900071fed50003a01112e..."} 
[2026-10-16 09:50:16] local.INFO: Packet analysis {"connection_id":219768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ed"} 
[2026-10-16 09:50:16] local.INFO: Extracted packet for processing {"connection_id":219768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ed"} 
[2026-10-16 09:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783793664001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792124216000,"timestamp_ms":1792124216000,"timestamp_seconds":1792124216,"priority":1,"record_length":96,"hex_timestamp":"000001a142ed62c0"} 
[2026-10-16 09:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:50:16] 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-10-16 09:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:50:16] 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-10-16 09:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":219768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":219768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":219768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783793664001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783793664001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:50:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:50:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783793664001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":219768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:50:16] local.INFO: GPS data processed {"connection_id":219768,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:50:16] local.INFO: Acknowledgment sent {"connection_id":219768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:50:21] local.INFO: TCP Data received {"connection_id":218035,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:50:21] local.INFO: Processing buffer {"connection_id":218035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:50:21] local.INFO: IMEI packet received {"connection_id":218035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":218035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:50:22] local.INFO: TCP Data received {"connection_id":218034,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:50:22] local.INFO: Processing buffer {"connection_id":218034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:50:22] local.INFO: IMEI packet received {"connection_id":218034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":218034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:50:26] local.INFO: TCP Data received {"connection_id":218035,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:50:26] local.INFO: Processing buffer {"connection_id":218035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:50:26] local.INFO: IMEI packet received {"connection_id":218035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":218035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:50:27] local.INFO: TCP Data received {"connection_id":218035,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e9eff0012d7d394005ec12e0000100271f..."} 
[2026-10-16 09:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e9eff0012d7d394005ec12e0000100271f..."} 
[2026-10-16 09:50:27] local.INFO: Processing buffer {"connection_id":218035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e9eff0012d7d394005ec12e0000100271f..."} 
[2026-10-16 09:50:27] local.INFO: Packet analysis {"connection_id":218035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:50:27] local.INFO: Extracted packet for processing {"connection_id":218035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":99357408,"longitude_deg":76.3181376,"latitude_deg":9.9357408,"altitude":1,"angle":39,"satellites":31,"speed":1,"hex_longitude":"2d7d3940","hex_latitude":"05ec12e0","is_valid_coordinates":true} 
[2026-10-16 09:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783741184001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504017290625024,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104824320,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:27] 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-10-16 09:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792123990000,"timestamp_ms":1792123990000,"timestamp_seconds":1792123990,"priority":1,"record_length":96,"hex_timestamp":"000001a142e9eff0"} 
[2026-10-16 09:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-16 09:50:27] 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-10-16 09:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783741184001,"66":13656,"110":206,"87":13824,"24":1,"16":145504017290625024,"45":9023172985104824320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783741184001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:50:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:50:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504017290625024,"km_value":145504017290625.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104824320,"description":"Unknown IO ID 45"} 
[2026-10-16 09:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783741184001,"power":13656,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9023172985104824320}} 
[2026-10-16 09:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":218035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:50:27] local.INFO: GPS data processed {"connection_id":218035,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:50:27] local.INFO: Acknowledgment sent {"connection_id":218035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:50:27] local.INFO: TCP Data received {"connection_id":218034,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:50:27] local.INFO: Processing buffer {"connection_id":218034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:50:27] local.INFO: IMEI packet received {"connection_id":218034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":218034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:50:29] local.INFO: TCP Data received {"connection_id":218034,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:50:29] local.INFO: Processing buffer {"connection_id":218034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:50:29] local.INFO: Packet analysis {"connection_id":218034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:50:29] local.INFO: Extracted packet for processing {"connection_id":218034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 09:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:50:29] 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-10-16 09:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:50:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:50:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":218034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:50:29] local.INFO: GPS data processed {"connection_id":218034,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:50:29] local.INFO: Acknowledgment sent {"connection_id":218034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:50:33] local.INFO: TCP Data received {"connection_id":218034,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:50:33] local.INFO: Processing buffer {"connection_id":218034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ec3dc8012d7fa40005afce580009000a2d..."} 
[2026-10-16 09:50:33] local.INFO: Packet analysis {"connection_id":218034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:50:33] local.INFO: Extracted packet for processing {"connection_id":218034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ec"} 
[2026-10-16 09:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783703040001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792124141000,"timestamp_ms":1792124141000,"timestamp_seconds":1792124141,"priority":1,"record_length":96,"hex_timestamp":"000001a142ec3dc8"} 
[2026-10-16 09:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":218034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":218034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":218034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783703040001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783703040001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:50:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:50:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783703040001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":218034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:50:33] local.INFO: GPS data processed {"connection_id":218034,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:50:33] local.INFO: Acknowledgment sent {"connection_id":218034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:50:47] local.INFO: TCP Data received {"connection_id":219768,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142edb4c8012d196900071fed50003a01112c..."} 
[2026-10-16 09:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142edb4c8012d196900071fed50003a01112c..."} 
[2026-10-16 09:50:47] local.INFO: Processing buffer {"connection_id":219768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142edb4c8012d196900071fed50003a01112c..."} 
[2026-10-16 09:50:47] local.INFO: Packet analysis {"connection_id":219768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ed"} 
[2026-10-16 09:50:47] local.INFO: Extracted packet for processing {"connection_id":219768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ed"} 
[2026-10-16 09:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783799296001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792124237000,"timestamp_ms":1792124237000,"timestamp_seconds":1792124237,"priority":1,"record_length":96,"hex_timestamp":"000001a142edb4c8"} 
[2026-10-16 09:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:50:47] 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-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:50:47] 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-10-16 09: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-10-16 09:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":219768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":219768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":219768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783799296001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783799296001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:50:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783799296001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":219768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:50:47] local.INFO: GPS data processed {"connection_id":219768,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:50:47] local.INFO: Acknowledgment sent {"connection_id":219768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:50:58] local.INFO: TCP Data received {"connection_id":218035,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e9f3d8012d7d398005ec12c8000000141f..."} 
[2026-10-16 09:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e9f3d8012d7d398005ec12c8000000141f..."} 
[2026-10-16 09:50:58] local.INFO: Processing buffer {"connection_id":218035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e9f3d8012d7d398005ec12c8000000141f..."} 
[2026-10-16 09:50:58] local.INFO: Packet analysis {"connection_id":218035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:50:58] local.INFO: Extracted packet for processing {"connection_id":218035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99357384,"longitude_deg":76.318144,"latitude_deg":9.9357384,"altitude":0,"angle":20,"satellites":31,"speed":1,"hex_longitude":"2d7d3980","hex_latitude":"05ec12c8","is_valid_coordinates":true} 
[2026-10-16 09:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783741440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504021585592320,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722593173504,"note":"Value kept but may cause issues"} 
[2026-10-16 09:50:58] 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-10-16 09:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792123991000,"timestamp_ms":1792123991000,"timestamp_seconds":1792123991,"priority":1,"record_length":96,"hex_timestamp":"000001a142e9f3d8"} 
[2026-10-16 09:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-16 09:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783741440001,"66":14135,"110":206,"87":13824,"24":1,"16":145504021585592320,"45":9023313722593173504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783741440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:50:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:50:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504021585592320,"km_value":145504021585592.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722593173504,"description":"Unknown IO ID 45"} 
[2026-10-16 09:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783741440001,"power":14135,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9023313722593173504}} 
[2026-10-16 09:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":218035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:50:58] local.INFO: GPS data processed {"connection_id":218035,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:50:58] local.INFO: Acknowledgment sent {"connection_id":218035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:51:13] local.INFO: TCP Data received {"connection_id":216689,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:51:13] local.INFO: Processing buffer {"connection_id":216689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:51:13] local.INFO: IMEI packet received {"connection_id":216689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":216689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:51:17] local.INFO: TCP Data received {"connection_id":216690,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:51:17] local.INFO: Processing buffer {"connection_id":216690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:51:17] local.INFO: IMEI packet received {"connection_id":216690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":216690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:51:18] local.INFO: TCP Data received {"connection_id":216689,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:51:18] local.INFO: Processing buffer {"connection_id":216689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:51:18] local.INFO: IMEI packet received {"connection_id":216689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":216689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:51:18] local.INFO: TCP Data received {"connection_id":216689,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ee06d0012d196900071fed50003a01112d..."} 
[2026-10-16 09:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ee06d0012d196900071fed50003a01112d..."} 
[2026-10-16 09:51:18] local.INFO: Processing buffer {"connection_id":216689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ee06d0012d196900071fed50003a01112d..."} 
[2026-10-16 09:51:18] local.INFO: Packet analysis {"connection_id":216689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ee"} 
[2026-10-16 09:51:18] local.INFO: Extracted packet for processing {"connection_id":216689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ee"} 
[2026-10-16 09:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783804672001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792124258000,"timestamp_ms":1792124258000,"timestamp_seconds":1792124258,"priority":1,"record_length":96,"hex_timestamp":"000001a142ee06d0"} 
[2026-10-16 09:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:51:18] 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-10-16 09:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 09:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783804672001,"66":12406,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783804672001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:51:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783804672001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":216689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:51:18] local.INFO: GPS data processed {"connection_id":216689,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:51:18] local.INFO: Acknowledgment sent {"connection_id":216689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:51:20] local.INFO: TCP Data received {"connection_id":216690,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:51:20] local.INFO: Processing buffer {"connection_id":216690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:51:20] local.INFO: IMEI packet received {"connection_id":216690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":216690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:51:21] local.INFO: TCP Data received {"connection_id":216691,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:51:21] local.INFO: Processing buffer {"connection_id":216691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:51:21] local.INFO: IMEI packet received {"connection_id":216691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":216691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:51:22] local.INFO: TCP Data received {"connection_id":216690,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:51:22] local.INFO: Processing buffer {"connection_id":216690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:51:22] local.INFO: Packet analysis {"connection_id":216690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:51:22] local.INFO: Extracted packet for processing {"connection_id":216690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:51:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:51:22] 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-10-16 09: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-10-16 09:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:51:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:51:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":216690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:51:22] local.INFO: GPS data processed {"connection_id":216690,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:51:22] local.INFO: Acknowledgment sent {"connection_id":216690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:51:23] local.INFO: TCP Data received {"connection_id":216689,"ip":"42.106.6.47","data_length":93,"data_hex":"00000000000000518e01000001a142ee58d8012d196900071fed50003a01112c..."} 
[2026-10-16 09:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216689,"packet_length":93,"packet_hex":"00000000000000518e01000001a142ee58d8012d196900071fed50003a01112c..."} 
[2026-10-16 09:51:23] local.INFO: Processing buffer {"connection_id":216689,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a142ee58d8012d196900071fed50003a01112c..."} 
[2026-10-16 09:51:23] local.INFO: Packet analysis {"connection_id":216689,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a142ee"} 
[2026-10-16 09:51:23] local.INFO: Extracted packet for processing {"connection_id":216689,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a142ee"} 
[2026-10-16 09:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:51: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":93,"current_offset":40} 
[2026-10-16 09:51:23] 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-10-16 09:51:23] 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-10-16 09:51:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:51:23] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 09:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216689,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-10-16 09:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216689,"device_imei":"862567074811360","avl_records_count":0} 
[2026-10-16 09:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216689,"device_imei":"862567074811360","avl_records_count":0} 
[2026-10-16 09:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 09:51:23] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 09:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":216689,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 09:51:23] local.ERROR: GPS data processing failed {"connection_id":216689,"error":"No valid data to process"} 
[2026-10-16 09:51:23] local.INFO: Acknowledgment sent {"connection_id":216689,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 09:51:23] local.INFO: TCP Data received {"connection_id":216690,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:51:23] local.INFO: Processing buffer {"connection_id":216690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:51:23] local.INFO: Packet analysis {"connection_id":216690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:51:23] local.INFO: Extracted packet for processing {"connection_id":216690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:51: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-10-16 09:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:51: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:51:23] 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-10-16 09:51: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-10-16 09:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:51:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:51:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":216690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:51:23] local.INFO: GPS data processed {"connection_id":216690,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:51:23] local.INFO: Acknowledgment sent {"connection_id":216690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:51:26] local.INFO: TCP Data received {"connection_id":216691,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:51:26] local.INFO: Processing buffer {"connection_id":216691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:51:26] local.INFO: IMEI packet received {"connection_id":216691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":216691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:51:27] local.INFO: TCP Data received {"connection_id":216691,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142e9ff90012d7d39c005ec1268000000c31a..."} 
[2026-10-16 09:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142e9ff90012d7d39c005ec1268000000c31a..."} 
[2026-10-16 09:51:27] local.INFO: Processing buffer {"connection_id":216691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142e9ff90012d7d39c005ec1268000000c31a..."} 
[2026-10-16 09:51:27] local.INFO: Packet analysis {"connection_id":216691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:51:27] local.INFO: Extracted packet for processing {"connection_id":216691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142e9"} 
[2026-10-16 09:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99357288,"longitude_deg":76.3181504,"latitude_deg":9.9357288,"altitude":0,"angle":195,"satellites":26,"speed":0,"hex_longitude":"2d7d39c0","hex_latitude":"05ec1268","is_valid_coordinates":true} 
[2026-10-16 09:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783741696001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504030175526912,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337345024,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:27] 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-10-16 09:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792123994000,"timestamp_ms":1792123994000,"timestamp_seconds":1792123994,"priority":1,"record_length":96,"hex_timestamp":"000001a142e9ff90"} 
[2026-10-16 09:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-16 09:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783741696001,"66":13396,"110":206,"87":13824,"24":0,"16":145504030175526912,"45":9023384091337345024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783741696001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:51:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:51:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504030175526912,"km_value":145504030175526.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337345024,"description":"Unknown IO ID 45"} 
[2026-10-16 09:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783741696001,"power":13396,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337345024}} 
[2026-10-16 09:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":216691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:51:27] local.INFO: GPS data processed {"connection_id":216691,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:51:27] local.INFO: Acknowledgment sent {"connection_id":216691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:51:55] local.INFO: TCP Data received {"connection_id":216690,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:51:55] local.INFO: Processing buffer {"connection_id":216690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:51:55] local.INFO: Packet analysis {"connection_id":216690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:51:55] local.INFO: Extracted packet for processing {"connection_id":216690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:51:55] 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-10-16 09:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:51:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:51:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":216690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:51:55] local.INFO: GPS data processed {"connection_id":216690,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:51:55] local.INFO: Acknowledgment sent {"connection_id":216690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:52:00] local.INFO: TCP Data received {"connection_id":216691,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142ea0f30012d7d39c005ec0e58000001021e..."} 
[2026-10-16 09:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ea0f30012d7d39c005ec0e58000001021e..."} 
[2026-10-16 09:52:00] local.INFO: Processing buffer {"connection_id":216691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ea0f30012d7d39c005ec0e58000001021e..."} 
[2026-10-16 09:52:00] local.INFO: Packet analysis {"connection_id":216691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:52:00] local.INFO: Extracted packet for processing {"connection_id":216691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99356248,"longitude_deg":76.3181504,"latitude_deg":9.9356248,"altitude":0,"angle":258,"satellites":30,"speed":2,"hex_longitude":"2d7d39c0","hex_latitude":"05ec0e58","is_valid_coordinates":true} 
[2026-10-16 09:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783742464001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460081498112,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792123998000,"timestamp_ms":1792123998000,"timestamp_seconds":1792123998,"priority":1,"record_length":96,"hex_timestamp":"000001a142ea0f30"} 
[2026-10-16 09:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 09:52:00] 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-10-16 09:52: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-10-16 09:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783742464001,"66":14298,"110":206,"87":13824,"24":2,"16":145504081715134464,"45":9023454460081498112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783742464001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:52:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:52:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460081498112,"description":"Unknown IO ID 45"} 
[2026-10-16 09:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783742464001,"power":14298,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9023454460081498112}} 
[2026-10-16 09:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":216691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:52:00] local.INFO: GPS data processed {"connection_id":216691,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:52:00] local.INFO: Acknowledgment sent {"connection_id":216691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:52:07] local.INFO: TCP Data received {"connection_id":218036,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:52:07] local.INFO: Processing buffer {"connection_id":218036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:52:07] local.INFO: IMEI packet received {"connection_id":218036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":218036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:52:07] local.INFO: TCP Data received {"connection_id":218036,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:52:07] local.INFO: Processing buffer {"connection_id":218036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:52:07] local.INFO: IMEI packet received {"connection_id":218036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":218036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:52:13] local.INFO: TCP Data received {"connection_id":218036,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:52:13] local.INFO: Processing buffer {"connection_id":218036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:52:13] local.INFO: IMEI packet received {"connection_id":218036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":218036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:52:13] local.INFO: TCP Data received {"connection_id":218036,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142eeaae0012d196900071fed50003a01112b..."} 
[2026-10-16 09:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142eeaae0012d196900071fed50003a01112b..."} 
[2026-10-16 09:52:13] local.INFO: Processing buffer {"connection_id":218036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142eeaae0012d196900071fed50003a01112b..."} 
[2026-10-16 09:52:13] local.INFO: Packet analysis {"connection_id":218036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ee"} 
[2026-10-16 09:52:13] local.INFO: Extracted packet for processing {"connection_id":218036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ee"} 
[2026-10-16 09:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783815424001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792124300000,"timestamp_ms":1792124300000,"timestamp_seconds":1792124300,"priority":1,"record_length":96,"hex_timestamp":"000001a142eeaae0"} 
[2026-10-16 09:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:52: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-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:52: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-10-16 09: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-10-16 09:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783815424001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783815424001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:52:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:52:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783815424001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":218036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:52:13] local.INFO: GPS data processed {"connection_id":218036,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:52:13] local.INFO: Acknowledgment sent {"connection_id":218036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:52:16] local.INFO: TCP Data received {"connection_id":218037,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:52:16] local.INFO: Processing buffer {"connection_id":218037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:52:16] local.INFO: IMEI packet received {"connection_id":218037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":218037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:52:20] local.INFO: TCP Data received {"connection_id":216491,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:52:20] local.INFO: Processing buffer {"connection_id":216491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:52:20] local.INFO: IMEI packet received {"connection_id":216491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":216491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:52:22] local.INFO: TCP Data received {"connection_id":218037,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:52:22] local.INFO: Processing buffer {"connection_id":218037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:52:22] local.INFO: IMEI packet received {"connection_id":218037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":218037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:52:24] local.INFO: TCP Data received {"connection_id":218037,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:52:24] local.INFO: Processing buffer {"connection_id":218037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:52:24] local.INFO: Packet analysis {"connection_id":218037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:52:24] local.INFO: Extracted packet for processing {"connection_id":218037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:52:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:52: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-10-16 09:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:52: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:52:24] 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-10-16 09:52: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-10-16 09:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":218037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":218037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":218037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:52:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:52:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":218037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:52:24] local.INFO: GPS data processed {"connection_id":218037,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:52:24] local.INFO: Acknowledgment sent {"connection_id":218037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:52:26] local.INFO: TCP Data received {"connection_id":216491,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:52:26] local.INFO: Processing buffer {"connection_id":216491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:52:26] local.INFO: IMEI packet received {"connection_id":216491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":216491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:52:27] local.INFO: TCP Data received {"connection_id":216491,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142ea1318012d7d39c005ec0e780000011420..."} 
[2026-10-16 09:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ea1318012d7d39c005ec0e780000011420..."} 
[2026-10-16 09:52:27] local.INFO: Processing buffer {"connection_id":216491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ea1318012d7d39c005ec0e780000011420..."} 
[2026-10-16 09:52:27] local.INFO: Packet analysis {"connection_id":216491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:52:27] local.INFO: Extracted packet for processing {"connection_id":216491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99356280,"longitude_deg":76.3181504,"latitude_deg":9.935628,"altitude":0,"angle":276,"satellites":32,"speed":2,"hex_longitude":"2d7d39c0","hex_latitude":"05ec0e78","is_valid_coordinates":true} 
[2026-10-16 09:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783743488001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460081231872,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:27] 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-10-16 09:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792123999000,"timestamp_ms":1792123999000,"timestamp_seconds":1792123999,"priority":1,"record_length":96,"hex_timestamp":"000001a142ea1318"} 
[2026-10-16 09:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-16 09:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783743488001,"66":14135,"110":206,"87":13824,"24":2,"16":145504081715134464,"45":9023454460081231872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783743488001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:52:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:52:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460081231872,"description":"Unknown IO ID 45"} 
[2026-10-16 09:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783743488001,"power":14135,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9023454460081231872}} 
[2026-10-16 09:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":216491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:52:27] local.INFO: GPS data processed {"connection_id":216491,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:52:27] local.INFO: Acknowledgment sent {"connection_id":216491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:52:44] local.INFO: TCP Data received {"connection_id":218036,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142eefce8012d196900071fed50003a01112c..."} 
[2026-10-16 09:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142eefce8012d196900071fed50003a01112c..."} 
[2026-10-16 09:52:44] local.INFO: Processing buffer {"connection_id":218036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142eefce8012d196900071fed50003a01112c..."} 
[2026-10-16 09:52:44] local.INFO: Packet analysis {"connection_id":218036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ee"} 
[2026-10-16 09:52:44] local.INFO: Extracted packet for processing {"connection_id":218036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ee"} 
[2026-10-16 09:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783820800001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792124321000,"timestamp_ms":1792124321000,"timestamp_seconds":1792124321,"priority":1,"record_length":96,"hex_timestamp":"000001a142eefce8"} 
[2026-10-16 09:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:52: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-10-16 09: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 09:52: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-10-16 09: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-10-16 09:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783820800001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783820800001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:52:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783820800001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":218036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:52:44] local.INFO: GPS data processed {"connection_id":218036,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:52:44] local.INFO: Acknowledgment sent {"connection_id":218036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:52:57] local.INFO: TCP Data received {"connection_id":218037,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:52:57] local.INFO: Processing buffer {"connection_id":218037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:52:57] local.INFO: Packet analysis {"connection_id":218037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:52:57] local.INFO: Extracted packet for processing {"connection_id":218037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:52:57] 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-10-16 09:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":218037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":218037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":218037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:52:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:52:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":218037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:52:57] local.INFO: GPS data processed {"connection_id":218037,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:52:57] local.INFO: Acknowledgment sent {"connection_id":218037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:52:58] local.INFO: TCP Data received {"connection_id":216491,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142ea1318012d7d39c005ec0e780000011420..."} 
[2026-10-16 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ea1318012d7d39c005ec0e780000011420..."} 
[2026-10-16 09:52:58] local.INFO: Processing buffer {"connection_id":216491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ea1318012d7d39c005ec0e780000011420..."} 
[2026-10-16 09:52:58] local.INFO: Packet analysis {"connection_id":216491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:52:58] local.INFO: Extracted packet for processing {"connection_id":216491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99356280,"longitude_deg":76.3181504,"latitude_deg":9.935628,"altitude":0,"angle":276,"satellites":32,"speed":2,"hex_longitude":"2d7d39c0","hex_latitude":"05ec0e78","is_valid_coordinates":true} 
[2026-10-16 09:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783743744001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460081240064,"note":"Value kept but may cause issues"} 
[2026-10-16 09:52:58] 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-10-16 09:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792123999000,"timestamp_ms":1792123999000,"timestamp_seconds":1792123999,"priority":1,"record_length":96,"hex_timestamp":"000001a142ea1318"} 
[2026-10-16 09:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-16 09:52:58] 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-10-16 09:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783743744001,"66":14135,"110":206,"87":13824,"24":2,"16":145504081715134464,"45":9023454460081240064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783743744001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:52:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460081240064,"description":"Unknown IO ID 45"} 
[2026-10-16 09:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783743744001,"power":14135,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9023454460081240064}} 
[2026-10-16 09:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":216491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:52:58] local.INFO: GPS data processed {"connection_id":216491,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:52:58] local.INFO: Acknowledgment sent {"connection_id":216491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:53:07] local.INFO: TCP Data received {"connection_id":216492,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:53:07] local.INFO: Processing buffer {"connection_id":216492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:53:07] local.INFO: IMEI packet received {"connection_id":216492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":216492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:53:10] local.INFO: TCP Data received {"connection_id":216492,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:53:10] local.INFO: Processing buffer {"connection_id":216492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:53:10] local.INFO: IMEI packet received {"connection_id":216492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":216492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:53:14] local.INFO: TCP Data received {"connection_id":216492,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ef4b08012d196900071fed50003a01112e..."} 
[2026-10-16 09:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ef4b08012d196900071fed50003a01112e..."} 
[2026-10-16 09:53:14] local.INFO: Processing buffer {"connection_id":216492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ef4b08012d196900071fed50003a01112e..."} 
[2026-10-16 09:53:14] local.INFO: Packet analysis {"connection_id":216492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ef"} 
[2026-10-16 09:53:14] local.INFO: Extracted packet for processing {"connection_id":216492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ef"} 
[2026-10-16 09:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783826176001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792124341000,"timestamp_ms":1792124341000,"timestamp_seconds":1792124341,"priority":1,"record_length":96,"hex_timestamp":"000001a142ef4b08"} 
[2026-10-16 09:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:53:14] 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-10-16 09:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:53:14] 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-10-16 09:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783826176001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783826176001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:53:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783826176001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":216492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:53:14] local.INFO: GPS data processed {"connection_id":216492,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:53:14] local.INFO: Acknowledgment sent {"connection_id":216492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:53:16] local.INFO: TCP Data received {"connection_id":218038,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:53:16] local.INFO: Processing buffer {"connection_id":218038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:53:16] local.INFO: IMEI packet received {"connection_id":218038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":218038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:53:20] local.INFO: TCP Data received {"connection_id":216692,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:53:20] local.INFO: Processing buffer {"connection_id":216692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:53:20] local.INFO: IMEI packet received {"connection_id":216692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":216692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:53:22] local.INFO: TCP Data received {"connection_id":218038,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:53:22] local.INFO: Processing buffer {"connection_id":218038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:53:22] local.INFO: IMEI packet received {"connection_id":218038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":218038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:53:23] local.INFO: TCP Data received {"connection_id":218038,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:53:23] local.INFO: Processing buffer {"connection_id":218038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:53:23] local.INFO: Packet analysis {"connection_id":218038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:53:23] local.INFO: Extracted packet for processing {"connection_id":218038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:53:23] 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-10-16 09: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-10-16 09:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:53:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:53:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":218038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:53:23] local.INFO: GPS data processed {"connection_id":218038,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:53:23] local.INFO: Acknowledgment sent {"connection_id":218038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:53:26] local.INFO: TCP Data received {"connection_id":216692,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:53:26] local.INFO: Processing buffer {"connection_id":216692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:53:26] local.INFO: IMEI packet received {"connection_id":216692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":216692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:53:27] local.INFO: TCP Data received {"connection_id":216692,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142ea1318012d7d39c005ec0e780000011420..."} 
[2026-10-16 09:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ea1318012d7d39c005ec0e780000011420..."} 
[2026-10-16 09:53:27] local.INFO: Processing buffer {"connection_id":216692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ea1318012d7d39c005ec0e780000011420..."} 
[2026-10-16 09:53:27] local.INFO: Packet analysis {"connection_id":216692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:53:27] local.INFO: Extracted packet for processing {"connection_id":216692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99356280,"longitude_deg":76.3181504,"latitude_deg":9.935628,"altitude":0,"angle":276,"satellites":32,"speed":2,"hex_longitude":"2d7d39c0","hex_latitude":"05ec0e78","is_valid_coordinates":true} 
[2026-10-16 09:53:27] 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-10-16 09:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783743744001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460081240064,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:27] 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-10-16 09:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792123999000,"timestamp_ms":1792123999000,"timestamp_seconds":1792123999,"priority":1,"record_length":96,"hex_timestamp":"000001a142ea1318"} 
[2026-10-16 09:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-16 09:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783743744001,"66":14135,"110":206,"87":13824,"24":2,"16":145504081715134464,"45":9023454460081240064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783743744001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:53:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:53:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460081240064,"description":"Unknown IO ID 45"} 
[2026-10-16 09:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783743744001,"power":14135,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9023454460081240064}} 
[2026-10-16 09:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":216692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:53:27] local.INFO: GPS data processed {"connection_id":216692,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:53:27] local.INFO: Acknowledgment sent {"connection_id":216692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:53:45] local.INFO: TCP Data received {"connection_id":216492,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142efa0f8012d196900071fed50003a01112c..."} 
[2026-10-16 09:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142efa0f8012d196900071fed50003a01112c..."} 
[2026-10-16 09:53:45] local.INFO: Processing buffer {"connection_id":216492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142efa0f8012d196900071fed50003a01112c..."} 
[2026-10-16 09:53:45] local.INFO: Packet analysis {"connection_id":216492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ef"} 
[2026-10-16 09:53:45] local.INFO: Extracted packet for processing {"connection_id":216492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ef"} 
[2026-10-16 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 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-10-16 09:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783831296001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792124363000,"timestamp_ms":1792124363000,"timestamp_seconds":1792124363,"priority":1,"record_length":96,"hex_timestamp":"000001a142efa0f8"} 
[2026-10-16 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-10-16 09:53:45] 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-10-16 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:53:45] 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-10-16 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-10-16 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-10-16 09:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783831296001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783831296001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:53:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783831296001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":216492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:53:45] local.INFO: GPS data processed {"connection_id":216492,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:53:45] local.INFO: Acknowledgment sent {"connection_id":216492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:53:56] local.INFO: TCP Data received {"connection_id":218038,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:53:56] local.INFO: Processing buffer {"connection_id":218038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:53:56] local.INFO: Packet analysis {"connection_id":218038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:53:56] local.INFO: Extracted packet for processing {"connection_id":218038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:53:56] 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-10-16 09:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:53:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:53:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":218038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:53:56] local.INFO: GPS data processed {"connection_id":218038,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:53:56] local.INFO: Acknowledgment sent {"connection_id":218038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:53:58] local.INFO: TCP Data received {"connection_id":216692,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142ea1ae8012d7d3a4005ec0eb8000001351f..."} 
[2026-10-16 09:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ea1ae8012d7d3a4005ec0eb8000001351f..."} 
[2026-10-16 09:53:58] local.INFO: Processing buffer {"connection_id":216692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ea1ae8012d7d3a4005ec0eb8000001351f..."} 
[2026-10-16 09:53:58] local.INFO: Packet analysis {"connection_id":216692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:53:58] local.INFO: Extracted packet for processing {"connection_id":216692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ea"} 
[2026-10-16 09:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":99356344,"longitude_deg":76.3181632,"latitude_deg":9.9356344,"altitude":0,"angle":309,"satellites":31,"speed":1,"hex_longitude":"2d7d3a40","hex_latitude":"05ec0eb8","is_valid_coordinates":true} 
[2026-10-16 09:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783743744001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460081240064,"note":"Value kept but may cause issues"} 
[2026-10-16 09:53:58] 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-10-16 09:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792124001000,"timestamp_ms":1792124001000,"timestamp_seconds":1792124001,"priority":1,"record_length":96,"hex_timestamp":"000001a142ea1ae8"} 
[2026-10-16 09:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-10-16 09:53:58] 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-10-16 09:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783743744001,"66":13559,"110":206,"87":13824,"24":1,"16":145504081715134464,"45":9023454460081240064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 09:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783743744001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:53:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 09:53:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460081240064,"description":"Unknown IO ID 45"} 
[2026-10-16 09:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783743744001,"power":13559,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9023454460081240064}} 
[2026-10-16 09:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":216692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:53:58] local.INFO: GPS data processed {"connection_id":216692,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:53:58] local.INFO: Acknowledgment sent {"connection_id":216692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:54:07] local.INFO: TCP Data received {"connection_id":218039,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:54:07] local.INFO: Processing buffer {"connection_id":218039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:54:07] local.INFO: IMEI packet received {"connection_id":218039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":218039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:54:11] local.INFO: TCP Data received {"connection_id":216693,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:54:11] local.INFO: Processing buffer {"connection_id":216693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:54:11] local.INFO: IMEI packet received {"connection_id":216693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":216693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:54:13] local.INFO: TCP Data received {"connection_id":218039,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:54:13] local.INFO: Processing buffer {"connection_id":218039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:54:13] local.INFO: IMEI packet received {"connection_id":218039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":218039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:54:13] local.INFO: TCP Data received {"connection_id":218039,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142efef18012d196900071fed50003a01112d..."} 
[2026-10-16 09:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142efef18012d196900071fed50003a01112d..."} 
[2026-10-16 09:54:13] local.INFO: Processing buffer {"connection_id":218039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142efef18012d196900071fed50003a01112d..."} 
[2026-10-16 09:54:13] local.INFO: Packet analysis {"connection_id":218039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ef"} 
[2026-10-16 09:54:13] local.INFO: Extracted packet for processing {"connection_id":218039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ef"} 
[2026-10-16 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783836928001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792124383000,"timestamp_ms":1792124383000,"timestamp_seconds":1792124383,"priority":1,"record_length":96,"hex_timestamp":"000001a142efef18"} 
[2026-10-16 09:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:54: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-10-16 09: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":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:54: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-10-16 09: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-10-16 09:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783836928001,"66":12406,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783836928001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:54:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783836928001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":218039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:54:13] local.INFO: GPS data processed {"connection_id":218039,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:54:13] local.INFO: Acknowledgment sent {"connection_id":218039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:54:20] local.INFO: TCP Data received {"connection_id":218040,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:54:20] local.INFO: Processing buffer {"connection_id":218040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:54:20] local.INFO: IMEI packet received {"connection_id":218040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":218040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:54:22] local.INFO: TCP Data received {"connection_id":216694,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:54:22] local.INFO: Processing buffer {"connection_id":216694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:54:22] local.INFO: IMEI packet received {"connection_id":216694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":216694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:54:25] local.INFO: TCP Data received {"connection_id":218040,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:54:25] local.INFO: Processing buffer {"connection_id":218040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:54:25] local.INFO: IMEI packet received {"connection_id":218040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":218040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:54:26] local.INFO: TCP Data received {"connection_id":216694,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:54:26] local.INFO: Processing buffer {"connection_id":216694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:54:26] local.INFO: IMEI packet received {"connection_id":216694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":216694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:54:26] local.INFO: TCP Data received {"connection_id":218040,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142eeba80012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 09:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142eeba80012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 09:54:26] local.INFO: Processing buffer {"connection_id":218040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142eeba80012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 09:54:26] local.INFO: Packet analysis {"connection_id":218040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ee"} 
[2026-10-16 09:54:26] local.INFO: Extracted packet for processing {"connection_id":218040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ee"} 
[2026-10-16 09:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783744256001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197569611776,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:26] 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-10-16 09:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792124304000,"timestamp_ms":1792124304000,"timestamp_seconds":1792124304,"priority":1,"record_length":96,"hex_timestamp":"000001a142eeba80"} 
[2026-10-16 09:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 09:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09: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-10-16 09:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783744256001,"66":13319,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9023595197569611776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783744256001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:54:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:54:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197569611776,"description":"Unknown IO ID 45"} 
[2026-10-16 09:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783744256001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023595197569611776}} 
[2026-10-16 09:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":218040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:54:26] local.INFO: GPS data processed {"connection_id":218040,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:54:26] local.INFO: Acknowledgment sent {"connection_id":218040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:54:27] local.INFO: TCP Data received {"connection_id":216694,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:54:27] local.INFO: Processing buffer {"connection_id":216694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:54:27] local.INFO: Packet analysis {"connection_id":216694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:54:27] local.INFO: Extracted packet for processing {"connection_id":216694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:54:27] 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-10-16 09: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-10-16 09:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:54:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:54:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":216694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:54:27] local.INFO: GPS data processed {"connection_id":216694,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:54:27] local.INFO: Acknowledgment sent {"connection_id":216694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:54:32] local.INFO: TCP Data received {"connection_id":216694,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:54:32] local.INFO: Processing buffer {"connection_id":216694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:54:32] local.INFO: Packet analysis {"connection_id":216694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:54:32] local.INFO: Extracted packet for processing {"connection_id":216694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:54:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:54:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":216694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:54:32] local.INFO: GPS data processed {"connection_id":216694,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:54:32] local.INFO: Acknowledgment sent {"connection_id":216694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:54:45] local.INFO: TCP Data received {"connection_id":218039,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f04120012d196900071fed50003a01112b..."} 
[2026-10-16 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f04120012d196900071fed50003a01112b..."} 
[2026-10-16 09:54:45] local.INFO: Processing buffer {"connection_id":218039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f04120012d196900071fed50003a01112b..."} 
[2026-10-16 09:54:45] local.INFO: Packet analysis {"connection_id":218039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:54:45] local.INFO: Extracted packet for processing {"connection_id":218039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783842048001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792124404000,"timestamp_ms":1792124404000,"timestamp_seconds":1792124404,"priority":1,"record_length":96,"hex_timestamp":"000001a142f04120"} 
[2026-10-16 09:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 09:54:45] 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-10-16 09: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-10-16 09:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783842048001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783842048001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:54:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783842048001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":218039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:54:45] local.INFO: GPS data processed {"connection_id":218039,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:54:45] local.INFO: Acknowledgment sent {"connection_id":218039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:54:56] local.INFO: TCP Data received {"connection_id":218041,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:54:56] local.INFO: Processing buffer {"connection_id":218041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 09:54:56] local.INFO: IMEI packet received {"connection_id":218041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 09:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":218041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:54:58] local.INFO: TCP Data received {"connection_id":218040,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:54:58] local.INFO: Processing buffer {"connection_id":218040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:54:58] local.INFO: Packet analysis {"connection_id":218040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:54:58] local.INFO: Extracted packet for processing {"connection_id":218040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783821824001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] 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-10-16 09:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792124605000,"timestamp_ms":1792124605000,"timestamp_seconds":1792124605,"priority":1,"record_length":96,"hex_timestamp":"000001a142f35248"} 
[2026-10-16 09:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3927119873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485641,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1353331688026152704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960629248,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-875948832637485051,"note":"Value kept but may cause issues"} 
[2026-10-16 09:54:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,239,161,26,45,64,14,31,10,66,110,19,192,32,240,55,227,236,1,4,113,205,2,15,57,88,30,5,84,233],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:54:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344306053283840,"timestamp_seconds":344306053283.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783821824001,"66":13200,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783821824001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:54:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:54:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783821824001,"power":13200,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":218040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:54:58] local.INFO: GPS data processed {"connection_id":218040,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:54:58] local.INFO: Acknowledgment sent {"connection_id":218040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:55:07] local.INFO: TCP Data received {"connection_id":216493,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:55:07] local.INFO: Processing buffer {"connection_id":216493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:55:07] local.INFO: IMEI packet received {"connection_id":216493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":216493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:55:13] local.INFO: TCP Data received {"connection_id":216493,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:55:13] local.INFO: Processing buffer {"connection_id":216493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:55:13] local.INFO: IMEI packet received {"connection_id":216493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":216493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:55:13] local.INFO: TCP Data received {"connection_id":216493,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f09328012d196900071fed50003a01112b..."} 
[2026-10-16 09:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f09328012d196900071fed50003a01112b..."} 
[2026-10-16 09:55:13] local.INFO: Processing buffer {"connection_id":216493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f09328012d196900071fed50003a01112b..."} 
[2026-10-16 09:55:13] local.INFO: Packet analysis {"connection_id":216493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:55:13] local.INFO: Extracted packet for processing {"connection_id":216493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783847424001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792124425000,"timestamp_ms":1792124425000,"timestamp_seconds":1792124425,"priority":1,"record_length":96,"hex_timestamp":"000001a142f09328"} 
[2026-10-16 09:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:55: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-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:55: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-10-16 09: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-10-16 09:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783847424001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783847424001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:55:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783847424001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":216493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:55:13] local.INFO: GPS data processed {"connection_id":216493,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:55:13] local.INFO: Acknowledgment sent {"connection_id":216493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:55:16] local.INFO: TCP Data received {"connection_id":219771,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:55:16] local.INFO: Processing buffer {"connection_id":219771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:55:16] local.INFO: IMEI packet received {"connection_id":219771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":219771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:55:22] local.INFO: TCP Data received {"connection_id":219771,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:55:22] local.INFO: Processing buffer {"connection_id":219771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:55:22] local.INFO: IMEI packet received {"connection_id":219771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":219771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:55:24] local.INFO: TCP Data received {"connection_id":219771,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:55:24] local.INFO: Processing buffer {"connection_id":219771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:55:24] local.INFO: Packet analysis {"connection_id":219771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:55:24] local.INFO: Extracted packet for processing {"connection_id":219771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:55:24] 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-10-16 09:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:55:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:55:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":219771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:55:24] local.INFO: GPS data processed {"connection_id":219771,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:55:24] local.INFO: Acknowledgment sent {"connection_id":219771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:55:26] local.INFO: TCP Data received {"connection_id":216494,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:55:26] local.INFO: Processing buffer {"connection_id":216494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:55:26] local.INFO: IMEI packet received {"connection_id":216494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":216494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:55:31] local.INFO: TCP Data received {"connection_id":216494,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:55:31] local.INFO: Processing buffer {"connection_id":216494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:55:31] local.INFO: IMEI packet received {"connection_id":216494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":216494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:55:32] local.INFO: TCP Data received {"connection_id":216494,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:55:32] local.INFO: Processing buffer {"connection_id":216494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:55:32] local.INFO: Packet analysis {"connection_id":216494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:55:32] local.INFO: Extracted packet for processing {"connection_id":216494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783821824001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792124605000,"timestamp_ms":1792124605000,"timestamp_seconds":1792124605,"priority":1,"record_length":96,"hex_timestamp":"000001a142f35248"} 
[2026-10-16 09:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3927119873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485641,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1353331688026152704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960629248,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-875948832637485051,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,239,161,26,45,64,14,31,10,66,110,19,192,32,240,55,227,236,1,4,113,205,2,15,57,88,30,5,84,233],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:55:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344306053283840,"timestamp_seconds":344306053283.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783821824001,"66":13200,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783821824001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:55:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:55:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783821824001,"power":13200,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":216494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:55:32] local.INFO: GPS data processed {"connection_id":216494,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:55:32] local.INFO: Acknowledgment sent {"connection_id":216494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:55:37] local.INFO: TCP Data received {"connection_id":216494,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:55:37] local.INFO: Processing buffer {"connection_id":216494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:55:37] local.INFO: Packet analysis {"connection_id":216494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:55:37] local.INFO: Extracted packet for processing {"connection_id":216494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783821824001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] 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-10-16 09:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792124605000,"timestamp_ms":1792124605000,"timestamp_seconds":1792124605,"priority":1,"record_length":96,"hex_timestamp":"000001a142f35248"} 
[2026-10-16 09:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3927119873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485641,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1353331688026152704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960629248,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-875948832637485051,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,239,161,26,45,64,14,31,10,66,110,19,192,32,240,55,227,236,1,4,113,205,2,15,57,88,30,5,84,233],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:55:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344306053283840,"timestamp_seconds":344306053283.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":216494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":216494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":216494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783821824001,"66":13200,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783821824001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:55:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:55:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783821824001,"power":13200,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":216494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:55:37] local.INFO: GPS data processed {"connection_id":216494,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:55:37] local.INFO: Acknowledgment sent {"connection_id":216494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:55:45] local.INFO: TCP Data received {"connection_id":216493,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f41980012d196900071fed50003a01112d..."} 
[2026-10-16 09:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f41980012d196900071fed50003a01112d..."} 
[2026-10-16 09:55:45] local.INFO: Processing buffer {"connection_id":216493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f41980012d196900071fed50003a01112d..."} 
[2026-10-16 09:55:45] local.INFO: Packet analysis {"connection_id":216493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f4"} 
[2026-10-16 09:55:45] local.INFO: Extracted packet for processing {"connection_id":216493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f4"} 
[2026-10-16 09:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783906560001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792124656000,"timestamp_ms":1792124656000,"timestamp_seconds":1792124656,"priority":1,"record_length":96,"hex_timestamp":"000001a142f41980"} 
[2026-10-16 09:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:55:45] 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-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:55:45] 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-10-16 09: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-10-16 09:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783906560001,"66":12406,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783906560001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:55:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783906560001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":216493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:55:45] local.INFO: GPS data processed {"connection_id":216493,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:55:45] local.INFO: Acknowledgment sent {"connection_id":216493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:55:56] local.INFO: TCP Data received {"connection_id":219771,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:55:56] local.INFO: Processing buffer {"connection_id":219771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f0d590012d7fa40005afce580009000a30..."} 
[2026-10-16 09:55:56] local.INFO: Packet analysis {"connection_id":219771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:55:56] local.INFO: Extracted packet for processing {"connection_id":219771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f0"} 
[2026-10-16 09:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783780096001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792124442000,"timestamp_ms":1792124442000,"timestamp_seconds":1792124442,"priority":1,"record_length":96,"hex_timestamp":"000001a142f0d590"} 
[2026-10-16 09:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 09:55:56] 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-10-16 09:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783780096001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783780096001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:55:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:55:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783780096001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":219771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:55:56] local.INFO: GPS data processed {"connection_id":219771,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:55:56] local.INFO: Acknowledgment sent {"connection_id":219771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:56:07] local.INFO: TCP Data received {"connection_id":216496,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:56:07] local.INFO: Processing buffer {"connection_id":216496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:56:07] local.INFO: IMEI packet received {"connection_id":216496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":216496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:56:13] local.INFO: TCP Data received {"connection_id":216496,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:56:13] local.INFO: Processing buffer {"connection_id":216496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:56:13] local.INFO: IMEI packet received {"connection_id":216496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":216496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:56:13] local.INFO: TCP Data received {"connection_id":216496,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f46b88012d196900071fed50003a01112c..."} 
[2026-10-16 09:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f46b88012d196900071fed50003a01112c..."} 
[2026-10-16 09:56:13] local.INFO: Processing buffer {"connection_id":216496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f46b88012d196900071fed50003a01112c..."} 
[2026-10-16 09:56:13] local.INFO: Packet analysis {"connection_id":216496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f4"} 
[2026-10-16 09:56:13] local.INFO: Extracted packet for processing {"connection_id":216496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f4"} 
[2026-10-16 09:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783911936001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792124677000,"timestamp_ms":1792124677000,"timestamp_seconds":1792124677,"priority":1,"record_length":96,"hex_timestamp":"000001a142f46b88"} 
[2026-10-16 09:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:56: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-10-16 09: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 09:56: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-10-16 09: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-10-16 09:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783911936001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783911936001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:56:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783911936001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":216496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:56:13] local.INFO: GPS data processed {"connection_id":216496,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:56:13] local.INFO: Acknowledgment sent {"connection_id":216496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:56:16] local.INFO: TCP Data received {"connection_id":216695,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:56:16] local.INFO: Processing buffer {"connection_id":216695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:56:16] local.INFO: IMEI packet received {"connection_id":216695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":216695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:56:21] local.INFO: TCP Data received {"connection_id":216696,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:56:21] local.INFO: Processing buffer {"connection_id":216696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:56:21] local.INFO: IMEI packet received {"connection_id":216696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":216696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:56:22] local.INFO: TCP Data received {"connection_id":216695,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:56:22] local.INFO: Processing buffer {"connection_id":216695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:56:22] local.INFO: IMEI packet received {"connection_id":216695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":216695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:56:24] local.INFO: TCP Data received {"connection_id":216695,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:56:24] local.INFO: Processing buffer {"connection_id":216695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:56:24] local.INFO: Packet analysis {"connection_id":216695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:56:24] local.INFO: Extracted packet for processing {"connection_id":216695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:56: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-10-16 09:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783857152001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792124743000,"timestamp_ms":1792124743000,"timestamp_seconds":1792124743,"priority":1,"record_length":96,"hex_timestamp":"000001a142f56d58"} 
[2026-10-16 09:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:56: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 09:56:24] 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-10-16 09:56: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-10-16 09:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783857152001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783857152001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:56:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:56:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783857152001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":216695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:56:24] local.INFO: GPS data processed {"connection_id":216695,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:56:24] local.INFO: Acknowledgment sent {"connection_id":216695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:56:26] local.INFO: TCP Data received {"connection_id":216696,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:56:26] local.INFO: Processing buffer {"connection_id":216696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:56:26] local.INFO: IMEI packet received {"connection_id":216696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":216696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:56:27] local.INFO: TCP Data received {"connection_id":216696,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:56:27] local.INFO: Processing buffer {"connection_id":216696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:56:27] local.INFO: Packet analysis {"connection_id":216696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:56:27] local.INFO: Extracted packet for processing {"connection_id":216696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783821824001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] 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-10-16 09:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792124605000,"timestamp_ms":1792124605000,"timestamp_seconds":1792124605,"priority":1,"record_length":96,"hex_timestamp":"000001a142f35248"} 
[2026-10-16 09:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3927119873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485641,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1353331688026152704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960629248,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-875948832637485051,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:27] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,239,161,26,45,64,14,31,10,66,110,19,192,32,240,55,227,236,1,4,113,205,2,15,57,88,30,5,84,233],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:56:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344306053283840,"timestamp_seconds":344306053283.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783821824001,"66":13200,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783821824001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:56:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:56:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783821824001,"power":13200,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":216696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:56:27] local.INFO: GPS data processed {"connection_id":216696,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:56:27] local.INFO: Acknowledgment sent {"connection_id":216696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:56:44] local.INFO: TCP Data received {"connection_id":216496,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f4bd90012d196900071fed50003a01112c..."} 
[2026-10-16 09:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f4bd90012d196900071fed50003a01112c..."} 
[2026-10-16 09:56:44] local.INFO: Processing buffer {"connection_id":216496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f4bd90012d196900071fed50003a01112c..."} 
[2026-10-16 09:56:44] local.INFO: Packet analysis {"connection_id":216496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f4"} 
[2026-10-16 09:56:44] local.INFO: Extracted packet for processing {"connection_id":216496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f4"} 
[2026-10-16 09:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783917312001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792124698000,"timestamp_ms":1792124698000,"timestamp_seconds":1792124698,"priority":1,"record_length":96,"hex_timestamp":"000001a142f4bd90"} 
[2026-10-16 09:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:56: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-10-16 09: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 09:56: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-10-16 09: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-10-16 09:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783917312001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783917312001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:56:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:56:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783917312001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":216496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:56:45] local.INFO: GPS data processed {"connection_id":216496,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:56:45] local.INFO: Acknowledgment sent {"connection_id":216496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:56:57] local.INFO: TCP Data received {"connection_id":216695,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:56:57] local.INFO: Processing buffer {"connection_id":216695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:56:57] local.INFO: Packet analysis {"connection_id":216695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:56:57] local.INFO: Extracted packet for processing {"connection_id":216695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783857152001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792124743000,"timestamp_ms":1792124743000,"timestamp_seconds":1792124743,"priority":1,"record_length":96,"hex_timestamp":"000001a142f56d58"} 
[2026-10-16 09:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:56: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-10-16 09:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 09:56:57] 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-10-16 09:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783857152001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783857152001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:56:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:56:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783857152001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":216695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:56:57] local.INFO: GPS data processed {"connection_id":216695,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:56:57] local.INFO: Acknowledgment sent {"connection_id":216695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:56:58] local.INFO: TCP Data received {"connection_id":216696,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:56:58] local.INFO: Processing buffer {"connection_id":216696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:56:58] local.INFO: Packet analysis {"connection_id":216696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:56:58] local.INFO: Extracted packet for processing {"connection_id":216696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783821824001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] 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-10-16 09:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792124605000,"timestamp_ms":1792124605000,"timestamp_seconds":1792124605,"priority":1,"record_length":96,"hex_timestamp":"000001a142f35248"} 
[2026-10-16 09:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3927119873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485641,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1353331688026152704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960629248,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-875948832637485051,"note":"Value kept but may cause issues"} 
[2026-10-16 09:56:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,239,161,26,45,64,14,31,10,66,110,19,192,32,240,55,227,236,1,4,113,205,2,15,57,88,30,5,84,233],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:56:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344306053283840,"timestamp_seconds":344306053283.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783821824001,"66":13200,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783821824001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:56:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783821824001,"power":13200,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":216696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:56:59] local.INFO: GPS data processed {"connection_id":216696,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:56:59] local.INFO: Acknowledgment sent {"connection_id":216696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:57:07] local.INFO: TCP Data received {"connection_id":216497,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:57:07] local.INFO: Processing buffer {"connection_id":216497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:57:07] local.INFO: IMEI packet received {"connection_id":216497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":216497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:57:14] local.INFO: TCP Data received {"connection_id":216497,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:57:14] local.INFO: Processing buffer {"connection_id":216497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:57:14] local.INFO: IMEI packet received {"connection_id":216497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":216497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:57:15] local.INFO: TCP Data received {"connection_id":216497,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f50f98012d196900071fed50003a01112c..."} 
[2026-10-16 09:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f50f98012d196900071fed50003a01112c..."} 
[2026-10-16 09:57:15] local.INFO: Processing buffer {"connection_id":216497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f50f98012d196900071fed50003a01112c..."} 
[2026-10-16 09:57:15] local.INFO: Packet analysis {"connection_id":216497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:57:15] local.INFO: Extracted packet for processing {"connection_id":216497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783922688001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792124719000,"timestamp_ms":1792124719000,"timestamp_seconds":1792124719,"priority":1,"record_length":96,"hex_timestamp":"000001a142f50f98"} 
[2026-10-16 09:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:57: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-10-16 09: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-10-16 09:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783922688001,"66":12406,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783922688001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:57:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783922688001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":216497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:57:15] local.INFO: GPS data processed {"connection_id":216497,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:57:15] local.INFO: Acknowledgment sent {"connection_id":216497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:57:16] local.INFO: TCP Data received {"connection_id":216697,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:57:16] local.INFO: Processing buffer {"connection_id":216697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:57:16] local.INFO: IMEI packet received {"connection_id":216697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":216697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:57:21] local.INFO: TCP Data received {"connection_id":216498,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:57:21] local.INFO: Processing buffer {"connection_id":216498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:57:21] local.INFO: IMEI packet received {"connection_id":216498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":216498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:57:22] local.INFO: TCP Data received {"connection_id":216697,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:57:22] local.INFO: Processing buffer {"connection_id":216697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:57:22] local.INFO: IMEI packet received {"connection_id":216697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":216697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:57:26] local.INFO: TCP Data received {"connection_id":216697,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:57:26] local.INFO: Processing buffer {"connection_id":216697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:57:26] local.INFO: Packet analysis {"connection_id":216697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:57:26] local.INFO: Extracted packet for processing {"connection_id":216697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783857152001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792124743000,"timestamp_ms":1792124743000,"timestamp_seconds":1792124743,"priority":1,"record_length":96,"hex_timestamp":"000001a142f56d58"} 
[2026-10-16 09:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 09:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 09:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783857152001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783857152001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:57:26] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:57:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783857152001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":216697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:57:26] local.INFO: GPS data processed {"connection_id":216697,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:57:26] local.INFO: Acknowledgment sent {"connection_id":216697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:57:26] local.INFO: TCP Data received {"connection_id":216498,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:57:26] local.INFO: Processing buffer {"connection_id":216498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:57:26] local.INFO: IMEI packet received {"connection_id":216498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":216498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:57:27] local.INFO: TCP Data received {"connection_id":216498,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:57:27] local.INFO: Processing buffer {"connection_id":216498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:57:27] local.INFO: Packet analysis {"connection_id":216498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:57:27] local.INFO: Extracted packet for processing {"connection_id":216498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783821824001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] 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-10-16 09:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792124605000,"timestamp_ms":1792124605000,"timestamp_seconds":1792124605,"priority":1,"record_length":96,"hex_timestamp":"000001a142f35248"} 
[2026-10-16 09:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3927119873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485641,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1353331688026152704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960629248,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-875948832637485051,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:27] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,239,161,26,45,64,14,31,10,66,110,19,192,32,240,55,227,236,1,4,113,205,2,15,57,88,30,5,84,233],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:57:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344306053283840,"timestamp_seconds":344306053283.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783821824001,"66":13200,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783821824001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:57:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:57:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783821824001,"power":13200,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":216498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:57:27] local.INFO: GPS data processed {"connection_id":216498,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:57:27] local.INFO: Acknowledgment sent {"connection_id":216498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:57:46] local.INFO: TCP Data received {"connection_id":216497,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f561a0012d196900071fed50003a01112c..."} 
[2026-10-16 09:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f561a0012d196900071fed50003a01112c..."} 
[2026-10-16 09:57:46] local.INFO: Processing buffer {"connection_id":216497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f561a0012d196900071fed50003a01112c..."} 
[2026-10-16 09:57:46] local.INFO: Packet analysis {"connection_id":216497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:57:46] local.INFO: Extracted packet for processing {"connection_id":216497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783928064001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792124740000,"timestamp_ms":1792124740000,"timestamp_seconds":1792124740,"priority":1,"record_length":96,"hex_timestamp":"000001a142f561a0"} 
[2026-10-16 09:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 09: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 09:57:46] 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-10-16 09: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-10-16 09:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783928064001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783928064001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:57:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783928064001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":216497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:57:46] local.INFO: GPS data processed {"connection_id":216497,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:57:46] local.INFO: Acknowledgment sent {"connection_id":216497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:57:58] local.INFO: TCP Data received {"connection_id":216697,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:57:58] local.INFO: Processing buffer {"connection_id":216697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:57:58] local.INFO: Packet analysis {"connection_id":216697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:57:58] local.INFO: Extracted packet for processing {"connection_id":216697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783857152001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792124743000,"timestamp_ms":1792124743000,"timestamp_seconds":1792124743,"priority":1,"record_length":96,"hex_timestamp":"000001a142f56d58"} 
[2026-10-16 09:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:57: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-10-16 09:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 09:57:58] 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-10-16 09:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783857152001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783857152001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:57:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:57:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783857152001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":216697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:57:58] local.INFO: GPS data processed {"connection_id":216697,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:57:58] local.INFO: Acknowledgment sent {"connection_id":216697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:57:58] local.INFO: TCP Data received {"connection_id":216498,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:57:58] local.INFO: Processing buffer {"connection_id":216498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:57:58] local.INFO: Packet analysis {"connection_id":216498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:57:58] local.INFO: Extracted packet for processing {"connection_id":216498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783821824001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] 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-10-16 09:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792124605000,"timestamp_ms":1792124605000,"timestamp_seconds":1792124605,"priority":1,"record_length":96,"hex_timestamp":"000001a142f35248"} 
[2026-10-16 09:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3927119873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485641,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1353331688026152704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960629248,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-875948832637485051,"note":"Value kept but may cause issues"} 
[2026-10-16 09:57:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,239,161,26,45,64,14,31,10,66,110,19,192,32,240,55,227,236,1,4,113,205,2,15,57,88,30,5,84,233],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:57:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344306053283840,"timestamp_seconds":344306053283.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783821824001,"66":13200,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783821824001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:57:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:57:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783821824001,"power":13200,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":216498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:57:58] local.INFO: GPS data processed {"connection_id":216498,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:57:58] local.INFO: Acknowledgment sent {"connection_id":216498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:58:11] local.INFO: TCP Data received {"connection_id":218042,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:58:11] local.INFO: Processing buffer {"connection_id":218042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:58:11] local.INFO: IMEI packet received {"connection_id":218042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":218042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:58:13] local.INFO: TCP Data received {"connection_id":218042,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:58:13] local.INFO: Processing buffer {"connection_id":218042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:58:13] local.INFO: IMEI packet received {"connection_id":218042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":218042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:58:14] local.INFO: TCP Data received {"connection_id":218042,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f5b3a8012d196900071fed50003a01112d..."} 
[2026-10-16 09:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f5b3a8012d196900071fed50003a01112d..."} 
[2026-10-16 09:58:14] local.INFO: Processing buffer {"connection_id":218042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f5b3a8012d196900071fed50003a01112d..."} 
[2026-10-16 09:58:14] local.INFO: Packet analysis {"connection_id":218042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:58:14] local.INFO: Extracted packet for processing {"connection_id":218042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783933440001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792124761000,"timestamp_ms":1792124761000,"timestamp_seconds":1792124761,"priority":1,"record_length":96,"hex_timestamp":"000001a142f5b3a8"} 
[2026-10-16 09:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:58:14] 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-10-16 09: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 09:58:14] 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-10-16 09: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-10-16 09:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783933440001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783933440001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:58:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783933440001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":218042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:58:14] local.INFO: GPS data processed {"connection_id":218042,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:58:14] local.INFO: Acknowledgment sent {"connection_id":218042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:58:16] local.INFO: TCP Data received {"connection_id":219773,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:58:16] local.INFO: Processing buffer {"connection_id":219773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:58:16] local.INFO: IMEI packet received {"connection_id":219773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":219773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:58:21] local.INFO: TCP Data received {"connection_id":218043,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:58:21] local.INFO: Processing buffer {"connection_id":218043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:58:21] local.INFO: IMEI packet received {"connection_id":218043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":218043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:58:22] local.INFO: TCP Data received {"connection_id":219773,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:58:22] local.INFO: Processing buffer {"connection_id":219773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:58:22] local.INFO: IMEI packet received {"connection_id":219773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":219773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:58:23] local.INFO: TCP Data received {"connection_id":219773,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:58:23] local.INFO: Processing buffer {"connection_id":219773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:58:23] local.INFO: Packet analysis {"connection_id":219773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:58:23] local.INFO: Extracted packet for processing {"connection_id":219773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783857152001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792124743000,"timestamp_ms":1792124743000,"timestamp_seconds":1792124743,"priority":1,"record_length":96,"hex_timestamp":"000001a142f56d58"} 
[2026-10-16 09:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 09:58:23] 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-10-16 09: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-10-16 09:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783857152001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783857152001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:58:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:58:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783857152001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":219773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:58:23] local.INFO: GPS data processed {"connection_id":219773,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:58:23] local.INFO: Acknowledgment sent {"connection_id":219773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:58:26] local.INFO: TCP Data received {"connection_id":218043,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:58:26] local.INFO: Processing buffer {"connection_id":218043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:58:26] local.INFO: IMEI packet received {"connection_id":218043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":218043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:58:27] local.INFO: TCP Data received {"connection_id":218043,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:58:27] local.INFO: Processing buffer {"connection_id":218043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f35248012d7d3fc005ec0ec0000001392a..."} 
[2026-10-16 09:58:27] local.INFO: Packet analysis {"connection_id":218043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:58:27] local.INFO: Extracted packet for processing {"connection_id":218043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f3"} 
[2026-10-16 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783821824001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] 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-10-16 09:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792124605000,"timestamp_ms":1792124605000,"timestamp_seconds":1792124605,"priority":1,"record_length":96,"hex_timestamp":"000001a142f35248"} 
[2026-10-16 09:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3927119873,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485641,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1353331688026152704,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960629248,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-875948832637485051,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:27] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,239,161,26,45,64,14,31,10,66,110,19,192,32,240,55,227,236,1,4,113,205,2,15,57,88,30,5,84,233],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 09:58:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344306053283840,"timestamp_seconds":344306053283.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 09:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783821824001,"66":13200,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783821824001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:58:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:58:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783821824001,"power":13200,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":218043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:58:27] local.INFO: GPS data processed {"connection_id":218043,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:58:27] local.INFO: Acknowledgment sent {"connection_id":218043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:58:45] local.INFO: TCP Data received {"connection_id":218042,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f605b0012d196900071fed50003a01112c..."} 
[2026-10-16 09:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f605b0012d196900071fed50003a01112c..."} 
[2026-10-16 09:58:45] local.INFO: Processing buffer {"connection_id":218042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f605b0012d196900071fed50003a01112c..."} 
[2026-10-16 09:58:45] local.INFO: Packet analysis {"connection_id":218042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f6"} 
[2026-10-16 09:58:45] local.INFO: Extracted packet for processing {"connection_id":218042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f6"} 
[2026-10-16 09:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783938816001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792124782000,"timestamp_ms":1792124782000,"timestamp_seconds":1792124782,"priority":1,"record_length":96,"hex_timestamp":"000001a142f605b0"} 
[2026-10-16 09:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:58:45] 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-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:58:45] 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-10-16 09: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-10-16 09:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783938816001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783938816001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:58:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783938816001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":218042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:58:45] local.INFO: GPS data processed {"connection_id":218042,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:58:45] local.INFO: Acknowledgment sent {"connection_id":218042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:58:55] local.INFO: TCP Data received {"connection_id":219773,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:58:55] local.INFO: Processing buffer {"connection_id":219773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:58:55] local.INFO: Packet analysis {"connection_id":219773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:58:55] local.INFO: Extracted packet for processing {"connection_id":219773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783857152001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792124743000,"timestamp_ms":1792124743000,"timestamp_seconds":1792124743,"priority":1,"record_length":96,"hex_timestamp":"000001a142f56d58"} 
[2026-10-16 09:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 09:58:55] 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-10-16 09: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-10-16 09:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783857152001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783857152001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:58:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:58:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783857152001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":219773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:58:55] local.INFO: GPS data processed {"connection_id":219773,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:58:55] local.INFO: Acknowledgment sent {"connection_id":219773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:58:58] local.INFO: TCP Data received {"connection_id":218043,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 09:58:58] local.INFO: Processing buffer {"connection_id":218043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 09:58:58] local.INFO: Packet analysis {"connection_id":218043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 09:58:58] local.INFO: Extracted packet for processing {"connection_id":218043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783898880001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:58:58] 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-10-16 09:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792124906000,"timestamp_ms":1792124906000,"timestamp_seconds":1792124906,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7ea10"} 
[2026-10-16 09:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 09:58:58] 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-10-16 09: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-10-16 09:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783898880001,"66":13091,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783898880001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:58:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783898880001,"power":13091,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":218043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:58:58] local.INFO: GPS data processed {"connection_id":218043,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:58:58] local.INFO: Acknowledgment sent {"connection_id":218043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:59:07] local.INFO: TCP Data received {"connection_id":216501,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:59:07] local.INFO: Processing buffer {"connection_id":216501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:59:07] local.INFO: IMEI packet received {"connection_id":216501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 09:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":216501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:59:13] local.INFO: TCP Data received {"connection_id":216501,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:59:13] local.INFO: Processing buffer {"connection_id":216501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 09:59:13] local.INFO: IMEI packet received {"connection_id":216501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 09:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":216501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:59:13] local.INFO: TCP Data received {"connection_id":216501,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f657b8012d196900071fed50003a01112e..."} 
[2026-10-16 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f657b8012d196900071fed50003a01112e..."} 
[2026-10-16 09:59:13] local.INFO: Processing buffer {"connection_id":216501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f657b8012d196900071fed50003a01112e..."} 
[2026-10-16 09:59:13] local.INFO: Packet analysis {"connection_id":216501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f6"} 
[2026-10-16 09:59:13] local.INFO: Extracted packet for processing {"connection_id":216501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f6"} 
[2026-10-16 09:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783944192001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792124803000,"timestamp_ms":1792124803000,"timestamp_seconds":1792124803,"priority":1,"record_length":96,"hex_timestamp":"000001a142f657b8"} 
[2026-10-16 09:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:59: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-10-16 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:59: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-10-16 09: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-10-16 09:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783944192001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783944192001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:59:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783944192001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":216501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:59:13] local.INFO: GPS data processed {"connection_id":216501,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:59:13] local.INFO: Acknowledgment sent {"connection_id":216501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:59:16] local.INFO: TCP Data received {"connection_id":219774,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:59:16] local.INFO: Processing buffer {"connection_id":219774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:59:16] local.INFO: IMEI packet received {"connection_id":219774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 09:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":219774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:59:21] local.INFO: TCP Data received {"connection_id":216502,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:59:21] local.INFO: Processing buffer {"connection_id":216502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:59:21] local.INFO: IMEI packet received {"connection_id":216502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 09:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":216502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 09:59:22] local.INFO: TCP Data received {"connection_id":219774,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:59:22] local.INFO: Processing buffer {"connection_id":219774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 09:59:22] local.INFO: IMEI packet received {"connection_id":219774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 09:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":219774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:59:24] local.INFO: TCP Data received {"connection_id":219774,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:59:24] local.INFO: Processing buffer {"connection_id":219774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:59:24] local.INFO: Packet analysis {"connection_id":219774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:59:24] local.INFO: Extracted packet for processing {"connection_id":219774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:59: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-10-16 09:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783857152001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792124743000,"timestamp_ms":1792124743000,"timestamp_seconds":1792124743,"priority":1,"record_length":96,"hex_timestamp":"000001a142f56d58"} 
[2026-10-16 09:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:59: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 09:59:24] 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-10-16 09:59: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-10-16 09:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783857152001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783857152001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:59:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:59:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783857152001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":219774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:59:24] local.INFO: GPS data processed {"connection_id":219774,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:59:24] local.INFO: Acknowledgment sent {"connection_id":219774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:59:26] local.INFO: TCP Data received {"connection_id":216502,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:59:26] local.INFO: Processing buffer {"connection_id":216502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 09:59:26] local.INFO: IMEI packet received {"connection_id":216502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 09:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":216502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 09:59:27] local.INFO: TCP Data received {"connection_id":216502,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 09:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 09:59:27] local.INFO: Processing buffer {"connection_id":216502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 09:59:27] local.INFO: Packet analysis {"connection_id":216502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 09:59:27] local.INFO: Extracted packet for processing {"connection_id":216502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 09:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783898880001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:27] 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-10-16 09:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792124906000,"timestamp_ms":1792124906000,"timestamp_seconds":1792124906,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7ea10"} 
[2026-10-16 09:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 09:59:27] 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-10-16 09:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783898880001,"66":13091,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783898880001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:59:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:59:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783898880001,"power":13091,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":216502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:59:27] local.INFO: GPS data processed {"connection_id":216502,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:59:27] local.INFO: Acknowledgment sent {"connection_id":216502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:59:44] local.INFO: TCP Data received {"connection_id":216501,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f6ada8012d196900071fed50003a01112e..."} 
[2026-10-16 09:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f6ada8012d196900071fed50003a01112e..."} 
[2026-10-16 09:59:44] local.INFO: Processing buffer {"connection_id":216501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f6ada8012d196900071fed50003a01112e..."} 
[2026-10-16 09:59:44] local.INFO: Packet analysis {"connection_id":216501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f6"} 
[2026-10-16 09:59:44] local.INFO: Extracted packet for processing {"connection_id":216501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f6"} 
[2026-10-16 09:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 09: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-10-16 09:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783949568001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792124825000,"timestamp_ms":1792124825000,"timestamp_seconds":1792124825,"priority":1,"record_length":96,"hex_timestamp":"000001a142f6ada8"} 
[2026-10-16 09:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:59: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-10-16 09: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":140,"data_length":795,"current_offset":136} 
[2026-10-16 09:59: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-10-16 09: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-10-16 09:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 09:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 09:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 09:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783949568001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 09:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 09:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 09:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783949568001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:59:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 09:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 09:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 09:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783949568001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 09:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":216501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:59:45] local.INFO: GPS data processed {"connection_id":216501,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:59:45] local.INFO: Acknowledgment sent {"connection_id":216501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:59:56] local.INFO: TCP Data received {"connection_id":219774,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:59:56] local.INFO: Processing buffer {"connection_id":219774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 09:59:56] local.INFO: Packet analysis {"connection_id":219774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:59:56] local.INFO: Extracted packet for processing {"connection_id":219774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 09:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 09:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783857152001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 09:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792124743000,"timestamp_ms":1792124743000,"timestamp_seconds":1792124743,"priority":1,"record_length":96,"hex_timestamp":"000001a142f56d58"} 
[2026-10-16 09:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:59: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-10-16 09:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 09:59:56] 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-10-16 09:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 09:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 09:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 09:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783857152001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 09:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 09:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 09:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783857152001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:59:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 09:59:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 09:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 09:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783857152001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 09:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":219774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:59:56] local.INFO: GPS data processed {"connection_id":219774,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:59:56] local.INFO: Acknowledgment sent {"connection_id":219774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 09:59:58] local.INFO: TCP Data received {"connection_id":216502,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 09:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 09:59:58] local.INFO: Processing buffer {"connection_id":216502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 09:59:58] local.INFO: Packet analysis {"connection_id":216502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 09:59:58] local.INFO: Extracted packet for processing {"connection_id":216502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 09:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 09:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 09:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783898880001,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 09:59:58] 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-10-16 09:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792124906000,"timestamp_ms":1792124906000,"timestamp_seconds":1792124906,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7ea10"} 
[2026-10-16 09:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 09:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 09:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 09:59:58] 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-10-16 09:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 09:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 09:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 09:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 09:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 09:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 09:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 09:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 09:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783898880001,"66":13091,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 09:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 09:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 09:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783898880001,"description":"Unknown IO ID 0"} 
[2026-10-16 09:59:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 09:59:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 09:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 09:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 09:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783898880001,"power":13091,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 09:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":216502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 09:59:58] local.INFO: GPS data processed {"connection_id":216502,"processed":1,"errors":0,"total":1} 
[2026-10-16 09:59:58] local.INFO: Acknowledgment sent {"connection_id":216502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:00:10] local.INFO: TCP Data received {"connection_id":218044,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:00:10] local.INFO: Processing buffer {"connection_id":218044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:00:10] local.INFO: IMEI packet received {"connection_id":218044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":218044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:00:11] local.INFO: TCP Data received {"connection_id":219775,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:00:11] local.INFO: Processing buffer {"connection_id":219775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:00:11] local.INFO: IMEI packet received {"connection_id":219775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":219775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:00:13] local.INFO: TCP Data received {"connection_id":218044,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:00:13] local.INFO: Processing buffer {"connection_id":218044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:00:13] local.INFO: IMEI packet received {"connection_id":218044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":218044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:00:18] local.INFO: TCP Data received {"connection_id":218044,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:00:18] local.INFO: Processing buffer {"connection_id":218044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:00:18] local.INFO: IMEI packet received {"connection_id":218044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":218044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:00:18] local.INFO: TCP Data received {"connection_id":218044,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f6ffb0012d196900071fed50003a01112c..."} 
[2026-10-16 10:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f6ffb0012d196900071fed50003a01112c..."} 
[2026-10-16 10:00:18] local.INFO: Processing buffer {"connection_id":218044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f6ffb0012d196900071fed50003a01112c..."} 
[2026-10-16 10:00:18] local.INFO: Packet analysis {"connection_id":218044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f6"} 
[2026-10-16 10:00:18] local.INFO: Extracted packet for processing {"connection_id":218044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f6"} 
[2026-10-16 10:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783955200001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792124846000,"timestamp_ms":1792124846000,"timestamp_seconds":1792124846,"priority":1,"record_length":96,"hex_timestamp":"000001a142f6ffb0"} 
[2026-10-16 10:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:00:18] 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-10-16 10:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 10:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":218044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":218044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":218044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783955200001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783955200001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783955200001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":218044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:00:19] local.INFO: GPS data processed {"connection_id":218044,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:00:19] local.INFO: Acknowledgment sent {"connection_id":218044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:00:22] local.INFO: TCP Data received {"connection_id":218045,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:00:22] local.INFO: Processing buffer {"connection_id":218045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:00:22] local.INFO: IMEI packet received {"connection_id":218045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":218045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:00:23] local.INFO: TCP Data received {"connection_id":218044,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f751b8012d196900071fed50003a01112b..."} 
[2026-10-16 10:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f751b8012d196900071fed50003a01112b..."} 
[2026-10-16 10:00:23] local.INFO: Processing buffer {"connection_id":218044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f751b8012d196900071fed50003a01112b..."} 
[2026-10-16 10:00:23] local.INFO: Packet analysis {"connection_id":218044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:00:23] local.INFO: Extracted packet for processing {"connection_id":218044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:00: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-10-16 10:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783960576001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792124867000,"timestamp_ms":1792124867000,"timestamp_seconds":1792124867,"priority":1,"record_length":96,"hex_timestamp":"000001a142f751b8"} 
[2026-10-16 10:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 10:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:00: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-10-16 10:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783960576001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783960576001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:00:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783960576001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":218044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:00:23] local.INFO: GPS data processed {"connection_id":218044,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:00:23] local.INFO: Acknowledgment sent {"connection_id":218044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:00:26] local.INFO: TCP Data received {"connection_id":216503,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:00:26] local.INFO: Processing buffer {"connection_id":216503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:00:26] local.INFO: IMEI packet received {"connection_id":216503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":216503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:00:27] local.INFO: TCP Data received {"connection_id":218045,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:00:27] local.INFO: Processing buffer {"connection_id":218045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:00:27] local.INFO: IMEI packet received {"connection_id":218045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":218045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:00:29] local.INFO: TCP Data received {"connection_id":218045,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:00:29] local.INFO: Processing buffer {"connection_id":218045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:00:29] local.INFO: Packet analysis {"connection_id":218045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 10:00:29] local.INFO: Extracted packet for processing {"connection_id":218045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 10:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783857152001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792124743000,"timestamp_ms":1792124743000,"timestamp_seconds":1792124743,"priority":1,"record_length":96,"hex_timestamp":"000001a142f56d58"} 
[2026-10-16 10:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:00:29] 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-10-16 10:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783857152001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783857152001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:00:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:00:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783857152001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":218045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:00:29] local.INFO: GPS data processed {"connection_id":218045,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:00:29] local.INFO: Acknowledgment sent {"connection_id":218045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:00:31] local.INFO: TCP Data received {"connection_id":216503,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:00:31] local.INFO: Processing buffer {"connection_id":216503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:00:31] local.INFO: IMEI packet received {"connection_id":216503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":216503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:00:32] local.INFO: TCP Data received {"connection_id":216503,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:00:32] local.INFO: Processing buffer {"connection_id":216503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:00:32] local.INFO: Packet analysis {"connection_id":216503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:00:32] local.INFO: Extracted packet for processing {"connection_id":216503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783898880001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792124906000,"timestamp_ms":1792124906000,"timestamp_seconds":1792124906,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7ea10"} 
[2026-10-16 10:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 10:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783898880001,"66":13091,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783898880001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:00:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:00:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783898880001,"power":13091,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":216503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:00:32] local.INFO: GPS data processed {"connection_id":216503,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:00:32] local.INFO: Acknowledgment sent {"connection_id":216503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:00:33] local.INFO: TCP Data received {"connection_id":218045,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:00:33] local.INFO: Processing buffer {"connection_id":218045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f56d58012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:00:33] local.INFO: Packet analysis {"connection_id":218045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 10:00:33] local.INFO: Extracted packet for processing {"connection_id":218045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f5"} 
[2026-10-16 10:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783857152001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792124743000,"timestamp_ms":1792124743000,"timestamp_seconds":1792124743,"priority":1,"record_length":96,"hex_timestamp":"000001a142f56d58"} 
[2026-10-16 10:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":218045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":218045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":218045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783857152001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783857152001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783857152001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":218045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:00:33] local.INFO: GPS data processed {"connection_id":218045,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:00:33] local.INFO: Acknowledgment sent {"connection_id":218045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:00:36] local.INFO: TCP Data received {"connection_id":216503,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:00:36] local.INFO: Processing buffer {"connection_id":216503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:00:36] local.INFO: Packet analysis {"connection_id":216503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:00:36] local.INFO: Extracted packet for processing {"connection_id":216503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783898880001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:00: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-10-16 10:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792124906000,"timestamp_ms":1792124906000,"timestamp_seconds":1792124906,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7ea10"} 
[2026-10-16 10:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 10:00: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-10-16 10: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-10-16 10:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783898880001,"66":13091,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783898880001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:00:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:00:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783898880001,"power":13091,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":216503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:00:36] local.INFO: GPS data processed {"connection_id":216503,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:00:36] local.INFO: Acknowledgment sent {"connection_id":216503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:00:54] local.INFO: TCP Data received {"connection_id":218046,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:00:54] local.INFO: Processing buffer {"connection_id":218046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:00:54] local.INFO: IMEI packet received {"connection_id":218046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":218046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:01:07] local.INFO: TCP Data received {"connection_id":218047,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:01:07] local.INFO: Processing buffer {"connection_id":218047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:01:07] local.INFO: IMEI packet received {"connection_id":218047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":218047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:01:13] local.INFO: TCP Data received {"connection_id":218047,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:01:13] local.INFO: Processing buffer {"connection_id":218047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:01:13] local.INFO: IMEI packet received {"connection_id":218047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":218047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:01:13] local.INFO: TCP Data received {"connection_id":218047,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f79fd8012d196900071fed50003a01112d..."} 
[2026-10-16 10:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f79fd8012d196900071fed50003a01112d..."} 
[2026-10-16 10:01:13] local.INFO: Processing buffer {"connection_id":218047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f79fd8012d196900071fed50003a01112d..."} 
[2026-10-16 10:01:13] local.INFO: Packet analysis {"connection_id":218047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:01:13] local.INFO: Extracted packet for processing {"connection_id":218047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783965952001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792124887000,"timestamp_ms":1792124887000,"timestamp_seconds":1792124887,"priority":1,"record_length":96,"hex_timestamp":"000001a142f79fd8"} 
[2026-10-16 10:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:01: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-10-16 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 10:01: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-10-16 10: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-10-16 10:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783965952001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783965952001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:01:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783965952001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":218047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:01:13] local.INFO: GPS data processed {"connection_id":218047,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:01:13] local.INFO: Acknowledgment sent {"connection_id":218047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:01:16] local.INFO: TCP Data received {"connection_id":216504,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:01:16] local.INFO: Processing buffer {"connection_id":216504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:01:16] local.INFO: IMEI packet received {"connection_id":216504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":216504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:01:21] local.INFO: TCP Data received {"connection_id":219776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:01:21] local.INFO: Processing buffer {"connection_id":219776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:01:21] local.INFO: IMEI packet received {"connection_id":219776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":219776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:01:22] local.INFO: TCP Data received {"connection_id":216504,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:01:22] local.INFO: Processing buffer {"connection_id":216504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:01:22] local.INFO: IMEI packet received {"connection_id":216504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":216504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:01:23] local.INFO: TCP Data received {"connection_id":216504,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:01:23] local.INFO: Processing buffer {"connection_id":216504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:01:23] local.INFO: Packet analysis {"connection_id":216504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:01:23] local.INFO: Extracted packet for processing {"connection_id":216504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:01:23] 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-10-16 10: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-10-16 10:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:01:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:01:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":216504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:01:23] local.INFO: GPS data processed {"connection_id":216504,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:01:23] local.INFO: Acknowledgment sent {"connection_id":216504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:01:26] local.INFO: TCP Data received {"connection_id":219776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:01:26] local.INFO: Processing buffer {"connection_id":219776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:01:26] local.INFO: IMEI packet received {"connection_id":219776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":219776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:01:29] local.INFO: TCP Data received {"connection_id":219776,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:01:29] local.INFO: Processing buffer {"connection_id":219776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:01:29] local.INFO: Packet analysis {"connection_id":219776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:01:29] local.INFO: Extracted packet for processing {"connection_id":219776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783898880001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:29] 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-10-16 10:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792124906000,"timestamp_ms":1792124906000,"timestamp_seconds":1792124906,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7ea10"} 
[2026-10-16 10:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 10:01:29] 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-10-16 10:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783898880001,"66":13091,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783898880001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:01:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:01:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783898880001,"power":13091,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":219776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:01:30] local.INFO: GPS data processed {"connection_id":219776,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:01:30] local.INFO: Acknowledgment sent {"connection_id":219776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:01:45] local.INFO: TCP Data received {"connection_id":218047,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7f1e0012d196900071fed50003a01112a..."} 
[2026-10-16 10:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7f1e0012d196900071fed50003a01112a..."} 
[2026-10-16 10:01:45] local.INFO: Processing buffer {"connection_id":218047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7f1e0012d196900071fed50003a01112a..."} 
[2026-10-16 10:01:45] local.INFO: Packet analysis {"connection_id":218047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:01:45] local.INFO: Extracted packet for processing {"connection_id":218047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:01: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-10-16 10:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783971072001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792124908000,"timestamp_ms":1792124908000,"timestamp_seconds":1792124908,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7f1e0"} 
[2026-10-16 10:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:01:45] 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-10-16 10:01: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":151,"data_length":795,"current_offset":136} 
[2026-10-16 10:01:45] 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-10-16 10:01: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-10-16 10:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783971072001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783971072001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:01:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783971072001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":218047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:01:45] local.INFO: GPS data processed {"connection_id":218047,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:01:45] local.INFO: Acknowledgment sent {"connection_id":218047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:01:55] local.INFO: TCP Data received {"connection_id":216504,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:01:55] local.INFO: Processing buffer {"connection_id":216504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:01:55] local.INFO: Packet analysis {"connection_id":216504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:01:55] local.INFO: Extracted packet for processing {"connection_id":216504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:01:55] 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-10-16 10:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:01:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:01:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":216504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:01:55] local.INFO: GPS data processed {"connection_id":216504,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:01:55] local.INFO: Acknowledgment sent {"connection_id":216504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:02:01] local.INFO: TCP Data received {"connection_id":219776,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:02:01] local.INFO: Processing buffer {"connection_id":219776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:02:01] local.INFO: Packet analysis {"connection_id":219776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:02:01] local.INFO: Extracted packet for processing {"connection_id":219776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783898880001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:01] 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-10-16 10:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792124906000,"timestamp_ms":1792124906000,"timestamp_seconds":1792124906,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7ea10"} 
[2026-10-16 10:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 10:02:01] 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-10-16 10:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783898880001,"66":13091,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783898880001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:02:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:02:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783898880001,"power":13091,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":219776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:02:01] local.INFO: GPS data processed {"connection_id":219776,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:02:01] local.INFO: Acknowledgment sent {"connection_id":219776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:02:07] local.INFO: TCP Data received {"connection_id":216698,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:02:07] local.INFO: Processing buffer {"connection_id":216698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:02:07] local.INFO: IMEI packet received {"connection_id":216698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":216698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:02:13] local.INFO: TCP Data received {"connection_id":216698,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:02:13] local.INFO: Processing buffer {"connection_id":216698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:02:13] local.INFO: IMEI packet received {"connection_id":216698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":216698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:02:13] local.INFO: TCP Data received {"connection_id":216698,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f843e8012d196900071fed50003a01112a..."} 
[2026-10-16 10:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f843e8012d196900071fed50003a01112a..."} 
[2026-10-16 10:02:14] local.INFO: Processing buffer {"connection_id":216698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f843e8012d196900071fed50003a01112a..."} 
[2026-10-16 10:02:14] local.INFO: Packet analysis {"connection_id":216698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f8"} 
[2026-10-16 10:02:14] local.INFO: Extracted packet for processing {"connection_id":216698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f8"} 
[2026-10-16 10:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783976448001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792124929000,"timestamp_ms":1792124929000,"timestamp_seconds":1792124929,"priority":1,"record_length":96,"hex_timestamp":"000001a142f843e8"} 
[2026-10-16 10:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:02:14] 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-10-16 10:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 10:02:14] 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-10-16 10:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783976448001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783976448001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:02:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783976448001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":216698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:02:14] local.INFO: GPS data processed {"connection_id":216698,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:02:14] local.INFO: Acknowledgment sent {"connection_id":216698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:02:16] local.INFO: TCP Data received {"connection_id":218048,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:02:16] local.INFO: Processing buffer {"connection_id":218048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:02:16] local.INFO: IMEI packet received {"connection_id":218048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":218048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:02:21] local.INFO: TCP Data received {"connection_id":218049,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:02:21] local.INFO: Processing buffer {"connection_id":218049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:02:21] local.INFO: IMEI packet received {"connection_id":218049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":218049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:02:22] local.INFO: TCP Data received {"connection_id":218048,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:02:22] local.INFO: Processing buffer {"connection_id":218048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:02:22] local.INFO: IMEI packet received {"connection_id":218048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":218048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:02:23] local.INFO: TCP Data received {"connection_id":218048,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:02:24] local.INFO: Processing buffer {"connection_id":218048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:02:24] local.INFO: Packet analysis {"connection_id":218048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:02:24] local.INFO: Extracted packet for processing {"connection_id":218048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:02:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:02: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-10-16 10:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:02:24] 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-10-16 10:02: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-10-16 10:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":218048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":218048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":218048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:02:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:02:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":218048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:02:24] local.INFO: GPS data processed {"connection_id":218048,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:02:24] local.INFO: Acknowledgment sent {"connection_id":218048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:02:26] local.INFO: TCP Data received {"connection_id":218049,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:02:26] local.INFO: Processing buffer {"connection_id":218049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:02:26] local.INFO: IMEI packet received {"connection_id":218049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":218049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:02:27] local.INFO: TCP Data received {"connection_id":218049,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:02:27] local.INFO: Processing buffer {"connection_id":218049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:02:27] local.INFO: Packet analysis {"connection_id":218049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:02:27] local.INFO: Extracted packet for processing {"connection_id":218049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783898880001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:27] 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-10-16 10:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792124906000,"timestamp_ms":1792124906000,"timestamp_seconds":1792124906,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7ea10"} 
[2026-10-16 10:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 10:02:27] 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-10-16 10:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783898880001,"66":13091,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783898880001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:02:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:02:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783898880001,"power":13091,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":218049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:02:27] local.INFO: GPS data processed {"connection_id":218049,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:02:27] local.INFO: Acknowledgment sent {"connection_id":218049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:02:45] local.INFO: TCP Data received {"connection_id":216698,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f895f0012d196900071fed50003a01112b..."} 
[2026-10-16 10:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f895f0012d196900071fed50003a01112b..."} 
[2026-10-16 10:02:45] local.INFO: Processing buffer {"connection_id":216698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f895f0012d196900071fed50003a01112b..."} 
[2026-10-16 10:02:45] local.INFO: Packet analysis {"connection_id":216698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f8"} 
[2026-10-16 10:02:45] local.INFO: Extracted packet for processing {"connection_id":216698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f8"} 
[2026-10-16 10:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783981824001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792124950000,"timestamp_ms":1792124950000,"timestamp_seconds":1792124950,"priority":1,"record_length":96,"hex_timestamp":"000001a142f895f0"} 
[2026-10-16 10:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:02:45] 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-10-16 10:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:02:45] 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-10-16 10:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783981824001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783981824001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:02:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783981824001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":216698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:02:45] local.INFO: GPS data processed {"connection_id":216698,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:02:45] local.INFO: Acknowledgment sent {"connection_id":216698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:02:55] local.INFO: TCP Data received {"connection_id":218048,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:02:55] local.INFO: Processing buffer {"connection_id":218048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:02:55] local.INFO: Packet analysis {"connection_id":218048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:02:55] local.INFO: Extracted packet for processing {"connection_id":218048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:02: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-10-16 10:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:02:55] 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-10-16 10:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:02:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:02:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":218048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:02:55] local.INFO: GPS data processed {"connection_id":218048,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:02:55] local.INFO: Acknowledgment sent {"connection_id":218048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:02:58] local.INFO: TCP Data received {"connection_id":218049,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:02:58] local.INFO: Processing buffer {"connection_id":218049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:02:58] local.INFO: Packet analysis {"connection_id":218049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:02:58] local.INFO: Extracted packet for processing {"connection_id":218049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783898880001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:02:58] 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-10-16 10:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792124906000,"timestamp_ms":1792124906000,"timestamp_seconds":1792124906,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7ea10"} 
[2026-10-16 10:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 10:02:58] 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-10-16 10:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783898880001,"66":13091,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783898880001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:02:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783898880001,"power":13091,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":218049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:02:58] local.INFO: GPS data processed {"connection_id":218049,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:02:58] local.INFO: Acknowledgment sent {"connection_id":218049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:03:07] local.INFO: TCP Data received {"connection_id":216699,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:03:07] local.INFO: Processing buffer {"connection_id":216699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:03:07] local.INFO: IMEI packet received {"connection_id":216699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":216699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:03:13] local.INFO: TCP Data received {"connection_id":216699,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:03:13] local.INFO: Processing buffer {"connection_id":216699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:03:13] local.INFO: IMEI packet received {"connection_id":216699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":216699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:03:13] local.INFO: TCP Data received {"connection_id":216699,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f8e7f8012d196900071fed50003a01112c..."} 
[2026-10-16 10:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f8e7f8012d196900071fed50003a01112c..."} 
[2026-10-16 10:03:13] local.INFO: Processing buffer {"connection_id":216699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f8e7f8012d196900071fed50003a01112c..."} 
[2026-10-16 10:03:13] local.INFO: Packet analysis {"connection_id":216699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f8"} 
[2026-10-16 10:03:13] local.INFO: Extracted packet for processing {"connection_id":216699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f8"} 
[2026-10-16 10:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783987200001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792124971000,"timestamp_ms":1792124971000,"timestamp_seconds":1792124971,"priority":1,"record_length":96,"hex_timestamp":"000001a142f8e7f8"} 
[2026-10-16 10:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:03: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-10-16 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 10:03: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-10-16 10: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-10-16 10:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783987200001,"66":12113,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783987200001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:03:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783987200001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":216699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:03:13] local.INFO: GPS data processed {"connection_id":216699,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:03:13] local.INFO: Acknowledgment sent {"connection_id":216699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:03:16] local.INFO: TCP Data received {"connection_id":219778,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:03:16] local.INFO: Processing buffer {"connection_id":219778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:03:16] local.INFO: IMEI packet received {"connection_id":219778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":219778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:03:21] local.INFO: TCP Data received {"connection_id":216506,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:03:21] local.INFO: Processing buffer {"connection_id":216506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:03:21] local.INFO: IMEI packet received {"connection_id":216506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":216506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:03:22] local.INFO: TCP Data received {"connection_id":219778,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:03:22] local.INFO: Processing buffer {"connection_id":219778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:03:22] local.INFO: IMEI packet received {"connection_id":219778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":219778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:03:23] local.INFO: TCP Data received {"connection_id":219778,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:03:23] local.INFO: Processing buffer {"connection_id":219778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:03:23] local.INFO: Packet analysis {"connection_id":219778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:03:23] local.INFO: Extracted packet for processing {"connection_id":219778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:03:23] 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-10-16 10:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:03:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:03:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":219778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:03:23] local.INFO: GPS data processed {"connection_id":219778,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:03:23] local.INFO: Acknowledgment sent {"connection_id":219778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:03:26] local.INFO: TCP Data received {"connection_id":216506,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:03:26] local.INFO: Processing buffer {"connection_id":216506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:03:26] local.INFO: IMEI packet received {"connection_id":216506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":216506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:03:27] local.INFO: TCP Data received {"connection_id":216506,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:03:27] local.INFO: Processing buffer {"connection_id":216506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f7ea10012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:03:27] local.INFO: Packet analysis {"connection_id":216506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:03:27] local.INFO: Extracted packet for processing {"connection_id":216506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f7"} 
[2026-10-16 10:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783898880001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:27] 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-10-16 10:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792124906000,"timestamp_ms":1792124906000,"timestamp_seconds":1792124906,"priority":1,"record_length":96,"hex_timestamp":"000001a142f7ea10"} 
[2026-10-16 10:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 10:03:27] 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-10-16 10:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783898880001,"66":13091,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783898880001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:03:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:03:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783898880001,"power":13091,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":216506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:03:27] local.INFO: GPS data processed {"connection_id":216506,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:03:27] local.INFO: Acknowledgment sent {"connection_id":216506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:03:47] local.INFO: TCP Data received {"connection_id":216699,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f93a00012d196900071fed50003a01112c..."} 
[2026-10-16 10:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f93a00012d196900071fed50003a01112c..."} 
[2026-10-16 10:03:47] local.INFO: Processing buffer {"connection_id":216699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f93a00012d196900071fed50003a01112c..."} 
[2026-10-16 10:03:47] local.INFO: Packet analysis {"connection_id":216699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f9"} 
[2026-10-16 10:03:47] local.INFO: Extracted packet for processing {"connection_id":216699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f9"} 
[2026-10-16 10:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783992576001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792124992000,"timestamp_ms":1792124992000,"timestamp_seconds":1792124992,"priority":1,"record_length":96,"hex_timestamp":"000001a142f93a00"} 
[2026-10-16 10:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-10-16 10:03:47] 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-10-16 10:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783992576001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783992576001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:03:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:03:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783992576001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":216699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:03:47] local.INFO: GPS data processed {"connection_id":216699,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:03:47] local.INFO: Acknowledgment sent {"connection_id":216699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:03:55] local.INFO: TCP Data received {"connection_id":219778,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:03:55] local.INFO: Processing buffer {"connection_id":219778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:03:55] local.INFO: Packet analysis {"connection_id":219778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:03:55] local.INFO: Extracted packet for processing {"connection_id":219778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:03:55] 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-10-16 10:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:03:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:03:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":219778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:03:55] local.INFO: GPS data processed {"connection_id":219778,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:03:55] local.INFO: Acknowledgment sent {"connection_id":219778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:03:58] local.INFO: TCP Data received {"connection_id":216506,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:03:58] local.INFO: Processing buffer {"connection_id":216506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:03:58] local.INFO: Packet analysis {"connection_id":216506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:03:58] local.INFO: Extracted packet for processing {"connection_id":216506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783975936001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:03:58] 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-10-16 10:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792125207000,"timestamp_ms":1792125207000,"timestamp_seconds":1792125207,"priority":1,"record_length":96,"hex_timestamp":"000001a142fc81d8"} 
[2026-10-16 10:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 10:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783975936001,"66":12809,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783975936001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:03:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:03:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783975936001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":216506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:03:58] local.INFO: GPS data processed {"connection_id":216506,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:03:58] local.INFO: Acknowledgment sent {"connection_id":216506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:04:07] local.INFO: TCP Data received {"connection_id":219779,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:04:07] local.INFO: Processing buffer {"connection_id":219779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:04:07] local.INFO: IMEI packet received {"connection_id":219779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":219779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:04:13] local.INFO: TCP Data received {"connection_id":219779,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:04:13] local.INFO: Processing buffer {"connection_id":219779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:04:13] local.INFO: IMEI packet received {"connection_id":219779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":219779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:04:13] local.INFO: TCP Data received {"connection_id":219779,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f98c08012d196900071fed50003a01112c..."} 
[2026-10-16 10:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f98c08012d196900071fed50003a01112c..."} 
[2026-10-16 10:04:13] local.INFO: Processing buffer {"connection_id":219779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f98c08012d196900071fed50003a01112c..."} 
[2026-10-16 10:04:13] local.INFO: Packet analysis {"connection_id":219779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f9"} 
[2026-10-16 10:04:13] local.INFO: Extracted packet for processing {"connection_id":219779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f9"} 
[2026-10-16 10:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783997952001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792125013000,"timestamp_ms":1792125013000,"timestamp_seconds":1792125013,"priority":1,"record_length":96,"hex_timestamp":"000001a142f98c08"} 
[2026-10-16 10:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:04: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-10-16 10:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:04: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-10-16 10: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-10-16 10:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783997952001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783997952001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:04:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783997952001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":219779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:04:13] local.INFO: GPS data processed {"connection_id":219779,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:04:13] local.INFO: Acknowledgment sent {"connection_id":219779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:04:21] local.INFO: TCP Data received {"connection_id":219780,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:04:21] local.INFO: Processing buffer {"connection_id":219780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:04:21] local.INFO: IMEI packet received {"connection_id":219780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":219780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:04:22] local.INFO: TCP Data received {"connection_id":216507,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:04:22] local.INFO: Processing buffer {"connection_id":216507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:04:22] local.INFO: IMEI packet received {"connection_id":216507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":216507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:04:26] local.INFO: TCP Data received {"connection_id":219780,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:04:26] local.INFO: Processing buffer {"connection_id":219780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:04:26] local.INFO: IMEI packet received {"connection_id":219780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":219780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:04:27] local.INFO: TCP Data received {"connection_id":219780,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:04:27] local.INFO: Processing buffer {"connection_id":219780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:04:27] local.INFO: Packet analysis {"connection_id":219780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:04:27] local.INFO: Extracted packet for processing {"connection_id":219780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783975936001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:27] 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-10-16 10:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125207000,"timestamp_ms":1792125207000,"timestamp_seconds":1792125207,"priority":1,"record_length":96,"hex_timestamp":"000001a142fc81d8"} 
[2026-10-16 10:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 10:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783975936001,"66":12809,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783975936001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:04:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:04:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783975936001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":219780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:04:27] local.INFO: GPS data processed {"connection_id":219780,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:04:27] local.INFO: Acknowledgment sent {"connection_id":219780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:04:27] local.INFO: TCP Data received {"connection_id":216507,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:04:27] local.INFO: Processing buffer {"connection_id":216507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:04:27] local.INFO: IMEI packet received {"connection_id":216507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":216507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:04:28] local.INFO: TCP Data received {"connection_id":216507,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:04:28] local.INFO: Processing buffer {"connection_id":216507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:04:28] local.INFO: Packet analysis {"connection_id":216507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:04:28] local.INFO: Extracted packet for processing {"connection_id":216507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:04:28] 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-10-16 10:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:04:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:04:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":216507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:04:28] local.INFO: GPS data processed {"connection_id":216507,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:04:28] local.INFO: Acknowledgment sent {"connection_id":216507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:04:32] local.INFO: TCP Data received {"connection_id":216507,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:04:32] local.INFO: Processing buffer {"connection_id":216507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:04:32] local.INFO: Packet analysis {"connection_id":216507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:04:32] local.INFO: Extracted packet for processing {"connection_id":216507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:04:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:04:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":216507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:04:32] local.INFO: GPS data processed {"connection_id":216507,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:04:32] local.INFO: Acknowledgment sent {"connection_id":216507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:04:44] local.INFO: TCP Data received {"connection_id":219779,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142f9de10012d196900071fed50003a01112c..."} 
[2026-10-16 10:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142f9de10012d196900071fed50003a01112c..."} 
[2026-10-16 10:04:44] local.INFO: Processing buffer {"connection_id":219779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142f9de10012d196900071fed50003a01112c..."} 
[2026-10-16 10:04:44] local.INFO: Packet analysis {"connection_id":219779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142f9"} 
[2026-10-16 10:04:44] local.INFO: Extracted packet for processing {"connection_id":219779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142f9"} 
[2026-10-16 10:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784003328001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792125034000,"timestamp_ms":1792125034000,"timestamp_seconds":1792125034,"priority":1,"record_length":96,"hex_timestamp":"000001a142f9de10"} 
[2026-10-16 10:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:04: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-10-16 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:04: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-10-16 10: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-10-16 10:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784003328001,"66":12461,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784003328001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:04:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784003328001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":219779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:04:44] local.INFO: GPS data processed {"connection_id":219779,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:04:44] local.INFO: Acknowledgment sent {"connection_id":219779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:04:58] local.INFO: TCP Data received {"connection_id":219780,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:04:58] local.INFO: Processing buffer {"connection_id":219780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:04:58] local.INFO: Packet analysis {"connection_id":219780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:04:58] local.INFO: Extracted packet for processing {"connection_id":219780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783975936001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:04:58] 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-10-16 10:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792125207000,"timestamp_ms":1792125207000,"timestamp_seconds":1792125207,"priority":1,"record_length":96,"hex_timestamp":"000001a142fc81d8"} 
[2026-10-16 10:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 10:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783975936001,"66":12809,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783975936001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:04:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:04:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783975936001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":219780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:04:58] local.INFO: GPS data processed {"connection_id":219780,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:04:58] local.INFO: Acknowledgment sent {"connection_id":219780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:05:07] local.INFO: TCP Data received {"connection_id":218052,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:05:07] local.INFO: Processing buffer {"connection_id":218052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:05:07] local.INFO: IMEI packet received {"connection_id":218052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":218052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:05:13] local.INFO: TCP Data received {"connection_id":218052,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:05:13] local.INFO: Processing buffer {"connection_id":218052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:05:13] local.INFO: IMEI packet received {"connection_id":218052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":218052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:05:13] local.INFO: TCP Data received {"connection_id":218052,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa3018012d196900071fed50003a01112c..."} 
[2026-10-16 10:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa3018012d196900071fed50003a01112c..."} 
[2026-10-16 10:05:13] local.INFO: Processing buffer {"connection_id":218052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa3018012d196900071fed50003a01112c..."} 
[2026-10-16 10:05:13] local.INFO: Packet analysis {"connection_id":218052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:05:13] local.INFO: Extracted packet for processing {"connection_id":218052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:05:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784008704001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792125055000,"timestamp_ms":1792125055000,"timestamp_seconds":1792125055,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa3018"} 
[2026-10-16 10:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:05: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-10-16 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 10:05: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-10-16 10: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-10-16 10:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784008704001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784008704001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:05:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784008704001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":218052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:05:13] local.INFO: GPS data processed {"connection_id":218052,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:05:13] local.INFO: Acknowledgment sent {"connection_id":218052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:05:16] local.INFO: TCP Data received {"connection_id":219781,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:05:16] local.INFO: Processing buffer {"connection_id":219781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:05:16] local.INFO: IMEI packet received {"connection_id":219781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":219781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:05:20] local.INFO: TCP Data received {"connection_id":219782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:05:20] local.INFO: Processing buffer {"connection_id":219782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:05:20] local.INFO: IMEI packet received {"connection_id":219782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":219782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:05:22] local.INFO: TCP Data received {"connection_id":219781,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:05:22] local.INFO: Processing buffer {"connection_id":219781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:05:22] local.INFO: IMEI packet received {"connection_id":219781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":219781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:05:23] local.INFO: TCP Data received {"connection_id":219781,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:05:23] local.INFO: Processing buffer {"connection_id":219781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:05:23] local.INFO: Packet analysis {"connection_id":219781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:05:23] local.INFO: Extracted packet for processing {"connection_id":219781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:05:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:05:23] 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-10-16 10:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:05:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:05:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":219781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:05:23] local.INFO: GPS data processed {"connection_id":219781,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:05:23] local.INFO: Acknowledgment sent {"connection_id":219781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:05:26] local.INFO: TCP Data received {"connection_id":219782,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:05:26] local.INFO: Processing buffer {"connection_id":219782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:05:26] local.INFO: IMEI packet received {"connection_id":219782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":219782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:05:27] local.INFO: TCP Data received {"connection_id":219782,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:05:27] local.INFO: Processing buffer {"connection_id":219782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:05:27] local.INFO: Packet analysis {"connection_id":219782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:05:27] local.INFO: Extracted packet for processing {"connection_id":219782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783975936001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:27] 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-10-16 10:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125207000,"timestamp_ms":1792125207000,"timestamp_seconds":1792125207,"priority":1,"record_length":96,"hex_timestamp":"000001a142fc81d8"} 
[2026-10-16 10:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 10:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783975936001,"66":12809,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783975936001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:05:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:05:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783975936001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":219782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:05:28] local.INFO: GPS data processed {"connection_id":219782,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:05:28] local.INFO: Acknowledgment sent {"connection_id":219782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:05:44] local.INFO: TCP Data received {"connection_id":218052,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa8220012d196900071fed50003a01112d..."} 
[2026-10-16 10:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa8220012d196900071fed50003a01112d..."} 
[2026-10-16 10:05:44] local.INFO: Processing buffer {"connection_id":218052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa8220012d196900071fed50003a01112d..."} 
[2026-10-16 10:05:44] local.INFO: Packet analysis {"connection_id":218052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:05:44] local.INFO: Extracted packet for processing {"connection_id":218052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784014080001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792125076000,"timestamp_ms":1792125076000,"timestamp_seconds":1792125076,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa8220"} 
[2026-10-16 10:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:05: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-10-16 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:05: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-10-16 10: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-10-16 10:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784014080001,"66":12374,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784014080001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:05:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:05:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784014080001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":218052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:05:44] local.INFO: GPS data processed {"connection_id":218052,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:05:44] local.INFO: Acknowledgment sent {"connection_id":218052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:05:55] local.INFO: TCP Data received {"connection_id":219781,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:05:55] local.INFO: Processing buffer {"connection_id":219781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:05:55] local.INFO: Packet analysis {"connection_id":219781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:05:55] local.INFO: Extracted packet for processing {"connection_id":219781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:05:55] 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-10-16 10:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:05:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:05:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":219781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:05:55] local.INFO: GPS data processed {"connection_id":219781,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:05:55] local.INFO: Acknowledgment sent {"connection_id":219781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:05:59] local.INFO: TCP Data received {"connection_id":219782,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:05:59] local.INFO: Processing buffer {"connection_id":219782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:05:59] local.INFO: Packet analysis {"connection_id":219782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:05:59] local.INFO: Extracted packet for processing {"connection_id":219782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783975936001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:05:59] 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-10-16 10:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792125207000,"timestamp_ms":1792125207000,"timestamp_seconds":1792125207,"priority":1,"record_length":96,"hex_timestamp":"000001a142fc81d8"} 
[2026-10-16 10:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 10:05:59] 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-10-16 10: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-10-16 10:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783975936001,"66":12809,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783975936001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:05:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:05:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783975936001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":219782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:05:59] local.INFO: GPS data processed {"connection_id":219782,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:05:59] local.INFO: Acknowledgment sent {"connection_id":219782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:06:07] local.INFO: TCP Data received {"connection_id":216509,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:06:07] local.INFO: Processing buffer {"connection_id":216509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:06:07] local.INFO: IMEI packet received {"connection_id":216509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":216509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:06:13] local.INFO: TCP Data received {"connection_id":216509,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:06:13] local.INFO: Processing buffer {"connection_id":216509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:06:13] local.INFO: IMEI packet received {"connection_id":216509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":216509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:06:13] local.INFO: TCP Data received {"connection_id":216509,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142fad428012d196900071fed50003a01112d..."} 
[2026-10-16 10:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fad428012d196900071fed50003a01112d..."} 
[2026-10-16 10:06:13] local.INFO: Processing buffer {"connection_id":216509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fad428012d196900071fed50003a01112d..."} 
[2026-10-16 10:06:13] local.INFO: Packet analysis {"connection_id":216509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:06:13] local.INFO: Extracted packet for processing {"connection_id":216509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784019456001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792125097000,"timestamp_ms":1792125097000,"timestamp_seconds":1792125097,"priority":1,"record_length":96,"hex_timestamp":"000001a142fad428"} 
[2026-10-16 10:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:06: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-10-16 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-16 10:06:13] 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-10-16 10: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-10-16 10:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784019456001,"66":12026,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784019456001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:06:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784019456001,"power":12026,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":216509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:06:13] local.INFO: GPS data processed {"connection_id":216509,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:06:13] local.INFO: Acknowledgment sent {"connection_id":216509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:06:16] local.INFO: TCP Data received {"connection_id":218053,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:06:16] local.INFO: Processing buffer {"connection_id":218053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:06:16] local.INFO: IMEI packet received {"connection_id":218053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":218053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:06:21] local.INFO: TCP Data received {"connection_id":216700,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:06:21] local.INFO: Processing buffer {"connection_id":216700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:06:21] local.INFO: IMEI packet received {"connection_id":216700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":216700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:06:22] local.INFO: TCP Data received {"connection_id":218053,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:06:22] local.INFO: Processing buffer {"connection_id":218053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:06:22] local.INFO: IMEI packet received {"connection_id":218053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":218053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:06:23] local.INFO: TCP Data received {"connection_id":218053,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:06:23] local.INFO: Processing buffer {"connection_id":218053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fa0520012d7fa40005afce580009000a2f..."} 
[2026-10-16 10:06:23] local.INFO: Packet analysis {"connection_id":218053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:06:23] local.INFO: Extracted packet for processing {"connection_id":218053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fa"} 
[2026-10-16 10:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783934208001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125044000,"timestamp_ms":1792125044000,"timestamp_seconds":1792125044,"priority":1,"record_length":96,"hex_timestamp":"000001a142fa0520"} 
[2026-10-16 10:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 10:06:23] 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-10-16 10:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783934208001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783934208001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:06:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:06:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783934208001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":218053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:06:23] local.INFO: GPS data processed {"connection_id":218053,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:06:23] local.INFO: Acknowledgment sent {"connection_id":218053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:06:28] local.INFO: TCP Data received {"connection_id":219783,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:06:28] local.INFO: Processing buffer {"connection_id":219783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:06:28] local.INFO: IMEI packet received {"connection_id":219783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":219783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:06:30] local.INFO: TCP Data received {"connection_id":219783,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:06:30] local.INFO: Processing buffer {"connection_id":219783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:06:30] local.INFO: IMEI packet received {"connection_id":219783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":219783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:06:32] local.INFO: TCP Data received {"connection_id":219783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:06:32] local.INFO: Processing buffer {"connection_id":219783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:06:32] local.INFO: Packet analysis {"connection_id":219783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:06:32] local.INFO: Extracted packet for processing {"connection_id":219783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783975936001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792125207000,"timestamp_ms":1792125207000,"timestamp_seconds":1792125207,"priority":1,"record_length":96,"hex_timestamp":"000001a142fc81d8"} 
[2026-10-16 10:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 10:06:32] 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-10-16 10:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783975936001,"66":12809,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783975936001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:06:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:06:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783975936001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":219783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:06:32] local.INFO: GPS data processed {"connection_id":219783,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:06:32] local.INFO: Acknowledgment sent {"connection_id":219783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:06:36] local.INFO: TCP Data received {"connection_id":219783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:06:36] local.INFO: Processing buffer {"connection_id":219783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:06:36] local.INFO: Packet analysis {"connection_id":219783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:06:36] local.INFO: Extracted packet for processing {"connection_id":219783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783975936001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06: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-10-16 10:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792125207000,"timestamp_ms":1792125207000,"timestamp_seconds":1792125207,"priority":1,"record_length":96,"hex_timestamp":"000001a142fc81d8"} 
[2026-10-16 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-10-16 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 10:06: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-10-16 10:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 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-10-16 10:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783975936001,"66":12809,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783975936001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:06:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:06:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783975936001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":219783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:06:37] local.INFO: GPS data processed {"connection_id":219783,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:06:37] local.INFO: Acknowledgment sent {"connection_id":219783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:06:44] local.INFO: TCP Data received {"connection_id":216509,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142fb2a18012d196900071fed50003a01112e..."} 
[2026-10-16 10:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fb2a18012d196900071fed50003a01112e..."} 
[2026-10-16 10:06:44] local.INFO: Processing buffer {"connection_id":216509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fb2a18012d196900071fed50003a01112e..."} 
[2026-10-16 10:06:44] local.INFO: Packet analysis {"connection_id":216509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fb"} 
[2026-10-16 10:06:44] local.INFO: Extracted packet for processing {"connection_id":216509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fb"} 
[2026-10-16 10:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784024832001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792125119000,"timestamp_ms":1792125119000,"timestamp_seconds":1792125119,"priority":1,"record_length":96,"hex_timestamp":"000001a142fb2a18"} 
[2026-10-16 10:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:06: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-10-16 10: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-10-16 10:06:44] 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-10-16 10: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-10-16 10:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784024832001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784024832001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:06:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784024832001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":216509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:06:44] local.INFO: GPS data processed {"connection_id":216509,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:06:44] local.INFO: Acknowledgment sent {"connection_id":216509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:06:51] local.INFO: TCP Data received {"connection_id":218054,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:06:51] local.INFO: Processing buffer {"connection_id":218054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:06:51] local.INFO: IMEI packet received {"connection_id":218054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":218054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:06:54] local.INFO: TCP Data received {"connection_id":218053,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:06:54] local.INFO: Processing buffer {"connection_id":218053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:06:54] local.INFO: Packet analysis {"connection_id":218053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:06:54] local.INFO: Extracted packet for processing {"connection_id":218053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:06:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:06:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":218053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:06:54] local.INFO: GPS data processed {"connection_id":218053,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:06:54] local.INFO: Acknowledgment sent {"connection_id":218053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:07:10] local.INFO: TCP Data received {"connection_id":216510,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:07:10] local.INFO: Processing buffer {"connection_id":216510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:07:10] local.INFO: IMEI packet received {"connection_id":216510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":216510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:07:13] local.INFO: TCP Data received {"connection_id":216510,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:07:13] local.INFO: Processing buffer {"connection_id":216510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:07:13] local.INFO: IMEI packet received {"connection_id":216510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":216510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:07:17] local.INFO: TCP Data received {"connection_id":216511,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:07:17] local.INFO: Processing buffer {"connection_id":216511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:07:17] local.INFO: IMEI packet received {"connection_id":216511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":216511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:07:18] local.INFO: TCP Data received {"connection_id":216510,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:07:18] local.INFO: Processing buffer {"connection_id":216510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:07:18] local.INFO: IMEI packet received {"connection_id":216510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":216510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:07:18] local.INFO: TCP Data received {"connection_id":216510,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142feac88012d196900071fed50003a01112d..."} 
[2026-10-16 10:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142feac88012d196900071fed50003a01112d..."} 
[2026-10-16 10:07:18] local.INFO: Processing buffer {"connection_id":216510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142feac88012d196900071fed50003a01112d..."} 
[2026-10-16 10:07:18] local.INFO: Packet analysis {"connection_id":216510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:07:18] local.INFO: Extracted packet for processing {"connection_id":216510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784083968001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792125349000,"timestamp_ms":1792125349000,"timestamp_seconds":1792125349,"priority":1,"record_length":96,"hex_timestamp":"000001a142feac88"} 
[2026-10-16 10:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 10:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784083968001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784083968001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:07:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784083968001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":216510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:07:18] local.INFO: GPS data processed {"connection_id":216510,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:07:18] local.INFO: Acknowledgment sent {"connection_id":216510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:07:21] local.INFO: TCP Data received {"connection_id":219784,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:07:21] local.INFO: Processing buffer {"connection_id":219784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:07:21] local.INFO: IMEI packet received {"connection_id":219784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":219784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:07:22] local.INFO: TCP Data received {"connection_id":216511,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:07:22] local.INFO: Processing buffer {"connection_id":216511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:07:22] local.INFO: IMEI packet received {"connection_id":216511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":216511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:07:23] local.INFO: TCP Data received {"connection_id":216511,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:07:23] local.INFO: Processing buffer {"connection_id":216511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:07:23] local.INFO: Packet analysis {"connection_id":216511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:07:23] local.INFO: Extracted packet for processing {"connection_id":216511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:07:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:07:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":216511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:07:23] local.INFO: GPS data processed {"connection_id":216511,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:07:23] local.INFO: Acknowledgment sent {"connection_id":216511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:07:23] local.INFO: TCP Data received {"connection_id":216510,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142fefe90012d196900071fed50003a01112b..."} 
[2026-10-16 10:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fefe90012d196900071fed50003a01112b..."} 
[2026-10-16 10:07:23] local.INFO: Processing buffer {"connection_id":216510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fefe90012d196900071fed50003a01112b..."} 
[2026-10-16 10:07:23] local.INFO: Packet analysis {"connection_id":216510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:07:23] local.INFO: Extracted packet for processing {"connection_id":216510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784089344001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125370000,"timestamp_ms":1792125370000,"timestamp_seconds":1792125370,"priority":1,"record_length":96,"hex_timestamp":"000001a142fefe90"} 
[2026-10-16 10:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 10:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784089344001,"66":12406,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784089344001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:07:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784089344001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":216510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:07:23] local.INFO: GPS data processed {"connection_id":216510,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:07:23] local.INFO: Acknowledgment sent {"connection_id":216510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:07:26] local.INFO: TCP Data received {"connection_id":219784,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:07:26] local.INFO: Processing buffer {"connection_id":219784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:07:26] local.INFO: IMEI packet received {"connection_id":219784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":219784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:07:28] local.INFO: TCP Data received {"connection_id":216511,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:07:28] local.INFO: Processing buffer {"connection_id":216511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:07:28] local.INFO: Packet analysis {"connection_id":216511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:07:28] local.INFO: Extracted packet for processing {"connection_id":216511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:07:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:07:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":216511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:07:28] local.INFO: GPS data processed {"connection_id":216511,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:07:28] local.INFO: Acknowledgment sent {"connection_id":216511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:07:28] local.INFO: TCP Data received {"connection_id":219784,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:07:28] local.INFO: Processing buffer {"connection_id":219784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:07:28] local.INFO: Packet analysis {"connection_id":219784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:07:28] local.INFO: Extracted packet for processing {"connection_id":219784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783975936001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:28] 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-10-16 10:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792125207000,"timestamp_ms":1792125207000,"timestamp_seconds":1792125207,"priority":1,"record_length":96,"hex_timestamp":"000001a142fc81d8"} 
[2026-10-16 10:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 10:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783975936001,"66":12809,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783975936001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:07:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:07:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783975936001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":219784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:07:28] local.INFO: GPS data processed {"connection_id":219784,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:07:28] local.INFO: Acknowledgment sent {"connection_id":219784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:07:59] local.INFO: TCP Data received {"connection_id":219784,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:07:59] local.INFO: Processing buffer {"connection_id":219784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:07:59] local.INFO: Packet analysis {"connection_id":219784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:07:59] local.INFO: Extracted packet for processing {"connection_id":219784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783975936001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:59] 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-10-16 10:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792125207000,"timestamp_ms":1792125207000,"timestamp_seconds":1792125207,"priority":1,"record_length":96,"hex_timestamp":"000001a142fc81d8"} 
[2026-10-16 10:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 10:07:59] 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-10-16 10:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783975936001,"66":12809,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783975936001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:07:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:07:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783975936001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":219784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:07:59] local.INFO: GPS data processed {"connection_id":219784,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:07:59] local.INFO: Acknowledgment sent {"connection_id":219784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:07:59] local.INFO: TCP Data received {"connection_id":216511,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:07:59] local.INFO: Processing buffer {"connection_id":216511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:07:59] local.INFO: Packet analysis {"connection_id":216511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:07:59] local.INFO: Extracted packet for processing {"connection_id":216511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:07:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:07:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":216511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:07:59] local.INFO: GPS data processed {"connection_id":216511,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:07:59] local.INFO: Acknowledgment sent {"connection_id":216511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:08:07] local.INFO: TCP Data received {"connection_id":219785,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:08:07] local.INFO: Processing buffer {"connection_id":219785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:08:07] local.INFO: IMEI packet received {"connection_id":219785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":219785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:08:13] local.INFO: TCP Data received {"connection_id":219785,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:08:13] local.INFO: Processing buffer {"connection_id":219785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:08:13] local.INFO: IMEI packet received {"connection_id":219785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":219785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:08:17] local.INFO: TCP Data received {"connection_id":219785,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ff5098012d196900071fed50003a01112b..."} 
[2026-10-16 10:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ff5098012d196900071fed50003a01112b..."} 
[2026-10-16 10:08:17] local.INFO: Processing buffer {"connection_id":219785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ff5098012d196900071fed50003a01112b..."} 
[2026-10-16 10:08:17] local.INFO: Packet analysis {"connection_id":219785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ff"} 
[2026-10-16 10:08:17] local.INFO: Extracted packet for processing {"connection_id":219785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ff"} 
[2026-10-16 10:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784094720001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792125391000,"timestamp_ms":1792125391000,"timestamp_seconds":1792125391,"priority":1,"record_length":96,"hex_timestamp":"000001a142ff5098"} 
[2026-10-16 10:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:08:17] 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-10-16 10:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 10:08: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-10-16 10:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":219785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":219785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":219785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784094720001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784094720001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:08:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784094720001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":219785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:08:17] local.INFO: GPS data processed {"connection_id":219785,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:08:17] local.INFO: Acknowledgment sent {"connection_id":219785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:08:17] local.INFO: TCP Data received {"connection_id":216701,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:08:17] local.INFO: Processing buffer {"connection_id":216701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:08:17] local.INFO: IMEI packet received {"connection_id":216701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":216701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:08:21] local.INFO: TCP Data received {"connection_id":216512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:08:21] local.INFO: Processing buffer {"connection_id":216512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:08:21] local.INFO: IMEI packet received {"connection_id":216512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":216512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:08:22] local.INFO: TCP Data received {"connection_id":216701,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:08:22] local.INFO: Processing buffer {"connection_id":216701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:08:22] local.INFO: IMEI packet received {"connection_id":216701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":216701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:08:26] local.INFO: TCP Data received {"connection_id":216512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:08:26] local.INFO: Processing buffer {"connection_id":216512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:08:26] local.INFO: IMEI packet received {"connection_id":216512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":216512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:08:27] local.INFO: TCP Data received {"connection_id":216512,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:08:27] local.INFO: Processing buffer {"connection_id":216512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fc81d8012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:08:27] local.INFO: Packet analysis {"connection_id":216512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:08:27] local.INFO: Extracted packet for processing {"connection_id":216512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fc"} 
[2026-10-16 10:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458783975936001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:27] 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-10-16 10:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125207000,"timestamp_ms":1792125207000,"timestamp_seconds":1792125207,"priority":1,"record_length":96,"hex_timestamp":"000001a142fc81d8"} 
[2026-10-16 10:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 10:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:08:27] local.INFO: TCP Data received {"connection_id":216701,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:08: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-10-16 10:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458783975936001,"66":12809,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:08:27] local.INFO: Processing buffer {"connection_id":216701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:08:27] local.INFO: Packet analysis {"connection_id":216701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458783975936001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:08:27] local.INFO: Extracted packet for processing {"connection_id":216701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:08:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:08:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458783975936001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:08:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:08:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":216701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:08:27] local.INFO: GPS data processed {"connection_id":216701,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:08:27] local.INFO: Acknowledgment sent {"connection_id":216701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":216512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:08:27] local.INFO: GPS data processed {"connection_id":216512,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:08:27] local.INFO: Acknowledgment sent {"connection_id":216512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:08:48] local.INFO: TCP Data received {"connection_id":219785,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142ffa2a0012d196900071fed50003a01112b..."} 
[2026-10-16 10:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142ffa2a0012d196900071fed50003a01112b..."} 
[2026-10-16 10:08:48] local.INFO: Processing buffer {"connection_id":219785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142ffa2a0012d196900071fed50003a01112b..."} 
[2026-10-16 10:08:48] local.INFO: Packet analysis {"connection_id":219785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ff"} 
[2026-10-16 10:08:48] local.INFO: Extracted packet for processing {"connection_id":219785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ff"} 
[2026-10-16 10:08:48] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784100096001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792125412000,"timestamp_ms":1792125412000,"timestamp_seconds":1792125412,"priority":1,"record_length":96,"hex_timestamp":"000001a142ffa2a0"} 
[2026-10-16 10:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 10:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":219785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":219785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":219785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784100096001,"66":12406,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784100096001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:08:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:08:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784100096001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":219785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:08:48] local.INFO: GPS data processed {"connection_id":219785,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:08:48] local.INFO: Acknowledgment sent {"connection_id":219785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:08:58] local.INFO: TCP Data received {"connection_id":216512,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:08:58] local.INFO: Processing buffer {"connection_id":216512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:08:58] local.INFO: Packet analysis {"connection_id":216512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:08:58] local.INFO: Extracted packet for processing {"connection_id":216512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784052992001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] 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-10-16 10:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792125508000,"timestamp_ms":1792125508000,"timestamp_seconds":1792125508,"priority":1,"record_length":96,"hex_timestamp":"000001a1430119a0"} 
[2026-10-16 10:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-1579892650939696704,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3963393387347889751,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1437079289689205728,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,87,24,241,157,16,239,161,234,45,192,14,38,10,66,82,42,186,240,7,227,236,1,4,113,205,19,57,120,32,55,110,2,5,54,49],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 10:08:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344318938185728,"timestamp_seconds":344318938185.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 10:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:08: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-10-16 10:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784052992001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784052992001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:08:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:08:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784052992001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":216512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:08:58] local.INFO: GPS data processed {"connection_id":216512,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:08:58] local.INFO: Acknowledgment sent {"connection_id":216512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:08:59] local.INFO: TCP Data received {"connection_id":216701,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:08:59] local.INFO: Processing buffer {"connection_id":216701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:08:59] local.INFO: Packet analysis {"connection_id":216701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:08:59] local.INFO: Extracted packet for processing {"connection_id":216701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:08: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-10-16 10:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:08:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:08:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":216701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:08:59] local.INFO: GPS data processed {"connection_id":216701,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:08:59] local.INFO: Acknowledgment sent {"connection_id":216701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:09:07] local.INFO: TCP Data received {"connection_id":218058,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:09:07] local.INFO: Processing buffer {"connection_id":218058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:09:07] local.INFO: IMEI packet received {"connection_id":218058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":218058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:09:13] local.INFO: TCP Data received {"connection_id":218058,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:09:13] local.INFO: Processing buffer {"connection_id":218058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:09:13] local.INFO: IMEI packet received {"connection_id":218058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":218058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:09:14] local.INFO: TCP Data received {"connection_id":218058,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a142fff890012d196900071fed50003a01112b..."} 
[2026-10-16 10:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fff890012d196900071fed50003a01112b..."} 
[2026-10-16 10:09:14] local.INFO: Processing buffer {"connection_id":218058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fff890012d196900071fed50003a01112b..."} 
[2026-10-16 10:09:14] local.INFO: Packet analysis {"connection_id":218058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142ff"} 
[2026-10-16 10:09:14] local.INFO: Extracted packet for processing {"connection_id":218058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142ff"} 
[2026-10-16 10:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784105472001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792125434000,"timestamp_ms":1792125434000,"timestamp_seconds":1792125434,"priority":1,"record_length":96,"hex_timestamp":"000001a142fff890"} 
[2026-10-16 10:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:09: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-10-16 10: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":118,"data_length":795,"current_offset":136} 
[2026-10-16 10:09:14] 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-10-16 10: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-10-16 10:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784105472001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784105472001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:09:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784105472001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":218058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:09:14] local.INFO: GPS data processed {"connection_id":218058,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:09:14] local.INFO: Acknowledgment sent {"connection_id":218058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:09:16] local.INFO: TCP Data received {"connection_id":219786,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:09:16] local.INFO: Processing buffer {"connection_id":219786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:09:16] local.INFO: IMEI packet received {"connection_id":219786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":219786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:09:20] local.INFO: TCP Data received {"connection_id":216513,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:09:20] local.INFO: Processing buffer {"connection_id":216513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:09:20] local.INFO: IMEI packet received {"connection_id":216513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":216513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:09:22] local.INFO: TCP Data received {"connection_id":219786,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:09:22] local.INFO: Processing buffer {"connection_id":219786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:09:22] local.INFO: IMEI packet received {"connection_id":219786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":219786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:09:23] local.INFO: TCP Data received {"connection_id":219786,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:09:23] local.INFO: Processing buffer {"connection_id":219786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:09:23] local.INFO: Packet analysis {"connection_id":219786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:09:23] local.INFO: Extracted packet for processing {"connection_id":219786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:09:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:09:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":219786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:09:23] local.INFO: GPS data processed {"connection_id":219786,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:09:23] local.INFO: Acknowledgment sent {"connection_id":219786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:09:25] local.INFO: TCP Data received {"connection_id":216513,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:09:25] local.INFO: Processing buffer {"connection_id":216513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:09:25] local.INFO: IMEI packet received {"connection_id":216513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":216513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:09:27] local.INFO: TCP Data received {"connection_id":216513,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:09:27] local.INFO: Processing buffer {"connection_id":216513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:09:27] local.INFO: Packet analysis {"connection_id":216513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:09:27] local.INFO: Extracted packet for processing {"connection_id":216513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784052992001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] 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-10-16 10:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125508000,"timestamp_ms":1792125508000,"timestamp_seconds":1792125508,"priority":1,"record_length":96,"hex_timestamp":"000001a1430119a0"} 
[2026-10-16 10:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-1579892650939696704,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3963393387347889751,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1437079289689205728,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,87,24,241,157,16,239,161,234,45,192,14,38,10,66,82,42,186,240,7,227,236,1,4,113,205,19,57,120,32,55,110,2,5,54,49],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 10:09:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344318938185728,"timestamp_seconds":344318938185.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 10:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:09: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-10-16 10:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784052992001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784052992001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:09:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:09:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784052992001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":216513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:09:27] local.INFO: GPS data processed {"connection_id":216513,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:09:27] local.INFO: Acknowledgment sent {"connection_id":216513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:09:45] local.INFO: TCP Data received {"connection_id":218058,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430046b0012d196900071fed50003a01112b..."} 
[2026-10-16 10:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430046b0012d196900071fed50003a01112b..."} 
[2026-10-16 10:09:45] local.INFO: Processing buffer {"connection_id":218058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430046b0012d196900071fed50003a01112b..."} 
[2026-10-16 10:09:45] local.INFO: Packet analysis {"connection_id":218058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14300"} 
[2026-10-16 10:09:45] local.INFO: Extracted packet for processing {"connection_id":218058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14300"} 
[2026-10-16 10:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784111104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792125454000,"timestamp_ms":1792125454000,"timestamp_seconds":1792125454,"priority":1,"record_length":96,"hex_timestamp":"000001a1430046b0"} 
[2026-10-16 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-10-16 10:09: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-10-16 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:09:45] 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-10-16 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-10-16 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-10-16 10:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784111104001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784111104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:09:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784111104001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":218058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:09:45] local.INFO: GPS data processed {"connection_id":218058,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:09:45] local.INFO: Acknowledgment sent {"connection_id":218058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:09:57] local.INFO: TCP Data received {"connection_id":219786,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:09:57] local.INFO: Processing buffer {"connection_id":219786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:09:57] local.INFO: Packet analysis {"connection_id":219786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:09:57] local.INFO: Extracted packet for processing {"connection_id":219786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:09:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:09:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":219786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:09:57] local.INFO: GPS data processed {"connection_id":219786,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:09:57] local.INFO: Acknowledgment sent {"connection_id":219786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:09:59] local.INFO: TCP Data received {"connection_id":216513,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:09:59] local.INFO: Processing buffer {"connection_id":216513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:09:59] local.INFO: Packet analysis {"connection_id":216513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:09:59] local.INFO: Extracted packet for processing {"connection_id":216513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784052992001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] 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-10-16 10:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792125508000,"timestamp_ms":1792125508000,"timestamp_seconds":1792125508,"priority":1,"record_length":96,"hex_timestamp":"000001a1430119a0"} 
[2026-10-16 10:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-1579892650939696704,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3963393387347889751,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1437079289689205728,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-16 10:09:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,87,24,241,157,16,239,161,234,45,192,14,38,10,66,82,42,186,240,7,227,236,1,4,113,205,19,57,120,32,55,110,2,5,54,49],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 10:09:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344318938185728,"timestamp_seconds":344318938185.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 10:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784052992001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784052992001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:09:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:09:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784052992001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":216513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:09:59] local.INFO: GPS data processed {"connection_id":216513,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:09:59] local.INFO: Acknowledgment sent {"connection_id":216513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:10:07] local.INFO: TCP Data received {"connection_id":218059,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:10:07] local.INFO: Processing buffer {"connection_id":218059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:10:07] local.INFO: IMEI packet received {"connection_id":218059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":218059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:10:13] local.INFO: TCP Data received {"connection_id":218059,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:10:13] local.INFO: Processing buffer {"connection_id":218059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:10:13] local.INFO: IMEI packet received {"connection_id":218059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":218059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:10:13] local.INFO: TCP Data received {"connection_id":218059,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430098b8012d196900071fed50003a01112c..."} 
[2026-10-16 10:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430098b8012d196900071fed50003a01112c..."} 
[2026-10-16 10:10:13] local.INFO: Processing buffer {"connection_id":218059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430098b8012d196900071fed50003a01112c..."} 
[2026-10-16 10:10:13] local.INFO: Packet analysis {"connection_id":218059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14300"} 
[2026-10-16 10:10:13] local.INFO: Extracted packet for processing {"connection_id":218059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14300"} 
[2026-10-16 10:10:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784116224001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792125475000,"timestamp_ms":1792125475000,"timestamp_seconds":1792125475,"priority":1,"record_length":96,"hex_timestamp":"000001a1430098b8"} 
[2026-10-16 10:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:10: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-10-16 10: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 10:10: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-10-16 10: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-10-16 10:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784116224001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784116224001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:10:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784116224001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":218059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:10:13] local.INFO: GPS data processed {"connection_id":218059,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:10:13] local.INFO: Acknowledgment sent {"connection_id":218059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:10:16] local.INFO: TCP Data received {"connection_id":218060,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:10:16] local.INFO: Processing buffer {"connection_id":218060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:10:16] local.INFO: IMEI packet received {"connection_id":218060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":218060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:10:20] local.INFO: TCP Data received {"connection_id":218061,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:10:20] local.INFO: Processing buffer {"connection_id":218061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:10:20] local.INFO: IMEI packet received {"connection_id":218061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":218061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:10:22] local.INFO: TCP Data received {"connection_id":218060,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:10:22] local.INFO: Processing buffer {"connection_id":218060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:10:22] local.INFO: IMEI packet received {"connection_id":218060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":218060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:10:24] local.INFO: TCP Data received {"connection_id":218060,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:10:24] local.INFO: Processing buffer {"connection_id":218060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:10:24] local.INFO: Packet analysis {"connection_id":218060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:10:24] local.INFO: Extracted packet for processing {"connection_id":218060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":218060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":218060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":218060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:10:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:10:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":218060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:10:24] local.INFO: GPS data processed {"connection_id":218060,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:10:24] local.INFO: Acknowledgment sent {"connection_id":218060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:10:26] local.INFO: TCP Data received {"connection_id":218061,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:10:26] local.INFO: Processing buffer {"connection_id":218061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:10:26] local.INFO: IMEI packet received {"connection_id":218061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":218061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:10:37] local.INFO: TCP Data received {"connection_id":218061,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:10:37] local.INFO: Processing buffer {"connection_id":218061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:10:37] local.INFO: Packet analysis {"connection_id":218061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:10:37] local.INFO: Extracted packet for processing {"connection_id":218061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784052992001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] 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-10-16 10:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792125508000,"timestamp_ms":1792125508000,"timestamp_seconds":1792125508,"priority":1,"record_length":96,"hex_timestamp":"000001a1430119a0"} 
[2026-10-16 10:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":9,"data_length":795,"current_offset":136} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-1579892650939696704,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3963393387347889751,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1437079289689205728,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,87,24,241,157,16,239,161,234,45,192,14,38,10,66,82,42,186,240,7,227,236,1,4,113,205,19,57,120,32,55,110,2,5,54,49],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 10:10:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344318938185728,"timestamp_seconds":344318938185.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 10:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":218061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":218061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":218061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:10: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-10-16 10:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784052992001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784052992001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:10:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:10:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784052992001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":218061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:10:37] local.INFO: GPS data processed {"connection_id":218061,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:10:37] local.INFO: Acknowledgment sent {"connection_id":218061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:10:44] local.INFO: TCP Data received {"connection_id":218059,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14300eac0012d196900071fed50003a01112b..."} 
[2026-10-16 10:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14300eac0012d196900071fed50003a01112b..."} 
[2026-10-16 10:10:44] local.INFO: Processing buffer {"connection_id":218059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14300eac0012d196900071fed50003a01112b..."} 
[2026-10-16 10:10:44] local.INFO: Packet analysis {"connection_id":218059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14300"} 
[2026-10-16 10:10:44] local.INFO: Extracted packet for processing {"connection_id":218059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14300"} 
[2026-10-16 10:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784121600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792125496000,"timestamp_ms":1792125496000,"timestamp_seconds":1792125496,"priority":1,"record_length":96,"hex_timestamp":"000001a14300eac0"} 
[2026-10-16 10:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:10: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-10-16 10: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":151,"data_length":795,"current_offset":136} 
[2026-10-16 10:10: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-10-16 10: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-10-16 10:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784121600001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784121600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:10:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784121600001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":218059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:10:44] local.INFO: GPS data processed {"connection_id":218059,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:10:44] local.INFO: Acknowledgment sent {"connection_id":218059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:10:56] local.INFO: TCP Data received {"connection_id":218060,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:10:56] local.INFO: Processing buffer {"connection_id":218060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:10:56] local.INFO: Packet analysis {"connection_id":218060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:10:56] local.INFO: Extracted packet for processing {"connection_id":218060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:10:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:10:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":218060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:10:56] local.INFO: GPS data processed {"connection_id":218060,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:10:56] local.INFO: Acknowledgment sent {"connection_id":218060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:11:07] local.INFO: TCP Data received {"connection_id":216703,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:11:07] local.INFO: Processing buffer {"connection_id":216703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:11:07] local.INFO: IMEI packet received {"connection_id":216703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":216703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:11:15] local.INFO: TCP Data received {"connection_id":216703,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:11:15] local.INFO: Processing buffer {"connection_id":216703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:11:15] local.INFO: IMEI packet received {"connection_id":216703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":216703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:11:16] local.INFO: TCP Data received {"connection_id":216703,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143013cc8012d196900071fed50003a01112d..."} 
[2026-10-16 10:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143013cc8012d196900071fed50003a01112d..."} 
[2026-10-16 10:11:16] local.INFO: Processing buffer {"connection_id":216703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143013cc8012d196900071fed50003a01112d..."} 
[2026-10-16 10:11:16] local.INFO: Packet analysis {"connection_id":216703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:11:16] local.INFO: Extracted packet for processing {"connection_id":216703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784126976001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792125517000,"timestamp_ms":1792125517000,"timestamp_seconds":1792125517,"priority":1,"record_length":96,"hex_timestamp":"000001a143013cc8"} 
[2026-10-16 10:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 10:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784126976001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784126976001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:11:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784126976001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":216703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:11:16] local.INFO: GPS data processed {"connection_id":216703,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:11:16] local.INFO: Acknowledgment sent {"connection_id":216703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:11:16] local.INFO: TCP Data received {"connection_id":218062,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:11:16] local.INFO: Processing buffer {"connection_id":218062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:11:16] local.INFO: IMEI packet received {"connection_id":218062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":218062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:11:22] local.INFO: TCP Data received {"connection_id":218062,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:11:22] local.INFO: Processing buffer {"connection_id":218062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:11:22] local.INFO: IMEI packet received {"connection_id":218062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":218062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:11:23] local.INFO: TCP Data received {"connection_id":218062,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:11:23] local.INFO: Processing buffer {"connection_id":218062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a142fe9ce8012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:11:23] local.INFO: Packet analysis {"connection_id":218062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:11:23] local.INFO: Extracted packet for processing {"connection_id":218062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a142fe"} 
[2026-10-16 10:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784011264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125345000,"timestamp_ms":1792125345000,"timestamp_seconds":1792125345,"priority":1,"record_length":96,"hex_timestamp":"000001a142fe9ce8"} 
[2026-10-16 10:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 10:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784011264001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784011264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:11:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:11:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784011264001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":218062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:11:23] local.INFO: GPS data processed {"connection_id":218062,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:11:23] local.INFO: Acknowledgment sent {"connection_id":218062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:11:26] local.INFO: TCP Data received {"connection_id":218063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:11:26] local.INFO: Processing buffer {"connection_id":218063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:11:26] local.INFO: IMEI packet received {"connection_id":218063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":218063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:11:31] local.INFO: TCP Data received {"connection_id":218063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:11:31] local.INFO: Processing buffer {"connection_id":218063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:11:31] local.INFO: IMEI packet received {"connection_id":218063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":218063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:11:35] local.INFO: TCP Data received {"connection_id":218063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:11:35] local.INFO: Processing buffer {"connection_id":218063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:11:35] local.INFO: Packet analysis {"connection_id":218063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:11:35] local.INFO: Extracted packet for processing {"connection_id":218063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784052992001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] 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-10-16 10:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792125508000,"timestamp_ms":1792125508000,"timestamp_seconds":1792125508,"priority":1,"record_length":96,"hex_timestamp":"000001a1430119a0"} 
[2026-10-16 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-10-16 10:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-1579892650939696704,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3963393387347889751,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1437079289689205728,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:35] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,87,24,241,157,16,239,161,234,45,192,14,38,10,66,82,42,186,240,7,227,236,1,4,113,205,19,57,120,32,55,110,2,5,54,49],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 10:11:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344318938185728,"timestamp_seconds":344318938185.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 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-10-16 10:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":218063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":218063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":218063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:11: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-10-16 10:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784052992001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784052992001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:11:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:11:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784052992001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":218063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:11:35] local.INFO: GPS data processed {"connection_id":218063,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:11:35] local.INFO: Acknowledgment sent {"connection_id":218063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:11:37] local.INFO: TCP Data received {"connection_id":218063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:11:37] local.INFO: Processing buffer {"connection_id":218063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:11:37] local.INFO: Packet analysis {"connection_id":218063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:11:37] local.INFO: Extracted packet for processing {"connection_id":218063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784052992001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] 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-10-16 10:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792125508000,"timestamp_ms":1792125508000,"timestamp_seconds":1792125508,"priority":1,"record_length":96,"hex_timestamp":"000001a1430119a0"} 
[2026-10-16 10:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-1579892650939696704,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3963393387347889751,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1437079289689205728,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,87,24,241,157,16,239,161,234,45,192,14,38,10,66,82,42,186,240,7,227,236,1,4,113,205,19,57,120,32,55,110,2,5,54,49],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 10:11:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344318938185728,"timestamp_seconds":344318938185.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 10:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":218063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":218063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":218063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:11: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-10-16 10:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784052992001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784052992001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:11:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:11:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784052992001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":218063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:11:37] local.INFO: GPS data processed {"connection_id":218063,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:11:37] local.INFO: Acknowledgment sent {"connection_id":218063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:11:47] local.INFO: TCP Data received {"connection_id":216703,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143018ed0012d196900071fed50003a01112b..."} 
[2026-10-16 10:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143018ed0012d196900071fed50003a01112b..."} 
[2026-10-16 10:11:47] local.INFO: Processing buffer {"connection_id":216703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143018ed0012d196900071fed50003a01112b..."} 
[2026-10-16 10:11:47] local.INFO: Packet analysis {"connection_id":216703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:11:47] local.INFO: Extracted packet for processing {"connection_id":216703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784132352001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792125538000,"timestamp_ms":1792125538000,"timestamp_seconds":1792125538,"priority":1,"record_length":96,"hex_timestamp":"000001a143018ed0"} 
[2026-10-16 10:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:11:47] 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-10-16 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 10:11:47] 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-10-16 10: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-10-16 10:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784132352001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784132352001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:11:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784132352001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":216703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:11:47] local.INFO: GPS data processed {"connection_id":216703,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:11:47] local.INFO: Acknowledgment sent {"connection_id":216703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:11:56] local.INFO: TCP Data received {"connection_id":218062,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:11:56] local.INFO: Processing buffer {"connection_id":218062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:11:56] local.INFO: Packet analysis {"connection_id":218062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:11:56] local.INFO: Extracted packet for processing {"connection_id":218062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784088320001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792125646000,"timestamp_ms":1792125646000,"timestamp_seconds":1792125646,"priority":1,"record_length":96,"hex_timestamp":"000001a1430334b0"} 
[2026-10-16 10:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:11:56] 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-10-16 10:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784088320001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784088320001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:11:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:11:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784088320001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":218062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:11:56] local.INFO: GPS data processed {"connection_id":218062,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:11:56] local.INFO: Acknowledgment sent {"connection_id":218062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:12:07] local.INFO: TCP Data received {"connection_id":219787,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:12:07] local.INFO: Processing buffer {"connection_id":219787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:12:07] local.INFO: IMEI packet received {"connection_id":219787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":219787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:12:11] local.INFO: TCP Data received {"connection_id":216704,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:12:11] local.INFO: Processing buffer {"connection_id":216704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:12:11] local.INFO: IMEI packet received {"connection_id":216704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":216704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:12:13] local.INFO: TCP Data received {"connection_id":219787,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:12:13] local.INFO: Processing buffer {"connection_id":219787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:12:13] local.INFO: IMEI packet received {"connection_id":219787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":219787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:12:13] local.INFO: TCP Data received {"connection_id":219787,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14301e0d8012d196900071fed50003a01112c..."} 
[2026-10-16 10:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14301e0d8012d196900071fed50003a01112c..."} 
[2026-10-16 10:12:13] local.INFO: Processing buffer {"connection_id":219787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14301e0d8012d196900071fed50003a01112c..."} 
[2026-10-16 10:12:13] local.INFO: Packet analysis {"connection_id":219787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:12:13] local.INFO: Extracted packet for processing {"connection_id":219787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:12:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784137728001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792125559000,"timestamp_ms":1792125559000,"timestamp_seconds":1792125559,"priority":1,"record_length":96,"hex_timestamp":"000001a14301e0d8"} 
[2026-10-16 10:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:12: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-10-16 10:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:12: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-10-16 10:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784137728001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784137728001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:12:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784137728001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":219787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:12:13] local.INFO: GPS data processed {"connection_id":219787,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:12:13] local.INFO: Acknowledgment sent {"connection_id":219787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:12:16] local.INFO: TCP Data received {"connection_id":218064,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:12:16] local.INFO: Processing buffer {"connection_id":218064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:12:16] local.INFO: IMEI packet received {"connection_id":218064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":218064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:12:21] local.INFO: TCP Data received {"connection_id":218065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:12:21] local.INFO: Processing buffer {"connection_id":218065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:12:21] local.INFO: IMEI packet received {"connection_id":218065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":218065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:12:22] local.INFO: TCP Data received {"connection_id":218064,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:12:22] local.INFO: Processing buffer {"connection_id":218064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:12:22] local.INFO: IMEI packet received {"connection_id":218064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":218064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:12:23] local.INFO: TCP Data received {"connection_id":218064,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:12:23] local.INFO: Processing buffer {"connection_id":218064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:12:23] local.INFO: Packet analysis {"connection_id":218064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:12:23] local.INFO: Extracted packet for processing {"connection_id":218064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784088320001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125646000,"timestamp_ms":1792125646000,"timestamp_seconds":1792125646,"priority":1,"record_length":96,"hex_timestamp":"000001a1430334b0"} 
[2026-10-16 10:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:12:23] 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-10-16 10:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784088320001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784088320001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:12:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:12:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784088320001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":218064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:12:23] local.INFO: GPS data processed {"connection_id":218064,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:12:23] local.INFO: Acknowledgment sent {"connection_id":218064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:12:26] local.INFO: TCP Data received {"connection_id":218065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:12:26] local.INFO: Processing buffer {"connection_id":218065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:12:26] local.INFO: IMEI packet received {"connection_id":218065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":218065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:12:27] local.INFO: TCP Data received {"connection_id":218065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:12:27] local.INFO: Processing buffer {"connection_id":218065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:12:27] local.INFO: Packet analysis {"connection_id":218065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:12:27] local.INFO: Extracted packet for processing {"connection_id":218065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784052992001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] 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-10-16 10:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125508000,"timestamp_ms":1792125508000,"timestamp_seconds":1792125508,"priority":1,"record_length":96,"hex_timestamp":"000001a1430119a0"} 
[2026-10-16 10:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-1579892650939696704,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3963393387347889751,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1437079289689205728,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,87,24,241,157,16,239,161,234,45,192,14,38,10,66,82,42,186,240,7,227,236,1,4,113,205,19,57,120,32,55,110,2,5,54,49],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 10:12:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344318938185728,"timestamp_seconds":344318938185.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 10:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:12: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-10-16 10:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784052992001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784052992001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:12:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:12:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784052992001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":218065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:12:27] local.INFO: GPS data processed {"connection_id":218065,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:12:27] local.INFO: Acknowledgment sent {"connection_id":218065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:12:44] local.INFO: TCP Data received {"connection_id":219787,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430232e0012d196900071fed50003a01112c..."} 
[2026-10-16 10:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430232e0012d196900071fed50003a01112c..."} 
[2026-10-16 10:12:44] local.INFO: Processing buffer {"connection_id":219787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430232e0012d196900071fed50003a01112c..."} 
[2026-10-16 10:12:44] local.INFO: Packet analysis {"connection_id":219787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14302"} 
[2026-10-16 10:12:44] local.INFO: Extracted packet for processing {"connection_id":219787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14302"} 
[2026-10-16 10:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784143104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792125580000,"timestamp_ms":1792125580000,"timestamp_seconds":1792125580,"priority":1,"record_length":96,"hex_timestamp":"000001a1430232e0"} 
[2026-10-16 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-10-16 10:12: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-10-16 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:12: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-10-16 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-10-16 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-10-16 10:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784143104001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784143104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:12:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784143104001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":219787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:12:44] local.INFO: GPS data processed {"connection_id":219787,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:12:44] local.INFO: Acknowledgment sent {"connection_id":219787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:12:50] local.INFO: TCP Data received {"connection_id":216705,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:12:50] local.INFO: Processing buffer {"connection_id":216705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:12:50] local.INFO: IMEI packet received {"connection_id":216705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":216705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:12:55] local.INFO: TCP Data received {"connection_id":218064,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:12:55] local.INFO: Processing buffer {"connection_id":218064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:12:55] local.INFO: Packet analysis {"connection_id":218064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:12:55] local.INFO: Extracted packet for processing {"connection_id":218064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784088320001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792125646000,"timestamp_ms":1792125646000,"timestamp_seconds":1792125646,"priority":1,"record_length":96,"hex_timestamp":"000001a1430334b0"} 
[2026-10-16 10:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:12:55] 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-10-16 10:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784088320001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784088320001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:12:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:12:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784088320001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":218064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:12:55] local.INFO: GPS data processed {"connection_id":218064,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:12:55] local.INFO: Acknowledgment sent {"connection_id":218064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:12:58] local.INFO: TCP Data received {"connection_id":218065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:12:58] local.INFO: Processing buffer {"connection_id":218065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:12:58] local.INFO: Packet analysis {"connection_id":218065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:12:58] local.INFO: Extracted packet for processing {"connection_id":218065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:12: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-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784052992001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] 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-10-16 10:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792125508000,"timestamp_ms":1792125508000,"timestamp_seconds":1792125508,"priority":1,"record_length":96,"hex_timestamp":"000001a1430119a0"} 
[2026-10-16 10:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:12: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":9,"data_length":795,"current_offset":136} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-1579892650939696704,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3963393387347889751,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1437079289689205728,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-16 10:12:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,87,24,241,157,16,239,161,234,45,192,14,38,10,66,82,42,186,240,7,227,236,1,4,113,205,19,57,120,32,55,110,2,5,54,49],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 10:12:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344318938185728,"timestamp_seconds":344318938185.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 10:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:12: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-10-16 10:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784052992001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784052992001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:12:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:12:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784052992001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":218065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:12:58] local.INFO: GPS data processed {"connection_id":218065,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:12:58] local.INFO: Acknowledgment sent {"connection_id":218065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:13:13] local.INFO: TCP Data received {"connection_id":219788,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:13:13] local.INFO: Processing buffer {"connection_id":219788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:13:13] local.INFO: IMEI packet received {"connection_id":219788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":219788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:13:16] local.INFO: TCP Data received {"connection_id":216706,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:13:16] local.INFO: Processing buffer {"connection_id":216706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:13:16] local.INFO: IMEI packet received {"connection_id":216706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":216706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:13:18] local.INFO: TCP Data received {"connection_id":219788,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:13:18] local.INFO: Processing buffer {"connection_id":219788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:13:18] local.INFO: IMEI packet received {"connection_id":219788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":219788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:13:18] local.INFO: TCP Data received {"connection_id":219788,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430284e8012d196900071fed50003a01112b..."} 
[2026-10-16 10:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430284e8012d196900071fed50003a01112b..."} 
[2026-10-16 10:13:18] local.INFO: Processing buffer {"connection_id":219788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430284e8012d196900071fed50003a01112b..."} 
[2026-10-16 10:13:18] local.INFO: Packet analysis {"connection_id":219788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14302"} 
[2026-10-16 10:13:18] local.INFO: Extracted packet for processing {"connection_id":219788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14302"} 
[2026-10-16 10:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784148480001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792125601000,"timestamp_ms":1792125601000,"timestamp_seconds":1792125601,"priority":1,"record_length":96,"hex_timestamp":"000001a1430284e8"} 
[2026-10-16 10:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:13: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-10-16 10:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":219788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":219788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":219788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784148480001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784148480001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:13:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784148480001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":219788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:13:18] local.INFO: GPS data processed {"connection_id":219788,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:13:18] local.INFO: Acknowledgment sent {"connection_id":219788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:13:21] local.INFO: TCP Data received {"connection_id":216515,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:13:21] local.INFO: Processing buffer {"connection_id":216515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:13:21] local.INFO: IMEI packet received {"connection_id":216515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":216515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:13:22] local.INFO: TCP Data received {"connection_id":216706,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:13:22] local.INFO: Processing buffer {"connection_id":216706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:13:22] local.INFO: IMEI packet received {"connection_id":216706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":216706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:13:23] local.INFO: TCP Data received {"connection_id":219788,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14302d6f0012d196900071fed50003a01112d..."} 
[2026-10-16 10:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14302d6f0012d196900071fed50003a01112d..."} 
[2026-10-16 10:13:23] local.INFO: Processing buffer {"connection_id":219788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14302d6f0012d196900071fed50003a01112d..."} 
[2026-10-16 10:13:23] local.INFO: Packet analysis {"connection_id":219788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14302"} 
[2026-10-16 10:13:23] local.INFO: Extracted packet for processing {"connection_id":219788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14302"} 
[2026-10-16 10:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784153856001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125622000,"timestamp_ms":1792125622000,"timestamp_seconds":1792125622,"priority":1,"record_length":96,"hex_timestamp":"000001a14302d6f0"} 
[2026-10-16 10:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:13: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-10-16 10:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784153856001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784153856001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:13:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784153856001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":219788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:13:23] local.INFO: GPS data processed {"connection_id":219788,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:13:23] local.INFO: Acknowledgment sent {"connection_id":219788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:13:23] local.INFO: TCP Data received {"connection_id":216706,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:13:23] local.INFO: Processing buffer {"connection_id":216706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:13:23] local.INFO: Packet analysis {"connection_id":216706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:13:23] local.INFO: Extracted packet for processing {"connection_id":216706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784088320001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125646000,"timestamp_ms":1792125646000,"timestamp_seconds":1792125646,"priority":1,"record_length":96,"hex_timestamp":"000001a1430334b0"} 
[2026-10-16 10:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:13:23] 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-10-16 10:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784088320001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784088320001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:13:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:13:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784088320001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":216706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:13:23] local.INFO: GPS data processed {"connection_id":216706,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:13:23] local.INFO: Acknowledgment sent {"connection_id":216706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:13:26] local.INFO: TCP Data received {"connection_id":216515,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:13:26] local.INFO: Processing buffer {"connection_id":216515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:13:26] local.INFO: IMEI packet received {"connection_id":216515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":216515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:13:27] local.INFO: TCP Data received {"connection_id":216515,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:13:27] local.INFO: Processing buffer {"connection_id":216515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430119a0012d7d3fc005ec0ec00000013928..."} 
[2026-10-16 10:13:27] local.INFO: Packet analysis {"connection_id":216515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:13:27] local.INFO: Extracted packet for processing {"connection_id":216515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14301"} 
[2026-10-16 10:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784052992001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] 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-10-16 10:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125508000,"timestamp_ms":1792125508000,"timestamp_seconds":1792125508,"priority":1,"record_length":96,"hex_timestamp":"000001a1430119a0"} 
[2026-10-16 10:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432130,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-1579892650939696704,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4012965888,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221613582,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3963393387347889751,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1437079289689205728,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,87,24,241,157,16,239,161,234,45,192,14,38,10,66,82,42,186,240,7,227,236,1,4,113,205,19,57,120,32,55,110,2,5,54,49],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-10-16 10:13:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":344318938185728,"timestamp_seconds":344318938185.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 10:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:13: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-10-16 10:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784052992001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784052992001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:13:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:13:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784052992001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":216515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:13:27] local.INFO: GPS data processed {"connection_id":216515,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:13:27] local.INFO: Acknowledgment sent {"connection_id":216515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:13:55] local.INFO: TCP Data received {"connection_id":216706,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:13:55] local.INFO: Processing buffer {"connection_id":216706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:13:55] local.INFO: Packet analysis {"connection_id":216706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:13:55] local.INFO: Extracted packet for processing {"connection_id":216706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:13: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-10-16 10:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784088320001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792125646000,"timestamp_ms":1792125646000,"timestamp_seconds":1792125646,"priority":1,"record_length":96,"hex_timestamp":"000001a1430334b0"} 
[2026-10-16 10:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:13:55] 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-10-16 10:13: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-10-16 10:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784088320001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784088320001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:13:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:13:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784088320001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":216706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:13:55] local.INFO: GPS data processed {"connection_id":216706,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:13:55] local.INFO: Acknowledgment sent {"connection_id":216706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:13:59] local.INFO: TCP Data received {"connection_id":216515,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:13:59] local.INFO: Processing buffer {"connection_id":216515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:13:59] local.INFO: Packet analysis {"connection_id":216515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:13:59] local.INFO: Extracted packet for processing {"connection_id":216515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784130048001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:13:59] 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-10-16 10:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792125809000,"timestamp_ms":1792125809000,"timestamp_seconds":1792125809,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b168"} 
[2026-10-16 10:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:13:59] 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-10-16 10:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784130048001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784130048001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:13:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:13:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784130048001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":216515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:13:59] local.INFO: GPS data processed {"connection_id":216515,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:13:59] local.INFO: Acknowledgment sent {"connection_id":216515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:14:07] local.INFO: TCP Data received {"connection_id":219789,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:14:07] local.INFO: Processing buffer {"connection_id":219789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:14:07] local.INFO: IMEI packet received {"connection_id":219789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":219789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:14:10] local.INFO: TCP Data received {"connection_id":219789,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:14:10] local.INFO: Processing buffer {"connection_id":219789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:14:10] local.INFO: IMEI packet received {"connection_id":219789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":219789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:14:10] local.INFO: TCP Data received {"connection_id":219789,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430328f8012d196900071fed50003a01112d..."} 
[2026-10-16 10:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430328f8012d196900071fed50003a01112d..."} 
[2026-10-16 10:14:10] local.INFO: Processing buffer {"connection_id":219789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430328f8012d196900071fed50003a01112d..."} 
[2026-10-16 10:14:10] local.INFO: Packet analysis {"connection_id":219789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:14:10] local.INFO: Extracted packet for processing {"connection_id":219789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784159232001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792125643000,"timestamp_ms":1792125643000,"timestamp_seconds":1792125643,"priority":1,"record_length":96,"hex_timestamp":"000001a1430328f8"} 
[2026-10-16 10:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:14: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-10-16 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:14: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-10-16 10:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":219789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":219789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":219789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784159232001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784159232001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:14:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784159232001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":219789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:14:11] local.INFO: GPS data processed {"connection_id":219789,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:14:11] local.INFO: Acknowledgment sent {"connection_id":219789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:14:16] local.INFO: TCP Data received {"connection_id":219790,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:14:16] local.INFO: Processing buffer {"connection_id":219790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:14:16] local.INFO: IMEI packet received {"connection_id":219790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":219790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:14:20] local.INFO: TCP Data received {"connection_id":219791,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:14:20] local.INFO: Processing buffer {"connection_id":219791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:14:20] local.INFO: IMEI packet received {"connection_id":219791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":219791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:14:22] local.INFO: TCP Data received {"connection_id":219790,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:14:22] local.INFO: Processing buffer {"connection_id":219790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:14:22] local.INFO: IMEI packet received {"connection_id":219790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":219790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:14:23] local.INFO: TCP Data received {"connection_id":219790,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:14:23] local.INFO: Processing buffer {"connection_id":219790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:14:23] local.INFO: Packet analysis {"connection_id":219790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:14:23] local.INFO: Extracted packet for processing {"connection_id":219790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784088320001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125646000,"timestamp_ms":1792125646000,"timestamp_seconds":1792125646,"priority":1,"record_length":96,"hex_timestamp":"000001a1430334b0"} 
[2026-10-16 10:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:14:23] 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-10-16 10:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784088320001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784088320001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:14:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:14:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784088320001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":219790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:14:23] local.INFO: GPS data processed {"connection_id":219790,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:14:23] local.INFO: Acknowledgment sent {"connection_id":219790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:14:26] local.INFO: TCP Data received {"connection_id":219791,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:14:26] local.INFO: Processing buffer {"connection_id":219791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:14:26] local.INFO: IMEI packet received {"connection_id":219791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":219791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:14:27] local.INFO: TCP Data received {"connection_id":219791,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:14:27] local.INFO: Processing buffer {"connection_id":219791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:14:27] local.INFO: Packet analysis {"connection_id":219791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:14:27] local.INFO: Extracted packet for processing {"connection_id":219791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784130048001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:27] 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-10-16 10:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125809000,"timestamp_ms":1792125809000,"timestamp_seconds":1792125809,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b168"} 
[2026-10-16 10:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:14:27] 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-10-16 10:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:14: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-10-16 10:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784130048001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784130048001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:14:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:14:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784130048001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":219791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:14:27] local.INFO: GPS data processed {"connection_id":219791,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:14:27] local.INFO: Acknowledgment sent {"connection_id":219791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:14:45] local.INFO: TCP Data received {"connection_id":219789,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143037b00012d196900071fed50003a01112d..."} 
[2026-10-16 10:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143037b00012d196900071fed50003a01112d..."} 
[2026-10-16 10:14:45] local.INFO: Processing buffer {"connection_id":219789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143037b00012d196900071fed50003a01112d..."} 
[2026-10-16 10:14:45] local.INFO: Packet analysis {"connection_id":219789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:14:45] local.INFO: Extracted packet for processing {"connection_id":219789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:14: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-10-16 10:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784164608001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792125664000,"timestamp_ms":1792125664000,"timestamp_seconds":1792125664,"priority":1,"record_length":96,"hex_timestamp":"000001a143037b00"} 
[2026-10-16 10:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:14:45] 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-10-16 10:14: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":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:14:45] 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-10-16 10:14: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-10-16 10:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":219789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":219789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":219789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784164608001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784164608001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:14:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784164608001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":219789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:14:45] local.INFO: GPS data processed {"connection_id":219789,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:14:45] local.INFO: Acknowledgment sent {"connection_id":219789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:14:55] local.INFO: TCP Data received {"connection_id":219790,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:14:55] local.INFO: Processing buffer {"connection_id":219790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:14:55] local.INFO: Packet analysis {"connection_id":219790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:14:55] local.INFO: Extracted packet for processing {"connection_id":219790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784088320001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792125646000,"timestamp_ms":1792125646000,"timestamp_seconds":1792125646,"priority":1,"record_length":96,"hex_timestamp":"000001a1430334b0"} 
[2026-10-16 10:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:14:55] 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-10-16 10:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784088320001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784088320001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:14:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:14:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784088320001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":219790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:14:55] local.INFO: GPS data processed {"connection_id":219790,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:14:55] local.INFO: Acknowledgment sent {"connection_id":219790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:14:58] local.INFO: TCP Data received {"connection_id":219791,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:14:58] local.INFO: Processing buffer {"connection_id":219791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:14:58] local.INFO: Packet analysis {"connection_id":219791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:14:58] local.INFO: Extracted packet for processing {"connection_id":219791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784130048001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:14:58] 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-10-16 10:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792125809000,"timestamp_ms":1792125809000,"timestamp_seconds":1792125809,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b168"} 
[2026-10-16 10:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:14: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-10-16 10:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:14:58] 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-10-16 10:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784130048001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784130048001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:14:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784130048001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":219791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:14:58] local.INFO: GPS data processed {"connection_id":219791,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:14:58] local.INFO: Acknowledgment sent {"connection_id":219791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:15:07] local.INFO: TCP Data received {"connection_id":216518,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:15:07] local.INFO: Processing buffer {"connection_id":216518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:15:07] local.INFO: IMEI packet received {"connection_id":216518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":216518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:15:13] local.INFO: TCP Data received {"connection_id":216518,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:15:13] local.INFO: Processing buffer {"connection_id":216518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:15:13] local.INFO: IMEI packet received {"connection_id":216518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":216518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:15:13] local.INFO: TCP Data received {"connection_id":216518,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14303cd08012d196900071fed50003a01112c..."} 
[2026-10-16 10:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14303cd08012d196900071fed50003a01112c..."} 
[2026-10-16 10:15:13] local.INFO: Processing buffer {"connection_id":216518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14303cd08012d196900071fed50003a01112c..."} 
[2026-10-16 10:15:13] local.INFO: Packet analysis {"connection_id":216518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:15:13] local.INFO: Extracted packet for processing {"connection_id":216518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784169984001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792125685000,"timestamp_ms":1792125685000,"timestamp_seconds":1792125685,"priority":1,"record_length":96,"hex_timestamp":"000001a14303cd08"} 
[2026-10-16 10:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:15: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-10-16 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:15: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-10-16 10: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-10-16 10:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784169984001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784169984001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:15:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784169984001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":216518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:15:14] local.INFO: GPS data processed {"connection_id":216518,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:15:14] local.INFO: Acknowledgment sent {"connection_id":216518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:15:16] local.INFO: TCP Data received {"connection_id":216708,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:15:16] local.INFO: Processing buffer {"connection_id":216708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:15:16] local.INFO: IMEI packet received {"connection_id":216708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":216708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:15:20] local.INFO: TCP Data received {"connection_id":218066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:15:20] local.INFO: Processing buffer {"connection_id":218066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:15:20] local.INFO: IMEI packet received {"connection_id":218066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":218066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:15:22] local.INFO: TCP Data received {"connection_id":216708,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:15:22] local.INFO: Processing buffer {"connection_id":216708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:15:22] local.INFO: IMEI packet received {"connection_id":216708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":216708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:15:24] local.INFO: TCP Data received {"connection_id":216708,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:15:24] local.INFO: Processing buffer {"connection_id":216708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:15:24] local.INFO: Packet analysis {"connection_id":216708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:15:24] local.INFO: Extracted packet for processing {"connection_id":216708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:15:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784088320001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792125646000,"timestamp_ms":1792125646000,"timestamp_seconds":1792125646,"priority":1,"record_length":96,"hex_timestamp":"000001a1430334b0"} 
[2026-10-16 10:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:15:24] 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-10-16 10:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784088320001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784088320001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:15:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:15:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784088320001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":216708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:15:24] local.INFO: GPS data processed {"connection_id":216708,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:15:24] local.INFO: Acknowledgment sent {"connection_id":216708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:15:26] local.INFO: TCP Data received {"connection_id":218066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:15:26] local.INFO: Processing buffer {"connection_id":218066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:15:26] local.INFO: IMEI packet received {"connection_id":218066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":218066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:15:27] local.INFO: TCP Data received {"connection_id":218066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:15:27] local.INFO: Processing buffer {"connection_id":218066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:15:27] local.INFO: Packet analysis {"connection_id":218066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:15:27] local.INFO: Extracted packet for processing {"connection_id":218066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784130048001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:27] 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-10-16 10:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125809000,"timestamp_ms":1792125809000,"timestamp_seconds":1792125809,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b168"} 
[2026-10-16 10:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:15:27] 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-10-16 10:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:15:27] 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-10-16 10:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784130048001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784130048001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:15:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:15:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784130048001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":218066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:15:27] local.INFO: GPS data processed {"connection_id":218066,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:15:27] local.INFO: Acknowledgment sent {"connection_id":218066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:15:45] local.INFO: TCP Data received {"connection_id":216518,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143041f10012d196900071fed50003a01112d..."} 
[2026-10-16 10:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143041f10012d196900071fed50003a01112d..."} 
[2026-10-16 10:15:45] local.INFO: Processing buffer {"connection_id":216518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143041f10012d196900071fed50003a01112d..."} 
[2026-10-16 10:15:45] local.INFO: Packet analysis {"connection_id":216518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14304"} 
[2026-10-16 10:15:45] local.INFO: Extracted packet for processing {"connection_id":216518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14304"} 
[2026-10-16 10:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784175360001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792125706000,"timestamp_ms":1792125706000,"timestamp_seconds":1792125706,"priority":1,"record_length":96,"hex_timestamp":"000001a143041f10"} 
[2026-10-16 10:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:15: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-10-16 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:15:45] 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-10-16 10: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-10-16 10:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784175360001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784175360001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:15:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784175360001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":216518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:15:45] local.INFO: GPS data processed {"connection_id":216518,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:15:45] local.INFO: Acknowledgment sent {"connection_id":216518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:15:56] local.INFO: TCP Data received {"connection_id":216708,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:15:56] local.INFO: Processing buffer {"connection_id":216708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430334b0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:15:56] local.INFO: Packet analysis {"connection_id":216708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:15:56] local.INFO: Extracted packet for processing {"connection_id":216708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14303"} 
[2026-10-16 10:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784088320001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792125646000,"timestamp_ms":1792125646000,"timestamp_seconds":1792125646,"priority":1,"record_length":96,"hex_timestamp":"000001a1430334b0"} 
[2026-10-16 10:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:15:56] 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-10-16 10: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-10-16 10:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784088320001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784088320001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:15:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:15:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784088320001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":216708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:15:56] local.INFO: GPS data processed {"connection_id":216708,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:15:56] local.INFO: Acknowledgment sent {"connection_id":216708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:15:59] local.INFO: TCP Data received {"connection_id":218066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:15:59] local.INFO: Processing buffer {"connection_id":218066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:15:59] local.INFO: Packet analysis {"connection_id":218066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:15:59] local.INFO: Extracted packet for processing {"connection_id":218066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784130048001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:15:59] 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-10-16 10:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792125809000,"timestamp_ms":1792125809000,"timestamp_seconds":1792125809,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b168"} 
[2026-10-16 10:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:15:59] 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-10-16 10:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:15:59] 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-10-16 10:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784130048001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784130048001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:15:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:15:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784130048001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":218066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:15:59] local.INFO: GPS data processed {"connection_id":218066,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:15:59] local.INFO: Acknowledgment sent {"connection_id":218066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:16:07] local.INFO: TCP Data received {"connection_id":216519,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:16:07] local.INFO: Processing buffer {"connection_id":216519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:16:07] local.INFO: IMEI packet received {"connection_id":216519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":216519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:16:13] local.INFO: TCP Data received {"connection_id":216519,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:16:13] local.INFO: Processing buffer {"connection_id":216519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:16:13] local.INFO: IMEI packet received {"connection_id":216519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":216519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:16:16] local.INFO: TCP Data received {"connection_id":216519,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143047118012d196900071fed50003a01112d..."} 
[2026-10-16 10:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143047118012d196900071fed50003a01112d..."} 
[2026-10-16 10:16:16] local.INFO: Processing buffer {"connection_id":216519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143047118012d196900071fed50003a01112d..."} 
[2026-10-16 10:16:16] local.INFO: Packet analysis {"connection_id":216519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14304"} 
[2026-10-16 10:16:16] local.INFO: Extracted packet for processing {"connection_id":216519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14304"} 
[2026-10-16 10:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784180736001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792125727000,"timestamp_ms":1792125727000,"timestamp_seconds":1792125727,"priority":1,"record_length":96,"hex_timestamp":"000001a143047118"} 
[2026-10-16 10:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:16:16] 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-10-16 10: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-10-16 10:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784180736001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784180736001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:16:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:16:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784180736001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":216519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:16:16] local.INFO: GPS data processed {"connection_id":216519,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:16:16] local.INFO: Acknowledgment sent {"connection_id":216519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:16:22] local.INFO: TCP Data received {"connection_id":216710,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:16:22] local.INFO: Processing buffer {"connection_id":216710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:16:22] local.INFO: IMEI packet received {"connection_id":216710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":216710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:16:26] local.INFO: TCP Data received {"connection_id":216711,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:16:26] local.INFO: Processing buffer {"connection_id":216711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:16:26] local.INFO: IMEI packet received {"connection_id":216711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":216711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:16:26] local.INFO: TCP Data received {"connection_id":216710,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:16:26] local.INFO: Processing buffer {"connection_id":216710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:16:26] local.INFO: IMEI packet received {"connection_id":216710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":216710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:16:29] local.INFO: TCP Data received {"connection_id":216710,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:16:29] local.INFO: Processing buffer {"connection_id":216710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:16:29] local.INFO: Packet analysis {"connection_id":216710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:16:29] local.INFO: Extracted packet for processing {"connection_id":216710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:16: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-10-16 10:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:16:29] 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-10-16 10:16: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-10-16 10:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:16:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:16:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":216710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:16:29] local.INFO: GPS data processed {"connection_id":216710,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:16:29] local.INFO: Acknowledgment sent {"connection_id":216710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:16:31] local.INFO: TCP Data received {"connection_id":216711,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:16:31] local.INFO: Processing buffer {"connection_id":216711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:16:31] local.INFO: IMEI packet received {"connection_id":216711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":216711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:16:32] local.INFO: TCP Data received {"connection_id":216710,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:16:32] local.INFO: Processing buffer {"connection_id":216710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:16:32] local.INFO: Packet analysis {"connection_id":216710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:16:32] local.INFO: Extracted packet for processing {"connection_id":216710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:16:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:16:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":216710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:16:32] local.INFO: GPS data processed {"connection_id":216710,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:16:32] local.INFO: Acknowledgment sent {"connection_id":216710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:16:34] local.INFO: TCP Data received {"connection_id":216711,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:16:34] local.INFO: Processing buffer {"connection_id":216711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:16:34] local.INFO: Packet analysis {"connection_id":216711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:16:34] local.INFO: Extracted packet for processing {"connection_id":216711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784130048001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:34] 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-10-16 10:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792125809000,"timestamp_ms":1792125809000,"timestamp_seconds":1792125809,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b168"} 
[2026-10-16 10:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:16:34] 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-10-16 10:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784130048001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784130048001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:16:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:16:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784130048001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":216711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:16:34] local.INFO: GPS data processed {"connection_id":216711,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:16:34] local.INFO: Acknowledgment sent {"connection_id":216711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:16:36] local.INFO: TCP Data received {"connection_id":216711,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:16:36] local.INFO: Processing buffer {"connection_id":216711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:16:36] local.INFO: Packet analysis {"connection_id":216711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:16:36] local.INFO: Extracted packet for processing {"connection_id":216711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784130048001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16: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-10-16 10:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792125809000,"timestamp_ms":1792125809000,"timestamp_seconds":1792125809,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b168"} 
[2026-10-16 10:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:16:36] 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-10-16 10: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-10-16 10:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784130048001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784130048001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:16:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:16:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784130048001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":216711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:16:36] local.INFO: GPS data processed {"connection_id":216711,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:16:36] local.INFO: Acknowledgment sent {"connection_id":216711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:16:49] local.INFO: TCP Data received {"connection_id":216519,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14304c320012d196900071fed50003a01112d..."} 
[2026-10-16 10:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14304c320012d196900071fed50003a01112d..."} 
[2026-10-16 10:16:49] local.INFO: Processing buffer {"connection_id":216519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14304c320012d196900071fed50003a01112d..."} 
[2026-10-16 10:16:49] local.INFO: Packet analysis {"connection_id":216519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14304"} 
[2026-10-16 10:16:49] local.INFO: Extracted packet for processing {"connection_id":216519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14304"} 
[2026-10-16 10:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784186112001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792125748000,"timestamp_ms":1792125748000,"timestamp_seconds":1792125748,"priority":1,"record_length":96,"hex_timestamp":"000001a14304c320"} 
[2026-10-16 10:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 10:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":216519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":216519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":216519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784186112001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784186112001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:16:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784186112001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":216519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:16:49] local.INFO: GPS data processed {"connection_id":216519,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:16:49] local.INFO: Acknowledgment sent {"connection_id":216519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:17:07] local.INFO: TCP Data received {"connection_id":218067,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:17:07] local.INFO: Processing buffer {"connection_id":218067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:17:07] local.INFO: IMEI packet received {"connection_id":218067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":218067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:17:12] local.INFO: TCP Data received {"connection_id":218067,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:17:12] local.INFO: Processing buffer {"connection_id":218067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:17:12] local.INFO: IMEI packet received {"connection_id":218067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":218067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:17:13] local.INFO: TCP Data received {"connection_id":218067,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143051528012d196900071fed50003a01112c..."} 
[2026-10-16 10:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143051528012d196900071fed50003a01112c..."} 
[2026-10-16 10:17:13] local.INFO: Processing buffer {"connection_id":218067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143051528012d196900071fed50003a01112c..."} 
[2026-10-16 10:17:13] local.INFO: Packet analysis {"connection_id":218067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:17:13] local.INFO: Extracted packet for processing {"connection_id":218067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784191488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792125769000,"timestamp_ms":1792125769000,"timestamp_seconds":1792125769,"priority":1,"record_length":96,"hex_timestamp":"000001a143051528"} 
[2026-10-16 10:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:17: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-10-16 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:17: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-10-16 10: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-10-16 10:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784191488001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784191488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:17:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784191488001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":218067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:17:13] local.INFO: GPS data processed {"connection_id":218067,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:17:13] local.INFO: Acknowledgment sent {"connection_id":218067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:17:16] local.INFO: TCP Data received {"connection_id":216520,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:17:16] local.INFO: Processing buffer {"connection_id":216520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:17:16] local.INFO: IMEI packet received {"connection_id":216520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":216520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:17:21] local.INFO: TCP Data received {"connection_id":216713,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:17:21] local.INFO: Processing buffer {"connection_id":216713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:17:21] local.INFO: IMEI packet received {"connection_id":216713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":216713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:17:22] local.INFO: TCP Data received {"connection_id":216520,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:17:22] local.INFO: Processing buffer {"connection_id":216520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:17:22] local.INFO: IMEI packet received {"connection_id":216520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":216520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:17:23] local.INFO: TCP Data received {"connection_id":216520,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:17:23] local.INFO: Processing buffer {"connection_id":216520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:17:23] local.INFO: Packet analysis {"connection_id":216520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:17:23] local.INFO: Extracted packet for processing {"connection_id":216520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:17:23] 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-10-16 10:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:17:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:17:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":216520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:17:23] local.INFO: GPS data processed {"connection_id":216520,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:17:23] local.INFO: Acknowledgment sent {"connection_id":216520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:17:26] local.INFO: TCP Data received {"connection_id":216713,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:17:26] local.INFO: Processing buffer {"connection_id":216713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:17:26] local.INFO: IMEI packet received {"connection_id":216713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":216713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:17:27] local.INFO: TCP Data received {"connection_id":216713,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:17:27] local.INFO: Processing buffer {"connection_id":216713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:17:27] local.INFO: Packet analysis {"connection_id":216713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:17:27] local.INFO: Extracted packet for processing {"connection_id":216713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784130048001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:27] 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-10-16 10:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125809000,"timestamp_ms":1792125809000,"timestamp_seconds":1792125809,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b168"} 
[2026-10-16 10:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:17:27] 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-10-16 10: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-10-16 10:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784130048001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784130048001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:17:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:17:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784130048001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":216713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:17:27] local.INFO: GPS data processed {"connection_id":216713,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:17:27] local.INFO: Acknowledgment sent {"connection_id":216713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:17:44] local.INFO: TCP Data received {"connection_id":218067,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143056730012d196900071fed50003a01112b..."} 
[2026-10-16 10:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143056730012d196900071fed50003a01112b..."} 
[2026-10-16 10:17:44] local.INFO: Processing buffer {"connection_id":218067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143056730012d196900071fed50003a01112b..."} 
[2026-10-16 10:17:44] local.INFO: Packet analysis {"connection_id":218067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:17:44] local.INFO: Extracted packet for processing {"connection_id":218067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:17:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784196864001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792125790000,"timestamp_ms":1792125790000,"timestamp_seconds":1792125790,"priority":1,"record_length":96,"hex_timestamp":"000001a143056730"} 
[2026-10-16 10:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:17: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-10-16 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:17: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-10-16 10: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-10-16 10:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784196864001,"66":12156,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784196864001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:17:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:17:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784196864001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":218067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:17:44] local.INFO: GPS data processed {"connection_id":218067,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:17:44] local.INFO: Acknowledgment sent {"connection_id":218067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:17:55] local.INFO: TCP Data received {"connection_id":216520,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:17:55] local.INFO: Processing buffer {"connection_id":216520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:17:55] local.INFO: Packet analysis {"connection_id":216520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:17:55] local.INFO: Extracted packet for processing {"connection_id":216520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:17:55] 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-10-16 10:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:17:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:17:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":216520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:17:55] local.INFO: GPS data processed {"connection_id":216520,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:17:55] local.INFO: Acknowledgment sent {"connection_id":216520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:17:58] local.INFO: TCP Data received {"connection_id":216713,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:17:59] local.INFO: Processing buffer {"connection_id":216713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:17:59] local.INFO: Packet analysis {"connection_id":216713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:17:59] local.INFO: Extracted packet for processing {"connection_id":216713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:17: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-10-16 10:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784130048001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:17:59] 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-10-16 10:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792125809000,"timestamp_ms":1792125809000,"timestamp_seconds":1792125809,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b168"} 
[2026-10-16 10:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:17:59] 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-10-16 10:17: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-10-16 10:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784130048001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784130048001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:17:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:17:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784130048001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":216713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:17:59] local.INFO: GPS data processed {"connection_id":216713,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:17:59] local.INFO: Acknowledgment sent {"connection_id":216713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:18:07] local.INFO: TCP Data received {"connection_id":216522,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:18:07] local.INFO: Processing buffer {"connection_id":216522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:18:07] local.INFO: IMEI packet received {"connection_id":216522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":216522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:18:11] local.INFO: TCP Data received {"connection_id":216521,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:18:11] local.INFO: Processing buffer {"connection_id":216521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:18:11] local.INFO: IMEI packet received {"connection_id":216521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":216521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:18:12] local.INFO: TCP Data received {"connection_id":216522,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:18:12] local.INFO: Processing buffer {"connection_id":216522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:18:12] local.INFO: IMEI packet received {"connection_id":216522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":216522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:18:13] local.INFO: TCP Data received {"connection_id":216522,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b938012d196900071fed50003a01112a..."} 
[2026-10-16 10:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b938012d196900071fed50003a01112a..."} 
[2026-10-16 10:18:13] local.INFO: Processing buffer {"connection_id":216522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b938012d196900071fed50003a01112a..."} 
[2026-10-16 10:18:13] local.INFO: Packet analysis {"connection_id":216522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:18:13] local.INFO: Extracted packet for processing {"connection_id":216522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784202240001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792125811000,"timestamp_ms":1792125811000,"timestamp_seconds":1792125811,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b938"} 
[2026-10-16 10:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:18: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-10-16 10: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 10:18:13] 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-10-16 10: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-10-16 10:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784202240001,"66":12374,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784202240001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:18:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784202240001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":216522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:18:13] local.INFO: GPS data processed {"connection_id":216522,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:18:13] local.INFO: Acknowledgment sent {"connection_id":216522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:18:16] local.INFO: TCP Data received {"connection_id":216523,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:18:16] local.INFO: Processing buffer {"connection_id":216523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:18:16] local.INFO: IMEI packet received {"connection_id":216523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":216523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:18:21] local.INFO: TCP Data received {"connection_id":219792,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:18:21] local.INFO: Processing buffer {"connection_id":219792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:18:21] local.INFO: IMEI packet received {"connection_id":219792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":219792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:18:22] local.INFO: TCP Data received {"connection_id":216523,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:18:22] local.INFO: Processing buffer {"connection_id":216523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:18:22] local.INFO: IMEI packet received {"connection_id":216523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":216523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:18:23] local.INFO: TCP Data received {"connection_id":216523,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:18:23] local.INFO: Processing buffer {"connection_id":216523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:18:23] local.INFO: Packet analysis {"connection_id":216523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:18:23] local.INFO: Extracted packet for processing {"connection_id":216523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:18:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:18:23] 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-10-16 10:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:18:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:18:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":216523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:18:23] local.INFO: GPS data processed {"connection_id":216523,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:18:23] local.INFO: Acknowledgment sent {"connection_id":216523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:18:26] local.INFO: TCP Data received {"connection_id":219792,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:18:26] local.INFO: Processing buffer {"connection_id":219792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:18:26] local.INFO: IMEI packet received {"connection_id":219792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":219792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:18:27] local.INFO: TCP Data received {"connection_id":219792,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:18:27] local.INFO: Processing buffer {"connection_id":219792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14305b168012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:18:27] local.INFO: Packet analysis {"connection_id":219792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:18:27] local.INFO: Extracted packet for processing {"connection_id":219792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14305"} 
[2026-10-16 10:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784130048001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:27] 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-10-16 10:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792125809000,"timestamp_ms":1792125809000,"timestamp_seconds":1792125809,"priority":1,"record_length":96,"hex_timestamp":"000001a14305b168"} 
[2026-10-16 10:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:18:27] 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-10-16 10:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784130048001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784130048001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:18:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:18:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784130048001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":219792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:18:27] local.INFO: GPS data processed {"connection_id":219792,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:18:27] local.INFO: Acknowledgment sent {"connection_id":219792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:18:46] local.INFO: TCP Data received {"connection_id":216522,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143093f90012d196900071fed50003a01112c..."} 
[2026-10-16 10:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143093f90012d196900071fed50003a01112c..."} 
[2026-10-16 10:18:46] local.INFO: Processing buffer {"connection_id":216522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143093f90012d196900071fed50003a01112c..."} 
[2026-10-16 10:18:46] local.INFO: Packet analysis {"connection_id":216522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14309"} 
[2026-10-16 10:18:46] local.INFO: Extracted packet for processing {"connection_id":216522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14309"} 
[2026-10-16 10:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784261376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792126042000,"timestamp_ms":1792126042000,"timestamp_seconds":1792126042,"priority":1,"record_length":96,"hex_timestamp":"000001a143093f90"} 
[2026-10-16 10:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:18:46] 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-10-16 10:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:18: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-10-16 10:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784261376001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784261376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:18:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784261376001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":216522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:18:47] local.INFO: GPS data processed {"connection_id":216522,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:18:47] local.INFO: Acknowledgment sent {"connection_id":216522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:18:55] local.INFO: TCP Data received {"connection_id":216523,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:18:55] local.INFO: Processing buffer {"connection_id":216523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:18:55] local.INFO: Packet analysis {"connection_id":216523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:18:55] local.INFO: Extracted packet for processing {"connection_id":216523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:18:55] 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-10-16 10:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:18:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:18:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":216523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:18:55] local.INFO: GPS data processed {"connection_id":216523,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:18:55] local.INFO: Acknowledgment sent {"connection_id":216523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:18:58] local.INFO: TCP Data received {"connection_id":219792,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:18:58] local.INFO: Processing buffer {"connection_id":219792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:18:58] local.INFO: Packet analysis {"connection_id":219792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:18:58] local.INFO: Extracted packet for processing {"connection_id":219792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784207104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:18:58] 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-10-16 10:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792126110000,"timestamp_ms":1792126110000,"timestamp_seconds":1792126110,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a4930"} 
[2026-10-16 10:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:18: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-10-16 10: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-10-16 10:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784207104001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784207104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:18:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:18:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784207104001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":219792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:18:58] local.INFO: GPS data processed {"connection_id":219792,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:18:58] local.INFO: Acknowledgment sent {"connection_id":219792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:19:01] local.INFO: TCP Data received {"connection_id":218068,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:19:01] local.INFO: Processing buffer {"connection_id":218068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:19:01] local.INFO: IMEI packet received {"connection_id":218068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":218068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:19:12] local.INFO: TCP Data received {"connection_id":216714,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:19:12] local.INFO: Processing buffer {"connection_id":216714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:19:12] local.INFO: IMEI packet received {"connection_id":216714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":216714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:19:18] local.INFO: TCP Data received {"connection_id":216714,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:19:18] local.INFO: Processing buffer {"connection_id":216714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:19:18] local.INFO: IMEI packet received {"connection_id":216714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":216714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:19:19] local.INFO: TCP Data received {"connection_id":216714,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143099198012d196900071fed50003a01112c..."} 
[2026-10-16 10:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143099198012d196900071fed50003a01112c..."} 
[2026-10-16 10:19:19] local.INFO: Processing buffer {"connection_id":216714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143099198012d196900071fed50003a01112c..."} 
[2026-10-16 10:19:19] local.INFO: Packet analysis {"connection_id":216714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14309"} 
[2026-10-16 10:19:19] local.INFO: Extracted packet for processing {"connection_id":216714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14309"} 
[2026-10-16 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784266752001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792126063000,"timestamp_ms":1792126063000,"timestamp_seconds":1792126063,"priority":1,"record_length":96,"hex_timestamp":"000001a143099198"} 
[2026-10-16 10:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 10:19:19] 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-10-16 10:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":216714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":216714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":216714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784266752001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784266752001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:19:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784266752001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":216714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:19:19] local.INFO: GPS data processed {"connection_id":216714,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:19:19] local.INFO: Acknowledgment sent {"connection_id":216714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:19:21] local.INFO: TCP Data received {"connection_id":216524,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:19:21] local.INFO: Processing buffer {"connection_id":216524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:19:21] local.INFO: IMEI packet received {"connection_id":216524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":216524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:19:22] local.INFO: TCP Data received {"connection_id":218069,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:19:22] local.INFO: Processing buffer {"connection_id":218069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:19:22] local.INFO: IMEI packet received {"connection_id":218069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":218069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:19:23] local.INFO: TCP Data received {"connection_id":216714,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14309e3a0012d196900071fed50003a01112c..."} 
[2026-10-16 10:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14309e3a0012d196900071fed50003a01112c..."} 
[2026-10-16 10:19:23] local.INFO: Processing buffer {"connection_id":216714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14309e3a0012d196900071fed50003a01112c..."} 
[2026-10-16 10:19:23] local.INFO: Packet analysis {"connection_id":216714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14309"} 
[2026-10-16 10:19:23] local.INFO: Extracted packet for processing {"connection_id":216714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14309"} 
[2026-10-16 10:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784272128001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792126084000,"timestamp_ms":1792126084000,"timestamp_seconds":1792126084,"priority":1,"record_length":96,"hex_timestamp":"000001a14309e3a0"} 
[2026-10-16 10:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784272128001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784272128001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:19:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784272128001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":216714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:19:23] local.INFO: GPS data processed {"connection_id":216714,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:19:23] local.INFO: Acknowledgment sent {"connection_id":216714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:19:26] local.INFO: TCP Data received {"connection_id":216524,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:19:26] local.INFO: Processing buffer {"connection_id":216524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:19:26] local.INFO: IMEI packet received {"connection_id":216524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":216524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:19:26] local.INFO: TCP Data received {"connection_id":216524,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:19:26] local.INFO: Processing buffer {"connection_id":216524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:19:26] local.INFO: Packet analysis {"connection_id":216524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:19:26] local.INFO: Extracted packet for processing {"connection_id":216524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784207104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:26] 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-10-16 10:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792126110000,"timestamp_ms":1792126110000,"timestamp_seconds":1792126110,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a4930"} 
[2026-10-16 10:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:19:26] 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-10-16 10:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784207104001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784207104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:19:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:19:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784207104001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":216524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:19:27] local.INFO: GPS data processed {"connection_id":216524,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:19:27] local.INFO: Acknowledgment sent {"connection_id":216524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:19:27] local.INFO: TCP Data received {"connection_id":218069,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:19:27] local.INFO: Processing buffer {"connection_id":218069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:19:27] local.INFO: IMEI packet received {"connection_id":218069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":218069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:19:29] local.INFO: TCP Data received {"connection_id":218069,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:19:29] local.INFO: Processing buffer {"connection_id":218069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:19:29] local.INFO: Packet analysis {"connection_id":218069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:19:29] local.INFO: Extracted packet for processing {"connection_id":218069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:19:29] 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-10-16 10:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:19:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:19:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":218069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:19:29] local.INFO: GPS data processed {"connection_id":218069,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:19:29] local.INFO: Acknowledgment sent {"connection_id":218069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:19:32] local.INFO: TCP Data received {"connection_id":218069,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:19:32] local.INFO: Processing buffer {"connection_id":218069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:19:32] local.INFO: Packet analysis {"connection_id":218069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:19:32] local.INFO: Extracted packet for processing {"connection_id":218069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:19:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:19:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":218069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:19:32] local.INFO: GPS data processed {"connection_id":218069,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:19:32] local.INFO: Acknowledgment sent {"connection_id":218069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:19:58] local.INFO: TCP Data received {"connection_id":216524,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:19:58] local.INFO: Processing buffer {"connection_id":216524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:19:58] local.INFO: Packet analysis {"connection_id":216524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:19:58] local.INFO: Extracted packet for processing {"connection_id":216524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784207104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:19:58] 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-10-16 10:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792126110000,"timestamp_ms":1792126110000,"timestamp_seconds":1792126110,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a4930"} 
[2026-10-16 10:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:19: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-10-16 10:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784207104001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784207104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:19:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:19:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784207104001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":216524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:19:58] local.INFO: GPS data processed {"connection_id":216524,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:19:58] local.INFO: Acknowledgment sent {"connection_id":216524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:20:07] local.INFO: TCP Data received {"connection_id":216715,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:20:07] local.INFO: Processing buffer {"connection_id":216715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:20:07] local.INFO: IMEI packet received {"connection_id":216715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":216715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:20:07] local.INFO: TCP Data received {"connection_id":216715,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:20:07] local.INFO: Processing buffer {"connection_id":216715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:20:07] local.INFO: IMEI packet received {"connection_id":216715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":216715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:20:15] local.INFO: TCP Data received {"connection_id":216715,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:20:15] local.INFO: Processing buffer {"connection_id":216715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:20:15] local.INFO: IMEI packet received {"connection_id":216715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":216715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:20:16] local.INFO: TCP Data received {"connection_id":216715,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a35a8012d196900071fed50003a01112a..."} 
[2026-10-16 10:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a35a8012d196900071fed50003a01112a..."} 
[2026-10-16 10:20:16] local.INFO: Processing buffer {"connection_id":216715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a35a8012d196900071fed50003a01112a..."} 
[2026-10-16 10:20:16] local.INFO: Packet analysis {"connection_id":216715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:20:16] local.INFO: Extracted packet for processing {"connection_id":216715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784277504001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792126105000,"timestamp_ms":1792126105000,"timestamp_seconds":1792126105,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a35a8"} 
[2026-10-16 10:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 10:20: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-10-16 10:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784277504001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784277504001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:20:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784277504001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":216715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:20:16] local.INFO: GPS data processed {"connection_id":216715,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:20:16] local.INFO: Acknowledgment sent {"connection_id":216715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:20:17] local.INFO: TCP Data received {"connection_id":218070,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:20:17] local.INFO: Processing buffer {"connection_id":218070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:20:17] local.INFO: IMEI packet received {"connection_id":218070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":218070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:20:20] local.INFO: TCP Data received {"connection_id":216716,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:20:20] local.INFO: Processing buffer {"connection_id":216716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:20:20] local.INFO: IMEI packet received {"connection_id":216716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":216716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:20:22] local.INFO: TCP Data received {"connection_id":218070,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:20:22] local.INFO: Processing buffer {"connection_id":218070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:20:22] local.INFO: IMEI packet received {"connection_id":218070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":218070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:20:23] local.INFO: TCP Data received {"connection_id":218070,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:20:23] local.INFO: Processing buffer {"connection_id":218070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:20:23] local.INFO: Packet analysis {"connection_id":218070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:20:23] local.INFO: Extracted packet for processing {"connection_id":218070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:20:23] 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-10-16 10:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:20:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:20:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":218070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:20:23] local.INFO: GPS data processed {"connection_id":218070,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:20:23] local.INFO: Acknowledgment sent {"connection_id":218070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:20:26] local.INFO: TCP Data received {"connection_id":216716,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:20:26] local.INFO: Processing buffer {"connection_id":216716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:20:26] local.INFO: IMEI packet received {"connection_id":216716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":216716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:20:27] local.INFO: TCP Data received {"connection_id":216716,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:20:27] local.INFO: Processing buffer {"connection_id":216716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:20:27] local.INFO: Packet analysis {"connection_id":216716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:20:27] local.INFO: Extracted packet for processing {"connection_id":216716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784207104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:27] 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-10-16 10:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792126110000,"timestamp_ms":1792126110000,"timestamp_seconds":1792126110,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a4930"} 
[2026-10-16 10:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:20:27] 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-10-16 10:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:20: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-10-16 10:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784207104001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784207104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:20:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:20:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784207104001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":216716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:20:27] local.INFO: GPS data processed {"connection_id":216716,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:20:27] local.INFO: Acknowledgment sent {"connection_id":216716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:20:47] local.INFO: TCP Data received {"connection_id":216715,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a87b0012d196900071fed50003a01112b..."} 
[2026-10-16 10:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a87b0012d196900071fed50003a01112b..."} 
[2026-10-16 10:20:47] local.INFO: Processing buffer {"connection_id":216715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a87b0012d196900071fed50003a01112b..."} 
[2026-10-16 10:20:47] local.INFO: Packet analysis {"connection_id":216715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:20:47] local.INFO: Extracted packet for processing {"connection_id":216715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784282880001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792126126000,"timestamp_ms":1792126126000,"timestamp_seconds":1792126126,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a87b0"} 
[2026-10-16 10:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:20:47] 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-10-16 10:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784282880001,"66":12113,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784282880001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:20:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784282880001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":216715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:20:47] local.INFO: GPS data processed {"connection_id":216715,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:20:47] local.INFO: Acknowledgment sent {"connection_id":216715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:20:55] local.INFO: TCP Data received {"connection_id":218070,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:20:55] local.INFO: Processing buffer {"connection_id":218070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:20:55] local.INFO: Packet analysis {"connection_id":218070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:20:55] local.INFO: Extracted packet for processing {"connection_id":218070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:20:55] 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-10-16 10:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:20:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:20:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":218070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:20:55] local.INFO: GPS data processed {"connection_id":218070,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:20:55] local.INFO: Acknowledgment sent {"connection_id":218070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:21:00] local.INFO: TCP Data received {"connection_id":216716,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:21:00] local.INFO: Processing buffer {"connection_id":216716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:21:00] local.INFO: Packet analysis {"connection_id":216716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:21:00] local.INFO: Extracted packet for processing {"connection_id":216716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784207104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:00] 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-10-16 10:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792126110000,"timestamp_ms":1792126110000,"timestamp_seconds":1792126110,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a4930"} 
[2026-10-16 10:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:21: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-10-16 10:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:21:00] 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-10-16 10:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784207104001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784207104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:21:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:21:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784207104001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":216716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:21:00] local.INFO: GPS data processed {"connection_id":216716,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:21:00] local.INFO: Acknowledgment sent {"connection_id":216716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:21:07] local.INFO: TCP Data received {"connection_id":219794,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:21:07] local.INFO: Processing buffer {"connection_id":219794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:21:07] local.INFO: IMEI packet received {"connection_id":219794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":219794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:21:10] local.INFO: TCP Data received {"connection_id":219794,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:21:10] local.INFO: Processing buffer {"connection_id":219794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:21:10] local.INFO: IMEI packet received {"connection_id":219794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":219794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:21:10] local.INFO: TCP Data received {"connection_id":219794,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ad9b8012d196900071fed50003a01112c..."} 
[2026-10-16 10:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ad9b8012d196900071fed50003a01112c..."} 
[2026-10-16 10:21:10] local.INFO: Processing buffer {"connection_id":219794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ad9b8012d196900071fed50003a01112c..."} 
[2026-10-16 10:21:10] local.INFO: Packet analysis {"connection_id":219794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:21:10] local.INFO: Extracted packet for processing {"connection_id":219794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784288256001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792126147000,"timestamp_ms":1792126147000,"timestamp_seconds":1792126147,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ad9b8"} 
[2026-10-16 10:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-10-16 10:21: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-10-16 10:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":219794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":219794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":219794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784288256001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784288256001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:21:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784288256001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":219794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:21:11] local.INFO: GPS data processed {"connection_id":219794,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:21:11] local.INFO: Acknowledgment sent {"connection_id":219794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:21:16] local.INFO: TCP Data received {"connection_id":216717,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:21:16] local.INFO: Processing buffer {"connection_id":216717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:21:16] local.INFO: IMEI packet received {"connection_id":216717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":216717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:21:22] local.INFO: TCP Data received {"connection_id":216717,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:21:22] local.INFO: Processing buffer {"connection_id":216717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:21:22] local.INFO: IMEI packet received {"connection_id":216717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":216717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:21:24] local.INFO: TCP Data received {"connection_id":216717,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:21:24] local.INFO: Processing buffer {"connection_id":216717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14307cc78012d7fa40005afce580009000a32..."} 
[2026-10-16 10:21:24] local.INFO: Packet analysis {"connection_id":216717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:21:24] local.INFO: Extracted packet for processing {"connection_id":216717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14307"} 
[2026-10-16 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784165376001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792125947000,"timestamp_ms":1792125947000,"timestamp_seconds":1792125947,"priority":1,"record_length":96,"hex_timestamp":"000001a14307cc78"} 
[2026-10-16 10:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:21:24] 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-10-16 10:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784165376001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784165376001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:21:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:21:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784165376001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":216717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:21:24] local.INFO: GPS data processed {"connection_id":216717,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:21:24] local.INFO: Acknowledgment sent {"connection_id":216717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:21:26] local.INFO: TCP Data received {"connection_id":216526,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:21:26] local.INFO: Processing buffer {"connection_id":216526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:21:26] local.INFO: IMEI packet received {"connection_id":216526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":216526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:21:31] local.INFO: TCP Data received {"connection_id":216526,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:21:31] local.INFO: Processing buffer {"connection_id":216526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:21:31] local.INFO: IMEI packet received {"connection_id":216526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":216526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:21:32] local.INFO: TCP Data received {"connection_id":216526,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:21:32] local.INFO: Processing buffer {"connection_id":216526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:21:32] local.INFO: Packet analysis {"connection_id":216526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:21:32] local.INFO: Extracted packet for processing {"connection_id":216526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784207104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792126110000,"timestamp_ms":1792126110000,"timestamp_seconds":1792126110,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a4930"} 
[2026-10-16 10:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:21:32] 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-10-16 10:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784207104001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784207104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:21:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:21:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784207104001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":216526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:21:32] local.INFO: GPS data processed {"connection_id":216526,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:21:32] local.INFO: Acknowledgment sent {"connection_id":216526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:21:40] local.INFO: TCP Data received {"connection_id":216526,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:21:40] local.INFO: Processing buffer {"connection_id":216526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:21:40] local.INFO: Packet analysis {"connection_id":216526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:21:40] local.INFO: Extracted packet for processing {"connection_id":216526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784207104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:40] 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-10-16 10:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792126110000,"timestamp_ms":1792126110000,"timestamp_seconds":1792126110,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a4930"} 
[2026-10-16 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-10-16 10: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-10-16 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:21:40] 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-10-16 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-10-16 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-10-16 10:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":216526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":216526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":216526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784207104001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784207104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:21:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:21:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784207104001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":216526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:21:40] local.INFO: GPS data processed {"connection_id":216526,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:21:40] local.INFO: Acknowledgment sent {"connection_id":216526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:21:42] local.INFO: TCP Data received {"connection_id":219794,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430b2bc0012d196900071fed50003a01112d..."} 
[2026-10-16 10:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430b2bc0012d196900071fed50003a01112d..."} 
[2026-10-16 10:21:42] local.INFO: Processing buffer {"connection_id":219794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430b2bc0012d196900071fed50003a01112d..."} 
[2026-10-16 10:21:42] local.INFO: Packet analysis {"connection_id":219794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430b"} 
[2026-10-16 10:21:42] local.INFO: Extracted packet for processing {"connection_id":219794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430b"} 
[2026-10-16 10:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784293632001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792126168000,"timestamp_ms":1792126168000,"timestamp_seconds":1792126168,"priority":1,"record_length":96,"hex_timestamp":"000001a1430b2bc0"} 
[2026-10-16 10:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:21: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-10-16 10:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:21: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-10-16 10:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":219794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":219794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":219794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784293632001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784293632001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:21:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784293632001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":219794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:21:42] local.INFO: GPS data processed {"connection_id":219794,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:21:42] local.INFO: Acknowledgment sent {"connection_id":219794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:21:55] local.INFO: TCP Data received {"connection_id":216717,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:21:55] local.INFO: Processing buffer {"connection_id":216717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:21:55] local.INFO: Packet analysis {"connection_id":216717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:21:55] local.INFO: Extracted packet for processing {"connection_id":216717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784242432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792126248000,"timestamp_ms":1792126248000,"timestamp_seconds":1792126248,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c6440"} 
[2026-10-16 10:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784242432001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784242432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:21:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:21:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784242432001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":216717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:21:55] local.INFO: GPS data processed {"connection_id":216717,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:21:55] local.INFO: Acknowledgment sent {"connection_id":216717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:22:07] local.INFO: TCP Data received {"connection_id":216718,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:22:07] local.INFO: Processing buffer {"connection_id":216718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:22:07] local.INFO: IMEI packet received {"connection_id":216718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":216718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:22:13] local.INFO: TCP Data received {"connection_id":216718,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:22:13] local.INFO: Processing buffer {"connection_id":216718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:22:13] local.INFO: IMEI packet received {"connection_id":216718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":216718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:22:17] local.INFO: TCP Data received {"connection_id":216718,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430b7dc8012d196900071fed50003a01112c..."} 
[2026-10-16 10:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430b7dc8012d196900071fed50003a01112c..."} 
[2026-10-16 10:22:17] local.INFO: Processing buffer {"connection_id":216718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430b7dc8012d196900071fed50003a01112c..."} 
[2026-10-16 10:22:17] local.INFO: Packet analysis {"connection_id":216718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430b"} 
[2026-10-16 10:22:17] local.INFO: Extracted packet for processing {"connection_id":216718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430b"} 
[2026-10-16 10:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784299008001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792126189000,"timestamp_ms":1792126189000,"timestamp_seconds":1792126189,"priority":1,"record_length":96,"hex_timestamp":"000001a1430b7dc8"} 
[2026-10-16 10:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:22: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-10-16 10:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":216718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":216718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":216718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784299008001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784299008001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:22:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784299008001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":216718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:22:17] local.INFO: GPS data processed {"connection_id":216718,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:22:17] local.INFO: Acknowledgment sent {"connection_id":216718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:22:21] local.INFO: TCP Data received {"connection_id":219796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:22:21] local.INFO: Processing buffer {"connection_id":219796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:22:21] local.INFO: IMEI packet received {"connection_id":219796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":219796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:22:22] local.INFO: TCP Data received {"connection_id":219797,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:22:22] local.INFO: Processing buffer {"connection_id":219797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:22:22] local.INFO: IMEI packet received {"connection_id":219797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":219797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:22:26] local.INFO: TCP Data received {"connection_id":219796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:22:26] local.INFO: Processing buffer {"connection_id":219796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:22:26] local.INFO: IMEI packet received {"connection_id":219796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":219796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:22:27] local.INFO: TCP Data received {"connection_id":219796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:22:27] local.INFO: Processing buffer {"connection_id":219796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:22:27] local.INFO: Packet analysis {"connection_id":219796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:22:27] local.INFO: Extracted packet for processing {"connection_id":219796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784207104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:27] 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-10-16 10:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792126110000,"timestamp_ms":1792126110000,"timestamp_seconds":1792126110,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a4930"} 
[2026-10-16 10:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:22:27] 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-10-16 10:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:22:27] 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-10-16 10:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784207104001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784207104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:22:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:22:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784207104001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":219796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:22:27] local.INFO: GPS data processed {"connection_id":219796,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:22:27] local.INFO: Acknowledgment sent {"connection_id":219796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:22:27] local.INFO: TCP Data received {"connection_id":219797,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:22:27] local.INFO: Processing buffer {"connection_id":219797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:22:27] local.INFO: IMEI packet received {"connection_id":219797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":219797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:22:29] local.INFO: TCP Data received {"connection_id":219797,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:22:29] local.INFO: Processing buffer {"connection_id":219797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:22:29] local.INFO: Packet analysis {"connection_id":219797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:22:29] local.INFO: Extracted packet for processing {"connection_id":219797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784242432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792126248000,"timestamp_ms":1792126248000,"timestamp_seconds":1792126248,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c6440"} 
[2026-10-16 10:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:22:29] 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-10-16 10:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784242432001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784242432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:22:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:22:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784242432001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":219797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:22:29] local.INFO: GPS data processed {"connection_id":219797,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:22:29] local.INFO: Acknowledgment sent {"connection_id":219797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:22:32] local.INFO: TCP Data received {"connection_id":219797,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:22:32] local.INFO: Processing buffer {"connection_id":219797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:22:32] local.INFO: Packet analysis {"connection_id":219797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:22:32] local.INFO: Extracted packet for processing {"connection_id":219797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784242432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792126248000,"timestamp_ms":1792126248000,"timestamp_seconds":1792126248,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c6440"} 
[2026-10-16 10:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784242432001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784242432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:22:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:22:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784242432001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":219797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:22:32] local.INFO: GPS data processed {"connection_id":219797,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:22:32] local.INFO: Acknowledgment sent {"connection_id":219797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:22:48] local.INFO: TCP Data received {"connection_id":216718,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430bcfd0012d196900071fed50003a01112c..."} 
[2026-10-16 10:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430bcfd0012d196900071fed50003a01112c..."} 
[2026-10-16 10:22:48] local.INFO: Processing buffer {"connection_id":216718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430bcfd0012d196900071fed50003a01112c..."} 
[2026-10-16 10:22:48] local.INFO: Packet analysis {"connection_id":216718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430b"} 
[2026-10-16 10:22:48] local.INFO: Extracted packet for processing {"connection_id":216718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430b"} 
[2026-10-16 10:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784304384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792126210000,"timestamp_ms":1792126210000,"timestamp_seconds":1792126210,"priority":1,"record_length":96,"hex_timestamp":"000001a1430bcfd0"} 
[2026-10-16 10:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:22: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-10-16 10:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784304384001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784304384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:22:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784304384001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":216718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:22:48] local.INFO: GPS data processed {"connection_id":216718,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:22:48] local.INFO: Acknowledgment sent {"connection_id":216718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:22:58] local.INFO: TCP Data received {"connection_id":219796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:22:58] local.INFO: Processing buffer {"connection_id":219796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:22:58] local.INFO: Packet analysis {"connection_id":219796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:22:58] local.INFO: Extracted packet for processing {"connection_id":219796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784207104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:22:58] 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-10-16 10:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792126110000,"timestamp_ms":1792126110000,"timestamp_seconds":1792126110,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a4930"} 
[2026-10-16 10:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:22: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-10-16 10:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:22:58] 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-10-16 10:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784207104001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784207104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:22:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:22:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784207104001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":219796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:22:58] local.INFO: GPS data processed {"connection_id":219796,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:22:58] local.INFO: Acknowledgment sent {"connection_id":219796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:23:07] local.INFO: TCP Data received {"connection_id":218072,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:23:07] local.INFO: Processing buffer {"connection_id":218072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:23:07] local.INFO: IMEI packet received {"connection_id":218072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":218072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:23:12] local.INFO: TCP Data received {"connection_id":218072,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:23:12] local.INFO: Processing buffer {"connection_id":218072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:23:12] local.INFO: IMEI packet received {"connection_id":218072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":218072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:23:13] local.INFO: TCP Data received {"connection_id":218072,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c21d8012d196900071fed50003a01112d..."} 
[2026-10-16 10:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c21d8012d196900071fed50003a01112d..."} 
[2026-10-16 10:23:13] local.INFO: Processing buffer {"connection_id":218072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c21d8012d196900071fed50003a01112d..."} 
[2026-10-16 10:23:13] local.INFO: Packet analysis {"connection_id":218072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:23:13] local.INFO: Extracted packet for processing {"connection_id":218072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784309760001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792126231000,"timestamp_ms":1792126231000,"timestamp_seconds":1792126231,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c21d8"} 
[2026-10-16 10:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 10:23: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-10-16 10: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-10-16 10:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784309760001,"66":12232,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784309760001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:23:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784309760001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":218072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:23:13] local.INFO: GPS data processed {"connection_id":218072,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:23:13] local.INFO: Acknowledgment sent {"connection_id":218072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:23:16] local.INFO: TCP Data received {"connection_id":218073,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:23:16] local.INFO: Processing buffer {"connection_id":218073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:23:16] local.INFO: IMEI packet received {"connection_id":218073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":218073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:23:21] local.INFO: TCP Data received {"connection_id":216527,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:23:21] local.INFO: Processing buffer {"connection_id":216527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:23:21] local.INFO: IMEI packet received {"connection_id":216527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:23:22] local.INFO: TCP Data received {"connection_id":218073,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:23:22] local.INFO: Processing buffer {"connection_id":218073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:23:22] local.INFO: IMEI packet received {"connection_id":218073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":218073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:23:25] local.INFO: TCP Data received {"connection_id":218073,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:23:25] local.INFO: Processing buffer {"connection_id":218073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:23:25] local.INFO: Packet analysis {"connection_id":218073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:23:25] local.INFO: Extracted packet for processing {"connection_id":218073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784242432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792126248000,"timestamp_ms":1792126248000,"timestamp_seconds":1792126248,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c6440"} 
[2026-10-16 10:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:23:25] 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-10-16 10:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":218073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":218073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":218073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784242432001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784242432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:23:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:23:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784242432001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":218073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:23:25] local.INFO: GPS data processed {"connection_id":218073,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:23:25] local.INFO: Acknowledgment sent {"connection_id":218073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:23:25] local.INFO: TCP Data received {"connection_id":216527,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:23:26] local.INFO: Processing buffer {"connection_id":216527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:23:26] local.INFO: IMEI packet received {"connection_id":216527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":216527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:23:26] local.INFO: TCP Data received {"connection_id":216527,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:23:26] local.INFO: Processing buffer {"connection_id":216527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430a4930012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:23:26] local.INFO: Packet analysis {"connection_id":216527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:23:26] local.INFO: Extracted packet for processing {"connection_id":216527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430a"} 
[2026-10-16 10:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784207104001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:26] 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-10-16 10:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792126110000,"timestamp_ms":1792126110000,"timestamp_seconds":1792126110,"priority":1,"record_length":96,"hex_timestamp":"000001a1430a4930"} 
[2026-10-16 10:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:23:26] 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-10-16 10:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784207104001,"66":12917,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784207104001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:23:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:23:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784207104001,"power":12917,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":216527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:23:27] local.INFO: GPS data processed {"connection_id":216527,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:23:27] local.INFO: Acknowledgment sent {"connection_id":216527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:23:45] local.INFO: TCP Data received {"connection_id":218072,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c73e0012d196900071fed50003a01112d..."} 
[2026-10-16 10:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c73e0012d196900071fed50003a01112d..."} 
[2026-10-16 10:23:45] local.INFO: Processing buffer {"connection_id":218072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c73e0012d196900071fed50003a01112d..."} 
[2026-10-16 10:23:45] local.INFO: Packet analysis {"connection_id":218072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:23:45] local.INFO: Extracted packet for processing {"connection_id":218072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784315136001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792126252000,"timestamp_ms":1792126252000,"timestamp_seconds":1792126252,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c73e0"} 
[2026-10-16 10:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:23: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-10-16 10:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-16 10:23: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-10-16 10:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784315136001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784315136001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:23:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784315136001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":218072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:23:45] local.INFO: GPS data processed {"connection_id":218072,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:23:45] local.INFO: Acknowledgment sent {"connection_id":218072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:23:57] local.INFO: TCP Data received {"connection_id":218073,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:23:57] local.INFO: Processing buffer {"connection_id":218073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:23:57] local.INFO: Packet analysis {"connection_id":218073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:23:57] local.INFO: Extracted packet for processing {"connection_id":218073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784242432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792126248000,"timestamp_ms":1792126248000,"timestamp_seconds":1792126248,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c6440"} 
[2026-10-16 10:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:23:57] 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-10-16 10:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":218073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":218073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":218073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784242432001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784242432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:23:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:23:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784242432001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":218073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:23:57] local.INFO: GPS data processed {"connection_id":218073,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:23:57] local.INFO: Acknowledgment sent {"connection_id":218073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:24:01] local.INFO: TCP Data received {"connection_id":216527,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:24:01] local.INFO: Processing buffer {"connection_id":216527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:24:01] local.INFO: Packet analysis {"connection_id":216527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:24:01] local.INFO: Extracted packet for processing {"connection_id":216527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784284160001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:01] 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-10-16 10:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792126411000,"timestamp_ms":1792126411000,"timestamp_seconds":1792126411,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ee0f8"} 
[2026-10-16 10:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:24:01] 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-10-16 10:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784284160001,"66":12885,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784284160001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:24:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:24:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784284160001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":216527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:24:01] local.INFO: GPS data processed {"connection_id":216527,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:24:01] local.INFO: Acknowledgment sent {"connection_id":216527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:24:07] local.INFO: TCP Data received {"connection_id":216528,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:24:07] local.INFO: Processing buffer {"connection_id":216528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:24:07] local.INFO: IMEI packet received {"connection_id":216528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":216528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:24:12] local.INFO: TCP Data received {"connection_id":216528,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:24:12] local.INFO: Processing buffer {"connection_id":216528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:24:12] local.INFO: IMEI packet received {"connection_id":216528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":216528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:24:13] local.INFO: TCP Data received {"connection_id":216528,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430cc5e8012d196900071fed50003a01112c..."} 
[2026-10-16 10:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430cc5e8012d196900071fed50003a01112c..."} 
[2026-10-16 10:24:13] local.INFO: Processing buffer {"connection_id":216528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430cc5e8012d196900071fed50003a01112c..."} 
[2026-10-16 10:24:13] local.INFO: Packet analysis {"connection_id":216528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:24:13] local.INFO: Extracted packet for processing {"connection_id":216528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:24:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784320512001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792126273000,"timestamp_ms":1792126273000,"timestamp_seconds":1792126273,"priority":1,"record_length":96,"hex_timestamp":"000001a1430cc5e8"} 
[2026-10-16 10:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:24: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-10-16 10: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-10-16 10:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784320512001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784320512001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:24:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784320512001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":216528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:24:13] local.INFO: GPS data processed {"connection_id":216528,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:24:13] local.INFO: Acknowledgment sent {"connection_id":216528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:24:16] local.INFO: TCP Data received {"connection_id":216529,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:24:16] local.INFO: Processing buffer {"connection_id":216529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:24:16] local.INFO: IMEI packet received {"connection_id":216529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":216529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:24:21] local.INFO: TCP Data received {"connection_id":219798,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:24:21] local.INFO: Processing buffer {"connection_id":219798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:24:21] local.INFO: IMEI packet received {"connection_id":219798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":219798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:24:22] local.INFO: TCP Data received {"connection_id":216529,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:24:22] local.INFO: Processing buffer {"connection_id":216529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:24:22] local.INFO: IMEI packet received {"connection_id":216529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":216529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:24:23] local.INFO: TCP Data received {"connection_id":216529,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:24:23] local.INFO: Processing buffer {"connection_id":216529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:24:23] local.INFO: Packet analysis {"connection_id":216529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:24:23] local.INFO: Extracted packet for processing {"connection_id":216529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784242432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792126248000,"timestamp_ms":1792126248000,"timestamp_seconds":1792126248,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c6440"} 
[2026-10-16 10:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:24:23] 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-10-16 10:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784242432001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784242432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:24:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:24:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784242432001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":216529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:24:23] local.INFO: GPS data processed {"connection_id":216529,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:24:23] local.INFO: Acknowledgment sent {"connection_id":216529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:24:26] local.INFO: TCP Data received {"connection_id":219798,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:24:26] local.INFO: Processing buffer {"connection_id":219798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:24:26] local.INFO: IMEI packet received {"connection_id":219798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":219798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:24:26] local.INFO: TCP Data received {"connection_id":218074,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:24:26] local.INFO: Processing buffer {"connection_id":218074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:24:26] local.INFO: IMEI packet received {"connection_id":218074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":218074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:24:30] local.INFO: TCP Data received {"connection_id":219798,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:24:30] local.INFO: Processing buffer {"connection_id":219798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:24:30] local.INFO: Packet analysis {"connection_id":219798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:24:30] local.INFO: Extracted packet for processing {"connection_id":219798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784284160001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:30] 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-10-16 10:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792126411000,"timestamp_ms":1792126411000,"timestamp_seconds":1792126411,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ee0f8"} 
[2026-10-16 10:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:24:30] 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-10-16 10:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":219798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":219798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":219798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784284160001,"66":12885,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784284160001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:24:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784284160001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":219798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:24:30] local.INFO: GPS data processed {"connection_id":219798,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:24:30] local.INFO: Acknowledgment sent {"connection_id":219798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:24:44] local.INFO: TCP Data received {"connection_id":216528,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430d17f0012d196900071fed50003a01112d..."} 
[2026-10-16 10:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430d17f0012d196900071fed50003a01112d..."} 
[2026-10-16 10:24:44] local.INFO: Processing buffer {"connection_id":216528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430d17f0012d196900071fed50003a01112d..."} 
[2026-10-16 10:24:44] local.INFO: Packet analysis {"connection_id":216528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430d"} 
[2026-10-16 10:24:44] local.INFO: Extracted packet for processing {"connection_id":216528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430d"} 
[2026-10-16 10:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784325888001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792126294000,"timestamp_ms":1792126294000,"timestamp_seconds":1792126294,"priority":1,"record_length":96,"hex_timestamp":"000001a1430d17f0"} 
[2026-10-16 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-10-16 10:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:24: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-10-16 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-10-16 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-10-16 10:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784325888001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784325888001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:24:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:24:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784325888001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":216528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:24:44] local.INFO: GPS data processed {"connection_id":216528,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:24:44] local.INFO: Acknowledgment sent {"connection_id":216528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:24:53] local.INFO: TCP Data received {"connection_id":218075,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:24:53] local.INFO: Processing buffer {"connection_id":218075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:24:53] local.INFO: IMEI packet received {"connection_id":218075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":218075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:24:55] local.INFO: TCP Data received {"connection_id":216529,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:24:55] local.INFO: Processing buffer {"connection_id":216529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:24:55] local.INFO: Packet analysis {"connection_id":216529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:24:55] local.INFO: Extracted packet for processing {"connection_id":216529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784242432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792126248000,"timestamp_ms":1792126248000,"timestamp_seconds":1792126248,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c6440"} 
[2026-10-16 10:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784242432001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784242432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:24:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:24:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784242432001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":216529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:24:55] local.INFO: GPS data processed {"connection_id":216529,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:24:55] local.INFO: Acknowledgment sent {"connection_id":216529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:25:01] local.INFO: TCP Data received {"connection_id":219798,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:25:01] local.INFO: Processing buffer {"connection_id":219798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:25:01] local.INFO: Packet analysis {"connection_id":219798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:25:01] local.INFO: Extracted packet for processing {"connection_id":219798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784284160001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:01] 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-10-16 10:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792126411000,"timestamp_ms":1792126411000,"timestamp_seconds":1792126411,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ee0f8"} 
[2026-10-16 10:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:25:01] 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-10-16 10: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-10-16 10:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784284160001,"66":12885,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784284160001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:25:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:25:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784284160001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":219798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:25:01] local.INFO: GPS data processed {"connection_id":219798,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:25:01] local.INFO: Acknowledgment sent {"connection_id":219798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:25:07] local.INFO: TCP Data received {"connection_id":218076,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:25:07] local.INFO: Processing buffer {"connection_id":218076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:25:07] local.INFO: IMEI packet received {"connection_id":218076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":218076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:25:12] local.INFO: TCP Data received {"connection_id":218076,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:25:12] local.INFO: Processing buffer {"connection_id":218076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:25:12] local.INFO: IMEI packet received {"connection_id":218076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":218076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:25:13] local.INFO: TCP Data received {"connection_id":218076,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430d69f8012d196900071fed50003a01112c..."} 
[2026-10-16 10:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430d69f8012d196900071fed50003a01112c..."} 
[2026-10-16 10:25:13] local.INFO: Processing buffer {"connection_id":218076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430d69f8012d196900071fed50003a01112c..."} 
[2026-10-16 10:25:13] local.INFO: Packet analysis {"connection_id":218076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430d"} 
[2026-10-16 10:25:13] local.INFO: Extracted packet for processing {"connection_id":218076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430d"} 
[2026-10-16 10:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784331264001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792126315000,"timestamp_ms":1792126315000,"timestamp_seconds":1792126315,"priority":1,"record_length":96,"hex_timestamp":"000001a1430d69f8"} 
[2026-10-16 10:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:25: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-10-16 10: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-10-16 10:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784331264001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784331264001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:25:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784331264001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":218076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:25:13] local.INFO: GPS data processed {"connection_id":218076,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:25:13] local.INFO: Acknowledgment sent {"connection_id":218076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:25:16] local.INFO: TCP Data received {"connection_id":218077,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:25:16] local.INFO: Processing buffer {"connection_id":218077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:25:16] local.INFO: IMEI packet received {"connection_id":218077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":218077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:25:20] local.INFO: TCP Data received {"connection_id":216530,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:25:20] local.INFO: Processing buffer {"connection_id":216530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:25:20] local.INFO: IMEI packet received {"connection_id":216530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":216530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:25:22] local.INFO: TCP Data received {"connection_id":218077,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:25:22] local.INFO: Processing buffer {"connection_id":218077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:25:22] local.INFO: IMEI packet received {"connection_id":218077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":218077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:25:23] local.INFO: TCP Data received {"connection_id":218077,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:25:23] local.INFO: Processing buffer {"connection_id":218077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:25:23] local.INFO: Packet analysis {"connection_id":218077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:25:23] local.INFO: Extracted packet for processing {"connection_id":218077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784242432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792126248000,"timestamp_ms":1792126248000,"timestamp_seconds":1792126248,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c6440"} 
[2026-10-16 10:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:25:23] 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-10-16 10:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784242432001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784242432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:25:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:25:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784242432001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":218077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:25:23] local.INFO: GPS data processed {"connection_id":218077,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:25:23] local.INFO: Acknowledgment sent {"connection_id":218077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:25:26] local.INFO: TCP Data received {"connection_id":216530,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:25:26] local.INFO: Processing buffer {"connection_id":216530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:25:26] local.INFO: IMEI packet received {"connection_id":216530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":216530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:25:27] local.INFO: TCP Data received {"connection_id":216530,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:25:27] local.INFO: Processing buffer {"connection_id":216530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:25:27] local.INFO: Packet analysis {"connection_id":216530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:25:27] local.INFO: Extracted packet for processing {"connection_id":216530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784284160001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:27] 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-10-16 10:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792126411000,"timestamp_ms":1792126411000,"timestamp_seconds":1792126411,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ee0f8"} 
[2026-10-16 10:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:25:27] 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-10-16 10:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784284160001,"66":12885,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784284160001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:25:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:25:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784284160001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":216530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:25:27] local.INFO: GPS data processed {"connection_id":216530,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:25:27] local.INFO: Acknowledgment sent {"connection_id":216530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:25:44] local.INFO: TCP Data received {"connection_id":218076,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430dbc00012d196900071fed50003a01112d..."} 
[2026-10-16 10:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430dbc00012d196900071fed50003a01112d..."} 
[2026-10-16 10:25:44] local.INFO: Processing buffer {"connection_id":218076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430dbc00012d196900071fed50003a01112d..."} 
[2026-10-16 10:25:44] local.INFO: Packet analysis {"connection_id":218076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430d"} 
[2026-10-16 10:25:44] local.INFO: Extracted packet for processing {"connection_id":218076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430d"} 
[2026-10-16 10:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784336640001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792126336000,"timestamp_ms":1792126336000,"timestamp_seconds":1792126336,"priority":1,"record_length":96,"hex_timestamp":"000001a1430dbc00"} 
[2026-10-16 10:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:25: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-10-16 10: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-10-16 10: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-10-16 10: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-10-16 10:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784336640001,"66":12374,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784336640001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:25:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:25:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784336640001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":218076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:25:44] local.INFO: GPS data processed {"connection_id":218076,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:25:44] local.INFO: Acknowledgment sent {"connection_id":218076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:25:55] local.INFO: TCP Data received {"connection_id":218077,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:25:55] local.INFO: Processing buffer {"connection_id":218077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:25:55] local.INFO: Packet analysis {"connection_id":218077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:25:55] local.INFO: Extracted packet for processing {"connection_id":218077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784242432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792126248000,"timestamp_ms":1792126248000,"timestamp_seconds":1792126248,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c6440"} 
[2026-10-16 10:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784242432001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784242432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:25:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:25:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784242432001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":218077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:25:55] local.INFO: GPS data processed {"connection_id":218077,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:25:55] local.INFO: Acknowledgment sent {"connection_id":218077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:25:58] local.INFO: TCP Data received {"connection_id":216530,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:25:58] local.INFO: Processing buffer {"connection_id":216530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:25:58] local.INFO: Packet analysis {"connection_id":216530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:25:58] local.INFO: Extracted packet for processing {"connection_id":216530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784284160001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:25:58] 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-10-16 10:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792126411000,"timestamp_ms":1792126411000,"timestamp_seconds":1792126411,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ee0f8"} 
[2026-10-16 10:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:25: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-10-16 10:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784284160001,"66":12885,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784284160001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:25:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784284160001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":216530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:25:58] local.INFO: GPS data processed {"connection_id":216530,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:25:58] local.INFO: Acknowledgment sent {"connection_id":216530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:26:13] local.INFO: TCP Data received {"connection_id":218079,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:26:13] local.INFO: Processing buffer {"connection_id":218079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:26:13] local.INFO: IMEI packet received {"connection_id":218079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":218079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:26:13] local.INFO: TCP Data received {"connection_id":218079,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430e0e08012d196900071fed50003a01112b..."} 
[2026-10-16 10:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430e0e08012d196900071fed50003a01112b..."} 
[2026-10-16 10:26:13] local.INFO: Processing buffer {"connection_id":218079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430e0e08012d196900071fed50003a01112b..."} 
[2026-10-16 10:26:13] local.INFO: Packet analysis {"connection_id":218079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:26:13] local.INFO: Extracted packet for processing {"connection_id":218079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784342016001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792126357000,"timestamp_ms":1792126357000,"timestamp_seconds":1792126357,"priority":1,"record_length":96,"hex_timestamp":"000001a1430e0e08"} 
[2026-10-16 10:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-16 10:26:13] 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-10-16 10:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784342016001,"66":12385,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784342016001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:26:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784342016001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":218079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:26:14] local.INFO: GPS data processed {"connection_id":218079,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:26:14] local.INFO: Acknowledgment sent {"connection_id":218079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:26:16] local.INFO: TCP Data received {"connection_id":216719,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:26:16] local.INFO: Processing buffer {"connection_id":216719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:26:16] local.INFO: IMEI packet received {"connection_id":216719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":216719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:26:20] local.INFO: TCP Data received {"connection_id":216720,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:26:20] local.INFO: Processing buffer {"connection_id":216720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:26:20] local.INFO: IMEI packet received {"connection_id":216720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":216720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:26:22] local.INFO: TCP Data received {"connection_id":216719,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:26:22] local.INFO: Processing buffer {"connection_id":216719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:26:22] local.INFO: IMEI packet received {"connection_id":216719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":216719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:26:23] local.INFO: TCP Data received {"connection_id":216719,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:26:23] local.INFO: Processing buffer {"connection_id":216719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430c6440012d7fa40005afce580009000a30..."} 
[2026-10-16 10:26:23] local.INFO: Packet analysis {"connection_id":216719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:26:23] local.INFO: Extracted packet for processing {"connection_id":216719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430c"} 
[2026-10-16 10:26:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784242432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792126248000,"timestamp_ms":1792126248000,"timestamp_seconds":1792126248,"priority":1,"record_length":96,"hex_timestamp":"000001a1430c6440"} 
[2026-10-16 10:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:26:23] 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-10-16 10:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784242432001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784242432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:26:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:26:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784242432001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":216719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:26:23] local.INFO: GPS data processed {"connection_id":216719,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:26:23] local.INFO: Acknowledgment sent {"connection_id":216719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:26:26] local.INFO: TCP Data received {"connection_id":216720,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:26:26] local.INFO: Processing buffer {"connection_id":216720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:26:26] local.INFO: IMEI packet received {"connection_id":216720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":216720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:26:27] local.INFO: TCP Data received {"connection_id":216720,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:26:27] local.INFO: Processing buffer {"connection_id":216720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:26:27] local.INFO: Packet analysis {"connection_id":216720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:26:27] local.INFO: Extracted packet for processing {"connection_id":216720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784284160001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:27] 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-10-16 10:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792126411000,"timestamp_ms":1792126411000,"timestamp_seconds":1792126411,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ee0f8"} 
[2026-10-16 10:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:26:27] 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-10-16 10:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784284160001,"66":12885,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784284160001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:26:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:26:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784284160001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":216720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:26:27] local.INFO: GPS data processed {"connection_id":216720,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:26:27] local.INFO: Acknowledgment sent {"connection_id":216720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:26:45] local.INFO: TCP Data received {"connection_id":218079,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430e6010012d196900071fed50003a01112d..."} 
[2026-10-16 10:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430e6010012d196900071fed50003a01112d..."} 
[2026-10-16 10:26:45] local.INFO: Processing buffer {"connection_id":218079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430e6010012d196900071fed50003a01112d..."} 
[2026-10-16 10:26:45] local.INFO: Packet analysis {"connection_id":218079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:26:45] local.INFO: Extracted packet for processing {"connection_id":218079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784347392001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792126378000,"timestamp_ms":1792126378000,"timestamp_seconds":1792126378,"priority":1,"record_length":96,"hex_timestamp":"000001a1430e6010"} 
[2026-10-16 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-10-16 10:26: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-10-16 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":97,"data_length":795,"current_offset":136} 
[2026-10-16 10:26: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-10-16 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-10-16 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-10-16 10:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784347392001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784347392001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:26:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:26:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784347392001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":218079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:26:45] local.INFO: GPS data processed {"connection_id":218079,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:26:45] local.INFO: Acknowledgment sent {"connection_id":218079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:26:54] local.INFO: TCP Data received {"connection_id":216719,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:26:54] local.INFO: Processing buffer {"connection_id":216719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:26:54] local.INFO: Packet analysis {"connection_id":216719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:26:54] local.INFO: Extracted packet for processing {"connection_id":216719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784319488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792126549000,"timestamp_ms":1792126549000,"timestamp_seconds":1792126549,"priority":1,"record_length":96,"hex_timestamp":"000001a14310fc08"} 
[2026-10-16 10:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784319488001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784319488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:26:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:26:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784319488001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":216719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:26:54] local.INFO: GPS data processed {"connection_id":216719,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:26:54] local.INFO: Acknowledgment sent {"connection_id":216719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:26:58] local.INFO: TCP Data received {"connection_id":216720,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:26:58] local.INFO: Processing buffer {"connection_id":216720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:26:58] local.INFO: Packet analysis {"connection_id":216720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:26:58] local.INFO: Extracted packet for processing {"connection_id":216720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784284160001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:26:58] 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-10-16 10:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792126411000,"timestamp_ms":1792126411000,"timestamp_seconds":1792126411,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ee0f8"} 
[2026-10-16 10:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:26: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-10-16 10:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784284160001,"66":12885,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784284160001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:26:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784284160001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":216720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:26:58] local.INFO: GPS data processed {"connection_id":216720,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:26:58] local.INFO: Acknowledgment sent {"connection_id":216720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:27:12] local.INFO: TCP Data received {"connection_id":216721,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:27:12] local.INFO: Processing buffer {"connection_id":216721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:27:12] local.INFO: IMEI packet received {"connection_id":216721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":216721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:27:16] local.INFO: TCP Data received {"connection_id":216531,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:27:16] local.INFO: Processing buffer {"connection_id":216531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:27:16] local.INFO: IMEI packet received {"connection_id":216531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":216531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:27:17] local.INFO: TCP Data received {"connection_id":216721,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:27:17] local.INFO: Processing buffer {"connection_id":216721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:27:17] local.INFO: IMEI packet received {"connection_id":216721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":216721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:27:17] local.INFO: TCP Data received {"connection_id":216721,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430eb218012d196900071fed50003a01112e..."} 
[2026-10-16 10:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430eb218012d196900071fed50003a01112e..."} 
[2026-10-16 10:27:17] local.INFO: Processing buffer {"connection_id":216721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430eb218012d196900071fed50003a01112e..."} 
[2026-10-16 10:27:17] local.INFO: Packet analysis {"connection_id":216721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:27:17] local.INFO: Extracted packet for processing {"connection_id":216721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784352768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792126399000,"timestamp_ms":1792126399000,"timestamp_seconds":1792126399,"priority":1,"record_length":96,"hex_timestamp":"000001a1430eb218"} 
[2026-10-16 10:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:27:17] 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-10-16 10:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":216721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":216721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":216721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784352768001,"66":12428,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784352768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:27:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784352768001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":216721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:27:17] local.INFO: GPS data processed {"connection_id":216721,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:27:17] local.INFO: Acknowledgment sent {"connection_id":216721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:27:18] local.INFO: TCP Data received {"connection_id":216721,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1430f0420012d196900071fed50003a01112d..."} 
[2026-10-16 10:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430f0420012d196900071fed50003a01112d..."} 
[2026-10-16 10:27:18] local.INFO: Processing buffer {"connection_id":216721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430f0420012d196900071fed50003a01112d..."} 
[2026-10-16 10:27:18] local.INFO: Packet analysis {"connection_id":216721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430f"} 
[2026-10-16 10:27:18] local.INFO: Extracted packet for processing {"connection_id":216721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430f"} 
[2026-10-16 10:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532880,"longitude_deg":75.664,"latitude_deg":11.953288,"altitude":58,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-10-16 10:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784358144001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28093836349669376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103234560,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792126420000,"timestamp_ms":1792126420000,"timestamp_seconds":1792126420,"priority":1,"record_length":96,"hex_timestamp":"000001a1430f0420"} 
[2026-10-16 10:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 10:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784358144001,"66":12439,"102":206,"83":41984,"24":0,"16":28093836349669376,"45":1830994754103234560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 10:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784358144001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:27:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 10:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28093836349669376,"km_value":28093836349669.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103234560,"description":"Unknown IO ID 45"} 
[2026-10-16 10:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784358144001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103234560}} 
[2026-10-16 10:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":216721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:27:18] local.INFO: GPS data processed {"connection_id":216721,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:27:18] local.INFO: Acknowledgment sent {"connection_id":216721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:27:22] local.INFO: TCP Data received {"connection_id":216531,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:27:22] local.INFO: Processing buffer {"connection_id":216531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:27:22] local.INFO: IMEI packet received {"connection_id":216531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":216531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:27:23] local.INFO: TCP Data received {"connection_id":216531,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:27:23] local.INFO: Processing buffer {"connection_id":216531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:27:23] local.INFO: Packet analysis {"connection_id":216531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:27:23] local.INFO: Extracted packet for processing {"connection_id":216531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:27: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-10-16 10:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784319488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792126549000,"timestamp_ms":1792126549000,"timestamp_seconds":1792126549,"priority":1,"record_length":96,"hex_timestamp":"000001a14310fc08"} 
[2026-10-16 10:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:27: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:27:23] 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-10-16 10:27: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-10-16 10:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784319488001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784319488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:27:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:27:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784319488001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":216531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:27:23] local.INFO: GPS data processed {"connection_id":216531,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:27:23] local.INFO: Acknowledgment sent {"connection_id":216531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:27:26] local.INFO: TCP Data received {"connection_id":219800,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:27:26] local.INFO: Processing buffer {"connection_id":219800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:27:26] local.INFO: IMEI packet received {"connection_id":219800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":219800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:27:31] local.INFO: TCP Data received {"connection_id":219800,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:27:31] local.INFO: Processing buffer {"connection_id":219800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:27:31] local.INFO: IMEI packet received {"connection_id":219800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":219800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:27:32] local.INFO: TCP Data received {"connection_id":219800,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:27:32] local.INFO: Processing buffer {"connection_id":219800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:27:32] local.INFO: Packet analysis {"connection_id":219800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:27:32] local.INFO: Extracted packet for processing {"connection_id":219800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784284160001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792126411000,"timestamp_ms":1792126411000,"timestamp_seconds":1792126411,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ee0f8"} 
[2026-10-16 10:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:27:32] 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-10-16 10:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784284160001,"66":12885,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784284160001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:27:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:27:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784284160001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":219800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:27:32] local.INFO: GPS data processed {"connection_id":219800,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:27:32] local.INFO: Acknowledgment sent {"connection_id":219800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:27:36] local.INFO: TCP Data received {"connection_id":219800,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:27:36] local.INFO: Processing buffer {"connection_id":219800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:27:36] local.INFO: Packet analysis {"connection_id":219800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:27:36] local.INFO: Extracted packet for processing {"connection_id":219800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784284160001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27: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-10-16 10:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792126411000,"timestamp_ms":1792126411000,"timestamp_seconds":1792126411,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ee0f8"} 
[2026-10-16 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-10-16 10:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:27:36] 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-10-16 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-10-16 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-10-16 10:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784284160001,"66":12885,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784284160001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:27:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:27:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784284160001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":219800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:27:36] local.INFO: GPS data processed {"connection_id":219800,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:27:36] local.INFO: Acknowledgment sent {"connection_id":219800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:27:49] local.INFO: TCP Data received {"connection_id":216721,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431228d0012d197fc0071fee48004000312e..."} 
[2026-10-16 10:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431228d0012d197fc0071fee48004000312e..."} 
[2026-10-16 10:27:49] local.INFO: Processing buffer {"connection_id":216721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431228d0012d197fc0071fee48004000312e..."} 
[2026-10-16 10:27:49] local.INFO: Packet analysis {"connection_id":216721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14312"} 
[2026-10-16 10:27:49] local.INFO: Extracted packet for processing {"connection_id":216721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14312"} 
[2026-10-16 10:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756645824,"raw_latitude":119533128,"longitude_deg":75.6645824,"latitude_deg":11.9533128,"altitude":64,"angle":49,"satellites":46,"speed":12,"hex_longitude":"2d197fc0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784415744001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28094162767183872,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125774336,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792126626000,"timestamp_ms":1792126626000,"timestamp_seconds":1792126626,"priority":1,"record_length":96,"hex_timestamp":"000001a1431228d0"} 
[2026-10-16 10:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:27: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-10-16 10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 10:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":216721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":216721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":216721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784415744001,"66":14080,"101":206,"83":41984,"24":12,"16":28094162767183872,"45":1836764991125774336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784415744001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:27:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28094162767183872,"km_value":28094162767183.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125774336,"description":"Unknown IO ID 45"} 
[2026-10-16 10:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784415744001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1836764991125774336}} 
[2026-10-16 10:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":216721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:27:49] local.INFO: GPS data processed {"connection_id":216721,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:27:49] local.INFO: Acknowledgment sent {"connection_id":216721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:27:55] local.INFO: TCP Data received {"connection_id":216531,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:27:55] local.INFO: Processing buffer {"connection_id":216531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:27:55] local.INFO: Packet analysis {"connection_id":216531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:27:55] local.INFO: Extracted packet for processing {"connection_id":216531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784319488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792126549000,"timestamp_ms":1792126549000,"timestamp_seconds":1792126549,"priority":1,"record_length":96,"hex_timestamp":"000001a14310fc08"} 
[2026-10-16 10:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:27:55] 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-10-16 10:27: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-10-16 10:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784319488001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784319488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:27:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:27:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784319488001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":216531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:27:55] local.INFO: GPS data processed {"connection_id":216531,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:27:55] local.INFO: Acknowledgment sent {"connection_id":216531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:28:03] local.INFO: TCP Data received {"connection_id":218081,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:03] local.INFO: Processing buffer {"connection_id":218081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:03] local.INFO: IMEI packet received {"connection_id":218081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":218081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:28:04] local.INFO: TCP Data received {"connection_id":218081,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:04] local.INFO: Processing buffer {"connection_id":218081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:04] local.INFO: IMEI packet received {"connection_id":218081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":218081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:28:05] local.INFO: TCP Data received {"connection_id":218081,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:05] local.INFO: Processing buffer {"connection_id":218081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:05] local.INFO: IMEI packet received {"connection_id":218081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":218081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:28:07] local.INFO: TCP Data received {"connection_id":218081,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:07] local.INFO: Processing buffer {"connection_id":218081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:28:07] local.INFO: IMEI packet received {"connection_id":218081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":218081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:28:16] local.INFO: TCP Data received {"connection_id":219801,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:28:16] local.INFO: Processing buffer {"connection_id":219801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:28:16] local.INFO: IMEI packet received {"connection_id":219801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":219801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:28:21] local.INFO: TCP Data received {"connection_id":218082,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:28:21] local.INFO: Processing buffer {"connection_id":218082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:28:21] local.INFO: IMEI packet received {"connection_id":218082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":218082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:28:22] local.INFO: TCP Data received {"connection_id":219801,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:28:22] local.INFO: Processing buffer {"connection_id":219801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:28:22] local.INFO: IMEI packet received {"connection_id":219801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":219801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:28:23] local.INFO: TCP Data received {"connection_id":219801,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:28:23] local.INFO: Processing buffer {"connection_id":219801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:28:23] local.INFO: Packet analysis {"connection_id":219801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:28:23] local.INFO: Extracted packet for processing {"connection_id":219801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784319488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792126549000,"timestamp_ms":1792126549000,"timestamp_seconds":1792126549,"priority":1,"record_length":96,"hex_timestamp":"000001a14310fc08"} 
[2026-10-16 10:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:28:23] 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-10-16 10:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784319488001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784319488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:28:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:28:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784319488001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":219801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:28:23] local.INFO: GPS data processed {"connection_id":219801,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:28:23] local.INFO: Acknowledgment sent {"connection_id":219801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:28:26] local.INFO: TCP Data received {"connection_id":218082,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:28:26] local.INFO: Processing buffer {"connection_id":218082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:28:26] local.INFO: IMEI packet received {"connection_id":218082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":218082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:28:27] local.INFO: TCP Data received {"connection_id":218082,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:28:27] local.INFO: Processing buffer {"connection_id":218082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1430ee0f8012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:28:27] local.INFO: Packet analysis {"connection_id":218082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:28:27] local.INFO: Extracted packet for processing {"connection_id":218082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1430e"} 
[2026-10-16 10:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784284160001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:27] 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-10-16 10:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792126411000,"timestamp_ms":1792126411000,"timestamp_seconds":1792126411,"priority":1,"record_length":96,"hex_timestamp":"000001a1430ee0f8"} 
[2026-10-16 10:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 10:28:27] 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-10-16 10:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:28:27] 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-10-16 10:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784284160001,"66":12885,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784284160001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:28:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:28:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784284160001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":218082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:28:27] local.INFO: GPS data processed {"connection_id":218082,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:28:27] local.INFO: Acknowledgment sent {"connection_id":218082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:28:55] local.INFO: TCP Data received {"connection_id":219801,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:28:55] local.INFO: Processing buffer {"connection_id":219801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:28:55] local.INFO: Packet analysis {"connection_id":219801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:28:55] local.INFO: Extracted packet for processing {"connection_id":219801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784319488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792126549000,"timestamp_ms":1792126549000,"timestamp_seconds":1792126549,"priority":1,"record_length":96,"hex_timestamp":"000001a14310fc08"} 
[2026-10-16 10:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:28:55] 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-10-16 10:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784319488001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784319488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:28:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:28:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784319488001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":219801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:28:55] local.INFO: GPS data processed {"connection_id":219801,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:28:55] local.INFO: Acknowledgment sent {"connection_id":219801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:28:58] local.INFO: TCP Data received {"connection_id":218082,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:28:58] local.INFO: Processing buffer {"connection_id":218082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:28:58] local.INFO: Packet analysis {"connection_id":218082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:28:58] local.INFO: Extracted packet for processing {"connection_id":218082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784361216001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:28:58] 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-10-16 10:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792126712000,"timestamp_ms":1792126712000,"timestamp_seconds":1792126712,"priority":1,"record_length":96,"hex_timestamp":"000001a1431378c0"} 
[2026-10-16 10:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 10:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:28:58] 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-10-16 10:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784361216001,"66":12874,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784361216001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:28:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:28:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784361216001,"power":12874,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":218082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:28:58] local.INFO: GPS data processed {"connection_id":218082,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:28:58] local.INFO: Acknowledgment sent {"connection_id":218082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:29:16] local.INFO: TCP Data received {"connection_id":216723,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:29:16] local.INFO: Processing buffer {"connection_id":216723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:29:16] local.INFO: IMEI packet received {"connection_id":216723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":216723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:29:21] local.INFO: TCP Data received {"connection_id":216724,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:29:21] local.INFO: Processing buffer {"connection_id":216724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:29:21] local.INFO: IMEI packet received {"connection_id":216724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":216724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:29:21] local.INFO: TCP Data received {"connection_id":216723,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:29:21] local.INFO: Processing buffer {"connection_id":216723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:29:21] local.INFO: IMEI packet received {"connection_id":216723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":216723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:29:22] local.INFO: TCP Data received {"connection_id":216723,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:29:22] local.INFO: Processing buffer {"connection_id":216723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:29:22] local.INFO: Packet analysis {"connection_id":216723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:29:22] local.INFO: Extracted packet for processing {"connection_id":216723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784319488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792126549000,"timestamp_ms":1792126549000,"timestamp_seconds":1792126549,"priority":1,"record_length":96,"hex_timestamp":"000001a14310fc08"} 
[2026-10-16 10:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784319488001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784319488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:29:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:29:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784319488001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":216723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:29:22] local.INFO: GPS data processed {"connection_id":216723,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:29:22] local.INFO: Acknowledgment sent {"connection_id":216723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:29:26] local.INFO: TCP Data received {"connection_id":216724,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:29:26] local.INFO: Processing buffer {"connection_id":216724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:29:26] local.INFO: IMEI packet received {"connection_id":216724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":216724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:29:27] local.INFO: TCP Data received {"connection_id":216724,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:29:27] local.INFO: Processing buffer {"connection_id":216724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:29:27] local.INFO: Packet analysis {"connection_id":216724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:29:27] local.INFO: Extracted packet for processing {"connection_id":216724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784361216001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:27] 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-10-16 10:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792126712000,"timestamp_ms":1792126712000,"timestamp_seconds":1792126712,"priority":1,"record_length":96,"hex_timestamp":"000001a1431378c0"} 
[2026-10-16 10:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 10:29:27] 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-10-16 10: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-10-16 10:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784361216001,"66":12874,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784361216001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:29:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:29:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784361216001,"power":12874,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":216724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:29:27] local.INFO: GPS data processed {"connection_id":216724,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:29:27] local.INFO: Acknowledgment sent {"connection_id":216724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:29:54] local.INFO: TCP Data received {"connection_id":216723,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:29:54] local.INFO: Processing buffer {"connection_id":216723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:29:54] local.INFO: Packet analysis {"connection_id":216723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:29:54] local.INFO: Extracted packet for processing {"connection_id":216723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784319488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792126549000,"timestamp_ms":1792126549000,"timestamp_seconds":1792126549,"priority":1,"record_length":96,"hex_timestamp":"000001a14310fc08"} 
[2026-10-16 10:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784319488001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784319488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:29:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:29:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784319488001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":216723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:29:54] local.INFO: GPS data processed {"connection_id":216723,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:29:54] local.INFO: Acknowledgment sent {"connection_id":216723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:29:58] local.INFO: TCP Data received {"connection_id":216724,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:29:58] local.INFO: Processing buffer {"connection_id":216724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:29:58] local.INFO: Packet analysis {"connection_id":216724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:29:58] local.INFO: Extracted packet for processing {"connection_id":216724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784361216001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:29:58] 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-10-16 10:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792126712000,"timestamp_ms":1792126712000,"timestamp_seconds":1792126712,"priority":1,"record_length":96,"hex_timestamp":"000001a1431378c0"} 
[2026-10-16 10:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 10:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784361216001,"66":12874,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784361216001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:29:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:29:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784361216001,"power":12874,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":216724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:29:59] local.INFO: GPS data processed {"connection_id":216724,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:29:59] local.INFO: Acknowledgment sent {"connection_id":216724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:30:09] local.INFO: TCP Data received {"connection_id":218083,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:30:09] local.INFO: Processing buffer {"connection_id":218083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:30:09] local.INFO: IMEI packet received {"connection_id":218083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":218083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:30:20] local.INFO: TCP Data received {"connection_id":219803,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:30:20] local.INFO: Processing buffer {"connection_id":219803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:30:20] local.INFO: IMEI packet received {"connection_id":219803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":219803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:30:22] local.INFO: TCP Data received {"connection_id":216533,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:30:22] local.INFO: Processing buffer {"connection_id":216533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:30:22] local.INFO: IMEI packet received {"connection_id":216533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":216533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:30:26] local.INFO: TCP Data received {"connection_id":219803,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:30:26] local.INFO: Processing buffer {"connection_id":219803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:30:26] local.INFO: IMEI packet received {"connection_id":219803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":219803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:30:27] local.INFO: TCP Data received {"connection_id":216533,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:30:27] local.INFO: Processing buffer {"connection_id":216533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:30:27] local.INFO: IMEI packet received {"connection_id":216533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":216533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:30:27] local.INFO: TCP Data received {"connection_id":219803,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:30:27] local.INFO: Processing buffer {"connection_id":219803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:30:27] local.INFO: Packet analysis {"connection_id":219803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:30:27] local.INFO: Extracted packet for processing {"connection_id":219803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784361216001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:27] 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-10-16 10:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792126712000,"timestamp_ms":1792126712000,"timestamp_seconds":1792126712,"priority":1,"record_length":96,"hex_timestamp":"000001a1431378c0"} 
[2026-10-16 10:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 10:30:27] 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-10-16 10: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-10-16 10:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784361216001,"66":12874,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784361216001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:30:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:30:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784361216001,"power":12874,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":219803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:30:27] local.INFO: GPS data processed {"connection_id":219803,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:30:27] local.INFO: Acknowledgment sent {"connection_id":219803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:30:28] local.INFO: TCP Data received {"connection_id":216533,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:30:28] local.INFO: Processing buffer {"connection_id":216533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:30:28] local.INFO: Packet analysis {"connection_id":216533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:30:28] local.INFO: Extracted packet for processing {"connection_id":216533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784319488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792126549000,"timestamp_ms":1792126549000,"timestamp_seconds":1792126549,"priority":1,"record_length":96,"hex_timestamp":"000001a14310fc08"} 
[2026-10-16 10:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:30:28] 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-10-16 10:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784319488001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784319488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:30:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:30:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784319488001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":216533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:30:28] local.INFO: GPS data processed {"connection_id":216533,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:30:28] local.INFO: Acknowledgment sent {"connection_id":216533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:30:32] local.INFO: TCP Data received {"connection_id":216533,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:30:32] local.INFO: Processing buffer {"connection_id":216533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:30:32] local.INFO: Packet analysis {"connection_id":216533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:30:32] local.INFO: Extracted packet for processing {"connection_id":216533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784319488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792126549000,"timestamp_ms":1792126549000,"timestamp_seconds":1792126549,"priority":1,"record_length":96,"hex_timestamp":"000001a14310fc08"} 
[2026-10-16 10:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784319488001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784319488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:30:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:30:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784319488001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":216533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:30:32] local.INFO: GPS data processed {"connection_id":216533,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:30:32] local.INFO: Acknowledgment sent {"connection_id":216533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:30:49] local.INFO: TCP Data received {"connection_id":219804,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219804,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:30:49] local.INFO: Processing buffer {"connection_id":219804,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:30:49] local.INFO: IMEI packet received {"connection_id":219804,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":219804,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:30:58] local.INFO: TCP Data received {"connection_id":219803,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:30:58] local.INFO: Processing buffer {"connection_id":219803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:30:58] local.INFO: Packet analysis {"connection_id":219803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:30:58] local.INFO: Extracted packet for processing {"connection_id":219803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784361216001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:30:58] 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-10-16 10:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792126712000,"timestamp_ms":1792126712000,"timestamp_seconds":1792126712,"priority":1,"record_length":96,"hex_timestamp":"000001a1431378c0"} 
[2026-10-16 10:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 10:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784361216001,"66":12874,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784361216001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:30:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784361216001,"power":12874,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":219803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:30:58] local.INFO: GPS data processed {"connection_id":219803,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:30:58] local.INFO: Acknowledgment sent {"connection_id":219803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:31:16] local.INFO: TCP Data received {"connection_id":216726,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:31:16] local.INFO: Processing buffer {"connection_id":216726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:31:16] local.INFO: IMEI packet received {"connection_id":216726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":216726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:31:20] local.INFO: TCP Data received {"connection_id":216534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:31:20] local.INFO: Processing buffer {"connection_id":216534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:31:20] local.INFO: IMEI packet received {"connection_id":216534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":216534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:31:21] local.INFO: TCP Data received {"connection_id":216726,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:31:21] local.INFO: Processing buffer {"connection_id":216726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:31:21] local.INFO: IMEI packet received {"connection_id":216726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":216726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:31:22] local.INFO: TCP Data received {"connection_id":216726,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:31:22] local.INFO: Processing buffer {"connection_id":216726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14310fc08012d7fa40005afce580009000a31..."} 
[2026-10-16 10:31:22] local.INFO: Packet analysis {"connection_id":216726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:31:22] local.INFO: Extracted packet for processing {"connection_id":216726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14310"} 
[2026-10-16 10:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784319488001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792126549000,"timestamp_ms":1792126549000,"timestamp_seconds":1792126549,"priority":1,"record_length":96,"hex_timestamp":"000001a14310fc08"} 
[2026-10-16 10:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784319488001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784319488001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:31:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:31:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784319488001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":216726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:31:22] local.INFO: GPS data processed {"connection_id":216726,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:31:22] local.INFO: Acknowledgment sent {"connection_id":216726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:31:26] local.INFO: TCP Data received {"connection_id":216534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:31:26] local.INFO: Processing buffer {"connection_id":216534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:31:26] local.INFO: IMEI packet received {"connection_id":216534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":216534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:31:27] local.INFO: TCP Data received {"connection_id":216534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:31:27] local.INFO: Processing buffer {"connection_id":216534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:31:27] local.INFO: Packet analysis {"connection_id":216534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:31:27] local.INFO: Extracted packet for processing {"connection_id":216534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784361216001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:31:27] 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-10-16 10:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792126712000,"timestamp_ms":1792126712000,"timestamp_seconds":1792126712,"priority":1,"record_length":96,"hex_timestamp":"000001a1431378c0"} 
[2026-10-16 10:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 10:31:27] 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-10-16 10:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:31: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-10-16 10:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784361216001,"66":12874,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784361216001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:31:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:31:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784361216001,"power":12874,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":216534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:31:27] local.INFO: GPS data processed {"connection_id":216534,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:31:27] local.INFO: Acknowledgment sent {"connection_id":216534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:31:53] local.INFO: TCP Data received {"connection_id":216726,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:31:53] local.INFO: Processing buffer {"connection_id":216726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:31:53] local.INFO: Packet analysis {"connection_id":216726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:31:53] local.INFO: Extracted packet for processing {"connection_id":216726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:31:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784396544001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792126850000,"timestamp_ms":1792126850000,"timestamp_seconds":1792126850,"priority":1,"record_length":96,"hex_timestamp":"000001a1431593d0"} 
[2026-10-16 10:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784396544001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784396544001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:31:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:31:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784396544001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":216726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:31:53] local.INFO: GPS data processed {"connection_id":216726,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:31:53] local.INFO: Acknowledgment sent {"connection_id":216726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:32:08] local.INFO: TCP Data received {"connection_id":216534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:32:08] local.INFO: Processing buffer {"connection_id":216534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:32:08] local.INFO: Packet analysis {"connection_id":216534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:32:08] local.INFO: Extracted packet for processing {"connection_id":216534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784361216001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:08] 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-10-16 10:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792126712000,"timestamp_ms":1792126712000,"timestamp_seconds":1792126712,"priority":1,"record_length":96,"hex_timestamp":"000001a1431378c0"} 
[2026-10-16 10:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 10:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:32:08] 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-10-16 10:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784361216001,"66":12874,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784361216001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:32:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:32:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784361216001,"power":12874,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":216534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:32:08] local.INFO: GPS data processed {"connection_id":216534,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:32:08] local.INFO: Acknowledgment sent {"connection_id":216534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:32:16] local.INFO: TCP Data received {"connection_id":218086,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:32:16] local.INFO: Processing buffer {"connection_id":218086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:32:16] local.INFO: IMEI packet received {"connection_id":218086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":218086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:32:22] local.INFO: TCP Data received {"connection_id":218086,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:32:22] local.INFO: Processing buffer {"connection_id":218086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:32:22] local.INFO: IMEI packet received {"connection_id":218086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":218086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:32:23] local.INFO: TCP Data received {"connection_id":218086,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:32:23] local.INFO: Processing buffer {"connection_id":218086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:32:23] local.INFO: Packet analysis {"connection_id":218086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:32:23] local.INFO: Extracted packet for processing {"connection_id":218086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784396544001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792126850000,"timestamp_ms":1792126850000,"timestamp_seconds":1792126850,"priority":1,"record_length":96,"hex_timestamp":"000001a1431593d0"} 
[2026-10-16 10:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:32:23] 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-10-16 10:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784396544001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784396544001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:32:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:32:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784396544001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":218086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:32:23] local.INFO: GPS data processed {"connection_id":218086,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:32:23] local.INFO: Acknowledgment sent {"connection_id":218086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:32:26] local.INFO: TCP Data received {"connection_id":218087,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:32:26] local.INFO: Processing buffer {"connection_id":218087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:32:26] local.INFO: IMEI packet received {"connection_id":218087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":218087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:32:31] local.INFO: TCP Data received {"connection_id":218087,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:32:31] local.INFO: Processing buffer {"connection_id":218087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:32:31] local.INFO: IMEI packet received {"connection_id":218087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":218087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:32:32] local.INFO: TCP Data received {"connection_id":218087,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:32:32] local.INFO: Processing buffer {"connection_id":218087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:32:32] local.INFO: Packet analysis {"connection_id":218087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:32:32] local.INFO: Extracted packet for processing {"connection_id":218087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784361216001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792126712000,"timestamp_ms":1792126712000,"timestamp_seconds":1792126712,"priority":1,"record_length":96,"hex_timestamp":"000001a1431378c0"} 
[2026-10-16 10:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 10:32:32] 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-10-16 10: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-10-16 10:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784361216001,"66":12874,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784361216001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:32:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:32:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784361216001,"power":12874,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":218087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:32:32] local.INFO: GPS data processed {"connection_id":218087,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:32:32] local.INFO: Acknowledgment sent {"connection_id":218087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:32:36] local.INFO: TCP Data received {"connection_id":218087,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:32:36] local.INFO: Processing buffer {"connection_id":218087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:32:36] local.INFO: Packet analysis {"connection_id":218087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:32:36] local.INFO: Extracted packet for processing {"connection_id":218087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784361216001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32: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-10-16 10:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792126712000,"timestamp_ms":1792126712000,"timestamp_seconds":1792126712,"priority":1,"record_length":96,"hex_timestamp":"000001a1431378c0"} 
[2026-10-16 10:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":85,"data_length":795,"current_offset":136} 
[2026-10-16 10:32: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-10-16 10: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-10-16 10:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":218087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":218087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":218087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784361216001,"66":12874,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784361216001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:32:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:32:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784361216001,"power":12874,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":218087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:32:36] local.INFO: GPS data processed {"connection_id":218087,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:32:36] local.INFO: Acknowledgment sent {"connection_id":218087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:32:55] local.INFO: TCP Data received {"connection_id":218086,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:32:55] local.INFO: Processing buffer {"connection_id":218086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:32:55] local.INFO: Packet analysis {"connection_id":218086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:32:55] local.INFO: Extracted packet for processing {"connection_id":218086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784396544001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792126850000,"timestamp_ms":1792126850000,"timestamp_seconds":1792126850,"priority":1,"record_length":96,"hex_timestamp":"000001a1431593d0"} 
[2026-10-16 10:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784396544001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784396544001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:32:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:32:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784396544001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":218086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:32:55] local.INFO: GPS data processed {"connection_id":218086,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:32:55] local.INFO: Acknowledgment sent {"connection_id":218086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:33:12] local.INFO: TCP Data received {"connection_id":219806,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:33:12] local.INFO: Processing buffer {"connection_id":219806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:33:12] local.INFO: IMEI packet received {"connection_id":219806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":219806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:33:12] local.INFO: TCP Data received {"connection_id":219806,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:33:12] local.INFO: Processing buffer {"connection_id":219806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:33:12] local.INFO: IMEI packet received {"connection_id":219806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":219806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:33:13] local.INFO: TCP Data received {"connection_id":219806,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431516d0012d1a2ac0071f51500040000729..."} 
[2026-10-16 10:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431516d0012d1a2ac0071f51500040000729..."} 
[2026-10-16 10:33:13] local.INFO: Processing buffer {"connection_id":219806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431516d0012d1a2ac0071f51500040000729..."} 
[2026-10-16 10:33:13] local.INFO: Packet analysis {"connection_id":219806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:33:13] local.INFO: Extracted packet for processing {"connection_id":219806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:33:13] local.INFO: GPS Element Parsed {"raw_longitude":756689600,"raw_latitude":119492944,"longitude_deg":75.66896,"latitude_deg":11.9492944,"altitude":64,"angle":7,"satellites":41,"speed":6,"hex_longitude":"2d1a2ac0","hex_latitude":"071f5150","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784465152001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098221511278592,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885530530830661632,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792126818000,"timestamp_ms":1792126818000,"timestamp_seconds":1792126818,"priority":1,"record_length":96,"hex_timestamp":"000001a1431516d0"} 
[2026-10-16 10:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 10:33:13] 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-10-16 10: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-10-16 10:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784465152001,"66":13363,"101":206,"83":41984,"24":6,"16":28098221511278592,"45":1885530530830661632},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784465152001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:33:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098221511278592,"km_value":28098221511278.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885530530830661632,"description":"Unknown IO ID 45"} 
[2026-10-16 10:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784465152001,"power":13363,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1885530530830661632}} 
[2026-10-16 10:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":219806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:33:13] local.INFO: GPS data processed {"connection_id":219806,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:33:13] local.INFO: Acknowledgment sent {"connection_id":219806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:33:16] local.INFO: TCP Data received {"connection_id":216536,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:33:16] local.INFO: Processing buffer {"connection_id":216536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:33:16] local.INFO: IMEI packet received {"connection_id":216536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":216536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:33:18] local.INFO: TCP Data received {"connection_id":219806,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143151ab8012d1a2b40071f51d0004100182a..."} 
[2026-10-16 10:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143151ab8012d1a2b40071f51d0004100182a..."} 
[2026-10-16 10:33:18] local.INFO: Processing buffer {"connection_id":219806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143151ab8012d1a2b40071f51d0004100182a..."} 
[2026-10-16 10:33:18] local.INFO: Packet analysis {"connection_id":219806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:33:18] local.INFO: Extracted packet for processing {"connection_id":219806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756689728,"raw_latitude":119493072,"longitude_deg":75.6689728,"latitude_deg":11.9493072,"altitude":65,"angle":24,"satellites":42,"speed":8,"hex_longitude":"2d1a2b40","hex_latitude":"071f51d0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784465408001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098234396180480,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885530530830700544,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792126819000,"timestamp_ms":1792126819000,"timestamp_seconds":1792126819,"priority":1,"record_length":96,"hex_timestamp":"000001a143151ab8"} 
[2026-10-16 10:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:33: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-10-16 10: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-10-16 10: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-10-16 10: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-10-16 10:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":219806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":219806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":219806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784465408001,"66":13363,"101":206,"83":41984,"24":8,"16":28098234396180480,"45":1885530530830700544},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784465408001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:33:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098234396180480,"km_value":28098234396180.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885530530830700544,"description":"Unknown IO ID 45"} 
[2026-10-16 10:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784465408001,"power":13363,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1885530530830700544}} 
[2026-10-16 10:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":219806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:33:18] local.INFO: GPS data processed {"connection_id":219806,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:33:18] local.INFO: Acknowledgment sent {"connection_id":219806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:33:21] local.INFO: TCP Data received {"connection_id":216537,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:33:21] local.INFO: Processing buffer {"connection_id":216537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:33:21] local.INFO: IMEI packet received {"connection_id":216537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":216537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:33:22] local.INFO: TCP Data received {"connection_id":216536,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:33:22] local.INFO: Processing buffer {"connection_id":216536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:33:22] local.INFO: IMEI packet received {"connection_id":216536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":216536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:33:23] local.INFO: TCP Data received {"connection_id":216536,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:33:23] local.INFO: Processing buffer {"connection_id":216536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:33:23] local.INFO: Packet analysis {"connection_id":216536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:33:23] local.INFO: Extracted packet for processing {"connection_id":216536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784396544001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792126850000,"timestamp_ms":1792126850000,"timestamp_seconds":1792126850,"priority":1,"record_length":96,"hex_timestamp":"000001a1431593d0"} 
[2026-10-16 10:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:33:23] 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-10-16 10: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-10-16 10:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784396544001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784396544001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:33:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:33:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784396544001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":216536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:33:23] local.INFO: GPS data processed {"connection_id":216536,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:33:23] local.INFO: Acknowledgment sent {"connection_id":216536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:33:26] local.INFO: TCP Data received {"connection_id":216537,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:33:26] local.INFO: Processing buffer {"connection_id":216537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:33:26] local.INFO: IMEI packet received {"connection_id":216537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":216537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:33:27] local.INFO: TCP Data received {"connection_id":216537,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:33:27] local.INFO: Processing buffer {"connection_id":216537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431378c0012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:33:27] local.INFO: Packet analysis {"connection_id":216537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:33:27] local.INFO: Extracted packet for processing {"connection_id":216537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14313"} 
[2026-10-16 10:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784361216001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:27] 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-10-16 10:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792126712000,"timestamp_ms":1792126712000,"timestamp_seconds":1792126712,"priority":1,"record_length":96,"hex_timestamp":"000001a1431378c0"} 
[2026-10-16 10:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-10-16 10:33:27] 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-10-16 10:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784361216001,"66":12874,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784361216001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:33:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:33:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784361216001,"power":12874,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":216537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:33:27] local.INFO: GPS data processed {"connection_id":216537,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:33:27] local.INFO: Acknowledgment sent {"connection_id":216537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:33:49] local.INFO: TCP Data received {"connection_id":219806,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143152e40012d1a2d40071f5520004200032a..."} 
[2026-10-16 10:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143152e40012d1a2d40071f5520004200032a..."} 
[2026-10-16 10:33:49] local.INFO: Processing buffer {"connection_id":219806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143152e40012d1a2d40071f5520004200032a..."} 
[2026-10-16 10:33:49] local.INFO: Packet analysis {"connection_id":219806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:33:49] local.INFO: Extracted packet for processing {"connection_id":219806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756690240,"raw_latitude":119493920,"longitude_deg":75.669024,"latitude_deg":11.949392,"altitude":66,"angle":3,"satellites":42,"speed":8,"hex_longitude":"2d1a2d40","hex_latitude":"071f5520","is_valid_coordinates":true} 
[2026-10-16 10:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784465664001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098281640820736,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885671268319088640,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792126824000,"timestamp_ms":1792126824000,"timestamp_seconds":1792126824,"priority":1,"record_length":96,"hex_timestamp":"000001a143152e40"} 
[2026-10-16 10:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":51,"data_length":795,"current_offset":136} 
[2026-10-16 10:33:49] 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-10-16 10: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-10-16 10:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":219806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":219806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":219806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784465664001,"66":14070,"101":206,"83":41984,"24":8,"16":28098281640820736,"45":1885671268319088640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784465664001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:33:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098281640820736,"km_value":28098281640820.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885671268319088640,"description":"Unknown IO ID 45"} 
[2026-10-16 10:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784465664001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1885671268319088640}} 
[2026-10-16 10:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":219806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:33:49] local.INFO: GPS data processed {"connection_id":219806,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:33:49] local.INFO: Acknowledgment sent {"connection_id":219806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:33:55] local.INFO: TCP Data received {"connection_id":216536,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:33:55] local.INFO: Processing buffer {"connection_id":216536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:33:55] local.INFO: Packet analysis {"connection_id":216536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:33:55] local.INFO: Extracted packet for processing {"connection_id":216536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784396544001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792126850000,"timestamp_ms":1792126850000,"timestamp_seconds":1792126850,"priority":1,"record_length":96,"hex_timestamp":"000001a1431593d0"} 
[2026-10-16 10:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784396544001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784396544001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:33:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:33:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784396544001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":216536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:33:55] local.INFO: GPS data processed {"connection_id":216536,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:33:55] local.INFO: Acknowledgment sent {"connection_id":216536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:33:59] local.INFO: TCP Data received {"connection_id":216537,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:33:59] local.INFO: Processing buffer {"connection_id":216537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:33:59] local.INFO: Packet analysis {"connection_id":216537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:33:59] local.INFO: Extracted packet for processing {"connection_id":216537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:33:59] 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-10-16 10:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 10:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:33:59] 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-10-16 10:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:33:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:33:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":216537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:33:59] local.INFO: GPS data processed {"connection_id":216537,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:33:59] local.INFO: Acknowledgment sent {"connection_id":216537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:34:07] local.INFO: TCP Data received {"connection_id":216728,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:34:07] local.INFO: Processing buffer {"connection_id":216728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:34:07] local.INFO: IMEI packet received {"connection_id":216728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":216728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:34:12] local.INFO: TCP Data received {"connection_id":216728,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:34:12] local.INFO: Processing buffer {"connection_id":216728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:34:12] local.INFO: IMEI packet received {"connection_id":216728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":216728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:34:13] local.INFO: TCP Data received {"connection_id":216728,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143153228012d1a2d80071f55d00042000e2b..."} 
[2026-10-16 10:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143153228012d1a2d80071f55d00042000e2b..."} 
[2026-10-16 10:34:13] local.INFO: Processing buffer {"connection_id":216728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143153228012d1a2d80071f55d00042000e2b..."} 
[2026-10-16 10:34:13] local.INFO: Packet analysis {"connection_id":216728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:34:13] local.INFO: Extracted packet for processing {"connection_id":216728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756690304,"raw_latitude":119494096,"longitude_deg":75.6690304,"latitude_deg":11.9494096,"altitude":66,"angle":14,"satellites":43,"speed":7,"hex_longitude":"2d1a2d80","hex_latitude":"071f55d0","is_valid_coordinates":true} 
[2026-10-16 10:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784466944001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098290230755328,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886234218272727040,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792126825000,"timestamp_ms":1792126825000,"timestamp_seconds":1792126825,"priority":1,"record_length":96,"hex_timestamp":"000001a143153228"} 
[2026-10-16 10:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:34: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-10-16 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-16 10:34:13] 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-10-16 10: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-10-16 10:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784466944001,"66":14070,"101":206,"83":41984,"24":7,"16":28098290230755328,"45":1886234218272727040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784466944001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:34:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098290230755328,"km_value":28098290230755.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886234218272727040,"description":"Unknown IO ID 45"} 
[2026-10-16 10:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784466944001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1886234218272727040}} 
[2026-10-16 10:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":216728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:34:13] local.INFO: GPS data processed {"connection_id":216728,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:34:13] local.INFO: Acknowledgment sent {"connection_id":216728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:34:21] local.INFO: TCP Data received {"connection_id":216538,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:34:21] local.INFO: Processing buffer {"connection_id":216538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:34:21] local.INFO: IMEI packet received {"connection_id":216538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":216538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:34:22] local.INFO: TCP Data received {"connection_id":219807,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:34:22] local.INFO: Processing buffer {"connection_id":219807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:34:22] local.INFO: IMEI packet received {"connection_id":219807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":219807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:34:26] local.INFO: TCP Data received {"connection_id":216538,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:34:26] local.INFO: Processing buffer {"connection_id":216538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:34:26] local.INFO: IMEI packet received {"connection_id":216538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":216538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:34:27] local.INFO: TCP Data received {"connection_id":216538,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:34:27] local.INFO: Processing buffer {"connection_id":216538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:34:27] local.INFO: Packet analysis {"connection_id":216538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:34:27] local.INFO: Extracted packet for processing {"connection_id":216538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:27] 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-10-16 10:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 10:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:34: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-10-16 10:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:34:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:34:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":216538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:34:27] local.INFO: GPS data processed {"connection_id":216538,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:34:27] local.INFO: Acknowledgment sent {"connection_id":216538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:34:27] local.INFO: TCP Data received {"connection_id":219807,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:34:27] local.INFO: Processing buffer {"connection_id":219807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:34:27] local.INFO: IMEI packet received {"connection_id":219807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":219807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:34:28] local.INFO: TCP Data received {"connection_id":219807,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:34:28] local.INFO: Processing buffer {"connection_id":219807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:34:28] local.INFO: Packet analysis {"connection_id":219807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:34:28] local.INFO: Extracted packet for processing {"connection_id":219807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784396544001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792126850000,"timestamp_ms":1792126850000,"timestamp_seconds":1792126850,"priority":1,"record_length":96,"hex_timestamp":"000001a1431593d0"} 
[2026-10-16 10:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:34:28] 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-10-16 10:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784396544001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784396544001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:34:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:34:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784396544001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":219807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:34:28] local.INFO: GPS data processed {"connection_id":219807,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:34:28] local.INFO: Acknowledgment sent {"connection_id":219807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:34:32] local.INFO: TCP Data received {"connection_id":219807,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:34:32] local.INFO: Processing buffer {"connection_id":219807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:34:32] local.INFO: Packet analysis {"connection_id":219807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:34:32] local.INFO: Extracted packet for processing {"connection_id":219807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784396544001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792126850000,"timestamp_ms":1792126850000,"timestamp_seconds":1792126850,"priority":1,"record_length":96,"hex_timestamp":"000001a1431593d0"} 
[2026-10-16 10:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784396544001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784396544001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:34:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:34:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784396544001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":219807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:34:32] local.INFO: GPS data processed {"connection_id":219807,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:34:32] local.INFO: Acknowledgment sent {"connection_id":219807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:34:44] local.INFO: TCP Data received {"connection_id":216728,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143158430012d1a3280071f6468004300112b..."} 
[2026-10-16 10:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143158430012d1a3280071f6468004300112b..."} 
[2026-10-16 10:34:44] local.INFO: Processing buffer {"connection_id":216728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143158430012d1a3280071f6468004300112b..."} 
[2026-10-16 10:34:44] local.INFO: Packet analysis {"connection_id":216728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:34:44] local.INFO: Extracted packet for processing {"connection_id":216728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756691584,"raw_latitude":119497832,"longitude_deg":75.6691584,"latitude_deg":11.9497832,"altitude":67,"angle":17,"satellites":43,"speed":5,"hex_longitude":"2d1a3280","hex_latitude":"071f6468","is_valid_coordinates":true} 
[2026-10-16 10:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784467200001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098483504283648,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886304587016949760,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792126846000,"timestamp_ms":1792126846000,"timestamp_seconds":1792126846,"priority":1,"record_length":96,"hex_timestamp":"000001a143158430"} 
[2026-10-16 10:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-16 10:34:44] 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-10-16 10:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784467200001,"66":13396,"101":206,"83":41984,"24":5,"16":28098483504283648,"45":1886304587016949760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784467200001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:34:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:34:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098483504283648,"km_value":28098483504283.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886304587016949760,"description":"Unknown IO ID 45"} 
[2026-10-16 10:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784467200001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1886304587016949760}} 
[2026-10-16 10:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":216728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:34:44] local.INFO: GPS data processed {"connection_id":216728,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:34:44] local.INFO: Acknowledgment sent {"connection_id":216728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:34:58] local.INFO: TCP Data received {"connection_id":216538,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:34:58] local.INFO: Processing buffer {"connection_id":216538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:34:58] local.INFO: Packet analysis {"connection_id":216538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:34:58] local.INFO: Extracted packet for processing {"connection_id":216538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:34:58] 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-10-16 10:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 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-10-16 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:34:58] 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-10-16 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-10-16 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-10-16 10:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:34:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:34:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":216538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:34:58] local.INFO: GPS data processed {"connection_id":216538,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:34:58] local.INFO: Acknowledgment sent {"connection_id":216538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:35:12] local.INFO: TCP Data received {"connection_id":216729,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:35:12] local.INFO: Processing buffer {"connection_id":216729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:35:12] local.INFO: IMEI packet received {"connection_id":216729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":216729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:35:16] local.INFO: TCP Data received {"connection_id":216540,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:35:16] local.INFO: Processing buffer {"connection_id":216540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:35:16] local.INFO: IMEI packet received {"connection_id":216540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":216540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:35:18] local.INFO: TCP Data received {"connection_id":216729,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:35:18] local.INFO: Processing buffer {"connection_id":216729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:35:18] local.INFO: IMEI packet received {"connection_id":216729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":216729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:35:18] local.INFO: TCP Data received {"connection_id":216729,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143158fe8012d1a32c0071f6618004301672a..."} 
[2026-10-16 10:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143158fe8012d1a32c0071f6618004301672a..."} 
[2026-10-16 10:35:18] local.INFO: Processing buffer {"connection_id":216729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143158fe8012d1a32c0071f6618004301672a..."} 
[2026-10-16 10:35:18] local.INFO: Packet analysis {"connection_id":216729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:35:18] local.INFO: Extracted packet for processing {"connection_id":216729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756691648,"raw_latitude":119498264,"longitude_deg":75.6691648,"latitude_deg":11.9498264,"altitude":67,"angle":359,"satellites":42,"speed":6,"hex_longitude":"2d1a32c0","hex_latitude":"071f6618","is_valid_coordinates":true} 
[2026-10-16 10:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784472576001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098504979120128,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887711961901459456,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792126849000,"timestamp_ms":1792126849000,"timestamp_seconds":1792126849,"priority":1,"record_length":96,"hex_timestamp":"000001a143158fe8"} 
[2026-10-16 10:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:35: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-10-16 10:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 10:35:18] 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-10-16 10:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784472576001,"66":13417,"101":206,"83":41984,"24":6,"16":28098504979120128,"45":1887711961901459456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784472576001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:35:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098504979120128,"km_value":28098504979120.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887711961901459456,"description":"Unknown IO ID 45"} 
[2026-10-16 10:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784472576001,"power":13417,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1887711961901459456}} 
[2026-10-16 10:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":216729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:35:18] local.INFO: GPS data processed {"connection_id":216729,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:35:18] local.INFO: Acknowledgment sent {"connection_id":216729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:35:19] local.INFO: TCP Data received {"connection_id":216729,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14315de08012d1a3300071f67f00043010325..."} 
[2026-10-16 10:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14315de08012d1a3300071f67f00043010325..."} 
[2026-10-16 10:35:19] local.INFO: Processing buffer {"connection_id":216729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14315de08012d1a3300071f67f00043010325..."} 
[2026-10-16 10:35:19] local.INFO: Packet analysis {"connection_id":216729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:35:19] local.INFO: Extracted packet for processing {"connection_id":216729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756691712,"raw_latitude":119498736,"longitude_deg":75.6691712,"latitude_deg":11.9498736,"altitude":67,"angle":259,"satellites":37,"speed":1,"hex_longitude":"2d1a3300","hex_latitude":"071f67f0","is_valid_coordinates":true} 
[2026-10-16 10:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473344001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098539338858496,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887782330645747712,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792126869000,"timestamp_ms":1792126869000,"timestamp_seconds":1792126869,"priority":1,"record_length":96,"hex_timestamp":"000001a14315de08"} 
[2026-10-16 10:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-10-16 10:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":216729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":216729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":216729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473344001,"66":13352,"101":206,"83":41984,"24":1,"16":28098539338858496,"45":1887782330645747712},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473344001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:35:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098539338858496,"km_value":28098539338858.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887782330645747712,"description":"Unknown IO ID 45"} 
[2026-10-16 10:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473344001,"power":13352,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1887782330645747712}} 
[2026-10-16 10:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":216729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:35:19] local.INFO: GPS data processed {"connection_id":216729,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:35:19] local.INFO: Acknowledgment sent {"connection_id":216729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:35:20] local.INFO: TCP Data received {"connection_id":216730,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:35:20] local.INFO: Processing buffer {"connection_id":216730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:35:20] local.INFO: IMEI packet received {"connection_id":216730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":216730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:35:22] local.INFO: TCP Data received {"connection_id":216540,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:35:22] local.INFO: Processing buffer {"connection_id":216540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:35:22] local.INFO: IMEI packet received {"connection_id":216540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":216540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:35:23] local.INFO: TCP Data received {"connection_id":216540,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:35:23] local.INFO: Processing buffer {"connection_id":216540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:35:23] local.INFO: Packet analysis {"connection_id":216540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:35:23] local.INFO: Extracted packet for processing {"connection_id":216540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784396544001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792126850000,"timestamp_ms":1792126850000,"timestamp_seconds":1792126850,"priority":1,"record_length":96,"hex_timestamp":"000001a1431593d0"} 
[2026-10-16 10:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:35:23] 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-10-16 10:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784396544001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784396544001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:35:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:35:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784396544001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":216540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:35:23] local.INFO: GPS data processed {"connection_id":216540,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:35:23] local.INFO: Acknowledgment sent {"connection_id":216540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:35:27] local.INFO: TCP Data received {"connection_id":216730,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:35:27] local.INFO: Processing buffer {"connection_id":216730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:35:27] local.INFO: IMEI packet received {"connection_id":216730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":216730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:35:27] local.INFO: TCP Data received {"connection_id":216730,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:35:27] local.INFO: Processing buffer {"connection_id":216730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:35:27] local.INFO: Packet analysis {"connection_id":216730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:35:27] local.INFO: Extracted packet for processing {"connection_id":216730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:27] 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-10-16 10:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 10:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:35: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-10-16 10:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:35:27] 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-10-16 10:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:35:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:35:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":216730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:35:27] local.INFO: GPS data processed {"connection_id":216730,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:35:27] local.INFO: Acknowledgment sent {"connection_id":216730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:35:50] local.INFO: TCP Data received {"connection_id":216729,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143163010012d1a3380071f68380043010125..."} 
[2026-10-16 10:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143163010012d1a3380071f68380043010125..."} 
[2026-10-16 10:35:50] local.INFO: Processing buffer {"connection_id":216729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143163010012d1a3380071f68380043010125..."} 
[2026-10-16 10:35:50] local.INFO: Packet analysis {"connection_id":216729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14316"} 
[2026-10-16 10:35:50] local.INFO: Extracted packet for processing {"connection_id":216729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14316"} 
[2026-10-16 10:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756691840,"raw_latitude":119498808,"longitude_deg":75.669184,"latitude_deg":11.9498808,"altitude":67,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d1a3380","hex_latitude":"071f6838","is_valid_coordinates":true} 
[2026-10-16 10:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784478464001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098543633825792,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887852699390046208,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792126890000,"timestamp_ms":1792126890000,"timestamp_seconds":1792126890,"priority":1,"record_length":96,"hex_timestamp":"000001a143163010"} 
[2026-10-16 10:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 10:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":216729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":216729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":216729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784478464001,"66":13243,"101":206,"83":41984,"24":0,"16":28098543633825792,"45":1887852699390046208},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784478464001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:35:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098543633825792,"km_value":28098543633825.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887852699390046208,"description":"Unknown IO ID 45"} 
[2026-10-16 10:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784478464001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1887852699390046208}} 
[2026-10-16 10:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":216729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:35:50] local.INFO: GPS data processed {"connection_id":216729,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:35:50] local.INFO: Acknowledgment sent {"connection_id":216729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:35:55] local.INFO: TCP Data received {"connection_id":216540,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:35:55] local.INFO: Processing buffer {"connection_id":216540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:35:55] local.INFO: Packet analysis {"connection_id":216540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:35:55] local.INFO: Extracted packet for processing {"connection_id":216540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784396544001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792126850000,"timestamp_ms":1792126850000,"timestamp_seconds":1792126850,"priority":1,"record_length":96,"hex_timestamp":"000001a1431593d0"} 
[2026-10-16 10:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784396544001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784396544001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:35:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:35:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784396544001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":216540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:35:55] local.INFO: GPS data processed {"connection_id":216540,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:35:55] local.INFO: Acknowledgment sent {"connection_id":216540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:36:02] local.INFO: TCP Data received {"connection_id":216730,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:36:02] local.INFO: Processing buffer {"connection_id":216730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:36:02] local.INFO: Packet analysis {"connection_id":216730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:36:02] local.INFO: Extracted packet for processing {"connection_id":216730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:02] 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-10-16 10:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 10:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:36:02] 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-10-16 10:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:36:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":216730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:36:02] local.INFO: GPS data processed {"connection_id":216730,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:36:02] local.INFO: Acknowledgment sent {"connection_id":216730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:36:07] local.INFO: TCP Data received {"connection_id":216541,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:36:07] local.INFO: Processing buffer {"connection_id":216541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:36:07] local.INFO: IMEI packet received {"connection_id":216541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":216541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:36:13] local.INFO: TCP Data received {"connection_id":219808,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:36:13] local.INFO: Processing buffer {"connection_id":219808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:36:13] local.INFO: IMEI packet received {"connection_id":219808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":219808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:36:15] local.INFO: TCP Data received {"connection_id":216541,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:36:15] local.INFO: Processing buffer {"connection_id":216541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:36:15] local.INFO: IMEI packet received {"connection_id":216541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":216541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:36:16] local.INFO: TCP Data received {"connection_id":216542,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:36:16] local.INFO: Processing buffer {"connection_id":216542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:36:16] local.INFO: IMEI packet received {"connection_id":216542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":216542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:36:16] local.INFO: TCP Data received {"connection_id":216541,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143168218012d1a3380071f68380043010123..."} 
[2026-10-16 10:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143168218012d1a3380071f68380043010123..."} 
[2026-10-16 10:36:16] local.INFO: Processing buffer {"connection_id":216541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143168218012d1a3380071f68380043010123..."} 
[2026-10-16 10:36:16] local.INFO: Packet analysis {"connection_id":216541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14316"} 
[2026-10-16 10:36:16] local.INFO: Extracted packet for processing {"connection_id":216541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14316"} 
[2026-10-16 10:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756691840,"raw_latitude":119498808,"longitude_deg":75.669184,"latitude_deg":11.9498808,"altitude":67,"angle":257,"satellites":35,"speed":0,"hex_longitude":"2d1a3380","hex_latitude":"071f6838","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784483840001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098543633825792,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887993436878419968,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792126911000,"timestamp_ms":1792126911000,"timestamp_seconds":1792126911,"priority":1,"record_length":96,"hex_timestamp":"000001a143168218"} 
[2026-10-16 10:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-16 10:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784483840001,"66":13102,"101":206,"83":41984,"24":0,"16":28098543633825792,"45":1887993436878419968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784483840001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:36:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098543633825792,"km_value":28098543633825.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887993436878419968,"description":"Unknown IO ID 45"} 
[2026-10-16 10:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784483840001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1887993436878419968}} 
[2026-10-16 10:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":216541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:36:16] local.INFO: GPS data processed {"connection_id":216541,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:36:16] local.INFO: Acknowledgment sent {"connection_id":216541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:36:20] local.INFO: TCP Data received {"connection_id":216731,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:36:20] local.INFO: Processing buffer {"connection_id":216731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:36:20] local.INFO: IMEI packet received {"connection_id":216731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":216731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:36:22] local.INFO: TCP Data received {"connection_id":216542,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:36:22] local.INFO: Processing buffer {"connection_id":216542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:36:22] local.INFO: IMEI packet received {"connection_id":216542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":216542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:36:23] local.INFO: TCP Data received {"connection_id":216542,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:36:23] local.INFO: Processing buffer {"connection_id":216542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431593d0012d7fa40005afce580009000a32..."} 
[2026-10-16 10:36:23] local.INFO: Packet analysis {"connection_id":216542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:36:23] local.INFO: Extracted packet for processing {"connection_id":216542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14315"} 
[2026-10-16 10:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784396544001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792126850000,"timestamp_ms":1792126850000,"timestamp_seconds":1792126850,"priority":1,"record_length":96,"hex_timestamp":"000001a1431593d0"} 
[2026-10-16 10:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:36:23] 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-10-16 10: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-10-16 10:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784396544001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784396544001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:36:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:36:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784396544001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":216542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:36:23] local.INFO: GPS data processed {"connection_id":216542,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:36:23] local.INFO: Acknowledgment sent {"connection_id":216542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:36:25] local.INFO: TCP Data received {"connection_id":216731,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:36:25] local.INFO: Processing buffer {"connection_id":216731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:36:25] local.INFO: IMEI packet received {"connection_id":216731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":216731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:36:31] local.INFO: TCP Data received {"connection_id":216731,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:36:31] local.INFO: Processing buffer {"connection_id":216731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:36:31] local.INFO: IMEI packet received {"connection_id":216731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":216731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:36:32] local.INFO: TCP Data received {"connection_id":216731,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:36:32] local.INFO: Processing buffer {"connection_id":216731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:36:32] local.INFO: Packet analysis {"connection_id":216731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:36:32] local.INFO: Extracted packet for processing {"connection_id":216731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 10:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:36:32] 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-10-16 10:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:36:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:36:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":216731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:36:32] local.INFO: GPS data processed {"connection_id":216731,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:36:32] local.INFO: Acknowledgment sent {"connection_id":216731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:36:48] local.INFO: TCP Data received {"connection_id":216541,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a3750012d1a3440071f6a70003700e423..."} 
[2026-10-16 10:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a3750012d1a3440071f6a70003700e423..."} 
[2026-10-16 10:36:48] local.INFO: Processing buffer {"connection_id":216541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a3750012d1a3440071f6a70003700e423..."} 
[2026-10-16 10:36:48] local.INFO: Packet analysis {"connection_id":216541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:36:48] local.INFO: Extracted packet for processing {"connection_id":216541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756692032,"raw_latitude":119499376,"longitude_deg":75.6692032,"latitude_deg":11.9499376,"altitude":55,"angle":228,"satellites":35,"speed":1,"hex_longitude":"2d1a3440","hex_latitude":"071f6a70","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784549888001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098586583498752,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888204543111092224,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792127154000,"timestamp_ms":1792127154000,"timestamp_seconds":1792127154,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a3750"} 
[2026-10-16 10:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:36: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-10-16 10: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 10:36:48] 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-10-16 10: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-10-16 10:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784549888001,"66":14004,"101":206,"83":41984,"24":1,"16":28098586583498752,"45":1888204543111092224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784549888001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:36:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:36:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098586583498752,"km_value":28098586583498.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888204543111092224,"description":"Unknown IO ID 45"} 
[2026-10-16 10:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784549888001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1888204543111092224}} 
[2026-10-16 10:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":216541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:36:48] local.INFO: GPS data processed {"connection_id":216541,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:36:48] local.INFO: Acknowledgment sent {"connection_id":216541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:36:51] local.INFO: TCP Data received {"connection_id":219809,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:36:51] local.INFO: Processing buffer {"connection_id":219809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:36:51] local.INFO: IMEI packet received {"connection_id":219809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":219809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:36:54] local.INFO: TCP Data received {"connection_id":216542,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:36:54] local.INFO: Processing buffer {"connection_id":216542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:36:54] local.INFO: Packet analysis {"connection_id":216542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:36:54] local.INFO: Extracted packet for processing {"connection_id":216542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792127151000,"timestamp_ms":1792127151000,"timestamp_seconds":1792127151,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a2b98"} 
[2026-10-16 10:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:36:54] 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-10-16 10:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473600001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:36:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:36:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473600001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":216542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:36:54] local.INFO: GPS data processed {"connection_id":216542,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:36:54] local.INFO: Acknowledgment sent {"connection_id":216542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:37:03] local.INFO: TCP Data received {"connection_id":216731,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:37:03] local.INFO: Processing buffer {"connection_id":216731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:37:03] local.INFO: Packet analysis {"connection_id":216731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:37:03] local.INFO: Extracted packet for processing {"connection_id":216731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 10:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:37:03] 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-10-16 10:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:37:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:37:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":216731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:37:03] local.INFO: GPS data processed {"connection_id":216731,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:37:03] local.INFO: Acknowledgment sent {"connection_id":216731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:37:07] local.INFO: TCP Data received {"connection_id":216543,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:37:07] local.INFO: Processing buffer {"connection_id":216543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:37:07] local.INFO: IMEI packet received {"connection_id":216543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":216543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:37:12] local.INFO: TCP Data received {"connection_id":216543,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:37:12] local.INFO: Processing buffer {"connection_id":216543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:37:12] local.INFO: IMEI packet received {"connection_id":216543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":216543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:37:13] local.INFO: TCP Data received {"connection_id":216543,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a5e60012d1a3480071f69c80037009b25..."} 
[2026-10-16 10:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a5e60012d1a3480071f69c80037009b25..."} 
[2026-10-16 10:37:13] local.INFO: Processing buffer {"connection_id":216543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a5e60012d1a3480071f69c80037009b25..."} 
[2026-10-16 10:37:13] local.INFO: Packet analysis {"connection_id":216543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:37:13] local.INFO: Extracted packet for processing {"connection_id":216543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756692096,"raw_latitude":119499208,"longitude_deg":75.6692096,"latitude_deg":11.9499208,"altitude":55,"angle":155,"satellites":37,"speed":3,"hex_longitude":"2d1a3480","hex_latitude":"071f69c8","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784551424001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098599468400640,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888204543111098368,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792127164000,"timestamp_ms":1792127164000,"timestamp_seconds":1792127164,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a5e60"} 
[2026-10-16 10:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:37: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-10-16 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 10:37:13] 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-10-16 10: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-10-16 10:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784551424001,"66":14113,"101":206,"83":41984,"24":3,"16":28098599468400640,"45":1888204543111098368},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784551424001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:37:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098599468400640,"km_value":28098599468400.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888204543111098368,"description":"Unknown IO ID 45"} 
[2026-10-16 10:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784551424001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1888204543111098368}} 
[2026-10-16 10:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":216543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:37:13] local.INFO: GPS data processed {"connection_id":216543,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:37:13] local.INFO: Acknowledgment sent {"connection_id":216543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:37:16] local.INFO: TCP Data received {"connection_id":219810,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:37:16] local.INFO: Processing buffer {"connection_id":219810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:37:16] local.INFO: IMEI packet received {"connection_id":219810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":219810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:37:20] local.INFO: TCP Data received {"connection_id":216732,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:37:20] local.INFO: Processing buffer {"connection_id":216732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:37:20] local.INFO: IMEI packet received {"connection_id":216732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":216732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:37:22] local.INFO: TCP Data received {"connection_id":219810,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:37:22] local.INFO: Processing buffer {"connection_id":219810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:37:22] local.INFO: IMEI packet received {"connection_id":219810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":219810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:37:23] local.INFO: TCP Data received {"connection_id":219810,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:37:23] local.INFO: Processing buffer {"connection_id":219810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:37:23] local.INFO: Packet analysis {"connection_id":219810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:37:23] local.INFO: Extracted packet for processing {"connection_id":219810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792127151000,"timestamp_ms":1792127151000,"timestamp_seconds":1792127151,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a2b98"} 
[2026-10-16 10:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:37:23] 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-10-16 10:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473600001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:37:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:37:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473600001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":219810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:37:23] local.INFO: GPS data processed {"connection_id":219810,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:37:23] local.INFO: Acknowledgment sent {"connection_id":219810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:37:26] local.INFO: TCP Data received {"connection_id":216732,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:37:26] local.INFO: Processing buffer {"connection_id":216732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:37:26] local.INFO: IMEI packet received {"connection_id":216732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":216732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:37:27] local.INFO: TCP Data received {"connection_id":216732,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:37:27] local.INFO: Processing buffer {"connection_id":216732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:37:27] local.INFO: Packet analysis {"connection_id":216732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:37:27] local.INFO: Extracted packet for processing {"connection_id":216732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:27] 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-10-16 10:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 10:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:37: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-10-16 10:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:37:27] 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-10-16 10:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:37:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:37:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":216732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:37:27] local.INFO: GPS data processed {"connection_id":216732,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:37:27] local.INFO: Acknowledgment sent {"connection_id":216732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:37:44] local.INFO: TCP Data received {"connection_id":216543,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431b1210012d1a2c80071f4e200033007f2b..."} 
[2026-10-16 10:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431b1210012d1a2c80071f4e200033007f2b..."} 
[2026-10-16 10:37:44] local.INFO: Processing buffer {"connection_id":216543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431b1210012d1a2c80071f4e200033007f2b..."} 
[2026-10-16 10:37:44] local.INFO: Packet analysis {"connection_id":216543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431b"} 
[2026-10-16 10:37:44] local.INFO: Extracted packet for processing {"connection_id":216543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431b"} 
[2026-10-16 10:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756690048,"raw_latitude":119492128,"longitude_deg":75.6690048,"latitude_deg":11.9492128,"altitude":51,"angle":127,"satellites":43,"speed":8,"hex_longitude":"2d1a2c80","hex_latitude":"071f4e20","is_valid_coordinates":true} 
[2026-10-16 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":795,"current_offset":40} 
[2026-10-16 10:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784565504001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098977425522688,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885882374551418880,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792127210000,"timestamp_ms":1792127210000,"timestamp_seconds":1792127210,"priority":1,"record_length":96,"hex_timestamp":"000001a1431b1210"} 
[2026-10-16 10:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 10:37: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-10-16 10: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-10-16 10:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784565504001,"66":13102,"101":206,"83":41984,"24":8,"16":28098977425522688,"45":1885882374551418880},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784565504001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:37:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098977425522688,"km_value":28098977425522.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885882374551418880,"description":"Unknown IO ID 45"} 
[2026-10-16 10:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784565504001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1885882374551418880}} 
[2026-10-16 10:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":216543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:37:44] local.INFO: GPS data processed {"connection_id":216543,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:37:44] local.INFO: Acknowledgment sent {"connection_id":216543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:37:55] local.INFO: TCP Data received {"connection_id":219810,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:37:55] local.INFO: Processing buffer {"connection_id":219810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:37:55] local.INFO: Packet analysis {"connection_id":219810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:37:55] local.INFO: Extracted packet for processing {"connection_id":219810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792127151000,"timestamp_ms":1792127151000,"timestamp_seconds":1792127151,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a2b98"} 
[2026-10-16 10:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:37:55] 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-10-16 10:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473600001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:37:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:37:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473600001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":219810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:37:55] local.INFO: GPS data processed {"connection_id":219810,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:37:55] local.INFO: Acknowledgment sent {"connection_id":219810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:37:58] local.INFO: TCP Data received {"connection_id":216732,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:37:58] local.INFO: Processing buffer {"connection_id":216732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:37:58] local.INFO: Packet analysis {"connection_id":216732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:37:58] local.INFO: Extracted packet for processing {"connection_id":216732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:37:58] 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-10-16 10:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 10:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:37:58] 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-10-16 10:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:37:58] 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-10-16 10:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:37:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:37:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":216732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:37:58] local.INFO: GPS data processed {"connection_id":216732,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:37:58] local.INFO: Acknowledgment sent {"connection_id":216732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:38:07] local.INFO: TCP Data received {"connection_id":218089,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:38:07] local.INFO: Processing buffer {"connection_id":218089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:38:07] local.INFO: IMEI packet received {"connection_id":218089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":218089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:38:08] local.INFO: TCP Data received {"connection_id":218089,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:38:08] local.INFO: Processing buffer {"connection_id":218089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:38:08] local.INFO: IMEI packet received {"connection_id":218089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":218089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:38:13] local.INFO: TCP Data received {"connection_id":218089,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:38:13] local.INFO: Processing buffer {"connection_id":218089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:38:13] local.INFO: IMEI packet received {"connection_id":218089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":218089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:38:14] local.INFO: TCP Data received {"connection_id":218089,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431b15f8012d1a2d80071f4dc0003300672b..."} 
[2026-10-16 10:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431b15f8012d1a2d80071f4dc0003300672b..."} 
[2026-10-16 10:38:14] local.INFO: Processing buffer {"connection_id":218089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431b15f8012d1a2d80071f4dc0003300672b..."} 
[2026-10-16 10:38:14] local.INFO: Packet analysis {"connection_id":218089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431b"} 
[2026-10-16 10:38:14] local.INFO: Extracted packet for processing {"connection_id":218089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431b"} 
[2026-10-16 10:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756690304,"raw_latitude":119492032,"longitude_deg":75.6690304,"latitude_deg":11.9492032,"altitude":51,"angle":103,"satellites":43,"speed":10,"hex_longitude":"2d1a2d80","hex_latitude":"071f4dc0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784565760001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28098990310424576,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886023112039735296,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792127211000,"timestamp_ms":1792127211000,"timestamp_seconds":1792127211,"priority":1,"record_length":96,"hex_timestamp":"000001a1431b15f8"} 
[2026-10-16 10:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 10:38: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-10-16 10: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-10-16 10:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784565760001,"66":13102,"101":206,"83":41984,"24":10,"16":28098990310424576,"45":1886023112039735296},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784565760001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:38:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28098990310424576,"km_value":28098990310424.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886023112039735296,"description":"Unknown IO ID 45"} 
[2026-10-16 10:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784565760001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1886023112039735296}} 
[2026-10-16 10:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":218089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:38:14] local.INFO: GPS data processed {"connection_id":218089,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:38:14] local.INFO: Acknowledgment sent {"connection_id":218089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:38:16] local.INFO: TCP Data received {"connection_id":216544,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:38:16] local.INFO: Processing buffer {"connection_id":216544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:38:16] local.INFO: IMEI packet received {"connection_id":216544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":216544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:38:22] local.INFO: TCP Data received {"connection_id":216544,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:38:22] local.INFO: Processing buffer {"connection_id":216544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:38:22] local.INFO: IMEI packet received {"connection_id":216544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":216544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:38:23] local.INFO: TCP Data received {"connection_id":216544,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:38:23] local.INFO: Processing buffer {"connection_id":216544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:38:23] local.INFO: Packet analysis {"connection_id":216544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:38:23] local.INFO: Extracted packet for processing {"connection_id":216544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:38: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-10-16 10:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792127151000,"timestamp_ms":1792127151000,"timestamp_seconds":1792127151,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a2b98"} 
[2026-10-16 10:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:38: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:38:23] 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-10-16 10:38: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-10-16 10:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473600001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:38:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:38:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473600001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":216544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:38:23] local.INFO: GPS data processed {"connection_id":216544,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:38:23] local.INFO: Acknowledgment sent {"connection_id":216544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:38:26] local.INFO: TCP Data received {"connection_id":218090,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:38:26] local.INFO: Processing buffer {"connection_id":218090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:38:26] local.INFO: IMEI packet received {"connection_id":218090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":218090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:38:31] local.INFO: TCP Data received {"connection_id":218090,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:38:31] local.INFO: Processing buffer {"connection_id":218090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:38:31] local.INFO: IMEI packet received {"connection_id":218090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":218090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:38:32] local.INFO: TCP Data received {"connection_id":218090,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:38:32] local.INFO: Processing buffer {"connection_id":218090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:38:32] local.INFO: Packet analysis {"connection_id":218090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:38:32] local.INFO: Extracted packet for processing {"connection_id":218090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 10:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:38:32] 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-10-16 10:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:38:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:38:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":218090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:38:32] local.INFO: GPS data processed {"connection_id":218090,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:38:32] local.INFO: Acknowledgment sent {"connection_id":218090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:38:40] local.INFO: TCP Data received {"connection_id":218090,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:38:40] local.INFO: Processing buffer {"connection_id":218090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143181088012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 10:38:40] local.INFO: Packet analysis {"connection_id":218090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:38:40] local.INFO: Extracted packet for processing {"connection_id":218090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14318"} 
[2026-10-16 10:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784438272001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:40] 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-10-16 10:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792127013000,"timestamp_ms":1792127013000,"timestamp_seconds":1792127013,"priority":1,"record_length":96,"hex_timestamp":"000001a143181088"} 
[2026-10-16 10:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10: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-10-16 10:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 10:38:40] 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-10-16 10: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-10-16 10:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":218090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":218090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":218090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784438272001,"66":12863,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784438272001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:38:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:38:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784438272001,"power":12863,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":218090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:38:40] local.INFO: GPS data processed {"connection_id":218090,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:38:40] local.INFO: Acknowledgment sent {"connection_id":218090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:38:48] local.INFO: TCP Data received {"connection_id":218089,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431bfc70012d1a8600071f36300043005b29..."} 
[2026-10-16 10:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431bfc70012d1a8600071f36300043005b29..."} 
[2026-10-16 10:38:48] local.INFO: Processing buffer {"connection_id":218089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431bfc70012d1a8600071f36300043005b29..."} 
[2026-10-16 10:38:48] local.INFO: Packet analysis {"connection_id":218089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431b"} 
[2026-10-16 10:38:48] local.INFO: Extracted packet for processing {"connection_id":218089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431b"} 
[2026-10-16 10:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756712960,"raw_latitude":119486000,"longitude_deg":75.671296,"latitude_deg":11.9486,"altitude":67,"angle":91,"satellites":41,"speed":14,"hex_longitude":"2d1a8600","hex_latitude":"071f3630","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784578304001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28100149951594496,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907274472780005376,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792127270000,"timestamp_ms":1792127270000,"timestamp_seconds":1792127270,"priority":1,"record_length":96,"hex_timestamp":"000001a1431bfc70"} 
[2026-10-16 10:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:38: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-10-16 10: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-16 10:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":218089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":218089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":218089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784578304001,"66":14211,"101":206,"83":41984,"24":14,"16":28100149951594496,"45":1907274472780005376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784578304001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:38:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28100149951594496,"km_value":28100149951594.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907274472780005376,"description":"Unknown IO ID 45"} 
[2026-10-16 10:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784578304001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1907274472780005376}} 
[2026-10-16 10:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":218089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:38:48] local.INFO: GPS data processed {"connection_id":218089,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:38:48] local.INFO: Acknowledgment sent {"connection_id":218089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:38:55] local.INFO: TCP Data received {"connection_id":216544,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:38:55] local.INFO: Processing buffer {"connection_id":216544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:38:55] local.INFO: Packet analysis {"connection_id":216544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:38:55] local.INFO: Extracted packet for processing {"connection_id":216544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792127151000,"timestamp_ms":1792127151000,"timestamp_seconds":1792127151,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a2b98"} 
[2026-10-16 10:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:38:55] 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-10-16 10:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473600001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:38:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:38:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473600001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":216544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:38:55] local.INFO: GPS data processed {"connection_id":216544,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:38:55] local.INFO: Acknowledgment sent {"connection_id":216544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:39:07] local.INFO: TCP Data received {"connection_id":218091,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:39:07] local.INFO: Processing buffer {"connection_id":218091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:39:07] local.INFO: IMEI packet received {"connection_id":218091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":218091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:39:12] local.INFO: TCP Data received {"connection_id":218091,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:39:12] local.INFO: Processing buffer {"connection_id":218091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:39:12] local.INFO: IMEI packet received {"connection_id":218091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":218091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:39:14] local.INFO: TCP Data received {"connection_id":218091,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431c0ff8012d1a8e40071f36900045004f29..."} 
[2026-10-16 10:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431c0ff8012d1a8e40071f36900045004f29..."} 
[2026-10-16 10:39:14] local.INFO: Processing buffer {"connection_id":218091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431c0ff8012d1a8e40071f36900045004f29..."} 
[2026-10-16 10:39:14] local.INFO: Packet analysis {"connection_id":218091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:39:14] local.INFO: Extracted packet for processing {"connection_id":218091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119486096,"longitude_deg":75.6715072,"latitude_deg":11.9486096,"altitude":69,"angle":79,"satellites":41,"speed":17,"hex_longitude":"2d1a8e40","hex_latitude":"071f3690","is_valid_coordinates":true} 
[2026-10-16 10:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784581120001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28100248735842304,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911215122453770240,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792127275000,"timestamp_ms":1792127275000,"timestamp_seconds":1792127275,"priority":1,"record_length":96,"hex_timestamp":"000001a1431c0ff8"} 
[2026-10-16 10:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 10:39:14] 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-10-16 10: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-10-16 10:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784581120001,"66":14048,"101":206,"83":41984,"24":17,"16":28100248735842304,"45":1911215122453770240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784581120001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:39:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28100248735842304,"km_value":28100248735842.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911215122453770240,"description":"Unknown IO ID 45"} 
[2026-10-16 10:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784581120001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1911215122453770240}} 
[2026-10-16 10:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":218091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:39:14] local.INFO: GPS data processed {"connection_id":218091,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:39:14] local.INFO: Acknowledgment sent {"connection_id":218091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:39:16] local.INFO: TCP Data received {"connection_id":216734,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:39:16] local.INFO: Processing buffer {"connection_id":216734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:39:16] local.INFO: IMEI packet received {"connection_id":216734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":216734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:39:21] local.INFO: TCP Data received {"connection_id":216735,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:39:21] local.INFO: Processing buffer {"connection_id":216735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:39:21] local.INFO: IMEI packet received {"connection_id":216735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:39:21] local.INFO: TCP Data received {"connection_id":216734,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:39:21] local.INFO: Processing buffer {"connection_id":216734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:39:21] local.INFO: IMEI packet received {"connection_id":216734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:39:22] local.INFO: TCP Data received {"connection_id":216734,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:39:22] local.INFO: Processing buffer {"connection_id":216734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:39:22] local.INFO: Packet analysis {"connection_id":216734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:39:22] local.INFO: Extracted packet for processing {"connection_id":216734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:39:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792127151000,"timestamp_ms":1792127151000,"timestamp_seconds":1792127151,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a2b98"} 
[2026-10-16 10:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:39:22] 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-10-16 10:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473600001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:39:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:39:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473600001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":216734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:39:22] local.INFO: GPS data processed {"connection_id":216734,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:39:22] local.INFO: Acknowledgment sent {"connection_id":216734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:39:26] local.INFO: TCP Data received {"connection_id":216735,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:39:26] local.INFO: Processing buffer {"connection_id":216735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:39:26] local.INFO: IMEI packet received {"connection_id":216735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":216735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:39:31] local.INFO: TCP Data received {"connection_id":216735,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:39:31] local.INFO: Processing buffer {"connection_id":216735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:39:31] local.INFO: Packet analysis {"connection_id":216735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:39:31] local.INFO: Extracted packet for processing {"connection_id":216735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784515328001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792127314000,"timestamp_ms":1792127314000,"timestamp_seconds":1792127314,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ca850"} 
[2026-10-16 10:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 10:39:31] 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-10-16 10:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784515328001,"66":12776,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784515328001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:39:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:39:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784515328001,"power":12776,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":216735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:39:31] local.INFO: GPS data processed {"connection_id":216735,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:39:31] local.INFO: Acknowledgment sent {"connection_id":216735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:39:45] local.INFO: TCP Data received {"connection_id":218091,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431c1f98012d1a9580071f37100045005f29..."} 
[2026-10-16 10:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431c1f98012d1a9580071f37100045005f29..."} 
[2026-10-16 10:39:45] local.INFO: Processing buffer {"connection_id":218091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431c1f98012d1a9580071f37100045005f29..."} 
[2026-10-16 10:39:45] local.INFO: Packet analysis {"connection_id":218091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:39:45] local.INFO: Extracted packet for processing {"connection_id":218091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756716928,"raw_latitude":119486224,"longitude_deg":75.6716928,"latitude_deg":11.9486224,"altitude":69,"angle":95,"satellites":41,"speed":16,"hex_longitude":"2d1a9580","hex_latitude":"071f3710","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784582400001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28100338930155520,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291011657728,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792127279000,"timestamp_ms":1792127279000,"timestamp_seconds":1792127279,"priority":1,"record_length":96,"hex_timestamp":"000001a1431c1f98"} 
[2026-10-16 10:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:39: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-10-16 10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 10:39:45] 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-10-16 10: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-10-16 10:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784582400001,"66":14004,"101":206,"83":41984,"24":16,"16":28100338930155520,"45":1913537291011657728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784582400001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:39:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28100338930155520,"km_value":28100338930155.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291011657728,"description":"Unknown IO ID 45"} 
[2026-10-16 10:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784582400001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1913537291011657728}} 
[2026-10-16 10:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":218091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:39:45] local.INFO: GPS data processed {"connection_id":218091,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:39:45] local.INFO: Acknowledgment sent {"connection_id":218091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:39:54] local.INFO: TCP Data received {"connection_id":216734,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:39:54] local.INFO: Processing buffer {"connection_id":216734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:39:54] local.INFO: Packet analysis {"connection_id":216734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:39:54] local.INFO: Extracted packet for processing {"connection_id":216734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792127151000,"timestamp_ms":1792127151000,"timestamp_seconds":1792127151,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a2b98"} 
[2026-10-16 10:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:39:54] 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-10-16 10: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-10-16 10:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473600001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:39:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:39:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473600001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":216734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:39:54] local.INFO: GPS data processed {"connection_id":216734,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:39:54] local.INFO: Acknowledgment sent {"connection_id":216734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:40:02] local.INFO: TCP Data received {"connection_id":216735,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:40:02] local.INFO: Processing buffer {"connection_id":216735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:40:02] local.INFO: Packet analysis {"connection_id":216735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:40:02] local.INFO: Extracted packet for processing {"connection_id":216735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784515328001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:02] 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-10-16 10:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792127314000,"timestamp_ms":1792127314000,"timestamp_seconds":1792127314,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ca850"} 
[2026-10-16 10:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 10:40:02] 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-10-16 10: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-10-16 10:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784515328001,"66":12776,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784515328001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:40:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:40:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784515328001,"power":12776,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":216735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:40:02] local.INFO: GPS data processed {"connection_id":216735,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:40:02] local.INFO: Acknowledgment sent {"connection_id":216735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:40:07] local.INFO: TCP Data received {"connection_id":218093,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:40:07] local.INFO: Processing buffer {"connection_id":218093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:40:07] local.INFO: IMEI packet received {"connection_id":218093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":218093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:40:08] local.INFO: TCP Data received {"connection_id":218093,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:40:08] local.INFO: Processing buffer {"connection_id":218093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:40:08] local.INFO: IMEI packet received {"connection_id":218093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":218093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:40:12] local.INFO: TCP Data received {"connection_id":218093,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:40:12] local.INFO: Processing buffer {"connection_id":218093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:40:12] local.INFO: IMEI packet received {"connection_id":218093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":218093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:40:13] local.INFO: TCP Data received {"connection_id":218093,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431d2550012d1ab8c0071f62d0003e000525..."} 
[2026-10-16 10:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431d2550012d1ab8c0071f62d0003e000525..."} 
[2026-10-16 10:40:13] local.INFO: Processing buffer {"connection_id":218093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431d2550012d1ab8c0071f62d0003e000525..."} 
[2026-10-16 10:40:13] local.INFO: Packet analysis {"connection_id":218093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431d"} 
[2026-10-16 10:40:13] local.INFO: Extracted packet for processing {"connection_id":218093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431d"} 
[2026-10-16 10:40:13] local.INFO: GPS Element Parsed {"raw_longitude":756725952,"raw_latitude":119497424,"longitude_deg":75.6725952,"latitude_deg":11.9497424,"altitude":62,"angle":5,"satellites":37,"speed":40,"hex_longitude":"2d1ab8c0","hex_latitude":"071f62d0","is_valid_coordinates":true} 
[2026-10-16 10:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784598016001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28101326772633600,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925640715011262464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792127346000,"timestamp_ms":1792127346000,"timestamp_seconds":1792127346,"priority":1,"record_length":96,"hex_timestamp":"000001a1431d2550"} 
[2026-10-16 10:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:40: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-10-16 10:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-16 10:40:13] 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-10-16 10:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784598016001,"66":14113,"101":206,"83":41984,"24":40,"16":28101326772633600,"45":1925640715011262464},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784598016001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:40:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28101326772633600,"km_value":28101326772633.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925640715011262464,"description":"Unknown IO ID 45"} 
[2026-10-16 10:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784598016001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1925640715011262464}} 
[2026-10-16 10:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":218093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:40:13] local.INFO: GPS data processed {"connection_id":218093,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:40:13] local.INFO: Acknowledgment sent {"connection_id":218093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:40:16] local.INFO: TCP Data received {"connection_id":216736,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:40:16] local.INFO: Processing buffer {"connection_id":216736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:40:16] local.INFO: IMEI packet received {"connection_id":216736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":216736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:40:20] local.INFO: TCP Data received {"connection_id":216545,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:40:20] local.INFO: Processing buffer {"connection_id":216545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:40:20] local.INFO: IMEI packet received {"connection_id":216545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":216545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:40:22] local.INFO: TCP Data received {"connection_id":216736,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:40:22] local.INFO: Processing buffer {"connection_id":216736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:40:22] local.INFO: IMEI packet received {"connection_id":216736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":216736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:40:23] local.INFO: TCP Data received {"connection_id":216736,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:40:23] local.INFO: Processing buffer {"connection_id":216736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:40:23] local.INFO: Packet analysis {"connection_id":216736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:40:23] local.INFO: Extracted packet for processing {"connection_id":216736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792127151000,"timestamp_ms":1792127151000,"timestamp_seconds":1792127151,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a2b98"} 
[2026-10-16 10:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:40:23] 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-10-16 10: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-10-16 10:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473600001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:40:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:40:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473600001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":216736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:40:23] local.INFO: GPS data processed {"connection_id":216736,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:40:23] local.INFO: Acknowledgment sent {"connection_id":216736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:40:26] local.INFO: TCP Data received {"connection_id":216545,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:40:26] local.INFO: Processing buffer {"connection_id":216545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:40:26] local.INFO: IMEI packet received {"connection_id":216545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":216545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:40:27] local.INFO: TCP Data received {"connection_id":216545,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:40:27] local.INFO: Processing buffer {"connection_id":216545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:40:27] local.INFO: Packet analysis {"connection_id":216545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:40:27] local.INFO: Extracted packet for processing {"connection_id":216545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784515328001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:27] 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-10-16 10:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792127314000,"timestamp_ms":1792127314000,"timestamp_seconds":1792127314,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ca850"} 
[2026-10-16 10:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 10:40:27] 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-10-16 10:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784515328001,"66":12776,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784515328001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:40:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:40:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784515328001,"power":12776,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":216545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:40:27] local.INFO: GPS data processed {"connection_id":216545,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:40:27] local.INFO: Acknowledgment sent {"connection_id":216545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:40:44] local.INFO: TCP Data received {"connection_id":218093,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431dd518012d1a5fc0071fdca00033011626..."} 
[2026-10-16 10:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431dd518012d1a5fc0071fdca00033011626..."} 
[2026-10-16 10:40:44] local.INFO: Processing buffer {"connection_id":218093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431dd518012d1a5fc0071fdca00033011626..."} 
[2026-10-16 10:40:44] local.INFO: Packet analysis {"connection_id":218093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431d"} 
[2026-10-16 10:40:44] local.INFO: Extracted packet for processing {"connection_id":218093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431d"} 
[2026-10-16 10:40:44] local.INFO: GPS Element Parsed {"raw_longitude":756703168,"raw_latitude":119528608,"longitude_deg":75.6703168,"latitude_deg":11.9528608,"altitude":51,"angle":278,"satellites":38,"speed":38,"hex_longitude":"2d1a5fc0","hex_latitude":"071fdca0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784611584001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28103530090856448,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902630135674912768,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792127391000,"timestamp_ms":1792127391000,"timestamp_seconds":1792127391,"priority":1,"record_length":96,"hex_timestamp":"000001a1431dd518"} 
[2026-10-16 10:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 10:40:44] 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-10-16 10: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-10-16 10:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784611584001,"66":14233,"101":206,"83":41984,"24":38,"16":28103530090856448,"45":1902630135674912768},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784611584001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:40:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:40:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28103530090856448,"km_value":28103530090856.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902630135674912768,"description":"Unknown IO ID 45"} 
[2026-10-16 10:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784611584001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1902630135674912768}} 
[2026-10-16 10:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":218093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:40:44] local.INFO: GPS data processed {"connection_id":218093,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:40:44] local.INFO: Acknowledgment sent {"connection_id":218093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:40:55] local.INFO: TCP Data received {"connection_id":216736,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:40:55] local.INFO: Processing buffer {"connection_id":216736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:40:55] local.INFO: Packet analysis {"connection_id":216736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:40:55] local.INFO: Extracted packet for processing {"connection_id":216736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792127151000,"timestamp_ms":1792127151000,"timestamp_seconds":1792127151,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a2b98"} 
[2026-10-16 10:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:40:55] 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-10-16 10:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473600001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:40:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:40:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473600001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":216736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:40:55] local.INFO: GPS data processed {"connection_id":216736,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:40:55] local.INFO: Acknowledgment sent {"connection_id":216736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:40:59] local.INFO: TCP Data received {"connection_id":216545,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:40:59] local.INFO: Processing buffer {"connection_id":216545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:40:59] local.INFO: Packet analysis {"connection_id":216545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:40:59] local.INFO: Extracted packet for processing {"connection_id":216545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784515328001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:40:59] 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-10-16 10:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792127314000,"timestamp_ms":1792127314000,"timestamp_seconds":1792127314,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ca850"} 
[2026-10-16 10:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 10:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784515328001,"66":12776,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784515328001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:40:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:40:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784515328001,"power":12776,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":216545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:40:59] local.INFO: GPS data processed {"connection_id":216545,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:40:59] local.INFO: Acknowledgment sent {"connection_id":216545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:41:12] local.INFO: TCP Data received {"connection_id":219812,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:41:12] local.INFO: Processing buffer {"connection_id":219812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:41:12] local.INFO: IMEI packet received {"connection_id":219812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":219812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:41:13] local.INFO: TCP Data received {"connection_id":219812,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:41:13] local.INFO: Processing buffer {"connection_id":219812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:41:13] local.INFO: IMEI packet received {"connection_id":219812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":219812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:41:16] local.INFO: TCP Data received {"connection_id":219812,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:41:16] local.INFO: Processing buffer {"connection_id":219812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:41:16] local.INFO: IMEI packet received {"connection_id":219812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":219812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:41:16] local.INFO: TCP Data received {"connection_id":216546,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:41:16] local.INFO: Processing buffer {"connection_id":216546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:41:16] local.INFO: IMEI packet received {"connection_id":216546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":216546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:41:16] local.INFO: TCP Data received {"connection_id":219812,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431de0d0012d1a5440071fdf980034012625..."} 
[2026-10-16 10:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431de0d0012d1a5440071fdf980034012625..."} 
[2026-10-16 10:41:16] local.INFO: Processing buffer {"connection_id":219812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431de0d0012d1a5440071fdf980034012625..."} 
[2026-10-16 10:41:16] local.INFO: Packet analysis {"connection_id":219812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431d"} 
[2026-10-16 10:41:16] local.INFO: Extracted packet for processing {"connection_id":219812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431d"} 
[2026-10-16 10:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756700224,"raw_latitude":119529368,"longitude_deg":75.6700224,"latitude_deg":11.9529368,"altitude":52,"angle":294,"satellites":37,"speed":39,"hex_longitude":"2d1a5440","hex_latitude":"071fdf98","is_valid_coordinates":true} 
[2026-10-16 10:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784612096001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28103676119744512,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900448704605495296,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792127394000,"timestamp_ms":1792127394000,"timestamp_seconds":1792127394,"priority":1,"record_length":96,"hex_timestamp":"000001a1431de0d0"} 
[2026-10-16 10:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 10:41:16] 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-10-16 10:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":219812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":219812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":219812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784612096001,"66":14265,"101":206,"83":41984,"24":39,"16":28103676119744512,"45":1900448704605495296},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784612096001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:41:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:41:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28103676119744512,"km_value":28103676119744.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900448704605495296,"description":"Unknown IO ID 45"} 
[2026-10-16 10:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784612096001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1900448704605495296}} 
[2026-10-16 10:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":219812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:41:16] local.INFO: GPS data processed {"connection_id":219812,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:41:16] local.INFO: Acknowledgment sent {"connection_id":219812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:41:20] local.INFO: TCP Data received {"connection_id":219812,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431df840012d1a3e40071fe8a80034011a26..."} 
[2026-10-16 10:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431df840012d1a3e40071fe8a80034011a26..."} 
[2026-10-16 10:41:20] local.INFO: Processing buffer {"connection_id":219812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431df840012d1a3e40071fe8a80034011a26..."} 
[2026-10-16 10:41:20] local.INFO: Packet analysis {"connection_id":219812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431d"} 
[2026-10-16 10:41:20] local.INFO: Extracted packet for processing {"connection_id":219812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431d"} 
[2026-10-16 10:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756694592,"raw_latitude":119531688,"longitude_deg":75.6694592,"latitude_deg":11.9531688,"altitude":52,"angle":282,"satellites":38,"speed":38,"hex_longitude":"2d1a3e40","hex_latitude":"071fe8a8","is_valid_coordinates":true} 
[2026-10-16 10:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784612864001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28103968177520640,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897211742373517312,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792127400000,"timestamp_ms":1792127400000,"timestamp_seconds":1792127400,"priority":1,"record_length":96,"hex_timestamp":"000001a1431df840"} 
[2026-10-16 10:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:41:20] 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-10-16 10:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 10:41:20] 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-10-16 10:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":219812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":219812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":219812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784612864001,"66":14265,"101":206,"83":41984,"24":38,"16":28103968177520640,"45":1897211742373517312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 10:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784612864001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:41:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 10:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28103968177520640,"km_value":28103968177520.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897211742373517312,"description":"Unknown IO ID 45"} 
[2026-10-16 10:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784612864001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1897211742373517312}} 
[2026-10-16 10:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":219812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:41:20] local.INFO: GPS data processed {"connection_id":219812,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:41:20] local.INFO: Acknowledgment sent {"connection_id":219812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:41:20] local.INFO: TCP Data received {"connection_id":216547,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:41:20] local.INFO: Processing buffer {"connection_id":216547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:41:20] local.INFO: IMEI packet received {"connection_id":216547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":216547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:41:22] local.INFO: TCP Data received {"connection_id":216546,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:41:22] local.INFO: Processing buffer {"connection_id":216546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:41:22] local.INFO: IMEI packet received {"connection_id":216546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":216546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:41:23] local.INFO: TCP Data received {"connection_id":216546,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:41:23] local.INFO: Processing buffer {"connection_id":216546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431a2b98012d7fa40005afce580009000a32..."} 
[2026-10-16 10:41:23] local.INFO: Packet analysis {"connection_id":216546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:41:23] local.INFO: Extracted packet for processing {"connection_id":216546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431a"} 
[2026-10-16 10:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784473600001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792127151000,"timestamp_ms":1792127151000,"timestamp_seconds":1792127151,"priority":1,"record_length":96,"hex_timestamp":"000001a1431a2b98"} 
[2026-10-16 10:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:41:23] 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-10-16 10:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784473600001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784473600001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:41:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:41:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784473600001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":216546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:41:23] local.INFO: GPS data processed {"connection_id":216546,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:41:23] local.INFO: Acknowledgment sent {"connection_id":216546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:41:26] local.INFO: TCP Data received {"connection_id":216547,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:41:26] local.INFO: Processing buffer {"connection_id":216547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:41:26] local.INFO: IMEI packet received {"connection_id":216547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":216547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:41:27] local.INFO: TCP Data received {"connection_id":216547,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:41:27] local.INFO: Processing buffer {"connection_id":216547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:41:27] local.INFO: Packet analysis {"connection_id":216547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:41:27] local.INFO: Extracted packet for processing {"connection_id":216547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784515328001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:27] 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-10-16 10:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792127314000,"timestamp_ms":1792127314000,"timestamp_seconds":1792127314,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ca850"} 
[2026-10-16 10:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 10:41:27] 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-10-16 10:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784515328001,"66":12776,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784515328001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:41:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:41:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784515328001,"power":12776,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":216547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:41:27] local.INFO: GPS data processed {"connection_id":216547,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:41:27] local.INFO: Acknowledgment sent {"connection_id":216547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:41:51] local.INFO: TCP Data received {"connection_id":219812,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431eabf0012d19bb4007203fb0002a015d25..."} 
[2026-10-16 10:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431eabf0012d19bb4007203fb0002a015d25..."} 
[2026-10-16 10:41:51] local.INFO: Processing buffer {"connection_id":219812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431eabf0012d19bb4007203fb0002a015d25..."} 
[2026-10-16 10:41:51] local.INFO: Packet analysis {"connection_id":219812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:41:51] local.INFO: Extracted packet for processing {"connection_id":219812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119553968,"longitude_deg":75.6661056,"latitude_deg":11.9553968,"altitude":42,"angle":349,"satellites":37,"speed":20,"hex_longitude":"2d19bb40","hex_latitude":"07203fb0","is_valid_coordinates":true} 
[2026-10-16 10:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784623872001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28106077006462976,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295684968448,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792127446000,"timestamp_ms":1792127446000,"timestamp_seconds":1792127446,"priority":1,"record_length":96,"hex_timestamp":"000001a1431eabf0"} 
[2026-10-16 10:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 10:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":219812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":219812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":219812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784623872001,"66":14243,"103":206,"83":41984,"24":20,"16":28106077006462976,"45":1857242295684968448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 10:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784623872001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:41:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 10:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28106077006462976,"km_value":28106077006462.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295684968448,"description":"Unknown IO ID 45"} 
[2026-10-16 10:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784623872001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1857242295684968448}} 
[2026-10-16 10:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":219812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:41:51] local.INFO: GPS data processed {"connection_id":219812,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:41:51] local.INFO: Acknowledgment sent {"connection_id":219812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:41:54] local.INFO: TCP Data received {"connection_id":216546,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:41:54] local.INFO: Processing buffer {"connection_id":216546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:41:54] local.INFO: Packet analysis {"connection_id":216546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:41:54] local.INFO: Extracted packet for processing {"connection_id":216546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:41:54] 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-10-16 10:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:41:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:41:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":216546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:41:54] local.INFO: GPS data processed {"connection_id":216546,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:41:54] local.INFO: Acknowledgment sent {"connection_id":216546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:41:59] local.INFO: TCP Data received {"connection_id":216547,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:41:59] local.INFO: Processing buffer {"connection_id":216547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:41:59] local.INFO: Packet analysis {"connection_id":216547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:41:59] local.INFO: Extracted packet for processing {"connection_id":216547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784515328001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:41:59] 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-10-16 10:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792127314000,"timestamp_ms":1792127314000,"timestamp_seconds":1792127314,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ca850"} 
[2026-10-16 10:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 10:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784515328001,"66":12776,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784515328001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:41:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:41:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784515328001,"power":12776,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":216547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:41:59] local.INFO: GPS data processed {"connection_id":216547,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:41:59] local.INFO: Acknowledgment sent {"connection_id":216547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:42:04] local.INFO: TCP Data received {"connection_id":216548,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:04] local.INFO: Processing buffer {"connection_id":216548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:04] local.INFO: IMEI packet received {"connection_id":216548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":216548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:42:07] local.INFO: TCP Data received {"connection_id":216548,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:07] local.INFO: Processing buffer {"connection_id":216548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:07] local.INFO: IMEI packet received {"connection_id":216548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":216548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:42:07] local.INFO: TCP Data received {"connection_id":216548,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:07] local.INFO: Processing buffer {"connection_id":216548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:07] local.INFO: IMEI packet received {"connection_id":216548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":216548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:42:11] local.INFO: TCP Data received {"connection_id":216548,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:11] local.INFO: Processing buffer {"connection_id":216548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:42:11] local.INFO: IMEI packet received {"connection_id":216548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":216548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:42:14] local.INFO: TCP Data received {"connection_id":216548,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ee2a0012d19bb8007204398002a000728..."} 
[2026-10-16 10:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ee2a0012d19bb8007204398002a000728..."} 
[2026-10-16 10:42:14] local.INFO: Processing buffer {"connection_id":216548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ee2a0012d19bb8007204398002a000728..."} 
[2026-10-16 10:42:14] local.INFO: Packet analysis {"connection_id":216548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:42:14] local.INFO: Extracted packet for processing {"connection_id":216548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119554968,"longitude_deg":75.666112,"latitude_deg":11.9554968,"altitude":42,"angle":7,"satellites":40,"speed":5,"hex_longitude":"2d19bb80","hex_latitude":"07204398","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784626176001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28106137136005120,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070943084544,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792127460000,"timestamp_ms":1792127460000,"timestamp_seconds":1792127460,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ee2a0"} 
[2026-10-16 10:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-16 10:42:14] 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-10-16 10: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-10-16 10:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784626176001,"66":14396,"103":206,"83":41984,"24":5,"16":28106137136005120,"45":1854146070943084544},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 10:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784626176001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:42:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 10:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28106137136005120,"km_value":28106137136005.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070943084544,"description":"Unknown IO ID 45"} 
[2026-10-16 10:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784626176001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1854146070943084544}} 
[2026-10-16 10:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":216548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:42:14] local.INFO: GPS data processed {"connection_id":216548,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:42:14] local.INFO: Acknowledgment sent {"connection_id":216548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:42:20] local.INFO: TCP Data received {"connection_id":216737,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:42:20] local.INFO: Processing buffer {"connection_id":216737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:42:20] local.INFO: IMEI packet received {"connection_id":216737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":216737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:42:22] local.INFO: TCP Data received {"connection_id":219813,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:42:22] local.INFO: Processing buffer {"connection_id":219813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:42:22] local.INFO: IMEI packet received {"connection_id":219813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":219813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:42:26] local.INFO: TCP Data received {"connection_id":219814,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:42:26] local.INFO: Processing buffer {"connection_id":219814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:42:26] local.INFO: IMEI packet received {"connection_id":219814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":219814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:42:27] local.INFO: TCP Data received {"connection_id":219813,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:42:27] local.INFO: Processing buffer {"connection_id":219813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:42:27] local.INFO: IMEI packet received {"connection_id":219813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":219813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:42:28] local.INFO: TCP Data received {"connection_id":219813,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:42:28] local.INFO: Processing buffer {"connection_id":219813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:42:28] local.INFO: Packet analysis {"connection_id":219813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:42:28] local.INFO: Extracted packet for processing {"connection_id":219813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:42:28] 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-10-16 10:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:42:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:42:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":219813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:42:28] local.INFO: GPS data processed {"connection_id":219813,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:42:28] local.INFO: Acknowledgment sent {"connection_id":219813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:42:31] local.INFO: TCP Data received {"connection_id":219814,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:42:31] local.INFO: Processing buffer {"connection_id":219814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:42:31] local.INFO: IMEI packet received {"connection_id":219814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":219814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:42:32] local.INFO: TCP Data received {"connection_id":219814,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:42:32] local.INFO: Processing buffer {"connection_id":219814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:42:32] local.INFO: Packet analysis {"connection_id":219814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:42:32] local.INFO: Extracted packet for processing {"connection_id":219814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784515328001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792127314000,"timestamp_ms":1792127314000,"timestamp_seconds":1792127314,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ca850"} 
[2026-10-16 10:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 10:42:32] 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-10-16 10:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784515328001,"66":12776,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784515328001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:42:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:42:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784515328001,"power":12776,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":219814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:42:32] local.INFO: GPS data processed {"connection_id":219814,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:42:32] local.INFO: Acknowledgment sent {"connection_id":219814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:42:33] local.INFO: TCP Data received {"connection_id":219813,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:42:33] local.INFO: Processing buffer {"connection_id":219813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:42:33] local.INFO: Packet analysis {"connection_id":219813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:42:33] local.INFO: Extracted packet for processing {"connection_id":219813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:42:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":219813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:42:33] local.INFO: GPS data processed {"connection_id":219813,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:42:33] local.INFO: Acknowledgment sent {"connection_id":219813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:42:36] local.INFO: TCP Data received {"connection_id":219814,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:42:36] local.INFO: Processing buffer {"connection_id":219814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:42:36] local.INFO: Packet analysis {"connection_id":219814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:42:36] local.INFO: Extracted packet for processing {"connection_id":219814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784515328001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42: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-10-16 10:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792127314000,"timestamp_ms":1792127314000,"timestamp_seconds":1792127314,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ca850"} 
[2026-10-16 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-10-16 10:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 10:42: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-10-16 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-10-16 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-10-16 10:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784515328001,"66":12776,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784515328001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:42:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:42:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784515328001,"power":12776,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":219814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:42:36] local.INFO: GPS data processed {"connection_id":219814,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:42:36] local.INFO: Acknowledgment sent {"connection_id":219814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:42:45] local.INFO: TCP Data received {"connection_id":216548,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431fc148012d1975400720b020003300fe26..."} 
[2026-10-16 10:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431fc148012d1975400720b020003300fe26..."} 
[2026-10-16 10:42:45] local.INFO: Processing buffer {"connection_id":216548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431fc148012d1975400720b020003300fe26..."} 
[2026-10-16 10:42:45] local.INFO: Packet analysis {"connection_id":216548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431f"} 
[2026-10-16 10:42:45] local.INFO: Extracted packet for processing {"connection_id":216548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431f"} 
[2026-10-16 10:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119582752,"longitude_deg":75.6643136,"latitude_deg":11.9582752,"altitude":51,"angle":254,"satellites":38,"speed":44,"hex_longitude":"2d197540","hex_latitude":"0720b020","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784643072001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28108357634097152,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840001953370974208,"note":"Value kept but may cause issues"} 
[2026-10-16 10:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792127517000,"timestamp_ms":1792127517000,"timestamp_seconds":1792127517,"priority":1,"record_length":96,"hex_timestamp":"000001a1431fc148"} 
[2026-10-16 10:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:42: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-10-16 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 10:42:45] 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-10-16 10: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-10-16 10:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784643072001,"66":14102,"103":206,"83":41984,"24":44,"16":28108357634097152,"45":1840001953370974208},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 10:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784643072001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:42:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 10:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28108357634097152,"km_value":28108357634097.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840001953370974208,"description":"Unknown IO ID 45"} 
[2026-10-16 10:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784643072001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1840001953370974208}} 
[2026-10-16 10:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":216548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:42:45] local.INFO: GPS data processed {"connection_id":216548,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:42:45] local.INFO: Acknowledgment sent {"connection_id":216548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:42:51] local.INFO: TCP Data received {"connection_id":216549,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:42:51] local.INFO: Processing buffer {"connection_id":216549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:42:51] local.INFO: IMEI packet received {"connection_id":216549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":216549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:43:09] local.INFO: TCP Data received {"connection_id":218095,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:43:09] local.INFO: Processing buffer {"connection_id":218095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:43:09] local.INFO: IMEI packet received {"connection_id":218095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":218095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:43:09] local.INFO: TCP Data received {"connection_id":218095,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:43:09] local.INFO: Processing buffer {"connection_id":218095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:43:09] local.INFO: IMEI packet received {"connection_id":218095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":218095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:43:11] local.INFO: TCP Data received {"connection_id":218095,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:43:11] local.INFO: Processing buffer {"connection_id":218095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:43:11] local.INFO: IMEI packet received {"connection_id":218095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":218095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:43:12] local.INFO: TCP Data received {"connection_id":218095,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431fd4d0012d195f000720abe00033010a26..."} 
[2026-10-16 10:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431fd4d0012d195f000720abe00033010a26..."} 
[2026-10-16 10:43:12] local.INFO: Processing buffer {"connection_id":218095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431fd4d0012d195f000720abe00033010a26..."} 
[2026-10-16 10:43:12] local.INFO: Packet analysis {"connection_id":218095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431f"} 
[2026-10-16 10:43:12] local.INFO: Extracted packet for processing {"connection_id":218095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431f"} 
[2026-10-16 10:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756637440,"raw_latitude":119581664,"longitude_deg":75.663744,"latitude_deg":11.9581664,"altitude":51,"angle":266,"satellites":38,"speed":45,"hex_longitude":"2d195f00","hex_latitude":"0720abe0","is_valid_coordinates":true} 
[2026-10-16 10:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784644352001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28108636806971392,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822580707328,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792127522000,"timestamp_ms":1792127522000,"timestamp_seconds":1792127522,"priority":1,"record_length":96,"hex_timestamp":"000001a1431fd4d0"} 
[2026-10-16 10:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:43: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-10-16 10:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 10:43:12] 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-10-16 10:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":218095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":218095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":218095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784644352001,"66":14113,"103":206,"83":41984,"24":45,"16":28108636806971392,"45":1834442822580707328},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 10:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784644352001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:43:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 10:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28108636806971392,"km_value":28108636806971.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822580707328,"description":"Unknown IO ID 45"} 
[2026-10-16 10:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784644352001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1834442822580707328}} 
[2026-10-16 10:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":218095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:43:12] local.INFO: GPS data processed {"connection_id":218095,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:43:12] local.INFO: Acknowledgment sent {"connection_id":218095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:43:13] local.INFO: TCP Data received {"connection_id":218095,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431fe470012d194d000720ac480033011a23..."} 
[2026-10-16 10:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431fe470012d194d000720ac480033011a23..."} 
[2026-10-16 10:43:13] local.INFO: Processing buffer {"connection_id":218095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431fe470012d194d000720ac480033011a23..."} 
[2026-10-16 10:43:13] local.INFO: Packet analysis {"connection_id":218095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431f"} 
[2026-10-16 10:43:13] local.INFO: Extracted packet for processing {"connection_id":218095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431f"} 
[2026-10-16 10:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756632832,"raw_latitude":119581768,"longitude_deg":75.6632832,"latitude_deg":11.9581768,"altitude":51,"angle":282,"satellites":35,"speed":43,"hex_longitude":"2d194d00","hex_latitude":"0720ac48","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784645632001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28108855850303488,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828180004348616704,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792127526000,"timestamp_ms":1792127526000,"timestamp_seconds":1792127526,"priority":1,"record_length":96,"hex_timestamp":"000001a1431fe470"} 
[2026-10-16 10:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-16 10:43:13] 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-10-16 10: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-10-16 10:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784645632001,"66":14102,"103":206,"83":41984,"24":43,"16":28108855850303488,"45":1828180004348616704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 10:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784645632001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:43:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 10:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28108855850303488,"km_value":28108855850303.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828180004348616704,"description":"Unknown IO ID 45"} 
[2026-10-16 10:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784645632001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1828180004348616704}} 
[2026-10-16 10:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":218095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:43:13] local.INFO: GPS data processed {"connection_id":218095,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:43:13] local.INFO: Acknowledgment sent {"connection_id":218095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:43:16] local.INFO: TCP Data received {"connection_id":219815,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:43:16] local.INFO: Processing buffer {"connection_id":219815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:43:16] local.INFO: IMEI packet received {"connection_id":219815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":219815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:43:21] local.INFO: TCP Data received {"connection_id":219816,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:43:21] local.INFO: Processing buffer {"connection_id":219816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:43:21] local.INFO: IMEI packet received {"connection_id":219816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":219816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:43:22] local.INFO: TCP Data received {"connection_id":219815,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:43:22] local.INFO: Processing buffer {"connection_id":219815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:43:22] local.INFO: IMEI packet received {"connection_id":219815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":219815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:43:23] local.INFO: TCP Data received {"connection_id":219815,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:43:23] local.INFO: Processing buffer {"connection_id":219815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:43:23] local.INFO: Packet analysis {"connection_id":219815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:43:23] local.INFO: Extracted packet for processing {"connection_id":219815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:43:23] 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-10-16 10:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:43:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:43:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":219815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:43:23] local.INFO: GPS data processed {"connection_id":219815,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:43:23] local.INFO: Acknowledgment sent {"connection_id":219815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:43:26] local.INFO: TCP Data received {"connection_id":219816,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:43:26] local.INFO: Processing buffer {"connection_id":219816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:43:26] local.INFO: IMEI packet received {"connection_id":219816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":219816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:43:27] local.INFO: TCP Data received {"connection_id":219816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:43:27] local.INFO: Processing buffer {"connection_id":219816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ca850012d7d3fc005ec0ec00000013926..."} 
[2026-10-16 10:43:27] local.INFO: Packet analysis {"connection_id":219816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:43:27] local.INFO: Extracted packet for processing {"connection_id":219816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431c"} 
[2026-10-16 10:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784515328001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:27] 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-10-16 10:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792127314000,"timestamp_ms":1792127314000,"timestamp_seconds":1792127314,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ca850"} 
[2026-10-16 10:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":63,"data_length":795,"current_offset":136} 
[2026-10-16 10:43:27] 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-10-16 10: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-10-16 10:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:43:27] 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-10-16 10:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784515328001,"66":12776,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784515328001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:43:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:43:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784515328001,"power":12776,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":219816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:43:27] local.INFO: GPS data processed {"connection_id":219816,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:43:27] local.INFO: Acknowledgment sent {"connection_id":219816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:43:44] local.INFO: TCP Data received {"connection_id":218095,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ff410012d193c400720b2680032012923..."} 
[2026-10-16 10:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ff410012d193c400720b2680032012923..."} 
[2026-10-16 10:43:44] local.INFO: Processing buffer {"connection_id":218095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ff410012d193c400720b2680032012923..."} 
[2026-10-16 10:43:44] local.INFO: Packet analysis {"connection_id":218095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431f"} 
[2026-10-16 10:43:44] local.INFO: Extracted packet for processing {"connection_id":218095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431f"} 
[2026-10-16 10:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119583336,"longitude_deg":75.6628544,"latitude_deg":11.9583336,"altitude":50,"angle":297,"satellites":35,"speed":45,"hex_longitude":"2d193c40","hex_latitude":"0720b268","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784646656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28109070598668288,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823113454767851520,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792127530000,"timestamp_ms":1792127530000,"timestamp_seconds":1792127530,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ff410"} 
[2026-10-16 10:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:43:44] 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-10-16 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 10:43:44] 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-10-16 10: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-10-16 10:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784646656001,"66":14102,"103":206,"83":41984,"24":45,"16":28109070598668288,"45":1823113454767851520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-10-16 10:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784646656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:43:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-10-16 10:43:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28109070598668288,"km_value":28109070598668.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823113454767851520,"description":"Unknown IO ID 45"} 
[2026-10-16 10:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784646656001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1823113454767851520}} 
[2026-10-16 10:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":218095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:43:44] local.INFO: GPS data processed {"connection_id":218095,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:43:44] local.INFO: Acknowledgment sent {"connection_id":218095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:43:55] local.INFO: TCP Data received {"connection_id":219815,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:43:55] local.INFO: Processing buffer {"connection_id":219815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:43:55] local.INFO: Packet analysis {"connection_id":219815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:43:55] local.INFO: Extracted packet for processing {"connection_id":219815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:43:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:43:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":219815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:43:55] local.INFO: GPS data processed {"connection_id":219815,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:43:55] local.INFO: Acknowledgment sent {"connection_id":219815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:43:58] local.INFO: TCP Data received {"connection_id":219816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:43:58] local.INFO: Processing buffer {"connection_id":219816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:43:58] local.INFO: Packet analysis {"connection_id":219816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:43:58] local.INFO: Extracted packet for processing {"connection_id":219816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784592384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:43:58] 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-10-16 10:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792127615000,"timestamp_ms":1792127615000,"timestamp_seconds":1792127615,"priority":1,"record_length":96,"hex_timestamp":"000001a143214018"} 
[2026-10-16 10:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 10:43:58] 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-10-16 10: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-10-16 10:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:43:58] 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-10-16 10:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784592384001,"66":12798,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784592384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:43:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:43:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784592384001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":219816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:43:58] local.INFO: GPS data processed {"connection_id":219816,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:43:58] local.INFO: Acknowledgment sent {"connection_id":219816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:44:08] local.INFO: TCP Data received {"connection_id":216550,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:08] local.INFO: Processing buffer {"connection_id":216550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:08] local.INFO: IMEI packet received {"connection_id":216550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":216550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:44:08] local.INFO: TCP Data received {"connection_id":216550,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:08] local.INFO: Processing buffer {"connection_id":216550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:08] local.INFO: IMEI packet received {"connection_id":216550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":216550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:44:09] local.INFO: TCP Data received {"connection_id":216550,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:09] local.INFO: Processing buffer {"connection_id":216550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:09] local.INFO: IMEI packet received {"connection_id":216550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":216550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:44:10] local.INFO: TCP Data received {"connection_id":216550,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:10] local.INFO: Processing buffer {"connection_id":216550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:44:10] local.INFO: IMEI packet received {"connection_id":216550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":216550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:44:16] local.INFO: TCP Data received {"connection_id":219817,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:44:16] local.INFO: Processing buffer {"connection_id":219817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:44:16] local.INFO: IMEI packet received {"connection_id":219817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":219817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:44:20] local.INFO: TCP Data received {"connection_id":218096,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:44:20] local.INFO: Processing buffer {"connection_id":218096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:44:20] local.INFO: IMEI packet received {"connection_id":218096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":218096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:44:22] local.INFO: TCP Data received {"connection_id":219817,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:44:22] local.INFO: Processing buffer {"connection_id":219817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:44:22] local.INFO: IMEI packet received {"connection_id":219817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":219817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:44:24] local.INFO: TCP Data received {"connection_id":219817,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:44:24] local.INFO: Processing buffer {"connection_id":219817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:44:24] local.INFO: Packet analysis {"connection_id":219817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:44:24] local.INFO: Extracted packet for processing {"connection_id":219817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:44:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:44:24] 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-10-16 10:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:44:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:44:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":219817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:44:24] local.INFO: GPS data processed {"connection_id":219817,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:44:24] local.INFO: Acknowledgment sent {"connection_id":219817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:44:26] local.INFO: TCP Data received {"connection_id":218096,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:44:26] local.INFO: Processing buffer {"connection_id":218096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:44:26] local.INFO: IMEI packet received {"connection_id":218096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":218096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:44:30] local.INFO: TCP Data received {"connection_id":218096,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:44:30] local.INFO: Processing buffer {"connection_id":218096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:44:30] local.INFO: Packet analysis {"connection_id":218096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:44:30] local.INFO: Extracted packet for processing {"connection_id":218096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784592384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:44:30] 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-10-16 10:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792127615000,"timestamp_ms":1792127615000,"timestamp_seconds":1792127615,"priority":1,"record_length":96,"hex_timestamp":"000001a143214018"} 
[2026-10-16 10:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 10:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":218096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":218096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":218096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784592384001,"66":12798,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784592384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:44:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:44:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784592384001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":218096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:44:30] local.INFO: GPS data processed {"connection_id":218096,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:44:30] local.INFO: Acknowledgment sent {"connection_id":218096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:44:55] local.INFO: TCP Data received {"connection_id":219817,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:44:55] local.INFO: Processing buffer {"connection_id":219817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:44:55] local.INFO: Packet analysis {"connection_id":219817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:44:55] local.INFO: Extracted packet for processing {"connection_id":219817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:44:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:44:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":219817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:44:55] local.INFO: GPS data processed {"connection_id":219817,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:44:55] local.INFO: Acknowledgment sent {"connection_id":219817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:45:01] local.INFO: TCP Data received {"connection_id":218096,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:45:01] local.INFO: Processing buffer {"connection_id":218096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:45:01] local.INFO: Packet analysis {"connection_id":218096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:45:01] local.INFO: Extracted packet for processing {"connection_id":218096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784592384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:01] 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-10-16 10:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792127615000,"timestamp_ms":1792127615000,"timestamp_seconds":1792127615,"priority":1,"record_length":96,"hex_timestamp":"000001a143214018"} 
[2026-10-16 10:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":232,"data_length":795,"current_offset":136} 
[2026-10-16 10:45:01] 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-10-16 10: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-10-16 10:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":218096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":218096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":218096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784592384001,"66":12798,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784592384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:45:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:45:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784592384001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":218096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:45:01] local.INFO: GPS data processed {"connection_id":218096,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:45:01] local.INFO: Acknowledgment sent {"connection_id":218096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:45:16] local.INFO: TCP Data received {"connection_id":216740,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:45:16] local.INFO: Processing buffer {"connection_id":216740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:45:16] local.INFO: IMEI packet received {"connection_id":216740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":216740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:45:21] local.INFO: TCP Data received {"connection_id":216551,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:45:21] local.INFO: Processing buffer {"connection_id":216551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:45:21] local.INFO: IMEI packet received {"connection_id":216551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":216551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:45:22] local.INFO: TCP Data received {"connection_id":216740,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:45:22] local.INFO: Processing buffer {"connection_id":216740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:45:22] local.INFO: IMEI packet received {"connection_id":216740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":216740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:45:23] local.INFO: TCP Data received {"connection_id":216740,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:45:23] local.INFO: Processing buffer {"connection_id":216740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:45:23] local.INFO: Packet analysis {"connection_id":216740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:45:23] local.INFO: Extracted packet for processing {"connection_id":216740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:45:23] 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-10-16 10: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-10-16 10:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:45:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:45:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":216740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:45:23] local.INFO: GPS data processed {"connection_id":216740,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:45:23] local.INFO: Acknowledgment sent {"connection_id":216740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:45:26] local.INFO: TCP Data received {"connection_id":216551,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:45:26] local.INFO: Processing buffer {"connection_id":216551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:45:26] local.INFO: IMEI packet received {"connection_id":216551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":216551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:45:26] local.INFO: TCP Data received {"connection_id":216551,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:45:26] local.INFO: Processing buffer {"connection_id":216551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:45:26] local.INFO: Packet analysis {"connection_id":216551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:45:26] local.INFO: Extracted packet for processing {"connection_id":216551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784592384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:26] 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-10-16 10:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792127615000,"timestamp_ms":1792127615000,"timestamp_seconds":1792127615,"priority":1,"record_length":96,"hex_timestamp":"000001a143214018"} 
[2026-10-16 10:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 10:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784592384001,"66":12798,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784592384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:45:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:45:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784592384001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":216551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:45:26] local.INFO: GPS data processed {"connection_id":216551,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:45:26] local.INFO: Acknowledgment sent {"connection_id":216551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:45:55] local.INFO: TCP Data received {"connection_id":216740,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:45:55] local.INFO: Processing buffer {"connection_id":216740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:45:55] local.INFO: Packet analysis {"connection_id":216740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:45:55] local.INFO: Extracted packet for processing {"connection_id":216740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:45:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:45:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":216740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:45:55] local.INFO: GPS data processed {"connection_id":216740,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:45:55] local.INFO: Acknowledgment sent {"connection_id":216740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:45:58] local.INFO: TCP Data received {"connection_id":216551,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:45:58] local.INFO: Processing buffer {"connection_id":216551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:45:58] local.INFO: Packet analysis {"connection_id":216551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:45:58] local.INFO: Extracted packet for processing {"connection_id":216551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784592384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:45:58] 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-10-16 10:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792127615000,"timestamp_ms":1792127615000,"timestamp_seconds":1792127615,"priority":1,"record_length":96,"hex_timestamp":"000001a143214018"} 
[2026-10-16 10:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 10:45:58] 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-10-16 10: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-10-16 10:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784592384001,"66":12798,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784592384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:45:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:45:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784592384001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":216551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:45:58] local.INFO: GPS data processed {"connection_id":216551,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:45:58] local.INFO: Acknowledgment sent {"connection_id":216551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:46:22] local.INFO: TCP Data received {"connection_id":216552,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:46:22] local.INFO: Processing buffer {"connection_id":216552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:46:22] local.INFO: IMEI packet received {"connection_id":216552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":216552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:46:26] local.INFO: TCP Data received {"connection_id":216742,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:46:26] local.INFO: Processing buffer {"connection_id":216742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:46:26] local.INFO: IMEI packet received {"connection_id":216742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":216742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:46:27] local.INFO: TCP Data received {"connection_id":216552,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:46:27] local.INFO: Processing buffer {"connection_id":216552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:46:27] local.INFO: IMEI packet received {"connection_id":216552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":216552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:46:28] local.INFO: TCP Data received {"connection_id":216552,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:46:28] local.INFO: Processing buffer {"connection_id":216552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:46:28] local.INFO: Packet analysis {"connection_id":216552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:46:28] local.INFO: Extracted packet for processing {"connection_id":216552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:46:28] 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-10-16 10:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:46:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:46:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":216552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:46:28] local.INFO: GPS data processed {"connection_id":216552,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:46:28] local.INFO: Acknowledgment sent {"connection_id":216552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:46:31] local.INFO: TCP Data received {"connection_id":216742,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:46:31] local.INFO: Processing buffer {"connection_id":216742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:46:31] local.INFO: IMEI packet received {"connection_id":216742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":216742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:46:33] local.INFO: TCP Data received {"connection_id":216552,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:46:33] local.INFO: Processing buffer {"connection_id":216552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1431ec360012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:46:33] local.INFO: Packet analysis {"connection_id":216552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:46:33] local.INFO: Extracted packet for processing {"connection_id":216552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1431e"} 
[2026-10-16 10:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784550656001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792127452000,"timestamp_ms":1792127452000,"timestamp_seconds":1792127452,"priority":1,"record_length":96,"hex_timestamp":"000001a1431ec360"} 
[2026-10-16 10:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784550656001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784550656001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:46:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784550656001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":216552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:46:33] local.INFO: GPS data processed {"connection_id":216552,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:46:33] local.INFO: Acknowledgment sent {"connection_id":216552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:46:40] local.INFO: TCP Data received {"connection_id":216742,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:46:40] local.INFO: Processing buffer {"connection_id":216742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:46:40] local.INFO: Packet analysis {"connection_id":216742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:46:40] local.INFO: Extracted packet for processing {"connection_id":216742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784592384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:40] 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-10-16 10:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792127615000,"timestamp_ms":1792127615000,"timestamp_seconds":1792127615,"priority":1,"record_length":96,"hex_timestamp":"000001a143214018"} 
[2026-10-16 10:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10: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-10-16 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 10:46:40] 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-10-16 10: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-10-16 10:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":216742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":216742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":216742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784592384001,"66":12798,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784592384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:46:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:46:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784592384001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":216742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:46:41] local.INFO: GPS data processed {"connection_id":216742,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:46:41] local.INFO: Acknowledgment sent {"connection_id":216742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:46:41] local.INFO: TCP Data received {"connection_id":216742,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:46:41] local.INFO: Processing buffer {"connection_id":216742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:46:41] local.INFO: Packet analysis {"connection_id":216742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:46:41] local.INFO: Extracted packet for processing {"connection_id":216742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784592384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:46: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-10-16 10:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792127615000,"timestamp_ms":1792127615000,"timestamp_seconds":1792127615,"priority":1,"record_length":96,"hex_timestamp":"000001a143214018"} 
[2026-10-16 10:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 10:46:41] 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-10-16 10: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-10-16 10:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":216742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":216742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":216742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784592384001,"66":12798,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784592384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:46:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:46:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784592384001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":216742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:46:41] local.INFO: GPS data processed {"connection_id":216742,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:46:41] local.INFO: Acknowledgment sent {"connection_id":216742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:47:16] local.INFO: TCP Data received {"connection_id":219819,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:47:16] local.INFO: Processing buffer {"connection_id":219819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:47:16] local.INFO: IMEI packet received {"connection_id":219819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":219819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:47:21] local.INFO: TCP Data received {"connection_id":219820,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:47:21] local.INFO: Processing buffer {"connection_id":219820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:47:21] local.INFO: IMEI packet received {"connection_id":219820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":219820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:47:22] local.INFO: TCP Data received {"connection_id":219819,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:47:22] local.INFO: Processing buffer {"connection_id":219819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:47:22] local.INFO: IMEI packet received {"connection_id":219819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":219819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:47:23] local.INFO: TCP Data received {"connection_id":219819,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:47:23] local.INFO: Processing buffer {"connection_id":219819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:47:23] local.INFO: Packet analysis {"connection_id":219819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:47:23] local.INFO: Extracted packet for processing {"connection_id":219819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784627712001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792127753000,"timestamp_ms":1792127753000,"timestamp_seconds":1792127753,"priority":1,"record_length":96,"hex_timestamp":"000001a143235b28"} 
[2026-10-16 10:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:47:23] 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-10-16 10:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784627712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784627712001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:47:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:47:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784627712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":219819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:47:23] local.INFO: GPS data processed {"connection_id":219819,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:47:23] local.INFO: Acknowledgment sent {"connection_id":219819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:47:26] local.INFO: TCP Data received {"connection_id":219820,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:47:26] local.INFO: Processing buffer {"connection_id":219820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:47:26] local.INFO: IMEI packet received {"connection_id":219820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":219820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:47:27] local.INFO: TCP Data received {"connection_id":219820,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:47:27] local.INFO: Processing buffer {"connection_id":219820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:47:27] local.INFO: Packet analysis {"connection_id":219820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:47:27] local.INFO: Extracted packet for processing {"connection_id":219820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784592384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:27] 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-10-16 10:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792127615000,"timestamp_ms":1792127615000,"timestamp_seconds":1792127615,"priority":1,"record_length":96,"hex_timestamp":"000001a143214018"} 
[2026-10-16 10:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 10:47:27] 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-10-16 10:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784592384001,"66":12798,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784592384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:47:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:47:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784592384001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":219820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:47:27] local.INFO: GPS data processed {"connection_id":219820,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:47:27] local.INFO: Acknowledgment sent {"connection_id":219820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:47:55] local.INFO: TCP Data received {"connection_id":219819,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:47:55] local.INFO: Processing buffer {"connection_id":219819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:47:55] local.INFO: Packet analysis {"connection_id":219819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:47:55] local.INFO: Extracted packet for processing {"connection_id":219819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784627712001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792127753000,"timestamp_ms":1792127753000,"timestamp_seconds":1792127753,"priority":1,"record_length":96,"hex_timestamp":"000001a143235b28"} 
[2026-10-16 10:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:47:55] 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-10-16 10:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784627712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784627712001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:47:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:47:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784627712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":219819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:47:55] local.INFO: GPS data processed {"connection_id":219819,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:47:55] local.INFO: Acknowledgment sent {"connection_id":219819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:47:58] local.INFO: TCP Data received {"connection_id":219820,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:47:58] local.INFO: Processing buffer {"connection_id":219820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:47:58] local.INFO: Packet analysis {"connection_id":219820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:47:58] local.INFO: Extracted packet for processing {"connection_id":219820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784592384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:47:58] 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-10-16 10:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792127615000,"timestamp_ms":1792127615000,"timestamp_seconds":1792127615,"priority":1,"record_length":96,"hex_timestamp":"000001a143214018"} 
[2026-10-16 10:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 10:47:58] 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-10-16 10:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784592384001,"66":12798,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784592384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:47:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:47:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784592384001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":219820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:47:58] local.INFO: GPS data processed {"connection_id":219820,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:47:58] local.INFO: Acknowledgment sent {"connection_id":219820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:48:16] local.INFO: TCP Data received {"connection_id":216744,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:48:16] local.INFO: Processing buffer {"connection_id":216744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:48:16] local.INFO: IMEI packet received {"connection_id":216744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":216744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:48:21] local.INFO: TCP Data received {"connection_id":218100,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:48:21] local.INFO: Processing buffer {"connection_id":218100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:48:21] local.INFO: IMEI packet received {"connection_id":218100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":218100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:48:22] local.INFO: TCP Data received {"connection_id":216553,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:48:22] local.INFO: Processing buffer {"connection_id":216553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:48:22] local.INFO: IMEI packet received {"connection_id":216553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":216553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:48:26] local.INFO: TCP Data received {"connection_id":218100,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:48:26] local.INFO: Processing buffer {"connection_id":218100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:48:26] local.INFO: IMEI packet received {"connection_id":218100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":218100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:48:27] local.INFO: TCP Data received {"connection_id":216553,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:48:27] local.INFO: Processing buffer {"connection_id":216553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:48:27] local.INFO: IMEI packet received {"connection_id":216553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":216553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:48:29] local.INFO: TCP Data received {"connection_id":216553,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:48:29] local.INFO: Processing buffer {"connection_id":216553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:48:29] local.INFO: Packet analysis {"connection_id":216553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:48:29] local.INFO: Extracted packet for processing {"connection_id":216553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:48: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-10-16 10:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784627712001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792127753000,"timestamp_ms":1792127753000,"timestamp_seconds":1792127753,"priority":1,"record_length":96,"hex_timestamp":"000001a143235b28"} 
[2026-10-16 10:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:48:29] 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-10-16 10:48: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-10-16 10:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784627712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784627712001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:48:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:48:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784627712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":216553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:48:29] local.INFO: GPS data processed {"connection_id":216553,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:48:29] local.INFO: Acknowledgment sent {"connection_id":216553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:48:29] local.INFO: TCP Data received {"connection_id":218100,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:48:29] local.INFO: Processing buffer {"connection_id":218100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143214018012d7d3fc005ec0ec00000013925..."} 
[2026-10-16 10:48:29] local.INFO: Packet analysis {"connection_id":218100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:48:29] local.INFO: Extracted packet for processing {"connection_id":218100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14321"} 
[2026-10-16 10:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:48: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-10-16 10:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784592384001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:48:29] 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-10-16 10:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792127615000,"timestamp_ms":1792127615000,"timestamp_seconds":1792127615,"priority":1,"record_length":96,"hex_timestamp":"000001a143214018"} 
[2026-10-16 10:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:48: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":232,"data_length":795,"current_offset":136} 
[2026-10-16 10:48:29] 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-10-16 10:48: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-10-16 10:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784592384001,"66":12798,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784592384001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:48:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:48:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784592384001,"power":12798,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":218100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:48:29] local.INFO: GPS data processed {"connection_id":218100,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:48:29] local.INFO: Acknowledgment sent {"connection_id":218100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:48:31] local.INFO: TCP Data received {"connection_id":216553,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:48:31] local.INFO: Processing buffer {"connection_id":216553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:48:31] local.INFO: Packet analysis {"connection_id":216553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:48:31] local.INFO: Extracted packet for processing {"connection_id":216553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784627712001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792127753000,"timestamp_ms":1792127753000,"timestamp_seconds":1792127753,"priority":1,"record_length":96,"hex_timestamp":"000001a143235b28"} 
[2026-10-16 10:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:48:31] 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-10-16 10:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784627712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784627712001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:48:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:48:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784627712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":216553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:48:31] local.INFO: GPS data processed {"connection_id":216553,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:48:31] local.INFO: Acknowledgment sent {"connection_id":216553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:48:51] local.INFO: TCP Data received {"connection_id":219821,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:48:51] local.INFO: Processing buffer {"connection_id":219821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:48:51] local.INFO: IMEI packet received {"connection_id":219821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":219821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:49:00] local.INFO: TCP Data received {"connection_id":218100,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:49:00] local.INFO: Processing buffer {"connection_id":218100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:49:00] local.INFO: Packet analysis {"connection_id":218100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:49:00] local.INFO: Extracted packet for processing {"connection_id":218100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784669440001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:00] 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-10-16 10:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792127916000,"timestamp_ms":1792127916000,"timestamp_seconds":1792127916,"priority":1,"record_length":96,"hex_timestamp":"000001a14325d7e0"} 
[2026-10-16 10:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:49: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-10-16 10:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 10:49:00] 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-10-16 10:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":218100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":218100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":218100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784669440001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784669440001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:49:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:49:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784669440001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":218100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:49:00] local.INFO: GPS data processed {"connection_id":218100,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:49:00] local.INFO: Acknowledgment sent {"connection_id":218100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:49:12] local.INFO: TCP Data received {"connection_id":219822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:49:12] local.INFO: Processing buffer {"connection_id":219822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:49:12] local.INFO: IMEI packet received {"connection_id":219822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":219822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:49:13] local.INFO: TCP Data received {"connection_id":219822,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14324c288012d19fc400723a9f00031005425..."} 
[2026-10-16 10:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14324c288012d19fc400723a9f00031005425..."} 
[2026-10-16 10:49:13] local.INFO: Processing buffer {"connection_id":219822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14324c288012d19fc400723a9f00031005425..."} 
[2026-10-16 10:49:13] local.INFO: Packet analysis {"connection_id":219822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14324"} 
[2026-10-16 10:49:13] local.INFO: Extracted packet for processing {"connection_id":219822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14324"} 
[2026-10-16 10:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756677696,"raw_latitude":119777776,"longitude_deg":75.6677696,"latitude_deg":11.9777776,"altitude":49,"angle":84,"satellites":37,"speed":61,"hex_longitude":"2d19fc40","hex_latitude":"0723a9f0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784726784001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28123939775447040,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861886632859658240,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792127845000,"timestamp_ms":1792127845000,"timestamp_seconds":1792127845,"priority":1,"record_length":96,"hex_timestamp":"000001a14324c288"} 
[2026-10-16 10:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 10:49:13] 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-10-16 10: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-10-16 10:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784726784001,"66":14363,"43":206,"83":42752,"24":61,"16":28123939775447040,"45":1861886632859658240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 10:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784726784001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:49:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 10:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 10:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28123939775447040,"km_value":28123939775447.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861886632859658240,"description":"Unknown IO ID 45"} 
[2026-10-16 10:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784726784001,"power":14363,"unknown_43":206,"unknown_83":42752,"ignition":61,"odometer":null,"unknown_45":1861886632859658240}} 
[2026-10-16 10:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":219822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:49:14] local.INFO: GPS data processed {"connection_id":219822,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:49:14] local.INFO: Acknowledgment sent {"connection_id":219822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:49:16] local.INFO: TCP Data received {"connection_id":218101,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:49:16] local.INFO: Processing buffer {"connection_id":218101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:49:16] local.INFO: IMEI packet received {"connection_id":218101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":218101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:49:21] local.INFO: TCP Data received {"connection_id":216554,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:49:21] local.INFO: Processing buffer {"connection_id":216554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:49:21] local.INFO: IMEI packet received {"connection_id":216554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:49:22] local.INFO: TCP Data received {"connection_id":218101,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:49:22] local.INFO: Processing buffer {"connection_id":218101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:49:22] local.INFO: IMEI packet received {"connection_id":218101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":218101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:49:23] local.INFO: TCP Data received {"connection_id":218101,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:49:23] local.INFO: Processing buffer {"connection_id":218101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:49:23] local.INFO: Packet analysis {"connection_id":218101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:49:23] local.INFO: Extracted packet for processing {"connection_id":218101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784627712001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792127753000,"timestamp_ms":1792127753000,"timestamp_seconds":1792127753,"priority":1,"record_length":96,"hex_timestamp":"000001a143235b28"} 
[2026-10-16 10:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:49:23] 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-10-16 10: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-10-16 10:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784627712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784627712001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:49:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:49:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784627712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":218101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:49:23] local.INFO: GPS data processed {"connection_id":218101,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:49:23] local.INFO: Acknowledgment sent {"connection_id":218101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:49:26] local.INFO: TCP Data received {"connection_id":216554,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:49:26] local.INFO: Processing buffer {"connection_id":216554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:49:26] local.INFO: IMEI packet received {"connection_id":216554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":216554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:49:26] local.INFO: TCP Data received {"connection_id":216554,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:49:26] local.INFO: Processing buffer {"connection_id":216554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:49:26] local.INFO: Packet analysis {"connection_id":216554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:49:26] local.INFO: Extracted packet for processing {"connection_id":216554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784669440001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:26] 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-10-16 10:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792127916000,"timestamp_ms":1792127916000,"timestamp_seconds":1792127916,"priority":1,"record_length":96,"hex_timestamp":"000001a14325d7e0"} 
[2026-10-16 10:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 10:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:49:26] 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-10-16 10:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784669440001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784669440001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:49:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:49:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784669440001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":216554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:49:26] local.INFO: GPS data processed {"connection_id":216554,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:49:26] local.INFO: Acknowledgment sent {"connection_id":216554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:49:45] local.INFO: TCP Data received {"connection_id":219822,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14325dbc8012d1ae3c007244d68002b001a2a..."} 
[2026-10-16 10:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325dbc8012d1ae3c007244d68002b001a2a..."} 
[2026-10-16 10:49:45] local.INFO: Processing buffer {"connection_id":219822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325dbc8012d1ae3c007244d68002b001a2a..."} 
[2026-10-16 10:49:45] local.INFO: Packet analysis {"connection_id":219822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:49:45] local.INFO: Extracted packet for processing {"connection_id":219822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756736960,"raw_latitude":119819624,"longitude_deg":75.673696,"latitude_deg":11.9819624,"altitude":43,"angle":26,"satellites":42,"speed":36,"hex_longitude":"2d1ae3c0","hex_latitude":"07244d68","is_valid_coordinates":true} 
[2026-10-16 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-10-16 10:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784746240001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28127534663073792,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936618239186921472,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:45] 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-10-16 10:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792127917000,"timestamp_ms":1792127917000,"timestamp_seconds":1792127917,"priority":1,"record_length":96,"hex_timestamp":"000001a14325dbc8"} 
[2026-10-16 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-10-16 10:49: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-10-16 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 10:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 10:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":219822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":219822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":219822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784746240001,"66":14341,"137":206,"83":42752,"24":36,"16":28127534663073792,"45":1936618239186921472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 10:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784746240001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:49:45] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 10:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 10:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28127534663073792,"km_value":28127534663073.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936618239186921472,"description":"Unknown IO ID 45"} 
[2026-10-16 10:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784746240001,"power":14341,"unknown_137":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1936618239186921472}} 
[2026-10-16 10:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":219822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:49:45] local.INFO: GPS data processed {"connection_id":219822,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:49:45] local.INFO: Acknowledgment sent {"connection_id":219822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:49:55] local.INFO: TCP Data received {"connection_id":218101,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:49:55] local.INFO: Processing buffer {"connection_id":218101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:49:55] local.INFO: Packet analysis {"connection_id":218101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:49:55] local.INFO: Extracted packet for processing {"connection_id":218101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784627712001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792127753000,"timestamp_ms":1792127753000,"timestamp_seconds":1792127753,"priority":1,"record_length":96,"hex_timestamp":"000001a143235b28"} 
[2026-10-16 10:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:49:55] 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-10-16 10:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784627712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784627712001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:49:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:49:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784627712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":218101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:49:55] local.INFO: GPS data processed {"connection_id":218101,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:49:55] local.INFO: Acknowledgment sent {"connection_id":218101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:49:59] local.INFO: TCP Data received {"connection_id":216554,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:49:59] local.INFO: Processing buffer {"connection_id":216554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:49:59] local.INFO: Packet analysis {"connection_id":216554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:49:59] local.INFO: Extracted packet for processing {"connection_id":216554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784669440001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:49:59] 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-10-16 10:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792127916000,"timestamp_ms":1792127916000,"timestamp_seconds":1792127916,"priority":1,"record_length":96,"hex_timestamp":"000001a14325d7e0"} 
[2026-10-16 10:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 10:49:59] 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-10-16 10:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:49:59] 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-10-16 10:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784669440001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784669440001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:49:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:49:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784669440001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":216554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:49:59] local.INFO: GPS data processed {"connection_id":216554,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:49:59] local.INFO: Acknowledgment sent {"connection_id":216554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:50:07] local.INFO: TCP Data received {"connection_id":216746,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:50:07] local.INFO: Processing buffer {"connection_id":216746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:50:07] local.INFO: IMEI packet received {"connection_id":216746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":216746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:50:08] local.INFO: TCP Data received {"connection_id":216746,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:50:08] local.INFO: Processing buffer {"connection_id":216746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:50:08] local.INFO: IMEI packet received {"connection_id":216746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":216746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:50:12] local.INFO: TCP Data received {"connection_id":216746,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:50:12] local.INFO: Processing buffer {"connection_id":216746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:50:12] local.INFO: IMEI packet received {"connection_id":216746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":216746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:50:16] local.INFO: TCP Data received {"connection_id":216747,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:50:16] local.INFO: Processing buffer {"connection_id":216747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:50:16] local.INFO: IMEI packet received {"connection_id":216747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":216747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:50:20] local.INFO: TCP Data received {"connection_id":216748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:50:20] local.INFO: Processing buffer {"connection_id":216748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:50:20] local.INFO: IMEI packet received {"connection_id":216748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":216748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:50:21] local.INFO: TCP Data received {"connection_id":216746,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14325fef0012d1af40007246940002900272a..."} 
[2026-10-16 10:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325fef0012d1af40007246940002900272a..."} 
[2026-10-16 10:50:21] local.INFO: Processing buffer {"connection_id":216746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325fef0012d1af40007246940002900272a..."} 
[2026-10-16 10:50:21] local.INFO: Packet analysis {"connection_id":216746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:50:21] local.INFO: Extracted packet for processing {"connection_id":216746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756741120,"raw_latitude":119826752,"longitude_deg":75.674112,"latitude_deg":11.9826752,"altitude":41,"angle":39,"satellites":42,"speed":36,"hex_longitude":"2d1af400","hex_latitude":"07246940","is_valid_coordinates":true} 
[2026-10-16 10:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784746752001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28127934095032320,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937603401605801984,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792127926000,"timestamp_ms":1792127926000,"timestamp_seconds":1792127926,"priority":1,"record_length":96,"hex_timestamp":"000001a14325fef0"} 
[2026-10-16 10:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000499484,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504028791767040,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080539,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3966304256,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84752910701241324,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.WARNING: Large IO value detected {"io_id":152,"raw_value":12947987038743296,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:21] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,137,83,24,241,157,16,237,161,211,45,64,71,44,41,10,66,192,128,59,1,240,27,227,67,36,4,113,205,34,79,117,33,239,54,2,99,7,206,96,152],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-10-16 10:50:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098505311324209152,"timestamp_seconds":3098505311324209.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 10:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":216746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":216746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":216746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784746752001,"66":14396,"136":206,"83":42752,"24":36,"16":28127934095032320,"45":1937603401605801984},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-16 10:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784746752001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:50:21] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-16 10:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 10:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28127934095032320,"km_value":28127934095032.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937603401605801984,"description":"Unknown IO ID 45"} 
[2026-10-16 10:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784746752001,"power":14396,"unknown_136":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1937603401605801984}} 
[2026-10-16 10:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":216746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:50:21] local.INFO: GPS data processed {"connection_id":216746,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:50:21] local.INFO: Acknowledgment sent {"connection_id":216746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:50:22] local.INFO: TCP Data received {"connection_id":216747,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:50:22] local.INFO: Processing buffer {"connection_id":216747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:50:22] local.INFO: IMEI packet received {"connection_id":216747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":216747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:50:23] local.INFO: TCP Data received {"connection_id":216747,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:50:23] local.INFO: Processing buffer {"connection_id":216747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:50:23] local.INFO: Packet analysis {"connection_id":216747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:50:23] local.INFO: Extracted packet for processing {"connection_id":216747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784627712001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792127753000,"timestamp_ms":1792127753000,"timestamp_seconds":1792127753,"priority":1,"record_length":96,"hex_timestamp":"000001a143235b28"} 
[2026-10-16 10:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:50:23] 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-10-16 10: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-10-16 10:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784627712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784627712001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:50:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:50:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784627712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":216747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:50:23] local.INFO: GPS data processed {"connection_id":216747,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:50:23] local.INFO: Acknowledgment sent {"connection_id":216747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:50:26] local.INFO: TCP Data received {"connection_id":216748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:50:26] local.INFO: Processing buffer {"connection_id":216748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:50:26] local.INFO: IMEI packet received {"connection_id":216748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":216748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:50:30] local.INFO: TCP Data received {"connection_id":216748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:50:30] local.INFO: Processing buffer {"connection_id":216748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:50:30] local.INFO: Packet analysis {"connection_id":216748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:50:30] local.INFO: Extracted packet for processing {"connection_id":216748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784669440001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:30] 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-10-16 10:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792127916000,"timestamp_ms":1792127916000,"timestamp_seconds":1792127916,"priority":1,"record_length":96,"hex_timestamp":"000001a14325d7e0"} 
[2026-10-16 10:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 10:50:30] 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-10-16 10:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784669440001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784669440001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:50:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:50:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784669440001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":216748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:50:30] local.INFO: GPS data processed {"connection_id":216748,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:50:30] local.INFO: Acknowledgment sent {"connection_id":216748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:50:54] local.INFO: TCP Data received {"connection_id":216746,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432629e8012d1b0d40072484280024002a27..."} 
[2026-10-16 10:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432629e8012d1b0d40072484280024002a27..."} 
[2026-10-16 10:50:54] local.INFO: Processing buffer {"connection_id":216746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432629e8012d1b0d40072484280024002a27..."} 
[2026-10-16 10:50:54] local.INFO: Packet analysis {"connection_id":216746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14326"} 
[2026-10-16 10:50:54] local.INFO: Extracted packet for processing {"connection_id":216746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14326"} 
[2026-10-16 10:50:54] local.INFO: GPS Element Parsed {"raw_longitude":756747584,"raw_latitude":119833640,"longitude_deg":75.6747584,"latitude_deg":11.983364,"altitude":36,"angle":42,"satellites":39,"speed":29,"hex_longitude":"2d1b0d40","hex_latitude":"07248428","is_valid_coordinates":true} 
[2026-10-16 10:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784749056001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28128385066598400,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942177369979174912,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792127937000,"timestamp_ms":1792127937000,"timestamp_seconds":1792127937,"priority":1,"record_length":96,"hex_timestamp":"000001a1432629e8"} 
[2026-10-16 10:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:50: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-10-16 10:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 10:50: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-10-16 10:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784749056001,"66":13993,"136":206,"83":42752,"24":29,"16":28128385066598400,"45":1942177369979174912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-16 10:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784749056001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:50:54] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-16 10:50:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 10:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28128385066598400,"km_value":28128385066598.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942177369979174912,"description":"Unknown IO ID 45"} 
[2026-10-16 10:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784749056001,"power":13993,"unknown_136":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1942177369979174912}} 
[2026-10-16 10:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":216746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:50:54] local.INFO: GPS data processed {"connection_id":216746,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:50:54] local.INFO: Acknowledgment sent {"connection_id":216746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:50:54] local.INFO: TCP Data received {"connection_id":216747,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:50:54] local.INFO: Processing buffer {"connection_id":216747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:50:54] local.INFO: Packet analysis {"connection_id":216747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:50:54] local.INFO: Extracted packet for processing {"connection_id":216747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784627712001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792127753000,"timestamp_ms":1792127753000,"timestamp_seconds":1792127753,"priority":1,"record_length":96,"hex_timestamp":"000001a143235b28"} 
[2026-10-16 10:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784627712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784627712001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:50:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:50:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784627712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":216747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:50:54] local.INFO: GPS data processed {"connection_id":216747,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:50:54] local.INFO: Acknowledgment sent {"connection_id":216747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:51:01] local.INFO: TCP Data received {"connection_id":216748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:51:01] local.INFO: Processing buffer {"connection_id":216748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:51:01] local.INFO: Packet analysis {"connection_id":216748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:51:01] local.INFO: Extracted packet for processing {"connection_id":216748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784669440001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:01] 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-10-16 10:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792127916000,"timestamp_ms":1792127916000,"timestamp_seconds":1792127916,"priority":1,"record_length":96,"hex_timestamp":"000001a14325d7e0"} 
[2026-10-16 10:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 10:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784669440001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784669440001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:51:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:51:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784669440001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":216748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:51:01] local.INFO: GPS data processed {"connection_id":216748,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:51:01] local.INFO: Acknowledgment sent {"connection_id":216748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:51:16] local.INFO: TCP Data received {"connection_id":216556,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:51:16] local.INFO: Processing buffer {"connection_id":216556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:51:16] local.INFO: IMEI packet received {"connection_id":216556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":216556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:51:19] local.INFO: TCP Data received {"connection_id":219824,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:51:19] local.INFO: Processing buffer {"connection_id":219824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:51:19] local.INFO: IMEI packet received {"connection_id":219824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":219824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:51:20] local.INFO: TCP Data received {"connection_id":219825,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:51:20] local.INFO: Processing buffer {"connection_id":219825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:51:20] local.INFO: IMEI packet received {"connection_id":219825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":219825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:51:22] local.INFO: TCP Data received {"connection_id":216556,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:51:22] local.INFO: Processing buffer {"connection_id":216556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:51:22] local.INFO: IMEI packet received {"connection_id":216556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":216556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:51:22] local.INFO: TCP Data received {"connection_id":219824,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:51:22] local.INFO: Processing buffer {"connection_id":219824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:51:22] local.INFO: IMEI packet received {"connection_id":219824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":219824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:51:23] local.INFO: TCP Data received {"connection_id":219824,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432654e0012d1b2280072496280022003726..."} 
[2026-10-16 10:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432654e0012d1b2280072496280022003726..."} 
[2026-10-16 10:51:23] local.INFO: Processing buffer {"connection_id":219824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432654e0012d1b2280072496280022003726..."} 
[2026-10-16 10:51:23] local.INFO: Packet analysis {"connection_id":219824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14326"} 
[2026-10-16 10:51:23] local.INFO: Extracted packet for processing {"connection_id":219824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14326"} 
[2026-10-16 10:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756753024,"raw_latitude":119838248,"longitude_deg":75.6753024,"latitude_deg":11.9838248,"altitude":34,"angle":55,"satellites":38,"speed":13,"hex_longitude":"2d1b2280","hex_latitude":"07249628","is_valid_coordinates":true} 
[2026-10-16 10:51: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-10-16 10:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784751872001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28128728663982080,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949284613142882304,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792127948000,"timestamp_ms":1792127948000,"timestamp_seconds":1792127948,"priority":1,"record_length":96,"hex_timestamp":"000001a1432654e0"} 
[2026-10-16 10:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-16 10:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:51: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-10-16 10:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784751872001,"66":14341,"136":206,"83":42752,"24":13,"16":28128728663982080,"45":1949284613142882304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-10-16 10:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784751872001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:51:23] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-10-16 10:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 10:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28128728663982080,"km_value":28128728663982.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949284613142882304,"description":"Unknown IO ID 45"} 
[2026-10-16 10:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784751872001,"power":14341,"unknown_136":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1949284613142882304}} 
[2026-10-16 10:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":219824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:51:23] local.INFO: GPS data processed {"connection_id":219824,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:51:23] local.INFO: Acknowledgment sent {"connection_id":219824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:51:24] local.INFO: TCP Data received {"connection_id":216556,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:51:24] local.INFO: Processing buffer {"connection_id":216556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143235b28012d7fa40005afce580009000a2e..."} 
[2026-10-16 10:51:24] local.INFO: Packet analysis {"connection_id":216556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:51:24] local.INFO: Extracted packet for processing {"connection_id":216556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14323"} 
[2026-10-16 10:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784627712001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792127753000,"timestamp_ms":1792127753000,"timestamp_seconds":1792127753,"priority":1,"record_length":96,"hex_timestamp":"000001a143235b28"} 
[2026-10-16 10:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 10:51:24] 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-10-16 10:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784627712001,"66":25582,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784627712001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:51:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:51:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784627712001,"power":25582,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":216556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:51:24] local.INFO: GPS data processed {"connection_id":216556,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:51:24] local.INFO: Acknowledgment sent {"connection_id":216556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:51:26] local.INFO: TCP Data received {"connection_id":219825,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:51:26] local.INFO: Processing buffer {"connection_id":219825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:51:26] local.INFO: IMEI packet received {"connection_id":219825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":219825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:51:28] local.INFO: TCP Data received {"connection_id":219825,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:51:28] local.INFO: Processing buffer {"connection_id":219825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:51:28] local.INFO: Packet analysis {"connection_id":219825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:51:28] local.INFO: Extracted packet for processing {"connection_id":219825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784669440001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:28] 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-10-16 10:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792127916000,"timestamp_ms":1792127916000,"timestamp_seconds":1792127916,"priority":1,"record_length":96,"hex_timestamp":"000001a14325d7e0"} 
[2026-10-16 10:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 10:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:51:28] 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-10-16 10:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784669440001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784669440001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:51:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:51:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784669440001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":219825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:51:28] local.INFO: GPS data processed {"connection_id":219825,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:51:28] local.INFO: Acknowledgment sent {"connection_id":219825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:51:55] local.INFO: TCP Data received {"connection_id":216556,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:51:55] local.INFO: Processing buffer {"connection_id":216556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:51:55] local.INFO: Packet analysis {"connection_id":216556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:51:55] local.INFO: Extracted packet for processing {"connection_id":216556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:51:55] 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-10-16 10:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:51:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:51:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":216556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:51:55] local.INFO: GPS data processed {"connection_id":216556,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:51:55] local.INFO: Acknowledgment sent {"connection_id":216556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:51:59] local.INFO: TCP Data received {"connection_id":219825,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:51:59] local.INFO: Processing buffer {"connection_id":219825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:51:59] local.INFO: Packet analysis {"connection_id":219825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:51:59] local.INFO: Extracted packet for processing {"connection_id":219825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784669440001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:51:59] 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-10-16 10:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792127916000,"timestamp_ms":1792127916000,"timestamp_seconds":1792127916,"priority":1,"record_length":96,"hex_timestamp":"000001a14325d7e0"} 
[2026-10-16 10:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 10:51:59] 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-10-16 10:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:51:59] 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-10-16 10:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784669440001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784669440001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:52:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:52:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784669440001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":219825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:52:00] local.INFO: GPS data processed {"connection_id":219825,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:52:00] local.INFO: Acknowledgment sent {"connection_id":219825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:52:10] local.INFO: TCP Data received {"connection_id":218102,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:10] local.INFO: Processing buffer {"connection_id":218102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:10] local.INFO: IMEI packet received {"connection_id":218102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":218102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:52:11] local.INFO: TCP Data received {"connection_id":218102,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:11] local.INFO: Processing buffer {"connection_id":218102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:11] local.INFO: IMEI packet received {"connection_id":218102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":218102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:52:12] local.INFO: TCP Data received {"connection_id":218102,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:12] local.INFO: Processing buffer {"connection_id":218102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:12] local.INFO: IMEI packet received {"connection_id":218102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":218102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:52:17] local.INFO: TCP Data received {"connection_id":216749,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:52:17] local.INFO: Processing buffer {"connection_id":216749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:52:17] local.INFO: IMEI packet received {"connection_id":216749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":216749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:52:19] local.INFO: TCP Data received {"connection_id":218102,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:19] local.INFO: Processing buffer {"connection_id":218102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:52:19] local.INFO: IMEI packet received {"connection_id":218102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":218102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:52:22] local.INFO: TCP Data received {"connection_id":216749,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:52:22] local.INFO: Processing buffer {"connection_id":216749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:52:22] local.INFO: IMEI packet received {"connection_id":216749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":216749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:52:23] local.INFO: TCP Data received {"connection_id":216749,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:52:23] local.INFO: Processing buffer {"connection_id":216749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:52:23] local.INFO: Packet analysis {"connection_id":216749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:52:23] local.INFO: Extracted packet for processing {"connection_id":216749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:52:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:52:23] 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-10-16 10:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:52:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:52:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":216749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:52:23] local.INFO: GPS data processed {"connection_id":216749,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:52:23] local.INFO: Acknowledgment sent {"connection_id":216749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:52:26] local.INFO: TCP Data received {"connection_id":216750,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:52:26] local.INFO: Processing buffer {"connection_id":216750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:52:26] local.INFO: IMEI packet received {"connection_id":216750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":216750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:52:31] local.INFO: TCP Data received {"connection_id":216750,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:52:31] local.INFO: Processing buffer {"connection_id":216750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:52:31] local.INFO: IMEI packet received {"connection_id":216750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":216750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:52:32] local.INFO: TCP Data received {"connection_id":216750,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:52:32] local.INFO: Processing buffer {"connection_id":216750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:52:32] local.INFO: Packet analysis {"connection_id":216750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:52:32] local.INFO: Extracted packet for processing {"connection_id":216750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784669440001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792127916000,"timestamp_ms":1792127916000,"timestamp_seconds":1792127916,"priority":1,"record_length":96,"hex_timestamp":"000001a14325d7e0"} 
[2026-10-16 10:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 10:52: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-10-16 10:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784669440001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784669440001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:52:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:52:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784669440001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":216750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:52:32] local.INFO: GPS data processed {"connection_id":216750,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:52:32] local.INFO: Acknowledgment sent {"connection_id":216750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:52:36] local.INFO: TCP Data received {"connection_id":216750,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:52:36] local.INFO: Processing buffer {"connection_id":216750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:52:36] local.INFO: Packet analysis {"connection_id":216750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:52:36] local.INFO: Extracted packet for processing {"connection_id":216750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784669440001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52: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-10-16 10:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792127916000,"timestamp_ms":1792127916000,"timestamp_seconds":1792127916,"priority":1,"record_length":96,"hex_timestamp":"000001a14325d7e0"} 
[2026-10-16 10:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 10:52:36] 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-10-16 10: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-10-16 10:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784669440001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784669440001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:52:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:52:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784669440001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":216750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:52:36] local.INFO: GPS data processed {"connection_id":216750,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:52:36] local.INFO: Acknowledgment sent {"connection_id":216750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:52:54] local.INFO: TCP Data received {"connection_id":216749,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:52:54] local.INFO: Processing buffer {"connection_id":216749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:52:54] local.INFO: Packet analysis {"connection_id":216749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:52:54] local.INFO: Extracted packet for processing {"connection_id":216749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:52:54] 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-10-16 10:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:52:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:52:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":216749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:52:54] local.INFO: GPS data processed {"connection_id":216749,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:52:54] local.INFO: Acknowledgment sent {"connection_id":216749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:53:16] local.INFO: TCP Data received {"connection_id":219828,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:53:16] local.INFO: Processing buffer {"connection_id":219828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:53:16] local.INFO: IMEI packet received {"connection_id":219828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":219828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:53:21] local.INFO: TCP Data received {"connection_id":216752,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:53:21] local.INFO: Processing buffer {"connection_id":216752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:53:21] local.INFO: IMEI packet received {"connection_id":216752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":216752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:53:26] local.INFO: TCP Data received {"connection_id":216752,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:53:26] local.INFO: Processing buffer {"connection_id":216752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:53:26] local.INFO: IMEI packet received {"connection_id":216752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":216752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:53:26] local.INFO: TCP Data received {"connection_id":219828,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:53:26] local.INFO: Processing buffer {"connection_id":219828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:53:26] local.INFO: IMEI packet received {"connection_id":219828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":219828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:53:27] local.INFO: TCP Data received {"connection_id":216752,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:53:27] local.INFO: Processing buffer {"connection_id":216752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14325d7e0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 10:53:27] local.INFO: Packet analysis {"connection_id":216752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:53:27] local.INFO: Extracted packet for processing {"connection_id":216752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14325"} 
[2026-10-16 10:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784669440001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:53:27] 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-10-16 10:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792127916000,"timestamp_ms":1792127916000,"timestamp_seconds":1792127916,"priority":1,"record_length":96,"hex_timestamp":"000001a14325d7e0"} 
[2026-10-16 10:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 10:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784669440001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784669440001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:53:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:53:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784669440001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":216752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:53:27] local.INFO: GPS data processed {"connection_id":216752,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:53:27] local.INFO: Acknowledgment sent {"connection_id":216752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:53:28] local.INFO: TCP Data received {"connection_id":219828,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:53:28] local.INFO: Processing buffer {"connection_id":219828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:53:28] local.INFO: Packet analysis {"connection_id":219828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:53:28] local.INFO: Extracted packet for processing {"connection_id":219828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:53:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:53:28] 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-10-16 10:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:53:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:53:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":219828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:53:28] local.INFO: GPS data processed {"connection_id":219828,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:53:28] local.INFO: Acknowledgment sent {"connection_id":219828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:53:58] local.INFO: TCP Data received {"connection_id":216752,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:53:58] local.INFO: Processing buffer {"connection_id":216752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:53:58] local.INFO: Packet analysis {"connection_id":216752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:53:58] local.INFO: Extracted packet for processing {"connection_id":216752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":33,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784746496001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:53:58] 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-10-16 10:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792128217000,"timestamp_ms":1792128217000,"timestamp_seconds":1792128217,"priority":1,"record_length":96,"hex_timestamp":"000001a1432a6fa8"} 
[2026-10-16 10:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784746496001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784746496001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:53:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:53:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784746496001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":216752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:53:58] local.INFO: GPS data processed {"connection_id":216752,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:53:58] local.INFO: Acknowledgment sent {"connection_id":216752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:54:00] local.INFO: TCP Data received {"connection_id":219828,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:54:00] local.INFO: Processing buffer {"connection_id":219828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:54:00] local.INFO: Packet analysis {"connection_id":219828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:54:00] local.INFO: Extracted packet for processing {"connection_id":219828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:54:00] 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-10-16 10:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:54:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:54:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":219828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:54:00] local.INFO: GPS data processed {"connection_id":219828,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:54:00] local.INFO: Acknowledgment sent {"connection_id":219828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:54:16] local.INFO: TCP Data received {"connection_id":216754,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:54:16] local.INFO: Processing buffer {"connection_id":216754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:54:16] local.INFO: IMEI packet received {"connection_id":216754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":216754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:54:22] local.INFO: TCP Data received {"connection_id":216754,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:54:22] local.INFO: Processing buffer {"connection_id":216754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:54:22] local.INFO: IMEI packet received {"connection_id":216754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":216754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:54:24] local.INFO: TCP Data received {"connection_id":216754,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:54:24] local.INFO: Processing buffer {"connection_id":216754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:54:24] local.INFO: Packet analysis {"connection_id":216754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:54:24] local.INFO: Extracted packet for processing {"connection_id":216754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:54:24] 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-10-16 10:54: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-10-16 10:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:54:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:54:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":216754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:54:24] local.INFO: GPS data processed {"connection_id":216754,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:54:24] local.INFO: Acknowledgment sent {"connection_id":216754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:54:26] local.INFO: TCP Data received {"connection_id":219829,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:54:26] local.INFO: Processing buffer {"connection_id":219829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:54:26] local.INFO: IMEI packet received {"connection_id":219829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":219829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:54:55] local.INFO: TCP Data received {"connection_id":216754,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:54:55] local.INFO: Processing buffer {"connection_id":216754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:54:55] local.INFO: Packet analysis {"connection_id":216754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:54:55] local.INFO: Extracted packet for processing {"connection_id":216754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:54:55] 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-10-16 10:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:54:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:54:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":216754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:54:55] local.INFO: GPS data processed {"connection_id":216754,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:54:55] local.INFO: Acknowledgment sent {"connection_id":216754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:55:07] local.INFO: TCP Data received {"connection_id":216557,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:55:07] local.INFO: Processing buffer {"connection_id":216557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 10:55:07] local.INFO: IMEI packet received {"connection_id":216557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 10:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":216557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:55:10] local.INFO: TCP Data received {"connection_id":219830,"ip":"42.109.136.6","data_length":18,"data_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219830,"packet_length":18,"packet_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:55:10] local.INFO: Processing buffer {"connection_id":219830,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:55:10] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":219830,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800bf21d94"} 
[2026-10-16 10:55:16] local.INFO: TCP Data received {"connection_id":219830,"ip":"42.109.136.6","data_length":18,"data_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219830,"packet_length":18,"packet_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:55:16] local.INFO: Processing buffer {"connection_id":219830,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:55:16] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":219830,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800bf21d94"} 
[2026-10-16 10:55:16] local.INFO: TCP Data received {"connection_id":218104,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:55:16] local.INFO: Processing buffer {"connection_id":218104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:55:16] local.INFO: IMEI packet received {"connection_id":218104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":218104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:55:21] local.INFO: TCP Data received {"connection_id":218105,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:55:21] local.INFO: Processing buffer {"connection_id":218105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:55:21] local.INFO: IMEI packet received {"connection_id":218105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":218105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:55:21] local.INFO: TCP Data received {"connection_id":218104,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:55:21] local.INFO: Processing buffer {"connection_id":218104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:55:21] local.INFO: IMEI packet received {"connection_id":218104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":218104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:55:26] local.INFO: TCP Data received {"connection_id":218105,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:55:26] local.INFO: Processing buffer {"connection_id":218105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:55:26] local.INFO: IMEI packet received {"connection_id":218105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":218105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:55:27] local.INFO: TCP Data received {"connection_id":218105,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:55:27] local.INFO: Processing buffer {"connection_id":218105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:55:27] local.INFO: Packet analysis {"connection_id":218105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:55:27] local.INFO: Extracted packet for processing {"connection_id":218105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":33,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784746496001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:55:27] 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-10-16 10:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128217000,"timestamp_ms":1792128217000,"timestamp_seconds":1792128217,"priority":1,"record_length":96,"hex_timestamp":"000001a1432a6fa8"} 
[2026-10-16 10:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784746496001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784746496001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:55:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:55:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784746496001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":218105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:55:27] local.INFO: GPS data processed {"connection_id":218105,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:55:27] local.INFO: Acknowledgment sent {"connection_id":218105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:55:27] local.INFO: TCP Data received {"connection_id":218104,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:55:27] local.INFO: Processing buffer {"connection_id":218104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:55:27] local.INFO: Packet analysis {"connection_id":218104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:55:27] local.INFO: Extracted packet for processing {"connection_id":218104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:55:27] 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-10-16 10: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-10-16 10:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:55:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:55:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":218104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:55:27] local.INFO: GPS data processed {"connection_id":218104,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:55:27] local.INFO: Acknowledgment sent {"connection_id":218104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:55:46] local.INFO: TCP Data received {"connection_id":219830,"ip":"42.109.136.6","data_length":18,"data_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219830,"packet_length":18,"packet_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:55:46] local.INFO: Processing buffer {"connection_id":219830,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:55:46] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":219830,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800bf21d94"} 
[2026-10-16 10:55:59] local.INFO: TCP Data received {"connection_id":218104,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:55:59] local.INFO: Processing buffer {"connection_id":218104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:55:59] local.INFO: Packet analysis {"connection_id":218104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:55:59] local.INFO: Extracted packet for processing {"connection_id":218104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:55:59] 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-10-16 10: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-10-16 10:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:55:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:55:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":218104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:55:59] local.INFO: GPS data processed {"connection_id":218104,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:55:59] local.INFO: Acknowledgment sent {"connection_id":218104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:56:01] local.INFO: TCP Data received {"connection_id":218105,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:56:01] local.INFO: Processing buffer {"connection_id":218105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:56:01] local.INFO: Packet analysis {"connection_id":218105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:56:01] local.INFO: Extracted packet for processing {"connection_id":218105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":33,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784746496001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:01] 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-10-16 10:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792128217000,"timestamp_ms":1792128217000,"timestamp_seconds":1792128217,"priority":1,"record_length":96,"hex_timestamp":"000001a1432a6fa8"} 
[2026-10-16 10:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:56: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-10-16 10:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":218105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":218105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":218105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784746496001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784746496001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:56:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:56:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784746496001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":218105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:56:01] local.INFO: GPS data processed {"connection_id":218105,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:56:01] local.INFO: Acknowledgment sent {"connection_id":218105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:56:16] local.INFO: TCP Data received {"connection_id":219830,"ip":"42.109.136.6","data_length":18,"data_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219830,"packet_length":18,"packet_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:56:16] local.INFO: Processing buffer {"connection_id":219830,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800bf21d943cd3..."} 
[2026-10-16 10:56:16] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":219830,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800bf21d94"} 
[2026-10-16 10:56:20] local.INFO: TCP Data received {"connection_id":219832,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:56:20] local.INFO: Processing buffer {"connection_id":219832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:56:20] local.INFO: IMEI packet received {"connection_id":219832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":219832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:56:22] local.INFO: TCP Data received {"connection_id":219831,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:56:22] local.INFO: Processing buffer {"connection_id":219831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:56:22] local.INFO: IMEI packet received {"connection_id":219831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":219831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:56:26] local.INFO: TCP Data received {"connection_id":219832,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:56:26] local.INFO: Processing buffer {"connection_id":219832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:56:26] local.INFO: IMEI packet received {"connection_id":219832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":219832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:56:27] local.INFO: TCP Data received {"connection_id":219832,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:56:27] local.INFO: Processing buffer {"connection_id":219832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:56:27] local.INFO: Packet analysis {"connection_id":219832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:56:27] local.INFO: Extracted packet for processing {"connection_id":219832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":33,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784746496001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:27] 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-10-16 10:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128217000,"timestamp_ms":1792128217000,"timestamp_seconds":1792128217,"priority":1,"record_length":96,"hex_timestamp":"000001a1432a6fa8"} 
[2026-10-16 10:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784746496001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784746496001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:56:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:56:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784746496001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":219832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:56:27] local.INFO: GPS data processed {"connection_id":219832,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:56:27] local.INFO: Acknowledgment sent {"connection_id":219832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:56:27] local.INFO: TCP Data received {"connection_id":219831,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:56:27] local.INFO: Processing buffer {"connection_id":219831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:56:27] local.INFO: IMEI packet received {"connection_id":219831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":219831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:56:28] local.INFO: TCP Data received {"connection_id":219831,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:56:28] local.INFO: Processing buffer {"connection_id":219831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:56:28] local.INFO: Packet analysis {"connection_id":219831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:56:28] local.INFO: Extracted packet for processing {"connection_id":219831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:56:28] 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-10-16 10:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:56:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:56:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":219831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:56:28] local.INFO: GPS data processed {"connection_id":219831,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:56:28] local.INFO: Acknowledgment sent {"connection_id":219831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:56:32] local.INFO: TCP Data received {"connection_id":219831,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:56:32] local.INFO: Processing buffer {"connection_id":219831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14327f2f0012d7fa40005afce580009000a30..."} 
[2026-10-16 10:56:32] local.INFO: Packet analysis {"connection_id":219831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:56:32] local.INFO: Extracted packet for processing {"connection_id":219831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14327"} 
[2026-10-16 10:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792128054000,"timestamp_ms":1792128054000,"timestamp_seconds":1792128054,"priority":1,"record_length":96,"hex_timestamp":"000001a14327f2f0"} 
[2026-10-16 10:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 10:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784704768001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:56:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:56:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784704768001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":219831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:56:32] local.INFO: GPS data processed {"connection_id":219831,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:56:32] local.INFO: Acknowledgment sent {"connection_id":219831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:56:58] local.INFO: TCP Data received {"connection_id":219832,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:56:58] local.INFO: Processing buffer {"connection_id":219832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:56:58] local.INFO: Packet analysis {"connection_id":219832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:56:58] local.INFO: Extracted packet for processing {"connection_id":219832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":33,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784746496001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:56:58] 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-10-16 10:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792128217000,"timestamp_ms":1792128217000,"timestamp_seconds":1792128217,"priority":1,"record_length":96,"hex_timestamp":"000001a1432a6fa8"} 
[2026-10-16 10:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784746496001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784746496001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:56:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784746496001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":219832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:56:58] local.INFO: GPS data processed {"connection_id":219832,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:56:58] local.INFO: Acknowledgment sent {"connection_id":219832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:57:16] local.INFO: TCP Data received {"connection_id":216755,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:57:16] local.INFO: Processing buffer {"connection_id":216755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:57:16] local.INFO: IMEI packet received {"connection_id":216755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":216755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:57:18] local.INFO: TCP Data received {"connection_id":218107,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:57:18] local.INFO: Processing buffer {"connection_id":218107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:57:18] local.INFO: IMEI packet received {"connection_id":218107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":218107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:57:18] local.INFO: TCP Data received {"connection_id":218107,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432bb7c8012d1b6300072530380026008328..."} 
[2026-10-16 10:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432bb7c8012d1b6300072530380026008328..."} 
[2026-10-16 10:57:18] local.INFO: Processing buffer {"connection_id":218107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432bb7c8012d1b6300072530380026008328..."} 
[2026-10-16 10:57:18] local.INFO: Packet analysis {"connection_id":218107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432b"} 
[2026-10-16 10:57:18] local.INFO: Extracted packet for processing {"connection_id":218107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432b"} 
[2026-10-16 10:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119877688,"longitude_deg":75.6769536,"latitude_deg":11.9877688,"altitude":38,"angle":131,"satellites":40,"speed":0,"hex_longitude":"2d1b6300","hex_latitude":"07253038","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784839680001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28131992839127040,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792128301000,"timestamp_ms":1792128301000,"timestamp_seconds":1792128301,"priority":1,"record_length":96,"hex_timestamp":"000001a1432bb7c8"} 
[2026-10-16 10:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10: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-10-16 10: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-16 10:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":218107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":218107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":218107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784839680001,"66":12993,"43":206,"83":41984,"24":0,"16":28131992839127040,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 10:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784839680001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:57:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 10:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28131992839127040,"km_value":28131992839127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 10:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784839680001,"power":12993,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 10:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":218107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:57:18] local.INFO: GPS data processed {"connection_id":218107,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:57:18] local.INFO: Acknowledgment sent {"connection_id":218107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:57:20] local.INFO: TCP Data received {"connection_id":216756,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:57:20] local.INFO: Processing buffer {"connection_id":216756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:57:20] local.INFO: IMEI packet received {"connection_id":216756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":216756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:57:22] local.INFO: TCP Data received {"connection_id":216755,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:57:22] local.INFO: Processing buffer {"connection_id":216755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:57:22] local.INFO: IMEI packet received {"connection_id":216755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":216755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:57:24] local.INFO: TCP Data received {"connection_id":216755,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:57:24] local.INFO: Processing buffer {"connection_id":216755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:57:24] local.INFO: Packet analysis {"connection_id":216755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:57:24] local.INFO: Extracted packet for processing {"connection_id":216755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:57:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784781824001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792128355000,"timestamp_ms":1792128355000,"timestamp_seconds":1792128355,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c8ab8"} 
[2026-10-16 10:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:57:24] 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-10-16 10:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784781824001,"66":25462,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784781824001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:57:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:57:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784781824001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":216755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:57:24] local.INFO: GPS data processed {"connection_id":216755,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:57:24] local.INFO: Acknowledgment sent {"connection_id":216755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:57:26] local.INFO: TCP Data received {"connection_id":216756,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:57:26] local.INFO: Processing buffer {"connection_id":216756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:57:26] local.INFO: IMEI packet received {"connection_id":216756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":216756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:57:27] local.INFO: TCP Data received {"connection_id":216756,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:57:27] local.INFO: Processing buffer {"connection_id":216756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:57:27] local.INFO: Packet analysis {"connection_id":216756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:57:27] local.INFO: Extracted packet for processing {"connection_id":216756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":33,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784746496001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:27] 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-10-16 10:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128217000,"timestamp_ms":1792128217000,"timestamp_seconds":1792128217,"priority":1,"record_length":96,"hex_timestamp":"000001a1432a6fa8"} 
[2026-10-16 10:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784746496001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784746496001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:57:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:57:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784746496001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":216756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:57:27] local.INFO: GPS data processed {"connection_id":216756,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:57:27] local.INFO: Acknowledgment sent {"connection_id":216756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:57:49] local.INFO: TCP Data received {"connection_id":218107,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c09d0012d1b630007253038002600832a..."} 
[2026-10-16 10:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c09d0012d1b630007253038002600832a..."} 
[2026-10-16 10:57:50] local.INFO: Processing buffer {"connection_id":218107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c09d0012d1b630007253038002600832a..."} 
[2026-10-16 10:57:50] local.INFO: Packet analysis {"connection_id":218107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:57:50] local.INFO: Extracted packet for processing {"connection_id":218107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119877688,"longitude_deg":75.6769536,"latitude_deg":11.9877688,"altitude":38,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b6300","hex_latitude":"07253038","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784845056001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28131992839127040,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792128322000,"timestamp_ms":1792128322000,"timestamp_seconds":1792128322,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c09d0"} 
[2026-10-16 10:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:57: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-10-16 10:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-16 10:57:50] 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-10-16 10: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-10-16 10:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":218107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":218107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":218107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784845056001,"66":12982,"43":206,"83":41984,"24":0,"16":28131992839127040,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 10:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784845056001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:57:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 10:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28131992839127040,"km_value":28131992839127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 10:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784845056001,"power":12982,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 10:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":218107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:57:50] local.INFO: GPS data processed {"connection_id":218107,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:57:50] local.INFO: Acknowledgment sent {"connection_id":218107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:57:55] local.INFO: TCP Data received {"connection_id":216755,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:57:55] local.INFO: Processing buffer {"connection_id":216755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:57:55] local.INFO: Packet analysis {"connection_id":216755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:57:55] local.INFO: Extracted packet for processing {"connection_id":216755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784781824001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792128355000,"timestamp_ms":1792128355000,"timestamp_seconds":1792128355,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c8ab8"} 
[2026-10-16 10:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784781824001,"66":25462,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784781824001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:57:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:57:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784781824001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":216755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:57:55] local.INFO: GPS data processed {"connection_id":216755,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:57:55] local.INFO: Acknowledgment sent {"connection_id":216755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:57:58] local.INFO: TCP Data received {"connection_id":216756,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:57:58] local.INFO: Processing buffer {"connection_id":216756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:57:58] local.INFO: Packet analysis {"connection_id":216756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:57:58] local.INFO: Extracted packet for processing {"connection_id":216756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":33,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784746496001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:57:58] 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-10-16 10:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792128217000,"timestamp_ms":1792128217000,"timestamp_seconds":1792128217,"priority":1,"record_length":96,"hex_timestamp":"000001a1432a6fa8"} 
[2026-10-16 10:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784746496001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784746496001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:57:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:57:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784746496001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":216756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:57:58] local.INFO: GPS data processed {"connection_id":216756,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:57:58] local.INFO: Acknowledgment sent {"connection_id":216756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:58:12] local.INFO: TCP Data received {"connection_id":216560,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:58:13] local.INFO: Processing buffer {"connection_id":216560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:58:13] local.INFO: IMEI packet received {"connection_id":216560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":216560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:58:16] local.INFO: TCP Data received {"connection_id":218108,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:58:16] local.INFO: Processing buffer {"connection_id":218108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:58:16] local.INFO: IMEI packet received {"connection_id":218108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":218108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:58:17] local.INFO: TCP Data received {"connection_id":216560,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:58:17] local.INFO: Processing buffer {"connection_id":216560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:58:17] local.INFO: IMEI packet received {"connection_id":216560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":216560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:58:20] local.INFO: TCP Data received {"connection_id":218109,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:58:20] local.INFO: Processing buffer {"connection_id":218109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:58:20] local.INFO: IMEI packet received {"connection_id":218109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":218109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:58:21] local.INFO: TCP Data received {"connection_id":216560,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c5bd8012d1b6300072530380026008329..."} 
[2026-10-16 10:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c5bd8012d1b6300072530380026008329..."} 
[2026-10-16 10:58:21] local.INFO: Processing buffer {"connection_id":216560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c5bd8012d1b6300072530380026008329..."} 
[2026-10-16 10:58:21] local.INFO: Packet analysis {"connection_id":216560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:58:21] local.INFO: Extracted packet for processing {"connection_id":216560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119877688,"longitude_deg":75.6769536,"latitude_deg":11.9877688,"altitude":38,"angle":131,"satellites":41,"speed":0,"hex_longitude":"2d1b6300","hex_latitude":"07253038","is_valid_coordinates":true} 
[2026-10-16 10:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784850432001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28131992839127040,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792128343000,"timestamp_ms":1792128343000,"timestamp_seconds":1792128343,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c5bd8"} 
[2026-10-16 10:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-10-16 10:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":216560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":216560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":216560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784850432001,"66":12950,"43":206,"83":41984,"24":0,"16":28131992839127040,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 10:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784850432001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:58:21] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 10:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28131992839127040,"km_value":28131992839127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 10:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784850432001,"power":12950,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 10:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":216560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:58:21] local.INFO: GPS data processed {"connection_id":216560,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:58:21] local.INFO: Acknowledgment sent {"connection_id":216560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:58:22] local.INFO: TCP Data received {"connection_id":218108,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:58:22] local.INFO: Processing buffer {"connection_id":218108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:58:22] local.INFO: IMEI packet received {"connection_id":218108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":218108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:58:23] local.INFO: TCP Data received {"connection_id":216560,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432cade0012d1b630007253038002600832a..."} 
[2026-10-16 10:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432cade0012d1b630007253038002600832a..."} 
[2026-10-16 10:58:23] local.INFO: Processing buffer {"connection_id":216560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432cade0012d1b630007253038002600832a..."} 
[2026-10-16 10:58:23] local.INFO: Packet analysis {"connection_id":216560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:58:23] local.INFO: Extracted packet for processing {"connection_id":216560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119877688,"longitude_deg":75.6769536,"latitude_deg":11.9877688,"altitude":38,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b6300","hex_latitude":"07253038","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784855808001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28131992839127040,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792128364000,"timestamp_ms":1792128364000,"timestamp_seconds":1792128364,"priority":1,"record_length":96,"hex_timestamp":"000001a1432cade0"} 
[2026-10-16 10:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 10:58:23] 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-10-16 10: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-10-16 10:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784855808001,"66":12950,"43":206,"83":41984,"24":0,"16":28131992839127040,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 10:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784855808001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:58:23] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 10:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28131992839127040,"km_value":28131992839127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 10:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784855808001,"power":12950,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 10:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":216560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:58:23] local.INFO: GPS data processed {"connection_id":216560,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:58:23] local.INFO: Acknowledgment sent {"connection_id":216560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:58:23] local.INFO: TCP Data received {"connection_id":218108,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:58:23] local.INFO: Processing buffer {"connection_id":218108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:58:23] local.INFO: Packet analysis {"connection_id":218108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:58:23] local.INFO: Extracted packet for processing {"connection_id":218108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784781824001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792128355000,"timestamp_ms":1792128355000,"timestamp_seconds":1792128355,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c8ab8"} 
[2026-10-16 10:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:58:23] 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-10-16 10: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-10-16 10:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784781824001,"66":25462,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784781824001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:58:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:58:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784781824001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":218108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:58:23] local.INFO: GPS data processed {"connection_id":218108,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:58:23] local.INFO: Acknowledgment sent {"connection_id":218108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:58:26] local.INFO: TCP Data received {"connection_id":218109,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:58:26] local.INFO: Processing buffer {"connection_id":218109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:58:26] local.INFO: IMEI packet received {"connection_id":218109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":218109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:58:27] local.INFO: TCP Data received {"connection_id":218109,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:58:27] local.INFO: Processing buffer {"connection_id":218109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432a6fa8012d7d3fc005ec0ec00000013921..."} 
[2026-10-16 10:58:27] local.INFO: Packet analysis {"connection_id":218109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:58:27] local.INFO: Extracted packet for processing {"connection_id":218109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432a"} 
[2026-10-16 10:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":33,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784746496001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:27] 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-10-16 10:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128217000,"timestamp_ms":1792128217000,"timestamp_seconds":1792128217,"priority":1,"record_length":96,"hex_timestamp":"000001a1432a6fa8"} 
[2026-10-16 10:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784746496001,"66":12765,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784746496001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:58:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:58:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784746496001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":218109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:58:27] local.INFO: GPS data processed {"connection_id":218109,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:58:27] local.INFO: Acknowledgment sent {"connection_id":218109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:58:55] local.INFO: TCP Data received {"connection_id":218108,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:58:55] local.INFO: Processing buffer {"connection_id":218108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:58:55] local.INFO: Packet analysis {"connection_id":218108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:58:55] local.INFO: Extracted packet for processing {"connection_id":218108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784781824001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792128355000,"timestamp_ms":1792128355000,"timestamp_seconds":1792128355,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c8ab8"} 
[2026-10-16 10:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784781824001,"66":25462,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784781824001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:58:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:58:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784781824001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":218108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:58:55] local.INFO: GPS data processed {"connection_id":218108,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:58:55] local.INFO: Acknowledgment sent {"connection_id":218108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:59:01] local.INFO: TCP Data received {"connection_id":218109,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 10:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 10:59:01] local.INFO: Processing buffer {"connection_id":218109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 10:59:01] local.INFO: Packet analysis {"connection_id":218109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 10:59:01] local.INFO: Extracted packet for processing {"connection_id":218109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 10:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784823552001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:01] 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-10-16 10:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792128518000,"timestamp_ms":1792128518000,"timestamp_seconds":1792128518,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f0770"} 
[2026-10-16 10:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:59: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-10-16 10:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":218109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":218109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":218109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784823552001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784823552001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:59:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:59:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784823552001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":218109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:59:01] local.INFO: GPS data processed {"connection_id":218109,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:59:01] local.INFO: Acknowledgment sent {"connection_id":218109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:59:07] local.INFO: TCP Data received {"connection_id":219833,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:59:07] local.INFO: Processing buffer {"connection_id":219833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:59:07] local.INFO: IMEI packet received {"connection_id":219833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 10:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":219833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:59:09] local.INFO: TCP Data received {"connection_id":219833,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:59:09] local.INFO: Processing buffer {"connection_id":219833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 10:59:09] local.INFO: IMEI packet received {"connection_id":219833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 10:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":219833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:59:10] local.INFO: TCP Data received {"connection_id":219833,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432cffe8012d1b630007253038002600832a..."} 
[2026-10-16 10:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432cffe8012d1b630007253038002600832a..."} 
[2026-10-16 10:59:10] local.INFO: Processing buffer {"connection_id":219833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432cffe8012d1b630007253038002600832a..."} 
[2026-10-16 10:59:10] local.INFO: Packet analysis {"connection_id":219833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:59:10] local.INFO: Extracted packet for processing {"connection_id":219833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119877688,"longitude_deg":75.6769536,"latitude_deg":11.9877688,"altitude":38,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b6300","hex_latitude":"07253038","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784861184001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28131992839127040,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792128385000,"timestamp_ms":1792128385000,"timestamp_seconds":1792128385,"priority":1,"record_length":96,"hex_timestamp":"000001a1432cffe8"} 
[2026-10-16 10:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 10:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 10:59:10] 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-10-16 10: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-10-16 10:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":219833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":219833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":219833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784861184001,"66":12939,"43":206,"83":41984,"24":0,"16":28131992839127040,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 10:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784861184001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:59:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 10:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28131992839127040,"km_value":28131992839127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 10:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784861184001,"power":12939,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 10:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":219833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:59:10] local.INFO: GPS data processed {"connection_id":219833,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:59:10] local.INFO: Acknowledgment sent {"connection_id":219833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:59:16] local.INFO: TCP Data received {"connection_id":216561,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:59:16] local.INFO: Processing buffer {"connection_id":216561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:59:16] local.INFO: IMEI packet received {"connection_id":216561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 10:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":216561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:59:21] local.INFO: TCP Data received {"connection_id":216759,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:59:21] local.INFO: Processing buffer {"connection_id":216759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:59:21] local.INFO: IMEI packet received {"connection_id":216759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 10:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":216759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 10:59:21] local.INFO: TCP Data received {"connection_id":216561,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:59:21] local.INFO: Processing buffer {"connection_id":216561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 10:59:21] local.INFO: IMEI packet received {"connection_id":216561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 10:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":216561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:59:22] local.INFO: TCP Data received {"connection_id":216561,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:59:22] local.INFO: Processing buffer {"connection_id":216561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:59:22] local.INFO: Packet analysis {"connection_id":216561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:59:22] local.INFO: Extracted packet for processing {"connection_id":216561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784781824001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792128355000,"timestamp_ms":1792128355000,"timestamp_seconds":1792128355,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c8ab8"} 
[2026-10-16 10:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10: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-10-16 10:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784781824001,"66":25462,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784781824001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:59:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:59:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784781824001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":216561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:59:22] local.INFO: GPS data processed {"connection_id":216561,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:59:22] local.INFO: Acknowledgment sent {"connection_id":216561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:59:26] local.INFO: TCP Data received {"connection_id":216759,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:59:26] local.INFO: Processing buffer {"connection_id":216759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 10:59:26] local.INFO: IMEI packet received {"connection_id":216759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 10:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":216759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 10:59:26] local.INFO: TCP Data received {"connection_id":216759,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 10:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 10:59:26] local.INFO: Processing buffer {"connection_id":216759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 10:59:26] local.INFO: Packet analysis {"connection_id":216759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 10:59:26] local.INFO: Extracted packet for processing {"connection_id":216759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 10:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784823552001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:26] 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-10-16 10:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792128518000,"timestamp_ms":1792128518000,"timestamp_seconds":1792128518,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f0770"} 
[2026-10-16 10:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:59:26] 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-10-16 10:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784823552001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784823552001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:59:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:59:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784823552001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":216759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:59:26] local.INFO: GPS data processed {"connection_id":216759,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:59:26] local.INFO: Acknowledgment sent {"connection_id":216759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:59:41] local.INFO: TCP Data received {"connection_id":219833,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432d51f0012d1b630007253038002600832a..."} 
[2026-10-16 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432d51f0012d1b630007253038002600832a..."} 
[2026-10-16 10:59:41] local.INFO: Processing buffer {"connection_id":219833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432d51f0012d1b630007253038002600832a..."} 
[2026-10-16 10:59:41] local.INFO: Packet analysis {"connection_id":219833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432d"} 
[2026-10-16 10:59:41] local.INFO: Extracted packet for processing {"connection_id":219833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432d"} 
[2026-10-16 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119877688,"longitude_deg":75.6769536,"latitude_deg":11.9877688,"altitude":38,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b6300","hex_latitude":"07253038","is_valid_coordinates":true} 
[2026-10-16 10: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-10-16 10:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784866560001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28131992839127040,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792128406000,"timestamp_ms":1792128406000,"timestamp_seconds":1792128406,"priority":1,"record_length":96,"hex_timestamp":"000001a1432d51f0"} 
[2026-10-16 10:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:59: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-10-16 10: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-10-16 10: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-10-16 10: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-10-16 10:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":219833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":219833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":219833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 10:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 10:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 10:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784866560001,"66":12917,"43":206,"83":41984,"24":0,"16":28131992839127040,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 10:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 10:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 10:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784866560001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:59:41] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 10:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 10:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28131992839127040,"km_value":28131992839127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 10:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784866560001,"power":12917,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 10:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":219833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:59:41] local.INFO: GPS data processed {"connection_id":219833,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:59:41] local.INFO: Acknowledgment sent {"connection_id":219833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:59:54] local.INFO: TCP Data received {"connection_id":216561,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:59:54] local.INFO: Processing buffer {"connection_id":216561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 10:59:54] local.INFO: Packet analysis {"connection_id":216561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:59:54] local.INFO: Extracted packet for processing {"connection_id":216561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 10:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 10:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784781824001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 10:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792128355000,"timestamp_ms":1792128355000,"timestamp_seconds":1792128355,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c8ab8"} 
[2026-10-16 10:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 10:59:54] 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-10-16 10:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 10:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 10:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 10:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784781824001,"66":25462,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 10:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 10:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 10:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784781824001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:59:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 10:59:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 10:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 10:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784781824001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 10:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":216561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:59:54] local.INFO: GPS data processed {"connection_id":216561,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:59:54] local.INFO: Acknowledgment sent {"connection_id":216561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 10:59:58] local.INFO: TCP Data received {"connection_id":216759,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 10:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 10:59:58] local.INFO: Processing buffer {"connection_id":216759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 10:59:58] local.INFO: Packet analysis {"connection_id":216759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 10:59:58] local.INFO: Extracted packet for processing {"connection_id":216759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 10:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 10:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 10:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784823552001,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 10:59:58] 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-10-16 10:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792128518000,"timestamp_ms":1792128518000,"timestamp_seconds":1792128518,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f0770"} 
[2026-10-16 10:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 10:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 10:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 10:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 10:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 10:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 10:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 10:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 10:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 10:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 10:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 10:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 10:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784823552001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 10:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 10:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 10:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784823552001,"description":"Unknown IO ID 0"} 
[2026-10-16 10:59:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 10:59:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 10:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 10:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 10:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784823552001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 10:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":216759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 10:59:58] local.INFO: GPS data processed {"connection_id":216759,"processed":1,"errors":0,"total":1} 
[2026-10-16 10:59:58] local.INFO: Acknowledgment sent {"connection_id":216759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:00:07] local.INFO: TCP Data received {"connection_id":218110,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:00:07] local.INFO: Processing buffer {"connection_id":218110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:00:07] local.INFO: IMEI packet received {"connection_id":218110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":218110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:00:12] local.INFO: TCP Data received {"connection_id":218110,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:00:12] local.INFO: Processing buffer {"connection_id":218110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:00:12] local.INFO: IMEI packet received {"connection_id":218110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":218110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:00:13] local.INFO: TCP Data received {"connection_id":218110,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432da3f8012d1b630007253038002600832a..."} 
[2026-10-16 11:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432da3f8012d1b630007253038002600832a..."} 
[2026-10-16 11:00:13] local.INFO: Processing buffer {"connection_id":218110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432da3f8012d1b630007253038002600832a..."} 
[2026-10-16 11:00:13] local.INFO: Packet analysis {"connection_id":218110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432d"} 
[2026-10-16 11:00:13] local.INFO: Extracted packet for processing {"connection_id":218110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432d"} 
[2026-10-16 11:00:13] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119877688,"longitude_deg":75.6769536,"latitude_deg":11.9877688,"altitude":38,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b6300","hex_latitude":"07253038","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784871936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28131992839127040,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792128427000,"timestamp_ms":1792128427000,"timestamp_seconds":1792128427,"priority":1,"record_length":96,"hex_timestamp":"000001a1432da3f8"} 
[2026-10-16 11:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:00:13] 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-10-16 11: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 11:00:13] 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-10-16 11: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-10-16 11:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784871936001,"66":12874,"43":206,"83":41984,"24":0,"16":28131992839127040,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784871936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:00:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28131992839127040,"km_value":28131992839127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 11:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784871936001,"power":12874,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 11:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":218110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:00:13] local.INFO: GPS data processed {"connection_id":218110,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:00:13] local.INFO: Acknowledgment sent {"connection_id":218110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:00:21] local.INFO: TCP Data received {"connection_id":216760,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:00:21] local.INFO: Processing buffer {"connection_id":216760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:00:21] local.INFO: IMEI packet received {"connection_id":216760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":216760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:00:22] local.INFO: TCP Data received {"connection_id":218111,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:00:22] local.INFO: Processing buffer {"connection_id":218111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:00:22] local.INFO: IMEI packet received {"connection_id":218111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":218111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:00:26] local.INFO: TCP Data received {"connection_id":216760,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:00:26] local.INFO: Processing buffer {"connection_id":216760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:00:26] local.INFO: IMEI packet received {"connection_id":216760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":216760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:00:26] local.INFO: TCP Data received {"connection_id":216562,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:00:26] local.INFO: Processing buffer {"connection_id":216562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:00:26] local.INFO: IMEI packet received {"connection_id":216562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":216562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:00:27] local.INFO: TCP Data received {"connection_id":216760,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:00:27] local.INFO: Processing buffer {"connection_id":216760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:00:27] local.INFO: Packet analysis {"connection_id":216760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:00:27] local.INFO: Extracted packet for processing {"connection_id":216760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784823552001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:27] 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-10-16 11:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128518000,"timestamp_ms":1792128518000,"timestamp_seconds":1792128518,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f0770"} 
[2026-10-16 11:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 11:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784823552001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784823552001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:00:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:00:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784823552001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":216760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:00:27] local.INFO: GPS data processed {"connection_id":216760,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:00:27] local.INFO: Acknowledgment sent {"connection_id":216760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:00:27] local.INFO: TCP Data received {"connection_id":218111,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:00:27] local.INFO: Processing buffer {"connection_id":218111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:00:27] local.INFO: IMEI packet received {"connection_id":218111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":218111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:00:28] local.INFO: TCP Data received {"connection_id":218111,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 11:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 11:00:28] local.INFO: Processing buffer {"connection_id":218111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 11:00:28] local.INFO: Packet analysis {"connection_id":218111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 11:00:28] local.INFO: Extracted packet for processing {"connection_id":218111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 11:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784781824001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792128355000,"timestamp_ms":1792128355000,"timestamp_seconds":1792128355,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c8ab8"} 
[2026-10-16 11:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:00:28] 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-10-16 11:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784781824001,"66":25462,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784781824001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:00:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:00:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784781824001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":218111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:00:28] local.INFO: GPS data processed {"connection_id":218111,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:00:28] local.INFO: Acknowledgment sent {"connection_id":218111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:00:33] local.INFO: TCP Data received {"connection_id":218111,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 11:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 11:00:33] local.INFO: Processing buffer {"connection_id":218111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 11:00:33] local.INFO: Packet analysis {"connection_id":218111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 11:00:33] local.INFO: Extracted packet for processing {"connection_id":218111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 11:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784781824001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792128355000,"timestamp_ms":1792128355000,"timestamp_seconds":1792128355,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c8ab8"} 
[2026-10-16 11:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":218111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":218111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":218111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784781824001,"66":25462,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784781824001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784781824001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":218111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:00:33] local.INFO: GPS data processed {"connection_id":218111,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:00:33] local.INFO: Acknowledgment sent {"connection_id":218111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:00:44] local.INFO: TCP Data received {"connection_id":218110,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432df600012d1b630007253038002600832c..."} 
[2026-10-16 11:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432df600012d1b630007253038002600832c..."} 
[2026-10-16 11:00:44] local.INFO: Processing buffer {"connection_id":218110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432df600012d1b630007253038002600832c..."} 
[2026-10-16 11:00:44] local.INFO: Packet analysis {"connection_id":218110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432d"} 
[2026-10-16 11:00:44] local.INFO: Extracted packet for processing {"connection_id":218110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432d"} 
[2026-10-16 11:00:44] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119877688,"longitude_deg":75.6769536,"latitude_deg":11.9877688,"altitude":38,"angle":131,"satellites":44,"speed":0,"hex_longitude":"2d1b6300","hex_latitude":"07253038","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784877312001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28131992839127040,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792128448000,"timestamp_ms":1792128448000,"timestamp_seconds":1792128448,"priority":1,"record_length":96,"hex_timestamp":"000001a1432df600"} 
[2026-10-16 11:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 11:00: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-10-16 11: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-10-16 11:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784877312001,"66":12863,"43":206,"83":41984,"24":0,"16":28131992839127040,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784877312001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:00:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:00:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28131992839127040,"km_value":28131992839127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 11:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784877312001,"power":12863,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 11:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":218110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:00:44] local.INFO: GPS data processed {"connection_id":218110,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:00:44] local.INFO: Acknowledgment sent {"connection_id":218110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:00:51] local.INFO: TCP Data received {"connection_id":219834,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:00:51] local.INFO: Processing buffer {"connection_id":219834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:00:51] local.INFO: IMEI packet received {"connection_id":219834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":219834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:00:58] local.INFO: TCP Data received {"connection_id":216760,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:00:58] local.INFO: Processing buffer {"connection_id":216760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:00:58] local.INFO: Packet analysis {"connection_id":216760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:00:58] local.INFO: Extracted packet for processing {"connection_id":216760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:00: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-10-16 11:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784823552001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:00:58] 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-10-16 11:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792128518000,"timestamp_ms":1792128518000,"timestamp_seconds":1792128518,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f0770"} 
[2026-10-16 11:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 11:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:00: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-10-16 11:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784823552001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784823552001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:00:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:00:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784823552001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":216760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:00:58] local.INFO: GPS data processed {"connection_id":216760,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:00:58] local.INFO: Acknowledgment sent {"connection_id":216760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:01:07] local.INFO: TCP Data received {"connection_id":216563,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:01:07] local.INFO: Processing buffer {"connection_id":216563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:01:07] local.INFO: IMEI packet received {"connection_id":216563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":216563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:01:12] local.INFO: TCP Data received {"connection_id":216563,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:01:12] local.INFO: Processing buffer {"connection_id":216563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:01:12] local.INFO: IMEI packet received {"connection_id":216563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":216563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:01:13] local.INFO: TCP Data received {"connection_id":216563,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432e4808012d1b630007253038002600832a..."} 
[2026-10-16 11:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432e4808012d1b630007253038002600832a..."} 
[2026-10-16 11:01:13] local.INFO: Processing buffer {"connection_id":216563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432e4808012d1b630007253038002600832a..."} 
[2026-10-16 11:01:13] local.INFO: Packet analysis {"connection_id":216563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432e"} 
[2026-10-16 11:01:13] local.INFO: Extracted packet for processing {"connection_id":216563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432e"} 
[2026-10-16 11:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119877688,"longitude_deg":75.6769536,"latitude_deg":11.9877688,"altitude":38,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b6300","hex_latitude":"07253038","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784882688001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28131992839127040,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792128469000,"timestamp_ms":1792128469000,"timestamp_seconds":1792128469,"priority":1,"record_length":96,"hex_timestamp":"000001a1432e4808"} 
[2026-10-16 11:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:01:13] 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-10-16 11: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 11:01: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-10-16 11: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-10-16 11:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784882688001,"66":12841,"43":206,"83":41984,"24":0,"16":28131992839127040,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784882688001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:01:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28131992839127040,"km_value":28131992839127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 11:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784882688001,"power":12841,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 11:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":216563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:01:13] local.INFO: GPS data processed {"connection_id":216563,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:01:13] local.INFO: Acknowledgment sent {"connection_id":216563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:01:16] local.INFO: TCP Data received {"connection_id":219835,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:01:16] local.INFO: Processing buffer {"connection_id":219835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:01:16] local.INFO: IMEI packet received {"connection_id":219835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":219835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:01:21] local.INFO: TCP Data received {"connection_id":219836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:01:21] local.INFO: Processing buffer {"connection_id":219836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:01:21] local.INFO: IMEI packet received {"connection_id":219836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":219836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:01:21] local.INFO: TCP Data received {"connection_id":219835,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:01:21] local.INFO: Processing buffer {"connection_id":219835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:01:21] local.INFO: IMEI packet received {"connection_id":219835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":219835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:01:22] local.INFO: TCP Data received {"connection_id":219835,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 11:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 11:01:22] local.INFO: Processing buffer {"connection_id":219835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432c8ab8012d7fa40005afce580009000a2d..."} 
[2026-10-16 11:01:22] local.INFO: Packet analysis {"connection_id":219835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 11:01:22] local.INFO: Extracted packet for processing {"connection_id":219835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432c"} 
[2026-10-16 11:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784781824001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792128355000,"timestamp_ms":1792128355000,"timestamp_seconds":1792128355,"priority":1,"record_length":96,"hex_timestamp":"000001a1432c8ab8"} 
[2026-10-16 11:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784781824001,"66":25462,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784781824001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:01:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:01:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784781824001,"power":25462,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":219835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:01:23] local.INFO: GPS data processed {"connection_id":219835,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:01:23] local.INFO: Acknowledgment sent {"connection_id":219835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:01:26] local.INFO: TCP Data received {"connection_id":219836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:01:26] local.INFO: Processing buffer {"connection_id":219836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:01:26] local.INFO: IMEI packet received {"connection_id":219836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":219836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:01:26] local.INFO: TCP Data received {"connection_id":219836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:01:26] local.INFO: Processing buffer {"connection_id":219836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:01:26] local.INFO: Packet analysis {"connection_id":219836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:01:26] local.INFO: Extracted packet for processing {"connection_id":219836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784823552001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:26] 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-10-16 11:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792128518000,"timestamp_ms":1792128518000,"timestamp_seconds":1792128518,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f0770"} 
[2026-10-16 11:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 11:01:26] 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-10-16 11:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:01: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-10-16 11:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784823552001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784823552001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:01:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:01:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784823552001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":219836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:01:26] local.INFO: GPS data processed {"connection_id":219836,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:01:26] local.INFO: Acknowledgment sent {"connection_id":219836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:01:44] local.INFO: TCP Data received {"connection_id":216563,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432e9a10012d1b630007253038002600832a..."} 
[2026-10-16 11:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432e9a10012d1b630007253038002600832a..."} 
[2026-10-16 11:01:44] local.INFO: Processing buffer {"connection_id":216563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432e9a10012d1b630007253038002600832a..."} 
[2026-10-16 11:01:44] local.INFO: Packet analysis {"connection_id":216563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432e"} 
[2026-10-16 11:01:44] local.INFO: Extracted packet for processing {"connection_id":216563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432e"} 
[2026-10-16 11:01:44] local.INFO: GPS Element Parsed {"raw_longitude":756769536,"raw_latitude":119877688,"longitude_deg":75.6769536,"latitude_deg":11.9877688,"altitude":38,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b6300","hex_latitude":"07253038","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784888064001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28131992839127040,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792128490000,"timestamp_ms":1792128490000,"timestamp_seconds":1792128490,"priority":1,"record_length":96,"hex_timestamp":"000001a1432e9a10"} 
[2026-10-16 11:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 11:01: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-10-16 11: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-10-16 11:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784888064001,"66":12841,"43":206,"83":41984,"24":0,"16":28131992839127040,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784888064001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:01:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:01:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28131992839127040,"km_value":28131992839127.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 11:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784888064001,"power":12841,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 11:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":216563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:01:45] local.INFO: GPS data processed {"connection_id":216563,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:01:45] local.INFO: Acknowledgment sent {"connection_id":216563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:01:54] local.INFO: TCP Data received {"connection_id":219835,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:01:54] local.INFO: Processing buffer {"connection_id":219835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:01:54] local.INFO: Packet analysis {"connection_id":219835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:01:54] local.INFO: Extracted packet for processing {"connection_id":219835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784858880001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792128656000,"timestamp_ms":1792128656000,"timestamp_seconds":1792128656,"priority":1,"record_length":96,"hex_timestamp":"000001a143312280"} 
[2026-10-16 11:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 11:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784858880001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784858880001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:01:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:01:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784858880001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":219835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:01:54] local.INFO: GPS data processed {"connection_id":219835,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:01:54] local.INFO: Acknowledgment sent {"connection_id":219835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:01:58] local.INFO: TCP Data received {"connection_id":219836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:01:58] local.INFO: Processing buffer {"connection_id":219836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:01:58] local.INFO: Packet analysis {"connection_id":219836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:01:58] local.INFO: Extracted packet for processing {"connection_id":219836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784823552001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:01:58] 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-10-16 11:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792128518000,"timestamp_ms":1792128518000,"timestamp_seconds":1792128518,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f0770"} 
[2026-10-16 11:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 11:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:01:58] 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-10-16 11:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784823552001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784823552001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:01:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:01:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784823552001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":219836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:01:58] local.INFO: GPS data processed {"connection_id":219836,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:01:58] local.INFO: Acknowledgment sent {"connection_id":219836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:02:08] local.INFO: TCP Data received {"connection_id":218112,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:02:08] local.INFO: Processing buffer {"connection_id":218112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:02:08] local.INFO: IMEI packet received {"connection_id":218112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":218112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:02:12] local.INFO: TCP Data received {"connection_id":218112,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:02:12] local.INFO: Processing buffer {"connection_id":218112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:02:12] local.INFO: IMEI packet received {"connection_id":218112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":218112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:02:13] local.INFO: TCP Data received {"connection_id":218112,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432eec18012d1b5f8007253190003800832b..."} 
[2026-10-16 11:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432eec18012d1b5f8007253190003800832b..."} 
[2026-10-16 11:02:13] local.INFO: Processing buffer {"connection_id":218112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432eec18012d1b5f8007253190003800832b..."} 
[2026-10-16 11:02:13] local.INFO: Packet analysis {"connection_id":218112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432e"} 
[2026-10-16 11:02:13] local.INFO: Extracted packet for processing {"connection_id":218112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432e"} 
[2026-10-16 11:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":43,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784893440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092407097344,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792128511000,"timestamp_ms":1792128511000,"timestamp_seconds":1792128511,"priority":1,"record_length":96,"hex_timestamp":"000001a1432eec18"} 
[2026-10-16 11:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:02:13] 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-10-16 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 11:02: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-10-16 11: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-10-16 11:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784893440001,"66":12809,"43":206,"83":41984,"24":0,"16":28132040083767296,"45":1973421092407097344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784893440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:02:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092407097344,"description":"Unknown IO ID 45"} 
[2026-10-16 11:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784893440001,"power":12809,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1973421092407097344}} 
[2026-10-16 11:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":218112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:02:13] local.INFO: GPS data processed {"connection_id":218112,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:02:13] local.INFO: Acknowledgment sent {"connection_id":218112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:02:21] local.INFO: TCP Data received {"connection_id":216761,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:02:21] local.INFO: Processing buffer {"connection_id":216761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:02:21] local.INFO: IMEI packet received {"connection_id":216761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":216761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:02:22] local.INFO: TCP Data received {"connection_id":216564,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:02:22] local.INFO: Processing buffer {"connection_id":216564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:02:22] local.INFO: IMEI packet received {"connection_id":216564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":216564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:02:23] local.INFO: TCP Data received {"connection_id":216564,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:02:23] local.INFO: Processing buffer {"connection_id":216564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:02:23] local.INFO: Packet analysis {"connection_id":216564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:02:23] local.INFO: Extracted packet for processing {"connection_id":216564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784858880001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792128656000,"timestamp_ms":1792128656000,"timestamp_seconds":1792128656,"priority":1,"record_length":96,"hex_timestamp":"000001a143312280"} 
[2026-10-16 11:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 11:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784858880001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784858880001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:02:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:02:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784858880001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":216564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:02:23] local.INFO: GPS data processed {"connection_id":216564,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:02:23] local.INFO: Acknowledgment sent {"connection_id":216564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:02:26] local.INFO: TCP Data received {"connection_id":216761,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:02:26] local.INFO: Processing buffer {"connection_id":216761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:02:26] local.INFO: IMEI packet received {"connection_id":216761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":216761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:02:27] local.INFO: TCP Data received {"connection_id":216761,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:02:27] local.INFO: Processing buffer {"connection_id":216761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:02:27] local.INFO: Packet analysis {"connection_id":216761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:02:27] local.INFO: Extracted packet for processing {"connection_id":216761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784823552001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:27] 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-10-16 11:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128518000,"timestamp_ms":1792128518000,"timestamp_seconds":1792128518,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f0770"} 
[2026-10-16 11:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 11:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784823552001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784823552001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:02:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:02:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784823552001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":216761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:02:27] local.INFO: GPS data processed {"connection_id":216761,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:02:27] local.INFO: Acknowledgment sent {"connection_id":216761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:02:44] local.INFO: TCP Data received {"connection_id":218112,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f3e20012d1b5f8007253190003800832c..."} 
[2026-10-16 11:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f3e20012d1b5f8007253190003800832c..."} 
[2026-10-16 11:02:44] local.INFO: Processing buffer {"connection_id":218112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f3e20012d1b5f8007253190003800832c..."} 
[2026-10-16 11:02:44] local.INFO: Packet analysis {"connection_id":218112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:02:44] local.INFO: Extracted packet for processing {"connection_id":218112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":44,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784898816001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792128532000,"timestamp_ms":1792128532000,"timestamp_seconds":1792128532,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f3e20"} 
[2026-10-16 11:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3219475604296131328,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":81,"raw_value":4026608923,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4058382336,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512917148807597,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2679703351574168362,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:44] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,43,83,24,241,157,16,161,154,45,48,38,42,10,66,72,246,1,240,63,227,67,37,4,113,205,81,99,56,239,50,2,7,164,230],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":724238542,"validated":0}]} 
[2026-10-16 11:02:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035369486830796800,"timestamp_seconds":4035369486830797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784898816001,"66":12819,"43":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784898816001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:02:44] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784898816001,"power":12819,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":218112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:02:44] local.INFO: GPS data processed {"connection_id":218112,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:02:44] local.INFO: Acknowledgment sent {"connection_id":218112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:02:55] local.INFO: TCP Data received {"connection_id":216564,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:02:55] local.INFO: Processing buffer {"connection_id":216564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:02:55] local.INFO: Packet analysis {"connection_id":216564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:02:55] local.INFO: Extracted packet for processing {"connection_id":216564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:02: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-10-16 11:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784858880001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792128656000,"timestamp_ms":1792128656000,"timestamp_seconds":1792128656,"priority":1,"record_length":96,"hex_timestamp":"000001a143312280"} 
[2026-10-16 11:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 11:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784858880001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784858880001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:02:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:02:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784858880001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":216564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:02:55] local.INFO: GPS data processed {"connection_id":216564,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:02:55] local.INFO: Acknowledgment sent {"connection_id":216564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:02:58] local.INFO: TCP Data received {"connection_id":216761,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:02:58] local.INFO: Processing buffer {"connection_id":216761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:02:58] local.INFO: Packet analysis {"connection_id":216761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:02:58] local.INFO: Extracted packet for processing {"connection_id":216761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784823552001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:02:58] 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-10-16 11:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792128518000,"timestamp_ms":1792128518000,"timestamp_seconds":1792128518,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f0770"} 
[2026-10-16 11:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 11:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784823552001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784823552001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:02:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784823552001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":216761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:02:58] local.INFO: GPS data processed {"connection_id":216761,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:02:58] local.INFO: Acknowledgment sent {"connection_id":216761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:03:07] local.INFO: TCP Data received {"connection_id":216565,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:03:07] local.INFO: Processing buffer {"connection_id":216565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:03:07] local.INFO: IMEI packet received {"connection_id":216565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":216565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:03:15] local.INFO: TCP Data received {"connection_id":216565,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:03:15] local.INFO: Processing buffer {"connection_id":216565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:03:15] local.INFO: IMEI packet received {"connection_id":216565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":216565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:03:17] local.INFO: TCP Data received {"connection_id":218113,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:03:17] local.INFO: Processing buffer {"connection_id":218113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:03:17] local.INFO: IMEI packet received {"connection_id":218113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":218113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:03:18] local.INFO: TCP Data received {"connection_id":216565,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f9028012d1b5f8007253190003800832b..."} 
[2026-10-16 11:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f9028012d1b5f8007253190003800832b..."} 
[2026-10-16 11:03:18] local.INFO: Processing buffer {"connection_id":216565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f9028012d1b5f8007253190003800832b..."} 
[2026-10-16 11:03:18] local.INFO: Packet analysis {"connection_id":216565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:03:18] local.INFO: Extracted packet for processing {"connection_id":216565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":43,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784904192001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792128553000,"timestamp_ms":1792128553000,"timestamp_seconds":1792128553,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f9028"} 
[2026-10-16 11:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:03: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-10-16 11: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":19,"data_length":795,"current_offset":136} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":10696612460363776,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504028887515136,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3242565348479427328,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3110580853795979288,"corrected_to":0} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":163,"raw_value":4160826651,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4058382336,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182152400208128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964087726329427,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2679703351574168362,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84754080006087984,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,43,83,24,241,157,16,161,236,45,128,49,56,10,66,154,48,38,42,72,1,240,41,227,67,37,4,113,205,163,99,239,50,2,7,164,230,69,224],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3110580853795979288,"validated":0}]} 
[2026-10-16 11:03:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035369491125764096,"timestamp_seconds":4035369491125764.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784904192001,"66":12809,"43":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784904192001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:03:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784904192001,"power":12809,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":216565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:03:18] local.INFO: GPS data processed {"connection_id":216565,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:03:18] local.INFO: Acknowledgment sent {"connection_id":216565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:03:21] local.INFO: TCP Data received {"connection_id":216762,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:03:21] local.INFO: Processing buffer {"connection_id":216762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:03:21] local.INFO: IMEI packet received {"connection_id":216762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":216762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:03:22] local.INFO: TCP Data received {"connection_id":218113,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:03:22] local.INFO: Processing buffer {"connection_id":218113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:03:22] local.INFO: IMEI packet received {"connection_id":218113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":218113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:03:23] local.INFO: TCP Data received {"connection_id":218113,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:03:23] local.INFO: Processing buffer {"connection_id":218113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:03:23] local.INFO: Packet analysis {"connection_id":218113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:03:23] local.INFO: Extracted packet for processing {"connection_id":218113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784858880001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792128656000,"timestamp_ms":1792128656000,"timestamp_seconds":1792128656,"priority":1,"record_length":96,"hex_timestamp":"000001a143312280"} 
[2026-10-16 11:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 11:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784858880001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784858880001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:03:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:03:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784858880001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":218113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:03:23] local.INFO: GPS data processed {"connection_id":218113,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:03:23] local.INFO: Acknowledgment sent {"connection_id":218113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:03:26] local.INFO: TCP Data received {"connection_id":216762,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:03:26] local.INFO: Processing buffer {"connection_id":216762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:03:26] local.INFO: IMEI packet received {"connection_id":216762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":216762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:03:27] local.INFO: TCP Data received {"connection_id":216762,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:03:27] local.INFO: Processing buffer {"connection_id":216762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432f0770012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 11:03:27] local.INFO: Packet analysis {"connection_id":216762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:03:27] local.INFO: Extracted packet for processing {"connection_id":216762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784823552001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:27] 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-10-16 11:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128518000,"timestamp_ms":1792128518000,"timestamp_seconds":1792128518,"priority":1,"record_length":96,"hex_timestamp":"000001a1432f0770"} 
[2026-10-16 11:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 11:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784823552001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784823552001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:03:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:03:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784823552001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":216762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:03:27] local.INFO: GPS data processed {"connection_id":216762,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:03:27] local.INFO: Acknowledgment sent {"connection_id":216762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:03:50] local.INFO: TCP Data received {"connection_id":216565,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1432fe230012d1b5f80072531900038008328..."} 
[2026-10-16 11:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1432fe230012d1b5f80072531900038008328..."} 
[2026-10-16 11:03:50] local.INFO: Processing buffer {"connection_id":216565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1432fe230012d1b5f80072531900038008328..."} 
[2026-10-16 11:03:50] local.INFO: Packet analysis {"connection_id":216565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:03:50] local.INFO: Extracted packet for processing {"connection_id":216565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1432f"} 
[2026-10-16 11:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":40,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784909568001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792128574000,"timestamp_ms":1792128574000,"timestamp_seconds":1792128574,"priority":1,"record_length":96,"hex_timestamp":"000001a1432fe230"} 
[2026-10-16 11:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:03: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-10-16 11:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3265655092662723328,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-10-16 11:03:50] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":77083,"corrected_to":0} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4058382336,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332487544095428179,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2679703351574168362,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:50] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,43,83,24,241,157,16,161,62,45,128,49,56,44,10,66,236,154,1,240,41,227,67,37,4,113,205,246,99,239,50,2,7,38,164,230],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":724238542,"validated":0},{"io_id":246,"original":77083,"validated":0}]} 
[2026-10-16 11:03:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035369486830796800,"timestamp_seconds":4035369486830797.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":216565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":216565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":216565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784909568001,"66":12798,"43":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784909568001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:03:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784909568001,"power":12798,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":216565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:03:50] local.INFO: GPS data processed {"connection_id":216565,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:03:50] local.INFO: Acknowledgment sent {"connection_id":216565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:03:56] local.INFO: TCP Data received {"connection_id":218113,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:03:56] local.INFO: Processing buffer {"connection_id":218113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:03:56] local.INFO: Packet analysis {"connection_id":218113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:03:56] local.INFO: Extracted packet for processing {"connection_id":218113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784858880001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792128656000,"timestamp_ms":1792128656000,"timestamp_seconds":1792128656,"priority":1,"record_length":96,"hex_timestamp":"000001a143312280"} 
[2026-10-16 11:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 11:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784858880001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784858880001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:03:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:03:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784858880001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":218113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:03:56] local.INFO: GPS data processed {"connection_id":218113,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:03:56] local.INFO: Acknowledgment sent {"connection_id":218113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:04:00] local.INFO: TCP Data received {"connection_id":216762,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:04:00] local.INFO: Processing buffer {"connection_id":216762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:04:00] local.INFO: Packet analysis {"connection_id":216762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:04:00] local.INFO: Extracted packet for processing {"connection_id":216762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:04:00] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:04: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-10-16 11:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784900608001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:00] 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-10-16 11:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792128819000,"timestamp_ms":1792128819000,"timestamp_seconds":1792128819,"priority":1,"record_length":96,"hex_timestamp":"000001a143339f38"} 
[2026-10-16 11:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:04: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-10-16 11:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:04:00] 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-10-16 11:04: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-10-16 11:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784900608001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784900608001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:04:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:04:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784900608001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":216762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:04:00] local.INFO: GPS data processed {"connection_id":216762,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:04:00] local.INFO: Acknowledgment sent {"connection_id":216762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:04:12] local.INFO: TCP Data received {"connection_id":216567,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:04:12] local.INFO: Processing buffer {"connection_id":216567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:04:12] local.INFO: IMEI packet received {"connection_id":216567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":216567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:04:16] local.INFO: TCP Data received {"connection_id":216568,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:04:16] local.INFO: Processing buffer {"connection_id":216568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:04:16] local.INFO: IMEI packet received {"connection_id":216568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":216568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:04:17] local.INFO: TCP Data received {"connection_id":216567,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:04:17] local.INFO: Processing buffer {"connection_id":216567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:04:17] local.INFO: IMEI packet received {"connection_id":216567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":216567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:04:18] local.INFO: TCP Data received {"connection_id":216567,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143303438012d1b5f80072531900038008328..."} 
[2026-10-16 11:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143303438012d1b5f80072531900038008328..."} 
[2026-10-16 11:04:18] local.INFO: Processing buffer {"connection_id":216567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143303438012d1b5f80072531900038008328..."} 
[2026-10-16 11:04:18] local.INFO: Packet analysis {"connection_id":216567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14330"} 
[2026-10-16 11:04:18] local.INFO: Extracted packet for processing {"connection_id":216567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14330"} 
[2026-10-16 11:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":40,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784914944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792128595000,"timestamp_ms":1792128595000,"timestamp_seconds":1792128595,"priority":1,"record_length":96,"hex_timestamp":"000001a143303438"} 
[2026-10-16 11:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:04: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-10-16 11: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":254,"data_length":795,"current_offset":136} 
[2026-10-16 11:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784914944001,"66":12776,"43":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784914944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:04:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784914944001,"power":12776,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":216567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:04:18] local.INFO: GPS data processed {"connection_id":216567,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:04:18] local.INFO: Acknowledgment sent {"connection_id":216567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:04:22] local.INFO: TCP Data received {"connection_id":216568,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:04:22] local.INFO: Processing buffer {"connection_id":216568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:04:22] local.INFO: IMEI packet received {"connection_id":216568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":216568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:04:23] local.INFO: TCP Data received {"connection_id":216568,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:04:23] local.INFO: Processing buffer {"connection_id":216568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:04:23] local.INFO: Packet analysis {"connection_id":216568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:04:23] local.INFO: Extracted packet for processing {"connection_id":216568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:04:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784858880001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792128656000,"timestamp_ms":1792128656000,"timestamp_seconds":1792128656,"priority":1,"record_length":96,"hex_timestamp":"000001a143312280"} 
[2026-10-16 11:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 11:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784858880001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784858880001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:04:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:04:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784858880001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":216568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:04:23] local.INFO: GPS data processed {"connection_id":216568,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:04:23] local.INFO: Acknowledgment sent {"connection_id":216568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:04:26] local.INFO: TCP Data received {"connection_id":219839,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:04:26] local.INFO: Processing buffer {"connection_id":219839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:04:26] local.INFO: IMEI packet received {"connection_id":219839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":219839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:04:29] local.INFO: TCP Data received {"connection_id":216567,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143308640012d1b5f80072531900038008329..."} 
[2026-10-16 11:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143308640012d1b5f80072531900038008329..."} 
[2026-10-16 11:04:29] local.INFO: Processing buffer {"connection_id":216567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143308640012d1b5f80072531900038008329..."} 
[2026-10-16 11:04:29] local.INFO: Packet analysis {"connection_id":216567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14330"} 
[2026-10-16 11:04:29] local.INFO: Extracted packet for processing {"connection_id":216567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14330"} 
[2026-10-16 11:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":41,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11:04: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-10-16 11:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784920320001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792128616000,"timestamp_ms":1792128616000,"timestamp_seconds":1792128616,"priority":1,"record_length":96,"hex_timestamp":"000001a143308640"} 
[2026-10-16 11:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:04: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-10-16 11:04: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":232,"data_length":795,"current_offset":136} 
[2026-10-16 11:04:29] 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-10-16 11:04: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-10-16 11:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784920320001,"66":12722,"43":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784920320001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:04:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784920320001,"power":12722,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":216567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:04:29] local.INFO: GPS data processed {"connection_id":216567,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:04:29] local.INFO: Acknowledgment sent {"connection_id":216567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:04:31] local.INFO: TCP Data received {"connection_id":219839,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:04:31] local.INFO: Processing buffer {"connection_id":219839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:04:31] local.INFO: IMEI packet received {"connection_id":219839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":219839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:04:32] local.INFO: TCP Data received {"connection_id":219839,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:04:32] local.INFO: Processing buffer {"connection_id":219839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:04:32] local.INFO: Packet analysis {"connection_id":219839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:04:32] local.INFO: Extracted packet for processing {"connection_id":219839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784900608001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792128819000,"timestamp_ms":1792128819000,"timestamp_seconds":1792128819,"priority":1,"record_length":96,"hex_timestamp":"000001a143339f38"} 
[2026-10-16 11:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:04:32] 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-10-16 11:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784900608001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784900608001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:04:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:04:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784900608001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":219839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:04:32] local.INFO: GPS data processed {"connection_id":219839,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:04:32] local.INFO: Acknowledgment sent {"connection_id":219839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:04:39] local.INFO: TCP Data received {"connection_id":219839,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:04:39] local.INFO: Processing buffer {"connection_id":219839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:04:39] local.INFO: Packet analysis {"connection_id":219839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:04:39] local.INFO: Extracted packet for processing {"connection_id":219839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784900608001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:39] 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-10-16 11:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792128819000,"timestamp_ms":1792128819000,"timestamp_seconds":1792128819,"priority":1,"record_length":96,"hex_timestamp":"000001a143339f38"} 
[2026-10-16 11:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11: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-10-16 11:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:04:39] 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-10-16 11:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":219839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":219839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":219839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784900608001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784900608001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:04:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:04:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784900608001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":219839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:04:39] local.INFO: GPS data processed {"connection_id":219839,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:04:39] local.INFO: Acknowledgment sent {"connection_id":219839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:04:55] local.INFO: TCP Data received {"connection_id":216568,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:04:55] local.INFO: Processing buffer {"connection_id":216568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:04:55] local.INFO: Packet analysis {"connection_id":216568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:04:55] local.INFO: Extracted packet for processing {"connection_id":216568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784858880001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792128656000,"timestamp_ms":1792128656000,"timestamp_seconds":1792128656,"priority":1,"record_length":96,"hex_timestamp":"000001a143312280"} 
[2026-10-16 11:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 11:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784858880001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784858880001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:04:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:04:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784858880001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":216568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:04:55] local.INFO: GPS data processed {"connection_id":216568,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:04:55] local.INFO: Acknowledgment sent {"connection_id":216568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:05:07] local.INFO: TCP Data received {"connection_id":218114,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:05:07] local.INFO: Processing buffer {"connection_id":218114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:05:07] local.INFO: IMEI packet received {"connection_id":218114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":218114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:05:07] local.INFO: TCP Data received {"connection_id":218114,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:05:07] local.INFO: Processing buffer {"connection_id":218114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:05:07] local.INFO: IMEI packet received {"connection_id":218114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":218114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:05:12] local.INFO: TCP Data received {"connection_id":218114,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:05:12] local.INFO: Processing buffer {"connection_id":218114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:05:12] local.INFO: IMEI packet received {"connection_id":218114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":218114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:05:15] local.INFO: TCP Data received {"connection_id":218114,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14330d848012d1b5f80072531900038008326..."} 
[2026-10-16 11:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14330d848012d1b5f80072531900038008326..."} 
[2026-10-16 11:05:15] local.INFO: Processing buffer {"connection_id":218114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14330d848012d1b5f80072531900038008326..."} 
[2026-10-16 11:05:15] local.INFO: Packet analysis {"connection_id":218114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14330"} 
[2026-10-16 11:05:15] local.INFO: Extracted packet for processing {"connection_id":218114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14330"} 
[2026-10-16 11:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":38,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784925696001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792128637000,"timestamp_ms":1792128637000,"timestamp_seconds":1792128637,"priority":1,"record_length":96,"hex_timestamp":"000001a14330d848"} 
[2026-10-16 11:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:05: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-10-16 11: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-10-16 11:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784925696001,"66":12711,"43":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784925696001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:05:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784925696001,"power":12711,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":218114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:05:15] local.INFO: GPS data processed {"connection_id":218114,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:05:15] local.INFO: Acknowledgment sent {"connection_id":218114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:05:16] local.INFO: TCP Data received {"connection_id":218115,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:05:16] local.INFO: Processing buffer {"connection_id":218115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:05:16] local.INFO: IMEI packet received {"connection_id":218115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":218115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:05:21] local.INFO: TCP Data received {"connection_id":219841,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:05:21] local.INFO: Processing buffer {"connection_id":219841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:05:21] local.INFO: IMEI packet received {"connection_id":219841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":219841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:05:22] local.INFO: TCP Data received {"connection_id":218115,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:05:22] local.INFO: Processing buffer {"connection_id":218115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:05:22] local.INFO: IMEI packet received {"connection_id":218115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":218115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:05:24] local.INFO: TCP Data received {"connection_id":218115,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:05:24] local.INFO: Processing buffer {"connection_id":218115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:05:24] local.INFO: Packet analysis {"connection_id":218115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:05:24] local.INFO: Extracted packet for processing {"connection_id":218115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784858880001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792128656000,"timestamp_ms":1792128656000,"timestamp_seconds":1792128656,"priority":1,"record_length":96,"hex_timestamp":"000001a143312280"} 
[2026-10-16 11:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 11:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":218115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":218115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":218115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784858880001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784858880001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:05:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:05:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784858880001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":218115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:05:24] local.INFO: GPS data processed {"connection_id":218115,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:05:24] local.INFO: Acknowledgment sent {"connection_id":218115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:05:26] local.INFO: TCP Data received {"connection_id":219841,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:05:26] local.INFO: Processing buffer {"connection_id":219841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:05:26] local.INFO: IMEI packet received {"connection_id":219841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":219841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:05:27] local.INFO: TCP Data received {"connection_id":219841,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:05:27] local.INFO: Processing buffer {"connection_id":219841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:05:27] local.INFO: Packet analysis {"connection_id":219841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:05:27] local.INFO: Extracted packet for processing {"connection_id":219841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784900608001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:27] 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-10-16 11:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128819000,"timestamp_ms":1792128819000,"timestamp_seconds":1792128819,"priority":1,"record_length":96,"hex_timestamp":"000001a143339f38"} 
[2026-10-16 11:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784900608001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784900608001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:05:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:05:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784900608001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":219841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:05:27] local.INFO: GPS data processed {"connection_id":219841,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:05:27] local.INFO: Acknowledgment sent {"connection_id":219841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:05:46] local.INFO: TCP Data received {"connection_id":218114,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143312a50012d1b5f80072531900038008327..."} 
[2026-10-16 11:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312a50012d1b5f80072531900038008327..."} 
[2026-10-16 11:05:46] local.INFO: Processing buffer {"connection_id":218114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312a50012d1b5f80072531900038008327..."} 
[2026-10-16 11:05:46] local.INFO: Packet analysis {"connection_id":218114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:05:46] local.INFO: Extracted packet for processing {"connection_id":218114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":39,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784931072001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792128658000,"timestamp_ms":1792128658000,"timestamp_seconds":1792128658,"priority":1,"record_length":96,"hex_timestamp":"000001a143312a50"} 
[2026-10-16 11:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:05: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-10-16 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-16 11:05:46] 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-10-16 11: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-10-16 11:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784931072001,"66":11765,"43":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-10-16 11:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784931072001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:05:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 11:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784931072001,"power":11765,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":218114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:05:46] local.INFO: GPS data processed {"connection_id":218114,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:05:46] local.INFO: Acknowledgment sent {"connection_id":218114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:05:56] local.INFO: TCP Data received {"connection_id":218115,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:05:56] local.INFO: Processing buffer {"connection_id":218115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:05:56] local.INFO: Packet analysis {"connection_id":218115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:05:56] local.INFO: Extracted packet for processing {"connection_id":218115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784858880001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792128656000,"timestamp_ms":1792128656000,"timestamp_seconds":1792128656,"priority":1,"record_length":96,"hex_timestamp":"000001a143312280"} 
[2026-10-16 11:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 11:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784858880001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784858880001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:05:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:05:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784858880001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":218115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:05:56] local.INFO: GPS data processed {"connection_id":218115,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:05:56] local.INFO: Acknowledgment sent {"connection_id":218115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:06:01] local.INFO: TCP Data received {"connection_id":219841,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:06:01] local.INFO: Processing buffer {"connection_id":219841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:06:01] local.INFO: Packet analysis {"connection_id":219841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:06:01] local.INFO: Extracted packet for processing {"connection_id":219841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784900608001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:01] 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-10-16 11:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792128819000,"timestamp_ms":1792128819000,"timestamp_seconds":1792128819,"priority":1,"record_length":96,"hex_timestamp":"000001a143339f38"} 
[2026-10-16 11:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:06:01] 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-10-16 11:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784900608001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784900608001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:06:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:06:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784900608001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":219841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:06:01] local.INFO: GPS data processed {"connection_id":219841,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:06:01] local.INFO: Acknowledgment sent {"connection_id":219841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:06:06] local.INFO: TCP Data received {"connection_id":216569,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:06:06] local.INFO: Processing buffer {"connection_id":216569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:06:06] local.INFO: IMEI packet received {"connection_id":216569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":216569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:06:07] local.INFO: TCP Data received {"connection_id":218116,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:06:07] local.INFO: Processing buffer {"connection_id":218116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:06:07] local.INFO: IMEI packet received {"connection_id":218116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":218116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:06:09] local.INFO: TCP Data received {"connection_id":218116,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:06:09] local.INFO: Processing buffer {"connection_id":218116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:06:09] local.INFO: IMEI packet received {"connection_id":218116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":218116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:06:10] local.INFO: TCP Data received {"connection_id":218116,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14334b0a8012d1b5f8007253190003800832a..."} 
[2026-10-16 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14334b0a8012d1b5f8007253190003800832a..."} 
[2026-10-16 11:06:10] local.INFO: Processing buffer {"connection_id":218116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14334b0a8012d1b5f8007253190003800832a..."} 
[2026-10-16 11:06:10] local.INFO: Packet analysis {"connection_id":218116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14334"} 
[2026-10-16 11:06:10] local.INFO: Extracted packet for processing {"connection_id":218116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14334"} 
[2026-10-16 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784990208001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792128889000,"timestamp_ms":1792128889000,"timestamp_seconds":1792128889,"priority":1,"record_length":96,"hex_timestamp":"000001a14334b0a8"} 
[2026-10-16 11:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:06: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-10-16 11: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-10-16 11:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":218116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":218116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":218116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784990208001,"66":12678,"44":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784990208001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784990208001,"power":12678,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":218116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:06:10] local.INFO: GPS data processed {"connection_id":218116,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:06:10] local.INFO: Acknowledgment sent {"connection_id":218116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:06:16] local.INFO: TCP Data received {"connection_id":216570,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:06:16] local.INFO: Processing buffer {"connection_id":216570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:06:16] local.INFO: IMEI packet received {"connection_id":216570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":216570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:06:21] local.INFO: TCP Data received {"connection_id":216571,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:06:21] local.INFO: Processing buffer {"connection_id":216571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:06:21] local.INFO: IMEI packet received {"connection_id":216571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":216571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:06:22] local.INFO: TCP Data received {"connection_id":216570,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:06:22] local.INFO: Processing buffer {"connection_id":216570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:06:22] local.INFO: IMEI packet received {"connection_id":216570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":216570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:06:24] local.INFO: TCP Data received {"connection_id":216570,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:06:24] local.INFO: Processing buffer {"connection_id":216570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143312280012d7fa40005afce580009000a2e..."} 
[2026-10-16 11:06:24] local.INFO: Packet analysis {"connection_id":216570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:06:24] local.INFO: Extracted packet for processing {"connection_id":216570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14331"} 
[2026-10-16 11:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784858880001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792128656000,"timestamp_ms":1792128656000,"timestamp_seconds":1792128656,"priority":1,"record_length":96,"hex_timestamp":"000001a143312280"} 
[2026-10-16 11:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-10-16 11:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784858880001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784858880001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:06:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:06:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784858880001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":216570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:06:24] local.INFO: GPS data processed {"connection_id":216570,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:06:24] local.INFO: Acknowledgment sent {"connection_id":216570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:06:26] local.INFO: TCP Data received {"connection_id":216571,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:06:26] local.INFO: Processing buffer {"connection_id":216571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:06:26] local.INFO: IMEI packet received {"connection_id":216571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":216571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:06:27] local.INFO: TCP Data received {"connection_id":216571,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:06:27] local.INFO: Processing buffer {"connection_id":216571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:06:27] local.INFO: Packet analysis {"connection_id":216571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:06:27] local.INFO: Extracted packet for processing {"connection_id":216571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784900608001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:27] 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-10-16 11:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128819000,"timestamp_ms":1792128819000,"timestamp_seconds":1792128819,"priority":1,"record_length":96,"hex_timestamp":"000001a143339f38"} 
[2026-10-16 11:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784900608001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784900608001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:06:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:06:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784900608001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":216571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:06:27] local.INFO: GPS data processed {"connection_id":216571,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:06:27] local.INFO: Acknowledgment sent {"connection_id":216571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:06:44] local.INFO: TCP Data received {"connection_id":218116,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433502b0012d1b5f80072531900038008329..."} 
[2026-10-16 11:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433502b0012d1b5f80072531900038008329..."} 
[2026-10-16 11:06:44] local.INFO: Processing buffer {"connection_id":218116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433502b0012d1b5f80072531900038008329..."} 
[2026-10-16 11:06:44] local.INFO: Packet analysis {"connection_id":218116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:06:44] local.INFO: Extracted packet for processing {"connection_id":218116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":41,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784995584001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792128910000,"timestamp_ms":1792128910000,"timestamp_seconds":1792128910,"priority":1,"record_length":96,"hex_timestamp":"000001a1433502b0"} 
[2026-10-16 11:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:06: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-10-16 11: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-10-16 11:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784995584001,"66":12645,"44":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784995584001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:06:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784995584001,"power":12645,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":218116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:06:45] local.INFO: GPS data processed {"connection_id":218116,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:06:45] local.INFO: Acknowledgment sent {"connection_id":218116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:06:55] local.INFO: TCP Data received {"connection_id":216570,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:06:55] local.INFO: Processing buffer {"connection_id":216570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:06:55] local.INFO: Packet analysis {"connection_id":216570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:06:55] local.INFO: Extracted packet for processing {"connection_id":216570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784935936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792128957000,"timestamp_ms":1792128957000,"timestamp_seconds":1792128957,"priority":1,"record_length":96,"hex_timestamp":"000001a14335ba48"} 
[2026-10-16 11:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784935936001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784935936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:06:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:06:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784935936001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":216570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:06:55] local.INFO: GPS data processed {"connection_id":216570,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:06:55] local.INFO: Acknowledgment sent {"connection_id":216570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:06:56] local.INFO: TCP Data received {"connection_id":216572,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:06:56] local.INFO: Processing buffer {"connection_id":216572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:06:56] local.INFO: IMEI packet received {"connection_id":216572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":216572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:06:58] local.INFO: TCP Data received {"connection_id":216571,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:06:58] local.INFO: Processing buffer {"connection_id":216571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:06:58] local.INFO: Packet analysis {"connection_id":216571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:06:58] local.INFO: Extracted packet for processing {"connection_id":216571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:06: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-10-16 11:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784900608001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:06:58] 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-10-16 11:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792128819000,"timestamp_ms":1792128819000,"timestamp_seconds":1792128819,"priority":1,"record_length":96,"hex_timestamp":"000001a143339f38"} 
[2026-10-16 11:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:06: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":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:06:58] 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-10-16 11:06: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-10-16 11:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784900608001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784900608001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:06:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784900608001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":216571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:06:58] local.INFO: GPS data processed {"connection_id":216571,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:06:58] local.INFO: Acknowledgment sent {"connection_id":216571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:07:07] local.INFO: TCP Data received {"connection_id":218117,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:07:07] local.INFO: Processing buffer {"connection_id":218117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:07:07] local.INFO: IMEI packet received {"connection_id":218117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":218117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:07:13] local.INFO: TCP Data received {"connection_id":218117,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:07:13] local.INFO: Processing buffer {"connection_id":218117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:07:13] local.INFO: IMEI packet received {"connection_id":218117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":218117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:07:14] local.INFO: TCP Data received {"connection_id":218117,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433554b8012d1b5f80072531900038008329..."} 
[2026-10-16 11:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433554b8012d1b5f80072531900038008329..."} 
[2026-10-16 11:07:14] local.INFO: Processing buffer {"connection_id":218117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433554b8012d1b5f80072531900038008329..."} 
[2026-10-16 11:07:14] local.INFO: Packet analysis {"connection_id":218117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:07:14] local.INFO: Extracted packet for processing {"connection_id":218117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":41,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785000960001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792128931000,"timestamp_ms":1792128931000,"timestamp_seconds":1792128931,"priority":1,"record_length":96,"hex_timestamp":"000001a1433554b8"} 
[2026-10-16 11:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:07:14] 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-10-16 11: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-10-16 11:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785000960001,"66":12580,"44":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785000960001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:07:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785000960001,"power":12580,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":218117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:07:14] local.INFO: GPS data processed {"connection_id":218117,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:07:14] local.INFO: Acknowledgment sent {"connection_id":218117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:07:16] local.INFO: TCP Data received {"connection_id":219842,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:07:16] local.INFO: Processing buffer {"connection_id":219842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:07:16] local.INFO: IMEI packet received {"connection_id":219842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":219842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:07:21] local.INFO: TCP Data received {"connection_id":219843,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:07:21] local.INFO: Processing buffer {"connection_id":219843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:07:21] local.INFO: IMEI packet received {"connection_id":219843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":219843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:07:21] local.INFO: TCP Data received {"connection_id":219842,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:07:21] local.INFO: Processing buffer {"connection_id":219842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:07:21] local.INFO: IMEI packet received {"connection_id":219842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":219842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:07:22] local.INFO: TCP Data received {"connection_id":219842,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:07:22] local.INFO: Processing buffer {"connection_id":219842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:07:22] local.INFO: Packet analysis {"connection_id":219842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:07:22] local.INFO: Extracted packet for processing {"connection_id":219842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784935936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792128957000,"timestamp_ms":1792128957000,"timestamp_seconds":1792128957,"priority":1,"record_length":96,"hex_timestamp":"000001a14335ba48"} 
[2026-10-16 11:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784935936001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784935936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:07:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:07:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784935936001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":219842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:07:22] local.INFO: GPS data processed {"connection_id":219842,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:07:22] local.INFO: Acknowledgment sent {"connection_id":219842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:07:26] local.INFO: TCP Data received {"connection_id":219843,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:07:26] local.INFO: Processing buffer {"connection_id":219843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:07:26] local.INFO: IMEI packet received {"connection_id":219843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":219843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:07:27] local.INFO: TCP Data received {"connection_id":219843,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:07:27] local.INFO: Processing buffer {"connection_id":219843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:07:27] local.INFO: Packet analysis {"connection_id":219843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:07:27] local.INFO: Extracted packet for processing {"connection_id":219843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784900608001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:27] 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-10-16 11:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792128819000,"timestamp_ms":1792128819000,"timestamp_seconds":1792128819,"priority":1,"record_length":96,"hex_timestamp":"000001a143339f38"} 
[2026-10-16 11:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784900608001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784900608001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:07:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:07:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784900608001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":219843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:07:27] local.INFO: GPS data processed {"connection_id":219843,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:07:27] local.INFO: Acknowledgment sent {"connection_id":219843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:07:45] local.INFO: TCP Data received {"connection_id":218117,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14335a6c0012d1b5f8007253190003800832a..."} 
[2026-10-16 11:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335a6c0012d1b5f8007253190003800832a..."} 
[2026-10-16 11:07:45] local.INFO: Processing buffer {"connection_id":218117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335a6c0012d1b5f8007253190003800832a..."} 
[2026-10-16 11:07:45] local.INFO: Packet analysis {"connection_id":218117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:07:45] local.INFO: Extracted packet for processing {"connection_id":218117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785006336001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792128952000,"timestamp_ms":1792128952000,"timestamp_seconds":1792128952,"priority":1,"record_length":96,"hex_timestamp":"000001a14335a6c0"} 
[2026-10-16 11:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:07: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-10-16 11: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":36,"data_length":795,"current_offset":136} 
[2026-10-16 11:07:45] 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-10-16 11: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-10-16 11:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785006336001,"66":12254,"44":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785006336001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:07:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785006336001,"power":12254,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":218117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:07:45] local.INFO: GPS data processed {"connection_id":218117,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:07:45] local.INFO: Acknowledgment sent {"connection_id":218117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:07:55] local.INFO: TCP Data received {"connection_id":219842,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:07:55] local.INFO: Processing buffer {"connection_id":219842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:07:55] local.INFO: Packet analysis {"connection_id":219842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:07:55] local.INFO: Extracted packet for processing {"connection_id":219842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:07:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784935936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792128957000,"timestamp_ms":1792128957000,"timestamp_seconds":1792128957,"priority":1,"record_length":96,"hex_timestamp":"000001a14335ba48"} 
[2026-10-16 11:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784935936001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784935936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:07:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:07:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784935936001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":219842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:07:55] local.INFO: GPS data processed {"connection_id":219842,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:07:55] local.INFO: Acknowledgment sent {"connection_id":219842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:07:58] local.INFO: TCP Data received {"connection_id":219843,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:07:58] local.INFO: Processing buffer {"connection_id":219843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:07:58] local.INFO: Packet analysis {"connection_id":219843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:07:58] local.INFO: Extracted packet for processing {"connection_id":219843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784900608001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:07:58] 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-10-16 11:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792128819000,"timestamp_ms":1792128819000,"timestamp_seconds":1792128819,"priority":1,"record_length":96,"hex_timestamp":"000001a143339f38"} 
[2026-10-16 11:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:07:58] 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-10-16 11:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784900608001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784900608001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:07:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:07:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784900608001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":219843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:07:58] local.INFO: GPS data processed {"connection_id":219843,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:07:58] local.INFO: Acknowledgment sent {"connection_id":219843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:08:08] local.INFO: TCP Data received {"connection_id":216573,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:08:08] local.INFO: Processing buffer {"connection_id":216573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:08:08] local.INFO: IMEI packet received {"connection_id":216573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":216573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:08:12] local.INFO: TCP Data received {"connection_id":216573,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:08:12] local.INFO: Processing buffer {"connection_id":216573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:08:12] local.INFO: IMEI packet received {"connection_id":216573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":216573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:08:13] local.INFO: TCP Data received {"connection_id":216573,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14335f8c8012d1b5f80072531900038008327..."} 
[2026-10-16 11:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335f8c8012d1b5f80072531900038008327..."} 
[2026-10-16 11:08:13] local.INFO: Processing buffer {"connection_id":216573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335f8c8012d1b5f80072531900038008327..."} 
[2026-10-16 11:08:13] local.INFO: Packet analysis {"connection_id":216573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:08:13] local.INFO: Extracted packet for processing {"connection_id":216573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":39,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785011712001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792128973000,"timestamp_ms":1792128973000,"timestamp_seconds":1792128973,"priority":1,"record_length":96,"hex_timestamp":"000001a14335f8c8"} 
[2026-10-16 11:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-10-16 11:08:13] 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-10-16 11:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785011712001,"66":14048,"44":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785011712001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785011712001,"power":14048,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":216573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:08:13] local.INFO: GPS data processed {"connection_id":216573,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:08:13] local.INFO: Acknowledgment sent {"connection_id":216573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:08:16] local.INFO: TCP Data received {"connection_id":216764,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:08:16] local.INFO: Processing buffer {"connection_id":216764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:08:16] local.INFO: IMEI packet received {"connection_id":216764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":216764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:08:20] local.INFO: TCP Data received {"connection_id":216574,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:08:20] local.INFO: Processing buffer {"connection_id":216574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:08:20] local.INFO: IMEI packet received {"connection_id":216574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":216574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:08:22] local.INFO: TCP Data received {"connection_id":216764,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:08:22] local.INFO: Processing buffer {"connection_id":216764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:08:22] local.INFO: IMEI packet received {"connection_id":216764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":216764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:08:23] local.INFO: TCP Data received {"connection_id":216764,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:08:23] local.INFO: Processing buffer {"connection_id":216764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:08:23] local.INFO: Packet analysis {"connection_id":216764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:08:23] local.INFO: Extracted packet for processing {"connection_id":216764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784935936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792128957000,"timestamp_ms":1792128957000,"timestamp_seconds":1792128957,"priority":1,"record_length":96,"hex_timestamp":"000001a14335ba48"} 
[2026-10-16 11:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784935936001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784935936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:08:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:08:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784935936001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":216764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:08:23] local.INFO: GPS data processed {"connection_id":216764,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:08:23] local.INFO: Acknowledgment sent {"connection_id":216764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:08:26] local.INFO: TCP Data received {"connection_id":216574,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:08:26] local.INFO: Processing buffer {"connection_id":216574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:08:26] local.INFO: IMEI packet received {"connection_id":216574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":216574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:08:31] local.INFO: TCP Data received {"connection_id":216574,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:08:31] local.INFO: Processing buffer {"connection_id":216574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143339f38012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:08:31] local.INFO: Packet analysis {"connection_id":216574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:08:31] local.INFO: Extracted packet for processing {"connection_id":216574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14333"} 
[2026-10-16 11:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784900608001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792128819000,"timestamp_ms":1792128819000,"timestamp_seconds":1792128819,"priority":1,"record_length":96,"hex_timestamp":"000001a143339f38"} 
[2026-10-16 11:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:08:32] 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-10-16 11:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784900608001,"66":12743,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784900608001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:08:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:08:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784900608001,"power":12743,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":216574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:08:32] local.INFO: GPS data processed {"connection_id":216574,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:08:32] local.INFO: Acknowledgment sent {"connection_id":216574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:08:44] local.INFO: TCP Data received {"connection_id":216573,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143364ad0012d1b5f8007253190003800832a..."} 
[2026-10-16 11:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143364ad0012d1b5f8007253190003800832a..."} 
[2026-10-16 11:08:44] local.INFO: Processing buffer {"connection_id":216573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143364ad0012d1b5f8007253190003800832a..."} 
[2026-10-16 11:08:44] local.INFO: Packet analysis {"connection_id":216573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14336"} 
[2026-10-16 11:08:44] local.INFO: Extracted packet for processing {"connection_id":216573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14336"} 
[2026-10-16 11:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119878032,"longitude_deg":75.676864,"latitude_deg":11.9878032,"altitude":56,"angle":131,"satellites":42,"speed":0,"hex_longitude":"2d1b5f80","hex_latitude":"07253190","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785017088001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132040083767296,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792128994000,"timestamp_ms":1792128994000,"timestamp_seconds":1792128994,"priority":1,"record_length":96,"hex_timestamp":"000001a143364ad0"} 
[2026-10-16 11:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 11:08:44] 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-10-16 11: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-10-16 11:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785017088001,"66":13646,"44":206,"83":41984,"24":0,"16":28132040083767296,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785017088001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:08:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132040083767296,"km_value":28132040083767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785017088001,"power":13646,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":216573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:08:45] local.INFO: GPS data processed {"connection_id":216573,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:08:45] local.INFO: Acknowledgment sent {"connection_id":216573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:08:55] local.INFO: TCP Data received {"connection_id":216764,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:08:55] local.INFO: Processing buffer {"connection_id":216764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:08:55] local.INFO: Packet analysis {"connection_id":216764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:08:55] local.INFO: Extracted packet for processing {"connection_id":216764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784935936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792128957000,"timestamp_ms":1792128957000,"timestamp_seconds":1792128957,"priority":1,"record_length":96,"hex_timestamp":"000001a14335ba48"} 
[2026-10-16 11:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784935936001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784935936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:08:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:08:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784935936001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":216764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:08:55] local.INFO: GPS data processed {"connection_id":216764,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:08:55] local.INFO: Acknowledgment sent {"connection_id":216764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:09:03] local.INFO: TCP Data received {"connection_id":216574,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:09:03] local.INFO: Processing buffer {"connection_id":216574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:09:03] local.INFO: Packet analysis {"connection_id":216574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:09:03] local.INFO: Extracted packet for processing {"connection_id":216574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784977664001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792129120000,"timestamp_ms":1792129120000,"timestamp_seconds":1792129120,"priority":1,"record_length":96,"hex_timestamp":"000001a143383700"} 
[2026-10-16 11:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784977664001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784977664001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:09:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:09:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784977664001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":216574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:09:03] local.INFO: GPS data processed {"connection_id":216574,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:09:03] local.INFO: Acknowledgment sent {"connection_id":216574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:09:06] local.INFO: TCP Data received {"connection_id":216765,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:09:06] local.INFO: Processing buffer {"connection_id":216765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:09:06] local.INFO: IMEI packet received {"connection_id":216765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":216765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:09:07] local.INFO: TCP Data received {"connection_id":216765,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:09:07] local.INFO: Processing buffer {"connection_id":216765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:09:07] local.INFO: IMEI packet received {"connection_id":216765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":216765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:09:12] local.INFO: TCP Data received {"connection_id":216765,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:09:12] local.INFO: Processing buffer {"connection_id":216765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:09:12] local.INFO: IMEI packet received {"connection_id":216765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":216765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:09:13] local.INFO: TCP Data received {"connection_id":216765,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143365688012d1b618007252f90002700c62b..."} 
[2026-10-16 11:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143365688012d1b618007252f90002700c62b..."} 
[2026-10-16 11:09:13] local.INFO: Processing buffer {"connection_id":216765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143365688012d1b618007252f90002700c62b..."} 
[2026-10-16 11:09:13] local.INFO: Packet analysis {"connection_id":216765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14336"} 
[2026-10-16 11:09:13] local.INFO: Extracted packet for processing {"connection_id":216765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14336"} 
[2026-10-16 11:09:13] local.INFO: GPS Element Parsed {"raw_longitude":756769152,"raw_latitude":119877520,"longitude_deg":75.6769152,"latitude_deg":11.987752,"altitude":39,"angle":198,"satellites":43,"speed":1,"hex_longitude":"2d1b6180","hex_latitude":"07252f90","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785022464001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132074443505664,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929988698112,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792128997000,"timestamp_ms":1792128997000,"timestamp_seconds":1792128997,"priority":1,"record_length":96,"hex_timestamp":"000001a143365688"} 
[2026-10-16 11:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-10-16 11:09:13] 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-10-16 11: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-10-16 11:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785022464001,"66":13515,"44":206,"83":41984,"24":1,"16":28132074443505664,"45":1972435929988698112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785022464001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132074443505664,"km_value":28132074443505.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929988698112,"description":"Unknown IO ID 45"} 
[2026-10-16 11:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785022464001,"power":13515,"unknown_44":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1972435929988698112}} 
[2026-10-16 11:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":216765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:09:13] local.INFO: GPS data processed {"connection_id":216765,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:09:13] local.INFO: Acknowledgment sent {"connection_id":216765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:09:16] local.INFO: TCP Data received {"connection_id":218118,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:09:16] local.INFO: Processing buffer {"connection_id":218118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:09:16] local.INFO: IMEI packet received {"connection_id":218118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":218118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:09:20] local.INFO: TCP Data received {"connection_id":219845,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:09:20] local.INFO: Processing buffer {"connection_id":219845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:09:20] local.INFO: IMEI packet received {"connection_id":219845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":219845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:09:22] local.INFO: TCP Data received {"connection_id":218118,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:09:22] local.INFO: Processing buffer {"connection_id":218118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:09:22] local.INFO: IMEI packet received {"connection_id":218118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":218118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:09:23] local.INFO: TCP Data received {"connection_id":218118,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:09:23] local.INFO: Processing buffer {"connection_id":218118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:09:23] local.INFO: Packet analysis {"connection_id":218118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:09:23] local.INFO: Extracted packet for processing {"connection_id":218118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784935936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792128957000,"timestamp_ms":1792128957000,"timestamp_seconds":1792128957,"priority":1,"record_length":96,"hex_timestamp":"000001a14335ba48"} 
[2026-10-16 11:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784935936001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784935936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:09:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:09:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784935936001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":218118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:09:23] local.INFO: GPS data processed {"connection_id":218118,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:09:23] local.INFO: Acknowledgment sent {"connection_id":218118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:09:26] local.INFO: TCP Data received {"connection_id":219845,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:09:26] local.INFO: Processing buffer {"connection_id":219845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:09:26] local.INFO: IMEI packet received {"connection_id":219845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":219845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:09:27] local.INFO: TCP Data received {"connection_id":219845,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:09:27] local.INFO: Processing buffer {"connection_id":219845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:09:27] local.INFO: Packet analysis {"connection_id":219845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:09:27] local.INFO: Extracted packet for processing {"connection_id":219845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784977664001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:27] 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-10-16 11:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792129120000,"timestamp_ms":1792129120000,"timestamp_seconds":1792129120,"priority":1,"record_length":96,"hex_timestamp":"000001a143383700"} 
[2026-10-16 11:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784977664001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784977664001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:09:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:09:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784977664001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":219845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:09:27] local.INFO: GPS data processed {"connection_id":219845,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:09:27] local.INFO: Acknowledgment sent {"connection_id":219845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:09:44] local.INFO: TCP Data received {"connection_id":216765,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143368568012d1b614007252de0002700d22b..."} 
[2026-10-16 11:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143368568012d1b614007252de0002700d22b..."} 
[2026-10-16 11:09:44] local.INFO: Processing buffer {"connection_id":216765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143368568012d1b614007252de0002700d22b..."} 
[2026-10-16 11:09:44] local.INFO: Packet analysis {"connection_id":216765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14336"} 
[2026-10-16 11:09:44] local.INFO: Extracted packet for processing {"connection_id":216765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14336"} 
[2026-10-16 11:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756769088,"raw_latitude":119877088,"longitude_deg":75.6769088,"latitude_deg":11.9877088,"altitude":39,"angle":210,"satellites":43,"speed":4,"hex_longitude":"2d1b6140","hex_latitude":"07252de0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785023232001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132104508276736,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972998879941988352,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792129009000,"timestamp_ms":1792129009000,"timestamp_seconds":1792129009,"priority":1,"record_length":96,"hex_timestamp":"000001a143368568"} 
[2026-10-16 11:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-10-16 11:09:44] 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-10-16 11: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-10-16 11:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785023232001,"66":12852,"44":206,"83":41984,"24":4,"16":28132104508276736,"45":1972998879941988352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785023232001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:09:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:09:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132104508276736,"km_value":28132104508276.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972998879941988352,"description":"Unknown IO ID 45"} 
[2026-10-16 11:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785023232001,"power":12852,"unknown_44":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1972998879941988352}} 
[2026-10-16 11:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":216765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:09:45] local.INFO: GPS data processed {"connection_id":216765,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:09:45] local.INFO: Acknowledgment sent {"connection_id":216765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:09:55] local.INFO: TCP Data received {"connection_id":218118,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:09:55] local.INFO: Processing buffer {"connection_id":218118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:09:55] local.INFO: Packet analysis {"connection_id":218118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:09:55] local.INFO: Extracted packet for processing {"connection_id":218118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784935936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792128957000,"timestamp_ms":1792128957000,"timestamp_seconds":1792128957,"priority":1,"record_length":96,"hex_timestamp":"000001a14335ba48"} 
[2026-10-16 11:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784935936001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784935936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:09:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:09:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784935936001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":218118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:09:55] local.INFO: GPS data processed {"connection_id":218118,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:09:55] local.INFO: Acknowledgment sent {"connection_id":218118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:09:59] local.INFO: TCP Data received {"connection_id":219845,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:09:59] local.INFO: Processing buffer {"connection_id":219845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:09:59] local.INFO: Packet analysis {"connection_id":219845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:09:59] local.INFO: Extracted packet for processing {"connection_id":219845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784977664001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:09:59] 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-10-16 11:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792129120000,"timestamp_ms":1792129120000,"timestamp_seconds":1792129120,"priority":1,"record_length":96,"hex_timestamp":"000001a143383700"} 
[2026-10-16 11:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:09:59] 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-10-16 11:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784977664001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784977664001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:09:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:09:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784977664001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":219845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:09:59] local.INFO: GPS data processed {"connection_id":219845,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:09:59] local.INFO: Acknowledgment sent {"connection_id":219845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:10:07] local.INFO: TCP Data received {"connection_id":216575,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:10:07] local.INFO: Processing buffer {"connection_id":216575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:10:07] local.INFO: IMEI packet received {"connection_id":216575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":216575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:10:10] local.INFO: TCP Data received {"connection_id":216575,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:10:10] local.INFO: Processing buffer {"connection_id":216575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:10:10] local.INFO: IMEI packet received {"connection_id":216575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":216575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:10:12] local.INFO: TCP Data received {"connection_id":216575,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:10:12] local.INFO: Processing buffer {"connection_id":216575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:10:12] local.INFO: IMEI packet received {"connection_id":216575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":216575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:10:13] local.INFO: TCP Data received {"connection_id":216575,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143368950012d1b614007252d80002700c72c..."} 
[2026-10-16 11:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143368950012d1b614007252d80002700c72c..."} 
[2026-10-16 11:10:13] local.INFO: Processing buffer {"connection_id":216575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143368950012d1b614007252d80002700c72c..."} 
[2026-10-16 11:10:13] local.INFO: Packet analysis {"connection_id":216575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14336"} 
[2026-10-16 11:10:13] local.INFO: Extracted packet for processing {"connection_id":216575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14336"} 
[2026-10-16 11:10:13] local.INFO: GPS Element Parsed {"raw_longitude":756769088,"raw_latitude":119876992,"longitude_deg":75.6769088,"latitude_deg":11.9876992,"altitude":39,"angle":199,"satellites":44,"speed":4,"hex_longitude":"2d1b6140","hex_latitude":"07252d80","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785026304001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132108803244032,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511197700096,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792129010000,"timestamp_ms":1792129010000,"timestamp_seconds":1792129010,"priority":1,"record_length":96,"hex_timestamp":"000001a143368950"} 
[2026-10-16 11:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 11:10:13] 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-10-16 11: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-10-16 11:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785026304001,"66":12950,"44":206,"83":41984,"24":4,"16":28132108803244032,"45":1972928511197700096},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785026304001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132108803244032,"km_value":28132108803244.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511197700096,"description":"Unknown IO ID 45"} 
[2026-10-16 11:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785026304001,"power":12950,"unknown_44":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1972928511197700096}} 
[2026-10-16 11:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":216575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:10:13] local.INFO: GPS data processed {"connection_id":216575,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:10:13] local.INFO: Acknowledgment sent {"connection_id":216575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:10:20] local.INFO: TCP Data received {"connection_id":216766,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:10:20] local.INFO: Processing buffer {"connection_id":216766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:10:20] local.INFO: IMEI packet received {"connection_id":216766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":216766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:10:22] local.INFO: TCP Data received {"connection_id":219846,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:10:22] local.INFO: Processing buffer {"connection_id":219846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:10:22] local.INFO: IMEI packet received {"connection_id":219846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":219846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:10:26] local.INFO: TCP Data received {"connection_id":216766,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:10:26] local.INFO: Processing buffer {"connection_id":216766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:10:26] local.INFO: IMEI packet received {"connection_id":216766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":216766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:10:27] local.INFO: TCP Data received {"connection_id":219846,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:10:27] local.INFO: Processing buffer {"connection_id":219846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:10:27] local.INFO: IMEI packet received {"connection_id":219846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":219846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:10:28] local.INFO: TCP Data received {"connection_id":219846,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:10:28] local.INFO: Processing buffer {"connection_id":219846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:10:28] local.INFO: Packet analysis {"connection_id":219846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:10:28] local.INFO: Extracted packet for processing {"connection_id":219846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784935936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792128957000,"timestamp_ms":1792128957000,"timestamp_seconds":1792128957,"priority":1,"record_length":96,"hex_timestamp":"000001a14335ba48"} 
[2026-10-16 11:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784935936001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784935936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:10:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:10:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784935936001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":219846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:10:28] local.INFO: GPS data processed {"connection_id":219846,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:10:28] local.INFO: Acknowledgment sent {"connection_id":219846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:10:33] local.INFO: TCP Data received {"connection_id":219846,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:10:33] local.INFO: Processing buffer {"connection_id":219846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:10:33] local.INFO: Packet analysis {"connection_id":219846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:10:33] local.INFO: Extracted packet for processing {"connection_id":219846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784935936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792128957000,"timestamp_ms":1792128957000,"timestamp_seconds":1792128957,"priority":1,"record_length":96,"hex_timestamp":"000001a14335ba48"} 
[2026-10-16 11:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784935936001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784935936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:10:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:10:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784935936001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":219846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:10:33] local.INFO: GPS data processed {"connection_id":219846,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:10:33] local.INFO: Acknowledgment sent {"connection_id":219846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:10:44] local.INFO: TCP Data received {"connection_id":216575,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14336b060012d1b5d4007251c50002700bb29..."} 
[2026-10-16 11:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14336b060012d1b5d4007251c50002700bb29..."} 
[2026-10-16 11:10:44] local.INFO: Processing buffer {"connection_id":216575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14336b060012d1b5d4007251c50002700bb29..."} 
[2026-10-16 11:10:44] local.INFO: Packet analysis {"connection_id":216575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14336"} 
[2026-10-16 11:10:44] local.INFO: Extracted packet for processing {"connection_id":216575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14336"} 
[2026-10-16 11:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756768064,"raw_latitude":119872592,"longitude_deg":75.6768064,"latitude_deg":11.9872592,"altitude":39,"angle":187,"satellites":41,"speed":27,"hex_longitude":"2d1b5d40","hex_latitude":"07251c50","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785026560001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132327846576128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511197675520,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792129020000,"timestamp_ms":1792129020000,"timestamp_seconds":1792129020,"priority":1,"record_length":96,"hex_timestamp":"000001a14336b060"} 
[2026-10-16 11:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 11:10:44] 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-10-16 11: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-10-16 11:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785026560001,"66":12939,"44":206,"83":41984,"24":27,"16":28132327846576128,"45":1972928511197675520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785026560001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:10:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132327846576128,"km_value":28132327846576.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511197675520,"description":"Unknown IO ID 45"} 
[2026-10-16 11:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785026560001,"power":12939,"unknown_44":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1972928511197675520}} 
[2026-10-16 11:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":216575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:10:44] local.INFO: GPS data processed {"connection_id":216575,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:10:44] local.INFO: Acknowledgment sent {"connection_id":216575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:10:45] local.INFO: TCP Data received {"connection_id":216766,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:10:45] local.INFO: Processing buffer {"connection_id":216766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:10:45] local.INFO: Packet analysis {"connection_id":216766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:10:45] local.INFO: Extracted packet for processing {"connection_id":216766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:10:45] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:10: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-10-16 11:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784977664001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:10:45] 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-10-16 11:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792129120000,"timestamp_ms":1792129120000,"timestamp_seconds":1792129120,"priority":1,"record_length":96,"hex_timestamp":"000001a143383700"} 
[2026-10-16 11:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:10: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-10-16 11:10: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-10-16 11:10: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-10-16 11:10: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-10-16 11:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784977664001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784977664001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:10:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:10:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784977664001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":216766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:10:45] local.INFO: GPS data processed {"connection_id":216766,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:10:45] local.INFO: Acknowledgment sent {"connection_id":216766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:11:07] local.INFO: TCP Data received {"connection_id":218120,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:11:07] local.INFO: Processing buffer {"connection_id":218120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:11:07] local.INFO: IMEI packet received {"connection_id":218120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":218120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:11:13] local.INFO: TCP Data received {"connection_id":218120,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:11:13] local.INFO: Processing buffer {"connection_id":218120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:11:13] local.INFO: IMEI packet received {"connection_id":218120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":218120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:11:13] local.INFO: TCP Data received {"connection_id":218120,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143370268012d1b5ac00724ffb0002500b129..."} 
[2026-10-16 11:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143370268012d1b5ac00724ffb0002500b129..."} 
[2026-10-16 11:11:13] local.INFO: Processing buffer {"connection_id":218120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143370268012d1b5ac00724ffb0002500b129..."} 
[2026-10-16 11:11:13] local.INFO: Packet analysis {"connection_id":218120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14337"} 
[2026-10-16 11:11:13] local.INFO: Extracted packet for processing {"connection_id":218120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14337"} 
[2026-10-16 11:11:13] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119865264,"longitude_deg":75.6767424,"latitude_deg":11.9865264,"altitude":37,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724ffb0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785029120001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132697213763584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611289706496,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792129041000,"timestamp_ms":1792129041000,"timestamp_seconds":1792129041,"priority":1,"record_length":96,"hex_timestamp":"000001a143370268"} 
[2026-10-16 11:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 11:11: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-10-16 11: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-10-16 11:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785029120001,"66":12874,"44":206,"83":41984,"24":0,"16":28132697213763584,"45":1971802611289706496},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785029120001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132697213763584,"km_value":28132697213763.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611289706496,"description":"Unknown IO ID 45"} 
[2026-10-16 11:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785029120001,"power":12874,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971802611289706496}} 
[2026-10-16 11:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":218120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:11:13] local.INFO: GPS data processed {"connection_id":218120,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:11:13] local.INFO: Acknowledgment sent {"connection_id":218120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:11:16] local.INFO: TCP Data received {"connection_id":216768,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:11:16] local.INFO: Processing buffer {"connection_id":216768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:11:16] local.INFO: IMEI packet received {"connection_id":216768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":216768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:11:20] local.INFO: TCP Data received {"connection_id":216769,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:11:20] local.INFO: Processing buffer {"connection_id":216769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:11:20] local.INFO: IMEI packet received {"connection_id":216769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":216769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:11:22] local.INFO: TCP Data received {"connection_id":216768,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:11:22] local.INFO: Processing buffer {"connection_id":216768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:11:22] local.INFO: IMEI packet received {"connection_id":216768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":216768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:11:23] local.INFO: TCP Data received {"connection_id":216768,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:11:23] local.INFO: Processing buffer {"connection_id":216768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14335ba48012d7fa40005afce580009000a30..."} 
[2026-10-16 11:11:23] local.INFO: Packet analysis {"connection_id":216768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:11:23] local.INFO: Extracted packet for processing {"connection_id":216768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14335"} 
[2026-10-16 11:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784935936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792128957000,"timestamp_ms":1792128957000,"timestamp_seconds":1792128957,"priority":1,"record_length":96,"hex_timestamp":"000001a14335ba48"} 
[2026-10-16 11:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784935936001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784935936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:11:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:11:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784935936001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":216768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:11:23] local.INFO: GPS data processed {"connection_id":216768,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:11:23] local.INFO: Acknowledgment sent {"connection_id":216768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:11:25] local.INFO: TCP Data received {"connection_id":216769,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:11:25] local.INFO: Processing buffer {"connection_id":216769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:11:25] local.INFO: IMEI packet received {"connection_id":216769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":216769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:11:26] local.INFO: TCP Data received {"connection_id":216769,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:11:26] local.INFO: Processing buffer {"connection_id":216769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:11:26] local.INFO: Packet analysis {"connection_id":216769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:11:26] local.INFO: Extracted packet for processing {"connection_id":216769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784977664001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:26] 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-10-16 11:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792129120000,"timestamp_ms":1792129120000,"timestamp_seconds":1792129120,"priority":1,"record_length":96,"hex_timestamp":"000001a143383700"} 
[2026-10-16 11:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:11:26] 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-10-16 11:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784977664001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784977664001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:11:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:11:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784977664001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":216769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:11:26] local.INFO: GPS data processed {"connection_id":216769,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:11:26] local.INFO: Acknowledgment sent {"connection_id":216769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:11:44] local.INFO: TCP Data received {"connection_id":218120,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143375470012d1b5ac00724ffb8002500b129..."} 
[2026-10-16 11:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143375470012d1b5ac00724ffb8002500b129..."} 
[2026-10-16 11:11:44] local.INFO: Processing buffer {"connection_id":218120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143375470012d1b5ac00724ffb8002500b129..."} 
[2026-10-16 11:11:44] local.INFO: Packet analysis {"connection_id":218120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14337"} 
[2026-10-16 11:11:44] local.INFO: Extracted packet for processing {"connection_id":218120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14337"} 
[2026-10-16 11:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119865272,"longitude_deg":75.6767424,"latitude_deg":11.9865272,"altitude":37,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724ffb8","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785034496001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132697213763584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923846053888,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792129062000,"timestamp_ms":1792129062000,"timestamp_seconds":1792129062,"priority":1,"record_length":96,"hex_timestamp":"000001a143375470"} 
[2026-10-16 11:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 11:11: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-10-16 11: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-10-16 11:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785034496001,"66":12928,"44":206,"83":41984,"24":0,"16":28132697213763584,"45":1971098923846053888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785034496001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:11:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132697213763584,"km_value":28132697213763.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923846053888,"description":"Unknown IO ID 45"} 
[2026-10-16 11:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785034496001,"power":12928,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923846053888}} 
[2026-10-16 11:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":218120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:11:45] local.INFO: GPS data processed {"connection_id":218120,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:11:45] local.INFO: Acknowledgment sent {"connection_id":218120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:11:55] local.INFO: TCP Data received {"connection_id":216768,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:11:55] local.INFO: Processing buffer {"connection_id":216768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:11:55] local.INFO: Packet analysis {"connection_id":216768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:11:55] local.INFO: Extracted packet for processing {"connection_id":216768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:11:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:11:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":216768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:11:55] local.INFO: GPS data processed {"connection_id":216768,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:11:55] local.INFO: Acknowledgment sent {"connection_id":216768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:12:00] local.INFO: TCP Data received {"connection_id":216769,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:12:00] local.INFO: Processing buffer {"connection_id":216769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:12:00] local.INFO: Packet analysis {"connection_id":216769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:12:00] local.INFO: Extracted packet for processing {"connection_id":216769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784977664001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:00] 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-10-16 11:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792129120000,"timestamp_ms":1792129120000,"timestamp_seconds":1792129120,"priority":1,"record_length":96,"hex_timestamp":"000001a143383700"} 
[2026-10-16 11:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:12: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-10-16 11: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:12:00] 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-10-16 11:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784977664001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784977664001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:12:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:12:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784977664001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":216769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:12:00] local.INFO: GPS data processed {"connection_id":216769,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:12:00] local.INFO: Acknowledgment sent {"connection_id":216769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:12:12] local.INFO: TCP Data received {"connection_id":219847,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:12:12] local.INFO: Processing buffer {"connection_id":219847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:12:12] local.INFO: IMEI packet received {"connection_id":219847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":219847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:12:15] local.INFO: TCP Data received {"connection_id":219847,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:12:15] local.INFO: Processing buffer {"connection_id":219847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:12:15] local.INFO: IMEI packet received {"connection_id":219847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":219847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:12:17] local.INFO: TCP Data received {"connection_id":219847,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14337a678012d1b5ac00724ffb8002500b129..."} 
[2026-10-16 11:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14337a678012d1b5ac00724ffb8002500b129..."} 
[2026-10-16 11:12:17] local.INFO: Processing buffer {"connection_id":219847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14337a678012d1b5ac00724ffb8002500b129..."} 
[2026-10-16 11:12:17] local.INFO: Packet analysis {"connection_id":219847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14337"} 
[2026-10-16 11:12:17] local.INFO: Extracted packet for processing {"connection_id":219847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14337"} 
[2026-10-16 11:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756767424,"raw_latitude":119865272,"longitude_deg":75.6767424,"latitude_deg":11.9865272,"altitude":37,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d1b5ac0","hex_latitude":"0724ffb8","is_valid_coordinates":true} 
[2026-10-16 11:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785039872001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132697213763584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923846055936,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792129083000,"timestamp_ms":1792129083000,"timestamp_seconds":1792129083,"priority":1,"record_length":96,"hex_timestamp":"000001a14337a678"} 
[2026-10-16 11:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:12: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-10-16 11:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-10-16 11:12:17] 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-10-16 11:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":219847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":219847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":219847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785039872001,"66":12809,"44":206,"83":41984,"24":0,"16":28132697213763584,"45":1971098923846055936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785039872001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:12:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132697213763584,"km_value":28132697213763.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923846055936,"description":"Unknown IO ID 45"} 
[2026-10-16 11:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785039872001,"power":12809,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923846055936}} 
[2026-10-16 11:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":219847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:12:17] local.INFO: GPS data processed {"connection_id":219847,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:12:17] local.INFO: Acknowledgment sent {"connection_id":219847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:12:20] local.INFO: TCP Data received {"connection_id":218121,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:12:20] local.INFO: Processing buffer {"connection_id":218121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:12:20] local.INFO: IMEI packet received {"connection_id":218121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":218121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:12:21] local.INFO: TCP Data received {"connection_id":216770,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:12:21] local.INFO: Processing buffer {"connection_id":216770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:12:21] local.INFO: IMEI packet received {"connection_id":216770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":216770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:12:22] local.INFO: TCP Data received {"connection_id":219848,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:12:22] local.INFO: Processing buffer {"connection_id":219848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:12:22] local.INFO: IMEI packet received {"connection_id":219848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":219848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:12:26] local.INFO: TCP Data received {"connection_id":218121,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:12:26] local.INFO: Processing buffer {"connection_id":218121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:12:26] local.INFO: IMEI packet received {"connection_id":218121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":218121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:12:27] local.INFO: TCP Data received {"connection_id":219848,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:12:27] local.INFO: Processing buffer {"connection_id":219848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:12:27] local.INFO: IMEI packet received {"connection_id":219848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":219848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:12:28] local.INFO: TCP Data received {"connection_id":219848,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:12:28] local.INFO: Processing buffer {"connection_id":219848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:12:28] local.INFO: Packet analysis {"connection_id":219848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:12:28] local.INFO: Extracted packet for processing {"connection_id":219848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:12:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:12:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":219848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:12:28] local.INFO: GPS data processed {"connection_id":219848,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:12:28] local.INFO: Acknowledgment sent {"connection_id":219848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:12:33] local.INFO: TCP Data received {"connection_id":219848,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:12:33] local.INFO: Processing buffer {"connection_id":219848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:12:33] local.INFO: Packet analysis {"connection_id":219848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:12:33] local.INFO: Extracted packet for processing {"connection_id":219848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:12:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:12:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":219848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:12:33] local.INFO: GPS data processed {"connection_id":219848,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:12:33] local.INFO: Acknowledgment sent {"connection_id":219848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:12:33] local.INFO: TCP Data received {"connection_id":218121,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:12:33] local.INFO: Processing buffer {"connection_id":218121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:12:33] local.INFO: Packet analysis {"connection_id":218121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:12:33] local.INFO: Extracted packet for processing {"connection_id":218121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784977664001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:33] 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-10-16 11:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792129120000,"timestamp_ms":1792129120000,"timestamp_seconds":1792129120,"priority":1,"record_length":96,"hex_timestamp":"000001a143383700"} 
[2026-10-16 11:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":218121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":218121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":218121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784977664001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784977664001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:12:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:12:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784977664001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":218121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:12:33] local.INFO: GPS data processed {"connection_id":218121,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:12:33] local.INFO: Acknowledgment sent {"connection_id":218121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:12:49] local.INFO: TCP Data received {"connection_id":219847,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14337b618012d1b5740072500480025011d2a..."} 
[2026-10-16 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14337b618012d1b5740072500480025011d2a..."} 
[2026-10-16 11:12:49] local.INFO: Processing buffer {"connection_id":219847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14337b618012d1b5740072500480025011d2a..."} 
[2026-10-16 11:12:49] local.INFO: Packet analysis {"connection_id":219847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14337"} 
[2026-10-16 11:12:49] local.INFO: Extracted packet for processing {"connection_id":219847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14337"} 
[2026-10-16 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756766528,"raw_latitude":119865416,"longitude_deg":75.6766528,"latitude_deg":11.9865416,"altitude":37,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b5740","hex_latitude":"07250048","is_valid_coordinates":true} 
[2026-10-16 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785045248001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132744458403840,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971098923846055936,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792129087000,"timestamp_ms":1792129087000,"timestamp_seconds":1792129087,"priority":1,"record_length":96,"hex_timestamp":"000001a14337b618"} 
[2026-10-16 11:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3912167929795010432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2680081583876113194,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826898704642477,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 11:12:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,44,83,24,241,157,16,242,161,84,45,192,255,37,41,10,66,2,176,64,1,240,139,227,67,4,113,205,133,97,224,43,239,50,99,7,39,52,164,249],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-10-16 11:12:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666325769055109120,"timestamp_seconds":2666325769055109.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":219847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":219847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":219847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785045248001,"66":12874,"44":206,"83":41984,"24":0,"16":28132744458403840,"45":1971098923846055936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785045248001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132744458403840,"km_value":28132744458403.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971098923846055936,"description":"Unknown IO ID 45"} 
[2026-10-16 11:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785045248001,"power":12874,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1971098923846055936}} 
[2026-10-16 11:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":219847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:12:49] local.INFO: GPS data processed {"connection_id":219847,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:12:49] local.INFO: Acknowledgment sent {"connection_id":219847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:12:51] local.INFO: TCP Data received {"connection_id":218122,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:12:51] local.INFO: Processing buffer {"connection_id":218122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:12:51] local.INFO: IMEI packet received {"connection_id":218122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":218122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:13:04] local.INFO: TCP Data received {"connection_id":218121,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:13:04] local.INFO: Processing buffer {"connection_id":218121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:13:04] local.INFO: Packet analysis {"connection_id":218121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:13:04] local.INFO: Extracted packet for processing {"connection_id":218121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784977664001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:04] 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-10-16 11:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792129120000,"timestamp_ms":1792129120000,"timestamp_seconds":1792129120,"priority":1,"record_length":96,"hex_timestamp":"000001a143383700"} 
[2026-10-16 11:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:13: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-10-16 11: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-10-16 11:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":218121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":218121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":218121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784977664001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784977664001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:13:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:13:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784977664001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":218121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:13:04] local.INFO: GPS data processed {"connection_id":218121,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:13:04] local.INFO: Acknowledgment sent {"connection_id":218121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:13:10] local.INFO: TCP Data received {"connection_id":219849,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:13:10] local.INFO: Processing buffer {"connection_id":219849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:13:10] local.INFO: IMEI packet received {"connection_id":219849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":219849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:13:13] local.INFO: TCP Data received {"connection_id":219849,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:13:13] local.INFO: Processing buffer {"connection_id":219849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:13:13] local.INFO: IMEI packet received {"connection_id":219849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":219849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:13:14] local.INFO: TCP Data received {"connection_id":219849,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143380820012d1b5680072500480025011d2a..."} 
[2026-10-16 11:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143380820012d1b5680072500480025011d2a..."} 
[2026-10-16 11:13:14] local.INFO: Processing buffer {"connection_id":219849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143380820012d1b5680072500480025011d2a..."} 
[2026-10-16 11:13:14] local.INFO: Packet analysis {"connection_id":219849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:13:14] local.INFO: Extracted packet for processing {"connection_id":219849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":119865416,"longitude_deg":75.6766336,"latitude_deg":11.9865416,"altitude":37,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b5680","hex_latitude":"07250048","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785046272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132748753371136,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970113761427605504,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792129108000,"timestamp_ms":1792129108000,"timestamp_seconds":1792129108,"priority":1,"record_length":96,"hex_timestamp":"000001a143380820"} 
[2026-10-16 11:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-10-16 11:13: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-10-16 11: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-10-16 11:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":219849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":219849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":219849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785046272001,"66":12819,"44":206,"83":41984,"24":0,"16":28132748753371136,"45":1970113761427605504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785046272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:13:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132748753371136,"km_value":28132748753371.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970113761427605504,"description":"Unknown IO ID 45"} 
[2026-10-16 11:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785046272001,"power":12819,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1970113761427605504}} 
[2026-10-16 11:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":219849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:13:14] local.INFO: GPS data processed {"connection_id":219849,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:13:14] local.INFO: Acknowledgment sent {"connection_id":219849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:13:16] local.INFO: TCP Data received {"connection_id":216576,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:13:16] local.INFO: Processing buffer {"connection_id":216576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:13:16] local.INFO: IMEI packet received {"connection_id":216576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":216576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:13:18] local.INFO: TCP Data received {"connection_id":219849,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143385a28012d1b52c0072501080027011d29..."} 
[2026-10-16 11:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143385a28012d1b52c0072501080027011d29..."} 
[2026-10-16 11:13:18] local.INFO: Processing buffer {"connection_id":219849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143385a28012d1b52c0072501080027011d29..."} 
[2026-10-16 11:13:18] local.INFO: Packet analysis {"connection_id":219849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:13:18] local.INFO: Extracted packet for processing {"connection_id":219849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785051648001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902655195072512,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792129129000,"timestamp_ms":1792129129000,"timestamp_seconds":1792129129,"priority":1,"record_length":96,"hex_timestamp":"000001a143385a28"} 
[2026-10-16 11:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:13: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-10-16 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504028889219072,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3928660604211650880,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":36,"raw_value":4289724453,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3110862328772689944,"corrected_to":0} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879382714823085,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4063494144,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2679043644614300203,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195025408,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84754073563637039,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.WARNING: Large IO value detected {"io_id":144,"raw_value":10978375216660736,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,44,83,24,241,157,16,242,161,182,45,64,37,42,10,66,166,192,255,41,84,1,240,128,227,67,36,4,113,205,176,93,80,239,50,2,99,7,39,164,69,136,144],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3110862328772689944,"validated":0}]} 
[2026-10-16 11:13:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666444520605876224,"timestamp_seconds":2666444520605876.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":219849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":219849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":219849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785051648001,"66":12798,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1969902655195072512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785051648001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:13:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902655195072512,"description":"Unknown IO ID 45"} 
[2026-10-16 11:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785051648001,"power":12798,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1969902655195072512}} 
[2026-10-16 11:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":219849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:13:18] local.INFO: GPS data processed {"connection_id":219849,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:13:18] local.INFO: Acknowledgment sent {"connection_id":219849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:13:20] local.INFO: TCP Data received {"connection_id":216771,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:13:20] local.INFO: Processing buffer {"connection_id":216771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:13:20] local.INFO: IMEI packet received {"connection_id":216771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":216771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:13:22] local.INFO: TCP Data received {"connection_id":216576,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:13:22] local.INFO: Processing buffer {"connection_id":216576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:13:22] local.INFO: IMEI packet received {"connection_id":216576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":216576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:13:24] local.INFO: TCP Data received {"connection_id":216576,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:13:24] local.INFO: Processing buffer {"connection_id":216576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:13:24] local.INFO: Packet analysis {"connection_id":216576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:13:24] local.INFO: Extracted packet for processing {"connection_id":216576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:13:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:13:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":216576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:13:24] local.INFO: GPS data processed {"connection_id":216576,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:13:24] local.INFO: Acknowledgment sent {"connection_id":216576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:13:26] local.INFO: TCP Data received {"connection_id":216771,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:13:26] local.INFO: Processing buffer {"connection_id":216771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:13:26] local.INFO: IMEI packet received {"connection_id":216771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":216771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:13:27] local.INFO: TCP Data received {"connection_id":216771,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:13:27] local.INFO: Processing buffer {"connection_id":216771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143383700012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:13:27] local.INFO: Packet analysis {"connection_id":216771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:13:27] local.INFO: Extracted packet for processing {"connection_id":216771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458784977664001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:27] 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-10-16 11:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792129120000,"timestamp_ms":1792129120000,"timestamp_seconds":1792129120,"priority":1,"record_length":96,"hex_timestamp":"000001a143383700"} 
[2026-10-16 11:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 11:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458784977664001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458784977664001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:13:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:13:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458784977664001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":216771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:13:27] local.INFO: GPS data processed {"connection_id":216771,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:13:27] local.INFO: Acknowledgment sent {"connection_id":216771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:13:49] local.INFO: TCP Data received {"connection_id":219849,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14338ac30012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14338ac30012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:13:49] local.INFO: Processing buffer {"connection_id":219849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14338ac30012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:13:49] local.INFO: Packet analysis {"connection_id":219849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:13:49] local.INFO: Extracted packet for processing {"connection_id":219849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:13:49] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785057024001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792129150000,"timestamp_ms":1792129150000,"timestamp_seconds":1792129150,"priority":1,"record_length":96,"hex_timestamp":"000001a14338ac30"} 
[2026-10-16 11:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 11:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":219849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":219849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":219849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785057024001,"66":12841,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785057024001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:13:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785057024001,"power":12841,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":219849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:13:50] local.INFO: GPS data processed {"connection_id":219849,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:13:50] local.INFO: Acknowledgment sent {"connection_id":219849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:13:56] local.INFO: TCP Data received {"connection_id":216576,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:13:56] local.INFO: Processing buffer {"connection_id":216576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:13:56] local.INFO: Packet analysis {"connection_id":216576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:13:56] local.INFO: Extracted packet for processing {"connection_id":216576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:13:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:13:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":216576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:13:56] local.INFO: GPS data processed {"connection_id":216576,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:13:56] local.INFO: Acknowledgment sent {"connection_id":216576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:13:58] local.INFO: TCP Data received {"connection_id":216771,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:13:59] local.INFO: Processing buffer {"connection_id":216771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:13:59] local.INFO: Packet analysis {"connection_id":216771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:13:59] local.INFO: Extracted packet for processing {"connection_id":216771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785054720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:13:59] 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-10-16 11:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792129421000,"timestamp_ms":1792129421000,"timestamp_seconds":1792129421,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ccec8"} 
[2026-10-16 11:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785054720001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785054720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:13:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:13:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785054720001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":216771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:13:59] local.INFO: GPS data processed {"connection_id":216771,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:13:59] local.INFO: Acknowledgment sent {"connection_id":216771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:14:08] local.INFO: TCP Data received {"connection_id":218123,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:14:08] local.INFO: Processing buffer {"connection_id":218123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:14:08] local.INFO: IMEI packet received {"connection_id":218123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":218123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:14:12] local.INFO: TCP Data received {"connection_id":218123,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:14:12] local.INFO: Processing buffer {"connection_id":218123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:14:12] local.INFO: IMEI packet received {"connection_id":218123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":218123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:14:13] local.INFO: TCP Data received {"connection_id":218123,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14338fe38012d1b52c0072501080027011d29..."} 
[2026-10-16 11:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14338fe38012d1b52c0072501080027011d29..."} 
[2026-10-16 11:14:13] local.INFO: Processing buffer {"connection_id":218123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14338fe38012d1b52c0072501080027011d29..."} 
[2026-10-16 11:14:13] local.INFO: Packet analysis {"connection_id":218123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:14:13] local.INFO: Extracted packet for processing {"connection_id":218123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14338"} 
[2026-10-16 11:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785062400001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792129171000,"timestamp_ms":1792129171000,"timestamp_seconds":1792129171,"priority":1,"record_length":96,"hex_timestamp":"000001a14338fe38"} 
[2026-10-16 11:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 11:14: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-10-16 11:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785062400001,"66":12667,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785062400001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785062400001,"power":12667,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":218123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:14:13] local.INFO: GPS data processed {"connection_id":218123,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:14:13] local.INFO: Acknowledgment sent {"connection_id":218123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:14:16] local.INFO: TCP Data received {"connection_id":216578,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:14:16] local.INFO: Processing buffer {"connection_id":216578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:14:16] local.INFO: IMEI packet received {"connection_id":216578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":216578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:14:21] local.INFO: TCP Data received {"connection_id":216773,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:14:21] local.INFO: Processing buffer {"connection_id":216773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:14:21] local.INFO: IMEI packet received {"connection_id":216773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":216773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:14:22] local.INFO: TCP Data received {"connection_id":216578,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:14:22] local.INFO: Processing buffer {"connection_id":216578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:14:22] local.INFO: IMEI packet received {"connection_id":216578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":216578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:14:24] local.INFO: TCP Data received {"connection_id":216578,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:14:24] local.INFO: Processing buffer {"connection_id":216578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:14:24] local.INFO: Packet analysis {"connection_id":216578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:14:24] local.INFO: Extracted packet for processing {"connection_id":216578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:14: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-10-16 11:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:14:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:14:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":216578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:14:24] local.INFO: GPS data processed {"connection_id":216578,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:14:24] local.INFO: Acknowledgment sent {"connection_id":216578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:14:26] local.INFO: TCP Data received {"connection_id":216773,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:14:26] local.INFO: Processing buffer {"connection_id":216773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:14:26] local.INFO: IMEI packet received {"connection_id":216773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":216773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:14:27] local.INFO: TCP Data received {"connection_id":216773,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:14:27] local.INFO: Processing buffer {"connection_id":216773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:14:27] local.INFO: Packet analysis {"connection_id":216773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:14:27] local.INFO: Extracted packet for processing {"connection_id":216773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785054720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:27] 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-10-16 11:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792129421000,"timestamp_ms":1792129421000,"timestamp_seconds":1792129421,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ccec8"} 
[2026-10-16 11:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:14:27] 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-10-16 11:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785054720001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785054720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:14:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:14:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785054720001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":216773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:14:27] local.INFO: GPS data processed {"connection_id":216773,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:14:27] local.INFO: Acknowledgment sent {"connection_id":216773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:14:44] local.INFO: TCP Data received {"connection_id":218123,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433c8490012d1b52c0072501080027011d2b..."} 
[2026-10-16 11:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433c8490012d1b52c0072501080027011d2b..."} 
[2026-10-16 11:14:44] local.INFO: Processing buffer {"connection_id":218123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433c8490012d1b52c0072501080027011d2b..."} 
[2026-10-16 11:14:44] local.INFO: Packet analysis {"connection_id":218123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:14:44] local.INFO: Extracted packet for processing {"connection_id":218123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:14:44] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785121536001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792129402000,"timestamp_ms":1792129402000,"timestamp_seconds":1792129402,"priority":1,"record_length":96,"hex_timestamp":"000001a1433c8490"} 
[2026-10-16 11:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:14:44] 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-10-16 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 11:14:44] 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-10-16 11: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-10-16 11:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785121536001,"66":12678,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785121536001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:14:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:14:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785121536001,"power":12678,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":218123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:14:44] local.INFO: GPS data processed {"connection_id":218123,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:14:44] local.INFO: Acknowledgment sent {"connection_id":218123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:14:56] local.INFO: TCP Data received {"connection_id":216578,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:14:56] local.INFO: Processing buffer {"connection_id":216578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:14:56] local.INFO: Packet analysis {"connection_id":216578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:14:56] local.INFO: Extracted packet for processing {"connection_id":216578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:14:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:14:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":216578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:14:56] local.INFO: GPS data processed {"connection_id":216578,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:14:56] local.INFO: Acknowledgment sent {"connection_id":216578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:14:59] local.INFO: TCP Data received {"connection_id":216773,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:14:59] local.INFO: Processing buffer {"connection_id":216773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:14:59] local.INFO: Packet analysis {"connection_id":216773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:14:59] local.INFO: Extracted packet for processing {"connection_id":216773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785054720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:14:59] 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-10-16 11:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792129421000,"timestamp_ms":1792129421000,"timestamp_seconds":1792129421,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ccec8"} 
[2026-10-16 11:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785054720001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785054720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:14:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:14:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785054720001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":216773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:14:59] local.INFO: GPS data processed {"connection_id":216773,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:14:59] local.INFO: Acknowledgment sent {"connection_id":216773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:15:07] local.INFO: TCP Data received {"connection_id":216579,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:15:07] local.INFO: Processing buffer {"connection_id":216579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:15:07] local.INFO: IMEI packet received {"connection_id":216579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":216579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:15:12] local.INFO: TCP Data received {"connection_id":216579,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:15:12] local.INFO: Processing buffer {"connection_id":216579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:15:12] local.INFO: IMEI packet received {"connection_id":216579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":216579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:15:13] local.INFO: TCP Data received {"connection_id":216579,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433cd698012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433cd698012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:15:13] local.INFO: Processing buffer {"connection_id":216579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433cd698012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:15:13] local.INFO: Packet analysis {"connection_id":216579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:15:13] local.INFO: Extracted packet for processing {"connection_id":216579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785126912001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792129423000,"timestamp_ms":1792129423000,"timestamp_seconds":1792129423,"priority":1,"record_length":96,"hex_timestamp":"000001a1433cd698"} 
[2026-10-16 11:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:15:13] 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-10-16 11: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-10-16 11:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785126912001,"66":12667,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785126912001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785126912001,"power":12667,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":216579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:15:13] local.INFO: GPS data processed {"connection_id":216579,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:15:13] local.INFO: Acknowledgment sent {"connection_id":216579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:15:16] local.INFO: TCP Data received {"connection_id":216774,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:15:16] local.INFO: Processing buffer {"connection_id":216774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:15:16] local.INFO: IMEI packet received {"connection_id":216774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":216774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:15:21] local.INFO: TCP Data received {"connection_id":216580,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:15:21] local.INFO: Processing buffer {"connection_id":216580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:15:21] local.INFO: IMEI packet received {"connection_id":216580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":216580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:15:22] local.INFO: TCP Data received {"connection_id":216774,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:15:22] local.INFO: Processing buffer {"connection_id":216774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:15:22] local.INFO: IMEI packet received {"connection_id":216774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":216774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:15:23] local.INFO: TCP Data received {"connection_id":216774,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:15:23] local.INFO: Processing buffer {"connection_id":216774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:15:23] local.INFO: Packet analysis {"connection_id":216774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:15:23] local.INFO: Extracted packet for processing {"connection_id":216774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:15:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:15:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":216774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:15:23] local.INFO: GPS data processed {"connection_id":216774,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:15:23] local.INFO: Acknowledgment sent {"connection_id":216774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:15:26] local.INFO: TCP Data received {"connection_id":216580,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:15:26] local.INFO: Processing buffer {"connection_id":216580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:15:26] local.INFO: IMEI packet received {"connection_id":216580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":216580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:15:27] local.INFO: TCP Data received {"connection_id":216580,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:15:27] local.INFO: Processing buffer {"connection_id":216580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:15:27] local.INFO: Packet analysis {"connection_id":216580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:15:27] local.INFO: Extracted packet for processing {"connection_id":216580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785054720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:27] 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-10-16 11:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792129421000,"timestamp_ms":1792129421000,"timestamp_seconds":1792129421,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ccec8"} 
[2026-10-16 11:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:15:27] 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-10-16 11:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785054720001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785054720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:15:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:15:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785054720001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":216580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:15:27] local.INFO: GPS data processed {"connection_id":216580,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:15:27] local.INFO: Acknowledgment sent {"connection_id":216580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:15:44] local.INFO: TCP Data received {"connection_id":216579,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433d28a0012d1b52c0072501080027011d2b..."} 
[2026-10-16 11:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433d28a0012d1b52c0072501080027011d2b..."} 
[2026-10-16 11:15:44] local.INFO: Processing buffer {"connection_id":216579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433d28a0012d1b52c0072501080027011d2b..."} 
[2026-10-16 11:15:44] local.INFO: Packet analysis {"connection_id":216579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433d"} 
[2026-10-16 11:15:44] local.INFO: Extracted packet for processing {"connection_id":216579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433d"} 
[2026-10-16 11:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785132288001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792129444000,"timestamp_ms":1792129444000,"timestamp_seconds":1792129444,"priority":1,"record_length":96,"hex_timestamp":"000001a1433d28a0"} 
[2026-10-16 11:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:15:44] 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-10-16 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:15: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-10-16 11: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-10-16 11:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785132288001,"66":12667,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785132288001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:15:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:15:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785132288001,"power":12667,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":216579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:15:45] local.INFO: GPS data processed {"connection_id":216579,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:15:45] local.INFO: Acknowledgment sent {"connection_id":216579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:15:55] local.INFO: TCP Data received {"connection_id":216774,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:15:55] local.INFO: Processing buffer {"connection_id":216774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:15:55] local.INFO: Packet analysis {"connection_id":216774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:15:55] local.INFO: Extracted packet for processing {"connection_id":216774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:15:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:15:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":216774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:15:55] local.INFO: GPS data processed {"connection_id":216774,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:15:55] local.INFO: Acknowledgment sent {"connection_id":216774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:16:03] local.INFO: TCP Data received {"connection_id":216580,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:16:03] local.INFO: Processing buffer {"connection_id":216580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:16:03] local.INFO: Packet analysis {"connection_id":216580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:16:03] local.INFO: Extracted packet for processing {"connection_id":216580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785054720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792129421000,"timestamp_ms":1792129421000,"timestamp_seconds":1792129421,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ccec8"} 
[2026-10-16 11:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:16:03] 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-10-16 11:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785054720001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785054720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:16:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:16:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785054720001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":216580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:16:03] local.INFO: GPS data processed {"connection_id":216580,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:16:03] local.INFO: Acknowledgment sent {"connection_id":216580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:16:06] local.INFO: TCP Data received {"connection_id":216775,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:16:06] local.INFO: Processing buffer {"connection_id":216775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:16:06] local.INFO: IMEI packet received {"connection_id":216775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":216775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:16:07] local.INFO: TCP Data received {"connection_id":216775,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:16:07] local.INFO: Processing buffer {"connection_id":216775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:16:07] local.INFO: IMEI packet received {"connection_id":216775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":216775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:16:12] local.INFO: TCP Data received {"connection_id":216775,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:16:12] local.INFO: Processing buffer {"connection_id":216775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:16:12] local.INFO: IMEI packet received {"connection_id":216775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":216775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:16:16] local.INFO: TCP Data received {"connection_id":216775,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433d7aa8012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433d7aa8012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:16:16] local.INFO: Processing buffer {"connection_id":216775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433d7aa8012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:16:16] local.INFO: Packet analysis {"connection_id":216775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433d"} 
[2026-10-16 11:16:16] local.INFO: Extracted packet for processing {"connection_id":216775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433d"} 
[2026-10-16 11:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785137664001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792129465000,"timestamp_ms":1792129465000,"timestamp_seconds":1792129465,"priority":1,"record_length":96,"hex_timestamp":"000001a1433d7aa8"} 
[2026-10-16 11:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:16: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-10-16 11:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785137664001,"66":12645,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785137664001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:16:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:16:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785137664001,"power":12645,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":216775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:16:17] local.INFO: GPS data processed {"connection_id":216775,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:16:17] local.INFO: Acknowledgment sent {"connection_id":216775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:16:20] local.INFO: TCP Data received {"connection_id":219852,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:16:20] local.INFO: Processing buffer {"connection_id":219852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:16:20] local.INFO: IMEI packet received {"connection_id":219852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":219852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:16:22] local.INFO: TCP Data received {"connection_id":219851,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:16:22] local.INFO: Processing buffer {"connection_id":219851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:16:22] local.INFO: IMEI packet received {"connection_id":219851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":219851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:16:26] local.INFO: TCP Data received {"connection_id":219852,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:16:26] local.INFO: Processing buffer {"connection_id":219852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:16:26] local.INFO: IMEI packet received {"connection_id":219852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":219852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:16:26] local.INFO: TCP Data received {"connection_id":219852,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:16:26] local.INFO: Processing buffer {"connection_id":219852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:16:26] local.INFO: Packet analysis {"connection_id":219852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:16:26] local.INFO: Extracted packet for processing {"connection_id":219852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785054720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:26] 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-10-16 11:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792129421000,"timestamp_ms":1792129421000,"timestamp_seconds":1792129421,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ccec8"} 
[2026-10-16 11:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785054720001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785054720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:16:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:16:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785054720001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":219852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:16:27] local.INFO: GPS data processed {"connection_id":219852,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:16:27] local.INFO: Acknowledgment sent {"connection_id":219852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:16:27] local.INFO: TCP Data received {"connection_id":219851,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:16:27] local.INFO: Processing buffer {"connection_id":219851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:16:27] local.INFO: IMEI packet received {"connection_id":219851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":219851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:16:28] local.INFO: TCP Data received {"connection_id":219851,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:16:28] local.INFO: Processing buffer {"connection_id":219851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:16:28] local.INFO: Packet analysis {"connection_id":219851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:16:28] local.INFO: Extracted packet for processing {"connection_id":219851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:16:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:16:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":219851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:16:28] local.INFO: GPS data processed {"connection_id":219851,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:16:28] local.INFO: Acknowledgment sent {"connection_id":219851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:16:32] local.INFO: TCP Data received {"connection_id":219851,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:16:32] local.INFO: Processing buffer {"connection_id":219851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433a5210012d7fa40005afce580009000a31..."} 
[2026-10-16 11:16:32] local.INFO: Packet analysis {"connection_id":219851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:16:32] local.INFO: Extracted packet for processing {"connection_id":219851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433a"} 
[2026-10-16 11:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785012992001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792129258000,"timestamp_ms":1792129258000,"timestamp_seconds":1792129258,"priority":1,"record_length":96,"hex_timestamp":"000001a1433a5210"} 
[2026-10-16 11:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785012992001,"66":25321,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785012992001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:16:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:16:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785012992001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":219851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:16:32] local.INFO: GPS data processed {"connection_id":219851,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:16:32] local.INFO: Acknowledgment sent {"connection_id":219851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:16:47] local.INFO: TCP Data received {"connection_id":216775,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433dccb0012d1b52c0072501080027011d29..."} 
[2026-10-16 11:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433dccb0012d1b52c0072501080027011d29..."} 
[2026-10-16 11:16:47] local.INFO: Processing buffer {"connection_id":216775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433dccb0012d1b52c0072501080027011d29..."} 
[2026-10-16 11:16:47] local.INFO: Packet analysis {"connection_id":216775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433d"} 
[2026-10-16 11:16:47] local.INFO: Extracted packet for processing {"connection_id":216775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433d"} 
[2026-10-16 11:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785143040001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792129486000,"timestamp_ms":1792129486000,"timestamp_seconds":1792129486,"priority":1,"record_length":96,"hex_timestamp":"000001a1433dccb0"} 
[2026-10-16 11:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:16: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-10-16 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:16:47] 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-10-16 11: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-10-16 11:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785143040001,"66":12667,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785143040001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:16:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785143040001,"power":12667,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":216775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:16:48] local.INFO: GPS data processed {"connection_id":216775,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:16:48] local.INFO: Acknowledgment sent {"connection_id":216775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:16:58] local.INFO: TCP Data received {"connection_id":219852,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:16:58] local.INFO: Processing buffer {"connection_id":219852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:16:58] local.INFO: Packet analysis {"connection_id":219852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:16:58] local.INFO: Extracted packet for processing {"connection_id":219852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785054720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:16:58] 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-10-16 11:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792129421000,"timestamp_ms":1792129421000,"timestamp_seconds":1792129421,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ccec8"} 
[2026-10-16 11:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785054720001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785054720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:16:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:16:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785054720001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":219852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:16:58] local.INFO: GPS data processed {"connection_id":219852,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:16:58] local.INFO: Acknowledgment sent {"connection_id":219852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:17:09] local.INFO: TCP Data received {"connection_id":216581,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:17:09] local.INFO: Processing buffer {"connection_id":216581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:17:09] local.INFO: IMEI packet received {"connection_id":216581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":216581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:17:10] local.INFO: TCP Data received {"connection_id":216581,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:17:10] local.INFO: Processing buffer {"connection_id":216581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:17:10] local.INFO: IMEI packet received {"connection_id":216581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":216581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:17:12] local.INFO: TCP Data received {"connection_id":216581,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:17:12] local.INFO: Processing buffer {"connection_id":216581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:17:12] local.INFO: IMEI packet received {"connection_id":216581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":216581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:17:14] local.INFO: TCP Data received {"connection_id":216581,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433e1eb8012d1b52c0072501080027011d28..."} 
[2026-10-16 11:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433e1eb8012d1b52c0072501080027011d28..."} 
[2026-10-16 11:17:14] local.INFO: Processing buffer {"connection_id":216581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433e1eb8012d1b52c0072501080027011d28..."} 
[2026-10-16 11:17:14] local.INFO: Packet analysis {"connection_id":216581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:17:14] local.INFO: Extracted packet for processing {"connection_id":216581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785148416001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792129507000,"timestamp_ms":1792129507000,"timestamp_seconds":1792129507,"priority":1,"record_length":96,"hex_timestamp":"000001a1433e1eb8"} 
[2026-10-16 11:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:17: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-10-16 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:17:14] 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-10-16 11: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-10-16 11:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785148416001,"66":12548,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785148416001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:17:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785148416001,"power":12548,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":216581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:17:14] local.INFO: GPS data processed {"connection_id":216581,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:17:14] local.INFO: Acknowledgment sent {"connection_id":216581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:17:16] local.INFO: TCP Data received {"connection_id":218126,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:17:16] local.INFO: Processing buffer {"connection_id":218126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:17:16] local.INFO: IMEI packet received {"connection_id":218126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":218126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:17:20] local.INFO: TCP Data received {"connection_id":218127,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:17:20] local.INFO: Processing buffer {"connection_id":218127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:17:20] local.INFO: IMEI packet received {"connection_id":218127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":218127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:17:22] local.INFO: TCP Data received {"connection_id":218126,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:17:22] local.INFO: Processing buffer {"connection_id":218126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:17:22] local.INFO: IMEI packet received {"connection_id":218126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":218126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:17:23] local.INFO: TCP Data received {"connection_id":218126,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:17:23] local.INFO: Processing buffer {"connection_id":218126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:17:23] local.INFO: Packet analysis {"connection_id":218126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:17:23] local.INFO: Extracted packet for processing {"connection_id":218126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:17:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785090048001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792129559000,"timestamp_ms":1792129559000,"timestamp_seconds":1792129559,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ee9d8"} 
[2026-10-16 11:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 11:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785090048001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785090048001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:17:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:17:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785090048001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":218126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:17:23] local.INFO: GPS data processed {"connection_id":218126,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:17:23] local.INFO: Acknowledgment sent {"connection_id":218126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:17:26] local.INFO: TCP Data received {"connection_id":218127,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:17:26] local.INFO: Processing buffer {"connection_id":218127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:17:26] local.INFO: IMEI packet received {"connection_id":218127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":218127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:17:27] local.INFO: TCP Data received {"connection_id":218127,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:17:27] local.INFO: Processing buffer {"connection_id":218127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:17:27] local.INFO: Packet analysis {"connection_id":218127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:17:27] local.INFO: Extracted packet for processing {"connection_id":218127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785054720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:27] 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-10-16 11:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792129421000,"timestamp_ms":1792129421000,"timestamp_seconds":1792129421,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ccec8"} 
[2026-10-16 11:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:17:27] 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-10-16 11: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-10-16 11:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785054720001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785054720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:17:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:17:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785054720001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":218127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:17:27] local.INFO: GPS data processed {"connection_id":218127,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:17:27] local.INFO: Acknowledgment sent {"connection_id":218127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:17:45] local.INFO: TCP Data received {"connection_id":216581,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433e70c0012d1b52c0072501080027011d2c..."} 
[2026-10-16 11:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433e70c0012d1b52c0072501080027011d2c..."} 
[2026-10-16 11:17:45] local.INFO: Processing buffer {"connection_id":216581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433e70c0012d1b52c0072501080027011d2c..."} 
[2026-10-16 11:17:45] local.INFO: Packet analysis {"connection_id":216581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:17:45] local.INFO: Extracted packet for processing {"connection_id":216581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785153792001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792129528000,"timestamp_ms":1792129528000,"timestamp_seconds":1792129528,"priority":1,"record_length":96,"hex_timestamp":"000001a1433e70c0"} 
[2026-10-16 11:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:17: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-10-16 11:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2415996187,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3221693697,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199467,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4070703104,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:45] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,44,83,24,241,157,16,242,161,204,45,192,1,39,41,10,66,122,42,40,240,123,227,67,37,4,113,205,132,82,8,43,239,49,2,99,7],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-10-16 11:17:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810559700091797504,"timestamp_seconds":2810559700091797.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785153792001,"66":12602,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785153792001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:17:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785153792001,"power":12602,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":216581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:17:45] local.INFO: GPS data processed {"connection_id":216581,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:17:45] local.INFO: Acknowledgment sent {"connection_id":216581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:17:55] local.INFO: TCP Data received {"connection_id":218126,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:17:55] local.INFO: Processing buffer {"connection_id":218126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:17:55] local.INFO: Packet analysis {"connection_id":218126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:17:55] local.INFO: Extracted packet for processing {"connection_id":218126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785090048001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792129559000,"timestamp_ms":1792129559000,"timestamp_seconds":1792129559,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ee9d8"} 
[2026-10-16 11:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 11:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785090048001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785090048001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:17:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:17:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785090048001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":218126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:17:55] local.INFO: GPS data processed {"connection_id":218126,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:17:55] local.INFO: Acknowledgment sent {"connection_id":218126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:17:59] local.INFO: TCP Data received {"connection_id":218127,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:17:59] local.INFO: Processing buffer {"connection_id":218127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:17:59] local.INFO: Packet analysis {"connection_id":218127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:17:59] local.INFO: Extracted packet for processing {"connection_id":218127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:17: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-10-16 11:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785054720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:17:59] 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-10-16 11:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792129421000,"timestamp_ms":1792129421000,"timestamp_seconds":1792129421,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ccec8"} 
[2026-10-16 11:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:17: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-10-16 11:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785054720001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785054720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:17:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:17:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785054720001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":218127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:17:59] local.INFO: GPS data processed {"connection_id":218127,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:17:59] local.INFO: Acknowledgment sent {"connection_id":218127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:18:07] local.INFO: TCP Data received {"connection_id":216582,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:18:07] local.INFO: Processing buffer {"connection_id":216582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:18:07] local.INFO: IMEI packet received {"connection_id":216582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":216582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:18:12] local.INFO: TCP Data received {"connection_id":216582,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:18:12] local.INFO: Processing buffer {"connection_id":216582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:18:12] local.INFO: IMEI packet received {"connection_id":216582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":216582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:18:16] local.INFO: TCP Data received {"connection_id":218128,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:18:16] local.INFO: Processing buffer {"connection_id":218128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:18:16] local.INFO: IMEI packet received {"connection_id":218128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":218128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:18:16] local.INFO: TCP Data received {"connection_id":216583,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:18:16] local.INFO: Processing buffer {"connection_id":216583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:18:16] local.INFO: IMEI packet received {"connection_id":216583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":216583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:18:16] local.INFO: TCP Data received {"connection_id":216582,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ec2c8012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ec2c8012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:18:16] local.INFO: Processing buffer {"connection_id":216582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ec2c8012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:18:16] local.INFO: Packet analysis {"connection_id":216582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:18:16] local.INFO: Extracted packet for processing {"connection_id":216582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785159168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792129549000,"timestamp_ms":1792129549000,"timestamp_seconds":1792129549,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ec2c8"} 
[2026-10-16 11:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-10-16 11:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785159168001,"66":12580,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785159168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:18:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785159168001,"power":12580,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":216582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:18:16] local.INFO: GPS data processed {"connection_id":216582,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:18:16] local.INFO: Acknowledgment sent {"connection_id":216582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:18:20] local.INFO: TCP Data received {"connection_id":216584,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:18:20] local.INFO: Processing buffer {"connection_id":216584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:18:20] local.INFO: IMEI packet received {"connection_id":216584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":216584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:18:22] local.INFO: TCP Data received {"connection_id":216583,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:18:22] local.INFO: Processing buffer {"connection_id":216583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:18:22] local.INFO: IMEI packet received {"connection_id":216583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":216583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:18:24] local.INFO: TCP Data received {"connection_id":216583,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:18:24] local.INFO: Processing buffer {"connection_id":216583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:18:24] local.INFO: Packet analysis {"connection_id":216583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:18:24] local.INFO: Extracted packet for processing {"connection_id":216583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785090048001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792129559000,"timestamp_ms":1792129559000,"timestamp_seconds":1792129559,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ee9d8"} 
[2026-10-16 11:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 11:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785090048001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785090048001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:18:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:18:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785090048001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":216583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:18:24] local.INFO: GPS data processed {"connection_id":216583,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:18:24] local.INFO: Acknowledgment sent {"connection_id":216583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:18:26] local.INFO: TCP Data received {"connection_id":216584,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:18:26] local.INFO: Processing buffer {"connection_id":216584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:18:26] local.INFO: IMEI packet received {"connection_id":216584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":216584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:18:26] local.INFO: TCP Data received {"connection_id":216584,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:18:26] local.INFO: Processing buffer {"connection_id":216584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ccec8012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:18:26] local.INFO: Packet analysis {"connection_id":216584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:18:26] local.INFO: Extracted packet for processing {"connection_id":216584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433c"} 
[2026-10-16 11:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785054720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:26] 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-10-16 11:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792129421000,"timestamp_ms":1792129421000,"timestamp_seconds":1792129421,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ccec8"} 
[2026-10-16 11:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785054720001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785054720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:18:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:18:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785054720001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":216584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:18:27] local.INFO: GPS data processed {"connection_id":216584,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:18:27] local.INFO: Acknowledgment sent {"connection_id":216584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:18:47] local.INFO: TCP Data received {"connection_id":216582,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433f14d0012d1b52c0072501080027011d27..."} 
[2026-10-16 11:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433f14d0012d1b52c0072501080027011d27..."} 
[2026-10-16 11:18:47] local.INFO: Processing buffer {"connection_id":216582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433f14d0012d1b52c0072501080027011d27..."} 
[2026-10-16 11:18:47] local.INFO: Packet analysis {"connection_id":216582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433f"} 
[2026-10-16 11:18:47] local.INFO: Extracted packet for processing {"connection_id":216582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433f"} 
[2026-10-16 11:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785164544001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792129570000,"timestamp_ms":1792129570000,"timestamp_seconds":1792129570,"priority":1,"record_length":96,"hex_timestamp":"000001a1433f14d0"} 
[2026-10-16 11:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-10-16 11:18:47] 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-10-16 11:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785164544001,"66":12591,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785164544001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:18:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785164544001,"power":12591,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":216582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:18:47] local.INFO: GPS data processed {"connection_id":216582,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:18:47] local.INFO: Acknowledgment sent {"connection_id":216582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:18:56] local.INFO: TCP Data received {"connection_id":216583,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:18:56] local.INFO: Processing buffer {"connection_id":216583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:18:56] local.INFO: Packet analysis {"connection_id":216583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:18:56] local.INFO: Extracted packet for processing {"connection_id":216583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785090048001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792129559000,"timestamp_ms":1792129559000,"timestamp_seconds":1792129559,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ee9d8"} 
[2026-10-16 11:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 11:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785090048001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785090048001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:18:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:18:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785090048001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":216583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:18:56] local.INFO: GPS data processed {"connection_id":216583,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:18:56] local.INFO: Acknowledgment sent {"connection_id":216583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:18:56] local.INFO: TCP Data received {"connection_id":219853,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:18:56] local.INFO: Processing buffer {"connection_id":219853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:18:56] local.INFO: IMEI packet received {"connection_id":219853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":219853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:19:00] local.INFO: TCP Data received {"connection_id":216584,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:19:00] local.INFO: Processing buffer {"connection_id":216584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:19:00] local.INFO: Packet analysis {"connection_id":216584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:19:00] local.INFO: Extracted packet for processing {"connection_id":216584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785131776001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:00] 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-10-16 11:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792129722000,"timestamp_ms":1792129722000,"timestamp_seconds":1792129722,"priority":1,"record_length":96,"hex_timestamp":"000001a143416690"} 
[2026-10-16 11:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:19: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-10-16 11:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785131776001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785131776001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:19:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:19:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785131776001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":216584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:19:01] local.INFO: GPS data processed {"connection_id":216584,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:19:01] local.INFO: Acknowledgment sent {"connection_id":216584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:19:12] local.INFO: TCP Data received {"connection_id":219854,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:19:12] local.INFO: Processing buffer {"connection_id":219854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:19:12] local.INFO: IMEI packet received {"connection_id":219854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":219854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:19:16] local.INFO: TCP Data received {"connection_id":216776,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:19:16] local.INFO: Processing buffer {"connection_id":216776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:19:16] local.INFO: IMEI packet received {"connection_id":216776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":216776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:19:16] local.INFO: TCP Data received {"connection_id":219854,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:19:16] local.INFO: Processing buffer {"connection_id":219854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:19:16] local.INFO: IMEI packet received {"connection_id":219854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":219854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:19:18] local.INFO: TCP Data received {"connection_id":219854,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433f66d8012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433f66d8012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:19:18] local.INFO: Processing buffer {"connection_id":219854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433f66d8012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:19:18] local.INFO: Packet analysis {"connection_id":219854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433f"} 
[2026-10-16 11:19:18] local.INFO: Extracted packet for processing {"connection_id":219854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433f"} 
[2026-10-16 11:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785169920001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792129591000,"timestamp_ms":1792129591000,"timestamp_seconds":1792129591,"priority":1,"record_length":96,"hex_timestamp":"000001a1433f66d8"} 
[2026-10-16 11:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:19: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-10-16 11:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 11:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":219854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":219854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":219854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785169920001,"66":12558,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785169920001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:19:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785169920001,"power":12558,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":219854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:19:18] local.INFO: GPS data processed {"connection_id":219854,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:19:18] local.INFO: Acknowledgment sent {"connection_id":219854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:19:19] local.INFO: TCP Data received {"connection_id":219854,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1433fb8e0012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433fb8e0012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:19:19] local.INFO: Processing buffer {"connection_id":219854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433fb8e0012d1b52c0072501080027011d2a..."} 
[2026-10-16 11:19:19] local.INFO: Packet analysis {"connection_id":219854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433f"} 
[2026-10-16 11:19:19] local.INFO: Extracted packet for processing {"connection_id":219854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433f"} 
[2026-10-16 11:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785175296001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792129612000,"timestamp_ms":1792129612000,"timestamp_seconds":1792129612,"priority":1,"record_length":96,"hex_timestamp":"000001a1433fb8e0"} 
[2026-10-16 11:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250282540785008904,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:19:19] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2952867099,"corrected_to":0} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3221693697,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4070703104,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,44,83,24,241,157,16,242,161,20,45,192,1,39,10,66,194,42,112,240,58,227,67,37,4,113,205,204,82,8,41,239,49,2,99,7,43,75,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0},{"io_id":204,"original":2952867099,"validated":0}]} 
[2026-10-16 11:19:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810559708681732096,"timestamp_seconds":2810559708681732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":219854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":219854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":219854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785175296001,"66":12591,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785175296001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:19:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785175296001,"power":12591,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":219854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:19:19] local.INFO: GPS data processed {"connection_id":219854,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:19:19] local.INFO: Acknowledgment sent {"connection_id":219854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:19:21] local.INFO: TCP Data received {"connection_id":216777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:19:21] local.INFO: Processing buffer {"connection_id":216777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:19:21] local.INFO: IMEI packet received {"connection_id":216777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":216777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:19:22] local.INFO: TCP Data received {"connection_id":216776,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:19:22] local.INFO: Processing buffer {"connection_id":216776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:19:22] local.INFO: IMEI packet received {"connection_id":216776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":216776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:19:23] local.INFO: TCP Data received {"connection_id":216776,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:19:23] local.INFO: Processing buffer {"connection_id":216776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:19:23] local.INFO: Packet analysis {"connection_id":216776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:19:23] local.INFO: Extracted packet for processing {"connection_id":216776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785090048001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792129559000,"timestamp_ms":1792129559000,"timestamp_seconds":1792129559,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ee9d8"} 
[2026-10-16 11:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 11:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785090048001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785090048001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:19:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:19:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785090048001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":216776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:19:23] local.INFO: GPS data processed {"connection_id":216776,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:19:23] local.INFO: Acknowledgment sent {"connection_id":216776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:19:26] local.INFO: TCP Data received {"connection_id":216777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:19:26] local.INFO: Processing buffer {"connection_id":216777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:19:26] local.INFO: IMEI packet received {"connection_id":216777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":216777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:19:27] local.INFO: TCP Data received {"connection_id":216777,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:19:27] local.INFO: Processing buffer {"connection_id":216777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:19:27] local.INFO: Packet analysis {"connection_id":216777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:19:27] local.INFO: Extracted packet for processing {"connection_id":216777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785131776001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:27] 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-10-16 11:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792129722000,"timestamp_ms":1792129722000,"timestamp_seconds":1792129722,"priority":1,"record_length":96,"hex_timestamp":"000001a143416690"} 
[2026-10-16 11:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:19:27] 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-10-16 11:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:19:27] 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-10-16 11:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785131776001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785131776001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:19:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:19:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785131776001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":216777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:19:27] local.INFO: GPS data processed {"connection_id":216777,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:19:27] local.INFO: Acknowledgment sent {"connection_id":216777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:19:50] local.INFO: TCP Data received {"connection_id":219854,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143400ae8012d1b52c0072501080027011d28..."} 
[2026-10-16 11:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143400ae8012d1b52c0072501080027011d28..."} 
[2026-10-16 11:19:50] local.INFO: Processing buffer {"connection_id":219854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143400ae8012d1b52c0072501080027011d28..."} 
[2026-10-16 11:19:50] local.INFO: Packet analysis {"connection_id":219854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14340"} 
[2026-10-16 11:19:50] local.INFO: Extracted packet for processing {"connection_id":219854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14340"} 
[2026-10-16 11:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865608,"longitude_deg":75.6765376,"latitude_deg":11.9865608,"altitude":39,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250108","is_valid_coordinates":true} 
[2026-10-16 11:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785180672001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132800292978688,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792129633000,"timestamp_ms":1792129633000,"timestamp_seconds":1792129633,"priority":1,"record_length":96,"hex_timestamp":"000001a143400ae8"} 
[2026-10-16 11:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 11:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":219854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":219854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":219854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785180672001,"66":12526,"44":206,"83":41984,"24":0,"16":28132800292978688,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785180672001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132800292978688,"km_value":28132800292978.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785180672001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":219854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:19:50] local.INFO: GPS data processed {"connection_id":219854,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:19:50] local.INFO: Acknowledgment sent {"connection_id":219854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:19:54] local.INFO: TCP Data received {"connection_id":216776,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:19:54] local.INFO: Processing buffer {"connection_id":216776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:19:54] local.INFO: Packet analysis {"connection_id":216776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:19:54] local.INFO: Extracted packet for processing {"connection_id":216776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785090048001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792129559000,"timestamp_ms":1792129559000,"timestamp_seconds":1792129559,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ee9d8"} 
[2026-10-16 11:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 11:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785090048001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785090048001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:19:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:19:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785090048001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":216776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:19:54] local.INFO: GPS data processed {"connection_id":216776,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:19:54] local.INFO: Acknowledgment sent {"connection_id":216776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:19:58] local.INFO: TCP Data received {"connection_id":216777,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:19:58] local.INFO: Processing buffer {"connection_id":216777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:19:58] local.INFO: Packet analysis {"connection_id":216777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:19:58] local.INFO: Extracted packet for processing {"connection_id":216777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785131776001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:19:58] 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-10-16 11:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792129722000,"timestamp_ms":1792129722000,"timestamp_seconds":1792129722,"priority":1,"record_length":96,"hex_timestamp":"000001a143416690"} 
[2026-10-16 11:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:19:58] 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-10-16 11:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785131776001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785131776001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:19:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:19:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785131776001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":216777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:19:58] local.INFO: GPS data processed {"connection_id":216777,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:19:58] local.INFO: Acknowledgment sent {"connection_id":216777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:20:07] local.INFO: TCP Data received {"connection_id":218129,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:20:07] local.INFO: Processing buffer {"connection_id":218129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:20:07] local.INFO: IMEI packet received {"connection_id":218129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":218129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:20:12] local.INFO: TCP Data received {"connection_id":218129,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:20:12] local.INFO: Processing buffer {"connection_id":218129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:20:12] local.INFO: IMEI packet received {"connection_id":218129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":218129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:20:13] local.INFO: TCP Data received {"connection_id":218129,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143405cf0012d1b5200072504a80041011d2b..."} 
[2026-10-16 11:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143405cf0012d1b5200072504a80041011d2b..."} 
[2026-10-16 11:20:13] local.INFO: Processing buffer {"connection_id":218129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143405cf0012d1b5200072504a80041011d2b..."} 
[2026-10-16 11:20:13] local.INFO: Packet analysis {"connection_id":218129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14340"} 
[2026-10-16 11:20:13] local.INFO: Extracted packet for processing {"connection_id":218129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14340"} 
[2026-10-16 11:20:13] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785186048001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032456704,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792129654000,"timestamp_ms":1792129654000,"timestamp_seconds":1792129654,"priority":1,"record_length":96,"hex_timestamp":"000001a143405cf0"} 
[2026-10-16 11:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:20:13] 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-10-16 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:20: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-10-16 11: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-10-16 11:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785186048001,"66":12580,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968847124032456704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785186048001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:20:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032456704,"description":"Unknown IO ID 45"} 
[2026-10-16 11:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785186048001,"power":12580,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032456704}} 
[2026-10-16 11:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":218129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:20:13] local.INFO: GPS data processed {"connection_id":218129,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:20:13] local.INFO: Acknowledgment sent {"connection_id":218129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:20:21] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:20:21] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:20:21] local.INFO: IMEI packet received {"connection_id":216585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":216585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:20:22] local.INFO: TCP Data received {"connection_id":219856,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:20:22] local.INFO: Processing buffer {"connection_id":219856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:20:22] local.INFO: IMEI packet received {"connection_id":219856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":219856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:20:26] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:20:26] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:20:26] local.INFO: IMEI packet received {"connection_id":216585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":216585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:20:27] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:20:27] local.INFO: TCP Data received {"connection_id":219856,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:20:27] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:20:27] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:20:27] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785131776001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:27] 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-10-16 11:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792129722000,"timestamp_ms":1792129722000,"timestamp_seconds":1792129722,"priority":1,"record_length":96,"hex_timestamp":"000001a143416690"} 
[2026-10-16 11:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:20:27] 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-10-16 11:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:20:27] local.INFO: Processing buffer {"connection_id":219856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:20:27] local.INFO: IMEI packet received {"connection_id":219856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":219856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785131776001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785131776001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:20:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:20:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785131776001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:20:27] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:20:27] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:20:28] local.INFO: TCP Data received {"connection_id":219856,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:20:28] local.INFO: Processing buffer {"connection_id":219856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:20:28] local.INFO: Packet analysis {"connection_id":219856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:20:28] local.INFO: Extracted packet for processing {"connection_id":219856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785090048001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792129559000,"timestamp_ms":1792129559000,"timestamp_seconds":1792129559,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ee9d8"} 
[2026-10-16 11:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 11:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785090048001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785090048001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:20:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:20:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785090048001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":219856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:20:28] local.INFO: GPS data processed {"connection_id":219856,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:20:28] local.INFO: Acknowledgment sent {"connection_id":219856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:20:32] local.INFO: TCP Data received {"connection_id":219856,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:20:32] local.INFO: Processing buffer {"connection_id":219856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:20:32] local.INFO: Packet analysis {"connection_id":219856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:20:32] local.INFO: Extracted packet for processing {"connection_id":219856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785090048001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792129559000,"timestamp_ms":1792129559000,"timestamp_seconds":1792129559,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ee9d8"} 
[2026-10-16 11:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 11:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785090048001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785090048001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:20:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785090048001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":219856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:20:32] local.INFO: GPS data processed {"connection_id":219856,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:20:32] local.INFO: Acknowledgment sent {"connection_id":219856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:20:44] local.INFO: TCP Data received {"connection_id":218129,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14340aef8012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14340aef8012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:20:44] local.INFO: Processing buffer {"connection_id":218129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14340aef8012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:20:44] local.INFO: Packet analysis {"connection_id":218129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14340"} 
[2026-10-16 11:20:44] local.INFO: Extracted packet for processing {"connection_id":218129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14340"} 
[2026-10-16 11:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785191424001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792129675000,"timestamp_ms":1792129675000,"timestamp_seconds":1792129675,"priority":1,"record_length":96,"hex_timestamp":"000001a14340aef8"} 
[2026-10-16 11:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:20:44] 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-10-16 11: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-10-16 11:20:44] 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-10-16 11: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-10-16 11:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785191424001,"66":12580,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785191424001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:20:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785191424001,"power":12580,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":218129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:20:44] local.INFO: GPS data processed {"connection_id":218129,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:20:44] local.INFO: Acknowledgment sent {"connection_id":218129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:20:59] local.INFO: TCP Data received {"connection_id":216585,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:20:59] local.INFO: Processing buffer {"connection_id":216585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:20:59] local.INFO: Packet analysis {"connection_id":216585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:20:59] local.INFO: Extracted packet for processing {"connection_id":216585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785131776001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:20:59] 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-10-16 11:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792129722000,"timestamp_ms":1792129722000,"timestamp_seconds":1792129722,"priority":1,"record_length":96,"hex_timestamp":"000001a143416690"} 
[2026-10-16 11:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785131776001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785131776001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:20:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:20:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785131776001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":216585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:20:59] local.INFO: GPS data processed {"connection_id":216585,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:20:59] local.INFO: Acknowledgment sent {"connection_id":216585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:21:07] local.INFO: TCP Data received {"connection_id":219857,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:21:07] local.INFO: Processing buffer {"connection_id":219857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:21:07] local.INFO: IMEI packet received {"connection_id":219857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":219857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:21:12] local.INFO: TCP Data received {"connection_id":219857,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:21:12] local.INFO: Processing buffer {"connection_id":219857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:21:12] local.INFO: IMEI packet received {"connection_id":219857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":219857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:21:13] local.INFO: TCP Data received {"connection_id":219857,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143410100012d1b5200072504a80041011d2b..."} 
[2026-10-16 11:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143410100012d1b5200072504a80041011d2b..."} 
[2026-10-16 11:21:13] local.INFO: Processing buffer {"connection_id":219857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143410100012d1b5200072504a80041011d2b..."} 
[2026-10-16 11:21:13] local.INFO: Packet analysis {"connection_id":219857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:21:13] local.INFO: Extracted packet for processing {"connection_id":219857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:21:13] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785196800001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792129696000,"timestamp_ms":1792129696000,"timestamp_seconds":1792129696,"priority":1,"record_length":96,"hex_timestamp":"000001a143410100"} 
[2026-10-16 11:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:21:13] 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-10-16 11: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-10-16 11:21:13] 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-10-16 11: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-10-16 11:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785196800001,"66":12526,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785196800001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:21:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:21:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785196800001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":219857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:21:13] local.INFO: GPS data processed {"connection_id":219857,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:21:13] local.INFO: Acknowledgment sent {"connection_id":219857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:21:16] local.INFO: TCP Data received {"connection_id":219858,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:21:16] local.INFO: Processing buffer {"connection_id":219858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:21:16] local.INFO: IMEI packet received {"connection_id":219858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":219858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:21:21] local.INFO: TCP Data received {"connection_id":216586,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:21:21] local.INFO: Processing buffer {"connection_id":216586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:21:21] local.INFO: IMEI packet received {"connection_id":216586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":216586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:21:21] local.INFO: TCP Data received {"connection_id":219858,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:21:21] local.INFO: Processing buffer {"connection_id":219858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:21:21] local.INFO: IMEI packet received {"connection_id":219858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":219858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:21:23] local.INFO: TCP Data received {"connection_id":219858,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:21:23] local.INFO: Processing buffer {"connection_id":219858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1433ee9d8012d7fa40005afce580009000a32..."} 
[2026-10-16 11:21:23] local.INFO: Packet analysis {"connection_id":219858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:21:23] local.INFO: Extracted packet for processing {"connection_id":219858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1433e"} 
[2026-10-16 11:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785090048001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792129559000,"timestamp_ms":1792129559000,"timestamp_seconds":1792129559,"priority":1,"record_length":96,"hex_timestamp":"000001a1433ee9d8"} 
[2026-10-16 11:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 11:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785090048001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785090048001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:21:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:21:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785090048001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":219858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:21:23] local.INFO: GPS data processed {"connection_id":219858,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:21:23] local.INFO: Acknowledgment sent {"connection_id":219858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:21:26] local.INFO: TCP Data received {"connection_id":216586,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:21:26] local.INFO: Processing buffer {"connection_id":216586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:21:26] local.INFO: IMEI packet received {"connection_id":216586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":216586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:21:27] local.INFO: TCP Data received {"connection_id":216586,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:21:27] local.INFO: Processing buffer {"connection_id":216586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:21:27] local.INFO: Packet analysis {"connection_id":216586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:21:27] local.INFO: Extracted packet for processing {"connection_id":216586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785131776001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:27] 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-10-16 11:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792129722000,"timestamp_ms":1792129722000,"timestamp_seconds":1792129722,"priority":1,"record_length":96,"hex_timestamp":"000001a143416690"} 
[2026-10-16 11:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:21:27] 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-10-16 11:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785131776001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785131776001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:21:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:21:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785131776001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":216586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:21:27] local.INFO: GPS data processed {"connection_id":216586,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:21:27] local.INFO: Acknowledgment sent {"connection_id":216586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:21:44] local.INFO: TCP Data received {"connection_id":219857,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143415308012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143415308012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:21:44] local.INFO: Processing buffer {"connection_id":219857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143415308012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:21:44] local.INFO: Packet analysis {"connection_id":219857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:21:44] local.INFO: Extracted packet for processing {"connection_id":219857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785202176001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792129717000,"timestamp_ms":1792129717000,"timestamp_seconds":1792129717,"priority":1,"record_length":96,"hex_timestamp":"000001a143415308"} 
[2026-10-16 11:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:21:44] 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-10-16 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:21: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-10-16 11: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-10-16 11:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785202176001,"66":12526,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785202176001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:21:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785202176001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":219857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:21:44] local.INFO: GPS data processed {"connection_id":219857,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:21:44] local.INFO: Acknowledgment sent {"connection_id":219857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:21:54] local.INFO: TCP Data received {"connection_id":219858,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:21:54] local.INFO: Processing buffer {"connection_id":219858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:21:54] local.INFO: Packet analysis {"connection_id":219858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:21:54] local.INFO: Extracted packet for processing {"connection_id":219858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785167104001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792129860000,"timestamp_ms":1792129860000,"timestamp_seconds":1792129860,"priority":1,"record_length":96,"hex_timestamp":"000001a1434381a0"} 
[2026-10-16 11:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785167104001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785167104001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:21:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:21:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785167104001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":219858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:21:54] local.INFO: GPS data processed {"connection_id":219858,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:21:54] local.INFO: Acknowledgment sent {"connection_id":219858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:21:58] local.INFO: TCP Data received {"connection_id":216586,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:21:58] local.INFO: Processing buffer {"connection_id":216586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:21:58] local.INFO: Packet analysis {"connection_id":216586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:21:58] local.INFO: Extracted packet for processing {"connection_id":216586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785131776001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:21:58] 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-10-16 11:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792129722000,"timestamp_ms":1792129722000,"timestamp_seconds":1792129722,"priority":1,"record_length":96,"hex_timestamp":"000001a143416690"} 
[2026-10-16 11:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785131776001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785131776001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:21:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:21:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785131776001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":216586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:21:58] local.INFO: GPS data processed {"connection_id":216586,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:21:58] local.INFO: Acknowledgment sent {"connection_id":216586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:22:07] local.INFO: TCP Data received {"connection_id":219859,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:22:07] local.INFO: Processing buffer {"connection_id":219859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:22:07] local.INFO: IMEI packet received {"connection_id":219859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":219859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:22:12] local.INFO: TCP Data received {"connection_id":219859,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:22:12] local.INFO: Processing buffer {"connection_id":219859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:22:12] local.INFO: IMEI packet received {"connection_id":219859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":219859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:22:17] local.INFO: TCP Data received {"connection_id":219859,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14341a510012d1b5200072504a80041011d27..."} 
[2026-10-16 11:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14341a510012d1b5200072504a80041011d27..."} 
[2026-10-16 11:22:17] local.INFO: Processing buffer {"connection_id":219859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14341a510012d1b5200072504a80041011d27..."} 
[2026-10-16 11:22:17] local.INFO: Packet analysis {"connection_id":219859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:22:17] local.INFO: Extracted packet for processing {"connection_id":219859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785207552001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792129738000,"timestamp_ms":1792129738000,"timestamp_seconds":1792129738,"priority":1,"record_length":96,"hex_timestamp":"000001a14341a510"} 
[2026-10-16 11:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:22:17] 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-10-16 11: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-10-16 11:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":219859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":219859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":219859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785207552001,"66":12580,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785207552001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785207552001,"power":12580,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":219859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:22:17] local.INFO: GPS data processed {"connection_id":219859,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:22:17] local.INFO: Acknowledgment sent {"connection_id":219859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:22:20] local.INFO: TCP Data received {"connection_id":218132,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:22:20] local.INFO: Processing buffer {"connection_id":218132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:22:20] local.INFO: IMEI packet received {"connection_id":218132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":218132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:22:22] local.INFO: TCP Data received {"connection_id":219860,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:22:22] local.INFO: Processing buffer {"connection_id":219860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:22:22] local.INFO: IMEI packet received {"connection_id":219860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":219860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:22:26] local.INFO: TCP Data received {"connection_id":218132,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:22:26] local.INFO: Processing buffer {"connection_id":218132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:22:26] local.INFO: IMEI packet received {"connection_id":218132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":218132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:22:27] local.INFO: TCP Data received {"connection_id":219860,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:22:27] local.INFO: Processing buffer {"connection_id":219860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:22:27] local.INFO: IMEI packet received {"connection_id":219860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":219860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:22:27] local.INFO: TCP Data received {"connection_id":218132,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:22:27] local.INFO: Processing buffer {"connection_id":218132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:22:27] local.INFO: Packet analysis {"connection_id":218132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:22:27] local.INFO: Extracted packet for processing {"connection_id":218132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785131776001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:27] 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-10-16 11:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792129722000,"timestamp_ms":1792129722000,"timestamp_seconds":1792129722,"priority":1,"record_length":96,"hex_timestamp":"000001a143416690"} 
[2026-10-16 11:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:22:27] 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-10-16 11:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:22:27] 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-10-16 11:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785131776001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785131776001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:22:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:22:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785131776001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":218132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:22:27] local.INFO: GPS data processed {"connection_id":218132,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:22:27] local.INFO: Acknowledgment sent {"connection_id":218132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:22:28] local.INFO: TCP Data received {"connection_id":219860,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:22:28] local.INFO: Processing buffer {"connection_id":219860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:22:28] local.INFO: Packet analysis {"connection_id":219860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:22:28] local.INFO: Extracted packet for processing {"connection_id":219860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785167104001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792129860000,"timestamp_ms":1792129860000,"timestamp_seconds":1792129860,"priority":1,"record_length":96,"hex_timestamp":"000001a1434381a0"} 
[2026-10-16 11:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785167104001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785167104001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:22:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:22:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785167104001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":219860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:22:28] local.INFO: GPS data processed {"connection_id":219860,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:22:28] local.INFO: Acknowledgment sent {"connection_id":219860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:22:32] local.INFO: TCP Data received {"connection_id":219860,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:22:32] local.INFO: Processing buffer {"connection_id":219860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:22:32] local.INFO: Packet analysis {"connection_id":219860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:22:32] local.INFO: Extracted packet for processing {"connection_id":219860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785167104001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792129860000,"timestamp_ms":1792129860000,"timestamp_seconds":1792129860,"priority":1,"record_length":96,"hex_timestamp":"000001a1434381a0"} 
[2026-10-16 11:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785167104001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785167104001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:22:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:22:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785167104001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":219860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:22:32] local.INFO: GPS data processed {"connection_id":219860,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:22:32] local.INFO: Acknowledgment sent {"connection_id":219860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:22:53] local.INFO: TCP Data received {"connection_id":219859,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14341f718012d1b5200072504a80041011d2c..."} 
[2026-10-16 11:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14341f718012d1b5200072504a80041011d2c..."} 
[2026-10-16 11:22:53] local.INFO: Processing buffer {"connection_id":219859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14341f718012d1b5200072504a80041011d2c..."} 
[2026-10-16 11:22:53] local.INFO: Packet analysis {"connection_id":219859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:22:53] local.INFO: Extracted packet for processing {"connection_id":219859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785212928001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792129759000,"timestamp_ms":1792129759000,"timestamp_seconds":1792129759,"priority":1,"record_length":96,"hex_timestamp":"000001a14341f718"} 
[2026-10-16 11:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:22: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-10-16 11:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-10-16 11:22:53] 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-10-16 11:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":219859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":219859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":219859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785212928001,"66":12548,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785212928001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:22:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785212928001,"power":12548,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":219859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:22:53] local.INFO: GPS data processed {"connection_id":219859,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:22:53] local.INFO: Acknowledgment sent {"connection_id":219859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:22:58] local.INFO: TCP Data received {"connection_id":218132,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:22:58] local.INFO: Processing buffer {"connection_id":218132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:22:58] local.INFO: Packet analysis {"connection_id":218132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:22:58] local.INFO: Extracted packet for processing {"connection_id":218132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785131776001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:22:58] 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-10-16 11:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792129722000,"timestamp_ms":1792129722000,"timestamp_seconds":1792129722,"priority":1,"record_length":96,"hex_timestamp":"000001a143416690"} 
[2026-10-16 11:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:22:58] 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-10-16 11:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785131776001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785131776001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:22:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:22:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785131776001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":218132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:22:58] local.INFO: GPS data processed {"connection_id":218132,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:22:58] local.INFO: Acknowledgment sent {"connection_id":218132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:23:06] local.INFO: TCP Data received {"connection_id":219861,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:23:06] local.INFO: Processing buffer {"connection_id":219861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:23:06] local.INFO: IMEI packet received {"connection_id":219861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":219861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:23:07] local.INFO: TCP Data received {"connection_id":219861,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:23:07] local.INFO: Processing buffer {"connection_id":219861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:23:07] local.INFO: IMEI packet received {"connection_id":219861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":219861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:23:12] local.INFO: TCP Data received {"connection_id":219861,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:23:12] local.INFO: Processing buffer {"connection_id":219861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:23:12] local.INFO: IMEI packet received {"connection_id":219861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":219861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:23:13] local.INFO: TCP Data received {"connection_id":219861,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143424920012d1b5200072504a80041011d2c..."} 
[2026-10-16 11:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143424920012d1b5200072504a80041011d2c..."} 
[2026-10-16 11:23:13] local.INFO: Processing buffer {"connection_id":219861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143424920012d1b5200072504a80041011d2c..."} 
[2026-10-16 11:23:13] local.INFO: Packet analysis {"connection_id":219861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14342"} 
[2026-10-16 11:23:13] local.INFO: Extracted packet for processing {"connection_id":219861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14342"} 
[2026-10-16 11:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785218304001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792129780000,"timestamp_ms":1792129780000,"timestamp_seconds":1792129780,"priority":1,"record_length":96,"hex_timestamp":"000001a143424920"} 
[2026-10-16 11:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:23:13] 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-10-16 11:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4026608923,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4071358464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:13] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,44,83,24,241,157,16,242,161,165,45,4,65,39,10,66,42,1,240,238,227,67,37,113,205,92,82,168,43,239,49,2,99,7],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-10-16 11:23:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057162257793024,"timestamp_seconds":4684057162257793.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785218304001,"66":12558,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785218304001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:23:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785218304001,"power":12558,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":219861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:23:13] local.INFO: GPS data processed {"connection_id":219861,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:23:13] local.INFO: Acknowledgment sent {"connection_id":219861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:23:16] local.INFO: TCP Data received {"connection_id":216587,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:23:16] local.INFO: Processing buffer {"connection_id":216587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:23:16] local.INFO: IMEI packet received {"connection_id":216587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":216587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:23:20] local.INFO: TCP Data received {"connection_id":216588,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:23:20] local.INFO: Processing buffer {"connection_id":216588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:23:20] local.INFO: IMEI packet received {"connection_id":216588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":216588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:23:22] local.INFO: TCP Data received {"connection_id":216587,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:23:22] local.INFO: Processing buffer {"connection_id":216587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:23:22] local.INFO: IMEI packet received {"connection_id":216587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":216587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:23:25] local.INFO: TCP Data received {"connection_id":216587,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:23:25] local.INFO: Processing buffer {"connection_id":216587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:23:25] local.INFO: Packet analysis {"connection_id":216587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:23:25] local.INFO: Extracted packet for processing {"connection_id":216587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785167104001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792129860000,"timestamp_ms":1792129860000,"timestamp_seconds":1792129860,"priority":1,"record_length":96,"hex_timestamp":"000001a1434381a0"} 
[2026-10-16 11:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785167104001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785167104001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:23:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:23:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785167104001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":216587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:23:25] local.INFO: GPS data processed {"connection_id":216587,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:23:25] local.INFO: Acknowledgment sent {"connection_id":216587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:23:26] local.INFO: TCP Data received {"connection_id":216588,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:23:26] local.INFO: Processing buffer {"connection_id":216588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:23:26] local.INFO: IMEI packet received {"connection_id":216588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":216588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:23:27] local.INFO: TCP Data received {"connection_id":216588,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:23:27] local.INFO: Processing buffer {"connection_id":216588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143416690012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:23:27] local.INFO: Packet analysis {"connection_id":216588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:23:27] local.INFO: Extracted packet for processing {"connection_id":216588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14341"} 
[2026-10-16 11:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785131776001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:27] 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-10-16 11:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792129722000,"timestamp_ms":1792129722000,"timestamp_seconds":1792129722,"priority":1,"record_length":96,"hex_timestamp":"000001a143416690"} 
[2026-10-16 11:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:23:27] 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-10-16 11:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785131776001,"66":12722,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785131776001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:23:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:23:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785131776001,"power":12722,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":216588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:23:27] local.INFO: GPS data processed {"connection_id":216588,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:23:27] local.INFO: Acknowledgment sent {"connection_id":216588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:23:44] local.INFO: TCP Data received {"connection_id":219861,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143429b28012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143429b28012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:23:44] local.INFO: Processing buffer {"connection_id":219861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143429b28012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:23:44] local.INFO: Packet analysis {"connection_id":219861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14342"} 
[2026-10-16 11:23:44] local.INFO: Extracted packet for processing {"connection_id":219861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14342"} 
[2026-10-16 11:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785223680001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792129801000,"timestamp_ms":1792129801000,"timestamp_seconds":1792129801,"priority":1,"record_length":96,"hex_timestamp":"000001a143429b28"} 
[2026-10-16 11:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:23: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-10-16 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":6145,"corrected_to":0} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250282540785008904,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4160826651,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4071358464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:44] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,44,83,24,241,157,16,242,161,247,45,4,65,10,66,165,39,1,240,238,227,67,37,113,205,174,82,168,42,239,49,2,99,7,43,75,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":247,"original":6145,"validated":0},{"io_id":205,"original":724304078,"validated":0}]} 
[2026-10-16 11:23:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057162257793024,"timestamp_seconds":4684057162257793.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785223680001,"66":12558,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785223680001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:23:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785223680001,"power":12558,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":219861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:23:45] local.INFO: GPS data processed {"connection_id":219861,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:23:45] local.INFO: Acknowledgment sent {"connection_id":219861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:23:57] local.INFO: TCP Data received {"connection_id":216587,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:23:57] local.INFO: Processing buffer {"connection_id":216587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:23:57] local.INFO: Packet analysis {"connection_id":216587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:23:57] local.INFO: Extracted packet for processing {"connection_id":216587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785167104001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792129860000,"timestamp_ms":1792129860000,"timestamp_seconds":1792129860,"priority":1,"record_length":96,"hex_timestamp":"000001a1434381a0"} 
[2026-10-16 11:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785167104001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785167104001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:23:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:23:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785167104001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":216587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:23:57] local.INFO: GPS data processed {"connection_id":216587,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:23:57] local.INFO: Acknowledgment sent {"connection_id":216587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:23:58] local.INFO: TCP Data received {"connection_id":216588,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:23:58] local.INFO: Processing buffer {"connection_id":216588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:23:58] local.INFO: Packet analysis {"connection_id":216588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:23:58] local.INFO: Extracted packet for processing {"connection_id":216588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785208832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:23:58] 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-10-16 11:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792130023000,"timestamp_ms":1792130023000,"timestamp_seconds":1792130023,"priority":1,"record_length":96,"hex_timestamp":"000001a14345fe58"} 
[2026-10-16 11:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785208832001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785208832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:23:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:23:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785208832001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":216588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:23:59] local.INFO: GPS data processed {"connection_id":216588,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:23:59] local.INFO: Acknowledgment sent {"connection_id":216588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:24:07] local.INFO: TCP Data received {"connection_id":216779,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:24:07] local.INFO: Processing buffer {"connection_id":216779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:24:07] local.INFO: IMEI packet received {"connection_id":216779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":216779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:24:10] local.INFO: TCP Data received {"connection_id":216779,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:24:10] local.INFO: Processing buffer {"connection_id":216779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:24:10] local.INFO: IMEI packet received {"connection_id":216779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":216779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:24:12] local.INFO: TCP Data received {"connection_id":216779,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:24:12] local.INFO: Processing buffer {"connection_id":216779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:24:12] local.INFO: IMEI packet received {"connection_id":216779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":216779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:24:16] local.INFO: TCP Data received {"connection_id":219862,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:24:16] local.INFO: Processing buffer {"connection_id":219862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:24:16] local.INFO: IMEI packet received {"connection_id":219862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":219862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:24:16] local.INFO: TCP Data received {"connection_id":216778,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:24:16] local.INFO: Processing buffer {"connection_id":216778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:24:16] local.INFO: IMEI packet received {"connection_id":216778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":216778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:24:18] local.INFO: TCP Data received {"connection_id":216779,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14342ed30012d1b5200072504a80041011d2b..."} 
[2026-10-16 11:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14342ed30012d1b5200072504a80041011d2b..."} 
[2026-10-16 11:24:18] local.INFO: Processing buffer {"connection_id":216779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14342ed30012d1b5200072504a80041011d2b..."} 
[2026-10-16 11:24:18] local.INFO: Packet analysis {"connection_id":216779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14342"} 
[2026-10-16 11:24:18] local.INFO: Extracted packet for processing {"connection_id":216779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14342"} 
[2026-10-16 11:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785229056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792129822000,"timestamp_ms":1792129822000,"timestamp_seconds":1792129822,"priority":1,"record_length":96,"hex_timestamp":"000001a14342ed30"} 
[2026-10-16 11:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:24: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-10-16 11:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":6145,"corrected_to":0} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250281716151289000,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029931,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4071358464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:18] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,44,83,24,241,157,16,242,161,73,45,4,65,10,66,247,165,1,240,36,227,67,37,113,205,82,168,43,239,48,2,99,7,75,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":247,"original":6145,"validated":0},{"io_id":205,"original":724304078,"validated":0}]} 
[2026-10-16 11:24:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057153667858432,"timestamp_seconds":4684057153667858.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785229056001,"66":12580,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785229056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:24:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785229056001,"power":12580,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":216779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:24:18] local.INFO: GPS data processed {"connection_id":216779,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:24:18] local.INFO: Acknowledgment sent {"connection_id":216779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:24:21] local.INFO: TCP Data received {"connection_id":216780,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:24:21] local.INFO: Processing buffer {"connection_id":216780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:24:21] local.INFO: IMEI packet received {"connection_id":216780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":216780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:24:22] local.INFO: TCP Data received {"connection_id":219862,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:24:22] local.INFO: Processing buffer {"connection_id":219862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:24:22] local.INFO: IMEI packet received {"connection_id":219862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":219862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:24:23] local.INFO: TCP Data received {"connection_id":219862,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:24:23] local.INFO: Processing buffer {"connection_id":219862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:24:23] local.INFO: Packet analysis {"connection_id":219862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:24:23] local.INFO: Extracted packet for processing {"connection_id":219862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785167104001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792129860000,"timestamp_ms":1792129860000,"timestamp_seconds":1792129860,"priority":1,"record_length":96,"hex_timestamp":"000001a1434381a0"} 
[2026-10-16 11:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785167104001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785167104001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:24:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:24:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785167104001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":219862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:24:23] local.INFO: GPS data processed {"connection_id":219862,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:24:23] local.INFO: Acknowledgment sent {"connection_id":219862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:24:26] local.INFO: TCP Data received {"connection_id":216780,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:24:26] local.INFO: Processing buffer {"connection_id":216780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:24:26] local.INFO: IMEI packet received {"connection_id":216780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":216780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:24:27] local.INFO: TCP Data received {"connection_id":216780,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:24:27] local.INFO: Processing buffer {"connection_id":216780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:24:27] local.INFO: Packet analysis {"connection_id":216780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:24:27] local.INFO: Extracted packet for processing {"connection_id":216780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785208832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:27] 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-10-16 11:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130023000,"timestamp_ms":1792130023000,"timestamp_seconds":1792130023,"priority":1,"record_length":96,"hex_timestamp":"000001a14345fe58"} 
[2026-10-16 11:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:24:27] 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-10-16 11:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785208832001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785208832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:24:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:24:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785208832001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":216780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:24:27] local.INFO: GPS data processed {"connection_id":216780,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:24:27] local.INFO: Acknowledgment sent {"connection_id":216780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:24:50] local.INFO: TCP Data received {"connection_id":216779,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143433f38012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143433f38012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:24:50] local.INFO: Processing buffer {"connection_id":216779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143433f38012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:24:50] local.INFO: Packet analysis {"connection_id":216779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:24:50] local.INFO: Extracted packet for processing {"connection_id":216779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785234432001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792129843000,"timestamp_ms":1792129843000,"timestamp_seconds":1792129843,"priority":1,"record_length":96,"hex_timestamp":"000001a143433f38"} 
[2026-10-16 11:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-10-16 11:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":216779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":216779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":216779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785234432001,"66":12558,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785234432001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785234432001,"power":12558,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":216779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:24:50] local.INFO: GPS data processed {"connection_id":216779,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:24:50] local.INFO: Acknowledgment sent {"connection_id":216779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:24:51] local.INFO: TCP Data received {"connection_id":216781,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:24:51] local.INFO: Processing buffer {"connection_id":216781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:24:51] local.INFO: IMEI packet received {"connection_id":216781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":216781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:24:55] local.INFO: TCP Data received {"connection_id":219862,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:24:55] local.INFO: Processing buffer {"connection_id":219862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:24:55] local.INFO: Packet analysis {"connection_id":219862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:24:55] local.INFO: Extracted packet for processing {"connection_id":219862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785167104001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792129860000,"timestamp_ms":1792129860000,"timestamp_seconds":1792129860,"priority":1,"record_length":96,"hex_timestamp":"000001a1434381a0"} 
[2026-10-16 11:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785167104001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785167104001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:24:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:24:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785167104001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":219862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:24:55] local.INFO: GPS data processed {"connection_id":219862,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:24:55] local.INFO: Acknowledgment sent {"connection_id":219862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:24:59] local.INFO: TCP Data received {"connection_id":216780,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:24:59] local.INFO: Processing buffer {"connection_id":216780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:24:59] local.INFO: Packet analysis {"connection_id":216780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:24:59] local.INFO: Extracted packet for processing {"connection_id":216780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785208832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:24:59] 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-10-16 11:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792130023000,"timestamp_ms":1792130023000,"timestamp_seconds":1792130023,"priority":1,"record_length":96,"hex_timestamp":"000001a14345fe58"} 
[2026-10-16 11:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785208832001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785208832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:24:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:24:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785208832001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":216780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:24:59] local.INFO: GPS data processed {"connection_id":216780,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:24:59] local.INFO: Acknowledgment sent {"connection_id":216780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:25:07] local.INFO: TCP Data received {"connection_id":219863,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:25:07] local.INFO: Processing buffer {"connection_id":219863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:25:07] local.INFO: IMEI packet received {"connection_id":219863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":219863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:25:13] local.INFO: TCP Data received {"connection_id":219863,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:25:13] local.INFO: Processing buffer {"connection_id":219863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:25:13] local.INFO: IMEI packet received {"connection_id":219863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":219863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:25:13] local.INFO: TCP Data received {"connection_id":219863,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143439140012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143439140012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:25:13] local.INFO: Processing buffer {"connection_id":219863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143439140012d1b5200072504a80041011d2a..."} 
[2026-10-16 11:25:13] local.INFO: Packet analysis {"connection_id":219863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:25:13] local.INFO: Extracted packet for processing {"connection_id":219863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119866536,"longitude_deg":75.6765184,"latitude_deg":11.9866536,"altitude":65,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"072504a8","is_valid_coordinates":true} 
[2026-10-16 11:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785239808001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132843242651648,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792129864000,"timestamp_ms":1792129864000,"timestamp_seconds":1792129864,"priority":1,"record_length":96,"hex_timestamp":"000001a143439140"} 
[2026-10-16 11:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:25:13] 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-10-16 11:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250281716151289000,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4071358464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,44,83,24,241,157,16,242,161,237,45,4,65,43,10,66,155,42,73,1,240,14,227,67,37,113,205,165,82,168,39,239,49,2,99,7,75,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-10-16 11:25:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057153667858432,"timestamp_seconds":4684057153667858.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785239808001,"66":12558,"44":206,"83":41984,"24":0,"16":28132843242651648,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785239808001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132843242651648,"km_value":28132843242651.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785239808001,"power":12558,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":219863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:25:13] local.INFO: GPS data processed {"connection_id":219863,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:25:13] local.INFO: Acknowledgment sent {"connection_id":219863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:25:16] local.INFO: TCP Data received {"connection_id":218134,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:25:16] local.INFO: Processing buffer {"connection_id":218134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:25:16] local.INFO: IMEI packet received {"connection_id":218134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":218134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:25:21] local.INFO: TCP Data received {"connection_id":216782,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:25:21] local.INFO: Processing buffer {"connection_id":216782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:25:21] local.INFO: IMEI packet received {"connection_id":216782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":216782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:25:22] local.INFO: TCP Data received {"connection_id":218134,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:25:22] local.INFO: Processing buffer {"connection_id":218134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:25:22] local.INFO: IMEI packet received {"connection_id":218134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":218134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:25:23] local.INFO: TCP Data received {"connection_id":218134,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:25:23] local.INFO: Processing buffer {"connection_id":218134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:25:23] local.INFO: Packet analysis {"connection_id":218134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:25:23] local.INFO: Extracted packet for processing {"connection_id":218134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785167104001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792129860000,"timestamp_ms":1792129860000,"timestamp_seconds":1792129860,"priority":1,"record_length":96,"hex_timestamp":"000001a1434381a0"} 
[2026-10-16 11:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785167104001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785167104001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:25:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:25:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785167104001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":218134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:25:23] local.INFO: GPS data processed {"connection_id":218134,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:25:23] local.INFO: Acknowledgment sent {"connection_id":218134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:25:26] local.INFO: TCP Data received {"connection_id":216782,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:25:26] local.INFO: Processing buffer {"connection_id":216782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:25:26] local.INFO: IMEI packet received {"connection_id":216782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":216782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:25:27] local.INFO: TCP Data received {"connection_id":216782,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:25:27] local.INFO: Processing buffer {"connection_id":216782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:25:27] local.INFO: Packet analysis {"connection_id":216782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:25:27] local.INFO: Extracted packet for processing {"connection_id":216782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785208832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:27] 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-10-16 11:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130023000,"timestamp_ms":1792130023000,"timestamp_seconds":1792130023,"priority":1,"record_length":96,"hex_timestamp":"000001a14345fe58"} 
[2026-10-16 11:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:25:27] 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-10-16 11:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:25: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-10-16 11:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785208832001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785208832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:25:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:25:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785208832001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":216782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:25:27] local.INFO: GPS data processed {"connection_id":216782,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:25:27] local.INFO: Acknowledgment sent {"connection_id":216782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:25:45] local.INFO: TCP Data received {"connection_id":219863,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14343e348012d1b5200072501180035011d29..."} 
[2026-10-16 11:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14343e348012d1b5200072501180035011d29..."} 
[2026-10-16 11:25:45] local.INFO: Processing buffer {"connection_id":219863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14343e348012d1b5200072501180035011d29..."} 
[2026-10-16 11:25:45] local.INFO: Packet analysis {"connection_id":219863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:25:45] local.INFO: Extracted packet for processing {"connection_id":219863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119865624,"longitude_deg":75.6765184,"latitude_deg":11.9865624,"altitude":53,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1b5200","hex_latitude":"07250118","is_valid_coordinates":true} 
[2026-10-16 11:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785245184001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132890487291904,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017800161280,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792129885000,"timestamp_ms":1792129885000,"timestamp_seconds":1792129885,"priority":1,"record_length":96,"hex_timestamp":"000001a14343e348"} 
[2026-10-16 11:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:25: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-10-16 11:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250281716151289000,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:25:45] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":402730267,"corrected_to":0} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4071358464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:45] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,44,83,24,241,157,16,242,161,63,45,4,65,42,10,66,237,43,155,1,240,14,227,67,37,113,205,247,82,168,239,49,2,99,7,75,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0},{"io_id":247,"original":402730267,"validated":0}]} 
[2026-10-16 11:25:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684057153667858432,"timestamp_seconds":4684057153667858.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":219863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":219863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":219863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785245184001,"66":12558,"44":206,"83":41984,"24":0,"16":28132890487291904,"45":1968636017800161280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785245184001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:25:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132890487291904,"km_value":28132890487291.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017800161280,"description":"Unknown IO ID 45"} 
[2026-10-16 11:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785245184001,"power":12558,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017800161280}} 
[2026-10-16 11:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":219863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:25:45] local.INFO: GPS data processed {"connection_id":219863,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:25:45] local.INFO: Acknowledgment sent {"connection_id":219863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:25:55] local.INFO: TCP Data received {"connection_id":218134,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:25:55] local.INFO: Processing buffer {"connection_id":218134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:25:55] local.INFO: Packet analysis {"connection_id":218134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:25:55] local.INFO: Extracted packet for processing {"connection_id":218134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785167104001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792129860000,"timestamp_ms":1792129860000,"timestamp_seconds":1792129860,"priority":1,"record_length":96,"hex_timestamp":"000001a1434381a0"} 
[2026-10-16 11:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785167104001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785167104001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:25:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:25:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785167104001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":218134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:25:55] local.INFO: GPS data processed {"connection_id":218134,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:25:55] local.INFO: Acknowledgment sent {"connection_id":218134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:26:02] local.INFO: TCP Data received {"connection_id":216782,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:26:02] local.INFO: Processing buffer {"connection_id":216782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:26:02] local.INFO: Packet analysis {"connection_id":216782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:26:02] local.INFO: Extracted packet for processing {"connection_id":216782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785208832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:02] 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-10-16 11:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792130023000,"timestamp_ms":1792130023000,"timestamp_seconds":1792130023,"priority":1,"record_length":96,"hex_timestamp":"000001a14345fe58"} 
[2026-10-16 11:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:26:02] 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-10-16 11:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785208832001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785208832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:26:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785208832001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":216782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:26:02] local.INFO: GPS data processed {"connection_id":216782,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:26:02] local.INFO: Acknowledgment sent {"connection_id":216782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:26:12] local.INFO: TCP Data received {"connection_id":219864,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:26:12] local.INFO: Processing buffer {"connection_id":219864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:26:12] local.INFO: IMEI packet received {"connection_id":219864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":219864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:26:15] local.INFO: TCP Data received {"connection_id":219864,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:26:15] local.INFO: Processing buffer {"connection_id":219864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:26:15] local.INFO: IMEI packet received {"connection_id":219864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":219864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:26:16] local.INFO: TCP Data received {"connection_id":219865,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:26:16] local.INFO: Processing buffer {"connection_id":219865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:26:16] local.INFO: IMEI packet received {"connection_id":219865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":219865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:26:16] local.INFO: TCP Data received {"connection_id":219864,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143443550012d1b5280072501000035011d2b..."} 
[2026-10-16 11:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143443550012d1b5280072501000035011d2b..."} 
[2026-10-16 11:26:16] local.INFO: Processing buffer {"connection_id":219864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143443550012d1b5280072501000035011d2b..."} 
[2026-10-16 11:26:16] local.INFO: Packet analysis {"connection_id":219864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14344"} 
[2026-10-16 11:26:16] local.INFO: Extracted packet for processing {"connection_id":219864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14344"} 
[2026-10-16 11:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756765312,"raw_latitude":119865600,"longitude_deg":75.6765312,"latitude_deg":11.98656,"altitude":53,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b5280","hex_latitude":"07250100","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785250560001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132894782259200,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017799927808,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792129906000,"timestamp_ms":1792129906000,"timestamp_seconds":1792129906,"priority":1,"record_length":96,"hex_timestamp":"000001a143443550"} 
[2026-10-16 11:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:26: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-10-16 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250281716151289000,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4071358464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:16] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,44,83,24,241,157,16,242,161,145,45,4,65,42,10,66,63,237,1,240,36,227,67,37,113,205,73,82,168,239,49,2,99,7,43,75,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-10-16 11:26:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819366020917755904,"timestamp_seconds":3819366020917756.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":219864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":219864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":219864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785250560001,"66":12548,"44":206,"83":41984,"24":0,"16":28132894782259200,"45":1968636017799927808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785250560001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:26:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132894782259200,"km_value":28132894782259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017799927808,"description":"Unknown IO ID 45"} 
[2026-10-16 11:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785250560001,"power":12548,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968636017799927808}} 
[2026-10-16 11:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":219864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:26:16] local.INFO: GPS data processed {"connection_id":219864,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:26:16] local.INFO: Acknowledgment sent {"connection_id":219864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:26:21] local.INFO: TCP Data received {"connection_id":219864,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143448758012d1b5280072501000035011d2b..."} 
[2026-10-16 11:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143448758012d1b5280072501000035011d2b..."} 
[2026-10-16 11:26:21] local.INFO: Processing buffer {"connection_id":219864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143448758012d1b5280072501000035011d2b..."} 
[2026-10-16 11:26:21] local.INFO: Packet analysis {"connection_id":219864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14344"} 
[2026-10-16 11:26:21] local.INFO: Extracted packet for processing {"connection_id":219864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14344"} 
[2026-10-16 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":756765312,"raw_latitude":119865600,"longitude_deg":75.6765312,"latitude_deg":11.98656,"altitude":53,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b5280","hex_latitude":"07250100","is_valid_coordinates":true} 
[2026-10-16 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785255936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132894782259200,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755288276992,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792129927000,"timestamp_ms":1792129927000,"timestamp_seconds":1792129927,"priority":1,"record_length":96,"hex_timestamp":"000001a143448758"} 
[2026-10-16 11:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:26: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-10-16 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 11:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:21] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:26:21] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4071358464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:21] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:21] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,44,83,24,241,157,16,242,161,227,45,1,53,41,10,66,145,4,65,42,63,240,14,67,37,113,205,155,82,168,239,49,2,99,7,43],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-10-16 11:26:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819366029507690496,"timestamp_seconds":3819366029507690.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":219864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":219864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":219864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785255936001,"66":12558,"44":206,"83":41984,"24":0,"16":28132894782259200,"45":1968776755288276992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785255936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132894782259200,"km_value":28132894782259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755288276992,"description":"Unknown IO ID 45"} 
[2026-10-16 11:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785255936001,"power":12558,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968776755288276992}} 
[2026-10-16 11:26:21] local.INFO: TCP Data received {"connection_id":216589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:26:21] local.INFO: Processing buffer {"connection_id":216589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:26:21] local.INFO: IMEI packet received {"connection_id":216589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":216589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":219864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:26:21] local.INFO: GPS data processed {"connection_id":219864,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:26:21] local.INFO: Acknowledgment sent {"connection_id":219864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:26:22] local.INFO: TCP Data received {"connection_id":219865,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:26:22] local.INFO: Processing buffer {"connection_id":219865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:26:22] local.INFO: IMEI packet received {"connection_id":219865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":219865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:26:24] local.INFO: TCP Data received {"connection_id":219865,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:26:24] local.INFO: Processing buffer {"connection_id":219865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434381a0012d7fa40005afce580009000a32..."} 
[2026-10-16 11:26:24] local.INFO: Packet analysis {"connection_id":219865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:26:24] local.INFO: Extracted packet for processing {"connection_id":219865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14343"} 
[2026-10-16 11:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785167104001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792129860000,"timestamp_ms":1792129860000,"timestamp_seconds":1792129860,"priority":1,"record_length":96,"hex_timestamp":"000001a1434381a0"} 
[2026-10-16 11:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785167104001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785167104001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:26:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:26:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785167104001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":219865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:26:24] local.INFO: GPS data processed {"connection_id":219865,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:26:24] local.INFO: Acknowledgment sent {"connection_id":219865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:26:26] local.INFO: TCP Data received {"connection_id":216589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:26:26] local.INFO: Processing buffer {"connection_id":216589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:26:26] local.INFO: IMEI packet received {"connection_id":216589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":216589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:26:28] local.INFO: TCP Data received {"connection_id":216589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:26:28] local.INFO: Processing buffer {"connection_id":216589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:26:28] local.INFO: Packet analysis {"connection_id":216589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:26:28] local.INFO: Extracted packet for processing {"connection_id":216589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785208832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:28] 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-10-16 11:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792130023000,"timestamp_ms":1792130023000,"timestamp_seconds":1792130023,"priority":1,"record_length":96,"hex_timestamp":"000001a14345fe58"} 
[2026-10-16 11:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:26:28] 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-10-16 11:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:26:28] 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-10-16 11:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785208832001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785208832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:26:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:26:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785208832001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":216589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:26:28] local.INFO: GPS data processed {"connection_id":216589,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:26:28] local.INFO: Acknowledgment sent {"connection_id":216589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:26:52] local.INFO: TCP Data received {"connection_id":219864,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14344d960012d1b5280072501000035011d2c..."} 
[2026-10-16 11:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14344d960012d1b5280072501000035011d2c..."} 
[2026-10-16 11:26:52] local.INFO: Processing buffer {"connection_id":219864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14344d960012d1b5280072501000035011d2c..."} 
[2026-10-16 11:26:52] local.INFO: Packet analysis {"connection_id":219864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14344"} 
[2026-10-16 11:26:52] local.INFO: Extracted packet for processing {"connection_id":219864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14344"} 
[2026-10-16 11:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756765312,"raw_latitude":119865600,"longitude_deg":75.6765312,"latitude_deg":11.98656,"altitude":53,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d1b5280","hex_latitude":"07250100","is_valid_coordinates":true} 
[2026-10-16 11:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785261312001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132894782259200,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755288276992,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792129948000,"timestamp_ms":1792129948000,"timestamp_seconds":1792129948,"priority":1,"record_length":96,"hex_timestamp":"000001a14344d960"} 
[2026-10-16 11:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:26: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-10-16 11:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250281716151289000,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4071358464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,44,83,24,241,157,16,242,161,53,45,128,1,43,10,66,227,41,145,240,14,67,37,4,113,205,237,82,168,239,49,2,99,7,65,76,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-10-16 11:26:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819366029507690496,"timestamp_seconds":3819366029507690.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":219864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":219864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":219864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785261312001,"66":12504,"44":206,"83":41984,"24":0,"16":28132894782259200,"45":1968776755288276992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785261312001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:26:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132894782259200,"km_value":28132894782259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755288276992,"description":"Unknown IO ID 45"} 
[2026-10-16 11:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785261312001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968776755288276992}} 
[2026-10-16 11:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":219864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:26:52] local.INFO: GPS data processed {"connection_id":219864,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:26:52] local.INFO: Acknowledgment sent {"connection_id":219864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:26:56] local.INFO: TCP Data received {"connection_id":219865,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:26:56] local.INFO: Processing buffer {"connection_id":219865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:26:56] local.INFO: Packet analysis {"connection_id":219865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:26:56] local.INFO: Extracted packet for processing {"connection_id":219865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785244160001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792130161000,"timestamp_ms":1792130161000,"timestamp_seconds":1792130161,"priority":1,"record_length":96,"hex_timestamp":"000001a143481968"} 
[2026-10-16 11:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785244160001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785244160001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:26:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:26:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785244160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":219865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:26:56] local.INFO: GPS data processed {"connection_id":219865,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:26:56] local.INFO: Acknowledgment sent {"connection_id":219865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:27:05] local.INFO: TCP Data received {"connection_id":216589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:27:05] local.INFO: Processing buffer {"connection_id":216589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:27:05] local.INFO: Packet analysis {"connection_id":216589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:27:05] local.INFO: Extracted packet for processing {"connection_id":216589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785208832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:05] 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-10-16 11:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792130023000,"timestamp_ms":1792130023000,"timestamp_seconds":1792130023,"priority":1,"record_length":96,"hex_timestamp":"000001a14345fe58"} 
[2026-10-16 11:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:27: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-10-16 11: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-10-16 11:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785208832001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785208832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:27:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:27:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785208832001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":216589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:27:05] local.INFO: GPS data processed {"connection_id":216589,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:27:05] local.INFO: Acknowledgment sent {"connection_id":216589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:27:07] local.INFO: TCP Data received {"connection_id":218135,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:27:07] local.INFO: Processing buffer {"connection_id":218135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:27:07] local.INFO: IMEI packet received {"connection_id":218135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":218135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:27:12] local.INFO: TCP Data received {"connection_id":218135,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:27:12] local.INFO: Processing buffer {"connection_id":218135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:27:12] local.INFO: IMEI packet received {"connection_id":218135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":218135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:27:13] local.INFO: TCP Data received {"connection_id":218135,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143452b68012d1b5280072501000035011d2c..."} 
[2026-10-16 11:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143452b68012d1b5280072501000035011d2c..."} 
[2026-10-16 11:27:13] local.INFO: Processing buffer {"connection_id":218135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143452b68012d1b5280072501000035011d2c..."} 
[2026-10-16 11:27:13] local.INFO: Packet analysis {"connection_id":218135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:27:13] local.INFO: Extracted packet for processing {"connection_id":218135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756765312,"raw_latitude":119865600,"longitude_deg":75.6765312,"latitude_deg":11.98656,"altitude":53,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d1b5280","hex_latitude":"07250100","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785266688001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132894782259200,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755288276992,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792129969000,"timestamp_ms":1792129969000,"timestamp_seconds":1792129969,"priority":1,"record_length":96,"hex_timestamp":"000001a143452b68"} 
[2026-10-16 11:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:27:13] 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-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:27: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-10-16 11: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-10-16 11:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785266688001,"66":12504,"44":206,"83":41984,"24":0,"16":28132894782259200,"45":1968776755288276992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785266688001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:27:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132894782259200,"km_value":28132894782259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755288276992,"description":"Unknown IO ID 45"} 
[2026-10-16 11:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785266688001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968776755288276992}} 
[2026-10-16 11:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":218135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:27:13] local.INFO: GPS data processed {"connection_id":218135,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:27:13] local.INFO: Acknowledgment sent {"connection_id":218135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:27:16] local.INFO: TCP Data received {"connection_id":218136,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:27:16] local.INFO: Processing buffer {"connection_id":218136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:27:16] local.INFO: IMEI packet received {"connection_id":218136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":218136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:27:20] local.INFO: TCP Data received {"connection_id":216785,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:27:20] local.INFO: Processing buffer {"connection_id":216785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:27:20] local.INFO: IMEI packet received {"connection_id":216785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":216785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:27:22] local.INFO: TCP Data received {"connection_id":218136,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:27:22] local.INFO: Processing buffer {"connection_id":218136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:27:22] local.INFO: IMEI packet received {"connection_id":218136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":218136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:27:23] local.INFO: TCP Data received {"connection_id":218136,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:27:23] local.INFO: Processing buffer {"connection_id":218136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:27:23] local.INFO: Packet analysis {"connection_id":218136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:27:23] local.INFO: Extracted packet for processing {"connection_id":218136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:27: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-10-16 11:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785244160001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792130161000,"timestamp_ms":1792130161000,"timestamp_seconds":1792130161,"priority":1,"record_length":96,"hex_timestamp":"000001a143481968"} 
[2026-10-16 11:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:27: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:27: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-10-16 11:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785244160001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785244160001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:27:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:27:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785244160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":218136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:27:23] local.INFO: GPS data processed {"connection_id":218136,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:27:23] local.INFO: Acknowledgment sent {"connection_id":218136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:27:27] local.INFO: TCP Data received {"connection_id":216785,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:27:27] local.INFO: Processing buffer {"connection_id":216785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:27:27] local.INFO: IMEI packet received {"connection_id":216785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":216785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:27:28] local.INFO: TCP Data received {"connection_id":216785,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:27:28] local.INFO: Processing buffer {"connection_id":216785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:27:28] local.INFO: Packet analysis {"connection_id":216785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:27:28] local.INFO: Extracted packet for processing {"connection_id":216785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:27:28] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785208832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:28] 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-10-16 11:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792130023000,"timestamp_ms":1792130023000,"timestamp_seconds":1792130023,"priority":1,"record_length":96,"hex_timestamp":"000001a14345fe58"} 
[2026-10-16 11:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:27:28] 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-10-16 11:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:27:28] 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-10-16 11:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785208832001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785208832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:27:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:27:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785208832001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":216785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:27:28] local.INFO: GPS data processed {"connection_id":216785,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:27:28] local.INFO: Acknowledgment sent {"connection_id":216785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:27:45] local.INFO: TCP Data received {"connection_id":218135,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143457d70012d1b5280072501000035011d2b..."} 
[2026-10-16 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143457d70012d1b5280072501000035011d2b..."} 
[2026-10-16 11:27:45] local.INFO: Processing buffer {"connection_id":218135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143457d70012d1b5280072501000035011d2b..."} 
[2026-10-16 11:27:45] local.INFO: Packet analysis {"connection_id":218135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:27:45] local.INFO: Extracted packet for processing {"connection_id":218135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756765312,"raw_latitude":119865600,"longitude_deg":75.6765312,"latitude_deg":11.98656,"altitude":53,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b5280","hex_latitude":"07250100","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785272064001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132894782259200,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755288276992,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792129990000,"timestamp_ms":1792129990000,"timestamp_seconds":1792129990,"priority":1,"record_length":96,"hex_timestamp":"000001a143457d70"} 
[2026-10-16 11:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:27: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-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:27: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-10-16 11: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-10-16 11:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785272064001,"66":12526,"44":206,"83":41984,"24":0,"16":28132894782259200,"45":1968776755288276992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785272064001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:27:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132894782259200,"km_value":28132894782259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755288276992,"description":"Unknown IO ID 45"} 
[2026-10-16 11:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785272064001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968776755288276992}} 
[2026-10-16 11:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":218135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:27:45] local.INFO: GPS data processed {"connection_id":218135,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:27:45] local.INFO: Acknowledgment sent {"connection_id":218135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:27:55] local.INFO: TCP Data received {"connection_id":218136,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:27:55] local.INFO: Processing buffer {"connection_id":218136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:27:55] local.INFO: Packet analysis {"connection_id":218136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:27:55] local.INFO: Extracted packet for processing {"connection_id":218136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785244160001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792130161000,"timestamp_ms":1792130161000,"timestamp_seconds":1792130161,"priority":1,"record_length":96,"hex_timestamp":"000001a143481968"} 
[2026-10-16 11:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:27: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-10-16 11:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785244160001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785244160001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:27:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:27:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785244160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":218136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:27:55] local.INFO: GPS data processed {"connection_id":218136,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:27:55] local.INFO: Acknowledgment sent {"connection_id":218136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:28:00] local.INFO: TCP Data received {"connection_id":216785,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:28:00] local.INFO: Processing buffer {"connection_id":216785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:28:00] local.INFO: Packet analysis {"connection_id":216785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:28:00] local.INFO: Extracted packet for processing {"connection_id":216785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785208832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:00] 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-10-16 11:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792130023000,"timestamp_ms":1792130023000,"timestamp_seconds":1792130023,"priority":1,"record_length":96,"hex_timestamp":"000001a14345fe58"} 
[2026-10-16 11:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11: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-10-16 11:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785208832001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785208832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:28:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:28:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785208832001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":216785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:28:00] local.INFO: GPS data processed {"connection_id":216785,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:28:00] local.INFO: Acknowledgment sent {"connection_id":216785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:28:07] local.INFO: TCP Data received {"connection_id":219866,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:28:07] local.INFO: Processing buffer {"connection_id":219866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:28:07] local.INFO: IMEI packet received {"connection_id":219866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":219866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:28:15] local.INFO: TCP Data received {"connection_id":219866,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:28:15] local.INFO: Processing buffer {"connection_id":219866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:28:15] local.INFO: IMEI packet received {"connection_id":219866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":219866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:28:16] local.INFO: TCP Data received {"connection_id":216590,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:28:16] local.INFO: Processing buffer {"connection_id":216590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:28:16] local.INFO: IMEI packet received {"connection_id":216590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":216590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:28:18] local.INFO: TCP Data received {"connection_id":219866,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14345cf78012d1b5280072501000035011d2a..."} 
[2026-10-16 11:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345cf78012d1b5280072501000035011d2a..."} 
[2026-10-16 11:28:18] local.INFO: Processing buffer {"connection_id":219866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345cf78012d1b5280072501000035011d2a..."} 
[2026-10-16 11:28:18] local.INFO: Packet analysis {"connection_id":219866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:28:18] local.INFO: Extracted packet for processing {"connection_id":219866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756765312,"raw_latitude":119865600,"longitude_deg":75.6765312,"latitude_deg":11.98656,"altitude":53,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b5280","hex_latitude":"07250100","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785277440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132894782259200,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755288276992,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792130011000,"timestamp_ms":1792130011000,"timestamp_seconds":1792130011,"priority":1,"record_length":96,"hex_timestamp":"000001a14345cf78"} 
[2026-10-16 11:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:28: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-10-16 11:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:28: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-10-16 11:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":219866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":219866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":219866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785277440001,"66":12504,"44":206,"83":41984,"24":0,"16":28132894782259200,"45":1968776755288276992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785277440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:28:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132894782259200,"km_value":28132894782259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755288276992,"description":"Unknown IO ID 45"} 
[2026-10-16 11:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785277440001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968776755288276992}} 
[2026-10-16 11:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":219866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:28:18] local.INFO: GPS data processed {"connection_id":219866,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:28:18] local.INFO: Acknowledgment sent {"connection_id":219866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:28:20] local.INFO: TCP Data received {"connection_id":216591,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:28:20] local.INFO: Processing buffer {"connection_id":216591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:28:20] local.INFO: IMEI packet received {"connection_id":216591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":216591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:28:22] local.INFO: TCP Data received {"connection_id":216590,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:28:22] local.INFO: Processing buffer {"connection_id":216590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:28:22] local.INFO: IMEI packet received {"connection_id":216590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":216590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:28:23] local.INFO: TCP Data received {"connection_id":216590,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:28:23] local.INFO: Processing buffer {"connection_id":216590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:28:23] local.INFO: Packet analysis {"connection_id":216590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:28:23] local.INFO: Extracted packet for processing {"connection_id":216590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785244160001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792130161000,"timestamp_ms":1792130161000,"timestamp_seconds":1792130161,"priority":1,"record_length":96,"hex_timestamp":"000001a143481968"} 
[2026-10-16 11:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785244160001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785244160001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:28:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:28:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785244160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":216590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:28:23] local.INFO: GPS data processed {"connection_id":216590,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:28:23] local.INFO: Acknowledgment sent {"connection_id":216590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:28:26] local.INFO: TCP Data received {"connection_id":216591,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:28:26] local.INFO: Processing buffer {"connection_id":216591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:28:26] local.INFO: IMEI packet received {"connection_id":216591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":216591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:28:26] local.INFO: TCP Data received {"connection_id":216591,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:28:26] local.INFO: Processing buffer {"connection_id":216591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14345fe58012d7d3fc005ec0ec00000013924..."} 
[2026-10-16 11:28:26] local.INFO: Packet analysis {"connection_id":216591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:28:26] local.INFO: Extracted packet for processing {"connection_id":216591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14345"} 
[2026-10-16 11:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785208832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:26] 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-10-16 11:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792130023000,"timestamp_ms":1792130023000,"timestamp_seconds":1792130023,"priority":1,"record_length":96,"hex_timestamp":"000001a14345fe58"} 
[2026-10-16 11:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 11:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:28: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-10-16 11:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785208832001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785208832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:28:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:28:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785208832001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":216591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:28:27] local.INFO: GPS data processed {"connection_id":216591,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:28:27] local.INFO: Acknowledgment sent {"connection_id":216591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:28:49] local.INFO: TCP Data received {"connection_id":219866,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434955d0012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434955d0012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:28:49] local.INFO: Processing buffer {"connection_id":219866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434955d0012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:28:49] local.INFO: Packet analysis {"connection_id":219866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14349"} 
[2026-10-16 11:28:49] local.INFO: Extracted packet for processing {"connection_id":219866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14349"} 
[2026-10-16 11:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785336576001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792130242000,"timestamp_ms":1792130242000,"timestamp_seconds":1792130242,"priority":1,"record_length":96,"hex_timestamp":"000001a1434955d0"} 
[2026-10-16 11:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:28: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-10-16 11:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":219866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":219866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":219866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785336576001,"66":12537,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785336576001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:28:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785336576001,"power":12537,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":219866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:28:50] local.INFO: GPS data processed {"connection_id":219866,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:28:50] local.INFO: Acknowledgment sent {"connection_id":219866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:28:55] local.INFO: TCP Data received {"connection_id":216590,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:28:55] local.INFO: Processing buffer {"connection_id":216590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:28:55] local.INFO: Packet analysis {"connection_id":216590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:28:55] local.INFO: Extracted packet for processing {"connection_id":216590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785244160001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792130161000,"timestamp_ms":1792130161000,"timestamp_seconds":1792130161,"priority":1,"record_length":96,"hex_timestamp":"000001a143481968"} 
[2026-10-16 11:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785244160001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785244160001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:28:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:28:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785244160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":216590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:28:55] local.INFO: GPS data processed {"connection_id":216590,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:28:55] local.INFO: Acknowledgment sent {"connection_id":216590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:28:58] local.INFO: TCP Data received {"connection_id":216591,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:28:58] local.INFO: Processing buffer {"connection_id":216591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:28:58] local.INFO: Packet analysis {"connection_id":216591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:28:58] local.INFO: Extracted packet for processing {"connection_id":216591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:28:58] 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-10-16 11:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 11:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:28: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-10-16 11:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:28:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:28:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":216591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:28:58] local.INFO: GPS data processed {"connection_id":216591,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:28:58] local.INFO: Acknowledgment sent {"connection_id":216591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:29:07] local.INFO: TCP Data received {"connection_id":218137,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:29:07] local.INFO: Processing buffer {"connection_id":218137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:29:07] local.INFO: IMEI packet received {"connection_id":218137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":218137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:29:12] local.INFO: TCP Data received {"connection_id":218137,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:29:12] local.INFO: Processing buffer {"connection_id":218137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:29:12] local.INFO: IMEI packet received {"connection_id":218137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":218137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:29:13] local.INFO: TCP Data received {"connection_id":218137,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14349a7d8012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14349a7d8012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:29:13] local.INFO: Processing buffer {"connection_id":218137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14349a7d8012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:29:13] local.INFO: Packet analysis {"connection_id":218137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14349"} 
[2026-10-16 11:29:13] local.INFO: Extracted packet for processing {"connection_id":218137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14349"} 
[2026-10-16 11:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 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-10-16 11:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785341952001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792130263000,"timestamp_ms":1792130263000,"timestamp_seconds":1792130263,"priority":1,"record_length":96,"hex_timestamp":"000001a14349a7d8"} 
[2026-10-16 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-10-16 11:29:13] 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-10-16 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:29:13] 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-10-16 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-10-16 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-10-16 11:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785341952001,"66":12504,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785341952001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:29:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785341952001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":218137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:29:13] local.INFO: GPS data processed {"connection_id":218137,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:29:13] local.INFO: Acknowledgment sent {"connection_id":218137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:29:16] local.INFO: TCP Data received {"connection_id":219868,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:29:16] local.INFO: Processing buffer {"connection_id":219868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:29:16] local.INFO: IMEI packet received {"connection_id":219868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":219868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:29:21] local.INFO: TCP Data received {"connection_id":218138,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:29:21] local.INFO: Processing buffer {"connection_id":218138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:29:21] local.INFO: IMEI packet received {"connection_id":218138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":218138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:29:22] local.INFO: TCP Data received {"connection_id":219868,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:29:22] local.INFO: Processing buffer {"connection_id":219868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:29:22] local.INFO: IMEI packet received {"connection_id":219868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":219868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:29:23] local.INFO: TCP Data received {"connection_id":219868,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:29:23] local.INFO: Processing buffer {"connection_id":219868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:29:23] local.INFO: Packet analysis {"connection_id":219868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:29:23] local.INFO: Extracted packet for processing {"connection_id":219868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785244160001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792130161000,"timestamp_ms":1792130161000,"timestamp_seconds":1792130161,"priority":1,"record_length":96,"hex_timestamp":"000001a143481968"} 
[2026-10-16 11:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785244160001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785244160001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:29:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:29:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785244160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":219868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:29:23] local.INFO: GPS data processed {"connection_id":219868,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:29:23] local.INFO: Acknowledgment sent {"connection_id":219868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:29:25] local.INFO: TCP Data received {"connection_id":218138,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:29:25] local.INFO: Processing buffer {"connection_id":218138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:29:25] local.INFO: IMEI packet received {"connection_id":218138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":218138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:29:26] local.INFO: TCP Data received {"connection_id":218138,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:29:26] local.INFO: Processing buffer {"connection_id":218138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:29:26] local.INFO: Packet analysis {"connection_id":218138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:29:26] local.INFO: Extracted packet for processing {"connection_id":218138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:29: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-10-16 11:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:26] 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-10-16 11:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 11:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:29: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-10-16 11:29: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-10-16 11:29: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-10-16 11:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:29: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-10-16 11:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:29:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:29:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":218138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:29:26] local.INFO: GPS data processed {"connection_id":218138,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:29:26] local.INFO: Acknowledgment sent {"connection_id":218138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:29:32] local.INFO: TCP Data received {"connection_id":218138,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:29:32] local.INFO: Processing buffer {"connection_id":218138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:29:32] local.INFO: Packet analysis {"connection_id":218138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:29:32] local.INFO: Extracted packet for processing {"connection_id":218138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 11:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:29:32] 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-10-16 11:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:29:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:29:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":218138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:29:32] local.INFO: GPS data processed {"connection_id":218138,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:29:32] local.INFO: Acknowledgment sent {"connection_id":218138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:29:45] local.INFO: TCP Data received {"connection_id":218137,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14349f9e0012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14349f9e0012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:29:45] local.INFO: Processing buffer {"connection_id":218137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14349f9e0012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:29:45] local.INFO: Packet analysis {"connection_id":218137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14349"} 
[2026-10-16 11:29:45] local.INFO: Extracted packet for processing {"connection_id":218137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14349"} 
[2026-10-16 11:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785347328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792130284000,"timestamp_ms":1792130284000,"timestamp_seconds":1792130284,"priority":1,"record_length":96,"hex_timestamp":"000001a14349f9e0"} 
[2026-10-16 11:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:29: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-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:29: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-10-16 11: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-10-16 11:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785347328001,"66":12537,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785347328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:29:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785347328001,"power":12537,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":218137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:29:45] local.INFO: GPS data processed {"connection_id":218137,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:29:45] local.INFO: Acknowledgment sent {"connection_id":218137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:29:54] local.INFO: TCP Data received {"connection_id":219868,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:29:54] local.INFO: Processing buffer {"connection_id":219868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:29:54] local.INFO: Packet analysis {"connection_id":219868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:29:54] local.INFO: Extracted packet for processing {"connection_id":219868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785244160001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792130161000,"timestamp_ms":1792130161000,"timestamp_seconds":1792130161,"priority":1,"record_length":96,"hex_timestamp":"000001a143481968"} 
[2026-10-16 11:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785244160001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785244160001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:29:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:29:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785244160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":219868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:29:54] local.INFO: GPS data processed {"connection_id":219868,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:29:54] local.INFO: Acknowledgment sent {"connection_id":219868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:30:03] local.INFO: TCP Data received {"connection_id":218138,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:30:03] local.INFO: Processing buffer {"connection_id":218138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:30:03] local.INFO: Packet analysis {"connection_id":218138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:30:03] local.INFO: Extracted packet for processing {"connection_id":218138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 11:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:30:03] 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-10-16 11: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-10-16 11:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":218138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":218138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":218138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:30: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-10-16 11:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:30:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:30:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":218138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:30:03] local.INFO: GPS data processed {"connection_id":218138,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:30:03] local.INFO: Acknowledgment sent {"connection_id":218138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:30:06] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:30:06] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:30:06] local.INFO: IMEI packet received {"connection_id":216593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":216593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:30:07] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:30:07] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:30:07] local.INFO: IMEI packet received {"connection_id":216593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":216593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:30:12] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:30:12] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:30:12] local.INFO: IMEI packet received {"connection_id":216593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":216593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:30:13] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a4be8012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a4be8012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:30:13] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a4be8012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:30:13] local.INFO: Packet analysis {"connection_id":216593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:30:13] local.INFO: Extracted packet for processing {"connection_id":216593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785352704001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792130305000,"timestamp_ms":1792130305000,"timestamp_seconds":1792130305,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a4be8"} 
[2026-10-16 11:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:30: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-10-16 11: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":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:30:13] 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-10-16 11: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-10-16 11:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785352704001,"66":12537,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785352704001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785352704001,"power":12537,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":216593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:30:13] local.INFO: GPS data processed {"connection_id":216593,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:30:13] local.INFO: Acknowledgment sent {"connection_id":216593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:30:21] local.INFO: TCP Data received {"connection_id":218140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:30:21] local.INFO: Processing buffer {"connection_id":218140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:30:21] local.INFO: IMEI packet received {"connection_id":218140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":218140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:30:21] local.INFO: TCP Data received {"connection_id":216592,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:30:21] local.INFO: Processing buffer {"connection_id":216592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:30:21] local.INFO: IMEI packet received {"connection_id":216592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":216592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:30:22] local.INFO: TCP Data received {"connection_id":218139,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:30:22] local.INFO: Processing buffer {"connection_id":218139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:30:22] local.INFO: IMEI packet received {"connection_id":218139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":218139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:30:26] local.INFO: TCP Data received {"connection_id":218140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:30:26] local.INFO: Processing buffer {"connection_id":218140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:30:26] local.INFO: IMEI packet received {"connection_id":218140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":218140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:30:27] local.INFO: TCP Data received {"connection_id":218139,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:30:27] local.INFO: Processing buffer {"connection_id":218139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:30:27] local.INFO: IMEI packet received {"connection_id":218139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":218139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:30:27] local.INFO: TCP Data received {"connection_id":218140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:30:27] local.INFO: Processing buffer {"connection_id":218140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:30:27] local.INFO: Packet analysis {"connection_id":218140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:30:27] local.INFO: Extracted packet for processing {"connection_id":218140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 11:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:27] 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-10-16 11:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 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-10-16 11:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 11:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:30:27] 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-10-16 11:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:30:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:30:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":218140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:30:27] local.INFO: GPS data processed {"connection_id":218140,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:30:27] local.INFO: Acknowledgment sent {"connection_id":218140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:30:28] local.INFO: TCP Data received {"connection_id":218139,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:30:28] local.INFO: Processing buffer {"connection_id":218139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:30:28] local.INFO: Packet analysis {"connection_id":218139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:30:28] local.INFO: Extracted packet for processing {"connection_id":218139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785244160001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792130161000,"timestamp_ms":1792130161000,"timestamp_seconds":1792130161,"priority":1,"record_length":96,"hex_timestamp":"000001a143481968"} 
[2026-10-16 11:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785244160001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785244160001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:30:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:30:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785244160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":218139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:30:28] local.INFO: GPS data processed {"connection_id":218139,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:30:28] local.INFO: Acknowledgment sent {"connection_id":218139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:30:32] local.INFO: TCP Data received {"connection_id":218139,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:30:32] local.INFO: Processing buffer {"connection_id":218139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:30:32] local.INFO: Packet analysis {"connection_id":218139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:30:32] local.INFO: Extracted packet for processing {"connection_id":218139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785244160001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792130161000,"timestamp_ms":1792130161000,"timestamp_seconds":1792130161,"priority":1,"record_length":96,"hex_timestamp":"000001a143481968"} 
[2026-10-16 11:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785244160001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785244160001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:30:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:30:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785244160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":218139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:30:32] local.INFO: GPS data processed {"connection_id":218139,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:30:32] local.INFO: Acknowledgment sent {"connection_id":218139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:30:44] local.INFO: TCP Data received {"connection_id":216593,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9df0012d1b4fc007250398003f011d26..."} 
[2026-10-16 11:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9df0012d1b4fc007250398003f011d26..."} 
[2026-10-16 11:30:44] local.INFO: Processing buffer {"connection_id":216593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9df0012d1b4fc007250398003f011d26..."} 
[2026-10-16 11:30:44] local.INFO: Packet analysis {"connection_id":216593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:30:44] local.INFO: Extracted packet for processing {"connection_id":216593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785358080001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792130326000,"timestamp_ms":1792130326000,"timestamp_seconds":1792130326,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9df0"} 
[2026-10-16 11:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:30:44] 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-10-16 11: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:30:44] 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-10-16 11: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-10-16 11:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785358080001,"66":12548,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785358080001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:30:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:30:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785358080001,"power":12548,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":216593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:30:45] local.INFO: GPS data processed {"connection_id":216593,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:30:45] local.INFO: Acknowledgment sent {"connection_id":216593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:30:58] local.INFO: TCP Data received {"connection_id":218140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:30:58] local.INFO: Processing buffer {"connection_id":218140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:30:58] local.INFO: Packet analysis {"connection_id":218140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:30:58] local.INFO: Extracted packet for processing {"connection_id":218140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 11:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:30:58] 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-10-16 11:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 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-10-16 11:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:30: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-10-16 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-10-16 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-10-16 11:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:30:58] 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-10-16 11:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:30:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":218140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:30:58] local.INFO: GPS data processed {"connection_id":218140,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:30:58] local.INFO: Acknowledgment sent {"connection_id":218140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:31:07] local.INFO: TCP Data received {"connection_id":218141,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:31:07] local.INFO: Processing buffer {"connection_id":218141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:31:07] local.INFO: IMEI packet received {"connection_id":218141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":218141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:31:10] local.INFO: TCP Data received {"connection_id":218141,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:31:10] local.INFO: Processing buffer {"connection_id":218141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:31:10] local.INFO: IMEI packet received {"connection_id":218141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":218141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:31:13] local.INFO: TCP Data received {"connection_id":218141,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:31:13] local.INFO: Processing buffer {"connection_id":218141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:31:13] local.INFO: IMEI packet received {"connection_id":218141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":218141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:31:14] local.INFO: TCP Data received {"connection_id":218141,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434aeff8012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434aeff8012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:31:14] local.INFO: Processing buffer {"connection_id":218141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434aeff8012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:31:14] local.INFO: Packet analysis {"connection_id":218141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:31:14] local.INFO: Extracted packet for processing {"connection_id":218141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785363456001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792130347000,"timestamp_ms":1792130347000,"timestamp_seconds":1792130347,"priority":1,"record_length":96,"hex_timestamp":"000001a1434aeff8"} 
[2026-10-16 11:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:31: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-10-16 11:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3355520283,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3221693699,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579307,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":99,"raw_value":4072800256,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3170760996297906176,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:14] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,44,83,24,241,157,16,242,161,75,45,192,3,63,42,10,66,249,167,1,240,216,227,67,37,4,113,205,79,152,41,239,48,2,99,7,53,43],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-10-16 11:31:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539941948412133376,"timestamp_seconds":4539941948412133.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 11:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785363456001,"66":12526,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785363456001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:31:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785363456001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":218141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:31:14] local.INFO: GPS data processed {"connection_id":218141,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:31:14] local.INFO: Acknowledgment sent {"connection_id":218141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:31:16] local.INFO: TCP Data received {"connection_id":219869,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:31:16] local.INFO: Processing buffer {"connection_id":219869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:31:16] local.INFO: IMEI packet received {"connection_id":219869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":219869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:31:21] local.INFO: TCP Data received {"connection_id":216595,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:31:21] local.INFO: Processing buffer {"connection_id":216595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:31:21] local.INFO: IMEI packet received {"connection_id":216595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":216595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:31:22] local.INFO: TCP Data received {"connection_id":219869,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:31:22] local.INFO: Processing buffer {"connection_id":219869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:31:22] local.INFO: IMEI packet received {"connection_id":219869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":219869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:31:24] local.INFO: TCP Data received {"connection_id":219869,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:31:24] local.INFO: Processing buffer {"connection_id":219869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143481968012d7fa40005afce580009000a31..."} 
[2026-10-16 11:31:24] local.INFO: Packet analysis {"connection_id":219869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:31:24] local.INFO: Extracted packet for processing {"connection_id":219869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14348"} 
[2026-10-16 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785244160001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792130161000,"timestamp_ms":1792130161000,"timestamp_seconds":1792130161,"priority":1,"record_length":96,"hex_timestamp":"000001a143481968"} 
[2026-10-16 11:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785244160001,"66":25343,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785244160001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:31:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:31:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785244160001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":219869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:31:24] local.INFO: GPS data processed {"connection_id":219869,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:31:24] local.INFO: Acknowledgment sent {"connection_id":219869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:31:26] local.INFO: TCP Data received {"connection_id":216595,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:31:26] local.INFO: Processing buffer {"connection_id":216595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:31:26] local.INFO: IMEI packet received {"connection_id":216595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":216595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:31:27] local.INFO: TCP Data received {"connection_id":216595,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:31:27] local.INFO: Processing buffer {"connection_id":216595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:31:27] local.INFO: Packet analysis {"connection_id":216595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:31:27] local.INFO: Extracted packet for processing {"connection_id":216595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:27] 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-10-16 11:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 11:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:31:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:31:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":216595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:31:27] local.INFO: GPS data processed {"connection_id":216595,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:31:27] local.INFO: Acknowledgment sent {"connection_id":216595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:31:45] local.INFO: TCP Data received {"connection_id":218141,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434b4200012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434b4200012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:31:45] local.INFO: Processing buffer {"connection_id":218141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434b4200012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:31:45] local.INFO: Packet analysis {"connection_id":218141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434b"} 
[2026-10-16 11:31:45] local.INFO: Extracted packet for processing {"connection_id":218141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434b"} 
[2026-10-16 11:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785368832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792130368000,"timestamp_ms":1792130368000,"timestamp_seconds":1792130368,"priority":1,"record_length":96,"hex_timestamp":"000001a1434b4200"} 
[2026-10-16 11:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11: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-10-16 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:31: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-10-16 11: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-10-16 11:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785368832001,"66":12461,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785368832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:31:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785368832001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":218141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:31:45] local.INFO: GPS data processed {"connection_id":218141,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:31:45] local.INFO: Acknowledgment sent {"connection_id":218141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:31:55] local.INFO: TCP Data received {"connection_id":219869,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:31:55] local.INFO: Processing buffer {"connection_id":219869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:31:55] local.INFO: Packet analysis {"connection_id":219869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:31:55] local.INFO: Extracted packet for processing {"connection_id":219869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785321216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792130462000,"timestamp_ms":1792130462000,"timestamp_seconds":1792130462,"priority":1,"record_length":96,"hex_timestamp":"000001a1434cb130"} 
[2026-10-16 11:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785321216001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785321216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:31:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:31:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785321216001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":219869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:31:55] local.INFO: GPS data processed {"connection_id":219869,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:31:55] local.INFO: Acknowledgment sent {"connection_id":219869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:31:58] local.INFO: TCP Data received {"connection_id":216595,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:31:58] local.INFO: Processing buffer {"connection_id":216595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:31:58] local.INFO: Packet analysis {"connection_id":216595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:31:58] local.INFO: Extracted packet for processing {"connection_id":216595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:31:58] 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-10-16 11:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 11:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:31: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-10-16 11:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:31:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":216595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:31:58] local.INFO: GPS data processed {"connection_id":216595,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:31:58] local.INFO: Acknowledgment sent {"connection_id":216595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:32:07] local.INFO: TCP Data received {"connection_id":216789,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:32:07] local.INFO: Processing buffer {"connection_id":216789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:32:07] local.INFO: IMEI packet received {"connection_id":216789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":216789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:32:14] local.INFO: TCP Data received {"connection_id":216789,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:32:14] local.INFO: Processing buffer {"connection_id":216789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:32:14] local.INFO: IMEI packet received {"connection_id":216789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":216789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:32:14] local.INFO: TCP Data received {"connection_id":216789,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434b9408012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434b9408012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:32:14] local.INFO: Processing buffer {"connection_id":216789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434b9408012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:32:14] local.INFO: Packet analysis {"connection_id":216789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434b"} 
[2026-10-16 11:32:14] local.INFO: Extracted packet for processing {"connection_id":216789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434b"} 
[2026-10-16 11:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785374208001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792130389000,"timestamp_ms":1792130389000,"timestamp_seconds":1792130389,"priority":1,"record_length":96,"hex_timestamp":"000001a1434b9408"} 
[2026-10-16 11:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:32: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-10-16 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:32: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-10-16 11: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-10-16 11:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785374208001,"66":12461,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785374208001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:32:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785374208001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":216789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:32:14] local.INFO: GPS data processed {"connection_id":216789,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:32:14] local.INFO: Acknowledgment sent {"connection_id":216789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:32:16] local.INFO: TCP Data received {"connection_id":218142,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:32:16] local.INFO: Processing buffer {"connection_id":218142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:32:16] local.INFO: IMEI packet received {"connection_id":218142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":218142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:32:20] local.INFO: TCP Data received {"connection_id":218143,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:32:20] local.INFO: Processing buffer {"connection_id":218143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:32:20] local.INFO: IMEI packet received {"connection_id":218143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":218143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:32:22] local.INFO: TCP Data received {"connection_id":218142,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:32:22] local.INFO: Processing buffer {"connection_id":218142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:32:22] local.INFO: IMEI packet received {"connection_id":218142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":218142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:32:23] local.INFO: TCP Data received {"connection_id":218142,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:32:23] local.INFO: Processing buffer {"connection_id":218142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:32:23] local.INFO: Packet analysis {"connection_id":218142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:32:23] local.INFO: Extracted packet for processing {"connection_id":218142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785321216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792130462000,"timestamp_ms":1792130462000,"timestamp_seconds":1792130462,"priority":1,"record_length":96,"hex_timestamp":"000001a1434cb130"} 
[2026-10-16 11:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785321216001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785321216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:32:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:32:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785321216001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":218142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:32:23] local.INFO: GPS data processed {"connection_id":218142,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:32:23] local.INFO: Acknowledgment sent {"connection_id":218142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:32:26] local.INFO: TCP Data received {"connection_id":218143,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:32:26] local.INFO: Processing buffer {"connection_id":218143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:32:26] local.INFO: IMEI packet received {"connection_id":218143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":218143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:32:27] local.INFO: TCP Data received {"connection_id":218143,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:32:27] local.INFO: Processing buffer {"connection_id":218143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:32:27] local.INFO: Packet analysis {"connection_id":218143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:32:27] local.INFO: Extracted packet for processing {"connection_id":218143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:27] 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-10-16 11:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 11:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:32:27] 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-10-16 11:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:32:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:32:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":218143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:32:27] local.INFO: GPS data processed {"connection_id":218143,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:32:27] local.INFO: Acknowledgment sent {"connection_id":218143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:32:47] local.INFO: TCP Data received {"connection_id":216789,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434be610012d1b4fc007250398003f011d2c..."} 
[2026-10-16 11:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434be610012d1b4fc007250398003f011d2c..."} 
[2026-10-16 11:32:47] local.INFO: Processing buffer {"connection_id":216789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434be610012d1b4fc007250398003f011d2c..."} 
[2026-10-16 11:32:47] local.INFO: Packet analysis {"connection_id":216789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434b"} 
[2026-10-16 11:32:47] local.INFO: Extracted packet for processing {"connection_id":216789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434b"} 
[2026-10-16 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785379584001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792130410000,"timestamp_ms":1792130410000,"timestamp_seconds":1792130410,"priority":1,"record_length":96,"hex_timestamp":"000001a1434be610"} 
[2026-10-16 11:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785379584001,"66":12526,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785379584001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785379584001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":216789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:32:48] local.INFO: GPS data processed {"connection_id":216789,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:32:48] local.INFO: Acknowledgment sent {"connection_id":216789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:32:55] local.INFO: TCP Data received {"connection_id":218142,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:32:55] local.INFO: Processing buffer {"connection_id":218142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:32:55] local.INFO: Packet analysis {"connection_id":218142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:32:55] local.INFO: Extracted packet for processing {"connection_id":218142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785321216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792130462000,"timestamp_ms":1792130462000,"timestamp_seconds":1792130462,"priority":1,"record_length":96,"hex_timestamp":"000001a1434cb130"} 
[2026-10-16 11:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785321216001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785321216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:32:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:32:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785321216001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":218142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:32:55] local.INFO: GPS data processed {"connection_id":218142,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:32:55] local.INFO: Acknowledgment sent {"connection_id":218142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:32:58] local.INFO: TCP Data received {"connection_id":218143,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:32:58] local.INFO: Processing buffer {"connection_id":218143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:32:58] local.INFO: Packet analysis {"connection_id":218143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:32:58] local.INFO: Extracted packet for processing {"connection_id":218143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:32:58] 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-10-16 11:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 11:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:32: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-10-16 11:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:32:58] 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-10-16 11:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:32:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:32:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":218143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:32:58] local.INFO: GPS data processed {"connection_id":218143,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:32:58] local.INFO: Acknowledgment sent {"connection_id":218143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:33:07] local.INFO: TCP Data received {"connection_id":219871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:33:07] local.INFO: Processing buffer {"connection_id":219871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:33:07] local.INFO: IMEI packet received {"connection_id":219871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":219871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:33:12] local.INFO: TCP Data received {"connection_id":219871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:33:12] local.INFO: Processing buffer {"connection_id":219871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:33:12] local.INFO: IMEI packet received {"connection_id":219871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":219871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:33:13] local.INFO: TCP Data received {"connection_id":219871,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434c3818012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434c3818012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:33:13] local.INFO: Processing buffer {"connection_id":219871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434c3818012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:33:13] local.INFO: Packet analysis {"connection_id":219871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:33:13] local.INFO: Extracted packet for processing {"connection_id":219871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:33:13] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785384960001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792130431000,"timestamp_ms":1792130431000,"timestamp_seconds":1792130431,"priority":1,"record_length":96,"hex_timestamp":"000001a1434c3818"} 
[2026-10-16 11:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:33: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-10-16 11: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":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:33: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-10-16 11: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-10-16 11:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785384960001,"66":12232,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785384960001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785384960001,"power":12232,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":219871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:33:14] local.INFO: GPS data processed {"connection_id":219871,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:33:14] local.INFO: Acknowledgment sent {"connection_id":219871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:33:21] local.INFO: TCP Data received {"connection_id":218144,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:33:21] local.INFO: Processing buffer {"connection_id":218144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:33:21] local.INFO: IMEI packet received {"connection_id":218144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":218144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:33:22] local.INFO: TCP Data received {"connection_id":216596,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:33:22] local.INFO: Processing buffer {"connection_id":216596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:33:22] local.INFO: IMEI packet received {"connection_id":216596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":216596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:33:26] local.INFO: TCP Data received {"connection_id":218144,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:33:26] local.INFO: Processing buffer {"connection_id":218144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:33:26] local.INFO: IMEI packet received {"connection_id":218144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":218144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:33:27] local.INFO: TCP Data received {"connection_id":216596,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:33:27] local.INFO: Processing buffer {"connection_id":216596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:33:27] local.INFO: IMEI packet received {"connection_id":216596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":216596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:33:28] local.INFO: TCP Data received {"connection_id":216596,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:33:28] local.INFO: Processing buffer {"connection_id":216596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:33:28] local.INFO: Packet analysis {"connection_id":216596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:33:28] local.INFO: Extracted packet for processing {"connection_id":216596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785321216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792130462000,"timestamp_ms":1792130462000,"timestamp_seconds":1792130462,"priority":1,"record_length":96,"hex_timestamp":"000001a1434cb130"} 
[2026-10-16 11:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785321216001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785321216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:33:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:33:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785321216001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":216596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:33:28] local.INFO: GPS data processed {"connection_id":216596,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:33:28] local.INFO: Acknowledgment sent {"connection_id":216596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:33:29] local.INFO: TCP Data received {"connection_id":218144,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:33:29] local.INFO: Processing buffer {"connection_id":218144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434a9620012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:33:29] local.INFO: Packet analysis {"connection_id":218144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:33:29] local.INFO: Extracted packet for processing {"connection_id":218144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434a"} 
[2026-10-16 11:33:29] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785285888001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:29] 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-10-16 11:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792130324000,"timestamp_ms":1792130324000,"timestamp_seconds":1792130324,"priority":1,"record_length":96,"hex_timestamp":"000001a1434a9620"} 
[2026-10-16 11:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785285888001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785285888001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:33:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:33:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785285888001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":218144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:33:29] local.INFO: GPS data processed {"connection_id":218144,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:33:29] local.INFO: Acknowledgment sent {"connection_id":218144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:33:32] local.INFO: TCP Data received {"connection_id":216596,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:33:32] local.INFO: Processing buffer {"connection_id":216596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:33:32] local.INFO: Packet analysis {"connection_id":216596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:33:32] local.INFO: Extracted packet for processing {"connection_id":216596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785321216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792130462000,"timestamp_ms":1792130462000,"timestamp_seconds":1792130462,"priority":1,"record_length":96,"hex_timestamp":"000001a1434cb130"} 
[2026-10-16 11:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785321216001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785321216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:33:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:33:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785321216001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":216596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:33:32] local.INFO: GPS data processed {"connection_id":216596,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:33:32] local.INFO: Acknowledgment sent {"connection_id":216596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:33:45] local.INFO: TCP Data received {"connection_id":219871,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434c8a20012d1b4fc007250398003f011d26..."} 
[2026-10-16 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434c8a20012d1b4fc007250398003f011d26..."} 
[2026-10-16 11:33:45] local.INFO: Processing buffer {"connection_id":219871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434c8a20012d1b4fc007250398003f011d26..."} 
[2026-10-16 11:33:45] local.INFO: Packet analysis {"connection_id":219871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:33:45] local.INFO: Extracted packet for processing {"connection_id":219871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785390336001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792130452000,"timestamp_ms":1792130452000,"timestamp_seconds":1792130452,"priority":1,"record_length":96,"hex_timestamp":"000001a1434c8a20"} 
[2026-10-16 11:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:33: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-10-16 11:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-16 11:33: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-10-16 11:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":219871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":219871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":219871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785390336001,"66":12526,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785390336001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:33:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785390336001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":219871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:33:45] local.INFO: GPS data processed {"connection_id":219871,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:33:45] local.INFO: Acknowledgment sent {"connection_id":219871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:34:00] local.INFO: TCP Data received {"connection_id":218144,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:34:00] local.INFO: Processing buffer {"connection_id":218144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:34:00] local.INFO: Packet analysis {"connection_id":218144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:34:00] local.INFO: Extracted packet for processing {"connection_id":218144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:34:00] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785362944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:00] 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-10-16 11:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792130625000,"timestamp_ms":1792130625000,"timestamp_seconds":1792130625,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f2de8"} 
[2026-10-16 11:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:34: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-10-16 11:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:34:00] 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-10-16 11:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":218144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":218144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":218144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785362944001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785362944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:34:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:34:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785362944001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":218144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:34:00] local.INFO: GPS data processed {"connection_id":218144,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:34:00] local.INFO: Acknowledgment sent {"connection_id":218144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:34:07] local.INFO: TCP Data received {"connection_id":216790,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:34:07] local.INFO: Processing buffer {"connection_id":216790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:34:07] local.INFO: IMEI packet received {"connection_id":216790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":216790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:34:12] local.INFO: TCP Data received {"connection_id":216790,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:34:12] local.INFO: Processing buffer {"connection_id":216790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:34:12] local.INFO: IMEI packet received {"connection_id":216790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":216790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:34:13] local.INFO: TCP Data received {"connection_id":216790,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434cdc28012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434cdc28012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:34:13] local.INFO: Processing buffer {"connection_id":216790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434cdc28012d1b4fc007250398003f011d2b..."} 
[2026-10-16 11:34:13] local.INFO: Packet analysis {"connection_id":216790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:34:13] local.INFO: Extracted packet for processing {"connection_id":216790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785395712001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792130473000,"timestamp_ms":1792130473000,"timestamp_seconds":1792130473,"priority":1,"record_length":96,"hex_timestamp":"000001a1434cdc28"} 
[2026-10-16 11:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:34: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-10-16 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:34: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-10-16 11: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-10-16 11:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785395712001,"66":12504,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785395712001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785395712001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":216790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:34:13] local.INFO: GPS data processed {"connection_id":216790,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:34:13] local.INFO: Acknowledgment sent {"connection_id":216790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:34:17] local.INFO: TCP Data received {"connection_id":219873,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:34:17] local.INFO: Processing buffer {"connection_id":219873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:34:17] local.INFO: IMEI packet received {"connection_id":219873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":219873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:34:22] local.INFO: TCP Data received {"connection_id":219873,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:34:22] local.INFO: Processing buffer {"connection_id":219873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:34:22] local.INFO: IMEI packet received {"connection_id":219873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":219873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:34:23] local.INFO: TCP Data received {"connection_id":219873,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:34:23] local.INFO: Processing buffer {"connection_id":219873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:34:23] local.INFO: Packet analysis {"connection_id":219873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:34:23] local.INFO: Extracted packet for processing {"connection_id":219873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785321216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792130462000,"timestamp_ms":1792130462000,"timestamp_seconds":1792130462,"priority":1,"record_length":96,"hex_timestamp":"000001a1434cb130"} 
[2026-10-16 11:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785321216001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785321216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:34:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:34:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785321216001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":219873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:34:23] local.INFO: GPS data processed {"connection_id":219873,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:34:23] local.INFO: Acknowledgment sent {"connection_id":219873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:34:26] local.INFO: TCP Data received {"connection_id":216597,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:34:26] local.INFO: Processing buffer {"connection_id":216597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:34:26] local.INFO: IMEI packet received {"connection_id":216597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":216597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:34:31] local.INFO: TCP Data received {"connection_id":216597,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:34:31] local.INFO: Processing buffer {"connection_id":216597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:34:31] local.INFO: IMEI packet received {"connection_id":216597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":216597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:34:32] local.INFO: TCP Data received {"connection_id":216597,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:34:32] local.INFO: Processing buffer {"connection_id":216597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:34:32] local.INFO: Packet analysis {"connection_id":216597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:34:32] local.INFO: Extracted packet for processing {"connection_id":216597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785362944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792130625000,"timestamp_ms":1792130625000,"timestamp_seconds":1792130625,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f2de8"} 
[2026-10-16 11:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:34:32] 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-10-16 11:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785362944001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785362944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:34:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:34:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785362944001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":216597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:34:32] local.INFO: GPS data processed {"connection_id":216597,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:34:32] local.INFO: Acknowledgment sent {"connection_id":216597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:34:36] local.INFO: TCP Data received {"connection_id":216597,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:34:36] local.INFO: Processing buffer {"connection_id":216597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:34:36] local.INFO: Packet analysis {"connection_id":216597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:34:36] local.INFO: Extracted packet for processing {"connection_id":216597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785362944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34: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-10-16 11:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792130625000,"timestamp_ms":1792130625000,"timestamp_seconds":1792130625,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f2de8"} 
[2026-10-16 11:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:34: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-10-16 11: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-10-16 11:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785362944001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785362944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:34:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:34:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785362944001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":216597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:34:36] local.INFO: GPS data processed {"connection_id":216597,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:34:36] local.INFO: Acknowledgment sent {"connection_id":216597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:34:46] local.INFO: TCP Data received {"connection_id":216790,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434d2e30012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434d2e30012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:34:46] local.INFO: Processing buffer {"connection_id":216790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434d2e30012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:34:46] local.INFO: Packet analysis {"connection_id":216790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434d"} 
[2026-10-16 11:34:46] local.INFO: Extracted packet for processing {"connection_id":216790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434d"} 
[2026-10-16 11:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785401088001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792130494000,"timestamp_ms":1792130494000,"timestamp_seconds":1792130494,"priority":1,"record_length":96,"hex_timestamp":"000001a1434d2e30"} 
[2026-10-16 11:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:34: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-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785401088001,"66":12526,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785401088001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:34:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785401088001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":216790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:34:46] local.INFO: GPS data processed {"connection_id":216790,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:34:46] local.INFO: Acknowledgment sent {"connection_id":216790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:34:55] local.INFO: TCP Data received {"connection_id":219873,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:34:55] local.INFO: Processing buffer {"connection_id":219873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:34:55] local.INFO: Packet analysis {"connection_id":219873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:34:55] local.INFO: Extracted packet for processing {"connection_id":219873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785321216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792130462000,"timestamp_ms":1792130462000,"timestamp_seconds":1792130462,"priority":1,"record_length":96,"hex_timestamp":"000001a1434cb130"} 
[2026-10-16 11:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785321216001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785321216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:34:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:34:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785321216001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":219873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:34:55] local.INFO: GPS data processed {"connection_id":219873,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:34:55] local.INFO: Acknowledgment sent {"connection_id":219873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:35:14] local.INFO: TCP Data received {"connection_id":219874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:35:14] local.INFO: Processing buffer {"connection_id":219874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:35:14] local.INFO: IMEI packet received {"connection_id":219874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":219874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:35:15] local.INFO: TCP Data received {"connection_id":219874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:35:15] local.INFO: Processing buffer {"connection_id":219874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:35:15] local.INFO: IMEI packet received {"connection_id":219874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":219874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:35:16] local.INFO: TCP Data received {"connection_id":216791,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:35:16] local.INFO: Processing buffer {"connection_id":216791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:35:16] local.INFO: IMEI packet received {"connection_id":216791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":216791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:35:17] local.INFO: TCP Data received {"connection_id":219874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:35:17] local.INFO: Processing buffer {"connection_id":219874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:35:17] local.INFO: IMEI packet received {"connection_id":219874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":219874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:35:18] local.INFO: TCP Data received {"connection_id":219874,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434d8038012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434d8038012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:35:18] local.INFO: Processing buffer {"connection_id":219874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434d8038012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:35:18] local.INFO: Packet analysis {"connection_id":219874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434d"} 
[2026-10-16 11:35:18] local.INFO: Extracted packet for processing {"connection_id":219874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434d"} 
[2026-10-16 11:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785406464001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792130515000,"timestamp_ms":1792130515000,"timestamp_seconds":1792130515,"priority":1,"record_length":96,"hex_timestamp":"000001a1434d8038"} 
[2026-10-16 11:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:35: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-10-16 11:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:35: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-10-16 11:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":219874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":219874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":219874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785406464001,"66":12526,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785406464001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:35:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785406464001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":219874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:35:18] local.INFO: GPS data processed {"connection_id":219874,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:35:18] local.INFO: Acknowledgment sent {"connection_id":219874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:35:21] local.INFO: TCP Data received {"connection_id":216792,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:35:21] local.INFO: Processing buffer {"connection_id":216792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:35:21] local.INFO: IMEI packet received {"connection_id":216792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":216792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:35:22] local.INFO: TCP Data received {"connection_id":216791,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:35:22] local.INFO: Processing buffer {"connection_id":216791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:35:22] local.INFO: IMEI packet received {"connection_id":216791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":216791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:35:23] local.INFO: TCP Data received {"connection_id":219874,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434dd240012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434dd240012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:35:23] local.INFO: Processing buffer {"connection_id":219874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434dd240012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:35:23] local.INFO: Packet analysis {"connection_id":219874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434d"} 
[2026-10-16 11:35:23] local.INFO: Extracted packet for processing {"connection_id":219874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434d"} 
[2026-10-16 11:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785411840001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792130536000,"timestamp_ms":1792130536000,"timestamp_seconds":1792130536,"priority":1,"record_length":96,"hex_timestamp":"000001a1434dd240"} 
[2026-10-16 11:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:35: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-10-16 11:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785411840001,"66":12461,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785411840001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:35:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785411840001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":219874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:35:23] local.INFO: GPS data processed {"connection_id":219874,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:35:23] local.INFO: Acknowledgment sent {"connection_id":219874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:35:25] local.INFO: TCP Data received {"connection_id":216792,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:35:25] local.INFO: Processing buffer {"connection_id":216792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:35:25] local.INFO: IMEI packet received {"connection_id":216792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":216792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:35:26] local.INFO: TCP Data received {"connection_id":216792,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:35:26] local.INFO: Processing buffer {"connection_id":216792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:35:26] local.INFO: Packet analysis {"connection_id":216792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:35:26] local.INFO: Extracted packet for processing {"connection_id":216792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785362944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:26] 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-10-16 11:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792130625000,"timestamp_ms":1792130625000,"timestamp_seconds":1792130625,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f2de8"} 
[2026-10-16 11:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:35: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-10-16 11:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:35: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-10-16 11:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785362944001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785362944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:35:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:35:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785362944001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":216792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:35:27] local.INFO: GPS data processed {"connection_id":216792,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:35:27] local.INFO: Acknowledgment sent {"connection_id":216792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:35:31] local.INFO: TCP Data received {"connection_id":216791,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:35:31] local.INFO: Processing buffer {"connection_id":216791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:35:31] local.INFO: Packet analysis {"connection_id":216791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:35:31] local.INFO: Extracted packet for processing {"connection_id":216791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785321216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792130462000,"timestamp_ms":1792130462000,"timestamp_seconds":1792130462,"priority":1,"record_length":96,"hex_timestamp":"000001a1434cb130"} 
[2026-10-16 11:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785321216001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785321216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:35:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:35:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785321216001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":216791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:35:31] local.INFO: GPS data processed {"connection_id":216791,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:35:31] local.INFO: Acknowledgment sent {"connection_id":216791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:35:59] local.INFO: TCP Data received {"connection_id":216792,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:35:59] local.INFO: Processing buffer {"connection_id":216792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:35:59] local.INFO: Packet analysis {"connection_id":216792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:35:59] local.INFO: Extracted packet for processing {"connection_id":216792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785362944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:35:59] 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-10-16 11:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792130625000,"timestamp_ms":1792130625000,"timestamp_seconds":1792130625,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f2de8"} 
[2026-10-16 11:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:35:59] 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-10-16 11:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785362944001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785362944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:35:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:35:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785362944001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":216792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:35:59] local.INFO: GPS data processed {"connection_id":216792,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:35:59] local.INFO: Acknowledgment sent {"connection_id":216792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:36:06] local.INFO: TCP Data received {"connection_id":216793,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:36:06] local.INFO: Processing buffer {"connection_id":216793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:36:06] local.INFO: IMEI packet received {"connection_id":216793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":216793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:36:07] local.INFO: TCP Data received {"connection_id":218146,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:36:07] local.INFO: Processing buffer {"connection_id":218146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:36:07] local.INFO: IMEI packet received {"connection_id":218146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":218146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:36:12] local.INFO: TCP Data received {"connection_id":218146,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:36:12] local.INFO: Processing buffer {"connection_id":218146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:36:12] local.INFO: IMEI packet received {"connection_id":218146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":218146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:36:13] local.INFO: TCP Data received {"connection_id":218146,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434e2448012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434e2448012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:36:13] local.INFO: Processing buffer {"connection_id":218146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434e2448012d1b4fc007250398003f011d28..."} 
[2026-10-16 11:36:13] local.INFO: Packet analysis {"connection_id":218146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434e"} 
[2026-10-16 11:36:13] local.INFO: Extracted packet for processing {"connection_id":218146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434e"} 
[2026-10-16 11:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785417216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792130557000,"timestamp_ms":1792130557000,"timestamp_seconds":1792130557,"priority":1,"record_length":96,"hex_timestamp":"000001a1434e2448"} 
[2026-10-16 11:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:36: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-10-16 11:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:36: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-10-16 11:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785417216001,"66":12526,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785417216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785417216001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":218146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:36:13] local.INFO: GPS data processed {"connection_id":218146,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:36:13] local.INFO: Acknowledgment sent {"connection_id":218146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:36:16] local.INFO: TCP Data received {"connection_id":216598,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:36:16] local.INFO: Processing buffer {"connection_id":216598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:36:16] local.INFO: IMEI packet received {"connection_id":216598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":216598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:36:21] local.INFO: TCP Data received {"connection_id":216794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:36:21] local.INFO: Processing buffer {"connection_id":216794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:36:21] local.INFO: IMEI packet received {"connection_id":216794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":216794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:36:22] local.INFO: TCP Data received {"connection_id":216598,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:36:22] local.INFO: Processing buffer {"connection_id":216598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:36:22] local.INFO: IMEI packet received {"connection_id":216598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":216598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:36:24] local.INFO: TCP Data received {"connection_id":216598,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:36:24] local.INFO: Processing buffer {"connection_id":216598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434cb130012d7fa40005afce580009000a32..."} 
[2026-10-16 11:36:24] local.INFO: Packet analysis {"connection_id":216598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:36:24] local.INFO: Extracted packet for processing {"connection_id":216598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434c"} 
[2026-10-16 11:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:36: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-10-16 11:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785321216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792130462000,"timestamp_ms":1792130462000,"timestamp_seconds":1792130462,"priority":1,"record_length":96,"hex_timestamp":"000001a1434cb130"} 
[2026-10-16 11:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-10-16 11:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:36: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-10-16 11:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785321216001,"66":25397,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785321216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:36:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:36:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785321216001,"power":25397,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":216598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:36:24] local.INFO: GPS data processed {"connection_id":216598,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:36:24] local.INFO: Acknowledgment sent {"connection_id":216598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:36:26] local.INFO: TCP Data received {"connection_id":216794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:36:26] local.INFO: Processing buffer {"connection_id":216794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:36:26] local.INFO: IMEI packet received {"connection_id":216794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":216794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:36:30] local.INFO: TCP Data received {"connection_id":216794,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:36:30] local.INFO: Processing buffer {"connection_id":216794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:36:30] local.INFO: Packet analysis {"connection_id":216794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:36:30] local.INFO: Extracted packet for processing {"connection_id":216794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785362944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:30] 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-10-16 11:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792130625000,"timestamp_ms":1792130625000,"timestamp_seconds":1792130625,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f2de8"} 
[2026-10-16 11:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785362944001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785362944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:36:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:36:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785362944001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":216794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:36:30] local.INFO: GPS data processed {"connection_id":216794,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:36:30] local.INFO: Acknowledgment sent {"connection_id":216794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:36:44] local.INFO: TCP Data received {"connection_id":218146,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434e7650012d1b4fc007250398003f011d29..."} 
[2026-10-16 11:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434e7650012d1b4fc007250398003f011d29..."} 
[2026-10-16 11:36:44] local.INFO: Processing buffer {"connection_id":218146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434e7650012d1b4fc007250398003f011d29..."} 
[2026-10-16 11:36:44] local.INFO: Packet analysis {"connection_id":218146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434e"} 
[2026-10-16 11:36:44] local.INFO: Extracted packet for processing {"connection_id":218146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434e"} 
[2026-10-16 11:36:44] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785422592001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792130578000,"timestamp_ms":1792130578000,"timestamp_seconds":1792130578,"priority":1,"record_length":96,"hex_timestamp":"000001a1434e7650"} 
[2026-10-16 11:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:36: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-10-16 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:36: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-10-16 11: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-10-16 11:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785422592001,"66":12526,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785422592001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:36:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:36:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785422592001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":218146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:36:44] local.INFO: GPS data processed {"connection_id":218146,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:36:44] local.INFO: Acknowledgment sent {"connection_id":218146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:36:56] local.INFO: TCP Data received {"connection_id":216598,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:36:56] local.INFO: Processing buffer {"connection_id":216598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:36:56] local.INFO: Packet analysis {"connection_id":216598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:36:56] local.INFO: Extracted packet for processing {"connection_id":216598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785398272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792130763000,"timestamp_ms":1792130763000,"timestamp_seconds":1792130763,"priority":1,"record_length":96,"hex_timestamp":"000001a1435148f8"} 
[2026-10-16 11:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785398272001,"66":25593,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785398272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:36:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:36:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785398272001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":216598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:36:56] local.INFO: GPS data processed {"connection_id":216598,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:36:56] local.INFO: Acknowledgment sent {"connection_id":216598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:36:56] local.INFO: TCP Data received {"connection_id":219875,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:36:56] local.INFO: Processing buffer {"connection_id":219875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:36:56] local.INFO: IMEI packet received {"connection_id":219875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":219875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:37:02] local.INFO: TCP Data received {"connection_id":216794,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:37:02] local.INFO: Processing buffer {"connection_id":216794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:37:02] local.INFO: Packet analysis {"connection_id":216794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:37:02] local.INFO: Extracted packet for processing {"connection_id":216794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785362944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:02] 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-10-16 11:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792130625000,"timestamp_ms":1792130625000,"timestamp_seconds":1792130625,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f2de8"} 
[2026-10-16 11:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785362944001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785362944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:37:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:37:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785362944001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":216794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:37:02] local.INFO: GPS data processed {"connection_id":216794,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:37:02] local.INFO: Acknowledgment sent {"connection_id":216794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:37:07] local.INFO: TCP Data received {"connection_id":219876,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:37:07] local.INFO: Processing buffer {"connection_id":219876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:37:07] local.INFO: IMEI packet received {"connection_id":219876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":219876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:37:12] local.INFO: TCP Data received {"connection_id":219876,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:37:12] local.INFO: Processing buffer {"connection_id":219876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:37:12] local.INFO: IMEI packet received {"connection_id":219876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":219876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:37:13] local.INFO: TCP Data received {"connection_id":219876,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434ec858012d1b4fc007250398003f011d29..."} 
[2026-10-16 11:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434ec858012d1b4fc007250398003f011d29..."} 
[2026-10-16 11:37:13] local.INFO: Processing buffer {"connection_id":219876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434ec858012d1b4fc007250398003f011d29..."} 
[2026-10-16 11:37:13] local.INFO: Packet analysis {"connection_id":219876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434e"} 
[2026-10-16 11:37:13] local.INFO: Extracted packet for processing {"connection_id":219876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434e"} 
[2026-10-16 11:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785427968001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792130599000,"timestamp_ms":1792130599000,"timestamp_seconds":1792130599,"priority":1,"record_length":96,"hex_timestamp":"000001a1434ec858"} 
[2026-10-16 11:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:37: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-10-16 11: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":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:37: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-10-16 11: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-10-16 11:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785427968001,"66":12526,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785427968001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:37:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785427968001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":219876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:37:13] local.INFO: GPS data processed {"connection_id":219876,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:37:13] local.INFO: Acknowledgment sent {"connection_id":219876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:37:16] local.INFO: TCP Data received {"connection_id":219877,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:37:16] local.INFO: Processing buffer {"connection_id":219877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:37:16] local.INFO: IMEI packet received {"connection_id":219877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":219877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:37:21] local.INFO: TCP Data received {"connection_id":216795,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:37:21] local.INFO: Processing buffer {"connection_id":216795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:37:21] local.INFO: IMEI packet received {"connection_id":216795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":216795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:37:21] local.INFO: TCP Data received {"connection_id":219877,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:37:21] local.INFO: Processing buffer {"connection_id":219877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:37:21] local.INFO: IMEI packet received {"connection_id":219877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":219877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:37:24] local.INFO: TCP Data received {"connection_id":219877,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:37:24] local.INFO: Processing buffer {"connection_id":219877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:37:24] local.INFO: Packet analysis {"connection_id":219877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:37:24] local.INFO: Extracted packet for processing {"connection_id":219877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785398272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792130763000,"timestamp_ms":1792130763000,"timestamp_seconds":1792130763,"priority":1,"record_length":96,"hex_timestamp":"000001a1435148f8"} 
[2026-10-16 11:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785398272001,"66":25593,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785398272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:37:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:37:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785398272001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":219877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:37:24] local.INFO: GPS data processed {"connection_id":219877,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:37:24] local.INFO: Acknowledgment sent {"connection_id":219877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:37:26] local.INFO: TCP Data received {"connection_id":216795,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:37:26] local.INFO: Processing buffer {"connection_id":216795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:37:26] local.INFO: IMEI packet received {"connection_id":216795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":216795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:37:27] local.INFO: TCP Data received {"connection_id":216795,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:37:27] local.INFO: Processing buffer {"connection_id":216795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:37:27] local.INFO: Packet analysis {"connection_id":216795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:37:27] local.INFO: Extracted packet for processing {"connection_id":216795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785362944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:27] 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-10-16 11:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130625000,"timestamp_ms":1792130625000,"timestamp_seconds":1792130625,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f2de8"} 
[2026-10-16 11:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785362944001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785362944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:37:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:37:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785362944001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":216795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:37:27] local.INFO: GPS data processed {"connection_id":216795,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:37:27] local.INFO: Acknowledgment sent {"connection_id":216795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:37:44] local.INFO: TCP Data received {"connection_id":219876,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f1a60012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f1a60012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:37:44] local.INFO: Processing buffer {"connection_id":219876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f1a60012d1b4fc007250398003f011d2a..."} 
[2026-10-16 11:37:44] local.INFO: Packet analysis {"connection_id":219876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:37:44] local.INFO: Extracted packet for processing {"connection_id":219876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785433344001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792130620000,"timestamp_ms":1792130620000,"timestamp_seconds":1792130620,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f1a60"} 
[2026-10-16 11:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:37: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-10-16 11: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":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:37: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-10-16 11: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-10-16 11:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785433344001,"66":12526,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785433344001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:37:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785433344001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":219876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:37:44] local.INFO: GPS data processed {"connection_id":219876,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:37:44] local.INFO: Acknowledgment sent {"connection_id":219876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:37:55] local.INFO: TCP Data received {"connection_id":219877,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:37:55] local.INFO: Processing buffer {"connection_id":219877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:37:55] local.INFO: Packet analysis {"connection_id":219877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:37:55] local.INFO: Extracted packet for processing {"connection_id":219877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785398272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792130763000,"timestamp_ms":1792130763000,"timestamp_seconds":1792130763,"priority":1,"record_length":96,"hex_timestamp":"000001a1435148f8"} 
[2026-10-16 11:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785398272001,"66":25593,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785398272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:37:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:37:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785398272001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":219877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:37:55] local.INFO: GPS data processed {"connection_id":219877,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:37:55] local.INFO: Acknowledgment sent {"connection_id":219877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:38:01] local.INFO: TCP Data received {"connection_id":216795,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:38:01] local.INFO: Processing buffer {"connection_id":216795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:38:01] local.INFO: Packet analysis {"connection_id":216795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:38:01] local.INFO: Extracted packet for processing {"connection_id":216795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785362944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:01] 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-10-16 11:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792130625000,"timestamp_ms":1792130625000,"timestamp_seconds":1792130625,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f2de8"} 
[2026-10-16 11:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:38:01] 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-10-16 11:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785362944001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785362944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:38:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:38:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785362944001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":216795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:38:01] local.INFO: GPS data processed {"connection_id":216795,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:38:01] local.INFO: Acknowledgment sent {"connection_id":216795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:38:08] local.INFO: TCP Data received {"connection_id":216599,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:38:08] local.INFO: Processing buffer {"connection_id":216599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:38:08] local.INFO: IMEI packet received {"connection_id":216599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":216599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:38:12] local.INFO: TCP Data received {"connection_id":216599,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:38:12] local.INFO: Processing buffer {"connection_id":216599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:38:12] local.INFO: IMEI packet received {"connection_id":216599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":216599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:38:14] local.INFO: TCP Data received {"connection_id":216599,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f6c68012d1b4fc007250398003f011d29..."} 
[2026-10-16 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f6c68012d1b4fc007250398003f011d29..."} 
[2026-10-16 11:38:14] local.INFO: Processing buffer {"connection_id":216599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f6c68012d1b4fc007250398003f011d29..."} 
[2026-10-16 11:38:14] local.INFO: Packet analysis {"connection_id":216599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:38:14] local.INFO: Extracted packet for processing {"connection_id":216599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119866264,"longitude_deg":75.6764608,"latitude_deg":11.9866264,"altitude":63,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1b4fc0","hex_latitude":"07250398","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785438720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132937731932160,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792130641000,"timestamp_ms":1792130641000,"timestamp_seconds":1792130641,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f6c68"} 
[2026-10-16 11:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:38: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-10-16 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:38: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-10-16 11: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-10-16 11:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785438720001,"66":12515,"44":206,"83":41984,"24":0,"16":28132937731932160,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785438720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:38:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132937731932160,"km_value":28132937731932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785438720001,"power":12515,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":216599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:38:14] local.INFO: GPS data processed {"connection_id":216599,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:38:14] local.INFO: Acknowledgment sent {"connection_id":216599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:38:16] local.INFO: TCP Data received {"connection_id":219878,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:38:16] local.INFO: Processing buffer {"connection_id":219878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:38:16] local.INFO: IMEI packet received {"connection_id":219878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":219878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:38:20] local.INFO: TCP Data received {"connection_id":219879,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:38:20] local.INFO: Processing buffer {"connection_id":219879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:38:20] local.INFO: IMEI packet received {"connection_id":219879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":219879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:38:22] local.INFO: TCP Data received {"connection_id":219878,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:38:22] local.INFO: Processing buffer {"connection_id":219878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:38:22] local.INFO: IMEI packet received {"connection_id":219878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":219878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:38:24] local.INFO: TCP Data received {"connection_id":219878,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:38:24] local.INFO: Processing buffer {"connection_id":219878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:38:24] local.INFO: Packet analysis {"connection_id":219878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:38:24] local.INFO: Extracted packet for processing {"connection_id":219878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785398272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792130763000,"timestamp_ms":1792130763000,"timestamp_seconds":1792130763,"priority":1,"record_length":96,"hex_timestamp":"000001a1435148f8"} 
[2026-10-16 11:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785398272001,"66":25593,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785398272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:38:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:38:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785398272001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":219878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:38:24] local.INFO: GPS data processed {"connection_id":219878,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:38:24] local.INFO: Acknowledgment sent {"connection_id":219878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:38:26] local.INFO: TCP Data received {"connection_id":219879,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:38:26] local.INFO: Processing buffer {"connection_id":219879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:38:26] local.INFO: IMEI packet received {"connection_id":219879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":219879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:38:27] local.INFO: TCP Data received {"connection_id":219879,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:38:27] local.INFO: Processing buffer {"connection_id":219879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f2de8012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:38:27] local.INFO: Packet analysis {"connection_id":219879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:38:27] local.INFO: Extracted packet for processing {"connection_id":219879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785362944001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:27] 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-10-16 11:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130625000,"timestamp_ms":1792130625000,"timestamp_seconds":1792130625,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f2de8"} 
[2026-10-16 11:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785362944001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785362944001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:38:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:38:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785362944001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":219879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:38:27] local.INFO: GPS data processed {"connection_id":219879,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:38:27] local.INFO: Acknowledgment sent {"connection_id":219879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:38:47] local.INFO: TCP Data received {"connection_id":216599,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434f9760012d1b52c007250198003d005b28..."} 
[2026-10-16 11:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434f9760012d1b52c007250198003d005b28..."} 
[2026-10-16 11:38:47] local.INFO: Processing buffer {"connection_id":216599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434f9760012d1b52c007250198003d005b28..."} 
[2026-10-16 11:38:47] local.INFO: Packet analysis {"connection_id":216599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:38:47] local.INFO: Extracted packet for processing {"connection_id":216599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865752,"longitude_deg":75.6765376,"latitude_deg":11.9865752,"altitude":61,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250198","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785444096001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132984976572416,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699102492672,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792130652000,"timestamp_ms":1792130652000,"timestamp_seconds":1792130652,"priority":1,"record_length":96,"hex_timestamp":"000001a1434f9760"} 
[2026-10-16 11:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 11:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785444096001,"66":12504,"44":206,"83":41984,"24":0,"16":28132984976572416,"45":1968002699102492672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785444096001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:38:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132984976572416,"km_value":28132984976572.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699102492672,"description":"Unknown IO ID 45"} 
[2026-10-16 11:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785444096001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968002699102492672}} 
[2026-10-16 11:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":216599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:38:48] local.INFO: GPS data processed {"connection_id":216599,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:38:48] local.INFO: Acknowledgment sent {"connection_id":216599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:38:56] local.INFO: TCP Data received {"connection_id":219878,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:38:56] local.INFO: Processing buffer {"connection_id":219878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:38:56] local.INFO: Packet analysis {"connection_id":219878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:38:56] local.INFO: Extracted packet for processing {"connection_id":219878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785398272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792130763000,"timestamp_ms":1792130763000,"timestamp_seconds":1792130763,"priority":1,"record_length":96,"hex_timestamp":"000001a1435148f8"} 
[2026-10-16 11:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785398272001,"66":25593,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785398272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:38:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:38:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785398272001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":219878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:38:56] local.INFO: GPS data processed {"connection_id":219878,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:38:56] local.INFO: Acknowledgment sent {"connection_id":219878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:38:58] local.INFO: TCP Data received {"connection_id":219879,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:38:58] local.INFO: Processing buffer {"connection_id":219879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:38:58] local.INFO: Packet analysis {"connection_id":219879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:38:58] local.INFO: Extracted packet for processing {"connection_id":219879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785440000001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:38:58] 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-10-16 11:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792130926000,"timestamp_ms":1792130926000,"timestamp_seconds":1792130926,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c5b0"} 
[2026-10-16 11:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785440000001,"66":12667,"110":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 11:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785440000001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:38:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 11:38:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785440000001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":219879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:38:58] local.INFO: GPS data processed {"connection_id":219879,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:38:58] local.INFO: Acknowledgment sent {"connection_id":219879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:39:07] local.INFO: TCP Data received {"connection_id":218149,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:39:07] local.INFO: Processing buffer {"connection_id":218149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:39:07] local.INFO: IMEI packet received {"connection_id":218149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":218149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:39:12] local.INFO: TCP Data received {"connection_id":218149,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:39:12] local.INFO: Processing buffer {"connection_id":218149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:39:12] local.INFO: IMEI packet received {"connection_id":218149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":218149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:39:13] local.INFO: TCP Data received {"connection_id":218149,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1434fe968012d1b52c007250188003d005b29..."} 
[2026-10-16 11:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1434fe968012d1b52c007250188003d005b29..."} 
[2026-10-16 11:39:13] local.INFO: Processing buffer {"connection_id":218149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1434fe968012d1b52c007250188003d005b29..."} 
[2026-10-16 11:39:13] local.INFO: Packet analysis {"connection_id":218149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:39:13] local.INFO: Extracted packet for processing {"connection_id":218149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1434f"} 
[2026-10-16 11:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865736,"longitude_deg":75.6765376,"latitude_deg":11.9865736,"altitude":61,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250188","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785446912001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132984976572416,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032493568,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792130673000,"timestamp_ms":1792130673000,"timestamp_seconds":1792130673,"priority":1,"record_length":96,"hex_timestamp":"000001a1434fe968"} 
[2026-10-16 11:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:39: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-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:39: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-10-16 11: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-10-16 11:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785446912001,"66":12526,"44":206,"83":41984,"24":0,"16":28132984976572416,"45":1968847124032493568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785446912001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132984976572416,"km_value":28132984976572.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032493568,"description":"Unknown IO ID 45"} 
[2026-10-16 11:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785446912001,"power":12526,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032493568}} 
[2026-10-16 11:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":218149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:39:13] local.INFO: GPS data processed {"connection_id":218149,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:39:13] local.INFO: Acknowledgment sent {"connection_id":218149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:39:16] local.INFO: TCP Data received {"connection_id":216797,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:39:16] local.INFO: Processing buffer {"connection_id":216797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:39:16] local.INFO: IMEI packet received {"connection_id":216797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":216797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:39:21] local.INFO: TCP Data received {"connection_id":216797,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:39:21] local.INFO: Processing buffer {"connection_id":216797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:39:21] local.INFO: IMEI packet received {"connection_id":216797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:39:22] local.INFO: TCP Data received {"connection_id":216797,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:39:22] local.INFO: Processing buffer {"connection_id":216797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:39:22] local.INFO: Packet analysis {"connection_id":216797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:39:22] local.INFO: Extracted packet for processing {"connection_id":216797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785398272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792130763000,"timestamp_ms":1792130763000,"timestamp_seconds":1792130763,"priority":1,"record_length":96,"hex_timestamp":"000001a1435148f8"} 
[2026-10-16 11:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785398272001,"66":25593,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785398272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:39:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:39:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785398272001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":216797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:39:22] local.INFO: GPS data processed {"connection_id":216797,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:39:22] local.INFO: Acknowledgment sent {"connection_id":216797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:39:26] local.INFO: TCP Data received {"connection_id":218150,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:39:26] local.INFO: Processing buffer {"connection_id":218150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:39:26] local.INFO: IMEI packet received {"connection_id":218150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":218150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:39:31] local.INFO: TCP Data received {"connection_id":218150,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:39:31] local.INFO: Processing buffer {"connection_id":218150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:39:31] local.INFO: IMEI packet received {"connection_id":218150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":218150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:39:31] local.INFO: TCP Data received {"connection_id":218150,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:39:31] local.INFO: Processing buffer {"connection_id":218150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:39:31] local.INFO: Packet analysis {"connection_id":218150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:39:31] local.INFO: Extracted packet for processing {"connection_id":218150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785440000001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792130926000,"timestamp_ms":1792130926000,"timestamp_seconds":1792130926,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c5b0"} 
[2026-10-16 11:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:39:31] 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-10-16 11:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":218150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":218150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":218150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785440000001,"66":12667,"110":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 11:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785440000001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:39:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 11:39:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785440000001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":218150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:39:32] local.INFO: GPS data processed {"connection_id":218150,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:39:32] local.INFO: Acknowledgment sent {"connection_id":218150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:39:36] local.INFO: TCP Data received {"connection_id":218150,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:39:36] local.INFO: Processing buffer {"connection_id":218150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:39:36] local.INFO: Packet analysis {"connection_id":218150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:39:36] local.INFO: Extracted packet for processing {"connection_id":218150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785440000001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39: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-10-16 11:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792130926000,"timestamp_ms":1792130926000,"timestamp_seconds":1792130926,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c5b0"} 
[2026-10-16 11:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:39: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-10-16 11:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":218150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":218150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":218150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785440000001,"66":12667,"110":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 11:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785440000001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:39:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 11:39:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785440000001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":218150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:39:36] local.INFO: GPS data processed {"connection_id":218150,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:39:36] local.INFO: Acknowledgment sent {"connection_id":218150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:39:45] local.INFO: TCP Data received {"connection_id":218149,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143503b70012d1b52c007250188003d005b2b..."} 
[2026-10-16 11:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143503b70012d1b52c007250188003d005b2b..."} 
[2026-10-16 11:39:45] local.INFO: Processing buffer {"connection_id":218149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143503b70012d1b52c007250188003d005b2b..."} 
[2026-10-16 11:39:45] local.INFO: Packet analysis {"connection_id":218149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14350"} 
[2026-10-16 11:39:45] local.INFO: Extracted packet for processing {"connection_id":218149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14350"} 
[2026-10-16 11:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119865736,"longitude_deg":75.6765376,"latitude_deg":11.9865736,"altitude":61,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d1b52c0","hex_latitude":"07250188","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785452288001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28132984976572416,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968847124032489472,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792130694000,"timestamp_ms":1792130694000,"timestamp_seconds":1792130694,"priority":1,"record_length":96,"hex_timestamp":"000001a143503b70"} 
[2026-10-16 11:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:39: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-10-16 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 11:39: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-10-16 11: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-10-16 11:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785452288001,"66":12211,"44":206,"83":41984,"24":0,"16":28132984976572416,"45":1968847124032489472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785452288001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:39:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28132984976572416,"km_value":28132984976572.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968847124032489472,"description":"Unknown IO ID 45"} 
[2026-10-16 11:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785452288001,"power":12211,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1968847124032489472}} 
[2026-10-16 11:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":218149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:39:45] local.INFO: GPS data processed {"connection_id":218149,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:39:45] local.INFO: Acknowledgment sent {"connection_id":218149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:39:54] local.INFO: TCP Data received {"connection_id":216797,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:39:54] local.INFO: Processing buffer {"connection_id":216797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:39:54] local.INFO: Packet analysis {"connection_id":216797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:39:54] local.INFO: Extracted packet for processing {"connection_id":216797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785398272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792130763000,"timestamp_ms":1792130763000,"timestamp_seconds":1792130763,"priority":1,"record_length":96,"hex_timestamp":"000001a1435148f8"} 
[2026-10-16 11:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785398272001,"66":25593,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785398272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:39:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:39:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785398272001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":216797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:39:54] local.INFO: GPS data processed {"connection_id":216797,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:39:54] local.INFO: Acknowledgment sent {"connection_id":216797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:40:07] local.INFO: TCP Data received {"connection_id":218151,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:40:07] local.INFO: Processing buffer {"connection_id":218151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:40:07] local.INFO: IMEI packet received {"connection_id":218151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":218151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:40:12] local.INFO: TCP Data received {"connection_id":218151,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:40:12] local.INFO: Processing buffer {"connection_id":218151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:40:12] local.INFO: IMEI packet received {"connection_id":218151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":218151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:40:13] local.INFO: TCP Data received {"connection_id":218151,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c1c8012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c1c8012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:40:13] local.INFO: Processing buffer {"connection_id":218151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c1c8012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:40:13] local.INFO: Packet analysis {"connection_id":218151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:40:13] local.INFO: Extracted packet for processing {"connection_id":218151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:40:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785511424001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792130925000,"timestamp_ms":1792130925000,"timestamp_seconds":1792130925,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c1c8"} 
[2026-10-16 11:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:40: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-10-16 11:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-10-16 11:40:13] 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-10-16 11:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785511424001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785511424001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785511424001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":218151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:40:13] local.INFO: GPS data processed {"connection_id":218151,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:40:13] local.INFO: Acknowledgment sent {"connection_id":218151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:40:21] local.INFO: TCP Data received {"connection_id":216600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:40:21] local.INFO: Processing buffer {"connection_id":216600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:40:21] local.INFO: IMEI packet received {"connection_id":216600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":216600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:40:22] local.INFO: TCP Data received {"connection_id":216601,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:40:22] local.INFO: Processing buffer {"connection_id":216601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:40:22] local.INFO: IMEI packet received {"connection_id":216601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":216601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:40:26] local.INFO: TCP Data received {"connection_id":216600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:40:26] local.INFO: Processing buffer {"connection_id":216600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:40:26] local.INFO: IMEI packet received {"connection_id":216600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":216600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:40:27] local.INFO: TCP Data received {"connection_id":216601,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:40:27] local.INFO: Processing buffer {"connection_id":216601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:40:27] local.INFO: IMEI packet received {"connection_id":216601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":216601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:40:27] local.INFO: TCP Data received {"connection_id":216600,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:40:27] local.INFO: Processing buffer {"connection_id":216600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:40:27] local.INFO: Packet analysis {"connection_id":216600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:40:27] local.INFO: Extracted packet for processing {"connection_id":216600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785440000001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:27] 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-10-16 11:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130926000,"timestamp_ms":1792130926000,"timestamp_seconds":1792130926,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c5b0"} 
[2026-10-16 11:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:40:27] 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-10-16 11:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:40: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-10-16 11:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785440000001,"66":12667,"110":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 11:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785440000001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:40:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 11:40:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785440000001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":216600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:40:27] local.INFO: GPS data processed {"connection_id":216600,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:40:27] local.INFO: Acknowledgment sent {"connection_id":216600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:40:28] local.INFO: TCP Data received {"connection_id":216601,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:40:28] local.INFO: Processing buffer {"connection_id":216601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:40:28] local.INFO: Packet analysis {"connection_id":216601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:40:28] local.INFO: Extracted packet for processing {"connection_id":216601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785398272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792130763000,"timestamp_ms":1792130763000,"timestamp_seconds":1792130763,"priority":1,"record_length":96,"hex_timestamp":"000001a1435148f8"} 
[2026-10-16 11:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785398272001,"66":25593,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785398272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:40:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:40:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785398272001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":216601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:40:28] local.INFO: GPS data processed {"connection_id":216601,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:40:28] local.INFO: Acknowledgment sent {"connection_id":216601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:40:33] local.INFO: TCP Data received {"connection_id":216601,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:40:33] local.INFO: Processing buffer {"connection_id":216601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:40:33] local.INFO: Packet analysis {"connection_id":216601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:40:33] local.INFO: Extracted packet for processing {"connection_id":216601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785398272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792130763000,"timestamp_ms":1792130763000,"timestamp_seconds":1792130763,"priority":1,"record_length":96,"hex_timestamp":"000001a1435148f8"} 
[2026-10-16 11:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785398272001,"66":25593,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785398272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:40:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:40:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785398272001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":216601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:40:33] local.INFO: GPS data processed {"connection_id":216601,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:40:33] local.INFO: Acknowledgment sent {"connection_id":216601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:40:44] local.INFO: TCP Data received {"connection_id":218151,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435413d0012d1b4f80072500100039005b29..."} 
[2026-10-16 11:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435413d0012d1b4f80072500100039005b29..."} 
[2026-10-16 11:40:44] local.INFO: Processing buffer {"connection_id":218151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435413d0012d1b4f80072500100039005b29..."} 
[2026-10-16 11:40:44] local.INFO: Packet analysis {"connection_id":218151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14354"} 
[2026-10-16 11:40:44] local.INFO: Extracted packet for processing {"connection_id":218151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14354"} 
[2026-10-16 11:40:44] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785516800001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792130946000,"timestamp_ms":1792130946000,"timestamp_seconds":1792130946,"priority":1,"record_length":96,"hex_timestamp":"000001a1435413d0"} 
[2026-10-16 11:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:40: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-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:40:44] 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-10-16 11: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-10-16 11:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785516800001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785516800001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:40:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:40:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785516800001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":218151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:40:44] local.INFO: GPS data processed {"connection_id":218151,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:40:44] local.INFO: Acknowledgment sent {"connection_id":218151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:40:59] local.INFO: TCP Data received {"connection_id":216600,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:40:59] local.INFO: Processing buffer {"connection_id":216600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:40:59] local.INFO: Packet analysis {"connection_id":216600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:40:59] local.INFO: Extracted packet for processing {"connection_id":216600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785440000001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:40:59] 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-10-16 11:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792130926000,"timestamp_ms":1792130926000,"timestamp_seconds":1792130926,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c5b0"} 
[2026-10-16 11:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:40:59] 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-10-16 11:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785440000001,"66":12667,"110":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 11:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785440000001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:40:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 11:40:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785440000001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":216600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:40:59] local.INFO: GPS data processed {"connection_id":216600,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:40:59] local.INFO: Acknowledgment sent {"connection_id":216600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:41:12] local.INFO: TCP Data received {"connection_id":218152,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:41:12] local.INFO: Processing buffer {"connection_id":218152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:41:12] local.INFO: IMEI packet received {"connection_id":218152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":218152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:41:16] local.INFO: TCP Data received {"connection_id":218153,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:41:16] local.INFO: Processing buffer {"connection_id":218153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:41:16] local.INFO: IMEI packet received {"connection_id":218153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":218153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:41:17] local.INFO: TCP Data received {"connection_id":218152,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:41:17] local.INFO: Processing buffer {"connection_id":218152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:41:17] local.INFO: IMEI packet received {"connection_id":218152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":218152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:41:19] local.INFO: TCP Data received {"connection_id":218152,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435465d8012d1b4f80072500100039005b29..."} 
[2026-10-16 11:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435465d8012d1b4f80072500100039005b29..."} 
[2026-10-16 11:41:19] local.INFO: Processing buffer {"connection_id":218152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435465d8012d1b4f80072500100039005b29..."} 
[2026-10-16 11:41:19] local.INFO: Packet analysis {"connection_id":218152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14354"} 
[2026-10-16 11:41:19] local.INFO: Extracted packet for processing {"connection_id":218152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14354"} 
[2026-10-16 11:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785522176001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792130967000,"timestamp_ms":1792130967000,"timestamp_seconds":1792130967,"priority":1,"record_length":96,"hex_timestamp":"000001a1435465d8"} 
[2026-10-16 11:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":218152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":218152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":218152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785522176001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785522176001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:41:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785522176001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":218152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:41:19] local.INFO: GPS data processed {"connection_id":218152,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:41:19] local.INFO: Acknowledgment sent {"connection_id":218152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:41:21] local.INFO: TCP Data received {"connection_id":219881,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:41:21] local.INFO: Processing buffer {"connection_id":219881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:41:21] local.INFO: IMEI packet received {"connection_id":219881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":219881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:41:22] local.INFO: TCP Data received {"connection_id":218153,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:41:22] local.INFO: Processing buffer {"connection_id":218153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:41:22] local.INFO: IMEI packet received {"connection_id":218153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":218153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:41:25] local.INFO: TCP Data received {"connection_id":218153,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:41:25] local.INFO: Processing buffer {"connection_id":218153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435148f8012d7fa40005afce580009000a31..."} 
[2026-10-16 11:41:25] local.INFO: Packet analysis {"connection_id":218153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:41:25] local.INFO: Extracted packet for processing {"connection_id":218153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14351"} 
[2026-10-16 11:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785398272001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792130763000,"timestamp_ms":1792130763000,"timestamp_seconds":1792130763,"priority":1,"record_length":96,"hex_timestamp":"000001a1435148f8"} 
[2026-10-16 11:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-10-16 11:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":218153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":218153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":218153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785398272001,"66":25593,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785398272001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:41:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:41:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785398272001,"power":25593,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":218153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:41:25] local.INFO: GPS data processed {"connection_id":218153,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:41:25] local.INFO: Acknowledgment sent {"connection_id":218153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:41:26] local.INFO: TCP Data received {"connection_id":219881,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:41:26] local.INFO: Processing buffer {"connection_id":219881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:41:26] local.INFO: IMEI packet received {"connection_id":219881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":219881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:41:27] local.INFO: TCP Data received {"connection_id":219881,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:41:27] local.INFO: Processing buffer {"connection_id":219881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:41:27] local.INFO: Packet analysis {"connection_id":219881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:41:27] local.INFO: Extracted packet for processing {"connection_id":219881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785440000001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:27] 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-10-16 11:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130926000,"timestamp_ms":1792130926000,"timestamp_seconds":1792130926,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c5b0"} 
[2026-10-16 11:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:41:27] 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-10-16 11:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785440000001,"66":12667,"110":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 11:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785440000001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:41:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 11:41:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785440000001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":219881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:41:27] local.INFO: GPS data processed {"connection_id":219881,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:41:27] local.INFO: Acknowledgment sent {"connection_id":219881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:41:50] local.INFO: TCP Data received {"connection_id":218152,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14354b7e0012d1b4f80072500100039005b27..."} 
[2026-10-16 11:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14354b7e0012d1b4f80072500100039005b27..."} 
[2026-10-16 11:41:50] local.INFO: Processing buffer {"connection_id":218152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14354b7e0012d1b4f80072500100039005b27..."} 
[2026-10-16 11:41:50] local.INFO: Packet analysis {"connection_id":218152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14354"} 
[2026-10-16 11:41:50] local.INFO: Extracted packet for processing {"connection_id":218152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14354"} 
[2026-10-16 11:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785527552001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792130988000,"timestamp_ms":1792130988000,"timestamp_seconds":1792130988,"priority":1,"record_length":96,"hex_timestamp":"000001a14354b7e0"} 
[2026-10-16 11:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:41: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-10-16 11:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":218152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":218152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":218152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785527552001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785527552001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785527552001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":218152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:41:51] local.INFO: GPS data processed {"connection_id":218152,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:41:51] local.INFO: Acknowledgment sent {"connection_id":218152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:41:56] local.INFO: TCP Data received {"connection_id":218153,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:41:56] local.INFO: Processing buffer {"connection_id":218153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:41:56] local.INFO: Packet analysis {"connection_id":218153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:41:56] local.INFO: Extracted packet for processing {"connection_id":218153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785475328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792131064000,"timestamp_ms":1792131064000,"timestamp_seconds":1792131064,"priority":1,"record_length":96,"hex_timestamp":"000001a14355e0c0"} 
[2026-10-16 11:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785475328001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785475328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:41:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:41:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785475328001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":218153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:41:56] local.INFO: GPS data processed {"connection_id":218153,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:41:56] local.INFO: Acknowledgment sent {"connection_id":218153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:42:00] local.INFO: TCP Data received {"connection_id":219881,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:42:00] local.INFO: Processing buffer {"connection_id":219881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:42:00] local.INFO: Packet analysis {"connection_id":219881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:42:00] local.INFO: Extracted packet for processing {"connection_id":219881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785440000001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792130926000,"timestamp_ms":1792130926000,"timestamp_seconds":1792130926,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c5b0"} 
[2026-10-16 11:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:42:00] 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-10-16 11:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":219881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":219881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":219881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785440000001,"66":12667,"110":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 11:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785440000001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:42:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 11:42:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785440000001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":219881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:42:00] local.INFO: GPS data processed {"connection_id":219881,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:42:00] local.INFO: Acknowledgment sent {"connection_id":219881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:42:07] local.INFO: TCP Data received {"connection_id":219882,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:42:07] local.INFO: Processing buffer {"connection_id":219882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:42:07] local.INFO: IMEI packet received {"connection_id":219882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":219882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:42:11] local.INFO: TCP Data received {"connection_id":219882,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:42:11] local.INFO: Processing buffer {"connection_id":219882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:42:11] local.INFO: IMEI packet received {"connection_id":219882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":219882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:42:16] local.INFO: TCP Data received {"connection_id":216799,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:42:16] local.INFO: Processing buffer {"connection_id":216799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:42:16] local.INFO: IMEI packet received {"connection_id":216799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":216799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:42:16] local.INFO: TCP Data received {"connection_id":216602,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:42:16] local.INFO: Processing buffer {"connection_id":216602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:42:16] local.INFO: IMEI packet received {"connection_id":216602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":216602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:42:20] local.INFO: TCP Data received {"connection_id":216800,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:42:20] local.INFO: Processing buffer {"connection_id":216800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:42:20] local.INFO: IMEI packet received {"connection_id":216800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":216800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:42:22] local.INFO: TCP Data received {"connection_id":216799,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:42:22] local.INFO: Processing buffer {"connection_id":216799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:42:22] local.INFO: IMEI packet received {"connection_id":216799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":216799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:42:23] local.INFO: TCP Data received {"connection_id":216799,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:42:23] local.INFO: Processing buffer {"connection_id":216799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:42:23] local.INFO: Packet analysis {"connection_id":216799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:42:23] local.INFO: Extracted packet for processing {"connection_id":216799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:42:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785475328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131064000,"timestamp_ms":1792131064000,"timestamp_seconds":1792131064,"priority":1,"record_length":96,"hex_timestamp":"000001a14355e0c0"} 
[2026-10-16 11:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785475328001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785475328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:42:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:42:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785475328001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":216799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:42:23] local.INFO: GPS data processed {"connection_id":216799,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:42:23] local.INFO: Acknowledgment sent {"connection_id":216799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:42:26] local.INFO: TCP Data received {"connection_id":216800,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:42:26] local.INFO: Processing buffer {"connection_id":216800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:42:26] local.INFO: IMEI packet received {"connection_id":216800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":216800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:42:27] local.INFO: TCP Data received {"connection_id":216800,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:42:27] local.INFO: Processing buffer {"connection_id":216800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:42:27] local.INFO: Packet analysis {"connection_id":216800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:42:27] local.INFO: Extracted packet for processing {"connection_id":216800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785440000001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:27] 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-10-16 11:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130926000,"timestamp_ms":1792130926000,"timestamp_seconds":1792130926,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c5b0"} 
[2026-10-16 11:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:42:27] 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-10-16 11:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785440000001,"66":12667,"110":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 11:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785440000001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:42:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 11:42:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785440000001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":216800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:42:27] local.INFO: GPS data processed {"connection_id":216800,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:42:27] local.INFO: Acknowledgment sent {"connection_id":216800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:42:37] local.INFO: TCP Data received {"connection_id":219882,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435509e8012d1b4f80072500100039005b2b..."} 
[2026-10-16 11:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435509e8012d1b4f80072500100039005b2b..."} 
[2026-10-16 11:42:37] local.INFO: Processing buffer {"connection_id":219882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435509e8012d1b4f80072500100039005b2b..."} 
[2026-10-16 11:42:37] local.INFO: Packet analysis {"connection_id":219882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:42:37] local.INFO: Extracted packet for processing {"connection_id":219882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785532928001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792131009000,"timestamp_ms":1792131009000,"timestamp_seconds":1792131009,"priority":1,"record_length":96,"hex_timestamp":"000001a1435509e8"} 
[2026-10-16 11:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:42: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-10-16 11: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-10-16 11:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":219882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":219882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":219882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785532928001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785532928001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785532928001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":219882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:42:37] local.INFO: GPS data processed {"connection_id":219882,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:42:37] local.INFO: Acknowledgment sent {"connection_id":219882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:42:51] local.INFO: TCP Data received {"connection_id":216603,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:42:51] local.INFO: Processing buffer {"connection_id":216603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:42:51] local.INFO: IMEI packet received {"connection_id":216603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":216603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:42:55] local.INFO: TCP Data received {"connection_id":216799,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:42:55] local.INFO: Processing buffer {"connection_id":216799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:42:55] local.INFO: Packet analysis {"connection_id":216799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:42:55] local.INFO: Extracted packet for processing {"connection_id":216799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785475328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792131064000,"timestamp_ms":1792131064000,"timestamp_seconds":1792131064,"priority":1,"record_length":96,"hex_timestamp":"000001a14355e0c0"} 
[2026-10-16 11:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785475328001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785475328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:42:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:42:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785475328001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":216799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:42:55] local.INFO: GPS data processed {"connection_id":216799,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:42:55] local.INFO: Acknowledgment sent {"connection_id":216799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:42:58] local.INFO: TCP Data received {"connection_id":216800,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:42:58] local.INFO: Processing buffer {"connection_id":216800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:42:58] local.INFO: Packet analysis {"connection_id":216800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:42:58] local.INFO: Extracted packet for processing {"connection_id":216800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:42:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785440000001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:42:58] 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-10-16 11:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792130926000,"timestamp_ms":1792130926000,"timestamp_seconds":1792130926,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c5b0"} 
[2026-10-16 11:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785440000001,"66":12667,"110":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 11:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785440000001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:42:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 11:42:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785440000001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":216800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:42:58] local.INFO: GPS data processed {"connection_id":216800,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:42:58] local.INFO: Acknowledgment sent {"connection_id":216800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:43:08] local.INFO: TCP Data received {"connection_id":216801,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:43:08] local.INFO: Processing buffer {"connection_id":216801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:43:08] local.INFO: IMEI packet received {"connection_id":216801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":216801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:43:12] local.INFO: TCP Data received {"connection_id":216801,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:43:12] local.INFO: Processing buffer {"connection_id":216801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:43:12] local.INFO: IMEI packet received {"connection_id":216801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":216801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:43:13] local.INFO: TCP Data received {"connection_id":216801,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143555bf0012d1b4f80072500100039005b29..."} 
[2026-10-16 11:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143555bf0012d1b4f80072500100039005b29..."} 
[2026-10-16 11:43:13] local.INFO: Processing buffer {"connection_id":216801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143555bf0012d1b4f80072500100039005b29..."} 
[2026-10-16 11:43:13] local.INFO: Packet analysis {"connection_id":216801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:43:13] local.INFO: Extracted packet for processing {"connection_id":216801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785538304001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131030000,"timestamp_ms":1792131030000,"timestamp_seconds":1792131030,"priority":1,"record_length":96,"hex_timestamp":"000001a143555bf0"} 
[2026-10-16 11:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:43: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-10-16 11: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":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:43: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-10-16 11: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-10-16 11:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785538304001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785538304001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:43:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785538304001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":216801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:43:13] local.INFO: GPS data processed {"connection_id":216801,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:43:13] local.INFO: Acknowledgment sent {"connection_id":216801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:43:16] local.INFO: TCP Data received {"connection_id":216604,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:43:16] local.INFO: Processing buffer {"connection_id":216604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:43:16] local.INFO: IMEI packet received {"connection_id":216604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":216604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:43:20] local.INFO: TCP Data received {"connection_id":218154,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:43:20] local.INFO: Processing buffer {"connection_id":218154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:43:20] local.INFO: IMEI packet received {"connection_id":218154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":218154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:43:22] local.INFO: TCP Data received {"connection_id":216604,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:43:22] local.INFO: Processing buffer {"connection_id":216604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:43:22] local.INFO: IMEI packet received {"connection_id":216604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":216604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:43:23] local.INFO: TCP Data received {"connection_id":216604,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:43:23] local.INFO: Processing buffer {"connection_id":216604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:43:23] local.INFO: Packet analysis {"connection_id":216604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:43:23] local.INFO: Extracted packet for processing {"connection_id":216604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785475328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131064000,"timestamp_ms":1792131064000,"timestamp_seconds":1792131064,"priority":1,"record_length":96,"hex_timestamp":"000001a14355e0c0"} 
[2026-10-16 11:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785475328001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785475328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:43:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:43:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785475328001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":216604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:43:23] local.INFO: GPS data processed {"connection_id":216604,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:43:23] local.INFO: Acknowledgment sent {"connection_id":216604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:43:25] local.INFO: TCP Data received {"connection_id":218154,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:43:25] local.INFO: Processing buffer {"connection_id":218154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:43:25] local.INFO: IMEI packet received {"connection_id":218154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":218154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:43:27] local.INFO: TCP Data received {"connection_id":218154,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:43:27] local.INFO: Processing buffer {"connection_id":218154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14353c5b0012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 11:43:27] local.INFO: Packet analysis {"connection_id":218154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:43:27] local.INFO: Extracted packet for processing {"connection_id":218154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14353"} 
[2026-10-16 11:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785440000001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:27] 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-10-16 11:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792130926000,"timestamp_ms":1792130926000,"timestamp_seconds":1792130926,"priority":1,"record_length":96,"hex_timestamp":"000001a14353c5b0"} 
[2026-10-16 11:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:43:27] 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-10-16 11: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-10-16 11:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785440000001,"66":12667,"110":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-10-16 11:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785440000001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:43:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 11:43:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785440000001,"power":12667,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":218154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:43:27] local.INFO: GPS data processed {"connection_id":218154,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:43:27] local.INFO: Acknowledgment sent {"connection_id":218154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:43:44] local.INFO: TCP Data received {"connection_id":216801,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14355adf8012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355adf8012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:43:44] local.INFO: Processing buffer {"connection_id":216801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355adf8012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:43:44] local.INFO: Packet analysis {"connection_id":216801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:43:44] local.INFO: Extracted packet for processing {"connection_id":216801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785543680001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792131051000,"timestamp_ms":1792131051000,"timestamp_seconds":1792131051,"priority":1,"record_length":96,"hex_timestamp":"000001a14355adf8"} 
[2026-10-16 11:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:43: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-10-16 11: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":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:43:44] 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-10-16 11: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-10-16 11:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785543680001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785543680001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:43:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:43:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785543680001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":216801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:43:44] local.INFO: GPS data processed {"connection_id":216801,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:43:44] local.INFO: Acknowledgment sent {"connection_id":216801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:43:54] local.INFO: TCP Data received {"connection_id":216604,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:43:54] local.INFO: Processing buffer {"connection_id":216604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:43:54] local.INFO: Packet analysis {"connection_id":216604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:43:54] local.INFO: Extracted packet for processing {"connection_id":216604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785475328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792131064000,"timestamp_ms":1792131064000,"timestamp_seconds":1792131064,"priority":1,"record_length":96,"hex_timestamp":"000001a14355e0c0"} 
[2026-10-16 11:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785475328001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785475328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:43:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:43:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785475328001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":216604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:43:54] local.INFO: GPS data processed {"connection_id":216604,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:43:54] local.INFO: Acknowledgment sent {"connection_id":216604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:43:58] local.INFO: TCP Data received {"connection_id":218154,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:43:58] local.INFO: Processing buffer {"connection_id":218154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:43:58] local.INFO: Packet analysis {"connection_id":218154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:43:58] local.INFO: Extracted packet for processing {"connection_id":218154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785517056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:43:58] 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-10-16 11:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792131227000,"timestamp_ms":1792131227000,"timestamp_seconds":1792131227,"priority":1,"record_length":96,"hex_timestamp":"000001a143585d78"} 
[2026-10-16 11:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:43: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-10-16 11:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785517056001,"66":12678,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785517056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:43:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:43:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785517056001,"power":12678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":218154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:43:58] local.INFO: GPS data processed {"connection_id":218154,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:43:58] local.INFO: Acknowledgment sent {"connection_id":218154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:44:07] local.INFO: TCP Data received {"connection_id":218156,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:44:07] local.INFO: Processing buffer {"connection_id":218156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:44:07] local.INFO: IMEI packet received {"connection_id":218156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":218156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:44:12] local.INFO: TCP Data received {"connection_id":218156,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:44:12] local.INFO: Processing buffer {"connection_id":218156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:44:12] local.INFO: IMEI packet received {"connection_id":218156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":218156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:44:15] local.INFO: TCP Data received {"connection_id":218156,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143560000012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143560000012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:44:15] local.INFO: Processing buffer {"connection_id":218156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143560000012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:44:15] local.INFO: Packet analysis {"connection_id":218156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14356"} 
[2026-10-16 11:44:15] local.INFO: Extracted packet for processing {"connection_id":218156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14356"} 
[2026-10-16 11:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785549056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792131072000,"timestamp_ms":1792131072000,"timestamp_seconds":1792131072,"priority":1,"record_length":96,"hex_timestamp":"000001a143560000"} 
[2026-10-16 11:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:44: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-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:44: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-10-16 11: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-10-16 11:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785549056001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785549056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785549056001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":218156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:44:15] local.INFO: GPS data processed {"connection_id":218156,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:44:15] local.INFO: Acknowledgment sent {"connection_id":218156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:44:20] local.INFO: TCP Data received {"connection_id":216607,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:44:20] local.INFO: Processing buffer {"connection_id":216607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:44:20] local.INFO: IMEI packet received {"connection_id":216607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":216607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:44:22] local.INFO: TCP Data received {"connection_id":216606,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:44:22] local.INFO: Processing buffer {"connection_id":216606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:44:22] local.INFO: IMEI packet received {"connection_id":216606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":216606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:44:26] local.INFO: TCP Data received {"connection_id":216607,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:44:26] local.INFO: Processing buffer {"connection_id":216607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:44:26] local.INFO: IMEI packet received {"connection_id":216607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":216607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:44:27] local.INFO: TCP Data received {"connection_id":216606,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:44:27] local.INFO: Processing buffer {"connection_id":216606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:44:27] local.INFO: IMEI packet received {"connection_id":216606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":216606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:44:27] local.INFO: TCP Data received {"connection_id":216607,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:44:27] local.INFO: Processing buffer {"connection_id":216607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:44:27] local.INFO: Packet analysis {"connection_id":216607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:44:27] local.INFO: Extracted packet for processing {"connection_id":216607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785517056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:27] 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-10-16 11:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792131227000,"timestamp_ms":1792131227000,"timestamp_seconds":1792131227,"priority":1,"record_length":96,"hex_timestamp":"000001a143585d78"} 
[2026-10-16 11:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:44:27] 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-10-16 11:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785517056001,"66":12678,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785517056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:44:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:44:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785517056001,"power":12678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":216607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:44:27] local.INFO: GPS data processed {"connection_id":216607,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:44:27] local.INFO: Acknowledgment sent {"connection_id":216607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:44:28] local.INFO: TCP Data received {"connection_id":216606,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:44:28] local.INFO: Processing buffer {"connection_id":216606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:44:28] local.INFO: Packet analysis {"connection_id":216606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:44:28] local.INFO: Extracted packet for processing {"connection_id":216606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785475328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792131064000,"timestamp_ms":1792131064000,"timestamp_seconds":1792131064,"priority":1,"record_length":96,"hex_timestamp":"000001a14355e0c0"} 
[2026-10-16 11:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785475328001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785475328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:44:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:44:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785475328001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":216606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:44:28] local.INFO: GPS data processed {"connection_id":216606,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:44:28] local.INFO: Acknowledgment sent {"connection_id":216606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:44:32] local.INFO: TCP Data received {"connection_id":216606,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:44:32] local.INFO: Processing buffer {"connection_id":216606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:44:32] local.INFO: Packet analysis {"connection_id":216606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:44:32] local.INFO: Extracted packet for processing {"connection_id":216606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785475328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792131064000,"timestamp_ms":1792131064000,"timestamp_seconds":1792131064,"priority":1,"record_length":96,"hex_timestamp":"000001a14355e0c0"} 
[2026-10-16 11:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785475328001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785475328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:44:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785475328001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":216606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:44:32] local.INFO: GPS data processed {"connection_id":216606,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:44:32] local.INFO: Acknowledgment sent {"connection_id":216606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:44:46] local.INFO: TCP Data received {"connection_id":218156,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143565208012d1b4f80072500100039005b29..."} 
[2026-10-16 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143565208012d1b4f80072500100039005b29..."} 
[2026-10-16 11:44:46] local.INFO: Processing buffer {"connection_id":218156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143565208012d1b4f80072500100039005b29..."} 
[2026-10-16 11:44:46] local.INFO: Packet analysis {"connection_id":218156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14356"} 
[2026-10-16 11:44:46] local.INFO: Extracted packet for processing {"connection_id":218156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14356"} 
[2026-10-16 11:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785554432001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792131093000,"timestamp_ms":1792131093000,"timestamp_seconds":1792131093,"priority":1,"record_length":96,"hex_timestamp":"000001a143565208"} 
[2026-10-16 11:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:44: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-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785554432001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785554432001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:44:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785554432001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":218156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:44:46] local.INFO: GPS data processed {"connection_id":218156,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:44:46] local.INFO: Acknowledgment sent {"connection_id":218156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:45:01] local.INFO: TCP Data received {"connection_id":216607,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:45:01] local.INFO: Processing buffer {"connection_id":216607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:45:01] local.INFO: Packet analysis {"connection_id":216607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:45:01] local.INFO: Extracted packet for processing {"connection_id":216607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785517056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:01] 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-10-16 11:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792131227000,"timestamp_ms":1792131227000,"timestamp_seconds":1792131227,"priority":1,"record_length":96,"hex_timestamp":"000001a143585d78"} 
[2026-10-16 11:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:45:01] 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-10-16 11:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:45:01] 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-10-16 11:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785517056001,"66":12678,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785517056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:45:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:45:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785517056001,"power":12678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":216607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:45:01] local.INFO: GPS data processed {"connection_id":216607,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:45:01] local.INFO: Acknowledgment sent {"connection_id":216607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:45:12] local.INFO: TCP Data received {"connection_id":216608,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:45:12] local.INFO: Processing buffer {"connection_id":216608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:45:12] local.INFO: IMEI packet received {"connection_id":216608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":216608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:45:16] local.INFO: TCP Data received {"connection_id":219884,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:45:16] local.INFO: Processing buffer {"connection_id":219884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:45:16] local.INFO: IMEI packet received {"connection_id":219884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":219884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:45:17] local.INFO: TCP Data received {"connection_id":216608,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:45:17] local.INFO: Processing buffer {"connection_id":216608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:45:17] local.INFO: IMEI packet received {"connection_id":216608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":216608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:45:18] local.INFO: TCP Data received {"connection_id":216608,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14356a410012d1b4f80072500100039005b27..."} 
[2026-10-16 11:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14356a410012d1b4f80072500100039005b27..."} 
[2026-10-16 11:45:18] local.INFO: Processing buffer {"connection_id":216608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14356a410012d1b4f80072500100039005b27..."} 
[2026-10-16 11:45:18] local.INFO: Packet analysis {"connection_id":216608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14356"} 
[2026-10-16 11:45:18] local.INFO: Extracted packet for processing {"connection_id":216608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14356"} 
[2026-10-16 11:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785559808001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792131114000,"timestamp_ms":1792131114000,"timestamp_seconds":1792131114,"priority":1,"record_length":96,"hex_timestamp":"000001a14356a410"} 
[2026-10-16 11:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:45: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-10-16 11: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":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785559808001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785559808001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:45:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785559808001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":216608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:45:18] local.INFO: GPS data processed {"connection_id":216608,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:45:18] local.INFO: Acknowledgment sent {"connection_id":216608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:45:22] local.INFO: TCP Data received {"connection_id":216608,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14356f618012d1b4f80072500100039005b29..."} 
[2026-10-16 11:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14356f618012d1b4f80072500100039005b29..."} 
[2026-10-16 11:45:22] local.INFO: Processing buffer {"connection_id":216608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14356f618012d1b4f80072500100039005b29..."} 
[2026-10-16 11:45:22] local.INFO: Packet analysis {"connection_id":216608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14356"} 
[2026-10-16 11:45:22] local.INFO: Extracted packet for processing {"connection_id":216608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14356"} 
[2026-10-16 11:45:22] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785565184001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792131135000,"timestamp_ms":1792131135000,"timestamp_seconds":1792131135,"priority":1,"record_length":96,"hex_timestamp":"000001a14356f618"} 
[2026-10-16 11:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:45: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-10-16 11:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785565184001,"66":12439,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785565184001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:45:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:45:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785565184001,"power":12439,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:45:22] local.INFO: TCP Data received {"connection_id":219884,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:45:22] local.INFO: Processing buffer {"connection_id":219884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:45:22] local.INFO: IMEI packet received {"connection_id":219884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":219884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":216608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:45:22] local.INFO: GPS data processed {"connection_id":216608,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:45:22] local.INFO: Acknowledgment sent {"connection_id":216608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:45:23] local.INFO: TCP Data received {"connection_id":219884,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:45:23] local.INFO: Processing buffer {"connection_id":219884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:45:23] local.INFO: Packet analysis {"connection_id":219884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:45:23] local.INFO: Extracted packet for processing {"connection_id":219884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785475328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131064000,"timestamp_ms":1792131064000,"timestamp_seconds":1792131064,"priority":1,"record_length":96,"hex_timestamp":"000001a14355e0c0"} 
[2026-10-16 11:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785475328001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785475328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:45:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:45:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785475328001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":219884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:45:23] local.INFO: GPS data processed {"connection_id":219884,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:45:23] local.INFO: Acknowledgment sent {"connection_id":219884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:45:25] local.INFO: TCP Data received {"connection_id":216609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:45:25] local.INFO: Processing buffer {"connection_id":216609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:45:25] local.INFO: IMEI packet received {"connection_id":216609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":216609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:45:31] local.INFO: TCP Data received {"connection_id":216609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:45:31] local.INFO: Processing buffer {"connection_id":216609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:45:31] local.INFO: IMEI packet received {"connection_id":216609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":216609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:45:33] local.INFO: TCP Data received {"connection_id":216609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:45:33] local.INFO: Processing buffer {"connection_id":216609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:45:33] local.INFO: Packet analysis {"connection_id":216609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:45:33] local.INFO: Extracted packet for processing {"connection_id":216609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785517056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:33] 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-10-16 11:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792131227000,"timestamp_ms":1792131227000,"timestamp_seconds":1792131227,"priority":1,"record_length":96,"hex_timestamp":"000001a143585d78"} 
[2026-10-16 11:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:45:33] 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-10-16 11:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785517056001,"66":12678,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785517056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:45:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:45:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785517056001,"power":12678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":216609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:45:33] local.INFO: GPS data processed {"connection_id":216609,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:45:33] local.INFO: Acknowledgment sent {"connection_id":216609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:45:54] local.INFO: TCP Data received {"connection_id":219884,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:45:54] local.INFO: Processing buffer {"connection_id":219884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:45:54] local.INFO: Packet analysis {"connection_id":219884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:45:54] local.INFO: Extracted packet for processing {"connection_id":219884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785475328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792131064000,"timestamp_ms":1792131064000,"timestamp_seconds":1792131064,"priority":1,"record_length":96,"hex_timestamp":"000001a14355e0c0"} 
[2026-10-16 11:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785475328001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785475328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:45:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:45:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785475328001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":219884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:45:54] local.INFO: GPS data processed {"connection_id":219884,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:45:54] local.INFO: Acknowledgment sent {"connection_id":219884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:46:07] local.INFO: TCP Data received {"connection_id":218157,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:46:07] local.INFO: Processing buffer {"connection_id":218157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:46:07] local.INFO: IMEI packet received {"connection_id":218157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":218157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:46:09] local.INFO: TCP Data received {"connection_id":216609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:46:09] local.INFO: Processing buffer {"connection_id":216609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:46:09] local.INFO: Packet analysis {"connection_id":216609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:46:09] local.INFO: Extracted packet for processing {"connection_id":216609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 11:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785517056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:09] 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-10-16 11:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792131227000,"timestamp_ms":1792131227000,"timestamp_seconds":1792131227,"priority":1,"record_length":96,"hex_timestamp":"000001a143585d78"} 
[2026-10-16 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-10-16 11:46: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-10-16 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:46:09] 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-10-16 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-10-16 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-10-16 11:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:46:09] 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-10-16 11:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785517056001,"66":12678,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785517056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:46:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:46:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785517056001,"power":12678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":216609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:46:09] local.INFO: GPS data processed {"connection_id":216609,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:46:09] local.INFO: Acknowledgment sent {"connection_id":216609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:46:12] local.INFO: TCP Data received {"connection_id":218157,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:46:12] local.INFO: Processing buffer {"connection_id":218157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:46:12] local.INFO: IMEI packet received {"connection_id":218157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":218157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:46:13] local.INFO: TCP Data received {"connection_id":218157,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143574820012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143574820012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:46:13] local.INFO: Processing buffer {"connection_id":218157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143574820012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:46:13] local.INFO: Packet analysis {"connection_id":218157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14357"} 
[2026-10-16 11:46:13] local.INFO: Extracted packet for processing {"connection_id":218157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14357"} 
[2026-10-16 11:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785570560001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131156000,"timestamp_ms":1792131156000,"timestamp_seconds":1792131156,"priority":1,"record_length":96,"hex_timestamp":"000001a143574820"} 
[2026-10-16 11:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:46: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-10-16 11: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-10-16 11: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-10-16 11: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-10-16 11:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785570560001,"66":12341,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785570560001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:46:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785570560001,"power":12341,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":218157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:46:13] local.INFO: GPS data processed {"connection_id":218157,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:46:13] local.INFO: Acknowledgment sent {"connection_id":218157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:46:16] local.INFO: TCP Data received {"connection_id":219885,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:46:16] local.INFO: Processing buffer {"connection_id":219885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:46:16] local.INFO: IMEI packet received {"connection_id":219885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":219885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:46:21] local.INFO: TCP Data received {"connection_id":216803,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:46:21] local.INFO: Processing buffer {"connection_id":216803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:46:21] local.INFO: IMEI packet received {"connection_id":216803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":216803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:46:22] local.INFO: TCP Data received {"connection_id":219885,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:46:22] local.INFO: Processing buffer {"connection_id":219885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:46:22] local.INFO: IMEI packet received {"connection_id":219885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":219885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:46:24] local.INFO: TCP Data received {"connection_id":219885,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:46:24] local.INFO: Processing buffer {"connection_id":219885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14355e0c0012d7fa40005afce580009000a30..."} 
[2026-10-16 11:46:24] local.INFO: Packet analysis {"connection_id":219885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:46:24] local.INFO: Extracted packet for processing {"connection_id":219885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14355"} 
[2026-10-16 11:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785475328001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792131064000,"timestamp_ms":1792131064000,"timestamp_seconds":1792131064,"priority":1,"record_length":96,"hex_timestamp":"000001a14355e0c0"} 
[2026-10-16 11:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-10-16 11:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785475328001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785475328001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:46:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:46:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785475328001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":219885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:46:24] local.INFO: GPS data processed {"connection_id":219885,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:46:24] local.INFO: Acknowledgment sent {"connection_id":219885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:46:26] local.INFO: TCP Data received {"connection_id":216803,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:46:26] local.INFO: Processing buffer {"connection_id":216803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:46:26] local.INFO: IMEI packet received {"connection_id":216803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":216803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:46:27] local.INFO: TCP Data received {"connection_id":216803,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:46:27] local.INFO: Processing buffer {"connection_id":216803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:46:27] local.INFO: Packet analysis {"connection_id":216803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:46:27] local.INFO: Extracted packet for processing {"connection_id":216803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785517056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:27] 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-10-16 11:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792131227000,"timestamp_ms":1792131227000,"timestamp_seconds":1792131227,"priority":1,"record_length":96,"hex_timestamp":"000001a143585d78"} 
[2026-10-16 11:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785517056001,"66":12678,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785517056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:46:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:46:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785517056001,"power":12678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":216803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:46:27] local.INFO: GPS data processed {"connection_id":216803,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:46:27] local.INFO: Acknowledgment sent {"connection_id":216803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:46:44] local.INFO: TCP Data received {"connection_id":218157,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143579a28012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143579a28012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:46:44] local.INFO: Processing buffer {"connection_id":218157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143579a28012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:46:44] local.INFO: Packet analysis {"connection_id":218157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14357"} 
[2026-10-16 11:46:44] local.INFO: Extracted packet for processing {"connection_id":218157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14357"} 
[2026-10-16 11:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785575936001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792131177000,"timestamp_ms":1792131177000,"timestamp_seconds":1792131177,"priority":1,"record_length":96,"hex_timestamp":"000001a143579a28"} 
[2026-10-16 11:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11: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-10-16 11: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-10-16 11:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785575936001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785575936001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:46:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:46:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785575936001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":218157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:46:44] local.INFO: GPS data processed {"connection_id":218157,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:46:44] local.INFO: Acknowledgment sent {"connection_id":218157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:46:56] local.INFO: TCP Data received {"connection_id":219885,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:46:56] local.INFO: Processing buffer {"connection_id":219885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:46:56] local.INFO: Packet analysis {"connection_id":219885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:46:56] local.INFO: Extracted packet for processing {"connection_id":219885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785552384001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792131365000,"timestamp_ms":1792131365000,"timestamp_seconds":1792131365,"priority":1,"record_length":96,"hex_timestamp":"000001a1435a7888"} 
[2026-10-16 11:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785552384001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785552384001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:46:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:46:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785552384001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":219885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:46:56] local.INFO: GPS data processed {"connection_id":219885,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:46:56] local.INFO: Acknowledgment sent {"connection_id":219885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:46:58] local.INFO: TCP Data received {"connection_id":216803,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:46:58] local.INFO: Processing buffer {"connection_id":216803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:46:58] local.INFO: Packet analysis {"connection_id":216803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:46:58] local.INFO: Extracted packet for processing {"connection_id":216803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785517056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:46:58] 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-10-16 11:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792131227000,"timestamp_ms":1792131227000,"timestamp_seconds":1792131227,"priority":1,"record_length":96,"hex_timestamp":"000001a143585d78"} 
[2026-10-16 11:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:46: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-10-16 11:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785517056001,"66":12678,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785517056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:46:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785517056001,"power":12678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":216803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:46:58] local.INFO: GPS data processed {"connection_id":216803,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:46:58] local.INFO: Acknowledgment sent {"connection_id":216803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:47:05] local.INFO: TCP Data received {"connection_id":219886,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:47:05] local.INFO: Processing buffer {"connection_id":219886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:47:05] local.INFO: IMEI packet received {"connection_id":219886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":219886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:47:07] local.INFO: TCP Data received {"connection_id":219886,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:47:07] local.INFO: Processing buffer {"connection_id":219886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:47:07] local.INFO: IMEI packet received {"connection_id":219886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":219886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:47:12] local.INFO: TCP Data received {"connection_id":219886,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:47:12] local.INFO: Processing buffer {"connection_id":219886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:47:12] local.INFO: IMEI packet received {"connection_id":219886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":219886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:47:13] local.INFO: TCP Data received {"connection_id":219886,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14357ec30012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14357ec30012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:47:13] local.INFO: Processing buffer {"connection_id":219886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14357ec30012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:47:13] local.INFO: Packet analysis {"connection_id":219886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14357"} 
[2026-10-16 11:47:13] local.INFO: Extracted packet for processing {"connection_id":219886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14357"} 
[2026-10-16 11:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785581312001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131198000,"timestamp_ms":1792131198000,"timestamp_seconds":1792131198,"priority":1,"record_length":96,"hex_timestamp":"000001a14357ec30"} 
[2026-10-16 11:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:47: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-10-16 11:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:47: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-10-16 11:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785581312001,"66":12493,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785581312001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785581312001,"power":12493,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":219886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:47:13] local.INFO: GPS data processed {"connection_id":219886,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:47:13] local.INFO: Acknowledgment sent {"connection_id":219886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:47:17] local.INFO: TCP Data received {"connection_id":219887,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:47:17] local.INFO: Processing buffer {"connection_id":219887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:47:17] local.INFO: IMEI packet received {"connection_id":219887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":219887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:47:21] local.INFO: TCP Data received {"connection_id":216610,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:47:21] local.INFO: Processing buffer {"connection_id":216610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:47:21] local.INFO: IMEI packet received {"connection_id":216610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":216610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:47:22] local.INFO: TCP Data received {"connection_id":219887,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:47:22] local.INFO: Processing buffer {"connection_id":219887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:47:22] local.INFO: IMEI packet received {"connection_id":219887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":219887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:47:23] local.INFO: TCP Data received {"connection_id":219887,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:47:23] local.INFO: Processing buffer {"connection_id":219887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:47:23] local.INFO: Packet analysis {"connection_id":219887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:47:23] local.INFO: Extracted packet for processing {"connection_id":219887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785552384001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131365000,"timestamp_ms":1792131365000,"timestamp_seconds":1792131365,"priority":1,"record_length":96,"hex_timestamp":"000001a1435a7888"} 
[2026-10-16 11:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:47:23] 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-10-16 11:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785552384001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785552384001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:47:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:47:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785552384001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":219887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:47:23] local.INFO: GPS data processed {"connection_id":219887,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:47:23] local.INFO: Acknowledgment sent {"connection_id":219887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:47:26] local.INFO: TCP Data received {"connection_id":216610,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:47:26] local.INFO: Processing buffer {"connection_id":216610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:47:26] local.INFO: IMEI packet received {"connection_id":216610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":216610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:47:27] local.INFO: TCP Data received {"connection_id":216610,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:47:27] local.INFO: Processing buffer {"connection_id":216610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:47:27] local.INFO: Packet analysis {"connection_id":216610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:47:27] local.INFO: Extracted packet for processing {"connection_id":216610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785517056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:27] 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-10-16 11:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792131227000,"timestamp_ms":1792131227000,"timestamp_seconds":1792131227,"priority":1,"record_length":96,"hex_timestamp":"000001a143585d78"} 
[2026-10-16 11:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:47: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-10-16 11:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785517056001,"66":12678,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785517056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:47:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:47:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785517056001,"power":12678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":216610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:47:27] local.INFO: GPS data processed {"connection_id":216610,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:47:27] local.INFO: Acknowledgment sent {"connection_id":216610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:47:44] local.INFO: TCP Data received {"connection_id":219886,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143583e38012d1b4f80072500100039005b28..."} 
[2026-10-16 11:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143583e38012d1b4f80072500100039005b28..."} 
[2026-10-16 11:47:44] local.INFO: Processing buffer {"connection_id":219886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143583e38012d1b4f80072500100039005b28..."} 
[2026-10-16 11:47:44] local.INFO: Packet analysis {"connection_id":219886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:47:44] local.INFO: Extracted packet for processing {"connection_id":219886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:47:44] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785586688001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792131219000,"timestamp_ms":1792131219000,"timestamp_seconds":1792131219,"priority":1,"record_length":96,"hex_timestamp":"000001a143583e38"} 
[2026-10-16 11:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":205,"data_length":795,"current_offset":136} 
[2026-10-16 11:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785586688001,"66":12113,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785586688001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:47:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:47:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785586688001,"power":12113,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":219886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:47:44] local.INFO: GPS data processed {"connection_id":219886,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:47:44] local.INFO: Acknowledgment sent {"connection_id":219886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:47:55] local.INFO: TCP Data received {"connection_id":219887,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:47:55] local.INFO: Processing buffer {"connection_id":219887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:47:55] local.INFO: Packet analysis {"connection_id":219887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:47:55] local.INFO: Extracted packet for processing {"connection_id":219887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785552384001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792131365000,"timestamp_ms":1792131365000,"timestamp_seconds":1792131365,"priority":1,"record_length":96,"hex_timestamp":"000001a1435a7888"} 
[2026-10-16 11:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785552384001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785552384001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:47:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:47:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785552384001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":219887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:47:55] local.INFO: GPS data processed {"connection_id":219887,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:47:55] local.INFO: Acknowledgment sent {"connection_id":219887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:48:01] local.INFO: TCP Data received {"connection_id":216610,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:48:01] local.INFO: Processing buffer {"connection_id":216610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:48:01] local.INFO: Packet analysis {"connection_id":216610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:48:01] local.INFO: Extracted packet for processing {"connection_id":216610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785517056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:01] 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-10-16 11:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792131227000,"timestamp_ms":1792131227000,"timestamp_seconds":1792131227,"priority":1,"record_length":96,"hex_timestamp":"000001a143585d78"} 
[2026-10-16 11:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:48:01] 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-10-16 11:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:48: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-10-16 11:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785517056001,"66":12678,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785517056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:48:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:48:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785517056001,"power":12678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":216610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:48:01] local.INFO: GPS data processed {"connection_id":216610,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:48:01] local.INFO: Acknowledgment sent {"connection_id":216610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:48:07] local.INFO: TCP Data received {"connection_id":216804,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:48:07] local.INFO: Processing buffer {"connection_id":216804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:48:07] local.INFO: IMEI packet received {"connection_id":216804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":216804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:48:08] local.INFO: TCP Data received {"connection_id":216804,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:48:08] local.INFO: Processing buffer {"connection_id":216804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:48:08] local.INFO: IMEI packet received {"connection_id":216804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":216804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:48:11] local.INFO: TCP Data received {"connection_id":219888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:48:11] local.INFO: Processing buffer {"connection_id":219888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:48:11] local.INFO: IMEI packet received {"connection_id":219888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":219888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:48:12] local.INFO: TCP Data received {"connection_id":216804,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:48:12] local.INFO: Processing buffer {"connection_id":216804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:48:12] local.INFO: IMEI packet received {"connection_id":216804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":216804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:48:13] local.INFO: TCP Data received {"connection_id":216804,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143589040012d1b4f80072500100039005b29..."} 
[2026-10-16 11:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143589040012d1b4f80072500100039005b29..."} 
[2026-10-16 11:48:13] local.INFO: Processing buffer {"connection_id":216804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143589040012d1b4f80072500100039005b29..."} 
[2026-10-16 11:48:13] local.INFO: Packet analysis {"connection_id":216804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:48:13] local.INFO: Extracted packet for processing {"connection_id":216804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785592064001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131240000,"timestamp_ms":1792131240000,"timestamp_seconds":1792131240,"priority":1,"record_length":96,"hex_timestamp":"000001a143589040"} 
[2026-10-16 11:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:48: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-10-16 11: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-10-16 11:48:13] 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-10-16 11: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-10-16 11:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785592064001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785592064001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:48:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785592064001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":216804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:48:13] local.INFO: GPS data processed {"connection_id":216804,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:48:13] local.INFO: Acknowledgment sent {"connection_id":216804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:48:16] local.INFO: TCP Data received {"connection_id":216611,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:48:16] local.INFO: Processing buffer {"connection_id":216611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:48:16] local.INFO: IMEI packet received {"connection_id":216611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":216611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:48:21] local.INFO: TCP Data received {"connection_id":216805,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:48:21] local.INFO: Processing buffer {"connection_id":216805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:48:21] local.INFO: IMEI packet received {"connection_id":216805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":216805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:48:22] local.INFO: TCP Data received {"connection_id":216611,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:48:22] local.INFO: Processing buffer {"connection_id":216611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:48:22] local.INFO: IMEI packet received {"connection_id":216611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":216611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:48:23] local.INFO: TCP Data received {"connection_id":216611,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:48:23] local.INFO: Processing buffer {"connection_id":216611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:48:23] local.INFO: Packet analysis {"connection_id":216611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:48:23] local.INFO: Extracted packet for processing {"connection_id":216611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:48:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785552384001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131365000,"timestamp_ms":1792131365000,"timestamp_seconds":1792131365,"priority":1,"record_length":96,"hex_timestamp":"000001a1435a7888"} 
[2026-10-16 11:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:48:23] 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-10-16 11: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-10-16 11:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785552384001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785552384001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:48:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:48:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785552384001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":216611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:48:23] local.INFO: GPS data processed {"connection_id":216611,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:48:23] local.INFO: Acknowledgment sent {"connection_id":216611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:48:26] local.INFO: TCP Data received {"connection_id":216805,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:48:26] local.INFO: Processing buffer {"connection_id":216805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:48:26] local.INFO: IMEI packet received {"connection_id":216805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":216805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:48:27] local.INFO: TCP Data received {"connection_id":216805,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:48:27] local.INFO: Processing buffer {"connection_id":216805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143585d78012d7d3fc005ec0ec00000013923..."} 
[2026-10-16 11:48:27] local.INFO: Packet analysis {"connection_id":216805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:48:27] local.INFO: Extracted packet for processing {"connection_id":216805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785517056001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:27] 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-10-16 11:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792131227000,"timestamp_ms":1792131227000,"timestamp_seconds":1792131227,"priority":1,"record_length":96,"hex_timestamp":"000001a143585d78"} 
[2026-10-16 11:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:48: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-10-16 11:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785517056001,"66":12678,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785517056001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:48:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:48:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785517056001,"power":12678,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":216805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:48:27] local.INFO: GPS data processed {"connection_id":216805,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:48:27] local.INFO: Acknowledgment sent {"connection_id":216805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:48:44] local.INFO: TCP Data received {"connection_id":216804,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14358e248012d1b4f80072500100039005b29..."} 
[2026-10-16 11:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14358e248012d1b4f80072500100039005b29..."} 
[2026-10-16 11:48:44] local.INFO: Processing buffer {"connection_id":216804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14358e248012d1b4f80072500100039005b29..."} 
[2026-10-16 11:48:44] local.INFO: Packet analysis {"connection_id":216804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:48:44] local.INFO: Extracted packet for processing {"connection_id":216804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14358"} 
[2026-10-16 11:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785597440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792131261000,"timestamp_ms":1792131261000,"timestamp_seconds":1792131261,"priority":1,"record_length":96,"hex_timestamp":"000001a14358e248"} 
[2026-10-16 11:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:48:44] 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-10-16 11: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-10-16 11:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785597440001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785597440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:48:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785597440001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":216804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:48:44] local.INFO: GPS data processed {"connection_id":216804,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:48:44] local.INFO: Acknowledgment sent {"connection_id":216804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:48:55] local.INFO: TCP Data received {"connection_id":216611,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:48:55] local.INFO: Processing buffer {"connection_id":216611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:48:55] local.INFO: Packet analysis {"connection_id":216611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:48:55] local.INFO: Extracted packet for processing {"connection_id":216611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785552384001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792131365000,"timestamp_ms":1792131365000,"timestamp_seconds":1792131365,"priority":1,"record_length":96,"hex_timestamp":"000001a1435a7888"} 
[2026-10-16 11:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785552384001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785552384001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:48:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:48:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785552384001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":216611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:48:55] local.INFO: GPS data processed {"connection_id":216611,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:48:55] local.INFO: Acknowledgment sent {"connection_id":216611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:48:59] local.INFO: TCP Data received {"connection_id":216805,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:48:59] local.INFO: Processing buffer {"connection_id":216805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:48:59] local.INFO: Packet analysis {"connection_id":216805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:48:59] local.INFO: Extracted packet for processing {"connection_id":216805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:48:59] 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-10-16 11:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:48:59] 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-10-16 11:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:48: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-10-16 11:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:48:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:48:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":216805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:48:59] local.INFO: GPS data processed {"connection_id":216805,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:48:59] local.INFO: Acknowledgment sent {"connection_id":216805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:49:06] local.INFO: TCP Data received {"connection_id":216806,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:49:06] local.INFO: Processing buffer {"connection_id":216806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:49:06] local.INFO: IMEI packet received {"connection_id":216806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":216806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:49:08] local.INFO: TCP Data received {"connection_id":216807,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:49:08] local.INFO: Processing buffer {"connection_id":216807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:49:08] local.INFO: IMEI packet received {"connection_id":216807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":216807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:49:11] local.INFO: TCP Data received {"connection_id":216807,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:49:11] local.INFO: Processing buffer {"connection_id":216807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:49:11] local.INFO: IMEI packet received {"connection_id":216807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":216807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:49:13] local.INFO: TCP Data received {"connection_id":216807,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143593450012d1b4f80072500100039005b29..."} 
[2026-10-16 11:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143593450012d1b4f80072500100039005b29..."} 
[2026-10-16 11:49:13] local.INFO: Processing buffer {"connection_id":216807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143593450012d1b4f80072500100039005b29..."} 
[2026-10-16 11:49:13] local.INFO: Packet analysis {"connection_id":216807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14359"} 
[2026-10-16 11:49:13] local.INFO: Extracted packet for processing {"connection_id":216807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14359"} 
[2026-10-16 11:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785602816001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131282000,"timestamp_ms":1792131282000,"timestamp_seconds":1792131282,"priority":1,"record_length":96,"hex_timestamp":"000001a143593450"} 
[2026-10-16 11:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:49: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-10-16 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:49: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-10-16 11: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-10-16 11:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785602816001,"66":12428,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785602816001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785602816001,"power":12428,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":216807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:49:13] local.INFO: GPS data processed {"connection_id":216807,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:49:13] local.INFO: Acknowledgment sent {"connection_id":216807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:49:16] local.INFO: TCP Data received {"connection_id":216612,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:49:16] local.INFO: Processing buffer {"connection_id":216612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:49:16] local.INFO: IMEI packet received {"connection_id":216612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":216612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:49:22] local.INFO: TCP Data received {"connection_id":216612,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:49:22] local.INFO: Processing buffer {"connection_id":216612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:49:22] local.INFO: IMEI packet received {"connection_id":216612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":216612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:49:23] local.INFO: TCP Data received {"connection_id":216612,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:49:23] local.INFO: Processing buffer {"connection_id":216612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:49:23] local.INFO: Packet analysis {"connection_id":216612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:49:23] local.INFO: Extracted packet for processing {"connection_id":216612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785552384001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131365000,"timestamp_ms":1792131365000,"timestamp_seconds":1792131365,"priority":1,"record_length":96,"hex_timestamp":"000001a1435a7888"} 
[2026-10-16 11:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:49:23] 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-10-16 11: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-10-16 11:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785552384001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785552384001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:49:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:49:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785552384001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":216612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:49:23] local.INFO: GPS data processed {"connection_id":216612,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:49:23] local.INFO: Acknowledgment sent {"connection_id":216612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:49:26] local.INFO: TCP Data received {"connection_id":216808,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:49:26] local.INFO: Processing buffer {"connection_id":216808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:49:26] local.INFO: IMEI packet received {"connection_id":216808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":216808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:49:31] local.INFO: TCP Data received {"connection_id":216808,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:49:31] local.INFO: Processing buffer {"connection_id":216808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:49:31] local.INFO: IMEI packet received {"connection_id":216808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":216808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:49:31] local.INFO: TCP Data received {"connection_id":216808,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:49:32] local.INFO: Processing buffer {"connection_id":216808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:49:32] local.INFO: Packet analysis {"connection_id":216808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:49:32] local.INFO: Extracted packet for processing {"connection_id":216808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:49:32] 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-10-16 11:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:49:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:49:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":216808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:49:32] local.INFO: GPS data processed {"connection_id":216808,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:49:32] local.INFO: Acknowledgment sent {"connection_id":216808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:49:36] local.INFO: TCP Data received {"connection_id":216808,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:49:36] local.INFO: Processing buffer {"connection_id":216808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:49:36] local.INFO: Packet analysis {"connection_id":216808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:49:36] local.INFO: Extracted packet for processing {"connection_id":216808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49: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-10-16 11:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:49:36] 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-10-16 11:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:49: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-10-16 11:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:49:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":216808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:49:36] local.INFO: GPS data processed {"connection_id":216808,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:49:36] local.INFO: Acknowledgment sent {"connection_id":216808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:49:44] local.INFO: TCP Data received {"connection_id":216807,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143598658012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143598658012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:49:44] local.INFO: Processing buffer {"connection_id":216807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143598658012d1b4f80072500100039005b2a..."} 
[2026-10-16 11:49:44] local.INFO: Packet analysis {"connection_id":216807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14359"} 
[2026-10-16 11:49:44] local.INFO: Extracted packet for processing {"connection_id":216807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14359"} 
[2026-10-16 11:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785608192001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792131303000,"timestamp_ms":1792131303000,"timestamp_seconds":1792131303,"priority":1,"record_length":96,"hex_timestamp":"000001a143598658"} 
[2026-10-16 11:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-10-16 11:49: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-10-16 11: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-10-16 11:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785608192001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785608192001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:49:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785608192001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":216807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:49:44] local.INFO: GPS data processed {"connection_id":216807,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:49:44] local.INFO: Acknowledgment sent {"connection_id":216807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:49:54] local.INFO: TCP Data received {"connection_id":216612,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:49:54] local.INFO: Processing buffer {"connection_id":216612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:49:54] local.INFO: Packet analysis {"connection_id":216612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:49:54] local.INFO: Extracted packet for processing {"connection_id":216612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785552384001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792131365000,"timestamp_ms":1792131365000,"timestamp_seconds":1792131365,"priority":1,"record_length":96,"hex_timestamp":"000001a1435a7888"} 
[2026-10-16 11:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:49:54] 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-10-16 11: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-10-16 11:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785552384001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785552384001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:49:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:49:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785552384001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":216612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:49:54] local.INFO: GPS data processed {"connection_id":216612,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:49:54] local.INFO: Acknowledgment sent {"connection_id":216612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:50:10] local.INFO: TCP Data received {"connection_id":216614,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:50:10] local.INFO: Processing buffer {"connection_id":216614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:50:10] local.INFO: IMEI packet received {"connection_id":216614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":216614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:50:12] local.INFO: TCP Data received {"connection_id":216614,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:50:12] local.INFO: Processing buffer {"connection_id":216614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:50:12] local.INFO: IMEI packet received {"connection_id":216614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":216614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:50:16] local.INFO: TCP Data received {"connection_id":216614,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14359d860012d1b4f80072500100039005b2b..."} 
[2026-10-16 11:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14359d860012d1b4f80072500100039005b2b..."} 
[2026-10-16 11:50:16] local.INFO: Processing buffer {"connection_id":216614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14359d860012d1b4f80072500100039005b2b..."} 
[2026-10-16 11:50:16] local.INFO: Packet analysis {"connection_id":216614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14359"} 
[2026-10-16 11:50:16] local.INFO: Extracted packet for processing {"connection_id":216614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14359"} 
[2026-10-16 11:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785613568001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792131324000,"timestamp_ms":1792131324000,"timestamp_seconds":1792131324,"priority":1,"record_length":96,"hex_timestamp":"000001a14359d860"} 
[2026-10-16 11:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:50:16] 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-10-16 11:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785613568001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785613568001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:50:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:50:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785613568001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":216614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:50:16] local.INFO: GPS data processed {"connection_id":216614,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:50:16] local.INFO: Acknowledgment sent {"connection_id":216614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:50:16] local.INFO: TCP Data received {"connection_id":219889,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:50:16] local.INFO: Processing buffer {"connection_id":219889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:50:16] local.INFO: IMEI packet received {"connection_id":219889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":219889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:50:21] local.INFO: TCP Data received {"connection_id":219890,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:50:21] local.INFO: Processing buffer {"connection_id":219890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:50:21] local.INFO: IMEI packet received {"connection_id":219890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":219890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:50:22] local.INFO: TCP Data received {"connection_id":219889,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:50:22] local.INFO: Processing buffer {"connection_id":219889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:50:22] local.INFO: IMEI packet received {"connection_id":219889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":219889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:50:23] local.INFO: TCP Data received {"connection_id":219889,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:50:23] local.INFO: Processing buffer {"connection_id":219889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:50:23] local.INFO: Packet analysis {"connection_id":219889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:50:23] local.INFO: Extracted packet for processing {"connection_id":219889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785552384001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131365000,"timestamp_ms":1792131365000,"timestamp_seconds":1792131365,"priority":1,"record_length":96,"hex_timestamp":"000001a1435a7888"} 
[2026-10-16 11:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:50:23] 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-10-16 11: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-10-16 11:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785552384001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785552384001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:50:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:50:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785552384001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":219889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:50:23] local.INFO: GPS data processed {"connection_id":219889,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:50:23] local.INFO: Acknowledgment sent {"connection_id":219889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:50:26] local.INFO: TCP Data received {"connection_id":219890,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:50:26] local.INFO: Processing buffer {"connection_id":219890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:50:26] local.INFO: IMEI packet received {"connection_id":219890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":219890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:50:27] local.INFO: TCP Data received {"connection_id":219890,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:50:27] local.INFO: Processing buffer {"connection_id":219890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:50:27] local.INFO: Packet analysis {"connection_id":219890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:50:27] local.INFO: Extracted packet for processing {"connection_id":219890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:27] 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-10-16 11:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:50:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:50:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":219890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:50:27] local.INFO: GPS data processed {"connection_id":219890,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:50:27] local.INFO: Acknowledgment sent {"connection_id":219890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:50:31] local.INFO: TCP Data received {"connection_id":219890,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:50:31] local.INFO: Processing buffer {"connection_id":219890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:50:31] local.INFO: Packet analysis {"connection_id":219890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:50:31] local.INFO: Extracted packet for processing {"connection_id":219890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:50:31] 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-10-16 11:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:50:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:50:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":219890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:50:31] local.INFO: GPS data processed {"connection_id":219890,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:50:31] local.INFO: Acknowledgment sent {"connection_id":219890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:50:47] local.INFO: TCP Data received {"connection_id":216614,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435d5eb8012d1b4f80072500100039005b27..."} 
[2026-10-16 11:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435d5eb8012d1b4f80072500100039005b27..."} 
[2026-10-16 11:50:47] local.INFO: Processing buffer {"connection_id":216614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435d5eb8012d1b4f80072500100039005b27..."} 
[2026-10-16 11:50:47] local.INFO: Packet analysis {"connection_id":216614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435d"} 
[2026-10-16 11:50:47] local.INFO: Extracted packet for processing {"connection_id":216614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435d"} 
[2026-10-16 11:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785672704001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792131555000,"timestamp_ms":1792131555000,"timestamp_seconds":1792131555,"priority":1,"record_length":96,"hex_timestamp":"000001a1435d5eb8"} 
[2026-10-16 11:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:50:47] 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-10-16 11: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 11:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785672704001,"66":12439,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785672704001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:50:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:50:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785672704001,"power":12439,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":216614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:50:47] local.INFO: GPS data processed {"connection_id":216614,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:50:47] local.INFO: Acknowledgment sent {"connection_id":216614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:50:54] local.INFO: TCP Data received {"connection_id":219889,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:50:54] local.INFO: Processing buffer {"connection_id":219889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:50:54] local.INFO: Packet analysis {"connection_id":219889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:50:54] local.INFO: Extracted packet for processing {"connection_id":219889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785552384001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792131365000,"timestamp_ms":1792131365000,"timestamp_seconds":1792131365,"priority":1,"record_length":96,"hex_timestamp":"000001a1435a7888"} 
[2026-10-16 11:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:50:54] 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-10-16 11:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785552384001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785552384001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:50:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:50:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785552384001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":219889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:50:54] local.INFO: GPS data processed {"connection_id":219889,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:50:54] local.INFO: Acknowledgment sent {"connection_id":219889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:51:03] local.INFO: TCP Data received {"connection_id":219890,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:51:03] local.INFO: Processing buffer {"connection_id":219890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:51:03] local.INFO: Packet analysis {"connection_id":219890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:51:03] local.INFO: Extracted packet for processing {"connection_id":219890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":219890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":219890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":219890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:51:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:51:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":219890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:51:03] local.INFO: GPS data processed {"connection_id":219890,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:51:03] local.INFO: Acknowledgment sent {"connection_id":219890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:51:07] local.INFO: TCP Data received {"connection_id":216810,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:51:07] local.INFO: Processing buffer {"connection_id":216810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:51:07] local.INFO: IMEI packet received {"connection_id":216810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":216810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:51:12] local.INFO: TCP Data received {"connection_id":216810,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:51:12] local.INFO: Processing buffer {"connection_id":216810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:51:12] local.INFO: IMEI packet received {"connection_id":216810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":216810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:51:13] local.INFO: TCP Data received {"connection_id":216810,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435db0c0012d1b4f80072500100039005b28..."} 
[2026-10-16 11:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435db0c0012d1b4f80072500100039005b28..."} 
[2026-10-16 11:51:13] local.INFO: Processing buffer {"connection_id":216810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435db0c0012d1b4f80072500100039005b28..."} 
[2026-10-16 11:51:13] local.INFO: Packet analysis {"connection_id":216810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435d"} 
[2026-10-16 11:51:13] local.INFO: Extracted packet for processing {"connection_id":216810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435d"} 
[2026-10-16 11:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785678080001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131576000,"timestamp_ms":1792131576000,"timestamp_seconds":1792131576,"priority":1,"record_length":96,"hex_timestamp":"000001a1435db0c0"} 
[2026-10-16 11:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:51: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-10-16 11: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 11:51: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-10-16 11: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-10-16 11:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785678080001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785678080001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785678080001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":216810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:51:13] local.INFO: GPS data processed {"connection_id":216810,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:51:13] local.INFO: Acknowledgment sent {"connection_id":216810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:51:16] local.INFO: TCP Data received {"connection_id":218159,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:51:16] local.INFO: Processing buffer {"connection_id":218159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:51:16] local.INFO: IMEI packet received {"connection_id":218159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":218159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:51:21] local.INFO: TCP Data received {"connection_id":218160,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:51:21] local.INFO: Processing buffer {"connection_id":218160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:51:21] local.INFO: IMEI packet received {"connection_id":218160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":218160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:51:21] local.INFO: TCP Data received {"connection_id":218159,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:51:21] local.INFO: Processing buffer {"connection_id":218159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:51:21] local.INFO: IMEI packet received {"connection_id":218159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":218159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:51:22] local.INFO: TCP Data received {"connection_id":218159,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:51:22] local.INFO: Processing buffer {"connection_id":218159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435a7888012d7fa40005afce580009000a2f..."} 
[2026-10-16 11:51:22] local.INFO: Packet analysis {"connection_id":218159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:51:22] local.INFO: Extracted packet for processing {"connection_id":218159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435a"} 
[2026-10-16 11:51:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785552384001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792131365000,"timestamp_ms":1792131365000,"timestamp_seconds":1792131365,"priority":1,"record_length":96,"hex_timestamp":"000001a1435a7888"} 
[2026-10-16 11:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785552384001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785552384001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:51:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:51:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785552384001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":218159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:51:22] local.INFO: GPS data processed {"connection_id":218159,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:51:22] local.INFO: Acknowledgment sent {"connection_id":218159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:51:28] local.INFO: TCP Data received {"connection_id":218160,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:51:28] local.INFO: Processing buffer {"connection_id":218160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:51:28] local.INFO: IMEI packet received {"connection_id":218160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":218160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:51:29] local.INFO: TCP Data received {"connection_id":218160,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:51:29] local.INFO: Processing buffer {"connection_id":218160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:51:29] local.INFO: Packet analysis {"connection_id":218160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:51:29] local.INFO: Extracted packet for processing {"connection_id":218160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:29] 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-10-16 11:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:51:29] 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-10-16 11:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:51:29] 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-10-16 11:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:51:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:51:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":218160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:51:29] local.INFO: GPS data processed {"connection_id":218160,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:51:29] local.INFO: Acknowledgment sent {"connection_id":218160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:51:44] local.INFO: TCP Data received {"connection_id":216810,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435e02c8012d1b4f80072500100039005b25..."} 
[2026-10-16 11:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435e02c8012d1b4f80072500100039005b25..."} 
[2026-10-16 11:51:44] local.INFO: Processing buffer {"connection_id":216810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435e02c8012d1b4f80072500100039005b25..."} 
[2026-10-16 11:51:44] local.INFO: Packet analysis {"connection_id":216810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435e"} 
[2026-10-16 11:51:44] local.INFO: Extracted packet for processing {"connection_id":216810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435e"} 
[2026-10-16 11:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785683456001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792131597000,"timestamp_ms":1792131597000,"timestamp_seconds":1792131597,"priority":1,"record_length":96,"hex_timestamp":"000001a1435e02c8"} 
[2026-10-16 11:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:51: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-10-16 11:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785683456001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785683456001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:51:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:51:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785683456001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":216810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:51:44] local.INFO: GPS data processed {"connection_id":216810,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:51:44] local.INFO: Acknowledgment sent {"connection_id":216810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:51:54] local.INFO: TCP Data received {"connection_id":218159,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:51:54] local.INFO: Processing buffer {"connection_id":218159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:51:54] local.INFO: Packet analysis {"connection_id":218159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:51:54] local.INFO: Extracted packet for processing {"connection_id":218159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:51:54] 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-10-16 11:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:51:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:51:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":218159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:51:54] local.INFO: GPS data processed {"connection_id":218159,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:51:54] local.INFO: Acknowledgment sent {"connection_id":218159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:52:01] local.INFO: TCP Data received {"connection_id":218160,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:52:01] local.INFO: Processing buffer {"connection_id":218160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:52:01] local.INFO: Packet analysis {"connection_id":218160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:52:01] local.INFO: Extracted packet for processing {"connection_id":218160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:01] 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-10-16 11:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:52:01] 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-10-16 11:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":218160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":218160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":218160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:52:01] 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-10-16 11:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:52:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:52:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":218160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:52:01] local.INFO: GPS data processed {"connection_id":218160,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:52:01] local.INFO: Acknowledgment sent {"connection_id":218160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:52:12] local.INFO: TCP Data received {"connection_id":216615,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:52:12] local.INFO: Processing buffer {"connection_id":216615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:52:12] local.INFO: IMEI packet received {"connection_id":216615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":216615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:52:16] local.INFO: TCP Data received {"connection_id":216616,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:52:16] local.INFO: Processing buffer {"connection_id":216616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:52:16] local.INFO: IMEI packet received {"connection_id":216616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":216616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:52:17] local.INFO: TCP Data received {"connection_id":216615,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:52:17] local.INFO: Processing buffer {"connection_id":216615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:52:17] local.INFO: IMEI packet received {"connection_id":216615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":216615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:52:18] local.INFO: TCP Data received {"connection_id":216615,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435e54d0012d1b4f80072500100039005b25..."} 
[2026-10-16 11:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435e54d0012d1b4f80072500100039005b25..."} 
[2026-10-16 11:52:18] local.INFO: Processing buffer {"connection_id":216615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435e54d0012d1b4f80072500100039005b25..."} 
[2026-10-16 11:52:18] local.INFO: Packet analysis {"connection_id":216615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435e"} 
[2026-10-16 11:52:18] local.INFO: Extracted packet for processing {"connection_id":216615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435e"} 
[2026-10-16 11:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785688832001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792131618000,"timestamp_ms":1792131618000,"timestamp_seconds":1792131618,"priority":1,"record_length":96,"hex_timestamp":"000001a1435e54d0"} 
[2026-10-16 11:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:52: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-10-16 11:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785688832001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785688832001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:52:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785688832001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":216615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:52:18] local.INFO: GPS data processed {"connection_id":216615,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:52:18] local.INFO: Acknowledgment sent {"connection_id":216615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:52:21] local.INFO: TCP Data received {"connection_id":218162,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:52:21] local.INFO: Processing buffer {"connection_id":218162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:52:21] local.INFO: IMEI packet received {"connection_id":218162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":218162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:52:22] local.INFO: TCP Data received {"connection_id":216616,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:52:22] local.INFO: Processing buffer {"connection_id":216616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:52:22] local.INFO: IMEI packet received {"connection_id":216616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":216616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:52:23] local.INFO: TCP Data received {"connection_id":216616,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:52:23] local.INFO: Processing buffer {"connection_id":216616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:52:23] local.INFO: Packet analysis {"connection_id":216616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:52:23] local.INFO: Extracted packet for processing {"connection_id":216616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:52:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:52:23] 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-10-16 11:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:52:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:52:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":216616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:52:23] local.INFO: GPS data processed {"connection_id":216616,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:52:23] local.INFO: Acknowledgment sent {"connection_id":216616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:52:26] local.INFO: TCP Data received {"connection_id":218162,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:52:26] local.INFO: Processing buffer {"connection_id":218162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:52:26] local.INFO: IMEI packet received {"connection_id":218162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":218162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:52:27] local.INFO: TCP Data received {"connection_id":218162,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:52:27] local.INFO: Processing buffer {"connection_id":218162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:52:27] local.INFO: Packet analysis {"connection_id":218162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:52:27] local.INFO: Extracted packet for processing {"connection_id":218162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:27] 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-10-16 11:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:52:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:52:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":218162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:52:27] local.INFO: GPS data processed {"connection_id":218162,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:52:27] local.INFO: Acknowledgment sent {"connection_id":218162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:52:49] local.INFO: TCP Data received {"connection_id":216615,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435ea6d8012d1b4f80072500100039005b25..."} 
[2026-10-16 11:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435ea6d8012d1b4f80072500100039005b25..."} 
[2026-10-16 11:52:49] local.INFO: Processing buffer {"connection_id":216615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435ea6d8012d1b4f80072500100039005b25..."} 
[2026-10-16 11:52:49] local.INFO: Packet analysis {"connection_id":216615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435e"} 
[2026-10-16 11:52:49] local.INFO: Extracted packet for processing {"connection_id":216615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435e"} 
[2026-10-16 11:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785694208001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792131639000,"timestamp_ms":1792131639000,"timestamp_seconds":1792131639,"priority":1,"record_length":96,"hex_timestamp":"000001a1435ea6d8"} 
[2026-10-16 11:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":216615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":216615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":216615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785694208001,"66":12439,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785694208001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:52:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785694208001,"power":12439,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":216615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:52:50] local.INFO: GPS data processed {"connection_id":216615,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:52:50] local.INFO: Acknowledgment sent {"connection_id":216615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:52:54] local.INFO: TCP Data received {"connection_id":216616,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:52:54] local.INFO: Processing buffer {"connection_id":216616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:52:54] local.INFO: Packet analysis {"connection_id":216616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:52:54] local.INFO: Extracted packet for processing {"connection_id":216616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:52:54] 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-10-16 11:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:52:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:52:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":216616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:52:55] local.INFO: GPS data processed {"connection_id":216616,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:52:55] local.INFO: Acknowledgment sent {"connection_id":216616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:53:00] local.INFO: TCP Data received {"connection_id":218162,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:53:00] local.INFO: Processing buffer {"connection_id":218162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:53:00] local.INFO: Packet analysis {"connection_id":218162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:53:00] local.INFO: Extracted packet for processing {"connection_id":218162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:53: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-10-16 11:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:00] 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-10-16 11:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:53: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-10-16 11:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:53:00] 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-10-16 11:53: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-10-16 11:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":218162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":218162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":218162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:53:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:53:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":218162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:53:00] local.INFO: GPS data processed {"connection_id":218162,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:53:00] local.INFO: Acknowledgment sent {"connection_id":218162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:53:07] local.INFO: TCP Data received {"connection_id":216811,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:53:07] local.INFO: Processing buffer {"connection_id":216811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:53:07] local.INFO: IMEI packet received {"connection_id":216811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":216811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:53:12] local.INFO: TCP Data received {"connection_id":216811,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:53:12] local.INFO: Processing buffer {"connection_id":216811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:53:12] local.INFO: IMEI packet received {"connection_id":216811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":216811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:53:14] local.INFO: TCP Data received {"connection_id":216811,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435ef8e0012d1b4f80072500100039005b26..."} 
[2026-10-16 11:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435ef8e0012d1b4f80072500100039005b26..."} 
[2026-10-16 11:53:14] local.INFO: Processing buffer {"connection_id":216811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435ef8e0012d1b4f80072500100039005b26..."} 
[2026-10-16 11:53:14] local.INFO: Packet analysis {"connection_id":216811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435e"} 
[2026-10-16 11:53:14] local.INFO: Extracted packet for processing {"connection_id":216811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435e"} 
[2026-10-16 11:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785699584001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792131660000,"timestamp_ms":1792131660000,"timestamp_seconds":1792131660,"priority":1,"record_length":96,"hex_timestamp":"000001a1435ef8e0"} 
[2026-10-16 11:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:53: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-10-16 11: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-10-16 11:53:14] 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-10-16 11: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-10-16 11:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785699584001,"66":12493,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785699584001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:53:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785699584001,"power":12493,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":216811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:53:14] local.INFO: GPS data processed {"connection_id":216811,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:53:14] local.INFO: Acknowledgment sent {"connection_id":216811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:53:16] local.INFO: TCP Data received {"connection_id":216617,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:53:16] local.INFO: Processing buffer {"connection_id":216617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:53:16] local.INFO: IMEI packet received {"connection_id":216617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":216617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:53:20] local.INFO: TCP Data received {"connection_id":216618,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:53:20] local.INFO: Processing buffer {"connection_id":216618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:53:20] local.INFO: IMEI packet received {"connection_id":216618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":216618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:53:22] local.INFO: TCP Data received {"connection_id":216617,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:53:22] local.INFO: Processing buffer {"connection_id":216617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:53:22] local.INFO: IMEI packet received {"connection_id":216617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":216617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:53:23] local.INFO: TCP Data received {"connection_id":216617,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:53:23] local.INFO: Processing buffer {"connection_id":216617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:53:23] local.INFO: Packet analysis {"connection_id":216617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:53:23] local.INFO: Extracted packet for processing {"connection_id":216617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:53:23] 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-10-16 11: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-10-16 11:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:53:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:53:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":216617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:53:23] local.INFO: GPS data processed {"connection_id":216617,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:53:23] local.INFO: Acknowledgment sent {"connection_id":216617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:53:26] local.INFO: TCP Data received {"connection_id":216618,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:53:26] local.INFO: Processing buffer {"connection_id":216618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:53:26] local.INFO: IMEI packet received {"connection_id":216618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":216618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:53:27] local.INFO: TCP Data received {"connection_id":216618,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:53:27] local.INFO: Processing buffer {"connection_id":216618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435cf540012d7d3fc005ec0ec0000101391d..."} 
[2026-10-16 11:53:27] local.INFO: Packet analysis {"connection_id":216618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:53:27] local.INFO: Extracted packet for processing {"connection_id":216618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435c"} 
[2026-10-16 11:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":1,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785594112001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:27] 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-10-16 11:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792131528000,"timestamp_ms":1792131528000,"timestamp_seconds":1792131528,"priority":1,"record_length":96,"hex_timestamp":"000001a1435cf540"} 
[2026-10-16 11:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 11:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785594112001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785594112001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:53:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:53:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785594112001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":216618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:53:27] local.INFO: GPS data processed {"connection_id":216618,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:53:27] local.INFO: Acknowledgment sent {"connection_id":216618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:53:45] local.INFO: TCP Data received {"connection_id":216811,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f4ae8012d1b4f80072500100039005b25..."} 
[2026-10-16 11:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f4ae8012d1b4f80072500100039005b25..."} 
[2026-10-16 11:53:45] local.INFO: Processing buffer {"connection_id":216811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f4ae8012d1b4f80072500100039005b25..."} 
[2026-10-16 11:53:45] local.INFO: Packet analysis {"connection_id":216811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:53:45] local.INFO: Extracted packet for processing {"connection_id":216811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785704960001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792131681000,"timestamp_ms":1792131681000,"timestamp_seconds":1792131681,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f4ae8"} 
[2026-10-16 11:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:53: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-10-16 11: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 11:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":216811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":216811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":216811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785704960001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785704960001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:53:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785704960001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":216811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:53:45] local.INFO: GPS data processed {"connection_id":216811,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:53:45] local.INFO: Acknowledgment sent {"connection_id":216811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:53:54] local.INFO: TCP Data received {"connection_id":216617,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:53:54] local.INFO: Processing buffer {"connection_id":216617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:53:54] local.INFO: Packet analysis {"connection_id":216617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:53:54] local.INFO: Extracted packet for processing {"connection_id":216617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:53:54] 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-10-16 11: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-10-16 11:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:53:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:53:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":216617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:53:54] local.INFO: GPS data processed {"connection_id":216617,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:53:54] local.INFO: Acknowledgment sent {"connection_id":216617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:54:05] local.INFO: TCP Data received {"connection_id":216812,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:54:05] local.INFO: Processing buffer {"connection_id":216812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:54:05] local.INFO: IMEI packet received {"connection_id":216812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":216812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:54:06] local.INFO: TCP Data received {"connection_id":216618,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:54:06] local.INFO: Processing buffer {"connection_id":216618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:54:06] local.INFO: Packet analysis {"connection_id":216618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:54:06] local.INFO: Extracted packet for processing {"connection_id":216618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785671168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:06] 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-10-16 11:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792131829000,"timestamp_ms":1792131829000,"timestamp_seconds":1792131829,"priority":1,"record_length":96,"hex_timestamp":"000001a143618d08"} 
[2026-10-16 11:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:54: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-10-16 11:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785671168001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785671168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:54:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:54:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785671168001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":216618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:54:06] local.INFO: GPS data processed {"connection_id":216618,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:54:06] local.INFO: Acknowledgment sent {"connection_id":216618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:54:08] local.INFO: TCP Data received {"connection_id":216812,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:54:08] local.INFO: Processing buffer {"connection_id":216812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:54:08] local.INFO: IMEI packet received {"connection_id":216812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":216812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:54:12] local.INFO: TCP Data received {"connection_id":216812,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:54:12] local.INFO: Processing buffer {"connection_id":216812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:54:12] local.INFO: IMEI packet received {"connection_id":216812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":216812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:54:13] local.INFO: TCP Data received {"connection_id":216812,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f9cf0012d1b4f80072500100039005b20..."} 
[2026-10-16 11:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f9cf0012d1b4f80072500100039005b20..."} 
[2026-10-16 11:54:13] local.INFO: Processing buffer {"connection_id":216812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f9cf0012d1b4f80072500100039005b20..."} 
[2026-10-16 11:54:13] local.INFO: Packet analysis {"connection_id":216812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:54:13] local.INFO: Extracted packet for processing {"connection_id":216812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":32,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785710336001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131702000,"timestamp_ms":1792131702000,"timestamp_seconds":1792131702,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f9cf0"} 
[2026-10-16 11:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:54: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-10-16 11: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":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:54: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-10-16 11: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-10-16 11:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785710336001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785710336001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:54:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785710336001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":216812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:54:13] local.INFO: GPS data processed {"connection_id":216812,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:54:13] local.INFO: Acknowledgment sent {"connection_id":216812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:54:16] local.INFO: TCP Data received {"connection_id":216619,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:54:16] local.INFO: Processing buffer {"connection_id":216619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:54:16] local.INFO: IMEI packet received {"connection_id":216619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":216619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:54:20] local.INFO: TCP Data received {"connection_id":216813,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:54:20] local.INFO: Processing buffer {"connection_id":216813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:54:20] local.INFO: IMEI packet received {"connection_id":216813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":216813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:54:22] local.INFO: TCP Data received {"connection_id":216619,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:54:22] local.INFO: Processing buffer {"connection_id":216619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:54:22] local.INFO: IMEI packet received {"connection_id":216619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":216619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:54:23] local.INFO: TCP Data received {"connection_id":216619,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:54:23] local.INFO: Processing buffer {"connection_id":216619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:54:23] local.INFO: Packet analysis {"connection_id":216619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:54:23] local.INFO: Extracted packet for processing {"connection_id":216619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:54:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:54:23] 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-10-16 11: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-10-16 11:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:54:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:54:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":216619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:54:23] local.INFO: GPS data processed {"connection_id":216619,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:54:23] local.INFO: Acknowledgment sent {"connection_id":216619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:54:26] local.INFO: TCP Data received {"connection_id":216813,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:54:26] local.INFO: Processing buffer {"connection_id":216813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:54:26] local.INFO: IMEI packet received {"connection_id":216813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":216813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:54:26] local.INFO: TCP Data received {"connection_id":219892,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:54:26] local.INFO: Processing buffer {"connection_id":219892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:54:26] local.INFO: IMEI packet received {"connection_id":219892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":219892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:54:27] local.INFO: TCP Data received {"connection_id":216813,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:54:27] local.INFO: Processing buffer {"connection_id":216813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:54:27] local.INFO: Packet analysis {"connection_id":216813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:54:27] local.INFO: Extracted packet for processing {"connection_id":216813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785671168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:27] 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-10-16 11:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792131829000,"timestamp_ms":1792131829000,"timestamp_seconds":1792131829,"priority":1,"record_length":96,"hex_timestamp":"000001a143618d08"} 
[2026-10-16 11:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:54:27] 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-10-16 11:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785671168001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785671168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:54:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:54:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785671168001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":216813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:54:27] local.INFO: GPS data processed {"connection_id":216813,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:54:27] local.INFO: Acknowledgment sent {"connection_id":216813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:54:48] local.INFO: TCP Data received {"connection_id":216812,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1435feef8012d1b4f80072500100039005b20..."} 
[2026-10-16 11:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435feef8012d1b4f80072500100039005b20..."} 
[2026-10-16 11:54:48] local.INFO: Processing buffer {"connection_id":216812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435feef8012d1b4f80072500100039005b20..."} 
[2026-10-16 11:54:48] local.INFO: Packet analysis {"connection_id":216812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:54:48] local.INFO: Extracted packet for processing {"connection_id":216812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":32,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785715712001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792131723000,"timestamp_ms":1792131723000,"timestamp_seconds":1792131723,"priority":1,"record_length":96,"hex_timestamp":"000001a1435feef8"} 
[2026-10-16 11:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785715712001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785715712001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785715712001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":216812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:54:48] local.INFO: GPS data processed {"connection_id":216812,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:54:48] local.INFO: Acknowledgment sent {"connection_id":216812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:54:51] local.INFO: TCP Data received {"connection_id":216620,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:54:51] local.INFO: Processing buffer {"connection_id":216620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 11:54:51] local.INFO: IMEI packet received {"connection_id":216620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 11:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":216620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:54:55] local.INFO: TCP Data received {"connection_id":216619,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:54:55] local.INFO: Processing buffer {"connection_id":216619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:54:55] local.INFO: Packet analysis {"connection_id":216619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:54:55] local.INFO: Extracted packet for processing {"connection_id":216619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:54:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:54:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":216619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:54:55] local.INFO: GPS data processed {"connection_id":216619,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:54:55] local.INFO: Acknowledgment sent {"connection_id":216619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:54:59] local.INFO: TCP Data received {"connection_id":216813,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:54:59] local.INFO: Processing buffer {"connection_id":216813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:54:59] local.INFO: Packet analysis {"connection_id":216813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:54:59] local.INFO: Extracted packet for processing {"connection_id":216813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785671168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:54:59] 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-10-16 11:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792131829000,"timestamp_ms":1792131829000,"timestamp_seconds":1792131829,"priority":1,"record_length":96,"hex_timestamp":"000001a143618d08"} 
[2026-10-16 11:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:54:59] 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-10-16 11:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:54:59] 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-10-16 11:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785671168001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785671168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:54:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:54:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785671168001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":216813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:54:59] local.INFO: GPS data processed {"connection_id":216813,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:54:59] local.INFO: Acknowledgment sent {"connection_id":216813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:55:07] local.INFO: TCP Data received {"connection_id":219893,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:55:07] local.INFO: Processing buffer {"connection_id":219893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:55:07] local.INFO: IMEI packet received {"connection_id":219893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":219893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:55:08] local.INFO: TCP Data received {"connection_id":219893,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:55:08] local.INFO: Processing buffer {"connection_id":219893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:55:08] local.INFO: IMEI packet received {"connection_id":219893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":219893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:55:12] local.INFO: TCP Data received {"connection_id":219893,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:55:12] local.INFO: Processing buffer {"connection_id":219893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:55:12] local.INFO: IMEI packet received {"connection_id":219893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":219893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:55:13] local.INFO: TCP Data received {"connection_id":219893,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143604100012d1b4f80072500100039005b24..."} 
[2026-10-16 11:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143604100012d1b4f80072500100039005b24..."} 
[2026-10-16 11:55:13] local.INFO: Processing buffer {"connection_id":219893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143604100012d1b4f80072500100039005b24..."} 
[2026-10-16 11:55:13] local.INFO: Packet analysis {"connection_id":219893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14360"} 
[2026-10-16 11:55:13] local.INFO: Extracted packet for processing {"connection_id":219893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14360"} 
[2026-10-16 11:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785721088001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131744000,"timestamp_ms":1792131744000,"timestamp_seconds":1792131744,"priority":1,"record_length":96,"hex_timestamp":"000001a143604100"} 
[2026-10-16 11:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:55: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-10-16 11:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:55: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-10-16 11:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785721088001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785721088001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:55:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785721088001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":219893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:55:13] local.INFO: GPS data processed {"connection_id":219893,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:55:13] local.INFO: Acknowledgment sent {"connection_id":219893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:55:16] local.INFO: TCP Data received {"connection_id":216814,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:55:16] local.INFO: Processing buffer {"connection_id":216814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:55:16] local.INFO: IMEI packet received {"connection_id":216814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":216814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:55:20] local.INFO: TCP Data received {"connection_id":219894,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:55:20] local.INFO: Processing buffer {"connection_id":219894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:55:20] local.INFO: IMEI packet received {"connection_id":219894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":219894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:55:21] local.INFO: TCP Data received {"connection_id":216814,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:55:21] local.INFO: Processing buffer {"connection_id":216814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:55:21] local.INFO: IMEI packet received {"connection_id":216814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":216814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:55:22] local.INFO: TCP Data received {"connection_id":216814,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:55:22] local.INFO: Processing buffer {"connection_id":216814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:55:22] local.INFO: Packet analysis {"connection_id":216814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:55:22] local.INFO: Extracted packet for processing {"connection_id":216814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:55:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:55:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":216814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:55:22] local.INFO: GPS data processed {"connection_id":216814,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:55:22] local.INFO: Acknowledgment sent {"connection_id":216814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:55:26] local.INFO: TCP Data received {"connection_id":219894,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:55:26] local.INFO: Processing buffer {"connection_id":219894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:55:26] local.INFO: IMEI packet received {"connection_id":219894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":219894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:55:27] local.INFO: TCP Data received {"connection_id":219894,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:55:27] local.INFO: Processing buffer {"connection_id":219894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:55:27] local.INFO: Packet analysis {"connection_id":219894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:55:27] local.INFO: Extracted packet for processing {"connection_id":219894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785671168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:27] 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-10-16 11:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792131829000,"timestamp_ms":1792131829000,"timestamp_seconds":1792131829,"priority":1,"record_length":96,"hex_timestamp":"000001a143618d08"} 
[2026-10-16 11:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785671168001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785671168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:55:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:55:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785671168001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":219894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:55:27] local.INFO: GPS data processed {"connection_id":219894,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:55:27] local.INFO: Acknowledgment sent {"connection_id":219894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:55:44] local.INFO: TCP Data received {"connection_id":219893,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143609308012d1b4f80072500100039005b27..."} 
[2026-10-16 11:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143609308012d1b4f80072500100039005b27..."} 
[2026-10-16 11:55:44] local.INFO: Processing buffer {"connection_id":219893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143609308012d1b4f80072500100039005b27..."} 
[2026-10-16 11:55:44] local.INFO: Packet analysis {"connection_id":219893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14360"} 
[2026-10-16 11:55:44] local.INFO: Extracted packet for processing {"connection_id":219893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14360"} 
[2026-10-16 11:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785726464001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792131765000,"timestamp_ms":1792131765000,"timestamp_seconds":1792131765,"priority":1,"record_length":96,"hex_timestamp":"000001a143609308"} 
[2026-10-16 11:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:55: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-10-16 11: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-10-16 11:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785726464001,"66":12504,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785726464001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:55:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785726464001,"power":12504,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":219893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:55:44] local.INFO: GPS data processed {"connection_id":219893,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:55:44] local.INFO: Acknowledgment sent {"connection_id":219893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:55:54] local.INFO: TCP Data received {"connection_id":216814,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:55:54] local.INFO: Processing buffer {"connection_id":216814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:55:54] local.INFO: Packet analysis {"connection_id":216814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:55:54] local.INFO: Extracted packet for processing {"connection_id":216814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:55:54] 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-10-16 11:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:55:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:55:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":216814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:55:54] local.INFO: GPS data processed {"connection_id":216814,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:55:54] local.INFO: Acknowledgment sent {"connection_id":216814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:55:58] local.INFO: TCP Data received {"connection_id":219894,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:55:58] local.INFO: Processing buffer {"connection_id":219894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:55:58] local.INFO: Packet analysis {"connection_id":219894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:55:58] local.INFO: Extracted packet for processing {"connection_id":219894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785671168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:55:58] 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-10-16 11:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792131829000,"timestamp_ms":1792131829000,"timestamp_seconds":1792131829,"priority":1,"record_length":96,"hex_timestamp":"000001a143618d08"} 
[2026-10-16 11:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:55: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-10-16 11:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785671168001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785671168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:55:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:55:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785671168001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":219894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:55:58] local.INFO: GPS data processed {"connection_id":219894,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:55:58] local.INFO: Acknowledgment sent {"connection_id":219894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:56:07] local.INFO: TCP Data received {"connection_id":218163,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:56:07] local.INFO: Processing buffer {"connection_id":218163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:56:07] local.INFO: IMEI packet received {"connection_id":218163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":218163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:56:11] local.INFO: TCP Data received {"connection_id":218163,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:56:11] local.INFO: Processing buffer {"connection_id":218163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:56:11] local.INFO: IMEI packet received {"connection_id":218163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":218163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:56:12] local.INFO: TCP Data received {"connection_id":218163,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14360e510012d1b4f80072500100039005b28..."} 
[2026-10-16 11:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14360e510012d1b4f80072500100039005b28..."} 
[2026-10-16 11:56:12] local.INFO: Processing buffer {"connection_id":218163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14360e510012d1b4f80072500100039005b28..."} 
[2026-10-16 11:56:12] local.INFO: Packet analysis {"connection_id":218163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14360"} 
[2026-10-16 11:56:12] local.INFO: Extracted packet for processing {"connection_id":218163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14360"} 
[2026-10-16 11:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785731840001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792131786000,"timestamp_ms":1792131786000,"timestamp_seconds":1792131786,"priority":1,"record_length":96,"hex_timestamp":"000001a14360e510"} 
[2026-10-16 11:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 11:56:12] 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-10-16 11:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":218163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":218163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":218163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785731840001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785731840001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785731840001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":218163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:56:12] local.INFO: GPS data processed {"connection_id":218163,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:56:12] local.INFO: Acknowledgment sent {"connection_id":218163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:56:22] local.INFO: TCP Data received {"connection_id":218164,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:56:22] local.INFO: Processing buffer {"connection_id":218164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:56:22] local.INFO: IMEI packet received {"connection_id":218164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":218164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:56:26] local.INFO: TCP Data received {"connection_id":219895,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:56:26] local.INFO: Processing buffer {"connection_id":219895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:56:26] local.INFO: IMEI packet received {"connection_id":219895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":219895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:56:27] local.INFO: TCP Data received {"connection_id":218164,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:56:27] local.INFO: Processing buffer {"connection_id":218164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:56:27] local.INFO: IMEI packet received {"connection_id":218164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":218164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:56:28] local.INFO: TCP Data received {"connection_id":218164,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:56:28] local.INFO: Processing buffer {"connection_id":218164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:56:28] local.INFO: Packet analysis {"connection_id":218164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:56:28] local.INFO: Extracted packet for processing {"connection_id":218164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:56:28] 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-10-16 11:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:56:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:56:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":218164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:56:28] local.INFO: GPS data processed {"connection_id":218164,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:56:28] local.INFO: Acknowledgment sent {"connection_id":218164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:56:31] local.INFO: TCP Data received {"connection_id":219895,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:56:31] local.INFO: Processing buffer {"connection_id":219895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:56:31] local.INFO: IMEI packet received {"connection_id":219895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":219895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:56:32] local.INFO: TCP Data received {"connection_id":219895,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:56:32] local.INFO: Processing buffer {"connection_id":219895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:56:32] local.INFO: Packet analysis {"connection_id":219895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:56:32] local.INFO: Extracted packet for processing {"connection_id":219895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785671168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792131829000,"timestamp_ms":1792131829000,"timestamp_seconds":1792131829,"priority":1,"record_length":96,"hex_timestamp":"000001a143618d08"} 
[2026-10-16 11:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:56:32] 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-10-16 11:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785671168001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785671168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:56:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:56:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785671168001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":219895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:56:32] local.INFO: GPS data processed {"connection_id":219895,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:56:32] local.INFO: Acknowledgment sent {"connection_id":219895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:56:32] local.INFO: TCP Data received {"connection_id":218164,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:56:32] local.INFO: Processing buffer {"connection_id":218164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1435f1050012d7fa40005afce580009000a30..."} 
[2026-10-16 11:56:32] local.INFO: Packet analysis {"connection_id":218164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:56:32] local.INFO: Extracted packet for processing {"connection_id":218164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1435f"} 
[2026-10-16 11:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785629440001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792131666000,"timestamp_ms":1792131666000,"timestamp_seconds":1792131666,"priority":1,"record_length":96,"hex_timestamp":"000001a1435f1050"} 
[2026-10-16 11:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 11:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785629440001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785629440001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:56:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:56:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785629440001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":218164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:56:32] local.INFO: GPS data processed {"connection_id":218164,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:56:32] local.INFO: Acknowledgment sent {"connection_id":218164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:56:36] local.INFO: TCP Data received {"connection_id":219895,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:56:36] local.INFO: Processing buffer {"connection_id":219895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:56:36] local.INFO: Packet analysis {"connection_id":219895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:56:36] local.INFO: Extracted packet for processing {"connection_id":219895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785671168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56: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-10-16 11:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792131829000,"timestamp_ms":1792131829000,"timestamp_seconds":1792131829,"priority":1,"record_length":96,"hex_timestamp":"000001a143618d08"} 
[2026-10-16 11:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:56: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-10-16 11: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-10-16 11:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785671168001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785671168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:56:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:56:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785671168001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":219895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:56:36] local.INFO: GPS data processed {"connection_id":219895,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:56:36] local.INFO: Acknowledgment sent {"connection_id":219895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:56:44] local.INFO: TCP Data received {"connection_id":218163,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143613718012d1b4f80072500100039005b28..."} 
[2026-10-16 11:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143613718012d1b4f80072500100039005b28..."} 
[2026-10-16 11:56:44] local.INFO: Processing buffer {"connection_id":218163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143613718012d1b4f80072500100039005b28..."} 
[2026-10-16 11:56:44] local.INFO: Packet analysis {"connection_id":218163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:56:44] local.INFO: Extracted packet for processing {"connection_id":218163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785737216001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792131807000,"timestamp_ms":1792131807000,"timestamp_seconds":1792131807,"priority":1,"record_length":96,"hex_timestamp":"000001a143613718"} 
[2026-10-16 11:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:56: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-10-16 11: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-10-16 11:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785737216001,"66":12232,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785737216001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:56:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:56:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785737216001,"power":12232,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":218163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:56:44] local.INFO: GPS data processed {"connection_id":218163,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:56:44] local.INFO: Acknowledgment sent {"connection_id":218163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:57:07] local.INFO: TCP Data received {"connection_id":216816,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:57:07] local.INFO: Processing buffer {"connection_id":216816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:57:07] local.INFO: IMEI packet received {"connection_id":216816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":216816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:57:12] local.INFO: TCP Data received {"connection_id":216816,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:57:12] local.INFO: Processing buffer {"connection_id":216816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:57:12] local.INFO: IMEI packet received {"connection_id":216816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":216816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:57:13] local.INFO: TCP Data received {"connection_id":216816,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143618920012d1b4f80072500100039005b25..."} 
[2026-10-16 11:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618920012d1b4f80072500100039005b25..."} 
[2026-10-16 11:57:13] local.INFO: Processing buffer {"connection_id":216816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618920012d1b4f80072500100039005b25..."} 
[2026-10-16 11:57:13] local.INFO: Packet analysis {"connection_id":216816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:57:13] local.INFO: Extracted packet for processing {"connection_id":216816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:57:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785742592001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131828000,"timestamp_ms":1792131828000,"timestamp_seconds":1792131828,"priority":1,"record_length":96,"hex_timestamp":"000001a143618920"} 
[2026-10-16 11:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:57: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-10-16 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-16 11:57:13] 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-10-16 11: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-10-16 11:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785742592001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785742592001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:57:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:57:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785742592001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":216816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:57:13] local.INFO: GPS data processed {"connection_id":216816,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:57:13] local.INFO: Acknowledgment sent {"connection_id":216816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:57:16] local.INFO: TCP Data received {"connection_id":218165,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:57:16] local.INFO: Processing buffer {"connection_id":218165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:57:16] local.INFO: IMEI packet received {"connection_id":218165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":218165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:57:21] local.INFO: TCP Data received {"connection_id":219896,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:57:21] local.INFO: Processing buffer {"connection_id":219896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:57:21] local.INFO: IMEI packet received {"connection_id":219896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":219896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:57:22] local.INFO: TCP Data received {"connection_id":218165,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:57:22] local.INFO: Processing buffer {"connection_id":218165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:57:22] local.INFO: IMEI packet received {"connection_id":218165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":218165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:57:23] local.INFO: TCP Data received {"connection_id":218165,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:57:23] local.INFO: Processing buffer {"connection_id":218165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:57:23] local.INFO: Packet analysis {"connection_id":218165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:57:23] local.INFO: Extracted packet for processing {"connection_id":218165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785706496001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131967000,"timestamp_ms":1792131967000,"timestamp_seconds":1792131967,"priority":1,"record_length":96,"hex_timestamp":"000001a14363a818"} 
[2026-10-16 11:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 11:57:23] 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-10-16 11:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785706496001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785706496001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:57:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:57:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785706496001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":218165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:57:23] local.INFO: GPS data processed {"connection_id":218165,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:57:23] local.INFO: Acknowledgment sent {"connection_id":218165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:57:26] local.INFO: TCP Data received {"connection_id":219896,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:57:26] local.INFO: Processing buffer {"connection_id":219896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:57:26] local.INFO: IMEI packet received {"connection_id":219896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":219896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:57:27] local.INFO: TCP Data received {"connection_id":219896,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:57:27] local.INFO: Processing buffer {"connection_id":219896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:57:27] local.INFO: Packet analysis {"connection_id":219896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:57:27] local.INFO: Extracted packet for processing {"connection_id":219896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785671168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:27] 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-10-16 11:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792131829000,"timestamp_ms":1792131829000,"timestamp_seconds":1792131829,"priority":1,"record_length":96,"hex_timestamp":"000001a143618d08"} 
[2026-10-16 11:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785671168001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785671168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:57:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:57:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785671168001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":219896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:57:27] local.INFO: GPS data processed {"connection_id":219896,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:57:27] local.INFO: Acknowledgment sent {"connection_id":219896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:57:48] local.INFO: TCP Data received {"connection_id":216816,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14361db28012d1b4f80072500100039005b27..."} 
[2026-10-16 11:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14361db28012d1b4f80072500100039005b27..."} 
[2026-10-16 11:57:48] local.INFO: Processing buffer {"connection_id":216816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14361db28012d1b4f80072500100039005b27..."} 
[2026-10-16 11:57:48] local.INFO: Packet analysis {"connection_id":216816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:57:48] local.INFO: Extracted packet for processing {"connection_id":216816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 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-10-16 11:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785747968001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792131849000,"timestamp_ms":1792131849000,"timestamp_seconds":1792131849,"priority":1,"record_length":96,"hex_timestamp":"000001a14361db28"} 
[2026-10-16 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-10-16 11:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 11:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785747968001,"66":12428,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785747968001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:57:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:57:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785747968001,"power":12428,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":216816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:57:48] local.INFO: GPS data processed {"connection_id":216816,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:57:48] local.INFO: Acknowledgment sent {"connection_id":216816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:57:55] local.INFO: TCP Data received {"connection_id":218165,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:57:55] local.INFO: Processing buffer {"connection_id":218165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:57:55] local.INFO: Packet analysis {"connection_id":218165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:57:55] local.INFO: Extracted packet for processing {"connection_id":218165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785706496001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792131967000,"timestamp_ms":1792131967000,"timestamp_seconds":1792131967,"priority":1,"record_length":96,"hex_timestamp":"000001a14363a818"} 
[2026-10-16 11:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 11:57:55] 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-10-16 11:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785706496001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785706496001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:57:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:57:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785706496001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":218165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:57:55] local.INFO: GPS data processed {"connection_id":218165,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:57:55] local.INFO: Acknowledgment sent {"connection_id":218165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:57:58] local.INFO: TCP Data received {"connection_id":219896,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:57:58] local.INFO: Processing buffer {"connection_id":219896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:57:58] local.INFO: Packet analysis {"connection_id":219896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:57:58] local.INFO: Extracted packet for processing {"connection_id":219896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785671168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:57:58] 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-10-16 11:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792131829000,"timestamp_ms":1792131829000,"timestamp_seconds":1792131829,"priority":1,"record_length":96,"hex_timestamp":"000001a143618d08"} 
[2026-10-16 11:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11:57: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-10-16 11:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785671168001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785671168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:57:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:57:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785671168001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":219896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:57:58] local.INFO: GPS data processed {"connection_id":219896,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:57:58] local.INFO: Acknowledgment sent {"connection_id":219896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:58:07] local.INFO: TCP Data received {"connection_id":218166,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:58:07] local.INFO: Processing buffer {"connection_id":218166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:58:07] local.INFO: IMEI packet received {"connection_id":218166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":218166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:58:12] local.INFO: TCP Data received {"connection_id":218166,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:58:12] local.INFO: Processing buffer {"connection_id":218166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:58:12] local.INFO: IMEI packet received {"connection_id":218166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":218166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:58:13] local.INFO: TCP Data received {"connection_id":218166,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143622d30012d1b4f80072500100039005b29..."} 
[2026-10-16 11:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143622d30012d1b4f80072500100039005b29..."} 
[2026-10-16 11:58:13] local.INFO: Processing buffer {"connection_id":218166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143622d30012d1b4f80072500100039005b29..."} 
[2026-10-16 11:58:13] local.INFO: Packet analysis {"connection_id":218166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14362"} 
[2026-10-16 11:58:13] local.INFO: Extracted packet for processing {"connection_id":218166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14362"} 
[2026-10-16 11:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785753344001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131870000,"timestamp_ms":1792131870000,"timestamp_seconds":1792131870,"priority":1,"record_length":96,"hex_timestamp":"000001a143622d30"} 
[2026-10-16 11:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:58: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-10-16 11: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":140,"data_length":795,"current_offset":136} 
[2026-10-16 11:58: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-10-16 11: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-10-16 11:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785753344001,"66":12385,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785753344001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785753344001,"power":12385,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":218166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:58:13] local.INFO: GPS data processed {"connection_id":218166,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:58:13] local.INFO: Acknowledgment sent {"connection_id":218166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:58:16] local.INFO: TCP Data received {"connection_id":216622,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:58:16] local.INFO: Processing buffer {"connection_id":216622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:58:16] local.INFO: IMEI packet received {"connection_id":216622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":216622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:58:21] local.INFO: TCP Data received {"connection_id":218167,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:58:21] local.INFO: Processing buffer {"connection_id":218167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:58:21] local.INFO: IMEI packet received {"connection_id":218167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":218167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:58:22] local.INFO: TCP Data received {"connection_id":216622,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:58:22] local.INFO: Processing buffer {"connection_id":216622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:58:22] local.INFO: IMEI packet received {"connection_id":216622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":216622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:58:23] local.INFO: TCP Data received {"connection_id":216622,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:58:23] local.INFO: Processing buffer {"connection_id":216622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:58:23] local.INFO: Packet analysis {"connection_id":216622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:58:23] local.INFO: Extracted packet for processing {"connection_id":216622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785706496001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131967000,"timestamp_ms":1792131967000,"timestamp_seconds":1792131967,"priority":1,"record_length":96,"hex_timestamp":"000001a14363a818"} 
[2026-10-16 11:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 11:58:23] 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-10-16 11: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-10-16 11:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785706496001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785706496001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:58:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:58:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785706496001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":216622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:58:23] local.INFO: GPS data processed {"connection_id":216622,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:58:23] local.INFO: Acknowledgment sent {"connection_id":216622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:58:26] local.INFO: TCP Data received {"connection_id":218167,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:58:26] local.INFO: Processing buffer {"connection_id":218167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:58:26] local.INFO: IMEI packet received {"connection_id":218167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":218167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:58:26] local.INFO: TCP Data received {"connection_id":218167,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:58:26] local.INFO: Processing buffer {"connection_id":218167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143618d08012d7d3fc005ec0ec00000013922..."} 
[2026-10-16 11:58:26] local.INFO: Packet analysis {"connection_id":218167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:58:26] local.INFO: Extracted packet for processing {"connection_id":218167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14361"} 
[2026-10-16 11:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":34,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785671168001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:26] 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-10-16 11:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792131829000,"timestamp_ms":1792131829000,"timestamp_seconds":1792131829,"priority":1,"record_length":96,"hex_timestamp":"000001a143618d08"} 
[2026-10-16 11:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 11: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-10-16 11:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785671168001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785671168001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:58:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:58:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785671168001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":218167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:58:26] local.INFO: GPS data processed {"connection_id":218167,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:58:26] local.INFO: Acknowledgment sent {"connection_id":218167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:58:45] local.INFO: TCP Data received {"connection_id":218166,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143627f38012d1b4f80072500100039005b28..."} 
[2026-10-16 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143627f38012d1b4f80072500100039005b28..."} 
[2026-10-16 11:58:45] local.INFO: Processing buffer {"connection_id":218166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143627f38012d1b4f80072500100039005b28..."} 
[2026-10-16 11:58:45] local.INFO: Packet analysis {"connection_id":218166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14362"} 
[2026-10-16 11:58:45] local.INFO: Extracted packet for processing {"connection_id":218166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14362"} 
[2026-10-16 11:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785758720001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792131891000,"timestamp_ms":1792131891000,"timestamp_seconds":1792131891,"priority":1,"record_length":96,"hex_timestamp":"000001a143627f38"} 
[2026-10-16 11:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:58: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-10-16 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 11:58: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-10-16 11: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-10-16 11:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785758720001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785758720001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:58:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785758720001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":218166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:58:45] local.INFO: GPS data processed {"connection_id":218166,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:58:45] local.INFO: Acknowledgment sent {"connection_id":218166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:58:55] local.INFO: TCP Data received {"connection_id":216622,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:58:55] local.INFO: Processing buffer {"connection_id":216622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:58:55] local.INFO: Packet analysis {"connection_id":216622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:58:55] local.INFO: Extracted packet for processing {"connection_id":216622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785706496001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792131967000,"timestamp_ms":1792131967000,"timestamp_seconds":1792131967,"priority":1,"record_length":96,"hex_timestamp":"000001a14363a818"} 
[2026-10-16 11:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 11:58:55] 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-10-16 11: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-10-16 11:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785706496001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785706496001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:58:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:58:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785706496001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":216622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:58:55] local.INFO: GPS data processed {"connection_id":216622,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:58:55] local.INFO: Acknowledgment sent {"connection_id":216622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:58:58] local.INFO: TCP Data received {"connection_id":218167,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 11:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 11:58:58] local.INFO: Processing buffer {"connection_id":218167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 11:58:58] local.INFO: Packet analysis {"connection_id":218167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 11:58:58] local.INFO: Extracted packet for processing {"connection_id":218167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 11:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785748224001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:58:58] 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-10-16 11:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792132130000,"timestamp_ms":1792132130000,"timestamp_seconds":1792132130,"priority":1,"record_length":96,"hex_timestamp":"000001a1436624d0"} 
[2026-10-16 11:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785748224001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785748224001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:58:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785748224001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":218167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:58:58] local.INFO: GPS data processed {"connection_id":218167,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:58:58] local.INFO: Acknowledgment sent {"connection_id":218167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:59:07] local.INFO: TCP Data received {"connection_id":218168,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:59:07] local.INFO: Processing buffer {"connection_id":218168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:59:07] local.INFO: IMEI packet received {"connection_id":218168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 11:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":218168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:59:12] local.INFO: TCP Data received {"connection_id":218168,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:59:12] local.INFO: Processing buffer {"connection_id":218168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 11:59:12] local.INFO: IMEI packet received {"connection_id":218168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 11:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":218168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:59:15] local.INFO: TCP Data received {"connection_id":218168,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14362d140012d1b4f80072500100039005b27..."} 
[2026-10-16 11:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14362d140012d1b4f80072500100039005b27..."} 
[2026-10-16 11:59:15] local.INFO: Processing buffer {"connection_id":218168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14362d140012d1b4f80072500100039005b27..."} 
[2026-10-16 11:59:15] local.INFO: Packet analysis {"connection_id":218168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14362"} 
[2026-10-16 11:59:15] local.INFO: Extracted packet for processing {"connection_id":218168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14362"} 
[2026-10-16 11:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785764096001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792131912000,"timestamp_ms":1792131912000,"timestamp_seconds":1792131912,"priority":1,"record_length":96,"hex_timestamp":"000001a14362d140"} 
[2026-10-16 11:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 11:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 11:59: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-10-16 11:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785764096001,"66":12493,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785764096001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785764096001,"power":12493,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":218168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:59:16] local.INFO: GPS data processed {"connection_id":218168,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:59:16] local.INFO: Acknowledgment sent {"connection_id":218168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:59:16] local.INFO: TCP Data received {"connection_id":219897,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:59:16] local.INFO: Processing buffer {"connection_id":219897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:59:16] local.INFO: IMEI packet received {"connection_id":219897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 11:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":219897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:59:21] local.INFO: TCP Data received {"connection_id":216819,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:59:21] local.INFO: Processing buffer {"connection_id":216819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:59:21] local.INFO: IMEI packet received {"connection_id":216819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 11:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":216819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 11:59:22] local.INFO: TCP Data received {"connection_id":219897,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:59:22] local.INFO: Processing buffer {"connection_id":219897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 11:59:22] local.INFO: IMEI packet received {"connection_id":219897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 11:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":219897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:59:23] local.INFO: TCP Data received {"connection_id":219897,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:59:23] local.INFO: Processing buffer {"connection_id":219897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:59:23] local.INFO: Packet analysis {"connection_id":219897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:59:23] local.INFO: Extracted packet for processing {"connection_id":219897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785706496001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131967000,"timestamp_ms":1792131967000,"timestamp_seconds":1792131967,"priority":1,"record_length":96,"hex_timestamp":"000001a14363a818"} 
[2026-10-16 11:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 11:59:23] 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-10-16 11:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785706496001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785706496001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:59:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:59:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785706496001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":219897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:59:23] local.INFO: GPS data processed {"connection_id":219897,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:59:23] local.INFO: Acknowledgment sent {"connection_id":219897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:59:26] local.INFO: TCP Data received {"connection_id":216819,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:59:26] local.INFO: Processing buffer {"connection_id":216819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 11:59:26] local.INFO: IMEI packet received {"connection_id":216819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 11:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":216819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 11:59:27] local.INFO: TCP Data received {"connection_id":216819,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 11:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 11:59:27] local.INFO: Processing buffer {"connection_id":216819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 11:59:27] local.INFO: Packet analysis {"connection_id":216819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 11:59:27] local.INFO: Extracted packet for processing {"connection_id":216819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785748224001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:27] 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-10-16 11:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792132130000,"timestamp_ms":1792132130000,"timestamp_seconds":1792132130,"priority":1,"record_length":96,"hex_timestamp":"000001a1436624d0"} 
[2026-10-16 11:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:59:27] 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-10-16 11:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:59:27] 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-10-16 11:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785748224001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785748224001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:59:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:59:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785748224001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":216819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:59:27] local.INFO: GPS data processed {"connection_id":216819,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:59:27] local.INFO: Acknowledgment sent {"connection_id":216819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:59:47] local.INFO: TCP Data received {"connection_id":218168,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143632348012d1b4f80072500100039005b26..."} 
[2026-10-16 11:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143632348012d1b4f80072500100039005b26..."} 
[2026-10-16 11:59:47] local.INFO: Processing buffer {"connection_id":218168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143632348012d1b4f80072500100039005b26..."} 
[2026-10-16 11:59:47] local.INFO: Packet analysis {"connection_id":218168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:59:47] local.INFO: Extracted packet for processing {"connection_id":218168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 11: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-10-16 11:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785769472001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792131933000,"timestamp_ms":1792131933000,"timestamp_seconds":1792131933,"priority":1,"record_length":96,"hex_timestamp":"000001a143632348"} 
[2026-10-16 11:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:59:47] 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-10-16 11: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-10-16 11:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11: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-10-16 11:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 11:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 11:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 11:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785769472001,"66":12461,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 11:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 11:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 11:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785769472001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:59:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 11:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 11:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 11:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785769472001,"power":12461,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 11:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":218168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:59:47] local.INFO: GPS data processed {"connection_id":218168,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:59:47] local.INFO: Acknowledgment sent {"connection_id":218168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:59:55] local.INFO: TCP Data received {"connection_id":219897,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:59:55] local.INFO: Processing buffer {"connection_id":219897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 11:59:55] local.INFO: Packet analysis {"connection_id":219897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:59:55] local.INFO: Extracted packet for processing {"connection_id":219897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 11:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 11:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785706496001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 11:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792131967000,"timestamp_ms":1792131967000,"timestamp_seconds":1792131967,"priority":1,"record_length":96,"hex_timestamp":"000001a14363a818"} 
[2026-10-16 11:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 11:59:55] 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-10-16 11:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 11:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 11:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 11:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 11:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785706496001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 11:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 11:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 11:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785706496001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:59:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 11:59:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 11:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 11:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785706496001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 11:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":219897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:59:55] local.INFO: GPS data processed {"connection_id":219897,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:59:55] local.INFO: Acknowledgment sent {"connection_id":219897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 11:59:58] local.INFO: TCP Data received {"connection_id":216819,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 11:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 11:59:58] local.INFO: Processing buffer {"connection_id":216819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 11:59:58] local.INFO: Packet analysis {"connection_id":216819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 11:59:58] local.INFO: Extracted packet for processing {"connection_id":216819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 11:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 11:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 11:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785748224001,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 11:59:58] 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-10-16 11:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792132130000,"timestamp_ms":1792132130000,"timestamp_seconds":1792132130,"priority":1,"record_length":96,"hex_timestamp":"000001a1436624d0"} 
[2026-10-16 11:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 11:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 11:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 11:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 11:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 11:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 11:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 11:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 11:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 11:59:58] 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-10-16 11:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 11:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 11:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785748224001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 11:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 11:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 11:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785748224001,"description":"Unknown IO ID 0"} 
[2026-10-16 11:59:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 11:59:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 11:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 11:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 11:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785748224001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 11:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":216819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 11:59:58] local.INFO: GPS data processed {"connection_id":216819,"processed":1,"errors":0,"total":1} 
[2026-10-16 11:59:58] local.INFO: Acknowledgment sent {"connection_id":216819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:00:07] local.INFO: TCP Data received {"connection_id":219898,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:00:07] local.INFO: Processing buffer {"connection_id":219898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:00:07] local.INFO: IMEI packet received {"connection_id":219898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":219898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:00:11] local.INFO: TCP Data received {"connection_id":216820,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:00:11] local.INFO: Processing buffer {"connection_id":216820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:00:11] local.INFO: IMEI packet received {"connection_id":216820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":216820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:00:12] local.INFO: TCP Data received {"connection_id":219898,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:00:12] local.INFO: Processing buffer {"connection_id":219898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:00:12] local.INFO: IMEI packet received {"connection_id":219898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":219898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:00:13] local.INFO: TCP Data received {"connection_id":219898,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143637550012d1b4f80072500100039005b25..."} 
[2026-10-16 12:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143637550012d1b4f80072500100039005b25..."} 
[2026-10-16 12:00:13] local.INFO: Processing buffer {"connection_id":219898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143637550012d1b4f80072500100039005b25..."} 
[2026-10-16 12:00:13] local.INFO: Packet analysis {"connection_id":219898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 12:00:13] local.INFO: Extracted packet for processing {"connection_id":219898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 12:00:13] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785774848001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792131954000,"timestamp_ms":1792131954000,"timestamp_seconds":1792131954,"priority":1,"record_length":96,"hex_timestamp":"000001a143637550"} 
[2026-10-16 12:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:00: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-10-16 12: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":173,"data_length":795,"current_offset":136} 
[2026-10-16 12:00: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-10-16 12: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-10-16 12:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785774848001,"66":12385,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 12:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785774848001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 12:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 12:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785774848001,"power":12385,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 12:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":219898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:00:13] local.INFO: GPS data processed {"connection_id":219898,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:00:13] local.INFO: Acknowledgment sent {"connection_id":219898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:00:22] local.INFO: TCP Data received {"connection_id":218169,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:00:22] local.INFO: Processing buffer {"connection_id":218169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:00:22] local.INFO: IMEI packet received {"connection_id":218169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":218169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:00:26] local.INFO: TCP Data received {"connection_id":218170,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:00:26] local.INFO: Processing buffer {"connection_id":218170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:00:26] local.INFO: IMEI packet received {"connection_id":218170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":218170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:00:27] local.INFO: TCP Data received {"connection_id":218169,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:00:27] local.INFO: Processing buffer {"connection_id":218169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:00:27] local.INFO: IMEI packet received {"connection_id":218169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":218169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:00:28] local.INFO: TCP Data received {"connection_id":218169,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 12:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 12:00:28] local.INFO: Processing buffer {"connection_id":218169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 12:00:28] local.INFO: Packet analysis {"connection_id":218169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 12:00:28] local.INFO: Extracted packet for processing {"connection_id":218169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 12:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785706496001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792131967000,"timestamp_ms":1792131967000,"timestamp_seconds":1792131967,"priority":1,"record_length":96,"hex_timestamp":"000001a14363a818"} 
[2026-10-16 12:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:00:28] 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-10-16 12:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785706496001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785706496001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:00:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:00:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785706496001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":218169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:00:28] local.INFO: GPS data processed {"connection_id":218169,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:00:28] local.INFO: Acknowledgment sent {"connection_id":218169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:00:31] local.INFO: TCP Data received {"connection_id":218170,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:00:31] local.INFO: Processing buffer {"connection_id":218170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:00:31] local.INFO: IMEI packet received {"connection_id":218170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":218170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:00:32] local.INFO: TCP Data received {"connection_id":218170,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:00:32] local.INFO: Processing buffer {"connection_id":218170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:00:32] local.INFO: Packet analysis {"connection_id":218170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:00:32] local.INFO: Extracted packet for processing {"connection_id":218170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785748224001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792132130000,"timestamp_ms":1792132130000,"timestamp_seconds":1792132130,"priority":1,"record_length":96,"hex_timestamp":"000001a1436624d0"} 
[2026-10-16 12:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:00:32] 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-10-16 12:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785748224001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785748224001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:00:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:00:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785748224001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":218170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:00:32] local.INFO: GPS data processed {"connection_id":218170,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:00:32] local.INFO: Acknowledgment sent {"connection_id":218170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:00:33] local.INFO: TCP Data received {"connection_id":218169,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 12:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 12:00:33] local.INFO: Processing buffer {"connection_id":218169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 12:00:33] local.INFO: Packet analysis {"connection_id":218169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 12:00:33] local.INFO: Extracted packet for processing {"connection_id":218169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 12:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785706496001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792131967000,"timestamp_ms":1792131967000,"timestamp_seconds":1792131967,"priority":1,"record_length":96,"hex_timestamp":"000001a14363a818"} 
[2026-10-16 12:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":218169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":218169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":218169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785706496001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785706496001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785706496001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":218169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:00:33] local.INFO: GPS data processed {"connection_id":218169,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:00:33] local.INFO: Acknowledgment sent {"connection_id":218169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:00:40] local.INFO: TCP Data received {"connection_id":218170,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:00:40] local.INFO: Processing buffer {"connection_id":218170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:00:40] local.INFO: Packet analysis {"connection_id":218170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:00:40] local.INFO: Extracted packet for processing {"connection_id":218170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785748224001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:40] 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-10-16 12:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792132130000,"timestamp_ms":1792132130000,"timestamp_seconds":1792132130,"priority":1,"record_length":96,"hex_timestamp":"000001a1436624d0"} 
[2026-10-16 12:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:00: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-10-16 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:00:40] 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-10-16 12: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-10-16 12:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":218170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":218170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":218170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785748224001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785748224001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:00:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:00:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785748224001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":218170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:00:40] local.INFO: GPS data processed {"connection_id":218170,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:00:40] local.INFO: Acknowledgment sent {"connection_id":218170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:00:46] local.INFO: TCP Data received {"connection_id":219898,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14363c758012d1b4f80072500100039005b26..."} 
[2026-10-16 12:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14363c758012d1b4f80072500100039005b26..."} 
[2026-10-16 12:00:46] local.INFO: Processing buffer {"connection_id":219898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14363c758012d1b4f80072500100039005b26..."} 
[2026-10-16 12:00:46] local.INFO: Packet analysis {"connection_id":219898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 12:00:46] local.INFO: Extracted packet for processing {"connection_id":219898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 12:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785780224001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 12:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792131975000,"timestamp_ms":1792131975000,"timestamp_seconds":1792131975,"priority":1,"record_length":96,"hex_timestamp":"000001a14363c758"} 
[2026-10-16 12:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 12:00: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-10-16 12: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-10-16 12:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":219898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":219898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":219898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785780224001,"66":12406,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 12:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785780224001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:00:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 12:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 12:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785780224001,"power":12406,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 12:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":219898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:00:46] local.INFO: GPS data processed {"connection_id":219898,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:00:46] local.INFO: Acknowledgment sent {"connection_id":219898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:00:51] local.INFO: TCP Data received {"connection_id":219899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:00:51] local.INFO: Processing buffer {"connection_id":219899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:00:51] local.INFO: IMEI packet received {"connection_id":219899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":219899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:01:16] local.INFO: TCP Data received {"connection_id":218171,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:01:16] local.INFO: Processing buffer {"connection_id":218171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:01:16] local.INFO: IMEI packet received {"connection_id":218171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":218171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:01:21] local.INFO: TCP Data received {"connection_id":219900,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:01:21] local.INFO: Processing buffer {"connection_id":219900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:01:21] local.INFO: IMEI packet received {"connection_id":219900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":219900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:01:21] local.INFO: TCP Data received {"connection_id":216821,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:01:21] local.INFO: Processing buffer {"connection_id":216821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:01:21] local.INFO: IMEI packet received {"connection_id":216821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":216821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:01:22] local.INFO: TCP Data received {"connection_id":218171,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:01:22] local.INFO: Processing buffer {"connection_id":218171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:01:22] local.INFO: IMEI packet received {"connection_id":218171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":218171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:01:23] local.INFO: TCP Data received {"connection_id":218171,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 12:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 12:01:23] local.INFO: Processing buffer {"connection_id":218171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14363a818012d7fa40005afce580009000a31..."} 
[2026-10-16 12:01:23] local.INFO: Packet analysis {"connection_id":218171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 12:01:23] local.INFO: Extracted packet for processing {"connection_id":218171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14363"} 
[2026-10-16 12:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785706496001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792131967000,"timestamp_ms":1792131967000,"timestamp_seconds":1792131967,"priority":1,"record_length":96,"hex_timestamp":"000001a14363a818"} 
[2026-10-16 12:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:01:23] 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-10-16 12: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-10-16 12:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785706496001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785706496001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:01:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:01:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785706496001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":218171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:01:23] local.INFO: GPS data processed {"connection_id":218171,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:01:23] local.INFO: Acknowledgment sent {"connection_id":218171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:01:23] local.INFO: TCP Data received {"connection_id":216821,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:01:23] local.INFO: Processing buffer {"connection_id":216821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:01:23] local.INFO: IMEI packet received {"connection_id":216821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":216821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:01:24] local.INFO: TCP Data received {"connection_id":216821,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143675d50012d1b4f80072500100039005b24..."} 
[2026-10-16 12:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143675d50012d1b4f80072500100039005b24..."} 
[2026-10-16 12:01:24] local.INFO: Processing buffer {"connection_id":216821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143675d50012d1b4f80072500100039005b24..."} 
[2026-10-16 12:01:24] local.INFO: Packet analysis {"connection_id":216821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14367"} 
[2026-10-16 12:01:24] local.INFO: Extracted packet for processing {"connection_id":216821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14367"} 
[2026-10-16 12:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 12:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785840384001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792132210000,"timestamp_ms":1792132210000,"timestamp_seconds":1792132210,"priority":1,"record_length":96,"hex_timestamp":"000001a143675d50"} 
[2026-10-16 12:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-10-16 12:01:24] 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-10-16 12:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785840384001,"66":14004,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 12:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785840384001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:01:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 12:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 12:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785840384001,"power":14004,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 12:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":216821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:01:24] local.INFO: GPS data processed {"connection_id":216821,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:01:24] local.INFO: Acknowledgment sent {"connection_id":216821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:01:25] local.INFO: TCP Data received {"connection_id":216821,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14367b340012d1b4f80072500100039005b1f..."} 
[2026-10-16 12:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14367b340012d1b4f80072500100039005b1f..."} 
[2026-10-16 12:01:25] local.INFO: Processing buffer {"connection_id":216821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14367b340012d1b4f80072500100039005b1f..."} 
[2026-10-16 12:01:25] local.INFO: Packet analysis {"connection_id":216821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14367"} 
[2026-10-16 12:01:25] local.INFO: Extracted packet for processing {"connection_id":216821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14367"} 
[2026-10-16 12:01:25] local.INFO: GPS Element Parsed {"raw_longitude":756764544,"raw_latitude":119865360,"longitude_deg":75.6764544,"latitude_deg":11.986536,"altitude":57,"angle":91,"satellites":31,"speed":0,"hex_longitude":"2d1b4f80","hex_latitude":"07250010","is_valid_coordinates":true} 
[2026-10-16 12:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785845760001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133027926245376,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792132232000,"timestamp_ms":1792132232000,"timestamp_seconds":1792132232,"priority":1,"record_length":96,"hex_timestamp":"000001a14367b340"} 
[2026-10-16 12:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 12:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785845760001,"66":14102,"44":206,"83":41984,"24":0,"16":28133027926245376,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 12:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785845760001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 12:01:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133027926245376,"km_value":28133027926245.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 12:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785845760001,"power":14102,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 12:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":216821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:01:25] local.INFO: GPS data processed {"connection_id":216821,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:01:25] local.INFO: Acknowledgment sent {"connection_id":216821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:01:26] local.INFO: TCP Data received {"connection_id":219900,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:01:26] local.INFO: Processing buffer {"connection_id":219900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:01:26] local.INFO: IMEI packet received {"connection_id":219900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":219900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:01:31] local.INFO: TCP Data received {"connection_id":219900,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:01:31] local.INFO: Processing buffer {"connection_id":219900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:01:31] local.INFO: Packet analysis {"connection_id":219900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:01:31] local.INFO: Extracted packet for processing {"connection_id":219900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785748224001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792132130000,"timestamp_ms":1792132130000,"timestamp_seconds":1792132130,"priority":1,"record_length":96,"hex_timestamp":"000001a1436624d0"} 
[2026-10-16 12:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:01:31] 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-10-16 12:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785748224001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785748224001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:01:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:01:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785748224001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":219900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:01:31] local.INFO: GPS data processed {"connection_id":219900,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:01:31] local.INFO: Acknowledgment sent {"connection_id":219900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:01:55] local.INFO: TCP Data received {"connection_id":218171,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:01:55] local.INFO: Processing buffer {"connection_id":218171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:01:55] local.INFO: Packet analysis {"connection_id":218171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:01:55] local.INFO: Extracted packet for processing {"connection_id":218171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785783552001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792132268000,"timestamp_ms":1792132268000,"timestamp_seconds":1792132268,"priority":1,"record_length":96,"hex_timestamp":"000001a143683fe0"} 
[2026-10-16 12:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:01:55] 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-10-16 12:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785783552001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785783552001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:01:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:01:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785783552001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":218171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:01:55] local.INFO: GPS data processed {"connection_id":218171,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:01:55] local.INFO: Acknowledgment sent {"connection_id":218171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:02:02] local.INFO: TCP Data received {"connection_id":219900,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:02:02] local.INFO: Processing buffer {"connection_id":219900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:02:02] local.INFO: Packet analysis {"connection_id":219900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:02:02] local.INFO: Extracted packet for processing {"connection_id":219900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785748224001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:02] 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-10-16 12:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792132130000,"timestamp_ms":1792132130000,"timestamp_seconds":1792132130,"priority":1,"record_length":96,"hex_timestamp":"000001a1436624d0"} 
[2026-10-16 12:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":219900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":219900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":219900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:02:02] 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-10-16 12:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785748224001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785748224001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:02:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:02:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785748224001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":219900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:02:02] local.INFO: GPS data processed {"connection_id":219900,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:02:02] local.INFO: Acknowledgment sent {"connection_id":219900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:02:04] local.INFO: TCP Data received {"connection_id":216822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:02:04] local.INFO: Processing buffer {"connection_id":216822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:02:04] local.INFO: IMEI packet received {"connection_id":216822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":216822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:02:07] local.INFO: TCP Data received {"connection_id":216822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:02:07] local.INFO: Processing buffer {"connection_id":216822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:02:07] local.INFO: IMEI packet received {"connection_id":216822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":216822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:02:16] local.INFO: TCP Data received {"connection_id":216623,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:02:16] local.INFO: Processing buffer {"connection_id":216623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:02:16] local.INFO: IMEI packet received {"connection_id":216623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":216623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:02:21] local.INFO: TCP Data received {"connection_id":216624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:02:21] local.INFO: Processing buffer {"connection_id":216624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:02:21] local.INFO: IMEI packet received {"connection_id":216624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":216624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:02:21] local.INFO: TCP Data received {"connection_id":216822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:02:21] local.INFO: Processing buffer {"connection_id":216822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:02:21] local.INFO: IMEI packet received {"connection_id":216822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":216822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:02:22] local.INFO: TCP Data received {"connection_id":216623,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:02:22] local.INFO: Processing buffer {"connection_id":216623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:02:22] local.INFO: IMEI packet received {"connection_id":216623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":216623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:02:22] local.INFO: TCP Data received {"connection_id":216822,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14367d668012d1b5340072500980021009a25..."} 
[2026-10-16 12:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14367d668012d1b5340072500980021009a25..."} 
[2026-10-16 12:02:22] local.INFO: Processing buffer {"connection_id":216822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14367d668012d1b5340072500980021009a25..."} 
[2026-10-16 12:02:22] local.INFO: Packet analysis {"connection_id":216822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14367"} 
[2026-10-16 12:02:22] local.INFO: Extracted packet for processing {"connection_id":216822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14367"} 
[2026-10-16 12:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756765504,"raw_latitude":119865496,"longitude_deg":75.6765504,"latitude_deg":11.9865496,"altitude":33,"angle":154,"satellites":37,"speed":2,"hex_longitude":"2d1b5340","hex_latitude":"07250098","is_valid_coordinates":true} 
[2026-10-16 12:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785851392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28133075170885632,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330358083584,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792132241000,"timestamp_ms":1792132241000,"timestamp_seconds":1792132241,"priority":1,"record_length":96,"hex_timestamp":"000001a14367d668"} 
[2026-10-16 12:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 12:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785851392001,"66":14135,"44":206,"83":41984,"24":2,"16":28133075170885632,"45":1967932330358083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-10-16 12:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785851392001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:02:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-10-16 12:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28133075170885632,"km_value":28133075170885.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330358083584,"description":"Unknown IO ID 45"} 
[2026-10-16 12:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785851392001,"power":14135,"unknown_44":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1967932330358083584}} 
[2026-10-16 12:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":216822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:02:23] local.INFO: GPS data processed {"connection_id":216822,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:02:23] local.INFO: Acknowledgment sent {"connection_id":216822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:02:23] local.INFO: TCP Data received {"connection_id":216623,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:02:23] local.INFO: Processing buffer {"connection_id":216623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:02:23] local.INFO: Packet analysis {"connection_id":216623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:02:23] local.INFO: Extracted packet for processing {"connection_id":216623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785783552001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792132268000,"timestamp_ms":1792132268000,"timestamp_seconds":1792132268,"priority":1,"record_length":96,"hex_timestamp":"000001a143683fe0"} 
[2026-10-16 12:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:02:23] 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-10-16 12: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-10-16 12:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785783552001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785783552001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:02:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:02:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785783552001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":216623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:02:23] local.INFO: GPS data processed {"connection_id":216623,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:02:23] local.INFO: Acknowledgment sent {"connection_id":216623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:02:26] local.INFO: TCP Data received {"connection_id":216624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:02:26] local.INFO: Processing buffer {"connection_id":216624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:02:26] local.INFO: IMEI packet received {"connection_id":216624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":216624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:02:26] local.INFO: TCP Data received {"connection_id":216624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:02:26] local.INFO: Processing buffer {"connection_id":216624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:02:26] local.INFO: Packet analysis {"connection_id":216624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:02:26] local.INFO: Extracted packet for processing {"connection_id":216624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:02:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785748224001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:26] 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-10-16 12:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792132130000,"timestamp_ms":1792132130000,"timestamp_seconds":1792132130,"priority":1,"record_length":96,"hex_timestamp":"000001a1436624d0"} 
[2026-10-16 12:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:02:26] 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-10-16 12:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:02:26] 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-10-16 12:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785748224001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785748224001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:02:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:02:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785748224001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":216624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:02:27] local.INFO: GPS data processed {"connection_id":216624,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:02:27] local.INFO: Acknowledgment sent {"connection_id":216624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:02:55] local.INFO: TCP Data received {"connection_id":216623,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:02:55] local.INFO: Processing buffer {"connection_id":216623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:02:55] local.INFO: Packet analysis {"connection_id":216623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:02:55] local.INFO: Extracted packet for processing {"connection_id":216623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:02: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-10-16 12:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785783552001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792132268000,"timestamp_ms":1792132268000,"timestamp_seconds":1792132268,"priority":1,"record_length":96,"hex_timestamp":"000001a143683fe0"} 
[2026-10-16 12:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:02:55] 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-10-16 12:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785783552001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785783552001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:02:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:02:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785783552001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":216623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:02:55] local.INFO: GPS data processed {"connection_id":216623,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:02:55] local.INFO: Acknowledgment sent {"connection_id":216623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:02:58] local.INFO: TCP Data received {"connection_id":216624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:02:58] local.INFO: Processing buffer {"connection_id":216624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:02:58] local.INFO: Packet analysis {"connection_id":216624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:02:58] local.INFO: Extracted packet for processing {"connection_id":216624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785748224001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:02:58] 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-10-16 12:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792132130000,"timestamp_ms":1792132130000,"timestamp_seconds":1792132130,"priority":1,"record_length":96,"hex_timestamp":"000001a1436624d0"} 
[2026-10-16 12:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:02:58] 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-10-16 12:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785748224001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785748224001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:02:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785748224001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":216624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:02:58] local.INFO: GPS data processed {"connection_id":216624,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:02:58] local.INFO: Acknowledgment sent {"connection_id":216624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:03:10] local.INFO: TCP Data received {"connection_id":216823,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:03:10] local.INFO: Processing buffer {"connection_id":216823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:03:10] local.INFO: IMEI packet received {"connection_id":216823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":216823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:03:12] local.INFO: TCP Data received {"connection_id":216823,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:03:12] local.INFO: Processing buffer {"connection_id":216823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:03:12] local.INFO: IMEI packet received {"connection_id":216823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":216823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:03:13] local.INFO: TCP Data received {"connection_id":216823,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143696ca8012d1ade0007244508002c00d728..."} 
[2026-10-16 12:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143696ca8012d1ade0007244508002c00d728..."} 
[2026-10-16 12:03:13] local.INFO: Processing buffer {"connection_id":216823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143696ca8012d1ade0007244508002c00d728..."} 
[2026-10-16 12:03:13] local.INFO: Packet analysis {"connection_id":216823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14369"} 
[2026-10-16 12:03:13] local.INFO: Extracted packet for processing {"connection_id":216823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14369"} 
[2026-10-16 12:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756735488,"raw_latitude":119817480,"longitude_deg":75.6735488,"latitude_deg":11.981748,"altitude":44,"angle":215,"satellites":40,"speed":27,"hex_longitude":"2d1ade00","hex_latitude":"07244508","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785876224001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28136034403352576,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941403313792897024,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:13] 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-10-16 12:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792132345000,"timestamp_ms":1792132345000,"timestamp_seconds":1792132345,"priority":1,"record_length":96,"hex_timestamp":"000001a143696ca8"} 
[2026-10-16 12:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:03: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-10-16 12: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-10-16 12:03:13] 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-10-16 12: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-10-16 12:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785876224001,"66":14048,"137":206,"83":42752,"24":27,"16":28136034403352576,"45":1941403313792897024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 12:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785876224001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:03:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 12:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 12:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28136034403352576,"km_value":28136034403352.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941403313792897024,"description":"Unknown IO ID 45"} 
[2026-10-16 12:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785876224001,"power":14048,"unknown_137":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1941403313792897024}} 
[2026-10-16 12:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":216823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:03:13] local.INFO: GPS data processed {"connection_id":216823,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:03:13] local.INFO: Acknowledgment sent {"connection_id":216823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:03:16] local.INFO: TCP Data received {"connection_id":216823,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143697860012d1ad88007243ee0002c00e228..."} 
[2026-10-16 12:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143697860012d1ad88007243ee0002c00e228..."} 
[2026-10-16 12:03:16] local.INFO: Processing buffer {"connection_id":216823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143697860012d1ad88007243ee0002c00e228..."} 
[2026-10-16 12:03:16] local.INFO: Packet analysis {"connection_id":216823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14369"} 
[2026-10-16 12:03:16] local.INFO: Extracted packet for processing {"connection_id":216823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14369"} 
[2026-10-16 12:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756734080,"raw_latitude":119815904,"longitude_deg":75.673408,"latitude_deg":11.9815904,"altitude":44,"angle":226,"satellites":40,"speed":28,"hex_longitude":"2d1ad880","hex_latitude":"07243ee0","is_valid_coordinates":true} 
[2026-10-16 12:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785880320001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28136137482567680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935984920489166848,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:16] 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-10-16 12:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792132348000,"timestamp_ms":1792132348000,"timestamp_seconds":1792132348,"priority":1,"record_length":96,"hex_timestamp":"000001a143697860"} 
[2026-10-16 12:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:03:16] 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-10-16 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 12:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785880320001,"66":14004,"137":206,"83":42752,"24":28,"16":28136137482567680,"45":1935984920489166848},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 12:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785880320001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:03:16] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 12:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 12:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28136137482567680,"km_value":28136137482567.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935984920489166848,"description":"Unknown IO ID 45"} 
[2026-10-16 12:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785880320001,"power":14004,"unknown_137":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1935984920489166848}} 
[2026-10-16 12:03:16] local.INFO: TCP Data received {"connection_id":219902,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:03:16] local.INFO: Processing buffer {"connection_id":219902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:03:16] local.INFO: IMEI packet received {"connection_id":219902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":219902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":216823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:03:16] local.INFO: GPS data processed {"connection_id":216823,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:03:16] local.INFO: Acknowledgment sent {"connection_id":216823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:03:21] local.INFO: TCP Data received {"connection_id":216824,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:03:21] local.INFO: Processing buffer {"connection_id":216824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:03:21] local.INFO: IMEI packet received {"connection_id":216824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":216824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:03:22] local.INFO: TCP Data received {"connection_id":219902,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:03:22] local.INFO: Processing buffer {"connection_id":219902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:03:22] local.INFO: IMEI packet received {"connection_id":219902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":219902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:03:23] local.INFO: TCP Data received {"connection_id":219902,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:03:23] local.INFO: Processing buffer {"connection_id":219902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:03:23] local.INFO: Packet analysis {"connection_id":219902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:03:23] local.INFO: Extracted packet for processing {"connection_id":219902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785783552001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792132268000,"timestamp_ms":1792132268000,"timestamp_seconds":1792132268,"priority":1,"record_length":96,"hex_timestamp":"000001a143683fe0"} 
[2026-10-16 12:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:03:23] 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-10-16 12:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785783552001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785783552001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:03:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:03:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785783552001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":219902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:03:23] local.INFO: GPS data processed {"connection_id":219902,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:03:23] local.INFO: Acknowledgment sent {"connection_id":219902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:03:26] local.INFO: TCP Data received {"connection_id":216824,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:03:26] local.INFO: Processing buffer {"connection_id":216824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:03:26] local.INFO: IMEI packet received {"connection_id":216824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":216824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:03:27] local.INFO: TCP Data received {"connection_id":216824,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:03:27] local.INFO: Processing buffer {"connection_id":216824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436624d0012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:03:27] local.INFO: Packet analysis {"connection_id":216824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:03:27] local.INFO: Extracted packet for processing {"connection_id":216824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14366"} 
[2026-10-16 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785748224001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:27] 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-10-16 12:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792132130000,"timestamp_ms":1792132130000,"timestamp_seconds":1792132130,"priority":1,"record_length":96,"hex_timestamp":"000001a1436624d0"} 
[2026-10-16 12:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:03:27] 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-10-16 12:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785748224001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785748224001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:03:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:03:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785748224001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":216824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:03:27] local.INFO: GPS data processed {"connection_id":216824,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:03:27] local.INFO: Acknowledgment sent {"connection_id":216824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:03:47] local.INFO: TCP Data received {"connection_id":216823,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143698800012d1ad00007243830002b00ee28..."} 
[2026-10-16 12:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143698800012d1ad00007243830002b00ee28..."} 
[2026-10-16 12:03:47] local.INFO: Processing buffer {"connection_id":216823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143698800012d1ad00007243830002b00ee28..."} 
[2026-10-16 12:03:47] local.INFO: Packet analysis {"connection_id":216823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14369"} 
[2026-10-16 12:03:47] local.INFO: Extracted packet for processing {"connection_id":216823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14369"} 
[2026-10-16 12:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756731904,"raw_latitude":119814192,"longitude_deg":75.6731904,"latitude_deg":11.9814192,"altitude":43,"angle":238,"satellites":40,"speed":28,"hex_longitude":"2d1ad000","hex_latitude":"07243830","is_valid_coordinates":true} 
[2026-10-16 12:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785881088001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28136270626553856,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934436808116854784,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:47] 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-10-16 12:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792132352000,"timestamp_ms":1792132352000,"timestamp_seconds":1792132352,"priority":1,"record_length":96,"hex_timestamp":"000001a143698800"} 
[2026-10-16 12:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 12:03:47] 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-10-16 12:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785881088001,"66":14189,"137":206,"83":42752,"24":28,"16":28136270626553856,"45":1934436808116854784},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 12:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785881088001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:03:47] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 12:03:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 12:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28136270626553856,"km_value":28136270626553.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934436808116854784,"description":"Unknown IO ID 45"} 
[2026-10-16 12:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785881088001,"power":14189,"unknown_137":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1934436808116854784}} 
[2026-10-16 12:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":216823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:03:47] local.INFO: GPS data processed {"connection_id":216823,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:03:47] local.INFO: Acknowledgment sent {"connection_id":216823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:03:54] local.INFO: TCP Data received {"connection_id":219902,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:03:54] local.INFO: Processing buffer {"connection_id":219902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:03:54] local.INFO: Packet analysis {"connection_id":219902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:03:54] local.INFO: Extracted packet for processing {"connection_id":219902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785783552001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792132268000,"timestamp_ms":1792132268000,"timestamp_seconds":1792132268,"priority":1,"record_length":96,"hex_timestamp":"000001a143683fe0"} 
[2026-10-16 12:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785783552001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785783552001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:03:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:03:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785783552001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":219902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:03:54] local.INFO: GPS data processed {"connection_id":219902,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:03:54] local.INFO: Acknowledgment sent {"connection_id":219902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:03:59] local.INFO: TCP Data received {"connection_id":216824,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:03:59] local.INFO: Processing buffer {"connection_id":216824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:03:59] local.INFO: Packet analysis {"connection_id":216824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:03:59] local.INFO: Extracted packet for processing {"connection_id":216824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785825280001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:03:59] 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-10-16 12:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792132431000,"timestamp_ms":1792132431000,"timestamp_seconds":1792132431,"priority":1,"record_length":96,"hex_timestamp":"000001a1436abc98"} 
[2026-10-16 12:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:03:59] 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-10-16 12:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785825280001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785825280001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:03:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:03:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785825280001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":216824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:03:59] local.INFO: GPS data processed {"connection_id":216824,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:03:59] local.INFO: Acknowledgment sent {"connection_id":216824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:04:07] local.INFO: TCP Data received {"connection_id":218174,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:04:07] local.INFO: Processing buffer {"connection_id":218174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:04:07] local.INFO: IMEI packet received {"connection_id":218174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":218174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:04:12] local.INFO: TCP Data received {"connection_id":218174,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:04:12] local.INFO: Processing buffer {"connection_id":218174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:04:12] local.INFO: IMEI packet received {"connection_id":218174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":218174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:04:20] local.INFO: TCP Data received {"connection_id":216626,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:04:20] local.INFO: Processing buffer {"connection_id":216626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:04:20] local.INFO: IMEI packet received {"connection_id":216626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":216626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:04:22] local.INFO: TCP Data received {"connection_id":216625,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:04:22] local.INFO: Processing buffer {"connection_id":216625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:04:22] local.INFO: IMEI packet received {"connection_id":216625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":216625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:04:23] local.INFO: TCP Data received {"connection_id":218174,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14369b2f8012d1aafc007242950002b00f527..."} 
[2026-10-16 12:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14369b2f8012d1aafc007242950002b00f527..."} 
[2026-10-16 12:04:23] local.INFO: Processing buffer {"connection_id":218174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14369b2f8012d1aafc007242950002b00f527..."} 
[2026-10-16 12:04:23] local.INFO: Packet analysis {"connection_id":218174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14369"} 
[2026-10-16 12:04:23] local.INFO: Extracted packet for processing {"connection_id":218174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14369"} 
[2026-10-16 12:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756723648,"raw_latitude":119810384,"longitude_deg":75.6723648,"latitude_deg":11.9810384,"altitude":43,"angle":245,"satellites":39,"speed":30,"hex_longitude":"2d1aafc0","hex_latitude":"07242950","is_valid_coordinates":true} 
[2026-10-16 12:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785882112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28136704418250752,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932044270814375936,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792132363000,"timestamp_ms":1792132363000,"timestamp_seconds":1792132363,"priority":1,"record_length":96,"hex_timestamp":"000001a14369b2f8"} 
[2026-10-16 12:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:04: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-10-16 12:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 12:04:23] 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-10-16 12:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785882112001,"66":14243,"41":206,"83":42752,"24":30,"16":28136704418250752,"45":1932044270814375936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,83,24,16,45]} 
[2026-10-16 12:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785882112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:04:23] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-10-16 12:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 12:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28136704418250752,"km_value":28136704418250.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932044270814375936,"description":"Unknown IO ID 45"} 
[2026-10-16 12:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785882112001,"power":14243,"unknown_41":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1932044270814375936}} 
[2026-10-16 12:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":218174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:04:24] local.INFO: GPS data processed {"connection_id":218174,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:04:24] local.INFO: Acknowledgment sent {"connection_id":218174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:04:26] local.INFO: TCP Data received {"connection_id":216626,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:04:26] local.INFO: Processing buffer {"connection_id":216626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:04:26] local.INFO: IMEI packet received {"connection_id":216626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":216626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:04:27] local.INFO: TCP Data received {"connection_id":216625,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:04:27] local.INFO: Processing buffer {"connection_id":216625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:04:27] local.INFO: IMEI packet received {"connection_id":216625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":216625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:04:27] local.INFO: TCP Data received {"connection_id":216626,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:04:27] local.INFO: Processing buffer {"connection_id":216626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:04:27] local.INFO: Packet analysis {"connection_id":216626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:04:27] local.INFO: Extracted packet for processing {"connection_id":216626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785825280001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:27] 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-10-16 12:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792132431000,"timestamp_ms":1792132431000,"timestamp_seconds":1792132431,"priority":1,"record_length":96,"hex_timestamp":"000001a1436abc98"} 
[2026-10-16 12:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785825280001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785825280001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:04:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:04:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785825280001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":216626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:04:27] local.INFO: GPS data processed {"connection_id":216626,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:04:27] local.INFO: Acknowledgment sent {"connection_id":216626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:04:28] local.INFO: TCP Data received {"connection_id":216625,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:04:28] local.INFO: Processing buffer {"connection_id":216625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:04:28] local.INFO: Packet analysis {"connection_id":216625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:04:28] local.INFO: Extracted packet for processing {"connection_id":216625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785783552001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792132268000,"timestamp_ms":1792132268000,"timestamp_seconds":1792132268,"priority":1,"record_length":96,"hex_timestamp":"000001a143683fe0"} 
[2026-10-16 12:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:04:28] 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-10-16 12:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785783552001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785783552001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:04:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:04:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785783552001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":216625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:04:28] local.INFO: GPS data processed {"connection_id":216625,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:04:28] local.INFO: Acknowledgment sent {"connection_id":216625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:04:33] local.INFO: TCP Data received {"connection_id":216625,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:04:33] local.INFO: Processing buffer {"connection_id":216625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:04:33] local.INFO: Packet analysis {"connection_id":216625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:04:33] local.INFO: Extracted packet for processing {"connection_id":216625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785783552001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792132268000,"timestamp_ms":1792132268000,"timestamp_seconds":1792132268,"priority":1,"record_length":96,"hex_timestamp":"000001a143683fe0"} 
[2026-10-16 12:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785783552001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785783552001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:04:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:04:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785783552001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":216625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:04:33] local.INFO: GPS data processed {"connection_id":216625,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:04:33] local.INFO: Acknowledgment sent {"connection_id":216625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:05:01] local.INFO: TCP Data received {"connection_id":216626,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:05:01] local.INFO: Processing buffer {"connection_id":216626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:05:01] local.INFO: Packet analysis {"connection_id":216626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:05:01] local.INFO: Extracted packet for processing {"connection_id":216626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785825280001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:01] 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-10-16 12:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792132431000,"timestamp_ms":1792132431000,"timestamp_seconds":1792132431,"priority":1,"record_length":96,"hex_timestamp":"000001a1436abc98"} 
[2026-10-16 12:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:05:01] 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-10-16 12:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785825280001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785825280001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:05:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:05:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785825280001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":216626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:05:01] local.INFO: GPS data processed {"connection_id":216626,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:05:01] local.INFO: Acknowledgment sent {"connection_id":216626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:05:26] local.INFO: TCP Data received {"connection_id":216825,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:05:26] local.INFO: Processing buffer {"connection_id":216825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:05:26] local.INFO: IMEI packet received {"connection_id":216825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":216825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:05:27] local.INFO: TCP Data received {"connection_id":218175,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:05:27] local.INFO: Processing buffer {"connection_id":218175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:05:27] local.INFO: IMEI packet received {"connection_id":218175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":218175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:05:27] local.INFO: TCP Data received {"connection_id":218175,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:05:27] local.INFO: Processing buffer {"connection_id":218175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:05:27] local.INFO: IMEI packet received {"connection_id":218175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":218175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:05:28] local.INFO: TCP Data received {"connection_id":218175,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:05:28] local.INFO: Processing buffer {"connection_id":218175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:05:28] local.INFO: Packet analysis {"connection_id":218175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:05:28] local.INFO: Extracted packet for processing {"connection_id":218175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785783552001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792132268000,"timestamp_ms":1792132268000,"timestamp_seconds":1792132268,"priority":1,"record_length":96,"hex_timestamp":"000001a143683fe0"} 
[2026-10-16 12:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:05:28] local.INFO: IO Element 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-10-16 12:05:28] 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-10-16 12:05: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-10-16 12:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785783552001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785783552001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:05:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:05:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785783552001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":218175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:05:28] local.INFO: GPS data processed {"connection_id":218175,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:05:28] local.INFO: Acknowledgment sent {"connection_id":218175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:05:31] local.INFO: TCP Data received {"connection_id":216825,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:05:31] local.INFO: Processing buffer {"connection_id":216825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:05:31] local.INFO: IMEI packet received {"connection_id":216825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":216825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:05:31] local.INFO: TCP Data received {"connection_id":216825,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:05:31] local.INFO: Processing buffer {"connection_id":216825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:05:31] local.INFO: Packet analysis {"connection_id":216825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:05:31] local.INFO: Extracted packet for processing {"connection_id":216825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785825280001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792132431000,"timestamp_ms":1792132431000,"timestamp_seconds":1792132431,"priority":1,"record_length":96,"hex_timestamp":"000001a1436abc98"} 
[2026-10-16 12:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:05:31] 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-10-16 12:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785825280001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785825280001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:05:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:05:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785825280001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":216825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:05:31] local.INFO: GPS data processed {"connection_id":216825,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:05:31] local.INFO: Acknowledgment sent {"connection_id":216825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:05:32] local.INFO: TCP Data received {"connection_id":218175,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:05:32] local.INFO: Processing buffer {"connection_id":218175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:05:32] local.INFO: Packet analysis {"connection_id":218175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:05:32] local.INFO: Extracted packet for processing {"connection_id":218175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785783552001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792132268000,"timestamp_ms":1792132268000,"timestamp_seconds":1792132268,"priority":1,"record_length":96,"hex_timestamp":"000001a143683fe0"} 
[2026-10-16 12:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785783552001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785783552001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:05:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:05:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785783552001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":218175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:05:32] local.INFO: GPS data processed {"connection_id":218175,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:05:32] local.INFO: Acknowledgment sent {"connection_id":218175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:05:36] local.INFO: TCP Data received {"connection_id":216628,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:05:36] local.INFO: Processing buffer {"connection_id":216628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:05:36] local.INFO: IMEI packet received {"connection_id":216628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":216628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:05:36] local.INFO: TCP Data received {"connection_id":216825,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:05:36] local.INFO: Processing buffer {"connection_id":216825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:05:36] local.INFO: Packet analysis {"connection_id":216825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:05:36] local.INFO: Extracted packet for processing {"connection_id":216825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785825280001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05: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-10-16 12:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792132431000,"timestamp_ms":1792132431000,"timestamp_seconds":1792132431,"priority":1,"record_length":96,"hex_timestamp":"000001a1436abc98"} 
[2026-10-16 12:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12: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-10-16 12:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785825280001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785825280001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:05:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:05:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785825280001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":216825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:05:36] local.INFO: GPS data processed {"connection_id":216825,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:05:36] local.INFO: Acknowledgment sent {"connection_id":216825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:05:45] local.INFO: TCP Data received {"connection_id":216628,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:05:45] local.INFO: Processing buffer {"connection_id":216628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:05:45] local.INFO: IMEI packet received {"connection_id":216628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":216628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:05:47] local.INFO: TCP Data received {"connection_id":216628,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:05:47] local.INFO: Processing buffer {"connection_id":216628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:05:47] local.INFO: IMEI packet received {"connection_id":216628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":216628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:05:49] local.INFO: TCP Data received {"connection_id":216628,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436bb2b0012d19728007238f10004100e822..."} 
[2026-10-16 12:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436bb2b0012d19728007238f10004100e822..."} 
[2026-10-16 12:05:49] local.INFO: Processing buffer {"connection_id":216628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436bb2b0012d19728007238f10004100e822..."} 
[2026-10-16 12:05:49] local.INFO: Packet analysis {"connection_id":216628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436b"} 
[2026-10-16 12:05:49] local.INFO: Extracted packet for processing {"connection_id":216628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436b"} 
[2026-10-16 12:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756642432,"raw_latitude":119770896,"longitude_deg":75.6642432,"latitude_deg":11.9770896,"altitude":65,"angle":232,"satellites":34,"speed":26,"hex_longitude":"2d197280","hex_latitude":"07238f10","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785917440001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28141231313780736,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147466223616,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:49] 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-10-16 12:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792132494000,"timestamp_ms":1792132494000,"timestamp_seconds":1792132494,"priority":1,"record_length":96,"hex_timestamp":"000001a1436bb2b0"} 
[2026-10-16 12:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 12:05:49] 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-10-16 12: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-10-16 12:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":216628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":216628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":216628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785917440001,"66":14265,"238":206,"83":43776,"24":26,"16":28141231313780736,"45":1836413147466223616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-10-16 12:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785917440001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:05:49] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-10-16 12:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-10-16 12:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28141231313780736,"km_value":28141231313780.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147466223616,"description":"Unknown IO ID 45"} 
[2026-10-16 12:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785917440001,"power":14265,"unknown_238":206,"unknown_83":43776,"ignition":26,"odometer":null,"unknown_45":1836413147466223616}} 
[2026-10-16 12:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":216628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:05:49] local.INFO: GPS data processed {"connection_id":216628,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:05:49] local.INFO: Acknowledgment sent {"connection_id":216628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:05:54] local.INFO: TCP Data received {"connection_id":216628,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436bbe68012d196d00072389c8004200dc23..."} 
[2026-10-16 12:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436bbe68012d196d00072389c8004200dc23..."} 
[2026-10-16 12:05:54] local.INFO: Processing buffer {"connection_id":216628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436bbe68012d196d00072389c8004200dc23..."} 
[2026-10-16 12:05:54] local.INFO: Packet analysis {"connection_id":216628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436b"} 
[2026-10-16 12:05:54] local.INFO: Extracted packet for processing {"connection_id":216628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436b"} 
[2026-10-16 12:05:54] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119769544,"longitude_deg":75.6641024,"latitude_deg":11.9769544,"altitude":66,"angle":220,"satellites":35,"speed":24,"hex_longitude":"2d196d00","hex_latitude":"072389c8","is_valid_coordinates":true} 
[2026-10-16 12:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785918464001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28141325803061248,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833668766442917888,"note":"Value kept but may cause issues"} 
[2026-10-16 12:05:54] 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-10-16 12:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792132497000,"timestamp_ms":1792132497000,"timestamp_seconds":1792132497,"priority":1,"record_length":96,"hex_timestamp":"000001a1436bbe68"} 
[2026-10-16 12:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 12:05: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-10-16 12:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785918464001,"66":14243,"238":206,"83":43776,"24":24,"16":28141325803061248,"45":1833668766442917888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-10-16 12:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785918464001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:05:54] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-10-16 12:05:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-10-16 12:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28141325803061248,"km_value":28141325803061.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833668766442917888,"description":"Unknown IO ID 45"} 
[2026-10-16 12:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785918464001,"power":14243,"unknown_238":206,"unknown_83":43776,"ignition":24,"odometer":null,"unknown_45":1833668766442917888}} 
[2026-10-16 12:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":216628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:05:54] local.INFO: GPS data processed {"connection_id":216628,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:05:54] local.INFO: Acknowledgment sent {"connection_id":216628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:06:11] local.INFO: TCP Data received {"connection_id":216629,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:06:11] local.INFO: Processing buffer {"connection_id":216629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:06:11] local.INFO: IMEI packet received {"connection_id":216629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":216629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:06:16] local.INFO: TCP Data received {"connection_id":216630,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:06:16] local.INFO: Processing buffer {"connection_id":216630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:06:16] local.INFO: IMEI packet received {"connection_id":216630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":216630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:06:21] local.INFO: TCP Data received {"connection_id":216826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:06:21] local.INFO: Processing buffer {"connection_id":216826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:06:21] local.INFO: IMEI packet received {"connection_id":216826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":216826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:06:22] local.INFO: TCP Data received {"connection_id":216630,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:06:22] local.INFO: Processing buffer {"connection_id":216630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:06:22] local.INFO: IMEI packet received {"connection_id":216630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":216630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:06:23] local.INFO: TCP Data received {"connection_id":216630,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:06:23] local.INFO: Processing buffer {"connection_id":216630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143683fe0012d7fa40005afce580009000a32..."} 
[2026-10-16 12:06:23] local.INFO: Packet analysis {"connection_id":216630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:06:23] local.INFO: Extracted packet for processing {"connection_id":216630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14368"} 
[2026-10-16 12:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":50,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785783552001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792132268000,"timestamp_ms":1792132268000,"timestamp_seconds":1792132268,"priority":1,"record_length":96,"hex_timestamp":"000001a143683fe0"} 
[2026-10-16 12:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:06:23] 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-10-16 12:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785783552001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785783552001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:06:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:06:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785783552001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":216630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:06:23] local.INFO: GPS data processed {"connection_id":216630,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:06:23] local.INFO: Acknowledgment sent {"connection_id":216630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:06:26] local.INFO: TCP Data received {"connection_id":216826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:06:26] local.INFO: Processing buffer {"connection_id":216826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:06:26] local.INFO: IMEI packet received {"connection_id":216826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":216826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:06:27] local.INFO: TCP Data received {"connection_id":216826,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:06:27] local.INFO: Processing buffer {"connection_id":216826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:06:27] local.INFO: Packet analysis {"connection_id":216826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:06:27] local.INFO: Extracted packet for processing {"connection_id":216826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785825280001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:27] 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-10-16 12:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792132431000,"timestamp_ms":1792132431000,"timestamp_seconds":1792132431,"priority":1,"record_length":96,"hex_timestamp":"000001a1436abc98"} 
[2026-10-16 12:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:06: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-10-16 12:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785825280001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785825280001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:06:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:06:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785825280001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":216826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:06:27] local.INFO: GPS data processed {"connection_id":216826,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:06:27] local.INFO: Acknowledgment sent {"connection_id":216826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:06:51] local.INFO: TCP Data received {"connection_id":216827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:06:51] local.INFO: Processing buffer {"connection_id":216827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:06:51] local.INFO: IMEI packet received {"connection_id":216827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":216827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:06:55] local.INFO: TCP Data received {"connection_id":216630,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:06:55] local.INFO: Processing buffer {"connection_id":216630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:06:55] local.INFO: Packet analysis {"connection_id":216630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:06:55] local.INFO: Extracted packet for processing {"connection_id":216630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785860608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792132569000,"timestamp_ms":1792132569000,"timestamp_seconds":1792132569,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cd7a8"} 
[2026-10-16 12:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:06:55] 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-10-16 12:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785860608001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785860608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:06:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:06:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785860608001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":216630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:06:55] local.INFO: GPS data processed {"connection_id":216630,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:06:55] local.INFO: Acknowledgment sent {"connection_id":216630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:06:56] local.INFO: TCP Data received {"connection_id":216631,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:06:56] local.INFO: Processing buffer {"connection_id":216631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:06:56] local.INFO: IMEI packet received {"connection_id":216631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":216631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:06:58] local.INFO: TCP Data received {"connection_id":216826,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:06:58] local.INFO: Processing buffer {"connection_id":216826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:06:58] local.INFO: Packet analysis {"connection_id":216826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:06:58] local.INFO: Extracted packet for processing {"connection_id":216826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:06: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-10-16 12:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785825280001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:06:58] 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-10-16 12:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792132431000,"timestamp_ms":1792132431000,"timestamp_seconds":1792132431,"priority":1,"record_length":96,"hex_timestamp":"000001a1436abc98"} 
[2026-10-16 12:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:06: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-10-16 12:06: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-10-16 12:06: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-10-16 12:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:06:58] 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-10-16 12:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785825280001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785825280001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:06:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785825280001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":216826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:06:58] local.INFO: GPS data processed {"connection_id":216826,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:06:58] local.INFO: Acknowledgment sent {"connection_id":216826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:07:09] local.INFO: TCP Data received {"connection_id":219903,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:07:09] local.INFO: Processing buffer {"connection_id":219903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:07:09] local.INFO: IMEI packet received {"connection_id":219903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":219903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:07:12] local.INFO: TCP Data received {"connection_id":219903,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:07:12] local.INFO: Processing buffer {"connection_id":219903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:07:12] local.INFO: IMEI packet received {"connection_id":219903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":219903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:07:16] local.INFO: TCP Data received {"connection_id":219904,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:07:16] local.INFO: Processing buffer {"connection_id":219904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:07:16] local.INFO: IMEI packet received {"connection_id":219904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":219904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:07:17] local.INFO: TCP Data received {"connection_id":219903,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:07:17] local.INFO: Processing buffer {"connection_id":219903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:07:17] local.INFO: IMEI packet received {"connection_id":219903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":219903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:07:20] local.INFO: TCP Data received {"connection_id":219903,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cef18012d18bd800722ff90005e00e725..."} 
[2026-10-16 12:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cef18012d18bd800722ff90005e00e725..."} 
[2026-10-16 12:07:20] local.INFO: Processing buffer {"connection_id":219903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cef18012d18bd800722ff90005e00e725..."} 
[2026-10-16 12:07:20] local.INFO: Packet analysis {"connection_id":219903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:07:20] local.INFO: Extracted packet for processing {"connection_id":219903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756596096,"raw_latitude":119734160,"longitude_deg":75.6596096,"latitude_deg":11.973416,"altitude":94,"angle":231,"satellites":37,"speed":34,"hex_longitude":"2d18bd80","hex_latitude":"0722ff90","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785938688001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28144396704677888,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276765194240,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:20] 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-10-16 12:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792132575000,"timestamp_ms":1792132575000,"timestamp_seconds":1792132575,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cef18"} 
[2026-10-16 12:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:07: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-10-16 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 12:07:20] 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-10-16 12: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-10-16 12:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":219903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":219903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":219903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785938688001,"66":13972,"137":206,"83":42752,"24":34,"16":28144396704677888,"45":1784340276765194240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-10-16 12:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785938688001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:07:20] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 12:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-10-16 12:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28144396704677888,"km_value":28144396704677.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276765194240,"description":"Unknown IO ID 45"} 
[2026-10-16 12:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785938688001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1784340276765194240}} 
[2026-10-16 12:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":219903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:07:20] local.INFO: GPS data processed {"connection_id":219903,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:07:20] local.INFO: Acknowledgment sent {"connection_id":219903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:07:21] local.INFO: TCP Data received {"connection_id":219905,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:07:21] local.INFO: Processing buffer {"connection_id":219905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:07:21] local.INFO: IMEI packet received {"connection_id":219905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":219905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:07:21] local.INFO: TCP Data received {"connection_id":219904,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:07:21] local.INFO: Processing buffer {"connection_id":219904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:07:21] local.INFO: IMEI packet received {"connection_id":219904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":219904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:07:22] local.INFO: TCP Data received {"connection_id":219904,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:07:22] local.INFO: Processing buffer {"connection_id":219904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:07:22] local.INFO: Packet analysis {"connection_id":219904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:07:22] local.INFO: Extracted packet for processing {"connection_id":219904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785860608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792132569000,"timestamp_ms":1792132569000,"timestamp_seconds":1792132569,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cd7a8"} 
[2026-10-16 12:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:07:22] 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-10-16 12: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-10-16 12:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785860608001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785860608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:07:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:07:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785860608001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":219904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:07:22] local.INFO: GPS data processed {"connection_id":219904,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:07:22] local.INFO: Acknowledgment sent {"connection_id":219904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:07:25] local.INFO: TCP Data received {"connection_id":219905,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:07:25] local.INFO: Processing buffer {"connection_id":219905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:07:25] local.INFO: IMEI packet received {"connection_id":219905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":219905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:07:26] local.INFO: TCP Data received {"connection_id":219905,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:07:26] local.INFO: Processing buffer {"connection_id":219905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:07:26] local.INFO: Packet analysis {"connection_id":219905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:07:26] local.INFO: Extracted packet for processing {"connection_id":219905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785825280001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:26] 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-10-16 12:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792132431000,"timestamp_ms":1792132431000,"timestamp_seconds":1792132431,"priority":1,"record_length":96,"hex_timestamp":"000001a1436abc98"} 
[2026-10-16 12:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:07: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-10-16 12:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:07:26] 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-10-16 12:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785825280001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785825280001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:07:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:07:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785825280001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":219905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:07:26] local.INFO: GPS data processed {"connection_id":219905,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:07:26] local.INFO: Acknowledgment sent {"connection_id":219905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:07:53] local.INFO: TCP Data received {"connection_id":219904,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:07:53] local.INFO: Processing buffer {"connection_id":219904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:07:53] local.INFO: Packet analysis {"connection_id":219904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:07:53] local.INFO: Extracted packet for processing {"connection_id":219904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:07:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785860608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792132569000,"timestamp_ms":1792132569000,"timestamp_seconds":1792132569,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cd7a8"} 
[2026-10-16 12:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:07: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-10-16 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":219904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":219904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":219904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785860608001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785860608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:07:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:07:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785860608001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":219904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:07:54] local.INFO: GPS data processed {"connection_id":219904,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:07:54] local.INFO: Acknowledgment sent {"connection_id":219904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:07:57] local.INFO: TCP Data received {"connection_id":219903,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436dae80012d188c8007224ec8005d00d526..."} 
[2026-10-16 12:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436dae80012d188c8007224ec8005d00d526..."} 
[2026-10-16 12:07:57] local.INFO: Processing buffer {"connection_id":219903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436dae80012d188c8007224ec8005d00d526..."} 
[2026-10-16 12:07:57] local.INFO: Packet analysis {"connection_id":219903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436d"} 
[2026-10-16 12:07:57] local.INFO: Extracted packet for processing {"connection_id":219903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436d"} 
[2026-10-16 12:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756583552,"raw_latitude":119688904,"longitude_deg":75.6583552,"latitude_deg":11.9688904,"altitude":93,"angle":213,"satellites":38,"speed":52,"hex_longitude":"2d188c80","hex_latitude":"07224ec8","is_valid_coordinates":true} 
[2026-10-16 12:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785949696001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28146758936690688,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774559021314889728,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792132624000,"timestamp_ms":1792132624000,"timestamp_seconds":1792132624,"priority":1,"record_length":96,"hex_timestamp":"000001a1436dae80"} 
[2026-10-16 12:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-16 12:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785949696001,"66":13972,"105":206,"83":41984,"24":52,"16":28146758936690688,"45":1774559021314889728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 12:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785949696001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:07:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 12:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28146758936690688,"km_value":28146758936690.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774559021314889728,"description":"Unknown IO ID 45"} 
[2026-10-16 12:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785949696001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1774559021314889728}} 
[2026-10-16 12:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":219903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:07:57] local.INFO: GPS data processed {"connection_id":219903,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:07:57] local.INFO: Acknowledgment sent {"connection_id":219903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:07:58] local.INFO: TCP Data received {"connection_id":219905,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:07:58] local.INFO: Processing buffer {"connection_id":219905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:07:58] local.INFO: Packet analysis {"connection_id":219905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:07:58] local.INFO: Extracted packet for processing {"connection_id":219905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785825280001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:07:58] 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-10-16 12:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792132431000,"timestamp_ms":1792132431000,"timestamp_seconds":1792132431,"priority":1,"record_length":96,"hex_timestamp":"000001a1436abc98"} 
[2026-10-16 12:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:07: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-10-16 12:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:07:58] 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-10-16 12:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785825280001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785825280001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:07:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:07:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785825280001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":219905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:07:58] local.INFO: GPS data processed {"connection_id":219905,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:07:58] local.INFO: Acknowledgment sent {"connection_id":219905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:08:07] local.INFO: TCP Data received {"connection_id":216632,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:08:07] local.INFO: Processing buffer {"connection_id":216632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:08:07] local.INFO: IMEI packet received {"connection_id":216632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":216632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:08:11] local.INFO: TCP Data received {"connection_id":216632,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:08:11] local.INFO: Processing buffer {"connection_id":216632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:08:11] local.INFO: IMEI packet received {"connection_id":216632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":216632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:08:16] local.INFO: TCP Data received {"connection_id":216632,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436dc9d8012d18774007222ee8005800d426..."} 
[2026-10-16 12:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436dc9d8012d18774007222ee8005800d426..."} 
[2026-10-16 12:08:16] local.INFO: Processing buffer {"connection_id":216632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436dc9d8012d18774007222ee8005800d426..."} 
[2026-10-16 12:08:16] local.INFO: Packet analysis {"connection_id":216632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436d"} 
[2026-10-16 12:08:16] local.INFO: Extracted packet for processing {"connection_id":216632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436d"} 
[2026-10-16 12:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756578112,"raw_latitude":119680744,"longitude_deg":75.6578112,"latitude_deg":11.9680744,"altitude":88,"angle":212,"satellites":38,"speed":57,"hex_longitude":"2d187740","hex_latitude":"07222ee8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785951744001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28147231383093248,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768929521778477056,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792132631000,"timestamp_ms":1792132631000,"timestamp_seconds":1792132631,"priority":1,"record_length":96,"hex_timestamp":"000001a1436dc9d8"} 
[2026-10-16 12:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-16 12:08:16] 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-10-16 12: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-10-16 12:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785951744001,"66":14070,"105":206,"83":41984,"24":57,"16":28147231383093248,"45":1768929521778477056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 12:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785951744001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:08:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 12:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28147231383093248,"km_value":28147231383093.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768929521778477056,"description":"Unknown IO ID 45"} 
[2026-10-16 12:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785951744001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":57,"odometer":null,"unknown_45":1768929521778477056}} 
[2026-10-16 12:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":216632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:08:16] local.INFO: GPS data processed {"connection_id":216632,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:08:16] local.INFO: Acknowledgment sent {"connection_id":216632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:08:21] local.INFO: TCP Data received {"connection_id":216828,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:08:21] local.INFO: Processing buffer {"connection_id":216828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:08:21] local.INFO: IMEI packet received {"connection_id":216828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":216828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:08:22] local.INFO: TCP Data received {"connection_id":216633,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:08:22] local.INFO: Processing buffer {"connection_id":216633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:08:22] local.INFO: IMEI packet received {"connection_id":216633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":216633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:08:26] local.INFO: TCP Data received {"connection_id":216828,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:08:26] local.INFO: Processing buffer {"connection_id":216828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:08:26] local.INFO: IMEI packet received {"connection_id":216828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":216828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:08:27] local.INFO: TCP Data received {"connection_id":216633,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:08:27] local.INFO: TCP Data received {"connection_id":216828,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:08:27] local.INFO: Processing buffer {"connection_id":216633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:08:27] local.INFO: IMEI packet received {"connection_id":216633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":216633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:08:27] local.INFO: Processing buffer {"connection_id":216828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436abc98012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:08:27] local.INFO: Packet analysis {"connection_id":216828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:08:27] local.INFO: Extracted packet for processing {"connection_id":216828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436a"} 
[2026-10-16 12:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785825280001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:27] 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-10-16 12:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792132431000,"timestamp_ms":1792132431000,"timestamp_seconds":1792132431,"priority":1,"record_length":96,"hex_timestamp":"000001a1436abc98"} 
[2026-10-16 12:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785825280001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785825280001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:08:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:08:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785825280001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":216828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:08:27] local.INFO: GPS data processed {"connection_id":216828,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:08:27] local.INFO: Acknowledgment sent {"connection_id":216828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:08:28] local.INFO: TCP Data received {"connection_id":216633,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:08:28] local.INFO: Processing buffer {"connection_id":216633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:08:28] local.INFO: Packet analysis {"connection_id":216633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:08:28] local.INFO: Extracted packet for processing {"connection_id":216633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785860608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792132569000,"timestamp_ms":1792132569000,"timestamp_seconds":1792132569,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cd7a8"} 
[2026-10-16 12:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:08:28] 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-10-16 12:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785860608001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785860608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:08:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:08:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785860608001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":216633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:08:28] local.INFO: GPS data processed {"connection_id":216633,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:08:28] local.INFO: Acknowledgment sent {"connection_id":216633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:08:32] local.INFO: TCP Data received {"connection_id":216633,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:08:32] local.INFO: Processing buffer {"connection_id":216633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:08:32] local.INFO: Packet analysis {"connection_id":216633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:08:32] local.INFO: Extracted packet for processing {"connection_id":216633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785860608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792132569000,"timestamp_ms":1792132569000,"timestamp_seconds":1792132569,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cd7a8"} 
[2026-10-16 12:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785860608001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785860608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:08:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785860608001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":216633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:08:32] local.INFO: GPS data processed {"connection_id":216633,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:08:32] local.INFO: Acknowledgment sent {"connection_id":216633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:08:47] local.INFO: TCP Data received {"connection_id":216632,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436de530012d1860c007220da8005200d426..."} 
[2026-10-16 12:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436de530012d1860c007220da8005200d426..."} 
[2026-10-16 12:08:47] local.INFO: Processing buffer {"connection_id":216632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436de530012d1860c007220da8005200d426..."} 
[2026-10-16 12:08:47] local.INFO: Packet analysis {"connection_id":216632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436d"} 
[2026-10-16 12:08:47] local.INFO: Extracted packet for processing {"connection_id":216632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436d"} 
[2026-10-16 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756572352,"raw_latitude":119672232,"longitude_deg":75.6572352,"latitude_deg":11.9672232,"altitude":82,"angle":212,"satellites":38,"speed":58,"hex_longitude":"2d1860c0","hex_latitude":"07220da8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785953536001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28147725304332288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762948178521286656,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792132638000,"timestamp_ms":1792132638000,"timestamp_seconds":1792132638,"priority":1,"record_length":96,"hex_timestamp":"000001a1436de530"} 
[2026-10-16 12:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-16 12:08:47] 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-10-16 12: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-10-16 12:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785953536001,"66":14004,"105":206,"83":41984,"24":58,"16":28147725304332288,"45":1762948178521286656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 12:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785953536001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:08:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 12:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28147725304332288,"km_value":28147725304332.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762948178521286656,"description":"Unknown IO ID 45"} 
[2026-10-16 12:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785953536001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":58,"odometer":null,"unknown_45":1762948178521286656}} 
[2026-10-16 12:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":216632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:08:47] local.INFO: GPS data processed {"connection_id":216632,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:08:47] local.INFO: Acknowledgment sent {"connection_id":216632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:08:58] local.INFO: TCP Data received {"connection_id":216828,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:08:58] local.INFO: Processing buffer {"connection_id":216828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:08:58] local.INFO: Packet analysis {"connection_id":216828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:08:58] local.INFO: Extracted packet for processing {"connection_id":216828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785902336001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:08:58] 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-10-16 12:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792132732000,"timestamp_ms":1792132732000,"timestamp_seconds":1792132732,"priority":1,"record_length":96,"hex_timestamp":"000001a1436f5460"} 
[2026-10-16 12:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785902336001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785902336001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:08:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:08:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785902336001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":216828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:08:58] local.INFO: GPS data processed {"connection_id":216828,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:08:58] local.INFO: Acknowledgment sent {"connection_id":216828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:09:07] local.INFO: TCP Data received {"connection_id":218177,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:09:07] local.INFO: Processing buffer {"connection_id":218177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:09:07] local.INFO: IMEI packet received {"connection_id":218177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":218177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:09:12] local.INFO: TCP Data received {"connection_id":218177,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:09:12] local.INFO: Processing buffer {"connection_id":218177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:09:12] local.INFO: IMEI packet received {"connection_id":218177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":218177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:09:13] local.INFO: TCP Data received {"connection_id":218177,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436e0088012d184c400721ef30004d00d626..."} 
[2026-10-16 12:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436e0088012d184c400721ef30004d00d626..."} 
[2026-10-16 12:09:13] local.INFO: Processing buffer {"connection_id":218177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436e0088012d184c400721ef30004d00d626..."} 
[2026-10-16 12:09:13] local.INFO: Packet analysis {"connection_id":218177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:09:13] local.INFO: Extracted packet for processing {"connection_id":218177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:09:13] local.INFO: GPS Element Parsed {"raw_longitude":756567104,"raw_latitude":119664432,"longitude_deg":75.6567104,"latitude_deg":11.9664432,"altitude":77,"angle":214,"satellites":38,"speed":52,"hex_longitude":"2d184c40","hex_latitude":"0721ef30","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785955328001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28148180570865664,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756614991543117824,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792132645000,"timestamp_ms":1792132645000,"timestamp_seconds":1792132645,"priority":1,"record_length":96,"hex_timestamp":"000001a1436e0088"} 
[2026-10-16 12:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:09: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-10-16 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 12:09:13] 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-10-16 12: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-10-16 12:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785955328001,"66":13906,"105":206,"83":41984,"24":52,"16":28148180570865664,"45":1756614991543117824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 12:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785955328001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:09:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 12:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28148180570865664,"km_value":28148180570865.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756614991543117824,"description":"Unknown IO ID 45"} 
[2026-10-16 12:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785955328001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1756614991543117824}} 
[2026-10-16 12:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":218177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:09:13] local.INFO: GPS data processed {"connection_id":218177,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:09:13] local.INFO: Acknowledgment sent {"connection_id":218177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:09:16] local.INFO: TCP Data received {"connection_id":216634,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:09:16] local.INFO: Processing buffer {"connection_id":216634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:09:16] local.INFO: IMEI packet received {"connection_id":216634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":216634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:09:20] local.INFO: TCP Data received {"connection_id":216829,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:09:20] local.INFO: Processing buffer {"connection_id":216829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:09:20] local.INFO: IMEI packet received {"connection_id":216829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":216829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:09:21] local.INFO: TCP Data received {"connection_id":216634,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:09:21] local.INFO: Processing buffer {"connection_id":216634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:09:21] local.INFO: IMEI packet received {"connection_id":216634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":216634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:09:22] local.INFO: TCP Data received {"connection_id":216634,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:09:22] local.INFO: Processing buffer {"connection_id":216634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:09:22] local.INFO: Packet analysis {"connection_id":216634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:09:22] local.INFO: Extracted packet for processing {"connection_id":216634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785860608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792132569000,"timestamp_ms":1792132569000,"timestamp_seconds":1792132569,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cd7a8"} 
[2026-10-16 12:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:09:22] 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-10-16 12:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785860608001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785860608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:09:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:09:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785860608001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":216634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:09:22] local.INFO: GPS data processed {"connection_id":216634,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:09:22] local.INFO: Acknowledgment sent {"connection_id":216634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:09:26] local.INFO: TCP Data received {"connection_id":216829,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:09:26] local.INFO: Processing buffer {"connection_id":216829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:09:26] local.INFO: IMEI packet received {"connection_id":216829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":216829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:09:27] local.INFO: TCP Data received {"connection_id":216829,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:09:27] local.INFO: Processing buffer {"connection_id":216829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:09:27] local.INFO: Packet analysis {"connection_id":216829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:09:27] local.INFO: Extracted packet for processing {"connection_id":216829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785902336001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:27] 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-10-16 12:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792132732000,"timestamp_ms":1792132732000,"timestamp_seconds":1792132732,"priority":1,"record_length":96,"hex_timestamp":"000001a1436f5460"} 
[2026-10-16 12:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:09:27] 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-10-16 12: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-10-16 12:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785902336001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785902336001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:09:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:09:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785902336001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":216829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:09:27] local.INFO: GPS data processed {"connection_id":216829,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:09:27] local.INFO: Acknowledgment sent {"connection_id":216829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:09:44] local.INFO: TCP Data received {"connection_id":218177,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436e1be0012d1837800721d128004900d526..."} 
[2026-10-16 12:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436e1be0012d1837800721d128004900d526..."} 
[2026-10-16 12:09:44] local.INFO: Processing buffer {"connection_id":218177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436e1be0012d1837800721d128004900d526..."} 
[2026-10-16 12:09:44] local.INFO: Packet analysis {"connection_id":218177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:09:44] local.INFO: Extracted packet for processing {"connection_id":218177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756561792,"raw_latitude":119656744,"longitude_deg":75.6561792,"latitude_deg":11.9656744,"altitude":73,"angle":213,"satellites":38,"speed":53,"hex_longitude":"2d183780","hex_latitude":"0721d128","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785957120001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28148627247464448,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1750844754518552576,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792132652000,"timestamp_ms":1792132652000,"timestamp_seconds":1792132652,"priority":1,"record_length":96,"hex_timestamp":"000001a1436e1be0"} 
[2026-10-16 12:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:09: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-10-16 12: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-16 12:09:44] 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-10-16 12: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-10-16 12:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785957120001,"66":14004,"105":206,"83":41984,"24":53,"16":28148627247464448,"45":1750844754518552576},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 12:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785957120001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:09:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 12:09:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28148627247464448,"km_value":28148627247464.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1750844754518552576,"description":"Unknown IO ID 45"} 
[2026-10-16 12:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785957120001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1750844754518552576}} 
[2026-10-16 12:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":218177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:09:44] local.INFO: GPS data processed {"connection_id":218177,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:09:44] local.INFO: Acknowledgment sent {"connection_id":218177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:09:53] local.INFO: TCP Data received {"connection_id":216634,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:09:53] local.INFO: Processing buffer {"connection_id":216634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:09:53] local.INFO: Packet analysis {"connection_id":216634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:09:53] local.INFO: Extracted packet for processing {"connection_id":216634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785860608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792132569000,"timestamp_ms":1792132569000,"timestamp_seconds":1792132569,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cd7a8"} 
[2026-10-16 12:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:09: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-10-16 12:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785860608001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785860608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:09:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:09:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785860608001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":216634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:09:54] local.INFO: GPS data processed {"connection_id":216634,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:09:54] local.INFO: Acknowledgment sent {"connection_id":216634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:09:58] local.INFO: TCP Data received {"connection_id":216829,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:09:58] local.INFO: Processing buffer {"connection_id":216829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:09:58] local.INFO: Packet analysis {"connection_id":216829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:09:58] local.INFO: Extracted packet for processing {"connection_id":216829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785902336001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:09:58] 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-10-16 12:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792132732000,"timestamp_ms":1792132732000,"timestamp_seconds":1792132732,"priority":1,"record_length":96,"hex_timestamp":"000001a1436f5460"} 
[2026-10-16 12:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785902336001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785902336001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:09:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:09:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785902336001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":216829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:09:58] local.INFO: GPS data processed {"connection_id":216829,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:09:58] local.INFO: Acknowledgment sent {"connection_id":216829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:10:08] local.INFO: TCP Data received {"connection_id":218179,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:10:08] local.INFO: Processing buffer {"connection_id":218179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:10:08] local.INFO: IMEI packet received {"connection_id":218179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":218179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:10:13] local.INFO: TCP Data received {"connection_id":218179,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:10:13] local.INFO: Processing buffer {"connection_id":218179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:10:13] local.INFO: IMEI packet received {"connection_id":218179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":218179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:10:13] local.INFO: TCP Data received {"connection_id":218179,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436e3b20012d1823000721b138004700d327..."} 
[2026-10-16 12:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436e3b20012d1823000721b138004700d327..."} 
[2026-10-16 12:10:13] local.INFO: Processing buffer {"connection_id":218179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436e3b20012d1823000721b138004700d327..."} 
[2026-10-16 12:10:13] local.INFO: Packet analysis {"connection_id":218179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:10:13] local.INFO: Extracted packet for processing {"connection_id":218179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:10:13] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119648568,"longitude_deg":75.6556544,"latitude_deg":11.9648568,"altitude":71,"angle":211,"satellites":39,"speed":41,"hex_longitude":"2d182300","hex_latitude":"0721b138","is_valid_coordinates":true} 
[2026-10-16 12:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785958912001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149095398899712,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745004148749838336,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792132660000,"timestamp_ms":1792132660000,"timestamp_seconds":1792132660,"priority":1,"record_length":96,"hex_timestamp":"000001a1436e3b20"} 
[2026-10-16 12:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:10: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-10-16 12:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-10-16 12:10:13] 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-10-16 12:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785958912001,"66":12841,"107":206,"83":41984,"24":41,"16":28149095398899712,"45":1745004148749838336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-16 12:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785958912001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:10:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-16 12:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149095398899712,"km_value":28149095398899.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745004148749838336,"description":"Unknown IO ID 45"} 
[2026-10-16 12:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785958912001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1745004148749838336}} 
[2026-10-16 12:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":218179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:10:14] local.INFO: GPS data processed {"connection_id":218179,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:10:14] local.INFO: Acknowledgment sent {"connection_id":218179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:10:16] local.INFO: TCP Data received {"connection_id":218180,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:10:16] local.INFO: Processing buffer {"connection_id":218180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:10:16] local.INFO: IMEI packet received {"connection_id":218180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":218180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:10:20] local.INFO: TCP Data received {"connection_id":216635,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:10:20] local.INFO: Processing buffer {"connection_id":216635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:10:20] local.INFO: IMEI packet received {"connection_id":216635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":216635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:10:22] local.INFO: TCP Data received {"connection_id":218180,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:10:22] local.INFO: Processing buffer {"connection_id":218180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:10:22] local.INFO: IMEI packet received {"connection_id":218180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":218180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:10:23] local.INFO: TCP Data received {"connection_id":218180,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:10:23] local.INFO: Processing buffer {"connection_id":218180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:10:23] local.INFO: Packet analysis {"connection_id":218180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:10:23] local.INFO: Extracted packet for processing {"connection_id":218180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785860608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792132569000,"timestamp_ms":1792132569000,"timestamp_seconds":1792132569,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cd7a8"} 
[2026-10-16 12:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:10:23] 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-10-16 12: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-10-16 12:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785860608001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785860608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:10:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:10:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785860608001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":218180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:10:23] local.INFO: GPS data processed {"connection_id":218180,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:10:23] local.INFO: Acknowledgment sent {"connection_id":218180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:10:26] local.INFO: TCP Data received {"connection_id":216635,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:10:26] local.INFO: Processing buffer {"connection_id":216635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:10:26] local.INFO: IMEI packet received {"connection_id":216635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":216635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:10:26] local.INFO: TCP Data received {"connection_id":216635,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:10:26] local.INFO: Processing buffer {"connection_id":216635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:10:26] local.INFO: Packet analysis {"connection_id":216635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:10:26] local.INFO: Extracted packet for processing {"connection_id":216635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:10:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785902336001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:26] 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-10-16 12:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792132732000,"timestamp_ms":1792132732000,"timestamp_seconds":1792132732,"priority":1,"record_length":96,"hex_timestamp":"000001a1436f5460"} 
[2026-10-16 12:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:10:26] 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-10-16 12:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785902336001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785902336001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:10:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:10:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785902336001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":216635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:10:27] local.INFO: GPS data processed {"connection_id":216635,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:10:27] local.INFO: Acknowledgment sent {"connection_id":216635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:10:45] local.INFO: TCP Data received {"connection_id":218179,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436e6de8012d18118007219468004500e426..."} 
[2026-10-16 12:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436e6de8012d18118007219468004500e426..."} 
[2026-10-16 12:10:45] local.INFO: Processing buffer {"connection_id":218179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436e6de8012d18118007219468004500e426..."} 
[2026-10-16 12:10:45] local.INFO: Packet analysis {"connection_id":218179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:10:45] local.INFO: Extracted packet for processing {"connection_id":218179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756552064,"raw_latitude":119641192,"longitude_deg":75.6552064,"latitude_deg":11.9641192,"altitude":69,"angle":228,"satellites":38,"speed":10,"hex_longitude":"2d181180","hex_latitude":"07219468","is_valid_coordinates":true} 
[2026-10-16 12:10: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-10-16 12:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785960960001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149516305694720,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725176832,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792132673000,"timestamp_ms":1792132673000,"timestamp_seconds":1792132673,"priority":1,"record_length":96,"hex_timestamp":"000001a1436e6de8"} 
[2026-10-16 12:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:10: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-10-16 12:10: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-10-16 12:10: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-10-16 12:10: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-10-16 12:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785960960001,"66":13222,"107":206,"83":41984,"24":10,"16":28149516305694720,"45":1739233911725176832},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-16 12:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785960960001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:10:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-16 12:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149516305694720,"km_value":28149516305694.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725176832,"description":"Unknown IO ID 45"} 
[2026-10-16 12:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785960960001,"power":13222,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1739233911725176832}} 
[2026-10-16 12:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":218179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:10:45] local.INFO: GPS data processed {"connection_id":218179,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:10:45] local.INFO: Acknowledgment sent {"connection_id":218179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:10:54] local.INFO: TCP Data received {"connection_id":218180,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:10:54] local.INFO: Processing buffer {"connection_id":218180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:10:54] local.INFO: Packet analysis {"connection_id":218180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:10:54] local.INFO: Extracted packet for processing {"connection_id":218180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785860608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792132569000,"timestamp_ms":1792132569000,"timestamp_seconds":1792132569,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cd7a8"} 
[2026-10-16 12:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:10:54] 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-10-16 12:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785860608001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785860608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:10:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:10:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785860608001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":218180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:10:54] local.INFO: GPS data processed {"connection_id":218180,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:10:54] local.INFO: Acknowledgment sent {"connection_id":218180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:10:58] local.INFO: TCP Data received {"connection_id":216635,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:10:58] local.INFO: Processing buffer {"connection_id":216635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:10:58] local.INFO: Packet analysis {"connection_id":216635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:10:58] local.INFO: Extracted packet for processing {"connection_id":216635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785902336001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:10:58] 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-10-16 12:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792132732000,"timestamp_ms":1792132732000,"timestamp_seconds":1792132732,"priority":1,"record_length":96,"hex_timestamp":"000001a1436f5460"} 
[2026-10-16 12:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785902336001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785902336001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:10:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:10:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785902336001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":216635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:10:58] local.INFO: GPS data processed {"connection_id":216635,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:10:58] local.INFO: Acknowledgment sent {"connection_id":216635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:11:07] local.INFO: TCP Data received {"connection_id":219907,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:11:07] local.INFO: Processing buffer {"connection_id":219907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:11:07] local.INFO: IMEI packet received {"connection_id":219907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":219907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:11:12] local.INFO: TCP Data received {"connection_id":219907,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:11:12] local.INFO: Processing buffer {"connection_id":219907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:11:12] local.INFO: IMEI packet received {"connection_id":219907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":219907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:11:15] local.INFO: TCP Data received {"connection_id":219907,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436e8170012d180ec0072193500046010d26..."} 
[2026-10-16 12:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436e8170012d180ec0072193500046010d26..."} 
[2026-10-16 12:11:15] local.INFO: Processing buffer {"connection_id":219907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436e8170012d180ec0072193500046010d26..."} 
[2026-10-16 12:11:15] local.INFO: Packet analysis {"connection_id":219907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:11:15] local.INFO: Extracted packet for processing {"connection_id":219907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756551360,"raw_latitude":119640912,"longitude_deg":75.655136,"latitude_deg":11.9640912,"altitude":70,"angle":269,"satellites":38,"speed":6,"hex_longitude":"2d180ec0","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785964288001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149550665433088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734308099630852096,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792132678000,"timestamp_ms":1792132678000,"timestamp_seconds":1792132678,"priority":1,"record_length":96,"hex_timestamp":"000001a1436e8170"} 
[2026-10-16 12:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:11:15] 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-10-16 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-10-16 12:11:15] 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-10-16 12: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-10-16 12:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":219907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":219907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":219907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785964288001,"66":13167,"107":206,"83":41984,"24":6,"16":28149550665433088,"45":1734308099630852096},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-16 12:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785964288001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:11:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-16 12:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149550665433088,"km_value":28149550665433.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734308099630852096,"description":"Unknown IO ID 45"} 
[2026-10-16 12:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785964288001,"power":13167,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1734308099630852096}} 
[2026-10-16 12:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":219907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:11:15] local.INFO: GPS data processed {"connection_id":219907,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:11:15] local.INFO: Acknowledgment sent {"connection_id":219907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:11:16] local.INFO: TCP Data received {"connection_id":216831,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:11:16] local.INFO: Processing buffer {"connection_id":216831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:11:16] local.INFO: IMEI packet received {"connection_id":216831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":216831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:11:22] local.INFO: TCP Data received {"connection_id":216831,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:11:22] local.INFO: Processing buffer {"connection_id":216831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:11:22] local.INFO: IMEI packet received {"connection_id":216831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":216831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:11:23] local.INFO: TCP Data received {"connection_id":216831,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:11:23] local.INFO: Processing buffer {"connection_id":216831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436cd7a8012d7fa40005afce580009000a30..."} 
[2026-10-16 12:11:23] local.INFO: Packet analysis {"connection_id":216831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:11:23] local.INFO: Extracted packet for processing {"connection_id":216831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436c"} 
[2026-10-16 12:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785860608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792132569000,"timestamp_ms":1792132569000,"timestamp_seconds":1792132569,"priority":1,"record_length":96,"hex_timestamp":"000001a1436cd7a8"} 
[2026-10-16 12:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:11:23] 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-10-16 12:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785860608001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785860608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:11:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:11:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785860608001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":216831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:11:23] local.INFO: GPS data processed {"connection_id":216831,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:11:23] local.INFO: Acknowledgment sent {"connection_id":216831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:11:33] local.INFO: TCP Data received {"connection_id":216832,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:11:33] local.INFO: Processing buffer {"connection_id":216832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:11:33] local.INFO: IMEI packet received {"connection_id":216832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":216832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:11:33] local.INFO: TCP Data received {"connection_id":216832,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:11:33] local.INFO: Processing buffer {"connection_id":216832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:11:33] local.INFO: IMEI packet received {"connection_id":216832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":216832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:11:35] local.INFO: TCP Data received {"connection_id":216832,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:11:35] local.INFO: Processing buffer {"connection_id":216832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:11:35] local.INFO: Packet analysis {"connection_id":216832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:11:35] local.INFO: Extracted packet for processing {"connection_id":216832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785902336001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:35] 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-10-16 12:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792132732000,"timestamp_ms":1792132732000,"timestamp_seconds":1792132732,"priority":1,"record_length":96,"hex_timestamp":"000001a1436f5460"} 
[2026-10-16 12:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:11:35] 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-10-16 12: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-10-16 12:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785902336001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785902336001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:11:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:11:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785902336001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":216832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:11:35] local.INFO: GPS data processed {"connection_id":216832,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:11:35] local.INFO: Acknowledgment sent {"connection_id":216832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:11:36] local.INFO: TCP Data received {"connection_id":216832,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:11:36] local.INFO: Processing buffer {"connection_id":216832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:11:36] local.INFO: Packet analysis {"connection_id":216832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:11:36] local.INFO: Extracted packet for processing {"connection_id":216832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785902336001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11: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-10-16 12:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792132732000,"timestamp_ms":1792132732000,"timestamp_seconds":1792132732,"priority":1,"record_length":96,"hex_timestamp":"000001a1436f5460"} 
[2026-10-16 12:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:11: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-10-16 12: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-10-16 12:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785902336001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785902336001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:11:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:11:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785902336001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":216832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:11:36] local.INFO: GPS data processed {"connection_id":216832,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:11:36] local.INFO: Acknowledgment sent {"connection_id":216832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:11:48] local.INFO: TCP Data received {"connection_id":219907,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436e8558012d180e40072193780046012426..."} 
[2026-10-16 12:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436e8558012d180e40072193780046012426..."} 
[2026-10-16 12:11:48] local.INFO: Processing buffer {"connection_id":219907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436e8558012d180e40072193780046012426..."} 
[2026-10-16 12:11:48] local.INFO: Packet analysis {"connection_id":219907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:11:48] local.INFO: Extracted packet for processing {"connection_id":219907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756551232,"raw_latitude":119640952,"longitude_deg":75.6551232,"latitude_deg":11.9640952,"altitude":70,"angle":292,"satellites":38,"speed":7,"hex_longitude":"2d180e40","hex_latitude":"07219378","is_valid_coordinates":true} 
[2026-10-16 12:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785965568001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149559255367680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733534043444826112,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792132679000,"timestamp_ms":1792132679000,"timestamp_seconds":1792132679,"priority":1,"record_length":96,"hex_timestamp":"000001a1436e8558"} 
[2026-10-16 12:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-16 12:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":219907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":219907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":219907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785965568001,"66":13135,"107":206,"83":41984,"24":7,"16":28149559255367680,"45":1733534043444826112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-16 12:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785965568001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:11:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-16 12:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149559255367680,"km_value":28149559255367.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733534043444826112,"description":"Unknown IO ID 45"} 
[2026-10-16 12:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785965568001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1733534043444826112}} 
[2026-10-16 12:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":219907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:11:48] local.INFO: GPS data processed {"connection_id":219907,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:11:48] local.INFO: Acknowledgment sent {"connection_id":219907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:11:55] local.INFO: TCP Data received {"connection_id":216831,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:11:55] local.INFO: Processing buffer {"connection_id":216831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:11:55] local.INFO: Packet analysis {"connection_id":216831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:11:55] local.INFO: Extracted packet for processing {"connection_id":216831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:11:55] 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-10-16 12:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785937664001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785937664001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:11:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:11:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785937664001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":216831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:11:55] local.INFO: GPS data processed {"connection_id":216831,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:11:55] local.INFO: Acknowledgment sent {"connection_id":216831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:12:12] local.INFO: TCP Data received {"connection_id":219908,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:12:12] local.INFO: Processing buffer {"connection_id":219908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:12:12] local.INFO: IMEI packet received {"connection_id":219908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":219908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:12:17] local.INFO: TCP Data received {"connection_id":219908,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:12:17] local.INFO: Processing buffer {"connection_id":219908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:12:17] local.INFO: IMEI packet received {"connection_id":219908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":219908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:12:21] local.INFO: TCP Data received {"connection_id":218181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:12:21] local.INFO: Processing buffer {"connection_id":218181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:12:21] local.INFO: IMEI packet received {"connection_id":218181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":218181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:12:21] local.INFO: TCP Data received {"connection_id":216833,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:12:21] local.INFO: Processing buffer {"connection_id":216833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:12:21] local.INFO: IMEI packet received {"connection_id":216833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":216833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:12:22] local.INFO: TCP Data received {"connection_id":216636,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:12:22] local.INFO: Processing buffer {"connection_id":216636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:12:22] local.INFO: IMEI packet received {"connection_id":216636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":216636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:12:24] local.INFO: TCP Data received {"connection_id":219908,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436e8940012d180d80072193e80046013826..."} 
[2026-10-16 12:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436e8940012d180d80072193e80046013826..."} 
[2026-10-16 12:12:24] local.INFO: Processing buffer {"connection_id":219908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436e8940012d180d80072193e80046013826..."} 
[2026-10-16 12:12:24] local.INFO: Packet analysis {"connection_id":219908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:12:24] local.INFO: Extracted packet for processing {"connection_id":219908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641064,"longitude_deg":75.655104,"latitude_deg":11.9641064,"altitude":70,"angle":312,"satellites":38,"speed":9,"hex_longitude":"2d180d80","hex_latitude":"072193e8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785965824001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149567845302272,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733393305956481024,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792132680000,"timestamp_ms":1792132680000,"timestamp_seconds":1792132680,"priority":1,"record_length":96,"hex_timestamp":"000001a1436e8940"} 
[2026-10-16 12:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-16 12:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785965824001,"66":13135,"107":206,"83":41984,"24":9,"16":28149567845302272,"45":1733393305956481024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-16 12:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785965824001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:12:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-16 12:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149567845302272,"km_value":28149567845302.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733393305956481024,"description":"Unknown IO ID 45"} 
[2026-10-16 12:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785965824001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1733393305956481024}} 
[2026-10-16 12:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":219908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:12:24] local.INFO: GPS data processed {"connection_id":219908,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:12:24] local.INFO: Acknowledgment sent {"connection_id":219908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:12:25] local.INFO: TCP Data received {"connection_id":219908,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1436e8d28012d180d00072194980046015526..."} 
[2026-10-16 12:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436e8d28012d180d00072194980046015526..."} 
[2026-10-16 12:12:25] local.INFO: Processing buffer {"connection_id":219908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436e8d28012d180d00072194980046015526..."} 
[2026-10-16 12:12:25] local.INFO: Packet analysis {"connection_id":219908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:12:25] local.INFO: Extracted packet for processing {"connection_id":219908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436e"} 
[2026-10-16 12:12:25] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641240,"longitude_deg":75.6550912,"latitude_deg":11.964124,"altitude":70,"angle":341,"satellites":38,"speed":7,"hex_longitude":"2d180d00","hex_latitude":"07219498","is_valid_coordinates":true} 
[2026-10-16 12:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785966080001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149576435236864,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199723976704,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792132681000,"timestamp_ms":1792132681000,"timestamp_seconds":1792132681,"priority":1,"record_length":96,"hex_timestamp":"000001a1436e8d28"} 
[2026-10-16 12:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-10-16 12:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":219908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":219908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":219908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785966080001,"66":13135,"107":206,"83":41984,"24":7,"16":28149576435236864,"45":1733182199723976704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-16 12:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785966080001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:12:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-16 12:12:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149576435236864,"km_value":28149576435236.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199723976704,"description":"Unknown IO ID 45"} 
[2026-10-16 12:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785966080001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1733182199723976704}} 
[2026-10-16 12:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":219908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:12:25] local.INFO: GPS data processed {"connection_id":219908,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:12:25] local.INFO: Acknowledgment sent {"connection_id":219908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:12:26] local.INFO: TCP Data received {"connection_id":218181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:12:26] local.INFO: Processing buffer {"connection_id":218181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:12:26] local.INFO: IMEI packet received {"connection_id":218181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":218181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:12:27] local.INFO: TCP Data received {"connection_id":216636,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:12:27] local.INFO: Processing buffer {"connection_id":216636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:12:27] local.INFO: IMEI packet received {"connection_id":216636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":216636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:12:27] local.INFO: TCP Data received {"connection_id":218181,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:12:27] local.INFO: Processing buffer {"connection_id":218181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:12:27] local.INFO: Packet analysis {"connection_id":218181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:12:27] local.INFO: Extracted packet for processing {"connection_id":218181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785902336001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:27] 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-10-16 12:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792132732000,"timestamp_ms":1792132732000,"timestamp_seconds":1792132732,"priority":1,"record_length":96,"hex_timestamp":"000001a1436f5460"} 
[2026-10-16 12:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:12:27] 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-10-16 12: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-10-16 12:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:12: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-10-16 12:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785902336001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785902336001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:12:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:12:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785902336001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":218181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:12:27] local.INFO: GPS data processed {"connection_id":218181,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:12:27] local.INFO: Acknowledgment sent {"connection_id":218181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:12:28] local.INFO: TCP Data received {"connection_id":216636,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:12:28] local.INFO: Processing buffer {"connection_id":216636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:12:28] local.INFO: Packet analysis {"connection_id":216636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:12:28] local.INFO: Extracted packet for processing {"connection_id":216636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:12:28] 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-10-16 12: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-10-16 12:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785937664001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785937664001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:12:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:12:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785937664001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":216636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:12:28] local.INFO: GPS data processed {"connection_id":216636,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:12:28] local.INFO: Acknowledgment sent {"connection_id":216636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:12:33] local.INFO: TCP Data received {"connection_id":216636,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:12:33] local.INFO: Processing buffer {"connection_id":216636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:12:33] local.INFO: Packet analysis {"connection_id":216636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:12:33] local.INFO: Extracted packet for processing {"connection_id":216636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785937664001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785937664001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:12:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:12:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785937664001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":216636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:12:33] local.INFO: GPS data processed {"connection_id":216636,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:12:33] local.INFO: Acknowledgment sent {"connection_id":216636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:12:51] local.INFO: TCP Data received {"connection_id":218182,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:12:51] local.INFO: Processing buffer {"connection_id":218182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:12:51] local.INFO: IMEI packet received {"connection_id":218182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":218182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:12:59] local.INFO: TCP Data received {"connection_id":218181,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:12:59] local.INFO: Processing buffer {"connection_id":218181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:12:59] local.INFO: Packet analysis {"connection_id":218181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:12:59] local.INFO: Extracted packet for processing {"connection_id":218181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785902336001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:12:59] 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-10-16 12:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792132732000,"timestamp_ms":1792132732000,"timestamp_seconds":1792132732,"priority":1,"record_length":96,"hex_timestamp":"000001a1436f5460"} 
[2026-10-16 12:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:12:59] 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-10-16 12:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785902336001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785902336001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:12:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:12:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785902336001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":218181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:12:59] local.INFO: GPS data processed {"connection_id":218181,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:12:59] local.INFO: Acknowledgment sent {"connection_id":218181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:13:05] local.INFO: TCP Data received {"connection_id":219909,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:13:05] local.INFO: Processing buffer {"connection_id":219909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:13:05] local.INFO: IMEI packet received {"connection_id":219909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":219909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:13:07] local.INFO: TCP Data received {"connection_id":219909,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:13:07] local.INFO: Processing buffer {"connection_id":219909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:13:07] local.INFO: IMEI packet received {"connection_id":219909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":219909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:13:12] local.INFO: TCP Data received {"connection_id":219909,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:13:12] local.INFO: Processing buffer {"connection_id":219909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:13:12] local.INFO: IMEI packet received {"connection_id":219909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":219909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:13:13] local.INFO: TCP Data received {"connection_id":219909,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143721b50012d180d00072195480045015527..."} 
[2026-10-16 12:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143721b50012d180d00072195480045015527..."} 
[2026-10-16 12:13:13] local.INFO: Processing buffer {"connection_id":219909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143721b50012d180d00072195480045015527..."} 
[2026-10-16 12:13:13] local.INFO: Packet analysis {"connection_id":219909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14372"} 
[2026-10-16 12:13:13] local.INFO: Extracted packet for processing {"connection_id":219909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14372"} 
[2026-10-16 12:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641416,"longitude_deg":75.6550912,"latitude_deg":11.9641416,"altitude":69,"angle":341,"satellites":39,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219548","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786020608001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149589320138752,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235711488,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792132914000,"timestamp_ms":1792132914000,"timestamp_seconds":1792132914,"priority":1,"record_length":96,"hex_timestamp":"000001a143721b50"} 
[2026-10-16 12:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:13: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-10-16 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 12:13: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-10-16 12: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-10-16 12:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786020608001,"66":12798,"107":206,"83":41984,"24":0,"16":28149589320138752,"45":1733041462235711488},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-16 12:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786020608001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:13:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-16 12:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149589320138752,"km_value":28149589320138.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235711488,"description":"Unknown IO ID 45"} 
[2026-10-16 12:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786020608001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235711488}} 
[2026-10-16 12:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":219909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:13:13] local.INFO: GPS data processed {"connection_id":219909,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:13:13] local.INFO: Acknowledgment sent {"connection_id":219909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:13:17] local.INFO: TCP Data received {"connection_id":219910,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:13:17] local.INFO: Processing buffer {"connection_id":219910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:13:17] local.INFO: IMEI packet received {"connection_id":219910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":219910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:13:21] local.INFO: TCP Data received {"connection_id":218183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:13:21] local.INFO: Processing buffer {"connection_id":218183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:13:21] local.INFO: IMEI packet received {"connection_id":218183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":218183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:13:21] local.INFO: TCP Data received {"connection_id":219910,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:13:21] local.INFO: Processing buffer {"connection_id":219910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:13:21] local.INFO: IMEI packet received {"connection_id":219910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":219910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:13:22] local.INFO: TCP Data received {"connection_id":219910,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:13:22] local.INFO: Processing buffer {"connection_id":219910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:13:22] local.INFO: Packet analysis {"connection_id":219910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:13:22] local.INFO: Extracted packet for processing {"connection_id":219910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:13:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785937664001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785937664001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:13:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:13:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785937664001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":219910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:13:22] local.INFO: GPS data processed {"connection_id":219910,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:13:22] local.INFO: Acknowledgment sent {"connection_id":219910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:13:25] local.INFO: TCP Data received {"connection_id":218183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:13:25] local.INFO: Processing buffer {"connection_id":218183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:13:25] local.INFO: IMEI packet received {"connection_id":218183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":218183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:13:26] local.INFO: TCP Data received {"connection_id":218183,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:13:26] local.INFO: Processing buffer {"connection_id":218183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1436f5460012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:13:26] local.INFO: Packet analysis {"connection_id":218183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:13:26] local.INFO: Extracted packet for processing {"connection_id":218183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1436f"} 
[2026-10-16 12:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785902336001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:26] 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-10-16 12:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792132732000,"timestamp_ms":1792132732000,"timestamp_seconds":1792132732,"priority":1,"record_length":96,"hex_timestamp":"000001a1436f5460"} 
[2026-10-16 12:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:13:26] 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-10-16 12:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785902336001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785902336001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:13:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:13:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785902336001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":218183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:13:26] local.INFO: GPS data processed {"connection_id":218183,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:13:26] local.INFO: Acknowledgment sent {"connection_id":218183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:13:27] local.INFO: TCP Data received {"connection_id":219910,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:13:27] local.INFO: Processing buffer {"connection_id":219910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:13:27] local.INFO: Packet analysis {"connection_id":219910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:13:27] local.INFO: Extracted packet for processing {"connection_id":219910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:13:27] 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-10-16 12:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785937664001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785937664001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:13:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:13:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785937664001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":219910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:13:27] local.INFO: GPS data processed {"connection_id":219910,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:13:27] local.INFO: Acknowledgment sent {"connection_id":219910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:13:44] local.INFO: TCP Data received {"connection_id":219909,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143726d58012d180d00072195480045015528..."} 
[2026-10-16 12:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143726d58012d180d00072195480045015528..."} 
[2026-10-16 12:13:44] local.INFO: Processing buffer {"connection_id":219909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143726d58012d180d00072195480045015528..."} 
[2026-10-16 12:13:44] local.INFO: Packet analysis {"connection_id":219909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14372"} 
[2026-10-16 12:13:44] local.INFO: Extracted packet for processing {"connection_id":219909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14372"} 
[2026-10-16 12:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641416,"longitude_deg":75.6550912,"latitude_deg":11.9641416,"altitude":69,"angle":341,"satellites":40,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219548","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786025984001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149589320138752,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235711488,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792132935000,"timestamp_ms":1792132935000,"timestamp_seconds":1792132935,"priority":1,"record_length":96,"hex_timestamp":"000001a143726d58"} 
[2026-10-16 12:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:13: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-10-16 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 12:13: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-10-16 12: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-10-16 12:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786025984001,"66":12841,"107":206,"83":41984,"24":0,"16":28149589320138752,"45":1733041462235711488},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-16 12:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786025984001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:13:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-16 12:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149589320138752,"km_value":28149589320138.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235711488,"description":"Unknown IO ID 45"} 
[2026-10-16 12:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786025984001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235711488}} 
[2026-10-16 12:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":219909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:13:44] local.INFO: GPS data processed {"connection_id":219909,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:13:44] local.INFO: Acknowledgment sent {"connection_id":219909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:13:58] local.INFO: TCP Data received {"connection_id":218183,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:13:58] local.INFO: Processing buffer {"connection_id":218183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:13:58] local.INFO: Packet analysis {"connection_id":218183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:13:58] local.INFO: Extracted packet for processing {"connection_id":218183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:13: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-10-16 12:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785979392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:58] 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-10-16 12:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792133033000,"timestamp_ms":1792133033000,"timestamp_seconds":1792133033,"priority":1,"record_length":96,"hex_timestamp":"000001a14373ec28"} 
[2026-10-16 12:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:13: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:13:58] 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-10-16 12:13: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-10-16 12:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785979392001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785979392001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:13:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:13:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785979392001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":218183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:13:58] local.INFO: GPS data processed {"connection_id":218183,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:13:58] local.INFO: Acknowledgment sent {"connection_id":218183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:13:59] local.INFO: TCP Data received {"connection_id":219910,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:13:59] local.INFO: Processing buffer {"connection_id":219910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:13:59] local.INFO: Packet analysis {"connection_id":219910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:13:59] local.INFO: Extracted packet for processing {"connection_id":219910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:13:59] 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-10-16 12:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785937664001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785937664001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:13:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:13:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785937664001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":219910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:13:59] local.INFO: GPS data processed {"connection_id":219910,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:13:59] local.INFO: Acknowledgment sent {"connection_id":219910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:14:07] local.INFO: TCP Data received {"connection_id":219911,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:14:07] local.INFO: Processing buffer {"connection_id":219911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:14:07] local.INFO: IMEI packet received {"connection_id":219911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":219911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:14:08] local.INFO: TCP Data received {"connection_id":219911,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:14:08] local.INFO: Processing buffer {"connection_id":219911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:14:08] local.INFO: IMEI packet received {"connection_id":219911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":219911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:14:12] local.INFO: TCP Data received {"connection_id":219911,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:14:12] local.INFO: Processing buffer {"connection_id":219911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:14:12] local.INFO: IMEI packet received {"connection_id":219911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":219911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:14:13] local.INFO: TCP Data received {"connection_id":219911,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14372bf60012d180d0007219548004501552a..."} 
[2026-10-16 12:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14372bf60012d180d0007219548004501552a..."} 
[2026-10-16 12:14:13] local.INFO: Processing buffer {"connection_id":219911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14372bf60012d180d0007219548004501552a..."} 
[2026-10-16 12:14:13] local.INFO: Packet analysis {"connection_id":219911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14372"} 
[2026-10-16 12:14:13] local.INFO: Extracted packet for processing {"connection_id":219911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14372"} 
[2026-10-16 12:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641416,"longitude_deg":75.6550912,"latitude_deg":11.9641416,"altitude":69,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219548","is_valid_coordinates":true} 
[2026-10-16 12:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786031360001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149589320138752,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235711488,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792132956000,"timestamp_ms":1792132956000,"timestamp_seconds":1792132956,"priority":1,"record_length":96,"hex_timestamp":"000001a14372bf60"} 
[2026-10-16 12:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:14: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-10-16 12:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 12:14: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-10-16 12:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786031360001,"66":12765,"107":206,"83":41984,"24":0,"16":28149589320138752,"45":1733041462235711488},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-16 12:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786031360001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:14:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-16 12:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149589320138752,"km_value":28149589320138.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235711488,"description":"Unknown IO ID 45"} 
[2026-10-16 12:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786031360001,"power":12765,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235711488}} 
[2026-10-16 12:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":219911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:14:13] local.INFO: GPS data processed {"connection_id":219911,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:14:13] local.INFO: Acknowledgment sent {"connection_id":219911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:14:16] local.INFO: TCP Data received {"connection_id":218184,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:14:16] local.INFO: Processing buffer {"connection_id":218184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:14:16] local.INFO: IMEI packet received {"connection_id":218184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":218184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:14:20] local.INFO: TCP Data received {"connection_id":218185,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:14:20] local.INFO: Processing buffer {"connection_id":218185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:14:20] local.INFO: IMEI packet received {"connection_id":218185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":218185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:14:22] local.INFO: TCP Data received {"connection_id":218184,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:14:22] local.INFO: Processing buffer {"connection_id":218184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:14:22] local.INFO: IMEI packet received {"connection_id":218184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":218184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:14:23] local.INFO: TCP Data received {"connection_id":218184,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:14:23] local.INFO: Processing buffer {"connection_id":218184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:14:23] local.INFO: Packet analysis {"connection_id":218184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:14:23] local.INFO: Extracted packet for processing {"connection_id":218184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:14:23] 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-10-16 12:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785937664001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785937664001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:14:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:14:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785937664001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":218184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:14:23] local.INFO: GPS data processed {"connection_id":218184,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:14:23] local.INFO: Acknowledgment sent {"connection_id":218184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:14:26] local.INFO: TCP Data received {"connection_id":218185,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:14:26] local.INFO: Processing buffer {"connection_id":218185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:14:26] local.INFO: IMEI packet received {"connection_id":218185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":218185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:14:27] local.INFO: TCP Data received {"connection_id":218185,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:14:27] local.INFO: Processing buffer {"connection_id":218185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:14:27] local.INFO: Packet analysis {"connection_id":218185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:14:27] local.INFO: Extracted packet for processing {"connection_id":218185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785979392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:27] 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-10-16 12:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792133033000,"timestamp_ms":1792133033000,"timestamp_seconds":1792133033,"priority":1,"record_length":96,"hex_timestamp":"000001a14373ec28"} 
[2026-10-16 12:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:14:27] 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-10-16 12:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785979392001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785979392001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:14:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:14:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785979392001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":218185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:14:27] local.INFO: GPS data processed {"connection_id":218185,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:14:27] local.INFO: Acknowledgment sent {"connection_id":218185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:14:44] local.INFO: TCP Data received {"connection_id":219911,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143731168012d180d00072195480045015529..."} 
[2026-10-16 12:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143731168012d180d00072195480045015529..."} 
[2026-10-16 12:14:44] local.INFO: Processing buffer {"connection_id":219911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143731168012d180d00072195480045015529..."} 
[2026-10-16 12:14:44] local.INFO: Packet analysis {"connection_id":219911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:14:44] local.INFO: Extracted packet for processing {"connection_id":219911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:14:44] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119641416,"longitude_deg":75.6550912,"latitude_deg":11.9641416,"altitude":69,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d180d00","hex_latitude":"07219548","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786036736001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149589320138752,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462235711488,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792132977000,"timestamp_ms":1792132977000,"timestamp_seconds":1792132977,"priority":1,"record_length":96,"hex_timestamp":"000001a143731168"} 
[2026-10-16 12:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:14: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-10-16 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 12:14:44] 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-10-16 12: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-10-16 12:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786036736001,"66":12819,"107":206,"83":41984,"24":0,"16":28149589320138752,"45":1733041462235711488},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-10-16 12:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786036736001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:14:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-10-16 12:14:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149589320138752,"km_value":28149589320138.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462235711488,"description":"Unknown IO ID 45"} 
[2026-10-16 12:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786036736001,"power":12819,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733041462235711488}} 
[2026-10-16 12:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":219911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:14:44] local.INFO: GPS data processed {"connection_id":219911,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:14:44] local.INFO: Acknowledgment sent {"connection_id":219911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:14:55] local.INFO: TCP Data received {"connection_id":218184,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:14:55] local.INFO: Processing buffer {"connection_id":218184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:14:55] local.INFO: Packet analysis {"connection_id":218184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:14:55] local.INFO: Extracted packet for processing {"connection_id":218184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:14:55] 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-10-16 12:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785937664001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785937664001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:14:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:14:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785937664001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":218184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:14:55] local.INFO: GPS data processed {"connection_id":218184,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:14:55] local.INFO: Acknowledgment sent {"connection_id":218184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:14:58] local.INFO: TCP Data received {"connection_id":218185,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:14:58] local.INFO: Processing buffer {"connection_id":218185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:14:58] local.INFO: Packet analysis {"connection_id":218185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:14:58] local.INFO: Extracted packet for processing {"connection_id":218185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785979392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:14:58] 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-10-16 12:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792133033000,"timestamp_ms":1792133033000,"timestamp_seconds":1792133033,"priority":1,"record_length":96,"hex_timestamp":"000001a14373ec28"} 
[2026-10-16 12:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:14:58] 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-10-16 12:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785979392001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785979392001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:14:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785979392001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":218185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:14:58] local.INFO: GPS data processed {"connection_id":218185,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:14:58] local.INFO: Acknowledgment sent {"connection_id":218185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:15:07] local.INFO: TCP Data received {"connection_id":216640,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:15:07] local.INFO: Processing buffer {"connection_id":216640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:15:07] local.INFO: IMEI packet received {"connection_id":216640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":216640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:15:12] local.INFO: TCP Data received {"connection_id":216640,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:15:12] local.INFO: Processing buffer {"connection_id":216640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:15:12] local.INFO: IMEI packet received {"connection_id":216640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":216640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:15:13] local.INFO: TCP Data received {"connection_id":216640,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143746540012d181dc00721a7580044005d28..."} 
[2026-10-16 12:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143746540012d181dc00721a7580044005d28..."} 
[2026-10-16 12:15:13] local.INFO: Processing buffer {"connection_id":216640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143746540012d181dc00721a7580044005d28..."} 
[2026-10-16 12:15:13] local.INFO: Packet analysis {"connection_id":216640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14374"} 
[2026-10-16 12:15:13] local.INFO: Extracted packet for processing {"connection_id":216640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14374"} 
[2026-10-16 12:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646040,"longitude_deg":75.65552,"latitude_deg":11.964604,"altitude":68,"angle":93,"satellites":40,"speed":7,"hex_longitude":"2d181dc0","hex_latitude":"0721a758","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786064128001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149898557784064,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120079872,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792133064000,"timestamp_ms":1792133064000,"timestamp_seconds":1792133064,"priority":1,"record_length":96,"hex_timestamp":"000001a143746540"} 
[2026-10-16 12:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:15: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-10-16 12: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-16 12:15:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:13] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1125908512571392,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633236018944,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:13] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2522873922,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-10-16 12:15:13] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-9223040980557494495,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:13] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2147950998,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:13] local.WARNING: Large IO value detected {"io_id":149,"raw_value":5188222642756714496,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:13] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,2,161,93,45,128,166,69,40,10,66,58,64,153,67,38,1,46,192,240,104,227,33,4,113,205,7,13,32,239,55,100,149],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-10-16 12:15:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900000129262157824,"timestamp_seconds":4900000129262158.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 12:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786064128001,"66":13830,"105":206,"83":41984,"24":7,"16":28149898557784064,"45":1737474693120079872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 12:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786064128001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:15:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 12:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149898557784064,"km_value":28149898557784.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120079872,"description":"Unknown IO ID 45"} 
[2026-10-16 12:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786064128001,"power":13830,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737474693120079872}} 
[2026-10-16 12:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":216640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:15:13] local.INFO: GPS data processed {"connection_id":216640,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:15:13] local.INFO: Acknowledgment sent {"connection_id":216640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:15:16] local.INFO: TCP Data received {"connection_id":216834,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:15:16] local.INFO: Processing buffer {"connection_id":216834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:15:16] local.INFO: IMEI packet received {"connection_id":216834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":216834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:15:20] local.INFO: TCP Data received {"connection_id":216835,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:15:20] local.INFO: Processing buffer {"connection_id":216835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:15:20] local.INFO: IMEI packet received {"connection_id":216835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":216835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:15:22] local.INFO: TCP Data received {"connection_id":216834,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:15:22] local.INFO: Processing buffer {"connection_id":216834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:15:22] local.INFO: IMEI packet received {"connection_id":216834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":216834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:15:23] local.INFO: TCP Data received {"connection_id":216834,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:15:23] local.INFO: Processing buffer {"connection_id":216834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:15:23] local.INFO: Packet analysis {"connection_id":216834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:15:23] local.INFO: Extracted packet for processing {"connection_id":216834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:15:23] 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-10-16 12:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785937664001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785937664001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:15:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:15:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785937664001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":216834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:15:23] local.INFO: GPS data processed {"connection_id":216834,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:15:23] local.INFO: Acknowledgment sent {"connection_id":216834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:15:26] local.INFO: TCP Data received {"connection_id":216835,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:15:26] local.INFO: Processing buffer {"connection_id":216835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:15:26] local.INFO: IMEI packet received {"connection_id":216835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":216835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:15:27] local.INFO: TCP Data received {"connection_id":216835,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:15:27] local.INFO: Processing buffer {"connection_id":216835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:15:27] local.INFO: Packet analysis {"connection_id":216835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:15:27] local.INFO: Extracted packet for processing {"connection_id":216835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785979392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:27] 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-10-16 12:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792133033000,"timestamp_ms":1792133033000,"timestamp_seconds":1792133033,"priority":1,"record_length":96,"hex_timestamp":"000001a14373ec28"} 
[2026-10-16 12:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:15:27] 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-10-16 12:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458785979392001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458785979392001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:15:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:15:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458785979392001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":216835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:15:27] local.INFO: GPS data processed {"connection_id":216835,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:15:27] local.INFO: Acknowledgment sent {"connection_id":216835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:15:44] local.INFO: TCP Data received {"connection_id":216640,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143746d10012d181e400721a7100045008429..."} 
[2026-10-16 12:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143746d10012d181e400721a7100045008429..."} 
[2026-10-16 12:15:44] local.INFO: Processing buffer {"connection_id":216640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143746d10012d181e400721a7100045008429..."} 
[2026-10-16 12:15:44] local.INFO: Packet analysis {"connection_id":216640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14374"} 
[2026-10-16 12:15:44] local.INFO: Extracted packet for processing {"connection_id":216640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14374"} 
[2026-10-16 12:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645968,"longitude_deg":75.6555328,"latitude_deg":11.9645968,"altitude":69,"angle":132,"satellites":41,"speed":6,"hex_longitude":"2d181e40","hex_latitude":"0721a710","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786064384001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28149907147718656,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096798720,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792133066000,"timestamp_ms":1792133066000,"timestamp_seconds":1792133066,"priority":1,"record_length":96,"hex_timestamp":"000001a143746d10"} 
[2026-10-16 12:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:15: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-10-16 12: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-10-16 12:15:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1407383489282048,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633236018688,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:44] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2530738242,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-10-16 12:15:44] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:44] local.WARNING: Large IO value detected {"io_id":34,"raw_value":-2881972705219836127,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:44] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-576388183543578620,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:44] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,2,161,97,45,192,167,68,40,10,66,93,128,166,69,58,64,1,240,137,227,67,33,4,113,205,8,42,14,96,39,239,54,100,7,5,34,149],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-10-16 12:15:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900018820959633408,"timestamp_seconds":4900018820959633.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 12:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786064384001,"66":13993,"105":206,"83":41984,"24":6,"16":28149907147718656,"45":1737756168096798720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-10-16 12:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786064384001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:15:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 12:15:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28149907147718656,"km_value":28149907147718.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096798720,"description":"Unknown IO ID 45"} 
[2026-10-16 12:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786064384001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737756168096798720}} 
[2026-10-16 12:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":216640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:15:44] local.INFO: GPS data processed {"connection_id":216640,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:15:44] local.INFO: Acknowledgment sent {"connection_id":216640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:15:55] local.INFO: TCP Data received {"connection_id":216834,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:15:55] local.ERROR: Failed to insert raw packet {"connection_id":216834,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143481968012d7fa40005afce580009000a3100000000000a000400ef0000715c00f0000045010004004262ff00cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000938c, 216834, 117.225.177.58, 2026-10-16 12:15:55, 2026-10-16 12:15:55))","packet_length":795} 
[2026-10-16 12:15:55] local.INFO: Processing buffer {"connection_id":216834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:15:55] local.INFO: Packet analysis {"connection_id":216834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:15:55] local.INFO: Extracted packet for processing {"connection_id":216834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:15:55] 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-10-16 12: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-10-16 12:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:15:55] local.ERROR: Error processing packet {"connection_id":216834,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:15:58] local.INFO: TCP Data received {"connection_id":216835,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:15:58] local.ERROR: Failed to insert raw packet {"connection_id":216835,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1434a9620012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef31000000000a000022a9, 216835, 42.109.136.8, 2026-10-16 12:15:58, 2026-10-16 12:15:58))","packet_length":795} 
[2026-10-16 12:15:58] local.INFO: Processing buffer {"connection_id":216835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:15:58] local.INFO: Packet analysis {"connection_id":216835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:15:58] local.INFO: Extracted packet for processing {"connection_id":216835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:15: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-10-16 12:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785979392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:15:58] 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-10-16 12:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792133033000,"timestamp_ms":1792133033000,"timestamp_seconds":1792133033,"priority":1,"record_length":96,"hex_timestamp":"000001a14373ec28"} 
[2026-10-16 12:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:15: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:15:58] 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-10-16 12:15: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-10-16 12:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:15:58] local.ERROR: Error processing packet {"connection_id":216835,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:16:06] local.INFO: TCP Data received {"connection_id":216836,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:16:06] local.ERROR: Failed to insert raw packet {"connection_id":216836,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216836, 42.106.6.47, 2026-10-16 12:16:06, 2026-10-16 12:16:06))","packet_length":17} 
[2026-10-16 12:16:06] local.INFO: Processing buffer {"connection_id":216836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:16:06] local.INFO: IMEI packet received {"connection_id":216836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":216836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:16:07] local.INFO: TCP Data received {"connection_id":216836,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:16:07] local.ERROR: Failed to insert raw packet {"connection_id":216836,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216836, 42.106.6.47, 2026-10-16 12:16:07, 2026-10-16 12:16:07))","packet_length":17} 
[2026-10-16 12:16:07] local.INFO: Processing buffer {"connection_id":216836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:16:07] local.INFO: IMEI packet received {"connection_id":216836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":216836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:16:12] local.INFO: TCP Data received {"connection_id":216836,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:16:12] local.ERROR: Failed to insert raw packet {"connection_id":216836,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216836, 42.106.6.47, 2026-10-16 12:16:12, 2026-10-16 12:16:12))","packet_length":17} 
[2026-10-16 12:16:12] local.INFO: Processing buffer {"connection_id":216836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:16:12] local.INFO: IMEI packet received {"connection_id":216836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":216836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:16:13] local.INFO: TCP Data received {"connection_id":216836,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143749038012d1825800721a0a8004600922a..."} 
[2026-10-16 12:16:13] local.ERROR: Failed to insert raw packet {"connection_id":216836,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143749038012d1825800721a0a8004600922a000b0000000a000400ef0100715000f0010045010004004236e000cd6a6900ce53a40018000b000200f100009de300100064024d00000000000001a143746d10012d181e400721a710004500842900060000000a000400ef0100715000f0010045010004004236a900cd6a6900ce53a400180006000200f100009de300100064023100000000000001a143746540012d181dc00721a7580044005d2800070000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a400180007000200f100009de300100064022f00000000000001a143746158012d181cc00721a7380044004c28000a0000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a40018000a000200f100009de300100064022d00000000000001a143745d70012d181b800721a6d00045003b28000b0000000a000400ef0100714f00f0010045010004004236f600cd6a6900ce53a40018000b000200f100009de300100064022900000000000001a143743a48012d18114007219990004300232600110000000a000400ef0100715000f00100450100040042368900cd6a6900ce53a400180011000200f100009de30010006401f900000000000001a143742e90012d180ec0072196d80042002f2600080000000a000400ef0100715000f00100450100040042366800cd6a6900ce53a400180008000200f100009de30010006401ee00000000000001a143742aa8012d180e4007219660004200422700070000000a000400ef0100715000f00100450100040042366800cd6a6900ce53a400180007000200f100009de30010006401ec00000000000001a1437426c0012d180d80072196200042004e2600050000000a000400ef0100714f00f00100450100040042374d00cd6a6900ce53a400180005000200f100009de30010006401ea00000000000001a1437422d8012d180d00072195f80042003b2700040000000a000400ef0100714f00f00100450100040042374d00cd6a6900ce53a400180004000200f100009de30010006401e9000000000a00008345, 216836, 42.106.6.47, 2026-10-16 12:16:13, 2026-10-16 12:16:13))","packet_length":795} 
[2026-10-16 12:16:13] local.INFO: Processing buffer {"connection_id":216836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143749038012d1825800721a0a8004600922a..."} 
[2026-10-16 12:16:13] local.INFO: Packet analysis {"connection_id":216836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14374"} 
[2026-10-16 12:16:13] local.INFO: Extracted packet for processing {"connection_id":216836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14374"} 
[2026-10-16 12:16:13] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119644328,"longitude_deg":75.6557184,"latitude_deg":11.9644328,"altitude":70,"angle":146,"satellites":42,"speed":11,"hex_longitude":"2d182580","hex_latitude":"0721a0a8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 12:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786064896001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150027406802944,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585135616,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792133075000,"timestamp_ms":1792133075000,"timestamp_seconds":1792133075,"priority":1,"record_length":96,"hex_timestamp":"000001a143749038"} 
[2026-10-16 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-10-16 12:16: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-10-16 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-16 12:16: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-10-16 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-10-16 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-10-16 12:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:16:13] local.ERROR: Error processing packet {"connection_id":216836,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:16:16] local.INFO: TCP Data received {"connection_id":216641,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:16:16] local.ERROR: Failed to insert raw packet {"connection_id":216641,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 216641, 117.225.177.58, 2026-10-16 12:16:16, 2026-10-16 12:16:16))","packet_length":17} 
[2026-10-16 12:16:16] local.INFO: Processing buffer {"connection_id":216641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:16:16] local.INFO: IMEI packet received {"connection_id":216641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":216641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:16:20] local.INFO: TCP Data received {"connection_id":218186,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:16:20] local.ERROR: Failed to insert raw packet {"connection_id":218186,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 218186, 42.109.136.10, 2026-10-16 12:16:20, 2026-10-16 12:16:20))","packet_length":17} 
[2026-10-16 12:16:20] local.INFO: Processing buffer {"connection_id":218186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:16:20] local.INFO: IMEI packet received {"connection_id":218186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":218186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:16:22] local.INFO: TCP Data received {"connection_id":216641,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:16:22] local.ERROR: Failed to insert raw packet {"connection_id":216641,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 216641, 117.225.177.58, 2026-10-16 12:16:22, 2026-10-16 12:16:22))","packet_length":17} 
[2026-10-16 12:16:22] local.INFO: Processing buffer {"connection_id":216641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:16:22] local.INFO: IMEI packet received {"connection_id":216641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":216641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:16:22] local.INFO: TCP Data received {"connection_id":216641,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:16:22] local.ERROR: Failed to insert raw packet {"connection_id":216641,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143481968012d7fa40005afce580009000a3100000000000a000400ef0000715c00f0000045010004004262ff00cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000938c, 216641, 117.225.177.58, 2026-10-16 12:16:22, 2026-10-16 12:16:22))","packet_length":795} 
[2026-10-16 12:16:22] local.INFO: Processing buffer {"connection_id":216641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143716f70012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:16:22] local.INFO: Packet analysis {"connection_id":216641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:16:22] local.INFO: Extracted packet for processing {"connection_id":216641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14371"} 
[2026-10-16 12:16:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785937664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792132870000,"timestamp_ms":1792132870000,"timestamp_seconds":1792132870,"priority":1,"record_length":96,"hex_timestamp":"000001a143716f70"} 
[2026-10-16 12:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:16:22] local.ERROR: Error processing packet {"connection_id":216641,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:16:26] local.INFO: TCP Data received {"connection_id":218186,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:16:26] local.ERROR: Failed to insert raw packet {"connection_id":218186,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 218186, 42.109.136.10, 2026-10-16 12:16:26, 2026-10-16 12:16:26))","packet_length":17} 
[2026-10-16 12:16:26] local.INFO: Processing buffer {"connection_id":218186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:16:26] local.INFO: IMEI packet received {"connection_id":218186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":218186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:16:26] local.INFO: TCP Data received {"connection_id":218186,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:16:26] local.ERROR: Failed to insert raw packet {"connection_id":218186,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1434a9620012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef31000000000a000022a9, 218186, 42.109.136.10, 2026-10-16 12:16:26, 2026-10-16 12:16:26))","packet_length":795} 
[2026-10-16 12:16:26] local.INFO: Processing buffer {"connection_id":218186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:16:26] local.INFO: Packet analysis {"connection_id":218186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:16:26] local.INFO: Extracted packet for processing {"connection_id":218186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785979392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:26] 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-10-16 12:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792133033000,"timestamp_ms":1792133033000,"timestamp_seconds":1792133033,"priority":1,"record_length":96,"hex_timestamp":"000001a14373ec28"} 
[2026-10-16 12:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:16:26] 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-10-16 12:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:16:26] local.ERROR: Error processing packet {"connection_id":218186,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:16:43] local.INFO: TCP Data received {"connection_id":216836,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14374de58012d18288007219cf00049008d24..."} 
[2026-10-16 12:16:43] local.ERROR: Failed to insert raw packet {"connection_id":216836,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14374de58012d18288007219cf00049008d2400000000000a000400ef0100715000f0010045010004004232d700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143749038012d1825800721a0a8004600922a000b0000000a000400ef0100715000f0010045010004004236e000cd6a6900ce53a40018000b000200f100009de300100064024d00000000000001a143746d10012d181e400721a710004500842900060000000a000400ef0100715000f0010045010004004236a900cd6a6900ce53a400180006000200f100009de300100064023100000000000001a143746540012d181dc00721a7580044005d2800070000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a400180007000200f100009de300100064022f00000000000001a143746158012d181cc00721a7380044004c28000a0000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a40018000a000200f100009de300100064022d00000000000001a143745d70012d181b800721a6d00045003b28000b0000000a000400ef0100714f00f0010045010004004236f600cd6a6900ce53a40018000b000200f100009de300100064022900000000000001a143743a48012d18114007219990004300232600110000000a000400ef0100715000f00100450100040042368900cd6a6900ce53a400180011000200f100009de30010006401f900000000000001a143742e90012d180ec0072196d80042002f2600080000000a000400ef0100715000f00100450100040042366800cd6a6900ce53a400180008000200f100009de30010006401ee00000000000001a143742aa8012d180e4007219660004200422700070000000a000400ef0100715000f00100450100040042366800cd6a6900ce53a400180007000200f100009de30010006401ec00000000000001a1437426c0012d180d80072196200042004e2600050000000a000400ef0100714f00f00100450100040042374d00cd6a6900ce53a400180005000200f100009de30010006401ea000000000a0000707d, 216836, 42.106.6.47, 2026-10-16 12:16:43, 2026-10-16 12:16:43))","packet_length":795} 
[2026-10-16 12:16:43] local.INFO: Processing buffer {"connection_id":216836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14374de58012d18288007219cf00049008d24..."} 
[2026-10-16 12:16:43] local.INFO: Packet analysis {"connection_id":216836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14374"} 
[2026-10-16 12:16:43] local.INFO: Extracted packet for processing {"connection_id":216836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14374"} 
[2026-10-16 12:16:43] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643376,"longitude_deg":75.6557952,"latitude_deg":11.9643376,"altitude":73,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786067200001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150087536345088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599165868032,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792133095000,"timestamp_ms":1792133095000,"timestamp_seconds":1792133095,"priority":1,"record_length":96,"hex_timestamp":"000001a14374de58"} 
[2026-10-16 12:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:16: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-10-16 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 12:16:43] 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-10-16 12: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-10-16 12:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":216836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":216836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":216836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:16:43] local.ERROR: Error processing packet {"connection_id":216836,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:16:53] local.INFO: TCP Data received {"connection_id":216641,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:16:53] local.ERROR: Failed to insert raw packet {"connection_id":216641,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000cd9c, 216641, 117.225.177.58, 2026-10-16 12:16:53, 2026-10-16 12:16:53))","packet_length":795} 
[2026-10-16 12:16:53] local.INFO: Processing buffer {"connection_id":216641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:16:53] local.INFO: Packet analysis {"connection_id":216641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:16:53] local.INFO: Extracted packet for processing {"connection_id":216641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786014720001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792133171000,"timestamp_ms":1792133171000,"timestamp_seconds":1792133171,"priority":1,"record_length":96,"hex_timestamp":"000001a143760738"} 
[2026-10-16 12:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:16:53] 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-10-16 12: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-10-16 12:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:16:53] local.ERROR: Error processing packet {"connection_id":216641,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:16:57] local.INFO: TCP Data received {"connection_id":218186,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:16:57] local.ERROR: Failed to insert raw packet {"connection_id":218186,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1434a9620012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef31000000000a000022a9, 218186, 42.109.136.10, 2026-10-16 12:16:57, 2026-10-16 12:16:57))","packet_length":795} 
[2026-10-16 12:16:57] local.INFO: Processing buffer {"connection_id":218186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:16:57] local.INFO: Packet analysis {"connection_id":218186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:16:57] local.INFO: Extracted packet for processing {"connection_id":218186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785979392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:16:57] 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-10-16 12:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792133033000,"timestamp_ms":1792133033000,"timestamp_seconds":1792133033,"priority":1,"record_length":96,"hex_timestamp":"000001a14373ec28"} 
[2026-10-16 12:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:16: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-10-16 12:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:16:57] 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-10-16 12:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":218186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":218186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":218186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:16:57] local.ERROR: Error processing packet {"connection_id":218186,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:17:07] local.INFO: TCP Data received {"connection_id":218187,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:17:07] local.ERROR: Failed to insert raw packet {"connection_id":218187,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 218187, 42.106.6.47, 2026-10-16 12:17:07, 2026-10-16 12:17:07))","packet_length":17} 
[2026-10-16 12:17:07] local.INFO: Processing buffer {"connection_id":218187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:17:07] local.INFO: IMEI packet received {"connection_id":218187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":218187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:17:09] local.INFO: TCP Data received {"connection_id":218187,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:17:09] local.ERROR: Failed to insert raw packet {"connection_id":218187,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 218187, 42.106.6.47, 2026-10-16 12:17:09, 2026-10-16 12:17:09))","packet_length":17} 
[2026-10-16 12:17:09] local.INFO: Processing buffer {"connection_id":218187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:17:09] local.INFO: IMEI packet received {"connection_id":218187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":218187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:17:12] local.INFO: TCP Data received {"connection_id":218187,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:17:12] local.ERROR: Failed to insert raw packet {"connection_id":218187,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 218187, 42.106.6.47, 2026-10-16 12:17:12, 2026-10-16 12:17:12))","packet_length":17} 
[2026-10-16 12:17:12] local.INFO: Processing buffer {"connection_id":218187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:17:12] local.INFO: IMEI packet received {"connection_id":218187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":218187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:17:13] local.INFO: TCP Data received {"connection_id":218187,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143753448012d18288007219cf00049008d25..."} 
[2026-10-16 12:17:13] local.ERROR: Failed to insert raw packet {"connection_id":218187,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143753448012d18288007219cf00049008d2500000000000a000400ef0100714f00f0010045010004004232a100cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14374de58012d18288007219cf00049008d2400000000000a000400ef0100715000f0010045010004004232d700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143749038012d1825800721a0a8004600922a000b0000000a000400ef0100715000f0010045010004004236e000cd6a6900ce53a40018000b000200f100009de300100064024d00000000000001a143746d10012d181e400721a710004500842900060000000a000400ef0100715000f0010045010004004236a900cd6a6900ce53a400180006000200f100009de300100064023100000000000001a143746540012d181dc00721a7580044005d2800070000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a400180007000200f100009de300100064022f00000000000001a143746158012d181cc00721a7380044004c28000a0000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a40018000a000200f100009de300100064022d00000000000001a143745d70012d181b800721a6d00045003b28000b0000000a000400ef0100714f00f0010045010004004236f600cd6a6900ce53a40018000b000200f100009de300100064022900000000000001a143743a48012d18114007219990004300232600110000000a000400ef0100715000f00100450100040042368900cd6a6900ce53a400180011000200f100009de30010006401f900000000000001a143742e90012d180ec0072196d80042002f2600080000000a000400ef0100715000f00100450100040042366800cd6a6900ce53a400180008000200f100009de30010006401ee00000000000001a143742aa8012d180e4007219660004200422700070000000a000400ef0100715000f00100450100040042366800cd6a6900ce53a400180007000200f100009de30010006401ec000000000a00005563, 218187, 42.106.6.47, 2026-10-16 12:17:13, 2026-10-16 12:17:13))","packet_length":795} 
[2026-10-16 12:17:13] local.INFO: Processing buffer {"connection_id":218187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143753448012d18288007219cf00049008d25..."} 
[2026-10-16 12:17:13] local.INFO: Packet analysis {"connection_id":218187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14375"} 
[2026-10-16 12:17:13] local.INFO: Extracted packet for processing {"connection_id":218187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14375"} 
[2026-10-16 12:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643376,"longitude_deg":75.6557952,"latitude_deg":11.9643376,"altitude":73,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786072320001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150087536345088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095756288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792133117000,"timestamp_ms":1792133117000,"timestamp_seconds":1792133117,"priority":1,"record_length":96,"hex_timestamp":"000001a143753448"} 
[2026-10-16 12:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:17: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-10-16 12: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":215,"data_length":795,"current_offset":136} 
[2026-10-16 12:17:13] 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-10-16 12: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-10-16 12:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:17:13] local.ERROR: Error processing packet {"connection_id":218187,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:17:21] local.INFO: TCP Data received {"connection_id":216642,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:17:21] local.ERROR: Failed to insert raw packet {"connection_id":216642,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 216642, 117.225.177.58, 2026-10-16 12:17:21, 2026-10-16 12:17:21))","packet_length":17} 
[2026-10-16 12:17:21] local.INFO: Processing buffer {"connection_id":216642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:17:21] local.INFO: IMEI packet received {"connection_id":216642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":216642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:17:25] local.INFO: TCP Data received {"connection_id":219914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:17:25] local.ERROR: Failed to insert raw packet {"connection_id":219914,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 219914, 42.109.136.7, 2026-10-16 12:17:25, 2026-10-16 12:17:25))","packet_length":17} 
[2026-10-16 12:17:25] local.INFO: Processing buffer {"connection_id":219914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:17:25] local.INFO: IMEI packet received {"connection_id":219914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":219914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:17:27] local.INFO: TCP Data received {"connection_id":216642,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:17:27] local.ERROR: Failed to insert raw packet {"connection_id":216642,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 216642, 117.225.177.58, 2026-10-16 12:17:27, 2026-10-16 12:17:27))","packet_length":17} 
[2026-10-16 12:17:27] local.INFO: Processing buffer {"connection_id":216642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:17:27] local.INFO: IMEI packet received {"connection_id":216642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":216642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:17:28] local.INFO: TCP Data received {"connection_id":216642,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:17:28] local.ERROR: Failed to insert raw packet {"connection_id":216642,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000cd9c, 216642, 117.225.177.58, 2026-10-16 12:17:28, 2026-10-16 12:17:28))","packet_length":795} 
[2026-10-16 12:17:28] local.INFO: Processing buffer {"connection_id":216642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:17:28] local.INFO: Packet analysis {"connection_id":216642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:17:28] local.INFO: Extracted packet for processing {"connection_id":216642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786014720001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792133171000,"timestamp_ms":1792133171000,"timestamp_seconds":1792133171,"priority":1,"record_length":96,"hex_timestamp":"000001a143760738"} 
[2026-10-16 12:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:17:28] 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-10-16 12:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:17:28] local.ERROR: Error processing packet {"connection_id":216642,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:17:33] local.INFO: TCP Data received {"connection_id":219914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:17:33] local.ERROR: Failed to insert raw packet {"connection_id":219914,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 219914, 42.109.136.7, 2026-10-16 12:17:33, 2026-10-16 12:17:33))","packet_length":17} 
[2026-10-16 12:17:33] local.INFO: Processing buffer {"connection_id":219914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:17:33] local.INFO: IMEI packet received {"connection_id":219914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":219914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:17:34] local.INFO: TCP Data received {"connection_id":219914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:17:34] local.ERROR: Failed to insert raw packet {"connection_id":219914,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1434a9620012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef31000000000a000022a9, 219914, 42.109.136.7, 2026-10-16 12:17:34, 2026-10-16 12:17:34))","packet_length":795} 
[2026-10-16 12:17:34] local.INFO: Processing buffer {"connection_id":219914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:17:34] local.INFO: Packet analysis {"connection_id":219914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:17:34] local.INFO: Extracted packet for processing {"connection_id":219914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785979392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:34] 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-10-16 12:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792133033000,"timestamp_ms":1792133033000,"timestamp_seconds":1792133033,"priority":1,"record_length":96,"hex_timestamp":"000001a14373ec28"} 
[2026-10-16 12:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:17:34] 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-10-16 12:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":219914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":219914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":219914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:17:34] local.ERROR: Error processing packet {"connection_id":219914,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:17:36] local.INFO: TCP Data received {"connection_id":219914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:17:36] local.ERROR: Failed to insert raw packet {"connection_id":219914,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1434a9620012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef31000000000a000022a9, 219914, 42.109.136.7, 2026-10-16 12:17:36, 2026-10-16 12:17:36))","packet_length":795} 
[2026-10-16 12:17:36] local.INFO: Processing buffer {"connection_id":219914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:17:36] local.INFO: Packet analysis {"connection_id":219914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:17:36] local.INFO: Extracted packet for processing {"connection_id":219914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785979392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17: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-10-16 12:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792133033000,"timestamp_ms":1792133033000,"timestamp_seconds":1792133033,"priority":1,"record_length":96,"hex_timestamp":"000001a14373ec28"} 
[2026-10-16 12:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:17:36] 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-10-16 12:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:17:36] local.ERROR: Error processing packet {"connection_id":219914,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:17:43] local.INFO: TCP Data received {"connection_id":218187,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143758268012d18288007219cf00049008d29..."} 
[2026-10-16 12:17:43] local.ERROR: Failed to insert raw packet {"connection_id":218187,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143758268012d18288007219cf00049008d2900000000000a000400ef0100714f00f00100450100040042327500cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143753448012d18288007219cf00049008d2500000000000a000400ef0100714f00f0010045010004004232a100cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14374de58012d18288007219cf00049008d2400000000000a000400ef0100715000f0010045010004004232d700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143749038012d1825800721a0a8004600922a000b0000000a000400ef0100715000f0010045010004004236e000cd6a6900ce53a40018000b000200f100009de300100064024d00000000000001a143746d10012d181e400721a710004500842900060000000a000400ef0100715000f0010045010004004236a900cd6a6900ce53a400180006000200f100009de300100064023100000000000001a143746540012d181dc00721a7580044005d2800070000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a400180007000200f100009de300100064022f00000000000001a143746158012d181cc00721a7380044004c28000a0000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a40018000a000200f100009de300100064022d00000000000001a143745d70012d181b800721a6d00045003b28000b0000000a000400ef0100714f00f0010045010004004236f600cd6a6900ce53a40018000b000200f100009de300100064022900000000000001a143743a48012d18114007219990004300232600110000000a000400ef0100715000f00100450100040042368900cd6a6900ce53a400180011000200f100009de30010006401f900000000000001a143742e90012d180ec0072196d80042002f2600080000000a000400ef0100715000f00100450100040042366800cd6a6900ce53a400180008000200f100009de30010006401ee000000000a000038d8, 218187, 42.106.6.47, 2026-10-16 12:17:43, 2026-10-16 12:17:43))","packet_length":795} 
[2026-10-16 12:17:43] local.INFO: Processing buffer {"connection_id":218187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143758268012d18288007219cf00049008d29..."} 
[2026-10-16 12:17:43] local.INFO: Packet analysis {"connection_id":218187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14375"} 
[2026-10-16 12:17:43] local.INFO: Extracted packet for processing {"connection_id":218187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14375"} 
[2026-10-16 12:17:43] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643376,"longitude_deg":75.6557952,"latitude_deg":11.9643376,"altitude":73,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786077952001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150087536345088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095756288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792133137000,"timestamp_ms":1792133137000,"timestamp_seconds":1792133137,"priority":1,"record_length":96,"hex_timestamp":"000001a143758268"} 
[2026-10-16 12:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:17: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-10-16 12: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-10-16 12:17:43] 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-10-16 12: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-10-16 12:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":218187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":218187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":218187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:17:43] local.ERROR: Error processing packet {"connection_id":218187,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:17:58] local.INFO: TCP Data received {"connection_id":216642,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:17:58] local.ERROR: Failed to insert raw packet {"connection_id":216642,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000cd9c, 216642, 117.225.177.58, 2026-10-16 12:17:58, 2026-10-16 12:17:58))","packet_length":795} 
[2026-10-16 12:17:58] local.INFO: Processing buffer {"connection_id":216642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:17:58] local.INFO: Packet analysis {"connection_id":216642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:17:58] local.INFO: Extracted packet for processing {"connection_id":216642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:17: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-10-16 12:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786014720001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792133171000,"timestamp_ms":1792133171000,"timestamp_seconds":1792133171,"priority":1,"record_length":96,"hex_timestamp":"000001a143760738"} 
[2026-10-16 12:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:17:59] 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-10-16 12:17: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-10-16 12:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:17:59] local.ERROR: Error processing packet {"connection_id":216642,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:18:07] local.INFO: TCP Data received {"connection_id":216838,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:18:07] local.ERROR: Failed to insert raw packet {"connection_id":216838,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216838, 42.106.6.47, 2026-10-16 12:18:07, 2026-10-16 12:18:07))","packet_length":17} 
[2026-10-16 12:18:07] local.INFO: Processing buffer {"connection_id":216838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:18:07] local.INFO: IMEI packet received {"connection_id":216838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":216838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:18:12] local.INFO: TCP Data received {"connection_id":216838,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:18:12] local.ERROR: Failed to insert raw packet {"connection_id":216838,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216838, 42.106.6.47, 2026-10-16 12:18:12, 2026-10-16 12:18:12))","packet_length":17} 
[2026-10-16 12:18:12] local.INFO: Processing buffer {"connection_id":216838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:18:12] local.INFO: IMEI packet received {"connection_id":216838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":216838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:18:13] local.INFO: TCP Data received {"connection_id":216838,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14375d470012d18288007219cf00049008d24..."} 
[2026-10-16 12:18:13] local.ERROR: Failed to insert raw packet {"connection_id":216838,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14375d470012d18288007219cf00049008d2400000000000a000400ef0100715000f00100450100040042324a00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143758268012d18288007219cf00049008d2900000000000a000400ef0100714f00f00100450100040042327500cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143753448012d18288007219cf00049008d2500000000000a000400ef0100714f00f0010045010004004232a100cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14374de58012d18288007219cf00049008d2400000000000a000400ef0100715000f0010045010004004232d700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143749038012d1825800721a0a8004600922a000b0000000a000400ef0100715000f0010045010004004236e000cd6a6900ce53a40018000b000200f100009de300100064024d00000000000001a143746d10012d181e400721a710004500842900060000000a000400ef0100715000f0010045010004004236a900cd6a6900ce53a400180006000200f100009de300100064023100000000000001a143746540012d181dc00721a7580044005d2800070000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a400180007000200f100009de300100064022f00000000000001a143746158012d181cc00721a7380044004c28000a0000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a40018000a000200f100009de300100064022d00000000000001a143745d70012d181b800721a6d00045003b28000b0000000a000400ef0100714f00f0010045010004004236f600cd6a6900ce53a40018000b000200f100009de300100064022900000000000001a143743a48012d18114007219990004300232600110000000a000400ef0100715000f00100450100040042368900cd6a6900ce53a400180011000200f100009de30010006401f9000000000a00006e9d, 216838, 42.106.6.47, 2026-10-16 12:18:13, 2026-10-16 12:18:13))","packet_length":795} 
[2026-10-16 12:18:13] local.INFO: Processing buffer {"connection_id":216838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14375d470012d18288007219cf00049008d24..."} 
[2026-10-16 12:18:13] local.INFO: Packet analysis {"connection_id":216838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14375"} 
[2026-10-16 12:18:13] local.INFO: Extracted packet for processing {"connection_id":216838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14375"} 
[2026-10-16 12:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643376,"longitude_deg":75.6557952,"latitude_deg":11.9643376,"altitude":73,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786083072001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150087536345088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095756288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792133158000,"timestamp_ms":1792133158000,"timestamp_seconds":1792133158,"priority":1,"record_length":96,"hex_timestamp":"000001a14375d470"} 
[2026-10-16 12:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:18: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-10-16 12: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":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:18:13] 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-10-16 12: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-10-16 12:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:18:13] local.ERROR: Error processing packet {"connection_id":216838,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:18:16] local.INFO: TCP Data received {"connection_id":219915,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:18:16] local.ERROR: Failed to insert raw packet {"connection_id":219915,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 219915, 117.225.177.58, 2026-10-16 12:18:16, 2026-10-16 12:18:16))","packet_length":17} 
[2026-10-16 12:18:16] local.INFO: Processing buffer {"connection_id":219915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:18:16] local.INFO: IMEI packet received {"connection_id":219915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":219915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:18:21] local.INFO: TCP Data received {"connection_id":216837,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:18:21] local.ERROR: Failed to insert raw packet {"connection_id":216837,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303731363332333232, 216837, 42.106.6.15, 2026-10-16 12:18:21, 2026-10-16 12:18:21))","packet_length":17} 
[2026-10-16 12:18:21] local.INFO: Processing buffer {"connection_id":216837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:18:21] local.INFO: IMEI packet received {"connection_id":216837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":216837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:18:21] local.INFO: TCP Data received {"connection_id":219916,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:18:21] local.ERROR: Failed to insert raw packet {"connection_id":219916,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 219916, 42.109.136.10, 2026-10-16 12:18:21, 2026-10-16 12:18:21))","packet_length":17} 
[2026-10-16 12:18:21] local.INFO: Processing buffer {"connection_id":219916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:18:21] local.INFO: IMEI packet received {"connection_id":219916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":219916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:18:22] local.INFO: TCP Data received {"connection_id":219915,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:18:22] local.ERROR: Failed to insert raw packet {"connection_id":219915,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 219915, 117.225.177.58, 2026-10-16 12:18:22, 2026-10-16 12:18:22))","packet_length":17} 
[2026-10-16 12:18:22] local.INFO: Processing buffer {"connection_id":219915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:18:22] local.INFO: IMEI packet received {"connection_id":219915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":219915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:18:23] local.INFO: TCP Data received {"connection_id":219915,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:18:23] local.ERROR: Failed to insert raw packet {"connection_id":219915,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000cd9c, 219915, 117.225.177.58, 2026-10-16 12:18:23, 2026-10-16 12:18:23))","packet_length":795} 
[2026-10-16 12:18:23] local.INFO: Processing buffer {"connection_id":219915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:18:23] local.INFO: Packet analysis {"connection_id":219915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:18:23] local.INFO: Extracted packet for processing {"connection_id":219915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:18:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786014720001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792133171000,"timestamp_ms":1792133171000,"timestamp_seconds":1792133171,"priority":1,"record_length":96,"hex_timestamp":"000001a143760738"} 
[2026-10-16 12:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:18:23] 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-10-16 12:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:18:23] local.ERROR: Error processing packet {"connection_id":219915,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:18:26] local.INFO: TCP Data received {"connection_id":219916,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:18:26] local.ERROR: Failed to insert raw packet {"connection_id":219916,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 219916, 42.109.136.10, 2026-10-16 12:18:26, 2026-10-16 12:18:26))","packet_length":17} 
[2026-10-16 12:18:26] local.INFO: Processing buffer {"connection_id":219916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:18:26] local.INFO: IMEI packet received {"connection_id":219916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":219916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:18:27] local.INFO: TCP Data received {"connection_id":219916,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:18:27] local.ERROR: Failed to insert raw packet {"connection_id":219916,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1434a9620012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef31000000000a000022a9, 219916, 42.109.136.10, 2026-10-16 12:18:27, 2026-10-16 12:18:27))","packet_length":795} 
[2026-10-16 12:18:27] local.INFO: Processing buffer {"connection_id":219916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14373ec28012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:18:27] local.INFO: Packet analysis {"connection_id":219916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:18:27] local.INFO: Extracted packet for processing {"connection_id":219916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14373"} 
[2026-10-16 12:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458785979392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:27] 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-10-16 12:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792133033000,"timestamp_ms":1792133033000,"timestamp_seconds":1792133033,"priority":1,"record_length":96,"hex_timestamp":"000001a14373ec28"} 
[2026-10-16 12:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:18:27] 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-10-16 12:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:18:27] local.ERROR: Error processing packet {"connection_id":219916,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:18:44] local.INFO: TCP Data received {"connection_id":216838,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143762a60012d18288007219cf00049008d22..."} 
[2026-10-16 12:18:44] local.ERROR: Failed to insert raw packet {"connection_id":216838,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143762a60012d18288007219cf00049008d2200000000000a000400ef0100714f00f00100450100040042322900cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14375d470012d18288007219cf00049008d2400000000000a000400ef0100715000f00100450100040042324a00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143758268012d18288007219cf00049008d2900000000000a000400ef0100714f00f00100450100040042327500cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143753448012d18288007219cf00049008d2500000000000a000400ef0100714f00f0010045010004004232a100cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14374de58012d18288007219cf00049008d2400000000000a000400ef0100715000f0010045010004004232d700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143749038012d1825800721a0a8004600922a000b0000000a000400ef0100715000f0010045010004004236e000cd6a6900ce53a40018000b000200f100009de300100064024d00000000000001a143746d10012d181e400721a710004500842900060000000a000400ef0100715000f0010045010004004236a900cd6a6900ce53a400180006000200f100009de300100064023100000000000001a143746540012d181dc00721a7580044005d2800070000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a400180007000200f100009de300100064022f00000000000001a143746158012d181cc00721a7380044004c28000a0000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a40018000a000200f100009de300100064022d00000000000001a143745d70012d181b800721a6d00045003b28000b0000000a000400ef0100714f00f0010045010004004236f600cd6a6900ce53a40018000b000200f100009de3001000640229000000000a0000d708, 216838, 42.106.6.47, 2026-10-16 12:18:44, 2026-10-16 12:18:44))","packet_length":795} 
[2026-10-16 12:18:44] local.INFO: Processing buffer {"connection_id":216838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143762a60012d18288007219cf00049008d22..."} 
[2026-10-16 12:18:44] local.INFO: Packet analysis {"connection_id":216838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:18:44] local.INFO: Extracted packet for processing {"connection_id":216838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643376,"longitude_deg":75.6557952,"latitude_deg":11.9643376,"altitude":73,"angle":141,"satellites":34,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786088448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150087536345088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095756288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792133180000,"timestamp_ms":1792133180000,"timestamp_seconds":1792133180,"priority":1,"record_length":96,"hex_timestamp":"000001a143762a60"} 
[2026-10-16 12:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12: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":74,"data_length":795,"current_offset":136} 
[2026-10-16 12:18: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-10-16 12: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-10-16 12:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:18:44] local.ERROR: Error processing packet {"connection_id":216838,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:18:51] local.INFO: TCP Data received {"connection_id":218188,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:18:51] local.ERROR: Failed to insert raw packet {"connection_id":218188,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303731363332333232, 218188, 42.106.6.15, 2026-10-16 12:18:51, 2026-10-16 12:18:51))","packet_length":17} 
[2026-10-16 12:18:51] local.INFO: Processing buffer {"connection_id":218188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:18:51] local.INFO: IMEI packet received {"connection_id":218188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":218188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:18:54] local.INFO: TCP Data received {"connection_id":219915,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:18:54] local.ERROR: Failed to insert raw packet {"connection_id":219915,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000cd9c, 219915, 117.225.177.58, 2026-10-16 12:18:54, 2026-10-16 12:18:54))","packet_length":795} 
[2026-10-16 12:18:54] local.INFO: Processing buffer {"connection_id":219915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:18:54] local.INFO: Packet analysis {"connection_id":219915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:18:54] local.INFO: Extracted packet for processing {"connection_id":219915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786014720001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792133171000,"timestamp_ms":1792133171000,"timestamp_seconds":1792133171,"priority":1,"record_length":96,"hex_timestamp":"000001a143760738"} 
[2026-10-16 12:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:18:54] 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-10-16 12:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:18:54] local.ERROR: Error processing packet {"connection_id":219915,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:18:57] local.INFO: TCP Data received {"connection_id":219916,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:18:57] local.ERROR: Failed to insert raw packet {"connection_id":219916,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 219916, 42.109.136.10, 2026-10-16 12:18:57, 2026-10-16 12:18:57))","packet_length":795} 
[2026-10-16 12:18:57] local.INFO: Processing buffer {"connection_id":219916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:18:57] local.INFO: Packet analysis {"connection_id":219916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:18:57] local.INFO: Extracted packet for processing {"connection_id":219916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:18:57] 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-10-16 12:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:18: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-10-16 12:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":219916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":219916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":219916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:18:57] local.ERROR: Error processing packet {"connection_id":219916,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:19:12] local.INFO: TCP Data received {"connection_id":216839,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:19:12] local.ERROR: Failed to insert raw packet {"connection_id":216839,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216839, 42.106.6.47, 2026-10-16 12:19:12, 2026-10-16 12:19:12))","packet_length":17} 
[2026-10-16 12:19:12] local.INFO: Processing buffer {"connection_id":216839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:19:12] local.INFO: IMEI packet received {"connection_id":216839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":216839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:19:16] local.INFO: TCP Data received {"connection_id":218189,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:19:16] local.ERROR: Failed to insert raw packet {"connection_id":218189,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 218189, 117.225.177.58, 2026-10-16 12:19:16, 2026-10-16 12:19:16))","packet_length":17} 
[2026-10-16 12:19:16] local.INFO: Processing buffer {"connection_id":218189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:19:16] local.INFO: IMEI packet received {"connection_id":218189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":218189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:19:22] local.INFO: TCP Data received {"connection_id":218189,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:19:22] local.ERROR: Failed to insert raw packet {"connection_id":218189,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 218189, 117.225.177.58, 2026-10-16 12:19:22, 2026-10-16 12:19:22))","packet_length":17} 
[2026-10-16 12:19:22] local.INFO: Processing buffer {"connection_id":218189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:19:22] local.INFO: IMEI packet received {"connection_id":218189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":218189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:19:22] local.INFO: TCP Data received {"connection_id":216840,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:19:22] local.ERROR: Failed to insert raw packet {"connection_id":216840,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 216840, 42.109.136.9, 2026-10-16 12:19:22, 2026-10-16 12:19:22))","packet_length":17} 
[2026-10-16 12:19:22] local.INFO: Processing buffer {"connection_id":216840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:19:22] local.INFO: IMEI packet received {"connection_id":216840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":216840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:19:23] local.INFO: TCP Data received {"connection_id":218189,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:19:23] local.ERROR: Failed to insert raw packet {"connection_id":218189,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000cd9c, 218189, 117.225.177.58, 2026-10-16 12:19:23, 2026-10-16 12:19:23))","packet_length":795} 
[2026-10-16 12:19:23] local.INFO: Processing buffer {"connection_id":218189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:19:23] local.INFO: Packet analysis {"connection_id":218189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:19:23] local.INFO: Extracted packet for processing {"connection_id":218189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786014720001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792133171000,"timestamp_ms":1792133171000,"timestamp_seconds":1792133171,"priority":1,"record_length":96,"hex_timestamp":"000001a143760738"} 
[2026-10-16 12:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:19:23] 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-10-16 12: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-10-16 12:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:19:23] local.ERROR: Error processing packet {"connection_id":218189,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:19:24] local.INFO: TCP Data received {"connection_id":216839,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:19:24] local.ERROR: Failed to insert raw packet {"connection_id":216839,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216839, 42.106.6.47, 2026-10-16 12:19:24, 2026-10-16 12:19:24))","packet_length":17} 
[2026-10-16 12:19:24] local.INFO: Processing buffer {"connection_id":216839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:19:24] local.INFO: IMEI packet received {"connection_id":216839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":216839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:19:25] local.INFO: TCP Data received {"connection_id":216839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143767c68012d18288007219cf00049008d24..."} 
[2026-10-16 12:19:25] local.ERROR: Failed to insert raw packet {"connection_id":216839,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143767c68012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231e800cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143762a60012d18288007219cf00049008d2200000000000a000400ef0100714f00f00100450100040042322900cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14375d470012d18288007219cf00049008d2400000000000a000400ef0100715000f00100450100040042324a00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143758268012d18288007219cf00049008d2900000000000a000400ef0100714f00f00100450100040042327500cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143753448012d18288007219cf00049008d2500000000000a000400ef0100714f00f0010045010004004232a100cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14374de58012d18288007219cf00049008d2400000000000a000400ef0100715000f0010045010004004232d700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143749038012d1825800721a0a8004600922a000b0000000a000400ef0100715000f0010045010004004236e000cd6a6900ce53a40018000b000200f100009de300100064024d00000000000001a143746d10012d181e400721a710004500842900060000000a000400ef0100715000f0010045010004004236a900cd6a6900ce53a400180006000200f100009de300100064023100000000000001a143746540012d181dc00721a7580044005d2800070000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a400180007000200f100009de300100064022f00000000000001a143746158012d181cc00721a7380044004c28000a0000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a40018000a000200f100009de300100064022d000000000a000039fb, 216839, 42.106.6.47, 2026-10-16 12:19:25, 2026-10-16 12:19:25))","packet_length":795} 
[2026-10-16 12:19:25] local.INFO: Processing buffer {"connection_id":216839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143767c68012d18288007219cf00049008d24..."} 
[2026-10-16 12:19:25] local.INFO: Packet analysis {"connection_id":216839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:19:25] local.INFO: Extracted packet for processing {"connection_id":216839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:19:25] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643376,"longitude_deg":75.6557952,"latitude_deg":11.9643376,"altitude":73,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-10-16 12:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786094080001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150087536345088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095756288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792133201000,"timestamp_ms":1792133201000,"timestamp_seconds":1792133201,"priority":1,"record_length":96,"hex_timestamp":"000001a143767c68"} 
[2026-10-16 12:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 12:19: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-10-16 12:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:19:25] local.ERROR: Error processing packet {"connection_id":216839,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:19:25] local.INFO: TCP Data received {"connection_id":216840,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:19:25] local.ERROR: Failed to insert raw packet {"connection_id":216840,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 216840, 42.109.136.9, 2026-10-16 12:19:25, 2026-10-16 12:19:25))","packet_length":17} 
[2026-10-16 12:19:25] local.INFO: Processing buffer {"connection_id":216840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:19:25] local.INFO: IMEI packet received {"connection_id":216840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":216840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:19:26] local.INFO: TCP Data received {"connection_id":216839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14376d258012d18288007219cf00049008d26..."} 
[2026-10-16 12:19:26] local.ERROR: Failed to insert raw packet {"connection_id":216839,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14376d258012d18288007219cf00049008d2600000000000a000400ef0100715000f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143767c68012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231e800cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143762a60012d18288007219cf00049008d2200000000000a000400ef0100714f00f00100450100040042322900cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14375d470012d18288007219cf00049008d2400000000000a000400ef0100715000f00100450100040042324a00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143758268012d18288007219cf00049008d2900000000000a000400ef0100714f00f00100450100040042327500cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143753448012d18288007219cf00049008d2500000000000a000400ef0100714f00f0010045010004004232a100cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14374de58012d18288007219cf00049008d2400000000000a000400ef0100715000f0010045010004004232d700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143749038012d1825800721a0a8004600922a000b0000000a000400ef0100715000f0010045010004004236e000cd6a6900ce53a40018000b000200f100009de300100064024d00000000000001a143746d10012d181e400721a710004500842900060000000a000400ef0100715000f0010045010004004236a900cd6a6900ce53a400180006000200f100009de300100064023100000000000001a143746540012d181dc00721a7580044005d2800070000000a000400ef0100714f00f00100450100040042360600cd6a6900ce53a400180007000200f100009de300100064022f000000000a00004693, 216839, 42.106.6.47, 2026-10-16 12:19:26, 2026-10-16 12:19:26))","packet_length":795} 
[2026-10-16 12:19:26] local.INFO: Processing buffer {"connection_id":216839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14376d258012d18288007219cf00049008d26..."} 
[2026-10-16 12:19:26] local.INFO: Packet analysis {"connection_id":216839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:19:26] local.INFO: Extracted packet for processing {"connection_id":216839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:19:26] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643376,"longitude_deg":75.6557952,"latitude_deg":11.9643376,"altitude":73,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-10-16 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786099456001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150087536345088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095756288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792133223000,"timestamp_ms":1792133223000,"timestamp_seconds":1792133223,"priority":1,"record_length":96,"hex_timestamp":"000001a14376d258"} 
[2026-10-16 12:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-10-16 12:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:19:26] local.ERROR: Error processing packet {"connection_id":216839,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:19:28] local.INFO: TCP Data received {"connection_id":216840,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:19:28] local.ERROR: Failed to insert raw packet {"connection_id":216840,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 216840, 42.109.136.9, 2026-10-16 12:19:28, 2026-10-16 12:19:28))","packet_length":795} 
[2026-10-16 12:19:28] local.INFO: Processing buffer {"connection_id":216840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:19:28] local.INFO: Packet analysis {"connection_id":216840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:19:28] local.INFO: Extracted packet for processing {"connection_id":216840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:28] 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-10-16 12:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:19:28] local.ERROR: Error processing packet {"connection_id":216840,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:19:54] local.INFO: TCP Data received {"connection_id":218189,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:19:54] local.ERROR: Failed to insert raw packet {"connection_id":218189,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000cd9c, 218189, 117.225.177.58, 2026-10-16 12:19:54, 2026-10-16 12:19:54))","packet_length":795} 
[2026-10-16 12:19:54] local.INFO: Processing buffer {"connection_id":218189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:19:54] local.INFO: Packet analysis {"connection_id":218189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:19:54] local.INFO: Extracted packet for processing {"connection_id":218189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786014720001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792133171000,"timestamp_ms":1792133171000,"timestamp_seconds":1792133171,"priority":1,"record_length":96,"hex_timestamp":"000001a143760738"} 
[2026-10-16 12:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:19:54] 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-10-16 12:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:19:54] local.ERROR: Error processing packet {"connection_id":218189,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:19:57] local.INFO: TCP Data received {"connection_id":216840,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:19:57] local.ERROR: Failed to insert raw packet {"connection_id":216840,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 216840, 42.109.136.9, 2026-10-16 12:19:57, 2026-10-16 12:19:57))","packet_length":795} 
[2026-10-16 12:19:57] local.INFO: Processing buffer {"connection_id":216840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:19:57] local.INFO: Packet analysis {"connection_id":216840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:19:57] local.INFO: Extracted packet for processing {"connection_id":216840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:19:57] 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-10-16 12:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:19: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-10-16 12:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:19:57] local.ERROR: Error processing packet {"connection_id":216840,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:20:09] local.INFO: TCP Data received {"connection_id":219917,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:20:09] local.ERROR: Failed to insert raw packet {"connection_id":219917,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 219917, 42.106.6.47, 2026-10-16 12:20:09, 2026-10-16 12:20:09))","packet_length":17} 
[2026-10-16 12:20:09] local.INFO: Processing buffer {"connection_id":219917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:20:09] local.INFO: IMEI packet received {"connection_id":219917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":219917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:20:10] local.INFO: TCP Data received {"connection_id":219917,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:20:10] local.ERROR: Failed to insert raw packet {"connection_id":219917,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 219917, 42.106.6.47, 2026-10-16 12:20:10, 2026-10-16 12:20:10))","packet_length":17} 
[2026-10-16 12:20:10] local.INFO: Processing buffer {"connection_id":219917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:20:10] local.INFO: IMEI packet received {"connection_id":219917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":219917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:20:12] local.INFO: TCP Data received {"connection_id":219917,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:20:12] local.ERROR: Failed to insert raw packet {"connection_id":219917,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 219917, 42.106.6.47, 2026-10-16 12:20:12, 2026-10-16 12:20:12))","packet_length":17} 
[2026-10-16 12:20:12] local.INFO: Processing buffer {"connection_id":219917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:20:12] local.INFO: IMEI packet received {"connection_id":219917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":219917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:20:13] local.INFO: TCP Data received {"connection_id":219917,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143772460012d18288007219cf00049008d24..."} 
[2026-10-16 12:20:13] local.ERROR: Failed to insert raw packet {"connection_id":219917,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143772460012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231c700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14376d258012d18288007219cf00049008d2600000000000a000400ef0100715000f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143767c68012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231e800cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143762a60012d18288007219cf00049008d2200000000000a000400ef0100714f00f00100450100040042322900cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14375d470012d18288007219cf00049008d2400000000000a000400ef0100715000f00100450100040042324a00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143758268012d18288007219cf00049008d2900000000000a000400ef0100714f00f00100450100040042327500cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143753448012d18288007219cf00049008d2500000000000a000400ef0100714f00f0010045010004004232a100cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14374de58012d18288007219cf00049008d2400000000000a000400ef0100715000f0010045010004004232d700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143749038012d1825800721a0a8004600922a000b0000000a000400ef0100715000f0010045010004004236e000cd6a6900ce53a40018000b000200f100009de300100064024d00000000000001a143746d10012d181e400721a710004500842900060000000a000400ef0100715000f0010045010004004236a900cd6a6900ce53a400180006000200f100009de3001000640231000000000a0000f5ec, 219917, 42.106.6.47, 2026-10-16 12:20:13, 2026-10-16 12:20:13))","packet_length":795} 
[2026-10-16 12:20:13] local.INFO: Processing buffer {"connection_id":219917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143772460012d18288007219cf00049008d24..."} 
[2026-10-16 12:20:13] local.INFO: Packet analysis {"connection_id":219917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14377"} 
[2026-10-16 12:20:13] local.INFO: Extracted packet for processing {"connection_id":219917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14377"} 
[2026-10-16 12:20:13] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643376,"longitude_deg":75.6557952,"latitude_deg":11.9643376,"altitude":73,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786105088001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150087536345088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095756288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792133244000,"timestamp_ms":1792133244000,"timestamp_seconds":1792133244,"priority":1,"record_length":96,"hex_timestamp":"000001a143772460"} 
[2026-10-16 12:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:20: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-10-16 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 12:20: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-10-16 12: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-10-16 12:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:20:13] local.ERROR: Error processing packet {"connection_id":219917,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:20:17] local.INFO: TCP Data received {"connection_id":219917,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143777668012d18288007219cf00049008d25..."} 
[2026-10-16 12:20:17] local.ERROR: Failed to insert raw packet {"connection_id":219917,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143777668012d18288007219cf00049008d2500000000000a000400ef0100714f00f00100450100040042365200cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143772460012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231c700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14376d258012d18288007219cf00049008d2600000000000a000400ef0100715000f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143767c68012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231e800cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143762a60012d18288007219cf00049008d2200000000000a000400ef0100714f00f00100450100040042322900cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14375d470012d18288007219cf00049008d2400000000000a000400ef0100715000f00100450100040042324a00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143758268012d18288007219cf00049008d2900000000000a000400ef0100714f00f00100450100040042327500cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143753448012d18288007219cf00049008d2500000000000a000400ef0100714f00f0010045010004004232a100cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14374de58012d18288007219cf00049008d2400000000000a000400ef0100715000f0010045010004004232d700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143749038012d1825800721a0a8004600922a000b0000000a000400ef0100715000f0010045010004004236e000cd6a6900ce53a40018000b000200f100009de300100064024d000000000a000089f0, 219917, 42.106.6.47, 2026-10-16 12:20:17, 2026-10-16 12:20:17))","packet_length":795} 
[2026-10-16 12:20:17] local.INFO: Processing buffer {"connection_id":219917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143777668012d18288007219cf00049008d25..."} 
[2026-10-16 12:20:17] local.INFO: Packet analysis {"connection_id":219917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14377"} 
[2026-10-16 12:20:17] local.INFO: Extracted packet for processing {"connection_id":219917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14377"} 
[2026-10-16 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643376,"longitude_deg":75.6557952,"latitude_deg":11.9643376,"altitude":73,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-10-16 12:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786110464001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150087536345088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095756288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792133265000,"timestamp_ms":1792133265000,"timestamp_seconds":1792133265,"priority":1,"record_length":96,"hex_timestamp":"000001a143777668"} 
[2026-10-16 12:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-10-16 12:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":219917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":219917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":219917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:20:17] local.ERROR: Error processing packet {"connection_id":219917,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:20:20] local.INFO: TCP Data received {"connection_id":218190,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:20:20] local.ERROR: Failed to insert raw packet {"connection_id":218190,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 218190, 42.109.136.11, 2026-10-16 12:20:20, 2026-10-16 12:20:20))","packet_length":17} 
[2026-10-16 12:20:20] local.INFO: Processing buffer {"connection_id":218190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:20:20] local.INFO: IMEI packet received {"connection_id":218190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":218190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:20:22] local.INFO: TCP Data received {"connection_id":219918,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:20:22] local.ERROR: Failed to insert raw packet {"connection_id":219918,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 219918, 117.225.177.58, 2026-10-16 12:20:22, 2026-10-16 12:20:22))","packet_length":17} 
[2026-10-16 12:20:22] local.INFO: Processing buffer {"connection_id":219918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:20:22] local.INFO: IMEI packet received {"connection_id":219918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":219918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:20:26] local.INFO: TCP Data received {"connection_id":218190,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:20:26] local.ERROR: Failed to insert raw packet {"connection_id":218190,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 218190, 42.109.136.11, 2026-10-16 12:20:26, 2026-10-16 12:20:26))","packet_length":17} 
[2026-10-16 12:20:26] local.INFO: Processing buffer {"connection_id":218190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:20:26] local.INFO: IMEI packet received {"connection_id":218190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":218190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:20:27] local.INFO: TCP Data received {"connection_id":219918,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:20:27] local.ERROR: Failed to insert raw packet {"connection_id":219918,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 219918, 117.225.177.58, 2026-10-16 12:20:27, 2026-10-16 12:20:27))","packet_length":17} 
[2026-10-16 12:20:27] local.INFO: Processing buffer {"connection_id":219918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:20:27] local.INFO: IMEI packet received {"connection_id":219918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":219918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:20:27] local.INFO: TCP Data received {"connection_id":218190,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:20:27] local.ERROR: Failed to insert raw packet {"connection_id":218190,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 218190, 42.109.136.11, 2026-10-16 12:20:27, 2026-10-16 12:20:27))","packet_length":795} 
[2026-10-16 12:20:27] local.INFO: Processing buffer {"connection_id":218190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:20:27] local.INFO: Packet analysis {"connection_id":218190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:20:27] local.INFO: Extracted packet for processing {"connection_id":218190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:27] 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-10-16 12:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:20:27] local.ERROR: Error processing packet {"connection_id":218190,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:20:28] local.INFO: TCP Data received {"connection_id":219918,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:20:28] local.ERROR: Failed to insert raw packet {"connection_id":219918,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000cd9c, 219918, 117.225.177.58, 2026-10-16 12:20:28, 2026-10-16 12:20:28))","packet_length":795} 
[2026-10-16 12:20:28] local.INFO: Processing buffer {"connection_id":219918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:20:28] local.INFO: Packet analysis {"connection_id":219918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:20:28] local.INFO: Extracted packet for processing {"connection_id":219918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786014720001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792133171000,"timestamp_ms":1792133171000,"timestamp_seconds":1792133171,"priority":1,"record_length":96,"hex_timestamp":"000001a143760738"} 
[2026-10-16 12:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:20:28] 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-10-16 12:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:20:28] local.ERROR: Error processing packet {"connection_id":219918,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:20:32] local.INFO: TCP Data received {"connection_id":219918,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:20:32] local.ERROR: Failed to insert raw packet {"connection_id":219918,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000cd9c, 219918, 117.225.177.58, 2026-10-16 12:20:32, 2026-10-16 12:20:32))","packet_length":795} 
[2026-10-16 12:20:32] local.INFO: Processing buffer {"connection_id":219918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:20:32] local.INFO: Packet analysis {"connection_id":219918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:20:32] local.INFO: Extracted packet for processing {"connection_id":219918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786014720001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792133171000,"timestamp_ms":1792133171000,"timestamp_seconds":1792133171,"priority":1,"record_length":96,"hex_timestamp":"000001a143760738"} 
[2026-10-16 12:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:20:32] local.ERROR: Error processing packet {"connection_id":219918,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:20:48] local.INFO: TCP Data received {"connection_id":219917,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14377c870012d18288007219cf00049008d29..."} 
[2026-10-16 12:20:48] local.ERROR: Failed to insert raw packet {"connection_id":219917,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14377c870012d18288007219cf00049008d2900000000000a000400ef0100714f00f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143777668012d18288007219cf00049008d2500000000000a000400ef0100714f00f00100450100040042365200cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143772460012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231c700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14376d258012d18288007219cf00049008d2600000000000a000400ef0100715000f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143767c68012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231e800cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143762a60012d18288007219cf00049008d2200000000000a000400ef0100714f00f00100450100040042322900cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14375d470012d18288007219cf00049008d2400000000000a000400ef0100715000f00100450100040042324a00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143758268012d18288007219cf00049008d2900000000000a000400ef0100714f00f00100450100040042327500cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143753448012d18288007219cf00049008d2500000000000a000400ef0100714f00f0010045010004004232a100cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14374de58012d18288007219cf00049008d2400000000000a000400ef0100715000f0010045010004004232d700cd6a6900ce53a400180000000200f100009de300100064025b000000000a000015f5, 219917, 42.106.6.47, 2026-10-16 12:20:48, 2026-10-16 12:20:48))","packet_length":795} 
[2026-10-16 12:20:48] local.INFO: Processing buffer {"connection_id":219917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14377c870012d18288007219cf00049008d29..."} 
[2026-10-16 12:20:48] local.INFO: Packet analysis {"connection_id":219917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14377"} 
[2026-10-16 12:20:48] local.INFO: Extracted packet for processing {"connection_id":219917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14377"} 
[2026-10-16 12:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643376,"longitude_deg":75.6557952,"latitude_deg":11.9643376,"altitude":73,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786115840001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150087536345088,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095756288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792133286000,"timestamp_ms":1792133286000,"timestamp_seconds":1792133286,"priority":1,"record_length":96,"hex_timestamp":"000001a14377c870"} 
[2026-10-16 12:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-10-16 12:20:48] 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-10-16 12: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-10-16 12:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":219917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":219917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":219917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:20:48] local.ERROR: Error processing packet {"connection_id":219917,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:20:57] local.INFO: TCP Data received {"connection_id":218190,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:20:57] local.ERROR: Failed to insert raw packet {"connection_id":218190,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 218190, 42.109.136.11, 2026-10-16 12:20:57, 2026-10-16 12:20:57))","packet_length":795} 
[2026-10-16 12:20:57] local.INFO: Processing buffer {"connection_id":218190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:20:57] local.INFO: Packet analysis {"connection_id":218190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:20:57] local.INFO: Extracted packet for processing {"connection_id":218190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:20:57] 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-10-16 12:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:20: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-10-16 12:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":218190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":218190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":218190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:20:57] local.ERROR: Error processing packet {"connection_id":218190,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:21:07] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:21:07] local.ERROR: Failed to insert raw packet {"connection_id":216644,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216644, 42.106.6.47, 2026-10-16 12:21:07, 2026-10-16 12:21:07))","packet_length":17} 
[2026-10-16 12:21:07] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:21:07] local.INFO: IMEI packet received {"connection_id":216644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":216644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:21:12] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:21:12] local.ERROR: Failed to insert raw packet {"connection_id":216644,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216644, 42.106.6.47, 2026-10-16 12:21:12, 2026-10-16 12:21:12))","packet_length":17} 
[2026-10-16 12:21:12] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:21:12] local.INFO: IMEI packet received {"connection_id":216644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":216644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:21:14] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a14377eb98012d182a4007219ad80047007a28..."} 
[2026-10-16 12:21:14] local.ERROR: Failed to insert raw packet {"connection_id":216644,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a14377eb98012d182a4007219ad80047007a2800040000000a000400ef0100714f00f0010045010004004231b200cd6a6900ce53a400180004000200f100009de300100064026300000000000001a14377c870012d18288007219cf00049008d2900000000000a000400ef0100714f00f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143777668012d18288007219cf00049008d2500000000000a000400ef0100714f00f00100450100040042365200cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143772460012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231c700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14376d258012d18288007219cf00049008d2600000000000a000400ef0100715000f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143767c68012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231e800cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143762a60012d18288007219cf00049008d2200000000000a000400ef0100714f00f00100450100040042322900cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14375d470012d18288007219cf00049008d2400000000000a000400ef0100715000f00100450100040042324a00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143758268012d18288007219cf00049008d2900000000000a000400ef0100714f00f00100450100040042327500cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143753448012d18288007219cf00049008d2500000000000a000400ef0100714f00f0010045010004004232a100cd6a6900ce53a400180000000200f100009de300100064025b000000000a00000bf1, 216644, 42.106.6.47, 2026-10-16 12:21:14, 2026-10-16 12:21:14))","packet_length":795} 
[2026-10-16 12:21:14] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14377eb98012d182a4007219ad80047007a28..."} 
[2026-10-16 12:21:14] local.INFO: Packet analysis {"connection_id":216644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14377"} 
[2026-10-16 12:21:14] local.INFO: Extracted packet for processing {"connection_id":216644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14377"} 
[2026-10-16 12:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642840,"longitude_deg":75.65584,"latitude_deg":11.964284,"altitude":71,"angle":122,"satellites":40,"speed":4,"hex_longitude":"2d182a40","hex_latitude":"07219ad8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 12:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786121216001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150121896083456,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095756288,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792133295000,"timestamp_ms":1792133295000,"timestamp_seconds":1792133295,"priority":1,"record_length":96,"hex_timestamp":"000001a14377eb98"} 
[2026-10-16 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-10-16 12:21: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-10-16 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-10-16 12:21: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-10-16 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-10-16 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-10-16 12:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":216644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":216644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":216644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:21:14] local.ERROR: Error processing packet {"connection_id":216644,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:21:16] local.INFO: TCP Data received {"connection_id":218191,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:21:16] local.ERROR: Failed to insert raw packet {"connection_id":218191,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 218191, 117.225.177.58, 2026-10-16 12:21:16, 2026-10-16 12:21:16))","packet_length":17} 
[2026-10-16 12:21:16] local.INFO: Processing buffer {"connection_id":218191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:21:16] local.INFO: IMEI packet received {"connection_id":218191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":218191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:21:20] local.INFO: TCP Data received {"connection_id":219919,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:21:20] local.ERROR: Failed to insert raw packet {"connection_id":219919,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 219919, 42.109.136.6, 2026-10-16 12:21:20, 2026-10-16 12:21:20))","packet_length":17} 
[2026-10-16 12:21:20] local.INFO: Processing buffer {"connection_id":219919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:21:20] local.INFO: IMEI packet received {"connection_id":219919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":219919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:21:22] local.INFO: TCP Data received {"connection_id":218191,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:21:22] local.ERROR: Failed to insert raw packet {"connection_id":218191,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 218191, 117.225.177.58, 2026-10-16 12:21:22, 2026-10-16 12:21:22))","packet_length":17} 
[2026-10-16 12:21:22] local.INFO: Processing buffer {"connection_id":218191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:21:22] local.INFO: IMEI packet received {"connection_id":218191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":218191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:21:23] local.INFO: TCP Data received {"connection_id":218191,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:21:23] local.ERROR: Failed to insert raw packet {"connection_id":218191,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1434cb130012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042633500cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a0000cd9c, 218191, 117.225.177.58, 2026-10-16 12:21:23, 2026-10-16 12:21:23))","packet_length":795} 
[2026-10-16 12:21:23] local.INFO: Processing buffer {"connection_id":218191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143760738012d7fa40005afce580009000a31..."} 
[2026-10-16 12:21:23] local.INFO: Packet analysis {"connection_id":218191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:21:23] local.INFO: Extracted packet for processing {"connection_id":218191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14376"} 
[2026-10-16 12:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786014720001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792133171000,"timestamp_ms":1792133171000,"timestamp_seconds":1792133171,"priority":1,"record_length":96,"hex_timestamp":"000001a143760738"} 
[2026-10-16 12:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:21:23] 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-10-16 12:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:21:23] local.ERROR: Error processing packet {"connection_id":218191,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:21:25] local.INFO: TCP Data received {"connection_id":219919,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:21:25] local.ERROR: Failed to insert raw packet {"connection_id":219919,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 219919, 42.109.136.6, 2026-10-16 12:21:25, 2026-10-16 12:21:25))","packet_length":17} 
[2026-10-16 12:21:25] local.INFO: Processing buffer {"connection_id":219919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:21:25] local.INFO: IMEI packet received {"connection_id":219919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":219919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:21:26] local.INFO: TCP Data received {"connection_id":219919,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:21:26] local.ERROR: Failed to insert raw packet {"connection_id":219919,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 219919, 42.109.136.6, 2026-10-16 12:21:26, 2026-10-16 12:21:26))","packet_length":795} 
[2026-10-16 12:21:26] local.INFO: Processing buffer {"connection_id":219919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:21:26] local.INFO: Packet analysis {"connection_id":219919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:21:26] local.INFO: Extracted packet for processing {"connection_id":219919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:26] 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-10-16 12:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:21: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-10-16 12:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:21:26] local.ERROR: Error processing packet {"connection_id":219919,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:21:44] local.INFO: TCP Data received {"connection_id":216644,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143783da0012d182a4007219ab80047007a2b..."} 
[2026-10-16 12:21:44] local.ERROR: Failed to insert raw packet {"connection_id":216644,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143783da0012d182a4007219ab80047007a2b00000000000a000400ef0100715000f0010045010004004231a700cd6a6900ce53a400180000000200f100009de300100064026400000000000001a14377eb98012d182a4007219ad80047007a2800040000000a000400ef0100714f00f0010045010004004231b200cd6a6900ce53a400180004000200f100009de300100064026300000000000001a14377c870012d18288007219cf00049008d2900000000000a000400ef0100714f00f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143777668012d18288007219cf00049008d2500000000000a000400ef0100714f00f00100450100040042365200cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143772460012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231c700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14376d258012d18288007219cf00049008d2600000000000a000400ef0100715000f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143767c68012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231e800cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143762a60012d18288007219cf00049008d2200000000000a000400ef0100714f00f00100450100040042322900cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14375d470012d18288007219cf00049008d2400000000000a000400ef0100715000f00100450100040042324a00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143758268012d18288007219cf00049008d2900000000000a000400ef0100714f00f00100450100040042327500cd6a6900ce53a400180000000200f100009de300100064025b000000000a00008bdb, 216644, 42.106.6.47, 2026-10-16 12:21:44, 2026-10-16 12:21:44))","packet_length":795} 
[2026-10-16 12:21:44] local.INFO: Processing buffer {"connection_id":216644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143783da0012d182a4007219ab80047007a2b..."} 
[2026-10-16 12:21:44] local.INFO: Packet analysis {"connection_id":216644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:21:44] local.INFO: Extracted packet for processing {"connection_id":216644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642808,"longitude_deg":75.65584,"latitude_deg":11.9642808,"altitude":71,"angle":122,"satellites":43,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786123520001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150126191050752,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304862720,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792133316000,"timestamp_ms":1792133316000,"timestamp_seconds":1792133316,"priority":1,"record_length":96,"hex_timestamp":"000001a143783da0"} 
[2026-10-16 12:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:21: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-10-16 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 12:21: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-10-16 12: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-10-16 12:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:21:44] local.ERROR: Error processing packet {"connection_id":216644,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:21:54] local.INFO: TCP Data received {"connection_id":218191,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:21:54] local.ERROR: Failed to insert raw packet {"connection_id":218191,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a00008052, 218191, 117.225.177.58, 2026-10-16 12:21:54, 2026-10-16 12:21:54))","packet_length":795} 
[2026-10-16 12:21:54] local.INFO: Processing buffer {"connection_id":218191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:21:54] local.INFO: Packet analysis {"connection_id":218191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:21:54] local.INFO: Extracted packet for processing {"connection_id":218191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786091776001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792133472000,"timestamp_ms":1792133472000,"timestamp_seconds":1792133472,"priority":1,"record_length":96,"hex_timestamp":"000001a1437a9f00"} 
[2026-10-16 12:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:21:54] local.ERROR: Error processing packet {"connection_id":218191,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:22:04] local.INFO: TCP Data received {"connection_id":219919,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:22:04] local.ERROR: Failed to insert raw packet {"connection_id":219919,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 219919, 42.109.136.6, 2026-10-16 12:22:04, 2026-10-16 12:22:04))","packet_length":795} 
[2026-10-16 12:22:04] local.INFO: Processing buffer {"connection_id":219919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:22:04] local.INFO: Packet analysis {"connection_id":219919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:22:04] local.INFO: Extracted packet for processing {"connection_id":219919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:04] 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-10-16 12:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":219919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":219919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":219919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:22:04] local.ERROR: Error processing packet {"connection_id":219919,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:22:07] local.INFO: TCP Data received {"connection_id":216842,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:22:07] local.ERROR: Failed to insert raw packet {"connection_id":216842,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216842, 42.106.6.47, 2026-10-16 12:22:07, 2026-10-16 12:22:07))","packet_length":17} 
[2026-10-16 12:22:07] local.INFO: Processing buffer {"connection_id":216842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:22:07] local.INFO: IMEI packet received {"connection_id":216842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":216842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:22:12] local.INFO: TCP Data received {"connection_id":216842,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:22:12] local.ERROR: Failed to insert raw packet {"connection_id":216842,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 216842, 42.106.6.47, 2026-10-16 12:22:12, 2026-10-16 12:22:12))","packet_length":17} 
[2026-10-16 12:22:12] local.INFO: Processing buffer {"connection_id":216842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:22:12] local.INFO: IMEI packet received {"connection_id":216842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":216842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:22:13] local.INFO: TCP Data received {"connection_id":216842,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a143788fa8012d182a4007219ab80047007a29..."} 
[2026-10-16 12:22:13] local.ERROR: Failed to insert raw packet {"connection_id":216842,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a143788fa8012d182a4007219ab80047007a2900000000000a000400ef0100715000f00100450100040042318600cd6a6900ce53a400180000000200f100009de300100064026400000000000001a143783da0012d182a4007219ab80047007a2b00000000000a000400ef0100715000f0010045010004004231a700cd6a6900ce53a400180000000200f100009de300100064026400000000000001a14377eb98012d182a4007219ad80047007a2800040000000a000400ef0100714f00f0010045010004004231b200cd6a6900ce53a400180004000200f100009de300100064026300000000000001a14377c870012d18288007219cf00049008d2900000000000a000400ef0100714f00f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143777668012d18288007219cf00049008d2500000000000a000400ef0100714f00f00100450100040042365200cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143772460012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231c700cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14376d258012d18288007219cf00049008d2600000000000a000400ef0100715000f0010045010004004231dd00cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143767c68012d18288007219cf00049008d2400000000000a000400ef0100714f00f0010045010004004231e800cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a143762a60012d18288007219cf00049008d2200000000000a000400ef0100714f00f00100450100040042322900cd6a6900ce53a400180000000200f100009de300100064025b00000000000001a14375d470012d18288007219cf00049008d2400000000000a000400ef0100715000f00100450100040042324a00cd6a6900ce53a400180000000200f100009de300100064025b000000000a00005429, 216842, 42.106.6.47, 2026-10-16 12:22:13, 2026-10-16 12:22:13))","packet_length":795} 
[2026-10-16 12:22:13] local.INFO: Processing buffer {"connection_id":216842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143788fa8012d182a4007219ab80047007a29..."} 
[2026-10-16 12:22:13] local.INFO: Packet analysis {"connection_id":216842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:22:13] local.INFO: Extracted packet for processing {"connection_id":216842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642808,"longitude_deg":75.65584,"latitude_deg":11.9642808,"altitude":71,"angle":122,"satellites":41,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786128896001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28150126191050752,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304854528,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792133337000,"timestamp_ms":1792133337000,"timestamp_seconds":1792133337,"priority":1,"record_length":96,"hex_timestamp":"000001a143788fa8"} 
[2026-10-16 12:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:22: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-10-16 12: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-10-16 12:22:13] 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-10-16 12: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-10-16 12:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:22:13] local.ERROR: Error processing packet {"connection_id":216842,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:22:16] local.INFO: TCP Data received {"connection_id":216843,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:22:16] local.ERROR: Failed to insert raw packet {"connection_id":216843,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 216843, 117.225.177.58, 2026-10-16 12:22:16, 2026-10-16 12:22:16))","packet_length":17} 
[2026-10-16 12:22:16] local.INFO: Processing buffer {"connection_id":216843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:22:16] local.INFO: IMEI packet received {"connection_id":216843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":216843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:22:22] local.INFO: TCP Data received {"connection_id":216843,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:22:22] local.ERROR: Failed to insert raw packet {"connection_id":216843,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 216843, 117.225.177.58, 2026-10-16 12:22:22, 2026-10-16 12:22:22))","packet_length":17} 
[2026-10-16 12:22:22] local.INFO: Processing buffer {"connection_id":216843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:22:22] local.INFO: IMEI packet received {"connection_id":216843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":216843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:22:23] local.INFO: TCP Data received {"connection_id":216843,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:22:23] local.ERROR: Failed to insert raw packet {"connection_id":216843,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a00008052, 216843, 117.225.177.58, 2026-10-16 12:22:23, 2026-10-16 12:22:23))","packet_length":795} 
[2026-10-16 12:22:23] local.INFO: Processing buffer {"connection_id":216843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:22:23] local.INFO: Packet analysis {"connection_id":216843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:22:23] local.INFO: Extracted packet for processing {"connection_id":216843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786091776001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792133472000,"timestamp_ms":1792133472000,"timestamp_seconds":1792133472,"priority":1,"record_length":96,"hex_timestamp":"000001a1437a9f00"} 
[2026-10-16 12:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:22:23] 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-10-16 12: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-10-16 12:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:22:23] local.ERROR: Error processing packet {"connection_id":216843,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:22:26] local.INFO: TCP Data received {"connection_id":218192,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:22:26] local.ERROR: Failed to insert raw packet {"connection_id":218192,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 218192, 42.109.136.5, 2026-10-16 12:22:26, 2026-10-16 12:22:26))","packet_length":17} 
[2026-10-16 12:22:26] local.INFO: Processing buffer {"connection_id":218192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:22:26] local.INFO: IMEI packet received {"connection_id":218192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":218192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:22:31] local.INFO: TCP Data received {"connection_id":218192,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:22:31] local.ERROR: Failed to insert raw packet {"connection_id":218192,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 218192, 42.109.136.5, 2026-10-16 12:22:31, 2026-10-16 12:22:31))","packet_length":17} 
[2026-10-16 12:22:31] local.INFO: Processing buffer {"connection_id":218192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:22:31] local.INFO: IMEI packet received {"connection_id":218192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":218192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:22:32] local.INFO: TCP Data received {"connection_id":218192,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:22:32] local.ERROR: Failed to insert raw packet {"connection_id":218192,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 218192, 42.109.136.5, 2026-10-16 12:22:32, 2026-10-16 12:22:32))","packet_length":795} 
[2026-10-16 12:22:32] local.INFO: Processing buffer {"connection_id":218192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:22:32] local.INFO: Packet analysis {"connection_id":218192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:22:32] local.INFO: Extracted packet for processing {"connection_id":218192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:22:32] 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-10-16 12:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:22: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-10-16 12:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:22:32] local.ERROR: Error processing packet {"connection_id":218192,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:22:37] local.INFO: TCP Data received {"connection_id":218192,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:22:37] local.ERROR: Failed to insert raw packet {"connection_id":218192,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 218192, 42.109.136.5, 2026-10-16 12:22:37, 2026-10-16 12:22:37))","packet_length":795} 
[2026-10-16 12:22:37] local.INFO: Processing buffer {"connection_id":218192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:22:37] local.INFO: Packet analysis {"connection_id":218192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:22:37] local.INFO: Extracted packet for processing {"connection_id":218192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:37] 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-10-16 12:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:22: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-10-16 12:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":218192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":218192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":218192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:22: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-10-16 12:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:22:37] local.ERROR: Error processing packet {"connection_id":218192,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:22:43] local.INFO: TCP Data received {"connection_id":216842,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1437b52b0012d188f8007217ea8004900702c..."} 
[2026-10-16 12:22:43] local.ERROR: Failed to insert raw packet {"connection_id":216842,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437b52b0012d188f8007217ea8004900702c00210000000a000400ef0100715000f00100450100040042378300cd6a6a00ce53a400180021000200f100009de300100064039400000000000001a1437b4310012d188280072182b0004800652c00220000000a000400ef0100715000f00100450100040042378300cd6a6a00ce53a400180022000200f100009de300100064036d00000000000001a1437b2ba0012d186dc007218258004700572b00210000000a000400ef0100715000f00100450100040042374d00cd6a6a00ce53a400180021000200f100009de300100064033300000000000001a1437b1fe8012d1863c007218330004700662b00210000000a000400ef0100715000f00100450100040042374d00cd6a6a00ce53a400180021000200f100009de300100064031600000000000001a1437ae938012d18448007219168004a00722c00090000000a000400ef0100715000f00100450100040042378300cd6a6a00ce53a400180009000200f100009de30010006402b500000000000001a1437a9730012d184200072191f0004c00722900000000000a000400ef0100715000f00100450100040042379900cd6a6a00ce53a400180000000200f100009de30010006402ad00000000000001a1437a4528012d184200072191f0004c00722700000000000a000400ef0100715000f00100450100040042368900cd6a6a00ce53a400180000000200f100009de30010006402ad00000000000001a14379f320012d184200072191f0004c00722900000000000a000400ef0100715000f00100450100040042368900cd6a6900ce53a400180000000200f100009de30010006402ad00000000000001a14379a500012d183a8007219468004c006c2d000f0000000a000400ef0100715000f00100450100040042369400cd6a6900ce53a40018000f000200f100009de300100064029700000000000001a143799948012d18368007219530004b005d2b000b0000000a000400ef0100715000f00100450100040042369400cd6a6900ce53a40018000b000200f100009de300100064028b000000000a0000d97e, 216842, 42.106.6.47, 2026-10-16 12:22:43, 2026-10-16 12:22:43))","packet_length":795} 
[2026-10-16 12:22:43] local.INFO: Processing buffer {"connection_id":216842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437b52b0012d188f8007217ea8004900702c..."} 
[2026-10-16 12:22:43] local.INFO: Packet analysis {"connection_id":216842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437b"} 
[2026-10-16 12:22:43] local.INFO: Extracted packet for processing {"connection_id":216842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437b"} 
[2026-10-16 12:22:43] local.INFO: GPS Element Parsed {"raw_longitude":756584320,"raw_latitude":119635624,"longitude_deg":75.658432,"latitude_deg":11.9635624,"altitude":73,"angle":112,"satellites":44,"speed":33,"hex_longitude":"2d188f80","hex_latitude":"07217ea8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786179584001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28151431861108736,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766114771997995008,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792133518000,"timestamp_ms":1792133518000,"timestamp_seconds":1792133518,"priority":1,"record_length":96,"hex_timestamp":"000001a1437b52b0"} 
[2026-10-16 12:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:22: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-10-16 12:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 12:22:43] 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-10-16 12: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-10-16 12:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":216842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":216842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":216842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:22:43] local.ERROR: Error processing packet {"connection_id":216842,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074811360 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:22:53] local.INFO: TCP Data received {"connection_id":216843,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:22:53] local.ERROR: Failed to insert raw packet {"connection_id":216843,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a00008052, 216843, 117.225.177.58, 2026-10-16 12:22:53, 2026-10-16 12:22:53))","packet_length":795} 
[2026-10-16 12:22:53] local.INFO: Processing buffer {"connection_id":216843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:22:53] local.INFO: Packet analysis {"connection_id":216843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:22:53] local.INFO: Extracted packet for processing {"connection_id":216843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:22:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786091776001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792133472000,"timestamp_ms":1792133472000,"timestamp_seconds":1792133472,"priority":1,"record_length":96,"hex_timestamp":"000001a1437a9f00"} 
[2026-10-16 12:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:22:53] 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-10-16 12:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:22:53] local.ERROR: Error processing packet {"connection_id":216843,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:23:06] local.INFO: TCP Data received {"connection_id":219921,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:23:06] local.ERROR: Failed to insert raw packet {"connection_id":219921,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 219921, 42.106.6.47, 2026-10-16 12:23:06, 2026-10-16 12:23:06))","packet_length":17} 
[2026-10-16 12:23:06] local.INFO: Processing buffer {"connection_id":219921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:23:06] local.INFO: IMEI packet received {"connection_id":219921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":219921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:23:07] local.INFO: TCP Data received {"connection_id":219921,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:23:07] local.ERROR: Failed to insert raw packet {"connection_id":219921,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 219921, 42.106.6.47, 2026-10-16 12:23:07, 2026-10-16 12:23:07))","packet_length":17} 
[2026-10-16 12:23:07] local.INFO: Processing buffer {"connection_id":219921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:23:07] local.INFO: IMEI packet received {"connection_id":219921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":219921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:23:08] local.INFO: TCP Data received {"connection_id":219921,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:23:08] local.ERROR: Failed to insert raw packet {"connection_id":219921,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 219921, 42.106.6.47, 2026-10-16 12:23:08, 2026-10-16 12:23:08))","packet_length":17} 
[2026-10-16 12:23:08] local.INFO: Processing buffer {"connection_id":219921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:23:08] local.INFO: IMEI packet received {"connection_id":219921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":219921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:23:11] local.INFO: TCP Data received {"connection_id":219921,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:23:11] local.ERROR: Failed to insert raw packet {"connection_id":219921,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734383131333630, 219921, 42.106.6.47, 2026-10-16 12:23:11, 2026-10-16 12:23:11))","packet_length":17} 
[2026-10-16 12:23:11] local.INFO: Processing buffer {"connection_id":219921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:23:11] local.INFO: IMEI packet received {"connection_id":219921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":219921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:23:16] local.INFO: TCP Data received {"connection_id":216844,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:23:16] local.ERROR: Failed to insert raw packet {"connection_id":216844,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 216844, 117.225.177.58, 2026-10-16 12:23:16, 2026-10-16 12:23:16))","packet_length":17} 
[2026-10-16 12:23:16] local.INFO: Processing buffer {"connection_id":216844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:23:16] local.INFO: IMEI packet received {"connection_id":216844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":216844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:23:21] local.INFO: TCP Data received {"connection_id":216646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:23:21] local.ERROR: Failed to insert raw packet {"connection_id":216646,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 216646, 42.109.136.8, 2026-10-16 12:23:21, 2026-10-16 12:23:21))","packet_length":17} 
[2026-10-16 12:23:21] local.INFO: Processing buffer {"connection_id":216646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:23:21] local.INFO: IMEI packet received {"connection_id":216646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:23:21] local.INFO: TCP Data received {"connection_id":216844,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:23:21] local.ERROR: Failed to insert raw packet {"connection_id":216844,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 216844, 117.225.177.58, 2026-10-16 12:23:21, 2026-10-16 12:23:21))","packet_length":17} 
[2026-10-16 12:23:21] local.INFO: Processing buffer {"connection_id":216844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:23:21] local.INFO: IMEI packet received {"connection_id":216844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:23:22] local.INFO: TCP Data received {"connection_id":216844,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:23:22] local.ERROR: Failed to insert raw packet {"connection_id":216844,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a00008052, 216844, 117.225.177.58, 2026-10-16 12:23:22, 2026-10-16 12:23:22))","packet_length":795} 
[2026-10-16 12:23:22] local.INFO: Processing buffer {"connection_id":216844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:23:22] local.INFO: Packet analysis {"connection_id":216844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:23:22] local.INFO: Extracted packet for processing {"connection_id":216844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:23:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786091776001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792133472000,"timestamp_ms":1792133472000,"timestamp_seconds":1792133472,"priority":1,"record_length":96,"hex_timestamp":"000001a1437a9f00"} 
[2026-10-16 12:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:23:22] local.ERROR: Error processing packet {"connection_id":216844,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:23:25] local.INFO: TCP Data received {"connection_id":216646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:23:25] local.ERROR: Failed to insert raw packet {"connection_id":216646,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 216646, 42.109.136.8, 2026-10-16 12:23:25, 2026-10-16 12:23:25))","packet_length":17} 
[2026-10-16 12:23:25] local.INFO: Processing buffer {"connection_id":216646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:23:25] local.INFO: IMEI packet received {"connection_id":216646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":216646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:23:26] local.INFO: TCP Data received {"connection_id":216646,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:23:26] local.ERROR: Failed to insert raw packet {"connection_id":216646,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 216646, 42.109.136.8, 2026-10-16 12:23:26, 2026-10-16 12:23:26))","packet_length":795} 
[2026-10-16 12:23:26] local.INFO: Processing buffer {"connection_id":216646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:23:26] local.INFO: Packet analysis {"connection_id":216646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:23:26] local.INFO: Extracted packet for processing {"connection_id":216646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:26] 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-10-16 12:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:23: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-10-16 12:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:23:26] local.ERROR: Error processing packet {"connection_id":216646,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:23:31] local.INFO: TCP Data received {"connection_id":216646,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:23:31] local.ERROR: Failed to insert raw packet {"connection_id":216646,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef3100000000000001a1434f2de8012d7d3fc005ec0ec0000001392200000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef31000000000a00008f63, 216646, 42.109.136.8, 2026-10-16 12:23:31, 2026-10-16 12:23:31))","packet_length":795} 
[2026-10-16 12:23:31] local.INFO: Processing buffer {"connection_id":216646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437883f0012d7d3fc005ec0ec0000001391d..."} 
[2026-10-16 12:23:31] local.INFO: Packet analysis {"connection_id":216646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:23:31] local.INFO: Extracted packet for processing {"connection_id":216646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14378"} 
[2026-10-16 12:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":29,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786056448001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792133334000,"timestamp_ms":1792133334000,"timestamp_seconds":1792133334,"priority":1,"record_length":96,"hex_timestamp":"000001a1437883f0"} 
[2026-10-16 12:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:23:31] 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-10-16 12:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:23:31] local.ERROR: Error processing packet {"connection_id":216646,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:23:53] local.INFO: TCP Data received {"connection_id":216844,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:23:53] local.ERROR: Failed to insert raw packet {"connection_id":216844,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a00008052, 216844, 117.225.177.58, 2026-10-16 12:23:53, 2026-10-16 12:23:53))","packet_length":795} 
[2026-10-16 12:23:53] local.INFO: Processing buffer {"connection_id":216844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:23:53] local.INFO: Packet analysis {"connection_id":216844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:23:53] local.INFO: Extracted packet for processing {"connection_id":216844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:23:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786091776001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792133472000,"timestamp_ms":1792133472000,"timestamp_seconds":1792133472,"priority":1,"record_length":96,"hex_timestamp":"000001a1437a9f00"} 
[2026-10-16 12:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:23:53] 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-10-16 12:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:23:53] local.ERROR: Error processing packet {"connection_id":216844,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:24:01] local.INFO: TCP Data received {"connection_id":216646,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:24:01] local.ERROR: Failed to insert raw packet {"connection_id":216646,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c00000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef31000000000a0000c0f1, 216646, 42.109.136.8, 2026-10-16 12:24:01, 2026-10-16 12:24:01))","packet_length":795} 
[2026-10-16 12:24:01] local.INFO: Processing buffer {"connection_id":216646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:24:01] local.INFO: Packet analysis {"connection_id":216646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:24:01] local.INFO: Extracted packet for processing {"connection_id":216646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786133504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:01] 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-10-16 12:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792133635000,"timestamp_ms":1792133635000,"timestamp_seconds":1792133635,"priority":1,"record_length":96,"hex_timestamp":"000001a1437d1bb8"} 
[2026-10-16 12:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:24:01] 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-10-16 12:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:24:01] local.ERROR: Error processing packet {"connection_id":216646,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567072406932 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:24:16] local.INFO: TCP Data received {"connection_id":219923,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:24:16] local.ERROR: Failed to insert raw packet {"connection_id":219923,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 219923, 117.225.177.58, 2026-10-16 12:24:16, 2026-10-16 12:24:16))","packet_length":17} 
[2026-10-16 12:24:16] local.INFO: Processing buffer {"connection_id":219923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:24:16] local.INFO: IMEI packet received {"connection_id":219923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":219923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:24:16] local.INFO: TCP Data received {"connection_id":219922,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:24:16] local.ERROR: Failed to insert raw packet {"connection_id":219922,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303731363332333232, 219922, 42.106.6.15, 2026-10-16 12:24:16, 2026-10-16 12:24:16))","packet_length":17} 
[2026-10-16 12:24:16] local.INFO: Processing buffer {"connection_id":219922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:24:16] local.INFO: IMEI packet received {"connection_id":219922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":219922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:24:21] local.INFO: TCP Data received {"connection_id":216647,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:24:21] local.ERROR: Failed to insert raw packet {"connection_id":216647,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 216647, 42.109.136.8, 2026-10-16 12:24:21, 2026-10-16 12:24:21))","packet_length":17} 
[2026-10-16 12:24:21] local.INFO: Processing buffer {"connection_id":216647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:24:21] local.INFO: IMEI packet received {"connection_id":216647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":216647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:24:22] local.INFO: TCP Data received {"connection_id":219923,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:24:22] local.ERROR: Failed to insert raw packet {"connection_id":219923,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 219923, 117.225.177.58, 2026-10-16 12:24:22, 2026-10-16 12:24:22))","packet_length":17} 
[2026-10-16 12:24:22] local.INFO: Processing buffer {"connection_id":219923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:24:22] local.INFO: IMEI packet received {"connection_id":219923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":219923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:24:23] local.INFO: TCP Data received {"connection_id":219923,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:24:23] local.ERROR: Failed to insert raw packet {"connection_id":219923,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a00008052, 219923, 117.225.177.58, 2026-10-16 12:24:23, 2026-10-16 12:24:23))","packet_length":795} 
[2026-10-16 12:24:23] local.INFO: Processing buffer {"connection_id":219923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:24:23] local.INFO: Packet analysis {"connection_id":219923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:24:23] local.INFO: Extracted packet for processing {"connection_id":219923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786091776001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792133472000,"timestamp_ms":1792133472000,"timestamp_seconds":1792133472,"priority":1,"record_length":96,"hex_timestamp":"000001a1437a9f00"} 
[2026-10-16 12:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:24:23] 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-10-16 12:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:24:23] local.ERROR: Error processing packet {"connection_id":219923,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_devices' doesn't exist (Connection: mysql, SQL: select exists(select * from `tc_devices` where `uniqueid` = 862567074773115 and `tc_devices`.`deleted_at` is null) as `exists`)","packet_length":795} 
[2026-10-16 12:24:26] local.INFO: TCP Data received {"connection_id":216647,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:24:26] local.ERROR: Failed to insert raw packet {"connection_id":216647,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 216647, 42.109.136.8, 2026-10-16 12:24:26, 2026-10-16 12:24:26))","packet_length":17} 
[2026-10-16 12:24:26] local.INFO: Processing buffer {"connection_id":216647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:24:26] local.INFO: IMEI packet received {"connection_id":216647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":216647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:24:27] local.INFO: TCP Data received {"connection_id":216647,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:24:27] local.ERROR: Failed to insert raw packet {"connection_id":216647,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c00000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef31000000000a0000c0f1, 216647, 42.109.136.8, 2026-10-16 12:24:27, 2026-10-16 12:24:27))","packet_length":795} 
[2026-10-16 12:24:27] local.INFO: Processing buffer {"connection_id":216647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:24:27] local.INFO: Packet analysis {"connection_id":216647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:24:27] local.INFO: Extracted packet for processing {"connection_id":216647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786133504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:27] 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-10-16 12:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792133635000,"timestamp_ms":1792133635000,"timestamp_seconds":1792133635,"priority":1,"record_length":96,"hex_timestamp":"000001a1437d1bb8"} 
[2026-10-16 12:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":false} 
[2026-10-16 12:24:27] local.WARNING: DEBUG: Device does not exist - ABORTING ALL PROCESSING {"imei":"862567072406932","action":"ABORT - NO PROCESSING - NO NEW DEVICE CREATION"} 
[2026-10-16 12:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":216647,"result":{"success":false,"message":"Device not found - aborting all processing","processed":0,"errors":0,"skipped":1,"total":1,"results":[]}} 
[2026-10-16 12:24:27] local.ERROR: GPS data processing failed {"connection_id":216647,"error":"Device not found - aborting all processing"} 
[2026-10-16 12:24:27] local.INFO: Acknowledgment sent {"connection_id":216647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:24:49] local.INFO: TCP Data received {"connection_id":216648,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:24:49] local.ERROR: Failed to insert raw packet {"connection_id":216648,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303731363332333232, 216648, 42.106.6.15, 2026-10-16 12:24:49, 2026-10-16 12:24:49))","packet_length":17} 
[2026-10-16 12:24:49] local.INFO: Processing buffer {"connection_id":216648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:24:49] local.INFO: IMEI packet received {"connection_id":216648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":216648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:24:54] local.INFO: TCP Data received {"connection_id":219923,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:24:54] local.ERROR: Failed to insert raw packet {"connection_id":219923,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a00008052, 219923, 117.225.177.58, 2026-10-16 12:24:54, 2026-10-16 12:24:54))","packet_length":795} 
[2026-10-16 12:24:54] local.INFO: Processing buffer {"connection_id":219923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:24:54] local.INFO: Packet analysis {"connection_id":219923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:24:54] local.INFO: Extracted packet for processing {"connection_id":219923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786091776001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792133472000,"timestamp_ms":1792133472000,"timestamp_seconds":1792133472,"priority":1,"record_length":96,"hex_timestamp":"000001a1437a9f00"} 
[2026-10-16 12:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":false} 
[2026-10-16 12:24:54] local.WARNING: DEBUG: Device does not exist - ABORTING ALL PROCESSING {"imei":"862567074773115","action":"ABORT - NO PROCESSING - NO NEW DEVICE CREATION"} 
[2026-10-16 12:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":219923,"result":{"success":false,"message":"Device not found - aborting all processing","processed":0,"errors":0,"skipped":1,"total":1,"results":[]}} 
[2026-10-16 12:24:54] local.ERROR: GPS data processing failed {"connection_id":219923,"error":"Device not found - aborting all processing"} 
[2026-10-16 12:24:54] local.INFO: Acknowledgment sent {"connection_id":219923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:24:59] local.INFO: TCP Data received {"connection_id":216647,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:24:59] local.ERROR: Failed to insert raw packet {"connection_id":216647,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c00000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef31000000000a0000c0f1, 216647, 42.109.136.8, 2026-10-16 12:24:59, 2026-10-16 12:24:59))","packet_length":795} 
[2026-10-16 12:24:59] local.INFO: Processing buffer {"connection_id":216647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:24:59] local.INFO: Packet analysis {"connection_id":216647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:24:59] local.INFO: Extracted packet for processing {"connection_id":216647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786133504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:24:59] 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-10-16 12:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792133635000,"timestamp_ms":1792133635000,"timestamp_seconds":1792133635,"priority":1,"record_length":96,"hex_timestamp":"000001a1437d1bb8"} 
[2026-10-16 12:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:24:59] 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-10-16 12:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":false} 
[2026-10-16 12:24:59] local.WARNING: DEBUG: Device does not exist - ABORTING ALL PROCESSING {"imei":"862567072406932","action":"ABORT - NO PROCESSING - NO NEW DEVICE CREATION"} 
[2026-10-16 12:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":216647,"result":{"success":false,"message":"Device not found - aborting all processing","processed":0,"errors":0,"skipped":1,"total":1,"results":[]}} 
[2026-10-16 12:24:59] local.ERROR: GPS data processing failed {"connection_id":216647,"error":"Device not found - aborting all processing"} 
[2026-10-16 12:24:59] local.INFO: Acknowledgment sent {"connection_id":216647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:25:21] local.INFO: TCP Data received {"connection_id":219924,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:25:21] local.ERROR: Failed to insert raw packet {"connection_id":219924,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 219924, 42.109.136.3, 2026-10-16 12:25:21, 2026-10-16 12:25:21))","packet_length":17} 
[2026-10-16 12:25:21] local.INFO: Processing buffer {"connection_id":219924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:25:21] local.INFO: IMEI packet received {"connection_id":219924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":219924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:25:21] local.INFO: TCP Data received {"connection_id":216845,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:25:21] local.ERROR: Failed to insert raw packet {"connection_id":216845,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 216845, 117.225.177.58, 2026-10-16 12:25:21, 2026-10-16 12:25:21))","packet_length":17} 
[2026-10-16 12:25:21] local.INFO: Processing buffer {"connection_id":216845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:25:21] local.INFO: IMEI packet received {"connection_id":216845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":216845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:25:25] local.INFO: TCP Data received {"connection_id":219924,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:25:25] local.ERROR: Failed to insert raw packet {"connection_id":219924,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303732343036393332, 219924, 42.109.136.3, 2026-10-16 12:25:25, 2026-10-16 12:25:25))","packet_length":17} 
[2026-10-16 12:25:25] local.INFO: Processing buffer {"connection_id":219924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:25:25] local.INFO: IMEI packet received {"connection_id":219924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":219924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:25:27] local.INFO: TCP Data received {"connection_id":216845,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:25:27] local.ERROR: Failed to insert raw packet {"connection_id":216845,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000f383632353637303734373733313135, 216845, 117.225.177.58, 2026-10-16 12:25:27, 2026-10-16 12:25:27))","packet_length":17} 
[2026-10-16 12:25:27] local.INFO: Processing buffer {"connection_id":216845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:25:27] local.INFO: IMEI packet received {"connection_id":216845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":216845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:25:28] local.INFO: TCP Data received {"connection_id":216845,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:25:28] local.ERROR: Failed to insert raw packet {"connection_id":216845,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a00008052, 216845, 117.225.177.58, 2026-10-16 12:25:28, 2026-10-16 12:25:28))","packet_length":795} 
[2026-10-16 12:25:28] local.INFO: Processing buffer {"connection_id":216845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:25:28] local.INFO: Packet analysis {"connection_id":216845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:25:28] local.INFO: Extracted packet for processing {"connection_id":216845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786091776001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792133472000,"timestamp_ms":1792133472000,"timestamp_seconds":1792133472,"priority":1,"record_length":96,"hex_timestamp":"000001a1437a9f00"} 
[2026-10-16 12:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:25:28] 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-10-16 12:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786091776001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786091776001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:25:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:25:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786091776001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":216845,"result":{"success":true,"processed":0,"errors":1,"skipped":0,"total":1,"results":[{"success":false,"message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_positions' doesn't exist (Connection: mysql, SQL: insert into `tc_positions` (`deviceid`, `devicetime`, `latitude`, `longitude`, `altitude`, `speed`, `mode`, `attributes`, `network`, `ignition`, `power`, `gnss_fix`, `gsm_signal_strength`, `alert_id`, `gf_id`, `main_input_voltage`, `internal_battery_voltage`, `packet`, `kilometer`, `created_at`, `updated_at`) values (184638, 2026-10-16 12:21:12, 9.5407704, 76.3339776, 9, 0, S, {\"header\":\"NRM\",\"imei\":\"862567074773115\",\"alert_id\":\"00\",\"packet_status\":\"L\",\"GNSS_fix\":\"1\",\"date\":\"16\\/10\\/26\",\"time\":\"12:21:12\",\"latitude\":\"09.540770\",\"latitude_dir\":\"N\",\"longitude\":\"76.333978\",\"longitude_dir\":\"E\",\"mcc\":\"000\",\"mnc\":\"x00\",\"lac\":\"0000\",\"cell_id\":\"000000000\",\"speed\":\"000000\",\"heading\":\"000010\",\"no_of_satellite\":\"46\",\"hdop\":\"00\",\"signal_strength\":\"00\",\"ignition\":\"0\",\"power\":\"1\",\"vehicle_mode\":\"S\",\"altitude\":\"000009\",\"network_operator\":\"00000\",\"odometer\":\"0000000000\"}, 00000, 0, 1, 1, ?, ?, ?, ?, ?, NRM, 71772.35, 2026-10-16 12:25:28, 2026-10-16 12:25:28))","record":{"timestamp":1792133472000,"priority":1,"gps":{"longitude":763339776,"latitude":95407704,"longitudeDeg":76.3339776,"latitudeDeg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0},"io":{"eventIoId":0,"totalIo":0,"n1":0,"n2":10,"n4":0,"n8":4,"ioData":{"0":458786091776001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"length":72},"recordLength":96,"parser_version":"v2.0-fixed","parsing_timestamp":"2026-10-16T06:55:28.597776Z"}}]}} 
[2026-10-16 12:25:28] local.INFO: GPS data processed {"connection_id":216845,"processed":0,"errors":1,"total":1} 
[2026-10-16 12:25:28] local.INFO: Acknowledgment sent {"connection_id":216845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:25:29] local.INFO: TCP Data received {"connection_id":219924,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:25:29] local.ERROR: Failed to insert raw packet {"connection_id":219924,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c00000000000a000400ef0000715800f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1437883f0012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715800f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14373ec28012d7d3fc005ec0ec0000001391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436f5460012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042315000cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436abc98012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1436624d0012d7d3fc005ec0ec0000001391e00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143618d08012d7d3fc005ec0ec0000001392200000000000a000400ef0000715900f00000450100040042316500cd496d00ce573600180000000200f100009de300100204ef3100000000000001a1435cf540012d7d3fc005ec0ec0000101391d00000000000a000400ef0000715900f00000450100040042317b00cd496d00ce573600180000000200f100009de300100204ef3100000000000001a143585d78012d7d3fc005ec0ec0000001392300000000000a000400ef0000715900f00000450100040042318600cd496d00ce573600180000000200f100009de300100204ef3100000000000001a14353c5b0012d7d3fc005ec0ec0000001392000000000000a000400ef0000715900f00000450100040042317b00cd496e00ce573600180000000200f100009de300100204ef31000000000a0000c0f1, 219924, 42.109.136.3, 2026-10-16 12:25:29, 2026-10-16 12:25:29))","packet_length":795} 
[2026-10-16 12:25:29] local.INFO: Processing buffer {"connection_id":219924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:25:29] local.INFO: Packet analysis {"connection_id":219924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:25:29] local.INFO: Extracted packet for processing {"connection_id":219924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786133504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:25:29] 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-10-16 12:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792133635000,"timestamp_ms":1792133635000,"timestamp_seconds":1792133635,"priority":1,"record_length":96,"hex_timestamp":"000001a1437d1bb8"} 
[2026-10-16 12:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:25:29] 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-10-16 12:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786133504001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786133504001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:25:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:25:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786133504001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":219924,"result":{"success":true,"processed":0,"errors":1,"skipped":0,"total":1,"results":[{"success":false,"message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_positions' doesn't exist (Connection: mysql, SQL: insert into `tc_positions` (`deviceid`, `devicetime`, `latitude`, `longitude`, `altitude`, `speed`, `mode`, `attributes`, `network`, `ignition`, `power`, `gnss_fix`, `gsm_signal_strength`, `alert_id`, `gf_id`, `main_input_voltage`, `internal_battery_voltage`, `packet`, `kilometer`, `created_at`, `updated_at`) values (194233, 2026-10-16 12:23:55, 9.9356352, 76.318304, 0, 0, S, {\"header\":\"NRM\",\"imei\":\"862567072406932\",\"alert_id\":\"00\",\"packet_status\":\"L\",\"GNSS_fix\":\"1\",\"date\":\"16\\/10\\/26\",\"time\":\"12:23:55\",\"latitude\":\"09.935635\",\"latitude_dir\":\"N\",\"longitude\":\"76.318304\",\"longitude_dir\":\"E\",\"mcc\":\"000\",\"mnc\":\"x00\",\"lac\":\"0000\",\"cell_id\":\"000000000\",\"speed\":\"000000\",\"heading\":\"000313\",\"no_of_satellite\":\"28\",\"hdop\":\"00\",\"signal_strength\":\"00\",\"ignition\":\"0\",\"power\":\"1\",\"vehicle_mode\":\"S\",\"altitude\":\"000000\",\"network_operator\":\"00000\",\"odometer\":\"0000000000\"}, 00000, 0, 1, 1, ?, ?, ?, ?, ?, NRM, 198306.61, 2026-10-16 12:25:29, 2026-10-16 12:25:29))","record":{"timestamp":1792133635000,"priority":1,"gps":{"longitude":763183040,"latitude":99356352,"longitudeDeg":76.318304,"latitudeDeg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0},"io":{"eventIoId":0,"totalIo":0,"n1":0,"n2":10,"n4":0,"n8":4,"ioData":{"0":458786133504001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"length":72},"recordLength":96,"parser_version":"v2.0-fixed","parsing_timestamp":"2026-10-16T06:55:29.239350Z"}}]}} 
[2026-10-16 12:25:29] local.INFO: GPS data processed {"connection_id":219924,"processed":0,"errors":1,"total":1} 
[2026-10-16 12:25:29] local.INFO: Acknowledgment sent {"connection_id":219924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:25:32] local.INFO: TCP Data received {"connection_id":216845,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:25:32] local.ERROR: Failed to insert raw packet {"connection_id":216845,"error":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tcp_packet' doesn't exist (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143760738012d7fa40005afce580009000a3100000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143716f70012d7fa40005afce580009000a2e00000000000a000400ef0000715c00f00000450100040042646600cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1436cd7a8012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a143683fe0012d7fa40005afce580009000a3200000000000a000400ef0000715d00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14363a818012d7fa40005afce580009000a3100000000000a000400ef0000715d00f00000450100040042642f00cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435f1050012d7fa40005afce580009000a3000000000000a000400ef0000715c00f00000450100040042645000cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435a7888012d7fa40005afce580009000a2f00000000000a000400ef0000715c00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a14355e0c0012d7fa40005afce580009000a3000000000000a000400ef0000715d00f00000450100040042641900cdb3ec00ce13b200180000000200f100009e180010003604c700000000000001a1435148f8012d7fa40005afce580009000a3100000000000a000400ef0000715d00f0000045010004004263f900cdb3ec00ce13b200180000000200f100009e180010003604c7000000000a00008052, 216845, 117.225.177.58, 2026-10-16 12:25:32, 2026-10-16 12:25:32))","packet_length":795} 
[2026-10-16 12:25:32] local.INFO: Processing buffer {"connection_id":216845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:25:32] local.INFO: Packet analysis {"connection_id":216845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:25:32] local.INFO: Extracted packet for processing {"connection_id":216845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786091776001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792133472000,"timestamp_ms":1792133472000,"timestamp_seconds":1792133472,"priority":1,"record_length":96,"hex_timestamp":"000001a1437a9f00"} 
[2026-10-16 12:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786091776001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786091776001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:25:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:25:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786091776001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":216845,"result":{"success":true,"processed":0,"errors":1,"skipped":0,"total":1,"results":[{"success":false,"message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'airotrack_device_tcp.tc_positions' doesn't exist (Connection: mysql, SQL: insert into `tc_positions` (`deviceid`, `devicetime`, `latitude`, `longitude`, `altitude`, `speed`, `mode`, `attributes`, `network`, `ignition`, `power`, `gnss_fix`, `gsm_signal_strength`, `alert_id`, `gf_id`, `main_input_voltage`, `internal_battery_voltage`, `packet`, `kilometer`, `created_at`, `updated_at`) values (184638, 2026-10-16 12:21:12, 9.5407704, 76.3339776, 9, 0, S, {\"header\":\"NRM\",\"imei\":\"862567074773115\",\"alert_id\":\"00\",\"packet_status\":\"L\",\"GNSS_fix\":\"1\",\"date\":\"16\\/10\\/26\",\"time\":\"12:21:12\",\"latitude\":\"09.540770\",\"latitude_dir\":\"N\",\"longitude\":\"76.333978\",\"longitude_dir\":\"E\",\"mcc\":\"000\",\"mnc\":\"x00\",\"lac\":\"0000\",\"cell_id\":\"000000000\",\"speed\":\"000000\",\"heading\":\"000010\",\"no_of_satellite\":\"46\",\"hdop\":\"00\",\"signal_strength\":\"00\",\"ignition\":\"0\",\"power\":\"1\",\"vehicle_mode\":\"S\",\"altitude\":\"000009\",\"network_operator\":\"00000\",\"odometer\":\"0000000000\"}, 00000, 0, 1, 1, ?, ?, ?, ?, ?, NRM, 71772.35, 2026-10-16 12:25:32, 2026-10-16 12:25:32))","record":{"timestamp":1792133472000,"priority":1,"gps":{"longitude":763339776,"latitude":95407704,"longitudeDeg":76.3339776,"latitudeDeg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0},"io":{"eventIoId":0,"totalIo":0,"n1":0,"n2":10,"n4":0,"n8":4,"ioData":{"0":458786091776001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"length":72},"recordLength":96,"parser_version":"v2.0-fixed","parsing_timestamp":"2026-10-16T06:55:32.460133Z"}}]}} 
[2026-10-16 12:25:32] local.INFO: GPS data processed {"connection_id":216845,"processed":0,"errors":1,"total":1} 
[2026-10-16 12:25:32] local.INFO: Acknowledgment sent {"connection_id":216845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:26:03] local.INFO: TCP Data received {"connection_id":219924,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:26:03] local.INFO: Processing buffer {"connection_id":219924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:26:03] local.INFO: Packet analysis {"connection_id":219924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:26:03] local.INFO: Extracted packet for processing {"connection_id":219924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786133504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792133635000,"timestamp_ms":1792133635000,"timestamp_seconds":1792133635,"priority":1,"record_length":96,"hex_timestamp":"000001a1437d1bb8"} 
[2026-10-16 12:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:26:03] 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-10-16 12:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":219924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":219924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":219924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786133504001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786133504001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:26:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:26:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786133504001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":219924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:26:03] local.INFO: GPS data processed {"connection_id":219924,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:26:03] local.INFO: Acknowledgment sent {"connection_id":219924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:26:17] local.INFO: TCP Data received {"connection_id":218196,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:26:17] local.INFO: Processing buffer {"connection_id":218196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:26:17] local.INFO: IMEI packet received {"connection_id":218196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":218196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:26:20] local.INFO: TCP Data received {"connection_id":216847,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:26:20] local.INFO: Processing buffer {"connection_id":216847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:26:20] local.INFO: IMEI packet received {"connection_id":216847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":216847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:26:22] local.INFO: TCP Data received {"connection_id":218196,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:26:22] local.INFO: Processing buffer {"connection_id":218196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:26:22] local.INFO: IMEI packet received {"connection_id":218196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":218196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:26:23] local.INFO: TCP Data received {"connection_id":218196,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:26:23] local.INFO: Processing buffer {"connection_id":218196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437a9f00012d7fa40005afce580009000a2e..."} 
[2026-10-16 12:26:23] local.INFO: Packet analysis {"connection_id":218196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:26:23] local.INFO: Extracted packet for processing {"connection_id":218196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437a"} 
[2026-10-16 12:26:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786091776001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792133472000,"timestamp_ms":1792133472000,"timestamp_seconds":1792133472,"priority":1,"record_length":96,"hex_timestamp":"000001a1437a9f00"} 
[2026-10-16 12:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:26:23] 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-10-16 12:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786091776001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786091776001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:26:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:26:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786091776001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":218196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":2,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:26:23] local.INFO: GPS data processed {"connection_id":218196,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:26:23] local.INFO: Acknowledgment sent {"connection_id":218196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:26:26] local.INFO: TCP Data received {"connection_id":216847,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:26:26] local.INFO: Processing buffer {"connection_id":216847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:26:26] local.INFO: IMEI packet received {"connection_id":216847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":216847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:26:27] local.INFO: TCP Data received {"connection_id":216847,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:26:27] local.INFO: Processing buffer {"connection_id":216847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:26:27] local.INFO: Packet analysis {"connection_id":216847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:26:27] local.INFO: Extracted packet for processing {"connection_id":216847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786133504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:27] 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-10-16 12:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792133635000,"timestamp_ms":1792133635000,"timestamp_seconds":1792133635,"priority":1,"record_length":96,"hex_timestamp":"000001a1437d1bb8"} 
[2026-10-16 12:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786133504001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786133504001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:26:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:26:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786133504001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":216847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":3,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:26:27] local.INFO: GPS data processed {"connection_id":216847,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:26:27] local.INFO: Acknowledgment sent {"connection_id":216847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:26:55] local.INFO: TCP Data received {"connection_id":218196,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:26:55] local.INFO: Processing buffer {"connection_id":218196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:26:55] local.INFO: Packet analysis {"connection_id":218196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:26:55] local.INFO: Extracted packet for processing {"connection_id":218196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786168832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792133773000,"timestamp_ms":1792133773000,"timestamp_seconds":1792133773,"priority":1,"record_length":96,"hex_timestamp":"000001a1437f36c8"} 
[2026-10-16 12:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:26:55] 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-10-16 12:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786168832001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786168832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:26:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:26:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786168832001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":218196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":4,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:26:55] local.INFO: GPS data processed {"connection_id":218196,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:26:55] local.INFO: Acknowledgment sent {"connection_id":218196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:26:58] local.INFO: TCP Data received {"connection_id":216847,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:26:58] local.INFO: Processing buffer {"connection_id":216847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:26:58] local.INFO: Packet analysis {"connection_id":216847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:26:58] local.INFO: Extracted packet for processing {"connection_id":216847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786133504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:26:58] 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-10-16 12:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792133635000,"timestamp_ms":1792133635000,"timestamp_seconds":1792133635,"priority":1,"record_length":96,"hex_timestamp":"000001a1437d1bb8"} 
[2026-10-16 12:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:26: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-10-16 12:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786133504001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786133504001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:26:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786133504001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":216847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":5,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:26:58] local.INFO: GPS data processed {"connection_id":216847,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:26:58] local.INFO: Acknowledgment sent {"connection_id":216847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:27:16] local.INFO: TCP Data received {"connection_id":219926,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:27:16] local.INFO: Processing buffer {"connection_id":219926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:27:16] local.INFO: IMEI packet received {"connection_id":219926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":219926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:27:20] local.INFO: TCP Data received {"connection_id":219927,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:27:20] local.INFO: Processing buffer {"connection_id":219927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:27:20] local.INFO: IMEI packet received {"connection_id":219927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":219927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:27:22] local.INFO: TCP Data received {"connection_id":219926,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:27:22] local.INFO: Processing buffer {"connection_id":219926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:27:22] local.INFO: IMEI packet received {"connection_id":219926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":219926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:27:23] local.INFO: TCP Data received {"connection_id":219926,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:27:23] local.INFO: Processing buffer {"connection_id":219926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:27:23] local.INFO: Packet analysis {"connection_id":219926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:27:23] local.INFO: Extracted packet for processing {"connection_id":219926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:27: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-10-16 12:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786168832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792133773000,"timestamp_ms":1792133773000,"timestamp_seconds":1792133773,"priority":1,"record_length":96,"hex_timestamp":"000001a1437f36c8"} 
[2026-10-16 12:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:27: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:27:23] 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-10-16 12:27: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-10-16 12:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786168832001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786168832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:27:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:27:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786168832001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":219926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":6,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:27:23] local.INFO: GPS data processed {"connection_id":219926,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:27:23] local.INFO: Acknowledgment sent {"connection_id":219926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:27:25] local.INFO: TCP Data received {"connection_id":219927,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:27:25] local.INFO: Processing buffer {"connection_id":219927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:27:25] local.INFO: IMEI packet received {"connection_id":219927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":219927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:27:26] local.INFO: TCP Data received {"connection_id":219927,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:27:26] local.INFO: Processing buffer {"connection_id":219927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:27:26] local.INFO: Packet analysis {"connection_id":219927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:27:26] local.INFO: Extracted packet for processing {"connection_id":219927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786133504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:26] 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-10-16 12:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792133635000,"timestamp_ms":1792133635000,"timestamp_seconds":1792133635,"priority":1,"record_length":96,"hex_timestamp":"000001a1437d1bb8"} 
[2026-10-16 12:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:27: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-10-16 12:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786133504001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786133504001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:27:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:27:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786133504001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":219927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":7,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:27:26] local.INFO: GPS data processed {"connection_id":219927,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:27:26] local.INFO: Acknowledgment sent {"connection_id":219927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:27:55] local.INFO: TCP Data received {"connection_id":219926,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:27:55] local.INFO: Processing buffer {"connection_id":219926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:27:55] local.INFO: Packet analysis {"connection_id":219926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:27:55] local.INFO: Extracted packet for processing {"connection_id":219926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786168832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792133773000,"timestamp_ms":1792133773000,"timestamp_seconds":1792133773,"priority":1,"record_length":96,"hex_timestamp":"000001a1437f36c8"} 
[2026-10-16 12:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:27:55] 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-10-16 12:27: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-10-16 12:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786168832001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786168832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:27:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:27:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786168832001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":219926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":8,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:27:55] local.INFO: GPS data processed {"connection_id":219926,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:27:55] local.INFO: Acknowledgment sent {"connection_id":219926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:27:58] local.INFO: TCP Data received {"connection_id":219927,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:27:58] local.INFO: Processing buffer {"connection_id":219927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:27:58] local.INFO: Packet analysis {"connection_id":219927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:27:58] local.INFO: Extracted packet for processing {"connection_id":219927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:27: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-10-16 12:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786133504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:27:58] 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-10-16 12:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792133635000,"timestamp_ms":1792133635000,"timestamp_seconds":1792133635,"priority":1,"record_length":96,"hex_timestamp":"000001a1437d1bb8"} 
[2026-10-16 12:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:27: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-10-16 12:27: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-10-16 12:27: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-10-16 12:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786133504001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786133504001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:27:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:27:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786133504001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":219927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":9,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:27:58] local.INFO: GPS data processed {"connection_id":219927,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:27:58] local.INFO: Acknowledgment sent {"connection_id":219927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:28:14] local.INFO: TCP Data received {"connection_id":219928,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:28:14] local.INFO: Processing buffer {"connection_id":219928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:28:14] local.INFO: IMEI packet received {"connection_id":219928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":219928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:28:15] local.INFO: TCP Data received {"connection_id":219928,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1438034b0012d1aba00071f4538003400af2a..."} 
[2026-10-16 12:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438034b0012d1aba00071f4538003400af2a..."} 
[2026-10-16 12:28:15] local.INFO: Processing buffer {"connection_id":219928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438034b0012d1aba00071f4538003400af2a..."} 
[2026-10-16 12:28:15] local.INFO: Packet analysis {"connection_id":219928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:28:15] local.INFO: Extracted packet for processing {"connection_id":219928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756726272,"raw_latitude":119489848,"longitude_deg":75.6726272,"latitude_deg":11.9489848,"altitude":52,"angle":175,"satellites":42,"speed":16,"hex_longitude":"2d1aba00","hex_latitude":"071f4538","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786262528001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163105582219264,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925851821243709440,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792133838000,"timestamp_ms":1792133838000,"timestamp_seconds":1792133838,"priority":1,"record_length":96,"hex_timestamp":"000001a1438034b0"} 
[2026-10-16 12:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:28: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-10-16 12: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 12:28: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-10-16 12: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-10-16 12:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":219928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":219928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":219928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786262528001,"66":14265,"101":206,"83":41984,"24":16,"16":28163105582219264,"45":1925851821243709440},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786262528001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:28:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163105582219264,"km_value":28163105582219.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925851821243709440,"description":"Unknown IO ID 45"} 
[2026-10-16 12:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786262528001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1925851821243709440}} 
[2026-10-16 12:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":219928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":10,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:28:15] local.INFO: GPS data processed {"connection_id":219928,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:28:15] local.INFO: Acknowledgment sent {"connection_id":219928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:28:20] local.INFO: TCP Data received {"connection_id":218199,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:28:20] local.INFO: Processing buffer {"connection_id":218199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:28:20] local.INFO: IMEI packet received {"connection_id":218199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":218199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:28:22] local.INFO: TCP Data received {"connection_id":218198,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:28:22] local.INFO: Processing buffer {"connection_id":218198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:28:22] local.INFO: IMEI packet received {"connection_id":218198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":218198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:28:26] local.INFO: TCP Data received {"connection_id":218199,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:28:26] local.INFO: Processing buffer {"connection_id":218199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:28:26] local.INFO: IMEI packet received {"connection_id":218199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":218199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:28:27] local.INFO: TCP Data received {"connection_id":218198,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:28:27] local.INFO: Processing buffer {"connection_id":218198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:28:27] local.INFO: IMEI packet received {"connection_id":218198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":218198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:28:27] local.INFO: TCP Data received {"connection_id":218199,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:28:27] local.INFO: Processing buffer {"connection_id":218199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437d1bb8012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:28:27] local.INFO: Packet analysis {"connection_id":218199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:28:27] local.INFO: Extracted packet for processing {"connection_id":218199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437d"} 
[2026-10-16 12:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786133504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:27] 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-10-16 12:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792133635000,"timestamp_ms":1792133635000,"timestamp_seconds":1792133635,"priority":1,"record_length":96,"hex_timestamp":"000001a1437d1bb8"} 
[2026-10-16 12:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:28:27] 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-10-16 12:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786133504001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786133504001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:28:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:28:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786133504001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":218199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":11,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:28:27] local.INFO: GPS data processed {"connection_id":218199,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:28:27] local.INFO: Acknowledgment sent {"connection_id":218199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:28:29] local.INFO: TCP Data received {"connection_id":218198,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:28:29] local.INFO: Processing buffer {"connection_id":218198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:28:29] local.INFO: Packet analysis {"connection_id":218198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:28:29] local.INFO: Extracted packet for processing {"connection_id":218198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786168832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792133773000,"timestamp_ms":1792133773000,"timestamp_seconds":1792133773,"priority":1,"record_length":96,"hex_timestamp":"000001a1437f36c8"} 
[2026-10-16 12:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:28:29] 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-10-16 12:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786168832001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786168832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:28:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:28:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786168832001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":218198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":12,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:28:29] local.INFO: GPS data processed {"connection_id":218198,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:28:29] local.INFO: Acknowledgment sent {"connection_id":218198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:28:31] local.INFO: TCP Data received {"connection_id":218198,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:28:31] local.INFO: Processing buffer {"connection_id":218198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:28:31] local.INFO: Packet analysis {"connection_id":218198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:28:31] local.INFO: Extracted packet for processing {"connection_id":218198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786168832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792133773000,"timestamp_ms":1792133773000,"timestamp_seconds":1792133773,"priority":1,"record_length":96,"hex_timestamp":"000001a1437f36c8"} 
[2026-10-16 12:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":218198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":218198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":218198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786168832001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786168832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:28:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:28:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786168832001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":218198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":13,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:28:31] local.INFO: GPS data processed {"connection_id":218198,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:28:31] local.INFO: Acknowledgment sent {"connection_id":218198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:28:58] local.INFO: TCP Data received {"connection_id":218199,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:28:58] local.INFO: Processing buffer {"connection_id":218199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:28:58] local.INFO: Packet analysis {"connection_id":218199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:28:58] local.INFO: Extracted packet for processing {"connection_id":218199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786210560001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:28:58] 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-10-16 12:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792133936000,"timestamp_ms":1792133936000,"timestamp_seconds":1792133936,"priority":1,"record_length":96,"hex_timestamp":"000001a14381b380"} 
[2026-10-16 12:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:28:58] 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-10-16 12:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786210560001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786210560001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:28:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:28:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786210560001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":218199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":14,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:28:58] local.INFO: GPS data processed {"connection_id":218199,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:28:58] local.INFO: Acknowledgment sent {"connection_id":218199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:29:16] local.INFO: TCP Data received {"connection_id":219929,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:29:16] local.INFO: Processing buffer {"connection_id":219929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:29:16] local.INFO: IMEI packet received {"connection_id":219929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":219929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:29:22] local.INFO: TCP Data received {"connection_id":219929,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:29:22] local.INFO: Processing buffer {"connection_id":219929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:29:22] local.INFO: IMEI packet received {"connection_id":219929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":219929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:29:23] local.INFO: TCP Data received {"connection_id":219929,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:29:23] local.INFO: Processing buffer {"connection_id":219929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:29:23] local.INFO: Packet analysis {"connection_id":219929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:29:23] local.INFO: Extracted packet for processing {"connection_id":219929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786168832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792133773000,"timestamp_ms":1792133773000,"timestamp_seconds":1792133773,"priority":1,"record_length":96,"hex_timestamp":"000001a1437f36c8"} 
[2026-10-16 12:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:29:23] 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-10-16 12:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786168832001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786168832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:29:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:29:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786168832001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":219929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":15,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:29:23] local.INFO: GPS data processed {"connection_id":219929,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:29:23] local.INFO: Acknowledgment sent {"connection_id":219929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:29:26] local.INFO: TCP Data received {"connection_id":216651,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:29:26] local.INFO: Processing buffer {"connection_id":216651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:29:26] local.INFO: IMEI packet received {"connection_id":216651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":216651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:29:31] local.INFO: TCP Data received {"connection_id":216651,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:29:31] local.INFO: Processing buffer {"connection_id":216651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:29:31] local.INFO: IMEI packet received {"connection_id":216651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":216651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:29:32] local.INFO: TCP Data received {"connection_id":216651,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:29:32] local.INFO: Processing buffer {"connection_id":216651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:29:32] local.INFO: Packet analysis {"connection_id":216651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:29:32] local.INFO: Extracted packet for processing {"connection_id":216651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786210560001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792133936000,"timestamp_ms":1792133936000,"timestamp_seconds":1792133936,"priority":1,"record_length":96,"hex_timestamp":"000001a14381b380"} 
[2026-10-16 12:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:29:32] 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-10-16 12:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786210560001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786210560001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:29:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:29:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786210560001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":216651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":16,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:29:32] local.INFO: GPS data processed {"connection_id":216651,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:29:32] local.INFO: Acknowledgment sent {"connection_id":216651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:29:54] local.INFO: TCP Data received {"connection_id":219929,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:29:54] local.INFO: Processing buffer {"connection_id":219929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:29:54] local.INFO: Packet analysis {"connection_id":219929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:29:54] local.INFO: Extracted packet for processing {"connection_id":219929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786168832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792133773000,"timestamp_ms":1792133773000,"timestamp_seconds":1792133773,"priority":1,"record_length":96,"hex_timestamp":"000001a1437f36c8"} 
[2026-10-16 12:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:29:54] 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-10-16 12:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786168832001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786168832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:29:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:29:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786168832001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":219929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":17,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:29:54] local.INFO: GPS data processed {"connection_id":219929,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:29:54] local.INFO: Acknowledgment sent {"connection_id":219929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:29:56] local.INFO: TCP Data received {"connection_id":216849,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:29:56] local.INFO: Processing buffer {"connection_id":216849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:29:56] local.INFO: IMEI packet received {"connection_id":216849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":216849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:30:03] local.INFO: TCP Data received {"connection_id":216651,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:30:03] local.INFO: Processing buffer {"connection_id":216651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:30:03] local.INFO: Packet analysis {"connection_id":216651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:30:03] local.INFO: Extracted packet for processing {"connection_id":216651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786210560001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792133936000,"timestamp_ms":1792133936000,"timestamp_seconds":1792133936,"priority":1,"record_length":96,"hex_timestamp":"000001a14381b380"} 
[2026-10-16 12:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:30: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-10-16 12: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-10-16 12:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786210560001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786210560001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:30:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:30:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786210560001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":216651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:30:03] local.INFO: GPS data processed {"connection_id":216651,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:30:03] local.INFO: Acknowledgment sent {"connection_id":216651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:30:16] local.INFO: TCP Data received {"connection_id":216652,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:30:16] local.INFO: Processing buffer {"connection_id":216652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:30:16] local.INFO: IMEI packet received {"connection_id":216652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":216652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:30:21] local.INFO: TCP Data received {"connection_id":216850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:30:21] local.INFO: Processing buffer {"connection_id":216850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:30:21] local.INFO: IMEI packet received {"connection_id":216850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":216850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:30:22] local.INFO: TCP Data received {"connection_id":216652,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:30:22] local.INFO: Processing buffer {"connection_id":216652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:30:22] local.INFO: IMEI packet received {"connection_id":216652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":216652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:30:23] local.INFO: TCP Data received {"connection_id":216652,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:30:23] local.INFO: Processing buffer {"connection_id":216652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:30:23] local.INFO: Packet analysis {"connection_id":216652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:30:23] local.INFO: Extracted packet for processing {"connection_id":216652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786168832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792133773000,"timestamp_ms":1792133773000,"timestamp_seconds":1792133773,"priority":1,"record_length":96,"hex_timestamp":"000001a1437f36c8"} 
[2026-10-16 12:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:30:23] 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-10-16 12:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786168832001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786168832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:30:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:30:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786168832001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":216652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:30:23] local.INFO: GPS data processed {"connection_id":216652,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:30:23] local.INFO: Acknowledgment sent {"connection_id":216652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:30:26] local.INFO: TCP Data received {"connection_id":216850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:30:26] local.INFO: Processing buffer {"connection_id":216850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:30:26] local.INFO: IMEI packet received {"connection_id":216850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":216850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:30:27] local.INFO: TCP Data received {"connection_id":216850,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:30:27] local.INFO: Processing buffer {"connection_id":216850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:30:27] local.INFO: Packet analysis {"connection_id":216850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:30:27] local.INFO: Extracted packet for processing {"connection_id":216850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786210560001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:27] 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-10-16 12:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792133936000,"timestamp_ms":1792133936000,"timestamp_seconds":1792133936,"priority":1,"record_length":96,"hex_timestamp":"000001a14381b380"} 
[2026-10-16 12:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:30:27] 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-10-16 12: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-10-16 12:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786210560001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786210560001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:30:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:30:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786210560001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":216850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:30:27] local.INFO: GPS data processed {"connection_id":216850,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:30:27] local.INFO: Acknowledgment sent {"connection_id":216850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:30:54] local.INFO: TCP Data received {"connection_id":216652,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:30:54] local.INFO: Processing buffer {"connection_id":216652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:30:54] local.INFO: Packet analysis {"connection_id":216652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:30:54] local.INFO: Extracted packet for processing {"connection_id":216652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786168832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792133773000,"timestamp_ms":1792133773000,"timestamp_seconds":1792133773,"priority":1,"record_length":96,"hex_timestamp":"000001a1437f36c8"} 
[2026-10-16 12:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:30:54] 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-10-16 12:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786168832001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786168832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:30:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:30:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786168832001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":216652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:30:54] local.INFO: GPS data processed {"connection_id":216652,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:30:54] local.INFO: Acknowledgment sent {"connection_id":216652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:30:58] local.INFO: TCP Data received {"connection_id":216850,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:30:58] local.INFO: Processing buffer {"connection_id":216850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:30:58] local.INFO: Packet analysis {"connection_id":216850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:30:58] local.INFO: Extracted packet for processing {"connection_id":216850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786210560001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:30:58] 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-10-16 12:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792133936000,"timestamp_ms":1792133936000,"timestamp_seconds":1792133936,"priority":1,"record_length":96,"hex_timestamp":"000001a14381b380"} 
[2026-10-16 12:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786210560001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786210560001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:30:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786210560001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":216850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:30:58] local.INFO: GPS data processed {"connection_id":216850,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:30:58] local.INFO: Acknowledgment sent {"connection_id":216850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:31:16] local.INFO: TCP Data received {"connection_id":218201,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:31:16] local.INFO: Processing buffer {"connection_id":218201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:31:16] local.INFO: IMEI packet received {"connection_id":218201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":218201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:31:20] local.INFO: TCP Data received {"connection_id":219930,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:31:20] local.INFO: Processing buffer {"connection_id":219930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:31:20] local.INFO: IMEI packet received {"connection_id":219930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":219930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:31:22] local.INFO: TCP Data received {"connection_id":218201,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:31:22] local.INFO: Processing buffer {"connection_id":218201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:31:22] local.INFO: IMEI packet received {"connection_id":218201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":218201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:31:23] local.INFO: TCP Data received {"connection_id":218201,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:31:23] local.INFO: Processing buffer {"connection_id":218201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1437f36c8012d7fa40005afce580009000a31..."} 
[2026-10-16 12:31:23] local.INFO: Packet analysis {"connection_id":218201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:31:23] local.INFO: Extracted packet for processing {"connection_id":218201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1437f"} 
[2026-10-16 12:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786168832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792133773000,"timestamp_ms":1792133773000,"timestamp_seconds":1792133773,"priority":1,"record_length":96,"hex_timestamp":"000001a1437f36c8"} 
[2026-10-16 12:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 12:31:23] 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-10-16 12:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786168832001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786168832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:31:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:31:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786168832001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":218201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:31:23] local.INFO: GPS data processed {"connection_id":218201,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:31:23] local.INFO: Acknowledgment sent {"connection_id":218201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:31:26] local.INFO: TCP Data received {"connection_id":219930,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:31:26] local.INFO: Processing buffer {"connection_id":219930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:31:26] local.INFO: IMEI packet received {"connection_id":219930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":219930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:31:38] local.INFO: TCP Data received {"connection_id":219930,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:31:38] local.INFO: Processing buffer {"connection_id":219930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:31:38] local.INFO: Packet analysis {"connection_id":219930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:31:38] local.INFO: Extracted packet for processing {"connection_id":219930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 12:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786210560001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:31:38] 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-10-16 12:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792133936000,"timestamp_ms":1792133936000,"timestamp_seconds":1792133936,"priority":1,"record_length":96,"hex_timestamp":"000001a14381b380"} 
[2026-10-16 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-10-16 12:31: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-10-16 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:31: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-10-16 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-10-16 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-10-16 12:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":219930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":219930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":219930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:31:38] 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-10-16 12:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786210560001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786210560001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:31:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:31:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786210560001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":219930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":24,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:31:38] local.INFO: GPS data processed {"connection_id":219930,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:31:38] local.INFO: Acknowledgment sent {"connection_id":219930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:31:54] local.INFO: TCP Data received {"connection_id":218201,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:31:54] local.INFO: Processing buffer {"connection_id":218201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:31:54] local.INFO: Packet analysis {"connection_id":218201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:31:54] local.INFO: Extracted packet for processing {"connection_id":218201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:31:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:31:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":218201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":25,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:31:54] local.INFO: GPS data processed {"connection_id":218201,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:31:54] local.INFO: Acknowledgment sent {"connection_id":218201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:32:20] local.INFO: TCP Data received {"connection_id":216851,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:32:20] local.INFO: Processing buffer {"connection_id":216851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:32:20] local.INFO: IMEI packet received {"connection_id":216851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":216851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:32:22] local.INFO: TCP Data received {"connection_id":216653,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:32:22] local.INFO: Processing buffer {"connection_id":216653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:32:22] local.INFO: IMEI packet received {"connection_id":216653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":216653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:32:26] local.INFO: TCP Data received {"connection_id":216851,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:32:26] local.INFO: Processing buffer {"connection_id":216851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:32:26] local.INFO: IMEI packet received {"connection_id":216851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":216851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:32:27] local.INFO: TCP Data received {"connection_id":216851,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:32:27] local.INFO: Processing buffer {"connection_id":216851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:32:27] local.INFO: Packet analysis {"connection_id":216851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:32:27] local.INFO: Extracted packet for processing {"connection_id":216851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786210560001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:27] 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-10-16 12:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792133936000,"timestamp_ms":1792133936000,"timestamp_seconds":1792133936,"priority":1,"record_length":96,"hex_timestamp":"000001a14381b380"} 
[2026-10-16 12:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:32:27] 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-10-16 12:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786210560001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786210560001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:32:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:32:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786210560001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":216851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":26,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:32:27] local.INFO: GPS data processed {"connection_id":216851,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:32:27] local.INFO: Acknowledgment sent {"connection_id":216851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:32:27] local.INFO: TCP Data received {"connection_id":216653,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:32:27] local.INFO: Processing buffer {"connection_id":216653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:32:27] local.INFO: IMEI packet received {"connection_id":216653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":216653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:32:28] local.INFO: TCP Data received {"connection_id":216653,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:32:28] local.INFO: Processing buffer {"connection_id":216653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:32:28] local.INFO: Packet analysis {"connection_id":216653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:32:28] local.INFO: Extracted packet for processing {"connection_id":216653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:32:28] 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-10-16 12:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:32:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:32:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":216653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":27,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:32:28] local.INFO: GPS data processed {"connection_id":216653,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:32:28] local.INFO: Acknowledgment sent {"connection_id":216653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:32:58] local.INFO: TCP Data received {"connection_id":216851,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:32:58] local.INFO: Processing buffer {"connection_id":216851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:32:58] local.INFO: Packet analysis {"connection_id":216851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:32:58] local.INFO: Extracted packet for processing {"connection_id":216851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786210560001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:58] 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-10-16 12:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792133936000,"timestamp_ms":1792133936000,"timestamp_seconds":1792133936,"priority":1,"record_length":96,"hex_timestamp":"000001a14381b380"} 
[2026-10-16 12:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786210560001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786210560001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:32:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:32:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786210560001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":216851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":28,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:32:58] local.INFO: GPS data processed {"connection_id":216851,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:32:58] local.INFO: Acknowledgment sent {"connection_id":216851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:32:59] local.INFO: TCP Data received {"connection_id":216653,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:32:59] local.INFO: Processing buffer {"connection_id":216653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:32:59] local.INFO: Packet analysis {"connection_id":216653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:32:59] local.INFO: Extracted packet for processing {"connection_id":216653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:32:59] 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-10-16 12:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:32:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:32:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":216653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":29,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:32:59] local.INFO: GPS data processed {"connection_id":216653,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:32:59] local.INFO: Acknowledgment sent {"connection_id":216653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:33:16] local.INFO: TCP Data received {"connection_id":219932,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:33:16] local.INFO: Processing buffer {"connection_id":219932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:33:16] local.INFO: IMEI packet received {"connection_id":219932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":219932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:33:20] local.INFO: TCP Data received {"connection_id":218203,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:33:20] local.INFO: Processing buffer {"connection_id":218203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:33:20] local.INFO: IMEI packet received {"connection_id":218203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":218203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:33:22] local.INFO: TCP Data received {"connection_id":219932,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:33:22] local.INFO: Processing buffer {"connection_id":219932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:33:22] local.INFO: IMEI packet received {"connection_id":219932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":219932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:33:24] local.INFO: TCP Data received {"connection_id":219932,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:33:24] local.INFO: Processing buffer {"connection_id":219932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:33:24] local.INFO: Packet analysis {"connection_id":219932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:33:24] local.INFO: Extracted packet for processing {"connection_id":219932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:33:24] 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-10-16 12:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:33:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:33:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":219932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":30,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:33:24] local.INFO: GPS data processed {"connection_id":219932,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:33:24] local.INFO: Acknowledgment sent {"connection_id":219932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:33:26] local.INFO: TCP Data received {"connection_id":218203,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:33:26] local.INFO: Processing buffer {"connection_id":218203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:33:26] local.INFO: IMEI packet received {"connection_id":218203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":218203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:33:27] local.INFO: TCP Data received {"connection_id":219933,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:33:27] local.INFO: Processing buffer {"connection_id":219933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:33:27] local.INFO: IMEI packet received {"connection_id":219933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":219933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:33:31] local.INFO: TCP Data received {"connection_id":218203,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:33:31] local.INFO: Processing buffer {"connection_id":218203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14381b380012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:33:31] local.INFO: Packet analysis {"connection_id":218203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:33:31] local.INFO: Extracted packet for processing {"connection_id":218203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14381"} 
[2026-10-16 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786210560001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792133936000,"timestamp_ms":1792133936000,"timestamp_seconds":1792133936,"priority":1,"record_length":96,"hex_timestamp":"000001a14381b380"} 
[2026-10-16 12:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:33:31] 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-10-16 12:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":218203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":218203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":218203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786210560001,"66":12645,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786210560001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:33:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:33:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786210560001,"power":12645,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":218203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":31,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:33:31] local.INFO: GPS data processed {"connection_id":218203,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:33:31] local.INFO: Acknowledgment sent {"connection_id":218203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:33:32] local.INFO: TCP Data received {"connection_id":219933,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:33:32] local.INFO: Processing buffer {"connection_id":219933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:33:32] local.INFO: IMEI packet received {"connection_id":219933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":219933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:33:33] local.INFO: TCP Data received {"connection_id":219933,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a143805bc0012d1aba00071f3798003700d72a..."} 
[2026-10-16 12:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143805bc0012d1aba00071f3798003700d72a..."} 
[2026-10-16 12:33:33] local.INFO: Processing buffer {"connection_id":219933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143805bc0012d1aba00071f3798003700d72a..."} 
[2026-10-16 12:33:33] local.INFO: Packet analysis {"connection_id":219933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:33:33] local.INFO: Extracted packet for processing {"connection_id":219933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756726272,"raw_latitude":119486360,"longitude_deg":75.6726272,"latitude_deg":11.948636,"altitude":55,"angle":215,"satellites":42,"speed":16,"hex_longitude":"2d1aba00","hex_latitude":"071f3798","is_valid_coordinates":true} 
[2026-10-16 12:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786264832001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163277380911104,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926133296219611136,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792133848000,"timestamp_ms":1792133848000,"timestamp_seconds":1792133848,"priority":1,"record_length":96,"hex_timestamp":"000001a143805bc0"} 
[2026-10-16 12:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-10-16 12:33:33] 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-10-16 12:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786264832001,"66":13091,"101":206,"83":41984,"24":16,"16":28163277380911104,"45":1926133296219611136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786264832001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:33:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163277380911104,"km_value":28163277380911.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926133296219611136,"description":"Unknown IO ID 45"} 
[2026-10-16 12:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786264832001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1926133296219611136}} 
[2026-10-16 12:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":219933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":32,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:33:33] local.INFO: GPS data processed {"connection_id":219933,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:33:33] local.INFO: Acknowledgment sent {"connection_id":219933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:33:56] local.INFO: TCP Data received {"connection_id":219932,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:33:56] local.INFO: Processing buffer {"connection_id":219932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:33:56] local.INFO: Packet analysis {"connection_id":219932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:33:56] local.INFO: Extracted packet for processing {"connection_id":219932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:33:56] 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-10-16 12: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-10-16 12:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:33:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:33:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":219932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":33,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:33:56] local.INFO: GPS data processed {"connection_id":219932,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:33:56] local.INFO: Acknowledgment sent {"connection_id":219932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:34:02] local.INFO: TCP Data received {"connection_id":218203,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:34:02] local.INFO: Processing buffer {"connection_id":218203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:34:02] local.INFO: Packet analysis {"connection_id":218203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:34:02] local.INFO: Extracted packet for processing {"connection_id":218203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786287616001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:02] 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-10-16 12:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792134237000,"timestamp_ms":1792134237000,"timestamp_seconds":1792134237,"priority":1,"record_length":96,"hex_timestamp":"000001a143864b48"} 
[2026-10-16 12:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":218203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":218203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":218203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786287616001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786287616001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:34:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:34:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786287616001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":218203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":34,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:34:02] local.INFO: GPS data processed {"connection_id":218203,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:34:02] local.INFO: Acknowledgment sent {"connection_id":218203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:34:07] local.INFO: TCP Data received {"connection_id":216853,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:34:07] local.INFO: Processing buffer {"connection_id":216853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:34:07] local.INFO: IMEI packet received {"connection_id":216853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":216853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:34:12] local.INFO: TCP Data received {"connection_id":216853,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:34:12] local.INFO: Processing buffer {"connection_id":216853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:34:12] local.INFO: IMEI packet received {"connection_id":216853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":216853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:34:13] local.INFO: TCP Data received {"connection_id":216853,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a143805fa8012d1ab900071f3690003700e729..."} 
[2026-10-16 12:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143805fa8012d1ab900071f3690003700e729..."} 
[2026-10-16 12:34:13] local.INFO: Processing buffer {"connection_id":216853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143805fa8012d1ab900071f3690003700e729..."} 
[2026-10-16 12:34:13] local.INFO: Packet analysis {"connection_id":216853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:34:13] local.INFO: Extracted packet for processing {"connection_id":216853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756726016,"raw_latitude":119486096,"longitude_deg":75.6726016,"latitude_deg":11.9486096,"altitude":55,"angle":231,"satellites":41,"speed":17,"hex_longitude":"2d1ab900","hex_latitude":"071f3690","is_valid_coordinates":true} 
[2026-10-16 12:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786265088001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163298855747584,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925851821242816512,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792133849000,"timestamp_ms":1792133849000,"timestamp_seconds":1792133849,"priority":1,"record_length":96,"hex_timestamp":"000001a143805fa8"} 
[2026-10-16 12:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:34: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-10-16 12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 12:34:13] 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-10-16 12: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-10-16 12:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786265088001,"66":13091,"101":206,"83":41984,"24":17,"16":28163298855747584,"45":1925851821242816512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786265088001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:34:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163298855747584,"km_value":28163298855747.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925851821242816512,"description":"Unknown IO ID 45"} 
[2026-10-16 12:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786265088001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1925851821242816512}} 
[2026-10-16 12:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":216853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":35,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:34:13] local.INFO: GPS data processed {"connection_id":216853,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:34:13] local.INFO: Acknowledgment sent {"connection_id":216853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:34:16] local.INFO: TCP Data received {"connection_id":216654,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:34:16] local.INFO: Processing buffer {"connection_id":216654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:34:16] local.INFO: IMEI packet received {"connection_id":216654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":216654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:34:22] local.INFO: TCP Data received {"connection_id":216654,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:34:22] local.INFO: Processing buffer {"connection_id":216654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:34:22] local.INFO: IMEI packet received {"connection_id":216654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":216654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:34:23] local.INFO: TCP Data received {"connection_id":216654,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:34:23] local.INFO: Processing buffer {"connection_id":216654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:34:23] local.INFO: Packet analysis {"connection_id":216654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:34:23] local.INFO: Extracted packet for processing {"connection_id":216654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:34:23] 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-10-16 12:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:34:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:34:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":216654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":36,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:34:23] local.INFO: GPS data processed {"connection_id":216654,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:34:23] local.INFO: Acknowledgment sent {"connection_id":216654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:34:26] local.INFO: TCP Data received {"connection_id":218204,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:34:26] local.INFO: Processing buffer {"connection_id":218204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:34:26] local.INFO: IMEI packet received {"connection_id":218204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":218204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:34:31] local.INFO: TCP Data received {"connection_id":218204,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:34:31] local.INFO: Processing buffer {"connection_id":218204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:34:31] local.INFO: IMEI packet received {"connection_id":218204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":218204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:34:35] local.INFO: TCP Data received {"connection_id":218204,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:34:35] local.INFO: Processing buffer {"connection_id":218204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:34:35] local.INFO: Packet analysis {"connection_id":218204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:34:35] local.INFO: Extracted packet for processing {"connection_id":218204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:34:35] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786287616001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:35] 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-10-16 12:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792134237000,"timestamp_ms":1792134237000,"timestamp_seconds":1792134237,"priority":1,"record_length":96,"hex_timestamp":"000001a143864b48"} 
[2026-10-16 12:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:34:35] 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-10-16 12:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":218204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":218204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":218204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:34: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-10-16 12:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786287616001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786287616001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:34:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:34:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786287616001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":218204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":37,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:34:36] local.INFO: GPS data processed {"connection_id":218204,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:34:36] local.INFO: Acknowledgment sent {"connection_id":218204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:34:44] local.INFO: TCP Data received {"connection_id":216853,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a143806390012d1ab740071f35e8003800f729..."} 
[2026-10-16 12:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143806390012d1ab740071f35e8003800f729..."} 
[2026-10-16 12:34:44] local.INFO: Processing buffer {"connection_id":216853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143806390012d1ab740071f35e8003800f729..."} 
[2026-10-16 12:34:44] local.INFO: Packet analysis {"connection_id":216853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:34:44] local.INFO: Extracted packet for processing {"connection_id":216853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756725568,"raw_latitude":119485928,"longitude_deg":75.6725568,"latitude_deg":11.9485928,"altitude":56,"angle":247,"satellites":41,"speed":16,"hex_longitude":"2d1ab740","hex_latitude":"071f35e8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786265344001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163320330584064,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925570346266038272,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792133850000,"timestamp_ms":1792133850000,"timestamp_seconds":1792133850,"priority":1,"record_length":96,"hex_timestamp":"000001a143806390"} 
[2026-10-16 12:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-10-16 12:34: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-10-16 12: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-10-16 12:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786265344001,"66":13102,"101":206,"83":41984,"24":16,"16":28163320330584064,"45":1925570346266038272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786265344001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:34:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:34:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163320330584064,"km_value":28163320330584.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925570346266038272,"description":"Unknown IO ID 45"} 
[2026-10-16 12:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786265344001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1925570346266038272}} 
[2026-10-16 12:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":216853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":38,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:34:44] local.INFO: GPS data processed {"connection_id":216853,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:34:44] local.INFO: Acknowledgment sent {"connection_id":216853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:34:55] local.INFO: TCP Data received {"connection_id":216654,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:34:55] local.INFO: Processing buffer {"connection_id":216654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:34:55] local.INFO: Packet analysis {"connection_id":216654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:34:55] local.INFO: Extracted packet for processing {"connection_id":216654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:34:55] 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-10-16 12:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:34:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:34:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":216654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":39,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:34:55] local.INFO: GPS data processed {"connection_id":216654,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:34:55] local.INFO: Acknowledgment sent {"connection_id":216654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:35:07] local.INFO: TCP Data received {"connection_id":219935,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:35:07] local.INFO: Processing buffer {"connection_id":219935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:35:07] local.INFO: IMEI packet received {"connection_id":219935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":219935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:35:12] local.INFO: TCP Data received {"connection_id":219935,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:35:12] local.INFO: Processing buffer {"connection_id":219935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:35:12] local.INFO: IMEI packet received {"connection_id":219935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":219935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:35:13] local.INFO: TCP Data received {"connection_id":219935,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143806778012d1ab540071f35b80038010729..."} 
[2026-10-16 12:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143806778012d1ab540071f35b80038010729..."} 
[2026-10-16 12:35:13] local.INFO: Processing buffer {"connection_id":219935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143806778012d1ab540071f35b80038010729..."} 
[2026-10-16 12:35:13] local.INFO: Packet analysis {"connection_id":219935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:35:13] local.INFO: Extracted packet for processing {"connection_id":219935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756725056,"raw_latitude":119485880,"longitude_deg":75.6725056,"latitude_deg":11.948588,"altitude":56,"angle":263,"satellites":41,"speed":18,"hex_longitude":"2d1ab540","hex_latitude":"071f35b8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786265600001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163341805420544,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925077765056751616,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792133851000,"timestamp_ms":1792133851000,"timestamp_seconds":1792133851,"priority":1,"record_length":96,"hex_timestamp":"000001a143806778"} 
[2026-10-16 12:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:35: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-10-16 12: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":46,"data_length":795,"current_offset":136} 
[2026-10-16 12:35:13] 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-10-16 12: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-10-16 12:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786265600001,"66":13102,"101":206,"83":41984,"24":18,"16":28163341805420544,"45":1925077765056751616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786265600001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:35:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163341805420544,"km_value":28163341805420.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925077765056751616,"description":"Unknown IO ID 45"} 
[2026-10-16 12:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786265600001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1925077765056751616}} 
[2026-10-16 12:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":219935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":40,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:35:13] local.INFO: GPS data processed {"connection_id":219935,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:35:13] local.INFO: Acknowledgment sent {"connection_id":219935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:35:16] local.INFO: TCP Data received {"connection_id":216854,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:35:16] local.INFO: Processing buffer {"connection_id":216854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:35:16] local.INFO: IMEI packet received {"connection_id":216854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":216854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:35:21] local.INFO: TCP Data received {"connection_id":216855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:35:21] local.INFO: Processing buffer {"connection_id":216855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:35:21] local.INFO: IMEI packet received {"connection_id":216855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":216855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:35:21] local.INFO: TCP Data received {"connection_id":216854,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:35:21] local.INFO: Processing buffer {"connection_id":216854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:35:21] local.INFO: IMEI packet received {"connection_id":216854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":216854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:35:22] local.INFO: TCP Data received {"connection_id":216854,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:35:22] local.INFO: Processing buffer {"connection_id":216854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:35:22] local.INFO: Packet analysis {"connection_id":216854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:35:22] local.INFO: Extracted packet for processing {"connection_id":216854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:35:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:35:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:35:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":216854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:35:22] local.INFO: GPS data processed {"connection_id":216854,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:35:22] local.INFO: Acknowledgment sent {"connection_id":216854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:35:25] local.INFO: TCP Data received {"connection_id":216855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:35:25] local.INFO: Processing buffer {"connection_id":216855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:35:25] local.INFO: IMEI packet received {"connection_id":216855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":216855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:35:26] local.INFO: TCP Data received {"connection_id":216855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:35:26] local.INFO: Processing buffer {"connection_id":216855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:35:26] local.INFO: Packet analysis {"connection_id":216855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:35:26] local.INFO: Extracted packet for processing {"connection_id":216855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786287616001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:26] 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-10-16 12:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792134237000,"timestamp_ms":1792134237000,"timestamp_seconds":1792134237,"priority":1,"record_length":96,"hex_timestamp":"000001a143864b48"} 
[2026-10-16 12:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:35:26] 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-10-16 12:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:35: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-10-16 12:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786287616001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786287616001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:35:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:35:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786287616001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":216855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:35:26] local.INFO: GPS data processed {"connection_id":216855,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:35:26] local.INFO: Acknowledgment sent {"connection_id":216855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:35:44] local.INFO: TCP Data received {"connection_id":219935,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143807ee8012d1aaa40071f35d0003c011227..."} 
[2026-10-16 12:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143807ee8012d1aaa40071f35d0003c011227..."} 
[2026-10-16 12:35:44] local.INFO: Processing buffer {"connection_id":219935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143807ee8012d1aaa40071f35d0003c011227..."} 
[2026-10-16 12:35:44] local.INFO: Packet analysis {"connection_id":219935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:35:44] local.INFO: Extracted packet for processing {"connection_id":219935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:35:44] local.INFO: GPS Element Parsed {"raw_longitude":756722240,"raw_latitude":119485904,"longitude_deg":75.672224,"latitude_deg":11.9485904,"altitude":60,"angle":274,"satellites":39,"speed":18,"hex_longitude":"2d1aaa40","hex_latitude":"071f35d0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 12:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786265856001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163474949406720,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924514815103318016,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792133857000,"timestamp_ms":1792133857000,"timestamp_seconds":1792133857,"priority":1,"record_length":96,"hex_timestamp":"000001a143807ee8"} 
[2026-10-16 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-10-16 12:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 12:35:44] 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-10-16 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-10-16 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-10-16 12:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786265856001,"66":13004,"101":206,"83":41984,"24":18,"16":28163474949406720,"45":1924514815103318016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786265856001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:35:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:35:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163474949406720,"km_value":28163474949406.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924514815103318016,"description":"Unknown IO ID 45"} 
[2026-10-16 12:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786265856001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1924514815103318016}} 
[2026-10-16 12:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":219935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:35:44] local.INFO: GPS data processed {"connection_id":219935,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:35:44] local.INFO: Acknowledgment sent {"connection_id":219935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:35:51] local.INFO: TCP Data received {"connection_id":218205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:35:51] local.INFO: Processing buffer {"connection_id":218205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:35:51] local.INFO: IMEI packet received {"connection_id":218205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":218205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:35:54] local.INFO: TCP Data received {"connection_id":216854,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:35:54] local.INFO: Processing buffer {"connection_id":216854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:35:54] local.INFO: Packet analysis {"connection_id":216854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:35:54] local.INFO: Extracted packet for processing {"connection_id":216854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:35:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:35:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":216854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:35:54] local.INFO: GPS data processed {"connection_id":216854,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:35:54] local.INFO: Acknowledgment sent {"connection_id":216854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:35:57] local.INFO: TCP Data received {"connection_id":216855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:35:57] local.INFO: Processing buffer {"connection_id":216855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:35:57] local.INFO: Packet analysis {"connection_id":216855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:35:57] local.INFO: Extracted packet for processing {"connection_id":216855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:35:57] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786287616001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:35:57] 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-10-16 12:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792134237000,"timestamp_ms":1792134237000,"timestamp_seconds":1792134237,"priority":1,"record_length":96,"hex_timestamp":"000001a143864b48"} 
[2026-10-16 12:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:35: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-10-16 12:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:35:57] 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-10-16 12:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786287616001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786287616001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:35:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:35:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786287616001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":216855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:35:58] local.INFO: GPS data processed {"connection_id":216855,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:35:58] local.INFO: Acknowledgment sent {"connection_id":216855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:36:07] local.INFO: TCP Data received {"connection_id":219936,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:36:07] local.INFO: Processing buffer {"connection_id":219936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:36:07] local.INFO: IMEI packet received {"connection_id":219936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":219936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:36:12] local.INFO: TCP Data received {"connection_id":219936,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:36:12] local.INFO: Processing buffer {"connection_id":219936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:36:12] local.INFO: IMEI packet received {"connection_id":219936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":219936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:36:13] local.INFO: TCP Data received {"connection_id":219936,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14380cd08012d1a90c0071f36280049010329..."} 
[2026-10-16 12:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14380cd08012d1a90c0071f36280049010329..."} 
[2026-10-16 12:36:13] local.INFO: Processing buffer {"connection_id":219936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14380cd08012d1a90c0071f36280049010329..."} 
[2026-10-16 12:36:13] local.INFO: Packet analysis {"connection_id":219936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:36:13] local.INFO: Extracted packet for processing {"connection_id":219936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756715712,"raw_latitude":119485992,"longitude_deg":75.6715712,"latitude_deg":11.9485992,"altitude":73,"angle":259,"satellites":41,"speed":16,"hex_longitude":"2d1a90c0","hex_latitude":"071f3628","is_valid_coordinates":true} 
[2026-10-16 12:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786267392001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163788482019328,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921418590359506944,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792133877000,"timestamp_ms":1792133877000,"timestamp_seconds":1792133877,"priority":1,"record_length":96,"hex_timestamp":"000001a14380cd08"} 
[2026-10-16 12:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:36: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-10-16 12:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-10-16 12:36:13] 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-10-16 12:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786267392001,"66":12722,"101":206,"83":41984,"24":16,"16":28163788482019328,"45":1921418590359506944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786267392001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:36:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163788482019328,"km_value":28163788482019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921418590359506944,"description":"Unknown IO ID 45"} 
[2026-10-16 12:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786267392001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1921418590359506944}} 
[2026-10-16 12:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":219936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:36:13] local.INFO: GPS data processed {"connection_id":219936,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:36:13] local.INFO: Acknowledgment sent {"connection_id":219936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:36:20] local.INFO: TCP Data received {"connection_id":216857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:36:20] local.INFO: Processing buffer {"connection_id":216857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:36:20] local.INFO: IMEI packet received {"connection_id":216857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":216857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:36:22] local.INFO: TCP Data received {"connection_id":216856,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:36:22] local.INFO: Processing buffer {"connection_id":216856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:36:22] local.INFO: IMEI packet received {"connection_id":216856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":216856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:36:26] local.INFO: TCP Data received {"connection_id":216857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:36:26] local.INFO: Processing buffer {"connection_id":216857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:36:26] local.INFO: IMEI packet received {"connection_id":216857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":216857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:36:26] local.INFO: TCP Data received {"connection_id":216857,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:36:26] local.INFO: Processing buffer {"connection_id":216857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:36:26] local.INFO: Packet analysis {"connection_id":216857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:36:26] local.INFO: Extracted packet for processing {"connection_id":216857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786287616001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:26] 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-10-16 12:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792134237000,"timestamp_ms":1792134237000,"timestamp_seconds":1792134237,"priority":1,"record_length":96,"hex_timestamp":"000001a143864b48"} 
[2026-10-16 12:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:36:26] 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-10-16 12:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786287616001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786287616001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:36:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:36:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786287616001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":216857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":47,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:36:26] local.INFO: GPS data processed {"connection_id":216857,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:36:26] local.INFO: Acknowledgment sent {"connection_id":216857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:36:27] local.INFO: TCP Data received {"connection_id":216856,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:36:27] local.INFO: Processing buffer {"connection_id":216856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:36:27] local.INFO: IMEI packet received {"connection_id":216856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":216856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:36:28] local.INFO: TCP Data received {"connection_id":216856,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:36:28] local.INFO: Processing buffer {"connection_id":216856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:36:28] local.INFO: Packet analysis {"connection_id":216856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:36:28] local.INFO: Extracted packet for processing {"connection_id":216856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:36:28] 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-10-16 12:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:36:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:36:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":216856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":48,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:36:28] local.INFO: GPS data processed {"connection_id":216856,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:36:28] local.INFO: Acknowledgment sent {"connection_id":216856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:36:32] local.INFO: TCP Data received {"connection_id":216856,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:36:32] local.INFO: Processing buffer {"connection_id":216856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14383ce90012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:36:32] local.INFO: Packet analysis {"connection_id":216856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:36:32] local.INFO: Extracted packet for processing {"connection_id":216856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14383"} 
[2026-10-16 12:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786245888001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792134074000,"timestamp_ms":1792134074000,"timestamp_seconds":1792134074,"priority":1,"record_length":96,"hex_timestamp":"000001a14383ce90"} 
[2026-10-16 12:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786245888001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786245888001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:36:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786245888001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":216856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":49,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:36:32] local.INFO: GPS data processed {"connection_id":216856,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:36:32] local.INFO: Acknowledgment sent {"connection_id":216856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:36:46] local.INFO: TCP Data received {"connection_id":219936,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14380e860012d1a8440071f3550004b01182a..."} 
[2026-10-16 12:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14380e860012d1a8440071f3550004b01182a..."} 
[2026-10-16 12:36:46] local.INFO: Processing buffer {"connection_id":219936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14380e860012d1a8440071f3550004b01182a..."} 
[2026-10-16 12:36:46] local.INFO: Packet analysis {"connection_id":219936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:36:46] local.INFO: Extracted packet for processing {"connection_id":219936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756712512,"raw_latitude":119485776,"longitude_deg":75.6712512,"latitude_deg":11.9485776,"altitude":75,"angle":280,"satellites":42,"speed":20,"hex_longitude":"2d1a8440","hex_latitude":"071f3550","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786272512001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163943100841984,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914240978453407744,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792133884000,"timestamp_ms":1792133884000,"timestamp_seconds":1792133884,"priority":1,"record_length":96,"hex_timestamp":"000001a14380e860"} 
[2026-10-16 12:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:36: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-10-16 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 12:36:46] 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-10-16 12: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-10-16 12:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":219936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":219936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":219936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786272512001,"66":12722,"101":206,"83":41984,"24":20,"16":28163943100841984,"45":1914240978453407744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786272512001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:36:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163943100841984,"km_value":28163943100841.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914240978453407744,"description":"Unknown IO ID 45"} 
[2026-10-16 12:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786272512001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1914240978453407744}} 
[2026-10-16 12:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":219936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":50,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:36:47] local.INFO: GPS data processed {"connection_id":219936,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:36:47] local.INFO: Acknowledgment sent {"connection_id":219936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:36:58] local.INFO: TCP Data received {"connection_id":216857,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:36:58] local.INFO: Processing buffer {"connection_id":216857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:36:58] local.INFO: Packet analysis {"connection_id":216857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:36:58] local.INFO: Extracted packet for processing {"connection_id":216857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:36: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-10-16 12:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786287616001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:36:58] 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-10-16 12:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792134237000,"timestamp_ms":1792134237000,"timestamp_seconds":1792134237,"priority":1,"record_length":96,"hex_timestamp":"000001a143864b48"} 
[2026-10-16 12:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:36: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-10-16 12:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786287616001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786287616001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:36:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:36:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786287616001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":216857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":51,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:36:58] local.INFO: GPS data processed {"connection_id":216857,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:36:58] local.INFO: Acknowledgment sent {"connection_id":216857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:37:07] local.INFO: TCP Data received {"connection_id":219937,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:37:07] local.INFO: Processing buffer {"connection_id":219937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:37:07] local.INFO: IMEI packet received {"connection_id":219937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":219937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:37:12] local.INFO: TCP Data received {"connection_id":219937,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:37:12] local.INFO: Processing buffer {"connection_id":219937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:37:12] local.INFO: IMEI packet received {"connection_id":219937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":219937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:37:14] local.INFO: TCP Data received {"connection_id":219937,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14380ec48012d1a8200071f35f8004b011d2a..."} 
[2026-10-16 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14380ec48012d1a8200071f35f8004b011d2a..."} 
[2026-10-16 12:37:14] local.INFO: Processing buffer {"connection_id":219937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14380ec48012d1a8200071f35f8004b011d2a..."} 
[2026-10-16 12:37:14] local.INFO: Packet analysis {"connection_id":219937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:37:14] local.INFO: Extracted packet for processing {"connection_id":219937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756711936,"raw_latitude":119485944,"longitude_deg":75.6711936,"latitude_deg":11.9485944,"altitude":75,"angle":285,"satellites":42,"speed":23,"hex_longitude":"2d1a8200","hex_latitude":"071f35f8","is_valid_coordinates":true} 
[2026-10-16 12:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786274304001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910722541244469248,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792133885000,"timestamp_ms":1792133885000,"timestamp_seconds":1792133885,"priority":1,"record_length":96,"hex_timestamp":"000001a14380ec48"} 
[2026-10-16 12:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 12:37:14] 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-10-16 12:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":219937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":219937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":219937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786274304001,"66":12722,"101":206,"83":41984,"24":23,"16":28163968870645760,"45":1910722541244469248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786274304001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:37:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910722541244469248,"description":"Unknown IO ID 45"} 
[2026-10-16 12:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786274304001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1910722541244469248}} 
[2026-10-16 12:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":219937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":52,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:37:14] local.INFO: GPS data processed {"connection_id":219937,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:37:14] local.INFO: Acknowledgment sent {"connection_id":219937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:37:16] local.INFO: TCP Data received {"connection_id":216655,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:37:16] local.INFO: Processing buffer {"connection_id":216655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:37:16] local.INFO: IMEI packet received {"connection_id":216655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":216655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:37:21] local.INFO: TCP Data received {"connection_id":216656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:37:21] local.INFO: Processing buffer {"connection_id":216656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:37:21] local.INFO: IMEI packet received {"connection_id":216656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":216656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:37:22] local.INFO: TCP Data received {"connection_id":216655,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:37:22] local.INFO: Processing buffer {"connection_id":216655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:37:22] local.INFO: IMEI packet received {"connection_id":216655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":216655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:37:23] local.INFO: TCP Data received {"connection_id":216655,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:37:23] local.INFO: Processing buffer {"connection_id":216655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:37:23] local.INFO: Packet analysis {"connection_id":216655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:37:23] local.INFO: Extracted packet for processing {"connection_id":216655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786322944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134375000,"timestamp_ms":1792134375000,"timestamp_seconds":1792134375,"priority":1,"record_length":96,"hex_timestamp":"000001a143886658"} 
[2026-10-16 12:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:37:23] 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-10-16 12:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786322944001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786322944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:37:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:37:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786322944001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":216655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":53,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:37:23] local.INFO: GPS data processed {"connection_id":216655,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:37:23] local.INFO: Acknowledgment sent {"connection_id":216655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:37:25] local.INFO: TCP Data received {"connection_id":216656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:37:25] local.INFO: Processing buffer {"connection_id":216656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:37:25] local.INFO: IMEI packet received {"connection_id":216656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":216656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:37:29] local.INFO: TCP Data received {"connection_id":216656,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:37:29] local.INFO: Processing buffer {"connection_id":216656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:37:29] local.INFO: Packet analysis {"connection_id":216656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:37:29] local.INFO: Extracted packet for processing {"connection_id":216656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786287616001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:29] 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-10-16 12:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792134237000,"timestamp_ms":1792134237000,"timestamp_seconds":1792134237,"priority":1,"record_length":96,"hex_timestamp":"000001a143864b48"} 
[2026-10-16 12:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:37:29] 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-10-16 12:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:37:29] 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-10-16 12:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786287616001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786287616001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:37:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:37:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786287616001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":216656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":54,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:37:29] local.INFO: GPS data processed {"connection_id":216656,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:37:29] local.INFO: Acknowledgment sent {"connection_id":216656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:37:45] local.INFO: TCP Data received {"connection_id":219937,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14380f030012d1a7fc0071f3690004b011b29..."} 
[2026-10-16 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14380f030012d1a7fc0071f3690004b011b29..."} 
[2026-10-16 12:37:45] local.INFO: Processing buffer {"connection_id":219937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14380f030012d1a7fc0071f3690004b011b29..."} 
[2026-10-16 12:37:45] local.INFO: Packet analysis {"connection_id":219937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:37:45] local.INFO: Extracted packet for processing {"connection_id":219937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756711360,"raw_latitude":119486096,"longitude_deg":75.671136,"latitude_deg":11.9486096,"altitude":75,"angle":283,"satellites":41,"speed":24,"hex_longitude":"2d1a7fc0","hex_latitude":"071f3690","is_valid_coordinates":true} 
[2026-10-16 12:37:45] 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-10-16 12:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786274560001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910089222546913280,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792133886000,"timestamp_ms":1792133886000,"timestamp_seconds":1792133886,"priority":1,"record_length":96,"hex_timestamp":"000001a14380f030"} 
[2026-10-16 12:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:37: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-10-16 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 12:37: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-10-16 12: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-10-16 12:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":219937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":219937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":219937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786274560001,"66":4568,"101":206,"83":41984,"24":24,"16":28163968870645760,"45":1910089222546913280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786274560001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:37:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910089222546913280,"description":"Unknown IO ID 45"} 
[2026-10-16 12:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786274560001,"power":4568,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1910089222546913280}} 
[2026-10-16 12:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":219937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":55,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:37:45] local.INFO: GPS data processed {"connection_id":219937,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:37:45] local.INFO: Acknowledgment sent {"connection_id":219937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:37:54] local.INFO: TCP Data received {"connection_id":216655,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:37:54] local.INFO: Processing buffer {"connection_id":216655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:37:54] local.INFO: Packet analysis {"connection_id":216655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:37:54] local.INFO: Extracted packet for processing {"connection_id":216655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786322944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792134375000,"timestamp_ms":1792134375000,"timestamp_seconds":1792134375,"priority":1,"record_length":96,"hex_timestamp":"000001a143886658"} 
[2026-10-16 12:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786322944001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786322944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:37:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:37:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786322944001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":216655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:37:54] local.INFO: GPS data processed {"connection_id":216655,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:37:54] local.INFO: Acknowledgment sent {"connection_id":216655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:38:03] local.INFO: TCP Data received {"connection_id":216656,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:38:03] local.INFO: Processing buffer {"connection_id":216656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:38:03] local.INFO: Packet analysis {"connection_id":216656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:38:03] local.INFO: Extracted packet for processing {"connection_id":216656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786287616001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792134237000,"timestamp_ms":1792134237000,"timestamp_seconds":1792134237,"priority":1,"record_length":96,"hex_timestamp":"000001a143864b48"} 
[2026-10-16 12:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:38: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-10-16 12: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-10-16 12:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:38: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-10-16 12:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786287616001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786287616001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:38:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:38:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786287616001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":216656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:38:03] local.INFO: GPS data processed {"connection_id":216656,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:38:03] local.INFO: Acknowledgment sent {"connection_id":216656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:38:07] local.INFO: TCP Data received {"connection_id":216859,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:38:07] local.INFO: Processing buffer {"connection_id":216859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:38:07] local.INFO: IMEI packet received {"connection_id":216859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":216859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:38:12] local.INFO: TCP Data received {"connection_id":216859,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:38:12] local.INFO: Processing buffer {"connection_id":216859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:38:12] local.INFO: IMEI packet received {"connection_id":216859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":216859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:38:13] local.INFO: TCP Data received {"connection_id":216859,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14380f030012d1a7fc0071f3690004b011b29..."} 
[2026-10-16 12:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14380f030012d1a7fc0071f3690004b011b29..."} 
[2026-10-16 12:38:13] local.INFO: Processing buffer {"connection_id":216859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14380f030012d1a7fc0071f3690004b011b29..."} 
[2026-10-16 12:38:13] local.INFO: Packet analysis {"connection_id":216859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:38:13] local.INFO: Extracted packet for processing {"connection_id":216859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756711360,"raw_latitude":119486096,"longitude_deg":75.671136,"latitude_deg":11.9486096,"altitude":75,"angle":283,"satellites":41,"speed":24,"hex_longitude":"2d1a7fc0","hex_latitude":"071f3690","is_valid_coordinates":true} 
[2026-10-16 12:38:13] 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-10-16 12:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786274816001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909455903849353216,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792133886000,"timestamp_ms":1792133886000,"timestamp_seconds":1792133886,"priority":1,"record_length":96,"hex_timestamp":"000001a14380f030"} 
[2026-10-16 12:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12: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-10-16 12: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":17,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 12:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2227,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786274816001,"66":4568,"101":206,"83":41984,"24":24,"16":28163968870645760,"45":1909455903849353216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786274816001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:38:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909455903849353216,"description":"Unknown IO ID 45"} 
[2026-10-16 12:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786274816001,"power":4568,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1909455903849353216}} 
[2026-10-16 12:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":216859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:38:13] local.INFO: GPS data processed {"connection_id":216859,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:38:13] local.INFO: Acknowledgment sent {"connection_id":216859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:38:20] local.INFO: TCP Data received {"connection_id":216657,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:38:20] local.INFO: Processing buffer {"connection_id":216657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:38:20] local.INFO: IMEI packet received {"connection_id":216657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":216657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:38:22] local.INFO: TCP Data received {"connection_id":219938,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:38:22] local.INFO: Processing buffer {"connection_id":219938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:38:22] local.INFO: IMEI packet received {"connection_id":219938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":219938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:38:26] local.INFO: TCP Data received {"connection_id":216657,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:38:26] local.INFO: Processing buffer {"connection_id":216657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:38:26] local.INFO: IMEI packet received {"connection_id":216657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":216657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:38:27] local.INFO: TCP Data received {"connection_id":219938,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:38:27] local.INFO: Processing buffer {"connection_id":219938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:38:27] local.INFO: IMEI packet received {"connection_id":219938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":219938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:38:27] local.INFO: TCP Data received {"connection_id":216657,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:38:27] local.INFO: Processing buffer {"connection_id":216657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:38:27] local.INFO: Packet analysis {"connection_id":216657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:38:27] local.INFO: Extracted packet for processing {"connection_id":216657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786287616001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:27] 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-10-16 12:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792134237000,"timestamp_ms":1792134237000,"timestamp_seconds":1792134237,"priority":1,"record_length":96,"hex_timestamp":"000001a143864b48"} 
[2026-10-16 12:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:38:27] 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-10-16 12: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-10-16 12:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:38: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-10-16 12:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786287616001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786287616001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:38:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:38:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786287616001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":216657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:38:27] local.INFO: GPS data processed {"connection_id":216657,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:38:27] local.INFO: Acknowledgment sent {"connection_id":216657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:38:28] local.INFO: TCP Data received {"connection_id":219938,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:38:28] local.INFO: Processing buffer {"connection_id":219938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:38:28] local.INFO: Packet analysis {"connection_id":219938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:38:28] local.INFO: Extracted packet for processing {"connection_id":219938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786322944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792134375000,"timestamp_ms":1792134375000,"timestamp_seconds":1792134375,"priority":1,"record_length":96,"hex_timestamp":"000001a143886658"} 
[2026-10-16 12:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:38:28] 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-10-16 12:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786322944001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786322944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:38:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:38:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786322944001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":219938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:38:28] local.INFO: GPS data processed {"connection_id":219938,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:38:28] local.INFO: Acknowledgment sent {"connection_id":219938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:38:32] local.INFO: TCP Data received {"connection_id":219938,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:38:32] local.INFO: Processing buffer {"connection_id":219938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:38:32] local.INFO: Packet analysis {"connection_id":219938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:38:32] local.INFO: Extracted packet for processing {"connection_id":219938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786322944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792134375000,"timestamp_ms":1792134375000,"timestamp_seconds":1792134375,"priority":1,"record_length":96,"hex_timestamp":"000001a143886658"} 
[2026-10-16 12:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786322944001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786322944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:38:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:38:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786322944001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":219938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":61,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:38:32] local.INFO: GPS data processed {"connection_id":219938,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:38:32] local.INFO: Acknowledgment sent {"connection_id":219938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:38:44] local.INFO: TCP Data received {"connection_id":216859,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14380ffd0012d1a74c0071f3830004a010f28..."} 
[2026-10-16 12:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14380ffd0012d1a74c0071f3830004a010f28..."} 
[2026-10-16 12:38:44] local.INFO: Processing buffer {"connection_id":216859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14380ffd0012d1a74c0071f3830004a010f28..."} 
[2026-10-16 12:38:44] local.INFO: Packet analysis {"connection_id":216859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:38:44] local.INFO: Extracted packet for processing {"connection_id":216859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14380"} 
[2026-10-16 12:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756708544,"raw_latitude":119486512,"longitude_deg":75.6708544,"latitude_deg":11.9486512,"altitude":74,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d1a74c0","hex_latitude":"071f3830","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786274816001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909455903849353216,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792133890000,"timestamp_ms":1792133890000,"timestamp_seconds":1792133890,"priority":1,"record_length":96,"hex_timestamp":"000001a14380ffd0"} 
[2026-10-16 12:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12: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-10-16 12: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":17,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-10-16 12:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2227,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786274816001,"66":2644,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1909455903849353216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786274816001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:38:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:38:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909455903849353216,"description":"Unknown IO ID 45"} 
[2026-10-16 12:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786274816001,"power":2644,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1909455903849353216}} 
[2026-10-16 12:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":216859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":62,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:38:44] local.INFO: GPS data processed {"connection_id":216859,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:38:44] local.INFO: Acknowledgment sent {"connection_id":216859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:38:58] local.INFO: TCP Data received {"connection_id":216657,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:38:58] local.INFO: Processing buffer {"connection_id":216657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143864b48012d7d3fc005ec0ec0000001391c..."} 
[2026-10-16 12:38:58] local.INFO: Packet analysis {"connection_id":216657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:38:58] local.INFO: Extracted packet for processing {"connection_id":216657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14386"} 
[2026-10-16 12:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":28,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786287616001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:38:58] 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-10-16 12:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792134237000,"timestamp_ms":1792134237000,"timestamp_seconds":1792134237,"priority":1,"record_length":96,"hex_timestamp":"000001a143864b48"} 
[2026-10-16 12:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 12:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:38: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-10-16 12:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786287616001,"66":12667,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786287616001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:38:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:38:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786287616001,"power":12667,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":216657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:38:58] local.INFO: GPS data processed {"connection_id":216657,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:38:58] local.INFO: Acknowledgment sent {"connection_id":216657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:39:07] local.INFO: TCP Data received {"connection_id":216658,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:39:07] local.INFO: Processing buffer {"connection_id":216658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:39:07] local.INFO: IMEI packet received {"connection_id":216658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":216658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:39:12] local.INFO: TCP Data received {"connection_id":216658,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:39:12] local.INFO: Processing buffer {"connection_id":216658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:39:12] local.INFO: IMEI packet received {"connection_id":216658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":216658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:39:13] local.INFO: TCP Data received {"connection_id":216658,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:39:13] local.INFO: Processing buffer {"connection_id":216658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:39:13] local.INFO: Packet analysis {"connection_id":216658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:39:13] local.INFO: Extracted packet for processing {"connection_id":216658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786275840001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679105642496,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792134455000,"timestamp_ms":1792134455000,"timestamp_seconds":1792134455,"priority":1,"record_length":96,"hex_timestamp":"000001a143899ed8"} 
[2026-10-16 12:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":10,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 12:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786275840001,"66":2677,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1906359679105642496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786275840001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:39:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679105642496,"description":"Unknown IO ID 45"} 
[2026-10-16 12:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786275840001,"power":2677,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679105642496}} 
[2026-10-16 12:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":216658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:39:13] local.INFO: GPS data processed {"connection_id":216658,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:39:13] local.INFO: Acknowledgment sent {"connection_id":216658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:39:16] local.INFO: TCP Data received {"connection_id":219939,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:39:16] local.INFO: Processing buffer {"connection_id":219939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:39:16] local.INFO: IMEI packet received {"connection_id":219939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":219939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:39:22] local.INFO: TCP Data received {"connection_id":219939,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:39:22] local.INFO: Processing buffer {"connection_id":219939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:39:22] local.INFO: IMEI packet received {"connection_id":219939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":219939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:39:23] local.INFO: TCP Data received {"connection_id":219939,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:39:23] local.INFO: Processing buffer {"connection_id":219939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:39:23] local.INFO: Packet analysis {"connection_id":219939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:39:23] local.INFO: Extracted packet for processing {"connection_id":219939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786322944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134375000,"timestamp_ms":1792134375000,"timestamp_seconds":1792134375,"priority":1,"record_length":96,"hex_timestamp":"000001a143886658"} 
[2026-10-16 12:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:39:23] 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-10-16 12: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-10-16 12:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786322944001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786322944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:39:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:39:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786322944001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":219939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:39:23] local.INFO: GPS data processed {"connection_id":219939,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:39:23] local.INFO: Acknowledgment sent {"connection_id":219939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:39:26] local.INFO: TCP Data received {"connection_id":219940,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:39:26] local.INFO: Processing buffer {"connection_id":219940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:39:26] local.INFO: IMEI packet received {"connection_id":219940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":219940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:39:31] local.INFO: TCP Data received {"connection_id":219940,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:39:31] local.INFO: Processing buffer {"connection_id":219940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:39:31] local.INFO: IMEI packet received {"connection_id":219940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":219940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:39:31] local.INFO: TCP Data received {"connection_id":219940,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:39:31] local.INFO: Processing buffer {"connection_id":219940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:39:31] local.INFO: Packet analysis {"connection_id":219940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:39:31] local.INFO: Extracted packet for processing {"connection_id":219940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786364672001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792134538000,"timestamp_ms":1792134538000,"timestamp_seconds":1792134538,"priority":1,"record_length":96,"hex_timestamp":"000001a1438ae310"} 
[2026-10-16 12:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:39:31] 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-10-16 12:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786364672001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786364672001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:39:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:39:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786364672001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":219940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:39:31] local.INFO: GPS data processed {"connection_id":219940,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:39:31] local.INFO: Acknowledgment sent {"connection_id":219940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:39:36] local.INFO: TCP Data received {"connection_id":219940,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:39:36] local.INFO: Processing buffer {"connection_id":219940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:39:36] local.INFO: Packet analysis {"connection_id":219940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:39:36] local.INFO: Extracted packet for processing {"connection_id":219940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786364672001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39: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-10-16 12:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792134538000,"timestamp_ms":1792134538000,"timestamp_seconds":1792134538,"priority":1,"record_length":96,"hex_timestamp":"000001a1438ae310"} 
[2026-10-16 12:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:39: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-10-16 12: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-10-16 12:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786364672001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786364672001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:39:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:39:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786364672001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":219940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:39:36] local.INFO: GPS data processed {"connection_id":219940,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:39:36] local.INFO: Acknowledgment sent {"connection_id":219940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:39:44] local.INFO: TCP Data received {"connection_id":216658,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:39:44] local.INFO: Processing buffer {"connection_id":216658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:39:44] local.INFO: Packet analysis {"connection_id":216658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:39:44] local.INFO: Extracted packet for processing {"connection_id":216658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:39:44] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786275840001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679105642496,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792134455000,"timestamp_ms":1792134455000,"timestamp_seconds":1792134455,"priority":1,"record_length":96,"hex_timestamp":"000001a143899ed8"} 
[2026-10-16 12:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 12:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786275840001,"66":2677,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1906359679105642496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786275840001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:39:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:39:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679105642496,"description":"Unknown IO ID 45"} 
[2026-10-16 12:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786275840001,"power":2677,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679105642496}} 
[2026-10-16 12:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":216658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":68,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:39:44] local.INFO: GPS data processed {"connection_id":216658,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:39:44] local.INFO: Acknowledgment sent {"connection_id":216658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:39:54] local.INFO: TCP Data received {"connection_id":219939,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:39:54] local.INFO: Processing buffer {"connection_id":219939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:39:54] local.INFO: Packet analysis {"connection_id":219939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:39:54] local.INFO: Extracted packet for processing {"connection_id":219939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786322944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792134375000,"timestamp_ms":1792134375000,"timestamp_seconds":1792134375,"priority":1,"record_length":96,"hex_timestamp":"000001a143886658"} 
[2026-10-16 12:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786322944001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786322944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:39:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:39:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786322944001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":219939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":69,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:39:54] local.INFO: GPS data processed {"connection_id":219939,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:39:54] local.INFO: Acknowledgment sent {"connection_id":219939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:40:12] local.INFO: TCP Data received {"connection_id":218208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:40:12] local.INFO: Processing buffer {"connection_id":218208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:40:12] local.INFO: IMEI packet received {"connection_id":218208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":218208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:40:16] local.INFO: TCP Data received {"connection_id":218209,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:40:16] local.INFO: Processing buffer {"connection_id":218209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:40:16] local.INFO: IMEI packet received {"connection_id":218209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":218209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:40:17] local.INFO: TCP Data received {"connection_id":218208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:40:17] local.INFO: Processing buffer {"connection_id":218208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:40:17] local.INFO: IMEI packet received {"connection_id":218208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":218208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:40:18] local.INFO: TCP Data received {"connection_id":218208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:40:18] local.INFO: Processing buffer {"connection_id":218208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:40:18] local.INFO: Packet analysis {"connection_id":218208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:40:18] local.INFO: Extracted packet for processing {"connection_id":218208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786275840001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679105642496,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792134455000,"timestamp_ms":1792134455000,"timestamp_seconds":1792134455,"priority":1,"record_length":96,"hex_timestamp":"000001a143899ed8"} 
[2026-10-16 12:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":10,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 12:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":218208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":218208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":218208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786275840001,"66":2677,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1906359679105642496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786275840001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:40:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679105642496,"description":"Unknown IO ID 45"} 
[2026-10-16 12:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786275840001,"power":2677,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679105642496}} 
[2026-10-16 12:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":218208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":70,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:40:18] local.INFO: GPS data processed {"connection_id":218208,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:40:18] local.INFO: Acknowledgment sent {"connection_id":218208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:40:21] local.INFO: TCP Data received {"connection_id":219941,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:40:21] local.INFO: Processing buffer {"connection_id":219941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:40:21] local.INFO: IMEI packet received {"connection_id":219941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":219941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:40:22] local.INFO: TCP Data received {"connection_id":218209,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:40:22] local.INFO: Processing buffer {"connection_id":218209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:40:22] local.INFO: IMEI packet received {"connection_id":218209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":218209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:40:22] local.INFO: TCP Data received {"connection_id":218208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:40:22] local.INFO: Processing buffer {"connection_id":218208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:40:22] local.INFO: Packet analysis {"connection_id":218208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:40:22] local.INFO: Extracted packet for processing {"connection_id":218208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786275840001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679105642496,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792134455000,"timestamp_ms":1792134455000,"timestamp_seconds":1792134455,"priority":1,"record_length":96,"hex_timestamp":"000001a143899ed8"} 
[2026-10-16 12:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 12:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786275840001,"66":2677,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1906359679105642496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786275840001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:40:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679105642496,"description":"Unknown IO ID 45"} 
[2026-10-16 12:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786275840001,"power":2677,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679105642496}} 
[2026-10-16 12:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":218208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":71,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:40:23] local.INFO: GPS data processed {"connection_id":218208,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:40:23] local.INFO: Acknowledgment sent {"connection_id":218208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:40:23] local.INFO: TCP Data received {"connection_id":218209,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:40:23] local.INFO: Processing buffer {"connection_id":218209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:40:23] local.INFO: Packet analysis {"connection_id":218209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:40:23] local.INFO: Extracted packet for processing {"connection_id":218209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786322944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134375000,"timestamp_ms":1792134375000,"timestamp_seconds":1792134375,"priority":1,"record_length":96,"hex_timestamp":"000001a143886658"} 
[2026-10-16 12:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:40:23] 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-10-16 12:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786322944001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786322944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:40:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:40:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786322944001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":218209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":72,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:40:23] local.INFO: GPS data processed {"connection_id":218209,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:40:23] local.INFO: Acknowledgment sent {"connection_id":218209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:40:26] local.INFO: TCP Data received {"connection_id":219941,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:40:26] local.INFO: Processing buffer {"connection_id":219941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:40:26] local.INFO: IMEI packet received {"connection_id":219941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":219941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:40:27] local.INFO: TCP Data received {"connection_id":219941,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:40:27] local.INFO: Processing buffer {"connection_id":219941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:40:27] local.INFO: Packet analysis {"connection_id":219941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:40:27] local.INFO: Extracted packet for processing {"connection_id":219941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786364672001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:27] 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-10-16 12:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792134538000,"timestamp_ms":1792134538000,"timestamp_seconds":1792134538,"priority":1,"record_length":96,"hex_timestamp":"000001a1438ae310"} 
[2026-10-16 12:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786364672001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786364672001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:40:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:40:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786364672001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":219941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":73,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:40:27] local.INFO: GPS data processed {"connection_id":219941,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:40:27] local.INFO: Acknowledgment sent {"connection_id":219941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:40:55] local.INFO: TCP Data received {"connection_id":218209,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:40:55] local.INFO: Processing buffer {"connection_id":218209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:40:55] local.INFO: Packet analysis {"connection_id":218209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:40:55] local.INFO: Extracted packet for processing {"connection_id":218209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786322944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792134375000,"timestamp_ms":1792134375000,"timestamp_seconds":1792134375,"priority":1,"record_length":96,"hex_timestamp":"000001a143886658"} 
[2026-10-16 12:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:40:55] 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-10-16 12:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786322944001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786322944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:40:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:40:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786322944001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":218209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":74,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:40:55] local.INFO: GPS data processed {"connection_id":218209,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:40:55] local.INFO: Acknowledgment sent {"connection_id":218209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:40:58] local.INFO: TCP Data received {"connection_id":219941,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:40:58] local.INFO: Processing buffer {"connection_id":219941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:40:58] local.INFO: Packet analysis {"connection_id":219941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:40:58] local.INFO: Extracted packet for processing {"connection_id":219941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786364672001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:40:58] 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-10-16 12:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792134538000,"timestamp_ms":1792134538000,"timestamp_seconds":1792134538,"priority":1,"record_length":96,"hex_timestamp":"000001a1438ae310"} 
[2026-10-16 12:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:40: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-10-16 12:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786364672001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786364672001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:40:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:40:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786364672001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":219941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":75,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:40:58] local.INFO: GPS data processed {"connection_id":219941,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:40:58] local.INFO: Acknowledgment sent {"connection_id":219941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:41:07] local.INFO: TCP Data received {"connection_id":216660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:41:07] local.INFO: Processing buffer {"connection_id":216660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:41:07] local.INFO: IMEI packet received {"connection_id":216660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":216660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:41:12] local.INFO: TCP Data received {"connection_id":216660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:41:12] local.INFO: Processing buffer {"connection_id":216660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:41:12] local.INFO: IMEI packet received {"connection_id":216660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":216660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:41:13] local.INFO: TCP Data received {"connection_id":216660,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:41:13] local.INFO: Processing buffer {"connection_id":216660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:41:13] local.INFO: Packet analysis {"connection_id":216660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:41:13] local.INFO: Extracted packet for processing {"connection_id":216660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786275840001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679105642496,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792134455000,"timestamp_ms":1792134455000,"timestamp_seconds":1792134455,"priority":1,"record_length":96,"hex_timestamp":"000001a143899ed8"} 
[2026-10-16 12:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":10,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 12:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786275840001,"66":2677,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1906359679105642496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786275840001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:41:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679105642496,"description":"Unknown IO ID 45"} 
[2026-10-16 12:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786275840001,"power":2677,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679105642496}} 
[2026-10-16 12:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":216660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":76,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:41:13] local.INFO: GPS data processed {"connection_id":216660,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:41:13] local.INFO: Acknowledgment sent {"connection_id":216660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:41:16] local.INFO: TCP Data received {"connection_id":218210,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:41:16] local.INFO: Processing buffer {"connection_id":218210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:41:16] local.INFO: IMEI packet received {"connection_id":218210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":218210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:41:21] local.INFO: TCP Data received {"connection_id":216661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:41:21] local.INFO: Processing buffer {"connection_id":216661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:41:21] local.INFO: IMEI packet received {"connection_id":216661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":216661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:41:22] local.INFO: TCP Data received {"connection_id":218210,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:41:22] local.INFO: Processing buffer {"connection_id":218210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:41:22] local.INFO: IMEI packet received {"connection_id":218210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":218210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:41:23] local.INFO: TCP Data received {"connection_id":218210,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:41:23] local.INFO: Processing buffer {"connection_id":218210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:41:23] local.INFO: Packet analysis {"connection_id":218210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:41:23] local.INFO: Extracted packet for processing {"connection_id":218210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786322944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134375000,"timestamp_ms":1792134375000,"timestamp_seconds":1792134375,"priority":1,"record_length":96,"hex_timestamp":"000001a143886658"} 
[2026-10-16 12:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:41:23] 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-10-16 12:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786322944001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786322944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:41:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:41:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786322944001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":218210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":77,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:41:23] local.INFO: GPS data processed {"connection_id":218210,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:41:23] local.INFO: Acknowledgment sent {"connection_id":218210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:41:26] local.INFO: TCP Data received {"connection_id":216661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:41:26] local.INFO: Processing buffer {"connection_id":216661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:41:26] local.INFO: IMEI packet received {"connection_id":216661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":216661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:41:26] local.INFO: TCP Data received {"connection_id":216659,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:41:26] local.INFO: Processing buffer {"connection_id":216659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:41:26] local.INFO: IMEI packet received {"connection_id":216659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":216659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:41:27] local.INFO: TCP Data received {"connection_id":216661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:41:27] local.INFO: Processing buffer {"connection_id":216661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:41:27] local.INFO: Packet analysis {"connection_id":216661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:41:27] local.INFO: Extracted packet for processing {"connection_id":216661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786364672001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:27] 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-10-16 12:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792134538000,"timestamp_ms":1792134538000,"timestamp_seconds":1792134538,"priority":1,"record_length":96,"hex_timestamp":"000001a1438ae310"} 
[2026-10-16 12:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:41:27] 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-10-16 12:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786364672001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786364672001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:41:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:41:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786364672001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":216661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":78,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:41:27] local.INFO: GPS data processed {"connection_id":216661,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:41:27] local.INFO: Acknowledgment sent {"connection_id":216661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:41:48] local.INFO: TCP Data received {"connection_id":216660,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:41:48] local.INFO: Processing buffer {"connection_id":216660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:41:48] local.INFO: Packet analysis {"connection_id":216660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:41:48] local.INFO: Extracted packet for processing {"connection_id":216660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786275840001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679105642496,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792134455000,"timestamp_ms":1792134455000,"timestamp_seconds":1792134455,"priority":1,"record_length":96,"hex_timestamp":"000001a143899ed8"} 
[2026-10-16 12:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":10,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 12:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786275840001,"66":2677,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1906359679105642496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786275840001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:41:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:41:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679105642496,"description":"Unknown IO ID 45"} 
[2026-10-16 12:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786275840001,"power":2677,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679105642496}} 
[2026-10-16 12:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":216660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":79,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:41:48] local.INFO: GPS data processed {"connection_id":216660,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:41:48] local.INFO: Acknowledgment sent {"connection_id":216660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:41:49] local.INFO: TCP Data received {"connection_id":216662,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:41:49] local.INFO: Processing buffer {"connection_id":216662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:41:49] local.INFO: IMEI packet received {"connection_id":216662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":216662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:41:55] local.INFO: TCP Data received {"connection_id":218210,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:41:55] local.INFO: Processing buffer {"connection_id":218210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143886658012d7fa40005afce580009000a30..."} 
[2026-10-16 12:41:55] local.INFO: Packet analysis {"connection_id":218210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:41:55] local.INFO: Extracted packet for processing {"connection_id":218210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14388"} 
[2026-10-16 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786322944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792134375000,"timestamp_ms":1792134375000,"timestamp_seconds":1792134375,"priority":1,"record_length":96,"hex_timestamp":"000001a143886658"} 
[2026-10-16 12:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:41:55] 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-10-16 12:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786322944001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786322944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:41:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:41:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786322944001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":218210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":80,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:41:55] local.INFO: GPS data processed {"connection_id":218210,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:41:55] local.INFO: Acknowledgment sent {"connection_id":218210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:41:59] local.INFO: TCP Data received {"connection_id":216661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:41:59] local.INFO: Processing buffer {"connection_id":216661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:41:59] local.INFO: Packet analysis {"connection_id":216661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:41:59] local.INFO: Extracted packet for processing {"connection_id":216661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786364672001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:41:59] 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-10-16 12:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792134538000,"timestamp_ms":1792134538000,"timestamp_seconds":1792134538,"priority":1,"record_length":96,"hex_timestamp":"000001a1438ae310"} 
[2026-10-16 12:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:41:59] 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-10-16 12:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:41:59] 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-10-16 12:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786364672001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786364672001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:41:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:41:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786364672001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":216661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":81,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:41:59] local.INFO: GPS data processed {"connection_id":216661,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:41:59] local.INFO: Acknowledgment sent {"connection_id":216661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:42:07] local.INFO: TCP Data received {"connection_id":219942,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:42:07] local.INFO: Processing buffer {"connection_id":219942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:42:07] local.INFO: IMEI packet received {"connection_id":219942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":219942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:42:12] local.INFO: TCP Data received {"connection_id":219942,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:42:12] local.INFO: Processing buffer {"connection_id":219942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:42:12] local.INFO: IMEI packet received {"connection_id":219942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":219942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:42:13] local.INFO: TCP Data received {"connection_id":219942,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:42:13] local.INFO: Processing buffer {"connection_id":219942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:42:13] local.INFO: Packet analysis {"connection_id":219942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:42:13] local.INFO: Extracted packet for processing {"connection_id":219942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786275840001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679105642496,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792134455000,"timestamp_ms":1792134455000,"timestamp_seconds":1792134455,"priority":1,"record_length":96,"hex_timestamp":"000001a143899ed8"} 
[2026-10-16 12:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":10,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 12:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786275840001,"66":2677,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1906359679105642496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786275840001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:42:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679105642496,"description":"Unknown IO ID 45"} 
[2026-10-16 12:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786275840001,"power":2677,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679105642496}} 
[2026-10-16 12:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":219942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":82,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:42:13] local.INFO: GPS data processed {"connection_id":219942,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:42:13] local.INFO: Acknowledgment sent {"connection_id":219942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:42:21] local.INFO: TCP Data received {"connection_id":216861,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:42:21] local.INFO: Processing buffer {"connection_id":216861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:42:21] local.INFO: IMEI packet received {"connection_id":216861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":216861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:42:22] local.INFO: TCP Data received {"connection_id":219943,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:42:22] local.INFO: Processing buffer {"connection_id":219943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:42:22] local.INFO: IMEI packet received {"connection_id":219943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":219943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:42:26] local.INFO: TCP Data received {"connection_id":216861,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:42:26] local.INFO: Processing buffer {"connection_id":216861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:42:26] local.INFO: IMEI packet received {"connection_id":216861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":216861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:42:27] local.INFO: TCP Data received {"connection_id":219943,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:42:27] local.INFO: Processing buffer {"connection_id":219943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:42:27] local.INFO: IMEI packet received {"connection_id":219943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":219943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:42:27] local.INFO: TCP Data received {"connection_id":216861,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:42:27] local.INFO: Processing buffer {"connection_id":216861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:42:27] local.INFO: Packet analysis {"connection_id":216861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:42:27] local.INFO: Extracted packet for processing {"connection_id":216861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786364672001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:27] 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-10-16 12:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792134538000,"timestamp_ms":1792134538000,"timestamp_seconds":1792134538,"priority":1,"record_length":96,"hex_timestamp":"000001a1438ae310"} 
[2026-10-16 12:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786364672001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786364672001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:42:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:42:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786364672001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":216861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":83,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:42:27] local.INFO: GPS data processed {"connection_id":216861,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:42:27] local.INFO: Acknowledgment sent {"connection_id":216861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:42:28] local.INFO: TCP Data received {"connection_id":219943,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:42:28] local.INFO: Processing buffer {"connection_id":219943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:42:28] local.INFO: Packet analysis {"connection_id":219943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:42:28] local.INFO: Extracted packet for processing {"connection_id":219943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786400000001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792134676000,"timestamp_ms":1792134676000,"timestamp_seconds":1792134676,"priority":1,"record_length":96,"hex_timestamp":"000001a1438cfe20"} 
[2026-10-16 12:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 12:42:28] 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-10-16 12:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786400000001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786400000001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:42:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:42:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786400000001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":219943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":84,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:42:28] local.INFO: GPS data processed {"connection_id":219943,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:42:28] local.INFO: Acknowledgment sent {"connection_id":219943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:42:32] local.INFO: TCP Data received {"connection_id":219943,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:42:32] local.INFO: Processing buffer {"connection_id":219943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:42:32] local.INFO: Packet analysis {"connection_id":219943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:42:32] local.INFO: Extracted packet for processing {"connection_id":219943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786400000001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792134676000,"timestamp_ms":1792134676000,"timestamp_seconds":1792134676,"priority":1,"record_length":96,"hex_timestamp":"000001a1438cfe20"} 
[2026-10-16 12:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 12:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786400000001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786400000001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:42:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:42:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786400000001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":219943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":85,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:42:32] local.INFO: GPS data processed {"connection_id":219943,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:42:32] local.INFO: Acknowledgment sent {"connection_id":219943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:42:44] local.INFO: TCP Data received {"connection_id":219942,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:42:44] local.INFO: Processing buffer {"connection_id":219942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:42:44] local.INFO: Packet analysis {"connection_id":219942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:42:44] local.INFO: Extracted packet for processing {"connection_id":219942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 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-10-16 12:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786275840001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679105642496,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792134455000,"timestamp_ms":1792134455000,"timestamp_seconds":1792134455,"priority":1,"record_length":96,"hex_timestamp":"000001a143899ed8"} 
[2026-10-16 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-10-16 12:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":10,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 12:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 12:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786275840001,"66":2677,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1906359679105642496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786275840001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:42:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:42:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679105642496,"description":"Unknown IO ID 45"} 
[2026-10-16 12:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786275840001,"power":2677,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679105642496}} 
[2026-10-16 12:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":219942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":86,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:42:44] local.INFO: GPS data processed {"connection_id":219942,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:42:44] local.INFO: Acknowledgment sent {"connection_id":219942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:42:59] local.INFO: TCP Data received {"connection_id":216861,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:42:59] local.INFO: Processing buffer {"connection_id":216861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:42:59] local.INFO: Packet analysis {"connection_id":216861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:42:59] local.INFO: Extracted packet for processing {"connection_id":216861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786364672001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:42:59] 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-10-16 12:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792134538000,"timestamp_ms":1792134538000,"timestamp_seconds":1792134538,"priority":1,"record_length":96,"hex_timestamp":"000001a1438ae310"} 
[2026-10-16 12:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:42:59] 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-10-16 12:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786364672001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786364672001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:42:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:42:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786364672001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":216861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":87,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:42:59] local.INFO: GPS data processed {"connection_id":216861,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:42:59] local.INFO: Acknowledgment sent {"connection_id":216861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:43:07] local.INFO: TCP Data received {"connection_id":216663,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:43:07] local.INFO: Processing buffer {"connection_id":216663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:43:07] local.INFO: IMEI packet received {"connection_id":216663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":216663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:43:12] local.INFO: TCP Data received {"connection_id":216663,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:43:12] local.INFO: Processing buffer {"connection_id":216663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:43:12] local.INFO: IMEI packet received {"connection_id":216663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":216663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:43:13] local.INFO: TCP Data received {"connection_id":216663,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:43:13] local.INFO: Processing buffer {"connection_id":216663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143899ed8012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:43:13] local.INFO: Packet analysis {"connection_id":216663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:43:13] local.INFO: Extracted packet for processing {"connection_id":216663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14389"} 
[2026-10-16 12:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786275840001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679105642496,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792134455000,"timestamp_ms":1792134455000,"timestamp_seconds":1792134455,"priority":1,"record_length":96,"hex_timestamp":"000001a143899ed8"} 
[2026-10-16 12:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":10,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 12:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786275840001,"66":2677,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1906359679105642496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786275840001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:43:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679105642496,"description":"Unknown IO ID 45"} 
[2026-10-16 12:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786275840001,"power":2677,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679105642496}} 
[2026-10-16 12:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":216663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":88,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:43:13] local.INFO: GPS data processed {"connection_id":216663,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:43:13] local.INFO: Acknowledgment sent {"connection_id":216663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:43:16] local.INFO: TCP Data received {"connection_id":218212,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:43:16] local.INFO: Processing buffer {"connection_id":218212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:43:16] local.INFO: IMEI packet received {"connection_id":218212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":218212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:43:20] local.INFO: TCP Data received {"connection_id":219945,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:43:20] local.INFO: Processing buffer {"connection_id":219945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:43:20] local.INFO: IMEI packet received {"connection_id":219945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":219945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:43:22] local.INFO: TCP Data received {"connection_id":218212,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:43:22] local.INFO: Processing buffer {"connection_id":218212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:43:22] local.INFO: IMEI packet received {"connection_id":218212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":218212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:43:23] local.INFO: TCP Data received {"connection_id":218212,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:43:23] local.INFO: Processing buffer {"connection_id":218212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:43:23] local.INFO: Packet analysis {"connection_id":218212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:43:23] local.INFO: Extracted packet for processing {"connection_id":218212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786400000001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134676000,"timestamp_ms":1792134676000,"timestamp_seconds":1792134676,"priority":1,"record_length":96,"hex_timestamp":"000001a1438cfe20"} 
[2026-10-16 12:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 12:43:23] 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-10-16 12:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786400000001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786400000001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:43:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:43:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786400000001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":218212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":89,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:43:23] local.INFO: GPS data processed {"connection_id":218212,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:43:23] local.INFO: Acknowledgment sent {"connection_id":218212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:43:26] local.INFO: TCP Data received {"connection_id":219945,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:43:26] local.INFO: Processing buffer {"connection_id":219945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:43:26] local.INFO: IMEI packet received {"connection_id":219945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":219945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:43:27] local.INFO: TCP Data received {"connection_id":219945,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:43:27] local.INFO: Processing buffer {"connection_id":219945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:43:27] local.INFO: Packet analysis {"connection_id":219945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:43:27] local.INFO: Extracted packet for processing {"connection_id":219945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786364672001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:27] 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-10-16 12:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792134538000,"timestamp_ms":1792134538000,"timestamp_seconds":1792134538,"priority":1,"record_length":96,"hex_timestamp":"000001a1438ae310"} 
[2026-10-16 12:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786364672001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786364672001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:43:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:43:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786364672001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":219945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":90,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:43:27] local.INFO: GPS data processed {"connection_id":219945,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:43:27] local.INFO: Acknowledgment sent {"connection_id":219945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:43:47] local.INFO: TCP Data received {"connection_id":216663,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:43:47] local.INFO: Processing buffer {"connection_id":216663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:43:47] local.INFO: Packet analysis {"connection_id":216663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:43:47] local.INFO: Extracted packet for processing {"connection_id":216663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792134756000,"timestamp_ms":1792134756000,"timestamp_seconds":1792134756,"priority":1,"record_length":96,"hex_timestamp":"000001a1438e36a0"} 
[2026-10-16 12:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786420480001,"66":2753,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:43:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786420480001,"power":2753,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":216663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":91,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:43:47] local.INFO: GPS data processed {"connection_id":216663,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:43:47] local.INFO: Acknowledgment sent {"connection_id":216663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:43:55] local.INFO: TCP Data received {"connection_id":218212,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:43:55] local.INFO: Processing buffer {"connection_id":218212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:43:55] local.INFO: Packet analysis {"connection_id":218212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:43:55] local.INFO: Extracted packet for processing {"connection_id":218212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786400000001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792134676000,"timestamp_ms":1792134676000,"timestamp_seconds":1792134676,"priority":1,"record_length":96,"hex_timestamp":"000001a1438cfe20"} 
[2026-10-16 12:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 12:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786400000001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786400000001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:43:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:43:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786400000001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":218212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":92,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:43:55] local.INFO: GPS data processed {"connection_id":218212,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:43:55] local.INFO: Acknowledgment sent {"connection_id":218212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:44:04] local.INFO: TCP Data received {"connection_id":219945,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:44:04] local.INFO: Processing buffer {"connection_id":219945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438ae310012d7d3fc005ec0ec0000001391e..."} 
[2026-10-16 12:44:04] local.INFO: Packet analysis {"connection_id":219945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:44:04] local.INFO: Extracted packet for processing {"connection_id":219945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438a"} 
[2026-10-16 12:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":30,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786364672001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:04] 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-10-16 12:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792134538000,"timestamp_ms":1792134538000,"timestamp_seconds":1792134538,"priority":1,"record_length":96,"hex_timestamp":"000001a1438ae310"} 
[2026-10-16 12:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-10-16 12:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":219945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":219945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":219945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786364672001,"66":12624,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786364672001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:44:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:44:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786364672001,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":219945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":93,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:44:05] local.INFO: GPS data processed {"connection_id":219945,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:44:05] local.INFO: Acknowledgment sent {"connection_id":219945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:44:07] local.INFO: TCP Data received {"connection_id":216863,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:44:07] local.INFO: Processing buffer {"connection_id":216863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:44:07] local.INFO: IMEI packet received {"connection_id":216863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":216863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:44:12] local.INFO: TCP Data received {"connection_id":216863,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:44:12] local.INFO: Processing buffer {"connection_id":216863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:44:12] local.INFO: IMEI packet received {"connection_id":216863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":216863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:44:13] local.INFO: TCP Data received {"connection_id":216863,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:44:13] local.INFO: Processing buffer {"connection_id":216863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:44:13] local.INFO: Packet analysis {"connection_id":216863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:44:13] local.INFO: Extracted packet for processing {"connection_id":216863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:44:13] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792134756000,"timestamp_ms":1792134756000,"timestamp_seconds":1792134756,"priority":1,"record_length":96,"hex_timestamp":"000001a1438e36a0"} 
[2026-10-16 12:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:44:13] 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-10-16 12: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786420480001,"66":2753,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:44:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:44:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786420480001,"power":2753,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":216863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":94,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:44:13] local.INFO: GPS data processed {"connection_id":216863,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:44:13] local.INFO: Acknowledgment sent {"connection_id":216863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:44:16] local.INFO: TCP Data received {"connection_id":218213,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:44:16] local.INFO: Processing buffer {"connection_id":218213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:44:16] local.INFO: IMEI packet received {"connection_id":218213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":218213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:44:20] local.INFO: TCP Data received {"connection_id":216664,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:44:20] local.INFO: Processing buffer {"connection_id":216664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:44:20] local.INFO: IMEI packet received {"connection_id":216664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":216664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:44:22] local.INFO: TCP Data received {"connection_id":218213,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:44:22] local.INFO: Processing buffer {"connection_id":218213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:44:22] local.INFO: IMEI packet received {"connection_id":218213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":218213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:44:23] local.INFO: TCP Data received {"connection_id":218213,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:44:23] local.INFO: Processing buffer {"connection_id":218213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:44:23] local.INFO: Packet analysis {"connection_id":218213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:44:23] local.INFO: Extracted packet for processing {"connection_id":218213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786400000001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134676000,"timestamp_ms":1792134676000,"timestamp_seconds":1792134676,"priority":1,"record_length":96,"hex_timestamp":"000001a1438cfe20"} 
[2026-10-16 12:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 12:44:23] 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-10-16 12: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-10-16 12:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786400000001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786400000001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:44:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:44:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786400000001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":218213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":95,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:44:23] local.INFO: GPS data processed {"connection_id":218213,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:44:23] local.INFO: Acknowledgment sent {"connection_id":218213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:44:26] local.INFO: TCP Data received {"connection_id":216664,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:44:26] local.INFO: Processing buffer {"connection_id":216664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:44:26] local.INFO: IMEI packet received {"connection_id":216664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":216664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:44:26] local.INFO: TCP Data received {"connection_id":216664,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:44:26] local.INFO: Processing buffer {"connection_id":216664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:44:26] local.INFO: Packet analysis {"connection_id":216664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:44:26] local.INFO: Extracted packet for processing {"connection_id":216664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:44: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-10-16 12:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786441728001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:26] 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-10-16 12:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792134839000,"timestamp_ms":1792134839000,"timestamp_seconds":1792134839,"priority":1,"record_length":96,"hex_timestamp":"000001a1438f7ad8"} 
[2026-10-16 12:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:44: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:44:26] 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-10-16 12:44: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-10-16 12:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:44:26] 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-10-16 12:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786441728001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786441728001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:44:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:44:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786441728001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":216664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":96,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:44:26] local.INFO: GPS data processed {"connection_id":216664,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:44:26] local.INFO: Acknowledgment sent {"connection_id":216664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:44:44] local.INFO: TCP Data received {"connection_id":216863,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:44:44] local.INFO: Processing buffer {"connection_id":216863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:44:44] local.INFO: Packet analysis {"connection_id":216863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:44:44] local.INFO: Extracted packet for processing {"connection_id":216863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792134756000,"timestamp_ms":1792134756000,"timestamp_seconds":1792134756,"priority":1,"record_length":96,"hex_timestamp":"000001a1438e36a0"} 
[2026-10-16 12:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:44:44] 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-10-16 12: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786420480001,"66":2753,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:44:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:44:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786420480001,"power":2753,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":216863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":97,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:44:44] local.INFO: GPS data processed {"connection_id":216863,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:44:44] local.INFO: Acknowledgment sent {"connection_id":216863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:44:54] local.INFO: TCP Data received {"connection_id":218213,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:44:54] local.INFO: Processing buffer {"connection_id":218213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:44:54] local.INFO: Packet analysis {"connection_id":218213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:44:54] local.INFO: Extracted packet for processing {"connection_id":218213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786400000001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792134676000,"timestamp_ms":1792134676000,"timestamp_seconds":1792134676,"priority":1,"record_length":96,"hex_timestamp":"000001a1438cfe20"} 
[2026-10-16 12:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 12:44:54] 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-10-16 12: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-10-16 12:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786400000001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786400000001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:44:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:44:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786400000001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":218213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":98,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:44:54] local.INFO: GPS data processed {"connection_id":218213,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:44:54] local.INFO: Acknowledgment sent {"connection_id":218213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:44:58] local.INFO: TCP Data received {"connection_id":216664,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:44:58] local.INFO: Processing buffer {"connection_id":216664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:44:58] local.INFO: Packet analysis {"connection_id":216664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:44:58] local.INFO: Extracted packet for processing {"connection_id":216664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786441728001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:44:58] 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-10-16 12:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792134839000,"timestamp_ms":1792134839000,"timestamp_seconds":1792134839,"priority":1,"record_length":96,"hex_timestamp":"000001a1438f7ad8"} 
[2026-10-16 12:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:44:58] 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-10-16 12:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:44:58] 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-10-16 12:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786441728001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786441728001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:44:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:44:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786441728001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":216664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":99,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:44:58] local.INFO: GPS data processed {"connection_id":216664,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:44:58] local.INFO: Acknowledgment sent {"connection_id":216664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:45:14] local.INFO: TCP Data received {"connection_id":219946,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:45:14] local.INFO: Processing buffer {"connection_id":219946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:45:14] local.INFO: IMEI packet received {"connection_id":219946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":219946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:45:16] local.INFO: TCP Data received {"connection_id":219947,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:45:16] local.INFO: Processing buffer {"connection_id":219947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:45:16] local.INFO: IMEI packet received {"connection_id":219947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":219947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:45:22] local.INFO: TCP Data received {"connection_id":219947,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:45:22] local.INFO: Processing buffer {"connection_id":219947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:45:22] local.INFO: IMEI packet received {"connection_id":219947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":219947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:45:22] local.INFO: TCP Data received {"connection_id":219946,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:45:22] local.INFO: Processing buffer {"connection_id":219946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:45:22] local.INFO: IMEI packet received {"connection_id":219946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":219946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:45:23] local.INFO: TCP Data received {"connection_id":219947,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:45:23] local.INFO: Processing buffer {"connection_id":219947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:45:23] local.INFO: Packet analysis {"connection_id":219947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:45:23] local.INFO: Extracted packet for processing {"connection_id":219947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786400000001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134676000,"timestamp_ms":1792134676000,"timestamp_seconds":1792134676,"priority":1,"record_length":96,"hex_timestamp":"000001a1438cfe20"} 
[2026-10-16 12:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 12:45:23] 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-10-16 12:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786400000001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786400000001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:45:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:45:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786400000001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":219947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:45:23] local.INFO: GPS data processed {"connection_id":219947,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:45:23] local.INFO: Acknowledgment sent {"connection_id":219947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:45:24] local.INFO: TCP Data received {"connection_id":219946,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:45:24] local.INFO: Processing buffer {"connection_id":219946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:45:24] local.INFO: Packet analysis {"connection_id":219946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:45:24] local.INFO: Extracted packet for processing {"connection_id":219946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792134756000,"timestamp_ms":1792134756000,"timestamp_seconds":1792134756,"priority":1,"record_length":96,"hex_timestamp":"000001a1438e36a0"} 
[2026-10-16 12:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:45:24] 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-10-16 12:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786420480001,"66":2753,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:45:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786420480001,"power":2753,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":219946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:45:24] local.INFO: GPS data processed {"connection_id":219946,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:45:24] local.INFO: Acknowledgment sent {"connection_id":219946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:45:25] local.INFO: TCP Data received {"connection_id":219946,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:45:25] local.INFO: Processing buffer {"connection_id":219946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:45:25] local.INFO: Packet analysis {"connection_id":219946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:45:25] local.INFO: Extracted packet for processing {"connection_id":219946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:45:25] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792134756000,"timestamp_ms":1792134756000,"timestamp_seconds":1792134756,"priority":1,"record_length":96,"hex_timestamp":"000001a1438e36a0"} 
[2026-10-16 12:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":219946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":219946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":219946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786420480001,"66":2753,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:45:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:45:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786420480001,"power":2753,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":219946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:45:25] local.INFO: GPS data processed {"connection_id":219946,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:45:25] local.INFO: Acknowledgment sent {"connection_id":219946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:45:25] local.INFO: TCP Data received {"connection_id":218214,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:45:25] local.INFO: Processing buffer {"connection_id":218214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:45:25] local.INFO: IMEI packet received {"connection_id":218214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":218214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:45:37] local.INFO: TCP Data received {"connection_id":218214,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:45:37] local.INFO: Processing buffer {"connection_id":218214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:45:37] local.INFO: IMEI packet received {"connection_id":218214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":218214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:45:37] local.INFO: TCP Data received {"connection_id":218214,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:45:37] local.INFO: Processing buffer {"connection_id":218214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:45:37] local.INFO: Packet analysis {"connection_id":218214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:45:37] local.INFO: Extracted packet for processing {"connection_id":218214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786441728001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:37] 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-10-16 12:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792134839000,"timestamp_ms":1792134839000,"timestamp_seconds":1792134839,"priority":1,"record_length":96,"hex_timestamp":"000001a1438f7ad8"} 
[2026-10-16 12:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:45:37] 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-10-16 12:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":218214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":218214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":218214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786441728001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786441728001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:45:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786441728001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":218214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:45:38] local.INFO: GPS data processed {"connection_id":218214,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:45:38] local.INFO: Acknowledgment sent {"connection_id":218214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:45:55] local.INFO: TCP Data received {"connection_id":219947,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:45:55] local.INFO: Processing buffer {"connection_id":219947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:45:55] local.INFO: Packet analysis {"connection_id":219947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:45:55] local.INFO: Extracted packet for processing {"connection_id":219947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786400000001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792134676000,"timestamp_ms":1792134676000,"timestamp_seconds":1792134676,"priority":1,"record_length":96,"hex_timestamp":"000001a1438cfe20"} 
[2026-10-16 12:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 12:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786400000001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786400000001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:45:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:45:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786400000001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":219947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:45:55] local.INFO: GPS data processed {"connection_id":219947,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:45:55] local.INFO: Acknowledgment sent {"connection_id":219947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:46:07] local.INFO: TCP Data received {"connection_id":218216,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:46:07] local.INFO: Processing buffer {"connection_id":218216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:46:07] local.INFO: IMEI packet received {"connection_id":218216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":218216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:46:12] local.INFO: TCP Data received {"connection_id":218216,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:46:12] local.INFO: Processing buffer {"connection_id":218216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:46:12] local.INFO: IMEI packet received {"connection_id":218216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":218216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:46:15] local.INFO: TCP Data received {"connection_id":218216,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:46:15] local.INFO: Processing buffer {"connection_id":218216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:46:15] local.INFO: Packet analysis {"connection_id":218216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:46:15] local.INFO: Extracted packet for processing {"connection_id":218216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792134756000,"timestamp_ms":1792134756000,"timestamp_seconds":1792134756,"priority":1,"record_length":96,"hex_timestamp":"000001a1438e36a0"} 
[2026-10-16 12:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:46:15] 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-10-16 12: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786420480001,"66":2753,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:46:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786420480001,"power":2753,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":218216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:46:15] local.INFO: GPS data processed {"connection_id":218216,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:46:15] local.INFO: Acknowledgment sent {"connection_id":218216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:46:21] local.INFO: TCP Data received {"connection_id":219948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:46:21] local.INFO: Processing buffer {"connection_id":219948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:46:21] local.INFO: IMEI packet received {"connection_id":219948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":219948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:46:22] local.INFO: TCP Data received {"connection_id":216666,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:46:22] local.INFO: Processing buffer {"connection_id":216666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:46:22] local.INFO: IMEI packet received {"connection_id":216666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":216666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:46:26] local.INFO: TCP Data received {"connection_id":219948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:46:26] local.INFO: Processing buffer {"connection_id":219948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:46:26] local.INFO: IMEI packet received {"connection_id":219948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":219948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:46:26] local.INFO: TCP Data received {"connection_id":219948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:46:26] local.INFO: Processing buffer {"connection_id":219948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:46:26] local.INFO: Packet analysis {"connection_id":219948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:46:26] local.INFO: Extracted packet for processing {"connection_id":219948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786441728001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:26] 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-10-16 12:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792134839000,"timestamp_ms":1792134839000,"timestamp_seconds":1792134839,"priority":1,"record_length":96,"hex_timestamp":"000001a1438f7ad8"} 
[2026-10-16 12:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:46:26] 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-10-16 12:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":219948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":219948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":219948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786441728001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786441728001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:46:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:46:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786441728001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":219948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:46:27] local.INFO: GPS data processed {"connection_id":219948,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:46:27] local.INFO: Acknowledgment sent {"connection_id":219948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:46:27] local.INFO: TCP Data received {"connection_id":216666,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:46:27] local.INFO: Processing buffer {"connection_id":216666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:46:27] local.INFO: IMEI packet received {"connection_id":216666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":216666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:46:28] local.INFO: TCP Data received {"connection_id":216666,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:46:28] local.INFO: Processing buffer {"connection_id":216666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:46:28] local.INFO: Packet analysis {"connection_id":216666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:46:28] local.INFO: Extracted packet for processing {"connection_id":216666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786400000001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792134676000,"timestamp_ms":1792134676000,"timestamp_seconds":1792134676,"priority":1,"record_length":96,"hex_timestamp":"000001a1438cfe20"} 
[2026-10-16 12:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 12:46:28] 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-10-16 12:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786400000001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786400000001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:46:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:46:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786400000001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":216666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:46:28] local.INFO: GPS data processed {"connection_id":216666,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:46:28] local.INFO: Acknowledgment sent {"connection_id":216666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:46:32] local.INFO: TCP Data received {"connection_id":216666,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:46:32] local.INFO: Processing buffer {"connection_id":216666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438cfe20012d7fa40005afce580009000a30..."} 
[2026-10-16 12:46:32] local.INFO: Packet analysis {"connection_id":216666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:46:32] local.INFO: Extracted packet for processing {"connection_id":216666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438c"} 
[2026-10-16 12:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786400000001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792134676000,"timestamp_ms":1792134676000,"timestamp_seconds":1792134676,"priority":1,"record_length":96,"hex_timestamp":"000001a1438cfe20"} 
[2026-10-16 12:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 12:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786400000001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786400000001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:46:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786400000001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":216666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:46:32] local.INFO: GPS data processed {"connection_id":216666,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:46:32] local.INFO: Acknowledgment sent {"connection_id":216666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:46:46] local.INFO: TCP Data received {"connection_id":218216,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:46:46] local.INFO: Processing buffer {"connection_id":218216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:46:46] local.INFO: Packet analysis {"connection_id":218216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:46:46] local.INFO: Extracted packet for processing {"connection_id":218216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792134756000,"timestamp_ms":1792134756000,"timestamp_seconds":1792134756,"priority":1,"record_length":96,"hex_timestamp":"000001a1438e36a0"} 
[2026-10-16 12:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:46:46] 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-10-16 12: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786420480001,"66":2753,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:46:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786420480001,"power":2753,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":218216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:46:46] local.INFO: GPS data processed {"connection_id":218216,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:46:46] local.INFO: Acknowledgment sent {"connection_id":218216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:46:58] local.INFO: TCP Data received {"connection_id":219948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:46:58] local.INFO: Processing buffer {"connection_id":219948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:46:58] local.INFO: Packet analysis {"connection_id":219948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:46:58] local.INFO: Extracted packet for processing {"connection_id":219948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786441728001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:46:58] 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-10-16 12:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792134839000,"timestamp_ms":1792134839000,"timestamp_seconds":1792134839,"priority":1,"record_length":96,"hex_timestamp":"000001a1438f7ad8"} 
[2026-10-16 12:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:46:58] 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-10-16 12:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":219948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":219948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":219948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:46: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-10-16 12:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786441728001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786441728001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:46:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786441728001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":219948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:46:58] local.INFO: GPS data processed {"connection_id":219948,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:46:58] local.INFO: Acknowledgment sent {"connection_id":219948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:47:06] local.INFO: TCP Data received {"connection_id":216864,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:47:06] local.INFO: Processing buffer {"connection_id":216864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:47:06] local.INFO: IMEI packet received {"connection_id":216864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":216864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:47:07] local.INFO: TCP Data received {"connection_id":218217,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:47:07] local.INFO: Processing buffer {"connection_id":218217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:47:07] local.INFO: IMEI packet received {"connection_id":218217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":218217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:47:12] local.INFO: TCP Data received {"connection_id":218217,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:47:12] local.INFO: Processing buffer {"connection_id":218217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:47:12] local.INFO: IMEI packet received {"connection_id":218217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":218217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:47:13] local.INFO: TCP Data received {"connection_id":218217,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:47:13] local.INFO: Processing buffer {"connection_id":218217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:47:13] local.INFO: Packet analysis {"connection_id":218217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:47:13] local.INFO: Extracted packet for processing {"connection_id":218217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792134756000,"timestamp_ms":1792134756000,"timestamp_seconds":1792134756,"priority":1,"record_length":96,"hex_timestamp":"000001a1438e36a0"} 
[2026-10-16 12:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:47:13] 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-10-16 12:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786420480001,"66":2753,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:47:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786420480001,"power":2753,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":218217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:47:13] local.INFO: GPS data processed {"connection_id":218217,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:47:13] local.INFO: Acknowledgment sent {"connection_id":218217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:47:16] local.INFO: TCP Data received {"connection_id":218218,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:47:16] local.INFO: Processing buffer {"connection_id":218218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:47:16] local.INFO: IMEI packet received {"connection_id":218218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":218218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:47:21] local.INFO: TCP Data received {"connection_id":216667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:47:21] local.INFO: Processing buffer {"connection_id":216667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:47:21] local.INFO: IMEI packet received {"connection_id":216667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":216667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:47:22] local.INFO: TCP Data received {"connection_id":218218,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:47:22] local.INFO: Processing buffer {"connection_id":218218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:47:22] local.INFO: IMEI packet received {"connection_id":218218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":218218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:47:23] local.INFO: TCP Data received {"connection_id":218218,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:47:23] local.INFO: Processing buffer {"connection_id":218218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:47:23] local.INFO: Packet analysis {"connection_id":218218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:47:23] local.INFO: Extracted packet for processing {"connection_id":218218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786477056001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134977000,"timestamp_ms":1792134977000,"timestamp_seconds":1792134977,"priority":1,"record_length":96,"hex_timestamp":"000001a1439195e8"} 
[2026-10-16 12:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 12:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786477056001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786477056001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:47:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:47:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786477056001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":218218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:47:23] local.INFO: GPS data processed {"connection_id":218218,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:47:23] local.INFO: Acknowledgment sent {"connection_id":218218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:47:30] local.INFO: TCP Data received {"connection_id":216667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:47:30] local.INFO: Processing buffer {"connection_id":216667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:47:30] local.INFO: IMEI packet received {"connection_id":216667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":216667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:47:44] local.INFO: TCP Data received {"connection_id":218217,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:47:44] local.INFO: Processing buffer {"connection_id":218217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:47:44] local.INFO: Packet analysis {"connection_id":218217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:47:44] local.INFO: Extracted packet for processing {"connection_id":218217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:47:44] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792134756000,"timestamp_ms":1792134756000,"timestamp_seconds":1792134756,"priority":1,"record_length":96,"hex_timestamp":"000001a1438e36a0"} 
[2026-10-16 12:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:47:44] 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-10-16 12: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786420480001,"66":2753,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:47:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:47:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786420480001,"power":2753,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":218217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:47:44] local.INFO: GPS data processed {"connection_id":218217,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:47:44] local.INFO: Acknowledgment sent {"connection_id":218217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:47:51] local.INFO: TCP Data received {"connection_id":218219,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:47:51] local.INFO: Processing buffer {"connection_id":218219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:47:51] local.INFO: IMEI packet received {"connection_id":218219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":218219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:47:51] local.INFO: TCP Data received {"connection_id":216667,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:47:51] local.INFO: Processing buffer {"connection_id":216667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:47:51] local.INFO: Packet analysis {"connection_id":216667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:47:51] local.INFO: Extracted packet for processing {"connection_id":216667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786441728001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:51] 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-10-16 12:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792134839000,"timestamp_ms":1792134839000,"timestamp_seconds":1792134839,"priority":1,"record_length":96,"hex_timestamp":"000001a1438f7ad8"} 
[2026-10-16 12:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:47: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-10-16 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:47:51] 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-10-16 12:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":216667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":216667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":216667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786441728001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786441728001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:47:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:47:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786441728001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":216667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:47:51] local.INFO: GPS data processed {"connection_id":216667,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:47:51] local.INFO: Acknowledgment sent {"connection_id":216667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:47:54] local.INFO: TCP Data received {"connection_id":218218,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:47:54] local.INFO: Processing buffer {"connection_id":218218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:47:54] local.INFO: Packet analysis {"connection_id":218218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:47:54] local.INFO: Extracted packet for processing {"connection_id":218218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786477056001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792134977000,"timestamp_ms":1792134977000,"timestamp_seconds":1792134977,"priority":1,"record_length":96,"hex_timestamp":"000001a1439195e8"} 
[2026-10-16 12:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 12:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786477056001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786477056001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:47:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:47:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786477056001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":218218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:47:54] local.INFO: GPS data processed {"connection_id":218218,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:47:54] local.INFO: Acknowledgment sent {"connection_id":218218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:48:12] local.INFO: TCP Data received {"connection_id":216865,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:48:12] local.INFO: Processing buffer {"connection_id":216865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:48:12] local.INFO: IMEI packet received {"connection_id":216865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":216865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:48:12] local.INFO: TCP Data received {"connection_id":216865,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:48:12] local.INFO: Processing buffer {"connection_id":216865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:48:12] local.INFO: IMEI packet received {"connection_id":216865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":216865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:48:13] local.INFO: TCP Data received {"connection_id":216865,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:48:13] local.INFO: Processing buffer {"connection_id":216865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438e36a0012d1a40c0071f4b28004b010f29..."} 
[2026-10-16 12:48:13] local.INFO: Packet analysis {"connection_id":216865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:48:13] local.INFO: Extracted packet for processing {"connection_id":216865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438e"} 
[2026-10-16 12:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786420480001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792134756000,"timestamp_ms":1792134756000,"timestamp_seconds":1792134756,"priority":1,"record_length":96,"hex_timestamp":"000001a1438e36a0"} 
[2026-10-16 12:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:48:13] 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-10-16 12: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 12:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786420480001,"66":2753,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786420480001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:48:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786420480001,"power":2753,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":216865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:48:13] local.INFO: GPS data processed {"connection_id":216865,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:48:13] local.INFO: Acknowledgment sent {"connection_id":216865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:48:15] local.INFO: TCP Data received {"connection_id":216865,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:48:15] local.INFO: Processing buffer {"connection_id":216865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:48:15] local.INFO: Packet analysis {"connection_id":216865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:48:15] local.INFO: Extracted packet for processing {"connection_id":216865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":42,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792135057000,"timestamp_ms":1792135057000,"timestamp_seconds":1792135057,"priority":1,"record_length":96,"hex_timestamp":"000001a14392ce68"} 
[2026-10-16 12:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:48:15] 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-10-16 12: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":10,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-16 12:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1985,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786497536001,"66":4307,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:48:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786497536001,"power":4307,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":216865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:48:16] local.INFO: GPS data processed {"connection_id":216865,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:48:16] local.INFO: Acknowledgment sent {"connection_id":216865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:48:16] local.INFO: TCP Data received {"connection_id":218220,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:48:16] local.INFO: Processing buffer {"connection_id":218220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:48:16] local.INFO: IMEI packet received {"connection_id":218220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":218220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:48:20] local.INFO: TCP Data received {"connection_id":219949,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:48:20] local.INFO: Processing buffer {"connection_id":219949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:48:20] local.INFO: IMEI packet received {"connection_id":219949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":219949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:48:22] local.INFO: TCP Data received {"connection_id":218220,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:48:22] local.INFO: Processing buffer {"connection_id":218220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:48:22] local.INFO: IMEI packet received {"connection_id":218220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":218220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:48:23] local.INFO: TCP Data received {"connection_id":218220,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:48:23] local.INFO: Processing buffer {"connection_id":218220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:48:23] local.INFO: Packet analysis {"connection_id":218220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:48:23] local.INFO: Extracted packet for processing {"connection_id":218220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:48:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786477056001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134977000,"timestamp_ms":1792134977000,"timestamp_seconds":1792134977,"priority":1,"record_length":96,"hex_timestamp":"000001a1439195e8"} 
[2026-10-16 12:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 12:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786477056001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786477056001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:48:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:48:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786477056001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":218220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:48:23] local.INFO: GPS data processed {"connection_id":218220,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:48:23] local.INFO: Acknowledgment sent {"connection_id":218220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:48:28] local.INFO: TCP Data received {"connection_id":219949,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:48:28] local.INFO: Processing buffer {"connection_id":219949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:48:28] local.INFO: IMEI packet received {"connection_id":219949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":219949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:48:29] local.INFO: TCP Data received {"connection_id":219949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:48:29] local.INFO: Processing buffer {"connection_id":219949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:48:29] local.INFO: Packet analysis {"connection_id":219949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:48:29] local.INFO: Extracted packet for processing {"connection_id":219949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:48: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-10-16 12:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786441728001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:29] 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-10-16 12:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792134839000,"timestamp_ms":1792134839000,"timestamp_seconds":1792134839,"priority":1,"record_length":96,"hex_timestamp":"000001a1438f7ad8"} 
[2026-10-16 12:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:48: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":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:48:29] 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-10-16 12:48: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-10-16 12:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:48: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-10-16 12:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786441728001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786441728001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:48:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:48:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786441728001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":219949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:48:29] local.INFO: GPS data processed {"connection_id":219949,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:48:29] local.INFO: Acknowledgment sent {"connection_id":219949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:48:47] local.INFO: TCP Data received {"connection_id":216865,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:48:47] local.INFO: Processing buffer {"connection_id":216865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:48:47] local.INFO: Packet analysis {"connection_id":216865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:48:47] local.INFO: Extracted packet for processing {"connection_id":216865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":42,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792135057000,"timestamp_ms":1792135057000,"timestamp_seconds":1792135057,"priority":1,"record_length":96,"hex_timestamp":"000001a14392ce68"} 
[2026-10-16 12:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:48:47] 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-10-16 12:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-16 12:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1985,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786497536001,"66":4307,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:48:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786497536001,"power":4307,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":216865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:48:47] local.INFO: GPS data processed {"connection_id":216865,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:48:47] local.INFO: Acknowledgment sent {"connection_id":216865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:48:55] local.INFO: TCP Data received {"connection_id":218220,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:48:55] local.INFO: Processing buffer {"connection_id":218220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:48:55] local.INFO: Packet analysis {"connection_id":218220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:48:55] local.INFO: Extracted packet for processing {"connection_id":218220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786477056001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792134977000,"timestamp_ms":1792134977000,"timestamp_seconds":1792134977,"priority":1,"record_length":96,"hex_timestamp":"000001a1439195e8"} 
[2026-10-16 12:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 12:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786477056001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786477056001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:48:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:48:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786477056001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":218220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:48:55] local.INFO: GPS data processed {"connection_id":218220,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:48:55] local.INFO: Acknowledgment sent {"connection_id":218220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:49:01] local.INFO: TCP Data received {"connection_id":219949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:49:01] local.INFO: Processing buffer {"connection_id":219949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1438f7ad8012d7d3fc005ec0ec00000013920..."} 
[2026-10-16 12:49:01] local.INFO: Packet analysis {"connection_id":219949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:49:01] local.INFO: Extracted packet for processing {"connection_id":219949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1438f"} 
[2026-10-16 12:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":32,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786441728001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:01] 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-10-16 12:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792134839000,"timestamp_ms":1792134839000,"timestamp_seconds":1792134839,"priority":1,"record_length":96,"hex_timestamp":"000001a1438f7ad8"} 
[2026-10-16 12:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:49:01] 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-10-16 12:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":219949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":219949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":219949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:49: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-10-16 12:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786441728001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786441728001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:49:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:49:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786441728001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":219949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:49:01] local.INFO: GPS data processed {"connection_id":219949,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:49:01] local.INFO: Acknowledgment sent {"connection_id":219949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:49:07] local.INFO: TCP Data received {"connection_id":216867,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:49:07] local.INFO: Processing buffer {"connection_id":216867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:49:07] local.INFO: IMEI packet received {"connection_id":216867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":216867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:49:12] local.INFO: TCP Data received {"connection_id":216867,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:49:12] local.INFO: Processing buffer {"connection_id":216867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:49:12] local.INFO: IMEI packet received {"connection_id":216867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":216867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:49:15] local.INFO: TCP Data received {"connection_id":216867,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:49:15] local.INFO: Processing buffer {"connection_id":216867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:49:15] local.INFO: Packet analysis {"connection_id":216867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:49:15] local.INFO: Extracted packet for processing {"connection_id":216867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":42,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792135057000,"timestamp_ms":1792135057000,"timestamp_seconds":1792135057,"priority":1,"record_length":96,"hex_timestamp":"000001a14392ce68"} 
[2026-10-16 12:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:49:15] 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-10-16 12: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":10,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-16 12:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1985,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786497536001,"66":4307,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:49:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786497536001,"power":4307,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":216867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:49:15] local.INFO: GPS data processed {"connection_id":216867,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:49:15] local.INFO: Acknowledgment sent {"connection_id":216867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:49:16] local.INFO: TCP Data received {"connection_id":219951,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:49:16] local.INFO: Processing buffer {"connection_id":219951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:49:16] local.INFO: IMEI packet received {"connection_id":219951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":219951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:49:22] local.INFO: TCP Data received {"connection_id":219951,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:49:22] local.INFO: Processing buffer {"connection_id":219951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:49:22] local.INFO: IMEI packet received {"connection_id":219951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":219951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:49:23] local.INFO: TCP Data received {"connection_id":219951,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:49:23] local.INFO: Processing buffer {"connection_id":219951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:49:23] local.INFO: Packet analysis {"connection_id":219951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:49:23] local.INFO: Extracted packet for processing {"connection_id":219951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786477056001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134977000,"timestamp_ms":1792134977000,"timestamp_seconds":1792134977,"priority":1,"record_length":96,"hex_timestamp":"000001a1439195e8"} 
[2026-10-16 12:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 12:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786477056001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786477056001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:49:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:49:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786477056001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":219951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:49:23] local.INFO: GPS data processed {"connection_id":219951,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:49:23] local.INFO: Acknowledgment sent {"connection_id":219951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:49:25] local.INFO: TCP Data received {"connection_id":219952,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:49:25] local.INFO: Processing buffer {"connection_id":219952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:49:25] local.INFO: IMEI packet received {"connection_id":219952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":219952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:49:31] local.INFO: TCP Data received {"connection_id":219952,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:49:31] local.INFO: Processing buffer {"connection_id":219952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:49:31] local.INFO: IMEI packet received {"connection_id":219952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":219952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:49:33] local.INFO: TCP Data received {"connection_id":219952,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:49:33] local.INFO: Processing buffer {"connection_id":219952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:49:33] local.INFO: Packet analysis {"connection_id":219952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14394"} 
[2026-10-16 12:49:33] local.INFO: Extracted packet for processing {"connection_id":219952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14394"} 
[2026-10-16 12:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786518784001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:33] 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-10-16 12:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792135140000,"timestamp_ms":1792135140000,"timestamp_seconds":1792135140,"priority":1,"record_length":96,"hex_timestamp":"000001a1439412a0"} 
[2026-10-16 12:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 12:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:49:33] 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-10-16 12:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786518784001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786518784001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:49:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:49:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786518784001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":219952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:49:34] local.INFO: GPS data processed {"connection_id":219952,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:49:34] local.INFO: Acknowledgment sent {"connection_id":219952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:49:36] local.INFO: TCP Data received {"connection_id":219952,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:49:36] local.INFO: Processing buffer {"connection_id":219952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:49:36] local.INFO: Packet analysis {"connection_id":219952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14394"} 
[2026-10-16 12:49:36] local.INFO: Extracted packet for processing {"connection_id":219952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14394"} 
[2026-10-16 12:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786518784001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49: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-10-16 12:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792135140000,"timestamp_ms":1792135140000,"timestamp_seconds":1792135140,"priority":1,"record_length":96,"hex_timestamp":"000001a1439412a0"} 
[2026-10-16 12:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 12:49: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-10-16 12:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":219952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":219952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":219952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:49: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-10-16 12:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786518784001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786518784001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:49:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786518784001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":219952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:49:36] local.INFO: GPS data processed {"connection_id":219952,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:49:36] local.INFO: Acknowledgment sent {"connection_id":219952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:49:46] local.INFO: TCP Data received {"connection_id":216867,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:49:46] local.INFO: Processing buffer {"connection_id":216867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:49:46] local.INFO: Packet analysis {"connection_id":216867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:49:46] local.INFO: Extracted packet for processing {"connection_id":216867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":42,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792135057000,"timestamp_ms":1792135057000,"timestamp_seconds":1792135057,"priority":1,"record_length":96,"hex_timestamp":"000001a14392ce68"} 
[2026-10-16 12:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:49:46] 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-10-16 12: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":10,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-16 12:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1985,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786497536001,"66":4307,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:49:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786497536001,"power":4307,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":216867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:49:46] local.INFO: GPS data processed {"connection_id":216867,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:49:46] local.INFO: Acknowledgment sent {"connection_id":216867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:49:54] local.INFO: TCP Data received {"connection_id":219951,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:49:54] local.INFO: Processing buffer {"connection_id":219951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:49:54] local.INFO: Packet analysis {"connection_id":219951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:49:54] local.INFO: Extracted packet for processing {"connection_id":219951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786477056001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792134977000,"timestamp_ms":1792134977000,"timestamp_seconds":1792134977,"priority":1,"record_length":96,"hex_timestamp":"000001a1439195e8"} 
[2026-10-16 12:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 12:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786477056001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786477056001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:49:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:49:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786477056001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":219951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:49:54] local.INFO: GPS data processed {"connection_id":219951,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:49:54] local.INFO: Acknowledgment sent {"connection_id":219951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:50:12] local.INFO: TCP Data received {"connection_id":219953,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:50:12] local.INFO: Processing buffer {"connection_id":219953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:50:12] local.INFO: IMEI packet received {"connection_id":219953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":219953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:50:17] local.INFO: TCP Data received {"connection_id":219953,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:50:17] local.INFO: Processing buffer {"connection_id":219953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:50:17] local.INFO: IMEI packet received {"connection_id":219953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":219953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:50:17] local.INFO: TCP Data received {"connection_id":219953,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:50:17] local.INFO: Processing buffer {"connection_id":219953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:50:17] local.INFO: Packet analysis {"connection_id":219953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:50:17] local.INFO: Extracted packet for processing {"connection_id":219953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":42,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12:50: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-10-16 12:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792135057000,"timestamp_ms":1792135057000,"timestamp_seconds":1792135057,"priority":1,"record_length":96,"hex_timestamp":"000001a14392ce68"} 
[2026-10-16 12:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:50:17] 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-10-16 12:50: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":10,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-16 12:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1985,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:50: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-10-16 12:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":219953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":219953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":219953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786497536001,"66":4307,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:50:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:50:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786497536001,"power":4307,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":219953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:50:17] local.INFO: GPS data processed {"connection_id":219953,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:50:17] local.INFO: Acknowledgment sent {"connection_id":219953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:50:22] local.INFO: TCP Data received {"connection_id":219954,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:50:22] local.INFO: Processing buffer {"connection_id":219954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:50:22] local.INFO: IMEI packet received {"connection_id":219954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":219954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:50:22] local.INFO: TCP Data received {"connection_id":219953,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:50:22] local.INFO: Processing buffer {"connection_id":219953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14392ce68012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:50:22] local.INFO: Packet analysis {"connection_id":219953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:50:22] local.INFO: Extracted packet for processing {"connection_id":219953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14392"} 
[2026-10-16 12:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":42,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786497536001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792135057000,"timestamp_ms":1792135057000,"timestamp_seconds":1792135057,"priority":1,"record_length":96,"hex_timestamp":"000001a14392ce68"} 
[2026-10-16 12:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:50:22] 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-10-16 12:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-10-16 12:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1985,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786497536001,"66":4307,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786497536001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:50:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786497536001,"power":4307,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":219953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:50:23] local.INFO: GPS data processed {"connection_id":219953,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:50:23] local.INFO: Acknowledgment sent {"connection_id":219953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:50:27] local.INFO: TCP Data received {"connection_id":216669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:27] local.INFO: Processing buffer {"connection_id":216669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:27] local.INFO: IMEI packet received {"connection_id":216669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":216669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:50:28] local.INFO: TCP Data received {"connection_id":216669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:28] local.INFO: Processing buffer {"connection_id":216669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:28] local.INFO: IMEI packet received {"connection_id":216669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":216669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:50:31] local.INFO: TCP Data received {"connection_id":216669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:31] local.INFO: Processing buffer {"connection_id":216669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:31] local.INFO: IMEI packet received {"connection_id":216669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":216669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:50:31] local.INFO: TCP Data received {"connection_id":219954,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:50:31] local.INFO: Processing buffer {"connection_id":219954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:50:31] local.INFO: IMEI packet received {"connection_id":219954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":219954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:50:32] local.INFO: TCP Data received {"connection_id":219954,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:50:32] local.INFO: Processing buffer {"connection_id":219954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:50:32] local.INFO: Packet analysis {"connection_id":219954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:50:32] local.INFO: Extracted packet for processing {"connection_id":219954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786477056001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792134977000,"timestamp_ms":1792134977000,"timestamp_seconds":1792134977,"priority":1,"record_length":96,"hex_timestamp":"000001a1439195e8"} 
[2026-10-16 12:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 12:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786477056001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786477056001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:50:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786477056001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":219954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:50:32] local.INFO: GPS data processed {"connection_id":219954,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:50:32] local.INFO: Acknowledgment sent {"connection_id":219954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:50:33] local.INFO: TCP Data received {"connection_id":219954,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:50:33] local.INFO: Processing buffer {"connection_id":219954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:50:33] local.INFO: Packet analysis {"connection_id":219954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:50:33] local.INFO: Extracted packet for processing {"connection_id":219954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786477056001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792134977000,"timestamp_ms":1792134977000,"timestamp_seconds":1792134977,"priority":1,"record_length":96,"hex_timestamp":"000001a1439195e8"} 
[2026-10-16 12:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 12:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":219954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":219954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":219954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786477056001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786477056001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:50:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:50:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786477056001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":219954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:50:33] local.INFO: GPS data processed {"connection_id":219954,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:50:33] local.INFO: Acknowledgment sent {"connection_id":219954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:50:36] local.INFO: TCP Data received {"connection_id":216669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:36] local.INFO: Processing buffer {"connection_id":216669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:50:36] local.INFO: IMEI packet received {"connection_id":216669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-10-16 12:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":216669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:50:36] local.INFO: TCP Data received {"connection_id":216669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:50:36] local.INFO: Processing buffer {"connection_id":216669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:50:36] local.INFO: Packet analysis {"connection_id":216669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14394"} 
[2026-10-16 12:50:36] local.INFO: Extracted packet for processing {"connection_id":216669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14394"} 
[2026-10-16 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786518784001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792135140000,"timestamp_ms":1792135140000,"timestamp_seconds":1792135140,"priority":1,"record_length":96,"hex_timestamp":"000001a1439412a0"} 
[2026-10-16 12:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 12:50: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-10-16 12: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-10-16 12:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":216669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":216669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":216669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:50: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-10-16 12:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786518784001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786518784001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:50:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:50:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786518784001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":216669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:50:36] local.INFO: GPS data processed {"connection_id":216669,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:50:36] local.INFO: Acknowledgment sent {"connection_id":216669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:50:51] local.INFO: TCP Data received {"connection_id":216669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:50:51] local.INFO: Processing buffer {"connection_id":216669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439412a0012d7d3fc005ec0ec0000001391f..."} 
[2026-10-16 12:50:51] local.INFO: Packet analysis {"connection_id":216669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14394"} 
[2026-10-16 12:50:51] local.INFO: Extracted packet for processing {"connection_id":216669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14394"} 
[2026-10-16 12:50:51] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99356352,"longitude_deg":76.318304,"latitude_deg":9.9356352,"altitude":0,"angle":313,"satellites":31,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05ec0ec0","is_valid_coordinates":true} 
[2026-10-16 12:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786518784001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":145504081715134464,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309941522432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:50:51] 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-10-16 12:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792135140000,"timestamp_ms":1792135140000,"timestamp_seconds":1792135140,"priority":1,"record_length":96,"hex_timestamp":"000001a1439412a0"} 
[2026-10-16 12:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:50: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-10-16 12:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-10-16 12:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":216669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":216669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":216669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-10-16 12:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-10-16 12:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-10-16 12:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786518784001,"66":12613,"109":206,"87":13824,"24":0,"16":145504081715134464,"45":9025143309941522432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-10-16 12:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-10-16 12:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-10-16 12:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786518784001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:50:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-10-16 12:50:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-10-16 12:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":145504081715134464,"km_value":145504081715134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309941522432,"description":"Unknown IO ID 45"} 
[2026-10-16 12:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786518784001,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9025143309941522432}} 
[2026-10-16 12:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":216669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:50:51] local.INFO: GPS data processed {"connection_id":216669,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:50:51] local.INFO: Acknowledgment sent {"connection_id":216669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:51:03] local.INFO: TCP Data received {"connection_id":216868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:51:03] local.INFO: Processing buffer {"connection_id":216868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:51:03] local.INFO: IMEI packet received {"connection_id":216868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":216868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:51:07] local.INFO: TCP Data received {"connection_id":216868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:51:07] local.INFO: Processing buffer {"connection_id":216868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:51:07] local.INFO: IMEI packet received {"connection_id":216868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":216868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:51:08] local.INFO: TCP Data received {"connection_id":216868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:51:08] local.INFO: Processing buffer {"connection_id":216868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:51:08] local.INFO: IMEI packet received {"connection_id":216868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":216868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:51:08] local.INFO: TCP Data received {"connection_id":216868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1439556d8012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439556d8012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:51:08] local.INFO: Processing buffer {"connection_id":216868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439556d8012d1a40c0071f4b28004b010f2a..."} 
[2026-10-16 12:51:08] local.INFO: Packet analysis {"connection_id":216868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14395"} 
[2026-10-16 12:51:08] local.INFO: Extracted packet for processing {"connection_id":216868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14395"} 
[2026-10-16 12:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119491368,"longitude_deg":75.6695232,"latitude_deg":11.9491368,"altitude":75,"angle":271,"satellites":42,"speed":0,"hex_longitude":"2d1a40c0","hex_latitude":"071f4b28","is_valid_coordinates":true} 
[2026-10-16 12:51:08] 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-10-16 12:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786574592001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28163968870645760,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980317931520,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792135223000,"timestamp_ms":1792135223000,"timestamp_seconds":1792135223,"priority":1,"record_length":96,"hex_timestamp":"000001a1439556d8"} 
[2026-10-16 12:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":16,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-10-16 12:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2177,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786574592001,"66":3601,"101":206,"83":41984,"24":0,"16":28163968870645760,"45":1891722980317931520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786574592001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:51:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:51:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28163968870645760,"km_value":28163968870645.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980317931520,"description":"Unknown IO ID 45"} 
[2026-10-16 12:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786574592001,"power":3601,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891722980317931520}} 
[2026-10-16 12:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":216868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:51:09] local.INFO: GPS data processed {"connection_id":216868,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:51:09] local.INFO: Acknowledgment sent {"connection_id":216868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:51:16] local.INFO: TCP Data received {"connection_id":218221,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:51:16] local.INFO: Processing buffer {"connection_id":218221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:51:16] local.INFO: IMEI packet received {"connection_id":218221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":218221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:51:21] local.INFO: TCP Data received {"connection_id":218222,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:51:21] local.INFO: Processing buffer {"connection_id":218222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-10-16 12:51:21] local.INFO: IMEI packet received {"connection_id":218222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-10-16 12:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":218222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:51:22] local.INFO: TCP Data received {"connection_id":218221,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:51:22] local.INFO: Processing buffer {"connection_id":218221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:51:22] local.INFO: IMEI packet received {"connection_id":218221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":218221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:51:23] local.INFO: TCP Data received {"connection_id":218221,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:51:23] local.INFO: Processing buffer {"connection_id":218221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:51:23] local.INFO: Packet analysis {"connection_id":218221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:51:23] local.INFO: Extracted packet for processing {"connection_id":218221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:51: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-10-16 12:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786477056001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792134977000,"timestamp_ms":1792134977000,"timestamp_seconds":1792134977,"priority":1,"record_length":96,"hex_timestamp":"000001a1439195e8"} 
[2026-10-16 12:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:51: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 12:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:51: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-10-16 12:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786477056001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786477056001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:51:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:51:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786477056001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":218221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:51:23] local.INFO: GPS data processed {"connection_id":218221,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:51:23] local.INFO: Acknowledgment sent {"connection_id":218221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:51:39] local.INFO: TCP Data received {"connection_id":216868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143959d28012d1a33c0071f66b0003e00d329..."} 
[2026-10-16 12:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143959d28012d1a33c0071f66b0003e00d329..."} 
[2026-10-16 12:51:39] local.INFO: Processing buffer {"connection_id":216868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143959d28012d1a33c0071f66b0003e00d329..."} 
[2026-10-16 12:51:39] local.INFO: Packet analysis {"connection_id":216868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14395"} 
[2026-10-16 12:51:39] local.INFO: Extracted packet for processing {"connection_id":216868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14395"} 
[2026-10-16 12:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756691904,"raw_latitude":119498416,"longitude_deg":75.6691904,"latitude_deg":11.9498416,"altitude":62,"angle":211,"satellites":41,"speed":5,"hex_longitude":"2d1a33c0","hex_latitude":"071f66b0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786621184001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28164067654893568,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888204543110909952,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792135241000,"timestamp_ms":1792135241000,"timestamp_seconds":1792135241,"priority":1,"record_length":96,"hex_timestamp":"000001a143959d28"} 
[2026-10-16 12:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 12:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786621184001,"66":12972,"101":206,"83":41984,"24":5,"16":28164067654893568,"45":1888204543110909952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786621184001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:51:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:51:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28164067654893568,"km_value":28164067654893.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888204543110909952,"description":"Unknown IO ID 45"} 
[2026-10-16 12:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786621184001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1888204543110909952}} 
[2026-10-16 12:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":216868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:51:40] local.INFO: GPS data processed {"connection_id":216868,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:51:40] local.INFO: Acknowledgment sent {"connection_id":216868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:51:56] local.INFO: TCP Data received {"connection_id":218221,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:51:56] local.INFO: Processing buffer {"connection_id":218221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439195e8012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:51:56] local.INFO: Packet analysis {"connection_id":218221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:51:56] local.INFO: Extracted packet for processing {"connection_id":218221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14391"} 
[2026-10-16 12:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786477056001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792134977000,"timestamp_ms":1792134977000,"timestamp_seconds":1792134977,"priority":1,"record_length":96,"hex_timestamp":"000001a1439195e8"} 
[2026-10-16 12:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 12:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786477056001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786477056001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:51:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:51:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786477056001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":218221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:51:56] local.INFO: GPS data processed {"connection_id":218221,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:51:56] local.INFO: Acknowledgment sent {"connection_id":218221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:52:06] local.INFO: TCP Data received {"connection_id":218223,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:52:06] local.INFO: Processing buffer {"connection_id":218223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:52:06] local.INFO: IMEI packet received {"connection_id":218223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":218223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:52:07] local.INFO: TCP Data received {"connection_id":218223,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:52:07] local.INFO: Processing buffer {"connection_id":218223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:52:07] local.INFO: IMEI packet received {"connection_id":218223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":218223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:52:12] local.INFO: TCP Data received {"connection_id":218223,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:52:12] local.INFO: Processing buffer {"connection_id":218223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:52:12] local.INFO: IMEI packet received {"connection_id":218223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":218223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:52:13] local.INFO: TCP Data received {"connection_id":218223,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143964138012d1a2180071f4a40003f01052b..."} 
[2026-10-16 12:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143964138012d1a2180071f4a40003f01052b..."} 
[2026-10-16 12:52:13] local.INFO: Processing buffer {"connection_id":218223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143964138012d1a2180071f4a40003f01052b..."} 
[2026-10-16 12:52:13] local.INFO: Packet analysis {"connection_id":218223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:52:13] local.INFO: Extracted packet for processing {"connection_id":218223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756687232,"raw_latitude":119491136,"longitude_deg":75.6687232,"latitude_deg":11.9491136,"altitude":63,"angle":261,"satellites":43,"speed":16,"hex_longitude":"2d1a2180","hex_latitude":"071f4a40","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631936001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28164527216394240,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883700943481681920,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792135283000,"timestamp_ms":1792135283000,"timestamp_seconds":1792135283,"priority":1,"record_length":96,"hex_timestamp":"000001a143964138"} 
[2026-10-16 12:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 12:52: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-10-16 12: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-10-16 12:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631936001,"66":14048,"101":206,"83":41984,"24":16,"16":28164527216394240,"45":1883700943481681920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631936001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:52:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:52:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28164527216394240,"km_value":28164527216394.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883700943481681920,"description":"Unknown IO ID 45"} 
[2026-10-16 12:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631936001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1883700943481681920}} 
[2026-10-16 12:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":218223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:52:13] local.INFO: GPS data processed {"connection_id":218223,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:52:13] local.INFO: Acknowledgment sent {"connection_id":218223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:52:21] local.INFO: TCP Data received {"connection_id":218224,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:52:21] local.INFO: Processing buffer {"connection_id":218224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:52:21] local.INFO: IMEI packet received {"connection_id":218224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":218224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:52:26] local.INFO: TCP Data received {"connection_id":218224,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:52:26] local.INFO: Processing buffer {"connection_id":218224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:52:26] local.INFO: IMEI packet received {"connection_id":218224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":218224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:52:27] local.INFO: TCP Data received {"connection_id":218224,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:52:27] local.INFO: Processing buffer {"connection_id":218224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:52:27] local.INFO: Packet analysis {"connection_id":218224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:52:27] local.INFO: Extracted packet for processing {"connection_id":218224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:52:27] 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-10-16 12:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:52:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:52:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":218224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:52:27] local.INFO: GPS data processed {"connection_id":218224,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:52:27] local.INFO: Acknowledgment sent {"connection_id":218224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:52:32] local.INFO: TCP Data received {"connection_id":218224,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:52:32] local.INFO: Processing buffer {"connection_id":218224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:52:32] local.INFO: Packet analysis {"connection_id":218224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:52:32] local.INFO: Extracted packet for processing {"connection_id":218224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:52:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:52:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":218224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:52:32] local.INFO: GPS data processed {"connection_id":218224,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:52:32] local.INFO: Acknowledgment sent {"connection_id":218224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:52:44] local.INFO: TCP Data received {"connection_id":218223,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14396dd78012d19fa80071f75e0004101342a..."} 
[2026-10-16 12:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14396dd78012d19fa80071f75e0004101342a..."} 
[2026-10-16 12:52:44] local.INFO: Processing buffer {"connection_id":218223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14396dd78012d19fa80071f75e0004101342a..."} 
[2026-10-16 12:52:44] local.INFO: Packet analysis {"connection_id":218223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:52:44] local.INFO: Extracted packet for processing {"connection_id":218223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756677248,"raw_latitude":119502304,"longitude_deg":75.6677248,"latitude_deg":11.9502304,"altitude":65,"angle":308,"satellites":42,"speed":11,"hex_longitude":"2d19fa80","hex_latitude":"071f75e0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786642432001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28165304605474816,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872230838183475200,"note":"Value kept but may cause issues"} 
[2026-10-16 12:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792135323000,"timestamp_ms":1792135323000,"timestamp_seconds":1792135323,"priority":1,"record_length":96,"hex_timestamp":"000001a14396dd78"} 
[2026-10-16 12:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:52:44] 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-10-16 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 12:52:44] 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-10-16 12: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-10-16 12:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786642432001,"66":14233,"101":206,"83":41984,"24":11,"16":28165304605474816,"45":1872230838183475200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786642432001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:52:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28165304605474816,"km_value":28165304605474.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872230838183475200,"description":"Unknown IO ID 45"} 
[2026-10-16 12:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786642432001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1872230838183475200}} 
[2026-10-16 12:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":218223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:52:44] local.INFO: GPS data processed {"connection_id":218223,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:52:44] local.INFO: Acknowledgment sent {"connection_id":218223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:53:07] local.INFO: TCP Data received {"connection_id":216671,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:53:07] local.INFO: Processing buffer {"connection_id":216671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:53:07] local.INFO: IMEI packet received {"connection_id":216671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":216671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:53:10] local.INFO: TCP Data received {"connection_id":216671,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:53:10] local.INFO: Processing buffer {"connection_id":216671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:53:10] local.INFO: IMEI packet received {"connection_id":216671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":216671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:53:11] local.INFO: TCP Data received {"connection_id":218225,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:11] local.INFO: Processing buffer {"connection_id":218225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:11] local.INFO: IMEI packet received {"connection_id":218225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":218225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:53:12] local.INFO: TCP Data received {"connection_id":216671,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:53:12] local.INFO: Processing buffer {"connection_id":216671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:53:12] local.INFO: IMEI packet received {"connection_id":216671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":216671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:53:13] local.INFO: TCP Data received {"connection_id":216671,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14396e160012d19fa00071f76d8004101462a..."} 
[2026-10-16 12:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14396e160012d19fa00071f76d8004101462a..."} 
[2026-10-16 12:53:13] local.INFO: Processing buffer {"connection_id":216671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14396e160012d19fa00071f76d8004101462a..."} 
[2026-10-16 12:53:13] local.INFO: Packet analysis {"connection_id":216671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:53:13] local.INFO: Extracted packet for processing {"connection_id":216671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756677120,"raw_latitude":119502552,"longitude_deg":75.667712,"latitude_deg":11.9502552,"altitude":65,"angle":326,"satellites":42,"speed":10,"hex_longitude":"2d19fa00","hex_latitude":"071f76d8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786642688001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28165317490376704,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871949363206807552,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792135324000,"timestamp_ms":1792135324000,"timestamp_seconds":1792135324,"priority":1,"record_length":96,"hex_timestamp":"000001a14396e160"} 
[2026-10-16 12:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:53:13] 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-10-16 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 12:53:13] 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-10-16 12: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-10-16 12:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":216671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":216671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":216671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786642688001,"66":14102,"101":206,"83":41984,"24":10,"16":28165317490376704,"45":1871949363206807552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786642688001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:53:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28165317490376704,"km_value":28165317490376.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871949363206807552,"description":"Unknown IO ID 45"} 
[2026-10-16 12:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786642688001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1871949363206807552}} 
[2026-10-16 12:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":216671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:53:13] local.INFO: GPS data processed {"connection_id":216671,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:53:13] local.INFO: Acknowledgment sent {"connection_id":216671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:53:17] local.INFO: TCP Data received {"connection_id":218226,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:53:17] local.INFO: Processing buffer {"connection_id":218226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:53:17] local.INFO: IMEI packet received {"connection_id":218226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":218226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:53:22] local.INFO: TCP Data received {"connection_id":218226,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:53:22] local.INFO: Processing buffer {"connection_id":218226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:53:22] local.INFO: IMEI packet received {"connection_id":218226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":218226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:53:25] local.INFO: TCP Data received {"connection_id":218226,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:53:25] local.INFO: Processing buffer {"connection_id":218226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:53:25] local.INFO: Packet analysis {"connection_id":218226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:53:25] local.INFO: Extracted packet for processing {"connection_id":218226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:53:25] 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-10-16 12:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":218226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":218226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":218226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:53:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:53:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":218226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:53:25] local.INFO: GPS data processed {"connection_id":218226,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:53:25] local.INFO: Acknowledgment sent {"connection_id":218226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:53:26] local.INFO: TCP Data received {"connection_id":218226,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:53:26] local.INFO: Processing buffer {"connection_id":218226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:53:26] local.INFO: Packet analysis {"connection_id":218226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:53:26] local.INFO: Extracted packet for processing {"connection_id":218226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:53:26] 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-10-16 12:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:53:26] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:53:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":218226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:53:26] local.INFO: GPS data processed {"connection_id":218226,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:53:26] local.INFO: Acknowledgment sent {"connection_id":218226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:53:44] local.INFO: TCP Data received {"connection_id":216671,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14396e548012d19f980071f78180041015e2b..."} 
[2026-10-16 12:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14396e548012d19f980071f78180041015e2b..."} 
[2026-10-16 12:53:44] local.INFO: Processing buffer {"connection_id":216671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14396e548012d19f980071f78180041015e2b..."} 
[2026-10-16 12:53:44] local.INFO: Packet analysis {"connection_id":216671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:53:44] local.INFO: Extracted packet for processing {"connection_id":216671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756676992,"raw_latitude":119502872,"longitude_deg":75.6676992,"latitude_deg":11.9502872,"altitude":65,"angle":350,"satellites":43,"speed":11,"hex_longitude":"2d19f980","hex_latitude":"071f7818","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786642944001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28165334670245888,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871808625718515712,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792135325000,"timestamp_ms":1792135325000,"timestamp_seconds":1792135325,"priority":1,"record_length":96,"hex_timestamp":"000001a14396e548"} 
[2026-10-16 12:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 12:53:44] 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-10-16 12: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-10-16 12:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786642944001,"66":14102,"101":206,"83":41984,"24":11,"16":28165334670245888,"45":1871808625718515712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786642944001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:53:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28165334670245888,"km_value":28165334670245.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871808625718515712,"description":"Unknown IO ID 45"} 
[2026-10-16 12:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786642944001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1871808625718515712}} 
[2026-10-16 12:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":216671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:53:44] local.INFO: GPS data processed {"connection_id":216671,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:53:44] local.INFO: Acknowledgment sent {"connection_id":216671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:53:51] local.INFO: TCP Data received {"connection_id":216870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:51] local.INFO: Processing buffer {"connection_id":216870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:51] local.INFO: IMEI packet received {"connection_id":216870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":216870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:53:55] local.INFO: TCP Data received {"connection_id":216870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:55] local.INFO: Processing buffer {"connection_id":216870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:55] local.INFO: IMEI packet received {"connection_id":216870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 12:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":216870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:53:57] local.INFO: TCP Data received {"connection_id":216870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:57] local.INFO: Processing buffer {"connection_id":216870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:53:57] local.INFO: IMEI packet received {"connection_id":216870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 12:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":216870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:53:59] local.INFO: TCP Data received {"connection_id":218226,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:53:59] local.INFO: Processing buffer {"connection_id":218226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:53:59] local.INFO: Packet analysis {"connection_id":218226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:53:59] local.INFO: Extracted packet for processing {"connection_id":218226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:53:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:53:59] 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-10-16 12:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:53:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:53:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":218226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:53:59] local.INFO: GPS data processed {"connection_id":218226,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:53:59] local.INFO: Acknowledgment sent {"connection_id":218226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:54:07] local.INFO: TCP Data received {"connection_id":218227,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:07] local.INFO: Processing buffer {"connection_id":218227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:07] local.INFO: IMEI packet received {"connection_id":218227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":218227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:54:09] local.INFO: TCP Data received {"connection_id":218227,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:09] local.INFO: Processing buffer {"connection_id":218227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:09] local.INFO: IMEI packet received {"connection_id":218227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":218227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:54:10] local.INFO: TCP Data received {"connection_id":218227,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:10] local.INFO: Processing buffer {"connection_id":218227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:10] local.INFO: IMEI packet received {"connection_id":218227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":218227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:54:11] local.INFO: TCP Data received {"connection_id":218227,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:11] local.INFO: Processing buffer {"connection_id":218227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:54:11] local.INFO: IMEI packet received {"connection_id":218227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":218227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:54:11] local.INFO: TCP Data received {"connection_id":218227,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14397f6b8012d19c000071fae780039010d29..."} 
[2026-10-16 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14397f6b8012d19c000071fae780039010d29..."} 
[2026-10-16 12:54:11] local.INFO: Processing buffer {"connection_id":218227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14397f6b8012d19c000071fae780039010d29..."} 
[2026-10-16 12:54:11] local.INFO: Packet analysis {"connection_id":218227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14397"} 
[2026-10-16 12:54:11] local.INFO: Extracted packet for processing {"connection_id":218227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14397"} 
[2026-10-16 12:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756662272,"raw_latitude":119516792,"longitude_deg":75.6662272,"latitude_deg":11.9516792,"altitude":57,"angle":269,"satellites":41,"speed":24,"hex_longitude":"2d19c000","hex_latitude":"071fae78","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786659328001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28166949577949184,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860338520421447680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792135395000,"timestamp_ms":1792135395000,"timestamp_seconds":1792135395,"priority":1,"record_length":96,"hex_timestamp":"000001a14397f6b8"} 
[2026-10-16 12:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:54: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-10-16 12:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 12:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":218227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":218227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":218227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786659328001,"66":14396,"101":206,"83":41984,"24":24,"16":28166949577949184,"45":1860338520421447680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786659328001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:54:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28166949577949184,"km_value":28166949577949.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860338520421447680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786659328001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1860338520421447680}} 
[2026-10-16 12:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":218227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:54:12] local.INFO: GPS data processed {"connection_id":218227,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:54:12] local.INFO: Acknowledgment sent {"connection_id":218227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:54:16] local.INFO: TCP Data received {"connection_id":216871,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:54:16] local.INFO: Processing buffer {"connection_id":216871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:54:16] local.INFO: IMEI packet received {"connection_id":216871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":216871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:54:22] local.INFO: TCP Data received {"connection_id":216871,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:54:22] local.INFO: Processing buffer {"connection_id":216871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:54:22] local.INFO: IMEI packet received {"connection_id":216871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":216871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:54:24] local.INFO: TCP Data received {"connection_id":216871,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:54:24] local.INFO: Processing buffer {"connection_id":216871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:54:24] local.INFO: Packet analysis {"connection_id":216871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:54:24] local.INFO: Extracted packet for processing {"connection_id":216871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:54: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:54:24] 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-10-16 12:54: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-10-16 12:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:54:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:54:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":216871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:54:24] local.INFO: GPS data processed {"connection_id":216871,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:54:24] local.INFO: Acknowledgment sent {"connection_id":216871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:54:43] local.INFO: TCP Data received {"connection_id":218227,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14398ae50012d19a1c0071fed580036014f2b..."} 
[2026-10-16 12:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14398ae50012d19a1c0071fed580036014f2b..."} 
[2026-10-16 12:54:43] local.INFO: Processing buffer {"connection_id":218227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14398ae50012d19a1c0071fed580036014f2b..."} 
[2026-10-16 12:54:43] local.INFO: Packet analysis {"connection_id":218227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:54:43] local.INFO: Extracted packet for processing {"connection_id":218227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:54:43] local.INFO: GPS Element Parsed {"raw_longitude":756654528,"raw_latitude":119532888,"longitude_deg":75.6654528,"latitude_deg":11.9532888,"altitude":54,"angle":335,"satellites":43,"speed":7,"hex_longitude":"2d19a1c0","hex_latitude":"071fed58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786672896001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28167988960034816,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846968459031521280,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792135442000,"timestamp_ms":1792135442000,"timestamp_seconds":1792135442,"priority":1,"record_length":96,"hex_timestamp":"000001a14398ae50"} 
[2026-10-16 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-10-16 12:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-10-16 12:54:43] 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-10-16 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-10-16 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-10-16 12:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":218227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":218227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":218227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786672896001,"66":14048,"101":206,"83":41984,"24":7,"16":28167988960034816,"45":1846968459031521280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786672896001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:54:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:54:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28167988960034816,"km_value":28167988960034.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846968459031521280,"description":"Unknown IO ID 45"} 
[2026-10-16 12:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786672896001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1846968459031521280}} 
[2026-10-16 12:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":218227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:54:43] local.INFO: GPS data processed {"connection_id":218227,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:54:43] local.INFO: Acknowledgment sent {"connection_id":218227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:54:56] local.INFO: TCP Data received {"connection_id":216871,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:54:56] local.INFO: Processing buffer {"connection_id":216871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:54:56] local.INFO: Packet analysis {"connection_id":216871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:54:56] local.INFO: Extracted packet for processing {"connection_id":216871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:54:56] 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-10-16 12:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:54:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:54:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":216871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:54:56] local.INFO: GPS data processed {"connection_id":216871,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:54:56] local.INFO: Acknowledgment sent {"connection_id":216871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:55:01] local.INFO: TCP Data received {"connection_id":219955,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:55:01] local.INFO: Processing buffer {"connection_id":219955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 12:55:01] local.INFO: IMEI packet received {"connection_id":219955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 12:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":219955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:55:07] local.INFO: TCP Data received {"connection_id":219956,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:55:07] local.INFO: Processing buffer {"connection_id":219956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:55:07] local.INFO: IMEI packet received {"connection_id":219956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":219956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:55:07] local.INFO: TCP Data received {"connection_id":219956,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:55:07] local.INFO: Processing buffer {"connection_id":219956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:55:07] local.INFO: IMEI packet received {"connection_id":219956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":219956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:55:12] local.INFO: TCP Data received {"connection_id":219956,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:55:12] local.INFO: Processing buffer {"connection_id":219956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:55:12] local.INFO: IMEI packet received {"connection_id":219956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":219956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:55:13] local.INFO: TCP Data received {"connection_id":219956,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14398b238012d19a100071fede8003701332b..."} 
[2026-10-16 12:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14398b238012d19a100071fede8003701332b..."} 
[2026-10-16 12:55:13] local.INFO: Processing buffer {"connection_id":219956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14398b238012d19a100071fede8003701332b..."} 
[2026-10-16 12:55:13] local.INFO: Packet analysis {"connection_id":219956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:55:13] local.INFO: Extracted packet for processing {"connection_id":219956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756654336,"raw_latitude":119533032,"longitude_deg":75.6654336,"latitude_deg":11.9533032,"altitude":55,"angle":307,"satellites":43,"speed":7,"hex_longitude":"2d19a100","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786673152001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28168001844936704,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846968459031566336,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792135443000,"timestamp_ms":1792135443000,"timestamp_seconds":1792135443,"priority":1,"record_length":96,"hex_timestamp":"000001a14398b238"} 
[2026-10-16 12:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:55: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-10-16 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 12:55: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-10-16 12: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-10-16 12:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":219956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":219956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":219956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786673152001,"66":14048,"101":206,"83":41984,"24":7,"16":28168001844936704,"45":1846968459031566336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786673152001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:55:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28168001844936704,"km_value":28168001844936.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846968459031566336,"description":"Unknown IO ID 45"} 
[2026-10-16 12:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786673152001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1846968459031566336}} 
[2026-10-16 12:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":219956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:55:13] local.INFO: GPS data processed {"connection_id":219956,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:55:13] local.INFO: Acknowledgment sent {"connection_id":219956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:55:16] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:55:16] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:55:16] local.INFO: IMEI packet received {"connection_id":216872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":216872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:55:21] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:55:21] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:55:21] local.INFO: IMEI packet received {"connection_id":216872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":216872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:55:22] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:55:22] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:55:22] local.INFO: Packet analysis {"connection_id":216872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:55:22] local.INFO: Extracted packet for processing {"connection_id":216872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:55:22] 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-10-16 12:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:55:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:55:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":216872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:55:22] local.INFO: GPS data processed {"connection_id":216872,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:55:22] local.INFO: Acknowledgment sent {"connection_id":216872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:55:44] local.INFO: TCP Data received {"connection_id":219956,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14398b620012d19a040071fee380037011f2b..."} 
[2026-10-16 12:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14398b620012d19a040071fee380037011f2b..."} 
[2026-10-16 12:55:44] local.INFO: Processing buffer {"connection_id":219956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14398b620012d19a040071fee380037011f2b..."} 
[2026-10-16 12:55:44] local.INFO: Packet analysis {"connection_id":219956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:55:44] local.INFO: Extracted packet for processing {"connection_id":219956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756654144,"raw_latitude":119533112,"longitude_deg":75.6654144,"latitude_deg":11.9533112,"altitude":55,"angle":287,"satellites":43,"speed":9,"hex_longitude":"2d19a040","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786673408001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28168010434871296,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846757352799070208,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792135444000,"timestamp_ms":1792135444000,"timestamp_seconds":1792135444,"priority":1,"record_length":96,"hex_timestamp":"000001a14398b620"} 
[2026-10-16 12:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:55: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-10-16 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 12:55:44] 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-10-16 12: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-10-16 12:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":219956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":219956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":219956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786673408001,"66":13613,"101":206,"83":41984,"24":9,"16":28168010434871296,"45":1846757352799070208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786673408001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:55:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28168010434871296,"km_value":28168010434871.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846757352799070208,"description":"Unknown IO ID 45"} 
[2026-10-16 12:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786673408001,"power":13613,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1846757352799070208}} 
[2026-10-16 12:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":219956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:55:44] local.INFO: GPS data processed {"connection_id":219956,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:55:44] local.INFO: Acknowledgment sent {"connection_id":219956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:55:53] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:55:53] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:55:53] local.INFO: Packet analysis {"connection_id":216872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:55:53] local.INFO: Extracted packet for processing {"connection_id":216872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:55:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:55:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:55:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":216872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:55:53] local.INFO: GPS data processed {"connection_id":216872,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:55:53] local.INFO: Acknowledgment sent {"connection_id":216872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:56:07] local.INFO: TCP Data received {"connection_id":218230,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:56:07] local.INFO: Processing buffer {"connection_id":218230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:56:07] local.INFO: IMEI packet received {"connection_id":218230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":218230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:56:10] local.INFO: TCP Data received {"connection_id":218230,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:56:10] local.INFO: Processing buffer {"connection_id":218230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:56:10] local.INFO: IMEI packet received {"connection_id":218230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":218230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:56:12] local.INFO: TCP Data received {"connection_id":218230,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:56:12] local.INFO: Processing buffer {"connection_id":218230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:56:12] local.INFO: IMEI packet received {"connection_id":218230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":218230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:56:13] local.INFO: TCP Data received {"connection_id":218230,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14398ba08012d199f40071fee480038010f2b..."} 
[2026-10-16 12:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14398ba08012d199f40071fee480038010f2b..."} 
[2026-10-16 12:56:13] local.INFO: Processing buffer {"connection_id":218230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14398ba08012d199f40071fee480038010f2b..."} 
[2026-10-16 12:56:13] local.INFO: Packet analysis {"connection_id":218230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:56:13] local.INFO: Extracted packet for processing {"connection_id":218230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756653888,"raw_latitude":119533128,"longitude_deg":75.6653888,"latitude_deg":11.9533128,"altitude":56,"angle":271,"satellites":43,"speed":11,"hex_longitude":"2d199f40","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786673664001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28168023319773184,"note":"Value kept but may cause issues"} 
[2026-10-16 12:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846546246566557696,"note":"Value kept but may cause issues"} 
[2026-10-16 12:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792135445000,"timestamp_ms":1792135445000,"timestamp_seconds":1792135445,"priority":1,"record_length":96,"hex_timestamp":"000001a14398ba08"} 
[2026-10-16 12:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:56:13] 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-10-16 12: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-16 12:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786673664001,"66":13613,"101":206,"83":41984,"24":11,"16":28168023319773184,"45":1846546246566557696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-10-16 12:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786673664001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:56:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 12:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28168023319773184,"km_value":28168023319773.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846546246566557696,"description":"Unknown IO ID 45"} 
[2026-10-16 12:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786673664001,"power":13613,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1846546246566557696}} 
[2026-10-16 12:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":218230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:56:13] local.INFO: GPS data processed {"connection_id":218230,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:56:13] local.INFO: Acknowledgment sent {"connection_id":218230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:56:22] local.INFO: TCP Data received {"connection_id":216672,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:56:22] local.INFO: Processing buffer {"connection_id":216672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:56:22] local.INFO: IMEI packet received {"connection_id":216672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":216672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:56:27] local.INFO: TCP Data received {"connection_id":216672,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:56:27] local.INFO: Processing buffer {"connection_id":216672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:56:27] local.INFO: IMEI packet received {"connection_id":216672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":216672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:56:27] local.INFO: TCP Data received {"connection_id":216672,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:56:27] local.INFO: Processing buffer {"connection_id":216672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:56:27] local.INFO: Packet analysis {"connection_id":216672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:56:27] local.INFO: Extracted packet for processing {"connection_id":216672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:56:27] 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-10-16 12:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:56:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:56:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":216672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:56:27] local.INFO: GPS data processed {"connection_id":216672,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:56:27] local.INFO: Acknowledgment sent {"connection_id":216672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:56:32] local.INFO: TCP Data received {"connection_id":216672,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:56:32] local.INFO: Processing buffer {"connection_id":216672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143962db0012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:56:32] local.INFO: Packet analysis {"connection_id":216672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:56:32] local.INFO: Extracted packet for processing {"connection_id":216672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14396"} 
[2026-10-16 12:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786554112001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792135278000,"timestamp_ms":1792135278000,"timestamp_seconds":1792135278,"priority":1,"record_length":96,"hex_timestamp":"000001a143962db0"} 
[2026-10-16 12:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 12:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786554112001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786554112001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:56:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:56:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786554112001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":216672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:56:32] local.INFO: GPS data processed {"connection_id":216672,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:56:32] local.INFO: Acknowledgment sent {"connection_id":216672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:57:01] local.INFO: TCP Data received {"connection_id":218230,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14398f0b8012d1985c0071fef98003a01002c..."} 
[2026-10-16 12:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14398f0b8012d1985c0071fef98003a01002c..."} 
[2026-10-16 12:57:01] local.INFO: Processing buffer {"connection_id":218230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14398f0b8012d1985c0071fef98003a01002c..."} 
[2026-10-16 12:57:01] local.INFO: Packet analysis {"connection_id":218230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:57:01] local.INFO: Extracted packet for processing {"connection_id":218230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:57:01] local.INFO: GPS Element Parsed {"raw_longitude":756647360,"raw_latitude":119533464,"longitude_deg":75.664736,"latitude_deg":11.9533464,"altitude":58,"angle":256,"satellites":44,"speed":21,"hex_longitude":"2d1985c0","hex_latitude":"071fef98","is_valid_coordinates":true} 
[2026-10-16 12:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786673920001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28168336852385792,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846264771589851136,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792135459000,"timestamp_ms":1792135459000,"timestamp_seconds":1792135459,"priority":1,"record_length":96,"hex_timestamp":"000001a14398f0b8"} 
[2026-10-16 12:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-16 12:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":218230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":218230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":218230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786673920001,"66":13330,"102":206,"83":41984,"24":21,"16":28168336852385792,"45":1846264771589851136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 12:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786673920001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:57:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 12:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28168336852385792,"km_value":28168336852385.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846264771589851136,"description":"Unknown IO ID 45"} 
[2026-10-16 12:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786673920001,"power":13330,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1846264771589851136}} 
[2026-10-16 12:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":218230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:57:02] local.INFO: GPS data processed {"connection_id":218230,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:57:02] local.INFO: Acknowledgment sent {"connection_id":218230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:57:12] local.INFO: TCP Data received {"connection_id":216873,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:57:12] local.INFO: Processing buffer {"connection_id":216873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:57:12] local.INFO: IMEI packet received {"connection_id":216873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":216873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:57:15] local.INFO: TCP Data received {"connection_id":216873,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:57:15] local.INFO: Processing buffer {"connection_id":216873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:57:15] local.INFO: IMEI packet received {"connection_id":216873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":216873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:57:16] local.INFO: TCP Data received {"connection_id":219958,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:57:16] local.INFO: Processing buffer {"connection_id":219958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:57:16] local.INFO: IMEI packet received {"connection_id":219958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":219958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:57:16] local.INFO: TCP Data received {"connection_id":216873,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a14398f888012d198200071fede8003900eb2b..."} 
[2026-10-16 12:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14398f888012d198200071fede8003900eb2b..."} 
[2026-10-16 12:57:16] local.INFO: Processing buffer {"connection_id":216873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14398f888012d198200071fede8003900eb2b..."} 
[2026-10-16 12:57:16] local.INFO: Packet analysis {"connection_id":216873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:57:16] local.INFO: Extracted packet for processing {"connection_id":216873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14398"} 
[2026-10-16 12:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756646400,"raw_latitude":119533032,"longitude_deg":75.66464,"latitude_deg":11.9533032,"altitude":57,"angle":235,"satellites":43,"speed":19,"hex_longitude":"2d198200","hex_latitude":"071fede8","is_valid_coordinates":true} 
[2026-10-16 12:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786677504001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28168384097026048,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839087159683815424,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792135461000,"timestamp_ms":1792135461000,"timestamp_seconds":1792135461,"priority":1,"record_length":96,"hex_timestamp":"000001a14398f888"} 
[2026-10-16 12:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249810025662633392,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2561560577,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-2506252973565203968,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402104,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-8700953186864611321,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:16] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,102,83,24,241,157,16,18,161,186,45,64,238,56,43,10,66,101,182,55,178,1,240,224,227,67,31,4,113,205,7,170,168,239,54,2,100,53,20,5,152,14,120,75],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-16 12:57:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179622118156468224,"timestamp_seconds":4179622118156468.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 12:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786677504001,"66":13015,"102":206,"83":41984,"24":19,"16":28168384097026048,"45":1839087159683815424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 12:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786677504001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:57:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 12:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28168384097026048,"km_value":28168384097026.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839087159683815424,"description":"Unknown IO ID 45"} 
[2026-10-16 12:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786677504001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1839087159683815424}} 
[2026-10-16 12:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":216873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:57:16] local.INFO: GPS data processed {"connection_id":216873,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:57:16] local.INFO: Acknowledgment sent {"connection_id":216873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:57:17] local.INFO: TCP Data received {"connection_id":216873,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143990440012d197d40071feb20003800f82b..."} 
[2026-10-16 12:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143990440012d197d40071feb20003800f82b..."} 
[2026-10-16 12:57:17] local.INFO: Processing buffer {"connection_id":216873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143990440012d197d40071feb20003800f82b..."} 
[2026-10-16 12:57:17] local.INFO: Packet analysis {"connection_id":216873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14399"} 
[2026-10-16 12:57:17] local.INFO: Extracted packet for processing {"connection_id":216873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14399"} 
[2026-10-16 12:57:17] local.INFO: GPS Element Parsed {"raw_longitude":756645184,"raw_latitude":119532320,"longitude_deg":75.6645184,"latitude_deg":11.953232,"altitude":56,"angle":248,"satellites":43,"speed":17,"hex_longitude":"2d197d40","hex_latitude":"071feb20","is_valid_coordinates":true} 
[2026-10-16 12:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786678016001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28168452816502784,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838031628521039872,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792135464000,"timestamp_ms":1792135464000,"timestamp_seconds":1792135464,"priority":1,"record_length":96,"hex_timestamp":"000001a143990440"} 
[2026-10-16 12:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-10-16 12:57:17] 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-10-16 12:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":216873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":216873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":216873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786678016001,"66":13319,"102":206,"83":41984,"24":17,"16":28168452816502784,"45":1838031628521039872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 12:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786678016001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:57:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 12:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28168452816502784,"km_value":28168452816502.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838031628521039872,"description":"Unknown IO ID 45"} 
[2026-10-16 12:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786678016001,"power":13319,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1838031628521039872}} 
[2026-10-16 12:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":216873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:57:17] local.INFO: GPS data processed {"connection_id":216873,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:57:17] local.INFO: Acknowledgment sent {"connection_id":216873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:57:22] local.INFO: TCP Data received {"connection_id":219958,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:57:22] local.INFO: Processing buffer {"connection_id":219958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:57:22] local.INFO: IMEI packet received {"connection_id":219958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":219958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:57:23] local.INFO: TCP Data received {"connection_id":219958,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:57:23] local.INFO: Processing buffer {"connection_id":219958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:57:23] local.INFO: Packet analysis {"connection_id":219958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:57:23] local.INFO: Extracted packet for processing {"connection_id":219958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631168001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792135579000,"timestamp_ms":1792135579000,"timestamp_seconds":1792135579,"priority":1,"record_length":96,"hex_timestamp":"000001a1439ac578"} 
[2026-10-16 12:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:57:23] 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-10-16 12:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631168001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631168001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:57:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:57:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631168001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":219958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:57:23] local.INFO: GPS data processed {"connection_id":219958,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:57:23] local.INFO: Acknowledgment sent {"connection_id":219958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:57:48] local.INFO: TCP Data received {"connection_id":216873,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a143990828012d197bc0071feac8003801052b..."} 
[2026-10-16 12:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143990828012d197bc0071feac8003801052b..."} 
[2026-10-16 12:57:48] local.INFO: Processing buffer {"connection_id":216873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143990828012d197bc0071feac8003801052b..."} 
[2026-10-16 12:57:48] local.INFO: Packet analysis {"connection_id":216873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14399"} 
[2026-10-16 12:57:48] local.INFO: Extracted packet for processing {"connection_id":216873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14399"} 
[2026-10-16 12:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756644800,"raw_latitude":119532232,"longitude_deg":75.66448,"latitude_deg":11.9532232,"altitude":56,"angle":261,"satellites":43,"speed":16,"hex_longitude":"2d197bc0","hex_latitude":"071feac8","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786678784001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28168469996371968,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836694622381481984,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792135465000,"timestamp_ms":1792135465000,"timestamp_seconds":1792135465,"priority":1,"record_length":96,"hex_timestamp":"000001a143990828"} 
[2026-10-16 12:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:57: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-10-16 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2868903936,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2562072577,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1393863852719723776,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":224,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-6167678396468707321,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:48] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,19,161,248,45,237,57,43,10,66,18,240,192,239,58,44,186,64,1,227,67,31,4,113,205,9,178,232,54,101,2,100,7,224,152],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-16 12:57:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035498129692360704,"timestamp_seconds":4035498129692360.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 12:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786678784001,"66":13319,"102":206,"83":41984,"24":16,"16":28168469996371968,"45":1836694622381481984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 12:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786678784001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:57:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 12:57:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28168469996371968,"km_value":28168469996371.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836694622381481984,"description":"Unknown IO ID 45"} 
[2026-10-16 12:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786678784001,"power":13319,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1836694622381481984}} 
[2026-10-16 12:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":216873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:57:48] local.INFO: GPS data processed {"connection_id":216873,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:57:48] local.INFO: Acknowledgment sent {"connection_id":216873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:57:55] local.INFO: TCP Data received {"connection_id":219958,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:57:55] local.INFO: Processing buffer {"connection_id":219958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:57:55] local.INFO: Packet analysis {"connection_id":219958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:57:55] local.INFO: Extracted packet for processing {"connection_id":219958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631168001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792135579000,"timestamp_ms":1792135579000,"timestamp_seconds":1792135579,"priority":1,"record_length":96,"hex_timestamp":"000001a1439ac578"} 
[2026-10-16 12:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:57:55] 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-10-16 12:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631168001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631168001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:57:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:57:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631168001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":219958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:57:55] local.INFO: GPS data processed {"connection_id":219958,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:57:55] local.INFO: Acknowledgment sent {"connection_id":219958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:58:07] local.INFO: TCP Data received {"connection_id":218231,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:58:07] local.INFO: Processing buffer {"connection_id":218231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:58:07] local.INFO: IMEI packet received {"connection_id":218231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-10-16 12:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":218231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:58:12] local.INFO: TCP Data received {"connection_id":218231,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:58:12] local.INFO: Processing buffer {"connection_id":218231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-10-16 12:58:12] local.INFO: IMEI packet received {"connection_id":218231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-10-16 12:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":218231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:58:13] local.INFO: TCP Data received {"connection_id":218231,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1439917c8012d1975c0071feaa0003701102b..."} 
[2026-10-16 12:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439917c8012d1975c0071feaa0003701102b..."} 
[2026-10-16 12:58:13] local.INFO: Processing buffer {"connection_id":218231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439917c8012d1975c0071feaa0003701102b..."} 
[2026-10-16 12:58:13] local.INFO: Packet analysis {"connection_id":218231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14399"} 
[2026-10-16 12:58:13] local.INFO: Extracted packet for processing {"connection_id":218231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14399"} 
[2026-10-16 12:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756643264,"raw_latitude":119532192,"longitude_deg":75.6643264,"latitude_deg":11.9532192,"altitude":55,"angle":272,"satellites":43,"speed":13,"hex_longitude":"2d1975c0","hex_latitude":"071feaa0","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786679040001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28168543010816000,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836272409916393472,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792135469000,"timestamp_ms":1792135469000,"timestamp_seconds":1792135469,"priority":1,"record_length":96,"hex_timestamp":"000001a1439917c8"} 
[2026-10-16 12:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:58: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-10-16 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":18,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2562328577,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1344324256819893504,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":224,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-5886203419758051321,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,19,161,4,45,64,235,56,43,10,66,248,237,57,18,240,192,1,227,67,31,113,205,11,182,160,239,53,101,2,100,7,55,224,152],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-10-16 12:58:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035512423343456256,"timestamp_seconds":4035512423343456.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 12:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786679040001,"66":13243,"102":206,"83":41984,"24":13,"16":28168543010816000,"45":1836272409916393472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 12:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786679040001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:58:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 12:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28168543010816000,"km_value":28168543010816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836272409916393472,"description":"Unknown IO ID 45"} 
[2026-10-16 12:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786679040001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1836272409916393472}} 
[2026-10-16 12:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":218231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:58:13] local.INFO: GPS data processed {"connection_id":218231,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:58:13] local.INFO: Acknowledgment sent {"connection_id":218231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:58:16] local.INFO: TCP Data received {"connection_id":219959,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:58:16] local.INFO: Processing buffer {"connection_id":219959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:58:16] local.INFO: IMEI packet received {"connection_id":219959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":219959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:58:22] local.INFO: TCP Data received {"connection_id":219959,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:58:22] local.INFO: Processing buffer {"connection_id":219959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:58:22] local.INFO: IMEI packet received {"connection_id":219959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":219959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:58:22] local.INFO: TCP Data received {"connection_id":219959,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:58:22] local.INFO: Processing buffer {"connection_id":219959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:58:22] local.INFO: Packet analysis {"connection_id":219959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:58:22] local.INFO: Extracted packet for processing {"connection_id":219959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:58:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631168001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792135579000,"timestamp_ms":1792135579000,"timestamp_seconds":1792135579,"priority":1,"record_length":96,"hex_timestamp":"000001a1439ac578"} 
[2026-10-16 12:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631168001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631168001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:58:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:58:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631168001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":219959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:58:23] local.INFO: GPS data processed {"connection_id":219959,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:58:23] local.INFO: Acknowledgment sent {"connection_id":219959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:58:54] local.INFO: TCP Data received {"connection_id":218231,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1439969d0012d196900071febf80039010e29..."} 
[2026-10-16 12:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439969d0012d196900071febf80039010e29..."} 
[2026-10-16 12:58:54] local.INFO: Processing buffer {"connection_id":218231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439969d0012d196900071febf80039010e29..."} 
[2026-10-16 12:58:54] local.INFO: Packet analysis {"connection_id":218231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14399"} 
[2026-10-16 12:58:54] local.INFO: Extracted packet for processing {"connection_id":218231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14399"} 
[2026-10-16 12:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532536,"longitude_deg":75.664,"latitude_deg":11.9532536,"altitude":57,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-10-16 12:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786680064001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28168701924605952,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834583560056119296,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792135490000,"timestamp_ms":1792135490000,"timestamp_seconds":1792135490,"priority":1,"record_length":96,"hex_timestamp":"000001a1439969d0"} 
[2026-10-16 12:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 12:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-16 12:58:54] 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-10-16 12:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-10-16 12:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-10-16 12:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-10-16 12:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786680064001,"66":12917,"102":206,"83":41984,"24":0,"16":28168701924605952,"45":1834583560056119296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-10-16 12:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-10-16 12:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-10-16 12:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786680064001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:58:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-10-16 12:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-10-16 12:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28168701924605952,"km_value":28168701924605.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834583560056119296,"description":"Unknown IO ID 45"} 
[2026-10-16 12:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786680064001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834583560056119296}} 
[2026-10-16 12:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":218231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:58:55] local.INFO: GPS data processed {"connection_id":218231,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:58:55] local.INFO: Acknowledgment sent {"connection_id":218231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:58:55] local.INFO: TCP Data received {"connection_id":219959,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:58:55] local.INFO: Processing buffer {"connection_id":219959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:58:55] local.INFO: Packet analysis {"connection_id":219959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:58:55] local.INFO: Extracted packet for processing {"connection_id":219959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631168001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792135579000,"timestamp_ms":1792135579000,"timestamp_seconds":1792135579,"priority":1,"record_length":96,"hex_timestamp":"000001a1439ac578"} 
[2026-10-16 12:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:58:55] 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-10-16 12: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-10-16 12:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631168001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631168001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:58:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:58:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631168001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":219959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:58:55] local.INFO: GPS data processed {"connection_id":219959,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:58:55] local.INFO: Acknowledgment sent {"connection_id":219959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:59:16] local.INFO: TCP Data received {"connection_id":216875,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:59:16] local.INFO: Processing buffer {"connection_id":216875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:59:16] local.INFO: IMEI packet received {"connection_id":216875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 12:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":216875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 12:59:22] local.INFO: TCP Data received {"connection_id":216875,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:59:22] local.INFO: Processing buffer {"connection_id":216875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 12:59:22] local.INFO: IMEI packet received {"connection_id":216875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 12:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":216875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 12:59:23] local.INFO: TCP Data received {"connection_id":216875,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:59:23] local.INFO: Processing buffer {"connection_id":216875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:59:23] local.INFO: Packet analysis {"connection_id":216875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:59:23] local.INFO: Extracted packet for processing {"connection_id":216875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 12:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631168001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792135579000,"timestamp_ms":1792135579000,"timestamp_seconds":1792135579,"priority":1,"record_length":96,"hex_timestamp":"000001a1439ac578"} 
[2026-10-16 12:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:59:23] 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-10-16 12:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 12:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631168001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631168001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:59:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:59:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631168001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":216875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:59:23] local.INFO: GPS data processed {"connection_id":216875,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:59:23] local.INFO: Acknowledgment sent {"connection_id":216875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 12:59:54] local.INFO: TCP Data received {"connection_id":216875,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:59:54] local.INFO: Processing buffer {"connection_id":216875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 12:59:54] local.INFO: Packet analysis {"connection_id":216875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:59:54] local.INFO: Extracted packet for processing {"connection_id":216875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 12:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 12: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-10-16 12:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631168001,"note":"Value kept but may cause issues"} 
[2026-10-16 12:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 12:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 12:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 12:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792135579000,"timestamp_ms":1792135579000,"timestamp_seconds":1792135579,"priority":1,"record_length":96,"hex_timestamp":"000001a1439ac578"} 
[2026-10-16 12:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 12:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 12:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 12: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-10-16 12:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 12:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 12:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 12:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 12:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 12:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 12:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 12:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631168001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 12:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 12:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 12:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631168001,"description":"Unknown IO ID 0"} 
[2026-10-16 12:59:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 12:59:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 12:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 12:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 12:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631168001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 12:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":216875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 12:59:54] local.INFO: GPS data processed {"connection_id":216875,"processed":1,"errors":0,"total":1} 
[2026-10-16 12:59:54] local.INFO: Acknowledgment sent {"connection_id":216875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:00:16] local.INFO: TCP Data received {"connection_id":216674,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:00:16] local.INFO: Processing buffer {"connection_id":216674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:00:16] local.INFO: IMEI packet received {"connection_id":216674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":216674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:00:22] local.INFO: TCP Data received {"connection_id":216675,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:00:22] local.INFO: Processing buffer {"connection_id":216675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:00:22] local.INFO: IMEI packet received {"connection_id":216675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":216675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:00:26] local.INFO: TCP Data received {"connection_id":216675,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:00:26] local.INFO: Processing buffer {"connection_id":216675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:00:26] local.INFO: IMEI packet received {"connection_id":216675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":216675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:00:28] local.INFO: TCP Data received {"connection_id":216675,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:00:28] local.INFO: Processing buffer {"connection_id":216675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:00:28] local.INFO: Packet analysis {"connection_id":216675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 13:00:28] local.INFO: Extracted packet for processing {"connection_id":216675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 13:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631168001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792135579000,"timestamp_ms":1792135579000,"timestamp_seconds":1792135579,"priority":1,"record_length":96,"hex_timestamp":"000001a1439ac578"} 
[2026-10-16 13:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:00:28] 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-10-16 13:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631168001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631168001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:00:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:00:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631168001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":216675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:00:28] local.INFO: GPS data processed {"connection_id":216675,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:00:28] local.INFO: Acknowledgment sent {"connection_id":216675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:00:33] local.INFO: TCP Data received {"connection_id":216675,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:00:33] local.INFO: Processing buffer {"connection_id":216675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:00:33] local.INFO: Packet analysis {"connection_id":216675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 13:00:33] local.INFO: Extracted packet for processing {"connection_id":216675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 13:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631168001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792135579000,"timestamp_ms":1792135579000,"timestamp_seconds":1792135579,"priority":1,"record_length":96,"hex_timestamp":"000001a1439ac578"} 
[2026-10-16 13:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631168001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631168001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631168001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":216675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:00:33] local.INFO: GPS data processed {"connection_id":216675,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:00:33] local.INFO: Acknowledgment sent {"connection_id":216675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:00:52] local.INFO: TCP Data received {"connection_id":216876,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:00:52] local.INFO: Processing buffer {"connection_id":216876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:00:52] local.INFO: IMEI packet received {"connection_id":216876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":216876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:01:16] local.INFO: TCP Data received {"connection_id":216877,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:01:16] local.INFO: Processing buffer {"connection_id":216877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:01:16] local.INFO: IMEI packet received {"connection_id":216877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":216877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:01:22] local.INFO: TCP Data received {"connection_id":216877,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:01:22] local.INFO: Processing buffer {"connection_id":216877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:01:22] local.INFO: IMEI packet received {"connection_id":216877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":216877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:01:22] local.INFO: TCP Data received {"connection_id":216877,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:01:22] local.INFO: Processing buffer {"connection_id":216877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:01:22] local.INFO: Packet analysis {"connection_id":216877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 13:01:22] local.INFO: Extracted packet for processing {"connection_id":216877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 13:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631168001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792135579000,"timestamp_ms":1792135579000,"timestamp_seconds":1792135579,"priority":1,"record_length":96,"hex_timestamp":"000001a1439ac578"} 
[2026-10-16 13:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631168001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631168001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:01:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:01:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631168001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":216877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:01:22] local.INFO: GPS data processed {"connection_id":216877,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:01:22] local.INFO: Acknowledgment sent {"connection_id":216877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:01:55] local.INFO: TCP Data received {"connection_id":216877,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:01:55] local.INFO: Processing buffer {"connection_id":216877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439ac578012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:01:55] local.INFO: Packet analysis {"connection_id":216877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 13:01:55] local.INFO: Extracted packet for processing {"connection_id":216877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439a"} 
[2026-10-16 13:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786631168001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792135579000,"timestamp_ms":1792135579000,"timestamp_seconds":1792135579,"priority":1,"record_length":96,"hex_timestamp":"000001a1439ac578"} 
[2026-10-16 13:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:01:55] 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-10-16 13:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786631168001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786631168001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:01:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:01:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786631168001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":216877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:01:55] local.INFO: GPS data processed {"connection_id":216877,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:01:55] local.INFO: Acknowledgment sent {"connection_id":216877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:02:16] local.INFO: TCP Data received {"connection_id":216676,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:02:16] local.INFO: Processing buffer {"connection_id":216676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:02:16] local.INFO: IMEI packet received {"connection_id":216676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":216676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:02:22] local.INFO: TCP Data received {"connection_id":216676,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:02:22] local.INFO: Processing buffer {"connection_id":216676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:02:22] local.INFO: IMEI packet received {"connection_id":216676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":216676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:02:22] local.INFO: TCP Data received {"connection_id":216676,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:02:22] local.INFO: Processing buffer {"connection_id":216676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:02:22] local.INFO: Packet analysis {"connection_id":216676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:02:22] local.INFO: Extracted packet for processing {"connection_id":216676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:02:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786708224001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792135880000,"timestamp_ms":1792135880000,"timestamp_seconds":1792135880,"priority":1,"record_length":96,"hex_timestamp":"000001a1439f5d40"} 
[2026-10-16 13:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:02:22] 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-10-16 13:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786708224001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786708224001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:02:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:02:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786708224001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":216676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:02:22] local.INFO: GPS data processed {"connection_id":216676,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:02:22] local.INFO: Acknowledgment sent {"connection_id":216676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:02:54] local.INFO: TCP Data received {"connection_id":216676,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:02:54] local.INFO: Processing buffer {"connection_id":216676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:02:54] local.INFO: Packet analysis {"connection_id":216676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:02:54] local.INFO: Extracted packet for processing {"connection_id":216676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786708224001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792135880000,"timestamp_ms":1792135880000,"timestamp_seconds":1792135880,"priority":1,"record_length":96,"hex_timestamp":"000001a1439f5d40"} 
[2026-10-16 13:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:02:54] 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-10-16 13:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786708224001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786708224001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:02:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:02:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786708224001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":216676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:02:54] local.INFO: GPS data processed {"connection_id":216676,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:02:54] local.INFO: Acknowledgment sent {"connection_id":216676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:03:16] local.INFO: TCP Data received {"connection_id":216878,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:03:16] local.INFO: Processing buffer {"connection_id":216878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:03:16] local.INFO: IMEI packet received {"connection_id":216878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":216878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:03:21] local.INFO: TCP Data received {"connection_id":216878,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:03:22] local.INFO: Processing buffer {"connection_id":216878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:03:22] local.INFO: IMEI packet received {"connection_id":216878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":216878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:03:22] local.INFO: TCP Data received {"connection_id":216878,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:03:22] local.INFO: Processing buffer {"connection_id":216878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:03:22] local.INFO: Packet analysis {"connection_id":216878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:03:22] local.INFO: Extracted packet for processing {"connection_id":216878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786708224001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792135880000,"timestamp_ms":1792135880000,"timestamp_seconds":1792135880,"priority":1,"record_length":96,"hex_timestamp":"000001a1439f5d40"} 
[2026-10-16 13:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:03:22] 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-10-16 13:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786708224001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786708224001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:03:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:03:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786708224001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":216878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:03:22] local.INFO: GPS data processed {"connection_id":216878,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:03:22] local.INFO: Acknowledgment sent {"connection_id":216878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:03:55] local.INFO: TCP Data received {"connection_id":216878,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:03:55] local.INFO: Processing buffer {"connection_id":216878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:03:55] local.INFO: Packet analysis {"connection_id":216878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:03:55] local.INFO: Extracted packet for processing {"connection_id":216878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786708224001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792135880000,"timestamp_ms":1792135880000,"timestamp_seconds":1792135880,"priority":1,"record_length":96,"hex_timestamp":"000001a1439f5d40"} 
[2026-10-16 13:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:03:55] 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-10-16 13:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786708224001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786708224001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:03:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:03:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786708224001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":216878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:03:55] local.INFO: GPS data processed {"connection_id":216878,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:03:55] local.INFO: Acknowledgment sent {"connection_id":216878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:04:22] local.INFO: TCP Data received {"connection_id":218234,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:04:22] local.INFO: Processing buffer {"connection_id":218234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:04:22] local.INFO: IMEI packet received {"connection_id":218234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":218234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:04:27] local.INFO: TCP Data received {"connection_id":218234,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:04:27] local.INFO: Processing buffer {"connection_id":218234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:04:27] local.INFO: IMEI packet received {"connection_id":218234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":218234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:04:27] local.INFO: TCP Data received {"connection_id":218234,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:04:28] local.INFO: Processing buffer {"connection_id":218234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:04:28] local.INFO: Packet analysis {"connection_id":218234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:04:28] local.INFO: Extracted packet for processing {"connection_id":218234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786708224001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792135880000,"timestamp_ms":1792135880000,"timestamp_seconds":1792135880,"priority":1,"record_length":96,"hex_timestamp":"000001a1439f5d40"} 
[2026-10-16 13:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:04:28] 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-10-16 13:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786708224001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786708224001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:04:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:04:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786708224001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":218234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:04:28] local.INFO: GPS data processed {"connection_id":218234,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:04:28] local.INFO: Acknowledgment sent {"connection_id":218234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:04:32] local.INFO: TCP Data received {"connection_id":218234,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:04:32] local.INFO: Processing buffer {"connection_id":218234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:04:32] local.INFO: Packet analysis {"connection_id":218234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:04:32] local.INFO: Extracted packet for processing {"connection_id":218234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786708224001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792135880000,"timestamp_ms":1792135880000,"timestamp_seconds":1792135880,"priority":1,"record_length":96,"hex_timestamp":"000001a1439f5d40"} 
[2026-10-16 13:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786708224001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786708224001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:04:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:04:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786708224001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":218234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:04:32] local.INFO: GPS data processed {"connection_id":218234,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:04:32] local.INFO: Acknowledgment sent {"connection_id":218234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:05:16] local.INFO: TCP Data received {"connection_id":216879,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:05:16] local.INFO: Processing buffer {"connection_id":216879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:05:16] local.INFO: IMEI packet received {"connection_id":216879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":216879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:05:21] local.INFO: TCP Data received {"connection_id":216879,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:05:21] local.INFO: Processing buffer {"connection_id":216879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:05:21] local.INFO: IMEI packet received {"connection_id":216879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":216879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:05:22] local.INFO: TCP Data received {"connection_id":216879,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:05:22] local.INFO: Processing buffer {"connection_id":216879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:05:22] local.INFO: Packet analysis {"connection_id":216879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:05:22] local.INFO: Extracted packet for processing {"connection_id":216879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:05:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786708224001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792135880000,"timestamp_ms":1792135880000,"timestamp_seconds":1792135880,"priority":1,"record_length":96,"hex_timestamp":"000001a1439f5d40"} 
[2026-10-16 13:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:05:22] 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-10-16 13:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786708224001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786708224001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:05:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:05:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786708224001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":216879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:05:22] local.INFO: GPS data processed {"connection_id":216879,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:05:22] local.INFO: Acknowledgment sent {"connection_id":216879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:05:54] local.INFO: TCP Data received {"connection_id":216879,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:05:54] local.INFO: Processing buffer {"connection_id":216879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:05:54] local.INFO: Packet analysis {"connection_id":216879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:05:54] local.INFO: Extracted packet for processing {"connection_id":216879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786708224001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792135880000,"timestamp_ms":1792135880000,"timestamp_seconds":1792135880,"priority":1,"record_length":96,"hex_timestamp":"000001a1439f5d40"} 
[2026-10-16 13:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:05:54] 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-10-16 13:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786708224001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786708224001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:05:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:05:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786708224001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":216879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:05:54] local.INFO: GPS data processed {"connection_id":216879,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:05:54] local.INFO: Acknowledgment sent {"connection_id":216879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:06:11] local.INFO: TCP Data received {"connection_id":219962,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:06:11] local.INFO: Processing buffer {"connection_id":219962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:06:11] local.INFO: IMEI packet received {"connection_id":219962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":219962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:06:16] local.INFO: TCP Data received {"connection_id":219963,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:06:16] local.INFO: Processing buffer {"connection_id":219963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:06:16] local.INFO: IMEI packet received {"connection_id":219963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":219963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:06:22] local.INFO: TCP Data received {"connection_id":219963,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:06:22] local.INFO: Processing buffer {"connection_id":219963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:06:22] local.INFO: IMEI packet received {"connection_id":219963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":219963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:06:22] local.INFO: TCP Data received {"connection_id":219963,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:06:22] local.INFO: Processing buffer {"connection_id":219963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:06:22] local.INFO: Packet analysis {"connection_id":219963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:06:22] local.INFO: Extracted packet for processing {"connection_id":219963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:06:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786708224001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792135880000,"timestamp_ms":1792135880000,"timestamp_seconds":1792135880,"priority":1,"record_length":96,"hex_timestamp":"000001a1439f5d40"} 
[2026-10-16 13:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:06:22] 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-10-16 13:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786708224001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786708224001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:06:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:06:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786708224001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":219963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:06:22] local.INFO: GPS data processed {"connection_id":219963,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:06:22] local.INFO: Acknowledgment sent {"connection_id":219963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:06:54] local.INFO: TCP Data received {"connection_id":219963,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:06:54] local.INFO: Processing buffer {"connection_id":219963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1439f5d40012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:06:54] local.INFO: Packet analysis {"connection_id":219963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:06:54] local.INFO: Extracted packet for processing {"connection_id":219963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1439f"} 
[2026-10-16 13:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786708224001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792135880000,"timestamp_ms":1792135880000,"timestamp_seconds":1792135880,"priority":1,"record_length":96,"hex_timestamp":"000001a1439f5d40"} 
[2026-10-16 13:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:06:54] 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-10-16 13:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786708224001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786708224001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:06:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:06:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786708224001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":219963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:06:54] local.INFO: GPS data processed {"connection_id":219963,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:06:54] local.INFO: Acknowledgment sent {"connection_id":219963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:06:56] local.INFO: TCP Data received {"connection_id":218235,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:06:56] local.INFO: Processing buffer {"connection_id":218235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:06:56] local.INFO: IMEI packet received {"connection_id":218235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":218235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:07:16] local.INFO: TCP Data received {"connection_id":216880,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:07:16] local.INFO: Processing buffer {"connection_id":216880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:07:16] local.INFO: IMEI packet received {"connection_id":216880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":216880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:07:22] local.INFO: TCP Data received {"connection_id":216880,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:07:22] local.INFO: Processing buffer {"connection_id":216880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:07:22] local.INFO: IMEI packet received {"connection_id":216880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":216880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:07:22] local.INFO: TCP Data received {"connection_id":216880,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:07:22] local.INFO: Processing buffer {"connection_id":216880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:07:22] local.INFO: Packet analysis {"connection_id":216880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:07:22] local.INFO: Extracted packet for processing {"connection_id":216880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786785280001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792136181000,"timestamp_ms":1792136181000,"timestamp_seconds":1792136181,"priority":1,"record_length":96,"hex_timestamp":"000001a143a3f508"} 
[2026-10-16 13:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786785280001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786785280001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:07:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:07:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786785280001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":216880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:07:23] local.INFO: GPS data processed {"connection_id":216880,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:07:23] local.INFO: Acknowledgment sent {"connection_id":216880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:07:54] local.INFO: TCP Data received {"connection_id":216880,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:07:54] local.INFO: Processing buffer {"connection_id":216880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:07:54] local.INFO: Packet analysis {"connection_id":216880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:07:54] local.INFO: Extracted packet for processing {"connection_id":216880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786785280001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792136181000,"timestamp_ms":1792136181000,"timestamp_seconds":1792136181,"priority":1,"record_length":96,"hex_timestamp":"000001a143a3f508"} 
[2026-10-16 13:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:07:54] 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-10-16 13: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-10-16 13:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786785280001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786785280001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:07:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:07:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786785280001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":216880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:07:54] local.INFO: GPS data processed {"connection_id":216880,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:07:54] local.INFO: Acknowledgment sent {"connection_id":216880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:08:21] local.INFO: TCP Data received {"connection_id":216881,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:08:22] local.INFO: Processing buffer {"connection_id":216881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:08:22] local.INFO: IMEI packet received {"connection_id":216881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":216881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:08:27] local.INFO: TCP Data received {"connection_id":216881,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:08:27] local.INFO: Processing buffer {"connection_id":216881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:08:27] local.INFO: IMEI packet received {"connection_id":216881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":216881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:08:28] local.INFO: TCP Data received {"connection_id":216881,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:08:28] local.INFO: Processing buffer {"connection_id":216881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:08:28] local.INFO: Packet analysis {"connection_id":216881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:08:28] local.INFO: Extracted packet for processing {"connection_id":216881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786785280001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792136181000,"timestamp_ms":1792136181000,"timestamp_seconds":1792136181,"priority":1,"record_length":96,"hex_timestamp":"000001a143a3f508"} 
[2026-10-16 13:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:08:28] 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-10-16 13:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786785280001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786785280001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:08:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:08:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786785280001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":216881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:08:28] local.INFO: GPS data processed {"connection_id":216881,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:08:28] local.INFO: Acknowledgment sent {"connection_id":216881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:08:32] local.INFO: TCP Data received {"connection_id":216881,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:08:32] local.INFO: Processing buffer {"connection_id":216881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:08:32] local.INFO: Packet analysis {"connection_id":216881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:08:32] local.INFO: Extracted packet for processing {"connection_id":216881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786785280001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792136181000,"timestamp_ms":1792136181000,"timestamp_seconds":1792136181,"priority":1,"record_length":96,"hex_timestamp":"000001a143a3f508"} 
[2026-10-16 13:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786785280001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786785280001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:08:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786785280001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":216881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:08:32] local.INFO: GPS data processed {"connection_id":216881,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:08:32] local.INFO: Acknowledgment sent {"connection_id":216881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:09:16] local.INFO: TCP Data received {"connection_id":216679,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:09:16] local.INFO: Processing buffer {"connection_id":216679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:09:16] local.INFO: IMEI packet received {"connection_id":216679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":216679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:09:22] local.INFO: TCP Data received {"connection_id":216679,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:09:22] local.INFO: Processing buffer {"connection_id":216679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:09:22] local.INFO: IMEI packet received {"connection_id":216679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":216679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:09:23] local.INFO: TCP Data received {"connection_id":216679,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:09:23] local.INFO: Processing buffer {"connection_id":216679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:09:23] local.INFO: Packet analysis {"connection_id":216679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:09:23] local.INFO: Extracted packet for processing {"connection_id":216679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786785280001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792136181000,"timestamp_ms":1792136181000,"timestamp_seconds":1792136181,"priority":1,"record_length":96,"hex_timestamp":"000001a143a3f508"} 
[2026-10-16 13:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:09:23] 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-10-16 13:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786785280001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786785280001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:09:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:09:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786785280001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":216679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:09:23] local.INFO: GPS data processed {"connection_id":216679,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:09:23] local.INFO: Acknowledgment sent {"connection_id":216679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:09:55] local.INFO: TCP Data received {"connection_id":216679,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:09:55] local.INFO: Processing buffer {"connection_id":216679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:09:55] local.INFO: Packet analysis {"connection_id":216679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:09:55] local.INFO: Extracted packet for processing {"connection_id":216679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786785280001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792136181000,"timestamp_ms":1792136181000,"timestamp_seconds":1792136181,"priority":1,"record_length":96,"hex_timestamp":"000001a143a3f508"} 
[2026-10-16 13:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786785280001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786785280001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:09:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:09:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786785280001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":216679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:09:55] local.INFO: GPS data processed {"connection_id":216679,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:09:55] local.INFO: Acknowledgment sent {"connection_id":216679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:10:16] local.INFO: TCP Data received {"connection_id":219964,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:10:16] local.INFO: Processing buffer {"connection_id":219964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:10:16] local.INFO: IMEI packet received {"connection_id":219964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":219964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:10:22] local.INFO: TCP Data received {"connection_id":219964,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:10:22] local.INFO: Processing buffer {"connection_id":219964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:10:22] local.INFO: IMEI packet received {"connection_id":219964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":219964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:10:23] local.INFO: TCP Data received {"connection_id":219964,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:10:23] local.INFO: Processing buffer {"connection_id":219964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:10:23] local.INFO: Packet analysis {"connection_id":219964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:10:23] local.INFO: Extracted packet for processing {"connection_id":219964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786785280001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792136181000,"timestamp_ms":1792136181000,"timestamp_seconds":1792136181,"priority":1,"record_length":96,"hex_timestamp":"000001a143a3f508"} 
[2026-10-16 13:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:10:23] 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-10-16 13: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-10-16 13:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786785280001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786785280001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:10:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:10:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786785280001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":219964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:10:23] local.INFO: GPS data processed {"connection_id":219964,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:10:23] local.INFO: Acknowledgment sent {"connection_id":219964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:10:54] local.INFO: TCP Data received {"connection_id":219964,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:10:54] local.INFO: Processing buffer {"connection_id":219964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:10:54] local.INFO: Packet analysis {"connection_id":219964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:10:54] local.INFO: Extracted packet for processing {"connection_id":219964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786785280001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792136181000,"timestamp_ms":1792136181000,"timestamp_seconds":1792136181,"priority":1,"record_length":96,"hex_timestamp":"000001a143a3f508"} 
[2026-10-16 13:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:10:54] 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-10-16 13:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786785280001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786785280001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:10:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:10:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786785280001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":219964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:10:54] local.INFO: GPS data processed {"connection_id":219964,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:10:54] local.INFO: Acknowledgment sent {"connection_id":219964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:11:16] local.INFO: TCP Data received {"connection_id":216884,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:11:16] local.INFO: Processing buffer {"connection_id":216884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:11:16] local.INFO: IMEI packet received {"connection_id":216884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":216884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:11:22] local.INFO: TCP Data received {"connection_id":216884,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:11:22] local.INFO: Processing buffer {"connection_id":216884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:11:22] local.INFO: IMEI packet received {"connection_id":216884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":216884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:11:23] local.INFO: TCP Data received {"connection_id":216884,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:11:23] local.INFO: Processing buffer {"connection_id":216884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:11:23] local.INFO: Packet analysis {"connection_id":216884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:11:23] local.INFO: Extracted packet for processing {"connection_id":216884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786785280001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792136181000,"timestamp_ms":1792136181000,"timestamp_seconds":1792136181,"priority":1,"record_length":96,"hex_timestamp":"000001a143a3f508"} 
[2026-10-16 13:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:11:23] 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-10-16 13:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786785280001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786785280001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:11:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:11:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786785280001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":216884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:11:23] local.INFO: GPS data processed {"connection_id":216884,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:11:23] local.INFO: Acknowledgment sent {"connection_id":216884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:11:55] local.INFO: TCP Data received {"connection_id":216884,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:11:55] local.INFO: Processing buffer {"connection_id":216884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a3f508012d7fa40005afce580009000a2f..."} 
[2026-10-16 13:11:55] local.INFO: Packet analysis {"connection_id":216884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:11:55] local.INFO: Extracted packet for processing {"connection_id":216884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a3"} 
[2026-10-16 13:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786785280001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792136181000,"timestamp_ms":1792136181000,"timestamp_seconds":1792136181,"priority":1,"record_length":96,"hex_timestamp":"000001a143a3f508"} 
[2026-10-16 13:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786785280001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786785280001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:11:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:11:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786785280001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":216884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:11:55] local.INFO: GPS data processed {"connection_id":216884,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:11:55] local.INFO: Acknowledgment sent {"connection_id":216884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:12:11] local.INFO: TCP Data received {"connection_id":219965,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:12:11] local.INFO: Processing buffer {"connection_id":219965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:12:11] local.INFO: IMEI packet received {"connection_id":219965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":219965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:12:22] local.INFO: TCP Data received {"connection_id":219966,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:12:22] local.INFO: Processing buffer {"connection_id":219966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:12:22] local.INFO: IMEI packet received {"connection_id":219966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":219966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:12:27] local.INFO: TCP Data received {"connection_id":219966,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:12:27] local.INFO: Processing buffer {"connection_id":219966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:12:27] local.INFO: IMEI packet received {"connection_id":219966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":219966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:12:28] local.INFO: TCP Data received {"connection_id":219966,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:12:28] local.INFO: Processing buffer {"connection_id":219966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:12:28] local.INFO: Packet analysis {"connection_id":219966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:12:28] local.INFO: Extracted packet for processing {"connection_id":219966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786862336001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792136482000,"timestamp_ms":1792136482000,"timestamp_seconds":1792136482,"priority":1,"record_length":96,"hex_timestamp":"000001a143a88cd0"} 
[2026-10-16 13:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:12:28] 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-10-16 13: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-10-16 13:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786862336001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786862336001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:12:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:12:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786862336001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":219966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:12:28] local.INFO: GPS data processed {"connection_id":219966,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:12:28] local.INFO: Acknowledgment sent {"connection_id":219966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:12:32] local.INFO: TCP Data received {"connection_id":219966,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:12:32] local.INFO: Processing buffer {"connection_id":219966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:12:32] local.INFO: Packet analysis {"connection_id":219966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:12:32] local.INFO: Extracted packet for processing {"connection_id":219966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786862336001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792136482000,"timestamp_ms":1792136482000,"timestamp_seconds":1792136482,"priority":1,"record_length":96,"hex_timestamp":"000001a143a88cd0"} 
[2026-10-16 13:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786862336001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786862336001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:12:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:12:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786862336001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":219966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:12:32] local.INFO: GPS data processed {"connection_id":219966,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:12:32] local.INFO: Acknowledgment sent {"connection_id":219966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:12:51] local.INFO: TCP Data received {"connection_id":216680,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:12:51] local.INFO: Processing buffer {"connection_id":216680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:12:51] local.INFO: IMEI packet received {"connection_id":216680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":216680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:13:17] local.INFO: TCP Data received {"connection_id":216681,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:13:17] local.INFO: Processing buffer {"connection_id":216681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:13:17] local.INFO: IMEI packet received {"connection_id":216681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":216681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:13:22] local.INFO: TCP Data received {"connection_id":216681,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:13:22] local.INFO: Processing buffer {"connection_id":216681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:13:22] local.INFO: IMEI packet received {"connection_id":216681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":216681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:13:23] local.INFO: TCP Data received {"connection_id":216681,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:13:23] local.INFO: Processing buffer {"connection_id":216681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:13:23] local.INFO: Packet analysis {"connection_id":216681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:13:23] local.INFO: Extracted packet for processing {"connection_id":216681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786862336001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792136482000,"timestamp_ms":1792136482000,"timestamp_seconds":1792136482,"priority":1,"record_length":96,"hex_timestamp":"000001a143a88cd0"} 
[2026-10-16 13:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:13:23] 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-10-16 13:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786862336001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786862336001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:13:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:13:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786862336001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":216681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:13:23] local.INFO: GPS data processed {"connection_id":216681,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:13:23] local.INFO: Acknowledgment sent {"connection_id":216681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:13:54] local.INFO: TCP Data received {"connection_id":216681,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:13:54] local.INFO: Processing buffer {"connection_id":216681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:13:54] local.INFO: Packet analysis {"connection_id":216681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:13:54] local.INFO: Extracted packet for processing {"connection_id":216681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786862336001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792136482000,"timestamp_ms":1792136482000,"timestamp_seconds":1792136482,"priority":1,"record_length":96,"hex_timestamp":"000001a143a88cd0"} 
[2026-10-16 13:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:13:54] 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-10-16 13:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786862336001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786862336001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:13:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:13:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786862336001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":216681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:13:54] local.INFO: GPS data processed {"connection_id":216681,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:13:54] local.INFO: Acknowledgment sent {"connection_id":216681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:14:16] local.INFO: TCP Data received {"connection_id":218237,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:14:16] local.INFO: Processing buffer {"connection_id":218237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:14:16] local.INFO: IMEI packet received {"connection_id":218237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":218237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:14:22] local.INFO: TCP Data received {"connection_id":218237,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:14:22] local.INFO: Processing buffer {"connection_id":218237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:14:22] local.INFO: IMEI packet received {"connection_id":218237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":218237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:14:22] local.INFO: TCP Data received {"connection_id":218237,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:14:22] local.INFO: Processing buffer {"connection_id":218237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:14:22] local.INFO: Packet analysis {"connection_id":218237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:14:22] local.INFO: Extracted packet for processing {"connection_id":218237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786862336001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792136482000,"timestamp_ms":1792136482000,"timestamp_seconds":1792136482,"priority":1,"record_length":96,"hex_timestamp":"000001a143a88cd0"} 
[2026-10-16 13:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786862336001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786862336001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:14:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:14:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786862336001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":218237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:14:22] local.INFO: GPS data processed {"connection_id":218237,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:14:22] local.INFO: Acknowledgment sent {"connection_id":218237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:14:54] local.INFO: TCP Data received {"connection_id":218237,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:14:54] local.INFO: Processing buffer {"connection_id":218237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:14:54] local.INFO: Packet analysis {"connection_id":218237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:14:54] local.INFO: Extracted packet for processing {"connection_id":218237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786862336001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792136482000,"timestamp_ms":1792136482000,"timestamp_seconds":1792136482,"priority":1,"record_length":96,"hex_timestamp":"000001a143a88cd0"} 
[2026-10-16 13:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:14:54] 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-10-16 13: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-10-16 13:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786862336001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786862336001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:14:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:14:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786862336001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":218237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:14:54] local.INFO: GPS data processed {"connection_id":218237,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:14:54] local.INFO: Acknowledgment sent {"connection_id":218237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:15:16] local.INFO: TCP Data received {"connection_id":219968,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:15:16] local.INFO: Processing buffer {"connection_id":219968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:15:16] local.INFO: IMEI packet received {"connection_id":219968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":219968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:15:22] local.INFO: TCP Data received {"connection_id":219968,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:15:22] local.INFO: Processing buffer {"connection_id":219968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:15:22] local.INFO: IMEI packet received {"connection_id":219968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":219968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:15:24] local.INFO: TCP Data received {"connection_id":219968,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:15:24] local.INFO: Processing buffer {"connection_id":219968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:15:24] local.INFO: Packet analysis {"connection_id":219968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:15:24] local.INFO: Extracted packet for processing {"connection_id":219968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:15:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786862336001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792136482000,"timestamp_ms":1792136482000,"timestamp_seconds":1792136482,"priority":1,"record_length":96,"hex_timestamp":"000001a143a88cd0"} 
[2026-10-16 13:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:15:24] 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-10-16 13:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786862336001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786862336001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:15:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:15:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786862336001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":219968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:15:24] local.INFO: GPS data processed {"connection_id":219968,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:15:24] local.INFO: Acknowledgment sent {"connection_id":219968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:15:55] local.INFO: TCP Data received {"connection_id":219968,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:15:55] local.INFO: Processing buffer {"connection_id":219968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:15:55] local.INFO: Packet analysis {"connection_id":219968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:15:55] local.INFO: Extracted packet for processing {"connection_id":219968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 13:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786862336001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792136482000,"timestamp_ms":1792136482000,"timestamp_seconds":1792136482,"priority":1,"record_length":96,"hex_timestamp":"000001a143a88cd0"} 
[2026-10-16 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-10-16 13:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 13:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786862336001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786862336001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:15:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:15:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786862336001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":219968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:15:55] local.INFO: GPS data processed {"connection_id":219968,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:15:55] local.INFO: Acknowledgment sent {"connection_id":219968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:16:22] local.INFO: TCP Data received {"connection_id":216682,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:16:22] local.INFO: Processing buffer {"connection_id":216682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:16:22] local.INFO: IMEI packet received {"connection_id":216682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":216682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:16:26] local.INFO: TCP Data received {"connection_id":216682,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:16:26] local.INFO: Processing buffer {"connection_id":216682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:16:26] local.INFO: IMEI packet received {"connection_id":216682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":216682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:16:27] local.INFO: TCP Data received {"connection_id":216682,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:16:27] local.INFO: Processing buffer {"connection_id":216682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:16:27] local.INFO: Packet analysis {"connection_id":216682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:16:27] local.INFO: Extracted packet for processing {"connection_id":216682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786862336001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792136482000,"timestamp_ms":1792136482000,"timestamp_seconds":1792136482,"priority":1,"record_length":96,"hex_timestamp":"000001a143a88cd0"} 
[2026-10-16 13:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:16:27] 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-10-16 13: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-10-16 13:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786862336001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786862336001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:16:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:16:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786862336001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":216682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:16:27] local.INFO: GPS data processed {"connection_id":216682,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:16:27] local.INFO: Acknowledgment sent {"connection_id":216682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:16:32] local.INFO: TCP Data received {"connection_id":216682,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:16:32] local.INFO: Processing buffer {"connection_id":216682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143a88cd0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:16:32] local.INFO: Packet analysis {"connection_id":216682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:16:32] local.INFO: Extracted packet for processing {"connection_id":216682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143a8"} 
[2026-10-16 13:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786862336001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792136482000,"timestamp_ms":1792136482000,"timestamp_seconds":1792136482,"priority":1,"record_length":96,"hex_timestamp":"000001a143a88cd0"} 
[2026-10-16 13:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786862336001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786862336001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:16:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:16:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786862336001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":216682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:16:32] local.INFO: GPS data processed {"connection_id":216682,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:16:32] local.INFO: Acknowledgment sent {"connection_id":216682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:17:16] local.INFO: TCP Data received {"connection_id":216888,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:17:16] local.INFO: Processing buffer {"connection_id":216888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:17:16] local.INFO: IMEI packet received {"connection_id":216888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":216888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:17:21] local.INFO: TCP Data received {"connection_id":216888,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:17:21] local.INFO: Processing buffer {"connection_id":216888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:17:21] local.INFO: IMEI packet received {"connection_id":216888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":216888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:17:22] local.INFO: TCP Data received {"connection_id":216888,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:17:22] local.INFO: Processing buffer {"connection_id":216888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:17:22] local.INFO: Packet analysis {"connection_id":216888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:17:22] local.INFO: Extracted packet for processing {"connection_id":216888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:17:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786939392001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792136783000,"timestamp_ms":1792136783000,"timestamp_seconds":1792136783,"priority":1,"record_length":96,"hex_timestamp":"000001a143ad2498"} 
[2026-10-16 13:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786939392001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786939392001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:17:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:17:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786939392001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":216888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:17:22] local.INFO: GPS data processed {"connection_id":216888,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:17:22] local.INFO: Acknowledgment sent {"connection_id":216888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:17:54] local.INFO: TCP Data received {"connection_id":216888,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:17:54] local.INFO: Processing buffer {"connection_id":216888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:17:54] local.INFO: Packet analysis {"connection_id":216888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:17:54] local.INFO: Extracted packet for processing {"connection_id":216888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786939392001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792136783000,"timestamp_ms":1792136783000,"timestamp_seconds":1792136783,"priority":1,"record_length":96,"hex_timestamp":"000001a143ad2498"} 
[2026-10-16 13:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13: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-10-16 13:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786939392001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786939392001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:17:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:17:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786939392001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":216888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:17:54] local.INFO: GPS data processed {"connection_id":216888,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:17:54] local.INFO: Acknowledgment sent {"connection_id":216888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:18:06] local.INFO: TCP Data received {"connection_id":219969,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:18:06] local.INFO: Processing buffer {"connection_id":219969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:18:06] local.INFO: IMEI packet received {"connection_id":219969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":219969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:18:16] local.INFO: TCP Data received {"connection_id":216683,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:18:16] local.INFO: Processing buffer {"connection_id":216683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:18:16] local.INFO: IMEI packet received {"connection_id":216683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":216683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:18:22] local.INFO: TCP Data received {"connection_id":216683,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:18:22] local.INFO: Processing buffer {"connection_id":216683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:18:22] local.INFO: IMEI packet received {"connection_id":216683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":216683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:18:22] local.INFO: TCP Data received {"connection_id":216683,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:18:22] local.INFO: Processing buffer {"connection_id":216683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:18:22] local.INFO: Packet analysis {"connection_id":216683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:18:22] local.INFO: Extracted packet for processing {"connection_id":216683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786939392001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792136783000,"timestamp_ms":1792136783000,"timestamp_seconds":1792136783,"priority":1,"record_length":96,"hex_timestamp":"000001a143ad2498"} 
[2026-10-16 13:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786939392001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786939392001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:18:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:18:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786939392001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":216683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:18:23] local.INFO: GPS data processed {"connection_id":216683,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:18:23] local.INFO: Acknowledgment sent {"connection_id":216683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:18:51] local.INFO: TCP Data received {"connection_id":216889,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:18:51] local.INFO: Processing buffer {"connection_id":216889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:18:51] local.INFO: IMEI packet received {"connection_id":216889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":216889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:18:54] local.INFO: TCP Data received {"connection_id":216683,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:18:54] local.INFO: Processing buffer {"connection_id":216683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:18:54] local.INFO: Packet analysis {"connection_id":216683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:18:54] local.INFO: Extracted packet for processing {"connection_id":216683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786939392001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792136783000,"timestamp_ms":1792136783000,"timestamp_seconds":1792136783,"priority":1,"record_length":96,"hex_timestamp":"000001a143ad2498"} 
[2026-10-16 13:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786939392001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786939392001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:18:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:18:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786939392001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":216683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:18:54] local.INFO: GPS data processed {"connection_id":216683,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:18:54] local.INFO: Acknowledgment sent {"connection_id":216683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:19:22] local.INFO: TCP Data received {"connection_id":216890,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:19:22] local.INFO: Processing buffer {"connection_id":216890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:19:22] local.INFO: IMEI packet received {"connection_id":216890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":216890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:19:27] local.INFO: TCP Data received {"connection_id":216890,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:19:27] local.INFO: Processing buffer {"connection_id":216890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:19:27] local.INFO: IMEI packet received {"connection_id":216890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":216890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:19:27] local.INFO: TCP Data received {"connection_id":216890,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:19:27] local.INFO: Processing buffer {"connection_id":216890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:19:27] local.INFO: Packet analysis {"connection_id":216890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:19:27] local.INFO: Extracted packet for processing {"connection_id":216890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786939392001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792136783000,"timestamp_ms":1792136783000,"timestamp_seconds":1792136783,"priority":1,"record_length":96,"hex_timestamp":"000001a143ad2498"} 
[2026-10-16 13:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:19:27] 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-10-16 13:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786939392001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786939392001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:19:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:19:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786939392001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":216890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:19:27] local.INFO: GPS data processed {"connection_id":216890,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:19:27] local.INFO: Acknowledgment sent {"connection_id":216890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:19:32] local.INFO: TCP Data received {"connection_id":216890,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:19:32] local.INFO: Processing buffer {"connection_id":216890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:19:32] local.INFO: Packet analysis {"connection_id":216890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:19:32] local.INFO: Extracted packet for processing {"connection_id":216890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786939392001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792136783000,"timestamp_ms":1792136783000,"timestamp_seconds":1792136783,"priority":1,"record_length":96,"hex_timestamp":"000001a143ad2498"} 
[2026-10-16 13:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786939392001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786939392001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:19:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:19:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786939392001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":216890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:19:32] local.INFO: GPS data processed {"connection_id":216890,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:19:32] local.INFO: Acknowledgment sent {"connection_id":216890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:20:17] local.INFO: TCP Data received {"connection_id":216891,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:20:17] local.INFO: Processing buffer {"connection_id":216891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:20:17] local.INFO: IMEI packet received {"connection_id":216891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":216891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:20:22] local.INFO: TCP Data received {"connection_id":216891,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:20:22] local.INFO: Processing buffer {"connection_id":216891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:20:22] local.INFO: IMEI packet received {"connection_id":216891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":216891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:20:23] local.INFO: TCP Data received {"connection_id":216891,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:20:23] local.INFO: Processing buffer {"connection_id":216891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:20:23] local.INFO: Packet analysis {"connection_id":216891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:20:23] local.INFO: Extracted packet for processing {"connection_id":216891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786939392001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792136783000,"timestamp_ms":1792136783000,"timestamp_seconds":1792136783,"priority":1,"record_length":96,"hex_timestamp":"000001a143ad2498"} 
[2026-10-16 13:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:20:23] 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-10-16 13: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-10-16 13:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786939392001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786939392001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:20:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:20:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786939392001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":216891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:20:23] local.INFO: GPS data processed {"connection_id":216891,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:20:23] local.INFO: Acknowledgment sent {"connection_id":216891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:20:55] local.INFO: TCP Data received {"connection_id":216891,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:20:55] local.INFO: Processing buffer {"connection_id":216891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:20:55] local.INFO: Packet analysis {"connection_id":216891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:20:55] local.INFO: Extracted packet for processing {"connection_id":216891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786939392001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792136783000,"timestamp_ms":1792136783000,"timestamp_seconds":1792136783,"priority":1,"record_length":96,"hex_timestamp":"000001a143ad2498"} 
[2026-10-16 13:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:20:55] 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-10-16 13:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786939392001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786939392001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:20:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:20:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786939392001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":216891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:20:55] local.INFO: GPS data processed {"connection_id":216891,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:20:55] local.INFO: Acknowledgment sent {"connection_id":216891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:21:16] local.INFO: TCP Data received {"connection_id":216685,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:21:16] local.INFO: Processing buffer {"connection_id":216685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:21:16] local.INFO: IMEI packet received {"connection_id":216685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":216685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:21:21] local.INFO: TCP Data received {"connection_id":216685,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:21:21] local.INFO: Processing buffer {"connection_id":216685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:21:21] local.INFO: IMEI packet received {"connection_id":216685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":216685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:21:22] local.INFO: TCP Data received {"connection_id":216685,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:21:22] local.INFO: Processing buffer {"connection_id":216685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:21:22] local.INFO: Packet analysis {"connection_id":216685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:21:22] local.INFO: Extracted packet for processing {"connection_id":216685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:21:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786939392001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792136783000,"timestamp_ms":1792136783000,"timestamp_seconds":1792136783,"priority":1,"record_length":96,"hex_timestamp":"000001a143ad2498"} 
[2026-10-16 13:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786939392001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786939392001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:21:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:21:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786939392001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":216685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:21:22] local.INFO: GPS data processed {"connection_id":216685,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:21:22] local.INFO: Acknowledgment sent {"connection_id":216685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:21:54] local.INFO: TCP Data received {"connection_id":216685,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:21:54] local.INFO: Processing buffer {"connection_id":216685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ad2498012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:21:54] local.INFO: Packet analysis {"connection_id":216685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:21:54] local.INFO: Extracted packet for processing {"connection_id":216685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ad"} 
[2026-10-16 13:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458786939392001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792136783000,"timestamp_ms":1792136783000,"timestamp_seconds":1792136783,"priority":1,"record_length":96,"hex_timestamp":"000001a143ad2498"} 
[2026-10-16 13:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458786939392001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458786939392001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:21:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:21:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458786939392001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":216685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:21:54] local.INFO: GPS data processed {"connection_id":216685,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:21:54] local.INFO: Acknowledgment sent {"connection_id":216685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:22:16] local.INFO: TCP Data received {"connection_id":219971,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:22:16] local.INFO: Processing buffer {"connection_id":219971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:22:16] local.INFO: IMEI packet received {"connection_id":219971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":219971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:22:21] local.INFO: TCP Data received {"connection_id":219971,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:22:21] local.INFO: Processing buffer {"connection_id":219971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:22:21] local.INFO: IMEI packet received {"connection_id":219971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":219971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:22:22] local.INFO: TCP Data received {"connection_id":219971,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:22:22] local.INFO: Processing buffer {"connection_id":219971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:22:22] local.INFO: Packet analysis {"connection_id":219971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:22:22] local.INFO: Extracted packet for processing {"connection_id":219971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:22:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787016448001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792137084000,"timestamp_ms":1792137084000,"timestamp_seconds":1792137084,"priority":1,"record_length":96,"hex_timestamp":"000001a143b1bc60"} 
[2026-10-16 13:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787016448001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787016448001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:22:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:22:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787016448001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":219971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:22:22] local.INFO: GPS data processed {"connection_id":219971,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:22:22] local.INFO: Acknowledgment sent {"connection_id":219971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:22:53] local.INFO: TCP Data received {"connection_id":219971,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:22:53] local.INFO: Processing buffer {"connection_id":219971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:22:53] local.INFO: Packet analysis {"connection_id":219971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:22:53] local.INFO: Extracted packet for processing {"connection_id":219971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:22:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787016448001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792137084000,"timestamp_ms":1792137084000,"timestamp_seconds":1792137084,"priority":1,"record_length":96,"hex_timestamp":"000001a143b1bc60"} 
[2026-10-16 13:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:22:53] 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-10-16 13:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":219971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":219971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":219971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787016448001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787016448001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:22:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:22:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787016448001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":219971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:22:53] local.INFO: GPS data processed {"connection_id":219971,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:22:53] local.INFO: Acknowledgment sent {"connection_id":219971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:23:22] local.INFO: TCP Data received {"connection_id":216892,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:23:22] local.INFO: Processing buffer {"connection_id":216892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:23:22] local.INFO: IMEI packet received {"connection_id":216892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":216892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:23:26] local.INFO: TCP Data received {"connection_id":216892,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:23:26] local.INFO: Processing buffer {"connection_id":216892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:23:26] local.INFO: IMEI packet received {"connection_id":216892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":216892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:23:28] local.INFO: TCP Data received {"connection_id":216892,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:23:28] local.INFO: Processing buffer {"connection_id":216892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:23:28] local.INFO: Packet analysis {"connection_id":216892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:23:28] local.INFO: Extracted packet for processing {"connection_id":216892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787016448001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792137084000,"timestamp_ms":1792137084000,"timestamp_seconds":1792137084,"priority":1,"record_length":96,"hex_timestamp":"000001a143b1bc60"} 
[2026-10-16 13:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:23:28] 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-10-16 13:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787016448001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787016448001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:23:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:23:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787016448001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":216892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:23:28] local.INFO: GPS data processed {"connection_id":216892,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:23:28] local.INFO: Acknowledgment sent {"connection_id":216892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:23:32] local.INFO: TCP Data received {"connection_id":216892,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:23:32] local.INFO: Processing buffer {"connection_id":216892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:23:32] local.INFO: Packet analysis {"connection_id":216892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:23:32] local.INFO: Extracted packet for processing {"connection_id":216892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787016448001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792137084000,"timestamp_ms":1792137084000,"timestamp_seconds":1792137084,"priority":1,"record_length":96,"hex_timestamp":"000001a143b1bc60"} 
[2026-10-16 13:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787016448001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787016448001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:23:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787016448001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":216892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:23:32] local.INFO: GPS data processed {"connection_id":216892,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:23:32] local.INFO: Acknowledgment sent {"connection_id":216892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:24:16] local.INFO: TCP Data received {"connection_id":216686,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:24:16] local.INFO: Processing buffer {"connection_id":216686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:24:16] local.INFO: IMEI packet received {"connection_id":216686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":216686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:24:21] local.INFO: TCP Data received {"connection_id":219972,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:24:21] local.INFO: Processing buffer {"connection_id":219972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:24:21] local.INFO: IMEI packet received {"connection_id":219972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":219972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:24:22] local.INFO: TCP Data received {"connection_id":216686,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:24:22] local.INFO: Processing buffer {"connection_id":216686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:24:22] local.INFO: IMEI packet received {"connection_id":216686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":216686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:24:23] local.INFO: TCP Data received {"connection_id":216686,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:24:23] local.INFO: Processing buffer {"connection_id":216686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:24:23] local.INFO: Packet analysis {"connection_id":216686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:24:23] local.INFO: Extracted packet for processing {"connection_id":216686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787016448001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792137084000,"timestamp_ms":1792137084000,"timestamp_seconds":1792137084,"priority":1,"record_length":96,"hex_timestamp":"000001a143b1bc60"} 
[2026-10-16 13:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:24:23] 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-10-16 13:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787016448001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787016448001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:24:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:24:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787016448001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":216686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:24:23] local.INFO: GPS data processed {"connection_id":216686,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:24:23] local.INFO: Acknowledgment sent {"connection_id":216686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:24:51] local.INFO: TCP Data received {"connection_id":216893,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:24:51] local.INFO: Processing buffer {"connection_id":216893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:24:51] local.INFO: IMEI packet received {"connection_id":216893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":216893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:24:55] local.INFO: TCP Data received {"connection_id":216686,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:24:55] local.INFO: Processing buffer {"connection_id":216686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:24:55] local.INFO: Packet analysis {"connection_id":216686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:24:55] local.INFO: Extracted packet for processing {"connection_id":216686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787016448001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792137084000,"timestamp_ms":1792137084000,"timestamp_seconds":1792137084,"priority":1,"record_length":96,"hex_timestamp":"000001a143b1bc60"} 
[2026-10-16 13:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:24:55] 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-10-16 13:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787016448001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787016448001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:24:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:24:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787016448001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":216686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:24:55] local.INFO: GPS data processed {"connection_id":216686,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:24:55] local.INFO: Acknowledgment sent {"connection_id":216686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:25:16] local.INFO: TCP Data received {"connection_id":218241,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:25:16] local.INFO: Processing buffer {"connection_id":218241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:25:16] local.INFO: IMEI packet received {"connection_id":218241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":218241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:25:21] local.INFO: TCP Data received {"connection_id":218241,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:25:21] local.INFO: Processing buffer {"connection_id":218241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:25:21] local.INFO: IMEI packet received {"connection_id":218241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":218241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:25:23] local.INFO: TCP Data received {"connection_id":218241,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:25:23] local.INFO: Processing buffer {"connection_id":218241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:25:23] local.INFO: Packet analysis {"connection_id":218241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:25:23] local.INFO: Extracted packet for processing {"connection_id":218241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787016448001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792137084000,"timestamp_ms":1792137084000,"timestamp_seconds":1792137084,"priority":1,"record_length":96,"hex_timestamp":"000001a143b1bc60"} 
[2026-10-16 13:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:25:23] 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-10-16 13:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787016448001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787016448001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:25:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:25:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787016448001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":218241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:25:23] local.INFO: GPS data processed {"connection_id":218241,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:25:23] local.INFO: Acknowledgment sent {"connection_id":218241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:25:55] local.INFO: TCP Data received {"connection_id":218241,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:25:56] local.INFO: Processing buffer {"connection_id":218241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:25:56] local.INFO: Packet analysis {"connection_id":218241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:25:56] local.INFO: Extracted packet for processing {"connection_id":218241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787016448001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792137084000,"timestamp_ms":1792137084000,"timestamp_seconds":1792137084,"priority":1,"record_length":96,"hex_timestamp":"000001a143b1bc60"} 
[2026-10-16 13:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:25:56] 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-10-16 13:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787016448001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787016448001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:25:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:25:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787016448001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":218241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:25:56] local.INFO: GPS data processed {"connection_id":218241,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:25:56] local.INFO: Acknowledgment sent {"connection_id":218241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:26:17] local.INFO: TCP Data received {"connection_id":216687,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:26:17] local.INFO: Processing buffer {"connection_id":216687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:26:17] local.INFO: IMEI packet received {"connection_id":216687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":216687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:26:22] local.INFO: TCP Data received {"connection_id":216687,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:26:22] local.INFO: Processing buffer {"connection_id":216687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:26:22] local.INFO: IMEI packet received {"connection_id":216687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":216687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:26:22] local.INFO: TCP Data received {"connection_id":216687,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:26:23] local.INFO: Processing buffer {"connection_id":216687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:26:23] local.INFO: Packet analysis {"connection_id":216687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:26:23] local.INFO: Extracted packet for processing {"connection_id":216687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:26:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787016448001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792137084000,"timestamp_ms":1792137084000,"timestamp_seconds":1792137084,"priority":1,"record_length":96,"hex_timestamp":"000001a143b1bc60"} 
[2026-10-16 13:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:26:23] 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-10-16 13:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787016448001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787016448001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:26:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:26:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787016448001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":216687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:26:23] local.INFO: GPS data processed {"connection_id":216687,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:26:23] local.INFO: Acknowledgment sent {"connection_id":216687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:26:54] local.INFO: TCP Data received {"connection_id":216687,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:26:54] local.INFO: Processing buffer {"connection_id":216687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b1bc60012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:26:54] local.INFO: Packet analysis {"connection_id":216687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:26:54] local.INFO: Extracted packet for processing {"connection_id":216687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b1"} 
[2026-10-16 13:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787016448001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792137084000,"timestamp_ms":1792137084000,"timestamp_seconds":1792137084,"priority":1,"record_length":96,"hex_timestamp":"000001a143b1bc60"} 
[2026-10-16 13:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13: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-10-16 13:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787016448001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787016448001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:26:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:26:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787016448001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":216687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:26:54] local.INFO: GPS data processed {"connection_id":216687,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:26:54] local.INFO: Acknowledgment sent {"connection_id":216687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:27:22] local.INFO: TCP Data received {"connection_id":218242,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:27:22] local.INFO: Processing buffer {"connection_id":218242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:27:22] local.INFO: IMEI packet received {"connection_id":218242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":218242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:27:26] local.INFO: TCP Data received {"connection_id":218242,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:27:26] local.INFO: Processing buffer {"connection_id":218242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:27:26] local.INFO: IMEI packet received {"connection_id":218242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":218242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:27:27] local.INFO: TCP Data received {"connection_id":218242,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:27:27] local.INFO: Processing buffer {"connection_id":218242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:27:27] local.INFO: Packet analysis {"connection_id":218242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:27:27] local.INFO: Extracted packet for processing {"connection_id":218242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787093504001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792137385000,"timestamp_ms":1792137385000,"timestamp_seconds":1792137385,"priority":1,"record_length":96,"hex_timestamp":"000001a143b65428"} 
[2026-10-16 13:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:27:27] 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-10-16 13:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787093504001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787093504001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:27:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:27:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787093504001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":218242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:27:27] local.INFO: GPS data processed {"connection_id":218242,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:27:27] local.INFO: Acknowledgment sent {"connection_id":218242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:27:58] local.INFO: TCP Data received {"connection_id":218242,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:27:58] local.INFO: Processing buffer {"connection_id":218242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:27:58] local.INFO: Packet analysis {"connection_id":218242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:27:58] local.INFO: Extracted packet for processing {"connection_id":218242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:27: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-10-16 13:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787093504001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792137385000,"timestamp_ms":1792137385000,"timestamp_seconds":1792137385,"priority":1,"record_length":96,"hex_timestamp":"000001a143b65428"} 
[2026-10-16 13:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:27: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:27:58] 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-10-16 13:27: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-10-16 13:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787093504001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787093504001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:27:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:27:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787093504001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":218242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:27:58] local.INFO: GPS data processed {"connection_id":218242,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:27:58] local.INFO: Acknowledgment sent {"connection_id":218242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:28:16] local.INFO: TCP Data received {"connection_id":218243,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:28:16] local.INFO: Processing buffer {"connection_id":218243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:28:16] local.INFO: IMEI packet received {"connection_id":218243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":218243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:28:21] local.INFO: TCP Data received {"connection_id":218243,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:28:21] local.INFO: Processing buffer {"connection_id":218243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:28:21] local.INFO: IMEI packet received {"connection_id":218243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":218243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:28:23] local.INFO: TCP Data received {"connection_id":218243,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:28:23] local.INFO: Processing buffer {"connection_id":218243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:28:23] local.INFO: Packet analysis {"connection_id":218243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:28:23] local.INFO: Extracted packet for processing {"connection_id":218243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787093504001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792137385000,"timestamp_ms":1792137385000,"timestamp_seconds":1792137385,"priority":1,"record_length":96,"hex_timestamp":"000001a143b65428"} 
[2026-10-16 13:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:28:23] 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-10-16 13: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-10-16 13:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787093504001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787093504001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:28:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:28:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787093504001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":218243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:28:23] local.INFO: GPS data processed {"connection_id":218243,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:28:23] local.INFO: Acknowledgment sent {"connection_id":218243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:28:55] local.INFO: TCP Data received {"connection_id":218243,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:28:55] local.INFO: Processing buffer {"connection_id":218243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:28:55] local.INFO: Packet analysis {"connection_id":218243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:28:55] local.INFO: Extracted packet for processing {"connection_id":218243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787093504001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792137385000,"timestamp_ms":1792137385000,"timestamp_seconds":1792137385,"priority":1,"record_length":96,"hex_timestamp":"000001a143b65428"} 
[2026-10-16 13:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:28:55] 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-10-16 13:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787093504001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787093504001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:28:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:28:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787093504001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":218243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:28:55] local.INFO: GPS data processed {"connection_id":218243,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:28:55] local.INFO: Acknowledgment sent {"connection_id":218243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:29:16] local.INFO: TCP Data received {"connection_id":216894,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:29:16] local.INFO: Processing buffer {"connection_id":216894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:29:16] local.INFO: IMEI packet received {"connection_id":216894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":216894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:29:21] local.INFO: TCP Data received {"connection_id":216894,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:29:21] local.INFO: Processing buffer {"connection_id":216894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:29:21] local.INFO: IMEI packet received {"connection_id":216894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":216894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:29:22] local.INFO: TCP Data received {"connection_id":216894,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:29:22] local.INFO: Processing buffer {"connection_id":216894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:29:22] local.INFO: Packet analysis {"connection_id":216894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:29:22] local.INFO: Extracted packet for processing {"connection_id":216894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787093504001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792137385000,"timestamp_ms":1792137385000,"timestamp_seconds":1792137385,"priority":1,"record_length":96,"hex_timestamp":"000001a143b65428"} 
[2026-10-16 13:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787093504001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787093504001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:29:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:29:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787093504001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":216894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:29:22] local.INFO: GPS data processed {"connection_id":216894,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:29:22] local.INFO: Acknowledgment sent {"connection_id":216894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:29:54] local.INFO: TCP Data received {"connection_id":216894,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:29:54] local.INFO: Processing buffer {"connection_id":216894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:29:54] local.INFO: Packet analysis {"connection_id":216894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:29:54] local.INFO: Extracted packet for processing {"connection_id":216894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787093504001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792137385000,"timestamp_ms":1792137385000,"timestamp_seconds":1792137385,"priority":1,"record_length":96,"hex_timestamp":"000001a143b65428"} 
[2026-10-16 13:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787093504001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787093504001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:29:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:29:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787093504001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":216894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:29:54] local.INFO: GPS data processed {"connection_id":216894,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:29:54] local.INFO: Acknowledgment sent {"connection_id":216894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:30:16] local.INFO: TCP Data received {"connection_id":219974,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:30:16] local.INFO: Processing buffer {"connection_id":219974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:30:16] local.INFO: IMEI packet received {"connection_id":219974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":219974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:30:21] local.INFO: TCP Data received {"connection_id":218244,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:30:21] local.INFO: Processing buffer {"connection_id":218244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:30:21] local.INFO: IMEI packet received {"connection_id":218244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":218244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:30:26] local.INFO: TCP Data received {"connection_id":218244,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:30:26] local.INFO: Processing buffer {"connection_id":218244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:30:26] local.INFO: IMEI packet received {"connection_id":218244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":218244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:30:27] local.INFO: TCP Data received {"connection_id":218244,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:30:27] local.INFO: Processing buffer {"connection_id":218244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:30:27] local.INFO: Packet analysis {"connection_id":218244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:30:27] local.INFO: Extracted packet for processing {"connection_id":218244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787093504001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792137385000,"timestamp_ms":1792137385000,"timestamp_seconds":1792137385,"priority":1,"record_length":96,"hex_timestamp":"000001a143b65428"} 
[2026-10-16 13:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:30:27] 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-10-16 13: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-10-16 13:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787093504001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787093504001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:30:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:30:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787093504001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":218244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:30:27] local.INFO: GPS data processed {"connection_id":218244,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:30:27] local.INFO: Acknowledgment sent {"connection_id":218244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:30:32] local.INFO: TCP Data received {"connection_id":218244,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:30:32] local.INFO: Processing buffer {"connection_id":218244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:30:32] local.INFO: Packet analysis {"connection_id":218244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:30:32] local.INFO: Extracted packet for processing {"connection_id":218244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787093504001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792137385000,"timestamp_ms":1792137385000,"timestamp_seconds":1792137385,"priority":1,"record_length":96,"hex_timestamp":"000001a143b65428"} 
[2026-10-16 13:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787093504001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787093504001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:30:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:30:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787093504001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":218244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:30:32] local.INFO: GPS data processed {"connection_id":218244,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:30:32] local.INFO: Acknowledgment sent {"connection_id":218244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:30:52] local.INFO: TCP Data received {"connection_id":218245,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:30:52] local.INFO: Processing buffer {"connection_id":218245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:30:52] local.INFO: IMEI packet received {"connection_id":218245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":218245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:31:16] local.INFO: TCP Data received {"connection_id":216691,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:31:16] local.INFO: Processing buffer {"connection_id":216691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:31:16] local.INFO: IMEI packet received {"connection_id":216691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":216691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:31:22] local.INFO: TCP Data received {"connection_id":216691,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:31:22] local.INFO: Processing buffer {"connection_id":216691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:31:22] local.INFO: IMEI packet received {"connection_id":216691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":216691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:31:22] local.INFO: TCP Data received {"connection_id":216691,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:31:22] local.INFO: Processing buffer {"connection_id":216691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:31:22] local.INFO: Packet analysis {"connection_id":216691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:31:22] local.INFO: Extracted packet for processing {"connection_id":216691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787093504001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792137385000,"timestamp_ms":1792137385000,"timestamp_seconds":1792137385,"priority":1,"record_length":96,"hex_timestamp":"000001a143b65428"} 
[2026-10-16 13:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787093504001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787093504001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:31:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:31:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787093504001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":216691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:31:22] local.INFO: GPS data processed {"connection_id":216691,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:31:22] local.INFO: Acknowledgment sent {"connection_id":216691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:31:54] local.INFO: TCP Data received {"connection_id":216691,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:31:54] local.INFO: Processing buffer {"connection_id":216691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143b65428012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:31:54] local.INFO: Packet analysis {"connection_id":216691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:31:54] local.INFO: Extracted packet for processing {"connection_id":216691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143b6"} 
[2026-10-16 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787093504001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792137385000,"timestamp_ms":1792137385000,"timestamp_seconds":1792137385,"priority":1,"record_length":96,"hex_timestamp":"000001a143b65428"} 
[2026-10-16 13:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787093504001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787093504001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:31:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:31:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787093504001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":216691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:31:54] local.INFO: GPS data processed {"connection_id":216691,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:31:54] local.INFO: Acknowledgment sent {"connection_id":216691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:32:16] local.INFO: TCP Data received {"connection_id":218246,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:32:16] local.INFO: Processing buffer {"connection_id":218246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:32:16] local.INFO: IMEI packet received {"connection_id":218246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":218246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:32:21] local.INFO: TCP Data received {"connection_id":218246,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:32:21] local.INFO: Processing buffer {"connection_id":218246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:32:21] local.INFO: IMEI packet received {"connection_id":218246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":218246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:32:22] local.INFO: TCP Data received {"connection_id":218246,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:32:22] local.INFO: Processing buffer {"connection_id":218246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:32:22] local.INFO: Packet analysis {"connection_id":218246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:32:22] local.INFO: Extracted packet for processing {"connection_id":218246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:32:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787170560001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792137686000,"timestamp_ms":1792137686000,"timestamp_seconds":1792137686,"priority":1,"record_length":96,"hex_timestamp":"000001a143baebf0"} 
[2026-10-16 13:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 13:32:22] 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-10-16 13:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787170560001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787170560001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:32:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:32:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787170560001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":218246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:32:22] local.INFO: GPS data processed {"connection_id":218246,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:32:22] local.INFO: Acknowledgment sent {"connection_id":218246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:32:53] local.INFO: TCP Data received {"connection_id":218246,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:32:53] local.INFO: Processing buffer {"connection_id":218246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:32:53] local.INFO: Packet analysis {"connection_id":218246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:32:53] local.INFO: Extracted packet for processing {"connection_id":218246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:32:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787170560001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792137686000,"timestamp_ms":1792137686000,"timestamp_seconds":1792137686,"priority":1,"record_length":96,"hex_timestamp":"000001a143baebf0"} 
[2026-10-16 13:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 13:32:53] 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-10-16 13:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787170560001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787170560001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:32:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:32:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787170560001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":218246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:32:53] local.INFO: GPS data processed {"connection_id":218246,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:32:53] local.INFO: Acknowledgment sent {"connection_id":218246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:33:16] local.INFO: TCP Data received {"connection_id":219976,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:33:16] local.INFO: Processing buffer {"connection_id":219976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:33:16] local.INFO: IMEI packet received {"connection_id":219976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":219976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:33:22] local.INFO: TCP Data received {"connection_id":219976,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:33:22] local.INFO: Processing buffer {"connection_id":219976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:33:22] local.INFO: IMEI packet received {"connection_id":219976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":219976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:33:23] local.INFO: TCP Data received {"connection_id":219976,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:33:23] local.INFO: Processing buffer {"connection_id":219976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:33:23] local.INFO: Packet analysis {"connection_id":219976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:33:23] local.INFO: Extracted packet for processing {"connection_id":219976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787170560001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792137686000,"timestamp_ms":1792137686000,"timestamp_seconds":1792137686,"priority":1,"record_length":96,"hex_timestamp":"000001a143baebf0"} 
[2026-10-16 13:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 13:33:23] 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-10-16 13: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-10-16 13:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787170560001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787170560001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:33:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:33:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787170560001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":219976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:33:23] local.INFO: GPS data processed {"connection_id":219976,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:33:23] local.INFO: Acknowledgment sent {"connection_id":219976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:33:54] local.INFO: TCP Data received {"connection_id":219976,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:33:54] local.INFO: Processing buffer {"connection_id":219976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:33:54] local.INFO: Packet analysis {"connection_id":219976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:33:54] local.INFO: Extracted packet for processing {"connection_id":219976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787170560001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792137686000,"timestamp_ms":1792137686000,"timestamp_seconds":1792137686,"priority":1,"record_length":96,"hex_timestamp":"000001a143baebf0"} 
[2026-10-16 13:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 13:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787170560001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787170560001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:33:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:33:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787170560001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":219976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:33:54] local.INFO: GPS data processed {"connection_id":219976,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:33:54] local.INFO: Acknowledgment sent {"connection_id":219976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:34:22] local.INFO: TCP Data received {"connection_id":218247,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:34:22] local.INFO: Processing buffer {"connection_id":218247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:34:22] local.INFO: IMEI packet received {"connection_id":218247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":218247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:34:26] local.INFO: TCP Data received {"connection_id":218247,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:34:26] local.INFO: Processing buffer {"connection_id":218247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:34:26] local.INFO: IMEI packet received {"connection_id":218247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":218247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:34:27] local.INFO: TCP Data received {"connection_id":218247,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:34:27] local.INFO: Processing buffer {"connection_id":218247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:34:27] local.INFO: Packet analysis {"connection_id":218247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:34:27] local.INFO: Extracted packet for processing {"connection_id":218247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787170560001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792137686000,"timestamp_ms":1792137686000,"timestamp_seconds":1792137686,"priority":1,"record_length":96,"hex_timestamp":"000001a143baebf0"} 
[2026-10-16 13:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 13:34:27] 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-10-16 13:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787170560001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787170560001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:34:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:34:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787170560001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":218247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:34:27] local.INFO: GPS data processed {"connection_id":218247,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:34:27] local.INFO: Acknowledgment sent {"connection_id":218247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:34:32] local.INFO: TCP Data received {"connection_id":218247,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:34:32] local.INFO: Processing buffer {"connection_id":218247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:34:32] local.INFO: Packet analysis {"connection_id":218247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:34:32] local.INFO: Extracted packet for processing {"connection_id":218247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787170560001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792137686000,"timestamp_ms":1792137686000,"timestamp_seconds":1792137686,"priority":1,"record_length":96,"hex_timestamp":"000001a143baebf0"} 
[2026-10-16 13:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 13:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787170560001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787170560001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:34:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:34:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787170560001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":218247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:34:32] local.INFO: GPS data processed {"connection_id":218247,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:34:32] local.INFO: Acknowledgment sent {"connection_id":218247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:35:16] local.INFO: TCP Data received {"connection_id":216897,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:35:16] local.INFO: Processing buffer {"connection_id":216897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:35:16] local.INFO: IMEI packet received {"connection_id":216897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":216897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:35:21] local.INFO: TCP Data received {"connection_id":216897,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:35:21] local.INFO: Processing buffer {"connection_id":216897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:35:21] local.INFO: IMEI packet received {"connection_id":216897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":216897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:35:23] local.INFO: TCP Data received {"connection_id":216897,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:35:23] local.INFO: Processing buffer {"connection_id":216897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:35:23] local.INFO: Packet analysis {"connection_id":216897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:35:23] local.INFO: Extracted packet for processing {"connection_id":216897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787170560001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792137686000,"timestamp_ms":1792137686000,"timestamp_seconds":1792137686,"priority":1,"record_length":96,"hex_timestamp":"000001a143baebf0"} 
[2026-10-16 13:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 13:35:23] 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-10-16 13:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787170560001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787170560001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:35:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:35:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787170560001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":216897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:35:23] local.INFO: GPS data processed {"connection_id":216897,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:35:23] local.INFO: Acknowledgment sent {"connection_id":216897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:35:55] local.INFO: TCP Data received {"connection_id":216897,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:35:55] local.INFO: Processing buffer {"connection_id":216897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:35:55] local.INFO: Packet analysis {"connection_id":216897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:35:55] local.INFO: Extracted packet for processing {"connection_id":216897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787170560001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792137686000,"timestamp_ms":1792137686000,"timestamp_seconds":1792137686,"priority":1,"record_length":96,"hex_timestamp":"000001a143baebf0"} 
[2026-10-16 13:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 13:35:55] 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-10-16 13:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787170560001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787170560001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:35:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:35:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787170560001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":216897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:35:55] local.INFO: GPS data processed {"connection_id":216897,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:35:55] local.INFO: Acknowledgment sent {"connection_id":216897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:36:11] local.INFO: TCP Data received {"connection_id":219978,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:36:11] local.INFO: Processing buffer {"connection_id":219978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:36:11] local.INFO: IMEI packet received {"connection_id":219978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":219978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:36:16] local.INFO: TCP Data received {"connection_id":219979,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:36:16] local.INFO: Processing buffer {"connection_id":219979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:36:16] local.INFO: IMEI packet received {"connection_id":219979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":219979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:36:21] local.INFO: TCP Data received {"connection_id":219979,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:36:21] local.INFO: Processing buffer {"connection_id":219979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:36:21] local.INFO: IMEI packet received {"connection_id":219979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":219979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:36:22] local.INFO: TCP Data received {"connection_id":219979,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:36:22] local.INFO: Processing buffer {"connection_id":219979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:36:22] local.INFO: Packet analysis {"connection_id":219979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:36:22] local.INFO: Extracted packet for processing {"connection_id":219979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:36:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787170560001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792137686000,"timestamp_ms":1792137686000,"timestamp_seconds":1792137686,"priority":1,"record_length":96,"hex_timestamp":"000001a143baebf0"} 
[2026-10-16 13:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 13:36:22] 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-10-16 13: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-10-16 13:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787170560001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787170560001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:36:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:36:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787170560001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":219979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:36:22] local.INFO: GPS data processed {"connection_id":219979,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:36:22] local.INFO: Acknowledgment sent {"connection_id":219979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:36:50] local.INFO: TCP Data received {"connection_id":216898,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:36:50] local.INFO: Processing buffer {"connection_id":216898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:36:50] local.INFO: IMEI packet received {"connection_id":216898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":216898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:36:54] local.INFO: TCP Data received {"connection_id":219979,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:36:54] local.INFO: Processing buffer {"connection_id":219979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143baebf0012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:36:54] local.INFO: Packet analysis {"connection_id":219979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:36:54] local.INFO: Extracted packet for processing {"connection_id":219979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ba"} 
[2026-10-16 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787170560001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792137686000,"timestamp_ms":1792137686000,"timestamp_seconds":1792137686,"priority":1,"record_length":96,"hex_timestamp":"000001a143baebf0"} 
[2026-10-16 13:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 13:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787170560001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787170560001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:36:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:36:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787170560001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":219979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:36:54] local.INFO: GPS data processed {"connection_id":219979,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:36:54] local.INFO: Acknowledgment sent {"connection_id":219979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:37:16] local.INFO: TCP Data received {"connection_id":218248,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:37:16] local.INFO: Processing buffer {"connection_id":218248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:37:16] local.INFO: IMEI packet received {"connection_id":218248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":218248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:37:21] local.INFO: TCP Data received {"connection_id":218248,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:37:21] local.INFO: Processing buffer {"connection_id":218248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:37:21] local.INFO: IMEI packet received {"connection_id":218248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":218248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:37:22] local.INFO: TCP Data received {"connection_id":218248,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:37:22] local.INFO: Processing buffer {"connection_id":218248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:37:22] local.INFO: Packet analysis {"connection_id":218248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:37:22] local.INFO: Extracted packet for processing {"connection_id":218248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:37:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787247616001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792137987000,"timestamp_ms":1792137987000,"timestamp_seconds":1792137987,"priority":1,"record_length":96,"hex_timestamp":"000001a143bf83b8"} 
[2026-10-16 13:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787247616001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787247616001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:37:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:37:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787247616001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":218248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:37:22] local.INFO: GPS data processed {"connection_id":218248,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:37:22] local.INFO: Acknowledgment sent {"connection_id":218248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:37:53] local.INFO: TCP Data received {"connection_id":218248,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:37:53] local.INFO: Processing buffer {"connection_id":218248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:37:53] local.INFO: Packet analysis {"connection_id":218248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:37:53] local.INFO: Extracted packet for processing {"connection_id":218248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:37:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787247616001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792137987000,"timestamp_ms":1792137987000,"timestamp_seconds":1792137987,"priority":1,"record_length":96,"hex_timestamp":"000001a143bf83b8"} 
[2026-10-16 13:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787247616001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787247616001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:37:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:37:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787247616001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":218248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:37:53] local.INFO: GPS data processed {"connection_id":218248,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:37:53] local.INFO: Acknowledgment sent {"connection_id":218248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:38:17] local.INFO: TCP Data received {"connection_id":216692,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:38:17] local.INFO: Processing buffer {"connection_id":216692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:38:17] local.INFO: IMEI packet received {"connection_id":216692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":216692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:38:21] local.INFO: TCP Data received {"connection_id":216692,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:38:22] local.INFO: Processing buffer {"connection_id":216692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:38:22] local.INFO: IMEI packet received {"connection_id":216692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":216692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:38:23] local.INFO: TCP Data received {"connection_id":216692,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:38:23] local.INFO: Processing buffer {"connection_id":216692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:38:23] local.INFO: Packet analysis {"connection_id":216692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:38:23] local.INFO: Extracted packet for processing {"connection_id":216692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:38: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-10-16 13:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787247616001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792137987000,"timestamp_ms":1792137987000,"timestamp_seconds":1792137987,"priority":1,"record_length":96,"hex_timestamp":"000001a143bf83b8"} 
[2026-10-16 13:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:38: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:38:23] 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-10-16 13:38: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-10-16 13:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787247616001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787247616001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:38:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:38:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787247616001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":216692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:38:23] local.INFO: GPS data processed {"connection_id":216692,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:38:23] local.INFO: Acknowledgment sent {"connection_id":216692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:38:55] local.INFO: TCP Data received {"connection_id":216692,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:38:55] local.INFO: Processing buffer {"connection_id":216692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:38:55] local.INFO: Packet analysis {"connection_id":216692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:38:55] local.INFO: Extracted packet for processing {"connection_id":216692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787247616001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792137987000,"timestamp_ms":1792137987000,"timestamp_seconds":1792137987,"priority":1,"record_length":96,"hex_timestamp":"000001a143bf83b8"} 
[2026-10-16 13:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787247616001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787247616001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:38:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:38:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787247616001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":216692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:38:55] local.INFO: GPS data processed {"connection_id":216692,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:38:55] local.INFO: Acknowledgment sent {"connection_id":216692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:39:16] local.INFO: TCP Data received {"connection_id":216900,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:39:16] local.INFO: Processing buffer {"connection_id":216900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:39:16] local.INFO: IMEI packet received {"connection_id":216900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":216900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:39:22] local.INFO: TCP Data received {"connection_id":216900,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:39:22] local.INFO: Processing buffer {"connection_id":216900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:39:22] local.INFO: IMEI packet received {"connection_id":216900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":216900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:39:23] local.INFO: TCP Data received {"connection_id":216900,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:39:23] local.INFO: Processing buffer {"connection_id":216900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:39:23] local.INFO: Packet analysis {"connection_id":216900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:39:23] local.INFO: Extracted packet for processing {"connection_id":216900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787247616001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792137987000,"timestamp_ms":1792137987000,"timestamp_seconds":1792137987,"priority":1,"record_length":96,"hex_timestamp":"000001a143bf83b8"} 
[2026-10-16 13:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:39:23] 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-10-16 13: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-10-16 13:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787247616001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787247616001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:39:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:39:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787247616001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":216900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:39:23] local.INFO: GPS data processed {"connection_id":216900,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:39:23] local.INFO: Acknowledgment sent {"connection_id":216900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:39:55] local.INFO: TCP Data received {"connection_id":216900,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:39:55] local.INFO: Processing buffer {"connection_id":216900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:39:55] local.INFO: Packet analysis {"connection_id":216900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:39:55] local.INFO: Extracted packet for processing {"connection_id":216900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787247616001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792137987000,"timestamp_ms":1792137987000,"timestamp_seconds":1792137987,"priority":1,"record_length":96,"hex_timestamp":"000001a143bf83b8"} 
[2026-10-16 13:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787247616001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787247616001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:39:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:39:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787247616001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":216900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:39:55] local.INFO: GPS data processed {"connection_id":216900,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:39:55] local.INFO: Acknowledgment sent {"connection_id":216900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:40:16] local.INFO: TCP Data received {"connection_id":216694,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:40:16] local.INFO: Processing buffer {"connection_id":216694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:40:16] local.INFO: IMEI packet received {"connection_id":216694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":216694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:40:21] local.INFO: TCP Data received {"connection_id":216694,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:40:21] local.INFO: Processing buffer {"connection_id":216694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:40:21] local.INFO: IMEI packet received {"connection_id":216694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":216694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:40:22] local.INFO: TCP Data received {"connection_id":216694,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:40:22] local.INFO: Processing buffer {"connection_id":216694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:40:22] local.INFO: Packet analysis {"connection_id":216694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:40:22] local.INFO: Extracted packet for processing {"connection_id":216694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:40:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787247616001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792137987000,"timestamp_ms":1792137987000,"timestamp_seconds":1792137987,"priority":1,"record_length":96,"hex_timestamp":"000001a143bf83b8"} 
[2026-10-16 13:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787247616001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787247616001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:40:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:40:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787247616001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":216694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:40:22] local.INFO: GPS data processed {"connection_id":216694,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:40:22] local.INFO: Acknowledgment sent {"connection_id":216694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:40:54] local.INFO: TCP Data received {"connection_id":216694,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:40:54] local.INFO: Processing buffer {"connection_id":216694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:40:54] local.INFO: Packet analysis {"connection_id":216694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:40:54] local.INFO: Extracted packet for processing {"connection_id":216694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787247616001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792137987000,"timestamp_ms":1792137987000,"timestamp_seconds":1792137987,"priority":1,"record_length":96,"hex_timestamp":"000001a143bf83b8"} 
[2026-10-16 13:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:40:54] 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-10-16 13:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787247616001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787247616001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:40:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:40:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787247616001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":216694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:40:54] local.INFO: GPS data processed {"connection_id":216694,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:40:54] local.INFO: Acknowledgment sent {"connection_id":216694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:41:16] local.INFO: TCP Data received {"connection_id":216695,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:41:16] local.INFO: Processing buffer {"connection_id":216695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:41:16] local.INFO: IMEI packet received {"connection_id":216695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":216695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:41:21] local.INFO: TCP Data received {"connection_id":216695,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:41:21] local.INFO: Processing buffer {"connection_id":216695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:41:21] local.INFO: IMEI packet received {"connection_id":216695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":216695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:41:22] local.INFO: TCP Data received {"connection_id":216695,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:41:22] local.INFO: Processing buffer {"connection_id":216695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:41:22] local.INFO: Packet analysis {"connection_id":216695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:41:22] local.INFO: Extracted packet for processing {"connection_id":216695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787247616001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792137987000,"timestamp_ms":1792137987000,"timestamp_seconds":1792137987,"priority":1,"record_length":96,"hex_timestamp":"000001a143bf83b8"} 
[2026-10-16 13:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13: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-10-16 13:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787247616001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787247616001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:41:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:41:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787247616001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":216695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:41:23] local.INFO: GPS data processed {"connection_id":216695,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:41:23] local.INFO: Acknowledgment sent {"connection_id":216695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:41:54] local.INFO: TCP Data received {"connection_id":216695,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:41:54] local.INFO: Processing buffer {"connection_id":216695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143bf83b8012d7fa40005afce580009000a2e..."} 
[2026-10-16 13:41:54] local.INFO: Packet analysis {"connection_id":216695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:41:54] local.INFO: Extracted packet for processing {"connection_id":216695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143bf"} 
[2026-10-16 13:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787247616001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792137987000,"timestamp_ms":1792137987000,"timestamp_seconds":1792137987,"priority":1,"record_length":96,"hex_timestamp":"000001a143bf83b8"} 
[2026-10-16 13:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 13:41:54] 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-10-16 13:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787247616001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787247616001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:41:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:41:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787247616001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":216695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:41:54] local.INFO: GPS data processed {"connection_id":216695,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:41:54] local.INFO: Acknowledgment sent {"connection_id":216695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:42:22] local.INFO: TCP Data received {"connection_id":218250,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:42:22] local.INFO: Processing buffer {"connection_id":218250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:42:22] local.INFO: IMEI packet received {"connection_id":218250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":218250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:42:23] local.INFO: TCP Data received {"connection_id":216901,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:42:23] local.INFO: Processing buffer {"connection_id":216901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:42:23] local.INFO: IMEI packet received {"connection_id":216901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":216901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:42:27] local.INFO: TCP Data received {"connection_id":218250,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:42:27] local.INFO: Processing buffer {"connection_id":218250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:42:27] local.INFO: IMEI packet received {"connection_id":218250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":218250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:42:28] local.INFO: TCP Data received {"connection_id":218250,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:42:28] local.INFO: Processing buffer {"connection_id":218250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:42:28] local.INFO: Packet analysis {"connection_id":218250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:42:28] local.INFO: Extracted packet for processing {"connection_id":218250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787324672001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792138288000,"timestamp_ms":1792138288000,"timestamp_seconds":1792138288,"priority":1,"record_length":96,"hex_timestamp":"000001a143c41b80"} 
[2026-10-16 13:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:42:28] 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-10-16 13:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787324672001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787324672001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:42:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:42:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787324672001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":218250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:42:28] local.INFO: GPS data processed {"connection_id":218250,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:42:28] local.INFO: Acknowledgment sent {"connection_id":218250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:42:51] local.INFO: TCP Data received {"connection_id":216902,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:42:51] local.INFO: Processing buffer {"connection_id":216902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:42:51] local.INFO: IMEI packet received {"connection_id":216902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":216902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:42:59] local.INFO: TCP Data received {"connection_id":218250,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:42:59] local.INFO: Processing buffer {"connection_id":218250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:42:59] local.INFO: Packet analysis {"connection_id":218250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:42:59] local.INFO: Extracted packet for processing {"connection_id":218250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787324672001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792138288000,"timestamp_ms":1792138288000,"timestamp_seconds":1792138288,"priority":1,"record_length":96,"hex_timestamp":"000001a143c41b80"} 
[2026-10-16 13:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:42:59] 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-10-16 13:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787324672001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787324672001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:42:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:42:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787324672001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":218250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:43:00] local.INFO: GPS data processed {"connection_id":218250,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:43:00] local.INFO: Acknowledgment sent {"connection_id":218250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:43:16] local.INFO: TCP Data received {"connection_id":216903,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:43:16] local.INFO: Processing buffer {"connection_id":216903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:43:16] local.INFO: IMEI packet received {"connection_id":216903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":216903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:43:21] local.INFO: TCP Data received {"connection_id":216903,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:43:21] local.INFO: Processing buffer {"connection_id":216903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:43:21] local.INFO: IMEI packet received {"connection_id":216903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":216903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:43:23] local.INFO: TCP Data received {"connection_id":216903,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:43:23] local.INFO: Processing buffer {"connection_id":216903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:43:23] local.INFO: Packet analysis {"connection_id":216903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:43:23] local.INFO: Extracted packet for processing {"connection_id":216903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787324672001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792138288000,"timestamp_ms":1792138288000,"timestamp_seconds":1792138288,"priority":1,"record_length":96,"hex_timestamp":"000001a143c41b80"} 
[2026-10-16 13:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:43:23] 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-10-16 13:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787324672001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787324672001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:43:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:43:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787324672001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":216903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:43:23] local.INFO: GPS data processed {"connection_id":216903,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:43:23] local.INFO: Acknowledgment sent {"connection_id":216903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:43:54] local.INFO: TCP Data received {"connection_id":216903,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:43:54] local.INFO: Processing buffer {"connection_id":216903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:43:54] local.INFO: Packet analysis {"connection_id":216903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:43:54] local.INFO: Extracted packet for processing {"connection_id":216903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787324672001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792138288000,"timestamp_ms":1792138288000,"timestamp_seconds":1792138288,"priority":1,"record_length":96,"hex_timestamp":"000001a143c41b80"} 
[2026-10-16 13:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:43:54] 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-10-16 13:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787324672001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787324672001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:43:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:43:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787324672001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":216903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:43:54] local.INFO: GPS data processed {"connection_id":216903,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:43:54] local.INFO: Acknowledgment sent {"connection_id":216903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:44:16] local.INFO: TCP Data received {"connection_id":216904,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:44:16] local.INFO: Processing buffer {"connection_id":216904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:44:16] local.INFO: IMEI packet received {"connection_id":216904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":216904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:44:21] local.INFO: TCP Data received {"connection_id":216904,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:44:21] local.INFO: Processing buffer {"connection_id":216904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:44:21] local.INFO: IMEI packet received {"connection_id":216904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":216904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:44:23] local.INFO: TCP Data received {"connection_id":216904,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:44:23] local.INFO: Processing buffer {"connection_id":216904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:44:23] local.INFO: Packet analysis {"connection_id":216904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:44:23] local.INFO: Extracted packet for processing {"connection_id":216904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787324672001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792138288000,"timestamp_ms":1792138288000,"timestamp_seconds":1792138288,"priority":1,"record_length":96,"hex_timestamp":"000001a143c41b80"} 
[2026-10-16 13:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:44:23] 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-10-16 13: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-10-16 13:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787324672001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787324672001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:44:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:44:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787324672001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":216904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:44:23] local.INFO: GPS data processed {"connection_id":216904,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:44:23] local.INFO: Acknowledgment sent {"connection_id":216904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:44:55] local.INFO: TCP Data received {"connection_id":216904,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:44:55] local.INFO: Processing buffer {"connection_id":216904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:44:55] local.INFO: Packet analysis {"connection_id":216904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:44:55] local.INFO: Extracted packet for processing {"connection_id":216904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787324672001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792138288000,"timestamp_ms":1792138288000,"timestamp_seconds":1792138288,"priority":1,"record_length":96,"hex_timestamp":"000001a143c41b80"} 
[2026-10-16 13:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:44:55] 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-10-16 13: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-10-16 13:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787324672001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787324672001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:44:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:44:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787324672001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":216904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:44:55] local.INFO: GPS data processed {"connection_id":216904,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:44:55] local.INFO: Acknowledgment sent {"connection_id":216904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:45:16] local.INFO: TCP Data received {"connection_id":218252,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:45:16] local.INFO: Processing buffer {"connection_id":218252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:45:16] local.INFO: IMEI packet received {"connection_id":218252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":218252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:45:21] local.INFO: TCP Data received {"connection_id":218252,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:45:21] local.INFO: Processing buffer {"connection_id":218252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:45:21] local.INFO: IMEI packet received {"connection_id":218252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":218252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:45:22] local.INFO: TCP Data received {"connection_id":218252,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:45:22] local.INFO: Processing buffer {"connection_id":218252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:45:22] local.INFO: Packet analysis {"connection_id":218252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:45:22] local.INFO: Extracted packet for processing {"connection_id":218252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:45:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787324672001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792138288000,"timestamp_ms":1792138288000,"timestamp_seconds":1792138288,"priority":1,"record_length":96,"hex_timestamp":"000001a143c41b80"} 
[2026-10-16 13:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:45:22] 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-10-16 13:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787324672001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787324672001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:45:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:45:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787324672001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":218252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:45:22] local.INFO: GPS data processed {"connection_id":218252,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:45:22] local.INFO: Acknowledgment sent {"connection_id":218252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:45:54] local.INFO: TCP Data received {"connection_id":218252,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:45:54] local.INFO: Processing buffer {"connection_id":218252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:45:54] local.INFO: Packet analysis {"connection_id":218252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:45:54] local.INFO: Extracted packet for processing {"connection_id":218252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787324672001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792138288000,"timestamp_ms":1792138288000,"timestamp_seconds":1792138288,"priority":1,"record_length":96,"hex_timestamp":"000001a143c41b80"} 
[2026-10-16 13:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:45:54] 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-10-16 13:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787324672001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787324672001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:45:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:45:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787324672001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":218252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:45:54] local.INFO: GPS data processed {"connection_id":218252,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:45:54] local.INFO: Acknowledgment sent {"connection_id":218252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:46:21] local.INFO: TCP Data received {"connection_id":216905,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:46:21] local.INFO: Processing buffer {"connection_id":216905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:46:21] local.INFO: IMEI packet received {"connection_id":216905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":216905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:46:26] local.INFO: TCP Data received {"connection_id":216905,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:46:26] local.INFO: Processing buffer {"connection_id":216905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:46:26] local.INFO: IMEI packet received {"connection_id":216905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":216905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:46:27] local.INFO: TCP Data received {"connection_id":216905,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:46:27] local.INFO: Processing buffer {"connection_id":216905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:46:27] local.INFO: Packet analysis {"connection_id":216905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:46:27] local.INFO: Extracted packet for processing {"connection_id":216905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787324672001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792138288000,"timestamp_ms":1792138288000,"timestamp_seconds":1792138288,"priority":1,"record_length":96,"hex_timestamp":"000001a143c41b80"} 
[2026-10-16 13:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:46:27] 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-10-16 13:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787324672001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787324672001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:46:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:46:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787324672001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":216905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:46:27] local.INFO: GPS data processed {"connection_id":216905,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:46:27] local.INFO: Acknowledgment sent {"connection_id":216905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:46:32] local.INFO: TCP Data received {"connection_id":216905,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:46:32] local.INFO: Processing buffer {"connection_id":216905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c41b80012d7fa40005afce580009000a2c..."} 
[2026-10-16 13:46:32] local.INFO: Packet analysis {"connection_id":216905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:46:32] local.INFO: Extracted packet for processing {"connection_id":216905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c4"} 
[2026-10-16 13:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787324672001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792138288000,"timestamp_ms":1792138288000,"timestamp_seconds":1792138288,"priority":1,"record_length":96,"hex_timestamp":"000001a143c41b80"} 
[2026-10-16 13:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787324672001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787324672001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:46:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787324672001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":216905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:46:32] local.INFO: GPS data processed {"connection_id":216905,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:46:32] local.INFO: Acknowledgment sent {"connection_id":216905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:47:16] local.INFO: TCP Data received {"connection_id":219981,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:47:16] local.INFO: Processing buffer {"connection_id":219981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:47:16] local.INFO: IMEI packet received {"connection_id":219981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":219981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:47:21] local.INFO: TCP Data received {"connection_id":219981,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:47:21] local.INFO: Processing buffer {"connection_id":219981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:47:21] local.INFO: IMEI packet received {"connection_id":219981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":219981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:47:22] local.INFO: TCP Data received {"connection_id":219981,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:47:22] local.INFO: Processing buffer {"connection_id":219981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:47:22] local.INFO: Packet analysis {"connection_id":219981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:47:22] local.INFO: Extracted packet for processing {"connection_id":219981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:47:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:47:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:47:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":219981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:47:22] local.INFO: GPS data processed {"connection_id":219981,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:47:22] local.INFO: Acknowledgment sent {"connection_id":219981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:47:27] local.INFO: TCP Data received {"connection_id":219981,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:47:27] local.INFO: Processing buffer {"connection_id":219981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:47:27] local.INFO: Packet analysis {"connection_id":219981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:47:27] local.INFO: Extracted packet for processing {"connection_id":219981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:47:27] 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-10-16 13:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:47:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:47:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":219981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:47:27] local.INFO: GPS data processed {"connection_id":219981,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:47:27] local.INFO: Acknowledgment sent {"connection_id":219981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:47:59] local.INFO: TCP Data received {"connection_id":219981,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:47:59] local.INFO: Processing buffer {"connection_id":219981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:47:59] local.INFO: Packet analysis {"connection_id":219981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:47:59] local.INFO: Extracted packet for processing {"connection_id":219981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:47:59] 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-10-16 13:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":219981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":219981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":219981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:47:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:47:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":219981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:47:59] local.INFO: GPS data processed {"connection_id":219981,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:47:59] local.INFO: Acknowledgment sent {"connection_id":219981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:48:16] local.INFO: TCP Data received {"connection_id":216906,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:48:16] local.INFO: Processing buffer {"connection_id":216906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:48:16] local.INFO: IMEI packet received {"connection_id":216906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":216906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:48:16] local.INFO: TCP Data received {"connection_id":216698,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:48:16] local.INFO: Processing buffer {"connection_id":216698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:48:16] local.INFO: IMEI packet received {"connection_id":216698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":216698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:48:22] local.INFO: TCP Data received {"connection_id":216698,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:48:22] local.INFO: Processing buffer {"connection_id":216698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:48:22] local.INFO: IMEI packet received {"connection_id":216698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":216698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:48:23] local.INFO: TCP Data received {"connection_id":216698,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:48:23] local.INFO: Processing buffer {"connection_id":216698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:48:23] local.INFO: Packet analysis {"connection_id":216698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:48:23] local.INFO: Extracted packet for processing {"connection_id":216698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:48:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:48:23] 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-10-16 13: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-10-16 13:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:48:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:48:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":216698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:48:23] local.INFO: GPS data processed {"connection_id":216698,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:48:23] local.INFO: Acknowledgment sent {"connection_id":216698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:48:55] local.INFO: TCP Data received {"connection_id":216698,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:48:55] local.INFO: Processing buffer {"connection_id":216698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:48:55] local.INFO: Packet analysis {"connection_id":216698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:48:55] local.INFO: Extracted packet for processing {"connection_id":216698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:48:55] 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-10-16 13: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-10-16 13:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:48:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:48:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":216698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:48:55] local.INFO: GPS data processed {"connection_id":216698,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:48:55] local.INFO: Acknowledgment sent {"connection_id":216698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:48:56] local.INFO: TCP Data received {"connection_id":216907,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:48:56] local.INFO: Processing buffer {"connection_id":216907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:48:56] local.INFO: IMEI packet received {"connection_id":216907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":216907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:49:16] local.INFO: TCP Data received {"connection_id":216908,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:49:16] local.INFO: Processing buffer {"connection_id":216908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:49:16] local.INFO: IMEI packet received {"connection_id":216908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":216908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:49:21] local.INFO: TCP Data received {"connection_id":216908,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:49:21] local.INFO: Processing buffer {"connection_id":216908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:49:21] local.INFO: IMEI packet received {"connection_id":216908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:49:22] local.INFO: TCP Data received {"connection_id":216908,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:49:22] local.INFO: Processing buffer {"connection_id":216908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:49:22] local.INFO: Packet analysis {"connection_id":216908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:49:22] local.INFO: Extracted packet for processing {"connection_id":216908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13: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-10-16 13:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:49:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:49:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":216908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:49:22] local.INFO: GPS data processed {"connection_id":216908,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:49:22] local.INFO: Acknowledgment sent {"connection_id":216908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:49:54] local.INFO: TCP Data received {"connection_id":216908,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:49:54] local.INFO: Processing buffer {"connection_id":216908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:49:54] local.INFO: Packet analysis {"connection_id":216908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:49:54] local.INFO: Extracted packet for processing {"connection_id":216908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:49:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:49:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":216908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:49:54] local.INFO: GPS data processed {"connection_id":216908,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:49:54] local.INFO: Acknowledgment sent {"connection_id":216908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:50:22] local.INFO: TCP Data received {"connection_id":216699,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:50:22] local.INFO: Processing buffer {"connection_id":216699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:50:22] local.INFO: IMEI packet received {"connection_id":216699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":216699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:50:26] local.INFO: TCP Data received {"connection_id":216699,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:50:26] local.INFO: Processing buffer {"connection_id":216699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:50:26] local.INFO: IMEI packet received {"connection_id":216699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":216699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:50:28] local.INFO: TCP Data received {"connection_id":216699,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:50:28] local.INFO: Processing buffer {"connection_id":216699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:50:28] local.INFO: Packet analysis {"connection_id":216699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:50:28] local.INFO: Extracted packet for processing {"connection_id":216699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:50:28] 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-10-16 13:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:50:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:50:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":216699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:50:28] local.INFO: GPS data processed {"connection_id":216699,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:50:28] local.INFO: Acknowledgment sent {"connection_id":216699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:50:32] local.INFO: TCP Data received {"connection_id":216699,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:50:32] local.INFO: Processing buffer {"connection_id":216699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:50:32] local.INFO: Packet analysis {"connection_id":216699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:50:32] local.INFO: Extracted packet for processing {"connection_id":216699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:50:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":216699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:50:32] local.INFO: GPS data processed {"connection_id":216699,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:50:32] local.INFO: Acknowledgment sent {"connection_id":216699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:51:16] local.INFO: TCP Data received {"connection_id":218255,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:51:16] local.INFO: Processing buffer {"connection_id":218255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:51:16] local.INFO: IMEI packet received {"connection_id":218255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":218255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:51:21] local.INFO: TCP Data received {"connection_id":218255,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:51:21] local.INFO: Processing buffer {"connection_id":218255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:51:21] local.INFO: IMEI packet received {"connection_id":218255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":218255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:51:22] local.INFO: TCP Data received {"connection_id":218255,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:51:22] local.INFO: Processing buffer {"connection_id":218255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:51:22] local.INFO: Packet analysis {"connection_id":218255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:51:22] local.INFO: Extracted packet for processing {"connection_id":218255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:51:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:51:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:51:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":218255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:51:22] local.INFO: GPS data processed {"connection_id":218255,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:51:22] local.INFO: Acknowledgment sent {"connection_id":218255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:51:54] local.INFO: TCP Data received {"connection_id":218255,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:51:54] local.INFO: Processing buffer {"connection_id":218255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143c8b348012d7fa40005afce580009000a2a..."} 
[2026-10-16 13:51:54] local.INFO: Packet analysis {"connection_id":218255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:51:54] local.INFO: Extracted packet for processing {"connection_id":218255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143c8"} 
[2026-10-16 13:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787401728001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792138589000,"timestamp_ms":1792138589000,"timestamp_seconds":1792138589,"priority":1,"record_length":96,"hex_timestamp":"000001a143c8b348"} 
[2026-10-16 13:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787401728001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787401728001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:51:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:51:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787401728001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":218255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:51:54] local.INFO: GPS data processed {"connection_id":218255,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:51:54] local.INFO: Acknowledgment sent {"connection_id":218255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:52:16] local.INFO: TCP Data received {"connection_id":216910,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:52:16] local.INFO: Processing buffer {"connection_id":216910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:52:16] local.INFO: IMEI packet received {"connection_id":216910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":216910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:52:21] local.INFO: TCP Data received {"connection_id":216910,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:52:21] local.INFO: Processing buffer {"connection_id":216910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:52:21] local.INFO: IMEI packet received {"connection_id":216910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":216910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:52:22] local.INFO: TCP Data received {"connection_id":216910,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:52:22] local.INFO: Processing buffer {"connection_id":216910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:52:22] local.INFO: Packet analysis {"connection_id":216910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:52:22] local.INFO: Extracted packet for processing {"connection_id":216910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:52:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13: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-10-16 13:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:52:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:52:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":216910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:52:23] local.INFO: GPS data processed {"connection_id":216910,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:52:23] local.INFO: Acknowledgment sent {"connection_id":216910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:52:54] local.INFO: TCP Data received {"connection_id":216910,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:52:54] local.INFO: Processing buffer {"connection_id":216910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:52:54] local.INFO: Packet analysis {"connection_id":216910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:52:54] local.INFO: Extracted packet for processing {"connection_id":216910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:52:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:52:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":216910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:52:54] local.INFO: GPS data processed {"connection_id":216910,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:52:54] local.INFO: Acknowledgment sent {"connection_id":216910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:53:16] local.INFO: TCP Data received {"connection_id":216700,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:53:16] local.INFO: Processing buffer {"connection_id":216700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:53:16] local.INFO: IMEI packet received {"connection_id":216700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":216700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:53:21] local.INFO: TCP Data received {"connection_id":216700,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:53:21] local.INFO: Processing buffer {"connection_id":216700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:53:21] local.INFO: IMEI packet received {"connection_id":216700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":216700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:53:23] local.INFO: TCP Data received {"connection_id":216700,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:53:23] local.INFO: Processing buffer {"connection_id":216700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:53:23] local.INFO: Packet analysis {"connection_id":216700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:53:23] local.INFO: Extracted packet for processing {"connection_id":216700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:53:23] 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-10-16 13: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-10-16 13:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:53:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:53:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":216700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:53:23] local.INFO: GPS data processed {"connection_id":216700,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:53:23] local.INFO: Acknowledgment sent {"connection_id":216700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:53:55] local.INFO: TCP Data received {"connection_id":216700,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:53:55] local.INFO: Processing buffer {"connection_id":216700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:53:55] local.INFO: Packet analysis {"connection_id":216700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:53:55] local.INFO: Extracted packet for processing {"connection_id":216700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:53:55] 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-10-16 13:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:53:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:53:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":216700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:53:55] local.INFO: GPS data processed {"connection_id":216700,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:53:55] local.INFO: Acknowledgment sent {"connection_id":216700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:54:21] local.INFO: TCP Data received {"connection_id":218257,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:54:21] local.INFO: Processing buffer {"connection_id":218257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:54:21] local.INFO: IMEI packet received {"connection_id":218257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":218257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:54:21] local.INFO: TCP Data received {"connection_id":216911,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:54:21] local.INFO: Processing buffer {"connection_id":216911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:54:21] local.INFO: IMEI packet received {"connection_id":216911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":216911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:54:26] local.INFO: TCP Data received {"connection_id":216911,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:54:26] local.INFO: Processing buffer {"connection_id":216911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:54:26] local.INFO: IMEI packet received {"connection_id":216911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":216911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:54:27] local.INFO: TCP Data received {"connection_id":216911,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:54:27] local.INFO: Processing buffer {"connection_id":216911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:54:27] local.INFO: Packet analysis {"connection_id":216911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:54:27] local.INFO: Extracted packet for processing {"connection_id":216911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:54:27] 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-10-16 13: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-10-16 13:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:54:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:54:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":216911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:54:27] local.INFO: GPS data processed {"connection_id":216911,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:54:27] local.INFO: Acknowledgment sent {"connection_id":216911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:54:32] local.INFO: TCP Data received {"connection_id":216911,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:54:32] local.INFO: Processing buffer {"connection_id":216911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:54:32] local.INFO: Packet analysis {"connection_id":216911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:54:32] local.INFO: Extracted packet for processing {"connection_id":216911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:54:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:54:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":216911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:54:32] local.INFO: GPS data processed {"connection_id":216911,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:54:32] local.INFO: Acknowledgment sent {"connection_id":216911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:54:51] local.INFO: TCP Data received {"connection_id":216912,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:54:51] local.INFO: Processing buffer {"connection_id":216912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 13:54:51] local.INFO: IMEI packet received {"connection_id":216912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 13:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":216912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:55:17] local.INFO: TCP Data received {"connection_id":216701,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:55:17] local.INFO: Processing buffer {"connection_id":216701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:55:17] local.INFO: IMEI packet received {"connection_id":216701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":216701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:55:21] local.INFO: TCP Data received {"connection_id":216701,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:55:21] local.INFO: Processing buffer {"connection_id":216701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:55:21] local.INFO: IMEI packet received {"connection_id":216701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":216701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:55:23] local.INFO: TCP Data received {"connection_id":216701,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:55:23] local.INFO: Processing buffer {"connection_id":216701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:55:23] local.INFO: Packet analysis {"connection_id":216701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:55:23] local.INFO: Extracted packet for processing {"connection_id":216701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:55:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:55:23] 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-10-16 13:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:55:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:55:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":216701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:55:23] local.INFO: GPS data processed {"connection_id":216701,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:55:23] local.INFO: Acknowledgment sent {"connection_id":216701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:55:27] local.INFO: TCP Data received {"connection_id":216701,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:55:27] local.INFO: Processing buffer {"connection_id":216701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:55:27] local.INFO: Packet analysis {"connection_id":216701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:55:27] local.INFO: Extracted packet for processing {"connection_id":216701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:55:27] 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-10-16 13: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-10-16 13:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:55:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:55:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":216701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:55:27] local.INFO: GPS data processed {"connection_id":216701,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:55:27] local.INFO: Acknowledgment sent {"connection_id":216701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:55:58] local.INFO: TCP Data received {"connection_id":216701,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:55:58] local.INFO: Processing buffer {"connection_id":216701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:55:58] local.INFO: Packet analysis {"connection_id":216701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:55:58] local.INFO: Extracted packet for processing {"connection_id":216701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:55:58] 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-10-16 13:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:55:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:55:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":216701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:55:58] local.INFO: GPS data processed {"connection_id":216701,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:55:58] local.INFO: Acknowledgment sent {"connection_id":216701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:56:16] local.INFO: TCP Data received {"connection_id":216913,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:56:16] local.INFO: Processing buffer {"connection_id":216913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:56:16] local.INFO: IMEI packet received {"connection_id":216913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":216913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:56:21] local.INFO: TCP Data received {"connection_id":216913,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:56:21] local.INFO: Processing buffer {"connection_id":216913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:56:21] local.INFO: IMEI packet received {"connection_id":216913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":216913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:56:22] local.INFO: TCP Data received {"connection_id":216913,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:56:22] local.INFO: Processing buffer {"connection_id":216913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:56:22] local.INFO: Packet analysis {"connection_id":216913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:56:22] local.INFO: Extracted packet for processing {"connection_id":216913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:56:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:56:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:56:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":216913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:56:22] local.INFO: GPS data processed {"connection_id":216913,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:56:22] local.INFO: Acknowledgment sent {"connection_id":216913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:56:54] local.INFO: TCP Data received {"connection_id":216913,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:56:54] local.INFO: Processing buffer {"connection_id":216913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143cd4b10012d7fa40005afce580009000a2b..."} 
[2026-10-16 13:56:54] local.INFO: Packet analysis {"connection_id":216913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:56:54] local.INFO: Extracted packet for processing {"connection_id":216913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143cd"} 
[2026-10-16 13:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787478784001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792138890000,"timestamp_ms":1792138890000,"timestamp_seconds":1792138890,"priority":1,"record_length":96,"hex_timestamp":"000001a143cd4b10"} 
[2026-10-16 13:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 13:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787478784001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787478784001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:56:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:56:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787478784001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":216913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:56:54] local.INFO: GPS data processed {"connection_id":216913,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:56:54] local.INFO: Acknowledgment sent {"connection_id":216913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:57:16] local.INFO: TCP Data received {"connection_id":218258,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:57:16] local.INFO: Processing buffer {"connection_id":218258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:57:16] local.INFO: IMEI packet received {"connection_id":218258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":218258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:57:21] local.INFO: TCP Data received {"connection_id":218258,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:57:21] local.INFO: Processing buffer {"connection_id":218258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:57:21] local.INFO: IMEI packet received {"connection_id":218258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":218258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:57:22] local.INFO: TCP Data received {"connection_id":218258,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:57:22] local.INFO: Processing buffer {"connection_id":218258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:57:22] local.INFO: Packet analysis {"connection_id":218258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:57:22] local.INFO: Extracted packet for processing {"connection_id":218258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:57:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787555840001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792139191000,"timestamp_ms":1792139191000,"timestamp_seconds":1792139191,"priority":1,"record_length":96,"hex_timestamp":"000001a143d1e2d8"} 
[2026-10-16 13:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:57:22] 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-10-16 13: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-10-16 13:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787555840001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787555840001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:57:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:57:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787555840001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":218258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:57:22] local.INFO: GPS data processed {"connection_id":218258,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:57:22] local.INFO: Acknowledgment sent {"connection_id":218258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:57:54] local.INFO: TCP Data received {"connection_id":218258,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:57:54] local.INFO: Processing buffer {"connection_id":218258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:57:54] local.INFO: Packet analysis {"connection_id":218258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:57:54] local.INFO: Extracted packet for processing {"connection_id":218258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787555840001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792139191000,"timestamp_ms":1792139191000,"timestamp_seconds":1792139191,"priority":1,"record_length":96,"hex_timestamp":"000001a143d1e2d8"} 
[2026-10-16 13:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:57:54] 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-10-16 13:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787555840001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787555840001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:57:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:57:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787555840001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":218258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:57:54] local.INFO: GPS data processed {"connection_id":218258,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:57:54] local.INFO: Acknowledgment sent {"connection_id":218258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:58:21] local.INFO: TCP Data received {"connection_id":219985,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:58:21] local.INFO: Processing buffer {"connection_id":219985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:58:21] local.INFO: IMEI packet received {"connection_id":219985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":219985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:58:26] local.INFO: TCP Data received {"connection_id":219985,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:58:26] local.INFO: Processing buffer {"connection_id":219985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:58:26] local.INFO: IMEI packet received {"connection_id":219985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":219985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:58:28] local.INFO: TCP Data received {"connection_id":219985,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:58:28] local.INFO: Processing buffer {"connection_id":219985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:58:28] local.INFO: Packet analysis {"connection_id":219985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:58:28] local.INFO: Extracted packet for processing {"connection_id":219985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787555840001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792139191000,"timestamp_ms":1792139191000,"timestamp_seconds":1792139191,"priority":1,"record_length":96,"hex_timestamp":"000001a143d1e2d8"} 
[2026-10-16 13:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:58:28] 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-10-16 13:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":219985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":219985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":219985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787555840001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787555840001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:58:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:58:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787555840001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":219985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:58:28] local.INFO: GPS data processed {"connection_id":219985,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:58:28] local.INFO: Acknowledgment sent {"connection_id":219985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:58:31] local.INFO: TCP Data received {"connection_id":219985,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:58:31] local.INFO: Processing buffer {"connection_id":219985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:58:31] local.INFO: Packet analysis {"connection_id":219985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:58:31] local.INFO: Extracted packet for processing {"connection_id":219985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 13:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787555840001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792139191000,"timestamp_ms":1792139191000,"timestamp_seconds":1792139191,"priority":1,"record_length":96,"hex_timestamp":"000001a143d1e2d8"} 
[2026-10-16 13:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":219985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":219985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":219985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787555840001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787555840001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:58:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:58:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787555840001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":219985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:58:31] local.INFO: GPS data processed {"connection_id":219985,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:58:31] local.INFO: Acknowledgment sent {"connection_id":219985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:59:16] local.INFO: TCP Data received {"connection_id":218259,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:59:16] local.INFO: Processing buffer {"connection_id":218259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:59:16] local.INFO: IMEI packet received {"connection_id":218259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 13:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":218259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 13:59:21] local.INFO: TCP Data received {"connection_id":218259,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:59:21] local.INFO: Processing buffer {"connection_id":218259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 13:59:21] local.INFO: IMEI packet received {"connection_id":218259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 13:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":218259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 13:59:22] local.INFO: TCP Data received {"connection_id":218259,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:59:22] local.INFO: Processing buffer {"connection_id":218259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:59:22] local.INFO: Packet analysis {"connection_id":218259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:59:22] local.INFO: Extracted packet for processing {"connection_id":218259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787555840001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792139191000,"timestamp_ms":1792139191000,"timestamp_seconds":1792139191,"priority":1,"record_length":96,"hex_timestamp":"000001a143d1e2d8"} 
[2026-10-16 13:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:59:22] 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-10-16 13: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-10-16 13:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787555840001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787555840001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:59:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:59:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787555840001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":218259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:59:22] local.INFO: GPS data processed {"connection_id":218259,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:59:22] local.INFO: Acknowledgment sent {"connection_id":218259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 13:59:53] local.INFO: TCP Data received {"connection_id":218259,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:59:53] local.INFO: Processing buffer {"connection_id":218259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 13:59:53] local.INFO: Packet analysis {"connection_id":218259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:59:53] local.INFO: Extracted packet for processing {"connection_id":218259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 13:59:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 13: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-10-16 13:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787555840001,"note":"Value kept but may cause issues"} 
[2026-10-16 13:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 13:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 13:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 13:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792139191000,"timestamp_ms":1792139191000,"timestamp_seconds":1792139191,"priority":1,"record_length":96,"hex_timestamp":"000001a143d1e2d8"} 
[2026-10-16 13:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 13:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 13:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 13:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 13:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 13:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 13:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 13:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 13:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 13:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 13:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 13:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 13:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787555840001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 13:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 13:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 13:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787555840001,"description":"Unknown IO ID 0"} 
[2026-10-16 13:59:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 13:59:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 13:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 13:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 13:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787555840001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 13:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":218259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 13:59:53] local.INFO: GPS data processed {"connection_id":218259,"processed":1,"errors":0,"total":1} 
[2026-10-16 13:59:53] local.INFO: Acknowledgment sent {"connection_id":218259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:00:06] local.INFO: TCP Data received {"connection_id":218260,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:00:06] local.INFO: Processing buffer {"connection_id":218260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:00:06] local.INFO: IMEI packet received {"connection_id":218260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":218260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:00:16] local.INFO: TCP Data received {"connection_id":216704,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:00:16] local.INFO: Processing buffer {"connection_id":216704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:00:16] local.INFO: IMEI packet received {"connection_id":216704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":216704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:00:21] local.INFO: TCP Data received {"connection_id":216704,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:00:21] local.INFO: Processing buffer {"connection_id":216704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:00:21] local.INFO: IMEI packet received {"connection_id":216704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":216704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:00:22] local.INFO: TCP Data received {"connection_id":216704,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:00:22] local.INFO: Processing buffer {"connection_id":216704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:00:22] local.INFO: Packet analysis {"connection_id":216704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 14:00:22] local.INFO: Extracted packet for processing {"connection_id":216704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 14:00:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787555840001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792139191000,"timestamp_ms":1792139191000,"timestamp_seconds":1792139191,"priority":1,"record_length":96,"hex_timestamp":"000001a143d1e2d8"} 
[2026-10-16 14:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:00:22] 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-10-16 14:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787555840001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787555840001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:00:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:00:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787555840001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":216704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:00:22] local.INFO: GPS data processed {"connection_id":216704,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:00:22] local.INFO: Acknowledgment sent {"connection_id":216704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:00:54] local.INFO: TCP Data received {"connection_id":216704,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:00:54] local.INFO: Processing buffer {"connection_id":216704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:00:54] local.INFO: Packet analysis {"connection_id":216704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 14:00:54] local.INFO: Extracted packet for processing {"connection_id":216704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 14:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787555840001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792139191000,"timestamp_ms":1792139191000,"timestamp_seconds":1792139191,"priority":1,"record_length":96,"hex_timestamp":"000001a143d1e2d8"} 
[2026-10-16 14:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:00:54] 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-10-16 14:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787555840001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787555840001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:00:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:00:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787555840001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":216704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:00:54] local.INFO: GPS data processed {"connection_id":216704,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:00:54] local.INFO: Acknowledgment sent {"connection_id":216704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:01:16] local.INFO: TCP Data received {"connection_id":216914,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:01:16] local.INFO: Processing buffer {"connection_id":216914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:01:16] local.INFO: IMEI packet received {"connection_id":216914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":216914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:01:21] local.INFO: TCP Data received {"connection_id":216914,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:01:21] local.INFO: Processing buffer {"connection_id":216914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:01:21] local.INFO: IMEI packet received {"connection_id":216914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":216914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:01:22] local.INFO: TCP Data received {"connection_id":216914,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:01:22] local.INFO: Processing buffer {"connection_id":216914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:01:22] local.INFO: Packet analysis {"connection_id":216914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 14:01:22] local.INFO: Extracted packet for processing {"connection_id":216914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 14:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787555840001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792139191000,"timestamp_ms":1792139191000,"timestamp_seconds":1792139191,"priority":1,"record_length":96,"hex_timestamp":"000001a143d1e2d8"} 
[2026-10-16 14:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:01:22] 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-10-16 14: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-10-16 14:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787555840001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787555840001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:01:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:01:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787555840001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":216914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:01:22] local.INFO: GPS data processed {"connection_id":216914,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:01:22] local.INFO: Acknowledgment sent {"connection_id":216914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:01:25] local.INFO: TCP Data received {"connection_id":216915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:01:25] local.INFO: Processing buffer {"connection_id":216915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:01:25] local.INFO: IMEI packet received {"connection_id":216915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":216915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:01:54] local.INFO: TCP Data received {"connection_id":216914,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:01:54] local.INFO: Processing buffer {"connection_id":216914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d1e2d8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:01:54] local.INFO: Packet analysis {"connection_id":216914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 14:01:54] local.INFO: Extracted packet for processing {"connection_id":216914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d1"} 
[2026-10-16 14:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787555840001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792139191000,"timestamp_ms":1792139191000,"timestamp_seconds":1792139191,"priority":1,"record_length":96,"hex_timestamp":"000001a143d1e2d8"} 
[2026-10-16 14:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:01:54] 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-10-16 14:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787555840001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787555840001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:01:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:01:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787555840001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":216914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:01:54] local.INFO: GPS data processed {"connection_id":216914,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:01:54] local.INFO: Acknowledgment sent {"connection_id":216914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:02:16] local.INFO: TCP Data received {"connection_id":216706,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:02:16] local.INFO: Processing buffer {"connection_id":216706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:02:16] local.INFO: IMEI packet received {"connection_id":216706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":216706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:02:21] local.INFO: TCP Data received {"connection_id":216706,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:02:21] local.INFO: Processing buffer {"connection_id":216706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:02:21] local.INFO: IMEI packet received {"connection_id":216706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":216706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:02:24] local.INFO: TCP Data received {"connection_id":216706,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:02:24] local.INFO: Processing buffer {"connection_id":216706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:02:24] local.INFO: Packet analysis {"connection_id":216706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:02:24] local.INFO: Extracted packet for processing {"connection_id":216706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:02:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:02: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-10-16 14:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787632896001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792139492000,"timestamp_ms":1792139492000,"timestamp_seconds":1792139492,"priority":1,"record_length":96,"hex_timestamp":"000001a143d67aa0"} 
[2026-10-16 14:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:02:24] 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-10-16 14:02: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-10-16 14:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787632896001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787632896001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:02:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:02:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787632896001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":216706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:02:24] local.INFO: GPS data processed {"connection_id":216706,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:02:24] local.INFO: Acknowledgment sent {"connection_id":216706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:03:00] local.INFO: TCP Data received {"connection_id":216706,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:03:00] local.INFO: Processing buffer {"connection_id":216706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:03:00] local.INFO: Packet analysis {"connection_id":216706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:03:00] local.INFO: Extracted packet for processing {"connection_id":216706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787632896001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792139492000,"timestamp_ms":1792139492000,"timestamp_seconds":1792139492,"priority":1,"record_length":96,"hex_timestamp":"000001a143d67aa0"} 
[2026-10-16 14:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787632896001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787632896001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:03:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:03:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787632896001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":216706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:03:01] local.INFO: GPS data processed {"connection_id":216706,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:03:01] local.INFO: Acknowledgment sent {"connection_id":216706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:03:16] local.INFO: TCP Data received {"connection_id":216916,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:03:16] local.INFO: Processing buffer {"connection_id":216916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:03:16] local.INFO: IMEI packet received {"connection_id":216916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":216916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:03:21] local.INFO: TCP Data received {"connection_id":216916,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:03:21] local.INFO: Processing buffer {"connection_id":216916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:03:21] local.INFO: IMEI packet received {"connection_id":216916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":216916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:03:23] local.INFO: TCP Data received {"connection_id":216916,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:03:23] local.INFO: Processing buffer {"connection_id":216916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:03:23] local.INFO: Packet analysis {"connection_id":216916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:03:23] local.INFO: Extracted packet for processing {"connection_id":216916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787632896001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792139492000,"timestamp_ms":1792139492000,"timestamp_seconds":1792139492,"priority":1,"record_length":96,"hex_timestamp":"000001a143d67aa0"} 
[2026-10-16 14:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:03:23] 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-10-16 14:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787632896001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787632896001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:03:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:03:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787632896001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":216916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:03:23] local.INFO: GPS data processed {"connection_id":216916,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:03:23] local.INFO: Acknowledgment sent {"connection_id":216916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:03:55] local.INFO: TCP Data received {"connection_id":216916,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:03:55] local.INFO: Processing buffer {"connection_id":216916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:03:55] local.INFO: Packet analysis {"connection_id":216916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:03:55] local.INFO: Extracted packet for processing {"connection_id":216916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787632896001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792139492000,"timestamp_ms":1792139492000,"timestamp_seconds":1792139492,"priority":1,"record_length":96,"hex_timestamp":"000001a143d67aa0"} 
[2026-10-16 14:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:03:55] 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-10-16 14:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787632896001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787632896001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:03:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:03:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787632896001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":216916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:03:55] local.INFO: GPS data processed {"connection_id":216916,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:03:55] local.INFO: Acknowledgment sent {"connection_id":216916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:04:16] local.INFO: TCP Data received {"connection_id":219987,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:04:16] local.INFO: Processing buffer {"connection_id":219987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:04:16] local.INFO: IMEI packet received {"connection_id":219987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":219987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:04:21] local.INFO: TCP Data received {"connection_id":219987,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:04:21] local.INFO: Processing buffer {"connection_id":219987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:04:21] local.INFO: IMEI packet received {"connection_id":219987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":219987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:04:22] local.INFO: TCP Data received {"connection_id":219987,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:04:22] local.INFO: Processing buffer {"connection_id":219987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:04:22] local.INFO: Packet analysis {"connection_id":219987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:04:22] local.INFO: Extracted packet for processing {"connection_id":219987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:04:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787632896001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792139492000,"timestamp_ms":1792139492000,"timestamp_seconds":1792139492,"priority":1,"record_length":96,"hex_timestamp":"000001a143d67aa0"} 
[2026-10-16 14:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:04:22] 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-10-16 14:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787632896001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787632896001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:04:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:04:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787632896001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":219987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:04:22] local.INFO: GPS data processed {"connection_id":219987,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:04:22] local.INFO: Acknowledgment sent {"connection_id":219987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:04:54] local.INFO: TCP Data received {"connection_id":219987,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:04:54] local.INFO: Processing buffer {"connection_id":219987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:04:54] local.INFO: Packet analysis {"connection_id":219987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:04:54] local.INFO: Extracted packet for processing {"connection_id":219987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787632896001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792139492000,"timestamp_ms":1792139492000,"timestamp_seconds":1792139492,"priority":1,"record_length":96,"hex_timestamp":"000001a143d67aa0"} 
[2026-10-16 14:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:04:54] 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-10-16 14:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787632896001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787632896001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:04:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:04:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787632896001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":219987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:04:54] local.INFO: GPS data processed {"connection_id":219987,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:04:54] local.INFO: Acknowledgment sent {"connection_id":219987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:05:16] local.INFO: TCP Data received {"connection_id":219988,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:05:16] local.INFO: Processing buffer {"connection_id":219988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:05:16] local.INFO: IMEI packet received {"connection_id":219988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":219988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:05:21] local.INFO: TCP Data received {"connection_id":219988,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:05:21] local.INFO: Processing buffer {"connection_id":219988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:05:21] local.INFO: IMEI packet received {"connection_id":219988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":219988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:05:22] local.INFO: TCP Data received {"connection_id":219988,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:05:22] local.INFO: Processing buffer {"connection_id":219988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:05:22] local.INFO: Packet analysis {"connection_id":219988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:05:22] local.INFO: Extracted packet for processing {"connection_id":219988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787632896001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792139492000,"timestamp_ms":1792139492000,"timestamp_seconds":1792139492,"priority":1,"record_length":96,"hex_timestamp":"000001a143d67aa0"} 
[2026-10-16 14:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:05:22] 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-10-16 14:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787632896001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787632896001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:05:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:05:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787632896001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":219988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:05:22] local.INFO: GPS data processed {"connection_id":219988,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:05:22] local.INFO: Acknowledgment sent {"connection_id":219988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:05:55] local.INFO: TCP Data received {"connection_id":219988,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:05:55] local.INFO: Processing buffer {"connection_id":219988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:05:55] local.INFO: Packet analysis {"connection_id":219988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:05:55] local.INFO: Extracted packet for processing {"connection_id":219988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787632896001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792139492000,"timestamp_ms":1792139492000,"timestamp_seconds":1792139492,"priority":1,"record_length":96,"hex_timestamp":"000001a143d67aa0"} 
[2026-10-16 14:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:05:55] 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-10-16 14:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787632896001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787632896001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:05:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:05:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787632896001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":219988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:05:55] local.INFO: GPS data processed {"connection_id":219988,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:05:55] local.INFO: Acknowledgment sent {"connection_id":219988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:06:16] local.INFO: TCP Data received {"connection_id":216709,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:06:16] local.INFO: Processing buffer {"connection_id":216709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:06:16] local.INFO: IMEI packet received {"connection_id":216709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":216709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:06:21] local.INFO: TCP Data received {"connection_id":216709,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:06:21] local.INFO: Processing buffer {"connection_id":216709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:06:21] local.INFO: IMEI packet received {"connection_id":216709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":216709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:06:23] local.INFO: TCP Data received {"connection_id":216709,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:06:23] local.INFO: Processing buffer {"connection_id":216709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:06:23] local.INFO: Packet analysis {"connection_id":216709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:06:23] local.INFO: Extracted packet for processing {"connection_id":216709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787632896001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792139492000,"timestamp_ms":1792139492000,"timestamp_seconds":1792139492,"priority":1,"record_length":96,"hex_timestamp":"000001a143d67aa0"} 
[2026-10-16 14:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:06:23] 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-10-16 14:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787632896001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787632896001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:06:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:06:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787632896001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":216709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:06:23] local.INFO: GPS data processed {"connection_id":216709,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:06:23] local.INFO: Acknowledgment sent {"connection_id":216709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:06:34] local.INFO: TCP Data received {"connection_id":216708,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:06:34] local.INFO: Processing buffer {"connection_id":216708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:06:34] local.INFO: IMEI packet received {"connection_id":216708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":216708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:06:51] local.INFO: TCP Data received {"connection_id":219989,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:06:51] local.INFO: Processing buffer {"connection_id":219989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:06:51] local.INFO: IMEI packet received {"connection_id":219989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":219989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:06:55] local.INFO: TCP Data received {"connection_id":216709,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:06:55] local.INFO: Processing buffer {"connection_id":216709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143d67aa0012d7fa40005afce580009000a2a..."} 
[2026-10-16 14:06:55] local.INFO: Packet analysis {"connection_id":216709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:06:55] local.INFO: Extracted packet for processing {"connection_id":216709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143d6"} 
[2026-10-16 14:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787632896001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792139492000,"timestamp_ms":1792139492000,"timestamp_seconds":1792139492,"priority":1,"record_length":96,"hex_timestamp":"000001a143d67aa0"} 
[2026-10-16 14:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:06:55] 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-10-16 14:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787632896001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787632896001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:06:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:06:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787632896001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":216709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:06:55] local.INFO: GPS data processed {"connection_id":216709,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:06:55] local.INFO: Acknowledgment sent {"connection_id":216709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:07:21] local.INFO: TCP Data received {"connection_id":216917,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:07:21] local.INFO: Processing buffer {"connection_id":216917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:07:21] local.INFO: IMEI packet received {"connection_id":216917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":216917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:07:26] local.INFO: TCP Data received {"connection_id":216917,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:07:26] local.INFO: Processing buffer {"connection_id":216917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:07:26] local.INFO: IMEI packet received {"connection_id":216917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":216917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:07:29] local.INFO: TCP Data received {"connection_id":216917,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:07:29] local.INFO: Processing buffer {"connection_id":216917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:07:29] local.INFO: Packet analysis {"connection_id":216917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:07:29] local.INFO: Extracted packet for processing {"connection_id":216917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:07: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-10-16 14:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792139793000,"timestamp_ms":1792139793000,"timestamp_seconds":1792139793,"priority":1,"record_length":96,"hex_timestamp":"000001a143db1268"} 
[2026-10-16 14:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:07: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-10-16 14:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787709952001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:07:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:07:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787709952001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":216917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:07:29] local.INFO: GPS data processed {"connection_id":216917,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:07:29] local.INFO: Acknowledgment sent {"connection_id":216917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:07:32] local.INFO: TCP Data received {"connection_id":216917,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:07:32] local.INFO: Processing buffer {"connection_id":216917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:07:32] local.INFO: Packet analysis {"connection_id":216917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:07:32] local.INFO: Extracted packet for processing {"connection_id":216917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792139793000,"timestamp_ms":1792139793000,"timestamp_seconds":1792139793,"priority":1,"record_length":96,"hex_timestamp":"000001a143db1268"} 
[2026-10-16 14:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787709952001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:07:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:07:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787709952001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":216917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:07:32] local.INFO: GPS data processed {"connection_id":216917,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:07:32] local.INFO: Acknowledgment sent {"connection_id":216917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:08:21] local.INFO: TCP Data received {"connection_id":216710,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:08:21] local.INFO: Processing buffer {"connection_id":216710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:08:21] local.INFO: IMEI packet received {"connection_id":216710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":216710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:08:26] local.INFO: TCP Data received {"connection_id":216710,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:08:26] local.INFO: Processing buffer {"connection_id":216710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:08:26] local.INFO: IMEI packet received {"connection_id":216710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":216710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:08:27] local.INFO: TCP Data received {"connection_id":216710,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:08:27] local.INFO: Processing buffer {"connection_id":216710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:08:27] local.INFO: Packet analysis {"connection_id":216710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:08:27] local.INFO: Extracted packet for processing {"connection_id":216710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792139793000,"timestamp_ms":1792139793000,"timestamp_seconds":1792139793,"priority":1,"record_length":96,"hex_timestamp":"000001a143db1268"} 
[2026-10-16 14:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787709952001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:08:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:08:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787709952001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":216710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:08:27] local.INFO: GPS data processed {"connection_id":216710,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:08:27] local.INFO: Acknowledgment sent {"connection_id":216710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:08:32] local.INFO: TCP Data received {"connection_id":216710,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:08:32] local.INFO: Processing buffer {"connection_id":216710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:08:32] local.INFO: Packet analysis {"connection_id":216710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:08:32] local.INFO: Extracted packet for processing {"connection_id":216710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792139793000,"timestamp_ms":1792139793000,"timestamp_seconds":1792139793,"priority":1,"record_length":96,"hex_timestamp":"000001a143db1268"} 
[2026-10-16 14:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787709952001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:08:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787709952001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":216710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:08:32] local.INFO: GPS data processed {"connection_id":216710,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:08:32] local.INFO: Acknowledgment sent {"connection_id":216710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:09:16] local.INFO: TCP Data received {"connection_id":219990,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:09:16] local.INFO: Processing buffer {"connection_id":219990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:09:16] local.INFO: IMEI packet received {"connection_id":219990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":219990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:09:22] local.INFO: TCP Data received {"connection_id":219990,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:09:22] local.INFO: Processing buffer {"connection_id":219990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:09:22] local.INFO: IMEI packet received {"connection_id":219990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":219990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:09:24] local.INFO: TCP Data received {"connection_id":219990,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:09:24] local.INFO: Processing buffer {"connection_id":219990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:09:24] local.INFO: Packet analysis {"connection_id":219990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:09:24] local.INFO: Extracted packet for processing {"connection_id":219990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792139793000,"timestamp_ms":1792139793000,"timestamp_seconds":1792139793,"priority":1,"record_length":96,"hex_timestamp":"000001a143db1268"} 
[2026-10-16 14:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":219990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":219990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":219990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787709952001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:09:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:09:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787709952001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":219990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:09:24] local.INFO: GPS data processed {"connection_id":219990,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:09:24] local.INFO: Acknowledgment sent {"connection_id":219990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:09:55] local.INFO: TCP Data received {"connection_id":219990,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:09:55] local.INFO: Processing buffer {"connection_id":219990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:09:55] local.INFO: Packet analysis {"connection_id":219990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:09:55] local.INFO: Extracted packet for processing {"connection_id":219990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792139793000,"timestamp_ms":1792139793000,"timestamp_seconds":1792139793,"priority":1,"record_length":96,"hex_timestamp":"000001a143db1268"} 
[2026-10-16 14:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787709952001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:09:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:09:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787709952001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":219990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:09:55] local.INFO: GPS data processed {"connection_id":219990,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:09:55] local.INFO: Acknowledgment sent {"connection_id":219990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:10:16] local.INFO: TCP Data received {"connection_id":216712,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:10:16] local.INFO: Processing buffer {"connection_id":216712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:10:16] local.INFO: IMEI packet received {"connection_id":216712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":216712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:10:21] local.INFO: TCP Data received {"connection_id":216712,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:10:21] local.INFO: Processing buffer {"connection_id":216712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:10:21] local.INFO: IMEI packet received {"connection_id":216712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":216712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:10:23] local.INFO: TCP Data received {"connection_id":216712,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:10:23] local.INFO: Processing buffer {"connection_id":216712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:10:23] local.INFO: Packet analysis {"connection_id":216712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:10:23] local.INFO: Extracted packet for processing {"connection_id":216712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792139793000,"timestamp_ms":1792139793000,"timestamp_seconds":1792139793,"priority":1,"record_length":96,"hex_timestamp":"000001a143db1268"} 
[2026-10-16 14:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14: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-10-16 14:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787709952001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:10:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:10:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787709952001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":216712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:10:23] local.INFO: GPS data processed {"connection_id":216712,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:10:23] local.INFO: Acknowledgment sent {"connection_id":216712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:10:54] local.INFO: TCP Data received {"connection_id":216712,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:10:54] local.INFO: Processing buffer {"connection_id":216712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:10:54] local.INFO: Packet analysis {"connection_id":216712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:10:54] local.INFO: Extracted packet for processing {"connection_id":216712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792139793000,"timestamp_ms":1792139793000,"timestamp_seconds":1792139793,"priority":1,"record_length":96,"hex_timestamp":"000001a143db1268"} 
[2026-10-16 14:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787709952001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:10:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:10:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787709952001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":216712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:10:54] local.INFO: GPS data processed {"connection_id":216712,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:10:54] local.INFO: Acknowledgment sent {"connection_id":216712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:11:16] local.INFO: TCP Data received {"connection_id":216918,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:11:16] local.INFO: Processing buffer {"connection_id":216918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:11:16] local.INFO: IMEI packet received {"connection_id":216918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":216918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:11:21] local.INFO: TCP Data received {"connection_id":216918,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:11:21] local.INFO: Processing buffer {"connection_id":216918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:11:21] local.INFO: IMEI packet received {"connection_id":216918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":216918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:11:23] local.INFO: TCP Data received {"connection_id":216918,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:11:23] local.INFO: Processing buffer {"connection_id":216918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:11:23] local.INFO: Packet analysis {"connection_id":216918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:11:23] local.INFO: Extracted packet for processing {"connection_id":216918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792139793000,"timestamp_ms":1792139793000,"timestamp_seconds":1792139793,"priority":1,"record_length":96,"hex_timestamp":"000001a143db1268"} 
[2026-10-16 14:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787709952001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:11:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:11:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787709952001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":216918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:11:23] local.INFO: GPS data processed {"connection_id":216918,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:11:23] local.INFO: Acknowledgment sent {"connection_id":216918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:11:55] local.INFO: TCP Data received {"connection_id":216918,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:11:55] local.INFO: Processing buffer {"connection_id":216918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143db1268012d7fa40005afce580009000a29..."} 
[2026-10-16 14:11:55] local.INFO: Packet analysis {"connection_id":216918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:11:55] local.INFO: Extracted packet for processing {"connection_id":216918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143db"} 
[2026-10-16 14:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792139793000,"timestamp_ms":1792139793000,"timestamp_seconds":1792139793,"priority":1,"record_length":96,"hex_timestamp":"000001a143db1268"} 
[2026-10-16 14:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787709952001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:11:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:11:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787709952001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":216918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:11:55] local.INFO: GPS data processed {"connection_id":216918,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:11:55] local.INFO: Acknowledgment sent {"connection_id":216918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:12:15] local.INFO: TCP Data received {"connection_id":219991,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:12:15] local.INFO: Processing buffer {"connection_id":219991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:12:15] local.INFO: IMEI packet received {"connection_id":219991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":219991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:12:21] local.INFO: TCP Data received {"connection_id":219992,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:12:21] local.INFO: Processing buffer {"connection_id":219992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:12:21] local.INFO: IMEI packet received {"connection_id":219992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":219992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:12:26] local.INFO: TCP Data received {"connection_id":219992,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:12:26] local.INFO: Processing buffer {"connection_id":219992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:12:26] local.INFO: IMEI packet received {"connection_id":219992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":219992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:12:29] local.INFO: TCP Data received {"connection_id":219992,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:12:29] local.INFO: Processing buffer {"connection_id":219992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:12:29] local.INFO: Packet analysis {"connection_id":219992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:12:29] local.INFO: Extracted packet for processing {"connection_id":219992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787787008001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792140094000,"timestamp_ms":1792140094000,"timestamp_seconds":1792140094,"priority":1,"record_length":96,"hex_timestamp":"000001a143dfaa30"} 
[2026-10-16 14:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:12:29] 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-10-16 14:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":219992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":219992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":219992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787787008001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787787008001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:12:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:12:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787787008001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":219992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:12:29] local.INFO: GPS data processed {"connection_id":219992,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:12:29] local.INFO: Acknowledgment sent {"connection_id":219992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:12:32] local.INFO: TCP Data received {"connection_id":219992,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:12:32] local.INFO: Processing buffer {"connection_id":219992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:12:32] local.INFO: Packet analysis {"connection_id":219992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:12:32] local.INFO: Extracted packet for processing {"connection_id":219992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787787008001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792140094000,"timestamp_ms":1792140094000,"timestamp_seconds":1792140094,"priority":1,"record_length":96,"hex_timestamp":"000001a143dfaa30"} 
[2026-10-16 14:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787787008001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787787008001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:12:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:12:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787787008001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":219992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:12:32] local.INFO: GPS data processed {"connection_id":219992,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:12:32] local.INFO: Acknowledgment sent {"connection_id":219992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:12:48] local.INFO: TCP Data received {"connection_id":216919,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:12:48] local.INFO: Processing buffer {"connection_id":216919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:12:48] local.INFO: IMEI packet received {"connection_id":216919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":216919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:13:16] local.INFO: TCP Data received {"connection_id":219993,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:13:16] local.INFO: Processing buffer {"connection_id":219993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:13:16] local.INFO: IMEI packet received {"connection_id":219993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":219993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:13:21] local.INFO: TCP Data received {"connection_id":219993,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:13:21] local.INFO: Processing buffer {"connection_id":219993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:13:21] local.INFO: IMEI packet received {"connection_id":219993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":219993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:13:21] local.INFO: TCP Data received {"connection_id":219993,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:13:21] local.INFO: Processing buffer {"connection_id":219993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:13:21] local.INFO: Packet analysis {"connection_id":219993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:13:21] local.INFO: Extracted packet for processing {"connection_id":219993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787787008001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792140094000,"timestamp_ms":1792140094000,"timestamp_seconds":1792140094,"priority":1,"record_length":96,"hex_timestamp":"000001a143dfaa30"} 
[2026-10-16 14:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:13:21] 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-10-16 14:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":219993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":219993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":219993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787787008001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787787008001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:13:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:13:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787787008001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":219993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:13:21] local.INFO: GPS data processed {"connection_id":219993,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:13:21] local.INFO: Acknowledgment sent {"connection_id":219993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:13:54] local.INFO: TCP Data received {"connection_id":219993,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:13:54] local.INFO: Processing buffer {"connection_id":219993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:13:54] local.INFO: Packet analysis {"connection_id":219993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:13:54] local.INFO: Extracted packet for processing {"connection_id":219993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787787008001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140094000,"timestamp_ms":1792140094000,"timestamp_seconds":1792140094,"priority":1,"record_length":96,"hex_timestamp":"000001a143dfaa30"} 
[2026-10-16 14:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:13:54] 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-10-16 14:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787787008001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787787008001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:13:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:13:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787787008001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":219993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:13:54] local.INFO: GPS data processed {"connection_id":219993,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:13:54] local.INFO: Acknowledgment sent {"connection_id":219993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:14:16] local.INFO: TCP Data received {"connection_id":216920,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:14:16] local.INFO: Processing buffer {"connection_id":216920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:14:16] local.INFO: IMEI packet received {"connection_id":216920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":216920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:14:21] local.INFO: TCP Data received {"connection_id":216920,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:14:21] local.INFO: Processing buffer {"connection_id":216920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:14:21] local.INFO: IMEI packet received {"connection_id":216920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":216920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:14:22] local.INFO: TCP Data received {"connection_id":216920,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:14:22] local.INFO: Processing buffer {"connection_id":216920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:14:22] local.INFO: Packet analysis {"connection_id":216920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:14:22] local.INFO: Extracted packet for processing {"connection_id":216920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787787008001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792140094000,"timestamp_ms":1792140094000,"timestamp_seconds":1792140094,"priority":1,"record_length":96,"hex_timestamp":"000001a143dfaa30"} 
[2026-10-16 14:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:14:22] 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-10-16 14:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787787008001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787787008001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:14:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:14:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787787008001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":216920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:14:22] local.INFO: GPS data processed {"connection_id":216920,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:14:22] local.INFO: Acknowledgment sent {"connection_id":216920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:14:54] local.INFO: TCP Data received {"connection_id":216920,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:14:54] local.INFO: Processing buffer {"connection_id":216920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:14:54] local.INFO: Packet analysis {"connection_id":216920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:14:54] local.INFO: Extracted packet for processing {"connection_id":216920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787787008001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140094000,"timestamp_ms":1792140094000,"timestamp_seconds":1792140094,"priority":1,"record_length":96,"hex_timestamp":"000001a143dfaa30"} 
[2026-10-16 14:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:14:54] 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-10-16 14:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787787008001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787787008001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:14:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:14:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787787008001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":216920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:14:54] local.INFO: GPS data processed {"connection_id":216920,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:14:54] local.INFO: Acknowledgment sent {"connection_id":216920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:15:16] local.INFO: TCP Data received {"connection_id":218266,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:15:16] local.INFO: Processing buffer {"connection_id":218266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:15:16] local.INFO: IMEI packet received {"connection_id":218266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":218266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:15:21] local.INFO: TCP Data received {"connection_id":218266,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:15:21] local.INFO: Processing buffer {"connection_id":218266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:15:21] local.INFO: IMEI packet received {"connection_id":218266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":218266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:15:21] local.INFO: TCP Data received {"connection_id":218266,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:15:21] local.INFO: Processing buffer {"connection_id":218266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:15:21] local.INFO: Packet analysis {"connection_id":218266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:15:21] local.INFO: Extracted packet for processing {"connection_id":218266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787787008001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792140094000,"timestamp_ms":1792140094000,"timestamp_seconds":1792140094,"priority":1,"record_length":96,"hex_timestamp":"000001a143dfaa30"} 
[2026-10-16 14:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:15:21] 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-10-16 14:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":218266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":218266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":218266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787787008001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787787008001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:15:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:15:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787787008001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":218266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:15:21] local.INFO: GPS data processed {"connection_id":218266,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:15:21] local.INFO: Acknowledgment sent {"connection_id":218266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:15:53] local.INFO: TCP Data received {"connection_id":218266,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:15:53] local.INFO: Processing buffer {"connection_id":218266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:15:53] local.INFO: Packet analysis {"connection_id":218266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:15:53] local.INFO: Extracted packet for processing {"connection_id":218266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:15:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787787008001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792140094000,"timestamp_ms":1792140094000,"timestamp_seconds":1792140094,"priority":1,"record_length":96,"hex_timestamp":"000001a143dfaa30"} 
[2026-10-16 14:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:15:53] 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-10-16 14:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787787008001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787787008001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:15:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:15:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787787008001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":218266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:15:53] local.INFO: GPS data processed {"connection_id":218266,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:15:53] local.INFO: Acknowledgment sent {"connection_id":218266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:16:21] local.INFO: TCP Data received {"connection_id":216715,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:16:21] local.INFO: Processing buffer {"connection_id":216715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:16:21] local.INFO: IMEI packet received {"connection_id":216715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":216715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:16:26] local.INFO: TCP Data received {"connection_id":216715,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:16:26] local.INFO: Processing buffer {"connection_id":216715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:16:26] local.INFO: IMEI packet received {"connection_id":216715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":216715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:16:28] local.INFO: TCP Data received {"connection_id":216715,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:16:28] local.INFO: Processing buffer {"connection_id":216715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:16:28] local.INFO: Packet analysis {"connection_id":216715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:16:28] local.INFO: Extracted packet for processing {"connection_id":216715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787787008001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792140094000,"timestamp_ms":1792140094000,"timestamp_seconds":1792140094,"priority":1,"record_length":96,"hex_timestamp":"000001a143dfaa30"} 
[2026-10-16 14:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:16:28] 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-10-16 14: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-10-16 14:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787787008001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787787008001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:16:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:16:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787787008001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":216715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:16:28] local.INFO: GPS data processed {"connection_id":216715,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:16:28] local.INFO: Acknowledgment sent {"connection_id":216715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:16:32] local.INFO: TCP Data received {"connection_id":216715,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:16:32] local.INFO: Processing buffer {"connection_id":216715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143dfaa30012d7fa40005afce580009000a30..."} 
[2026-10-16 14:16:32] local.INFO: Packet analysis {"connection_id":216715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:16:32] local.INFO: Extracted packet for processing {"connection_id":216715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143df"} 
[2026-10-16 14:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787787008001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792140094000,"timestamp_ms":1792140094000,"timestamp_seconds":1792140094,"priority":1,"record_length":96,"hex_timestamp":"000001a143dfaa30"} 
[2026-10-16 14:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787787008001,"66":25691,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787787008001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:16:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:16:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787787008001,"power":25691,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":216715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:16:32] local.INFO: GPS data processed {"connection_id":216715,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:16:32] local.INFO: Acknowledgment sent {"connection_id":216715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:17:16] local.INFO: TCP Data received {"connection_id":218267,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:17:16] local.INFO: Processing buffer {"connection_id":218267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:17:16] local.INFO: IMEI packet received {"connection_id":218267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":218267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:17:21] local.INFO: TCP Data received {"connection_id":218267,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:17:21] local.INFO: Processing buffer {"connection_id":218267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:17:21] local.INFO: IMEI packet received {"connection_id":218267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":218267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:17:22] local.INFO: TCP Data received {"connection_id":218267,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:17:22] local.INFO: Processing buffer {"connection_id":218267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:17:22] local.INFO: Packet analysis {"connection_id":218267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:17:22] local.INFO: Extracted packet for processing {"connection_id":218267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:17:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787864064001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792140395000,"timestamp_ms":1792140395000,"timestamp_seconds":1792140395,"priority":1,"record_length":96,"hex_timestamp":"000001a143e441f8"} 
[2026-10-16 14:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787864064001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787864064001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:17:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:17:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787864064001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":218267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:17:22] local.INFO: GPS data processed {"connection_id":218267,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:17:22] local.INFO: Acknowledgment sent {"connection_id":218267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:17:54] local.INFO: TCP Data received {"connection_id":218267,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:17:54] local.INFO: Processing buffer {"connection_id":218267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:17:54] local.INFO: Packet analysis {"connection_id":218267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:17:54] local.INFO: Extracted packet for processing {"connection_id":218267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787864064001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140395000,"timestamp_ms":1792140395000,"timestamp_seconds":1792140395,"priority":1,"record_length":96,"hex_timestamp":"000001a143e441f8"} 
[2026-10-16 14:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787864064001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787864064001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:17:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:17:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787864064001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":218267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:17:54] local.INFO: GPS data processed {"connection_id":218267,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:17:54] local.INFO: Acknowledgment sent {"connection_id":218267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:18:10] local.INFO: TCP Data received {"connection_id":216921,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:18:10] local.INFO: Processing buffer {"connection_id":216921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:18:10] local.INFO: IMEI packet received {"connection_id":216921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":216921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:18:21] local.INFO: TCP Data received {"connection_id":219995,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:18:21] local.INFO: Processing buffer {"connection_id":219995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:18:21] local.INFO: IMEI packet received {"connection_id":219995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":219995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:18:26] local.INFO: TCP Data received {"connection_id":219995,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:18:26] local.INFO: Processing buffer {"connection_id":219995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:18:26] local.INFO: IMEI packet received {"connection_id":219995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":219995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:18:27] local.INFO: TCP Data received {"connection_id":219995,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:18:27] local.INFO: Processing buffer {"connection_id":219995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:18:27] local.INFO: Packet analysis {"connection_id":219995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:18:27] local.INFO: Extracted packet for processing {"connection_id":219995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787864064001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792140395000,"timestamp_ms":1792140395000,"timestamp_seconds":1792140395,"priority":1,"record_length":96,"hex_timestamp":"000001a143e441f8"} 
[2026-10-16 14:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":219995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":219995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":219995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787864064001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787864064001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:18:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:18:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787864064001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":219995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:18:27] local.INFO: GPS data processed {"connection_id":219995,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:18:27] local.INFO: Acknowledgment sent {"connection_id":219995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:18:32] local.INFO: TCP Data received {"connection_id":219995,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:18:32] local.INFO: Processing buffer {"connection_id":219995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:18:32] local.INFO: Packet analysis {"connection_id":219995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:18:32] local.INFO: Extracted packet for processing {"connection_id":219995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787864064001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792140395000,"timestamp_ms":1792140395000,"timestamp_seconds":1792140395,"priority":1,"record_length":96,"hex_timestamp":"000001a143e441f8"} 
[2026-10-16 14:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":219995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":219995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":219995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787864064001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787864064001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:18:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:18:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787864064001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":219995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:18:32] local.INFO: GPS data processed {"connection_id":219995,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:18:32] local.INFO: Acknowledgment sent {"connection_id":219995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:18:55] local.INFO: TCP Data received {"connection_id":216717,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:18:55] local.INFO: Processing buffer {"connection_id":216717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:18:55] local.INFO: IMEI packet received {"connection_id":216717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":216717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:19:16] local.INFO: TCP Data received {"connection_id":216922,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:19:16] local.INFO: Processing buffer {"connection_id":216922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:19:16] local.INFO: IMEI packet received {"connection_id":216922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":216922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:19:21] local.INFO: TCP Data received {"connection_id":216922,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:19:21] local.INFO: Processing buffer {"connection_id":216922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:19:21] local.INFO: IMEI packet received {"connection_id":216922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":216922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:19:22] local.INFO: TCP Data received {"connection_id":216922,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:19:22] local.INFO: Processing buffer {"connection_id":216922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:19:22] local.INFO: Packet analysis {"connection_id":216922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:19:22] local.INFO: Extracted packet for processing {"connection_id":216922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787864064001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792140395000,"timestamp_ms":1792140395000,"timestamp_seconds":1792140395,"priority":1,"record_length":96,"hex_timestamp":"000001a143e441f8"} 
[2026-10-16 14:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787864064001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787864064001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:19:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:19:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787864064001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":216922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:19:22] local.INFO: GPS data processed {"connection_id":216922,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:19:22] local.INFO: Acknowledgment sent {"connection_id":216922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:19:54] local.INFO: TCP Data received {"connection_id":216922,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:19:54] local.INFO: Processing buffer {"connection_id":216922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:19:54] local.INFO: Packet analysis {"connection_id":216922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:19:54] local.INFO: Extracted packet for processing {"connection_id":216922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787864064001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140395000,"timestamp_ms":1792140395000,"timestamp_seconds":1792140395,"priority":1,"record_length":96,"hex_timestamp":"000001a143e441f8"} 
[2026-10-16 14:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787864064001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787864064001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:19:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:19:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787864064001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":216922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:19:54] local.INFO: GPS data processed {"connection_id":216922,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:19:54] local.INFO: Acknowledgment sent {"connection_id":216922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:20:16] local.INFO: TCP Data received {"connection_id":219996,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:20:16] local.INFO: Processing buffer {"connection_id":219996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:20:16] local.INFO: IMEI packet received {"connection_id":219996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":219996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:20:21] local.INFO: TCP Data received {"connection_id":219996,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:20:21] local.INFO: Processing buffer {"connection_id":219996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:20:21] local.INFO: IMEI packet received {"connection_id":219996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":219996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:20:22] local.INFO: TCP Data received {"connection_id":219996,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:20:22] local.INFO: Processing buffer {"connection_id":219996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:20:22] local.INFO: Packet analysis {"connection_id":219996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:20:22] local.INFO: Extracted packet for processing {"connection_id":219996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787864064001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792140395000,"timestamp_ms":1792140395000,"timestamp_seconds":1792140395,"priority":1,"record_length":96,"hex_timestamp":"000001a143e441f8"} 
[2026-10-16 14:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787864064001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787864064001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:20:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:20:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787864064001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":219996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:20:22] local.INFO: GPS data processed {"connection_id":219996,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:20:22] local.INFO: Acknowledgment sent {"connection_id":219996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:20:54] local.INFO: TCP Data received {"connection_id":219996,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:20:54] local.INFO: Processing buffer {"connection_id":219996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:20:54] local.INFO: Packet analysis {"connection_id":219996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:20:54] local.INFO: Extracted packet for processing {"connection_id":219996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787864064001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140395000,"timestamp_ms":1792140395000,"timestamp_seconds":1792140395,"priority":1,"record_length":96,"hex_timestamp":"000001a143e441f8"} 
[2026-10-16 14:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787864064001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787864064001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:20:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:20:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787864064001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":219996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:20:54] local.INFO: GPS data processed {"connection_id":219996,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:20:54] local.INFO: Acknowledgment sent {"connection_id":219996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:21:16] local.INFO: TCP Data received {"connection_id":216924,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:21:16] local.INFO: Processing buffer {"connection_id":216924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:21:16] local.INFO: IMEI packet received {"connection_id":216924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":216924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:21:21] local.INFO: TCP Data received {"connection_id":216924,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:21:21] local.INFO: Processing buffer {"connection_id":216924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:21:21] local.INFO: IMEI packet received {"connection_id":216924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":216924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:21:22] local.INFO: TCP Data received {"connection_id":216924,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:21:22] local.INFO: Processing buffer {"connection_id":216924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:21:22] local.INFO: Packet analysis {"connection_id":216924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:21:22] local.INFO: Extracted packet for processing {"connection_id":216924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:21:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787864064001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792140395000,"timestamp_ms":1792140395000,"timestamp_seconds":1792140395,"priority":1,"record_length":96,"hex_timestamp":"000001a143e441f8"} 
[2026-10-16 14:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787864064001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787864064001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:21:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:21:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787864064001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":216924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:21:22] local.INFO: GPS data processed {"connection_id":216924,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:21:22] local.INFO: Acknowledgment sent {"connection_id":216924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:21:54] local.INFO: TCP Data received {"connection_id":216924,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:21:54] local.INFO: Processing buffer {"connection_id":216924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e441f8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:21:54] local.INFO: Packet analysis {"connection_id":216924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:21:54] local.INFO: Extracted packet for processing {"connection_id":216924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e4"} 
[2026-10-16 14:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787864064001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140395000,"timestamp_ms":1792140395000,"timestamp_seconds":1792140395,"priority":1,"record_length":96,"hex_timestamp":"000001a143e441f8"} 
[2026-10-16 14:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 14:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787864064001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787864064001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:21:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:21:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787864064001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":216924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:21:54] local.INFO: GPS data processed {"connection_id":216924,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:21:54] local.INFO: Acknowledgment sent {"connection_id":216924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:22:16] local.INFO: TCP Data received {"connection_id":219997,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:22:16] local.INFO: Processing buffer {"connection_id":219997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:22:16] local.INFO: IMEI packet received {"connection_id":219997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":219997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:22:21] local.INFO: TCP Data received {"connection_id":219997,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:22:21] local.INFO: Processing buffer {"connection_id":219997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:22:21] local.INFO: IMEI packet received {"connection_id":219997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":219997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:22:22] local.INFO: TCP Data received {"connection_id":219997,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:22:22] local.INFO: Processing buffer {"connection_id":219997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:22:22] local.INFO: Packet analysis {"connection_id":219997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:22:22] local.INFO: Extracted packet for processing {"connection_id":219997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:22:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787941120001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792140696000,"timestamp_ms":1792140696000,"timestamp_seconds":1792140696,"priority":1,"record_length":96,"hex_timestamp":"000001a143e8d9c0"} 
[2026-10-16 14:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:22:22] 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-10-16 14:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":219997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":219997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":219997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787941120001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787941120001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:22:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:22:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787941120001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":219997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:22:23] local.INFO: GPS data processed {"connection_id":219997,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:22:23] local.INFO: Acknowledgment sent {"connection_id":219997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:22:54] local.INFO: TCP Data received {"connection_id":219997,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:22:54] local.INFO: Processing buffer {"connection_id":219997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:22:54] local.INFO: Packet analysis {"connection_id":219997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:22:54] local.INFO: Extracted packet for processing {"connection_id":219997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787941120001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140696000,"timestamp_ms":1792140696000,"timestamp_seconds":1792140696,"priority":1,"record_length":96,"hex_timestamp":"000001a143e8d9c0"} 
[2026-10-16 14:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:22:54] 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-10-16 14:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":219997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":219997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":219997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787941120001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787941120001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:22:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:22:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787941120001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":219997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:22:54] local.INFO: GPS data processed {"connection_id":219997,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:22:54] local.INFO: Acknowledgment sent {"connection_id":219997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:23:16] local.INFO: TCP Data received {"connection_id":216926,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:23:16] local.INFO: Processing buffer {"connection_id":216926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:23:16] local.INFO: IMEI packet received {"connection_id":216926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":216926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:23:21] local.INFO: TCP Data received {"connection_id":216926,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:23:21] local.INFO: Processing buffer {"connection_id":216926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:23:21] local.INFO: IMEI packet received {"connection_id":216926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:23:23] local.INFO: TCP Data received {"connection_id":216926,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:23:23] local.INFO: Processing buffer {"connection_id":216926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:23:23] local.INFO: Packet analysis {"connection_id":216926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:23:23] local.INFO: Extracted packet for processing {"connection_id":216926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:23:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787941120001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792140696000,"timestamp_ms":1792140696000,"timestamp_seconds":1792140696,"priority":1,"record_length":96,"hex_timestamp":"000001a143e8d9c0"} 
[2026-10-16 14:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:23:23] 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-10-16 14: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-10-16 14:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787941120001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787941120001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:23:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:23:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787941120001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":216926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:23:23] local.INFO: GPS data processed {"connection_id":216926,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:23:23] local.INFO: Acknowledgment sent {"connection_id":216926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:23:55] local.INFO: TCP Data received {"connection_id":216926,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:23:55] local.INFO: Processing buffer {"connection_id":216926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:23:55] local.INFO: Packet analysis {"connection_id":216926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:23:55] local.INFO: Extracted packet for processing {"connection_id":216926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787941120001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792140696000,"timestamp_ms":1792140696000,"timestamp_seconds":1792140696,"priority":1,"record_length":96,"hex_timestamp":"000001a143e8d9c0"} 
[2026-10-16 14:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:23:55] 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-10-16 14:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787941120001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787941120001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:23:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:23:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787941120001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":216926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:23:55] local.INFO: GPS data processed {"connection_id":216926,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:23:55] local.INFO: Acknowledgment sent {"connection_id":216926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:24:15] local.INFO: TCP Data received {"connection_id":216927,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:24:15] local.INFO: Processing buffer {"connection_id":216927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:24:15] local.INFO: IMEI packet received {"connection_id":216927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":216927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:24:16] local.INFO: TCP Data received {"connection_id":216720,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:24:16] local.INFO: Processing buffer {"connection_id":216720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:24:16] local.INFO: IMEI packet received {"connection_id":216720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":216720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:24:21] local.INFO: TCP Data received {"connection_id":216720,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:24:21] local.INFO: Processing buffer {"connection_id":216720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:24:21] local.INFO: IMEI packet received {"connection_id":216720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":216720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:24:22] local.INFO: TCP Data received {"connection_id":216720,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:24:22] local.INFO: Processing buffer {"connection_id":216720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:24:22] local.INFO: Packet analysis {"connection_id":216720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:24:22] local.INFO: Extracted packet for processing {"connection_id":216720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:24:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787941120001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792140696000,"timestamp_ms":1792140696000,"timestamp_seconds":1792140696,"priority":1,"record_length":96,"hex_timestamp":"000001a143e8d9c0"} 
[2026-10-16 14:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:24:22] 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-10-16 14:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787941120001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787941120001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:24:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:24:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787941120001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":216720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:24:22] local.INFO: GPS data processed {"connection_id":216720,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:24:22] local.INFO: Acknowledgment sent {"connection_id":216720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:24:50] local.INFO: TCP Data received {"connection_id":219998,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:24:50] local.INFO: Processing buffer {"connection_id":219998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:24:50] local.INFO: IMEI packet received {"connection_id":219998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":219998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:24:54] local.INFO: TCP Data received {"connection_id":216720,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:24:54] local.INFO: Processing buffer {"connection_id":216720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:24:54] local.INFO: Packet analysis {"connection_id":216720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:24:54] local.INFO: Extracted packet for processing {"connection_id":216720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787941120001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140696000,"timestamp_ms":1792140696000,"timestamp_seconds":1792140696,"priority":1,"record_length":96,"hex_timestamp":"000001a143e8d9c0"} 
[2026-10-16 14:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:24:54] 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-10-16 14:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787941120001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787941120001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:24:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:24:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787941120001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":216720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:24:54] local.INFO: GPS data processed {"connection_id":216720,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:24:54] local.INFO: Acknowledgment sent {"connection_id":216720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:24:55] local.INFO: TCP Data received {"connection_id":219998,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:24:55] local.INFO: Processing buffer {"connection_id":219998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:24:55] local.INFO: IMEI packet received {"connection_id":219998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 14:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":219998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:24:56] local.INFO: TCP Data received {"connection_id":219998,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a143eac208012cea0880071bd2580016001425..."} 
[2026-10-16 14:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143eac208012cea0880071bd2580016001425..."} 
[2026-10-16 14:24:56] local.INFO: Processing buffer {"connection_id":219998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143eac208012cea0880071bd2580016001425..."} 
[2026-10-16 14:24:56] local.INFO: Packet analysis {"connection_id":219998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ea"} 
[2026-10-16 14:24:56] local.INFO: Extracted packet for processing {"connection_id":219998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ea"} 
[2026-10-16 14:24:56] local.INFO: GPS Element Parsed {"raw_longitude":753535104,"raw_latitude":119263832,"longitude_deg":75.3535104,"latitude_deg":11.9263832,"altitude":22,"angle":20,"satellites":37,"speed":16,"hex_longitude":"2cea0880","hex_latitude":"071bd258","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12913815607836672,"note":"Value kept but may cause issues"} 
[2026-10-16 14:24:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,209,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 14:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792140821000,"timestamp_ms":1792140821000,"timestamp_seconds":1792140821,"priority":1,"record_length":96,"hex_timestamp":"000001a143eac208"} 
[2026-10-16 14:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-16 14:24:56] 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-10-16 14: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-10-16 14:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":219998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":219998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 14:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":219998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 14:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 14:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 14:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"209":206,"83":41216,"24":16,"16":12913815607836672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16]} 
[2026-10-16 14:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 14:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 14:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 14:24:56] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-10-16 14:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-10-16 14:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12913815607836672,"km_value":12913815607836.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:24:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_209":206,"unknown_83":41216,"ignition":16,"odometer":null}} 
[2026-10-16 14:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":219998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:24:57] local.INFO: GPS data processed {"connection_id":219998,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:24:57] local.INFO: Acknowledgment sent {"connection_id":219998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:25:16] local.INFO: TCP Data received {"connection_id":219999,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:25:16] local.INFO: Processing buffer {"connection_id":219999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:25:16] local.INFO: IMEI packet received {"connection_id":219999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":219999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:25:21] local.INFO: TCP Data received {"connection_id":219999,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:25:21] local.INFO: Processing buffer {"connection_id":219999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:25:21] local.INFO: IMEI packet received {"connection_id":219999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":219999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:25:23] local.INFO: TCP Data received {"connection_id":219999,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:25:23] local.INFO: Processing buffer {"connection_id":219999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:25:23] local.INFO: Packet analysis {"connection_id":219999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:25:23] local.INFO: Extracted packet for processing {"connection_id":219999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787941120001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792140696000,"timestamp_ms":1792140696000,"timestamp_seconds":1792140696,"priority":1,"record_length":96,"hex_timestamp":"000001a143e8d9c0"} 
[2026-10-16 14:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:25:23] 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-10-16 14:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":219999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":219999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":219999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787941120001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787941120001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:25:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:25:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787941120001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":219999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:25:23] local.INFO: GPS data processed {"connection_id":219999,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:25:23] local.INFO: Acknowledgment sent {"connection_id":219999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:25:55] local.INFO: TCP Data received {"connection_id":219999,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":219999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:25:55] local.INFO: Processing buffer {"connection_id":219999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:25:55] local.INFO: Packet analysis {"connection_id":219999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:25:55] local.INFO: Extracted packet for processing {"connection_id":219999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787941120001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792140696000,"timestamp_ms":1792140696000,"timestamp_seconds":1792140696,"priority":1,"record_length":96,"hex_timestamp":"000001a143e8d9c0"} 
[2026-10-16 14:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:25:55] 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-10-16 14:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":219999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":219999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":219999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787941120001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787941120001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:25:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:25:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787941120001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":219999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:25:55] local.INFO: GPS data processed {"connection_id":219999,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:25:55] local.INFO: Acknowledgment sent {"connection_id":219999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:26:21] local.INFO: TCP Data received {"connection_id":216928,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:26:21] local.INFO: Processing buffer {"connection_id":216928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:26:21] local.INFO: IMEI packet received {"connection_id":216928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":216928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:26:26] local.INFO: TCP Data received {"connection_id":216928,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:26:26] local.INFO: Processing buffer {"connection_id":216928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:26:26] local.INFO: IMEI packet received {"connection_id":216928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":216928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:26:27] local.INFO: TCP Data received {"connection_id":216928,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:26:27] local.INFO: Processing buffer {"connection_id":216928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:26:27] local.INFO: Packet analysis {"connection_id":216928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:26:27] local.INFO: Extracted packet for processing {"connection_id":216928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787941120001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792140696000,"timestamp_ms":1792140696000,"timestamp_seconds":1792140696,"priority":1,"record_length":96,"hex_timestamp":"000001a143e8d9c0"} 
[2026-10-16 14:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:26:27] 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-10-16 14:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787941120001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787941120001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:26:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:26:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787941120001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":216928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:26:27] local.INFO: GPS data processed {"connection_id":216928,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:26:27] local.INFO: Acknowledgment sent {"connection_id":216928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:26:31] local.INFO: TCP Data received {"connection_id":216721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:26:31] local.INFO: Processing buffer {"connection_id":216721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:26:31] local.INFO: IMEI packet received {"connection_id":216721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":216721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:26:32] local.INFO: TCP Data received {"connection_id":216928,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:26:32] local.INFO: Processing buffer {"connection_id":216928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143e8d9c0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:26:32] local.INFO: Packet analysis {"connection_id":216928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:26:32] local.INFO: Extracted packet for processing {"connection_id":216928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143e8"} 
[2026-10-16 14:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458787941120001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792140696000,"timestamp_ms":1792140696000,"timestamp_seconds":1792140696,"priority":1,"record_length":96,"hex_timestamp":"000001a143e8d9c0"} 
[2026-10-16 14:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458787941120001,"66":25702,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458787941120001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458787941120001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":216928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:26:32] local.INFO: GPS data processed {"connection_id":216928,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:26:32] local.INFO: Acknowledgment sent {"connection_id":216928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:27:05] local.INFO: TCP Data received {"connection_id":220000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:27:05] local.INFO: Processing buffer {"connection_id":220000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:27:05] local.INFO: IMEI packet received {"connection_id":220000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":220000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:27:15] local.INFO: TCP Data received {"connection_id":216722,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:27:15] local.INFO: Processing buffer {"connection_id":216722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:27:15] local.INFO: IMEI packet received {"connection_id":216722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":216722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:27:16] local.INFO: TCP Data received {"connection_id":216722,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:27:16] local.INFO: Processing buffer {"connection_id":216722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:27:16] local.INFO: IMEI packet received {"connection_id":216722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":216722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:27:21] local.INFO: TCP Data received {"connection_id":216722,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:27:21] local.INFO: Processing buffer {"connection_id":216722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:27:21] local.INFO: IMEI packet received {"connection_id":216722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":216722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:27:22] local.INFO: TCP Data received {"connection_id":216722,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:27:22] local.INFO: Processing buffer {"connection_id":216722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:27:22] local.INFO: Packet analysis {"connection_id":216722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:27:22] local.INFO: Extracted packet for processing {"connection_id":216722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:27:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788018176001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792140997000,"timestamp_ms":1792140997000,"timestamp_seconds":1792140997,"priority":1,"record_length":96,"hex_timestamp":"000001a143ed7188"} 
[2026-10-16 14:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:27:22] 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-10-16 14: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-10-16 14:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788018176001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788018176001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:27:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:27:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788018176001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":216722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:27:22] local.INFO: GPS data processed {"connection_id":216722,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:27:22] local.INFO: Acknowledgment sent {"connection_id":216722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:27:54] local.INFO: TCP Data received {"connection_id":216722,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:27:54] local.INFO: Processing buffer {"connection_id":216722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:27:54] local.INFO: Packet analysis {"connection_id":216722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:27:54] local.INFO: Extracted packet for processing {"connection_id":216722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788018176001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140997000,"timestamp_ms":1792140997000,"timestamp_seconds":1792140997,"priority":1,"record_length":96,"hex_timestamp":"000001a143ed7188"} 
[2026-10-16 14:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:27:54] 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-10-16 14:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788018176001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788018176001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:27:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:27:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788018176001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":216722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:27:54] local.INFO: GPS data processed {"connection_id":216722,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:27:54] local.INFO: Acknowledgment sent {"connection_id":216722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:28:21] local.INFO: TCP Data received {"connection_id":220001,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:28:21] local.INFO: Processing buffer {"connection_id":220001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:28:21] local.INFO: IMEI packet received {"connection_id":220001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":220001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:28:26] local.INFO: TCP Data received {"connection_id":220001,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:28:26] local.INFO: Processing buffer {"connection_id":220001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:28:26] local.INFO: IMEI packet received {"connection_id":220001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":220001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:28:28] local.INFO: TCP Data received {"connection_id":220001,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:28:28] local.INFO: Processing buffer {"connection_id":220001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:28:28] local.INFO: Packet analysis {"connection_id":220001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:28:28] local.INFO: Extracted packet for processing {"connection_id":220001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788018176001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792140997000,"timestamp_ms":1792140997000,"timestamp_seconds":1792140997,"priority":1,"record_length":96,"hex_timestamp":"000001a143ed7188"} 
[2026-10-16 14:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:28:28] 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-10-16 14:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":220001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":220001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":220001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788018176001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788018176001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:28:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:28:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788018176001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":220001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:28:28] local.INFO: GPS data processed {"connection_id":220001,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:28:28] local.INFO: Acknowledgment sent {"connection_id":220001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:28:32] local.INFO: TCP Data received {"connection_id":220001,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:28:32] local.INFO: Processing buffer {"connection_id":220001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:28:32] local.INFO: Packet analysis {"connection_id":220001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:28:32] local.INFO: Extracted packet for processing {"connection_id":220001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788018176001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792140997000,"timestamp_ms":1792140997000,"timestamp_seconds":1792140997,"priority":1,"record_length":96,"hex_timestamp":"000001a143ed7188"} 
[2026-10-16 14:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":220001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":220001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":220001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788018176001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788018176001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:28:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:28:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788018176001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":220001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:28:32] local.INFO: GPS data processed {"connection_id":220001,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:28:32] local.INFO: Acknowledgment sent {"connection_id":220001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:29:16] local.INFO: TCP Data received {"connection_id":216929,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:29:16] local.INFO: Processing buffer {"connection_id":216929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:29:16] local.INFO: IMEI packet received {"connection_id":216929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":216929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:29:21] local.INFO: TCP Data received {"connection_id":216929,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:29:21] local.INFO: Processing buffer {"connection_id":216929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:29:21] local.INFO: IMEI packet received {"connection_id":216929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":216929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:29:22] local.INFO: TCP Data received {"connection_id":216929,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:29:22] local.INFO: Processing buffer {"connection_id":216929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:29:22] local.INFO: Packet analysis {"connection_id":216929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:29:22] local.INFO: Extracted packet for processing {"connection_id":216929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788018176001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792140997000,"timestamp_ms":1792140997000,"timestamp_seconds":1792140997,"priority":1,"record_length":96,"hex_timestamp":"000001a143ed7188"} 
[2026-10-16 14:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:29:22] 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-10-16 14:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788018176001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788018176001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:29:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:29:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788018176001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":216929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:29:22] local.INFO: GPS data processed {"connection_id":216929,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:29:22] local.INFO: Acknowledgment sent {"connection_id":216929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:29:54] local.INFO: TCP Data received {"connection_id":216929,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:29:54] local.INFO: Processing buffer {"connection_id":216929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:29:54] local.INFO: Packet analysis {"connection_id":216929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:29:54] local.INFO: Extracted packet for processing {"connection_id":216929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788018176001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140997000,"timestamp_ms":1792140997000,"timestamp_seconds":1792140997,"priority":1,"record_length":96,"hex_timestamp":"000001a143ed7188"} 
[2026-10-16 14:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:29:54] 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-10-16 14:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788018176001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788018176001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:29:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:29:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788018176001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":216929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:29:54] local.INFO: GPS data processed {"connection_id":216929,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:29:54] local.INFO: Acknowledgment sent {"connection_id":216929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:30:16] local.INFO: TCP Data received {"connection_id":216723,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:30:16] local.INFO: Processing buffer {"connection_id":216723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:30:16] local.INFO: IMEI packet received {"connection_id":216723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":216723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:30:21] local.INFO: TCP Data received {"connection_id":216723,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:30:21] local.INFO: Processing buffer {"connection_id":216723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:30:21] local.INFO: IMEI packet received {"connection_id":216723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":216723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:30:23] local.INFO: TCP Data received {"connection_id":216723,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:30:23] local.INFO: Processing buffer {"connection_id":216723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:30:23] local.INFO: Packet analysis {"connection_id":216723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:30:23] local.INFO: Extracted packet for processing {"connection_id":216723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788018176001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792140997000,"timestamp_ms":1792140997000,"timestamp_seconds":1792140997,"priority":1,"record_length":96,"hex_timestamp":"000001a143ed7188"} 
[2026-10-16 14:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:30:23] 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-10-16 14:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788018176001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788018176001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:30:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:30:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788018176001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":216723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:30:23] local.INFO: GPS data processed {"connection_id":216723,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:30:23] local.INFO: Acknowledgment sent {"connection_id":216723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:30:54] local.INFO: TCP Data received {"connection_id":216723,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:30:54] local.INFO: Processing buffer {"connection_id":216723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:30:54] local.INFO: Packet analysis {"connection_id":216723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:30:54] local.INFO: Extracted packet for processing {"connection_id":216723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788018176001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792140997000,"timestamp_ms":1792140997000,"timestamp_seconds":1792140997,"priority":1,"record_length":96,"hex_timestamp":"000001a143ed7188"} 
[2026-10-16 14:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:30:54] 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-10-16 14:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788018176001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788018176001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:30:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:30:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788018176001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":216723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:30:54] local.INFO: GPS data processed {"connection_id":216723,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:30:54] local.INFO: Acknowledgment sent {"connection_id":216723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:31:16] local.INFO: TCP Data received {"connection_id":220002,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:31:16] local.INFO: Processing buffer {"connection_id":220002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:31:16] local.INFO: IMEI packet received {"connection_id":220002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":220002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:31:21] local.INFO: TCP Data received {"connection_id":220002,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:31:21] local.INFO: Processing buffer {"connection_id":220002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:31:21] local.INFO: IMEI packet received {"connection_id":220002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":220002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:31:23] local.INFO: TCP Data received {"connection_id":220002,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:31:23] local.INFO: Processing buffer {"connection_id":220002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:31:23] local.INFO: Packet analysis {"connection_id":220002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:31:23] local.INFO: Extracted packet for processing {"connection_id":220002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788018176001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792140997000,"timestamp_ms":1792140997000,"timestamp_seconds":1792140997,"priority":1,"record_length":96,"hex_timestamp":"000001a143ed7188"} 
[2026-10-16 14:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:31:23] 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-10-16 14:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788018176001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788018176001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:31:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:31:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788018176001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":220002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:31:23] local.INFO: GPS data processed {"connection_id":220002,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:31:23] local.INFO: Acknowledgment sent {"connection_id":220002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:31:55] local.INFO: TCP Data received {"connection_id":220002,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:31:55] local.INFO: Processing buffer {"connection_id":220002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ed7188012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:31:55] local.INFO: Packet analysis {"connection_id":220002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:31:55] local.INFO: Extracted packet for processing {"connection_id":220002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ed"} 
[2026-10-16 14:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788018176001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792140997000,"timestamp_ms":1792140997000,"timestamp_seconds":1792140997,"priority":1,"record_length":96,"hex_timestamp":"000001a143ed7188"} 
[2026-10-16 14:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 14:31:55] 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-10-16 14:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788018176001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788018176001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:31:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:31:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788018176001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":220002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:31:55] local.INFO: GPS data processed {"connection_id":220002,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:31:55] local.INFO: Acknowledgment sent {"connection_id":220002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:32:16] local.INFO: TCP Data received {"connection_id":216724,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:32:16] local.INFO: Processing buffer {"connection_id":216724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:32:16] local.INFO: IMEI packet received {"connection_id":216724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":216724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:32:16] local.INFO: TCP Data received {"connection_id":216724,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:32:16] local.INFO: Processing buffer {"connection_id":216724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:32:16] local.INFO: IMEI packet received {"connection_id":216724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":216724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:32:21] local.INFO: TCP Data received {"connection_id":216724,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:32:21] local.INFO: Processing buffer {"connection_id":216724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:32:21] local.INFO: IMEI packet received {"connection_id":216724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":216724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:32:23] local.INFO: TCP Data received {"connection_id":216724,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:32:23] local.INFO: Processing buffer {"connection_id":216724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:32:23] local.INFO: Packet analysis {"connection_id":216724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:32:23] local.INFO: Extracted packet for processing {"connection_id":216724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788095232001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792141298000,"timestamp_ms":1792141298000,"timestamp_seconds":1792141298,"priority":1,"record_length":96,"hex_timestamp":"000001a143f20950"} 
[2026-10-16 14:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:32:23] 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-10-16 14:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788095232001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788095232001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:32:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:32:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788095232001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":216724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:32:23] local.INFO: GPS data processed {"connection_id":216724,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:32:23] local.INFO: Acknowledgment sent {"connection_id":216724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:32:34] local.INFO: TCP Data received {"connection_id":218272,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:32:34] local.INFO: Processing buffer {"connection_id":218272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:32:34] local.INFO: IMEI packet received {"connection_id":218272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":218272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:32:55] local.INFO: TCP Data received {"connection_id":216724,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:32:55] local.INFO: Processing buffer {"connection_id":216724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:32:55] local.INFO: Packet analysis {"connection_id":216724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:32:55] local.INFO: Extracted packet for processing {"connection_id":216724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788095232001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792141298000,"timestamp_ms":1792141298000,"timestamp_seconds":1792141298,"priority":1,"record_length":96,"hex_timestamp":"000001a143f20950"} 
[2026-10-16 14:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:32:55] 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-10-16 14:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788095232001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788095232001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:32:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:32:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788095232001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":216724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:32:55] local.INFO: GPS data processed {"connection_id":216724,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:32:55] local.INFO: Acknowledgment sent {"connection_id":216724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:32:56] local.INFO: TCP Data received {"connection_id":216931,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:32:56] local.INFO: Processing buffer {"connection_id":216931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:32:56] local.INFO: IMEI packet received {"connection_id":216931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":216931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:33:16] local.INFO: TCP Data received {"connection_id":216932,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:33:16] local.INFO: Processing buffer {"connection_id":216932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:33:16] local.INFO: IMEI packet received {"connection_id":216932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":216932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:33:21] local.INFO: TCP Data received {"connection_id":216932,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:33:21] local.INFO: Processing buffer {"connection_id":216932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:33:21] local.INFO: IMEI packet received {"connection_id":216932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":216932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:33:22] local.INFO: TCP Data received {"connection_id":216932,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:33:22] local.INFO: Processing buffer {"connection_id":216932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:33:22] local.INFO: Packet analysis {"connection_id":216932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:33:22] local.INFO: Extracted packet for processing {"connection_id":216932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:33:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788095232001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792141298000,"timestamp_ms":1792141298000,"timestamp_seconds":1792141298,"priority":1,"record_length":96,"hex_timestamp":"000001a143f20950"} 
[2026-10-16 14:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:33:22] 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-10-16 14:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788095232001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788095232001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:33:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:33:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788095232001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":216932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:33:22] local.INFO: GPS data processed {"connection_id":216932,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:33:22] local.INFO: Acknowledgment sent {"connection_id":216932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:33:54] local.INFO: TCP Data received {"connection_id":216932,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:33:54] local.INFO: Processing buffer {"connection_id":216932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:33:54] local.INFO: Packet analysis {"connection_id":216932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:33:54] local.INFO: Extracted packet for processing {"connection_id":216932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788095232001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792141298000,"timestamp_ms":1792141298000,"timestamp_seconds":1792141298,"priority":1,"record_length":96,"hex_timestamp":"000001a143f20950"} 
[2026-10-16 14:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:33:54] 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-10-16 14:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788095232001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788095232001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:33:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:33:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788095232001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":216932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:33:54] local.INFO: GPS data processed {"connection_id":216932,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:33:54] local.INFO: Acknowledgment sent {"connection_id":216932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:34:16] local.INFO: TCP Data received {"connection_id":216725,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:34:16] local.INFO: Processing buffer {"connection_id":216725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:34:16] local.INFO: IMEI packet received {"connection_id":216725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":216725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:34:21] local.INFO: TCP Data received {"connection_id":216725,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:34:21] local.INFO: Processing buffer {"connection_id":216725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:34:21] local.INFO: IMEI packet received {"connection_id":216725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":216725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:34:22] local.INFO: TCP Data received {"connection_id":216725,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:34:22] local.INFO: Processing buffer {"connection_id":216725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:34:22] local.INFO: Packet analysis {"connection_id":216725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:34:22] local.INFO: Extracted packet for processing {"connection_id":216725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:34:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788095232001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792141298000,"timestamp_ms":1792141298000,"timestamp_seconds":1792141298,"priority":1,"record_length":96,"hex_timestamp":"000001a143f20950"} 
[2026-10-16 14:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:34:22] 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-10-16 14: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-10-16 14:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788095232001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788095232001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:34:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:34:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788095232001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":216725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:34:22] local.INFO: GPS data processed {"connection_id":216725,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:34:22] local.INFO: Acknowledgment sent {"connection_id":216725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:34:54] local.INFO: TCP Data received {"connection_id":216725,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:34:54] local.INFO: Processing buffer {"connection_id":216725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:34:54] local.INFO: Packet analysis {"connection_id":216725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:34:54] local.INFO: Extracted packet for processing {"connection_id":216725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788095232001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792141298000,"timestamp_ms":1792141298000,"timestamp_seconds":1792141298,"priority":1,"record_length":96,"hex_timestamp":"000001a143f20950"} 
[2026-10-16 14:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:34:54] 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-10-16 14:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788095232001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788095232001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:34:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:34:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788095232001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":216725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:34:54] local.INFO: GPS data processed {"connection_id":216725,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:34:54] local.INFO: Acknowledgment sent {"connection_id":216725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:35:16] local.INFO: TCP Data received {"connection_id":216934,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:35:16] local.INFO: Processing buffer {"connection_id":216934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:35:16] local.INFO: IMEI packet received {"connection_id":216934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":216934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:35:21] local.INFO: TCP Data received {"connection_id":216934,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:35:21] local.INFO: Processing buffer {"connection_id":216934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:35:21] local.INFO: IMEI packet received {"connection_id":216934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":216934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:35:22] local.INFO: TCP Data received {"connection_id":216934,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:35:22] local.INFO: Processing buffer {"connection_id":216934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:35:22] local.INFO: Packet analysis {"connection_id":216934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:35:22] local.INFO: Extracted packet for processing {"connection_id":216934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:35:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788095232001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792141298000,"timestamp_ms":1792141298000,"timestamp_seconds":1792141298,"priority":1,"record_length":96,"hex_timestamp":"000001a143f20950"} 
[2026-10-16 14:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:35:22] 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-10-16 14:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788095232001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788095232001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:35:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:35:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788095232001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":216934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:35:22] local.INFO: GPS data processed {"connection_id":216934,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:35:22] local.INFO: Acknowledgment sent {"connection_id":216934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:35:54] local.INFO: TCP Data received {"connection_id":216934,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:35:54] local.INFO: Processing buffer {"connection_id":216934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:35:54] local.INFO: Packet analysis {"connection_id":216934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:35:54] local.INFO: Extracted packet for processing {"connection_id":216934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788095232001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792141298000,"timestamp_ms":1792141298000,"timestamp_seconds":1792141298,"priority":1,"record_length":96,"hex_timestamp":"000001a143f20950"} 
[2026-10-16 14:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:35:54] 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-10-16 14:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788095232001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788095232001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:35:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:35:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788095232001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":216934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:35:55] local.INFO: GPS data processed {"connection_id":216934,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:35:55] local.INFO: Acknowledgment sent {"connection_id":216934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:36:21] local.INFO: TCP Data received {"connection_id":216727,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:36:21] local.INFO: Processing buffer {"connection_id":216727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:36:21] local.INFO: IMEI packet received {"connection_id":216727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":216727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:36:26] local.INFO: TCP Data received {"connection_id":216727,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:36:26] local.INFO: Processing buffer {"connection_id":216727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:36:26] local.INFO: IMEI packet received {"connection_id":216727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":216727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:36:27] local.INFO: TCP Data received {"connection_id":216727,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:36:27] local.INFO: Processing buffer {"connection_id":216727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:36:27] local.INFO: Packet analysis {"connection_id":216727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:36:27] local.INFO: Extracted packet for processing {"connection_id":216727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788095232001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792141298000,"timestamp_ms":1792141298000,"timestamp_seconds":1792141298,"priority":1,"record_length":96,"hex_timestamp":"000001a143f20950"} 
[2026-10-16 14:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:36:27] 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-10-16 14:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788095232001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788095232001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:36:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:36:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788095232001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":216727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:36:27] local.INFO: GPS data processed {"connection_id":216727,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:36:27] local.INFO: Acknowledgment sent {"connection_id":216727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:36:32] local.INFO: TCP Data received {"connection_id":216727,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:36:32] local.INFO: Processing buffer {"connection_id":216727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f20950012d7fa40005afce580009000a2c..."} 
[2026-10-16 14:36:32] local.INFO: Packet analysis {"connection_id":216727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:36:32] local.INFO: Extracted packet for processing {"connection_id":216727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f2"} 
[2026-10-16 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788095232001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792141298000,"timestamp_ms":1792141298000,"timestamp_seconds":1792141298,"priority":1,"record_length":96,"hex_timestamp":"000001a143f20950"} 
[2026-10-16 14:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788095232001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788095232001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:36:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788095232001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":216727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:36:32] local.INFO: GPS data processed {"connection_id":216727,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:36:32] local.INFO: Acknowledgment sent {"connection_id":216727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:37:16] local.INFO: TCP Data received {"connection_id":220004,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:37:16] local.INFO: Processing buffer {"connection_id":220004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:37:16] local.INFO: IMEI packet received {"connection_id":220004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":220004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:37:17] local.INFO: TCP Data received {"connection_id":220004,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:37:17] local.INFO: Processing buffer {"connection_id":220004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:37:17] local.INFO: IMEI packet received {"connection_id":220004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":220004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:37:21] local.INFO: TCP Data received {"connection_id":220004,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:37:21] local.INFO: Processing buffer {"connection_id":220004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:37:21] local.INFO: IMEI packet received {"connection_id":220004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":220004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:37:23] local.INFO: TCP Data received {"connection_id":220004,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:37:23] local.INFO: Processing buffer {"connection_id":220004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:37:23] local.INFO: Packet analysis {"connection_id":220004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:37:23] local.INFO: Extracted packet for processing {"connection_id":220004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788172288001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792141599000,"timestamp_ms":1792141599000,"timestamp_seconds":1792141599,"priority":1,"record_length":96,"hex_timestamp":"000001a143f6a118"} 
[2026-10-16 14:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 14:37:23] 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-10-16 14:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788172288001,"66":25538,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788172288001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:37:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:37:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788172288001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":220004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:37:23] local.INFO: GPS data processed {"connection_id":220004,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:37:23] local.INFO: Acknowledgment sent {"connection_id":220004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:37:54] local.INFO: TCP Data received {"connection_id":220004,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:37:54] local.INFO: Processing buffer {"connection_id":220004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:37:54] local.INFO: Packet analysis {"connection_id":220004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:37:54] local.INFO: Extracted packet for processing {"connection_id":220004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788172288001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792141599000,"timestamp_ms":1792141599000,"timestamp_seconds":1792141599,"priority":1,"record_length":96,"hex_timestamp":"000001a143f6a118"} 
[2026-10-16 14:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 14:37:54] 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-10-16 14:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788172288001,"66":25538,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788172288001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:37:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:37:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788172288001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":220004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:37:54] local.INFO: GPS data processed {"connection_id":220004,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:37:54] local.INFO: Acknowledgment sent {"connection_id":220004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:38:16] local.INFO: TCP Data received {"connection_id":216728,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:38:16] local.INFO: Processing buffer {"connection_id":216728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:38:16] local.INFO: IMEI packet received {"connection_id":216728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":216728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:38:21] local.INFO: TCP Data received {"connection_id":216728,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:38:21] local.INFO: Processing buffer {"connection_id":216728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:38:21] local.INFO: IMEI packet received {"connection_id":216728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":216728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:38:22] local.INFO: TCP Data received {"connection_id":216728,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:38:22] local.INFO: Processing buffer {"connection_id":216728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:38:22] local.INFO: Packet analysis {"connection_id":216728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:38:22] local.INFO: Extracted packet for processing {"connection_id":216728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:38:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788172288001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792141599000,"timestamp_ms":1792141599000,"timestamp_seconds":1792141599,"priority":1,"record_length":96,"hex_timestamp":"000001a143f6a118"} 
[2026-10-16 14:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 14:38:22] 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-10-16 14:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788172288001,"66":25538,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788172288001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:38:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:38:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788172288001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":216728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:38:22] local.INFO: GPS data processed {"connection_id":216728,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:38:22] local.INFO: Acknowledgment sent {"connection_id":216728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:38:25] local.INFO: TCP Data received {"connection_id":220005,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:38:25] local.INFO: Processing buffer {"connection_id":220005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:38:25] local.INFO: IMEI packet received {"connection_id":220005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":220005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:38:54] local.INFO: TCP Data received {"connection_id":216728,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:38:54] local.INFO: Processing buffer {"connection_id":216728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:38:54] local.INFO: Packet analysis {"connection_id":216728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:38:54] local.INFO: Extracted packet for processing {"connection_id":216728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788172288001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792141599000,"timestamp_ms":1792141599000,"timestamp_seconds":1792141599,"priority":1,"record_length":96,"hex_timestamp":"000001a143f6a118"} 
[2026-10-16 14:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 14:38:54] 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-10-16 14:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788172288001,"66":25538,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788172288001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:38:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:38:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788172288001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":216728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:38:54] local.INFO: GPS data processed {"connection_id":216728,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:38:54] local.INFO: Acknowledgment sent {"connection_id":216728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:39:04] local.INFO: TCP Data received {"connection_id":216729,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:39:04] local.INFO: Processing buffer {"connection_id":216729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:39:04] local.INFO: IMEI packet received {"connection_id":216729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":216729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:39:21] local.INFO: TCP Data received {"connection_id":216935,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:39:21] local.INFO: Processing buffer {"connection_id":216935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:39:21] local.INFO: IMEI packet received {"connection_id":216935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:39:27] local.INFO: TCP Data received {"connection_id":216935,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:39:27] local.INFO: Processing buffer {"connection_id":216935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:39:27] local.INFO: IMEI packet received {"connection_id":216935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":216935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:39:30] local.INFO: TCP Data received {"connection_id":216935,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:39:30] local.INFO: Processing buffer {"connection_id":216935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:39:30] local.INFO: Packet analysis {"connection_id":216935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:39:30] local.INFO: Extracted packet for processing {"connection_id":216935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:39: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-10-16 14:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788172288001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792141599000,"timestamp_ms":1792141599000,"timestamp_seconds":1792141599,"priority":1,"record_length":96,"hex_timestamp":"000001a143f6a118"} 
[2026-10-16 14:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 14:39:30] 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-10-16 14:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788172288001,"66":25538,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788172288001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:39:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:39:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788172288001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":216935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:39:30] local.INFO: GPS data processed {"connection_id":216935,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:39:30] local.INFO: Acknowledgment sent {"connection_id":216935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:39:31] local.INFO: TCP Data received {"connection_id":216935,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:39:31] local.INFO: Processing buffer {"connection_id":216935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:39:31] local.INFO: Packet analysis {"connection_id":216935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:39:31] local.INFO: Extracted packet for processing {"connection_id":216935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788172288001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792141599000,"timestamp_ms":1792141599000,"timestamp_seconds":1792141599,"priority":1,"record_length":96,"hex_timestamp":"000001a143f6a118"} 
[2026-10-16 14:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 14:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788172288001,"66":25538,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788172288001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:39:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:39:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788172288001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":216935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:39:31] local.INFO: GPS data processed {"connection_id":216935,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:39:31] local.INFO: Acknowledgment sent {"connection_id":216935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:40:16] local.INFO: TCP Data received {"connection_id":220006,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:40:16] local.INFO: Processing buffer {"connection_id":220006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:40:16] local.INFO: IMEI packet received {"connection_id":220006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":220006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:40:21] local.INFO: TCP Data received {"connection_id":220006,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:40:21] local.INFO: Processing buffer {"connection_id":220006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:40:21] local.INFO: IMEI packet received {"connection_id":220006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":220006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:40:23] local.INFO: TCP Data received {"connection_id":220006,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:40:23] local.INFO: Processing buffer {"connection_id":220006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:40:23] local.INFO: Packet analysis {"connection_id":220006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:40:23] local.INFO: Extracted packet for processing {"connection_id":220006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788172288001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792141599000,"timestamp_ms":1792141599000,"timestamp_seconds":1792141599,"priority":1,"record_length":96,"hex_timestamp":"000001a143f6a118"} 
[2026-10-16 14:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 14:40:23] 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-10-16 14: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-10-16 14:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788172288001,"66":25538,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788172288001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:40:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:40:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788172288001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":220006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:40:23] local.INFO: GPS data processed {"connection_id":220006,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:40:23] local.INFO: Acknowledgment sent {"connection_id":220006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:40:55] local.INFO: TCP Data received {"connection_id":220006,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:40:55] local.INFO: Processing buffer {"connection_id":220006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:40:55] local.INFO: Packet analysis {"connection_id":220006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:40:55] local.INFO: Extracted packet for processing {"connection_id":220006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788172288001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792141599000,"timestamp_ms":1792141599000,"timestamp_seconds":1792141599,"priority":1,"record_length":96,"hex_timestamp":"000001a143f6a118"} 
[2026-10-16 14:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 14:40:55] 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-10-16 14:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788172288001,"66":25538,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788172288001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:40:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:40:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788172288001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":220006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:40:55] local.INFO: GPS data processed {"connection_id":220006,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:40:55] local.INFO: Acknowledgment sent {"connection_id":220006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:41:16] local.INFO: TCP Data received {"connection_id":218274,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:41:16] local.INFO: Processing buffer {"connection_id":218274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:41:16] local.INFO: IMEI packet received {"connection_id":218274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":218274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:41:21] local.INFO: TCP Data received {"connection_id":218274,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:41:21] local.INFO: Processing buffer {"connection_id":218274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:41:21] local.INFO: IMEI packet received {"connection_id":218274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":218274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:41:23] local.INFO: TCP Data received {"connection_id":218274,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:41:23] local.INFO: Processing buffer {"connection_id":218274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:41:23] local.INFO: Packet analysis {"connection_id":218274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:41:23] local.INFO: Extracted packet for processing {"connection_id":218274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788172288001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792141599000,"timestamp_ms":1792141599000,"timestamp_seconds":1792141599,"priority":1,"record_length":96,"hex_timestamp":"000001a143f6a118"} 
[2026-10-16 14:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 14:41:23] 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-10-16 14:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788172288001,"66":25538,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788172288001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:41:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:41:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788172288001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":218274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:41:23] local.INFO: GPS data processed {"connection_id":218274,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:41:23] local.INFO: Acknowledgment sent {"connection_id":218274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:41:55] local.INFO: TCP Data received {"connection_id":218274,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:41:55] local.INFO: Processing buffer {"connection_id":218274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143f6a118012d7fa40005afce580009000a2b..."} 
[2026-10-16 14:41:55] local.INFO: Packet analysis {"connection_id":218274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:41:55] local.INFO: Extracted packet for processing {"connection_id":218274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143f6"} 
[2026-10-16 14:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788172288001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792141599000,"timestamp_ms":1792141599000,"timestamp_seconds":1792141599,"priority":1,"record_length":96,"hex_timestamp":"000001a143f6a118"} 
[2026-10-16 14:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 14:41:55] 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-10-16 14: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-10-16 14:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788172288001,"66":25538,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788172288001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:41:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:41:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788172288001,"power":25538,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":218274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:41:55] local.INFO: GPS data processed {"connection_id":218274,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:41:55] local.INFO: Acknowledgment sent {"connection_id":218274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:42:16] local.INFO: TCP Data received {"connection_id":220008,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:42:16] local.INFO: Processing buffer {"connection_id":220008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:42:16] local.INFO: IMEI packet received {"connection_id":220008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":220008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:42:18] local.INFO: TCP Data received {"connection_id":220008,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:42:18] local.INFO: Processing buffer {"connection_id":220008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:42:18] local.INFO: IMEI packet received {"connection_id":220008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":220008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:42:21] local.INFO: TCP Data received {"connection_id":220008,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:42:21] local.INFO: Processing buffer {"connection_id":220008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:42:21] local.INFO: IMEI packet received {"connection_id":220008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":220008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:42:22] local.INFO: TCP Data received {"connection_id":220008,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:42:22] local.INFO: Processing buffer {"connection_id":220008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:42:22] local.INFO: Packet analysis {"connection_id":220008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:42:22] local.INFO: Extracted packet for processing {"connection_id":220008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788249344001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792141900000,"timestamp_ms":1792141900000,"timestamp_seconds":1792141900,"priority":1,"record_length":96,"hex_timestamp":"000001a143fb38e0"} 
[2026-10-16 14:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 14:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14: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-10-16 14:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788249344001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788249344001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:42:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:42:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788249344001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":220008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:42:22] local.INFO: GPS data processed {"connection_id":220008,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:42:22] local.INFO: Acknowledgment sent {"connection_id":220008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:42:54] local.INFO: TCP Data received {"connection_id":220008,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:42:54] local.INFO: Processing buffer {"connection_id":220008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:42:54] local.INFO: Packet analysis {"connection_id":220008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:42:54] local.INFO: Extracted packet for processing {"connection_id":220008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788249344001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792141900000,"timestamp_ms":1792141900000,"timestamp_seconds":1792141900,"priority":1,"record_length":96,"hex_timestamp":"000001a143fb38e0"} 
[2026-10-16 14:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 14:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788249344001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788249344001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:42:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:42:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788249344001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":220008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:42:54] local.INFO: GPS data processed {"connection_id":220008,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:42:54] local.INFO: Acknowledgment sent {"connection_id":220008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:43:16] local.INFO: TCP Data received {"connection_id":220010,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:43:16] local.INFO: Processing buffer {"connection_id":220010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:43:16] local.INFO: IMEI packet received {"connection_id":220010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":220010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:43:21] local.INFO: TCP Data received {"connection_id":220010,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:43:21] local.INFO: Processing buffer {"connection_id":220010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:43:21] local.INFO: IMEI packet received {"connection_id":220010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":220010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:43:22] local.INFO: TCP Data received {"connection_id":220010,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:43:22] local.INFO: Processing buffer {"connection_id":220010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:43:22] local.INFO: Packet analysis {"connection_id":220010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:43:22] local.INFO: Extracted packet for processing {"connection_id":220010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788249344001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792141900000,"timestamp_ms":1792141900000,"timestamp_seconds":1792141900,"priority":1,"record_length":96,"hex_timestamp":"000001a143fb38e0"} 
[2026-10-16 14:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 14:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14: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-10-16 14:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788249344001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788249344001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:43:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:43:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788249344001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":220010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:43:22] local.INFO: GPS data processed {"connection_id":220010,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:43:22] local.INFO: Acknowledgment sent {"connection_id":220010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:43:54] local.INFO: TCP Data received {"connection_id":220010,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:43:54] local.INFO: Processing buffer {"connection_id":220010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:43:54] local.INFO: Packet analysis {"connection_id":220010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:43:54] local.INFO: Extracted packet for processing {"connection_id":220010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788249344001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792141900000,"timestamp_ms":1792141900000,"timestamp_seconds":1792141900,"priority":1,"record_length":96,"hex_timestamp":"000001a143fb38e0"} 
[2026-10-16 14:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 14:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788249344001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788249344001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:43:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:43:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788249344001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":220010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:43:54] local.INFO: GPS data processed {"connection_id":220010,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:43:54] local.INFO: Acknowledgment sent {"connection_id":220010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:44:15] local.INFO: TCP Data received {"connection_id":216732,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:15] local.INFO: Processing buffer {"connection_id":216732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:15] local.INFO: IMEI packet received {"connection_id":216732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":216732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:44:16] local.INFO: TCP Data received {"connection_id":218275,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:44:16] local.INFO: Processing buffer {"connection_id":218275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:44:16] local.INFO: IMEI packet received {"connection_id":218275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":218275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:44:21] local.INFO: TCP Data received {"connection_id":218275,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:44:21] local.INFO: Processing buffer {"connection_id":218275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:44:21] local.INFO: IMEI packet received {"connection_id":218275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":218275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:44:22] local.INFO: TCP Data received {"connection_id":218275,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:44:22] local.INFO: Processing buffer {"connection_id":218275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:44:22] local.INFO: Packet analysis {"connection_id":218275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:44:22] local.INFO: Extracted packet for processing {"connection_id":218275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:44:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788249344001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792141900000,"timestamp_ms":1792141900000,"timestamp_seconds":1792141900,"priority":1,"record_length":96,"hex_timestamp":"000001a143fb38e0"} 
[2026-10-16 14:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 14:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788249344001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788249344001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:44:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:44:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788249344001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":218275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:44:22] local.INFO: GPS data processed {"connection_id":218275,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:44:22] local.INFO: Acknowledgment sent {"connection_id":218275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:44:50] local.INFO: TCP Data received {"connection_id":220011,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:50] local.INFO: Processing buffer {"connection_id":220011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:50] local.INFO: IMEI packet received {"connection_id":220011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":220011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:44:54] local.INFO: TCP Data received {"connection_id":218275,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:44:54] local.INFO: Processing buffer {"connection_id":218275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:44:54] local.INFO: Packet analysis {"connection_id":218275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:44:54] local.INFO: Extracted packet for processing {"connection_id":218275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788249344001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792141900000,"timestamp_ms":1792141900000,"timestamp_seconds":1792141900,"priority":1,"record_length":96,"hex_timestamp":"000001a143fb38e0"} 
[2026-10-16 14:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 14:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14: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-10-16 14:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788249344001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788249344001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:44:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:44:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788249344001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":218275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:44:54] local.INFO: GPS data processed {"connection_id":218275,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:44:54] local.INFO: Acknowledgment sent {"connection_id":218275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:44:56] local.INFO: TCP Data received {"connection_id":220011,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:56] local.INFO: Processing buffer {"connection_id":220011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:56] local.INFO: IMEI packet received {"connection_id":220011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 14:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":220011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:44:59] local.INFO: TCP Data received {"connection_id":220011,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:59] local.INFO: Processing buffer {"connection_id":220011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:44:59] local.INFO: IMEI packet received {"connection_id":220011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":220011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:45:16] local.INFO: TCP Data received {"connection_id":218276,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:45:16] local.INFO: Processing buffer {"connection_id":218276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:45:16] local.INFO: IMEI packet received {"connection_id":218276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":218276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:45:21] local.INFO: TCP Data received {"connection_id":218276,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:45:21] local.INFO: Processing buffer {"connection_id":218276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:45:21] local.INFO: IMEI packet received {"connection_id":218276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":218276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:45:22] local.INFO: TCP Data received {"connection_id":218276,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:45:22] local.INFO: Processing buffer {"connection_id":218276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:45:22] local.INFO: Packet analysis {"connection_id":218276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:45:22] local.INFO: Extracted packet for processing {"connection_id":218276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:45:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788249344001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792141900000,"timestamp_ms":1792141900000,"timestamp_seconds":1792141900,"priority":1,"record_length":96,"hex_timestamp":"000001a143fb38e0"} 
[2026-10-16 14:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 14:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788249344001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788249344001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:45:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:45:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788249344001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":218276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:45:22] local.INFO: GPS data processed {"connection_id":218276,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:45:22] local.INFO: Acknowledgment sent {"connection_id":218276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:45:31] local.INFO: TCP Data received {"connection_id":216937,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:45:31] local.INFO: Processing buffer {"connection_id":216937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:45:31] local.INFO: IMEI packet received {"connection_id":216937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":216937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:45:54] local.INFO: TCP Data received {"connection_id":218276,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:45:54] local.INFO: Processing buffer {"connection_id":218276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:45:54] local.INFO: Packet analysis {"connection_id":218276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:45:54] local.INFO: Extracted packet for processing {"connection_id":218276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788249344001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792141900000,"timestamp_ms":1792141900000,"timestamp_seconds":1792141900,"priority":1,"record_length":96,"hex_timestamp":"000001a143fb38e0"} 
[2026-10-16 14:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 14:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788249344001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788249344001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:45:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:45:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788249344001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":218276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:45:54] local.INFO: GPS data processed {"connection_id":218276,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:45:54] local.INFO: Acknowledgment sent {"connection_id":218276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:45:59] local.INFO: TCP Data received {"connection_id":216938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:45:59] local.INFO: Processing buffer {"connection_id":216938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:45:59] local.INFO: IMEI packet received {"connection_id":216938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":216938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:46:21] local.INFO: TCP Data received {"connection_id":216939,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:46:21] local.INFO: Processing buffer {"connection_id":216939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:46:21] local.INFO: IMEI packet received {"connection_id":216939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":216939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:46:26] local.INFO: TCP Data received {"connection_id":216939,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:46:26] local.INFO: Processing buffer {"connection_id":216939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:46:26] local.INFO: IMEI packet received {"connection_id":216939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":216939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:46:27] local.INFO: TCP Data received {"connection_id":216939,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:46:27] local.INFO: Processing buffer {"connection_id":216939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:46:27] local.INFO: Packet analysis {"connection_id":216939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:46:27] local.INFO: Extracted packet for processing {"connection_id":216939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788249344001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792141900000,"timestamp_ms":1792141900000,"timestamp_seconds":1792141900,"priority":1,"record_length":96,"hex_timestamp":"000001a143fb38e0"} 
[2026-10-16 14:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 14:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788249344001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788249344001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:46:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:46:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788249344001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":216939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:46:27] local.INFO: GPS data processed {"connection_id":216939,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:46:27] local.INFO: Acknowledgment sent {"connection_id":216939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:46:32] local.INFO: TCP Data received {"connection_id":216939,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:46:32] local.INFO: Processing buffer {"connection_id":216939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143fb38e0012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:46:32] local.INFO: Packet analysis {"connection_id":216939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:46:32] local.INFO: Extracted packet for processing {"connection_id":216939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143fb"} 
[2026-10-16 14:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788249344001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792141900000,"timestamp_ms":1792141900000,"timestamp_seconds":1792141900,"priority":1,"record_length":96,"hex_timestamp":"000001a143fb38e0"} 
[2026-10-16 14:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-10-16 14:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788249344001,"66":25680,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788249344001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:46:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788249344001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":216939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:46:32] local.INFO: GPS data processed {"connection_id":216939,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:46:32] local.INFO: Acknowledgment sent {"connection_id":216939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:47:15] local.INFO: TCP Data received {"connection_id":218279,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:47:15] local.INFO: Processing buffer {"connection_id":218279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:47:15] local.INFO: IMEI packet received {"connection_id":218279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":218279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:47:19] local.INFO: TCP Data received {"connection_id":218279,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:47:19] local.INFO: Processing buffer {"connection_id":218279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:47:19] local.INFO: IMEI packet received {"connection_id":218279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":218279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:47:19] local.INFO: TCP Data received {"connection_id":218279,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:47:19] local.INFO: Processing buffer {"connection_id":218279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:47:19] local.INFO: Packet analysis {"connection_id":218279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:47:19] local.INFO: Extracted packet for processing {"connection_id":218279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:47:19] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788326400001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792142201000,"timestamp_ms":1792142201000,"timestamp_seconds":1792142201,"priority":1,"record_length":96,"hex_timestamp":"000001a143ffd0a8"} 
[2026-10-16 14:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:47:19] 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-10-16 14:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":218279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":218279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":218279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788326400001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788326400001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:47:19] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:47:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788326400001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":218279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:47:19] local.INFO: GPS data processed {"connection_id":218279,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:47:19] local.INFO: Acknowledgment sent {"connection_id":218279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:47:51] local.INFO: TCP Data received {"connection_id":218279,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:47:51] local.INFO: Processing buffer {"connection_id":218279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:47:51] local.INFO: Packet analysis {"connection_id":218279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:47:51] local.INFO: Extracted packet for processing {"connection_id":218279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:47:51] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788326400001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792142201000,"timestamp_ms":1792142201000,"timestamp_seconds":1792142201,"priority":1,"record_length":96,"hex_timestamp":"000001a143ffd0a8"} 
[2026-10-16 14:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:47:51] 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-10-16 14: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-10-16 14:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":218279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":218279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":218279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788326400001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788326400001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:47:51] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:47:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788326400001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":218279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:47:51] local.INFO: GPS data processed {"connection_id":218279,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:47:51] local.INFO: Acknowledgment sent {"connection_id":218279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:48:15] local.INFO: TCP Data received {"connection_id":216941,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:48:16] local.INFO: Processing buffer {"connection_id":216941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:48:16] local.INFO: IMEI packet received {"connection_id":216941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":216941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:48:21] local.INFO: TCP Data received {"connection_id":216941,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:48:21] local.INFO: Processing buffer {"connection_id":216941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:48:21] local.INFO: IMEI packet received {"connection_id":216941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":216941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:48:21] local.INFO: TCP Data received {"connection_id":216941,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:48:21] local.INFO: Processing buffer {"connection_id":216941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:48:21] local.INFO: Packet analysis {"connection_id":216941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:48:21] local.INFO: Extracted packet for processing {"connection_id":216941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:48:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788326400001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792142201000,"timestamp_ms":1792142201000,"timestamp_seconds":1792142201,"priority":1,"record_length":96,"hex_timestamp":"000001a143ffd0a8"} 
[2026-10-16 14:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:48:21] 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-10-16 14:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":216941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":216941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":216941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788326400001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788326400001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:48:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:48:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788326400001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":216941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:48:21] local.INFO: GPS data processed {"connection_id":216941,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:48:21] local.INFO: Acknowledgment sent {"connection_id":216941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:48:53] local.INFO: TCP Data received {"connection_id":216941,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:48:53] local.INFO: Processing buffer {"connection_id":216941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:48:53] local.INFO: Packet analysis {"connection_id":216941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:48:53] local.INFO: Extracted packet for processing {"connection_id":216941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:48:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788326400001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792142201000,"timestamp_ms":1792142201000,"timestamp_seconds":1792142201,"priority":1,"record_length":96,"hex_timestamp":"000001a143ffd0a8"} 
[2026-10-16 14:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788326400001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788326400001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:48:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:48:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788326400001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":216941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:48:53] local.INFO: GPS data processed {"connection_id":216941,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:48:53] local.INFO: Acknowledgment sent {"connection_id":216941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:49:21] local.INFO: TCP Data received {"connection_id":220012,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:49:21] local.INFO: Processing buffer {"connection_id":220012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:49:21] local.INFO: IMEI packet received {"connection_id":220012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":220012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:49:26] local.INFO: TCP Data received {"connection_id":220012,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:49:26] local.INFO: Processing buffer {"connection_id":220012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:49:26] local.INFO: IMEI packet received {"connection_id":220012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":220012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:49:27] local.INFO: TCP Data received {"connection_id":220012,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:49:27] local.INFO: Processing buffer {"connection_id":220012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:49:27] local.INFO: Packet analysis {"connection_id":220012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:49:27] local.INFO: Extracted packet for processing {"connection_id":220012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788326400001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792142201000,"timestamp_ms":1792142201000,"timestamp_seconds":1792142201,"priority":1,"record_length":96,"hex_timestamp":"000001a143ffd0a8"} 
[2026-10-16 14:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:49:27] 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-10-16 14:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788326400001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788326400001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:49:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:49:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788326400001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":220012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:49:27] local.INFO: GPS data processed {"connection_id":220012,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:49:27] local.INFO: Acknowledgment sent {"connection_id":220012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:49:32] local.INFO: TCP Data received {"connection_id":220012,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:49:32] local.INFO: Processing buffer {"connection_id":220012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:49:32] local.INFO: Packet analysis {"connection_id":220012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:49:32] local.INFO: Extracted packet for processing {"connection_id":220012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788326400001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792142201000,"timestamp_ms":1792142201000,"timestamp_seconds":1792142201,"priority":1,"record_length":96,"hex_timestamp":"000001a143ffd0a8"} 
[2026-10-16 14:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":220012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":220012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":220012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788326400001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788326400001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:49:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788326400001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":220012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:49:32] local.INFO: GPS data processed {"connection_id":220012,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:49:32] local.INFO: Acknowledgment sent {"connection_id":220012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:50:16] local.INFO: TCP Data received {"connection_id":216942,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:50:16] local.INFO: Processing buffer {"connection_id":216942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:50:16] local.INFO: IMEI packet received {"connection_id":216942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":216942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:50:21] local.INFO: TCP Data received {"connection_id":216942,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:50:21] local.INFO: Processing buffer {"connection_id":216942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:50:21] local.INFO: IMEI packet received {"connection_id":216942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":216942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:50:22] local.INFO: TCP Data received {"connection_id":216942,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:50:22] local.INFO: Processing buffer {"connection_id":216942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:50:22] local.INFO: Packet analysis {"connection_id":216942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:50:22] local.INFO: Extracted packet for processing {"connection_id":216942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:50:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788326400001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792142201000,"timestamp_ms":1792142201000,"timestamp_seconds":1792142201,"priority":1,"record_length":96,"hex_timestamp":"000001a143ffd0a8"} 
[2026-10-16 14:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:50:22] 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-10-16 14: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-10-16 14:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788326400001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788326400001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:50:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:50:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788326400001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":216942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:50:22] local.INFO: GPS data processed {"connection_id":216942,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:50:22] local.INFO: Acknowledgment sent {"connection_id":216942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:50:54] local.INFO: TCP Data received {"connection_id":216942,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:50:54] local.INFO: Processing buffer {"connection_id":216942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:50:54] local.INFO: Packet analysis {"connection_id":216942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:50:54] local.INFO: Extracted packet for processing {"connection_id":216942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788326400001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792142201000,"timestamp_ms":1792142201000,"timestamp_seconds":1792142201,"priority":1,"record_length":96,"hex_timestamp":"000001a143ffd0a8"} 
[2026-10-16 14:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:50:54] 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-10-16 14:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788326400001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788326400001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:50:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:50:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788326400001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":216942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:50:54] local.INFO: GPS data processed {"connection_id":216942,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:50:54] local.INFO: Acknowledgment sent {"connection_id":216942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:51:05] local.INFO: TCP Data received {"connection_id":216943,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:51:05] local.INFO: Processing buffer {"connection_id":216943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:51:05] local.INFO: IMEI packet received {"connection_id":216943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":216943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:51:16] local.INFO: TCP Data received {"connection_id":216733,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:51:16] local.INFO: Processing buffer {"connection_id":216733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:51:16] local.INFO: IMEI packet received {"connection_id":216733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":216733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:51:21] local.INFO: TCP Data received {"connection_id":216733,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:51:21] local.INFO: Processing buffer {"connection_id":216733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:51:21] local.INFO: IMEI packet received {"connection_id":216733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":216733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:51:22] local.INFO: TCP Data received {"connection_id":216733,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:51:22] local.INFO: Processing buffer {"connection_id":216733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:51:22] local.INFO: Packet analysis {"connection_id":216733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:51:22] local.INFO: Extracted packet for processing {"connection_id":216733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:51:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788326400001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792142201000,"timestamp_ms":1792142201000,"timestamp_seconds":1792142201,"priority":1,"record_length":96,"hex_timestamp":"000001a143ffd0a8"} 
[2026-10-16 14:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:51:22] 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-10-16 14:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788326400001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788326400001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:51:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:51:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788326400001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":216733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:51:22] local.INFO: GPS data processed {"connection_id":216733,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:51:22] local.INFO: Acknowledgment sent {"connection_id":216733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:51:50] local.INFO: TCP Data received {"connection_id":218282,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:51:50] local.INFO: Processing buffer {"connection_id":218282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:51:50] local.INFO: IMEI packet received {"connection_id":218282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":218282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:51:54] local.INFO: TCP Data received {"connection_id":216733,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:51:54] local.INFO: Processing buffer {"connection_id":216733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a143ffd0a8012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:51:54] local.INFO: Packet analysis {"connection_id":216733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:51:54] local.INFO: Extracted packet for processing {"connection_id":216733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a143ff"} 
[2026-10-16 14:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788326400001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792142201000,"timestamp_ms":1792142201000,"timestamp_seconds":1792142201,"priority":1,"record_length":96,"hex_timestamp":"000001a143ffd0a8"} 
[2026-10-16 14:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 14:51:54] 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-10-16 14:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788326400001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788326400001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:51:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:51:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788326400001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":216733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:51:54] local.INFO: GPS data processed {"connection_id":216733,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:51:54] local.INFO: Acknowledgment sent {"connection_id":216733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:52:15] local.INFO: TCP Data received {"connection_id":216944,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:52:15] local.INFO: Processing buffer {"connection_id":216944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:52:15] local.INFO: IMEI packet received {"connection_id":216944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":216944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:52:20] local.INFO: TCP Data received {"connection_id":216944,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:52:20] local.INFO: Processing buffer {"connection_id":216944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:52:20] local.INFO: IMEI packet received {"connection_id":216944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":216944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:52:22] local.INFO: TCP Data received {"connection_id":216944,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:52:22] local.INFO: Processing buffer {"connection_id":216944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:52:22] local.INFO: Packet analysis {"connection_id":216944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:52:22] local.INFO: Extracted packet for processing {"connection_id":216944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:52:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:52:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:52:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":216944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:52:22] local.INFO: GPS data processed {"connection_id":216944,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:52:22] local.INFO: Acknowledgment sent {"connection_id":216944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:52:53] local.INFO: TCP Data received {"connection_id":216944,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:52:53] local.INFO: Processing buffer {"connection_id":216944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:52:53] local.INFO: Packet analysis {"connection_id":216944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:52:53] local.INFO: Extracted packet for processing {"connection_id":216944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:52:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:52:53] 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-10-16 14:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:52:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:52:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":216944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:52:53] local.INFO: GPS data processed {"connection_id":216944,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:52:53] local.INFO: Acknowledgment sent {"connection_id":216944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:53:16] local.INFO: TCP Data received {"connection_id":220015,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:53:16] local.INFO: Processing buffer {"connection_id":220015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:53:16] local.INFO: IMEI packet received {"connection_id":220015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":220015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:53:21] local.INFO: TCP Data received {"connection_id":220015,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:53:21] local.INFO: Processing buffer {"connection_id":220015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:53:21] local.INFO: IMEI packet received {"connection_id":220015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":220015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:53:23] local.INFO: TCP Data received {"connection_id":220015,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:53:23] local.INFO: Processing buffer {"connection_id":220015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:53:23] local.INFO: Packet analysis {"connection_id":220015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:53:23] local.INFO: Extracted packet for processing {"connection_id":220015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:53:23] 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-10-16 14: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-10-16 14:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:53:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:53:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":220015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:53:23] local.INFO: GPS data processed {"connection_id":220015,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:53:23] local.INFO: Acknowledgment sent {"connection_id":220015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:53:26] local.INFO: TCP Data received {"connection_id":220015,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:53:26] local.INFO: Processing buffer {"connection_id":220015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:53:26] local.INFO: Packet analysis {"connection_id":220015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:53:26] local.INFO: Extracted packet for processing {"connection_id":220015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":220015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":220015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":220015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:53:26] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:53:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":220015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:53:26] local.INFO: GPS data processed {"connection_id":220015,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:53:26] local.INFO: Acknowledgment sent {"connection_id":220015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:53:58] local.INFO: TCP Data received {"connection_id":220015,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:53:58] local.INFO: Processing buffer {"connection_id":220015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:53:58] local.INFO: Packet analysis {"connection_id":220015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:53:58] local.INFO: Extracted packet for processing {"connection_id":220015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:53:58] 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-10-16 14:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":220015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":220015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":220015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:53:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:53:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":220015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:53:58] local.INFO: GPS data processed {"connection_id":220015,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:53:58] local.INFO: Acknowledgment sent {"connection_id":220015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:54:15] local.INFO: TCP Data received {"connection_id":216945,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:54:15] local.INFO: Processing buffer {"connection_id":216945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:54:15] local.INFO: IMEI packet received {"connection_id":216945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":216945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:54:21] local.INFO: TCP Data received {"connection_id":216945,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:54:21] local.INFO: Processing buffer {"connection_id":216945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:54:21] local.INFO: IMEI packet received {"connection_id":216945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":216945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:54:22] local.INFO: TCP Data received {"connection_id":216945,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:54:22] local.INFO: Processing buffer {"connection_id":216945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:54:22] local.INFO: Packet analysis {"connection_id":216945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:54:22] local.INFO: Extracted packet for processing {"connection_id":216945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:54:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:54:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:54:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":216945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:54:22] local.INFO: GPS data processed {"connection_id":216945,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:54:22] local.INFO: Acknowledgment sent {"connection_id":216945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:54:54] local.INFO: TCP Data received {"connection_id":216945,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:54:54] local.INFO: Processing buffer {"connection_id":216945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:54:54] local.INFO: Packet analysis {"connection_id":216945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:54:54] local.INFO: Extracted packet for processing {"connection_id":216945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14: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-10-16 14:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:54:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:54:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":216945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:54:54] local.INFO: GPS data processed {"connection_id":216945,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:54:54] local.INFO: Acknowledgment sent {"connection_id":216945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:55:15] local.INFO: TCP Data received {"connection_id":216735,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:55:15] local.INFO: Processing buffer {"connection_id":216735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:55:15] local.INFO: IMEI packet received {"connection_id":216735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":216735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:55:21] local.INFO: TCP Data received {"connection_id":216735,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:55:21] local.INFO: Processing buffer {"connection_id":216735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:55:21] local.INFO: IMEI packet received {"connection_id":216735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":216735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:55:22] local.INFO: TCP Data received {"connection_id":216735,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:55:22] local.INFO: Processing buffer {"connection_id":216735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:55:22] local.INFO: Packet analysis {"connection_id":216735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:55:22] local.INFO: Extracted packet for processing {"connection_id":216735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:55:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:55:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":216735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:55:22] local.INFO: GPS data processed {"connection_id":216735,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:55:22] local.INFO: Acknowledgment sent {"connection_id":216735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:55:54] local.INFO: TCP Data received {"connection_id":216735,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:55:54] local.INFO: Processing buffer {"connection_id":216735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:55:54] local.INFO: Packet analysis {"connection_id":216735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:55:54] local.INFO: Extracted packet for processing {"connection_id":216735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:55:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:55:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":216735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:55:54] local.INFO: GPS data processed {"connection_id":216735,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:55:54] local.INFO: Acknowledgment sent {"connection_id":216735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:56:21] local.INFO: TCP Data received {"connection_id":216947,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:56:21] local.INFO: Processing buffer {"connection_id":216947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:56:21] local.INFO: IMEI packet received {"connection_id":216947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":216947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:56:26] local.INFO: TCP Data received {"connection_id":216947,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:56:26] local.INFO: Processing buffer {"connection_id":216947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:56:26] local.INFO: IMEI packet received {"connection_id":216947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":216947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:56:28] local.INFO: TCP Data received {"connection_id":216947,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:56:28] local.INFO: Processing buffer {"connection_id":216947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:56:28] local.INFO: Packet analysis {"connection_id":216947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:56:28] local.INFO: Extracted packet for processing {"connection_id":216947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:56:28] 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-10-16 14:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:56:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:56:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":216947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:56:28] local.INFO: GPS data processed {"connection_id":216947,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:56:28] local.INFO: Acknowledgment sent {"connection_id":216947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:56:31] local.INFO: TCP Data received {"connection_id":216947,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:56:31] local.INFO: Processing buffer {"connection_id":216947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144046870012d7fa40005afce580009000a2e..."} 
[2026-10-16 14:56:31] local.INFO: Packet analysis {"connection_id":216947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:56:31] local.INFO: Extracted packet for processing {"connection_id":216947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14404"} 
[2026-10-16 14:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788403456001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792142502000,"timestamp_ms":1792142502000,"timestamp_seconds":1792142502,"priority":1,"record_length":96,"hex_timestamp":"000001a144046870"} 
[2026-10-16 14:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:56:31] 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-10-16 14:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788403456001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788403456001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:56:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:56:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788403456001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":216947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:56:31] local.INFO: GPS data processed {"connection_id":216947,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:56:31] local.INFO: Acknowledgment sent {"connection_id":216947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:57:15] local.INFO: TCP Data received {"connection_id":216736,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:57:15] local.INFO: Processing buffer {"connection_id":216736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:57:15] local.INFO: IMEI packet received {"connection_id":216736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":216736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:57:16] local.INFO: TCP Data received {"connection_id":216948,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:57:16] local.INFO: Processing buffer {"connection_id":216948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:57:16] local.INFO: IMEI packet received {"connection_id":216948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":216948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:57:21] local.INFO: TCP Data received {"connection_id":216736,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:57:21] local.INFO: Processing buffer {"connection_id":216736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:57:21] local.INFO: IMEI packet received {"connection_id":216736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":216736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:57:21] local.INFO: TCP Data received {"connection_id":216736,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:57:21] local.INFO: Processing buffer {"connection_id":216736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:57:21] local.INFO: Packet analysis {"connection_id":216736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:57:21] local.INFO: Extracted packet for processing {"connection_id":216736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:57:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 14:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:57:21] 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-10-16 14:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":216736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":216736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":216736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:57:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:57:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":216736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:57:21] local.INFO: GPS data processed {"connection_id":216736,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:57:21] local.INFO: Acknowledgment sent {"connection_id":216736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:57:51] local.INFO: TCP Data received {"connection_id":216737,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:57:51] local.INFO: Processing buffer {"connection_id":216737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 14:57:51] local.INFO: IMEI packet received {"connection_id":216737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 14:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":216737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:57:53] local.INFO: TCP Data received {"connection_id":216736,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:57:53] local.INFO: Processing buffer {"connection_id":216736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:57:53] local.INFO: Packet analysis {"connection_id":216736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:57:53] local.INFO: Extracted packet for processing {"connection_id":216736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:57:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 14:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:57:53] 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-10-16 14:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:57:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:57:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":216736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:57:53] local.INFO: GPS data processed {"connection_id":216736,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:57:53] local.INFO: Acknowledgment sent {"connection_id":216736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:58:21] local.INFO: TCP Data received {"connection_id":218284,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:58:21] local.INFO: Processing buffer {"connection_id":218284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:58:21] local.INFO: IMEI packet received {"connection_id":218284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":218284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:58:26] local.INFO: TCP Data received {"connection_id":218284,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:58:26] local.INFO: Processing buffer {"connection_id":218284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:58:26] local.INFO: IMEI packet received {"connection_id":218284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":218284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:58:29] local.INFO: TCP Data received {"connection_id":218284,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:58:29] local.INFO: Processing buffer {"connection_id":218284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:58:29] local.INFO: Packet analysis {"connection_id":218284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:58:29] local.INFO: Extracted packet for processing {"connection_id":218284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 14:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:58:29] 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-10-16 14:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:58:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:58:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":218284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:58:29] local.INFO: GPS data processed {"connection_id":218284,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:58:29] local.INFO: Acknowledgment sent {"connection_id":218284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:58:32] local.INFO: TCP Data received {"connection_id":218284,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:58:32] local.INFO: Processing buffer {"connection_id":218284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:58:32] local.INFO: Packet analysis {"connection_id":218284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:58:32] local.INFO: Extracted packet for processing {"connection_id":218284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 14:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:58:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":218284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:58:32] local.INFO: GPS data processed {"connection_id":218284,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:58:32] local.INFO: Acknowledgment sent {"connection_id":218284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:59:16] local.INFO: TCP Data received {"connection_id":220017,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:59:16] local.INFO: Processing buffer {"connection_id":220017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:59:16] local.INFO: IMEI packet received {"connection_id":220017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 14:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":220017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 14:59:21] local.INFO: TCP Data received {"connection_id":220017,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:59:21] local.INFO: Processing buffer {"connection_id":220017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 14:59:21] local.INFO: IMEI packet received {"connection_id":220017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 14:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":220017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 14:59:22] local.INFO: TCP Data received {"connection_id":220017,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:59:22] local.INFO: Processing buffer {"connection_id":220017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:59:22] local.INFO: Packet analysis {"connection_id":220017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:59:22] local.INFO: Extracted packet for processing {"connection_id":220017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14: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-10-16 14:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 14:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14: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-10-16 14:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:59:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:59:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":220017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:59:22] local.INFO: GPS data processed {"connection_id":220017,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:59:22] local.INFO: Acknowledgment sent {"connection_id":220017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 14:59:54] local.INFO: TCP Data received {"connection_id":220017,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:59:54] local.INFO: Processing buffer {"connection_id":220017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 14:59:54] local.INFO: Packet analysis {"connection_id":220017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:59:54] local.INFO: Extracted packet for processing {"connection_id":220017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 14:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 14:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 14:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 14:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 14:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 14:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 14:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 14:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 14:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 14:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 14:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 14:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 14:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 14:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 14:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 14:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 14:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 14:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 14:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 14:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 14:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 14:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 14:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 14:59:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 14:59:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 14:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 14:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 14:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 14:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":220017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 14:59:54] local.INFO: GPS data processed {"connection_id":220017,"processed":1,"errors":0,"total":1} 
[2026-10-16 14:59:54] local.INFO: Acknowledgment sent {"connection_id":220017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:00:16] local.INFO: TCP Data received {"connection_id":216738,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:00:16] local.INFO: Processing buffer {"connection_id":216738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:00:16] local.INFO: IMEI packet received {"connection_id":216738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":216738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:00:21] local.INFO: TCP Data received {"connection_id":216738,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:00:21] local.INFO: Processing buffer {"connection_id":216738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:00:21] local.INFO: IMEI packet received {"connection_id":216738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":216738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:00:22] local.INFO: TCP Data received {"connection_id":216738,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:00:22] local.INFO: Processing buffer {"connection_id":216738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:00:22] local.INFO: Packet analysis {"connection_id":216738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 15:00:22] local.INFO: Extracted packet for processing {"connection_id":216738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 15:00:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 15:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:00:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:00:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":216738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:00:22] local.INFO: GPS data processed {"connection_id":216738,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:00:22] local.INFO: Acknowledgment sent {"connection_id":216738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:00:54] local.INFO: TCP Data received {"connection_id":216738,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:00:54] local.INFO: Processing buffer {"connection_id":216738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:00:54] local.INFO: Packet analysis {"connection_id":216738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 15:00:54] local.INFO: Extracted packet for processing {"connection_id":216738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 15:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 15:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15: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-10-16 15:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:00:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:00:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":216738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:00:54] local.INFO: GPS data processed {"connection_id":216738,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:00:54] local.INFO: Acknowledgment sent {"connection_id":216738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:01:16] local.INFO: TCP Data received {"connection_id":218286,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:01:16] local.INFO: Processing buffer {"connection_id":218286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:01:16] local.INFO: IMEI packet received {"connection_id":218286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":218286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:01:20] local.INFO: TCP Data received {"connection_id":218286,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:01:20] local.INFO: Processing buffer {"connection_id":218286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:01:20] local.INFO: IMEI packet received {"connection_id":218286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":218286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:01:21] local.INFO: TCP Data received {"connection_id":218286,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:01:21] local.INFO: Processing buffer {"connection_id":218286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:01:21] local.INFO: Packet analysis {"connection_id":218286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 15:01:21] local.INFO: Extracted packet for processing {"connection_id":218286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 15:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 15:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:01:21] 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-10-16 15:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":218286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":218286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":218286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:01:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:01:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":218286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:01:21] local.INFO: GPS data processed {"connection_id":218286,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:01:21] local.INFO: Acknowledgment sent {"connection_id":218286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:01:53] local.INFO: TCP Data received {"connection_id":218286,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:01:53] local.INFO: Processing buffer {"connection_id":218286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:01:53] local.INFO: Packet analysis {"connection_id":218286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 15:01:53] local.INFO: Extracted packet for processing {"connection_id":218286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 15:01:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 15:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:01:53] 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-10-16 15:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:01:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:01:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":218286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:01:53] local.INFO: GPS data processed {"connection_id":218286,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:01:53] local.INFO: Acknowledgment sent {"connection_id":218286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:02:15] local.INFO: TCP Data received {"connection_id":220019,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:02:15] local.INFO: Processing buffer {"connection_id":220019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:02:15] local.INFO: IMEI packet received {"connection_id":220019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":220019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:02:21] local.INFO: TCP Data received {"connection_id":220019,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:02:21] local.INFO: Processing buffer {"connection_id":220019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:02:21] local.INFO: IMEI packet received {"connection_id":220019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":220019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:02:22] local.INFO: TCP Data received {"connection_id":220019,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:02:22] local.INFO: Processing buffer {"connection_id":220019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144090038012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:02:22] local.INFO: Packet analysis {"connection_id":220019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 15:02:22] local.INFO: Extracted packet for processing {"connection_id":220019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14409"} 
[2026-10-16 15:02:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788480512001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792142803000,"timestamp_ms":1792142803000,"timestamp_seconds":1792142803,"priority":1,"record_length":96,"hex_timestamp":"000001a144090038"} 
[2026-10-16 15:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788480512001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788480512001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:02:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:02:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788480512001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":220019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:02:22] local.INFO: GPS data processed {"connection_id":220019,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:02:22] local.INFO: Acknowledgment sent {"connection_id":220019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:02:52] local.INFO: TCP Data received {"connection_id":220019,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:02:52] local.INFO: Processing buffer {"connection_id":220019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:02:52] local.INFO: Packet analysis {"connection_id":220019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:02:52] local.INFO: Extracted packet for processing {"connection_id":220019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788557568001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792143104000,"timestamp_ms":1792143104000,"timestamp_seconds":1792143104,"priority":1,"record_length":96,"hex_timestamp":"000001a1440d9800"} 
[2026-10-16 15:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:02:52] 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-10-16 15:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":220019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":220019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":220019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788557568001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788557568001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:02:52] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:02:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788557568001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":220019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:02:52] local.INFO: GPS data processed {"connection_id":220019,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:02:52] local.INFO: Acknowledgment sent {"connection_id":220019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:03:15] local.INFO: TCP Data received {"connection_id":216950,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:03:15] local.INFO: Processing buffer {"connection_id":216950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:03:15] local.INFO: IMEI packet received {"connection_id":216950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":216950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:03:16] local.INFO: TCP Data received {"connection_id":220020,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:03:16] local.INFO: Processing buffer {"connection_id":220020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:03:16] local.INFO: IMEI packet received {"connection_id":220020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":220020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:03:21] local.INFO: TCP Data received {"connection_id":216950,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:03:21] local.INFO: Processing buffer {"connection_id":216950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:03:21] local.INFO: IMEI packet received {"connection_id":216950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":216950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:03:22] local.INFO: TCP Data received {"connection_id":216950,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:03:22] local.INFO: Processing buffer {"connection_id":216950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:03:22] local.INFO: Packet analysis {"connection_id":216950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:03:22] local.INFO: Extracted packet for processing {"connection_id":216950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788557568001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143104000,"timestamp_ms":1792143104000,"timestamp_seconds":1792143104,"priority":1,"record_length":96,"hex_timestamp":"000001a1440d9800"} 
[2026-10-16 15:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788557568001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788557568001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:03:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:03:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788557568001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":216950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:03:22] local.INFO: GPS data processed {"connection_id":216950,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:03:22] local.INFO: Acknowledgment sent {"connection_id":216950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:03:54] local.INFO: TCP Data received {"connection_id":216950,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:03:54] local.INFO: Processing buffer {"connection_id":216950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:03:54] local.INFO: Packet analysis {"connection_id":216950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:03:54] local.INFO: Extracted packet for processing {"connection_id":216950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788557568001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792143104000,"timestamp_ms":1792143104000,"timestamp_seconds":1792143104,"priority":1,"record_length":96,"hex_timestamp":"000001a1440d9800"} 
[2026-10-16 15:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:03:54] 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-10-16 15:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788557568001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788557568001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:03:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:03:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788557568001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":216950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:03:54] local.INFO: GPS data processed {"connection_id":216950,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:03:54] local.INFO: Acknowledgment sent {"connection_id":216950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:03:56] local.INFO: TCP Data received {"connection_id":218287,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:03:56] local.INFO: Processing buffer {"connection_id":218287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:03:56] local.INFO: IMEI packet received {"connection_id":218287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":218287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:04:15] local.INFO: TCP Data received {"connection_id":216739,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:04:15] local.INFO: Processing buffer {"connection_id":216739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:04:15] local.INFO: IMEI packet received {"connection_id":216739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":216739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:04:21] local.INFO: TCP Data received {"connection_id":216739,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:04:21] local.INFO: Processing buffer {"connection_id":216739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:04:21] local.INFO: IMEI packet received {"connection_id":216739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":216739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:04:22] local.INFO: TCP Data received {"connection_id":216739,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:04:22] local.INFO: Processing buffer {"connection_id":216739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:04:22] local.INFO: Packet analysis {"connection_id":216739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:04:22] local.INFO: Extracted packet for processing {"connection_id":216739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:04:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788557568001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143104000,"timestamp_ms":1792143104000,"timestamp_seconds":1792143104,"priority":1,"record_length":96,"hex_timestamp":"000001a1440d9800"} 
[2026-10-16 15:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788557568001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788557568001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:04:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:04:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788557568001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":216739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:04:22] local.INFO: GPS data processed {"connection_id":216739,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:04:22] local.INFO: Acknowledgment sent {"connection_id":216739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:04:54] local.INFO: TCP Data received {"connection_id":216739,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:04:54] local.INFO: Processing buffer {"connection_id":216739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:04:54] local.INFO: Packet analysis {"connection_id":216739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:04:54] local.INFO: Extracted packet for processing {"connection_id":216739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788557568001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792143104000,"timestamp_ms":1792143104000,"timestamp_seconds":1792143104,"priority":1,"record_length":96,"hex_timestamp":"000001a1440d9800"} 
[2026-10-16 15:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:04:54] 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-10-16 15:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788557568001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788557568001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:04:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:04:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788557568001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":216739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:04:54] local.INFO: GPS data processed {"connection_id":216739,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:04:54] local.INFO: Acknowledgment sent {"connection_id":216739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:05:15] local.INFO: TCP Data received {"connection_id":216951,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:05:15] local.INFO: Processing buffer {"connection_id":216951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:05:15] local.INFO: IMEI packet received {"connection_id":216951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":216951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:05:21] local.INFO: TCP Data received {"connection_id":216951,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:05:21] local.INFO: Processing buffer {"connection_id":216951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:05:21] local.INFO: IMEI packet received {"connection_id":216951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":216951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:05:22] local.INFO: TCP Data received {"connection_id":216951,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:05:22] local.INFO: Processing buffer {"connection_id":216951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:05:22] local.INFO: Packet analysis {"connection_id":216951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:05:22] local.INFO: Extracted packet for processing {"connection_id":216951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:05:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788557568001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143104000,"timestamp_ms":1792143104000,"timestamp_seconds":1792143104,"priority":1,"record_length":96,"hex_timestamp":"000001a1440d9800"} 
[2026-10-16 15:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788557568001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788557568001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:05:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:05:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788557568001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":216951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:05:22] local.INFO: GPS data processed {"connection_id":216951,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:05:22] local.INFO: Acknowledgment sent {"connection_id":216951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:05:54] local.INFO: TCP Data received {"connection_id":216951,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:05:54] local.INFO: Processing buffer {"connection_id":216951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:05:54] local.INFO: Packet analysis {"connection_id":216951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:05:54] local.INFO: Extracted packet for processing {"connection_id":216951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788557568001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792143104000,"timestamp_ms":1792143104000,"timestamp_seconds":1792143104,"priority":1,"record_length":96,"hex_timestamp":"000001a1440d9800"} 
[2026-10-16 15:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:05:54] 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-10-16 15:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788557568001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788557568001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:05:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:05:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788557568001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":216951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:05:54] local.INFO: GPS data processed {"connection_id":216951,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:05:54] local.INFO: Acknowledgment sent {"connection_id":216951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:06:15] local.INFO: TCP Data received {"connection_id":216740,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:06:15] local.INFO: Processing buffer {"connection_id":216740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:06:15] local.INFO: IMEI packet received {"connection_id":216740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":216740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:06:21] local.INFO: TCP Data received {"connection_id":216740,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:06:21] local.INFO: Processing buffer {"connection_id":216740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:06:21] local.INFO: IMEI packet received {"connection_id":216740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":216740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:06:23] local.INFO: TCP Data received {"connection_id":216740,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:06:23] local.INFO: Processing buffer {"connection_id":216740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:06:23] local.INFO: Packet analysis {"connection_id":216740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:06:23] local.INFO: Extracted packet for processing {"connection_id":216740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788557568001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792143104000,"timestamp_ms":1792143104000,"timestamp_seconds":1792143104,"priority":1,"record_length":96,"hex_timestamp":"000001a1440d9800"} 
[2026-10-16 15:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:06:23] 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-10-16 15:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788557568001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788557568001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:06:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:06:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788557568001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":216740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:06:23] local.INFO: GPS data processed {"connection_id":216740,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:06:23] local.INFO: Acknowledgment sent {"connection_id":216740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:06:55] local.INFO: TCP Data received {"connection_id":216740,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:06:55] local.INFO: Processing buffer {"connection_id":216740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:06:55] local.INFO: Packet analysis {"connection_id":216740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:06:55] local.INFO: Extracted packet for processing {"connection_id":216740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788557568001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792143104000,"timestamp_ms":1792143104000,"timestamp_seconds":1792143104,"priority":1,"record_length":96,"hex_timestamp":"000001a1440d9800"} 
[2026-10-16 15:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788557568001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788557568001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:06:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:06:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788557568001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":216740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:06:55] local.INFO: GPS data processed {"connection_id":216740,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:06:55] local.INFO: Acknowledgment sent {"connection_id":216740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:07:15] local.INFO: TCP Data received {"connection_id":218290,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:07:15] local.INFO: Processing buffer {"connection_id":218290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:07:15] local.INFO: IMEI packet received {"connection_id":218290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":218290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:07:21] local.INFO: TCP Data received {"connection_id":218290,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:07:21] local.INFO: Processing buffer {"connection_id":218290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:07:21] local.INFO: IMEI packet received {"connection_id":218290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":218290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:07:22] local.INFO: TCP Data received {"connection_id":218290,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:07:22] local.INFO: Processing buffer {"connection_id":218290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1440d9800012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:07:22] local.INFO: Packet analysis {"connection_id":218290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:07:22] local.INFO: Extracted packet for processing {"connection_id":218290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1440d"} 
[2026-10-16 15:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788557568001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143104000,"timestamp_ms":1792143104000,"timestamp_seconds":1792143104,"priority":1,"record_length":96,"hex_timestamp":"000001a1440d9800"} 
[2026-10-16 15:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15: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-10-16 15:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788557568001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788557568001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:07:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:07:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788557568001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":218290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:07:22] local.INFO: GPS data processed {"connection_id":218290,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:07:22] local.INFO: Acknowledgment sent {"connection_id":218290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:07:53] local.INFO: TCP Data received {"connection_id":218290,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:07:53] local.INFO: Processing buffer {"connection_id":218290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:07:53] local.INFO: Packet analysis {"connection_id":218290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:07:53] local.INFO: Extracted packet for processing {"connection_id":218290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:07:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788634624001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792143405000,"timestamp_ms":1792143405000,"timestamp_seconds":1792143405,"priority":1,"record_length":96,"hex_timestamp":"000001a144122fc8"} 
[2026-10-16 15:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:07:53] 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-10-16 15: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-10-16 15:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788634624001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788634624001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:07:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:07:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788634624001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":218290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:07:53] local.INFO: GPS data processed {"connection_id":218290,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:07:53] local.INFO: Acknowledgment sent {"connection_id":218290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:08:15] local.INFO: TCP Data received {"connection_id":218291,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:08:15] local.INFO: Processing buffer {"connection_id":218291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:08:15] local.INFO: IMEI packet received {"connection_id":218291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":218291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:08:21] local.INFO: TCP Data received {"connection_id":218291,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:08:21] local.INFO: Processing buffer {"connection_id":218291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:08:21] local.INFO: IMEI packet received {"connection_id":218291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":218291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:08:22] local.INFO: TCP Data received {"connection_id":218291,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:08:22] local.INFO: Processing buffer {"connection_id":218291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:08:22] local.INFO: Packet analysis {"connection_id":218291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:08:22] local.INFO: Extracted packet for processing {"connection_id":218291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788634624001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143405000,"timestamp_ms":1792143405000,"timestamp_seconds":1792143405,"priority":1,"record_length":96,"hex_timestamp":"000001a144122fc8"} 
[2026-10-16 15:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788634624001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788634624001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:08:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:08:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788634624001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":218291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:08:22] local.INFO: GPS data processed {"connection_id":218291,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:08:22] local.INFO: Acknowledgment sent {"connection_id":218291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:08:54] local.INFO: TCP Data received {"connection_id":218291,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:08:54] local.INFO: Processing buffer {"connection_id":218291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:08:54] local.INFO: Packet analysis {"connection_id":218291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:08:54] local.INFO: Extracted packet for processing {"connection_id":218291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788634624001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792143405000,"timestamp_ms":1792143405000,"timestamp_seconds":1792143405,"priority":1,"record_length":96,"hex_timestamp":"000001a144122fc8"} 
[2026-10-16 15:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788634624001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788634624001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:08:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:08:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788634624001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":218291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:08:54] local.INFO: GPS data processed {"connection_id":218291,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:08:54] local.INFO: Acknowledgment sent {"connection_id":218291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:09:15] local.INFO: TCP Data received {"connection_id":216954,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:09:15] local.INFO: Processing buffer {"connection_id":216954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:09:15] local.INFO: IMEI packet received {"connection_id":216954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":216954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:09:21] local.INFO: TCP Data received {"connection_id":216953,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:09:21] local.INFO: Processing buffer {"connection_id":216953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:09:21] local.INFO: IMEI packet received {"connection_id":216953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":216953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:09:21] local.INFO: TCP Data received {"connection_id":216954,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:09:21] local.INFO: Processing buffer {"connection_id":216954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:09:21] local.INFO: IMEI packet received {"connection_id":216954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":216954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:09:22] local.INFO: TCP Data received {"connection_id":216954,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:09:22] local.INFO: Processing buffer {"connection_id":216954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:09:22] local.INFO: Packet analysis {"connection_id":216954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:09:22] local.INFO: Extracted packet for processing {"connection_id":216954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788634624001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143405000,"timestamp_ms":1792143405000,"timestamp_seconds":1792143405,"priority":1,"record_length":96,"hex_timestamp":"000001a144122fc8"} 
[2026-10-16 15:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788634624001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788634624001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:09:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:09:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788634624001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":216954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:09:22] local.INFO: GPS data processed {"connection_id":216954,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:09:22] local.INFO: Acknowledgment sent {"connection_id":216954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:09:54] local.INFO: TCP Data received {"connection_id":216954,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:09:54] local.INFO: Processing buffer {"connection_id":216954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:09:54] local.INFO: Packet analysis {"connection_id":216954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:09:54] local.INFO: Extracted packet for processing {"connection_id":216954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788634624001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792143405000,"timestamp_ms":1792143405000,"timestamp_seconds":1792143405,"priority":1,"record_length":96,"hex_timestamp":"000001a144122fc8"} 
[2026-10-16 15:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788634624001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788634624001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:09:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:09:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788634624001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":216954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:09:54] local.INFO: GPS data processed {"connection_id":216954,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:09:54] local.INFO: Acknowledgment sent {"connection_id":216954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:09:56] local.INFO: TCP Data received {"connection_id":216741,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:09:56] local.INFO: Processing buffer {"connection_id":216741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:09:56] local.INFO: IMEI packet received {"connection_id":216741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":216741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:10:16] local.INFO: TCP Data received {"connection_id":218292,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:10:16] local.INFO: Processing buffer {"connection_id":218292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:10:16] local.INFO: IMEI packet received {"connection_id":218292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":218292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:10:21] local.INFO: TCP Data received {"connection_id":218292,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:10:21] local.INFO: Processing buffer {"connection_id":218292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:10:21] local.INFO: IMEI packet received {"connection_id":218292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":218292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:10:22] local.INFO: TCP Data received {"connection_id":218292,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:10:22] local.INFO: Processing buffer {"connection_id":218292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:10:22] local.INFO: Packet analysis {"connection_id":218292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:10:22] local.INFO: Extracted packet for processing {"connection_id":218292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:10:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788634624001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143405000,"timestamp_ms":1792143405000,"timestamp_seconds":1792143405,"priority":1,"record_length":96,"hex_timestamp":"000001a144122fc8"} 
[2026-10-16 15:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15: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-10-16 15:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788634624001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788634624001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:10:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:10:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788634624001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":218292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:10:22] local.INFO: GPS data processed {"connection_id":218292,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:10:22] local.INFO: Acknowledgment sent {"connection_id":218292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:10:54] local.INFO: TCP Data received {"connection_id":218292,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:10:54] local.INFO: Processing buffer {"connection_id":218292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:10:54] local.INFO: Packet analysis {"connection_id":218292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:10:54] local.INFO: Extracted packet for processing {"connection_id":218292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788634624001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792143405000,"timestamp_ms":1792143405000,"timestamp_seconds":1792143405,"priority":1,"record_length":96,"hex_timestamp":"000001a144122fc8"} 
[2026-10-16 15:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788634624001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788634624001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:10:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:10:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788634624001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":218292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:10:54] local.INFO: GPS data processed {"connection_id":218292,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:10:54] local.INFO: Acknowledgment sent {"connection_id":218292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:11:21] local.INFO: TCP Data received {"connection_id":216955,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:11:21] local.INFO: Processing buffer {"connection_id":216955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:11:21] local.INFO: IMEI packet received {"connection_id":216955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":216955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:11:26] local.INFO: TCP Data received {"connection_id":216955,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:11:26] local.INFO: Processing buffer {"connection_id":216955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:11:26] local.INFO: IMEI packet received {"connection_id":216955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":216955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:11:27] local.INFO: TCP Data received {"connection_id":216955,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:11:27] local.INFO: Processing buffer {"connection_id":216955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:11:27] local.INFO: Packet analysis {"connection_id":216955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:11:27] local.INFO: Extracted packet for processing {"connection_id":216955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788634624001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792143405000,"timestamp_ms":1792143405000,"timestamp_seconds":1792143405,"priority":1,"record_length":96,"hex_timestamp":"000001a144122fc8"} 
[2026-10-16 15:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:11:27] 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-10-16 15: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-10-16 15:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788634624001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788634624001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:11:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:11:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788634624001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":216955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:11:27] local.INFO: GPS data processed {"connection_id":216955,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:11:27] local.INFO: Acknowledgment sent {"connection_id":216955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:11:32] local.INFO: TCP Data received {"connection_id":216955,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:11:32] local.INFO: Processing buffer {"connection_id":216955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:11:32] local.INFO: Packet analysis {"connection_id":216955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:11:32] local.INFO: Extracted packet for processing {"connection_id":216955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788634624001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792143405000,"timestamp_ms":1792143405000,"timestamp_seconds":1792143405,"priority":1,"record_length":96,"hex_timestamp":"000001a144122fc8"} 
[2026-10-16 15:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15: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-10-16 15:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788634624001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788634624001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:11:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:11:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788634624001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":216955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:11:32] local.INFO: GPS data processed {"connection_id":216955,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:11:32] local.INFO: Acknowledgment sent {"connection_id":216955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:12:16] local.INFO: TCP Data received {"connection_id":220024,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:12:16] local.INFO: Processing buffer {"connection_id":220024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:12:16] local.INFO: IMEI packet received {"connection_id":220024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":220024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:12:21] local.INFO: TCP Data received {"connection_id":220024,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:12:21] local.INFO: Processing buffer {"connection_id":220024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:12:21] local.INFO: IMEI packet received {"connection_id":220024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":220024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:12:22] local.INFO: TCP Data received {"connection_id":220024,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:12:22] local.INFO: Processing buffer {"connection_id":220024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144122fc8012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:12:22] local.INFO: Packet analysis {"connection_id":220024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:12:22] local.INFO: Extracted packet for processing {"connection_id":220024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14412"} 
[2026-10-16 15:12:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788634624001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143405000,"timestamp_ms":1792143405000,"timestamp_seconds":1792143405,"priority":1,"record_length":96,"hex_timestamp":"000001a144122fc8"} 
[2026-10-16 15:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788634624001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788634624001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:12:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:12:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788634624001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":220024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:12:22] local.INFO: GPS data processed {"connection_id":220024,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:12:22] local.INFO: Acknowledgment sent {"connection_id":220024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:12:54] local.INFO: TCP Data received {"connection_id":220024,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:12:54] local.INFO: Processing buffer {"connection_id":220024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:12:54] local.INFO: Packet analysis {"connection_id":220024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:12:54] local.INFO: Extracted packet for processing {"connection_id":220024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788711680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792143706000,"timestamp_ms":1792143706000,"timestamp_seconds":1792143706,"priority":1,"record_length":96,"hex_timestamp":"000001a14416c790"} 
[2026-10-16 15:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:12:54] 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-10-16 15:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788711680001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788711680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:12:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:12:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788711680001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":220024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:12:54] local.INFO: GPS data processed {"connection_id":220024,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:12:54] local.INFO: Acknowledgment sent {"connection_id":220024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:13:15] local.INFO: TCP Data received {"connection_id":216956,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:13:15] local.INFO: Processing buffer {"connection_id":216956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:13:15] local.INFO: IMEI packet received {"connection_id":216956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":216956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:13:21] local.INFO: TCP Data received {"connection_id":216956,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:13:21] local.INFO: Processing buffer {"connection_id":216956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:13:21] local.INFO: IMEI packet received {"connection_id":216956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":216956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:13:22] local.INFO: TCP Data received {"connection_id":216956,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:13:22] local.INFO: Processing buffer {"connection_id":216956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:13:22] local.INFO: Packet analysis {"connection_id":216956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:13:22] local.INFO: Extracted packet for processing {"connection_id":216956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:13:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788711680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143706000,"timestamp_ms":1792143706000,"timestamp_seconds":1792143706,"priority":1,"record_length":96,"hex_timestamp":"000001a14416c790"} 
[2026-10-16 15:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788711680001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788711680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:13:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:13:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788711680001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":216956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:13:22] local.INFO: GPS data processed {"connection_id":216956,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:13:22] local.INFO: Acknowledgment sent {"connection_id":216956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:13:54] local.INFO: TCP Data received {"connection_id":216956,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:13:54] local.INFO: Processing buffer {"connection_id":216956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:13:54] local.INFO: Packet analysis {"connection_id":216956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:13:54] local.INFO: Extracted packet for processing {"connection_id":216956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788711680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792143706000,"timestamp_ms":1792143706000,"timestamp_seconds":1792143706,"priority":1,"record_length":96,"hex_timestamp":"000001a14416c790"} 
[2026-10-16 15:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:13:54] 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-10-16 15:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788711680001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788711680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:13:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:13:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788711680001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":216956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:13:54] local.INFO: GPS data processed {"connection_id":216956,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:13:54] local.INFO: Acknowledgment sent {"connection_id":216956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:14:15] local.INFO: TCP Data received {"connection_id":216743,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:14:15] local.INFO: Processing buffer {"connection_id":216743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:14:15] local.INFO: IMEI packet received {"connection_id":216743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":216743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:14:21] local.INFO: TCP Data received {"connection_id":216743,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:14:21] local.INFO: Processing buffer {"connection_id":216743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:14:21] local.INFO: IMEI packet received {"connection_id":216743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":216743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:14:22] local.INFO: TCP Data received {"connection_id":216743,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:14:22] local.INFO: Processing buffer {"connection_id":216743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:14:22] local.INFO: Packet analysis {"connection_id":216743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:14:22] local.INFO: Extracted packet for processing {"connection_id":216743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788711680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143706000,"timestamp_ms":1792143706000,"timestamp_seconds":1792143706,"priority":1,"record_length":96,"hex_timestamp":"000001a14416c790"} 
[2026-10-16 15:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788711680001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788711680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:14:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:14:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788711680001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":216743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:14:22] local.INFO: GPS data processed {"connection_id":216743,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:14:22] local.INFO: Acknowledgment sent {"connection_id":216743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:14:54] local.INFO: TCP Data received {"connection_id":216743,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:14:54] local.INFO: Processing buffer {"connection_id":216743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:14:54] local.INFO: Packet analysis {"connection_id":216743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:14:54] local.INFO: Extracted packet for processing {"connection_id":216743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788711680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792143706000,"timestamp_ms":1792143706000,"timestamp_seconds":1792143706,"priority":1,"record_length":96,"hex_timestamp":"000001a14416c790"} 
[2026-10-16 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-10-16 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:14:54] 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-10-16 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-10-16 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-10-16 15:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788711680001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788711680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:14:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:14:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788711680001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":216743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:14:54] local.INFO: GPS data processed {"connection_id":216743,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:14:54] local.INFO: Acknowledgment sent {"connection_id":216743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:15:11] local.INFO: TCP Data received {"connection_id":218294,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:15:11] local.INFO: Processing buffer {"connection_id":218294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:15:11] local.INFO: IMEI packet received {"connection_id":218294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":218294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:15:21] local.INFO: TCP Data received {"connection_id":220025,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:15:21] local.INFO: Processing buffer {"connection_id":220025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:15:21] local.INFO: IMEI packet received {"connection_id":220025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":220025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:15:26] local.INFO: TCP Data received {"connection_id":220025,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:15:26] local.INFO: Processing buffer {"connection_id":220025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:15:26] local.INFO: IMEI packet received {"connection_id":220025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":220025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:15:27] local.INFO: TCP Data received {"connection_id":220025,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:15:27] local.INFO: Processing buffer {"connection_id":220025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:15:27] local.INFO: Packet analysis {"connection_id":220025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:15:27] local.INFO: Extracted packet for processing {"connection_id":220025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788711680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792143706000,"timestamp_ms":1792143706000,"timestamp_seconds":1792143706,"priority":1,"record_length":96,"hex_timestamp":"000001a14416c790"} 
[2026-10-16 15:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:15:27] 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-10-16 15:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788711680001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788711680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:15:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:15:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788711680001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":220025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:15:27] local.INFO: GPS data processed {"connection_id":220025,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:15:27] local.INFO: Acknowledgment sent {"connection_id":220025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:15:32] local.INFO: TCP Data received {"connection_id":220025,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:15:32] local.INFO: Processing buffer {"connection_id":220025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:15:32] local.INFO: Packet analysis {"connection_id":220025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:15:32] local.INFO: Extracted packet for processing {"connection_id":220025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788711680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792143706000,"timestamp_ms":1792143706000,"timestamp_seconds":1792143706,"priority":1,"record_length":96,"hex_timestamp":"000001a14416c790"} 
[2026-10-16 15:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15: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-10-16 15:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":220025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":220025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":220025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788711680001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788711680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:15:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:15:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788711680001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":220025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:15:32] local.INFO: GPS data processed {"connection_id":220025,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:15:32] local.INFO: Acknowledgment sent {"connection_id":220025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:15:50] local.INFO: TCP Data received {"connection_id":220026,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:15:50] local.INFO: Processing buffer {"connection_id":220026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:15:50] local.INFO: IMEI packet received {"connection_id":220026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":220026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:15:56] local.INFO: TCP Data received {"connection_id":220026,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:15:56] local.INFO: Processing buffer {"connection_id":220026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:15:56] local.INFO: IMEI packet received {"connection_id":220026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 15:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":220026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:15:57] local.INFO: TCP Data received {"connection_id":220026,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a144182720012cee7480072e29d00036006e28..."} 
[2026-10-16 15:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144182720012cee7480072e29d00036006e28..."} 
[2026-10-16 15:15:57] local.INFO: Processing buffer {"connection_id":220026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144182720012cee7480072e29d00036006e28..."} 
[2026-10-16 15:15:57] local.INFO: Packet analysis {"connection_id":220026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14418"} 
[2026-10-16 15:15:57] local.INFO: Extracted packet for processing {"connection_id":220026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14418"} 
[2026-10-16 15:15:57] local.INFO: GPS Element Parsed {"raw_longitude":753824896,"raw_latitude":120465872,"longitude_deg":75.3824896,"latitude_deg":12.0465872,"altitude":54,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2cee7480","hex_latitude":"072e29d0","is_valid_coordinates":true} 
[2026-10-16 15:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788806400001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12974782668603392,"note":"Value kept but may cause issues"} 
[2026-10-16 15:15:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264244827056648192,"note":"Value kept but may cause issues"} 
[2026-10-16 15:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792143796000,"timestamp_ms":1792143796000,"timestamp_seconds":1792143796,"priority":1,"record_length":96,"hex_timestamp":"000001a144182720"} 
[2026-10-16 15:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 15:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 15:15:57] 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-10-16 15:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":220026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":220026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 15:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":220026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 15:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 15:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 15:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788806400001,"66":27887,"229":206,"83":44032,"24":0,"16":12974782668603392,"44":-1264244827056648192},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-10-16 15:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 15:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 15:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788806400001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:15:57] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-10-16 15:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-10-16 15:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":12974782668603392,"km_value":12974782668603.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:15:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264244827056648192,"description":"Unknown IO ID 44"} 
[2026-10-16 15:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788806400001,"power":27887,"unknown_229":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264244827056648192}} 
[2026-10-16 15:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":220026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:15:57] local.INFO: GPS data processed {"connection_id":220026,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:15:57] local.INFO: Acknowledgment sent {"connection_id":220026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:16:16] local.INFO: TCP Data received {"connection_id":220027,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:16:16] local.INFO: Processing buffer {"connection_id":220027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:16:16] local.INFO: IMEI packet received {"connection_id":220027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":220027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:16:21] local.INFO: TCP Data received {"connection_id":220027,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:16:21] local.INFO: Processing buffer {"connection_id":220027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:16:21] local.INFO: IMEI packet received {"connection_id":220027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":220027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:16:22] local.INFO: TCP Data received {"connection_id":220027,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:16:22] local.INFO: Processing buffer {"connection_id":220027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:16:22] local.INFO: Packet analysis {"connection_id":220027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:16:22] local.INFO: Extracted packet for processing {"connection_id":220027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:16:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788711680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792143706000,"timestamp_ms":1792143706000,"timestamp_seconds":1792143706,"priority":1,"record_length":96,"hex_timestamp":"000001a14416c790"} 
[2026-10-16 15:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788711680001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788711680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:16:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:16:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788711680001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":220027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:16:22] local.INFO: GPS data processed {"connection_id":220027,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:16:22] local.INFO: Acknowledgment sent {"connection_id":220027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:16:46] local.INFO: TCP Data received {"connection_id":216957,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:16:46] local.INFO: Processing buffer {"connection_id":216957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:16:46] local.INFO: IMEI packet received {"connection_id":216957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":216957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:16:54] local.INFO: TCP Data received {"connection_id":220027,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:16:54] local.INFO: Processing buffer {"connection_id":220027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:16:54] local.INFO: Packet analysis {"connection_id":220027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:16:54] local.INFO: Extracted packet for processing {"connection_id":220027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788711680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792143706000,"timestamp_ms":1792143706000,"timestamp_seconds":1792143706,"priority":1,"record_length":96,"hex_timestamp":"000001a14416c790"} 
[2026-10-16 15:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:16:54] 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-10-16 15:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788711680001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788711680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:16:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:16:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788711680001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":220027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:16:54] local.INFO: GPS data processed {"connection_id":220027,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:16:54] local.INFO: Acknowledgment sent {"connection_id":220027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:17:16] local.INFO: TCP Data received {"connection_id":216744,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:17:16] local.INFO: Processing buffer {"connection_id":216744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:17:16] local.INFO: IMEI packet received {"connection_id":216744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":216744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:17:21] local.INFO: TCP Data received {"connection_id":216744,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:17:21] local.INFO: Processing buffer {"connection_id":216744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:17:21] local.INFO: IMEI packet received {"connection_id":216744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":216744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:17:24] local.INFO: TCP Data received {"connection_id":216744,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:17:24] local.INFO: Processing buffer {"connection_id":216744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14416c790012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:17:24] local.INFO: Packet analysis {"connection_id":216744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:17:24] local.INFO: Extracted packet for processing {"connection_id":216744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14416"} 
[2026-10-16 15:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788711680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792143706000,"timestamp_ms":1792143706000,"timestamp_seconds":1792143706,"priority":1,"record_length":96,"hex_timestamp":"000001a14416c790"} 
[2026-10-16 15:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:17:24] 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-10-16 15:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788711680001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788711680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:17:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:17:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788711680001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":216744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:17:24] local.INFO: GPS data processed {"connection_id":216744,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:17:24] local.INFO: Acknowledgment sent {"connection_id":216744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:17:56] local.INFO: TCP Data received {"connection_id":216744,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:17:56] local.INFO: Processing buffer {"connection_id":216744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:17:56] local.INFO: Packet analysis {"connection_id":216744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:17:56] local.INFO: Extracted packet for processing {"connection_id":216744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788788736001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792144007000,"timestamp_ms":1792144007000,"timestamp_seconds":1792144007,"priority":1,"record_length":96,"hex_timestamp":"000001a1441b5f58"} 
[2026-10-16 15:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:17:56] 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-10-16 15:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788788736001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788788736001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:17:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:17:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788788736001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":216744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:17:56] local.INFO: GPS data processed {"connection_id":216744,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:17:56] local.INFO: Acknowledgment sent {"connection_id":216744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:18:21] local.INFO: TCP Data received {"connection_id":220028,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:18:21] local.INFO: Processing buffer {"connection_id":220028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:18:21] local.INFO: IMEI packet received {"connection_id":220028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":220028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:18:26] local.INFO: TCP Data received {"connection_id":220028,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:18:26] local.INFO: Processing buffer {"connection_id":220028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:18:26] local.INFO: IMEI packet received {"connection_id":220028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":220028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:18:27] local.INFO: TCP Data received {"connection_id":220028,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:18:27] local.INFO: Processing buffer {"connection_id":220028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:18:27] local.INFO: Packet analysis {"connection_id":220028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:18:27] local.INFO: Extracted packet for processing {"connection_id":220028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788788736001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792144007000,"timestamp_ms":1792144007000,"timestamp_seconds":1792144007,"priority":1,"record_length":96,"hex_timestamp":"000001a1441b5f58"} 
[2026-10-16 15:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:18:27] 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-10-16 15:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788788736001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788788736001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:18:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:18:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788788736001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":220028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:18:27] local.INFO: GPS data processed {"connection_id":220028,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:18:27] local.INFO: Acknowledgment sent {"connection_id":220028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:18:32] local.INFO: TCP Data received {"connection_id":220028,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:18:32] local.INFO: Processing buffer {"connection_id":220028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:18:32] local.INFO: Packet analysis {"connection_id":220028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:18:32] local.INFO: Extracted packet for processing {"connection_id":220028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788788736001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792144007000,"timestamp_ms":1792144007000,"timestamp_seconds":1792144007,"priority":1,"record_length":96,"hex_timestamp":"000001a1441b5f58"} 
[2026-10-16 15:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":220028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":220028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":220028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788788736001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788788736001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:18:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:18:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788788736001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":220028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:18:32] local.INFO: GPS data processed {"connection_id":220028,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:18:32] local.INFO: Acknowledgment sent {"connection_id":220028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:19:16] local.INFO: TCP Data received {"connection_id":220029,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:19:16] local.INFO: Processing buffer {"connection_id":220029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:19:16] local.INFO: IMEI packet received {"connection_id":220029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":220029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:19:21] local.INFO: TCP Data received {"connection_id":220029,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:19:21] local.INFO: Processing buffer {"connection_id":220029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:19:21] local.INFO: IMEI packet received {"connection_id":220029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":220029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:19:23] local.INFO: TCP Data received {"connection_id":220029,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:19:23] local.INFO: Processing buffer {"connection_id":220029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:19:23] local.INFO: Packet analysis {"connection_id":220029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:19:23] local.INFO: Extracted packet for processing {"connection_id":220029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788788736001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792144007000,"timestamp_ms":1792144007000,"timestamp_seconds":1792144007,"priority":1,"record_length":96,"hex_timestamp":"000001a1441b5f58"} 
[2026-10-16 15:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:19:23] 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-10-16 15: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-10-16 15:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788788736001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788788736001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:19:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:19:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788788736001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":220029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:19:23] local.INFO: GPS data processed {"connection_id":220029,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:19:23] local.INFO: Acknowledgment sent {"connection_id":220029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:19:55] local.INFO: TCP Data received {"connection_id":220029,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:19:55] local.INFO: Processing buffer {"connection_id":220029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:19:55] local.INFO: Packet analysis {"connection_id":220029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:19:55] local.INFO: Extracted packet for processing {"connection_id":220029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788788736001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792144007000,"timestamp_ms":1792144007000,"timestamp_seconds":1792144007,"priority":1,"record_length":96,"hex_timestamp":"000001a1441b5f58"} 
[2026-10-16 15:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:19:55] 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-10-16 15:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788788736001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788788736001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:19:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:19:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788788736001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":220029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:19:55] local.INFO: GPS data processed {"connection_id":220029,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:19:55] local.INFO: Acknowledgment sent {"connection_id":220029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:20:15] local.INFO: TCP Data received {"connection_id":216958,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:20:15] local.INFO: Processing buffer {"connection_id":216958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:20:15] local.INFO: IMEI packet received {"connection_id":216958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":216958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:20:21] local.INFO: TCP Data received {"connection_id":216958,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:20:21] local.INFO: Processing buffer {"connection_id":216958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:20:21] local.INFO: IMEI packet received {"connection_id":216958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":216958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:20:22] local.INFO: TCP Data received {"connection_id":216958,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:20:22] local.INFO: Processing buffer {"connection_id":216958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:20:22] local.INFO: Packet analysis {"connection_id":216958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:20:22] local.INFO: Extracted packet for processing {"connection_id":216958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788788736001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792144007000,"timestamp_ms":1792144007000,"timestamp_seconds":1792144007,"priority":1,"record_length":96,"hex_timestamp":"000001a1441b5f58"} 
[2026-10-16 15:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:20:22] 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-10-16 15:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788788736001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788788736001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:20:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:20:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788788736001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":216958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:20:22] local.INFO: GPS data processed {"connection_id":216958,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:20:22] local.INFO: Acknowledgment sent {"connection_id":216958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:20:54] local.INFO: TCP Data received {"connection_id":216958,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:20:54] local.INFO: Processing buffer {"connection_id":216958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:20:54] local.INFO: Packet analysis {"connection_id":216958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:20:54] local.INFO: Extracted packet for processing {"connection_id":216958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788788736001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144007000,"timestamp_ms":1792144007000,"timestamp_seconds":1792144007,"priority":1,"record_length":96,"hex_timestamp":"000001a1441b5f58"} 
[2026-10-16 15:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788788736001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788788736001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:20:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:20:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788788736001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":216958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:20:54] local.INFO: GPS data processed {"connection_id":216958,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:20:54] local.INFO: Acknowledgment sent {"connection_id":216958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:21:15] local.INFO: TCP Data received {"connection_id":220031,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:21:15] local.INFO: Processing buffer {"connection_id":220031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:21:15] local.INFO: IMEI packet received {"connection_id":220031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":220031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:21:21] local.INFO: TCP Data received {"connection_id":220031,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:21:21] local.INFO: Processing buffer {"connection_id":220031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:21:21] local.INFO: IMEI packet received {"connection_id":220031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":220031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:21:23] local.INFO: TCP Data received {"connection_id":220031,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:21:23] local.INFO: Processing buffer {"connection_id":220031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:21:23] local.INFO: Packet analysis {"connection_id":220031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:21:23] local.INFO: Extracted packet for processing {"connection_id":220031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788788736001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792144007000,"timestamp_ms":1792144007000,"timestamp_seconds":1792144007,"priority":1,"record_length":96,"hex_timestamp":"000001a1441b5f58"} 
[2026-10-16 15:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:21:23] 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-10-16 15:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788788736001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788788736001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:21:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:21:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788788736001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":220031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:21:23] local.INFO: GPS data processed {"connection_id":220031,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:21:23] local.INFO: Acknowledgment sent {"connection_id":220031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:21:55] local.INFO: TCP Data received {"connection_id":220031,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:21:55] local.INFO: Processing buffer {"connection_id":220031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:21:55] local.INFO: Packet analysis {"connection_id":220031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:21:55] local.INFO: Extracted packet for processing {"connection_id":220031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788788736001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792144007000,"timestamp_ms":1792144007000,"timestamp_seconds":1792144007,"priority":1,"record_length":96,"hex_timestamp":"000001a1441b5f58"} 
[2026-10-16 15:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:21:55] 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-10-16 15:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788788736001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788788736001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:21:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:21:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788788736001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":220031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:21:55] local.INFO: GPS data processed {"connection_id":220031,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:21:55] local.INFO: Acknowledgment sent {"connection_id":220031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:21:59] local.INFO: TCP Data received {"connection_id":218296,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:21:59] local.INFO: Processing buffer {"connection_id":218296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:21:59] local.INFO: IMEI packet received {"connection_id":218296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":218296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:22:15] local.INFO: TCP Data received {"connection_id":216959,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:22:15] local.INFO: Processing buffer {"connection_id":216959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:22:15] local.INFO: IMEI packet received {"connection_id":216959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":216959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:22:21] local.INFO: TCP Data received {"connection_id":216959,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:22:21] local.INFO: Processing buffer {"connection_id":216959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:22:21] local.INFO: IMEI packet received {"connection_id":216959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":216959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:22:23] local.INFO: TCP Data received {"connection_id":216959,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:22:23] local.INFO: Processing buffer {"connection_id":216959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441b5f58012d7fa40005afce580009000a30..."} 
[2026-10-16 15:22:23] local.INFO: Packet analysis {"connection_id":216959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:22:23] local.INFO: Extracted packet for processing {"connection_id":216959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441b"} 
[2026-10-16 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788788736001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792144007000,"timestamp_ms":1792144007000,"timestamp_seconds":1792144007,"priority":1,"record_length":96,"hex_timestamp":"000001a1441b5f58"} 
[2026-10-16 15:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:22:23] 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-10-16 15: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-10-16 15:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788788736001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788788736001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:22:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:22:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788788736001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":216959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:22:23] local.INFO: GPS data processed {"connection_id":216959,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:22:23] local.INFO: Acknowledgment sent {"connection_id":216959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:22:54] local.INFO: TCP Data received {"connection_id":216959,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:22:54] local.INFO: Processing buffer {"connection_id":216959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:22:54] local.INFO: Packet analysis {"connection_id":216959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:22:54] local.INFO: Extracted packet for processing {"connection_id":216959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788865792001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144308000,"timestamp_ms":1792144308000,"timestamp_seconds":1792144308,"priority":1,"record_length":96,"hex_timestamp":"000001a1441ff720"} 
[2026-10-16 15:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788865792001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788865792001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:22:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:22:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788865792001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":216959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:22:54] local.INFO: GPS data processed {"connection_id":216959,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:22:54] local.INFO: Acknowledgment sent {"connection_id":216959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:23:15] local.INFO: TCP Data received {"connection_id":216747,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:23:15] local.INFO: Processing buffer {"connection_id":216747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:23:15] local.INFO: IMEI packet received {"connection_id":216747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":216747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:23:21] local.INFO: TCP Data received {"connection_id":216747,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:23:21] local.INFO: Processing buffer {"connection_id":216747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:23:21] local.INFO: IMEI packet received {"connection_id":216747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:23:22] local.INFO: TCP Data received {"connection_id":216747,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:23:22] local.INFO: Processing buffer {"connection_id":216747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:23:22] local.INFO: Packet analysis {"connection_id":216747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:23:22] local.INFO: Extracted packet for processing {"connection_id":216747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:23:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788865792001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792144308000,"timestamp_ms":1792144308000,"timestamp_seconds":1792144308,"priority":1,"record_length":96,"hex_timestamp":"000001a1441ff720"} 
[2026-10-16 15:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788865792001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788865792001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:23:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:23:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788865792001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":216747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:23:22] local.INFO: GPS data processed {"connection_id":216747,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:23:22] local.INFO: Acknowledgment sent {"connection_id":216747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:23:54] local.INFO: TCP Data received {"connection_id":216747,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:23:54] local.INFO: Processing buffer {"connection_id":216747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:23:54] local.INFO: Packet analysis {"connection_id":216747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:23:54] local.INFO: Extracted packet for processing {"connection_id":216747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788865792001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144308000,"timestamp_ms":1792144308000,"timestamp_seconds":1792144308,"priority":1,"record_length":96,"hex_timestamp":"000001a1441ff720"} 
[2026-10-16 15:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788865792001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788865792001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:23:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:23:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788865792001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":216747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:23:54] local.INFO: GPS data processed {"connection_id":216747,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:23:54] local.INFO: Acknowledgment sent {"connection_id":216747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:24:15] local.INFO: TCP Data received {"connection_id":218298,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:24:15] local.INFO: Processing buffer {"connection_id":218298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:24:15] local.INFO: IMEI packet received {"connection_id":218298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":218298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:24:21] local.INFO: TCP Data received {"connection_id":218298,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:24:21] local.INFO: Processing buffer {"connection_id":218298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:24:21] local.INFO: IMEI packet received {"connection_id":218298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":218298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:24:22] local.INFO: TCP Data received {"connection_id":218298,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:24:22] local.INFO: Processing buffer {"connection_id":218298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:24:22] local.INFO: Packet analysis {"connection_id":218298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:24:22] local.INFO: Extracted packet for processing {"connection_id":218298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:24:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788865792001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792144308000,"timestamp_ms":1792144308000,"timestamp_seconds":1792144308,"priority":1,"record_length":96,"hex_timestamp":"000001a1441ff720"} 
[2026-10-16 15:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788865792001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788865792001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:24:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:24:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788865792001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":218298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:24:22] local.INFO: GPS data processed {"connection_id":218298,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:24:22] local.INFO: Acknowledgment sent {"connection_id":218298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:24:54] local.INFO: TCP Data received {"connection_id":218298,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:24:54] local.INFO: Processing buffer {"connection_id":218298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:24:54] local.INFO: Packet analysis {"connection_id":218298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:24:54] local.INFO: Extracted packet for processing {"connection_id":218298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788865792001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144308000,"timestamp_ms":1792144308000,"timestamp_seconds":1792144308,"priority":1,"record_length":96,"hex_timestamp":"000001a1441ff720"} 
[2026-10-16 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-10-16 15:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788865792001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788865792001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:24:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:24:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788865792001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":218298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:24:54] local.INFO: GPS data processed {"connection_id":218298,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:24:54] local.INFO: Acknowledgment sent {"connection_id":218298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:25:15] local.INFO: TCP Data received {"connection_id":216748,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:25:15] local.INFO: Processing buffer {"connection_id":216748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:25:15] local.INFO: IMEI packet received {"connection_id":216748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":216748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:25:21] local.INFO: TCP Data received {"connection_id":216748,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:25:21] local.INFO: Processing buffer {"connection_id":216748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:25:21] local.INFO: IMEI packet received {"connection_id":216748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":216748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:25:22] local.INFO: TCP Data received {"connection_id":216748,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:25:22] local.INFO: Processing buffer {"connection_id":216748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:25:22] local.INFO: Packet analysis {"connection_id":216748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:25:22] local.INFO: Extracted packet for processing {"connection_id":216748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:25:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788865792001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792144308000,"timestamp_ms":1792144308000,"timestamp_seconds":1792144308,"priority":1,"record_length":96,"hex_timestamp":"000001a1441ff720"} 
[2026-10-16 15:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788865792001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788865792001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:25:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:25:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788865792001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":216748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:25:22] local.INFO: GPS data processed {"connection_id":216748,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:25:22] local.INFO: Acknowledgment sent {"connection_id":216748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:25:54] local.INFO: TCP Data received {"connection_id":216748,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:25:54] local.INFO: Processing buffer {"connection_id":216748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:25:54] local.INFO: Packet analysis {"connection_id":216748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:25:54] local.INFO: Extracted packet for processing {"connection_id":216748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788865792001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144308000,"timestamp_ms":1792144308000,"timestamp_seconds":1792144308,"priority":1,"record_length":96,"hex_timestamp":"000001a1441ff720"} 
[2026-10-16 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-10-16 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788865792001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788865792001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:25:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:25:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788865792001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":216748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:25:54] local.INFO: GPS data processed {"connection_id":216748,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:25:54] local.INFO: Acknowledgment sent {"connection_id":216748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:26:21] local.INFO: TCP Data received {"connection_id":216960,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:26:21] local.INFO: Processing buffer {"connection_id":216960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:26:21] local.INFO: IMEI packet received {"connection_id":216960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":216960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:26:26] local.INFO: TCP Data received {"connection_id":216960,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:26:26] local.INFO: Processing buffer {"connection_id":216960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:26:26] local.INFO: IMEI packet received {"connection_id":216960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":216960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:26:27] local.INFO: TCP Data received {"connection_id":216960,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:26:27] local.INFO: Processing buffer {"connection_id":216960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:26:27] local.INFO: Packet analysis {"connection_id":216960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:26:27] local.INFO: Extracted packet for processing {"connection_id":216960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788865792001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792144308000,"timestamp_ms":1792144308000,"timestamp_seconds":1792144308,"priority":1,"record_length":96,"hex_timestamp":"000001a1441ff720"} 
[2026-10-16 15:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:26:27] 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-10-16 15:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788865792001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788865792001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:26:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:26:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788865792001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":216960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:26:27] local.INFO: GPS data processed {"connection_id":216960,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:26:27] local.INFO: Acknowledgment sent {"connection_id":216960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:26:32] local.INFO: TCP Data received {"connection_id":216960,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:26:32] local.INFO: Processing buffer {"connection_id":216960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:26:32] local.INFO: Packet analysis {"connection_id":216960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:26:32] local.INFO: Extracted packet for processing {"connection_id":216960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788865792001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792144308000,"timestamp_ms":1792144308000,"timestamp_seconds":1792144308,"priority":1,"record_length":96,"hex_timestamp":"000001a1441ff720"} 
[2026-10-16 15:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788865792001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788865792001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788865792001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":216960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:26:32] local.INFO: GPS data processed {"connection_id":216960,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:26:32] local.INFO: Acknowledgment sent {"connection_id":216960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:27:15] local.INFO: TCP Data received {"connection_id":216961,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:27:15] local.INFO: Processing buffer {"connection_id":216961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:27:15] local.INFO: IMEI packet received {"connection_id":216961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":216961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:27:21] local.INFO: TCP Data received {"connection_id":216961,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:27:21] local.INFO: Processing buffer {"connection_id":216961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:27:21] local.INFO: IMEI packet received {"connection_id":216961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":216961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:27:22] local.INFO: TCP Data received {"connection_id":216961,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:27:22] local.INFO: Processing buffer {"connection_id":216961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1441ff720012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:27:22] local.INFO: Packet analysis {"connection_id":216961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:27:22] local.INFO: Extracted packet for processing {"connection_id":216961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1441f"} 
[2026-10-16 15:27:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788865792001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792144308000,"timestamp_ms":1792144308000,"timestamp_seconds":1792144308,"priority":1,"record_length":96,"hex_timestamp":"000001a1441ff720"} 
[2026-10-16 15:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15: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-10-16 15:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788865792001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788865792001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:27:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:27:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788865792001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":216961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:27:23] local.INFO: GPS data processed {"connection_id":216961,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:27:23] local.INFO: Acknowledgment sent {"connection_id":216961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:27:30] local.INFO: TCP Data received {"connection_id":216749,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:27:30] local.INFO: Processing buffer {"connection_id":216749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:27:30] local.INFO: IMEI packet received {"connection_id":216749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":216749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:27:53] local.INFO: TCP Data received {"connection_id":218300,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:27:53] local.INFO: Processing buffer {"connection_id":218300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:27:53] local.INFO: IMEI packet received {"connection_id":218300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":218300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:27:54] local.INFO: TCP Data received {"connection_id":216961,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:27:54] local.INFO: Processing buffer {"connection_id":216961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:27:54] local.INFO: Packet analysis {"connection_id":216961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:27:54] local.INFO: Extracted packet for processing {"connection_id":216961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 15:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:27:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:27:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":216961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:27:54] local.INFO: GPS data processed {"connection_id":216961,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:27:54] local.INFO: Acknowledgment sent {"connection_id":216961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:28:15] local.INFO: TCP Data received {"connection_id":218301,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:28:15] local.INFO: Processing buffer {"connection_id":218301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:28:15] local.INFO: IMEI packet received {"connection_id":218301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":218301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:28:21] local.INFO: TCP Data received {"connection_id":218301,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:28:21] local.INFO: Processing buffer {"connection_id":218301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:28:21] local.INFO: IMEI packet received {"connection_id":218301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":218301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:28:22] local.INFO: TCP Data received {"connection_id":218301,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:28:22] local.INFO: Processing buffer {"connection_id":218301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:28:22] local.INFO: Packet analysis {"connection_id":218301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:28:22] local.INFO: Extracted packet for processing {"connection_id":218301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:28:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 15:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:28:23] 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-10-16 15: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-10-16 15:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:28:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:28:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":218301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:28:23] local.INFO: GPS data processed {"connection_id":218301,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:28:23] local.INFO: Acknowledgment sent {"connection_id":218301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:28:54] local.INFO: TCP Data received {"connection_id":218301,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:28:54] local.INFO: Processing buffer {"connection_id":218301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:28:54] local.INFO: Packet analysis {"connection_id":218301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:28:54] local.INFO: Extracted packet for processing {"connection_id":218301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 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-10-16 15:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:28:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:28:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":218301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:28:54] local.INFO: GPS data processed {"connection_id":218301,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:28:54] local.INFO: Acknowledgment sent {"connection_id":218301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:29:21] local.INFO: TCP Data received {"connection_id":220034,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:29:21] local.INFO: Processing buffer {"connection_id":220034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:29:21] local.INFO: IMEI packet received {"connection_id":220034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":220034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:29:26] local.INFO: TCP Data received {"connection_id":220034,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:29:26] local.INFO: Processing buffer {"connection_id":220034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:29:26] local.INFO: IMEI packet received {"connection_id":220034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":220034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:29:29] local.INFO: TCP Data received {"connection_id":220034,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:29:29] local.INFO: Processing buffer {"connection_id":220034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:29:29] local.INFO: Packet analysis {"connection_id":220034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:29:29] local.INFO: Extracted packet for processing {"connection_id":220034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 15:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:29:29] 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-10-16 15:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":220034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":220034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":220034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:29:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:29:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":220034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:29:29] local.INFO: GPS data processed {"connection_id":220034,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:29:29] local.INFO: Acknowledgment sent {"connection_id":220034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:29:31] local.INFO: TCP Data received {"connection_id":220034,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:29:31] local.INFO: Processing buffer {"connection_id":220034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:29:31] local.INFO: Packet analysis {"connection_id":220034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:29:31] local.INFO: Extracted packet for processing {"connection_id":220034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 15:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:29:31] 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-10-16 15:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":220034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":220034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":220034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:29:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:29:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":220034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:29:31] local.INFO: GPS data processed {"connection_id":220034,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:29:31] local.INFO: Acknowledgment sent {"connection_id":220034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:30:16] local.INFO: TCP Data received {"connection_id":218303,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:30:16] local.INFO: Processing buffer {"connection_id":218303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:30:16] local.INFO: IMEI packet received {"connection_id":218303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":218303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:30:22] local.INFO: TCP Data received {"connection_id":218303,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:30:22] local.INFO: Processing buffer {"connection_id":218303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:30:22] local.INFO: IMEI packet received {"connection_id":218303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":218303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:30:23] local.INFO: TCP Data received {"connection_id":218303,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:30:23] local.INFO: Processing buffer {"connection_id":218303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:30:23] local.INFO: Packet analysis {"connection_id":218303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:30:23] local.INFO: Extracted packet for processing {"connection_id":218303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 15:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:30:23] 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-10-16 15:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:30:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:30:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":218303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:30:23] local.INFO: GPS data processed {"connection_id":218303,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:30:23] local.INFO: Acknowledgment sent {"connection_id":218303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:30:26] local.INFO: TCP Data received {"connection_id":218303,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:30:26] local.INFO: Processing buffer {"connection_id":218303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:30:26] local.INFO: Packet analysis {"connection_id":218303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:30:26] local.INFO: Extracted packet for processing {"connection_id":218303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 15:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:30:26] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:30:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":218303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:30:26] local.INFO: GPS data processed {"connection_id":218303,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:30:26] local.INFO: Acknowledgment sent {"connection_id":218303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:30:58] local.INFO: TCP Data received {"connection_id":218303,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:30:58] local.INFO: Processing buffer {"connection_id":218303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:30:58] local.INFO: Packet analysis {"connection_id":218303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:30:58] local.INFO: Extracted packet for processing {"connection_id":218303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 15:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:30:58] 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-10-16 15: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-10-16 15:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:30:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:30:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":218303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:30:58] local.INFO: GPS data processed {"connection_id":218303,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:30:58] local.INFO: Acknowledgment sent {"connection_id":218303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:31:15] local.INFO: TCP Data received {"connection_id":216962,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:31:15] local.INFO: Processing buffer {"connection_id":216962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:31:15] local.INFO: IMEI packet received {"connection_id":216962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":216962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:31:21] local.INFO: TCP Data received {"connection_id":216962,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:31:21] local.INFO: Processing buffer {"connection_id":216962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:31:21] local.INFO: IMEI packet received {"connection_id":216962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":216962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:31:24] local.INFO: TCP Data received {"connection_id":216962,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:31:24] local.INFO: Processing buffer {"connection_id":216962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:31:24] local.INFO: Packet analysis {"connection_id":216962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:31:24] local.INFO: Extracted packet for processing {"connection_id":216962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 15:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:31:24] 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-10-16 15:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:31:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:31:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":216962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:31:24] local.INFO: GPS data processed {"connection_id":216962,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:31:24] local.INFO: Acknowledgment sent {"connection_id":216962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:31:55] local.INFO: TCP Data received {"connection_id":216962,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:31:55] local.INFO: Processing buffer {"connection_id":216962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:31:55] local.INFO: Packet analysis {"connection_id":216962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:31:55] local.INFO: Extracted packet for processing {"connection_id":216962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 15:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:31:55] 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-10-16 15:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:31:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:31:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":216962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:31:56] local.INFO: GPS data processed {"connection_id":216962,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:31:56] local.INFO: Acknowledgment sent {"connection_id":216962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:32:16] local.INFO: TCP Data received {"connection_id":216753,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:32:16] local.INFO: Processing buffer {"connection_id":216753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:32:16] local.INFO: IMEI packet received {"connection_id":216753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":216753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:32:21] local.INFO: TCP Data received {"connection_id":216753,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:32:21] local.INFO: Processing buffer {"connection_id":216753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:32:21] local.INFO: IMEI packet received {"connection_id":216753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":216753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:32:22] local.INFO: TCP Data received {"connection_id":216753,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:32:22] local.INFO: Processing buffer {"connection_id":216753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144248ee8012d7fa40005afce580009000a2d..."} 
[2026-10-16 15:32:22] local.INFO: Packet analysis {"connection_id":216753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:32:22] local.INFO: Extracted packet for processing {"connection_id":216753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14424"} 
[2026-10-16 15:32:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458788942848001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792144609000,"timestamp_ms":1792144609000,"timestamp_seconds":1792144609,"priority":1,"record_length":96,"hex_timestamp":"000001a144248ee8"} 
[2026-10-16 15:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458788942848001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458788942848001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:32:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:32:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458788942848001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":216753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:32:22] local.INFO: GPS data processed {"connection_id":216753,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:32:22] local.INFO: Acknowledgment sent {"connection_id":216753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:32:54] local.INFO: TCP Data received {"connection_id":216753,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:32:54] local.INFO: Processing buffer {"connection_id":216753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:32:54] local.INFO: Packet analysis {"connection_id":216753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:32:54] local.INFO: Extracted packet for processing {"connection_id":216753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 15:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:32:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:32:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":216753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:32:54] local.INFO: GPS data processed {"connection_id":216753,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:32:54] local.INFO: Acknowledgment sent {"connection_id":216753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:33:01] local.INFO: TCP Data received {"connection_id":216754,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:33:01] local.INFO: Processing buffer {"connection_id":216754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:33:01] local.INFO: IMEI packet received {"connection_id":216754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":216754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:33:15] local.INFO: TCP Data received {"connection_id":220037,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:33:15] local.INFO: Processing buffer {"connection_id":220037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:33:15] local.INFO: IMEI packet received {"connection_id":220037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":220037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:33:21] local.INFO: TCP Data received {"connection_id":220037,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:33:21] local.INFO: Processing buffer {"connection_id":220037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:33:21] local.INFO: IMEI packet received {"connection_id":220037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":220037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:33:22] local.INFO: TCP Data received {"connection_id":220037,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:33:22] local.INFO: Processing buffer {"connection_id":220037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:33:22] local.INFO: Packet analysis {"connection_id":220037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:33:22] local.INFO: Extracted packet for processing {"connection_id":220037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:33:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 15:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:33:22] 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-10-16 15:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:33:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:33:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":220037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:33:22] local.INFO: GPS data processed {"connection_id":220037,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:33:22] local.INFO: Acknowledgment sent {"connection_id":220037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:33:50] local.INFO: TCP Data received {"connection_id":218305,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:33:50] local.INFO: Processing buffer {"connection_id":218305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:33:50] local.INFO: IMEI packet received {"connection_id":218305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":218305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:33:54] local.INFO: TCP Data received {"connection_id":220037,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:33:54] local.INFO: Processing buffer {"connection_id":220037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:33:54] local.INFO: Packet analysis {"connection_id":220037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:33:54] local.INFO: Extracted packet for processing {"connection_id":220037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 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-10-16 15:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 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-10-16 15:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:33:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:33:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":220037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:33:54] local.INFO: GPS data processed {"connection_id":220037,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:33:54] local.INFO: Acknowledgment sent {"connection_id":220037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:34:15] local.INFO: TCP Data received {"connection_id":216755,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:34:15] local.INFO: Processing buffer {"connection_id":216755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:34:15] local.INFO: IMEI packet received {"connection_id":216755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":216755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:34:21] local.INFO: TCP Data received {"connection_id":216755,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:34:21] local.INFO: Processing buffer {"connection_id":216755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:34:21] local.INFO: IMEI packet received {"connection_id":216755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":216755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:34:22] local.INFO: TCP Data received {"connection_id":216755,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:34:22] local.INFO: Processing buffer {"connection_id":216755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:34:22] local.INFO: Packet analysis {"connection_id":216755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:34:22] local.INFO: Extracted packet for processing {"connection_id":216755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 15:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:34:22] 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-10-16 15: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-10-16 15:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:34:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:34:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":216755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:34:22] local.INFO: GPS data processed {"connection_id":216755,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:34:22] local.INFO: Acknowledgment sent {"connection_id":216755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:34:54] local.INFO: TCP Data received {"connection_id":216755,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:34:54] local.INFO: Processing buffer {"connection_id":216755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:34:54] local.INFO: Packet analysis {"connection_id":216755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:34:54] local.INFO: Extracted packet for processing {"connection_id":216755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 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-10-16 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:34:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:34:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":216755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:34:54] local.INFO: GPS data processed {"connection_id":216755,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:34:54] local.INFO: Acknowledgment sent {"connection_id":216755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:35:15] local.INFO: TCP Data received {"connection_id":216756,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:35:15] local.INFO: Processing buffer {"connection_id":216756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:35:15] local.INFO: IMEI packet received {"connection_id":216756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":216756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:35:21] local.INFO: TCP Data received {"connection_id":216756,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:35:21] local.INFO: Processing buffer {"connection_id":216756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:35:21] local.INFO: IMEI packet received {"connection_id":216756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":216756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:35:22] local.INFO: TCP Data received {"connection_id":216756,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:35:22] local.INFO: Processing buffer {"connection_id":216756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:35:22] local.INFO: Packet analysis {"connection_id":216756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:35:22] local.INFO: Extracted packet for processing {"connection_id":216756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:35:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 15:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:35:22] 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-10-16 15:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:35:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:35:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":216756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:35:22] local.INFO: GPS data processed {"connection_id":216756,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:35:22] local.INFO: Acknowledgment sent {"connection_id":216756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:35:54] local.INFO: TCP Data received {"connection_id":216756,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:35:54] local.INFO: Processing buffer {"connection_id":216756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:35:54] local.INFO: Packet analysis {"connection_id":216756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:35:54] local.INFO: Extracted packet for processing {"connection_id":216756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 15:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:35:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:35:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":216756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:35:54] local.INFO: GPS data processed {"connection_id":216756,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:35:54] local.INFO: Acknowledgment sent {"connection_id":216756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:36:21] local.INFO: TCP Data received {"connection_id":218309,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:36:21] local.INFO: Processing buffer {"connection_id":218309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:36:21] local.INFO: IMEI packet received {"connection_id":218309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":218309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:36:26] local.INFO: TCP Data received {"connection_id":218309,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:36:26] local.INFO: Processing buffer {"connection_id":218309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:36:26] local.INFO: IMEI packet received {"connection_id":218309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":218309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:36:27] local.INFO: TCP Data received {"connection_id":218309,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:36:27] local.INFO: Processing buffer {"connection_id":218309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:36:27] local.INFO: Packet analysis {"connection_id":218309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:36:27] local.INFO: Extracted packet for processing {"connection_id":218309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 15:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:36:27] 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-10-16 15:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:36:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:36:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":218309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:36:27] local.INFO: GPS data processed {"connection_id":218309,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:36:27] local.INFO: Acknowledgment sent {"connection_id":218309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:36:32] local.INFO: TCP Data received {"connection_id":218309,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:36:32] local.INFO: Processing buffer {"connection_id":218309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:36:32] local.INFO: Packet analysis {"connection_id":218309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:36:32] local.INFO: Extracted packet for processing {"connection_id":218309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 15:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:36:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":218309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:36:32] local.INFO: GPS data processed {"connection_id":218309,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:36:32] local.INFO: Acknowledgment sent {"connection_id":218309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:37:16] local.INFO: TCP Data received {"connection_id":216966,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:37:16] local.INFO: Processing buffer {"connection_id":216966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:37:16] local.INFO: IMEI packet received {"connection_id":216966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":216966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:37:21] local.INFO: TCP Data received {"connection_id":216966,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:37:21] local.INFO: Processing buffer {"connection_id":216966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:37:21] local.INFO: IMEI packet received {"connection_id":216966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":216966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:37:23] local.INFO: TCP Data received {"connection_id":216966,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:37:23] local.INFO: Processing buffer {"connection_id":216966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:37:23] local.INFO: Packet analysis {"connection_id":216966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:37:23] local.INFO: Extracted packet for processing {"connection_id":216966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 15:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:37:23] 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-10-16 15:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:37:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:37:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":216966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:37:23] local.INFO: GPS data processed {"connection_id":216966,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:37:23] local.INFO: Acknowledgment sent {"connection_id":216966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:37:27] local.INFO: TCP Data received {"connection_id":216966,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:37:27] local.INFO: Processing buffer {"connection_id":216966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442926b0012d7fa40005afce580009000a2c..."} 
[2026-10-16 15:37:27] local.INFO: Packet analysis {"connection_id":216966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:37:27] local.INFO: Extracted packet for processing {"connection_id":216966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14429"} 
[2026-10-16 15:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789019904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792144910000,"timestamp_ms":1792144910000,"timestamp_seconds":1792144910,"priority":1,"record_length":96,"hex_timestamp":"000001a1442926b0"} 
[2026-10-16 15:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 15:37:27] 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-10-16 15:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789019904001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789019904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:37:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:37:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789019904001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":216966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:37:27] local.INFO: GPS data processed {"connection_id":216966,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:37:27] local.INFO: Acknowledgment sent {"connection_id":216966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:37:37] local.INFO: TCP Data received {"connection_id":218310,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:37:37] local.INFO: Processing buffer {"connection_id":218310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:37:37] local.INFO: IMEI packet received {"connection_id":218310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":218310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:37:41] local.INFO: TCP Data received {"connection_id":218310,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:37:41] local.INFO: Processing buffer {"connection_id":218310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:37:41] local.INFO: IMEI packet received {"connection_id":218310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":218310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:37:42] local.INFO: TCP Data received {"connection_id":218310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-10-16 15:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-10-16 15:37:42] local.INFO: Processing buffer {"connection_id":218310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-10-16 15:37:42] local.INFO: Packet analysis {"connection_id":218310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-16 15:37:42] local.INFO: Extracted packet for processing {"connection_id":218310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-16 15:37:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 15:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36492524637913088,"note":"Value kept but may cause issues"} 
[2026-10-16 15:37:42] 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-10-16 15:37:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 15:37:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 15:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":218310,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 15:37:42] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 15:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":218310,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 15:37:42] local.ERROR: GPS data processing failed {"connection_id":218310,"error":"No valid data to process"} 
[2026-10-16 15:37:42] local.INFO: Acknowledgment sent {"connection_id":218310,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 15:37:58] local.INFO: TCP Data received {"connection_id":216966,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:37:58] local.INFO: Processing buffer {"connection_id":216966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:37:58] local.INFO: Packet analysis {"connection_id":216966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:37:58] local.INFO: Extracted packet for processing {"connection_id":216966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789096960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792145211000,"timestamp_ms":1792145211000,"timestamp_seconds":1792145211,"priority":1,"record_length":96,"hex_timestamp":"000001a1442dbe78"} 
[2026-10-16 15:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:37:58] 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-10-16 15:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789096960001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789096960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:37:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:37:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789096960001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":216966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:37:58] local.INFO: GPS data processed {"connection_id":216966,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:37:58] local.INFO: Acknowledgment sent {"connection_id":216966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:38:13] local.INFO: TCP Data received {"connection_id":218310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-10-16 15:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218310,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-10-16 15:38:13] local.INFO: Processing buffer {"connection_id":218310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-10-16 15:38:13] local.INFO: Packet analysis {"connection_id":218310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-16 15:38:13] local.INFO: Extracted packet for processing {"connection_id":218310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-10-16 15:38:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 15:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36492524637913088,"note":"Value kept but may cause issues"} 
[2026-10-16 15:38:13] 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-10-16 15:38:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":49000,"timestamp_seconds":49,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 15:38:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 15:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218310,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 15:38:13] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 15:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":218310,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 15:38:13] local.ERROR: GPS data processing failed {"connection_id":218310,"error":"No valid data to process"} 
[2026-10-16 15:38:13] local.INFO: Acknowledgment sent {"connection_id":218310,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 15:38:21] local.INFO: TCP Data received {"connection_id":220038,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:38:21] local.INFO: Processing buffer {"connection_id":220038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:38:21] local.INFO: IMEI packet received {"connection_id":220038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":220038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:38:26] local.INFO: TCP Data received {"connection_id":220038,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:38:26] local.INFO: Processing buffer {"connection_id":220038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:38:26] local.INFO: IMEI packet received {"connection_id":220038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":220038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:38:28] local.INFO: TCP Data received {"connection_id":220038,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:38:28] local.INFO: Processing buffer {"connection_id":220038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:38:28] local.INFO: Packet analysis {"connection_id":220038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:38:28] local.INFO: Extracted packet for processing {"connection_id":220038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789096960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792145211000,"timestamp_ms":1792145211000,"timestamp_seconds":1792145211,"priority":1,"record_length":96,"hex_timestamp":"000001a1442dbe78"} 
[2026-10-16 15:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:38:28] 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-10-16 15:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":220038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":220038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":220038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789096960001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789096960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:38:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:38:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789096960001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":220038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:38:28] local.INFO: GPS data processed {"connection_id":220038,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:38:28] local.INFO: Acknowledgment sent {"connection_id":220038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:38:32] local.INFO: TCP Data received {"connection_id":220038,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:38:32] local.INFO: Processing buffer {"connection_id":220038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:38:32] local.INFO: Packet analysis {"connection_id":220038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:38:32] local.INFO: Extracted packet for processing {"connection_id":220038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789096960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792145211000,"timestamp_ms":1792145211000,"timestamp_seconds":1792145211,"priority":1,"record_length":96,"hex_timestamp":"000001a1442dbe78"} 
[2026-10-16 15:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":220038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":220038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":220038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789096960001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789096960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:38:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:38:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789096960001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":220038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:38:32] local.INFO: GPS data processed {"connection_id":220038,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:38:32] local.INFO: Acknowledgment sent {"connection_id":220038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:38:44] local.INFO: TCP Data received {"connection_id":218310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-10-16 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218310,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-10-16 15:38:44] local.INFO: Processing buffer {"connection_id":218310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-10-16 15:38:44] local.INFO: Packet analysis {"connection_id":218310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-10-16 15:38:44] local.INFO: Extracted packet for processing {"connection_id":218310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-10-16 15:38:44] 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-10-16 15: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-10-16 15:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36492524637913088,"note":"Value kept but may cause issues"} 
[2026-10-16 15:38:44] 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-10-16 15:38:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":70000,"timestamp_seconds":70,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 15:38:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 15:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218310,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 15:38:44] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 15:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":218310,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 15:38:44] local.ERROR: GPS data processing failed {"connection_id":218310,"error":"No valid data to process"} 
[2026-10-16 15:38:44] local.INFO: Acknowledgment sent {"connection_id":218310,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 15:38:56] local.INFO: TCP Data received {"connection_id":216757,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:38:56] local.INFO: Processing buffer {"connection_id":216757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:38:56] local.INFO: IMEI packet received {"connection_id":216757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":216757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:39:15] local.INFO: TCP Data received {"connection_id":218310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a00000000000167600100000000000000000000000000..."} 
[2026-10-16 15:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218310,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000167600100000000000000000000000000..."} 
[2026-10-16 15:39:15] local.INFO: Processing buffer {"connection_id":218310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000167600100000000000000000000000000..."} 
[2026-10-16 15:39:15] local.INFO: Packet analysis {"connection_id":218310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-10-16 15:39:15] local.INFO: Extracted packet for processing {"connection_id":218310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-10-16 15:39:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 15:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36492524637913088,"note":"Value kept but may cause issues"} 
[2026-10-16 15:39:15] 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-10-16 15:39:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":92000,"timestamp_seconds":92,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 15:39:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 15:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218310,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 15:39:15] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 15:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":218310,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 15:39:15] local.ERROR: GPS data processing failed {"connection_id":218310,"error":"No valid data to process"} 
[2026-10-16 15:39:15] local.INFO: Acknowledgment sent {"connection_id":218310,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 15:39:16] local.INFO: TCP Data received {"connection_id":218311,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:39:16] local.INFO: Processing buffer {"connection_id":218311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:39:16] local.INFO: IMEI packet received {"connection_id":218311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":218311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:39:21] local.INFO: TCP Data received {"connection_id":218311,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:39:21] local.INFO: Processing buffer {"connection_id":218311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:39:21] local.INFO: IMEI packet received {"connection_id":218311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":218311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:39:23] local.INFO: TCP Data received {"connection_id":218311,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:39:23] local.INFO: Processing buffer {"connection_id":218311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:39:23] local.INFO: Packet analysis {"connection_id":218311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:39:23] local.INFO: Extracted packet for processing {"connection_id":218311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789096960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792145211000,"timestamp_ms":1792145211000,"timestamp_seconds":1792145211,"priority":1,"record_length":96,"hex_timestamp":"000001a1442dbe78"} 
[2026-10-16 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-10-16 15:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:39:23] 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-10-16 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-10-16 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-10-16 15:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789096960001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789096960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:39:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:39:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789096960001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":218311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:39:23] local.INFO: GPS data processed {"connection_id":218311,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:39:23] local.INFO: Acknowledgment sent {"connection_id":218311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:39:51] local.INFO: TCP Data received {"connection_id":218310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000000000001b9680100000000000000000000000000..."} 
[2026-10-16 15:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218310,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b9680100000000000000000000000000..."} 
[2026-10-16 15:39:51] local.INFO: Processing buffer {"connection_id":218310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b9680100000000000000000000000000..."} 
[2026-10-16 15:39:51] local.INFO: Packet analysis {"connection_id":218310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-10-16 15:39:51] local.INFO: Extracted packet for processing {"connection_id":218310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-10-16 15:39:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 15:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36492524637913088,"note":"Value kept but may cause issues"} 
[2026-10-16 15:39:51] 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-10-16 15:39:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":113000,"timestamp_seconds":113,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 15:39:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 15:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":218310,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 15:39:51] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 15:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":218310,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 15:39:51] local.ERROR: GPS data processing failed {"connection_id":218310,"error":"No valid data to process"} 
[2026-10-16 15:39:51] local.INFO: Acknowledgment sent {"connection_id":218310,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 15:39:55] local.INFO: TCP Data received {"connection_id":218311,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:39:55] local.INFO: Processing buffer {"connection_id":218311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:39:55] local.INFO: Packet analysis {"connection_id":218311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:39:55] local.INFO: Extracted packet for processing {"connection_id":218311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789096960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792145211000,"timestamp_ms":1792145211000,"timestamp_seconds":1792145211,"priority":1,"record_length":96,"hex_timestamp":"000001a1442dbe78"} 
[2026-10-16 15:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:39:55] 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-10-16 15:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789096960001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789096960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:39:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:39:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789096960001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":218311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:39:55] local.INFO: GPS data processed {"connection_id":218311,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:39:55] local.INFO: Acknowledgment sent {"connection_id":218311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:40:15] local.INFO: TCP Data received {"connection_id":216758,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:40:15] local.INFO: Processing buffer {"connection_id":216758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:40:15] local.INFO: IMEI packet received {"connection_id":216758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":216758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:40:21] local.INFO: TCP Data received {"connection_id":216758,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:40:21] local.INFO: Processing buffer {"connection_id":216758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:40:21] local.INFO: IMEI packet received {"connection_id":216758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":216758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:40:22] local.INFO: TCP Data received {"connection_id":216758,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:40:22] local.INFO: Processing buffer {"connection_id":216758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:40:22] local.INFO: Packet analysis {"connection_id":216758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:40:22] local.INFO: Extracted packet for processing {"connection_id":216758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:40:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789096960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792145211000,"timestamp_ms":1792145211000,"timestamp_seconds":1792145211,"priority":1,"record_length":96,"hex_timestamp":"000001a1442dbe78"} 
[2026-10-16 15:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789096960001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789096960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:40:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:40:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789096960001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":216758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:40:22] local.INFO: GPS data processed {"connection_id":216758,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:40:22] local.INFO: Acknowledgment sent {"connection_id":216758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:40:25] local.INFO: TCP Data received {"connection_id":218310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000000000020b700100000000000000000000000000..."} 
[2026-10-16 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000020b700100000000000000000000000000..."} 
[2026-10-16 15:40:25] local.INFO: Processing buffer {"connection_id":218310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000020b700100000000000000000000000000..."} 
[2026-10-16 15:40:25] local.INFO: Packet analysis {"connection_id":218310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-10-16 15:40:25] local.INFO: Extracted packet for processing {"connection_id":218310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-10-16 15:40:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 15:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36492524637913088,"note":"Value kept but may cause issues"} 
[2026-10-16 15:40:25] 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-10-16 15:40:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":134000,"timestamp_seconds":134,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 15:40:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 15:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":218310,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":218310,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 15:40:25] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 15:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":218310,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 15:40:25] local.ERROR: GPS data processing failed {"connection_id":218310,"error":"No valid data to process"} 
[2026-10-16 15:40:25] local.INFO: Acknowledgment sent {"connection_id":218310,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 15:40:54] local.INFO: TCP Data received {"connection_id":216758,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:40:54] local.INFO: Processing buffer {"connection_id":216758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:40:54] local.INFO: Packet analysis {"connection_id":216758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:40:54] local.INFO: Extracted packet for processing {"connection_id":216758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789096960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792145211000,"timestamp_ms":1792145211000,"timestamp_seconds":1792145211,"priority":1,"record_length":96,"hex_timestamp":"000001a1442dbe78"} 
[2026-10-16 15:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789096960001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789096960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:40:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:40:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789096960001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":216758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:40:54] local.INFO: GPS data processed {"connection_id":216758,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:40:54] local.INFO: Acknowledgment sent {"connection_id":216758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:41:02] local.INFO: TCP Data received {"connection_id":220039,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220039,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:41:02] local.INFO: Processing buffer {"connection_id":220039,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:41:02] local.INFO: IMEI packet received {"connection_id":220039,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":220039,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:41:08] local.INFO: TCP Data received {"connection_id":220039,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220039,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:41:08] local.INFO: Processing buffer {"connection_id":220039,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:41:08] local.INFO: IMEI packet received {"connection_id":220039,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":220039,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:41:09] local.INFO: TCP Data received {"connection_id":220039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000000000025d780100000000000000000000000000..."} 
[2026-10-16 15:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000025d780100000000000000000000000000..."} 
[2026-10-16 15:41:09] local.INFO: Processing buffer {"connection_id":220039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000025d780100000000000000000000000000..."} 
[2026-10-16 15:41:09] local.INFO: Packet analysis {"connection_id":220039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-10-16 15:41:09] local.INFO: Extracted packet for processing {"connection_id":220039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-10-16 15:41:09] 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-10-16 15:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36492524637913088,"note":"Value kept but may cause issues"} 
[2026-10-16 15:41:09] 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-10-16 15:41:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":155000,"timestamp_seconds":155,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 15:41:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 15:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":220039,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":0} 
[2026-10-16 15:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 15:41:09] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 15:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":220039,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 15:41:09] local.ERROR: GPS data processing failed {"connection_id":220039,"error":"No valid data to process"} 
[2026-10-16 15:41:09] local.INFO: Acknowledgment sent {"connection_id":220039,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 15:41:20] local.INFO: TCP Data received {"connection_id":216969,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:41:20] local.INFO: Processing buffer {"connection_id":216969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:41:20] local.INFO: IMEI packet received {"connection_id":216969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":216969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:41:26] local.INFO: TCP Data received {"connection_id":216969,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:41:26] local.INFO: Processing buffer {"connection_id":216969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:41:26] local.INFO: IMEI packet received {"connection_id":216969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":216969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:41:27] local.INFO: TCP Data received {"connection_id":216969,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:41:27] local.INFO: Processing buffer {"connection_id":216969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:41:27] local.INFO: Packet analysis {"connection_id":216969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:41:27] local.INFO: Extracted packet for processing {"connection_id":216969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789096960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792145211000,"timestamp_ms":1792145211000,"timestamp_seconds":1792145211,"priority":1,"record_length":96,"hex_timestamp":"000001a1442dbe78"} 
[2026-10-16 15:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:41:27] 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-10-16 15:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789096960001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789096960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:41:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:41:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789096960001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":216969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:41:27] local.INFO: GPS data processed {"connection_id":216969,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:41:27] local.INFO: Acknowledgment sent {"connection_id":216969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:41:32] local.INFO: TCP Data received {"connection_id":216969,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:41:32] local.INFO: Processing buffer {"connection_id":216969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:41:32] local.INFO: Packet analysis {"connection_id":216969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:41:32] local.INFO: Extracted packet for processing {"connection_id":216969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789096960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792145211000,"timestamp_ms":1792145211000,"timestamp_seconds":1792145211,"priority":1,"record_length":96,"hex_timestamp":"000001a1442dbe78"} 
[2026-10-16 15:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789096960001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789096960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:41:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789096960001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":216969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:41:32] local.INFO: GPS data processed {"connection_id":216969,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:41:32] local.INFO: Acknowledgment sent {"connection_id":216969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:41:40] local.INFO: TCP Data received {"connection_id":220039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14431f498012d0b71c0070343f8000f005e0a..."} 
[2026-10-16 15:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14431f498012d0b71c0070343f8000f005e0a..."} 
[2026-10-16 15:41:40] local.INFO: Processing buffer {"connection_id":220039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14431f498012d0b71c0070343f8000f005e0a..."} 
[2026-10-16 15:41:40] local.INFO: Packet analysis {"connection_id":220039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14431"} 
[2026-10-16 15:41:40] local.INFO: Extracted packet for processing {"connection_id":220039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14431"} 
[2026-10-16 15:41:40] local.INFO: GPS Element Parsed {"raw_longitude":755724736,"raw_latitude":117654520,"longitude_deg":75.5724736,"latitude_deg":11.765452,"altitude":15,"angle":94,"satellites":10,"speed":8,"hex_longitude":"2d0b71c0","hex_latitude":"070343f8","is_valid_coordinates":true} 
[2026-10-16 15:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789243904001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36492584767455232,"note":"Value kept but may cause issues"} 
[2026-10-16 15:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824018024440059904,"note":"Value kept but may cause issues"} 
[2026-10-16 15:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792145487000,"timestamp_ms":1792145487000,"timestamp_seconds":1792145487,"priority":1,"record_length":96,"hex_timestamp":"000001a14431f498"} 
[2026-10-16 15:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 15:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-10-16 15:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":220039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789243904001,"66":14428,"17":206,"94":11008,"24":8,"16":36492584767455232,"45":824018024440059904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 15:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789243904001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:41:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36492584767455232,"km_value":36492584767455.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":824018024440059904,"description":"Unknown IO ID 45"} 
[2026-10-16 15:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789243904001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":824018024440059904}} 
[2026-10-16 15:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":220039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":502,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:41:40] local.INFO: GPS data processed {"connection_id":220039,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:41:40] local.INFO: Acknowledgment sent {"connection_id":220039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:42:12] local.INFO: TCP Data received {"connection_id":220039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144321ba8012d0b81c0070343a8001100480a..."} 
[2026-10-16 15:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144321ba8012d0b81c0070343a8001100480a..."} 
[2026-10-16 15:42:12] local.INFO: Processing buffer {"connection_id":220039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144321ba8012d0b81c0070343a8001100480a..."} 
[2026-10-16 15:42:12] local.INFO: Packet analysis {"connection_id":220039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:42:12] local.INFO: Extracted packet for processing {"connection_id":220039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":755728832,"raw_latitude":117654440,"longitude_deg":75.5728832,"latitude_deg":11.765444,"altitude":17,"angle":72,"satellites":10,"speed":11,"hex_longitude":"2d0b81c0","hex_latitude":"070343a8","is_valid_coordinates":true} 
[2026-10-16 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789244672001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36492782335950848,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824651343137601536,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:12] 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-10-16 15:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792145497000,"timestamp_ms":1792145497000,"timestamp_seconds":1792145497,"priority":1,"record_length":96,"hex_timestamp":"000001a144321ba8"} 
[2026-10-16 15:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 15:42:12] 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-10-16 15:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":220039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789244672001,"66":14515,"37":206,"94":11008,"24":11,"16":36492782335950848,"45":824651343137601536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789244672001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:42:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:42:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36492782335950848,"km_value":36492782335950.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":824651343137601536,"description":"Unknown IO ID 45"} 
[2026-10-16 15:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789244672001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":824651343137601536}} 
[2026-10-16 15:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":220039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":503,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:42:13] local.INFO: GPS data processed {"connection_id":220039,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:42:13] local.INFO: Acknowledgment sent {"connection_id":220039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:42:15] local.INFO: TCP Data received {"connection_id":218313,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:42:15] local.INFO: Processing buffer {"connection_id":218313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:42:15] local.INFO: IMEI packet received {"connection_id":218313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":218313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:42:21] local.INFO: TCP Data received {"connection_id":218313,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:42:21] local.INFO: Processing buffer {"connection_id":218313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:42:21] local.INFO: IMEI packet received {"connection_id":218313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":218313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:42:22] local.INFO: TCP Data received {"connection_id":218313,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:42:22] local.INFO: Processing buffer {"connection_id":218313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1442dbe78012d7fa40005afce580009000a2e..."} 
[2026-10-16 15:42:22] local.INFO: Packet analysis {"connection_id":218313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:42:22] local.INFO: Extracted packet for processing {"connection_id":218313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1442d"} 
[2026-10-16 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789096960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792145211000,"timestamp_ms":1792145211000,"timestamp_seconds":1792145211,"priority":1,"record_length":96,"hex_timestamp":"000001a1442dbe78"} 
[2026-10-16 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-10-16 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789096960001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789096960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:42:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:42:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789096960001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":218313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:42:22] local.INFO: GPS data processed {"connection_id":218313,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:42:22] local.INFO: Acknowledgment sent {"connection_id":218313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:42:44] local.INFO: TCP Data received {"connection_id":220039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14432c3a0012d0b990007034da80014006d0b..."} 
[2026-10-16 15:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14432c3a0012d0b990007034da80014006d0b..."} 
[2026-10-16 15:42:44] local.INFO: Processing buffer {"connection_id":220039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14432c3a0012d0b990007034da80014006d0b..."} 
[2026-10-16 15:42:44] local.INFO: Packet analysis {"connection_id":220039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:42:44] local.INFO: Extracted packet for processing {"connection_id":220039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:42:44] local.INFO: GPS Element Parsed {"raw_longitude":755734784,"raw_latitude":117657000,"longitude_deg":75.5734784,"latitude_deg":11.7657,"altitude":20,"angle":109,"satellites":11,"speed":5,"hex_longitude":"2d0b9900","hex_latitude":"07034da8","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789257984001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36493207537713152,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835558498485784576,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:44] 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-10-16 15:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792145540000,"timestamp_ms":1792145540000,"timestamp_seconds":1792145540,"priority":1,"record_length":96,"hex_timestamp":"000001a14432c3a0"} 
[2026-10-16 15:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:42:44] 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-10-16 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 15:42:44] 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-10-16 15: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-10-16 15:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":220039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:42:44] 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-10-16 15:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789257984001,"66":14548,"37":206,"94":11008,"24":5,"16":36493207537713152,"45":835558498485784576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789257984001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:42:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:42:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36493207537713152,"km_value":36493207537713.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":835558498485784576,"description":"Unknown IO ID 45"} 
[2026-10-16 15:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789257984001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":835558498485784576}} 
[2026-10-16 15:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":220039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":505,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:42:45] local.INFO: GPS data processed {"connection_id":220039,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:42:45] local.INFO: Acknowledgment sent {"connection_id":220039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:42:54] local.INFO: TCP Data received {"connection_id":218313,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:42:54] local.INFO: Processing buffer {"connection_id":218313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:42:54] local.INFO: Packet analysis {"connection_id":218313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:42:54] local.INFO: Extracted packet for processing {"connection_id":218313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 15:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:42:54] 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-10-16 15:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:42:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:42:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":218313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:42:54] local.INFO: GPS data processed {"connection_id":218313,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:42:54] local.INFO: Acknowledgment sent {"connection_id":218313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:43:15] local.INFO: TCP Data received {"connection_id":220039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14432c788012d0b9a0007034da0001400600b..."} 
[2026-10-16 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14432c788012d0b9a0007034da0001400600b..."} 
[2026-10-16 15:43:15] local.INFO: Processing buffer {"connection_id":220039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14432c788012d0b9a0007034da0001400600b..."} 
[2026-10-16 15:43:15] local.INFO: Packet analysis {"connection_id":220039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:43:15] local.INFO: Extracted packet for processing {"connection_id":220039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":755735040,"raw_latitude":117656992,"longitude_deg":75.573504,"latitude_deg":11.7656992,"altitude":20,"angle":96,"satellites":11,"speed":9,"hex_longitude":"2d0b9a00","hex_latitude":"07034da0","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789258240001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36493216127647744,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835699235974129664,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:15] 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-10-16 15:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792145541000,"timestamp_ms":1792145541000,"timestamp_seconds":1792145541,"priority":1,"record_length":96,"hex_timestamp":"000001a14432c788"} 
[2026-10-16 15:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 15:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 15:43:15] 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-10-16 15: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-10-16 15:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:43:15] 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-10-16 15:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789258240001,"66":14548,"37":206,"94":11008,"24":9,"16":36493216127647744,"45":835699235974129664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789258240001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:43:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:43:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36493216127647744,"km_value":36493216127647.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":835699235974129664,"description":"Unknown IO ID 45"} 
[2026-10-16 15:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789258240001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":835699235974129664}} 
[2026-10-16 15:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":220039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:43:16] local.INFO: GPS data processed {"connection_id":220039,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:43:16] local.INFO: Acknowledgment sent {"connection_id":220039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:43:16] local.INFO: TCP Data received {"connection_id":216760,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:43:16] local.INFO: Processing buffer {"connection_id":216760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:43:16] local.INFO: IMEI packet received {"connection_id":216760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":216760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:43:21] local.INFO: TCP Data received {"connection_id":216760,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:43:21] local.INFO: Processing buffer {"connection_id":216760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:43:21] local.INFO: IMEI packet received {"connection_id":216760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":216760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:43:22] local.INFO: TCP Data received {"connection_id":216760,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:43:22] local.INFO: Processing buffer {"connection_id":216760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:43:22] local.INFO: Packet analysis {"connection_id":216760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:43:22] local.INFO: Extracted packet for processing {"connection_id":216760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 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-10-16 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:43:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:43:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":216760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:43:22] local.INFO: GPS data processed {"connection_id":216760,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:43:22] local.INFO: Acknowledgment sent {"connection_id":216760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:43:47] local.INFO: TCP Data received {"connection_id":220039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14433e0c8012d0c018007035808000600630b..."} 
[2026-10-16 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14433e0c8012d0c018007035808000600630b..."} 
[2026-10-16 15:43:47] local.INFO: Processing buffer {"connection_id":220039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14433e0c8012d0c018007035808000600630b..."} 
[2026-10-16 15:43:47] local.INFO: Packet analysis {"connection_id":220039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14433"} 
[2026-10-16 15:43:47] local.INFO: Extracted packet for processing {"connection_id":220039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14433"} 
[2026-10-16 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":755761536,"raw_latitude":117659656,"longitude_deg":75.5761536,"latitude_deg":11.7659656,"altitude":6,"angle":99,"satellites":11,"speed":3,"hex_longitude":"2d0c0180","hex_latitude":"07035808","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789271808001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36494534682607616,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864198577366833152,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43: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-10-16 15:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792145613000,"timestamp_ms":1792145613000,"timestamp_seconds":1792145613,"priority":1,"record_length":96,"hex_timestamp":"000001a14433e0c8"} 
[2026-10-16 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-10-16 15:43: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-10-16 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 15:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789271808001,"66":14211,"37":206,"94":11008,"24":3,"16":36494534682607616,"45":864198577366833152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789271808001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:43:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:43:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36494534682607616,"km_value":36494534682607.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":864198577366833152,"description":"Unknown IO ID 45"} 
[2026-10-16 15:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789271808001,"power":14211,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":864198577366833152}} 
[2026-10-16 15:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":220039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:43:47] local.INFO: GPS data processed {"connection_id":220039,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:43:47] local.INFO: Acknowledgment sent {"connection_id":220039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:43:54] local.INFO: TCP Data received {"connection_id":216760,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:43:54] local.INFO: Processing buffer {"connection_id":216760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:43:54] local.INFO: Packet analysis {"connection_id":216760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:43:54] local.INFO: Extracted packet for processing {"connection_id":216760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 15:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:43:54] 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-10-16 15:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:43:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:43:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":216760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:43:54] local.INFO: GPS data processed {"connection_id":216760,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:43:54] local.INFO: Acknowledgment sent {"connection_id":216760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:44:15] local.INFO: TCP Data received {"connection_id":218315,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:44:15] local.INFO: Processing buffer {"connection_id":218315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:44:15] local.INFO: IMEI packet received {"connection_id":218315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":218315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:44:16] local.INFO: TCP Data received {"connection_id":216970,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:44:16] local.INFO: Processing buffer {"connection_id":216970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:44:16] local.INFO: IMEI packet received {"connection_id":216970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":216970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:44:18] local.INFO: TCP Data received {"connection_id":220039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14433e4b0012d0c0200070357b8000600960b..."} 
[2026-10-16 15:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14433e4b0012d0c0200070357b8000600960b..."} 
[2026-10-16 15:44:18] local.INFO: Processing buffer {"connection_id":220039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14433e4b0012d0c0200070357b8000600960b..."} 
[2026-10-16 15:44:18] local.INFO: Packet analysis {"connection_id":220039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14433"} 
[2026-10-16 15:44:18] local.INFO: Extracted packet for processing {"connection_id":220039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14433"} 
[2026-10-16 15:44:18] local.INFO: GPS Element Parsed {"raw_longitude":755761664,"raw_latitude":117659576,"longitude_deg":75.5761664,"latitude_deg":11.7659576,"altitude":6,"angle":150,"satellites":11,"speed":7,"hex_longitude":"2d0c0200","hex_latitude":"070357b8","is_valid_coordinates":true} 
[2026-10-16 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789276928001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36494543272542208,"note":"Value kept but may cause issues"} 
[2026-10-16 15:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865113371041073152,"note":"Value kept but may cause issues"} 
[2026-10-16 15:44: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-10-16 15:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792145614000,"timestamp_ms":1792145614000,"timestamp_seconds":1792145614,"priority":1,"record_length":96,"hex_timestamp":"000001a14433e4b0"} 
[2026-10-16 15:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:44: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-10-16 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 15:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":220039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":220039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789276928001,"66":14559,"37":206,"94":11008,"24":7,"16":36494543272542208,"45":865113371041073152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789276928001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:44:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:44:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36494543272542208,"km_value":36494543272542.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":865113371041073152,"description":"Unknown IO ID 45"} 
[2026-10-16 15:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789276928001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":865113371041073152}} 
[2026-10-16 15:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":220039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":511,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:44:18] local.INFO: GPS data processed {"connection_id":220039,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:44:18] local.INFO: Acknowledgment sent {"connection_id":220039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:44:21] local.INFO: TCP Data received {"connection_id":218315,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:44:21] local.INFO: Processing buffer {"connection_id":218315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:44:21] local.INFO: IMEI packet received {"connection_id":218315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":218315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:44:22] local.INFO: TCP Data received {"connection_id":218315,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:44:22] local.INFO: Processing buffer {"connection_id":218315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:44:22] local.INFO: Packet analysis {"connection_id":218315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:44:22] local.INFO: Extracted packet for processing {"connection_id":218315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 15:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:44:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:44:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":218315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:44:22] local.INFO: GPS data processed {"connection_id":218315,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:44:22] local.INFO: Acknowledgment sent {"connection_id":218315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:44:50] local.INFO: TCP Data received {"connection_id":218316,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:44:50] local.INFO: Processing buffer {"connection_id":218316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:44:50] local.INFO: IMEI packet received {"connection_id":218316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":218316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:44:54] local.INFO: TCP Data received {"connection_id":218315,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:44:54] local.INFO: Processing buffer {"connection_id":218315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:44:54] local.INFO: Packet analysis {"connection_id":218315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:44:54] local.INFO: Extracted packet for processing {"connection_id":218315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 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-10-16 15:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:44:54] 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-10-16 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-10-16 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-10-16 15:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:44:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:44:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":218315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:44:54] local.INFO: GPS data processed {"connection_id":218315,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:44:54] local.INFO: Acknowledgment sent {"connection_id":218315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:45:03] local.INFO: TCP Data received {"connection_id":216971,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:45:03] local.INFO: Processing buffer {"connection_id":216971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:45:03] local.INFO: IMEI packet received {"connection_id":216971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":216971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:45:06] local.INFO: TCP Data received {"connection_id":216971,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:45:06] local.INFO: Processing buffer {"connection_id":216971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:45:06] local.INFO: IMEI packet received {"connection_id":216971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":216971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:45:07] local.INFO: TCP Data received {"connection_id":216971,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:45:07] local.INFO: Processing buffer {"connection_id":216971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:45:07] local.INFO: IMEI packet received {"connection_id":216971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":216971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:45:08] local.INFO: TCP Data received {"connection_id":216971,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14434bf70012d0c2ac0070353380003004d0b..."} 
[2026-10-16 15:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14434bf70012d0c2ac0070353380003004d0b..."} 
[2026-10-16 15:45:08] local.INFO: Processing buffer {"connection_id":216971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14434bf70012d0c2ac0070353380003004d0b..."} 
[2026-10-16 15:45:08] local.INFO: Packet analysis {"connection_id":216971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14434"} 
[2026-10-16 15:45:08] local.INFO: Extracted packet for processing {"connection_id":216971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14434"} 
[2026-10-16 15:45:08] local.INFO: GPS Element Parsed {"raw_longitude":755772096,"raw_latitude":117658424,"longitude_deg":75.5772096,"latitude_deg":11.7658424,"altitude":3,"angle":77,"satellites":11,"speed":12,"hex_longitude":"2d0c2ac0","hex_latitude":"07035338","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789289472001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36495432330772480,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874050201550909440,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:08] 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-10-16 15:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792145670000,"timestamp_ms":1792145670000,"timestamp_seconds":1792145670,"priority":1,"record_length":96,"hex_timestamp":"000001a14434bf70"} 
[2026-10-16 15:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:45: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-10-16 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 15:45:08] 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-10-16 15: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-10-16 15:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789289472001,"66":14559,"37":206,"94":11008,"24":12,"16":36495432330772480,"45":874050201550909440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789289472001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:45:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:45:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36495432330772480,"km_value":36495432330772.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":874050201550909440,"description":"Unknown IO ID 45"} 
[2026-10-16 15:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789289472001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":874050201550909440}} 
[2026-10-16 15:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":216971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":514,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:45:08] local.INFO: GPS data processed {"connection_id":216971,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:45:08] local.INFO: Acknowledgment sent {"connection_id":216971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:45:08] local.INFO: TCP Data received {"connection_id":216971,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14434d6e0012d0c3480070354b8000400590b..."} 
[2026-10-16 15:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14434d6e0012d0c3480070354b8000400590b..."} 
[2026-10-16 15:45:08] local.INFO: Processing buffer {"connection_id":216971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14434d6e0012d0c3480070354b8000400590b..."} 
[2026-10-16 15:45:08] local.INFO: Packet analysis {"connection_id":216971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14434"} 
[2026-10-16 15:45:08] local.INFO: Extracted packet for processing {"connection_id":216971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14434"} 
[2026-10-16 15:45:08] local.INFO: GPS Element Parsed {"raw_longitude":755774592,"raw_latitude":117658808,"longitude_deg":75.5774592,"latitude_deg":11.7658808,"altitude":4,"angle":89,"satellites":11,"speed":17,"hex_longitude":"2d0c3480","hex_latitude":"070354b8","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789291520001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36495556884824064,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876724213830072320,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:08] 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-10-16 15:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792145676000,"timestamp_ms":1792145676000,"timestamp_seconds":1792145676,"priority":1,"record_length":96,"hex_timestamp":"000001a14434d6e0"} 
[2026-10-16 15:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:45: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-10-16 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 15:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15: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-10-16 15:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789291520001,"66":14450,"37":206,"94":11008,"24":17,"16":36495556884824064,"45":876724213830072320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789291520001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:45:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:45:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36495556884824064,"km_value":36495556884824.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":876724213830072320,"description":"Unknown IO ID 45"} 
[2026-10-16 15:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789291520001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":876724213830072320}} 
[2026-10-16 15:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":216971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":515,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:45:08] local.INFO: GPS data processed {"connection_id":216971,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:45:08] local.INFO: Acknowledgment sent {"connection_id":216971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:45:20] local.INFO: TCP Data received {"connection_id":216972,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:45:20] local.INFO: Processing buffer {"connection_id":216972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:45:20] local.INFO: IMEI packet received {"connection_id":216972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":216972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:45:26] local.INFO: TCP Data received {"connection_id":216972,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:45:26] local.INFO: Processing buffer {"connection_id":216972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:45:26] local.INFO: IMEI packet received {"connection_id":216972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":216972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:45:28] local.INFO: TCP Data received {"connection_id":216972,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:45:28] local.INFO: Processing buffer {"connection_id":216972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:45:28] local.INFO: Packet analysis {"connection_id":216972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:45:28] local.INFO: Extracted packet for processing {"connection_id":216972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 15:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:45:28] 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-10-16 15: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-10-16 15:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:45:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:45:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":216972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:45:28] local.INFO: GPS data processed {"connection_id":216972,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:45:28] local.INFO: Acknowledgment sent {"connection_id":216972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:45:31] local.INFO: TCP Data received {"connection_id":216972,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:45:31] local.INFO: Processing buffer {"connection_id":216972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:45:31] local.INFO: Packet analysis {"connection_id":216972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:45:31] local.INFO: Extracted packet for processing {"connection_id":216972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 15:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:45:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:45:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":216972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:45:31] local.INFO: GPS data processed {"connection_id":216972,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:45:31] local.INFO: Acknowledgment sent {"connection_id":216972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:45:39] local.INFO: TCP Data received {"connection_id":216971,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14434e680012d0c39c0070355380004004b0b..."} 
[2026-10-16 15:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14434e680012d0c39c0070355380004004b0b..."} 
[2026-10-16 15:45:39] local.INFO: Processing buffer {"connection_id":216971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14434e680012d0c39c0070355380004004b0b..."} 
[2026-10-16 15:45:39] local.INFO: Packet analysis {"connection_id":216971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14434"} 
[2026-10-16 15:45:39] local.INFO: Extracted packet for processing {"connection_id":216971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14434"} 
[2026-10-16 15:45:39] local.INFO: GPS Element Parsed {"raw_longitude":755775936,"raw_latitude":117658936,"longitude_deg":75.5775936,"latitude_deg":11.7658936,"altitude":4,"angle":75,"satellites":11,"speed":7,"hex_longitude":"2d0c39c0","hex_latitude":"07035538","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789293056001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36495617014366208,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879468594853099520,"note":"Value kept but may cause issues"} 
[2026-10-16 15:45:39] 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-10-16 15:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792145680000,"timestamp_ms":1792145680000,"timestamp_seconds":1792145680,"priority":1,"record_length":96,"hex_timestamp":"000001a14434e680"} 
[2026-10-16 15:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:45: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-10-16 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 15:45: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-10-16 15: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-10-16 15:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216971,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789293056001,"66":13961,"37":206,"94":11008,"24":7,"16":36495617014366208,"45":879468594853099520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789293056001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:45:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:45:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36495617014366208,"km_value":36495617014366.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":879468594853099520,"description":"Unknown IO ID 45"} 
[2026-10-16 15:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789293056001,"power":13961,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":879468594853099520}} 
[2026-10-16 15:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":216971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:45:39] local.INFO: GPS data processed {"connection_id":216971,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:45:39] local.INFO: Acknowledgment sent {"connection_id":216971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:46:01] local.INFO: TCP Data received {"connection_id":220040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:46:01] local.INFO: Processing buffer {"connection_id":220040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:46:01] local.INFO: IMEI packet received {"connection_id":220040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":220040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:46:06] local.INFO: TCP Data received {"connection_id":220040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:46:06] local.INFO: Processing buffer {"connection_id":220040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:46:06] local.INFO: IMEI packet received {"connection_id":220040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":220040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:46:07] local.INFO: TCP Data received {"connection_id":220040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1443534a0012d0c394007035748000700160c..."} 
[2026-10-16 15:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443534a0012d0c394007035748000700160c..."} 
[2026-10-16 15:46:07] local.INFO: Processing buffer {"connection_id":220040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443534a0012d0c394007035748000700160c..."} 
[2026-10-16 15:46:07] local.INFO: Packet analysis {"connection_id":220040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14435"} 
[2026-10-16 15:46:07] local.INFO: Extracted packet for processing {"connection_id":220040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14435"} 
[2026-10-16 15:46:07] local.INFO: GPS Element Parsed {"raw_longitude":755775808,"raw_latitude":117659464,"longitude_deg":75.5775808,"latitude_deg":11.7659464,"altitude":7,"angle":22,"satellites":12,"speed":5,"hex_longitude":"2d0c3940","hex_latitude":"07035748","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789294080001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36495647079137280,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880946338480863232,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:07] 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-10-16 15:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792145700000,"timestamp_ms":1792145700000,"timestamp_seconds":1792145700,"priority":1,"record_length":96,"hex_timestamp":"000001a1443534a0"} 
[2026-10-16 15:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 15: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 15:46: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-10-16 15: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-10-16 15:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":220040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":220040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":220040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789294080001,"66":14559,"37":206,"94":11008,"24":5,"16":36495647079137280,"45":880946338480863232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789294080001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:46:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:46:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36495647079137280,"km_value":36495647079137.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":880946338480863232,"description":"Unknown IO ID 45"} 
[2026-10-16 15:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789294080001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":880946338480863232}} 
[2026-10-16 15:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":220040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":519,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:46:07] local.INFO: GPS data processed {"connection_id":220040,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:46:07] local.INFO: Acknowledgment sent {"connection_id":220040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:46:16] local.INFO: TCP Data received {"connection_id":216761,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:46:16] local.INFO: Processing buffer {"connection_id":216761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:46:16] local.INFO: IMEI packet received {"connection_id":216761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":216761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:46:21] local.INFO: TCP Data received {"connection_id":216761,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:46:21] local.INFO: Processing buffer {"connection_id":216761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:46:21] local.INFO: IMEI packet received {"connection_id":216761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":216761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:46:23] local.INFO: TCP Data received {"connection_id":216761,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:46:23] local.INFO: Processing buffer {"connection_id":216761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:46:23] local.INFO: Packet analysis {"connection_id":216761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:46:23] local.INFO: Extracted packet for processing {"connection_id":216761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:46:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 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-10-16 15:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:46:23] 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-10-16 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-10-16 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-10-16 15:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:46:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:46:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":216761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:46:23] local.INFO: GPS data processed {"connection_id":216761,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:46:23] local.INFO: Acknowledgment sent {"connection_id":216761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:46:26] local.INFO: TCP Data received {"connection_id":216761,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:46:26] local.INFO: Processing buffer {"connection_id":216761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:46:26] local.INFO: Packet analysis {"connection_id":216761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:46:26] local.INFO: Extracted packet for processing {"connection_id":216761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 15:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:46:26] 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-10-16 15:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:46:26] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:46:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":216761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:46:26] local.INFO: GPS data processed {"connection_id":216761,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:46:26] local.INFO: Acknowledgment sent {"connection_id":216761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:46:38] local.INFO: TCP Data received {"connection_id":220040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144353c70012d0c39c0070358980007000a0c..."} 
[2026-10-16 15:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144353c70012d0c39c0070358980007000a0c..."} 
[2026-10-16 15:46:38] local.INFO: Processing buffer {"connection_id":220040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144353c70012d0c39c0070358980007000a0c..."} 
[2026-10-16 15:46:38] local.INFO: Packet analysis {"connection_id":220040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14435"} 
[2026-10-16 15:46:38] local.INFO: Extracted packet for processing {"connection_id":220040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14435"} 
[2026-10-16 15:46:38] local.INFO: GPS Element Parsed {"raw_longitude":755775936,"raw_latitude":117659800,"longitude_deg":75.5775936,"latitude_deg":11.76598,"altitude":7,"angle":10,"satellites":12,"speed":6,"hex_longitude":"2d0c39c0","hex_latitude":"07035898","is_valid_coordinates":true} 
[2026-10-16 15:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789299200001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36495664259006464,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880805600992643072,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:38] 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-10-16 15:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792145702000,"timestamp_ms":1792145702000,"timestamp_seconds":1792145702,"priority":1,"record_length":96,"hex_timestamp":"000001a144353c70"} 
[2026-10-16 15:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 15:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 15:46: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-10-16 15:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":220040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":220040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":220040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789299200001,"66":14439,"37":206,"94":11008,"24":6,"16":36495664259006464,"45":880805600992643072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789299200001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:46:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:46:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36495664259006464,"km_value":36495664259006.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":880805600992643072,"description":"Unknown IO ID 45"} 
[2026-10-16 15:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789299200001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":880805600992643072}} 
[2026-10-16 15:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":220040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":522,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:46:38] local.INFO: GPS data processed {"connection_id":220040,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:46:38] local.INFO: Acknowledgment sent {"connection_id":220040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:46:58] local.INFO: TCP Data received {"connection_id":216761,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:46:58] local.INFO: Processing buffer {"connection_id":216761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:46:58] local.INFO: Packet analysis {"connection_id":216761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:46:58] local.INFO: Extracted packet for processing {"connection_id":216761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 15:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:46:58] 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-10-16 15:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:46:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:46:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":216761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:46:58] local.INFO: GPS data processed {"connection_id":216761,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:46:58] local.INFO: Acknowledgment sent {"connection_id":216761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:47:02] local.INFO: TCP Data received {"connection_id":218318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:47:02] local.INFO: Processing buffer {"connection_id":218318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:47:02] local.INFO: IMEI packet received {"connection_id":218318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":218318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:47:06] local.INFO: TCP Data received {"connection_id":218318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:47:06] local.INFO: Processing buffer {"connection_id":218318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:47:06] local.INFO: IMEI packet received {"connection_id":218318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":218318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:47:07] local.INFO: TCP Data received {"connection_id":218318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144354c10012d0c3a8007035c500006001a0c..."} 
[2026-10-16 15:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144354c10012d0c3a8007035c500006001a0c..."} 
[2026-10-16 15:47:07] local.INFO: Processing buffer {"connection_id":218318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144354c10012d0c3a8007035c500006001a0c..."} 
[2026-10-16 15:47:07] local.INFO: Packet analysis {"connection_id":218318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14435"} 
[2026-10-16 15:47:07] local.INFO: Extracted packet for processing {"connection_id":218318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14435"} 
[2026-10-16 15:47:07] local.INFO: GPS Element Parsed {"raw_longitude":755776128,"raw_latitude":117660752,"longitude_deg":75.5776128,"latitude_deg":11.7660752,"altitude":6,"angle":26,"satellites":12,"speed":10,"hex_longitude":"2d0c3a80","hex_latitude":"07035c50","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789299712001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36495711503646720,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880946338481084416,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:07] 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-10-16 15:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792145706000,"timestamp_ms":1792145706000,"timestamp_seconds":1792145706,"priority":1,"record_length":96,"hex_timestamp":"000001a144354c10"} 
[2026-10-16 15:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:47: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-10-16 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 15:47:07] 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-10-16 15: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-10-16 15:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":218318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":218318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":218318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789299712001,"66":14450,"37":206,"94":11008,"24":10,"16":36495711503646720,"45":880946338481084416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-10-16 15:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789299712001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:47:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-10-16 15:47:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36495711503646720,"km_value":36495711503646.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":880946338481084416,"description":"Unknown IO ID 45"} 
[2026-10-16 15:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789299712001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":880946338481084416}} 
[2026-10-16 15:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":218318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:47:07] local.INFO: GPS data processed {"connection_id":218318,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:47:07] local.INFO: Acknowledgment sent {"connection_id":218318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:47:15] local.INFO: TCP Data received {"connection_id":220041,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:47:15] local.INFO: Processing buffer {"connection_id":220041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:47:15] local.INFO: IMEI packet received {"connection_id":220041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":220041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:47:21] local.INFO: TCP Data received {"connection_id":220041,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:47:21] local.INFO: Processing buffer {"connection_id":220041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:47:21] local.INFO: IMEI packet received {"connection_id":220041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":220041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:47:23] local.INFO: TCP Data received {"connection_id":220041,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:47:23] local.INFO: Processing buffer {"connection_id":220041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144325640012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:47:23] local.INFO: Packet analysis {"connection_id":220041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:47:23] local.INFO: Extracted packet for processing {"connection_id":220041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14432"} 
[2026-10-16 15:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789174016001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792145512000,"timestamp_ms":1792145512000,"timestamp_seconds":1792145512,"priority":1,"record_length":96,"hex_timestamp":"000001a144325640"} 
[2026-10-16 15:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:47:23] 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-10-16 15:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789174016001,"66":25647,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789174016001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:47:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:47:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789174016001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":220041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:47:23] local.INFO: GPS data processed {"connection_id":220041,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:47:23] local.INFO: Acknowledgment sent {"connection_id":220041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:47:38] local.INFO: TCP Data received {"connection_id":218318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144376b08012d0c6d400703c7b80014001410..."} 
[2026-10-16 15:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144376b08012d0c6d400703c7b80014001410..."} 
[2026-10-16 15:47:38] local.INFO: Processing buffer {"connection_id":218318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144376b08012d0c6d400703c7b80014001410..."} 
[2026-10-16 15:47:38] local.INFO: Packet analysis {"connection_id":218318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14437"} 
[2026-10-16 15:47:38] local.INFO: Extracted packet for processing {"connection_id":218318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14437"} 
[2026-10-16 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":755789120,"raw_latitude":117688248,"longitude_deg":75.578912,"latitude_deg":11.7688248,"altitude":20,"angle":20,"satellites":16,"speed":1,"hex_longitude":"2d0c6d40","hex_latitude":"0703c7b8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789335040001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36497399425794048,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895231193556209664,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:38] 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-10-16 15:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792145845000,"timestamp_ms":1792145845000,"timestamp_seconds":1792145845,"priority":1,"record_length":96,"hex_timestamp":"000001a144376b08"} 
[2026-10-16 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-10-16 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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-10-16 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-10-16 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-10-16 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-10-16 15:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":218318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":218318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":218318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789335040001,"66":14450,"16":36497399425794048,"94":11008,"24":1,"45":895231193556209664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 15:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789335040001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36497399425794048,"km_value":36497399425794.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:47:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":895231193556209664,"description":"Unknown IO ID 45"} 
[2026-10-16 15:47:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458789335040001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":1,"unknown_45":895231193556209664}} 
[2026-10-16 15:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":218318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":526,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:47:39] local.INFO: GPS data processed {"connection_id":218318,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:47:39] local.INFO: Acknowledgment sent {"connection_id":218318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:47:54] local.INFO: TCP Data received {"connection_id":220041,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:47:54] local.INFO: Processing buffer {"connection_id":220041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:47:54] local.INFO: Packet analysis {"connection_id":220041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:47:54] local.INFO: Extracted packet for processing {"connection_id":220041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 15:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:47:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:47:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":220041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:47:55] local.INFO: GPS data processed {"connection_id":220041,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:47:55] local.INFO: Acknowledgment sent {"connection_id":220041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:48:01] local.INFO: TCP Data received {"connection_id":218319,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:48:01] local.INFO: Processing buffer {"connection_id":218319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:48:01] local.INFO: IMEI packet received {"connection_id":218319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":218319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:48:06] local.INFO: TCP Data received {"connection_id":218319,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:48:06] local.INFO: Processing buffer {"connection_id":218319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:48:06] local.INFO: IMEI packet received {"connection_id":218319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":218319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:48:08] local.INFO: TCP Data received {"connection_id":218319,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144378278012d0c6dc00703c9a80013001f10..."} 
[2026-10-16 15:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144378278012d0c6dc00703c9a80013001f10..."} 
[2026-10-16 15:48:08] local.INFO: Processing buffer {"connection_id":218319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144378278012d0c6dc00703c9a80013001f10..."} 
[2026-10-16 15:48:08] local.INFO: Packet analysis {"connection_id":218319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14437"} 
[2026-10-16 15:48:08] local.INFO: Extracted packet for processing {"connection_id":218319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14437"} 
[2026-10-16 15:48:08] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117688744,"longitude_deg":75.5789248,"latitude_deg":11.7688744,"altitude":19,"angle":31,"satellites":16,"speed":3,"hex_longitude":"2d0c6dc0","hex_latitude":"0703c9a8","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789336320001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36497425195597824,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895442299788965888,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:08] 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-10-16 15:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792145851000,"timestamp_ms":1792145851000,"timestamp_seconds":1792145851,"priority":1,"record_length":96,"hex_timestamp":"000001a144378278"} 
[2026-10-16 15:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:48: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-10-16 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 15:48:08] 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-10-16 15: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-10-16 15:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":218319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":218319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":218319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789336320001,"66":14515,"16":36497425195597824,"94":11008,"24":3,"45":895442299788965888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 15:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789336320001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36497425195597824,"km_value":36497425195597.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:48:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":895442299788965888,"description":"Unknown IO ID 45"} 
[2026-10-16 15:48:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458789336320001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":895442299788965888}} 
[2026-10-16 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":218319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":528,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:48:09] local.INFO: GPS data processed {"connection_id":218319,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:48:09] local.INFO: Acknowledgment sent {"connection_id":218319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:48:21] local.INFO: TCP Data received {"connection_id":216974,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:48:21] local.INFO: Processing buffer {"connection_id":216974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:48:21] local.INFO: IMEI packet received {"connection_id":216974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":216974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:48:26] local.INFO: TCP Data received {"connection_id":216974,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:48:26] local.INFO: Processing buffer {"connection_id":216974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:48:26] local.INFO: IMEI packet received {"connection_id":216974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":216974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:48:27] local.INFO: TCP Data received {"connection_id":216974,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:48:27] local.INFO: Processing buffer {"connection_id":216974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:48:27] local.INFO: Packet analysis {"connection_id":216974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:48:27] local.INFO: Extracted packet for processing {"connection_id":216974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 15:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:48:27] 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-10-16 15:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:48:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:48:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":216974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:48:27] local.INFO: GPS data processed {"connection_id":216974,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:48:27] local.INFO: Acknowledgment sent {"connection_id":216974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:48:32] local.INFO: TCP Data received {"connection_id":216974,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:48:32] local.INFO: Processing buffer {"connection_id":216974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:48:32] local.INFO: Packet analysis {"connection_id":216974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:48:32] local.INFO: Extracted packet for processing {"connection_id":216974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 15:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:48:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":216974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:48:32] local.INFO: GPS data processed {"connection_id":216974,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:48:32] local.INFO: Acknowledgment sent {"connection_id":216974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:48:40] local.INFO: TCP Data received {"connection_id":218319,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144385950012d0c55000703e0780008001211..."} 
[2026-10-16 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144385950012d0c55000703e0780008001211..."} 
[2026-10-16 15:48:40] local.INFO: Processing buffer {"connection_id":218319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144385950012d0c55000703e0780008001211..."} 
[2026-10-16 15:48:40] local.INFO: Packet analysis {"connection_id":218319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14438"} 
[2026-10-16 15:48:40] local.INFO: Extracted packet for processing {"connection_id":218319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14438"} 
[2026-10-16 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117694584,"longitude_deg":75.5782912,"latitude_deg":11.7694584,"altitude":8,"angle":18,"satellites":17,"speed":7,"hex_longitude":"2d0c5500","hex_latitude":"0703e078","is_valid_coordinates":true} 
[2026-10-16 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789351680001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36498005016182784,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888546162861131776,"note":"Value kept but may cause issues"} 
[2026-10-16 15:48:40] 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-10-16 15:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792145906000,"timestamp_ms":1792145906000,"timestamp_seconds":1792145906,"priority":1,"record_length":96,"hex_timestamp":"000001a144385950"} 
[2026-10-16 15:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:48: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-10-16 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 15:48:40] 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-10-16 15:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":218319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":218319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":218319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789351680001,"66":14428,"16":36498005016182784,"94":11008,"24":7,"45":888546162861131776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 15:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789351680001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36498005016182784,"km_value":36498005016182.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:48:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":888546162861131776,"description":"Unknown IO ID 45"} 
[2026-10-16 15:48:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458789351680001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":888546162861131776}} 
[2026-10-16 15:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":218319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:48:40] local.INFO: GPS data processed {"connection_id":218319,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:48:40] local.INFO: Acknowledgment sent {"connection_id":218319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:49:01] local.INFO: TCP Data received {"connection_id":218320,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218320,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:49:01] local.INFO: Processing buffer {"connection_id":218320,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:49:01] local.INFO: IMEI packet received {"connection_id":218320,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":218320,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:49:05] local.INFO: TCP Data received {"connection_id":218320,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218320,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:49:05] local.INFO: Processing buffer {"connection_id":218320,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:49:05] local.INFO: IMEI packet received {"connection_id":218320,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":218320,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:49:06] local.INFO: TCP Data received {"connection_id":218320,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218320,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:49:06] local.INFO: Processing buffer {"connection_id":218320,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:49:06] local.INFO: IMEI packet received {"connection_id":218320,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":218320,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:49:07] local.INFO: TCP Data received {"connection_id":218320,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144385d38012d0c55c00703e1580008002711..."} 
[2026-10-16 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144385d38012d0c55c00703e1580008002711..."} 
[2026-10-16 15:49:07] local.INFO: Processing buffer {"connection_id":218320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144385d38012d0c55c00703e1580008002711..."} 
[2026-10-16 15:49:07] local.INFO: Packet analysis {"connection_id":218320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14438"} 
[2026-10-16 15:49:07] local.INFO: Extracted packet for processing {"connection_id":218320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14438"} 
[2026-10-16 15:49:07] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":117694808,"longitude_deg":75.5783104,"latitude_deg":11.7694808,"altitude":8,"angle":39,"satellites":17,"speed":11,"hex_longitude":"2d0c55c0","hex_latitude":"0703e158","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789351936001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36498017901084672,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531605354496,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:07] 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-10-16 15:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792145907000,"timestamp_ms":1792145907000,"timestamp_seconds":1792145907,"priority":1,"record_length":96,"hex_timestamp":"000001a144385d38"} 
[2026-10-16 15:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:49: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-10-16 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 15:49: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-10-16 15: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-10-16 15:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":218320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":218320,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":218320,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789351936001,"66":14428,"16":36498017901084672,"94":11008,"24":11,"45":888616531605354496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 15:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789351936001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36498017901084672,"km_value":36498017901084.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:49:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531605354496,"description":"Unknown IO ID 45"} 
[2026-10-16 15:49:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458789351936001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":888616531605354496}} 
[2026-10-16 15:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":218320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:49:07] local.INFO: GPS data processed {"connection_id":218320,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:49:07] local.INFO: Acknowledgment sent {"connection_id":218320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:49:11] local.INFO: TCP Data received {"connection_id":218320,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144386508012d0c57800703e3100008003311..."} 
[2026-10-16 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144386508012d0c57800703e3100008003311..."} 
[2026-10-16 15:49:11] local.INFO: Processing buffer {"connection_id":218320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144386508012d0c57800703e3100008003311..."} 
[2026-10-16 15:49:11] local.INFO: Packet analysis {"connection_id":218320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14438"} 
[2026-10-16 15:49:11] local.INFO: Extracted packet for processing {"connection_id":218320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14438"} 
[2026-10-16 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":755783552,"raw_latitude":117695248,"longitude_deg":75.5783552,"latitude_deg":11.7695248,"altitude":8,"angle":51,"satellites":17,"speed":13,"hex_longitude":"2d0c5780","hex_latitude":"0703e310","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789352192001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36498047965855744,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888827637837944832,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 15:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792145909000,"timestamp_ms":1792145909000,"timestamp_seconds":1792145909,"priority":1,"record_length":96,"hex_timestamp":"000001a144386508"} 
[2026-10-16 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-10-16 15:49: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-10-16 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 15:49: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-10-16 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-10-16 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-10-16 15:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":218320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":218320,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":218320,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:49:11] 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-10-16 15:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789352192001,"66":14548,"16":36498047965855744,"94":11008,"24":13,"45":888827637837944832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 15:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789352192001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36498047965855744,"km_value":36498047965855.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:49:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":888827637837944832,"description":"Unknown IO ID 45"} 
[2026-10-16 15:49:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458789352192001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":888827637837944832}} 
[2026-10-16 15:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":218320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:49:12] local.INFO: GPS data processed {"connection_id":218320,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:49:12] local.INFO: Acknowledgment sent {"connection_id":218320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:49:17] local.INFO: TCP Data received {"connection_id":216975,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:49:17] local.INFO: Processing buffer {"connection_id":216975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:49:17] local.INFO: IMEI packet received {"connection_id":216975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":216975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:49:21] local.INFO: TCP Data received {"connection_id":216975,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:49:21] local.INFO: Processing buffer {"connection_id":216975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:49:21] local.INFO: IMEI packet received {"connection_id":216975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":216975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:49:22] local.INFO: TCP Data received {"connection_id":216975,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:49:22] local.INFO: Processing buffer {"connection_id":216975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:49:22] local.INFO: Packet analysis {"connection_id":216975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:49:22] local.INFO: Extracted packet for processing {"connection_id":216975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:49:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 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-10-16 15:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:49:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:49:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":216975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:49:22] local.INFO: GPS data processed {"connection_id":216975,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:49:22] local.INFO: Acknowledgment sent {"connection_id":216975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:49:47] local.INFO: TCP Data received {"connection_id":218320,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144389bb8012d0c74000703fa60000f003611..."} 
[2026-10-16 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144389bb8012d0c74000703fa60000f003611..."} 
[2026-10-16 15:49:47] local.INFO: Processing buffer {"connection_id":218320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144389bb8012d0c74000703fa60000f003611..."} 
[2026-10-16 15:49:47] local.INFO: Packet analysis {"connection_id":218320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14438"} 
[2026-10-16 15:49:47] local.INFO: Extracted packet for processing {"connection_id":218320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14438"} 
[2026-10-16 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":755790848,"raw_latitude":117701216,"longitude_deg":75.5790848,"latitude_deg":11.7701216,"altitude":15,"angle":54,"satellites":17,"speed":31,"hex_longitude":"2d0c7400","hex_latitude":"0703fa60","is_valid_coordinates":true} 
[2026-10-16 15:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789352704001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36498503232389120,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889320219047301120,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 15:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792145923000,"timestamp_ms":1792145923000,"timestamp_seconds":1792145923,"priority":1,"record_length":96,"hex_timestamp":"000001a144389bb8"} 
[2026-10-16 15:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 15:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 15:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218320,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218320,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789352704001,"66":14515,"16":36498503232389120,"94":11008,"24":31,"45":889320219047301120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 15:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789352704001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36498503232389120,"km_value":36498503232389.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:49:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":889320219047301120,"description":"Unknown IO ID 45"} 
[2026-10-16 15:49:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458789352704001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":889320219047301120}} 
[2026-10-16 15:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":218320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":535,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:49:47] local.INFO: GPS data processed {"connection_id":218320,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:49:47] local.INFO: Acknowledgment sent {"connection_id":218320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:49:54] local.INFO: TCP Data received {"connection_id":216975,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:49:54] local.INFO: Processing buffer {"connection_id":216975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:49:54] local.INFO: Packet analysis {"connection_id":216975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:49:54] local.INFO: Extracted packet for processing {"connection_id":216975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 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-10-16 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:49:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:49:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":216975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:49:54] local.INFO: GPS data processed {"connection_id":216975,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:49:54] local.INFO: Acknowledgment sent {"connection_id":216975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:50:01] local.INFO: TCP Data received {"connection_id":218321,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:01] local.INFO: Processing buffer {"connection_id":218321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:01] local.INFO: IMEI packet received {"connection_id":218321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":218321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:50:03] local.INFO: TCP Data received {"connection_id":218321,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:03] local.INFO: Processing buffer {"connection_id":218321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:03] local.INFO: IMEI packet received {"connection_id":218321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":218321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:50:04] local.INFO: TCP Data received {"connection_id":218321,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:04] local.INFO: Processing buffer {"connection_id":218321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:04] local.INFO: IMEI packet received {"connection_id":218321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":218321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:50:06] local.INFO: TCP Data received {"connection_id":218321,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:06] local.INFO: Processing buffer {"connection_id":218321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:50:06] local.INFO: IMEI packet received {"connection_id":218321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":218321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:50:07] local.INFO: TCP Data received {"connection_id":218321,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14438c2c8012d0c9240070410900015003211..."} 
[2026-10-16 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14438c2c8012d0c9240070410900015003211..."} 
[2026-10-16 15:50:07] local.INFO: Processing buffer {"connection_id":218321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14438c2c8012d0c9240070410900015003211..."} 
[2026-10-16 15:50:07] local.INFO: Packet analysis {"connection_id":218321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14438"} 
[2026-10-16 15:50:07] local.INFO: Extracted packet for processing {"connection_id":218321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14438"} 
[2026-10-16 15:50:07] local.INFO: GPS Element Parsed {"raw_longitude":755798592,"raw_latitude":117706896,"longitude_deg":75.5798592,"latitude_deg":11.7706896,"altitude":21,"angle":50,"satellites":17,"speed":39,"hex_longitude":"2d0c9240","hex_latitude":"07041090","is_valid_coordinates":true} 
[2026-10-16 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789356288001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36498958498922496,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897342255885082624,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:07] 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-10-16 15:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792145933000,"timestamp_ms":1792145933000,"timestamp_seconds":1792145933,"priority":1,"record_length":96,"hex_timestamp":"000001a14438c2c8"} 
[2026-10-16 15:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:50: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-10-16 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 15:50:07] 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-10-16 15:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":218321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":218321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":218321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789356288001,"66":14537,"16":36498958498922496,"94":11008,"24":39,"45":897342255885082624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-10-16 15:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789356288001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36498958498922496,"km_value":36498958498922.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:50:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 15:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":897342255885082624,"description":"Unknown IO ID 45"} 
[2026-10-16 15:50:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458789356288001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":39,"unknown_45":897342255885082624}} 
[2026-10-16 15:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":218321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:50:07] local.INFO: GPS data processed {"connection_id":218321,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:50:07] local.INFO: Acknowledgment sent {"connection_id":218321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:50:15] local.INFO: TCP Data received {"connection_id":220043,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:50:15] local.INFO: Processing buffer {"connection_id":220043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:50:15] local.INFO: IMEI packet received {"connection_id":220043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":220043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:50:21] local.INFO: TCP Data received {"connection_id":220043,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:50:21] local.INFO: Processing buffer {"connection_id":220043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:50:21] local.INFO: IMEI packet received {"connection_id":220043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":220043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:50:22] local.INFO: TCP Data received {"connection_id":220043,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:50:22] local.INFO: Processing buffer {"connection_id":220043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:50:22] local.INFO: Packet analysis {"connection_id":220043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:50:22] local.INFO: Extracted packet for processing {"connection_id":220043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:50:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 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-10-16 15:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:50:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:50:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":220043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:50:22] local.INFO: GPS data processed {"connection_id":220043,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:50:22] local.INFO: Acknowledgment sent {"connection_id":220043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:50:38] local.INFO: TCP Data received {"connection_id":218321,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1443a2a28012d0c8c000704d1b00026012113..."} 
[2026-10-16 15:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443a2a28012d0c8c000704d1b00026012113..."} 
[2026-10-16 15:50:38] local.INFO: Processing buffer {"connection_id":218321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443a2a28012d0c8c000704d1b00026012113..."} 
[2026-10-16 15:50:38] local.INFO: Packet analysis {"connection_id":218321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443a"} 
[2026-10-16 15:50:38] local.INFO: Extracted packet for processing {"connection_id":218321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443a"} 
[2026-10-16 15:50:38] local.INFO: GPS Element Parsed {"raw_longitude":755796992,"raw_latitude":117756336,"longitude_deg":75.5796992,"latitude_deg":11.7756336,"altitude":38,"angle":289,"satellites":19,"speed":16,"hex_longitude":"2d0c8c00","hex_latitude":"0704d1b0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789382144001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36501655738384384,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904519867805278208,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:38] 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-10-16 15:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792146025000,"timestamp_ms":1792146025000,"timestamp_seconds":1792146025,"priority":1,"record_length":96,"hex_timestamp":"000001a1443a2a28"} 
[2026-10-16 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-10-16 15:50: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-10-16 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 15:50: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-10-16 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-10-16 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-10-16 15:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":218321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":218321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":218321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789382144001,"66":14537,"95":206,"94":10240,"24":16,"16":36501655738384384,"45":904519867805278208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-16 15:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789382144001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:50:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-16 15:50:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36501655738384384,"km_value":36501655738384.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":904519867805278208,"description":"Unknown IO ID 45"} 
[2026-10-16 15:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789382144001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":904519867805278208}} 
[2026-10-16 15:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":218321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":539,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:50:38] local.INFO: GPS data processed {"connection_id":218321,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:50:38] local.INFO: Acknowledgment sent {"connection_id":218321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:50:50] local.INFO: TCP Data received {"connection_id":216976,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:50:50] local.INFO: Processing buffer {"connection_id":216976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:50:50] local.INFO: IMEI packet received {"connection_id":216976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":216976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:50:54] local.INFO: TCP Data received {"connection_id":220043,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:50:54] local.INFO: Processing buffer {"connection_id":220043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:50:54] local.INFO: Packet analysis {"connection_id":220043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:50:54] local.INFO: Extracted packet for processing {"connection_id":220043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 15:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:50:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:50:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":220043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:50:54] local.INFO: GPS data processed {"connection_id":220043,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:50:54] local.INFO: Acknowledgment sent {"connection_id":220043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:51:03] local.INFO: TCP Data received {"connection_id":216977,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216977,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:51:03] local.INFO: Processing buffer {"connection_id":216977,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:51:03] local.INFO: IMEI packet received {"connection_id":216977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":216977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:51:10] local.INFO: TCP Data received {"connection_id":216977,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 15:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216977,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 15:51:10] local.INFO: Processing buffer {"connection_id":216977,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 15:51:10] local.INFO: IMEI packet received {"connection_id":216977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":216977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:51:11] local.INFO: TCP Data received {"connection_id":216977,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1443a39c8012d0c80c00704d4080026011412..."} 
[2026-10-16 15:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443a39c8012d0c80c00704d4080026011412..."} 
[2026-10-16 15:51:11] local.INFO: Processing buffer {"connection_id":216977,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a144..."} 
[2026-10-16 15:51:11] local.INFO: IMEI packet received {"connection_id":216977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":216977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:51:12] local.INFO: TCP Data received {"connection_id":216977,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1443a5138012d0c66c00704d4600026010713..."} 
[2026-10-16 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443a5138012d0c66c00704d4600026010713..."} 
[2026-10-16 15:51:12] local.INFO: Processing buffer {"connection_id":216977,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1443a39c8012d0c80c00704d4080026011412..."} 
[2026-10-16 15:51:12] local.INFO: Packet analysis {"connection_id":216977,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1443a"} 
[2026-10-16 15:51:12] local.INFO: Extracted packet for processing {"connection_id":216977,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443a"} 
[2026-10-16 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":755794112,"raw_latitude":117756936,"longitude_deg":75.5794112,"latitude_deg":11.7756936,"altitude":38,"angle":276,"satellites":18,"speed":34,"hex_longitude":"2d0c80c0","hex_latitude":"0704d408","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789382400001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36501793177337856,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904097655340249088,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:12] 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-10-16 15:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792146029000,"timestamp_ms":1792146029000,"timestamp_seconds":1792146029,"priority":1,"record_length":96,"hex_timestamp":"000001a1443a39c8"} 
[2026-10-16 15:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:51: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-10-16 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 15:51:12] 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-10-16 15: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-10-16 15:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":216977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":216977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":216977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789382400001,"66":14537,"95":206,"94":10240,"24":34,"16":36501793177337856,"45":904097655340249088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-16 15:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789382400001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:51:12] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-16 15:51:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36501793177337856,"km_value":36501793177337.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":904097655340249088,"description":"Unknown IO ID 45"} 
[2026-10-16 15:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789382400001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":904097655340249088}} 
[2026-10-16 15:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":216977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:51:12] local.INFO: GPS data processed {"connection_id":216977,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:51:12] local.INFO: Acknowledgment sent {"connection_id":216977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:51:12] local.INFO: Packet analysis {"connection_id":216977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443a"} 
[2026-10-16 15:51:12] local.INFO: Extracted packet for processing {"connection_id":216977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443a"} 
[2026-10-16 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":755787456,"raw_latitude":117757024,"longitude_deg":75.5787456,"latitude_deg":11.7757024,"altitude":38,"angle":263,"satellites":19,"speed":44,"hex_longitude":"2d0c66c0","hex_latitude":"0704d460","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789383424001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36502115299885056,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900931061852407808,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:12] 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-10-16 15:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792146035000,"timestamp_ms":1792146035000,"timestamp_seconds":1792146035,"priority":1,"record_length":96,"hex_timestamp":"000001a1443a5138"} 
[2026-10-16 15:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:51: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-10-16 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 15:51:12] 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-10-16 15: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-10-16 15:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":216977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":216977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":216977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789383424001,"66":14548,"95":206,"94":10240,"24":44,"16":36502115299885056,"45":900931061852407808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-16 15:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789383424001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:51:12] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-16 15:51:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36502115299885056,"km_value":36502115299885.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":900931061852407808,"description":"Unknown IO ID 45"} 
[2026-10-16 15:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789383424001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_45":900931061852407808}} 
[2026-10-16 15:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":216977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:51:12] local.INFO: GPS data processed {"connection_id":216977,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:51:12] local.INFO: Acknowledgment sent {"connection_id":216977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:51:15] local.INFO: TCP Data received {"connection_id":220044,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:51:15] local.INFO: Processing buffer {"connection_id":220044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:51:15] local.INFO: IMEI packet received {"connection_id":220044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":220044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:51:16] local.INFO: TCP Data received {"connection_id":216977,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1443a64c0012d0c53000704cfa0002500f913..."} 
[2026-10-16 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443a64c0012d0c53000704cfa0002500f913..."} 
[2026-10-16 15:51:16] local.INFO: Processing buffer {"connection_id":216977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443a64c0012d0c53000704cfa0002500f913..."} 
[2026-10-16 15:51:16] local.INFO: Packet analysis {"connection_id":216977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443a"} 
[2026-10-16 15:51:16] local.INFO: Extracted packet for processing {"connection_id":216977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443a"} 
[2026-10-16 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":755782400,"raw_latitude":117755808,"longitude_deg":75.57824,"latitude_deg":11.7755808,"altitude":37,"angle":249,"satellites":19,"speed":32,"hex_longitude":"2d0c5300","hex_latitude":"0704cfa0","is_valid_coordinates":true} 
[2026-10-16 15:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789384960001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36502360113020928,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893612712457953280,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:16] 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-10-16 15:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792146040000,"timestamp_ms":1792146040000,"timestamp_seconds":1792146040,"priority":1,"record_length":96,"hex_timestamp":"000001a1443a64c0"} 
[2026-10-16 15:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 15:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 15:51:16] 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-10-16 15:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789384960001,"66":13754,"95":206,"94":10240,"24":32,"16":36502360113020928,"45":893612712457953280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-16 15:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789384960001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:51:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-16 15:51:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36502360113020928,"km_value":36502360113020.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":893612712457953280,"description":"Unknown IO ID 45"} 
[2026-10-16 15:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789384960001,"power":13754,"unknown_95":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":893612712457953280}} 
[2026-10-16 15:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":216977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:51:17] local.INFO: GPS data processed {"connection_id":216977,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:51:17] local.INFO: Acknowledgment sent {"connection_id":216977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:51:21] local.INFO: TCP Data received {"connection_id":220044,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:51:21] local.INFO: Processing buffer {"connection_id":220044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:51:21] local.INFO: IMEI packet received {"connection_id":220044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":220044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:51:22] local.INFO: TCP Data received {"connection_id":220044,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:51:22] local.INFO: Processing buffer {"connection_id":220044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:51:22] local.INFO: Packet analysis {"connection_id":220044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:51:22] local.INFO: Extracted packet for processing {"connection_id":220044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:51:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 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-10-16 15:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:51:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:51:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":220044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:51:22] local.INFO: GPS data processed {"connection_id":220044,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:51:22] local.INFO: Acknowledgment sent {"connection_id":220044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:51:55] local.INFO: TCP Data received {"connection_id":220044,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:51:55] local.INFO: Processing buffer {"connection_id":220044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:51:55] local.INFO: Packet analysis {"connection_id":220044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:51:55] local.INFO: Extracted packet for processing {"connection_id":220044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 15:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:51:55] 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-10-16 15:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:51:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:51:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":220044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:51:55] local.INFO: GPS data processed {"connection_id":220044,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:51:55] local.INFO: Acknowledgment sent {"connection_id":220044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:51:58] local.INFO: TCP Data received {"connection_id":220045,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220045,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:51:58] local.INFO: Processing buffer {"connection_id":220045,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:51:58] local.INFO: IMEI packet received {"connection_id":220045,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":220045,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:51:59] local.INFO: TCP Data received {"connection_id":220045,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220045,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:51:59] local.INFO: Processing buffer {"connection_id":220045,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:51:59] local.INFO: IMEI packet received {"connection_id":220045,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":220045,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:52:00] local.INFO: TCP Data received {"connection_id":220045,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220045,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:52:00] local.INFO: Processing buffer {"connection_id":220045,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:52:00] local.INFO: IMEI packet received {"connection_id":220045,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":220045,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:52:01] local.INFO: TCP Data received {"connection_id":220045,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220045,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:52:01] local.INFO: Processing buffer {"connection_id":220045,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:52:01] local.INFO: IMEI packet received {"connection_id":220045,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":220045,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:52:21] local.INFO: TCP Data received {"connection_id":216764,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:52:21] local.INFO: Processing buffer {"connection_id":216764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:52:21] local.INFO: IMEI packet received {"connection_id":216764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":216764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:52:26] local.INFO: TCP Data received {"connection_id":216764,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:52:26] local.INFO: Processing buffer {"connection_id":216764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:52:26] local.INFO: IMEI packet received {"connection_id":216764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":216764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:52:28] local.INFO: TCP Data received {"connection_id":216764,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:52:28] local.INFO: Processing buffer {"connection_id":216764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:52:28] local.INFO: Packet analysis {"connection_id":216764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:52:28] local.INFO: Extracted packet for processing {"connection_id":216764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:52:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 15:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:52:28] 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-10-16 15:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:52:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:52:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":216764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:52:28] local.INFO: GPS data processed {"connection_id":216764,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:52:28] local.INFO: Acknowledgment sent {"connection_id":216764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:52:32] local.INFO: TCP Data received {"connection_id":216764,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:52:32] local.INFO: Processing buffer {"connection_id":216764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14436ee08012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:52:32] local.INFO: Packet analysis {"connection_id":216764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:52:32] local.INFO: Extracted packet for processing {"connection_id":216764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14436"} 
[2026-10-16 15:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789251072001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792145813000,"timestamp_ms":1792145813000,"timestamp_seconds":1792145813,"priority":1,"record_length":96,"hex_timestamp":"000001a14436ee08"} 
[2026-10-16 15:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 15:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789251072001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789251072001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:52:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:52:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789251072001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":216764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:52:32] local.INFO: GPS data processed {"connection_id":216764,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:52:32] local.INFO: Acknowledgment sent {"connection_id":216764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:53:15] local.INFO: TCP Data received {"connection_id":218324,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:53:15] local.INFO: Processing buffer {"connection_id":218324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:53:15] local.INFO: IMEI packet received {"connection_id":218324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":218324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:53:21] local.INFO: TCP Data received {"connection_id":218324,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:53:21] local.INFO: Processing buffer {"connection_id":218324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:53:21] local.INFO: IMEI packet received {"connection_id":218324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":218324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:53:22] local.INFO: TCP Data received {"connection_id":218324,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:53:22] local.INFO: Processing buffer {"connection_id":218324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:53:22] local.INFO: Packet analysis {"connection_id":218324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:53:22] local.INFO: Extracted packet for processing {"connection_id":218324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:53:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789328128001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792146114000,"timestamp_ms":1792146114000,"timestamp_seconds":1792146114,"priority":1,"record_length":96,"hex_timestamp":"000001a1443b85d0"} 
[2026-10-16 15:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789328128001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789328128001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:53:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:53:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789328128001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":218324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:53:22] local.INFO: GPS data processed {"connection_id":218324,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:53:22] local.INFO: Acknowledgment sent {"connection_id":218324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:53:54] local.INFO: TCP Data received {"connection_id":218324,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:53:54] local.INFO: Processing buffer {"connection_id":218324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:53:54] local.INFO: Packet analysis {"connection_id":218324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:53:54] local.INFO: Extracted packet for processing {"connection_id":218324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789328128001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792146114000,"timestamp_ms":1792146114000,"timestamp_seconds":1792146114,"priority":1,"record_length":96,"hex_timestamp":"000001a1443b85d0"} 
[2026-10-16 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-10-16 15:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:53:54] 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-10-16 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-10-16 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-10-16 15:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789328128001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789328128001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:53:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:53:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789328128001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":218324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:53:54] local.INFO: GPS data processed {"connection_id":218324,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:53:54] local.INFO: Acknowledgment sent {"connection_id":218324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:54:15] local.INFO: TCP Data received {"connection_id":220047,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:54:15] local.INFO: Processing buffer {"connection_id":220047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:54:15] local.INFO: IMEI packet received {"connection_id":220047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":220047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:54:21] local.INFO: TCP Data received {"connection_id":220047,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:54:21] local.INFO: Processing buffer {"connection_id":220047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:54:21] local.INFO: IMEI packet received {"connection_id":220047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":220047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:54:22] local.INFO: TCP Data received {"connection_id":220047,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:54:22] local.INFO: Processing buffer {"connection_id":220047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:54:22] local.INFO: Packet analysis {"connection_id":220047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:54:22] local.INFO: Extracted packet for processing {"connection_id":220047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:54:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789328128001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792146114000,"timestamp_ms":1792146114000,"timestamp_seconds":1792146114,"priority":1,"record_length":96,"hex_timestamp":"000001a1443b85d0"} 
[2026-10-16 15:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789328128001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789328128001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:54:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:54:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789328128001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":220047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:54:22] local.INFO: GPS data processed {"connection_id":220047,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:54:22] local.INFO: Acknowledgment sent {"connection_id":220047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:54:54] local.INFO: TCP Data received {"connection_id":220047,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:54:54] local.INFO: Processing buffer {"connection_id":220047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:54:54] local.INFO: Packet analysis {"connection_id":220047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:54:54] local.INFO: Extracted packet for processing {"connection_id":220047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789328128001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792146114000,"timestamp_ms":1792146114000,"timestamp_seconds":1792146114,"priority":1,"record_length":96,"hex_timestamp":"000001a1443b85d0"} 
[2026-10-16 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-10-16 15:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:54:54] 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-10-16 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-10-16 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-10-16 15:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789328128001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789328128001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:54:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:54:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789328128001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":220047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:54:54] local.INFO: GPS data processed {"connection_id":220047,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:54:54] local.INFO: Acknowledgment sent {"connection_id":220047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:55:15] local.INFO: TCP Data received {"connection_id":216981,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:55:15] local.INFO: Processing buffer {"connection_id":216981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:55:15] local.INFO: IMEI packet received {"connection_id":216981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":216981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:55:21] local.INFO: TCP Data received {"connection_id":216981,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:55:21] local.INFO: Processing buffer {"connection_id":216981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:55:21] local.INFO: IMEI packet received {"connection_id":216981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":216981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:55:22] local.INFO: TCP Data received {"connection_id":216981,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:55:22] local.INFO: Processing buffer {"connection_id":216981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:55:22] local.INFO: Packet analysis {"connection_id":216981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:55:22] local.INFO: Extracted packet for processing {"connection_id":216981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789328128001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792146114000,"timestamp_ms":1792146114000,"timestamp_seconds":1792146114,"priority":1,"record_length":96,"hex_timestamp":"000001a1443b85d0"} 
[2026-10-16 15:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789328128001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789328128001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:55:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:55:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789328128001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":216981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:55:22] local.INFO: GPS data processed {"connection_id":216981,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:55:22] local.INFO: Acknowledgment sent {"connection_id":216981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:55:54] local.INFO: TCP Data received {"connection_id":216981,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:55:54] local.INFO: Processing buffer {"connection_id":216981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:55:54] local.INFO: Packet analysis {"connection_id":216981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:55:54] local.INFO: Extracted packet for processing {"connection_id":216981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789328128001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792146114000,"timestamp_ms":1792146114000,"timestamp_seconds":1792146114,"priority":1,"record_length":96,"hex_timestamp":"000001a1443b85d0"} 
[2026-10-16 15:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:55:54] 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-10-16 15:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789328128001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789328128001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:55:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:55:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789328128001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":216981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:55:54] local.INFO: GPS data processed {"connection_id":216981,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:55:54] local.INFO: Acknowledgment sent {"connection_id":216981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:56:16] local.INFO: TCP Data received {"connection_id":216765,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:56:16] local.INFO: Processing buffer {"connection_id":216765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:56:16] local.INFO: IMEI packet received {"connection_id":216765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":216765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:56:21] local.INFO: TCP Data received {"connection_id":220050,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:56:21] local.INFO: Processing buffer {"connection_id":220050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:56:21] local.INFO: IMEI packet received {"connection_id":220050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":220050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:56:26] local.INFO: TCP Data received {"connection_id":220050,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:56:26] local.INFO: Processing buffer {"connection_id":220050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:56:26] local.INFO: IMEI packet received {"connection_id":220050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":220050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:56:28] local.INFO: TCP Data received {"connection_id":220050,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:56:28] local.INFO: Processing buffer {"connection_id":220050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:56:28] local.INFO: Packet analysis {"connection_id":220050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:56:28] local.INFO: Extracted packet for processing {"connection_id":220050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789328128001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792146114000,"timestamp_ms":1792146114000,"timestamp_seconds":1792146114,"priority":1,"record_length":96,"hex_timestamp":"000001a1443b85d0"} 
[2026-10-16 15:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:56:28] 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-10-16 15:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":220050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":220050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":220050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789328128001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789328128001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:56:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:56:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789328128001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":220050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:56:28] local.INFO: GPS data processed {"connection_id":220050,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:56:28] local.INFO: Acknowledgment sent {"connection_id":220050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:56:31] local.INFO: TCP Data received {"connection_id":220050,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:56:31] local.INFO: Processing buffer {"connection_id":220050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:56:31] local.INFO: Packet analysis {"connection_id":220050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:56:31] local.INFO: Extracted packet for processing {"connection_id":220050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789328128001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792146114000,"timestamp_ms":1792146114000,"timestamp_seconds":1792146114,"priority":1,"record_length":96,"hex_timestamp":"000001a1443b85d0"} 
[2026-10-16 15:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":220050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":220050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":220050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789328128001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789328128001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:56:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:56:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789328128001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":220050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:56:31] local.INFO: GPS data processed {"connection_id":220050,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:56:31] local.INFO: Acknowledgment sent {"connection_id":220050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:56:55] local.INFO: TCP Data received {"connection_id":216982,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:56:55] local.INFO: Processing buffer {"connection_id":216982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 15:56:55] local.INFO: IMEI packet received {"connection_id":216982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 15:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":216982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:57:06] local.INFO: TCP Data received {"connection_id":216983,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:57:06] local.INFO: Processing buffer {"connection_id":216983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:57:06] local.INFO: IMEI packet received {"connection_id":216983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":216983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:57:07] local.INFO: TCP Data received {"connection_id":216983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1443fd360012d0a9bc0070584a80024013514..."} 
[2026-10-16 15:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443fd360012d0a9bc0070584a80024013514..."} 
[2026-10-16 15:57:07] local.INFO: Processing buffer {"connection_id":216983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443fd360012d0a9bc0070584a80024013514..."} 
[2026-10-16 15:57:07] local.INFO: Packet analysis {"connection_id":216983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443f"} 
[2026-10-16 15:57:07] local.INFO: Extracted packet for processing {"connection_id":216983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443f"} 
[2026-10-16 15:57:07] local.INFO: GPS Element Parsed {"raw_longitude":755669952,"raw_latitude":117802152,"longitude_deg":75.5669952,"latitude_deg":11.7802152,"altitude":36,"angle":309,"satellites":20,"speed":22,"hex_longitude":"2d0a9bc0","hex_latitude":"070584a8","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789476864001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36510572090490880,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765330491833454592,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:07] 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-10-16 15:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792146396000,"timestamp_ms":1792146396000,"timestamp_seconds":1792146396,"priority":1,"record_length":96,"hex_timestamp":"000001a1443fd360"} 
[2026-10-16 15:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 15:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15: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-10-16 15:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789476864001,"66":13863,"153":206,"94":10240,"24":22,"16":36510572090490880,"45":765330491833454592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 15:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789476864001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:57:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 15:57:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36510572090490880,"km_value":36510572090490.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":765330491833454592,"description":"Unknown IO ID 45"} 
[2026-10-16 15:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789476864001,"power":13863,"unknown_153":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":765330491833454592}} 
[2026-10-16 15:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":216983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":556,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:57:07] local.INFO: GPS data processed {"connection_id":216983,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:57:07] local.INFO: Acknowledgment sent {"connection_id":216983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:57:15] local.INFO: TCP Data received {"connection_id":218325,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:57:15] local.INFO: Processing buffer {"connection_id":218325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:57:15] local.INFO: IMEI packet received {"connection_id":218325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":218325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:57:21] local.INFO: TCP Data received {"connection_id":218325,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:57:21] local.INFO: Processing buffer {"connection_id":218325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:57:21] local.INFO: IMEI packet received {"connection_id":218325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":218325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:57:22] local.INFO: TCP Data received {"connection_id":218325,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:57:22] local.INFO: Processing buffer {"connection_id":218325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443b85d0012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:57:22] local.INFO: Packet analysis {"connection_id":218325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:57:22] local.INFO: Extracted packet for processing {"connection_id":218325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443b"} 
[2026-10-16 15:57:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789328128001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792146114000,"timestamp_ms":1792146114000,"timestamp_seconds":1792146114,"priority":1,"record_length":96,"hex_timestamp":"000001a1443b85d0"} 
[2026-10-16 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-10-16 15:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 15:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789328128001,"66":25604,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789328128001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:57:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:57:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789328128001,"power":25604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":218325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:57:22] local.INFO: GPS data processed {"connection_id":218325,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:57:22] local.INFO: Acknowledgment sent {"connection_id":218325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:57:41] local.INFO: TCP Data received {"connection_id":216983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1443fd748012d0a9ac0070586d80023014514..."} 
[2026-10-16 15:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1443fd748012d0a9ac0070586d80023014514..."} 
[2026-10-16 15:57:41] local.INFO: Processing buffer {"connection_id":216983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1443fd748012d0a9ac0070586d80023014514..."} 
[2026-10-16 15:57:41] local.INFO: Packet analysis {"connection_id":216983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1443f"} 
[2026-10-16 15:57:41] local.INFO: Extracted packet for processing {"connection_id":216983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1443f"} 
[2026-10-16 15:57:41] local.INFO: GPS Element Parsed {"raw_longitude":755669696,"raw_latitude":117802712,"longitude_deg":75.5669696,"latitude_deg":11.7802712,"altitude":35,"angle":325,"satellites":20,"speed":21,"hex_longitude":"2d0a9ac0","hex_latitude":"070586d8","is_valid_coordinates":true} 
[2026-10-16 15:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789477376001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36510602155261952,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764415698159314944,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:41] 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-10-16 15:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792146397000,"timestamp_ms":1792146397000,"timestamp_seconds":1792146397,"priority":1,"record_length":96,"hex_timestamp":"000001a1443fd748"} 
[2026-10-16 15:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:57: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-10-16 15:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-10-16 15:57:41] 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-10-16 15:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":216983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":216983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":216983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789477376001,"66":14439,"153":206,"94":10240,"24":21,"16":36510602155261952,"45":764415698159314944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 15:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789477376001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:57:41] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 15:57:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36510602155261952,"km_value":36510602155261.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":764415698159314944,"description":"Unknown IO ID 45"} 
[2026-10-16 15:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789477376001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":764415698159314944}} 
[2026-10-16 15:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":216983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":558,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:57:41] local.INFO: GPS data processed {"connection_id":216983,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:57:41] local.INFO: Acknowledgment sent {"connection_id":216983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:57:53] local.INFO: TCP Data received {"connection_id":218325,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:57:53] local.INFO: Processing buffer {"connection_id":218325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:57:53] local.INFO: Packet analysis {"connection_id":218325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 15:57:53] local.INFO: Extracted packet for processing {"connection_id":218325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 15:57:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 15:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:57: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-10-16 15:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 15:57:53] 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-10-16 15:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:57:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:57:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":218325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:57:53] local.INFO: GPS data processed {"connection_id":218325,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:57:53] local.INFO: Acknowledgment sent {"connection_id":218325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:58:01] local.INFO: TCP Data received {"connection_id":216984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:01] local.INFO: Processing buffer {"connection_id":216984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:01] local.INFO: IMEI packet received {"connection_id":216984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":216984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:58:02] local.INFO: TCP Data received {"connection_id":216984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:02] local.INFO: Processing buffer {"connection_id":216984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:02] local.INFO: IMEI packet received {"connection_id":216984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":216984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:58:05] local.INFO: TCP Data received {"connection_id":216984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:05] local.INFO: Processing buffer {"connection_id":216984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:05] local.INFO: IMEI packet received {"connection_id":216984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":216984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:58:06] local.INFO: TCP Data received {"connection_id":216984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:06] local.INFO: Processing buffer {"connection_id":216984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:58:06] local.INFO: IMEI packet received {"connection_id":216984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":216984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:58:06] local.INFO: TCP Data received {"connection_id":216984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144410fc8012d0a72800705dda8001d000b15..."} 
[2026-10-16 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144410fc8012d0a72800705dda8001d000b15..."} 
[2026-10-16 15:58:06] local.INFO: Processing buffer {"connection_id":216984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144410fc8012d0a72800705dda8001d000b15..."} 
[2026-10-16 15:58:06] local.INFO: Packet analysis {"connection_id":216984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14441"} 
[2026-10-16 15:58:06] local.INFO: Extracted packet for processing {"connection_id":216984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14441"} 
[2026-10-16 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117824936,"longitude_deg":75.5659392,"latitude_deg":11.7824936,"altitude":29,"angle":11,"satellites":21,"speed":11,"hex_longitude":"2d0a7280","hex_latitude":"0705dda8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789496576001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36511826220941312,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699095918592,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:06] 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-10-16 15:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792146477000,"timestamp_ms":1792146477000,"timestamp_seconds":1792146477,"priority":1,"record_length":96,"hex_timestamp":"000001a144410fc8"} 
[2026-10-16 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-10-16 15:58: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-10-16 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 15:58:06] 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-10-16 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-10-16 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-10-16 15:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:58:06] 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-10-16 15:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789496576001,"66":14428,"153":206,"94":10240,"24":11,"16":36511826220941312,"45":753156699095918592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 15:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789496576001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:58:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 15:58:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36511826220941312,"km_value":36511826220941.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699095918592,"description":"Unknown IO ID 45"} 
[2026-10-16 15:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789496576001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":753156699095918592}} 
[2026-10-16 15:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":216984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":560,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:58:07] local.INFO: GPS data processed {"connection_id":216984,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:58:07] local.INFO: Acknowledgment sent {"connection_id":216984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:58:12] local.INFO: TCP Data received {"connection_id":216984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444113b0012d0a73400705dec8001c002215..."} 
[2026-10-16 15:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444113b0012d0a73400705dec8001c002215..."} 
[2026-10-16 15:58:12] local.INFO: Processing buffer {"connection_id":216984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444113b0012d0a73400705dec8001c002215..."} 
[2026-10-16 15:58:12] local.INFO: Packet analysis {"connection_id":216984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14441"} 
[2026-10-16 15:58:12] local.INFO: Extracted packet for processing {"connection_id":216984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14441"} 
[2026-10-16 15:58:12] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117825224,"longitude_deg":75.5659584,"latitude_deg":11.7825224,"altitude":28,"angle":34,"satellites":21,"speed":13,"hex_longitude":"2d0a7340","hex_latitude":"0705dec8","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789498112001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36511839105843200,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855375833088,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792146478000,"timestamp_ms":1792146478000,"timestamp_seconds":1792146478,"priority":1,"record_length":96,"hex_timestamp":"000001a1444113b0"} 
[2026-10-16 15:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:58:12] 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-10-16 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 15:58:12] 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-10-16 15: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-10-16 15:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":216984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":216984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":216984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789498112001,"66":14428,"153":206,"94":10240,"24":13,"16":36511839105843200,"45":752804855375833088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 15:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789498112001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:58:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 15:58:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36511839105843200,"km_value":36511839105843.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855375833088,"description":"Unknown IO ID 45"} 
[2026-10-16 15:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789498112001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":752804855375833088}} 
[2026-10-16 15:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":216984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":561,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:58:12] local.INFO: GPS data processed {"connection_id":216984,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:58:12] local.INFO: Acknowledgment sent {"connection_id":216984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:58:21] local.INFO: TCP Data received {"connection_id":216985,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:58:21] local.INFO: Processing buffer {"connection_id":216985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:58:21] local.INFO: IMEI packet received {"connection_id":216985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":216985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:58:26] local.INFO: TCP Data received {"connection_id":216985,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:58:26] local.INFO: Processing buffer {"connection_id":216985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:58:26] local.INFO: IMEI packet received {"connection_id":216985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":216985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:58:27] local.INFO: TCP Data received {"connection_id":216985,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:58:27] local.INFO: Processing buffer {"connection_id":216985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:58:27] local.INFO: Packet analysis {"connection_id":216985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 15:58:27] local.INFO: Extracted packet for processing {"connection_id":216985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 15:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 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-10-16 15:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 15:58:27] 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-10-16 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-10-16 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-10-16 15:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:58:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:58:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":216985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:58:27] local.INFO: GPS data processed {"connection_id":216985,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:58:27] local.INFO: Acknowledgment sent {"connection_id":216985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:58:32] local.INFO: TCP Data received {"connection_id":216985,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:58:32] local.INFO: Processing buffer {"connection_id":216985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:58:32] local.INFO: Packet analysis {"connection_id":216985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 15:58:32] local.INFO: Extracted packet for processing {"connection_id":216985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 15:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 15:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 15:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:58:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":216985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:58:32] local.INFO: GPS data processed {"connection_id":216985,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:58:32] local.INFO: Acknowledgment sent {"connection_id":216985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:58:44] local.INFO: TCP Data received {"connection_id":216984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144411f68012d0a75400705e358001b001514..."} 
[2026-10-16 15:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144411f68012d0a75400705e358001b001514..."} 
[2026-10-16 15:58:44] local.INFO: Processing buffer {"connection_id":216984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144411f68012d0a75400705e358001b001514..."} 
[2026-10-16 15:58:44] local.INFO: Packet analysis {"connection_id":216984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14441"} 
[2026-10-16 15:58:44] local.INFO: Extracted packet for processing {"connection_id":216984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14441"} 
[2026-10-16 15:58:44] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117826392,"longitude_deg":75.5660096,"latitude_deg":11.7826392,"altitude":27,"angle":21,"satellites":20,"speed":19,"hex_longitude":"2d0a7540","hex_latitude":"0705e358","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789498368001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36511903530352640,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961608439808,"note":"Value kept but may cause issues"} 
[2026-10-16 15:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792146481000,"timestamp_ms":1792146481000,"timestamp_seconds":1792146481,"priority":1,"record_length":96,"hex_timestamp":"000001a144411f68"} 
[2026-10-16 15:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 15:58:44] 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-10-16 15: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-10-16 15:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":216984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":216984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":216984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:58:44] 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-10-16 15:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789498368001,"66":14613,"153":206,"94":10240,"24":19,"16":36511903530352640,"45":753015961608439808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 15:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789498368001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:58:44] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 15:58:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36511903530352640,"km_value":36511903530352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961608439808,"description":"Unknown IO ID 45"} 
[2026-10-16 15:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789498368001,"power":14613,"unknown_153":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":753015961608439808}} 
[2026-10-16 15:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":216984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":564,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:58:44] local.INFO: GPS data processed {"connection_id":216984,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:58:44] local.INFO: Acknowledgment sent {"connection_id":216984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:59:01] local.INFO: TCP Data received {"connection_id":220051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220051,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:59:01] local.INFO: Processing buffer {"connection_id":220051,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:59:01] local.INFO: IMEI packet received {"connection_id":220051,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 15:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":220051,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:59:06] local.INFO: TCP Data received {"connection_id":220051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220051,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:59:06] local.INFO: Processing buffer {"connection_id":220051,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 15:59:06] local.INFO: IMEI packet received {"connection_id":220051,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 15:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":220051,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:59:07] local.INFO: TCP Data received {"connection_id":220051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144412738012d0a76400705e758001b000315..."} 
[2026-10-16 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144412738012d0a76400705e758001b000315..."} 
[2026-10-16 15:59:07] local.INFO: Processing buffer {"connection_id":220051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144412738012d0a76400705e758001b000315..."} 
[2026-10-16 15:59:07] local.INFO: Packet analysis {"connection_id":220051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14441"} 
[2026-10-16 15:59:07] local.INFO: Extracted packet for processing {"connection_id":220051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14441"} 
[2026-10-16 15:59:07] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117827416,"longitude_deg":75.5660352,"latitude_deg":11.7827416,"altitude":27,"angle":3,"satellites":21,"speed":20,"hex_longitude":"2d0a7640","hex_latitude":"0705e758","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789499136001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36511955069960192,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911562160128,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:07] 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-10-16 15:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792146483000,"timestamp_ms":1792146483000,"timestamp_seconds":1792146483,"priority":1,"record_length":96,"hex_timestamp":"000001a144412738"} 
[2026-10-16 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-10-16 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-10-16 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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-10-16 15:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 15:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":220051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":220051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":220051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789499136001,"66":14450,"153":206,"94":10240,"24":20,"16":36511955069960192,"45":753578911562160128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 15:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789499136001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:59:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 15:59:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36511955069960192,"km_value":36511955069960.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911562160128,"description":"Unknown IO ID 45"} 
[2026-10-16 15:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789499136001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":753578911562160128}} 
[2026-10-16 15:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":220051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:59:07] local.INFO: GPS data processed {"connection_id":220051,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:59:07] local.INFO: Acknowledgment sent {"connection_id":220051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:59:15] local.INFO: TCP Data received {"connection_id":220052,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:59:15] local.INFO: Processing buffer {"connection_id":220052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:59:15] local.INFO: IMEI packet received {"connection_id":220052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 15:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":220052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 15:59:21] local.INFO: TCP Data received {"connection_id":220052,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:59:21] local.INFO: Processing buffer {"connection_id":220052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 15:59:21] local.INFO: IMEI packet received {"connection_id":220052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 15:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":220052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 15:59:23] local.INFO: TCP Data received {"connection_id":220052,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:59:23] local.INFO: Processing buffer {"connection_id":220052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:59:23] local.INFO: Packet analysis {"connection_id":220052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 15:59:23] local.INFO: Extracted packet for processing {"connection_id":220052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 15:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 15:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 15:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 15:59:23] 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-10-16 15:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 15:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:59:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:59:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":220052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:59:23] local.INFO: GPS data processed {"connection_id":220052,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:59:23] local.INFO: Acknowledgment sent {"connection_id":220052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:59:38] local.INFO: TCP Data received {"connection_id":220051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144414678012d0a76800705f7480019016015..."} 
[2026-10-16 15:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144414678012d0a76800705f7480019016015..."} 
[2026-10-16 15:59:38] local.INFO: Processing buffer {"connection_id":220051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144414678012d0a76800705f7480019016015..."} 
[2026-10-16 15:59:38] local.INFO: Packet analysis {"connection_id":220051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14441"} 
[2026-10-16 15:59:38] local.INFO: Extracted packet for processing {"connection_id":220051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14441"} 
[2026-10-16 15:59:38] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117831496,"longitude_deg":75.5660416,"latitude_deg":11.7831496,"altitude":25,"angle":352,"satellites":21,"speed":19,"hex_longitude":"2d0a7680","hex_latitude":"0705f748","is_valid_coordinates":true} 
[2026-10-16 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-10-16 15:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789499648001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36512152638455808,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386539132928,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:38] 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-10-16 15:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792146491000,"timestamp_ms":1792146491000,"timestamp_seconds":1792146491,"priority":1,"record_length":96,"hex_timestamp":"000001a144414678"} 
[2026-10-16 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-10-16 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-10-16 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 15:59:38] 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-10-16 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-10-16 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-10-16 15:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":220051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":220051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":220051,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 15:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 15:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 15:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789499648001,"66":14439,"153":206,"94":10240,"24":19,"16":36512152638455808,"45":753860386539132928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 15:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 15:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 15:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789499648001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:59:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 15:59:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 15:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36512152638455808,"km_value":36512152638455.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386539132928,"description":"Unknown IO ID 45"} 
[2026-10-16 15:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789499648001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":753860386539132928}} 
[2026-10-16 15:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":220051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":567,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:59:38] local.INFO: GPS data processed {"connection_id":220051,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:59:38] local.INFO: Acknowledgment sent {"connection_id":220051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 15:59:54] local.INFO: TCP Data received {"connection_id":220052,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:59:54] local.INFO: Processing buffer {"connection_id":220052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 15:59:54] local.INFO: Packet analysis {"connection_id":220052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 15:59:54] local.INFO: Extracted packet for processing {"connection_id":220052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 15:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 15: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-10-16 15:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 15:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 15:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 15:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 15:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 15:59:54] 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-10-16 15: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-10-16 15:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 15:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 15:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 15:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 15:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 15:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 15:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 15:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 15:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 15:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 15:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 15:59:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 15:59:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 15:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 15:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 15:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 15:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":220052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 15:59:54] local.INFO: GPS data processed {"connection_id":220052,"processed":1,"errors":0,"total":1} 
[2026-10-16 15:59:54] local.INFO: Acknowledgment sent {"connection_id":220052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:00:01] local.INFO: TCP Data received {"connection_id":216767,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216767,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:00:01] local.INFO: Processing buffer {"connection_id":216767,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:00:01] local.INFO: IMEI packet received {"connection_id":216767,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":216767,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:00:06] local.INFO: TCP Data received {"connection_id":216767,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216767,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:00:06] local.INFO: Processing buffer {"connection_id":216767,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:00:06] local.INFO: IMEI packet received {"connection_id":216767,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":216767,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:00:07] local.INFO: TCP Data received {"connection_id":216767,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14442b5a8012d0a7440070604c80016009c15..."} 
[2026-10-16 16:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14442b5a8012d0a7440070604c80016009c15..."} 
[2026-10-16 16:00:07] local.INFO: Processing buffer {"connection_id":216767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14442b5a8012d0a7440070604c80016009c15..."} 
[2026-10-16 16:00:07] local.INFO: Packet analysis {"connection_id":216767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14442"} 
[2026-10-16 16:00:07] local.INFO: Extracted packet for processing {"connection_id":216767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14442"} 
[2026-10-16 16:00:07] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117834952,"longitude_deg":75.565984,"latitude_deg":11.7834952,"altitude":22,"angle":156,"satellites":21,"speed":1,"hex_longitude":"2d0a7440","hex_latitude":"070604c8","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789525248001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36512397451591680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587661312,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:07] 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-10-16 16:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792146585000,"timestamp_ms":1792146585000,"timestamp_seconds":1792146585,"priority":1,"record_length":96,"hex_timestamp":"000001a14442b5a8"} 
[2026-10-16 16:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:00: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-10-16 16:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 16:00:07] 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-10-16 16: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-10-16 16:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789525248001,"66":14548,"153":206,"94":10240,"24":1,"16":36512397451591680,"45":753297436587661312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 16:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789525248001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:00:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 16:00:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36512397451591680,"km_value":36512397451591.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587661312,"description":"Unknown IO ID 45"} 
[2026-10-16 16:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789525248001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753297436587661312}} 
[2026-10-16 16:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":216767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":569,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:00:07] local.INFO: GPS data processed {"connection_id":216767,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:00:07] local.INFO: Acknowledgment sent {"connection_id":216767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:00:15] local.INFO: TCP Data received {"connection_id":216986,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:00:15] local.INFO: Processing buffer {"connection_id":216986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:00:15] local.INFO: IMEI packet received {"connection_id":216986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":216986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:00:21] local.INFO: TCP Data received {"connection_id":216986,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:00:21] local.INFO: Processing buffer {"connection_id":216986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:00:21] local.INFO: IMEI packet received {"connection_id":216986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":216986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:00:22] local.INFO: TCP Data received {"connection_id":216986,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:00:22] local.INFO: Processing buffer {"connection_id":216986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:00:22] local.INFO: Packet analysis {"connection_id":216986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:00:22] local.INFO: Extracted packet for processing {"connection_id":216986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 16:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 16:00:22] 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-10-16 16:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:00:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:00:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":216986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:00:22] local.INFO: GPS data processed {"connection_id":216986,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:00:22] local.INFO: Acknowledgment sent {"connection_id":216986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:00:39] local.INFO: TCP Data received {"connection_id":216767,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14442bd78012d0a74c0070604900016009015..."} 
[2026-10-16 16:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14442bd78012d0a74c0070604900016009015..."} 
[2026-10-16 16:00:39] local.INFO: Processing buffer {"connection_id":216767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14442bd78012d0a74c0070604900016009015..."} 
[2026-10-16 16:00:39] local.INFO: Packet analysis {"connection_id":216767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14442"} 
[2026-10-16 16:00:39] local.INFO: Extracted packet for processing {"connection_id":216767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14442"} 
[2026-10-16 16:00:39] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834896,"longitude_deg":75.5659968,"latitude_deg":11.7834896,"altitude":22,"angle":144,"satellites":21,"speed":0,"hex_longitude":"2d0a74c0","hex_latitude":"07060490","is_valid_coordinates":true} 
[2026-10-16 16:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789525760001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36512401746558976,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587640832,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:39] 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-10-16 16:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792146587000,"timestamp_ms":1792146587000,"timestamp_seconds":1792146587,"priority":1,"record_length":96,"hex_timestamp":"000001a14442bd78"} 
[2026-10-16 16:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:00: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-10-16 16:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 16:00:39] 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-10-16 16:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789525760001,"66":14580,"153":206,"94":10240,"24":0,"16":36512401746558976,"45":753297436587640832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 16:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789525760001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:00:39] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 16:00:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36512401746558976,"km_value":36512401746558.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587640832,"description":"Unknown IO ID 45"} 
[2026-10-16 16:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789525760001,"power":14580,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753297436587640832}} 
[2026-10-16 16:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":216767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":571,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:00:39] local.INFO: GPS data processed {"connection_id":216767,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:00:39] local.INFO: Acknowledgment sent {"connection_id":216767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:00:54] local.INFO: TCP Data received {"connection_id":216986,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:00:54] local.INFO: Processing buffer {"connection_id":216986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:00:54] local.INFO: Packet analysis {"connection_id":216986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:00:54] local.INFO: Extracted packet for processing {"connection_id":216986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 16:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 16:00:54] 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-10-16 16: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-10-16 16:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:00:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:00:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":216986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:00:54] local.INFO: GPS data processed {"connection_id":216986,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:00:54] local.INFO: Acknowledgment sent {"connection_id":216986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:01:06] local.INFO: TCP Data received {"connection_id":220053,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220053,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:01:06] local.INFO: Processing buffer {"connection_id":220053,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:01:06] local.INFO: IMEI packet received {"connection_id":220053,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":220053,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:01:07] local.INFO: TCP Data received {"connection_id":220053,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220053,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:01:07] local.INFO: Processing buffer {"connection_id":220053,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:01:07] local.INFO: IMEI packet received {"connection_id":220053,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":220053,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:01:10] local.INFO: TCP Data received {"connection_id":220053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14442c160012d0a74c0070604780016007e15..."} 
[2026-10-16 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14442c160012d0a74c0070604780016007e15..."} 
[2026-10-16 16:01:10] local.INFO: Processing buffer {"connection_id":220053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14442c160012d0a74c0070604780016007e15..."} 
[2026-10-16 16:01:10] local.INFO: Packet analysis {"connection_id":220053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14442"} 
[2026-10-16 16:01:10] local.INFO: Extracted packet for processing {"connection_id":220053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14442"} 
[2026-10-16 16:01:10] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834872,"longitude_deg":75.5659968,"latitude_deg":11.7834872,"altitude":22,"angle":126,"satellites":21,"speed":0,"hex_longitude":"2d0a74c0","hex_latitude":"07060478","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789526272001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36512401746558976,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075981824,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:10] 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-10-16 16:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792146588000,"timestamp_ms":1792146588000,"timestamp_seconds":1792146588,"priority":1,"record_length":96,"hex_timestamp":"000001a14442c160"} 
[2026-10-16 16:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:01: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-10-16 16:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-16 16:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":220053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":220053,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":220053,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789526272001,"66":14559,"153":206,"94":10240,"24":0,"16":36512401746558976,"45":753438174075981824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 16:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789526272001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:01:10] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 16:01:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36512401746558976,"km_value":36512401746558.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075981824,"description":"Unknown IO ID 45"} 
[2026-10-16 16:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789526272001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753438174075981824}} 
[2026-10-16 16:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":220053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:01:10] local.INFO: GPS data processed {"connection_id":220053,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:01:10] local.INFO: Acknowledgment sent {"connection_id":220053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:01:11] local.INFO: TCP Data received {"connection_id":220053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144431368012d0a74c0070604700016007e16..."} 
[2026-10-16 16:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144431368012d0a74c0070604700016007e16..."} 
[2026-10-16 16:01:11] local.INFO: Processing buffer {"connection_id":220053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144431368012d0a74c0070604700016007e16..."} 
[2026-10-16 16:01:11] local.INFO: Packet analysis {"connection_id":220053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14443"} 
[2026-10-16 16:01:11] local.INFO: Extracted packet for processing {"connection_id":220053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14443"} 
[2026-10-16 16:01:11] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834864,"longitude_deg":75.5659968,"latitude_deg":11.7834864,"altitude":22,"angle":126,"satellites":22,"speed":0,"hex_longitude":"2d0a74c0","hex_latitude":"07060470","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789526528001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36512401746558976,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075975680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:11] 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-10-16 16:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792146609000,"timestamp_ms":1792146609000,"timestamp_seconds":1792146609,"priority":1,"record_length":96,"hex_timestamp":"000001a144431368"} 
[2026-10-16 16:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:01: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-10-16 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 16:01: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-10-16 16: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-10-16 16:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":220053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":220053,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":220053,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:01:11] 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-10-16 16:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789526528001,"66":14667,"153":206,"94":10240,"24":0,"16":36512401746558976,"45":753438174075975680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 16:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789526528001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:01:11] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 16:01:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36512401746558976,"km_value":36512401746558.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075975680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789526528001,"power":14667,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753438174075975680}} 
[2026-10-16 16:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":220053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":574,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:01:11] local.INFO: GPS data processed {"connection_id":220053,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:01:11] local.INFO: Acknowledgment sent {"connection_id":220053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:01:15] local.INFO: TCP Data received {"connection_id":216987,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:01:15] local.INFO: Processing buffer {"connection_id":216987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:01:15] local.INFO: IMEI packet received {"connection_id":216987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":216987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:01:21] local.INFO: TCP Data received {"connection_id":216987,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:01:21] local.INFO: Processing buffer {"connection_id":216987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:01:21] local.INFO: IMEI packet received {"connection_id":216987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":216987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:01:22] local.INFO: TCP Data received {"connection_id":216987,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:01:22] local.INFO: Processing buffer {"connection_id":216987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:01:22] local.INFO: Packet analysis {"connection_id":216987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:01:22] local.INFO: Extracted packet for processing {"connection_id":216987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 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-10-16 16:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 16:01:22] 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-10-16 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-10-16 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-10-16 16:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:01:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:01:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":216987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:01:22] local.INFO: GPS data processed {"connection_id":216987,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:01:22] local.INFO: Acknowledgment sent {"connection_id":216987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:01:42] local.INFO: TCP Data received {"connection_id":220053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144436570012d0a74c0070604700016007e17..."} 
[2026-10-16 16:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144436570012d0a74c0070604700016007e17..."} 
[2026-10-16 16:01:42] local.INFO: Processing buffer {"connection_id":220053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144436570012d0a74c0070604700016007e17..."} 
[2026-10-16 16:01:42] local.INFO: Packet analysis {"connection_id":220053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14443"} 
[2026-10-16 16:01:42] local.INFO: Extracted packet for processing {"connection_id":220053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14443"} 
[2026-10-16 16:01:42] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834864,"longitude_deg":75.5659968,"latitude_deg":11.7834864,"altitude":22,"angle":126,"satellites":23,"speed":0,"hex_longitude":"2d0a74c0","hex_latitude":"07060470","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789531904001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36512401746558976,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075973632,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:42] 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-10-16 16:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792146630000,"timestamp_ms":1792146630000,"timestamp_seconds":1792146630,"priority":1,"record_length":96,"hex_timestamp":"000001a144436570"} 
[2026-10-16 16:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:01: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-10-16 16: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":57,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-10-16 16:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1158,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":220053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":220053,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":220053,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:01:42] 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-10-16 16:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789531904001,"66":14374,"153":206,"94":10240,"24":0,"16":36512401746558976,"45":753438174075973632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 16:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789531904001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:01:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 16:01:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36512401746558976,"km_value":36512401746558.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075973632,"description":"Unknown IO ID 45"} 
[2026-10-16 16:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789531904001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753438174075973632}} 
[2026-10-16 16:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":220053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:01:42] local.INFO: GPS data processed {"connection_id":220053,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:01:42] local.INFO: Acknowledgment sent {"connection_id":220053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:01:54] local.INFO: TCP Data received {"connection_id":216987,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:01:54] local.INFO: Processing buffer {"connection_id":216987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:01:54] local.INFO: Packet analysis {"connection_id":216987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:01:54] local.INFO: Extracted packet for processing {"connection_id":216987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 16:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 16:01:54] 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-10-16 16:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:01:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:01:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":216987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:01:54] local.INFO: GPS data processed {"connection_id":216987,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:01:54] local.INFO: Acknowledgment sent {"connection_id":216987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:02:00] local.INFO: TCP Data received {"connection_id":216768,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:00] local.INFO: Processing buffer {"connection_id":216768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:00] local.INFO: IMEI packet received {"connection_id":216768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":216768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:02:01] local.INFO: TCP Data received {"connection_id":216768,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:01] local.INFO: Processing buffer {"connection_id":216768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:01] local.INFO: IMEI packet received {"connection_id":216768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":216768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:02:06] local.INFO: TCP Data received {"connection_id":216768,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:06] local.INFO: Processing buffer {"connection_id":216768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:06] local.INFO: IMEI packet received {"connection_id":216768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":216768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:02:07] local.INFO: TCP Data received {"connection_id":216768,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144449620012d0a82000705a8b8002200c117..."} 
[2026-10-16 16:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144449620012d0a82000705a8b8002200c117..."} 
[2026-10-16 16:02:07] local.INFO: Processing buffer {"connection_id":216768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144449620012d0a82000705a8b8002200c117..."} 
[2026-10-16 16:02:07] local.INFO: Packet analysis {"connection_id":216768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:02:07] local.INFO: Extracted packet for processing {"connection_id":216768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":755663360,"raw_latitude":117811384,"longitude_deg":75.566336,"latitude_deg":11.7811384,"altitude":34,"angle":193,"satellites":23,"speed":10,"hex_longitude":"2d0a8200","hex_latitude":"0705a8b8","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789556992001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36513604337401856,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255624192,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:07] 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-10-16 16:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792146708000,"timestamp_ms":1792146708000,"timestamp_seconds":1792146708,"priority":1,"record_length":96,"hex_timestamp":"000001a144449620"} 
[2026-10-16 16:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:02: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-10-16 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 16:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789556992001,"66":14439,"153":206,"94":10240,"24":10,"16":36513604337401856,"45":757238086255624192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 16:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789556992001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:02:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 16:02:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36513604337401856,"km_value":36513604337401.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255624192,"description":"Unknown IO ID 45"} 
[2026-10-16 16:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789556992001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":757238086255624192}} 
[2026-10-16 16:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":216768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:02:07] local.INFO: GPS data processed {"connection_id":216768,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:02:07] local.INFO: Acknowledgment sent {"connection_id":216768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:02:21] local.INFO: TCP Data received {"connection_id":216988,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:02:21] local.INFO: Processing buffer {"connection_id":216988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:02:21] local.INFO: IMEI packet received {"connection_id":216988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":216988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:02:26] local.INFO: TCP Data received {"connection_id":218329,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:02:26] local.INFO: Processing buffer {"connection_id":218329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:02:26] local.INFO: IMEI packet received {"connection_id":218329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":218329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:02:26] local.INFO: TCP Data received {"connection_id":216988,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:02:26] local.INFO: Processing buffer {"connection_id":216988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:02:26] local.INFO: IMEI packet received {"connection_id":216988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":216988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:02:28] local.INFO: TCP Data received {"connection_id":216988,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:02:28] local.INFO: Processing buffer {"connection_id":216988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:02:28] local.INFO: Packet analysis {"connection_id":216988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:02:28] local.INFO: Extracted packet for processing {"connection_id":216988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 16:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 16:02:28] 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-10-16 16:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:02:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:02:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":216988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:02:28] local.INFO: GPS data processed {"connection_id":216988,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:02:28] local.INFO: Acknowledgment sent {"connection_id":216988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:02:31] local.INFO: TCP Data received {"connection_id":216988,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:02:31] local.INFO: Processing buffer {"connection_id":216988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144401d98012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:02:31] local.INFO: Packet analysis {"connection_id":216988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:02:31] local.INFO: Extracted packet for processing {"connection_id":216988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14440"} 
[2026-10-16 16:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789405184001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792146415000,"timestamp_ms":1792146415000,"timestamp_seconds":1792146415,"priority":1,"record_length":96,"hex_timestamp":"000001a144401d98"} 
[2026-10-16 16:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 16:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789405184001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789405184001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:02:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:02:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789405184001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":216988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:02:31] local.INFO: GPS data processed {"connection_id":216988,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:02:31] local.INFO: Acknowledgment sent {"connection_id":216988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:02:39] local.INFO: TCP Data received {"connection_id":216768,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144449a08012d0a81c00705a798002200d016..."} 
[2026-10-16 16:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144449a08012d0a81c00705a798002200d016..."} 
[2026-10-16 16:02:39] local.INFO: Processing buffer {"connection_id":216768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144449a08012d0a81c00705a798002200d016..."} 
[2026-10-16 16:02:39] local.INFO: Packet analysis {"connection_id":216768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:02:39] local.INFO: Extracted packet for processing {"connection_id":216768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:02:39] local.INFO: GPS Element Parsed {"raw_longitude":755663296,"raw_latitude":117811096,"longitude_deg":75.5663296,"latitude_deg":11.7811096,"altitude":34,"angle":208,"satellites":22,"speed":12,"hex_longitude":"2d0a81c0","hex_latitude":"0705a798","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789557248001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36513621517271040,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757167717511378944,"note":"Value kept but may cause issues"} 
[2026-10-16 16:02:39] 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-10-16 16:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792146709000,"timestamp_ms":1792146709000,"timestamp_seconds":1792146709,"priority":1,"record_length":96,"hex_timestamp":"000001a144449a08"} 
[2026-10-16 16:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:02: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-10-16 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 16:02:39] 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-10-16 16: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-10-16 16:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789557248001,"66":14407,"153":206,"94":10240,"24":12,"16":36513621517271040,"45":757167717511378944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 16:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789557248001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:02:39] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 16:02:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36513621517271040,"km_value":36513621517271.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":757167717511378944,"description":"Unknown IO ID 45"} 
[2026-10-16 16:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789557248001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":757167717511378944}} 
[2026-10-16 16:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":216768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:02:40] local.INFO: GPS data processed {"connection_id":216768,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:02:40] local.INFO: Acknowledgment sent {"connection_id":216768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:02:56] local.INFO: TCP Data received {"connection_id":216769,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:02:56] local.INFO: Processing buffer {"connection_id":216769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:02:56] local.INFO: IMEI packet received {"connection_id":216769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":216769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:02:58] local.INFO: TCP Data received {"connection_id":218330,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:58] local.INFO: Processing buffer {"connection_id":218330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:02:58] local.INFO: IMEI packet received {"connection_id":218330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":218330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:03:01] local.INFO: TCP Data received {"connection_id":218330,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:03:01] local.INFO: Processing buffer {"connection_id":218330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:03:01] local.INFO: IMEI packet received {"connection_id":218330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":218330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:03:06] local.INFO: TCP Data received {"connection_id":218330,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:03:06] local.INFO: Processing buffer {"connection_id":218330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:03:06] local.INFO: IMEI packet received {"connection_id":218330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":218330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:03:07] local.INFO: TCP Data received {"connection_id":218330,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14444bd30012d0a74c0070595e0002100dc17..."} 
[2026-10-16 16:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444bd30012d0a74c0070595e0002100dc17..."} 
[2026-10-16 16:03:07] local.INFO: Processing buffer {"connection_id":218330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444bd30012d0a74c0070595e0002100dc17..."} 
[2026-10-16 16:03:07] local.INFO: Packet analysis {"connection_id":218330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:03:07] local.INFO: Extracted packet for processing {"connection_id":218330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:03:07] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117806560,"longitude_deg":75.5659968,"latitude_deg":11.780656,"altitude":33,"angle":220,"satellites":23,"speed":27,"hex_longitude":"2d0a74c0","hex_latitude":"070595e0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789557504001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36513892100210688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348767127552,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:07] 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-10-16 16:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792146718000,"timestamp_ms":1792146718000,"timestamp_seconds":1792146718,"priority":1,"record_length":96,"hex_timestamp":"000001a14444bd30"} 
[2026-10-16 16:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:03: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-10-16 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 16:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":218330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":218330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":218330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789557504001,"66":14374,"153":206,"94":10240,"24":27,"16":36513892100210688,"45":757097348767127552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 16:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789557504001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:03:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 16:03:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36513892100210688,"km_value":36513892100210.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348767127552,"description":"Unknown IO ID 45"} 
[2026-10-16 16:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789557504001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":757097348767127552}} 
[2026-10-16 16:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":218330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:03:07] local.INFO: GPS data processed {"connection_id":218330,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:03:07] local.INFO: Acknowledgment sent {"connection_id":218330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:03:16] local.INFO: TCP Data received {"connection_id":220054,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:03:16] local.INFO: Processing buffer {"connection_id":220054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:03:16] local.INFO: IMEI packet received {"connection_id":220054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":220054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:03:21] local.INFO: TCP Data received {"connection_id":220054,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:03:21] local.INFO: Processing buffer {"connection_id":220054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:03:21] local.INFO: IMEI packet received {"connection_id":220054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":220054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:03:22] local.INFO: TCP Data received {"connection_id":220054,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:03:22] local.INFO: Processing buffer {"connection_id":220054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:03:22] local.INFO: Packet analysis {"connection_id":220054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:03:22] local.INFO: Extracted packet for processing {"connection_id":220054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789482240001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792146716000,"timestamp_ms":1792146716000,"timestamp_seconds":1792146716,"priority":1,"record_length":96,"hex_timestamp":"000001a14444b560"} 
[2026-10-16 16:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789482240001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789482240001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:03:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:03:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789482240001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":220054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:03:22] local.INFO: GPS data processed {"connection_id":220054,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:03:22] local.INFO: Acknowledgment sent {"connection_id":220054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:03:38] local.INFO: TCP Data received {"connection_id":218330,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14444e828012d0a67c007058770002000e817..."} 
[2026-10-16 16:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444e828012d0a67c007058770002000e817..."} 
[2026-10-16 16:03:38] local.INFO: Processing buffer {"connection_id":218330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444e828012d0a67c007058770002000e817..."} 
[2026-10-16 16:03:38] local.INFO: Packet analysis {"connection_id":218330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:03:38] local.INFO: Extracted packet for processing {"connection_id":218330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":755656640,"raw_latitude":117802864,"longitude_deg":75.565664,"latitude_deg":11.7802864,"altitude":32,"angle":232,"satellites":23,"speed":19,"hex_longitude":"2d0a67c0","hex_latitude":"07058770","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559808001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36514128323411968,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174068727808,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:38] 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-10-16 16:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792146729000,"timestamp_ms":1792146729000,"timestamp_seconds":1792146729,"priority":1,"record_length":96,"hex_timestamp":"000001a14444e828"} 
[2026-10-16 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-10-16 16:03: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-10-16 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 16: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-10-16 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-10-16 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-10-16 16:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":218330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":218330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":218330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559808001,"66":14396,"153":206,"94":10240,"24":19,"16":36514128323411968,"45":753438174068727808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-10-16 16:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559808001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:03:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-10-16 16:03:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36514128323411968,"km_value":36514128323411.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174068727808,"description":"Unknown IO ID 45"} 
[2026-10-16 16:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559808001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":753438174068727808}} 
[2026-10-16 16:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":218330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:03:39] local.INFO: GPS data processed {"connection_id":218330,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:03:39] local.INFO: Acknowledgment sent {"connection_id":218330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:03:40] local.INFO: TCP Data received {"connection_id":220055,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 16:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220055,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 16:03:40] local.INFO: Processing buffer {"connection_id":220055,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 16:03:40] local.INFO: Packet analysis {"connection_id":220055,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 16:03:40] local.INFO: Extracted packet for processing {"connection_id":220055,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 16:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-10-16 16:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:40] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-10-16 16:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-10-16 16:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-10-16 16:03:40] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":220055,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-10-16 16:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":220055,"device_imei":null,"avl_records_count":1} 
[2026-10-16 16:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":220055,"device_imei":null,"avl_records_count":1} 
[2026-10-16 16:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":220055,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 16:03:40] local.INFO: GPS data processed {"connection_id":220055,"processed":0,"errors":0,"total":1} 
[2026-10-16 16:03:40] local.INFO: Acknowledgment sent {"connection_id":220055,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:03:54] local.INFO: TCP Data received {"connection_id":220054,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:03:54] local.INFO: Processing buffer {"connection_id":220054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:03:54] local.INFO: Packet analysis {"connection_id":220054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:03:54] local.INFO: Extracted packet for processing {"connection_id":220054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789482240001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792146716000,"timestamp_ms":1792146716000,"timestamp_seconds":1792146716,"priority":1,"record_length":96,"hex_timestamp":"000001a14444b560"} 
[2026-10-16 16:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:03:54] 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-10-16 16:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789482240001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789482240001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:03:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:03:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789482240001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":220054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:03:54] local.INFO: GPS data processed {"connection_id":220054,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:03:54] local.INFO: Acknowledgment sent {"connection_id":220054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:04:06] local.INFO: TCP Data received {"connection_id":220057,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220057,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:04:06] local.INFO: Processing buffer {"connection_id":220057,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:04:06] local.INFO: IMEI packet received {"connection_id":220057,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":220057,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:04:11] local.INFO: TCP Data received {"connection_id":220057,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220057,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:04:11] local.INFO: Processing buffer {"connection_id":220057,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:04:11] local.INFO: IMEI packet received {"connection_id":220057,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":220057,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:04:13] local.INFO: TCP Data received {"connection_id":220057,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444614f0012d0a454007058770001d00fa16..."} 
[2026-10-16 16:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444614f0012d0a454007058770001d00fa16..."} 
[2026-10-16 16:04:13] local.INFO: Processing buffer {"connection_id":220057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444614f0012d0a454007058770001d00fa16..."} 
[2026-10-16 16:04:13] local.INFO: Packet analysis {"connection_id":220057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14446"} 
[2026-10-16 16:04:13] local.INFO: Extracted packet for processing {"connection_id":220057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14446"} 
[2026-10-16 16:04:13] local.INFO: GPS Element Parsed {"raw_longitude":755647808,"raw_latitude":117802864,"longitude_deg":75.5647808,"latitude_deg":11.7802864,"altitude":29,"angle":250,"satellites":22,"speed":9,"hex_longitude":"2d0a4540","hex_latitude":"07058770","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789581824001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36514699554062336,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740560693883299840,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:13] 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-10-16 16:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792146806000,"timestamp_ms":1792146806000,"timestamp_seconds":1792146806,"priority":1,"record_length":96,"hex_timestamp":"000001a1444614f0"} 
[2026-10-16 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-10-16 16:04: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-10-16 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 16:04:13] 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-10-16 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-10-16 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-10-16 16:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":220057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":220057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":220057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789581824001,"66":14374,"165":206,"94":10240,"24":9,"16":36514699554062336,"45":740560693883299840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 16:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789581824001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:04:13] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 16:04:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36514699554062336,"km_value":36514699554062.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":740560693883299840,"description":"Unknown IO ID 45"} 
[2026-10-16 16:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789581824001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":740560693883299840}} 
[2026-10-16 16:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":220057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":586,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:04:13] local.INFO: GPS data processed {"connection_id":220057,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:04:13] local.INFO: Acknowledgment sent {"connection_id":220057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:04:15] local.INFO: TCP Data received {"connection_id":216989,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:04:15] local.INFO: Processing buffer {"connection_id":216989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:04:15] local.INFO: IMEI packet received {"connection_id":216989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":216989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:04:18] local.INFO: TCP Data received {"connection_id":220057,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144466310012d0a3700070583e8001c00fe17..."} 
[2026-10-16 16:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144466310012d0a3700070583e8001c00fe17..."} 
[2026-10-16 16:04:18] local.INFO: Processing buffer {"connection_id":220057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144466310012d0a3700070583e8001c00fe17..."} 
[2026-10-16 16:04:18] local.INFO: Packet analysis {"connection_id":220057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14446"} 
[2026-10-16 16:04:18] local.INFO: Extracted packet for processing {"connection_id":220057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14446"} 
[2026-10-16 16:04:18] local.INFO: GPS Element Parsed {"raw_longitude":755644160,"raw_latitude":117801960,"longitude_deg":75.564416,"latitude_deg":11.780196,"altitude":28,"angle":254,"satellites":23,"speed":0,"hex_longitude":"2d0a3700","hex_latitude":"070583e8","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789582336001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36514879942688768,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740068112674025472,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04: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-10-16 16:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792146826000,"timestamp_ms":1792146826000,"timestamp_seconds":1792146826,"priority":1,"record_length":96,"hex_timestamp":"000001a144466310"} 
[2026-10-16 16:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 16:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":220057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":220057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":220057,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789582336001,"66":14439,"165":206,"94":10240,"24":0,"16":36514879942688768,"45":740068112674025472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 16:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789582336001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:04:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 16:04:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36514879942688768,"km_value":36514879942688.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":740068112674025472,"description":"Unknown IO ID 45"} 
[2026-10-16 16:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789582336001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":740068112674025472}} 
[2026-10-16 16:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":220057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:04:18] local.INFO: GPS data processed {"connection_id":220057,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:04:18] local.INFO: Acknowledgment sent {"connection_id":220057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:04:21] local.INFO: TCP Data received {"connection_id":216989,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:04:21] local.INFO: Processing buffer {"connection_id":216989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:04:21] local.INFO: IMEI packet received {"connection_id":216989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":216989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:04:22] local.INFO: TCP Data received {"connection_id":216989,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:04:22] local.INFO: Processing buffer {"connection_id":216989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:04:22] local.INFO: Packet analysis {"connection_id":216989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:04:22] local.INFO: Extracted packet for processing {"connection_id":216989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:04:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789482240001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792146716000,"timestamp_ms":1792146716000,"timestamp_seconds":1792146716,"priority":1,"record_length":96,"hex_timestamp":"000001a14444b560"} 
[2026-10-16 16:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789482240001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789482240001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:04:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:04:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789482240001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":216989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:04:22] local.INFO: GPS data processed {"connection_id":216989,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:04:22] local.INFO: Acknowledgment sent {"connection_id":216989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:04:54] local.INFO: TCP Data received {"connection_id":216989,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:04:54] local.INFO: Processing buffer {"connection_id":216989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:04:54] local.INFO: Packet analysis {"connection_id":216989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:04:54] local.INFO: Extracted packet for processing {"connection_id":216989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789482240001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792146716000,"timestamp_ms":1792146716000,"timestamp_seconds":1792146716,"priority":1,"record_length":96,"hex_timestamp":"000001a14444b560"} 
[2026-10-16 16:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:04:54] 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-10-16 16:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789482240001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789482240001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:04:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:04:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789482240001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":216989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:04:54] local.INFO: GPS data processed {"connection_id":216989,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:04:54] local.INFO: Acknowledgment sent {"connection_id":216989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:04:57] local.INFO: TCP Data received {"connection_id":216770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:04:57] local.INFO: Processing buffer {"connection_id":216770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:04:57] local.INFO: IMEI packet received {"connection_id":216770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":216770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:05:00] local.INFO: TCP Data received {"connection_id":216770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:05:00] local.INFO: Processing buffer {"connection_id":216770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:05:00] local.INFO: IMEI packet received {"connection_id":216770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":216770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:05:01] local.INFO: TCP Data received {"connection_id":216770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:05:01] local.INFO: Processing buffer {"connection_id":216770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:05:01] local.INFO: IMEI packet received {"connection_id":216770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":216770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:05:01] local.INFO: TCP Data received {"connection_id":216770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:05:01] local.INFO: Processing buffer {"connection_id":216770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:05:01] local.INFO: IMEI packet received {"connection_id":216770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":216770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:05:15] local.INFO: TCP Data received {"connection_id":216771,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:05:15] local.INFO: Processing buffer {"connection_id":216771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:05:15] local.INFO: IMEI packet received {"connection_id":216771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":216771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:05:20] local.INFO: TCP Data received {"connection_id":216771,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:05:20] local.INFO: Processing buffer {"connection_id":216771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:05:20] local.INFO: IMEI packet received {"connection_id":216771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":216771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:05:21] local.INFO: TCP Data received {"connection_id":216771,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:05:22] local.INFO: Processing buffer {"connection_id":216771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:05:22] local.INFO: Packet analysis {"connection_id":216771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:05:22] local.INFO: Extracted packet for processing {"connection_id":216771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:05:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789482240001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792146716000,"timestamp_ms":1792146716000,"timestamp_seconds":1792146716,"priority":1,"record_length":96,"hex_timestamp":"000001a14444b560"} 
[2026-10-16 16:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789482240001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789482240001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:05:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:05:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789482240001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":216771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:05:22] local.INFO: GPS data processed {"connection_id":216771,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:05:22] local.INFO: Acknowledgment sent {"connection_id":216771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:05:53] local.INFO: TCP Data received {"connection_id":216771,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:05:53] local.INFO: Processing buffer {"connection_id":216771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:05:53] local.INFO: Packet analysis {"connection_id":216771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:05:53] local.INFO: Extracted packet for processing {"connection_id":216771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:05:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789482240001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792146716000,"timestamp_ms":1792146716000,"timestamp_seconds":1792146716,"priority":1,"record_length":96,"hex_timestamp":"000001a14444b560"} 
[2026-10-16 16:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:05: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-10-16 16:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789482240001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789482240001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:05:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:05:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789482240001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":216771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:05:53] local.INFO: GPS data processed {"connection_id":216771,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:05:53] local.INFO: Acknowledgment sent {"connection_id":216771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:06:21] local.INFO: TCP Data received {"connection_id":220059,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:06:21] local.INFO: Processing buffer {"connection_id":220059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:06:21] local.INFO: IMEI packet received {"connection_id":220059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":220059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:06:26] local.INFO: TCP Data received {"connection_id":220059,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:06:26] local.INFO: Processing buffer {"connection_id":220059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:06:26] local.INFO: IMEI packet received {"connection_id":220059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":220059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:06:28] local.INFO: TCP Data received {"connection_id":220059,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:06:28] local.INFO: Processing buffer {"connection_id":220059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:06:28] local.INFO: Packet analysis {"connection_id":220059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:06:28] local.INFO: Extracted packet for processing {"connection_id":220059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:06:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789482240001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792146716000,"timestamp_ms":1792146716000,"timestamp_seconds":1792146716,"priority":1,"record_length":96,"hex_timestamp":"000001a14444b560"} 
[2026-10-16 16:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:06:28] 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-10-16 16:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":220059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":220059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":220059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789482240001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789482240001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:06:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:06:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789482240001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":220059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:06:28] local.INFO: GPS data processed {"connection_id":220059,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:06:28] local.INFO: Acknowledgment sent {"connection_id":220059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:06:32] local.INFO: TCP Data received {"connection_id":220059,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:06:32] local.INFO: Processing buffer {"connection_id":220059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:06:32] local.INFO: Packet analysis {"connection_id":220059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:06:32] local.INFO: Extracted packet for processing {"connection_id":220059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789482240001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792146716000,"timestamp_ms":1792146716000,"timestamp_seconds":1792146716,"priority":1,"record_length":96,"hex_timestamp":"000001a14444b560"} 
[2026-10-16 16:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":220059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":220059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":220059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789482240001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789482240001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:06:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:06:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789482240001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":220059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:06:32] local.INFO: GPS data processed {"connection_id":220059,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:06:32] local.INFO: Acknowledgment sent {"connection_id":220059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:07:16] local.INFO: TCP Data received {"connection_id":216991,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:07:16] local.INFO: Processing buffer {"connection_id":216991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:07:16] local.INFO: IMEI packet received {"connection_id":216991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":216991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:07:21] local.INFO: TCP Data received {"connection_id":216991,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:07:21] local.INFO: Processing buffer {"connection_id":216991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:07:21] local.INFO: IMEI packet received {"connection_id":216991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":216991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:07:23] local.INFO: TCP Data received {"connection_id":216991,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:07:23] local.INFO: Processing buffer {"connection_id":216991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:07:23] local.INFO: Packet analysis {"connection_id":216991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:07:23] local.INFO: Extracted packet for processing {"connection_id":216991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789482240001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792146716000,"timestamp_ms":1792146716000,"timestamp_seconds":1792146716,"priority":1,"record_length":96,"hex_timestamp":"000001a14444b560"} 
[2026-10-16 16:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:07:23] 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-10-16 16:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789482240001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789482240001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:07:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:07:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789482240001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":216991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:07:23] local.INFO: GPS data processed {"connection_id":216991,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:07:23] local.INFO: Acknowledgment sent {"connection_id":216991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:07:27] local.INFO: TCP Data received {"connection_id":216991,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:07:27] local.INFO: Processing buffer {"connection_id":216991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14444b560012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:07:27] local.INFO: Packet analysis {"connection_id":216991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:07:27] local.INFO: Extracted packet for processing {"connection_id":216991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14444"} 
[2026-10-16 16:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789482240001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792146716000,"timestamp_ms":1792146716000,"timestamp_seconds":1792146716,"priority":1,"record_length":96,"hex_timestamp":"000001a14444b560"} 
[2026-10-16 16:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:07:27] 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-10-16 16:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789482240001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789482240001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:07:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:07:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789482240001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":216991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:07:27] local.INFO: GPS data processed {"connection_id":216991,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:07:27] local.INFO: Acknowledgment sent {"connection_id":216991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:07:58] local.INFO: TCP Data received {"connection_id":216991,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:07:58] local.INFO: Processing buffer {"connection_id":216991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:07:58] local.INFO: Packet analysis {"connection_id":216991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:07:58] local.INFO: Extracted packet for processing {"connection_id":216991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792147017000,"timestamp_ms":1792147017000,"timestamp_seconds":1792147017,"priority":1,"record_length":96,"hex_timestamp":"000001a144494d28"} 
[2026-10-16 16:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:07:58] 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-10-16 16:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559296001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:07:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:07:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559296001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":216991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:07:58] local.INFO: GPS data processed {"connection_id":216991,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:07:58] local.INFO: Acknowledgment sent {"connection_id":216991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:08:15] local.INFO: TCP Data received {"connection_id":220061,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:08:15] local.INFO: Processing buffer {"connection_id":220061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:08:15] local.INFO: IMEI packet received {"connection_id":220061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":220061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:08:21] local.INFO: TCP Data received {"connection_id":220060,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:08:21] local.INFO: Processing buffer {"connection_id":220060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:08:21] local.INFO: IMEI packet received {"connection_id":220060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":220060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:08:21] local.INFO: TCP Data received {"connection_id":220061,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:08:21] local.INFO: Processing buffer {"connection_id":220061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:08:21] local.INFO: IMEI packet received {"connection_id":220061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":220061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:08:23] local.INFO: TCP Data received {"connection_id":220061,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:08:23] local.INFO: Processing buffer {"connection_id":220061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:08:23] local.INFO: Packet analysis {"connection_id":220061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:08:23] local.INFO: Extracted packet for processing {"connection_id":220061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792147017000,"timestamp_ms":1792147017000,"timestamp_seconds":1792147017,"priority":1,"record_length":96,"hex_timestamp":"000001a144494d28"} 
[2026-10-16 16:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:08:23] 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-10-16 16:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559296001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:08:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:08:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559296001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":220061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:08:23] local.INFO: GPS data processed {"connection_id":220061,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:08:23] local.INFO: Acknowledgment sent {"connection_id":220061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:08:55] local.INFO: TCP Data received {"connection_id":220061,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:08:55] local.INFO: Processing buffer {"connection_id":220061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:08:55] local.INFO: Packet analysis {"connection_id":220061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:08:55] local.INFO: Extracted packet for processing {"connection_id":220061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792147017000,"timestamp_ms":1792147017000,"timestamp_seconds":1792147017,"priority":1,"record_length":96,"hex_timestamp":"000001a144494d28"} 
[2026-10-16 16:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:08:55] 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-10-16 16:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559296001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:08:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:08:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559296001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":220061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:08:55] local.INFO: GPS data processed {"connection_id":220061,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:08:55] local.INFO: Acknowledgment sent {"connection_id":220061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:09:00] local.INFO: TCP Data received {"connection_id":216992,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:09:00] local.INFO: Processing buffer {"connection_id":216992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:09:00] local.INFO: IMEI packet received {"connection_id":216992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":216992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:09:16] local.INFO: TCP Data received {"connection_id":216993,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:09:16] local.INFO: Processing buffer {"connection_id":216993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:09:16] local.INFO: IMEI packet received {"connection_id":216993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":216993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:09:21] local.INFO: TCP Data received {"connection_id":216993,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:09:21] local.INFO: Processing buffer {"connection_id":216993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:09:21] local.INFO: IMEI packet received {"connection_id":216993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":216993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:09:22] local.INFO: TCP Data received {"connection_id":216993,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:09:22] local.INFO: Processing buffer {"connection_id":216993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:09:22] local.INFO: Packet analysis {"connection_id":216993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:09:22] local.INFO: Extracted packet for processing {"connection_id":216993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792147017000,"timestamp_ms":1792147017000,"timestamp_seconds":1792147017,"priority":1,"record_length":96,"hex_timestamp":"000001a144494d28"} 
[2026-10-16 16:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:09:22] 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-10-16 16:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559296001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:09:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:09:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559296001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":216993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:09:22] local.INFO: GPS data processed {"connection_id":216993,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:09:22] local.INFO: Acknowledgment sent {"connection_id":216993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:09:53] local.INFO: TCP Data received {"connection_id":216993,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:09:53] local.INFO: Processing buffer {"connection_id":216993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:09:53] local.INFO: Packet analysis {"connection_id":216993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:09:53] local.INFO: Extracted packet for processing {"connection_id":216993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792147017000,"timestamp_ms":1792147017000,"timestamp_seconds":1792147017,"priority":1,"record_length":96,"hex_timestamp":"000001a144494d28"} 
[2026-10-16 16:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:09: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-10-16 16:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:09:53] 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-10-16 16:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559296001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:09:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:09:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559296001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":216993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:09:53] local.INFO: GPS data processed {"connection_id":216993,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:09:53] local.INFO: Acknowledgment sent {"connection_id":216993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:10:21] local.INFO: TCP Data received {"connection_id":216994,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:10:21] local.INFO: Processing buffer {"connection_id":216994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:10:21] local.INFO: IMEI packet received {"connection_id":216994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":216994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:10:26] local.INFO: TCP Data received {"connection_id":216994,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:10:26] local.INFO: Processing buffer {"connection_id":216994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:10:26] local.INFO: IMEI packet received {"connection_id":216994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":216994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:10:27] local.INFO: TCP Data received {"connection_id":216994,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:10:27] local.INFO: Processing buffer {"connection_id":216994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:10:27] local.INFO: Packet analysis {"connection_id":216994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:10:27] local.INFO: Extracted packet for processing {"connection_id":216994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792147017000,"timestamp_ms":1792147017000,"timestamp_seconds":1792147017,"priority":1,"record_length":96,"hex_timestamp":"000001a144494d28"} 
[2026-10-16 16:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:10:27] 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-10-16 16:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559296001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:10:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:10:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559296001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":216994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:10:27] local.INFO: GPS data processed {"connection_id":216994,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:10:27] local.INFO: Acknowledgment sent {"connection_id":216994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:10:32] local.INFO: TCP Data received {"connection_id":216994,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:10:32] local.INFO: Processing buffer {"connection_id":216994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:10:32] local.INFO: Packet analysis {"connection_id":216994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:10:32] local.INFO: Extracted packet for processing {"connection_id":216994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792147017000,"timestamp_ms":1792147017000,"timestamp_seconds":1792147017,"priority":1,"record_length":96,"hex_timestamp":"000001a144494d28"} 
[2026-10-16 16:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559296001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:10:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:10:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559296001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":216994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:10:32] local.INFO: GPS data processed {"connection_id":216994,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:10:32] local.INFO: Acknowledgment sent {"connection_id":216994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:10:37] local.INFO: TCP Data received {"connection_id":218335,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:37] local.INFO: Processing buffer {"connection_id":218335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:37] local.INFO: IMEI packet received {"connection_id":218335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":218335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:10:38] local.INFO: TCP Data received {"connection_id":218335,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:38] local.INFO: Processing buffer {"connection_id":218335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:38] local.INFO: IMEI packet received {"connection_id":218335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":218335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:10:39] local.INFO: TCP Data received {"connection_id":218335,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:39] local.INFO: Processing buffer {"connection_id":218335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:39] local.INFO: IMEI packet received {"connection_id":218335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":218335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:10:40] local.INFO: TCP Data received {"connection_id":218335,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:40] local.INFO: Processing buffer {"connection_id":218335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:10:40] local.INFO: IMEI packet received {"connection_id":218335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":218335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:10:41] local.INFO: TCP Data received {"connection_id":218335,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444c6a08012d0b5b800704f2080019006c1a..."} 
[2026-10-16 16:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444c6a08012d0b5b800704f2080019006c1a..."} 
[2026-10-16 16:10:41] local.INFO: Processing buffer {"connection_id":218335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444c6a08012d0b5b800704f2080019006c1a..."} 
[2026-10-16 16:10:41] local.INFO: Packet analysis {"connection_id":218335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444c"} 
[2026-10-16 16:10:41] local.INFO: Extracted packet for processing {"connection_id":218335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444c"} 
[2026-10-16 16:10:41] local.INFO: GPS Element Parsed {"raw_longitude":755719040,"raw_latitude":117764616,"longitude_deg":75.571904,"latitude_deg":11.7764616,"altitude":25,"angle":108,"satellites":26,"speed":25,"hex_longitude":"2d0b5b80","hex_latitude":"0704f208","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789686016001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36524023928061952,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808536900749473792,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:41] 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-10-16 16:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792147221000,"timestamp_ms":1792147221000,"timestamp_seconds":1792147221,"priority":1,"record_length":96,"hex_timestamp":"000001a1444c6a08"} 
[2026-10-16 16:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:10:41] 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-10-16 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 16:10:41] 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-10-16 16: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-10-16 16:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":218335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":218335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":218335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789686016001,"66":14428,"177":206,"94":10240,"24":25,"16":36524023928061952,"45":808536900749473792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-16 16:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789686016001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:10:41] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 16:10:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36524023928061952,"km_value":36524023928061.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":808536900749473792,"description":"Unknown IO ID 45"} 
[2026-10-16 16:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789686016001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":808536900749473792}} 
[2026-10-16 16:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":218335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:10:41] local.INFO: GPS data processed {"connection_id":218335,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:10:41] local.INFO: Acknowledgment sent {"connection_id":218335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:10:41] local.INFO: TCP Data received {"connection_id":218335,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444c6df0012d0b5dc00704f100001a00781a..."} 
[2026-10-16 16:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444c6df0012d0b5dc00704f100001a00781a..."} 
[2026-10-16 16:10:41] local.INFO: Processing buffer {"connection_id":218335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444c6df0012d0b5dc00704f100001a00781a..."} 
[2026-10-16 16:10:41] local.INFO: Packet analysis {"connection_id":218335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444c"} 
[2026-10-16 16:10:41] local.INFO: Extracted packet for processing {"connection_id":218335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444c"} 
[2026-10-16 16:10:41] local.INFO: GPS Element Parsed {"raw_longitude":755719616,"raw_latitude":117764352,"longitude_deg":75.5719616,"latitude_deg":11.7764352,"altitude":26,"angle":120,"satellites":26,"speed":24,"hex_longitude":"2d0b5dc0","hex_latitude":"0704f100","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789688576001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36524049697865728,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818388524933974016,"note":"Value kept but may cause issues"} 
[2026-10-16 16:10:41] 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-10-16 16:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792147222000,"timestamp_ms":1792147222000,"timestamp_seconds":1792147222,"priority":1,"record_length":96,"hex_timestamp":"000001a1444c6df0"} 
[2026-10-16 16:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:10:41] 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-10-16 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 16:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":218335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":218335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":218335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789688576001,"66":14678,"177":206,"94":10240,"24":24,"16":36524049697865728,"45":818388524933974016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-10-16 16:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789688576001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:10:41] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-10-16 16:10:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36524049697865728,"km_value":36524049697865.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":818388524933974016,"description":"Unknown IO ID 45"} 
[2026-10-16 16:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789688576001,"power":14678,"unknown_177":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":818388524933974016}} 
[2026-10-16 16:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":218335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":604,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:10:42] local.INFO: GPS data processed {"connection_id":218335,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:10:42] local.INFO: Acknowledgment sent {"connection_id":218335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:11:06] local.INFO: TCP Data received {"connection_id":218336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:11:06] local.INFO: Processing buffer {"connection_id":218336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:11:06] local.INFO: IMEI packet received {"connection_id":218336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":218336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:11:11] local.INFO: TCP Data received {"connection_id":218336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:11:11] local.INFO: Processing buffer {"connection_id":218336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:11:11] local.INFO: IMEI packet received {"connection_id":218336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":218336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:11:12] local.INFO: TCP Data received {"connection_id":218336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444ceaf0012d0b80c00704bdf0001d007e1a..."} 
[2026-10-16 16:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444ceaf0012d0b80c00704bdf0001d007e1a..."} 
[2026-10-16 16:11:12] local.INFO: Processing buffer {"connection_id":218336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444ceaf0012d0b80c00704bdf0001d007e1a..."} 
[2026-10-16 16:11:12] local.INFO: Packet analysis {"connection_id":218336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444c"} 
[2026-10-16 16:11:12] local.INFO: Extracted packet for processing {"connection_id":218336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444c"} 
[2026-10-16 16:11:12] local.INFO: GPS Element Parsed {"raw_longitude":755728576,"raw_latitude":117751280,"longitude_deg":75.5728576,"latitude_deg":11.775128,"altitude":29,"angle":126,"satellites":26,"speed":21,"hex_longitude":"2d0b80c0","hex_latitude":"0704bdf0","is_valid_coordinates":true} 
[2026-10-16 16:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789696256001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36524990295703552,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827958674139049984,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:12] 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-10-16 16:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792147254000,"timestamp_ms":1792147254000,"timestamp_seconds":1792147254,"priority":1,"record_length":96,"hex_timestamp":"000001a1444ceaf0"} 
[2026-10-16 16:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:11:12] 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-10-16 16:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 16:11:12] 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-10-16 16:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":218336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":218336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":218336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789696256001,"66":14450,"96":206,"94":10240,"24":21,"16":36524990295703552,"45":827958674139049984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-10-16 16:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789696256001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:11:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-16 16:11:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36524990295703552,"km_value":36524990295703.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":827958674139049984,"description":"Unknown IO ID 45"} 
[2026-10-16 16:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789696256001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":827958674139049984}} 
[2026-10-16 16:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":218336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":605,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:11:12] local.INFO: GPS data processed {"connection_id":218336,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:11:12] local.INFO: Acknowledgment sent {"connection_id":218336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:11:15] local.INFO: TCP Data received {"connection_id":220064,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:11:15] local.INFO: Processing buffer {"connection_id":220064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:11:15] local.INFO: IMEI packet received {"connection_id":220064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":220064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:11:21] local.INFO: TCP Data received {"connection_id":220064,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:11:21] local.INFO: Processing buffer {"connection_id":220064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:11:21] local.INFO: IMEI packet received {"connection_id":220064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":220064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:11:22] local.INFO: TCP Data received {"connection_id":220064,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:11:22] local.INFO: Processing buffer {"connection_id":220064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:11:22] local.INFO: Packet analysis {"connection_id":220064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:11:22] local.INFO: Extracted packet for processing {"connection_id":220064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:11:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792147017000,"timestamp_ms":1792147017000,"timestamp_seconds":1792147017,"priority":1,"record_length":96,"hex_timestamp":"000001a144494d28"} 
[2026-10-16 16:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:11:22] 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-10-16 16:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559296001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:11:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:11:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559296001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":220064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:11:22] local.INFO: GPS data processed {"connection_id":220064,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:11:22] local.INFO: Acknowledgment sent {"connection_id":220064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:11:43] local.INFO: TCP Data received {"connection_id":218336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444ceed8012d0b83000704bcc0001d00731b..."} 
[2026-10-16 16:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444ceed8012d0b83000704bcc0001d00731b..."} 
[2026-10-16 16:11:43] local.INFO: Processing buffer {"connection_id":218336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444ceed8012d0b83000704bcc0001d00731b..."} 
[2026-10-16 16:11:43] local.INFO: Packet analysis {"connection_id":218336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444c"} 
[2026-10-16 16:11:43] local.INFO: Extracted packet for processing {"connection_id":218336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444c"} 
[2026-10-16 16:11:43] local.INFO: GPS Element Parsed {"raw_longitude":755729152,"raw_latitude":117750976,"longitude_deg":75.5729152,"latitude_deg":11.7750976,"altitude":29,"angle":115,"satellites":27,"speed":25,"hex_longitude":"2d0b8300","hex_latitude":"0704bcc0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789697024001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36525020360474624,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828873467813031936,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:43] 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-10-16 16:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792147255000,"timestamp_ms":1792147255000,"timestamp_seconds":1792147255,"priority":1,"record_length":96,"hex_timestamp":"000001a1444ceed8"} 
[2026-10-16 16:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:11:43] 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-10-16 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 16:11: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-10-16 16: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-10-16 16:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":218336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":218336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":218336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:11:43] 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-10-16 16:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789697024001,"66":14428,"96":206,"94":10240,"24":25,"16":36525020360474624,"45":828873467813031936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-10-16 16:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789697024001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:11:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-16 16:11:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36525020360474624,"km_value":36525020360474.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":828873467813031936,"description":"Unknown IO ID 45"} 
[2026-10-16 16:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789697024001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":828873467813031936}} 
[2026-10-16 16:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":218336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:11:43] local.INFO: GPS data processed {"connection_id":218336,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:11:43] local.INFO: Acknowledgment sent {"connection_id":218336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:11:54] local.INFO: TCP Data received {"connection_id":220064,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:11:54] local.INFO: Processing buffer {"connection_id":220064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:11:54] local.INFO: Packet analysis {"connection_id":220064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:11:54] local.INFO: Extracted packet for processing {"connection_id":220064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792147017000,"timestamp_ms":1792147017000,"timestamp_seconds":1792147017,"priority":1,"record_length":96,"hex_timestamp":"000001a144494d28"} 
[2026-10-16 16:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559296001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:11:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:11:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559296001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":220064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:11:54] local.INFO: GPS data processed {"connection_id":220064,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:11:54] local.INFO: Acknowledgment sent {"connection_id":220064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:12:01] local.INFO: TCP Data received {"connection_id":216774,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216774,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:12:01] local.INFO: Processing buffer {"connection_id":216774,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:12:01] local.INFO: IMEI packet received {"connection_id":216774,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":216774,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:12:06] local.INFO: TCP Data received {"connection_id":216774,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216774,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:12:06] local.INFO: Processing buffer {"connection_id":216774,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:12:06] local.INFO: IMEI packet received {"connection_id":216774,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":216774,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:12:07] local.INFO: TCP Data received {"connection_id":216774,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444da288012d0c15800704c580002300551b..."} 
[2026-10-16 16:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444da288012d0c15800704c580002300551b..."} 
[2026-10-16 16:12:07] local.INFO: Processing buffer {"connection_id":216774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444da288012d0c15800704c580002300551b..."} 
[2026-10-16 16:12:07] local.INFO: Packet analysis {"connection_id":216774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:12:07] local.INFO: Extracted packet for processing {"connection_id":216774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:12:07] local.INFO: GPS Element Parsed {"raw_longitude":755766656,"raw_latitude":117753216,"longitude_deg":75.5766656,"latitude_deg":11.7753216,"altitude":35,"angle":85,"satellites":27,"speed":23,"hex_longitude":"2d0c1580","hex_latitude":"0704c580","is_valid_coordinates":true} 
[2026-10-16 16:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789708544001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36526841426608128,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":869405864459810816,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:07] 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-10-16 16:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792147301000,"timestamp_ms":1792147301000,"timestamp_seconds":1792147301,"priority":1,"record_length":96,"hex_timestamp":"000001a1444da288"} 
[2026-10-16 16:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:12:07] 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-10-16 16:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 16:12:07] 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-10-16 16:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789708544001,"66":14428,"96":206,"94":10240,"24":23,"16":36526841426608128,"45":869405864459810816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-10-16 16:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789708544001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:12:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-16 16:12:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36526841426608128,"km_value":36526841426608.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":869405864459810816,"description":"Unknown IO ID 45"} 
[2026-10-16 16:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789708544001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":869405864459810816}} 
[2026-10-16 16:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":216774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:12:07] local.INFO: GPS data processed {"connection_id":216774,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:12:07] local.INFO: Acknowledgment sent {"connection_id":216774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:12:15] local.INFO: TCP Data received {"connection_id":216775,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:12:15] local.INFO: Processing buffer {"connection_id":216775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:12:15] local.INFO: IMEI packet received {"connection_id":216775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":216775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:12:21] local.INFO: TCP Data received {"connection_id":216775,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:12:21] local.INFO: Processing buffer {"connection_id":216775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:12:21] local.INFO: IMEI packet received {"connection_id":216775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":216775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:12:22] local.INFO: TCP Data received {"connection_id":216775,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:12:22] local.INFO: Processing buffer {"connection_id":216775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144494d28012d7fa40005afce580009000a2d..."} 
[2026-10-16 16:12:22] local.INFO: Packet analysis {"connection_id":216775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:12:22] local.INFO: Extracted packet for processing {"connection_id":216775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14449"} 
[2026-10-16 16:12:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789559296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792147017000,"timestamp_ms":1792147017000,"timestamp_seconds":1792147017,"priority":1,"record_length":96,"hex_timestamp":"000001a144494d28"} 
[2026-10-16 16:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:12:22] 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-10-16 16:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789559296001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789559296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:12:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:12:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789559296001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":216775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:12:22] local.INFO: GPS data processed {"connection_id":216775,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:12:22] local.INFO: Acknowledgment sent {"connection_id":216775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:12:38] local.INFO: TCP Data received {"connection_id":216774,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444dcd80012d0c3b400704cb78002100541b..."} 
[2026-10-16 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444dcd80012d0c3b400704cb78002100541b..."} 
[2026-10-16 16:12:38] local.INFO: Processing buffer {"connection_id":216774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444dcd80012d0c3b400704cb78002100541b..."} 
[2026-10-16 16:12:38] local.INFO: Packet analysis {"connection_id":216774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:12:38] local.INFO: Extracted packet for processing {"connection_id":216774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":755776320,"raw_latitude":117754744,"longitude_deg":75.577632,"latitude_deg":11.7754744,"altitude":33,"angle":84,"satellites":27,"speed":38,"hex_longitude":"2d0c3b40","hex_latitude":"0704cb78","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789709056001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36527305283076096,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870742870599237632,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12: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-10-16 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792147312000,"timestamp_ms":1792147312000,"timestamp_seconds":1792147312,"priority":1,"record_length":96,"hex_timestamp":"000001a1444dcd80"} 
[2026-10-16 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-10-16 16:12: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-10-16 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 16:12: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-10-16 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-10-16 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-10-16 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789709056001,"66":14461,"96":206,"94":10240,"24":38,"16":36527305283076096,"45":870742870599237632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-10-16 16:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789709056001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:12:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-16 16:12:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36527305283076096,"km_value":36527305283076.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":870742870599237632,"description":"Unknown IO ID 45"} 
[2026-10-16 16:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789709056001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":870742870599237632}} 
[2026-10-16 16:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":216774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:12:39] local.INFO: GPS data processed {"connection_id":216774,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:12:39] local.INFO: Acknowledgment sent {"connection_id":216774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:12:54] local.INFO: TCP Data received {"connection_id":216775,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:12:54] local.INFO: Processing buffer {"connection_id":216775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:12:54] local.INFO: Packet analysis {"connection_id":216775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:12:54] local.INFO: Extracted packet for processing {"connection_id":216775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789636352001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792147318000,"timestamp_ms":1792147318000,"timestamp_seconds":1792147318,"priority":1,"record_length":96,"hex_timestamp":"000001a1444de4f0"} 
[2026-10-16 16:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:12:54] 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-10-16 16:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789636352001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789636352001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:12:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:12:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789636352001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":216775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:12:54] local.INFO: GPS data processed {"connection_id":216775,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:12:54] local.INFO: Acknowledgment sent {"connection_id":216775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:13:04] local.INFO: TCP Data received {"connection_id":216995,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:13:04] local.INFO: Processing buffer {"connection_id":216995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:13:04] local.INFO: IMEI packet received {"connection_id":216995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":216995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:13:08] local.INFO: TCP Data received {"connection_id":216995,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:13:08] local.INFO: Processing buffer {"connection_id":216995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:13:08] local.INFO: IMEI packet received {"connection_id":216995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":216995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:13:09] local.INFO: TCP Data received {"connection_id":216995,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:13:09] local.INFO: Processing buffer {"connection_id":216995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:13:09] local.INFO: IMEI packet received {"connection_id":216995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":216995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:13:10] local.INFO: TCP Data received {"connection_id":216995,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444ed338012d0c684007050e20002400121a..."} 
[2026-10-16 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444ed338012d0c684007050e20002400121a..."} 
[2026-10-16 16:13:10] local.INFO: Processing buffer {"connection_id":216995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444ed338012d0c684007050e20002400121a..."} 
[2026-10-16 16:13:10] local.INFO: Packet analysis {"connection_id":216995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444e"} 
[2026-10-16 16:13:10] local.INFO: Extracted packet for processing {"connection_id":216995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444e"} 
[2026-10-16 16:13:10] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117771808,"longitude_deg":75.578784,"latitude_deg":11.7771808,"altitude":36,"angle":18,"satellites":26,"speed":6,"hex_longitude":"2d0c6840","hex_latitude":"07050e20","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789727232001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36529268083130368,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894105293670817792,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:10] 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-10-16 16:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792147379000,"timestamp_ms":1792147379000,"timestamp_seconds":1792147379,"priority":1,"record_length":96,"hex_timestamp":"000001a1444ed338"} 
[2026-10-16 16:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 16:13:10] 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-10-16 16: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-10-16 16:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":216995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":216995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":216995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789727232001,"66":14515,"95":206,"94":10240,"24":6,"16":36529268083130368,"45":894105293670817792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-16 16:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789727232001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:13:10] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-16 16:13:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36529268083130368,"km_value":36529268083130.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":894105293670817792,"description":"Unknown IO ID 45"} 
[2026-10-16 16:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789727232001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":894105293670817792}} 
[2026-10-16 16:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":216995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":613,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:13:10] local.INFO: GPS data processed {"connection_id":216995,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:13:10] local.INFO: Acknowledgment sent {"connection_id":216995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:13:11] local.INFO: TCP Data received {"connection_id":216995,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444edef0012d0c688007050fc00025015f1a..."} 
[2026-10-16 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444edef0012d0c688007050fc00025015f1a..."} 
[2026-10-16 16:13:11] local.INFO: Processing buffer {"connection_id":216995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444edef0012d0c688007050fc00025015f1a..."} 
[2026-10-16 16:13:11] local.INFO: Packet analysis {"connection_id":216995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444e"} 
[2026-10-16 16:13:11] local.INFO: Extracted packet for processing {"connection_id":216995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444e"} 
[2026-10-16 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":755787904,"raw_latitude":117772224,"longitude_deg":75.5787904,"latitude_deg":11.7772224,"altitude":37,"angle":351,"satellites":26,"speed":4,"hex_longitude":"2d0c6880","hex_latitude":"07050fc0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789729024001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36529289557966848,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924926803968,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:11] 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-10-16 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792147382000,"timestamp_ms":1792147382000,"timestamp_seconds":1792147382,"priority":1,"record_length":96,"hex_timestamp":"000001a1444edef0"} 
[2026-10-16 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-10-16 16:13: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-10-16 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 16:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":216995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":216995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":216995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:13:11] 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-10-16 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789729024001,"66":14515,"95":206,"94":10240,"24":4,"16":36529289557966848,"45":894034924926803968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-16 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789729024001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:13:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-16 16:13:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36529289557966848,"km_value":36529289557966.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924926803968,"description":"Unknown IO ID 45"} 
[2026-10-16 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789729024001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":894034924926803968}} 
[2026-10-16 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":216995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:13:11] local.INFO: GPS data processed {"connection_id":216995,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:13:11] local.INFO: Acknowledgment sent {"connection_id":216995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:13:15] local.INFO: TCP Data received {"connection_id":220067,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:13:15] local.INFO: Processing buffer {"connection_id":220067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:13:15] local.INFO: IMEI packet received {"connection_id":220067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":220067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:13:20] local.INFO: TCP Data received {"connection_id":220067,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:13:20] local.INFO: Processing buffer {"connection_id":220067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:13:20] local.INFO: IMEI packet received {"connection_id":220067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":220067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:13:21] local.INFO: TCP Data received {"connection_id":220067,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:13:21] local.INFO: Processing buffer {"connection_id":220067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:13:21] local.INFO: Packet analysis {"connection_id":220067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:13:21] local.INFO: Extracted packet for processing {"connection_id":220067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789636352001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792147318000,"timestamp_ms":1792147318000,"timestamp_seconds":1792147318,"priority":1,"record_length":96,"hex_timestamp":"000001a1444de4f0"} 
[2026-10-16 16:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:13:21] 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-10-16 16:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":220067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":220067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":220067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789636352001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789636352001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:13:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:13:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789636352001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":220067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:13:21] local.INFO: GPS data processed {"connection_id":220067,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:13:21] local.INFO: Acknowledgment sent {"connection_id":220067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:13:43] local.INFO: TCP Data received {"connection_id":216995,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444eee90012d0c684007051170002501521a..."} 
[2026-10-16 16:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444eee90012d0c684007051170002501521a..."} 
[2026-10-16 16:13:43] local.INFO: Processing buffer {"connection_id":216995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444eee90012d0c684007051170002501521a..."} 
[2026-10-16 16:13:43] local.INFO: Packet analysis {"connection_id":216995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444e"} 
[2026-10-16 16:13:43] local.INFO: Extracted packet for processing {"connection_id":216995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444e"} 
[2026-10-16 16:13:43] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117772656,"longitude_deg":75.578784,"latitude_deg":11.7772656,"altitude":37,"angle":338,"satellites":26,"speed":3,"hex_longitude":"2d0c6840","hex_latitude":"07051170","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789729792001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36529311032803328,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894105293671088128,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:43] 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-10-16 16:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792147386000,"timestamp_ms":1792147386000,"timestamp_seconds":1792147386,"priority":1,"record_length":96,"hex_timestamp":"000001a1444eee90"} 
[2026-10-16 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-10-16 16:13:43] 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-10-16 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 16:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 16:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":216995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":216995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":216995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:13:43] 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-10-16 16:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789729792001,"66":14548,"95":206,"94":10240,"24":3,"16":36529311032803328,"45":894105293671088128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-10-16 16:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789729792001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:13:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-10-16 16:13:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36529311032803328,"km_value":36529311032803.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":894105293671088128,"description":"Unknown IO ID 45"} 
[2026-10-16 16:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789729792001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":894105293671088128}} 
[2026-10-16 16:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":216995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":616,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:13:43] local.INFO: GPS data processed {"connection_id":216995,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:13:43] local.INFO: Acknowledgment sent {"connection_id":216995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:13:53] local.INFO: TCP Data received {"connection_id":220067,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:13:53] local.INFO: Processing buffer {"connection_id":220067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:13:53] local.INFO: Packet analysis {"connection_id":220067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:13:53] local.INFO: Extracted packet for processing {"connection_id":220067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:13:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789636352001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792147318000,"timestamp_ms":1792147318000,"timestamp_seconds":1792147318,"priority":1,"record_length":96,"hex_timestamp":"000001a1444de4f0"} 
[2026-10-16 16:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:13: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-10-16 16:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":220067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":220067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":220067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789636352001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789636352001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:13:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:13:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789636352001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":220067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:13:53] local.INFO: GPS data processed {"connection_id":220067,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:13:53] local.INFO: Acknowledgment sent {"connection_id":220067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:14:02] local.INFO: TCP Data received {"connection_id":216777,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:14:02] local.INFO: Processing buffer {"connection_id":216777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:14:02] local.INFO: IMEI packet received {"connection_id":216777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":216777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:14:05] local.INFO: TCP Data received {"connection_id":216776,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:14:05] local.INFO: Processing buffer {"connection_id":216776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:14:05] local.INFO: IMEI packet received {"connection_id":216776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":216776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:14:17] local.INFO: TCP Data received {"connection_id":216777,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 16:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216777,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 16:14:17] local.INFO: Processing buffer {"connection_id":216777,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 16:14:17] local.INFO: IMEI packet received {"connection_id":216777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":216777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:14:21] local.INFO: TCP Data received {"connection_id":216996,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:14:21] local.INFO: Processing buffer {"connection_id":216996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:14:21] local.INFO: IMEI packet received {"connection_id":216996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":216996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:14:25] local.INFO: TCP Data received {"connection_id":216996,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:14:25] local.INFO: Processing buffer {"connection_id":216996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:14:25] local.INFO: IMEI packet received {"connection_id":216996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":216996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:14:27] local.INFO: TCP Data received {"connection_id":216996,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:14:27] local.INFO: Processing buffer {"connection_id":216996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:14:27] local.INFO: Packet analysis {"connection_id":216996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:14:27] local.INFO: Extracted packet for processing {"connection_id":216996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789636352001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792147318000,"timestamp_ms":1792147318000,"timestamp_seconds":1792147318,"priority":1,"record_length":96,"hex_timestamp":"000001a1444de4f0"} 
[2026-10-16 16:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:14:27] 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-10-16 16:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789636352001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789636352001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:14:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:14:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789636352001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":216996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:14:27] local.INFO: GPS data processed {"connection_id":216996,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:14:27] local.INFO: Acknowledgment sent {"connection_id":216996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:14:32] local.INFO: TCP Data received {"connection_id":216996,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:14:32] local.INFO: Processing buffer {"connection_id":216996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:14:32] local.INFO: Packet analysis {"connection_id":216996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:14:32] local.INFO: Extracted packet for processing {"connection_id":216996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789636352001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792147318000,"timestamp_ms":1792147318000,"timestamp_seconds":1792147318,"priority":1,"record_length":96,"hex_timestamp":"000001a1444de4f0"} 
[2026-10-16 16:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789636352001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789636352001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:14:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:14:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789636352001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":216996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:14:32] local.INFO: GPS data processed {"connection_id":216996,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:14:32] local.INFO: Acknowledgment sent {"connection_id":216996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:14:50] local.INFO: TCP Data received {"connection_id":216997,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:14:50] local.INFO: Processing buffer {"connection_id":216997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:14:50] local.INFO: IMEI packet received {"connection_id":216997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":216997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:15:15] local.INFO: TCP Data received {"connection_id":216778,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:15:15] local.INFO: Processing buffer {"connection_id":216778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:15:15] local.INFO: IMEI packet received {"connection_id":216778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":216778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:15:21] local.INFO: TCP Data received {"connection_id":216778,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:15:21] local.INFO: Processing buffer {"connection_id":216778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:15:21] local.INFO: IMEI packet received {"connection_id":216778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":216778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:15:22] local.INFO: TCP Data received {"connection_id":216778,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:15:22] local.INFO: Processing buffer {"connection_id":216778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:15:22] local.INFO: Packet analysis {"connection_id":216778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:15:22] local.INFO: Extracted packet for processing {"connection_id":216778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789636352001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792147318000,"timestamp_ms":1792147318000,"timestamp_seconds":1792147318,"priority":1,"record_length":96,"hex_timestamp":"000001a1444de4f0"} 
[2026-10-16 16:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789636352001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789636352001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:15:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:15:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789636352001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":216778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:15:22] local.INFO: GPS data processed {"connection_id":216778,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:15:22] local.INFO: Acknowledgment sent {"connection_id":216778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:15:27] local.INFO: TCP Data received {"connection_id":216777,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1444f3cb0012d0c6840070511980025015219..."} 
[2026-10-16 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444f3cb0012d0c6840070511980025015219..."} 
[2026-10-16 16:15:27] local.INFO: Processing buffer {"connection_id":216777,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a144..."} 
[2026-10-16 16:15:27] local.INFO: IMEI packet received {"connection_id":216777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":216777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:15:31] local.INFO: TCP Data received {"connection_id":218337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:31] local.INFO: Processing buffer {"connection_id":218337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:31] local.INFO: IMEI packet received {"connection_id":218337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":218337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:15:31] local.INFO: TCP Data received {"connection_id":218337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:31] local.INFO: Processing buffer {"connection_id":218337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:31] local.INFO: IMEI packet received {"connection_id":218337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":218337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:15:32] local.INFO: TCP Data received {"connection_id":218337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:32] local.INFO: Processing buffer {"connection_id":218337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:32] local.INFO: IMEI packet received {"connection_id":218337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":218337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:15:33] local.INFO: TCP Data received {"connection_id":218337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:33] local.INFO: Processing buffer {"connection_id":218337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:15:33] local.INFO: IMEI packet received {"connection_id":218337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":218337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:15:57] local.INFO: TCP Data received {"connection_id":216778,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:15:57] local.INFO: Processing buffer {"connection_id":216778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:15:57] local.INFO: Packet analysis {"connection_id":216778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:15:57] local.INFO: Extracted packet for processing {"connection_id":216778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789636352001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792147318000,"timestamp_ms":1792147318000,"timestamp_seconds":1792147318,"priority":1,"record_length":96,"hex_timestamp":"000001a1444de4f0"} 
[2026-10-16 16:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:15:57] 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-10-16 16:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789636352001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789636352001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:15:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:15:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789636352001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":216778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:15:57] local.INFO: GPS data processed {"connection_id":216778,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:15:57] local.INFO: Acknowledgment sent {"connection_id":216778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:16:15] local.INFO: TCP Data received {"connection_id":216998,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:16:15] local.INFO: Processing buffer {"connection_id":216998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:16:15] local.INFO: IMEI packet received {"connection_id":216998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":216998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:16:21] local.INFO: TCP Data received {"connection_id":216998,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:16:21] local.INFO: Processing buffer {"connection_id":216998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:16:21] local.INFO: IMEI packet received {"connection_id":216998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":216998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:16:22] local.INFO: TCP Data received {"connection_id":216998,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:16:22] local.INFO: Processing buffer {"connection_id":216998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:16:22] local.INFO: Packet analysis {"connection_id":216998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:16:22] local.INFO: Extracted packet for processing {"connection_id":216998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:16:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789636352001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792147318000,"timestamp_ms":1792147318000,"timestamp_seconds":1792147318,"priority":1,"record_length":96,"hex_timestamp":"000001a1444de4f0"} 
[2026-10-16 16:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789636352001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789636352001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:16:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:16:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789636352001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":216998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:16:22] local.INFO: GPS data processed {"connection_id":216998,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:16:22] local.INFO: Acknowledgment sent {"connection_id":216998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:16:54] local.INFO: TCP Data received {"connection_id":216998,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:16:54] local.INFO: Processing buffer {"connection_id":216998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:16:54] local.INFO: Packet analysis {"connection_id":216998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:16:54] local.INFO: Extracted packet for processing {"connection_id":216998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789636352001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792147318000,"timestamp_ms":1792147318000,"timestamp_seconds":1792147318,"priority":1,"record_length":96,"hex_timestamp":"000001a1444de4f0"} 
[2026-10-16 16:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:16:54] 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-10-16 16:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789636352001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789636352001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:16:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:16:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789636352001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":216998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:16:54] local.INFO: GPS data processed {"connection_id":216998,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:16:54] local.INFO: Acknowledgment sent {"connection_id":216998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:17:15] local.INFO: TCP Data received {"connection_id":220071,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:17:15] local.INFO: Processing buffer {"connection_id":220071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:17:15] local.INFO: IMEI packet received {"connection_id":220071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":220071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:17:20] local.INFO: TCP Data received {"connection_id":220071,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:17:20] local.INFO: Processing buffer {"connection_id":220071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:17:20] local.INFO: IMEI packet received {"connection_id":220071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":220071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:17:21] local.INFO: TCP Data received {"connection_id":220071,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:17:21] local.INFO: Processing buffer {"connection_id":220071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1444de4f0012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:17:21] local.INFO: Packet analysis {"connection_id":220071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:17:21] local.INFO: Extracted packet for processing {"connection_id":220071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1444d"} 
[2026-10-16 16:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789636352001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792147318000,"timestamp_ms":1792147318000,"timestamp_seconds":1792147318,"priority":1,"record_length":96,"hex_timestamp":"000001a1444de4f0"} 
[2026-10-16 16:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:17:21] 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-10-16 16:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":220071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":220071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":220071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789636352001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789636352001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:17:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:17:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789636352001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":220071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:17:21] local.INFO: GPS data processed {"connection_id":220071,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:17:21] local.INFO: Acknowledgment sent {"connection_id":220071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:17:53] local.INFO: TCP Data received {"connection_id":220071,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:17:53] local.INFO: Processing buffer {"connection_id":220071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:17:53] local.INFO: Packet analysis {"connection_id":220071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:17:53] local.INFO: Extracted packet for processing {"connection_id":220071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:17:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:17: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-10-16 16:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":220071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":220071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":220071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:17:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:17:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":220071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:17:53] local.INFO: GPS data processed {"connection_id":220071,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:17:53] local.INFO: Acknowledgment sent {"connection_id":220071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:18:21] local.INFO: TCP Data received {"connection_id":217000,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:18:21] local.INFO: Processing buffer {"connection_id":217000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:18:21] local.INFO: IMEI packet received {"connection_id":217000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":217000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:18:26] local.INFO: TCP Data received {"connection_id":217000,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:18:26] local.INFO: Processing buffer {"connection_id":217000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:18:26] local.INFO: IMEI packet received {"connection_id":217000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":217000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:18:28] local.INFO: TCP Data received {"connection_id":217000,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:18:28] local.INFO: Processing buffer {"connection_id":217000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:18:28] local.INFO: Packet analysis {"connection_id":217000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:18:28] local.INFO: Extracted packet for processing {"connection_id":217000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:18:28] 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-10-16 16:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:18:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:18:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":217000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:18:28] local.INFO: GPS data processed {"connection_id":217000,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:18:28] local.INFO: Acknowledgment sent {"connection_id":217000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:18:32] local.INFO: TCP Data received {"connection_id":217000,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:18:32] local.INFO: Processing buffer {"connection_id":217000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:18:32] local.INFO: Packet analysis {"connection_id":217000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:18:32] local.INFO: Extracted packet for processing {"connection_id":217000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:18:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:18:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":217000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:18:32] local.INFO: GPS data processed {"connection_id":217000,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:18:32] local.INFO: Acknowledgment sent {"connection_id":217000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:19:15] local.INFO: TCP Data received {"connection_id":216782,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:19:15] local.INFO: Processing buffer {"connection_id":216782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:19:15] local.INFO: IMEI packet received {"connection_id":216782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":216782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:19:20] local.INFO: TCP Data received {"connection_id":216782,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:19:20] local.INFO: Processing buffer {"connection_id":216782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:19:20] local.INFO: IMEI packet received {"connection_id":216782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":216782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:19:21] local.INFO: TCP Data received {"connection_id":216782,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:19:21] local.INFO: Processing buffer {"connection_id":216782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:19:21] local.INFO: Packet analysis {"connection_id":216782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:19:21] local.INFO: Extracted packet for processing {"connection_id":216782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:19:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:19:21] 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-10-16 16:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":216782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":216782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":216782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:19:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:19:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":216782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:19:21] local.INFO: GPS data processed {"connection_id":216782,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:19:21] local.INFO: Acknowledgment sent {"connection_id":216782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:19:54] local.INFO: TCP Data received {"connection_id":216782,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:19:54] local.INFO: Processing buffer {"connection_id":216782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:19:54] local.INFO: Packet analysis {"connection_id":216782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:19:54] local.INFO: Extracted packet for processing {"connection_id":216782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:19:54] 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-10-16 16:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:19:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:19:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":216782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:19:54] local.INFO: GPS data processed {"connection_id":216782,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:19:54] local.INFO: Acknowledgment sent {"connection_id":216782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:20:15] local.INFO: TCP Data received {"connection_id":220072,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:20:15] local.INFO: Processing buffer {"connection_id":220072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:20:15] local.INFO: IMEI packet received {"connection_id":220072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":220072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:20:18] local.INFO: TCP Data received {"connection_id":218339,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:20:18] local.INFO: Processing buffer {"connection_id":218339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:20:18] local.INFO: IMEI packet received {"connection_id":218339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":218339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:20:21] local.INFO: TCP Data received {"connection_id":220072,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:20:21] local.INFO: Processing buffer {"connection_id":220072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:20:21] local.INFO: IMEI packet received {"connection_id":220072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":220072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:20:23] local.INFO: TCP Data received {"connection_id":220072,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:20:23] local.INFO: Processing buffer {"connection_id":220072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:20:23] local.INFO: Packet analysis {"connection_id":220072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:20:23] local.INFO: Extracted packet for processing {"connection_id":220072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:20:23] 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-10-16 16:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:20:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:20:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":220072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:20:23] local.INFO: GPS data processed {"connection_id":220072,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:20:23] local.INFO: Acknowledgment sent {"connection_id":220072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:20:34] local.INFO: TCP Data received {"connection_id":218340,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218340,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:20:34] local.INFO: Processing buffer {"connection_id":218340,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:20:34] local.INFO: IMEI packet received {"connection_id":218340,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":218340,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:20:35] local.INFO: TCP Data received {"connection_id":218340,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14453e418012d0c3d8007062fe0001800041a..."} 
[2026-10-16 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14453e418012d0c3d8007062fe0001800041a..."} 
[2026-10-16 16:20:35] local.INFO: Processing buffer {"connection_id":218340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14453e418012d0c3d8007062fe0001800041a..."} 
[2026-10-16 16:20:35] local.INFO: Packet analysis {"connection_id":218340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14453"} 
[2026-10-16 16:20:35] local.INFO: Extracted packet for processing {"connection_id":218340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14453"} 
[2026-10-16 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":755776896,"raw_latitude":117845984,"longitude_deg":75.5776896,"latitude_deg":11.7845984,"altitude":24,"angle":4,"satellites":26,"speed":15,"hex_longitude":"2d0c3d80","hex_latitude":"07062fe0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789813760001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36534065561600000,"note":"Value kept but may cause issues"} 
[2026-10-16 16:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881931500947146752,"note":"Value kept but may cause issues"} 
[2026-10-16 16:20:35] 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-10-16 16:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792147711000,"timestamp_ms":1792147711000,"timestamp_seconds":1792147711,"priority":1,"record_length":96,"hex_timestamp":"000001a14453e418"} 
[2026-10-16 16:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:20: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-10-16 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 16:20:35] 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-10-16 16: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-10-16 16:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":218340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":218340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":218340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789813760001,"66":14428,"164":206,"94":10240,"24":15,"16":36534065561600000,"45":881931500947146752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 16:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789813760001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:20:35] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 16:20:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36534065561600000,"km_value":36534065561600,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":881931500947146752,"description":"Unknown IO ID 45"} 
[2026-10-16 16:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789813760001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":881931500947146752}} 
[2026-10-16 16:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":218340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":631,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:20:35] local.INFO: GPS data processed {"connection_id":218340,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:20:35] local.INFO: Acknowledgment sent {"connection_id":218340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:20:51] local.INFO: TCP Data received {"connection_id":218341,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:20:51] local.INFO: Processing buffer {"connection_id":218341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:20:51] local.INFO: IMEI packet received {"connection_id":218341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":218341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:20:55] local.INFO: TCP Data received {"connection_id":220072,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:20:55] local.INFO: Processing buffer {"connection_id":220072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:20:55] local.INFO: Packet analysis {"connection_id":220072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:20:55] local.INFO: Extracted packet for processing {"connection_id":220072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:20:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:20:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":220072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:20:55] local.INFO: GPS data processed {"connection_id":220072,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:20:55] local.INFO: Acknowledgment sent {"connection_id":220072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:21:01] local.INFO: TCP Data received {"connection_id":217001,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217001,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:21:01] local.INFO: Processing buffer {"connection_id":217001,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:21:01] local.INFO: IMEI packet received {"connection_id":217001,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":217001,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:21:06] local.INFO: TCP Data received {"connection_id":217001,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217001,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:21:06] local.INFO: Processing buffer {"connection_id":217001,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:21:06] local.INFO: IMEI packet received {"connection_id":217001,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":217001,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:21:07] local.INFO: TCP Data received {"connection_id":217001,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14455dfe8012d0c3d00070648c8001300c61f..."} 
[2026-10-16 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14455dfe8012d0c3d00070648c8001300c61f..."} 
[2026-10-16 16:21:07] local.INFO: Processing buffer {"connection_id":217001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14455dfe8012d0c3d00070648c8001300c61f..."} 
[2026-10-16 16:21:07] local.INFO: Packet analysis {"connection_id":217001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14455"} 
[2026-10-16 16:21:07] local.INFO: Extracted packet for processing {"connection_id":217001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14455"} 
[2026-10-16 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117852360,"longitude_deg":75.5776768,"latitude_deg":11.785236,"altitude":19,"angle":198,"satellites":31,"speed":4,"hex_longitude":"2d0c3d00","hex_latitude":"070648c8","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789846528001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36534619612381184,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881931500948973568,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:07] 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-10-16 16:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792147841000,"timestamp_ms":1792147841000,"timestamp_seconds":1792147841,"priority":1,"record_length":96,"hex_timestamp":"000001a14455dfe8"} 
[2026-10-16 16:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:21: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-10-16 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 16:21:07] 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-10-16 16: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-10-16 16:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":217001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":217001,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":217001,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789846528001,"66":13722,"220":206,"94":10240,"24":4,"16":36534619612381184,"45":881931500948973568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789846528001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:21:07] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:21:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36534619612381184,"km_value":36534619612381.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":881931500948973568,"description":"Unknown IO ID 45"} 
[2026-10-16 16:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789846528001,"power":13722,"unknown_220":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":881931500948973568}} 
[2026-10-16 16:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":217001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:21:07] local.INFO: GPS data processed {"connection_id":217001,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:21:07] local.INFO: Acknowledgment sent {"connection_id":217001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:21:15] local.INFO: TCP Data received {"connection_id":220073,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:21:15] local.INFO: Processing buffer {"connection_id":220073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:21:15] local.INFO: IMEI packet received {"connection_id":220073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":220073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:21:20] local.INFO: TCP Data received {"connection_id":220073,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:21:20] local.INFO: Processing buffer {"connection_id":220073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:21:20] local.INFO: IMEI packet received {"connection_id":220073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":220073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:21:21] local.INFO: TCP Data received {"connection_id":220073,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:21:21] local.INFO: Processing buffer {"connection_id":220073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:21:21] local.INFO: Packet analysis {"connection_id":220073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:21:21] local.INFO: Extracted packet for processing {"connection_id":220073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:21:21] 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-10-16 16:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":220073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":220073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":220073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:21:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:21:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":220073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:21:21] local.INFO: GPS data processed {"connection_id":220073,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:21:21] local.INFO: Acknowledgment sent {"connection_id":220073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:21:38] local.INFO: TCP Data received {"connection_id":217001,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14455eba0012d0c3d0007064758001400b11f..."} 
[2026-10-16 16:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14455eba0012d0c3d0007064758001400b11f..."} 
[2026-10-16 16:21:38] local.INFO: Processing buffer {"connection_id":217001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14455eba0012d0c3d0007064758001400b11f..."} 
[2026-10-16 16:21:38] local.INFO: Packet analysis {"connection_id":217001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14455"} 
[2026-10-16 16:21:38] local.INFO: Extracted packet for processing {"connection_id":217001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14455"} 
[2026-10-16 16:21:38] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117851992,"longitude_deg":75.5776768,"latitude_deg":11.7851992,"altitude":20,"angle":177,"satellites":31,"speed":4,"hex_longitude":"2d0c3d00","hex_latitude":"07064758","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789847296001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36534636792250368,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132204689408,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:38] 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-10-16 16:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792147844000,"timestamp_ms":1792147844000,"timestamp_seconds":1792147844,"priority":1,"record_length":96,"hex_timestamp":"000001a14455eba0"} 
[2026-10-16 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-10-16 16:21: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-10-16 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-10-16 16:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 16:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217001,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217001,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789847296001,"66":14580,"220":206,"94":10240,"24":4,"16":36534636792250368,"45":881861132204689408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789847296001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:21:38] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:21:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36534636792250368,"km_value":36534636792250.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132204689408,"description":"Unknown IO ID 45"} 
[2026-10-16 16:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789847296001,"power":14580,"unknown_220":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":881861132204689408}} 
[2026-10-16 16:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":217001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":635,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:21:38] local.INFO: GPS data processed {"connection_id":217001,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:21:38] local.INFO: Acknowledgment sent {"connection_id":217001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:21:53] local.INFO: TCP Data received {"connection_id":220073,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:21:53] local.INFO: Processing buffer {"connection_id":220073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:21:53] local.INFO: Packet analysis {"connection_id":220073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:21:53] local.INFO: Extracted packet for processing {"connection_id":220073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:21:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:21: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-10-16 16:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":220073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":220073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":220073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:21:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:21:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":220073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:21:53] local.INFO: GPS data processed {"connection_id":220073,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:21:53] local.INFO: Acknowledgment sent {"connection_id":220073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:22:01] local.INFO: TCP Data received {"connection_id":220075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:22:01] local.INFO: Processing buffer {"connection_id":220075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:22:01] local.INFO: IMEI packet received {"connection_id":220075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":220075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:22:02] local.INFO: TCP Data received {"connection_id":220075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:22:02] local.INFO: Processing buffer {"connection_id":220075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:22:02] local.INFO: IMEI packet received {"connection_id":220075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":220075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:22:06] local.INFO: TCP Data received {"connection_id":220075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:22:06] local.INFO: Processing buffer {"connection_id":220075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:22:06] local.INFO: IMEI packet received {"connection_id":220075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":220075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:22:07] local.INFO: TCP Data received {"connection_id":220075,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14455ff28012d0c3cc007064608001400be1e..."} 
[2026-10-16 16:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14455ff28012d0c3cc007064608001400be1e..."} 
[2026-10-16 16:22:07] local.INFO: Processing buffer {"connection_id":220075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14455ff28012d0c3cc007064608001400be1e..."} 
[2026-10-16 16:22:07] local.INFO: Packet analysis {"connection_id":220075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14455"} 
[2026-10-16 16:22:07] local.INFO: Extracted packet for processing {"connection_id":220075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14455"} 
[2026-10-16 16:22:07] local.INFO: GPS Element Parsed {"raw_longitude":755776704,"raw_latitude":117851656,"longitude_deg":75.5776704,"latitude_deg":11.7851656,"altitude":20,"angle":190,"satellites":30,"speed":2,"hex_longitude":"2d0c3cc0","hex_latitude":"07064608","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789848064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36534658267086848,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132204595200,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:07] 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-10-16 16:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792147849000,"timestamp_ms":1792147849000,"timestamp_seconds":1792147849,"priority":1,"record_length":96,"hex_timestamp":"000001a14455ff28"} 
[2026-10-16 16:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:22: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-10-16 16: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-16 16:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":220075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":220075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":220075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789848064001,"66":14396,"220":206,"94":10240,"24":2,"16":36534658267086848,"45":881861132204595200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789848064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:22:07] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:22:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36534658267086848,"km_value":36534658267086.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132204595200,"description":"Unknown IO ID 45"} 
[2026-10-16 16:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789848064001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":881861132204595200}} 
[2026-10-16 16:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":220075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":637,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:22:07] local.INFO: GPS data processed {"connection_id":220075,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:22:07] local.INFO: Acknowledgment sent {"connection_id":220075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:22:21] local.INFO: TCP Data received {"connection_id":216783,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:22:21] local.INFO: Processing buffer {"connection_id":216783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:22:21] local.INFO: IMEI packet received {"connection_id":216783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":216783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:22:26] local.INFO: TCP Data received {"connection_id":216783,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:22:26] local.INFO: Processing buffer {"connection_id":216783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:22:26] local.INFO: IMEI packet received {"connection_id":216783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":216783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:22:28] local.INFO: TCP Data received {"connection_id":216783,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:22:28] local.INFO: Processing buffer {"connection_id":216783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:22:28] local.INFO: Packet analysis {"connection_id":216783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:22:28] local.INFO: Extracted packet for processing {"connection_id":216783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:22:28] 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-10-16 16:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:22:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:22:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":216783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:22:28] local.INFO: GPS data processed {"connection_id":216783,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:22:28] local.INFO: Acknowledgment sent {"connection_id":216783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:22:31] local.INFO: TCP Data received {"connection_id":216783,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:22:31] local.INFO: Processing buffer {"connection_id":216783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144527cb8012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:22:31] local.INFO: Packet analysis {"connection_id":216783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:22:31] local.INFO: Extracted packet for processing {"connection_id":216783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14452"} 
[2026-10-16 16:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789713408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792147619000,"timestamp_ms":1792147619000,"timestamp_seconds":1792147619,"priority":1,"record_length":96,"hex_timestamp":"000001a144527cb8"} 
[2026-10-16 16:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789713408001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789713408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:22:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:22:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789713408001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":216783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:22:31] local.INFO: GPS data processed {"connection_id":216783,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:22:31] local.INFO: Acknowledgment sent {"connection_id":216783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:22:38] local.INFO: TCP Data received {"connection_id":220075,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144564960012d0c3d40070644680015006d1f..."} 
[2026-10-16 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144564960012d0c3d40070644680015006d1f..."} 
[2026-10-16 16:22:38] local.INFO: Processing buffer {"connection_id":220075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144564960012d0c3d40070644680015006d1f..."} 
[2026-10-16 16:22:38] local.INFO: Packet analysis {"connection_id":220075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14456"} 
[2026-10-16 16:22:38] local.INFO: Extracted packet for processing {"connection_id":220075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14456"} 
[2026-10-16 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":755776832,"raw_latitude":117851240,"longitude_deg":75.5776832,"latitude_deg":11.785124,"altitude":21,"angle":109,"satellites":31,"speed":4,"hex_longitude":"2d0c3d40","hex_latitude":"07064468","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789849344001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36534688331857920,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881790763460331520,"note":"Value kept but may cause issues"} 
[2026-10-16 16:22:38] 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-10-16 16:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792147868000,"timestamp_ms":1792147868000,"timestamp_seconds":1792147868,"priority":1,"record_length":96,"hex_timestamp":"000001a144564960"} 
[2026-10-16 16:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16: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-10-16 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 16:22:38] 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-10-16 16: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-10-16 16:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":220075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":220075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":220075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789849344001,"66":13972,"164":206,"94":10240,"24":4,"16":36534688331857920,"45":881790763460331520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-10-16 16:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789849344001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:22:38] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-10-16 16:22:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36534688331857920,"km_value":36534688331857.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":881790763460331520,"description":"Unknown IO ID 45"} 
[2026-10-16 16:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789849344001,"power":13972,"unknown_164":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":881790763460331520}} 
[2026-10-16 16:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":220075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:22:38] local.INFO: GPS data processed {"connection_id":220075,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:22:38] local.INFO: Acknowledgment sent {"connection_id":220075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:23:01] local.INFO: TCP Data received {"connection_id":217003,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:23:01] local.INFO: Processing buffer {"connection_id":217003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:23:01] local.INFO: IMEI packet received {"connection_id":217003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":217003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:23:06] local.INFO: TCP Data received {"connection_id":217003,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:23:06] local.INFO: Processing buffer {"connection_id":217003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:23:06] local.INFO: IMEI packet received {"connection_id":217003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":217003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:23:07] local.INFO: TCP Data received {"connection_id":217003,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14457c060012d0c99800705f1a8001c00a41f..."} 
[2026-10-16 16:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14457c060012d0c99800705f1a8001c00a41f..."} 
[2026-10-16 16:23:07] local.INFO: Processing buffer {"connection_id":217003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14457c060012d0c99800705f1a8001c00a41f..."} 
[2026-10-16 16:23:07] local.INFO: Packet analysis {"connection_id":217003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14457"} 
[2026-10-16 16:23:07] local.INFO: Extracted packet for processing {"connection_id":217003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14457"} 
[2026-10-16 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":755800448,"raw_latitude":117830056,"longitude_deg":75.5800448,"latitude_deg":11.7830056,"altitude":28,"angle":164,"satellites":31,"speed":6,"hex_longitude":"2d0c9980","hex_latitude":"0705f1a8","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789875968001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36536255994920960,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906490192661772288,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:07] 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-10-16 16:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792147964000,"timestamp_ms":1792147964000,"timestamp_seconds":1792147964,"priority":1,"record_length":96,"hex_timestamp":"000001a14457c060"} 
[2026-10-16 16:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:23: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-10-16 16: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-10-16 16:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":217003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":217003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":217003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789875968001,"66":14559,"220":206,"94":10240,"24":6,"16":36536255994920960,"45":906490192661772288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789875968001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:23:07] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:23:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36536255994920960,"km_value":36536255994920.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":906490192661772288,"description":"Unknown IO ID 45"} 
[2026-10-16 16:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789875968001,"power":14559,"unknown_220":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":906490192661772288}} 
[2026-10-16 16:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":217003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:23:07] local.INFO: GPS data processed {"connection_id":217003,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:23:07] local.INFO: Acknowledgment sent {"connection_id":217003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:23:16] local.INFO: TCP Data received {"connection_id":216784,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:23:16] local.INFO: Processing buffer {"connection_id":216784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:23:16] local.INFO: IMEI packet received {"connection_id":216784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":216784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:23:21] local.INFO: TCP Data received {"connection_id":216784,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:23:21] local.INFO: Processing buffer {"connection_id":216784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:23:21] local.INFO: IMEI packet received {"connection_id":216784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":216784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:23:22] local.INFO: TCP Data received {"connection_id":216784,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144571480012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144571480012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:23:22] local.INFO: Processing buffer {"connection_id":216784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144571480012d7fa40005afce580009000a2e..."} 
[2026-10-16 16:23:22] local.INFO: Packet analysis {"connection_id":216784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14457"} 
[2026-10-16 16:23:22] local.INFO: Extracted packet for processing {"connection_id":216784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14457"} 
[2026-10-16 16:23:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789790464001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792147920000,"timestamp_ms":1792147920000,"timestamp_seconds":1792147920,"priority":1,"record_length":96,"hex_timestamp":"000001a144571480"} 
[2026-10-16 16:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789790464001,"66":25625,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789790464001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:23:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:23:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789790464001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":216784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:23:22] local.INFO: GPS data processed {"connection_id":216784,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:23:22] local.INFO: Acknowledgment sent {"connection_id":216784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:23:38] local.INFO: TCP Data received {"connection_id":217003,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14457c448012d0c9a000705f108001c00941f..."} 
[2026-10-16 16:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14457c448012d0c9a000705f108001c00941f..."} 
[2026-10-16 16:23:38] local.INFO: Processing buffer {"connection_id":217003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14457c448012d0c9a000705f108001c00941f..."} 
[2026-10-16 16:23:38] local.INFO: Packet analysis {"connection_id":217003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14457"} 
[2026-10-16 16:23:38] local.INFO: Extracted packet for processing {"connection_id":217003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14457"} 
[2026-10-16 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":755800576,"raw_latitude":117829896,"longitude_deg":75.5800576,"latitude_deg":11.7829896,"altitude":28,"angle":148,"satellites":31,"speed":7,"hex_longitude":"2d0c9a00","hex_latitude":"0705f108","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789878784001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36536264584855552,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907897567544715264,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:38] 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-10-16 16:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792147965000,"timestamp_ms":1792147965000,"timestamp_seconds":1792147965,"priority":1,"record_length":96,"hex_timestamp":"000001a14457c448"} 
[2026-10-16 16:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:23: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-10-16 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 16:23: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-10-16 16: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-10-16 16:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789878784001,"66":14559,"220":206,"94":10240,"24":7,"16":36536264584855552,"45":907897567544715264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789878784001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:23:38] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:23:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36536264584855552,"km_value":36536264584855.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":907897567544715264,"description":"Unknown IO ID 45"} 
[2026-10-16 16:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789878784001,"power":14559,"unknown_220":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":907897567544715264}} 
[2026-10-16 16:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":217003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":643,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:23:39] local.INFO: GPS data processed {"connection_id":217003,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:23:39] local.INFO: Acknowledgment sent {"connection_id":217003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:23:54] local.INFO: TCP Data received {"connection_id":216784,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144581650012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144581650012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:23:54] local.INFO: Processing buffer {"connection_id":216784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144581650012d7fa40005afce580009000a2f..."} 
[2026-10-16 16:23:54] local.INFO: Packet analysis {"connection_id":216784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14458"} 
[2026-10-16 16:23:54] local.INFO: Extracted packet for processing {"connection_id":216784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14458"} 
[2026-10-16 16:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407704,"longitude_deg":76.3339776,"latitude_deg":9.5407704,"altitude":9,"angle":10,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afce58","is_valid_coordinates":true} 
[2026-10-16 16:23: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-10-16 16:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789867520001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792147986000,"timestamp_ms":1792147986000,"timestamp_seconds":1792147986,"priority":1,"record_length":96,"hex_timestamp":"000001a144581650"} 
[2026-10-16 16:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:23:54] 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-10-16 16: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-10-16 16:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789867520001,"66":25615,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789867520001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:23:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:23:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789867520001,"power":25615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":216784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:23:54] local.INFO: GPS data processed {"connection_id":216784,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:23:54] local.INFO: Acknowledgment sent {"connection_id":216784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:24:01] local.INFO: TCP Data received {"connection_id":216786,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:24:01] local.INFO: Processing buffer {"connection_id":216786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:24:01] local.INFO: IMEI packet received {"connection_id":216786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":216786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:24:04] local.INFO: TCP Data received {"connection_id":216786,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:24:04] local.INFO: Processing buffer {"connection_id":216786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:24:04] local.INFO: IMEI packet received {"connection_id":216786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":216786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:24:06] local.INFO: TCP Data received {"connection_id":216786,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:24:06] local.INFO: Processing buffer {"connection_id":216786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:24:06] local.INFO: IMEI packet received {"connection_id":216786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":216786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:24:07] local.INFO: TCP Data received {"connection_id":216786,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14457dbb8012d0c9d000705ecf8001c00891f..."} 
[2026-10-16 16:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14457dbb8012d0c9d000705ecf8001c00891f..."} 
[2026-10-16 16:24:07] local.INFO: Processing buffer {"connection_id":216786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14457dbb8012d0c9d000705ecf8001c00891f..."} 
[2026-10-16 16:24:07] local.INFO: Packet analysis {"connection_id":216786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14457"} 
[2026-10-16 16:24:07] local.INFO: Extracted packet for processing {"connection_id":216786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14457"} 
[2026-10-16 16:24:07] local.INFO: GPS Element Parsed {"raw_longitude":755801344,"raw_latitude":117828856,"longitude_deg":75.5801344,"latitude_deg":11.7828856,"altitude":28,"angle":137,"satellites":31,"speed":5,"hex_longitude":"2d0c9d00","hex_latitude":"0705ecf8","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789879040001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36536329009364992,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908038305033029632,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:07] 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-10-16 16:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792147971000,"timestamp_ms":1792147971000,"timestamp_seconds":1792147971,"priority":1,"record_length":96,"hex_timestamp":"000001a14457dbb8"} 
[2026-10-16 16:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:24: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-10-16 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 16:24:07] 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-10-16 16: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-10-16 16:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789879040001,"66":14450,"220":206,"94":10240,"24":5,"16":36536329009364992,"45":908038305033029632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789879040001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:24:07] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:24:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36536329009364992,"km_value":36536329009364.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":908038305033029632,"description":"Unknown IO ID 45"} 
[2026-10-16 16:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789879040001,"power":14450,"unknown_220":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":908038305033029632}} 
[2026-10-16 16:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":216786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:24:07] local.INFO: GPS data processed {"connection_id":216786,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:24:07] local.INFO: Acknowledgment sent {"connection_id":216786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:24:21] local.INFO: TCP Data received {"connection_id":216787,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:24:21] local.INFO: Processing buffer {"connection_id":216787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:24:21] local.INFO: IMEI packet received {"connection_id":216787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":216787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:24:26] local.INFO: TCP Data received {"connection_id":216787,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:24:26] local.INFO: Processing buffer {"connection_id":216787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:24:26] local.INFO: IMEI packet received {"connection_id":216787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":216787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:24:27] local.INFO: TCP Data received {"connection_id":216787,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144587028012d7fa34005afce500009000a2d..."} 
[2026-10-16 16:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144587028012d7fa34005afce500009000a2d..."} 
[2026-10-16 16:24:27] local.INFO: Processing buffer {"connection_id":216787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144587028012d7fa34005afce500009000a2d..."} 
[2026-10-16 16:24:27] local.INFO: Packet analysis {"connection_id":216787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14458"} 
[2026-10-16 16:24:27] local.INFO: Extracted packet for processing {"connection_id":216787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14458"} 
[2026-10-16 16:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 16:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789884416001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421767680,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792148009000,"timestamp_ms":1792148009000,"timestamp_seconds":1792148009,"priority":1,"record_length":96,"hex_timestamp":"000001a144587028"} 
[2026-10-16 16:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 16:24:27] 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-10-16 16:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789884416001,"66":27745,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197476363421767680},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789884416001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:24:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:24:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421767680,"description":"Unknown IO ID 45"} 
[2026-10-16 16:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789884416001,"power":27745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421767680}} 
[2026-10-16 16:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":216787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:24:27] local.INFO: GPS data processed {"connection_id":216787,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:24:27] local.INFO: Acknowledgment sent {"connection_id":216787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:24:28] local.INFO: TCP Data received {"connection_id":216787,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14458c230012d7fa34005afce500009000a2e..."} 
[2026-10-16 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14458c230012d7fa34005afce500009000a2e..."} 
[2026-10-16 16:24:28] local.INFO: Processing buffer {"connection_id":216787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14458c230012d7fa34005afce500009000a2e..."} 
[2026-10-16 16:24:28] local.INFO: Packet analysis {"connection_id":216787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14458"} 
[2026-10-16 16:24:28] local.INFO: Extracted packet for processing {"connection_id":216787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14458"} 
[2026-10-16 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407696,"longitude_deg":76.3339584,"latitude_deg":9.5407696,"altitude":9,"angle":10,"satellites":46,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 16:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789890304001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204901487378432,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792148030000,"timestamp_ms":1792148030000,"timestamp_seconds":1792148030,"priority":1,"record_length":96,"hex_timestamp":"000001a14458c230"} 
[2026-10-16 16:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 16:24:28] 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-10-16 16:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789890304001,"66":27843,"236":206,"19":45568,"24":0,"16":15204901487378432,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789890304001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:24:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:24:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204901487378432,"km_value":15204901487378.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789890304001,"power":27843,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 16:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":216787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:24:29] local.INFO: GPS data processed {"connection_id":216787,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:24:29] local.INFO: Acknowledgment sent {"connection_id":216787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:24:38] local.INFO: TCP Data received {"connection_id":216786,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144596640012d0cf3400705d7400018003a1e..."} 
[2026-10-16 16:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144596640012d0cf3400705d7400018003a1e..."} 
[2026-10-16 16:24:38] local.INFO: Processing buffer {"connection_id":216786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144596640012d0cf3400705d7400018003a1e..."} 
[2026-10-16 16:24:38] local.INFO: Packet analysis {"connection_id":216786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:24:38] local.INFO: Extracted packet for processing {"connection_id":216786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":755823424,"raw_latitude":117823296,"longitude_deg":75.5823424,"latitude_deg":11.7823296,"altitude":24,"angle":58,"satellites":30,"speed":26,"hex_longitude":"2d0cf340","hex_latitude":"0705d740","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789906176001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36538042701316096,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932456259260930048,"note":"Value kept but may cause issues"} 
[2026-10-16 16:24:38] 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-10-16 16:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792148072000,"timestamp_ms":1792148072000,"timestamp_seconds":1792148072,"priority":1,"record_length":96,"hex_timestamp":"000001a144596640"} 
[2026-10-16 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-10-16 16: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-10-16 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 16:24:38] 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-10-16 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-10-16 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-10-16 16:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789906176001,"66":14157,"220":206,"94":10240,"24":26,"16":36538042701316096,"45":932456259260930048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789906176001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:24:38] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:24:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36538042701316096,"km_value":36538042701316.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":932456259260930048,"description":"Unknown IO ID 45"} 
[2026-10-16 16:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789906176001,"power":14157,"unknown_220":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":932456259260930048}} 
[2026-10-16 16:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":216786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:24:38] local.INFO: GPS data processed {"connection_id":216786,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:24:38] local.INFO: Acknowledgment sent {"connection_id":216786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:25:01] local.INFO: TCP Data received {"connection_id":216787,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14458f8e0012d7fa34005afcb38001400e42e..."} 
[2026-10-16 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14458f8e0012d7fa34005afcb38001400e42e..."} 
[2026-10-16 16:25:01] local.INFO: Processing buffer {"connection_id":216787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14458f8e0012d7fa34005afcb38001400e42e..."} 
[2026-10-16 16:25:01] local.INFO: Packet analysis {"connection_id":216787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14458"} 
[2026-10-16 16:25:01] local.INFO: Extracted packet for processing {"connection_id":216787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14458"} 
[2026-10-16 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95406904,"longitude_deg":76.3339584,"latitude_deg":9.5406904,"altitude":20,"angle":228,"satellites":46,"speed":3,"hex_longitude":"2d7fa340","hex_latitude":"05afcb38","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789895680001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15204940142084096,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189232640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792148044000,"timestamp_ms":1792148044000,"timestamp_seconds":1792148044,"priority":1,"record_length":96,"hex_timestamp":"000001a14458f8e0"} 
[2026-10-16 16:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-16 16:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789895680001,"66":27908,"236":206,"19":45568,"24":3,"16":15204940142084096,"45":9197265257189232640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789895680001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:25:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:25:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15204940142084096,"km_value":15204940142084.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189232640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789895680001,"power":27908,"unknown_236":206,"unknown_19":45568,"ignition":3,"odometer":null,"unknown_45":9197265257189232640}} 
[2026-10-16 16:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":216787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:25:01] local.INFO: GPS data processed {"connection_id":216787,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:25:01] local.INFO: Acknowledgment sent {"connection_id":216787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:25:09] local.INFO: TCP Data received {"connection_id":216788,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:25:09] local.INFO: Processing buffer {"connection_id":216788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:25:09] local.INFO: IMEI packet received {"connection_id":216788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":216788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:25:13] local.INFO: TCP Data received {"connection_id":217004,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:25:13] local.INFO: Processing buffer {"connection_id":217004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:25:13] local.INFO: IMEI packet received {"connection_id":217004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":217004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:25:15] local.INFO: TCP Data received {"connection_id":217004,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:25:15] local.INFO: Processing buffer {"connection_id":217004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:25:15] local.INFO: IMEI packet received {"connection_id":217004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":217004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:25:16] local.INFO: TCP Data received {"connection_id":216788,"ip":"42.109.136.7","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 16:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216788,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 16:25:16] local.INFO: Processing buffer {"connection_id":216788,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 16:25:16] local.INFO: IMEI packet received {"connection_id":216788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":216788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:25:17] local.INFO: TCP Data received {"connection_id":216788,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144596a28012d0cf6000705d768001800481e..."} 
[2026-10-16 16:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144596a28012d0cf6000705d768001800481e..."} 
[2026-10-16 16:25:17] local.INFO: Processing buffer {"connection_id":216788,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 16:25:17] local.INFO: IMEI packet received {"connection_id":216788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":216788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:25:18] local.INFO: TCP Data received {"connection_id":217004,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:25:18] local.INFO: Processing buffer {"connection_id":217004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:25:18] local.INFO: IMEI packet received {"connection_id":217004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":217004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:25:18] local.INFO: TCP Data received {"connection_id":216788,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144596e10012d0cf9000705d738001800531f..."} 
[2026-10-16 16:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144596e10012d0cf9000705d738001800531f..."} 
[2026-10-16 16:25:18] local.INFO: Processing buffer {"connection_id":216788,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a144..."} 
[2026-10-16 16:25:18] local.INFO: IMEI packet received {"connection_id":216788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":216788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:25:19] local.INFO: TCP Data received {"connection_id":216788,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144599908012d0d1e400705d7080017005d1e..."} 
[2026-10-16 16:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144599908012d0d1e400705d7080017005d1e..."} 
[2026-10-16 16:25:19] local.INFO: Processing buffer {"connection_id":216788,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a144596a28012d0cf6000705d768001800481e..."} 
[2026-10-16 16:25:19] local.INFO: Packet analysis {"connection_id":216788,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:19] local.INFO: Extracted packet for processing {"connection_id":216788,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":755824128,"raw_latitude":117823336,"longitude_deg":75.5824128,"latitude_deg":11.7823336,"altitude":24,"angle":72,"satellites":30,"speed":27,"hex_longitude":"2d0cf600","hex_latitude":"0705d768","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789906432001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36538072766087168,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":933159946702766080,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] 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-10-16 16:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792148073000,"timestamp_ms":1792148073000,"timestamp_seconds":1792148073,"priority":1,"record_length":96,"hex_timestamp":"000001a144596a28"} 
[2026-10-16 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-10-16 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 16:25:19] 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-10-16 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-10-16 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-10-16 16:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":216788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":216788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":216788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:25:19] 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-10-16 16:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789906432001,"66":14157,"220":206,"94":10240,"24":27,"16":36538072766087168,"45":933159946702766080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789906432001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36538072766087168,"km_value":36538072766087.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":933159946702766080,"description":"Unknown IO ID 45"} 
[2026-10-16 16:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789906432001,"power":14157,"unknown_220":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":933159946702766080}} 
[2026-10-16 16:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":216788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":650,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:25:19] local.INFO: GPS data processed {"connection_id":216788,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:25:19] local.INFO: Acknowledgment sent {"connection_id":216788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:25:19] local.INFO: Packet analysis {"connection_id":216788,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:19] local.INFO: Extracted packet for processing {"connection_id":216788,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":755824896,"raw_latitude":117823288,"longitude_deg":75.5824896,"latitude_deg":11.7823288,"altitude":24,"angle":83,"satellites":31,"speed":28,"hex_longitude":"2d0cf900","hex_latitude":"0705d738","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789906688001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36538111420792832,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":933934002888730624,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] 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-10-16 16:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792148074000,"timestamp_ms":1792148074000,"timestamp_seconds":1792148074,"priority":1,"record_length":96,"hex_timestamp":"000001a144596e10"} 
[2026-10-16 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-10-16 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 16:25:19] 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-10-16 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-10-16 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-10-16 16:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":216788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":216788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":216788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:25:19] 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-10-16 16:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789906688001,"66":14298,"220":206,"94":10240,"24":28,"16":36538111420792832,"45":933934002888730624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789906688001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36538111420792832,"km_value":36538111420792.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":933934002888730624,"description":"Unknown IO ID 45"} 
[2026-10-16 16:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789906688001,"power":14298,"unknown_220":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":933934002888730624}} 
[2026-10-16 16:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":216788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":651,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:25:19] local.INFO: GPS data processed {"connection_id":216788,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:25:19] local.INFO: Acknowledgment sent {"connection_id":216788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:25:19] local.INFO: Packet analysis {"connection_id":216788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:19] local.INFO: Extracted packet for processing {"connection_id":216788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":755834432,"raw_latitude":117823240,"longitude_deg":75.5834432,"latitude_deg":11.782324,"altitude":23,"angle":93,"satellites":30,"speed":34,"hex_longitude":"2d0d1e40","hex_latitude":"0705d708","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789906944001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36538562392358912,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":934778427818850304,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] 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-10-16 16:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792148085000,"timestamp_ms":1792148085000,"timestamp_seconds":1792148085,"priority":1,"record_length":96,"hex_timestamp":"000001a144599908"} 
[2026-10-16 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-10-16 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-10-16 16:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 16:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":216788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":216788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":216788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:25:19] 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-10-16 16:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789906944001,"66":14548,"220":206,"94":10240,"24":34,"16":36538562392358912,"45":934778427818850304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789906944001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36538562392358912,"km_value":36538562392358.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":934778427818850304,"description":"Unknown IO ID 45"} 
[2026-10-16 16:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789906944001,"power":14548,"unknown_220":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":934778427818850304}} 
[2026-10-16 16:25:19] local.INFO: TCP Data received {"connection_id":217004,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445952b8012d7fa28005afccb8001001372d..."} 
[2026-10-16 16:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445952b8012d7fa28005afccb8001001372d..."} 
[2026-10-16 16:25:19] local.INFO: Processing buffer {"connection_id":217004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445952b8012d7fa28005afccb8001001372d..."} 
[2026-10-16 16:25:19] local.INFO: Packet analysis {"connection_id":217004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:19] local.INFO: Extracted packet for processing {"connection_id":217004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95407288,"longitude_deg":76.3339392,"latitude_deg":9.5407288,"altitude":16,"angle":311,"satellites":45,"speed":5,"hex_longitude":"2d7fa280","hex_latitude":"05afccb8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789904640001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205047516266496,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197405994677436416,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792148067000,"timestamp_ms":1792148067000,"timestamp_seconds":1792148067,"priority":1,"record_length":96,"hex_timestamp":"000001a1445952b8"} 
[2026-10-16 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-10-16 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-16 16:25:19] 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-10-16 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-10-16 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-10-16 16:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":217004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":217004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":217004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789904640001,"66":27767,"236":206,"19":45568,"24":5,"16":15205047516266496,"45":9197405994677436416},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789904640001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205047516266496,"km_value":15205047516266.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197405994677436416,"description":"Unknown IO ID 45"} 
[2026-10-16 16:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789904640001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":5,"odometer":null,"unknown_45":9197405994677436416}} 
[2026-10-16 16:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":217004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:25:19] local.INFO: GPS data processed {"connection_id":217004,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:25:19] local.INFO: Acknowledgment sent {"connection_id":217004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":216788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":653,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:25:19] local.INFO: GPS data processed {"connection_id":216788,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:25:19] local.INFO: Acknowledgment sent {"connection_id":216788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:25:19] local.INFO: TCP Data received {"connection_id":216788,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14459cbd0012d0d3a800705d6a8001500861e..."} 
[2026-10-16 16:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14459cbd0012d0d3a800705d6a8001500861e..."} 
[2026-10-16 16:25:19] local.INFO: Processing buffer {"connection_id":216788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14459cbd0012d0d3a800705d6a8001500861e..."} 
[2026-10-16 16:25:19] local.INFO: Packet analysis {"connection_id":216788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:19] local.INFO: Extracted packet for processing {"connection_id":216788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117823144,"longitude_deg":75.5841664,"latitude_deg":11.7823144,"altitude":21,"angle":134,"satellites":30,"speed":7,"hex_longitude":"2d0d3a80","hex_latitude":"0705d6a8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789909760001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36538910284709888,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":945263370701309952,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:19] 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-10-16 16:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792148098000,"timestamp_ms":1792148098000,"timestamp_seconds":1792148098,"priority":1,"record_length":96,"hex_timestamp":"000001a14459cbd0"} 
[2026-10-16 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-10-16 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 16:25:19] 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-10-16 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-10-16 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-10-16 16:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":216788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":216788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":216788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:25:19] 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-10-16 16:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789909760001,"66":14461,"220":206,"94":10240,"24":7,"16":36538910284709888,"45":945263370701309952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789909760001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36538910284709888,"km_value":36538910284709.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":945263370701309952,"description":"Unknown IO ID 45"} 
[2026-10-16 16:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789909760001,"power":14461,"unknown_220":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":945263370701309952}} 
[2026-10-16 16:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":216788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":654,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:25:20] local.INFO: GPS data processed {"connection_id":216788,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:25:20] local.INFO: Acknowledgment sent {"connection_id":216788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:25:22] local.INFO: TCP Data received {"connection_id":216788,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14459d3a0012d0d3b800705d500001500a51e..."} 
[2026-10-16 16:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14459d3a0012d0d3b800705d500001500a51e..."} 
[2026-10-16 16:25:22] local.INFO: Processing buffer {"connection_id":216788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14459d3a0012d0d3b800705d500001500a51e..."} 
[2026-10-16 16:25:22] local.INFO: Packet analysis {"connection_id":216788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:22] local.INFO: Extracted packet for processing {"connection_id":216788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:22] local.INFO: GPS Element Parsed {"raw_longitude":755841920,"raw_latitude":117822720,"longitude_deg":75.584192,"latitude_deg":11.782272,"altitude":21,"angle":165,"satellites":30,"speed":11,"hex_longitude":"2d0d3b80","hex_latitude":"0705d500","is_valid_coordinates":true} 
[2026-10-16 16:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789913088001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36538936054513664,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038793361408,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25: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-10-16 16:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792148100000,"timestamp_ms":1792148100000,"timestamp_seconds":1792148100,"priority":1,"record_length":96,"hex_timestamp":"000001a14459d3a0"} 
[2026-10-16 16:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 16:25: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-10-16 16:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:25:22] 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-10-16 16:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789913088001,"66":14646,"220":206,"94":10240,"24":11,"16":36538936054513664,"45":953215038793361408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789913088001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:25:22] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:25:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36538936054513664,"km_value":36538936054513.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038793361408,"description":"Unknown IO ID 45"} 
[2026-10-16 16:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789913088001,"power":14646,"unknown_220":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":953215038793361408}} 
[2026-10-16 16:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":216788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":655,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:25:22] local.INFO: GPS data processed {"connection_id":216788,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:25:22] local.INFO: Acknowledgment sent {"connection_id":216788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:25:51] local.INFO: TCP Data received {"connection_id":217004,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445956a0012d7fa24005afcd08000f012a2d..."} 
[2026-10-16 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445956a0012d7fa24005afcd08000f012a2d..."} 
[2026-10-16 16:25:51] local.INFO: Processing buffer {"connection_id":217004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445956a0012d7fa24005afcd08000f012a2d..."} 
[2026-10-16 16:25:51] local.INFO: Packet analysis {"connection_id":217004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:51] local.INFO: Extracted packet for processing {"connection_id":217004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:25:51] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":95407368,"longitude_deg":76.3339328,"latitude_deg":9.5407368,"altitude":15,"angle":298,"satellites":45,"speed":4,"hex_longitude":"2d7fa240","hex_latitude":"05afcd08","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789905152001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205051811233792,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956595200,"note":"Value kept but may cause issues"} 
[2026-10-16 16:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792148068000,"timestamp_ms":1792148068000,"timestamp_seconds":1792148068,"priority":1,"record_length":96,"hex_timestamp":"000001a1445956a0"} 
[2026-10-16 16:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 16:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":217004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":217004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":217004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789905152001,"66":27767,"236":206,"19":45568,"24":4,"16":15205051811233792,"45":9197054150956595200},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789905152001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:25:51] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:25:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205051811233792,"km_value":15205051811233.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956595200,"description":"Unknown IO ID 45"} 
[2026-10-16 16:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789905152001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":4,"odometer":null,"unknown_45":9197054150956595200}} 
[2026-10-16 16:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":217004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:25:51] local.INFO: GPS data processed {"connection_id":217004,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:25:51] local.INFO: Acknowledgment sent {"connection_id":217004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:26:01] local.INFO: TCP Data received {"connection_id":216789,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:26:01] local.INFO: Processing buffer {"connection_id":216789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:26:01] local.INFO: IMEI packet received {"connection_id":216789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":216789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:26:06] local.INFO: TCP Data received {"connection_id":216789,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:26:06] local.INFO: Processing buffer {"connection_id":216789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:26:06] local.INFO: IMEI packet received {"connection_id":216789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":216789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:26:07] local.INFO: TCP Data received {"connection_id":216789,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14459d788012d0d3b800705d3e8001500b61e..."} 
[2026-10-16 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14459d788012d0d3b800705d3e8001500b61e..."} 
[2026-10-16 16:26:07] local.INFO: Processing buffer {"connection_id":216789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14459d788012d0d3b800705d3e8001500b61e..."} 
[2026-10-16 16:26:07] local.INFO: Packet analysis {"connection_id":216789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:26:07] local.INFO: Extracted packet for processing {"connection_id":216789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:26:07] local.INFO: GPS Element Parsed {"raw_longitude":755841920,"raw_latitude":117822440,"longitude_deg":75.584192,"latitude_deg":11.782244,"altitude":21,"angle":182,"satellites":30,"speed":12,"hex_longitude":"2d0d3b80","hex_latitude":"0705d3e8","is_valid_coordinates":true} 
[2026-10-16 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789913600001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36538948939415552,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953496513769963520,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:07] 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-10-16 16:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792148101000,"timestamp_ms":1792148101000,"timestamp_seconds":1792148101,"priority":1,"record_length":96,"hex_timestamp":"000001a14459d788"} 
[2026-10-16 16:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:26: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-10-16 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-10-16 16:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789913600001,"66":14646,"220":206,"94":10240,"24":12,"16":36538948939415552,"45":953496513769963520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789913600001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:26:07] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:26:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36538948939415552,"km_value":36538948939415.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":953496513769963520,"description":"Unknown IO ID 45"} 
[2026-10-16 16:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789913600001,"power":14646,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":953496513769963520}} 
[2026-10-16 16:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":216789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:26:07] local.INFO: GPS data processed {"connection_id":216789,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:26:07] local.INFO: Acknowledgment sent {"connection_id":216789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:26:10] local.INFO: TCP Data received {"connection_id":220077,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:26:10] local.INFO: Processing buffer {"connection_id":220077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:26:10] local.INFO: IMEI packet received {"connection_id":220077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":220077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:26:15] local.INFO: TCP Data received {"connection_id":217005,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:26:15] local.INFO: Processing buffer {"connection_id":217005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:26:15] local.INFO: IMEI packet received {"connection_id":217005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":217005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:26:21] local.INFO: TCP Data received {"connection_id":217005,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:26:21] local.INFO: Processing buffer {"connection_id":217005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:26:21] local.INFO: IMEI packet received {"connection_id":217005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":217005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:26:23] local.INFO: TCP Data received {"connection_id":217005,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144595a88012d7fa18005afcd38000f01152d..."} 
[2026-10-16 16:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144595a88012d7fa18005afcd38000f01152d..."} 
[2026-10-16 16:26:23] local.INFO: Processing buffer {"connection_id":217005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144595a88012d7fa18005afcd38000f01152d..."} 
[2026-10-16 16:26:23] local.INFO: Packet analysis {"connection_id":217005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:26:23] local.INFO: Extracted packet for processing {"connection_id":217005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:26:23] local.INFO: GPS Element Parsed {"raw_longitude":763339136,"raw_latitude":95407416,"longitude_deg":76.3339136,"latitude_deg":9.5407416,"altitude":15,"angle":277,"satellites":45,"speed":4,"hex_longitude":"2d7fa180","hex_latitude":"05afcd38","is_valid_coordinates":true} 
[2026-10-16 16:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789905408001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205060401168384,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782212438016,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792148069000,"timestamp_ms":1792148069000,"timestamp_seconds":1792148069,"priority":1,"record_length":96,"hex_timestamp":"000001a144595a88"} 
[2026-10-16 16:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:26: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-10-16 16:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 16:26:23] 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-10-16 16:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789905408001,"66":28104,"236":206,"19":45568,"24":4,"16":15205060401168384,"45":9196983782212438016},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789905408001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:26:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:26:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205060401168384,"km_value":15205060401168.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782212438016,"description":"Unknown IO ID 45"} 
[2026-10-16 16:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789905408001,"power":28104,"unknown_236":206,"unknown_19":45568,"ignition":4,"odometer":null,"unknown_45":9196983782212438016}} 
[2026-10-16 16:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":217005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:26:23] local.INFO: GPS data processed {"connection_id":217005,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:26:23] local.INFO: Acknowledgment sent {"connection_id":217005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:26:38] local.INFO: TCP Data received {"connection_id":216789,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14459fe98012d0d3a400705c358001600aa1e..."} 
[2026-10-16 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14459fe98012d0d3a400705c358001600aa1e..."} 
[2026-10-16 16:26:38] local.INFO: Processing buffer {"connection_id":216789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14459fe98012d0d3a400705c358001600aa1e..."} 
[2026-10-16 16:26:38] local.INFO: Packet analysis {"connection_id":216789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:26:38] local.INFO: Extracted packet for processing {"connection_id":216789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:26:38] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117818200,"longitude_deg":75.58416,"latitude_deg":11.78182,"altitude":22,"angle":170,"satellites":30,"speed":12,"hex_longitude":"2d0d3a40","hex_latitude":"0705c358","is_valid_coordinates":true} 
[2026-10-16 16:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789913856001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36539155097845760,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953496513769891840,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:38] 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-10-16 16:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792148111000,"timestamp_ms":1792148111000,"timestamp_seconds":1792148111,"priority":1,"record_length":96,"hex_timestamp":"000001a14459fe98"} 
[2026-10-16 16:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:26: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-10-16 16:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-10-16 16:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789913856001,"66":14396,"220":206,"94":10240,"24":12,"16":36539155097845760,"45":953496513769891840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-10-16 16:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789913856001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:26:38] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-10-16 16:26:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36539155097845760,"km_value":36539155097845.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":953496513769891840,"description":"Unknown IO ID 45"} 
[2026-10-16 16:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789913856001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":953496513769891840}} 
[2026-10-16 16:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":216789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":659,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:26:39] local.INFO: GPS data processed {"connection_id":216789,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:26:39] local.INFO: Acknowledgment sent {"connection_id":216789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:26:54] local.INFO: TCP Data received {"connection_id":217005,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144596a28012d7fa08005afcd78000f01202f..."} 
[2026-10-16 16:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144596a28012d7fa08005afcd78000f01202f..."} 
[2026-10-16 16:26:54] local.INFO: Processing buffer {"connection_id":217005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144596a28012d7fa08005afcd78000f01202f..."} 
[2026-10-16 16:26:54] local.INFO: Packet analysis {"connection_id":217005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:26:54] local.INFO: Extracted packet for processing {"connection_id":217005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763338880,"raw_latitude":95407480,"longitude_deg":76.333888,"latitude_deg":9.540748,"altitude":15,"angle":288,"satellites":47,"speed":2,"hex_longitude":"2d7fa080","hex_latitude":"05afcd78","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789905664001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205077581037568,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772675979917312,"note":"Value kept but may cause issues"} 
[2026-10-16 16:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792148073000,"timestamp_ms":1792148073000,"timestamp_seconds":1792148073,"priority":1,"record_length":96,"hex_timestamp":"000001a144596a28"} 
[2026-10-16 16:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:26: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-10-16 16: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-16 16:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789905664001,"66":27974,"236":206,"19":45568,"24":2,"16":15205077581037568,"45":9196772675979917312},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789905664001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:26:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:26:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205077581037568,"km_value":15205077581037.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772675979917312,"description":"Unknown IO ID 45"} 
[2026-10-16 16:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789905664001,"power":27974,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9196772675979917312}} 
[2026-10-16 16:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":217005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:26:54] local.INFO: GPS data processed {"connection_id":217005,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:26:54] local.INFO: Acknowledgment sent {"connection_id":217005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:27:01] local.INFO: TCP Data received {"connection_id":218342,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:27:01] local.INFO: Processing buffer {"connection_id":218342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:27:01] local.INFO: IMEI packet received {"connection_id":218342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":218342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:27:06] local.INFO: TCP Data received {"connection_id":218342,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:27:06] local.INFO: Processing buffer {"connection_id":218342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:27:06] local.INFO: IMEI packet received {"connection_id":218342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":218342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:27:07] local.INFO: TCP Data received {"connection_id":218342,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1445b6210012d0d3b800705c020001701301e..."} 
[2026-10-16 16:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445b6210012d0d3b800705c020001701301e..."} 
[2026-10-16 16:27:07] local.INFO: Processing buffer {"connection_id":218342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445b6210012d0d3b800705c020001701301e..."} 
[2026-10-16 16:27:07] local.INFO: Packet analysis {"connection_id":218342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445b"} 
[2026-10-16 16:27:07] local.INFO: Extracted packet for processing {"connection_id":218342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445b"} 
[2026-10-16 16:27:07] local.INFO: GPS Element Parsed {"raw_longitude":755841920,"raw_latitude":117817376,"longitude_deg":75.584192,"latitude_deg":11.7817376,"altitude":23,"angle":304,"satellites":30,"speed":4,"hex_longitude":"2d0d3b80","hex_latitude":"0705c020","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789938432001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36539361256275968,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953848357489451008,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:07] 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-10-16 16:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792148202000,"timestamp_ms":1792148202000,"timestamp_seconds":1792148202,"priority":1,"record_length":96,"hex_timestamp":"000001a1445b6210"} 
[2026-10-16 16:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:27: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-10-16 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 16:27:07] 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-10-16 16: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-10-16 16:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":218342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":218342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":218342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789938432001,"66":14439,"167":206,"94":11008,"24":4,"16":36539361256275968,"45":953848357489451008},"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-10-16 16:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789938432001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:27:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 16:27:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 16:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36539361256275968,"km_value":36539361256275.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":953848357489451008,"description":"Unknown IO ID 45"} 
[2026-10-16 16:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789938432001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":953848357489451008}} 
[2026-10-16 16:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":218342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":661,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:27:07] local.INFO: GPS data processed {"connection_id":218342,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:27:07] local.INFO: Acknowledgment sent {"connection_id":218342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:27:09] local.INFO: TCP Data received {"connection_id":220078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:27:09] local.INFO: Processing buffer {"connection_id":220078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:27:09] local.INFO: IMEI packet received {"connection_id":220078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":220078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:27:10] local.INFO: TCP Data received {"connection_id":220078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:27:10] local.INFO: Processing buffer {"connection_id":220078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:27:10] local.INFO: IMEI packet received {"connection_id":220078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 16:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":220078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:27:15] local.INFO: TCP Data received {"connection_id":217006,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:27:15] local.INFO: Processing buffer {"connection_id":217006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:27:15] local.INFO: IMEI packet received {"connection_id":217006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":217006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:27:15] local.INFO: TCP Data received {"connection_id":220078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:27:15] local.INFO: Processing buffer {"connection_id":220078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:27:15] local.INFO: IMEI packet received {"connection_id":220078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 16:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":220078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:27:21] local.INFO: TCP Data received {"connection_id":217006,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:27:21] local.INFO: Processing buffer {"connection_id":217006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:27:21] local.INFO: IMEI packet received {"connection_id":217006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":217006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:27:22] local.INFO: TCP Data received {"connection_id":217006,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144596e10012d7fa00005afcd98000f013630..."} 
[2026-10-16 16:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144596e10012d7fa00005afcd98000f013630..."} 
[2026-10-16 16:27:22] local.INFO: Processing buffer {"connection_id":217006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144596e10012d7fa00005afcd98000f013630..."} 
[2026-10-16 16:27:22] local.INFO: Packet analysis {"connection_id":217006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:27:22] local.INFO: Extracted packet for processing {"connection_id":217006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95407512,"longitude_deg":76.3338752,"latitude_deg":9.5407512,"altitude":15,"angle":310,"satellites":48,"speed":2,"hex_longitude":"2d7fa000","hex_latitude":"05afcd98","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789906688001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205077581037568,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201003223040,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792148074000,"timestamp_ms":1792148074000,"timestamp_seconds":1792148074,"priority":1,"record_length":96,"hex_timestamp":"000001a144596e10"} 
[2026-10-16 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-10-16 16:27: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-10-16 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-16 16:27:22] 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-10-16 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-10-16 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-10-16 16:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789906688001,"66":27974,"236":206,"19":45568,"24":2,"16":15205077581037568,"45":9196491201003223040},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789906688001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:27:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:27:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205077581037568,"km_value":15205077581037.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201003223040,"description":"Unknown IO ID 45"} 
[2026-10-16 16:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789906688001,"power":27974,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9196491201003223040}} 
[2026-10-16 16:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":217006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:27:22] local.INFO: GPS data processed {"connection_id":217006,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:27:22] local.INFO: Acknowledgment sent {"connection_id":217006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:27:38] local.INFO: TCP Data received {"connection_id":218342,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1445c2178012d0d61800705d6e0001d008620..."} 
[2026-10-16 16:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445c2178012d0d61800705d6e0001d008620..."} 
[2026-10-16 16:27:38] local.INFO: Processing buffer {"connection_id":218342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445c2178012d0d61800705d6e0001d008620..."} 
[2026-10-16 16:27:38] local.INFO: Packet analysis {"connection_id":218342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445c"} 
[2026-10-16 16:27:38] local.INFO: Extracted packet for processing {"connection_id":218342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445c"} 
[2026-10-16 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":755851648,"raw_latitude":117823200,"longitude_deg":75.5851648,"latitude_deg":11.78232,"altitude":29,"angle":134,"satellites":32,"speed":24,"hex_longitude":"2d0d6180","hex_latitude":"0705d6e0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789952000001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36540125760454656,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963770350420174848,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:38] 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-10-16 16:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792148251000,"timestamp_ms":1792148251000,"timestamp_seconds":1792148251,"priority":1,"record_length":96,"hex_timestamp":"000001a1445c2178"} 
[2026-10-16 16:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:27: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-10-16 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 16:27:38] 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-10-16 16: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-10-16 16:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":218342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":218342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":218342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789952000001,"66":14515,"167":206,"94":11008,"24":24,"16":36540125760454656,"45":963770350420174848},"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-10-16 16:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789952000001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:27:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 16:27:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 16:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36540125760454656,"km_value":36540125760454.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":963770350420174848,"description":"Unknown IO ID 45"} 
[2026-10-16 16:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789952000001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":963770350420174848}} 
[2026-10-16 16:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":218342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:27:38] local.INFO: GPS data processed {"connection_id":218342,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:27:38] local.INFO: Acknowledgment sent {"connection_id":218342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:27:54] local.INFO: TCP Data received {"connection_id":217006,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445971f8012d7fa00005afcdc8000f01472f..."} 
[2026-10-16 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445971f8012d7fa00005afcdc8000f01472f..."} 
[2026-10-16 16:27:54] local.INFO: Processing buffer {"connection_id":217006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445971f8012d7fa00005afcdc8000f01472f..."} 
[2026-10-16 16:27:54] local.INFO: Packet analysis {"connection_id":217006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:27:54] local.INFO: Extracted packet for processing {"connection_id":217006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95407560,"longitude_deg":76.3338752,"latitude_deg":9.540756,"altitude":15,"angle":327,"satellites":47,"speed":2,"hex_longitude":"2d7fa000","hex_latitude":"05afcdc8","is_valid_coordinates":true} 
[2026-10-16 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789906944001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205081876004864,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514875904,"note":"Value kept but may cause issues"} 
[2026-10-16 16:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792148075000,"timestamp_ms":1792148075000,"timestamp_seconds":1792148075,"priority":1,"record_length":96,"hex_timestamp":"000001a1445971f8"} 
[2026-10-16 16:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:27: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-10-16 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-10-16 16:27:54] 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-10-16 16:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789906944001,"66":27995,"236":206,"19":45568,"24":2,"16":15205081876004864,"45":9196350463514875904},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789906944001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:27:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:27:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205081876004864,"km_value":15205081876004.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514875904,"description":"Unknown IO ID 45"} 
[2026-10-16 16:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789906944001,"power":27995,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9196350463514875904}} 
[2026-10-16 16:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":217006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:27:54] local.INFO: GPS data processed {"connection_id":217006,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:27:54] local.INFO: Acknowledgment sent {"connection_id":217006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:28:00] local.INFO: TCP Data received {"connection_id":217007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217007,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:00] local.INFO: Processing buffer {"connection_id":217007,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:00] local.INFO: IMEI packet received {"connection_id":217007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":217007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:28:01] local.INFO: TCP Data received {"connection_id":217007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217007,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:01] local.INFO: Processing buffer {"connection_id":217007,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:01] local.INFO: IMEI packet received {"connection_id":217007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":217007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:28:01] local.INFO: TCP Data received {"connection_id":217007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217007,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:01] local.INFO: Processing buffer {"connection_id":217007,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:01] local.INFO: IMEI packet received {"connection_id":217007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":217007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:28:02] local.INFO: TCP Data received {"connection_id":217007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217007,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:02] local.INFO: Processing buffer {"connection_id":217007,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:28:02] local.INFO: IMEI packet received {"connection_id":217007,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":217007,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:28:16] local.INFO: TCP Data received {"connection_id":217009,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:28:16] local.INFO: Processing buffer {"connection_id":217009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:28:16] local.INFO: IMEI packet received {"connection_id":217009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":217009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:28:21] local.INFO: TCP Data received {"connection_id":217009,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:28:21] local.INFO: Processing buffer {"connection_id":217009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:28:21] local.INFO: IMEI packet received {"connection_id":217009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":217009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:28:22] local.INFO: TCP Data received {"connection_id":217009,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144598580012d7f9fc005afce50000f014f30..."} 
[2026-10-16 16:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144598580012d7f9fc005afce50000f014f30..."} 
[2026-10-16 16:28:22] local.INFO: Processing buffer {"connection_id":217009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144598580012d7f9fc005afce50000f014f30..."} 
[2026-10-16 16:28:22] local.INFO: Packet analysis {"connection_id":217009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:28:22] local.INFO: Extracted packet for processing {"connection_id":217009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14459"} 
[2026-10-16 16:28:22] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":95407696,"longitude_deg":76.3338688,"latitude_deg":9.5407696,"altitude":15,"angle":335,"satellites":48,"speed":0,"hex_longitude":"2d7f9fc0","hex_latitude":"05afce50","is_valid_coordinates":true} 
[2026-10-16 16:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789907200001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463514888192,"note":"Value kept but may cause issues"} 
[2026-10-16 16:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792148080000,"timestamp_ms":1792148080000,"timestamp_seconds":1792148080,"priority":1,"record_length":96,"hex_timestamp":"000001a144598580"} 
[2026-10-16 16:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:28: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-10-16 16:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-10-16 16:28:22] 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-10-16 16:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789907200001,"66":27821,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9196350463514888192},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789907200001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:28:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:28:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463514888192,"description":"Unknown IO ID 45"} 
[2026-10-16 16:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789907200001,"power":27821,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196350463514888192}} 
[2026-10-16 16:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":217009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:28:22] local.INFO: GPS data processed {"connection_id":217009,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:28:22] local.INFO: Acknowledgment sent {"connection_id":217009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:28:54] local.INFO: TCP Data received {"connection_id":217009,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445c19a8012d7f9dc005afd038000e014f2f..."} 
[2026-10-16 16:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445c19a8012d7f9dc005afd038000e014f2f..."} 
[2026-10-16 16:28:54] local.INFO: Processing buffer {"connection_id":217009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445c19a8012d7f9dc005afd038000e014f2f..."} 
[2026-10-16 16:28:54] local.INFO: Packet analysis {"connection_id":217009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445c"} 
[2026-10-16 16:28:54] local.INFO: Extracted packet for processing {"connection_id":217009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445c"} 
[2026-10-16 16:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95408184,"longitude_deg":76.3338176,"latitude_deg":9.5408184,"altitude":14,"angle":335,"satellites":47,"speed":0,"hex_longitude":"2d7f9dc0","hex_latitude":"05afd038","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789908480001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094770745344,"note":"Value kept but may cause issues"} 
[2026-10-16 16:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792148249000,"timestamp_ms":1792148249000,"timestamp_seconds":1792148249,"priority":1,"record_length":96,"hex_timestamp":"000001a1445c19a8"} 
[2026-10-16 16:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 16:28:54] 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-10-16 16: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-10-16 16:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789908480001,"66":26484,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9196280094770745344},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789908480001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:28:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:28:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094770745344,"description":"Unknown IO ID 45"} 
[2026-10-16 16:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789908480001,"power":26484,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196280094770745344}} 
[2026-10-16 16:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":217009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:28:54] local.INFO: GPS data processed {"connection_id":217009,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:28:54] local.INFO: Acknowledgment sent {"connection_id":217009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:29:15] local.INFO: TCP Data received {"connection_id":216791,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:29:15] local.INFO: Processing buffer {"connection_id":216791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:29:15] local.INFO: IMEI packet received {"connection_id":216791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":216791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:29:15] local.INFO: TCP Data received {"connection_id":216791,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:29:15] local.INFO: Processing buffer {"connection_id":216791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:29:15] local.INFO: IMEI packet received {"connection_id":216791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":216791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:29:21] local.INFO: TCP Data received {"connection_id":216791,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:29:21] local.INFO: Processing buffer {"connection_id":216791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:29:21] local.INFO: IMEI packet received {"connection_id":216791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":216791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:29:22] local.INFO: TCP Data received {"connection_id":216791,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445c2948012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445c2948012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:29:22] local.INFO: Processing buffer {"connection_id":216791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445c2948012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:29:22] local.INFO: Packet analysis {"connection_id":216791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445c"} 
[2026-10-16 16:29:22] local.INFO: Extracted packet for processing {"connection_id":216791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445c"} 
[2026-10-16 16:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789951744001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817448960,"note":"Value kept but may cause issues"} 
[2026-10-16 16:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792148253000,"timestamp_ms":1792148253000,"timestamp_seconds":1792148253,"priority":1,"record_length":96,"hex_timestamp":"000001a1445c2948"} 
[2026-10-16 16:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-10-16 16:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789951744001,"66":26321,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195717144817448960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789951744001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:29:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:29:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817448960,"description":"Unknown IO ID 45"} 
[2026-10-16 16:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789951744001,"power":26321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195717144817448960}} 
[2026-10-16 16:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":216791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:29:22] local.INFO: GPS data processed {"connection_id":216791,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:29:22] local.INFO: Acknowledgment sent {"connection_id":216791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:29:54] local.INFO: TCP Data received {"connection_id":216791,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445c7f38012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445c7f38012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:29:54] local.INFO: Processing buffer {"connection_id":216791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445c7f38012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:29:54] local.INFO: Packet analysis {"connection_id":216791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445c"} 
[2026-10-16 16:29:54] local.INFO: Extracted packet for processing {"connection_id":216791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445c"} 
[2026-10-16 16:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789952768001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792148275000,"timestamp_ms":1792148275000,"timestamp_seconds":1792148275,"priority":1,"record_length":96,"hex_timestamp":"000001a1445c7f38"} 
[2026-10-16 16:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:29: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-10-16 16: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-10-16 16:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789952768001,"66":26006,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789952768001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:29:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:29:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789952768001,"power":26006,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":216791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:29:54] local.INFO: GPS data processed {"connection_id":216791,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:29:54] local.INFO: Acknowledgment sent {"connection_id":216791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:30:15] local.INFO: TCP Data received {"connection_id":217011,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:30:15] local.INFO: Processing buffer {"connection_id":217011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:30:15] local.INFO: IMEI packet received {"connection_id":217011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":217011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:30:21] local.INFO: TCP Data received {"connection_id":217011,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:30:21] local.INFO: Processing buffer {"connection_id":217011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:30:21] local.INFO: IMEI packet received {"connection_id":217011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":217011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:30:22] local.INFO: TCP Data received {"connection_id":217011,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445cd140012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445cd140012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:30:22] local.INFO: Processing buffer {"connection_id":217011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445cd140012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:30:22] local.INFO: Packet analysis {"connection_id":217011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445c"} 
[2026-10-16 16:30:22] local.INFO: Extracted packet for processing {"connection_id":217011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445c"} 
[2026-10-16 16:30:22] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789958400001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792148296000,"timestamp_ms":1792148296000,"timestamp_seconds":1792148296,"priority":1,"record_length":96,"hex_timestamp":"000001a1445cd140"} 
[2026-10-16 16:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 16:30:22] 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-10-16 16: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-10-16 16:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789958400001,"66":26006,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789958400001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:30:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:30:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789958400001,"power":26006,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":217011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:30:22] local.INFO: GPS data processed {"connection_id":217011,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:30:22] local.INFO: Acknowledgment sent {"connection_id":217011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:30:54] local.INFO: TCP Data received {"connection_id":217011,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445d2348012d7f9cc005afd078000e01632c..."} 
[2026-10-16 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445d2348012d7f9cc005afd078000e01632c..."} 
[2026-10-16 16:30:54] local.INFO: Processing buffer {"connection_id":217011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445d2348012d7f9cc005afd078000e01632c..."} 
[2026-10-16 16:30:54] local.INFO: Packet analysis {"connection_id":217011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445d"} 
[2026-10-16 16:30:54] local.INFO: Extracted packet for processing {"connection_id":217011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445d"} 
[2026-10-16 16:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789963776001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792148317000,"timestamp_ms":1792148317000,"timestamp_seconds":1792148317,"priority":1,"record_length":96,"hex_timestamp":"000001a1445d2348"} 
[2026-10-16 16:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 16:30:54] 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-10-16 16:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789963776001,"66":25875,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789963776001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:30:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:30:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789963776001,"power":25875,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":217011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:30:54] local.INFO: GPS data processed {"connection_id":217011,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:30:54] local.INFO: Acknowledgment sent {"connection_id":217011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:31:15] local.INFO: TCP Data received {"connection_id":218343,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:31:15] local.INFO: Processing buffer {"connection_id":218343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:31:15] local.INFO: IMEI packet received {"connection_id":218343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":218343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:31:20] local.INFO: TCP Data received {"connection_id":218343,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:31:20] local.INFO: Processing buffer {"connection_id":218343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:31:20] local.INFO: IMEI packet received {"connection_id":218343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":218343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:31:21] local.INFO: TCP Data received {"connection_id":218343,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445d7550012d7f9cc005afd078000e01632b..."} 
[2026-10-16 16:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445d7550012d7f9cc005afd078000e01632b..."} 
[2026-10-16 16:31:21] local.INFO: Processing buffer {"connection_id":218343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445d7550012d7f9cc005afd078000e01632b..."} 
[2026-10-16 16:31:21] local.INFO: Packet analysis {"connection_id":218343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445d"} 
[2026-10-16 16:31:21] local.INFO: Extracted packet for processing {"connection_id":218343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445d"} 
[2026-10-16 16:31:21] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":43,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789969152001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792148338000,"timestamp_ms":1792148338000,"timestamp_seconds":1792148338,"priority":1,"record_length":96,"hex_timestamp":"000001a1445d7550"} 
[2026-10-16 16:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:31: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-10-16 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 16:31:21] 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-10-16 16: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-10-16 16:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":218343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":218343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":218343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789969152001,"66":25756,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789969152001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:31:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:31:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789969152001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":218343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:31:21] local.INFO: GPS data processed {"connection_id":218343,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:31:21] local.INFO: Acknowledgment sent {"connection_id":218343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:31:52] local.INFO: TCP Data received {"connection_id":218343,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445dc758012d7f9cc005afd078000e01632c..."} 
[2026-10-16 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445dc758012d7f9cc005afd078000e01632c..."} 
[2026-10-16 16:31:52] local.INFO: Processing buffer {"connection_id":218343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445dc758012d7f9cc005afd078000e01632c..."} 
[2026-10-16 16:31:52] local.INFO: Packet analysis {"connection_id":218343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445d"} 
[2026-10-16 16:31:52] local.INFO: Extracted packet for processing {"connection_id":218343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445d"} 
[2026-10-16 16:31:52] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789974528001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792148359000,"timestamp_ms":1792148359000,"timestamp_seconds":1792148359,"priority":1,"record_length":96,"hex_timestamp":"000001a1445dc758"} 
[2026-10-16 16:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:31: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-10-16 16:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 16:31:52] 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-10-16 16:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":218343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":218343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":218343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789974528001,"66":25647,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789974528001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:31:52] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:31:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789974528001,"power":25647,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":218343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:31:52] local.INFO: GPS data processed {"connection_id":218343,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:31:52] local.INFO: Acknowledgment sent {"connection_id":218343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:32:21] local.INFO: TCP Data received {"connection_id":217014,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:32:21] local.INFO: Processing buffer {"connection_id":217014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:32:21] local.INFO: IMEI packet received {"connection_id":217014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":217014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:32:26] local.INFO: TCP Data received {"connection_id":217014,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:32:26] local.INFO: Processing buffer {"connection_id":217014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:32:26] local.INFO: IMEI packet received {"connection_id":217014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":217014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:32:27] local.INFO: TCP Data received {"connection_id":217014,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:32:27] local.INFO: Processing buffer {"connection_id":217014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:32:27] local.INFO: Packet analysis {"connection_id":217014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:32:27] local.INFO: Extracted packet for processing {"connection_id":217014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789979904001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792148376000,"timestamp_ms":1792148376000,"timestamp_seconds":1792148376,"priority":1,"record_length":96,"hex_timestamp":"000001a1445e09c0"} 
[2026-10-16 16:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:32: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-10-16 16:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 16:32:27] 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-10-16 16:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789979904001,"66":25625,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789979904001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:32:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:32:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789979904001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":217014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:32:27] local.INFO: GPS data processed {"connection_id":217014,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:32:27] local.INFO: Acknowledgment sent {"connection_id":217014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:32:32] local.INFO: TCP Data received {"connection_id":217014,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:32:32] local.INFO: Processing buffer {"connection_id":217014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:32:32] local.INFO: Packet analysis {"connection_id":217014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:32:32] local.INFO: Extracted packet for processing {"connection_id":217014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789979904001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792148376000,"timestamp_ms":1792148376000,"timestamp_seconds":1792148376,"priority":1,"record_length":96,"hex_timestamp":"000001a1445e09c0"} 
[2026-10-16 16:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 16:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789979904001,"66":25625,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789979904001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:32:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:32:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789979904001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":217014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:32:32] local.INFO: GPS data processed {"connection_id":217014,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:32:32] local.INFO: Acknowledgment sent {"connection_id":217014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:33:00] local.INFO: TCP Data received {"connection_id":220082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:33:00] local.INFO: Processing buffer {"connection_id":220082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:33:00] local.INFO: IMEI packet received {"connection_id":220082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":220082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:33:05] local.INFO: TCP Data received {"connection_id":220082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:33:05] local.INFO: Processing buffer {"connection_id":220082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:33:05] local.INFO: IMEI packet received {"connection_id":220082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 16:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":220082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:33:06] local.INFO: TCP Data received {"connection_id":220082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1445f8c78012ccba2c0074ab810000e013b2b..."} 
[2026-10-16 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445f8c78012ccba2c0074ab810000e013b2b..."} 
[2026-10-16 16:33:06] local.INFO: Processing buffer {"connection_id":220082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445f8c78012ccba2c0074ab810000e013b2b..."} 
[2026-10-16 16:33:06] local.INFO: Packet analysis {"connection_id":220082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445f"} 
[2026-10-16 16:33:06] local.INFO: Extracted packet for processing {"connection_id":220082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445f"} 
[2026-10-16 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":751542976,"raw_latitude":122337296,"longitude_deg":75.1542976,"latitude_deg":12.2337296,"altitude":14,"angle":315,"satellites":43,"speed":36,"hex_longitude":"2ccba2c0","hex_latitude":"074ab810","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790008832001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13047410565578752,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3771342444139882496,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792148475000,"timestamp_ms":1792148475000,"timestamp_seconds":1792148475,"priority":1,"record_length":96,"hex_timestamp":"000001a1445f8c78"} 
[2026-10-16 16:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":65,"data_length":795,"current_offset":136} 
[2026-10-16 16:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":220082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":220082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 16:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":220082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 16:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 16:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 16:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790008832001,"66":27876,"74":206,"85":37632,"24":36,"16":13047410565578752,"44":-3771342444139882496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-10-16 16:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 16:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 16:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790008832001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:33:06] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-10-16 16:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-10-16 16:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13047410565578752,"km_value":13047410565578.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3771342444139882496,"description":"Unknown IO ID 44"} 
[2026-10-16 16:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790008832001,"power":27876,"unknown_74":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-3771342444139882496}} 
[2026-10-16 16:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":220082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:33:06] local.INFO: GPS data processed {"connection_id":220082,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:33:06] local.INFO: Acknowledgment sent {"connection_id":220082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:33:06] local.INFO: TCP Data received {"connection_id":220081,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:33:06] local.INFO: Processing buffer {"connection_id":220081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:33:06] local.INFO: IMEI packet received {"connection_id":220081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":220081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:33:07] local.INFO: TCP Data received {"connection_id":220081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144608290012d0e2cc007066d380028015e1f..."} 
[2026-10-16 16:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144608290012d0e2cc007066d380028015e1f..."} 
[2026-10-16 16:33:07] local.INFO: Processing buffer {"connection_id":220081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144608290012d0e2cc007066d380028015e1f..."} 
[2026-10-16 16:33:07] local.INFO: Packet analysis {"connection_id":220081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14460"} 
[2026-10-16 16:33:07] local.INFO: Extracted packet for processing {"connection_id":220081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14460"} 
[2026-10-16 16:33:07] local.INFO: GPS Element Parsed {"raw_longitude":755903680,"raw_latitude":117861688,"longitude_deg":75.590368,"latitude_deg":11.7861688,"altitude":40,"angle":350,"satellites":31,"speed":13,"hex_longitude":"2d0e2cc0","hex_latitude":"07066d38","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790025472001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36546160189505536,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021402351911297024,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:07] 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-10-16 16:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792148538000,"timestamp_ms":1792148538000,"timestamp_seconds":1792148538,"priority":1,"record_length":96,"hex_timestamp":"000001a144608290"} 
[2026-10-16 16:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:33: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-10-16 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-10-16 16:33:07] 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-10-16 16: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-10-16 16:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":220081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":220081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":220081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790025472001,"66":14439,"165":206,"94":11008,"24":13,"16":36546160189505536,"45":1021402351911297024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 16:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790025472001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:33:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 16:33:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 16:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36546160189505536,"km_value":36546160189505.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021402351911297024,"description":"Unknown IO ID 45"} 
[2026-10-16 16:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790025472001,"power":14439,"unknown_165":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":1021402351911297024}} 
[2026-10-16 16:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":220081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:33:07] local.INFO: GPS data processed {"connection_id":220081,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:33:07] local.INFO: Acknowledgment sent {"connection_id":220081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:33:15] local.INFO: TCP Data received {"connection_id":217015,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:33:15] local.INFO: Processing buffer {"connection_id":217015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:33:15] local.INFO: IMEI packet received {"connection_id":217015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":217015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:33:20] local.INFO: TCP Data received {"connection_id":217015,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:33:20] local.INFO: Processing buffer {"connection_id":217015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:33:20] local.INFO: IMEI packet received {"connection_id":217015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":217015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:33:22] local.INFO: TCP Data received {"connection_id":217015,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:33:22] local.INFO: Processing buffer {"connection_id":217015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:33:22] local.INFO: Packet analysis {"connection_id":217015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:33:22] local.INFO: Extracted packet for processing {"connection_id":217015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:33:22] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789979904001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792148376000,"timestamp_ms":1792148376000,"timestamp_seconds":1792148376,"priority":1,"record_length":96,"hex_timestamp":"000001a1445e09c0"} 
[2026-10-16 16:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:33: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-10-16 16:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 16:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789979904001,"66":25625,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789979904001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:33:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:33:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789979904001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":217015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:33:22] local.INFO: GPS data processed {"connection_id":217015,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:33:22] local.INFO: Acknowledgment sent {"connection_id":217015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:33:38] local.INFO: TCP Data received {"connection_id":220081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14460b940012d0e2a4007067f70002501451e..."} 
[2026-10-16 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14460b940012d0e2a4007067f70002501451e..."} 
[2026-10-16 16:33:38] local.INFO: Processing buffer {"connection_id":220081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14460b940012d0e2a4007067f70002501451e..."} 
[2026-10-16 16:33:38] local.INFO: Packet analysis {"connection_id":220081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14460"} 
[2026-10-16 16:33:38] local.INFO: Extracted packet for processing {"connection_id":220081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14460"} 
[2026-10-16 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":755903040,"raw_latitude":117866352,"longitude_deg":75.590304,"latitude_deg":11.7866352,"altitude":37,"angle":325,"satellites":30,"speed":9,"hex_longitude":"2d0e2a40","hex_latitude":"07067f70","is_valid_coordinates":true} 
[2026-10-16 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790025728001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36546387822772224,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021402351911385088,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:38] 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-10-16 16:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792148552000,"timestamp_ms":1792148552000,"timestamp_seconds":1792148552,"priority":1,"record_length":96,"hex_timestamp":"000001a14460b940"} 
[2026-10-16 16:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:33: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-10-16 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 16:33: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-10-16 16:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":220081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":220081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":220081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790025728001,"66":14428,"165":206,"94":11008,"24":9,"16":36546387822772224,"45":1021402351911385088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-10-16 16:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790025728001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:33:38] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 16:33:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 16:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36546387822772224,"km_value":36546387822772.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021402351911385088,"description":"Unknown IO ID 45"} 
[2026-10-16 16:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790025728001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":1021402351911385088}} 
[2026-10-16 16:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":220081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:33:38] local.INFO: GPS data processed {"connection_id":220081,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:33:38] local.INFO: Acknowledgment sent {"connection_id":220081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:33:49] local.INFO: TCP Data received {"connection_id":218344,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:33:49] local.INFO: Processing buffer {"connection_id":218344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:33:49] local.INFO: IMEI packet received {"connection_id":218344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":218344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:33:54] local.INFO: TCP Data received {"connection_id":217015,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:33:54] local.INFO: Processing buffer {"connection_id":217015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:33:54] local.INFO: Packet analysis {"connection_id":217015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:33:54] local.INFO: Extracted packet for processing {"connection_id":217015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16:33: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-10-16 16:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789979904001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792148376000,"timestamp_ms":1792148376000,"timestamp_seconds":1792148376,"priority":1,"record_length":96,"hex_timestamp":"000001a1445e09c0"} 
[2026-10-16 16:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 16:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789979904001,"66":25625,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789979904001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:33:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:33:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789979904001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":217015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:33:54] local.INFO: GPS data processed {"connection_id":217015,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:33:54] local.INFO: Acknowledgment sent {"connection_id":217015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:34:00] local.INFO: TCP Data received {"connection_id":218345,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:00] local.INFO: Processing buffer {"connection_id":218345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:00] local.INFO: IMEI packet received {"connection_id":218345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":218345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:34:01] local.INFO: TCP Data received {"connection_id":218345,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:01] local.INFO: Processing buffer {"connection_id":218345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:01] local.INFO: IMEI packet received {"connection_id":218345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":218345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:34:02] local.INFO: TCP Data received {"connection_id":218345,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:02] local.INFO: Processing buffer {"connection_id":218345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:02] local.INFO: IMEI packet received {"connection_id":218345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":218345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:34:03] local.INFO: TCP Data received {"connection_id":218345,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:03] local.INFO: Processing buffer {"connection_id":218345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:34:03] local.INFO: IMEI packet received {"connection_id":218345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":218345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:34:15] local.INFO: TCP Data received {"connection_id":218346,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:34:15] local.INFO: Processing buffer {"connection_id":218346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:34:15] local.INFO: IMEI packet received {"connection_id":218346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":218346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:34:21] local.INFO: TCP Data received {"connection_id":218346,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:34:21] local.INFO: Processing buffer {"connection_id":218346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:34:21] local.INFO: IMEI packet received {"connection_id":218346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":218346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:34:22] local.INFO: TCP Data received {"connection_id":218346,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:34:22] local.INFO: Processing buffer {"connection_id":218346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:34:22] local.INFO: Packet analysis {"connection_id":218346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:34:22] local.INFO: Extracted packet for processing {"connection_id":218346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:34:22] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789979904001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792148376000,"timestamp_ms":1792148376000,"timestamp_seconds":1792148376,"priority":1,"record_length":96,"hex_timestamp":"000001a1445e09c0"} 
[2026-10-16 16:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:34: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-10-16 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 16:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789979904001,"66":25625,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789979904001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:34:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:34:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789979904001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":218346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:34:22] local.INFO: GPS data processed {"connection_id":218346,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:34:22] local.INFO: Acknowledgment sent {"connection_id":218346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:34:54] local.INFO: TCP Data received {"connection_id":218346,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:34:54] local.INFO: Processing buffer {"connection_id":218346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1445e09c0012d7f9cc005afd078000e01632e..."} 
[2026-10-16 16:34:54] local.INFO: Packet analysis {"connection_id":218346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:34:54] local.INFO: Extracted packet for processing {"connection_id":218346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1445e"} 
[2026-10-16 16:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":46,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16:34: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-10-16 16:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789979904001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792148376000,"timestamp_ms":1792148376000,"timestamp_seconds":1792148376,"priority":1,"record_length":96,"hex_timestamp":"000001a1445e09c0"} 
[2026-10-16 16:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-10-16 16:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789979904001,"66":25625,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789979904001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:34:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:34:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789979904001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":218346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:34:54] local.INFO: GPS data processed {"connection_id":218346,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:34:54] local.INFO: Acknowledgment sent {"connection_id":218346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:35:15] local.INFO: TCP Data received {"connection_id":220084,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:35:15] local.INFO: Processing buffer {"connection_id":220084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:35:15] local.INFO: IMEI packet received {"connection_id":220084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":220084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:35:16] local.INFO: TCP Data received {"connection_id":220084,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:35:16] local.INFO: Processing buffer {"connection_id":220084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:35:16] local.INFO: IMEI packet received {"connection_id":220084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":220084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:35:20] local.INFO: TCP Data received {"connection_id":220084,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:35:20] local.INFO: Processing buffer {"connection_id":220084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:35:20] local.INFO: IMEI packet received {"connection_id":220084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":220084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:35:21] local.INFO: TCP Data received {"connection_id":220084,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:35:21] local.INFO: Processing buffer {"connection_id":220084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:35:21] local.INFO: Packet analysis {"connection_id":220084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:35:21] local.INFO: Extracted packet for processing {"connection_id":220084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408304,"longitude_deg":76.3337792,"latitude_deg":9.5408304,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0b0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789984256001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792148679000,"timestamp_ms":1792148679000,"timestamp_seconds":1792148679,"priority":1,"record_length":96,"hex_timestamp":"000001a14462a958"} 
[2026-10-16 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-10-16 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:35:21] 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-10-16 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-10-16 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-10-16 16:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":220084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":220084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":220084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789984256001,"66":25756,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789984256001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:35:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:35:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789984256001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":220084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:35:21] local.INFO: GPS data processed {"connection_id":220084,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:35:21] local.INFO: Acknowledgment sent {"connection_id":220084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:35:56] local.INFO: TCP Data received {"connection_id":220084,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:35:56] local.INFO: Processing buffer {"connection_id":220084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:35:56] local.INFO: Packet analysis {"connection_id":220084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:35:56] local.INFO: Extracted packet for processing {"connection_id":220084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408304,"longitude_deg":76.3337792,"latitude_deg":9.5408304,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0b0","is_valid_coordinates":true} 
[2026-10-16 16:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789984256001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792148679000,"timestamp_ms":1792148679000,"timestamp_seconds":1792148679,"priority":1,"record_length":96,"hex_timestamp":"000001a14462a958"} 
[2026-10-16 16:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":220084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":220084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":220084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789984256001,"66":25756,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789984256001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:35:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:35:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789984256001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":220084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:35:56] local.INFO: GPS data processed {"connection_id":220084,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:35:56] local.INFO: Acknowledgment sent {"connection_id":220084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:36:15] local.INFO: TCP Data received {"connection_id":217016,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:36:15] local.INFO: Processing buffer {"connection_id":217016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:36:15] local.INFO: IMEI packet received {"connection_id":217016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":217016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:36:21] local.INFO: TCP Data received {"connection_id":217016,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:36:21] local.INFO: Processing buffer {"connection_id":217016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:36:21] local.INFO: IMEI packet received {"connection_id":217016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":217016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:36:22] local.INFO: TCP Data received {"connection_id":217016,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:36:22] local.INFO: Processing buffer {"connection_id":217016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:36:22] local.INFO: Packet analysis {"connection_id":217016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:36:22] local.INFO: Extracted packet for processing {"connection_id":217016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:36:22] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408304,"longitude_deg":76.3337792,"latitude_deg":9.5408304,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0b0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789984256001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792148679000,"timestamp_ms":1792148679000,"timestamp_seconds":1792148679,"priority":1,"record_length":96,"hex_timestamp":"000001a14462a958"} 
[2026-10-16 16:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789984256001,"66":25756,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789984256001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:36:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:36:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789984256001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":217016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:36:22] local.INFO: GPS data processed {"connection_id":217016,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:36:22] local.INFO: Acknowledgment sent {"connection_id":217016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:36:54] local.INFO: TCP Data received {"connection_id":217016,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:36:54] local.INFO: Processing buffer {"connection_id":217016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:36:54] local.INFO: Packet analysis {"connection_id":217016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:36:54] local.INFO: Extracted packet for processing {"connection_id":217016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408304,"longitude_deg":76.3337792,"latitude_deg":9.5408304,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0b0","is_valid_coordinates":true} 
[2026-10-16 16:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789984256001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792148679000,"timestamp_ms":1792148679000,"timestamp_seconds":1792148679,"priority":1,"record_length":96,"hex_timestamp":"000001a14462a958"} 
[2026-10-16 16:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:36:54] 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-10-16 16:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789984256001,"66":25756,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789984256001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:36:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:36:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789984256001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":217016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:36:54] local.INFO: GPS data processed {"connection_id":217016,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:36:54] local.INFO: Acknowledgment sent {"connection_id":217016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:37:15] local.INFO: TCP Data received {"connection_id":216795,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:37:15] local.INFO: Processing buffer {"connection_id":216795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:37:15] local.INFO: IMEI packet received {"connection_id":216795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":216795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:37:21] local.INFO: TCP Data received {"connection_id":216795,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:37:21] local.INFO: Processing buffer {"connection_id":216795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:37:21] local.INFO: IMEI packet received {"connection_id":216795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":216795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:37:22] local.INFO: TCP Data received {"connection_id":216795,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:37:22] local.INFO: Processing buffer {"connection_id":216795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:37:22] local.INFO: Packet analysis {"connection_id":216795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:37:22] local.INFO: Extracted packet for processing {"connection_id":216795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:37:22] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408304,"longitude_deg":76.3337792,"latitude_deg":9.5408304,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0b0","is_valid_coordinates":true} 
[2026-10-16 16:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789984256001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792148679000,"timestamp_ms":1792148679000,"timestamp_seconds":1792148679,"priority":1,"record_length":96,"hex_timestamp":"000001a14462a958"} 
[2026-10-16 16:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789984256001,"66":25756,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789984256001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:37:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:37:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789984256001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":216795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:37:22] local.INFO: GPS data processed {"connection_id":216795,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:37:22] local.INFO: Acknowledgment sent {"connection_id":216795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:37:54] local.INFO: TCP Data received {"connection_id":216795,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:37:54] local.INFO: Processing buffer {"connection_id":216795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:37:54] local.INFO: Packet analysis {"connection_id":216795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:37:54] local.INFO: Extracted packet for processing {"connection_id":216795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408304,"longitude_deg":76.3337792,"latitude_deg":9.5408304,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0b0","is_valid_coordinates":true} 
[2026-10-16 16:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789984256001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792148679000,"timestamp_ms":1792148679000,"timestamp_seconds":1792148679,"priority":1,"record_length":96,"hex_timestamp":"000001a14462a958"} 
[2026-10-16 16:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:37:54] 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-10-16 16:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789984256001,"66":25756,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789984256001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:37:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:37:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789984256001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":216795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:37:54] local.INFO: GPS data processed {"connection_id":216795,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:37:54] local.INFO: Acknowledgment sent {"connection_id":216795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:38:15] local.INFO: TCP Data received {"connection_id":217018,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:38:15] local.INFO: Processing buffer {"connection_id":217018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:38:15] local.INFO: IMEI packet received {"connection_id":217018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":217018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:38:20] local.INFO: TCP Data received {"connection_id":217018,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:38:20] local.INFO: Processing buffer {"connection_id":217018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:38:20] local.INFO: IMEI packet received {"connection_id":217018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":217018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:38:21] local.INFO: TCP Data received {"connection_id":217018,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:38:21] local.INFO: Processing buffer {"connection_id":217018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14462a958012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:38:21] local.INFO: Packet analysis {"connection_id":217018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:38:21] local.INFO: Extracted packet for processing {"connection_id":217018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14462"} 
[2026-10-16 16:38:21] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408304,"longitude_deg":76.3337792,"latitude_deg":9.5408304,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0b0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458789984256001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792148679000,"timestamp_ms":1792148679000,"timestamp_seconds":1792148679,"priority":1,"record_length":96,"hex_timestamp":"000001a14462a958"} 
[2026-10-16 16:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 16:38:21] 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-10-16 16: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-10-16 16:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458789984256001,"66":25756,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458789984256001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:38:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:38:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458789984256001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":217018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:38:21] local.INFO: GPS data processed {"connection_id":217018,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:38:21] local.INFO: Acknowledgment sent {"connection_id":217018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:38:53] local.INFO: TCP Data received {"connection_id":217018,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14465ed48012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14465ed48012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:38:53] local.INFO: Processing buffer {"connection_id":217018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14465ed48012d7f9c4005afd0b0000e01632c..."} 
[2026-10-16 16:38:53] local.INFO: Packet analysis {"connection_id":217018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14465"} 
[2026-10-16 16:38:53] local.INFO: Extracted packet for processing {"connection_id":217018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14465"} 
[2026-10-16 16:38:53] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408304,"longitude_deg":76.3337792,"latitude_deg":9.5408304,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0b0","is_valid_coordinates":true} 
[2026-10-16 16:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790061824001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352413696,"note":"Value kept but may cause issues"} 
[2026-10-16 16:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792148893000,"timestamp_ms":1792148893000,"timestamp_seconds":1792148893,"priority":1,"record_length":96,"hex_timestamp":"000001a14465ed48"} 
[2026-10-16 16:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 16:38:53] 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-10-16 16: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-10-16 16:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":217018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":217018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":217018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790061824001,"66":25734,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195294932352413696},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790061824001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:38:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:38:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352413696,"description":"Unknown IO ID 45"} 
[2026-10-16 16:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790061824001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195294932352413696}} 
[2026-10-16 16:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":217018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:38:53] local.INFO: GPS data processed {"connection_id":217018,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:38:53] local.INFO: Acknowledgment sent {"connection_id":217018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:39:06] local.INFO: TCP Data received {"connection_id":220086,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220086,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:39:06] local.INFO: Processing buffer {"connection_id":220086,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:39:06] local.INFO: IMEI packet received {"connection_id":220086,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":220086,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:39:11] local.INFO: TCP Data received {"connection_id":220086,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220086,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:39:11] local.INFO: Processing buffer {"connection_id":220086,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:39:11] local.INFO: IMEI packet received {"connection_id":220086,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":220086,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:39:12] local.INFO: TCP Data received {"connection_id":220086,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446679e8012d0df0400706b1700021002720..."} 
[2026-10-16 16:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446679e8012d0df0400706b1700021002720..."} 
[2026-10-16 16:39:12] local.INFO: Processing buffer {"connection_id":220086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446679e8012d0df0400706b1700021002720..."} 
[2026-10-16 16:39:12] local.INFO: Packet analysis {"connection_id":220086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14466"} 
[2026-10-16 16:39:12] local.INFO: Extracted packet for processing {"connection_id":220086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14466"} 
[2026-10-16 16:39:12] local.INFO: GPS Element Parsed {"raw_longitude":755888192,"raw_latitude":117879152,"longitude_deg":75.5888192,"latitude_deg":11.7879152,"altitude":33,"angle":39,"satellites":32,"speed":1,"hex_longitude":"2d0df040","hex_latitude":"0706b170","is_valid_coordinates":true} 
[2026-10-16 16:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790122752001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36551760826859520,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004373115824834560,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:12] 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-10-16 16:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792148929000,"timestamp_ms":1792148929000,"timestamp_seconds":1792148929,"priority":1,"record_length":96,"hex_timestamp":"000001a1446679e8"} 
[2026-10-16 16:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:39:12] 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-10-16 16:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 16:39:12] 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-10-16 16:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":220086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":220086,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":220086,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790122752001,"66":14428,"219":206,"94":10240,"24":1,"16":36551760826859520,"45":1004373115824834560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 16:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790122752001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:39:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 16:39:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36551760826859520,"km_value":36551760826859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004373115824834560,"description":"Unknown IO ID 45"} 
[2026-10-16 16:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790122752001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1004373115824834560}} 
[2026-10-16 16:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":220086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":690,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:39:12] local.INFO: GPS data processed {"connection_id":220086,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:39:12] local.INFO: Acknowledgment sent {"connection_id":220086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:39:16] local.INFO: TCP Data received {"connection_id":220086,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446681b8012d0df0c00706b1800021003620..."} 
[2026-10-16 16:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446681b8012d0df0c00706b1800021003620..."} 
[2026-10-16 16:39:16] local.INFO: Processing buffer {"connection_id":220086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446681b8012d0df0c00706b1800021003620..."} 
[2026-10-16 16:39:16] local.INFO: Packet analysis {"connection_id":220086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14466"} 
[2026-10-16 16:39:16] local.INFO: Extracted packet for processing {"connection_id":220086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14466"} 
[2026-10-16 16:39:16] local.INFO: GPS Element Parsed {"raw_longitude":755888320,"raw_latitude":117879168,"longitude_deg":75.588832,"latitude_deg":11.7879168,"altitude":33,"angle":54,"satellites":32,"speed":0,"hex_longitude":"2d0df0c0","hex_latitude":"0706b180","is_valid_coordinates":true} 
[2026-10-16 16:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790125824001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36551760826859520,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004373115824861184,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792148931000,"timestamp_ms":1792148931000,"timestamp_seconds":1792148931,"priority":1,"record_length":96,"hex_timestamp":"000001a1446681b8"} 
[2026-10-16 16:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:39:16] 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-10-16 16:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 16:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":220086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":220086,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":220086,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790125824001,"66":14559,"219":206,"94":10240,"24":0,"16":36551760826859520,"45":1004373115824861184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 16:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790125824001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:39:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 16:39:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36551760826859520,"km_value":36551760826859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004373115824861184,"description":"Unknown IO ID 45"} 
[2026-10-16 16:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790125824001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1004373115824861184}} 
[2026-10-16 16:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":220086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:39:16] local.INFO: GPS data processed {"connection_id":220086,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:39:16] local.INFO: Acknowledgment sent {"connection_id":220086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:39:20] local.INFO: TCP Data received {"connection_id":216796,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:39:20] local.INFO: Processing buffer {"connection_id":216796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:39:20] local.INFO: IMEI packet received {"connection_id":216796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":216796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:39:25] local.INFO: TCP Data received {"connection_id":218351,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:39:25] local.INFO: Processing buffer {"connection_id":218351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:39:25] local.INFO: IMEI packet received {"connection_id":218351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":218351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:39:26] local.INFO: TCP Data received {"connection_id":216796,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:39:26] local.INFO: Processing buffer {"connection_id":216796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:39:26] local.INFO: IMEI packet received {"connection_id":216796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":216796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:39:28] local.INFO: TCP Data received {"connection_id":216796,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1446652d8012d7f9cc005afd078000e01632a..."} 
[2026-10-16 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446652d8012d7f9cc005afd078000e01632a..."} 
[2026-10-16 16:39:28] local.INFO: Processing buffer {"connection_id":216796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446652d8012d7f9cc005afd078000e01632a..."} 
[2026-10-16 16:39:28] local.INFO: Packet analysis {"connection_id":216796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14466"} 
[2026-10-16 16:39:28] local.INFO: Extracted packet for processing {"connection_id":216796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14466"} 
[2026-10-16 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":42,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790116608001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352413696,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792148919000,"timestamp_ms":1792148919000,"timestamp_seconds":1792148919,"priority":1,"record_length":96,"hex_timestamp":"000001a1446652d8"} 
[2026-10-16 16:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 16:39:28] 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-10-16 16:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790116608001,"66":25288,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195294932352413696},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790116608001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:39:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:39:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352413696,"description":"Unknown IO ID 45"} 
[2026-10-16 16:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790116608001,"power":25288,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195294932352413696}} 
[2026-10-16 16:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":216796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:39:29] local.INFO: GPS data processed {"connection_id":216796,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:39:29] local.INFO: Acknowledgment sent {"connection_id":216796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:39:55] local.INFO: TCP Data received {"connection_id":217019,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:39:55] local.INFO: Processing buffer {"connection_id":217019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:39:55] local.INFO: IMEI packet received {"connection_id":217019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":217019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:39:59] local.INFO: TCP Data received {"connection_id":216796,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14466a4e0012d7f9cc005afd078000e01632c..."} 
[2026-10-16 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14466a4e0012d7f9cc005afd078000e01632c..."} 
[2026-10-16 16:39:59] local.INFO: Processing buffer {"connection_id":216796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14466a4e0012d7f9cc005afd078000e01632c..."} 
[2026-10-16 16:39:59] local.INFO: Packet analysis {"connection_id":216796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14466"} 
[2026-10-16 16:39:59] local.INFO: Extracted packet for processing {"connection_id":216796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14466"} 
[2026-10-16 16:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408248,"longitude_deg":76.333792,"latitude_deg":9.5408248,"altitude":14,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd078","is_valid_coordinates":true} 
[2026-10-16 16:39: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-10-16 16:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790123264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205090465939456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840754688,"note":"Value kept but may cause issues"} 
[2026-10-16 16:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792148940000,"timestamp_ms":1792148940000,"timestamp_seconds":1792148940,"priority":1,"record_length":96,"hex_timestamp":"000001a14466a4e0"} 
[2026-10-16 16:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-10-16 16:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:39: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-10-16 16:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790123264001,"66":27767,"236":206,"19":45568,"24":0,"16":15205090465939456,"45":9195435669840754688},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790123264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:39:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:39:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205090465939456,"km_value":15205090465939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840754688,"description":"Unknown IO ID 45"} 
[2026-10-16 16:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790123264001,"power":27767,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840754688}} 
[2026-10-16 16:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":216796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:39:59] local.INFO: GPS data processed {"connection_id":216796,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:39:59] local.INFO: Acknowledgment sent {"connection_id":216796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:40:01] local.INFO: TCP Data received {"connection_id":218352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:40:01] local.INFO: Processing buffer {"connection_id":218352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:40:01] local.INFO: IMEI packet received {"connection_id":218352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":218352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:40:02] local.INFO: TCP Data received {"connection_id":218352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:40:02] local.INFO: Processing buffer {"connection_id":218352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:40:02] local.INFO: IMEI packet received {"connection_id":218352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":218352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:40:03] local.INFO: TCP Data received {"connection_id":218352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:40:03] local.INFO: Processing buffer {"connection_id":218352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:40:03] local.INFO: IMEI packet received {"connection_id":218352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":218352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:40:03] local.INFO: TCP Data received {"connection_id":218352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a144668d70012d0df1000706b1a00021005520..."} 
[2026-10-16 16:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144668d70012d0df1000706b1a00021005520..."} 
[2026-10-16 16:40:03] local.INFO: Processing buffer {"connection_id":218352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144668d70012d0df1000706b1a00021005520..."} 
[2026-10-16 16:40:03] local.INFO: Packet analysis {"connection_id":218352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14466"} 
[2026-10-16 16:40:03] local.INFO: Extracted packet for processing {"connection_id":218352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14466"} 
[2026-10-16 16:40:03] local.INFO: GPS Element Parsed {"raw_longitude":755888384,"raw_latitude":117879200,"longitude_deg":75.5888384,"latitude_deg":11.78792,"altitude":33,"angle":85,"satellites":32,"speed":1,"hex_longitude":"2d0df100","hex_latitude":"0706b1a0","is_valid_coordinates":true} 
[2026-10-16 16:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790126336001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36551765121826816,"note":"Value kept but may cause issues"} 
[2026-10-16 16:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004513853313220608,"note":"Value kept but may cause issues"} 
[2026-10-16 16:40:03] 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-10-16 16:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792148934000,"timestamp_ms":1792148934000,"timestamp_seconds":1792148934,"priority":1,"record_length":96,"hex_timestamp":"000001a144668d70"} 
[2026-10-16 16:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:40: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-10-16 16:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 16:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":218352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":218352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":218352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790126336001,"66":14428,"219":206,"94":10240,"24":1,"16":36551765121826816,"45":1004513853313220608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 16:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790126336001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:40:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 16:40:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36551765121826816,"km_value":36551765121826.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004513853313220608,"description":"Unknown IO ID 45"} 
[2026-10-16 16:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790126336001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1004513853313220608}} 
[2026-10-16 16:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":218352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:40:04] local.INFO: GPS data processed {"connection_id":218352,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:40:04] local.INFO: Acknowledgment sent {"connection_id":218352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:40:12] local.INFO: TCP Data received {"connection_id":216797,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:12] local.INFO: Processing buffer {"connection_id":216797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:12] local.INFO: IMEI packet received {"connection_id":216797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":216797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:40:15] local.INFO: TCP Data received {"connection_id":216797,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:15] local.INFO: Processing buffer {"connection_id":216797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:15] local.INFO: IMEI packet received {"connection_id":216797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":216797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:40:16] local.INFO: TCP Data received {"connection_id":216797,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:16] local.INFO: Processing buffer {"connection_id":216797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:16] local.INFO: IMEI packet received {"connection_id":216797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":216797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:40:16] local.INFO: TCP Data received {"connection_id":216797,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:16] local.INFO: Processing buffer {"connection_id":216797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:40:16] local.INFO: IMEI packet received {"connection_id":216797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":216797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:40:35] local.INFO: TCP Data received {"connection_id":218352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14467f4d0012d0dcb000706f1980022012f21..."} 
[2026-10-16 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14467f4d0012d0dcb000706f1980022012f21..."} 
[2026-10-16 16:40:35] local.INFO: Processing buffer {"connection_id":218352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14467f4d0012d0dcb000706f1980022012f21..."} 
[2026-10-16 16:40:35] local.INFO: Packet analysis {"connection_id":218352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14467"} 
[2026-10-16 16:40:35] local.INFO: Extracted packet for processing {"connection_id":218352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14467"} 
[2026-10-16 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":755878656,"raw_latitude":117895576,"longitude_deg":75.5878656,"latitude_deg":11.7895576,"altitude":34,"angle":303,"satellites":33,"speed":11,"hex_longitude":"2d0dcb00","hex_latitude":"0706f198","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790150400001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36552860338487296,"note":"Value kept but may cause issues"} 
[2026-10-16 16:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994099279179075584,"note":"Value kept but may cause issues"} 
[2026-10-16 16:40:35] 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-10-16 16:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792149026000,"timestamp_ms":1792149026000,"timestamp_seconds":1792149026,"priority":1,"record_length":96,"hex_timestamp":"000001a14467f4d0"} 
[2026-10-16 16:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:40:35] 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-10-16 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-10-16 16:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":218352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":218352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":218352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790150400001,"66":14537,"219":206,"94":10240,"24":11,"16":36552860338487296,"45":994099279179075584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 16:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790150400001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:40:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 16:40:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36552860338487296,"km_value":36552860338487.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":994099279179075584,"description":"Unknown IO ID 45"} 
[2026-10-16 16:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790150400001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":994099279179075584}} 
[2026-10-16 16:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":218352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:40:35] local.INFO: GPS data processed {"connection_id":218352,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:40:35] local.INFO: Acknowledgment sent {"connection_id":218352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:41:01] local.INFO: TCP Data received {"connection_id":220087,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:41:01] local.INFO: Processing buffer {"connection_id":220087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:41:01] local.INFO: IMEI packet received {"connection_id":220087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":220087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:41:05] local.INFO: TCP Data received {"connection_id":220087,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:41:05] local.INFO: Processing buffer {"connection_id":220087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:41:05] local.INFO: IMEI packet received {"connection_id":220087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":220087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:41:05] local.INFO: TCP Data received {"connection_id":220087,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14467f8b8012d0dca000706f2100023011d21..."} 
[2026-10-16 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14467f8b8012d0dca000706f2100023011d21..."} 
[2026-10-16 16:41:05] local.INFO: Processing buffer {"connection_id":220087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14467f8b8012d0dca000706f2100023011d21..."} 
[2026-10-16 16:41:05] local.INFO: Packet analysis {"connection_id":220087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14467"} 
[2026-10-16 16:41:05] local.INFO: Extracted packet for processing {"connection_id":220087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14467"} 
[2026-10-16 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":755878400,"raw_latitude":117895696,"longitude_deg":75.58784,"latitude_deg":11.7895696,"altitude":35,"angle":285,"satellites":33,"speed":13,"hex_longitude":"2d0dca00","hex_latitude":"0706f210","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790150656001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36552877518356480,"note":"Value kept but may cause issues"} 
[2026-10-16 16:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993888172946593792,"note":"Value kept but may cause issues"} 
[2026-10-16 16:41:05] 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-10-16 16:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792149027000,"timestamp_ms":1792149027000,"timestamp_seconds":1792149027,"priority":1,"record_length":96,"hex_timestamp":"000001a14467f8b8"} 
[2026-10-16 16:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 16:41:05] 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-10-16 16: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-10-16 16:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":220087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":220087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":220087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:41:05] 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-10-16 16:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790150656001,"66":14537,"219":206,"94":10240,"24":13,"16":36552877518356480,"45":993888172946593792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 16:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790150656001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:41:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 16:41:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36552877518356480,"km_value":36552877518356.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":993888172946593792,"description":"Unknown IO ID 45"} 
[2026-10-16 16:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790150656001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":993888172946593792}} 
[2026-10-16 16:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":220087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:41:05] local.INFO: GPS data processed {"connection_id":220087,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:41:05] local.INFO: Acknowledgment sent {"connection_id":220087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:41:36] local.INFO: TCP Data received {"connection_id":220087,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14467fca0012d0dc8800706f2380023011021..."} 
[2026-10-16 16:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14467fca0012d0dc8800706f2380023011021..."} 
[2026-10-16 16:41:36] local.INFO: Processing buffer {"connection_id":220087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14467fca0012d0dc8800706f2380023011021..."} 
[2026-10-16 16:41:36] local.INFO: Packet analysis {"connection_id":220087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14467"} 
[2026-10-16 16:41:36] local.INFO: Extracted packet for processing {"connection_id":220087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14467"} 
[2026-10-16 16:41:36] local.INFO: GPS Element Parsed {"raw_longitude":755878016,"raw_latitude":117895736,"longitude_deg":75.5878016,"latitude_deg":11.7895736,"altitude":35,"angle":272,"satellites":33,"speed":16,"hex_longitude":"2d0dc880","hex_latitude":"0706f238","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790150912001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36552894698225664,"note":"Value kept but may cause issues"} 
[2026-10-16 16:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993606697969913856,"note":"Value kept but may cause issues"} 
[2026-10-16 16:41:36] 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-10-16 16:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792149028000,"timestamp_ms":1792149028000,"timestamp_seconds":1792149028,"priority":1,"record_length":96,"hex_timestamp":"000001a14467fca0"} 
[2026-10-16 16:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 16:41:36] 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-10-16 16: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-10-16 16:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":220087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":220087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":220087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:41:36] 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-10-16 16:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790150912001,"66":14102,"219":206,"94":10240,"24":16,"16":36552894698225664,"45":993606697969913856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 16:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790150912001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:41:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 16:41:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36552894698225664,"km_value":36552894698225.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":993606697969913856,"description":"Unknown IO ID 45"} 
[2026-10-16 16:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790150912001,"power":14102,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":993606697969913856}} 
[2026-10-16 16:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":220087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:41:37] local.INFO: GPS data processed {"connection_id":220087,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:41:37] local.INFO: Acknowledgment sent {"connection_id":220087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:42:02] local.INFO: TCP Data received {"connection_id":217020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217020,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:42:02] local.INFO: Processing buffer {"connection_id":217020,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:42:02] local.INFO: IMEI packet received {"connection_id":217020,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":217020,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:42:05] local.INFO: TCP Data received {"connection_id":217020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217020,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:42:05] local.INFO: Processing buffer {"connection_id":217020,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:42:05] local.INFO: IMEI packet received {"connection_id":217020,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":217020,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:42:06] local.INFO: TCP Data received {"connection_id":217020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446915e0012d0d3080070715d00023011820..."} 
[2026-10-16 16:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446915e0012d0d3080070715d00023011820..."} 
[2026-10-16 16:42:06] local.INFO: Processing buffer {"connection_id":217020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446915e0012d0d3080070715d00023011820..."} 
[2026-10-16 16:42:06] local.INFO: Packet analysis {"connection_id":217020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14469"} 
[2026-10-16 16:42:06] local.INFO: Extracted packet for processing {"connection_id":217020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14469"} 
[2026-10-16 16:42:06] local.INFO: GPS Element Parsed {"raw_longitude":755839104,"raw_latitude":117904848,"longitude_deg":75.5839104,"latitude_deg":11.7904848,"altitude":35,"angle":280,"satellites":32,"speed":10,"hex_longitude":"2d0d3080","hex_latitude":"070715d0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790168320001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36554874678149120,"note":"Value kept but may cause issues"} 
[2026-10-16 16:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952863195093383168,"note":"Value kept but may cause issues"} 
[2026-10-16 16:42:06] 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-10-16 16:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792149100000,"timestamp_ms":1792149100000,"timestamp_seconds":1792149100,"priority":1,"record_length":96,"hex_timestamp":"000001a1446915e0"} 
[2026-10-16 16:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:42: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-10-16 16: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 16:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:42:06] 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-10-16 16:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790168320001,"66":14450,"219":206,"94":10240,"24":10,"16":36554874678149120,"45":952863195093383168},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-10-16 16:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790168320001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:42:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-10-16 16:42:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36554874678149120,"km_value":36554874678149.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":952863195093383168,"description":"Unknown IO ID 45"} 
[2026-10-16 16:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790168320001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":952863195093383168}} 
[2026-10-16 16:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":217020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:42:06] local.INFO: GPS data processed {"connection_id":217020,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:42:06] local.INFO: Acknowledgment sent {"connection_id":217020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:42:37] local.INFO: TCP Data received {"connection_id":217020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14469e4e8012d0ce0c007074e50002500ee20..."} 
[2026-10-16 16:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14469e4e8012d0ce0c007074e50002500ee20..."} 
[2026-10-16 16:42:37] local.INFO: Processing buffer {"connection_id":217020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14469e4e8012d0ce0c007074e50002500ee20..."} 
[2026-10-16 16:42:37] local.INFO: Packet analysis {"connection_id":217020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14469"} 
[2026-10-16 16:42:37] local.INFO: Extracted packet for processing {"connection_id":217020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14469"} 
[2026-10-16 16:42:37] local.INFO: GPS Element Parsed {"raw_longitude":755818688,"raw_latitude":117919312,"longitude_deg":75.5818688,"latitude_deg":11.7919312,"altitude":37,"angle":238,"satellites":32,"speed":18,"hex_longitude":"2d0ce0c0","hex_latitude":"07074e50","is_valid_coordinates":true} 
[2026-10-16 16:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790182912001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36556425161342976,"note":"Value kept but may cause issues"} 
[2026-10-16 16:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928374872123342848,"note":"Value kept but may cause issues"} 
[2026-10-16 16:42:37] 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-10-16 16:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792149153000,"timestamp_ms":1792149153000,"timestamp_seconds":1792149153,"priority":1,"record_length":96,"hex_timestamp":"000001a14469e4e8"} 
[2026-10-16 16:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:42:37] 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-10-16 16:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 16:42:37] 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-10-16 16:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790182912001,"66":14450,"221":206,"94":10240,"24":18,"16":36556425161342976,"45":928374872123342848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790182912001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:42:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:42:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36556425161342976,"km_value":36556425161342.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":928374872123342848,"description":"Unknown IO ID 45"} 
[2026-10-16 16:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790182912001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":928374872123342848}} 
[2026-10-16 16:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":217020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:42:37] local.INFO: GPS data processed {"connection_id":217020,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:42:37] local.INFO: Acknowledgment sent {"connection_id":217020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:43:02] local.INFO: TCP Data received {"connection_id":218355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:02] local.INFO: Processing buffer {"connection_id":218355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:02] local.INFO: IMEI packet received {"connection_id":218355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":218355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:43:05] local.INFO: TCP Data received {"connection_id":218355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:05] local.INFO: Processing buffer {"connection_id":218355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:05] local.INFO: IMEI packet received {"connection_id":218355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":218355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:43:06] local.INFO: TCP Data received {"connection_id":218355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:06] local.INFO: Processing buffer {"connection_id":218355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:06] local.INFO: IMEI packet received {"connection_id":218355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":218355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:43:11] local.INFO: TCP Data received {"connection_id":218355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:11] local.INFO: Processing buffer {"connection_id":218355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:43:11] local.INFO: IMEI packet received {"connection_id":218355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":218355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:43:12] local.INFO: TCP Data received {"connection_id":218355,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14469e8d0012d0cdf4007074db8002400ff20..."} 
[2026-10-16 16:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14469e8d0012d0cdf4007074db8002400ff20..."} 
[2026-10-16 16:43:12] local.INFO: Processing buffer {"connection_id":218355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14469e8d0012d0cdf4007074db8002400ff20..."} 
[2026-10-16 16:43:12] local.INFO: Packet analysis {"connection_id":218355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14469"} 
[2026-10-16 16:43:12] local.INFO: Extracted packet for processing {"connection_id":218355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14469"} 
[2026-10-16 16:43:12] local.INFO: GPS Element Parsed {"raw_longitude":755818304,"raw_latitude":117919160,"longitude_deg":75.5818304,"latitude_deg":11.791916,"altitude":36,"angle":255,"satellites":32,"speed":17,"hex_longitude":"2d0cdf40","hex_latitude":"07074db8","is_valid_coordinates":true} 
[2026-10-16 16:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790183168001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36556446636179456,"note":"Value kept but may cause issues"} 
[2026-10-16 16:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927952659658199040,"note":"Value kept but may cause issues"} 
[2026-10-16 16:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792149154000,"timestamp_ms":1792149154000,"timestamp_seconds":1792149154,"priority":1,"record_length":96,"hex_timestamp":"000001a14469e8d0"} 
[2026-10-16 16:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 16:43:12] 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-10-16 16:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":218355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":218355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":218355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790183168001,"66":14537,"221":206,"94":10240,"24":17,"16":36556446636179456,"45":927952659658199040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790183168001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:43:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:43:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36556446636179456,"km_value":36556446636179.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":927952659658199040,"description":"Unknown IO ID 45"} 
[2026-10-16 16:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790183168001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":927952659658199040}} 
[2026-10-16 16:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":218355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:43:12] local.INFO: GPS data processed {"connection_id":218355,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:43:12] local.INFO: Acknowledgment sent {"connection_id":218355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:43:12] local.INFO: TCP Data received {"connection_id":218355,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14469ecb8012d0cdd4007074dc80024010f20..."} 
[2026-10-16 16:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14469ecb8012d0cdd4007074dc80024010f20..."} 
[2026-10-16 16:43:12] local.INFO: Processing buffer {"connection_id":218355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14469ecb8012d0cdd4007074dc80024010f20..."} 
[2026-10-16 16:43:12] local.INFO: Packet analysis {"connection_id":218355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14469"} 
[2026-10-16 16:43:12] local.INFO: Extracted packet for processing {"connection_id":218355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14469"} 
[2026-10-16 16:43:12] local.INFO: GPS Element Parsed {"raw_longitude":755817792,"raw_latitude":117919176,"longitude_deg":75.5817792,"latitude_deg":11.7919176,"altitude":36,"angle":271,"satellites":32,"speed":18,"hex_longitude":"2d0cdd40","hex_latitude":"07074dc8","is_valid_coordinates":true} 
[2026-10-16 16:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790183424001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36556472405983232,"note":"Value kept but may cause issues"} 
[2026-10-16 16:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927530447193094144,"note":"Value kept but may cause issues"} 
[2026-10-16 16:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792149155000,"timestamp_ms":1792149155000,"timestamp_seconds":1792149155,"priority":1,"record_length":96,"hex_timestamp":"000001a14469ecb8"} 
[2026-10-16 16:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:43:12] 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-10-16 16:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 16:43:12] 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-10-16 16:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":218355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":218355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":218355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790183424001,"66":14537,"221":206,"94":10240,"24":18,"16":36556472405983232,"45":927530447193094144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790183424001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:43:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:43:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36556472405983232,"km_value":36556472405983.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":927530447193094144,"description":"Unknown IO ID 45"} 
[2026-10-16 16:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790183424001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":927530447193094144}} 
[2026-10-16 16:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":218355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:43:13] local.INFO: GPS data processed {"connection_id":218355,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:43:13] local.INFO: Acknowledgment sent {"connection_id":218355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:43:44] local.INFO: TCP Data received {"connection_id":218355,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a14469f0a0012d0cdbc007074e800024012120..."} 
[2026-10-16 16:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14469f0a0012d0cdbc007074e800024012120..."} 
[2026-10-16 16:43:44] local.INFO: Processing buffer {"connection_id":218355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14469f0a0012d0cdbc007074e800024012120..."} 
[2026-10-16 16:43:44] local.INFO: Packet analysis {"connection_id":218355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14469"} 
[2026-10-16 16:43:44] local.INFO: Extracted packet for processing {"connection_id":218355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14469"} 
[2026-10-16 16:43:44] local.INFO: GPS Element Parsed {"raw_longitude":755817408,"raw_latitude":117919360,"longitude_deg":75.5817408,"latitude_deg":11.791936,"altitude":36,"angle":289,"satellites":32,"speed":18,"hex_longitude":"2d0cdbc0","hex_latitude":"07074e80","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790183680001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36556489585852416,"note":"Value kept but may cause issues"} 
[2026-10-16 16:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926967497239676928,"note":"Value kept but may cause issues"} 
[2026-10-16 16:43:44] 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-10-16 16:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792149156000,"timestamp_ms":1792149156000,"timestamp_seconds":1792149156,"priority":1,"record_length":96,"hex_timestamp":"000001a14469f0a0"} 
[2026-10-16 16:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 16:43:44] 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-10-16 16: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-10-16 16:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":218355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":218355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":218355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:43:44] 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-10-16 16:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790183680001,"66":14537,"221":206,"94":10240,"24":18,"16":36556489585852416,"45":926967497239676928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790183680001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:43:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:43:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36556489585852416,"km_value":36556489585852.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":926967497239676928,"description":"Unknown IO ID 45"} 
[2026-10-16 16:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790183680001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":926967497239676928}} 
[2026-10-16 16:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":218355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:43:44] local.INFO: GPS data processed {"connection_id":218355,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:43:44] local.INFO: Acknowledgment sent {"connection_id":218355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:44:01] local.INFO: TCP Data received {"connection_id":220090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220090,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:44:01] local.INFO: Processing buffer {"connection_id":220090,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:44:01] local.INFO: IMEI packet received {"connection_id":220090,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":220090,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:44:06] local.INFO: TCP Data received {"connection_id":220090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220090,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:44:06] local.INFO: Processing buffer {"connection_id":220090,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:44:06] local.INFO: IMEI packet received {"connection_id":220090,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":220090,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:44:07] local.INFO: TCP Data received {"connection_id":220090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446a3ec0012d0cbd0007075a380021011f21..."} 
[2026-10-16 16:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446a3ec0012d0cbd0007075a380021011f21..."} 
[2026-10-16 16:44:07] local.INFO: Processing buffer {"connection_id":220090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446a3ec0012d0cbd0007075a380021011f21..."} 
[2026-10-16 16:44:07] local.INFO: Packet analysis {"connection_id":220090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446a"} 
[2026-10-16 16:44:07] local.INFO: Extracted packet for processing {"connection_id":220090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446a"} 
[2026-10-16 16:44:07] local.INFO: GPS Element Parsed {"raw_longitude":755809536,"raw_latitude":117922360,"longitude_deg":75.5809536,"latitude_deg":11.792236,"altitude":33,"angle":287,"satellites":33,"speed":6,"hex_longitude":"2d0cbd00","hex_latitude":"07075a38","is_valid_coordinates":true} 
[2026-10-16 16:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790183936001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36556893312778240,"note":"Value kept but may cause issues"} 
[2026-10-16 16:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926545284774658048,"note":"Value kept but may cause issues"} 
[2026-10-16 16:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792149176000,"timestamp_ms":1792149176000,"timestamp_seconds":1792149176,"priority":1,"record_length":96,"hex_timestamp":"000001a1446a3ec0"} 
[2026-10-16 16:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:44: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-10-16 16:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 16:44:07] 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-10-16 16:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":220090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":220090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":220090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790183936001,"66":14548,"221":206,"94":10240,"24":6,"16":36556893312778240,"45":926545284774658048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790183936001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:44:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:44:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36556893312778240,"km_value":36556893312778.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":926545284774658048,"description":"Unknown IO ID 45"} 
[2026-10-16 16:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790183936001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":926545284774658048}} 
[2026-10-16 16:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":220090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":703,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:44:07] local.INFO: GPS data processed {"connection_id":220090,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:44:07] local.INFO: Acknowledgment sent {"connection_id":220090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:44:38] local.INFO: TCP Data received {"connection_id":220090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446a5248012d0cb9c007075b900020012b21..."} 
[2026-10-16 16:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446a5248012d0cb9c007075b900020012b21..."} 
[2026-10-16 16:44:38] local.INFO: Processing buffer {"connection_id":220090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446a5248012d0cb9c007075b900020012b21..."} 
[2026-10-16 16:44:38] local.INFO: Packet analysis {"connection_id":220090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446a"} 
[2026-10-16 16:44:38] local.INFO: Extracted packet for processing {"connection_id":220090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446a"} 
[2026-10-16 16:44:38] local.INFO: GPS Element Parsed {"raw_longitude":755808704,"raw_latitude":117922704,"longitude_deg":75.5808704,"latitude_deg":11.7922704,"altitude":32,"angle":299,"satellites":33,"speed":9,"hex_longitude":"2d0cb9c0","hex_latitude":"07075b90","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790189056001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36556936262451200,"note":"Value kept but may cause issues"} 
[2026-10-16 16:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917889929241573376,"note":"Value kept but may cause issues"} 
[2026-10-16 16:44:38] 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-10-16 16:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792149181000,"timestamp_ms":1792149181000,"timestamp_seconds":1792149181,"priority":1,"record_length":96,"hex_timestamp":"000001a1446a5248"} 
[2026-10-16 16:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:44: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-10-16 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 16:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16: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-10-16 16:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":220090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":220090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":220090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790189056001,"66":14515,"221":206,"94":10240,"24":9,"16":36556936262451200,"45":917889929241573376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790189056001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:44:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:44:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36556936262451200,"km_value":36556936262451.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":917889929241573376,"description":"Unknown IO ID 45"} 
[2026-10-16 16:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790189056001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":917889929241573376}} 
[2026-10-16 16:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":220090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:44:38] local.INFO: GPS data processed {"connection_id":220090,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:44:38] local.INFO: Acknowledgment sent {"connection_id":220090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:45:01] local.INFO: TCP Data received {"connection_id":216801,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216801,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:45:01] local.INFO: Processing buffer {"connection_id":216801,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:45:01] local.INFO: IMEI packet received {"connection_id":216801,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":216801,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:45:06] local.INFO: TCP Data received {"connection_id":216801,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216801,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:45:06] local.INFO: Processing buffer {"connection_id":216801,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:45:06] local.INFO: IMEI packet received {"connection_id":216801,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":216801,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:45:07] local.INFO: TCP Data received {"connection_id":216801,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446a5e00012d0cb70007075cd0001f011d21..."} 
[2026-10-16 16:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446a5e00012d0cb70007075cd0001f011d21..."} 
[2026-10-16 16:45:07] local.INFO: Processing buffer {"connection_id":216801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446a5e00012d0cb70007075cd0001f011d21..."} 
[2026-10-16 16:45:07] local.INFO: Packet analysis {"connection_id":216801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446a"} 
[2026-10-16 16:45:07] local.INFO: Extracted packet for processing {"connection_id":216801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446a"} 
[2026-10-16 16:45:07] local.INFO: GPS Element Parsed {"raw_longitude":755808000,"raw_latitude":117923024,"longitude_deg":75.5808,"latitude_deg":11.7923024,"altitude":31,"angle":285,"satellites":33,"speed":12,"hex_longitude":"2d0cb700","hex_latitude":"07075cd0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790190336001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36556970622189568,"note":"Value kept but may cause issues"} 
[2026-10-16 16:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916975135567351808,"note":"Value kept but may cause issues"} 
[2026-10-16 16:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792149184000,"timestamp_ms":1792149184000,"timestamp_seconds":1792149184,"priority":1,"record_length":96,"hex_timestamp":"000001a1446a5e00"} 
[2026-10-16 16:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:45: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-10-16 16:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 16:45:07] 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-10-16 16: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-10-16 16:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216801,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216801,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790190336001,"66":14537,"221":206,"94":10240,"24":12,"16":36556970622189568,"45":916975135567351808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790190336001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:45:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:45:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36556970622189568,"km_value":36556970622189.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":916975135567351808,"description":"Unknown IO ID 45"} 
[2026-10-16 16:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790190336001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":916975135567351808}} 
[2026-10-16 16:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":216801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:45:07] local.INFO: GPS data processed {"connection_id":216801,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:45:07] local.INFO: Acknowledgment sent {"connection_id":216801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:45:21] local.INFO: TCP Data received {"connection_id":220091,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:45:21] local.INFO: Processing buffer {"connection_id":220091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:45:21] local.INFO: IMEI packet received {"connection_id":220091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":220091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:45:22] local.INFO: TCP Data received {"connection_id":220091,"ip":"117.225.177.58","data_length":93,"data_hex":"00000000000000518e01000001a144673d38012d7fa5c005afd650000e002b2d..."} 
[2026-10-16 16:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220091,"packet_length":93,"packet_hex":"00000000000000518e01000001a144673d38012d7fa5c005afd650000e002b2d..."} 
[2026-10-16 16:45:22] local.INFO: Processing buffer {"connection_id":220091,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a144673d38012d7fa5c005afd650000e002b2d..."} 
[2026-10-16 16:45:22] local.INFO: Packet analysis {"connection_id":220091,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a14467"} 
[2026-10-16 16:45:22] local.INFO: Extracted packet for processing {"connection_id":220091,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a14467"} 
[2026-10-16 16:45:22] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95409744,"longitude_deg":76.3340224,"latitude_deg":9.5409744,"altitude":14,"angle":43,"satellites":45,"speed":15,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd650","is_valid_coordinates":true} 
[2026-10-16 16:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-10-16 16:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:45:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:45:22] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-10-16 16:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220091,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-10-16 16:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220091,"device_imei":"862567074773115","avl_records_count":0} 
[2026-10-16 16:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220091,"device_imei":"862567074773115","avl_records_count":0} 
[2026-10-16 16:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":0,"parser_version":"unknown"} 
[2026-10-16 16:45:22] local.WARNING: DEBUG: No valid data to process  
[2026-10-16 16:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":220091,"result":{"success":false,"message":"No valid data to process"}} 
[2026-10-16 16:45:22] local.ERROR: GPS data processing failed {"connection_id":220091,"error":"No valid data to process"} 
[2026-10-16 16:45:22] local.INFO: Acknowledgment sent {"connection_id":220091,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-10-16 16:45:38] local.INFO: TCP Data received {"connection_id":216801,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446a7958012d0cb00007075e30001e010f21..."} 
[2026-10-16 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446a7958012d0cb00007075e30001e010f21..."} 
[2026-10-16 16:45:38] local.INFO: Processing buffer {"connection_id":216801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446a7958012d0cb00007075e30001e010f21..."} 
[2026-10-16 16:45:38] local.INFO: Packet analysis {"connection_id":216801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446a"} 
[2026-10-16 16:45:38] local.INFO: Extracted packet for processing {"connection_id":216801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446a"} 
[2026-10-16 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":755806208,"raw_latitude":117923376,"longitude_deg":75.5806208,"latitude_deg":11.7923376,"altitude":30,"angle":271,"satellites":33,"speed":9,"hex_longitude":"2d0cb000","hex_latitude":"07075e30","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790191104001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36557060816502784,"note":"Value kept but may cause issues"} 
[2026-10-16 16:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916201079381479424,"note":"Value kept but may cause issues"} 
[2026-10-16 16:45:38] 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-10-16 16:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792149191000,"timestamp_ms":1792149191000,"timestamp_seconds":1792149191,"priority":1,"record_length":96,"hex_timestamp":"000001a1446a7958"} 
[2026-10-16 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-10-16 16:45: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-10-16 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 16:45: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-10-16 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-10-16 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-10-16 16:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216801,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216801,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790191104001,"66":14461,"221":206,"94":10240,"24":9,"16":36557060816502784,"45":916201079381479424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790191104001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:45:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:45:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36557060816502784,"km_value":36557060816502.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":916201079381479424,"description":"Unknown IO ID 45"} 
[2026-10-16 16:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790191104001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":916201079381479424}} 
[2026-10-16 16:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":216801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:45:38] local.INFO: GPS data processed {"connection_id":216801,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:45:38] local.INFO: Acknowledgment sent {"connection_id":216801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:45:50] local.INFO: TCP Data received {"connection_id":217023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:45:50] local.INFO: Processing buffer {"connection_id":217023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:45:50] local.INFO: IMEI packet received {"connection_id":217023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":217023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:45:54] local.INFO: TCP Data received {"connection_id":220091,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144674cd8012d7faa8005afdbe8000e001e2d..."} 
[2026-10-16 16:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144674cd8012d7faa8005afdbe8000e001e2d..."} 
[2026-10-16 16:45:54] local.INFO: Processing buffer {"connection_id":220091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144674cd8012d7faa8005afdbe8000e001e2d..."} 
[2026-10-16 16:45:54] local.INFO: Packet analysis {"connection_id":220091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14467"} 
[2026-10-16 16:45:54] local.INFO: Extracted packet for processing {"connection_id":220091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14467"} 
[2026-10-16 16:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95411176,"longitude_deg":76.334144,"latitude_deg":9.5411176,"altitude":14,"angle":30,"satellites":45,"speed":22,"hex_longitude":"2d7faa80","hex_latitude":"05afdbe8","is_valid_coordinates":true} 
[2026-10-16 16:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790138624001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205361048879104,"note":"Value kept but may cause issues"} 
[2026-10-16 16:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631533568,"note":"Value kept but may cause issues"} 
[2026-10-16 16:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792148983000,"timestamp_ms":1792148983000,"timestamp_seconds":1792148983,"priority":1,"record_length":96,"hex_timestamp":"000001a144674cd8"} 
[2026-10-16 16:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 16:45:54] 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-10-16 16:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790138624001,"66":28017,"236":206,"19":45568,"24":22,"16":15205361048879104,"45":9197968944631533568},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790138624001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:45:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:45:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205361048879104,"km_value":15205361048879.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631533568,"description":"Unknown IO ID 45"} 
[2026-10-16 16:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790138624001,"power":28017,"unknown_236":206,"unknown_19":45568,"ignition":22,"odometer":null,"unknown_45":9197968944631533568}} 
[2026-10-16 16:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":220091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:45:54] local.INFO: GPS data processed {"connection_id":220091,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:45:54] local.INFO: Acknowledgment sent {"connection_id":220091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:46:01] local.INFO: TCP Data received {"connection_id":218356,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:46:01] local.INFO: Processing buffer {"connection_id":218356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:46:01] local.INFO: IMEI packet received {"connection_id":218356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":218356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:46:04] local.INFO: TCP Data received {"connection_id":218356,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:46:04] local.INFO: Processing buffer {"connection_id":218356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:46:04] local.INFO: IMEI packet received {"connection_id":218356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":218356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:46:04] local.INFO: TCP Data received {"connection_id":218356,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:46:04] local.INFO: Processing buffer {"connection_id":218356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:46:04] local.INFO: IMEI packet received {"connection_id":218356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":218356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:46:05] local.INFO: TCP Data received {"connection_id":218356,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446ccf00012d0cad0007075f78001f015421..."} 
[2026-10-16 16:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446ccf00012d0cad0007075f78001f015421..."} 
[2026-10-16 16:46:05] local.INFO: Processing buffer {"connection_id":218356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446ccf00012d0cad0007075f78001f015421..."} 
[2026-10-16 16:46:05] local.INFO: Packet analysis {"connection_id":218356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:46:05] local.INFO: Extracted packet for processing {"connection_id":218356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:46:05] local.INFO: GPS Element Parsed {"raw_longitude":755805440,"raw_latitude":117923704,"longitude_deg":75.580544,"latitude_deg":11.7923704,"altitude":31,"angle":340,"satellites":33,"speed":1,"hex_longitude":"2d0cad00","hex_latitude":"07075f78","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790230016001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36557103766175744,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913456698358689792,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] 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-10-16 16:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792149344000,"timestamp_ms":1792149344000,"timestamp_seconds":1792149344,"priority":1,"record_length":96,"hex_timestamp":"000001a1446ccf00"} 
[2026-10-16 16:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142784,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157444374528,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2747477269147549706,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926651869,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010606848,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174191,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":129,"raw_value":3766222848,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84737906232985438,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-5944743779896393698,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,221,94,24,241,157,16,224,161,89,45,128,30,33,10,66,158,64,240,92,227,68,7,1,4,113,205,119,173,239,56,2,129,206,48,12],"length":628,"final_offset":758,"validated_count":36,"validation_warnings":[{"io_id":205,"original":803012814,"validated":0}]} 
[2026-10-16 16:46:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2162051219290324992,"timestamp_seconds":2162051219290325.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 16:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":218356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":218356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":218356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:46:05] 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-10-16 16:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790230016001,"66":14352,"221":206,"94":10240,"24":1,"16":36557103766175744,"45":913456698358689792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790230016001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:46:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:46:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36557103766175744,"km_value":36557103766175.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":913456698358689792,"description":"Unknown IO ID 45"} 
[2026-10-16 16:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790230016001,"power":14352,"unknown_221":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":913456698358689792}} 
[2026-10-16 16:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":218356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:46:05] local.INFO: GPS data processed {"connection_id":218356,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:46:05] local.INFO: Acknowledgment sent {"connection_id":218356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:46:05] local.INFO: TCP Data received {"connection_id":218356,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446cdea0012d0cac80070760f8001f016021..."} 
[2026-10-16 16:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446cdea0012d0cac80070760f8001f016021..."} 
[2026-10-16 16:46:05] local.INFO: Processing buffer {"connection_id":218356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446cdea0012d0cac80070760f8001f016021..."} 
[2026-10-16 16:46:05] local.INFO: Packet analysis {"connection_id":218356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:46:05] local.INFO: Extracted packet for processing {"connection_id":218356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:46:05] local.INFO: GPS Element Parsed {"raw_longitude":755805312,"raw_latitude":117924088,"longitude_deg":75.5805312,"latitude_deg":11.7924088,"altitude":31,"angle":352,"satellites":33,"speed":5,"hex_longitude":"2d0cac80","hex_latitude":"070760f8","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790232064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36557125241012224,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913386329614546944,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] 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-10-16 16:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792149348000,"timestamp_ms":1792149348000,"timestamp_seconds":1792149348,"priority":1,"record_length":96,"hex_timestamp":"000001a1446cdea0"} 
[2026-10-16 16:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:46: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-10-16 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142784,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2747195772696002570,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157444374528,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639784415932381,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010606848,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":803012814,"corrected_to":0} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84737906232985438,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":129,"raw_value":3766222848,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-5962758178399584226,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,221,94,24,241,157,16,224,161,175,45,64,30,33,10,66,89,128,1,240,85,227,68,7,4,113,205,158,173,239,56,2,129,206,12],"length":628,"final_offset":758,"validated_count":35,"validation_warnings":[{"io_id":205,"original":803012814,"validated":0}]} 
[2026-10-16 16:46:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234159390863196160,"timestamp_seconds":2234159390863196.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 16:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":218356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":218356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":218356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:46:05] 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-10-16 16:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790232064001,"66":14450,"221":206,"94":10240,"24":5,"16":36557125241012224,"45":913386329614546944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790232064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:46:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:46:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36557125241012224,"km_value":36557125241012.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":913386329614546944,"description":"Unknown IO ID 45"} 
[2026-10-16 16:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790232064001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":913386329614546944}} 
[2026-10-16 16:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":218356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:46:06] local.INFO: GPS data processed {"connection_id":218356,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:46:06] local.INFO: Acknowledgment sent {"connection_id":218356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:46:15] local.INFO: TCP Data received {"connection_id":216802,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:46:15] local.INFO: Processing buffer {"connection_id":216802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:46:15] local.INFO: IMEI packet received {"connection_id":216802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":216802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:46:21] local.INFO: TCP Data received {"connection_id":216802,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:46:21] local.INFO: Processing buffer {"connection_id":216802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:46:21] local.INFO: IMEI packet received {"connection_id":216802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":216802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:46:22] local.INFO: TCP Data received {"connection_id":216802,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144676830012d7fb04005afe528000e00242a..."} 
[2026-10-16 16:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144676830012d7fb04005afe528000e00242a..."} 
[2026-10-16 16:46:22] local.INFO: Processing buffer {"connection_id":216802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144676830012d7fb04005afe528000e00242a..."} 
[2026-10-16 16:46:22] local.INFO: Packet analysis {"connection_id":216802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14467"} 
[2026-10-16 16:46:22] local.INFO: Extracted packet for processing {"connection_id":216802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14467"} 
[2026-10-16 16:46:22] local.INFO: GPS Element Parsed {"raw_longitude":763342912,"raw_latitude":95413544,"longitude_deg":76.3342912,"latitude_deg":9.5413544,"altitude":14,"angle":36,"satellites":42,"speed":7,"hex_longitude":"2d7fb040","hex_latitude":"05afe528","is_valid_coordinates":true} 
[2026-10-16 16:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790139648001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771275776,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792148990000,"timestamp_ms":1792148990000,"timestamp_seconds":1792148990,"priority":1,"record_length":96,"hex_timestamp":"000001a144676830"} 
[2026-10-16 16:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:46: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-10-16 16:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-10-16 16:46:22] 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-10-16 16:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790139648001,"66":27865,"236":206,"19":45568,"24":7,"16":15205494192865280,"45":9199305950771275776},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790139648001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:46:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:46:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771275776,"description":"Unknown IO ID 45"} 
[2026-10-16 16:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790139648001,"power":27865,"unknown_236":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":9199305950771275776}} 
[2026-10-16 16:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":216802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:46:22] local.INFO: GPS data processed {"connection_id":216802,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:46:22] local.INFO: Acknowledgment sent {"connection_id":216802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:46:37] local.INFO: TCP Data received {"connection_id":218356,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446cf9f8012d0cabc007076920001e000520..."} 
[2026-10-16 16:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446cf9f8012d0cabc007076920001e000520..."} 
[2026-10-16 16:46:37] local.INFO: Processing buffer {"connection_id":218356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446cf9f8012d0cabc007076920001e000520..."} 
[2026-10-16 16:46:37] local.INFO: Packet analysis {"connection_id":218356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:46:37] local.INFO: Extracted packet for processing {"connection_id":218356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":755805120,"raw_latitude":117926176,"longitude_deg":75.580512,"latitude_deg":11.7926176,"altitude":30,"angle":5,"satellites":32,"speed":20,"hex_longitude":"2d0cabc0","hex_latitude":"07076920","is_valid_coordinates":true} 
[2026-10-16 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-10-16 16:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790233088001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36557228320227328,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913245592126289920,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:37] 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-10-16 16:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792149355000,"timestamp_ms":1792149355000,"timestamp_seconds":1792149355,"priority":1,"record_length":96,"hex_timestamp":"000001a1446cf9f8"} 
[2026-10-16 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-10-16 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 16:46:37] 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-10-16 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-10-16 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-10-16 16:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":218356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":218356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":218356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790233088001,"66":14515,"221":206,"94":10240,"24":20,"16":36557228320227328,"45":913245592126289920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790233088001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:46:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:46:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36557228320227328,"km_value":36557228320227.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":913245592126289920,"description":"Unknown IO ID 45"} 
[2026-10-16 16:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790233088001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":913245592126289920}} 
[2026-10-16 16:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":218356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:46:37] local.INFO: GPS data processed {"connection_id":218356,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:46:37] local.INFO: Acknowledgment sent {"connection_id":218356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:46:54] local.INFO: TCP Data received {"connection_id":216802,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:46:54] local.INFO: Processing buffer {"connection_id":216802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:46:54] local.INFO: Packet analysis {"connection_id":216802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:46:54] local.INFO: Extracted packet for processing {"connection_id":216802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":16,"angle":36,"satellites":36,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790141440001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200924431887968256,"note":"Value kept but may cause issues"} 
[2026-10-16 16:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792149294000,"timestamp_ms":1792149294000,"timestamp_seconds":1792149294,"priority":1,"record_length":96,"hex_timestamp":"000001a1446c0bb0"} 
[2026-10-16 16:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 16:46:54] 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-10-16 16:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790141440001,"66":26267,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200924431887968256},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790141440001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:46:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:46:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200924431887968256,"description":"Unknown IO ID 45"} 
[2026-10-16 16:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790141440001,"power":26267,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200924431887968256}} 
[2026-10-16 16:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":216802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:46:54] local.INFO: GPS data processed {"connection_id":216802,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:46:54] local.INFO: Acknowledgment sent {"connection_id":216802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:47:00] local.INFO: TCP Data received {"connection_id":218357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:47:00] local.INFO: Processing buffer {"connection_id":218357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:47:00] local.INFO: IMEI packet received {"connection_id":218357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":218357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:47:01] local.INFO: TCP Data received {"connection_id":218357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:47:01] local.INFO: Processing buffer {"connection_id":218357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:47:01] local.INFO: IMEI packet received {"connection_id":218357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":218357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:47:05] local.INFO: TCP Data received {"connection_id":218357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:47:05] local.INFO: Processing buffer {"connection_id":218357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:47:05] local.INFO: IMEI packet received {"connection_id":218357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":218357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:47:06] local.INFO: TCP Data received {"connection_id":218357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446d82b0012d0c7c0007077740001b010e20..."} 
[2026-10-16 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446d82b0012d0c7c0007077740001b010e20..."} 
[2026-10-16 16:47:06] local.INFO: Processing buffer {"connection_id":218357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446d82b0012d0c7c0007077740001b010e20..."} 
[2026-10-16 16:47:06] local.INFO: Packet analysis {"connection_id":218357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446d"} 
[2026-10-16 16:47:06] local.INFO: Extracted packet for processing {"connection_id":218357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446d"} 
[2026-10-16 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":755792896,"raw_latitude":117929792,"longitude_deg":75.5792896,"latitude_deg":11.7929792,"altitude":27,"angle":270,"satellites":32,"speed":21,"hex_longitude":"2d0c7c00","hex_latitude":"07077740","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790243584001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36558014299242496,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900227374454870016,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:06] 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-10-16 16:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792149390000,"timestamp_ms":1792149390000,"timestamp_seconds":1792149390,"priority":1,"record_length":96,"hex_timestamp":"000001a1446d82b0"} 
[2026-10-16 16:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:47: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-10-16 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 16:47:06] 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-10-16 16: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-10-16 16:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":218357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":218357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":218357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:47:06] 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-10-16 16:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790243584001,"66":14374,"221":206,"94":10240,"24":21,"16":36558014299242496,"45":900227374454870016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790243584001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:47:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:47:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36558014299242496,"km_value":36558014299242.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":900227374454870016,"description":"Unknown IO ID 45"} 
[2026-10-16 16:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790243584001,"power":14374,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":900227374454870016}} 
[2026-10-16 16:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":218357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:47:06] local.INFO: GPS data processed {"connection_id":218357,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:47:06] local.INFO: Acknowledgment sent {"connection_id":218357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:47:15] local.INFO: TCP Data received {"connection_id":217025,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:47:15] local.INFO: Processing buffer {"connection_id":217025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:47:15] local.INFO: IMEI packet received {"connection_id":217025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":217025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:47:21] local.INFO: TCP Data received {"connection_id":217025,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:47:21] local.INFO: Processing buffer {"connection_id":217025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:47:21] local.INFO: IMEI packet received {"connection_id":217025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":217025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:47:22] local.INFO: TCP Data received {"connection_id":217025,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:47:22] local.INFO: Processing buffer {"connection_id":217025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:47:22] local.INFO: Packet analysis {"connection_id":217025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:47:22] local.INFO: Extracted packet for processing {"connection_id":217025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:47:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":16,"angle":36,"satellites":36,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790141440001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200924431887968256,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792149294000,"timestamp_ms":1792149294000,"timestamp_seconds":1792149294,"priority":1,"record_length":96,"hex_timestamp":"000001a1446c0bb0"} 
[2026-10-16 16:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 16:47:22] 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-10-16 16:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790141440001,"66":26267,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200924431887968256},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790141440001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:47:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:47:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200924431887968256,"description":"Unknown IO ID 45"} 
[2026-10-16 16:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790141440001,"power":26267,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200924431887968256}} 
[2026-10-16 16:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":217025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:47:22] local.INFO: GPS data processed {"connection_id":217025,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:47:22] local.INFO: Acknowledgment sent {"connection_id":217025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:47:38] local.INFO: TCP Data received {"connection_id":218357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1446e1ef0012d0c2ac007075298001a01091f..."} 
[2026-10-16 16:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446e1ef0012d0c2ac007075298001a01091f..."} 
[2026-10-16 16:47:38] local.INFO: Processing buffer {"connection_id":218357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446e1ef0012d0c2ac007075298001a01091f..."} 
[2026-10-16 16:47:38] local.INFO: Packet analysis {"connection_id":218357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446e"} 
[2026-10-16 16:47:38] local.INFO: Extracted packet for processing {"connection_id":218357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446e"} 
[2026-10-16 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":755772096,"raw_latitude":117920408,"longitude_deg":75.5772096,"latitude_deg":11.7920408,"altitude":26,"angle":265,"satellites":31,"speed":27,"hex_longitude":"2d0c2ac0","hex_latitude":"07075298","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790253568001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36559341444136960,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878342695013279744,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:38] 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-10-16 16:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792149430000,"timestamp_ms":1792149430000,"timestamp_seconds":1792149430,"priority":1,"record_length":96,"hex_timestamp":"000001a1446e1ef0"} 
[2026-10-16 16:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:47: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-10-16 16:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-16 16:47: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-10-16 16: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-10-16 16:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":218357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":218357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":218357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790253568001,"66":14374,"221":206,"94":10240,"24":27,"16":36559341444136960,"45":878342695013279744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-10-16 16:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790253568001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:47:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-10-16 16:47:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 16:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36559341444136960,"km_value":36559341444136.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":878342695013279744,"description":"Unknown IO ID 45"} 
[2026-10-16 16:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790253568001,"power":14374,"unknown_221":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":878342695013279744}} 
[2026-10-16 16:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":218357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":715,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:47:38] local.INFO: GPS data processed {"connection_id":218357,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:47:38] local.INFO: Acknowledgment sent {"connection_id":218357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:47:54] local.INFO: TCP Data received {"connection_id":217025,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:47:54] local.INFO: Processing buffer {"connection_id":217025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:47:54] local.INFO: Packet analysis {"connection_id":217025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:47:54] local.INFO: Extracted packet for processing {"connection_id":217025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":16,"angle":36,"satellites":36,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790141440001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200924431887968256,"note":"Value kept but may cause issues"} 
[2026-10-16 16:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792149294000,"timestamp_ms":1792149294000,"timestamp_seconds":1792149294,"priority":1,"record_length":96,"hex_timestamp":"000001a1446c0bb0"} 
[2026-10-16 16:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 16:47:54] 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-10-16 16:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790141440001,"66":26267,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200924431887968256},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790141440001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:47:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:47:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200924431887968256,"description":"Unknown IO ID 45"} 
[2026-10-16 16:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790141440001,"power":26267,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200924431887968256}} 
[2026-10-16 16:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":217025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:47:54] local.INFO: GPS data processed {"connection_id":217025,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:47:54] local.INFO: Acknowledgment sent {"connection_id":217025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:48:01] local.INFO: TCP Data received {"connection_id":218358,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:01] local.INFO: Processing buffer {"connection_id":218358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:01] local.INFO: IMEI packet received {"connection_id":218358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":218358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:48:02] local.INFO: TCP Data received {"connection_id":218358,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:02] local.INFO: Processing buffer {"connection_id":218358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:02] local.INFO: IMEI packet received {"connection_id":218358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":218358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:48:03] local.INFO: TCP Data received {"connection_id":218358,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:03] local.INFO: Processing buffer {"connection_id":218358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:03] local.INFO: IMEI packet received {"connection_id":218358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":218358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:48:06] local.INFO: TCP Data received {"connection_id":218358,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:06] local.INFO: Processing buffer {"connection_id":218358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:48:06] local.INFO: IMEI packet received {"connection_id":218358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":218358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:48:21] local.INFO: TCP Data received {"connection_id":220093,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:48:21] local.INFO: Processing buffer {"connection_id":220093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:48:21] local.INFO: IMEI packet received {"connection_id":220093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":220093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:48:26] local.INFO: TCP Data received {"connection_id":220093,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:48:26] local.INFO: Processing buffer {"connection_id":220093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:48:26] local.INFO: IMEI packet received {"connection_id":220093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":220093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:48:28] local.INFO: TCP Data received {"connection_id":220093,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:48:28] local.INFO: Processing buffer {"connection_id":220093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:48:28] local.INFO: Packet analysis {"connection_id":220093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:48:28] local.INFO: Extracted packet for processing {"connection_id":220093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":16,"angle":36,"satellites":36,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790141440001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200924431887968256,"note":"Value kept but may cause issues"} 
[2026-10-16 16:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792149294000,"timestamp_ms":1792149294000,"timestamp_seconds":1792149294,"priority":1,"record_length":96,"hex_timestamp":"000001a1446c0bb0"} 
[2026-10-16 16:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 16:48:28] 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-10-16 16:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":220093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":220093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":220093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790141440001,"66":26267,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200924431887968256},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790141440001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:48:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:48:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200924431887968256,"description":"Unknown IO ID 45"} 
[2026-10-16 16:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790141440001,"power":26267,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200924431887968256}} 
[2026-10-16 16:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":220093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:48:28] local.INFO: GPS data processed {"connection_id":220093,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:48:28] local.INFO: Acknowledgment sent {"connection_id":220093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:48:31] local.INFO: TCP Data received {"connection_id":220093,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:48:31] local.INFO: Processing buffer {"connection_id":220093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:48:31] local.INFO: Packet analysis {"connection_id":220093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:48:31] local.INFO: Extracted packet for processing {"connection_id":220093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":16,"angle":36,"satellites":36,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790141440001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200924431887968256,"note":"Value kept but may cause issues"} 
[2026-10-16 16:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792149294000,"timestamp_ms":1792149294000,"timestamp_seconds":1792149294,"priority":1,"record_length":96,"hex_timestamp":"000001a1446c0bb0"} 
[2026-10-16 16:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 16:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 16:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":220093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":220093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":220093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790141440001,"66":26267,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200924431887968256},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790141440001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:48:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:48:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200924431887968256,"description":"Unknown IO ID 45"} 
[2026-10-16 16:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790141440001,"power":26267,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200924431887968256}} 
[2026-10-16 16:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":220093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:48:31] local.INFO: GPS data processed {"connection_id":220093,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:48:31] local.INFO: Acknowledgment sent {"connection_id":220093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:49:16] local.INFO: TCP Data received {"connection_id":220094,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:49:16] local.INFO: Processing buffer {"connection_id":220094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:49:16] local.INFO: IMEI packet received {"connection_id":220094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":220094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:49:21] local.INFO: TCP Data received {"connection_id":220094,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:49:21] local.INFO: Processing buffer {"connection_id":220094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:49:21] local.INFO: IMEI packet received {"connection_id":220094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":220094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:49:22] local.INFO: TCP Data received {"connection_id":220094,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:49:22] local.INFO: Processing buffer {"connection_id":220094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:49:22] local.INFO: Packet analysis {"connection_id":220094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:49:22] local.INFO: Extracted packet for processing {"connection_id":220094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:49:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":16,"angle":36,"satellites":36,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790141440001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200924431887968256,"note":"Value kept but may cause issues"} 
[2026-10-16 16:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792149294000,"timestamp_ms":1792149294000,"timestamp_seconds":1792149294,"priority":1,"record_length":96,"hex_timestamp":"000001a1446c0bb0"} 
[2026-10-16 16:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 16:49:22] 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-10-16 16:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790141440001,"66":26267,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200924431887968256},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790141440001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:49:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:49:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200924431887968256,"description":"Unknown IO ID 45"} 
[2026-10-16 16:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790141440001,"power":26267,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200924431887968256}} 
[2026-10-16 16:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":220094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:49:22] local.INFO: GPS data processed {"connection_id":220094,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:49:22] local.INFO: Acknowledgment sent {"connection_id":220094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:49:53] local.INFO: TCP Data received {"connection_id":220094,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:49:53] local.INFO: Processing buffer {"connection_id":220094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:49:53] local.INFO: Packet analysis {"connection_id":220094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:49:53] local.INFO: Extracted packet for processing {"connection_id":220094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:49:53] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":16,"angle":36,"satellites":36,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790141440001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200924431887968256,"note":"Value kept but may cause issues"} 
[2026-10-16 16:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792149294000,"timestamp_ms":1792149294000,"timestamp_seconds":1792149294,"priority":1,"record_length":96,"hex_timestamp":"000001a1446c0bb0"} 
[2026-10-16 16:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 16:49: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-10-16 16:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":220094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":220094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":220094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790141440001,"66":26267,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200924431887968256},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790141440001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:49:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:49:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200924431887968256,"description":"Unknown IO ID 45"} 
[2026-10-16 16:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790141440001,"power":26267,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200924431887968256}} 
[2026-10-16 16:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":220094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:49:53] local.INFO: GPS data processed {"connection_id":220094,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:49:53] local.INFO: Acknowledgment sent {"connection_id":220094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:50:15] local.INFO: TCP Data received {"connection_id":217028,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:50:15] local.INFO: Processing buffer {"connection_id":217028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:50:15] local.INFO: IMEI packet received {"connection_id":217028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":217028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:50:21] local.INFO: TCP Data received {"connection_id":217028,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:50:21] local.INFO: Processing buffer {"connection_id":217028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:50:21] local.INFO: IMEI packet received {"connection_id":217028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":217028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:50:22] local.INFO: TCP Data received {"connection_id":217028,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:50:22] local.INFO: Processing buffer {"connection_id":217028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1446c0bb0012d7fb08005afe5a00010002424..."} 
[2026-10-16 16:50:22] local.INFO: Packet analysis {"connection_id":217028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:50:22] local.INFO: Extracted packet for processing {"connection_id":217028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1446c"} 
[2026-10-16 16:50:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":16,"angle":36,"satellites":36,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790141440001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200924431887968256,"note":"Value kept but may cause issues"} 
[2026-10-16 16:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792149294000,"timestamp_ms":1792149294000,"timestamp_seconds":1792149294,"priority":1,"record_length":96,"hex_timestamp":"000001a1446c0bb0"} 
[2026-10-16 16:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 16:50:22] 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-10-16 16: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-10-16 16:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790141440001,"66":26267,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200924431887968256},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790141440001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:50:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:50:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200924431887968256,"description":"Unknown IO ID 45"} 
[2026-10-16 16:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790141440001,"power":26267,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200924431887968256}} 
[2026-10-16 16:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":217028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:50:22] local.INFO: GPS data processed {"connection_id":217028,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:50:22] local.INFO: Acknowledgment sent {"connection_id":217028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:50:54] local.INFO: TCP Data received {"connection_id":217028,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:50:54] local.INFO: Processing buffer {"connection_id":217028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:50:54] local.INFO: Packet analysis {"connection_id":217028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:50:54] local.INFO: Extracted packet for processing {"connection_id":217028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:50:54] 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-10-16 16:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:50:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:50:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":217028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:50:54] local.INFO: GPS data processed {"connection_id":217028,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:50:54] local.INFO: Acknowledgment sent {"connection_id":217028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:51:15] local.INFO: TCP Data received {"connection_id":218359,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:51:15] local.INFO: Processing buffer {"connection_id":218359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:51:15] local.INFO: IMEI packet received {"connection_id":218359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":218359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:51:21] local.INFO: TCP Data received {"connection_id":218360,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:51:21] local.INFO: Processing buffer {"connection_id":218360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:51:21] local.INFO: IMEI packet received {"connection_id":218360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":218360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:51:26] local.INFO: TCP Data received {"connection_id":218360,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:51:26] local.INFO: Processing buffer {"connection_id":218360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:51:26] local.INFO: IMEI packet received {"connection_id":218360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":218360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:51:27] local.INFO: TCP Data received {"connection_id":218360,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:51:27] local.INFO: Processing buffer {"connection_id":218360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:51:27] local.INFO: Packet analysis {"connection_id":218360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:51:27] local.INFO: Extracted packet for processing {"connection_id":218360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:51:27] 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-10-16 16:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:51:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:51:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":218360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:51:28] local.INFO: GPS data processed {"connection_id":218360,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:51:28] local.INFO: Acknowledgment sent {"connection_id":218360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:51:32] local.INFO: TCP Data received {"connection_id":218360,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:51:32] local.INFO: Processing buffer {"connection_id":218360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:51:32] local.INFO: Packet analysis {"connection_id":218360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:51:32] local.INFO: Extracted packet for processing {"connection_id":218360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:51:32] 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-10-16 16:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:51:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:51:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":218360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:51:32] local.INFO: GPS data processed {"connection_id":218360,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:51:32] local.INFO: Acknowledgment sent {"connection_id":218360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:51:48] local.INFO: TCP Data received {"connection_id":220096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:51:48] local.INFO: Processing buffer {"connection_id":220096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:51:48] local.INFO: IMEI packet received {"connection_id":220096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":220096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:52:16] local.INFO: TCP Data received {"connection_id":216804,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:52:16] local.INFO: Processing buffer {"connection_id":216804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:52:16] local.INFO: IMEI packet received {"connection_id":216804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":216804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:52:21] local.INFO: TCP Data received {"connection_id":216804,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:52:21] local.INFO: Processing buffer {"connection_id":216804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:52:21] local.INFO: IMEI packet received {"connection_id":216804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":216804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:52:22] local.INFO: TCP Data received {"connection_id":216804,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:52:22] local.INFO: Processing buffer {"connection_id":216804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:52:22] local.INFO: Packet analysis {"connection_id":216804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:52:22] local.INFO: Extracted packet for processing {"connection_id":216804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:52:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:52:22] 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-10-16 16: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-10-16 16:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:52:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:52:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":216804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:52:22] local.INFO: GPS data processed {"connection_id":216804,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:52:22] local.INFO: Acknowledgment sent {"connection_id":216804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:52:54] local.INFO: TCP Data received {"connection_id":216804,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:52:54] local.INFO: Processing buffer {"connection_id":216804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:52:54] local.INFO: Packet analysis {"connection_id":216804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:52:54] local.INFO: Extracted packet for processing {"connection_id":216804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:52:54] 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-10-16 16:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:52:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:52:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":216804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:52:54] local.INFO: GPS data processed {"connection_id":216804,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:52:54] local.INFO: Acknowledgment sent {"connection_id":216804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:53:15] local.INFO: TCP Data received {"connection_id":216805,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:53:15] local.INFO: Processing buffer {"connection_id":216805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:53:15] local.INFO: IMEI packet received {"connection_id":216805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":216805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:53:21] local.INFO: TCP Data received {"connection_id":216805,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:53:21] local.INFO: Processing buffer {"connection_id":216805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:53:21] local.INFO: IMEI packet received {"connection_id":216805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":216805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:53:22] local.INFO: TCP Data received {"connection_id":216805,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:53:22] local.INFO: Processing buffer {"connection_id":216805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:53:22] local.INFO: Packet analysis {"connection_id":216805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:53:22] local.INFO: Extracted packet for processing {"connection_id":216805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:53:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:53:22] 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-10-16 16:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:53:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:53:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":216805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:53:22] local.INFO: GPS data processed {"connection_id":216805,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:53:22] local.INFO: Acknowledgment sent {"connection_id":216805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:53:54] local.INFO: TCP Data received {"connection_id":216805,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:53:54] local.INFO: Processing buffer {"connection_id":216805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:53:54] local.INFO: Packet analysis {"connection_id":216805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:53:54] local.INFO: Extracted packet for processing {"connection_id":216805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:53:54] 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-10-16 16: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-10-16 16:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:53:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:53:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":216805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:53:54] local.INFO: GPS data processed {"connection_id":216805,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:53:54] local.INFO: Acknowledgment sent {"connection_id":216805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:54:21] local.INFO: TCP Data received {"connection_id":217032,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:54:21] local.INFO: Processing buffer {"connection_id":217032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:54:21] local.INFO: IMEI packet received {"connection_id":217032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":217032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:54:26] local.INFO: TCP Data received {"connection_id":217032,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:54:26] local.INFO: Processing buffer {"connection_id":217032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:54:26] local.INFO: IMEI packet received {"connection_id":217032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":217032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:54:27] local.INFO: TCP Data received {"connection_id":217032,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:54:27] local.INFO: Processing buffer {"connection_id":217032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:54:27] local.INFO: Packet analysis {"connection_id":217032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:54:27] local.INFO: Extracted packet for processing {"connection_id":217032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:54:27] 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-10-16 16: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-10-16 16:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:54:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:54:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":217032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:54:27] local.INFO: GPS data processed {"connection_id":217032,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:54:27] local.INFO: Acknowledgment sent {"connection_id":217032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:54:32] local.INFO: TCP Data received {"connection_id":217032,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:54:32] local.INFO: Processing buffer {"connection_id":217032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:54:32] local.INFO: Packet analysis {"connection_id":217032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:54:32] local.INFO: Extracted packet for processing {"connection_id":217032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:54:32] 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-10-16 16:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:54:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:54:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":217032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:54:32] local.INFO: GPS data processed {"connection_id":217032,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:54:32] local.INFO: Acknowledgment sent {"connection_id":217032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:55:16] local.INFO: TCP Data received {"connection_id":220098,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:55:16] local.INFO: Processing buffer {"connection_id":220098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:55:16] local.INFO: IMEI packet received {"connection_id":220098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":220098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:55:21] local.INFO: TCP Data received {"connection_id":220098,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:55:21] local.INFO: Processing buffer {"connection_id":220098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:55:21] local.INFO: IMEI packet received {"connection_id":220098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":220098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:55:22] local.INFO: TCP Data received {"connection_id":220098,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:55:22] local.INFO: Processing buffer {"connection_id":220098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:55:22] local.INFO: Packet analysis {"connection_id":220098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:55:22] local.INFO: Extracted packet for processing {"connection_id":220098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:55:22] 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-10-16 16:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:55:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:55:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":220098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:55:22] local.INFO: GPS data processed {"connection_id":220098,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:55:22] local.INFO: Acknowledgment sent {"connection_id":220098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:55:27] local.INFO: TCP Data received {"connection_id":220098,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:55:27] local.INFO: Processing buffer {"connection_id":220098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144709f90012d7fb08005afe5a00000002425..."} 
[2026-10-16 16:55:27] local.INFO: Packet analysis {"connection_id":220098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:55:27] local.INFO: Extracted packet for processing {"connection_id":220098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14470"} 
[2026-10-16 16:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":37,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790219264001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792149594000,"timestamp_ms":1792149594000,"timestamp_seconds":1792149594,"priority":1,"record_length":96,"hex_timestamp":"000001a144709f90"} 
[2026-10-16 16:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-10-16 16:55:27] 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-10-16 16: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-10-16 16:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790219264001,"66":26082,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790219264001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:55:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:55:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790219264001,"power":26082,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":220098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:55:27] local.INFO: GPS data processed {"connection_id":220098,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:55:27] local.INFO: Acknowledgment sent {"connection_id":220098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:55:58] local.INFO: TCP Data received {"connection_id":220098,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:55:58] local.INFO: Processing buffer {"connection_id":220098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:55:58] local.INFO: Packet analysis {"connection_id":220098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:55:58] local.INFO: Extracted packet for processing {"connection_id":220098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 16:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 16:55:58] 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-10-16 16:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":220098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":220098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":220098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:55:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:55:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":220098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:55:58] local.INFO: GPS data processed {"connection_id":220098,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:55:58] local.INFO: Acknowledgment sent {"connection_id":220098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:56:15] local.INFO: TCP Data received {"connection_id":218362,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:56:15] local.INFO: Processing buffer {"connection_id":218362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:56:15] local.INFO: IMEI packet received {"connection_id":218362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":218362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:56:21] local.INFO: TCP Data received {"connection_id":218362,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:56:21] local.INFO: Processing buffer {"connection_id":218362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:56:21] local.INFO: IMEI packet received {"connection_id":218362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":218362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:56:22] local.INFO: TCP Data received {"connection_id":218362,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:56:22] local.INFO: Processing buffer {"connection_id":218362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:56:22] local.INFO: Packet analysis {"connection_id":218362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:56:22] local.INFO: Extracted packet for processing {"connection_id":218362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:56:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 16:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 16:56:22] 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-10-16 16:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:56:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:56:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":218362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:56:22] local.INFO: GPS data processed {"connection_id":218362,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:56:22] local.INFO: Acknowledgment sent {"connection_id":218362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:56:54] local.INFO: TCP Data received {"connection_id":218362,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:56:54] local.INFO: Processing buffer {"connection_id":218362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:56:54] local.INFO: Packet analysis {"connection_id":218362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:56:54] local.INFO: Extracted packet for processing {"connection_id":218362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 16:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 16:56:54] 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-10-16 16: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-10-16 16:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:56:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:56:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":218362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:56:54] local.INFO: GPS data processed {"connection_id":218362,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:56:54] local.INFO: Acknowledgment sent {"connection_id":218362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:57:10] local.INFO: TCP Data received {"connection_id":216807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:57:10] local.INFO: Processing buffer {"connection_id":216807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:57:10] local.INFO: IMEI packet received {"connection_id":216807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":216807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:57:21] local.INFO: TCP Data received {"connection_id":218363,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:57:21] local.INFO: Processing buffer {"connection_id":218363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:57:21] local.INFO: IMEI packet received {"connection_id":218363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":218363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:57:26] local.INFO: TCP Data received {"connection_id":218363,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:57:26] local.INFO: Processing buffer {"connection_id":218363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:57:26] local.INFO: IMEI packet received {"connection_id":218363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":218363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:57:27] local.INFO: TCP Data received {"connection_id":218363,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:57:27] local.INFO: Processing buffer {"connection_id":218363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:57:27] local.INFO: Packet analysis {"connection_id":218363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:57:27] local.INFO: Extracted packet for processing {"connection_id":218363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 16:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 16:57:27] 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-10-16 16:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:57:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:57:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":218363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:57:27] local.INFO: GPS data processed {"connection_id":218363,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:57:27] local.INFO: Acknowledgment sent {"connection_id":218363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:57:50] local.INFO: TCP Data received {"connection_id":217034,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:57:50] local.INFO: Processing buffer {"connection_id":217034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 16:57:50] local.INFO: IMEI packet received {"connection_id":217034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 16:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":217034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:57:59] local.INFO: TCP Data received {"connection_id":218363,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:57:59] local.INFO: Processing buffer {"connection_id":218363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:57:59] local.INFO: Packet analysis {"connection_id":218363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:57:59] local.INFO: Extracted packet for processing {"connection_id":218363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:57: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-10-16 16:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 16:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 16:57:59] 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-10-16 16:57: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-10-16 16:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:57:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:57:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":218363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:57:59] local.INFO: GPS data processed {"connection_id":218363,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:57:59] local.INFO: Acknowledgment sent {"connection_id":218363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:58:06] local.INFO: TCP Data received {"connection_id":218364,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:58:06] local.INFO: Processing buffer {"connection_id":218364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:58:06] local.INFO: IMEI packet received {"connection_id":218364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":218364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:58:11] local.INFO: TCP Data received {"connection_id":218364,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:58:11] local.INFO: Processing buffer {"connection_id":218364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:58:11] local.INFO: IMEI packet received {"connection_id":218364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":218364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:58:13] local.INFO: TCP Data received {"connection_id":218364,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a14477df08012d0be2000705a6980015009a20..."} 
[2026-10-16 16:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14477df08012d0be2000705a6980015009a20..."} 
[2026-10-16 16:58:13] local.INFO: Processing buffer {"connection_id":218364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14477df08012d0be2000705a6980015009a20..."} 
[2026-10-16 16:58:13] local.INFO: Packet analysis {"connection_id":218364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14477"} 
[2026-10-16 16:58:13] local.INFO: Extracted packet for processing {"connection_id":218364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14477"} 
[2026-10-16 16:58:13] local.INFO: GPS Element Parsed {"raw_longitude":755753472,"raw_latitude":117810840,"longitude_deg":75.5753472,"latitude_deg":11.781084,"altitude":21,"angle":154,"satellites":32,"speed":5,"hex_longitude":"2d0be200","hex_latitude":"0705a698","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790414848001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36572484044062720,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855683959360987136,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792150069000,"timestamp_ms":1792150069000,"timestamp_seconds":1792150069,"priority":1,"record_length":96,"hex_timestamp":"000001a14477df08"} 
[2026-10-16 16:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 16:58:13] 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-10-16 16: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-10-16 16:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790414848001,"66":14363,"105":206,"28":32256,"24":5,"16":36572484044062720,"45":855683959360987136},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-10-16 16:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790414848001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:58:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 16:58:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 16:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36572484044062720,"km_value":36572484044062.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":855683959360987136,"description":"Unknown IO ID 45"} 
[2026-10-16 16:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790414848001,"power":14363,"unknown_105":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_45":855683959360987136}} 
[2026-10-16 16:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":218364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:58:14] local.INFO: GPS data processed {"connection_id":218364,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:58:14] local.INFO: Acknowledgment sent {"connection_id":218364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:58:15] local.INFO: TCP Data received {"connection_id":220099,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:58:15] local.INFO: Processing buffer {"connection_id":220099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:58:15] local.INFO: IMEI packet received {"connection_id":220099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":220099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:58:21] local.INFO: TCP Data received {"connection_id":220099,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:58:21] local.INFO: Processing buffer {"connection_id":220099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:58:21] local.INFO: IMEI packet received {"connection_id":220099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":220099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:58:22] local.INFO: TCP Data received {"connection_id":220099,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:58:22] local.INFO: Processing buffer {"connection_id":220099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:58:22] local.INFO: Packet analysis {"connection_id":220099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:58:22] local.INFO: Extracted packet for processing {"connection_id":220099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:58:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 16:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 16:58:22] 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-10-16 16: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-10-16 16:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:58:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:58:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":220099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:58:22] local.INFO: GPS data processed {"connection_id":220099,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:58:22] local.INFO: Acknowledgment sent {"connection_id":220099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:58:46] local.INFO: TCP Data received {"connection_id":218364,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a14477e2f0012d0be2800705a6280015008921..."} 
[2026-10-16 16:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14477e2f0012d0be2800705a6280015008921..."} 
[2026-10-16 16:58:46] local.INFO: Processing buffer {"connection_id":218364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14477e2f0012d0be2800705a6280015008921..."} 
[2026-10-16 16:58:46] local.INFO: Packet analysis {"connection_id":218364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14477"} 
[2026-10-16 16:58:46] local.INFO: Extracted packet for processing {"connection_id":218364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14477"} 
[2026-10-16 16:58:46] local.INFO: GPS Element Parsed {"raw_longitude":755753600,"raw_latitude":117810728,"longitude_deg":75.57536,"latitude_deg":11.7810728,"altitude":21,"angle":137,"satellites":33,"speed":7,"hex_longitude":"2d0be280","hex_latitude":"0705a628","is_valid_coordinates":true} 
[2026-10-16 16: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-10-16 16:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790417664001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36572492633997312,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856246909313390592,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792150070000,"timestamp_ms":1792150070000,"timestamp_seconds":1792150070,"priority":1,"record_length":96,"hex_timestamp":"000001a14477e2f0"} 
[2026-10-16 16:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16: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":27,"data_length":795,"current_offset":136} 
[2026-10-16 16:58:46] 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-10-16 16: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-10-16 16:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790417664001,"66":14396,"105":206,"28":32256,"24":7,"16":36572492633997312,"45":856246909313390592},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-10-16 16:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790417664001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:58:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 16:58:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 16:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36572492633997312,"km_value":36572492633997.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":856246909313390592,"description":"Unknown IO ID 45"} 
[2026-10-16 16:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790417664001,"power":14396,"unknown_105":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":856246909313390592}} 
[2026-10-16 16:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":218364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:58:46] local.INFO: GPS data processed {"connection_id":218364,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:58:46] local.INFO: Acknowledgment sent {"connection_id":218364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:58:54] local.INFO: TCP Data received {"connection_id":220099,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:58:54] local.INFO: Processing buffer {"connection_id":220099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:58:54] local.INFO: Packet analysis {"connection_id":220099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:58:54] local.INFO: Extracted packet for processing {"connection_id":220099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:58:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 16:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 16:58:54] 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-10-16 16:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:58:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:58:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":220099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:58:54] local.INFO: GPS data processed {"connection_id":220099,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:58:54] local.INFO: Acknowledgment sent {"connection_id":220099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:59:01] local.INFO: TCP Data received {"connection_id":220100,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:59:01] local.INFO: Processing buffer {"connection_id":220100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:59:01] local.INFO: IMEI packet received {"connection_id":220100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 16:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":220100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:59:10] local.INFO: TCP Data received {"connection_id":220100,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:59:10] local.INFO: Processing buffer {"connection_id":220100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 16:59:10] local.INFO: IMEI packet received {"connection_id":220100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 16:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":220100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:59:15] local.INFO: TCP Data received {"connection_id":220100,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a14477e6d8012d0be3400705a5b00015007521..."} 
[2026-10-16 16:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14477e6d8012d0be3400705a5b00015007521..."} 
[2026-10-16 16:59:15] local.INFO: Processing buffer {"connection_id":220100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14477e6d8012d0be3400705a5b00015007521..."} 
[2026-10-16 16:59:15] local.INFO: Packet analysis {"connection_id":220100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14477"} 
[2026-10-16 16:59:15] local.INFO: Extracted packet for processing {"connection_id":220100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14477"} 
[2026-10-16 16:59:15] local.INFO: GPS Element Parsed {"raw_longitude":755753792,"raw_latitude":117810608,"longitude_deg":75.5753792,"latitude_deg":11.7810608,"altitude":21,"angle":117,"satellites":33,"speed":9,"hex_longitude":"2d0be340","hex_latitude":"0705a5b0","is_valid_coordinates":true} 
[2026-10-16 16:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790417920001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36572501223931904,"note":"Value kept but may cause issues"} 
[2026-10-16 16:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856387646801717248,"note":"Value kept but may cause issues"} 
[2026-10-16 16:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792150071000,"timestamp_ms":1792150071000,"timestamp_seconds":1792150071,"priority":1,"record_length":96,"hex_timestamp":"000001a14477e6d8"} 
[2026-10-16 16:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 16:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 16:59: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-10-16 16:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 16:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 16:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 16:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790417920001,"66":14396,"105":206,"28":32256,"24":9,"16":36572501223931904,"45":856387646801717248},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-10-16 16:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 16:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 16:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790417920001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:59:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-10-16 16:59:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 16:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36572501223931904,"km_value":36572501223931.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":856387646801717248,"description":"Unknown IO ID 45"} 
[2026-10-16 16:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790417920001,"power":14396,"unknown_105":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":856387646801717248}} 
[2026-10-16 16:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":220100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:59:16] local.INFO: GPS data processed {"connection_id":220100,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:59:16] local.INFO: Acknowledgment sent {"connection_id":220100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:59:16] local.INFO: TCP Data received {"connection_id":218365,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:59:16] local.INFO: Processing buffer {"connection_id":218365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:59:16] local.INFO: IMEI packet received {"connection_id":218365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 16:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":218365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 16:59:20] local.INFO: TCP Data received {"connection_id":218365,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:59:20] local.INFO: Processing buffer {"connection_id":218365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 16:59:20] local.INFO: IMEI packet received {"connection_id":218365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 16:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":218365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 16:59:23] local.INFO: TCP Data received {"connection_id":218365,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:59:23] local.INFO: Processing buffer {"connection_id":218365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:59:23] local.INFO: Packet analysis {"connection_id":218365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:59:23] local.INFO: Extracted packet for processing {"connection_id":218365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 16:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 16:59:23] 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-10-16 16:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:59:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:59:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":218365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:59:23] local.INFO: GPS data processed {"connection_id":218365,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:59:23] local.INFO: Acknowledgment sent {"connection_id":218365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 16:59:55] local.INFO: TCP Data received {"connection_id":218365,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:59:55] local.INFO: Processing buffer {"connection_id":218365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 16:59:55] local.INFO: Packet analysis {"connection_id":218365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:59:55] local.INFO: Extracted packet for processing {"connection_id":218365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 16:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 16:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 16:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 16:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 16:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 16:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 16:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 16:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 16:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 16:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 16:59:55] 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-10-16 16:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 16:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 16:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 16:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 16:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 16:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 16:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 16:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 16:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 16:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 16:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 16:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 16:59:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 16:59:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 16:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 16:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 16:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 16:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":218365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 16:59:55] local.INFO: GPS data processed {"connection_id":218365,"processed":1,"errors":0,"total":1} 
[2026-10-16 16:59:55] local.INFO: Acknowledgment sent {"connection_id":218365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:00:21] local.INFO: TCP Data received {"connection_id":216808,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:00:21] local.INFO: Processing buffer {"connection_id":216808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:00:21] local.INFO: IMEI packet received {"connection_id":216808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":216808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:00:26] local.INFO: TCP Data received {"connection_id":216808,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:00:26] local.INFO: Processing buffer {"connection_id":216808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:00:26] local.INFO: IMEI packet received {"connection_id":216808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":216808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:00:27] local.INFO: TCP Data received {"connection_id":216808,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 17:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 17:00:27] local.INFO: Processing buffer {"connection_id":216808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 17:00:27] local.INFO: Packet analysis {"connection_id":216808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 17:00:27] local.INFO: Extracted packet for processing {"connection_id":216808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 17:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 17:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 17:00:27] 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-10-16 17:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:00:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:00:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":216808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:00:27] local.INFO: GPS data processed {"connection_id":216808,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:00:27] local.INFO: Acknowledgment sent {"connection_id":216808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:00:32] local.INFO: TCP Data received {"connection_id":216808,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 17:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 17:00:32] local.INFO: Processing buffer {"connection_id":216808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144753758012d7fb08005afe5a0000100242c..."} 
[2026-10-16 17:00:32] local.INFO: Packet analysis {"connection_id":216808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 17:00:32] local.INFO: Extracted packet for processing {"connection_id":216808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14475"} 
[2026-10-16 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":1,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790296064001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792149895000,"timestamp_ms":1792149895000,"timestamp_seconds":1792149895,"priority":1,"record_length":96,"hex_timestamp":"000001a144753758"} 
[2026-10-16 17:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 17:00:32] 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-10-16 17:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790296064001,"66":25973,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790296064001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:00:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:00:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790296064001,"power":25973,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":216808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:00:32] local.INFO: GPS data processed {"connection_id":216808,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:00:32] local.INFO: Acknowledgment sent {"connection_id":216808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:00:37] local.INFO: TCP Data received {"connection_id":216809,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:00:37] local.INFO: Processing buffer {"connection_id":216809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:00:37] local.INFO: IMEI packet received {"connection_id":216809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":216809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:00:40] local.INFO: TCP Data received {"connection_id":216809,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:00:40] local.INFO: Processing buffer {"connection_id":216809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:00:40] local.INFO: IMEI packet received {"connection_id":216809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":216809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:00:42] local.INFO: TCP Data received {"connection_id":216809,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a144795dd8012d0c70c00704f9280014008c20..."} 
[2026-10-16 17:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144795dd8012d0c70c00704f9280014008c20..."} 
[2026-10-16 17:00:42] local.INFO: Processing buffer {"connection_id":216809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144795dd8012d0c70c00704f9280014008c20..."} 
[2026-10-16 17:00:42] local.INFO: Packet analysis {"connection_id":216809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:00:42] local.INFO: Extracted packet for processing {"connection_id":216809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:00:42] local.INFO: GPS Element Parsed {"raw_longitude":755790016,"raw_latitude":117766440,"longitude_deg":75.5790016,"latitude_deg":11.776644,"altitude":20,"angle":140,"satellites":32,"speed":35,"hex_longitude":"2d0c70c0","hex_latitude":"0704f928","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790442240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36575511996006400,"note":"Value kept but may cause issues"} 
[2026-10-16 17:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895442299809355776,"note":"Value kept but may cause issues"} 
[2026-10-16 17:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792150167000,"timestamp_ms":1792150167000,"timestamp_seconds":1792150167,"priority":1,"record_length":96,"hex_timestamp":"000001a144795dd8"} 
[2026-10-16 17:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:00: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-10-16 17: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 17:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":216809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":216809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":216809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790442240001,"66":14450,"139":206,"28":32256,"24":35,"16":36575511996006400,"45":895442299809355776},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-10-16 17:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790442240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:00:42] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-10-16 17:00:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 17:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36575511996006400,"km_value":36575511996006.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":895442299809355776,"description":"Unknown IO ID 45"} 
[2026-10-16 17:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790442240001,"power":14450,"unknown_139":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":895442299809355776}} 
[2026-10-16 17:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":216809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:00:42] local.INFO: GPS data processed {"connection_id":216809,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:00:42] local.INFO: Acknowledgment sent {"connection_id":216809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:01:06] local.INFO: TCP Data received {"connection_id":217037,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217037,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:01:06] local.INFO: Processing buffer {"connection_id":217037,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:01:06] local.INFO: IMEI packet received {"connection_id":217037,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":217037,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:01:11] local.INFO: TCP Data received {"connection_id":217037,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217037,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:01:11] local.INFO: Processing buffer {"connection_id":217037,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:01:11] local.INFO: IMEI packet received {"connection_id":217037,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":217037,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:01:13] local.INFO: TCP Data received {"connection_id":217037,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a1447a9e28012d0c9dc007041d10001b00d822..."} 
[2026-10-16 17:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447a9e28012d0c9dc007041d10001b00d822..."} 
[2026-10-16 17:01:13] local.INFO: Processing buffer {"connection_id":217037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447a9e28012d0c9dc007041d10001b00d822..."} 
[2026-10-16 17:01:13] local.INFO: Packet analysis {"connection_id":217037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447a"} 
[2026-10-16 17:01:13] local.INFO: Extracted packet for processing {"connection_id":217037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447a"} 
[2026-10-16 17:01:13] local.INFO: GPS Element Parsed {"raw_longitude":755801536,"raw_latitude":117710096,"longitude_deg":75.5801536,"latitude_deg":11.7710096,"altitude":27,"angle":216,"satellites":34,"speed":35,"hex_longitude":"2d0c9dc0","hex_latitude":"07041d10","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790463744001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36578591487557632,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909093836165025792,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:13] 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-10-16 17:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792150249000,"timestamp_ms":1792150249000,"timestamp_seconds":1792150249,"priority":1,"record_length":96,"hex_timestamp":"000001a1447a9e28"} 
[2026-10-16 17:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 17:01:13] 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-10-16 17: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-10-16 17:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":217037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":217037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":217037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790463744001,"66":14450,"18":206,"28":32256,"24":35,"16":36578591487557632,"45":909093836165025792},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 17:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790463744001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:01:13] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 17:01:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 17:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36578591487557632,"km_value":36578591487557.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":909093836165025792,"description":"Unknown IO ID 45"} 
[2026-10-16 17:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790463744001,"power":14450,"unknown_18":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":909093836165025792}} 
[2026-10-16 17:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":217037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:01:13] local.INFO: GPS data processed {"connection_id":217037,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:01:13] local.INFO: Acknowledgment sent {"connection_id":217037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:01:15] local.INFO: TCP Data received {"connection_id":220101,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:01:15] local.INFO: Processing buffer {"connection_id":220101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:01:15] local.INFO: IMEI packet received {"connection_id":220101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":220101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:01:21] local.INFO: TCP Data received {"connection_id":220101,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:01:21] local.INFO: Processing buffer {"connection_id":220101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:01:21] local.INFO: IMEI packet received {"connection_id":220101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":220101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:01:22] local.INFO: TCP Data received {"connection_id":220101,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:01:22] local.INFO: Processing buffer {"connection_id":220101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:01:22] local.INFO: Packet analysis {"connection_id":220101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:01:22] local.INFO: Extracted packet for processing {"connection_id":220101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790373120001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792150196000,"timestamp_ms":1792150196000,"timestamp_seconds":1792150196,"priority":1,"record_length":96,"hex_timestamp":"000001a14479cf20"} 
[2026-10-16 17:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 17:01:22] 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-10-16 17: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-10-16 17:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790373120001,"66":25778,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790373120001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:01:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:01:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790373120001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":220101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:01:22] local.INFO: GPS data processed {"connection_id":220101,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:01:22] local.INFO: Acknowledgment sent {"connection_id":220101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:01:48] local.INFO: TCP Data received {"connection_id":217037,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a1447aadc8012d0c940007041290001c00e422..."} 
[2026-10-16 17:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447aadc8012d0c940007041290001c00e422..."} 
[2026-10-16 17:01:48] local.INFO: Processing buffer {"connection_id":217037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447aadc8012d0c940007041290001c00e422..."} 
[2026-10-16 17:01:48] local.INFO: Packet analysis {"connection_id":217037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447a"} 
[2026-10-16 17:01:48] local.INFO: Extracted packet for processing {"connection_id":217037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447a"} 
[2026-10-16 17:01:48] local.INFO: GPS Element Parsed {"raw_longitude":755799040,"raw_latitude":117707408,"longitude_deg":75.579904,"latitude_deg":11.7707408,"altitude":28,"angle":228,"satellites":34,"speed":38,"hex_longitude":"2d0c9400","hex_latitude":"07041290","is_valid_coordinates":true} 
[2026-10-16 17:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790463744001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36578767581216768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909093836165025792,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:48] 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-10-16 17:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792150253000,"timestamp_ms":1792150253000,"timestamp_seconds":1792150253,"priority":1,"record_length":96,"hex_timestamp":"000001a1447aadc8"} 
[2026-10-16 17:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-10-16 17:01:48] 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-10-16 17:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":217037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":217037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":217037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790463744001,"66":14309,"18":206,"28":32256,"24":38,"16":36578767581216768,"45":909093836165025792},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 17:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790463744001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:01:48] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 17:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 17:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36578767581216768,"km_value":36578767581216.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":909093836165025792,"description":"Unknown IO ID 45"} 
[2026-10-16 17:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790463744001,"power":14309,"unknown_18":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_45":909093836165025792}} 
[2026-10-16 17:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":217037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:01:48] local.INFO: GPS data processed {"connection_id":217037,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:01:48] local.INFO: Acknowledgment sent {"connection_id":217037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:01:54] local.INFO: TCP Data received {"connection_id":220101,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:01:54] local.INFO: Processing buffer {"connection_id":220101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:01:54] local.INFO: Packet analysis {"connection_id":220101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:01:54] local.INFO: Extracted packet for processing {"connection_id":220101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790373120001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792150196000,"timestamp_ms":1792150196000,"timestamp_seconds":1792150196,"priority":1,"record_length":96,"hex_timestamp":"000001a14479cf20"} 
[2026-10-16 17:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 17:01:54] 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-10-16 17:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790373120001,"66":25778,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790373120001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:01:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:01:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790373120001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":220101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:01:54] local.INFO: GPS data processed {"connection_id":220101,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:01:54] local.INFO: Acknowledgment sent {"connection_id":220101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:02:01] local.INFO: TCP Data received {"connection_id":220102,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:02:01] local.INFO: Processing buffer {"connection_id":220102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:02:01] local.INFO: IMEI packet received {"connection_id":220102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":220102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:02:03] local.INFO: TCP Data received {"connection_id":220102,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:02:03] local.INFO: Processing buffer {"connection_id":220102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:02:03] local.INFO: IMEI packet received {"connection_id":220102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":220102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:02:06] local.INFO: TCP Data received {"connection_id":220102,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:02:06] local.INFO: Processing buffer {"connection_id":220102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:02:06] local.INFO: IMEI packet received {"connection_id":220102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":220102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:02:07] local.INFO: TCP Data received {"connection_id":220102,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a1447b7500012d0c26400703b210001600ee20..."} 
[2026-10-16 17:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447b7500012d0c26400703b210001600ee20..."} 
[2026-10-16 17:02:07] local.INFO: Processing buffer {"connection_id":220102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447b7500012d0c26400703b210001600ee20..."} 
[2026-10-16 17:02:07] local.INFO: Packet analysis {"connection_id":220102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447b"} 
[2026-10-16 17:02:07] local.INFO: Extracted packet for processing {"connection_id":220102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447b"} 
[2026-10-16 17:02:07] local.INFO: GPS Element Parsed {"raw_longitude":755770944,"raw_latitude":117682704,"longitude_deg":75.5770944,"latitude_deg":11.7682704,"altitude":22,"angle":238,"satellites":32,"speed":28,"hex_longitude":"2d0c2640","hex_latitude":"0703b210","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790474752001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36580683136630784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884675881929312256,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:07] 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-10-16 17:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792150304000,"timestamp_ms":1792150304000,"timestamp_seconds":1792150304,"priority":1,"record_length":96,"hex_timestamp":"000001a1447b7500"} 
[2026-10-16 17:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:02: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-10-16 17:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-10-16 17:02:07] 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-10-16 17:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":220102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":220102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":220102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790474752001,"66":14537,"18":206,"28":32256,"24":28,"16":36580683136630784,"45":884675881929312256},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 17:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790474752001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:02:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 17:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 17:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36580683136630784,"km_value":36580683136630.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":884675881929312256,"description":"Unknown IO ID 45"} 
[2026-10-16 17:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790474752001,"power":14537,"unknown_18":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":884675881929312256}} 
[2026-10-16 17:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":220102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:02:07] local.INFO: GPS data processed {"connection_id":220102,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:02:07] local.INFO: Acknowledgment sent {"connection_id":220102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:02:15] local.INFO: TCP Data received {"connection_id":216810,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:02:15] local.INFO: Processing buffer {"connection_id":216810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:02:15] local.INFO: IMEI packet received {"connection_id":216810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":216810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:02:21] local.INFO: TCP Data received {"connection_id":216810,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:02:21] local.INFO: Processing buffer {"connection_id":216810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:02:21] local.INFO: IMEI packet received {"connection_id":216810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":216810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:02:22] local.INFO: TCP Data received {"connection_id":216810,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:02:22] local.INFO: Processing buffer {"connection_id":216810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:02:22] local.INFO: Packet analysis {"connection_id":216810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:02:22] local.INFO: Extracted packet for processing {"connection_id":216810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:02:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790373120001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792150196000,"timestamp_ms":1792150196000,"timestamp_seconds":1792150196,"priority":1,"record_length":96,"hex_timestamp":"000001a14479cf20"} 
[2026-10-16 17:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 17:02:22] 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-10-16 17:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790373120001,"66":25778,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790373120001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:02:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:02:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790373120001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":216810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:02:22] local.INFO: GPS data processed {"connection_id":216810,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:02:22] local.INFO: Acknowledgment sent {"connection_id":216810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:02:39] local.INFO: TCP Data received {"connection_id":220102,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a1447b7500012d0c26400703b210001600ee20..."} 
[2026-10-16 17:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447b7500012d0c26400703b210001600ee20..."} 
[2026-10-16 17:02:39] local.INFO: Processing buffer {"connection_id":220102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447b7500012d0c26400703b210001600ee20..."} 
[2026-10-16 17:02:39] local.INFO: Packet analysis {"connection_id":220102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447b"} 
[2026-10-16 17:02:39] local.INFO: Extracted packet for processing {"connection_id":220102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447b"} 
[2026-10-16 17:02:39] local.INFO: GPS Element Parsed {"raw_longitude":755770944,"raw_latitude":117682704,"longitude_deg":75.5770944,"latitude_deg":11.7682704,"altitude":22,"angle":238,"satellites":32,"speed":28,"hex_longitude":"2d0c2640","hex_latitude":"0703b210","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790477824001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36580683136630784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875457576441090048,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:39] 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-10-16 17:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792150304000,"timestamp_ms":1792150304000,"timestamp_seconds":1792150304,"priority":1,"record_length":96,"hex_timestamp":"000001a1447b7500"} 
[2026-10-16 17:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:02:39] 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-10-16 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 17:02:39] 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-10-16 17: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-10-16 17:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":220102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":220102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":220102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790477824001,"66":14537,"18":206,"28":32256,"24":28,"16":36580683136630784,"45":875457576441090048},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 17:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790477824001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:02:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 17:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 17:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36580683136630784,"km_value":36580683136630.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":875457576441090048,"description":"Unknown IO ID 45"} 
[2026-10-16 17:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790477824001,"power":14537,"unknown_18":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":875457576441090048}} 
[2026-10-16 17:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":220102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":754,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:02:39] local.INFO: GPS data processed {"connection_id":220102,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:02:39] local.INFO: Acknowledgment sent {"connection_id":220102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:02:53] local.INFO: TCP Data received {"connection_id":216810,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:02:53] local.INFO: Processing buffer {"connection_id":216810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:02:53] local.INFO: Packet analysis {"connection_id":216810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:02:53] local.INFO: Extracted packet for processing {"connection_id":216810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:02:53] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790373120001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792150196000,"timestamp_ms":1792150196000,"timestamp_seconds":1792150196,"priority":1,"record_length":96,"hex_timestamp":"000001a14479cf20"} 
[2026-10-16 17:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 17:02:53] 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-10-16 17:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790373120001,"66":25778,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790373120001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:02:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:02:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790373120001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":216810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:02:53] local.INFO: GPS data processed {"connection_id":216810,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:02:53] local.INFO: Acknowledgment sent {"connection_id":216810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:03:01] local.INFO: TCP Data received {"connection_id":218368,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:03:01] local.INFO: Processing buffer {"connection_id":218368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:03:01] local.INFO: IMEI packet received {"connection_id":218368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":218368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:03:02] local.INFO: TCP Data received {"connection_id":218368,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:03:02] local.INFO: Processing buffer {"connection_id":218368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:03:02] local.INFO: IMEI packet received {"connection_id":218368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":218368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:03:06] local.INFO: TCP Data received {"connection_id":218368,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218368,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:03:06] local.INFO: Processing buffer {"connection_id":218368,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:03:06] local.INFO: IMEI packet received {"connection_id":218368,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":218368,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:03:08] local.INFO: TCP Data received {"connection_id":218368,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a1447b84a0012d0c1d000703ab30001600e220..."} 
[2026-10-16 17:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447b84a0012d0c1d000703ab30001600e220..."} 
[2026-10-16 17:03:08] local.INFO: Processing buffer {"connection_id":218368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447b84a0012d0c1d000703ab30001600e220..."} 
[2026-10-16 17:03:08] local.INFO: Packet analysis {"connection_id":218368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447b"} 
[2026-10-16 17:03:08] local.INFO: Extracted packet for processing {"connection_id":218368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447b"} 
[2026-10-16 17:03:08] local.INFO: GPS Element Parsed {"raw_longitude":755768576,"raw_latitude":117680944,"longitude_deg":75.5768576,"latitude_deg":11.7680944,"altitude":22,"angle":226,"satellites":32,"speed":30,"hex_longitude":"2d0c1d00","hex_latitude":"0703ab30","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790477824001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36580824870551552,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875457576441090048,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:08] 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-10-16 17:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792150308000,"timestamp_ms":1792150308000,"timestamp_seconds":1792150308,"priority":1,"record_length":96,"hex_timestamp":"000001a1447b84a0"} 
[2026-10-16 17:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 17:03:08] 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-10-16 17: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-10-16 17:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":218368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":218368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":218368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790477824001,"66":14428,"18":206,"28":32256,"24":30,"16":36580824870551552,"45":875457576441090048},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 17:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790477824001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:03:08] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 17:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 17:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36580824870551552,"km_value":36580824870551.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":875457576441090048,"description":"Unknown IO ID 45"} 
[2026-10-16 17:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790477824001,"power":14428,"unknown_18":206,"unknown_28":32256,"ignition":30,"odometer":null,"unknown_45":875457576441090048}} 
[2026-10-16 17:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":218368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:03:08] local.INFO: GPS data processed {"connection_id":218368,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:03:08] local.INFO: Acknowledgment sent {"connection_id":218368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:03:20] local.INFO: TCP Data received {"connection_id":216811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:03:20] local.INFO: Processing buffer {"connection_id":216811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:03:20] local.INFO: IMEI packet received {"connection_id":216811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":216811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:03:21] local.INFO: TCP Data received {"connection_id":218369,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:03:21] local.INFO: Processing buffer {"connection_id":218369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:03:21] local.INFO: IMEI packet received {"connection_id":218369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":218369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:03:30] local.INFO: TCP Data received {"connection_id":218369,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:03:30] local.INFO: Processing buffer {"connection_id":218369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:03:30] local.INFO: IMEI packet received {"connection_id":218369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":218369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:03:31] local.INFO: TCP Data received {"connection_id":218369,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:03:31] local.INFO: Processing buffer {"connection_id":218369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:03:31] local.INFO: Packet analysis {"connection_id":218369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:03:31] local.INFO: Extracted packet for processing {"connection_id":218369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790373120001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792150196000,"timestamp_ms":1792150196000,"timestamp_seconds":1792150196,"priority":1,"record_length":96,"hex_timestamp":"000001a14479cf20"} 
[2026-10-16 17:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 17:03:31] 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-10-16 17:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":218369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":218369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":218369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790373120001,"66":25778,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790373120001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:03:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:03:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790373120001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":218369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:03:31] local.INFO: GPS data processed {"connection_id":218369,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:03:31] local.INFO: Acknowledgment sent {"connection_id":218369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:03:32] local.INFO: TCP Data received {"connection_id":218369,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:03:32] local.INFO: Processing buffer {"connection_id":218369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:03:32] local.INFO: Packet analysis {"connection_id":218369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:03:32] local.INFO: Extracted packet for processing {"connection_id":218369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790373120001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792150196000,"timestamp_ms":1792150196000,"timestamp_seconds":1792150196,"priority":1,"record_length":96,"hex_timestamp":"000001a14479cf20"} 
[2026-10-16 17:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 17:03:32] 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-10-16 17:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790373120001,"66":25778,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790373120001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:03:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:03:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790373120001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":218369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:03:32] local.INFO: GPS data processed {"connection_id":218369,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:03:32] local.INFO: Acknowledgment sent {"connection_id":218369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:03:39] local.INFO: TCP Data received {"connection_id":218368,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a1447b9058012d0c16c00703a408001500d720..."} 
[2026-10-16 17:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447b9058012d0c16c00703a408001500d720..."} 
[2026-10-16 17:03:39] local.INFO: Processing buffer {"connection_id":218368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447b9058012d0c16c00703a408001500d720..."} 
[2026-10-16 17:03:39] local.INFO: Packet analysis {"connection_id":218368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447b"} 
[2026-10-16 17:03:39] local.INFO: Extracted packet for processing {"connection_id":218368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447b"} 
[2026-10-16 17:03:39] local.INFO: GPS Element Parsed {"raw_longitude":755766976,"raw_latitude":117679112,"longitude_deg":75.5766976,"latitude_deg":11.7679112,"altitude":21,"angle":215,"satellites":32,"speed":31,"hex_longitude":"2d0c16c0","hex_latitude":"0703a408","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790478848001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36580940834668544,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872853932906065920,"note":"Value kept but may cause issues"} 
[2026-10-16 17:03:39] 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-10-16 17:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792150311000,"timestamp_ms":1792150311000,"timestamp_seconds":1792150311,"priority":1,"record_length":96,"hex_timestamp":"000001a1447b9058"} 
[2026-10-16 17:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:03:39] 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-10-16 17: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-10-16 17:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":218368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":218368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":218368,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790478848001,"66":14439,"18":206,"28":32256,"24":31,"16":36580940834668544,"45":872853932906065920},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-10-16 17:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790478848001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:03:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-10-16 17:03:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 17:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36580940834668544,"km_value":36580940834668.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":872853932906065920,"description":"Unknown IO ID 45"} 
[2026-10-16 17:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790478848001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":872853932906065920}} 
[2026-10-16 17:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":218368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:03:40] local.INFO: GPS data processed {"connection_id":218368,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:03:40] local.INFO: Acknowledgment sent {"connection_id":218368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:03:50] local.INFO: TCP Data received {"connection_id":217038,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:03:50] local.INFO: Processing buffer {"connection_id":217038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:03:50] local.INFO: IMEI packet received {"connection_id":217038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":217038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:04:06] local.INFO: TCP Data received {"connection_id":216812,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216812,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:04:06] local.INFO: Processing buffer {"connection_id":216812,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:04:06] local.INFO: IMEI packet received {"connection_id":216812,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":216812,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:04:07] local.INFO: TCP Data received {"connection_id":216812,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216812,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:04:07] local.INFO: Processing buffer {"connection_id":216812,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:04:07] local.INFO: IMEI packet received {"connection_id":216812,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":216812,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:04:08] local.INFO: TCP Data received {"connection_id":216812,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a1447d45d8012d0c2a400702ab40001600e321..."} 
[2026-10-16 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447d45d8012d0c2a400702ab40001600e321..."} 
[2026-10-16 17:04:08] local.INFO: Processing buffer {"connection_id":216812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447d45d8012d0c2a400702ab40001600e321..."} 
[2026-10-16 17:04:08] local.INFO: Packet analysis {"connection_id":216812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447d"} 
[2026-10-16 17:04:08] local.INFO: Extracted packet for processing {"connection_id":216812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447d"} 
[2026-10-16 17:04:08] local.INFO: GPS Element Parsed {"raw_longitude":755771968,"raw_latitude":117615424,"longitude_deg":75.5771968,"latitude_deg":11.7615424,"altitude":22,"angle":227,"satellites":33,"speed":3,"hex_longitude":"2d0c2a40","hex_latitude":"0702ab40","is_valid_coordinates":true} 
[2026-10-16 17:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790508032001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36584144880271360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876583476330721280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:08] 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-10-16 17:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792150423000,"timestamp_ms":1792150423000,"timestamp_seconds":1792150423,"priority":1,"record_length":96,"hex_timestamp":"000001a1447d45d8"} 
[2026-10-16 17:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 17:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":216812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":216812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":216812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790508032001,"66":14396,"21":206,"28":32256,"24":3,"16":36584144880271360,"45":876583476330721280},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-10-16 17:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790508032001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:04:08] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 17:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 17:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36584144880271360,"km_value":36584144880271.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":876583476330721280,"description":"Unknown IO ID 45"} 
[2026-10-16 17:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790508032001,"power":14396,"unknown_21":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_45":876583476330721280}} 
[2026-10-16 17:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":216812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:04:09] local.INFO: GPS data processed {"connection_id":216812,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:04:09] local.INFO: Acknowledgment sent {"connection_id":216812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:04:09] local.INFO: TCP Data received {"connection_id":216812,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a1447d49c0012d0c2a400702ab30001600f421..."} 
[2026-10-16 17:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447d49c0012d0c2a400702ab30001600f421..."} 
[2026-10-16 17:04:09] local.INFO: Processing buffer {"connection_id":216812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447d49c0012d0c2a400702ab30001600f421..."} 
[2026-10-16 17:04:09] local.INFO: Packet analysis {"connection_id":216812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447d"} 
[2026-10-16 17:04:09] local.INFO: Extracted packet for processing {"connection_id":216812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447d"} 
[2026-10-16 17:04:09] local.INFO: GPS Element Parsed {"raw_longitude":755771968,"raw_latitude":117615408,"longitude_deg":75.5771968,"latitude_deg":11.7615408,"altitude":22,"angle":244,"satellites":33,"speed":3,"hex_longitude":"2d0c2a40","hex_latitude":"0702ab30","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790508288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36584144880271360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876583476330708992,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:09] 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-10-16 17:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792150424000,"timestamp_ms":1792150424000,"timestamp_seconds":1792150424,"priority":1,"record_length":96,"hex_timestamp":"000001a1447d49c0"} 
[2026-10-16 17:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:04: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-10-16 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-10-16 17:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790508288001,"66":13656,"21":206,"28":32256,"24":3,"16":36584144880271360,"45":876583476330708992},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-10-16 17:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790508288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:04:09] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 17:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 17:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36584144880271360,"km_value":36584144880271.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":876583476330708992,"description":"Unknown IO ID 45"} 
[2026-10-16 17:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790508288001,"power":13656,"unknown_21":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_45":876583476330708992}} 
[2026-10-16 17:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":216812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:04:10] local.INFO: GPS data processed {"connection_id":216812,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:04:10] local.INFO: Acknowledgment sent {"connection_id":216812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:04:15] local.INFO: TCP Data received {"connection_id":220103,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:04:15] local.INFO: Processing buffer {"connection_id":220103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:04:15] local.INFO: IMEI packet received {"connection_id":220103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":220103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:04:21] local.INFO: TCP Data received {"connection_id":220103,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:04:21] local.INFO: Processing buffer {"connection_id":220103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:04:21] local.INFO: IMEI packet received {"connection_id":220103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":220103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:04:22] local.INFO: TCP Data received {"connection_id":220103,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:04:22] local.INFO: Processing buffer {"connection_id":220103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:04:22] local.INFO: Packet analysis {"connection_id":220103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:04:22] local.INFO: Extracted packet for processing {"connection_id":220103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:04:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790373120001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792150196000,"timestamp_ms":1792150196000,"timestamp_seconds":1792150196,"priority":1,"record_length":96,"hex_timestamp":"000001a14479cf20"} 
[2026-10-16 17:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 17:04:22] 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-10-16 17:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790373120001,"66":25778,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790373120001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:04:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:04:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790373120001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":220103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:04:22] local.INFO: GPS data processed {"connection_id":220103,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:04:22] local.INFO: Acknowledgment sent {"connection_id":220103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:04:41] local.INFO: TCP Data received {"connection_id":216812,"ip":"117.224.62.163","data_length":795,"data_hex":"000000000000030f8e0a000001a1447d4da8012d0c2a400702ab380016010e21..."} 
[2026-10-16 17:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447d4da8012d0c2a400702ab380016010e21..."} 
[2026-10-16 17:04:41] local.INFO: Processing buffer {"connection_id":216812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447d4da8012d0c2a400702ab380016010e21..."} 
[2026-10-16 17:04:41] local.INFO: Packet analysis {"connection_id":216812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447d"} 
[2026-10-16 17:04:41] local.INFO: Extracted packet for processing {"connection_id":216812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447d"} 
[2026-10-16 17:04:41] local.INFO: GPS Element Parsed {"raw_longitude":755771968,"raw_latitude":117615416,"longitude_deg":75.5771968,"latitude_deg":11.7615416,"altitude":22,"angle":270,"satellites":33,"speed":2,"hex_longitude":"2d0c2a40","hex_latitude":"0702ab38","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790508544001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36584144880271360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876583476330704896,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:41] 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-10-16 17:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792150425000,"timestamp_ms":1792150425000,"timestamp_seconds":1792150425,"priority":1,"record_length":96,"hex_timestamp":"000001a1447d4da8"} 
[2026-10-16 17:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-10-16 17:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":216812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":216812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":216812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.62.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790508544001,"66":13656,"21":206,"28":32256,"24":2,"16":36584144880271360,"45":876583476330704896},"client_ip":"117.224.62.163","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-10-16 17:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790508544001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:04:41] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 17:04:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-10-16 17:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36584144880271360,"km_value":36584144880271.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":876583476330704896,"description":"Unknown IO ID 45"} 
[2026-10-16 17:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790508544001,"power":13656,"unknown_21":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_45":876583476330704896}} 
[2026-10-16 17:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":216812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:04:41] local.INFO: GPS data processed {"connection_id":216812,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:04:41] local.INFO: Acknowledgment sent {"connection_id":216812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:04:53] local.INFO: TCP Data received {"connection_id":220103,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:04:53] local.INFO: Processing buffer {"connection_id":220103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:04:53] local.INFO: Packet analysis {"connection_id":220103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:04:53] local.INFO: Extracted packet for processing {"connection_id":220103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:04:53] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790373120001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792150196000,"timestamp_ms":1792150196000,"timestamp_seconds":1792150196,"priority":1,"record_length":96,"hex_timestamp":"000001a14479cf20"} 
[2026-10-16 17:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 17:04:53] 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-10-16 17: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-10-16 17:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":220103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":220103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":220103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790373120001,"66":25778,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790373120001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:04:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:04:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790373120001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":220103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:04:53] local.INFO: GPS data processed {"connection_id":220103,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:04:53] local.INFO: Acknowledgment sent {"connection_id":220103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:05:01] local.INFO: TCP Data received {"connection_id":217040,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:05:01] local.INFO: Processing buffer {"connection_id":217040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:05:01] local.INFO: IMEI packet received {"connection_id":217040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":217040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:05:02] local.INFO: TCP Data received {"connection_id":217040,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:05:02] local.INFO: Processing buffer {"connection_id":217040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:05:02] local.INFO: IMEI packet received {"connection_id":217040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":217040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:05:04] local.INFO: TCP Data received {"connection_id":217040,"ip":"117.224.62.163","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:05:04] local.INFO: Processing buffer {"connection_id":217040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:05:04] local.INFO: IMEI packet received {"connection_id":217040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":217040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:05:15] local.INFO: TCP Data received {"connection_id":218370,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:05:15] local.INFO: Processing buffer {"connection_id":218370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:05:15] local.INFO: IMEI packet received {"connection_id":218370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":218370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:05:21] local.INFO: TCP Data received {"connection_id":218370,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:05:21] local.INFO: Processing buffer {"connection_id":218370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:05:21] local.INFO: IMEI packet received {"connection_id":218370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":218370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:05:22] local.INFO: TCP Data received {"connection_id":218370,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:05:22] local.INFO: Processing buffer {"connection_id":218370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14479cf20012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:05:22] local.INFO: Packet analysis {"connection_id":218370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:05:22] local.INFO: Extracted packet for processing {"connection_id":218370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14479"} 
[2026-10-16 17:05:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790373120001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792150196000,"timestamp_ms":1792150196000,"timestamp_seconds":1792150196,"priority":1,"record_length":96,"hex_timestamp":"000001a14479cf20"} 
[2026-10-16 17:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 17:05:22] 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-10-16 17:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790373120001,"66":25778,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790373120001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:05:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:05:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790373120001,"power":25778,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":218370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:05:22] local.INFO: GPS data processed {"connection_id":218370,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:05:22] local.INFO: Acknowledgment sent {"connection_id":218370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:05:53] local.INFO: TCP Data received {"connection_id":218370,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:05:53] local.INFO: Processing buffer {"connection_id":218370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:05:53] local.INFO: Packet analysis {"connection_id":218370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:05:53] local.INFO: Extracted packet for processing {"connection_id":218370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:05:53] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790450176001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792150497000,"timestamp_ms":1792150497000,"timestamp_seconds":1792150497,"priority":1,"record_length":96,"hex_timestamp":"000001a1447e66e8"} 
[2026-10-16 17:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 17:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790450176001,"66":25854,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790450176001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:05:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:05:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790450176001,"power":25854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":218370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:05:53] local.INFO: GPS data processed {"connection_id":218370,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:05:53] local.INFO: Acknowledgment sent {"connection_id":218370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:06:15] local.INFO: TCP Data received {"connection_id":217041,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:06:15] local.INFO: Processing buffer {"connection_id":217041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:06:15] local.INFO: IMEI packet received {"connection_id":217041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":217041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:06:21] local.INFO: TCP Data received {"connection_id":217041,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:06:21] local.INFO: Processing buffer {"connection_id":217041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:06:21] local.INFO: IMEI packet received {"connection_id":217041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":217041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:06:22] local.INFO: TCP Data received {"connection_id":217041,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:06:22] local.INFO: Processing buffer {"connection_id":217041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:06:22] local.INFO: Packet analysis {"connection_id":217041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:06:22] local.INFO: Extracted packet for processing {"connection_id":217041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:06:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790450176001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792150497000,"timestamp_ms":1792150497000,"timestamp_seconds":1792150497,"priority":1,"record_length":96,"hex_timestamp":"000001a1447e66e8"} 
[2026-10-16 17:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 17:06:22] 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-10-16 17:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790450176001,"66":25854,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790450176001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:06:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:06:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790450176001,"power":25854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":217041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:06:22] local.INFO: GPS data processed {"connection_id":217041,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:06:22] local.INFO: Acknowledgment sent {"connection_id":217041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:06:34] local.INFO: TCP Data received {"connection_id":220104,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:34] local.INFO: Processing buffer {"connection_id":220104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:34] local.INFO: IMEI packet received {"connection_id":220104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":220104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:06:36] local.INFO: TCP Data received {"connection_id":220104,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:36] local.INFO: Processing buffer {"connection_id":220104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:36] local.INFO: IMEI packet received {"connection_id":220104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":220104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:06:37] local.INFO: TCP Data received {"connection_id":220104,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:37] local.INFO: Processing buffer {"connection_id":220104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:37] local.INFO: IMEI packet received {"connection_id":220104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":220104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:06:39] local.INFO: TCP Data received {"connection_id":220104,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:39] local.INFO: Processing buffer {"connection_id":220104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:06:39] local.INFO: IMEI packet received {"connection_id":220104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":220104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:06:54] local.INFO: TCP Data received {"connection_id":217041,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:06:54] local.INFO: Processing buffer {"connection_id":217041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:06:54] local.INFO: Packet analysis {"connection_id":217041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:06:54] local.INFO: Extracted packet for processing {"connection_id":217041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790450176001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792150497000,"timestamp_ms":1792150497000,"timestamp_seconds":1792150497,"priority":1,"record_length":96,"hex_timestamp":"000001a1447e66e8"} 
[2026-10-16 17:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 17:06:54] 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-10-16 17:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790450176001,"66":25854,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790450176001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:06:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:06:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790450176001,"power":25854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":217041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:06:54] local.INFO: GPS data processed {"connection_id":217041,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:06:54] local.INFO: Acknowledgment sent {"connection_id":217041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:07:21] local.INFO: TCP Data received {"connection_id":218372,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:07:21] local.INFO: Processing buffer {"connection_id":218372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:07:21] local.INFO: IMEI packet received {"connection_id":218372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":218372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:07:26] local.INFO: TCP Data received {"connection_id":218372,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:07:26] local.INFO: Processing buffer {"connection_id":218372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:07:26] local.INFO: IMEI packet received {"connection_id":218372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":218372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:07:27] local.INFO: TCP Data received {"connection_id":218372,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:07:27] local.INFO: Processing buffer {"connection_id":218372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:07:27] local.INFO: Packet analysis {"connection_id":218372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:07:27] local.INFO: Extracted packet for processing {"connection_id":218372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790450176001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792150497000,"timestamp_ms":1792150497000,"timestamp_seconds":1792150497,"priority":1,"record_length":96,"hex_timestamp":"000001a1447e66e8"} 
[2026-10-16 17:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 17:07:27] 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-10-16 17:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790450176001,"66":25854,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790450176001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:07:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:07:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790450176001,"power":25854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":218372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:07:27] local.INFO: GPS data processed {"connection_id":218372,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:07:27] local.INFO: Acknowledgment sent {"connection_id":218372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:07:32] local.INFO: TCP Data received {"connection_id":218372,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:07:32] local.INFO: Processing buffer {"connection_id":218372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:07:32] local.INFO: Packet analysis {"connection_id":218372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:07:32] local.INFO: Extracted packet for processing {"connection_id":218372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790450176001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792150497000,"timestamp_ms":1792150497000,"timestamp_seconds":1792150497,"priority":1,"record_length":96,"hex_timestamp":"000001a1447e66e8"} 
[2026-10-16 17:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 17:07:32] 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-10-16 17:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790450176001,"66":25854,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790450176001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:07:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:07:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790450176001,"power":25854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":218372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:07:32] local.INFO: GPS data processed {"connection_id":218372,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:07:32] local.INFO: Acknowledgment sent {"connection_id":218372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:08:17] local.INFO: TCP Data received {"connection_id":216815,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:08:17] local.INFO: Processing buffer {"connection_id":216815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:08:17] local.INFO: IMEI packet received {"connection_id":216815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":216815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:08:21] local.INFO: TCP Data received {"connection_id":216815,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:08:21] local.INFO: Processing buffer {"connection_id":216815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:08:21] local.INFO: IMEI packet received {"connection_id":216815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":216815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:08:22] local.INFO: TCP Data received {"connection_id":216815,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:08:22] local.INFO: Processing buffer {"connection_id":216815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:08:22] local.INFO: Packet analysis {"connection_id":216815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:08:22] local.INFO: Extracted packet for processing {"connection_id":216815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790450176001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792150497000,"timestamp_ms":1792150497000,"timestamp_seconds":1792150497,"priority":1,"record_length":96,"hex_timestamp":"000001a1447e66e8"} 
[2026-10-16 17:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 17:08:22] 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-10-16 17:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790450176001,"66":25854,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790450176001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:08:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:08:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790450176001,"power":25854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":216815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:08:22] local.INFO: GPS data processed {"connection_id":216815,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:08:22] local.INFO: Acknowledgment sent {"connection_id":216815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:08:54] local.INFO: TCP Data received {"connection_id":216815,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:08:54] local.INFO: Processing buffer {"connection_id":216815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:08:54] local.INFO: Packet analysis {"connection_id":216815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:08:54] local.INFO: Extracted packet for processing {"connection_id":216815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790450176001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792150497000,"timestamp_ms":1792150497000,"timestamp_seconds":1792150497,"priority":1,"record_length":96,"hex_timestamp":"000001a1447e66e8"} 
[2026-10-16 17:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 17:08:54] 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-10-16 17:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790450176001,"66":25854,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790450176001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:08:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:08:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790450176001,"power":25854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":216815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:08:54] local.INFO: GPS data processed {"connection_id":216815,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:08:54] local.INFO: Acknowledgment sent {"connection_id":216815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:09:10] local.INFO: TCP Data received {"connection_id":217044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:09:10] local.INFO: Processing buffer {"connection_id":217044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:09:10] local.INFO: IMEI packet received {"connection_id":217044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":217044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:09:15] local.INFO: TCP Data received {"connection_id":218373,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:09:15] local.INFO: Processing buffer {"connection_id":218373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:09:15] local.INFO: IMEI packet received {"connection_id":218373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":218373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:09:21] local.INFO: TCP Data received {"connection_id":218373,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:09:21] local.INFO: Processing buffer {"connection_id":218373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:09:21] local.INFO: IMEI packet received {"connection_id":218373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":218373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:09:22] local.INFO: TCP Data received {"connection_id":218373,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:09:22] local.INFO: Processing buffer {"connection_id":218373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:09:22] local.INFO: Packet analysis {"connection_id":218373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:09:22] local.INFO: Extracted packet for processing {"connection_id":218373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790450176001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792150497000,"timestamp_ms":1792150497000,"timestamp_seconds":1792150497,"priority":1,"record_length":96,"hex_timestamp":"000001a1447e66e8"} 
[2026-10-16 17:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 17:09:22] 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-10-16 17:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790450176001,"66":25854,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790450176001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:09:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:09:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790450176001,"power":25854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":218373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:09:22] local.INFO: GPS data processed {"connection_id":218373,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:09:22] local.INFO: Acknowledgment sent {"connection_id":218373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:09:54] local.INFO: TCP Data received {"connection_id":218373,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:09:54] local.INFO: Processing buffer {"connection_id":218373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:09:54] local.INFO: Packet analysis {"connection_id":218373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:09:54] local.INFO: Extracted packet for processing {"connection_id":218373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790450176001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792150497000,"timestamp_ms":1792150497000,"timestamp_seconds":1792150497,"priority":1,"record_length":96,"hex_timestamp":"000001a1447e66e8"} 
[2026-10-16 17:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 17:09:54] 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-10-16 17:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790450176001,"66":25854,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790450176001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:09:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:09:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790450176001,"power":25854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":218373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:09:54] local.INFO: GPS data processed {"connection_id":218373,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:09:54] local.INFO: Acknowledgment sent {"connection_id":218373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:09:55] local.INFO: TCP Data received {"connection_id":220106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:09:55] local.INFO: Processing buffer {"connection_id":220106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:09:55] local.INFO: IMEI packet received {"connection_id":220106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":220106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:10:15] local.INFO: TCP Data received {"connection_id":217046,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:10:15] local.INFO: Processing buffer {"connection_id":217046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:10:15] local.INFO: IMEI packet received {"connection_id":217046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":217046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:10:21] local.INFO: TCP Data received {"connection_id":217046,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:10:21] local.INFO: Processing buffer {"connection_id":217046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:10:21] local.INFO: IMEI packet received {"connection_id":217046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":217046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:10:23] local.INFO: TCP Data received {"connection_id":217046,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:10:23] local.INFO: Processing buffer {"connection_id":217046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1447e66e8012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:10:23] local.INFO: Packet analysis {"connection_id":217046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:10:23] local.INFO: Extracted packet for processing {"connection_id":217046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1447e"} 
[2026-10-16 17:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790450176001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792150497000,"timestamp_ms":1792150497000,"timestamp_seconds":1792150497,"priority":1,"record_length":96,"hex_timestamp":"000001a1447e66e8"} 
[2026-10-16 17:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-10-16 17:10:23] 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-10-16 17: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-10-16 17:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790450176001,"66":25854,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790450176001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:10:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:10:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790450176001,"power":25854,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":217046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:10:23] local.INFO: GPS data processed {"connection_id":217046,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:10:23] local.INFO: Acknowledgment sent {"connection_id":217046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:10:55] local.INFO: TCP Data received {"connection_id":217046,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:10:55] local.INFO: Processing buffer {"connection_id":217046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:10:55] local.INFO: Packet analysis {"connection_id":217046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:10:55] local.INFO: Extracted packet for processing {"connection_id":217046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790527232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792150798000,"timestamp_ms":1792150798000,"timestamp_seconds":1792150798,"priority":1,"record_length":96,"hex_timestamp":"000001a14482feb0"} 
[2026-10-16 17:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:10:55] 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-10-16 17:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790527232001,"66":25756,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790527232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:10:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:10:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790527232001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":217046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:10:55] local.INFO: GPS data processed {"connection_id":217046,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:10:55] local.INFO: Acknowledgment sent {"connection_id":217046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:11:15] local.INFO: TCP Data received {"connection_id":220108,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:11:15] local.INFO: Processing buffer {"connection_id":220108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:11:15] local.INFO: IMEI packet received {"connection_id":220108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":220108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:11:21] local.INFO: TCP Data received {"connection_id":220108,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:11:21] local.INFO: Processing buffer {"connection_id":220108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:11:21] local.INFO: IMEI packet received {"connection_id":220108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":220108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:11:23] local.INFO: TCP Data received {"connection_id":220108,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:11:23] local.INFO: Processing buffer {"connection_id":220108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:11:23] local.INFO: Packet analysis {"connection_id":220108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:11:23] local.INFO: Extracted packet for processing {"connection_id":220108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790527232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792150798000,"timestamp_ms":1792150798000,"timestamp_seconds":1792150798,"priority":1,"record_length":96,"hex_timestamp":"000001a14482feb0"} 
[2026-10-16 17:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:11:23] 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-10-16 17:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790527232001,"66":25756,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790527232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:11:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:11:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790527232001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":220108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:11:23] local.INFO: GPS data processed {"connection_id":220108,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:11:23] local.INFO: Acknowledgment sent {"connection_id":220108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:11:46] local.INFO: TCP Data received {"connection_id":216816,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216816,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:11:46] local.INFO: Processing buffer {"connection_id":216816,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:11:46] local.INFO: IMEI packet received {"connection_id":216816,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":216816,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:11:54] local.INFO: TCP Data received {"connection_id":220108,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:11:54] local.INFO: Processing buffer {"connection_id":220108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:11:54] local.INFO: Packet analysis {"connection_id":220108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:11:54] local.INFO: Extracted packet for processing {"connection_id":220108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790527232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792150798000,"timestamp_ms":1792150798000,"timestamp_seconds":1792150798,"priority":1,"record_length":96,"hex_timestamp":"000001a14482feb0"} 
[2026-10-16 17:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:11:54] 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-10-16 17:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790527232001,"66":25756,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790527232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:11:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:11:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790527232001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":220108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:11:54] local.INFO: GPS data processed {"connection_id":220108,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:11:54] local.INFO: Acknowledgment sent {"connection_id":220108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:12:16] local.INFO: TCP Data received {"connection_id":218374,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:12:16] local.INFO: Processing buffer {"connection_id":218374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:12:16] local.INFO: IMEI packet received {"connection_id":218374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":218374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:12:21] local.INFO: TCP Data received {"connection_id":218374,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218374,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:12:21] local.INFO: Processing buffer {"connection_id":218374,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:12:21] local.INFO: IMEI packet received {"connection_id":218374,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":218374,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:12:21] local.INFO: TCP Data received {"connection_id":216817,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:12:21] local.INFO: Processing buffer {"connection_id":216817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:12:21] local.INFO: IMEI packet received {"connection_id":216817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":216817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:12:22] local.INFO: TCP Data received {"connection_id":218374,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144829920012d0b14800702a0980010015e1d..."} 
[2026-10-16 17:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144829920012d0b14800702a0980010015e1d..."} 
[2026-10-16 17:12:22] local.INFO: Processing buffer {"connection_id":218374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144829920012d0b14800702a0980010015e1d..."} 
[2026-10-16 17:12:22] local.INFO: Packet analysis {"connection_id":218374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:12:22] local.INFO: Extracted packet for processing {"connection_id":218374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:12:22] local.INFO: GPS Element Parsed {"raw_longitude":755700864,"raw_latitude":117612696,"longitude_deg":75.5700864,"latitude_deg":11.7612696,"altitude":16,"angle":350,"satellites":29,"speed":0,"hex_longitude":"2d0b1480","hex_latitude":"0702a098","is_valid_coordinates":true} 
[2026-10-16 17:12:22] 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-10-16 17:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790597632001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588701840572416,"note":"Value kept but may cause issues"} 
[2026-10-16 17:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798403801548625920,"note":"Value kept but may cause issues"} 
[2026-10-16 17:12:22] 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-10-16 17:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792150772000,"timestamp_ms":1792150772000,"timestamp_seconds":1792150772,"priority":1,"record_length":96,"hex_timestamp":"000001a144829920"} 
[2026-10-16 17:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-16 17:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218374,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790597632001,"66":12906,"17":206,"94":11008,"24":0,"16":36588701840572416,"45":798403801548625920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790597632001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:12:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588701840572416,"km_value":36588701840572.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":798403801548625920,"description":"Unknown IO ID 45"} 
[2026-10-16 17:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790597632001,"power":12906,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798403801548625920}} 
[2026-10-16 17:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":218374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:12:22] local.INFO: GPS data processed {"connection_id":218374,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:12:22] local.INFO: Acknowledgment sent {"connection_id":218374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:12:26] local.INFO: TCP Data received {"connection_id":216817,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:12:26] local.INFO: Processing buffer {"connection_id":216817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:12:26] local.INFO: IMEI packet received {"connection_id":216817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":216817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:12:27] local.INFO: TCP Data received {"connection_id":216817,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:12:27] local.INFO: Processing buffer {"connection_id":216817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:12:27] local.INFO: Packet analysis {"connection_id":216817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:12:27] local.INFO: Extracted packet for processing {"connection_id":216817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790527232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792150798000,"timestamp_ms":1792150798000,"timestamp_seconds":1792150798,"priority":1,"record_length":96,"hex_timestamp":"000001a14482feb0"} 
[2026-10-16 17:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:12:27] 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-10-16 17: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-10-16 17:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790527232001,"66":25756,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790527232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:12:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:12:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790527232001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":216817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:12:27] local.INFO: GPS data processed {"connection_id":216817,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:12:27] local.INFO: Acknowledgment sent {"connection_id":216817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:12:32] local.INFO: TCP Data received {"connection_id":216817,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:12:32] local.INFO: Processing buffer {"connection_id":216817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:12:32] local.INFO: Packet analysis {"connection_id":216817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:12:32] local.INFO: Extracted packet for processing {"connection_id":216817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790527232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792150798000,"timestamp_ms":1792150798000,"timestamp_seconds":1792150798,"priority":1,"record_length":96,"hex_timestamp":"000001a14482feb0"} 
[2026-10-16 17:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:12:32] 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-10-16 17:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790527232001,"66":25756,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790527232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:12:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:12:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790527232001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":216817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:12:32] local.INFO: GPS data processed {"connection_id":216817,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:12:32] local.INFO: Acknowledgment sent {"connection_id":216817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:13:16] local.INFO: TCP Data received {"connection_id":218376,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:13:16] local.INFO: Processing buffer {"connection_id":218376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:13:16] local.INFO: IMEI packet received {"connection_id":218376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":218376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:13:17] local.INFO: TCP Data received {"connection_id":218377,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:13:17] local.INFO: Processing buffer {"connection_id":218377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:13:17] local.INFO: IMEI packet received {"connection_id":218377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":218377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:13:21] local.INFO: TCP Data received {"connection_id":218377,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:13:21] local.INFO: Processing buffer {"connection_id":218377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:13:21] local.INFO: IMEI packet received {"connection_id":218377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":218377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:13:21] local.INFO: TCP Data received {"connection_id":218376,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:13:21] local.INFO: Processing buffer {"connection_id":218376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:13:21] local.INFO: IMEI packet received {"connection_id":218376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":218376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:13:22] local.INFO: TCP Data received {"connection_id":218376,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:13:22] local.INFO: Processing buffer {"connection_id":218376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:13:22] local.INFO: Packet analysis {"connection_id":218376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:13:22] local.INFO: Extracted packet for processing {"connection_id":218376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:13:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790527232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792150798000,"timestamp_ms":1792150798000,"timestamp_seconds":1792150798,"priority":1,"record_length":96,"hex_timestamp":"000001a14482feb0"} 
[2026-10-16 17:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:13:22] 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-10-16 17: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-10-16 17:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790527232001,"66":25756,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790527232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:13:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:13:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790527232001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":218376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:13:22] local.INFO: GPS data processed {"connection_id":218376,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:13:22] local.INFO: Acknowledgment sent {"connection_id":218376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:13:26] local.INFO: TCP Data received {"connection_id":218377,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a14482e358012d0b13000702a0c0001000fc1d..."} 
[2026-10-16 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482e358012d0b13000702a0c0001000fc1d..."} 
[2026-10-16 17:13:26] local.INFO: Processing buffer {"connection_id":218377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482e358012d0b13000702a0c0001000fc1d..."} 
[2026-10-16 17:13:26] local.INFO: Packet analysis {"connection_id":218377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:13:26] local.INFO: Extracted packet for processing {"connection_id":218377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612736,"longitude_deg":75.570048,"latitude_deg":11.7612736,"altitude":16,"angle":252,"satellites":29,"speed":1,"hex_longitude":"2d0b1300","hex_latitude":"0702a0c0","is_valid_coordinates":true} 
[2026-10-16 17:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790597632001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588719020441600,"note":"Value kept but may cause issues"} 
[2026-10-16 17:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798403801548625920,"note":"Value kept but may cause issues"} 
[2026-10-16 17:13:26] 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-10-16 17:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792150791000,"timestamp_ms":1792150791000,"timestamp_seconds":1792150791,"priority":1,"record_length":96,"hex_timestamp":"000001a14482e358"} 
[2026-10-16 17:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-10-16 17:13:26] 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-10-16 17:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790597632001,"66":14309,"36":206,"94":11008,"24":1,"16":36588719020441600,"45":798403801548625920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-10-16 17:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790597632001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:13:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-10-16 17:13:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588719020441600,"km_value":36588719020441.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":798403801548625920,"description":"Unknown IO ID 45"} 
[2026-10-16 17:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790597632001,"power":14309,"unknown_36":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798403801548625920}} 
[2026-10-16 17:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":218377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":783,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:13:26] local.INFO: GPS data processed {"connection_id":218377,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:13:26] local.INFO: Acknowledgment sent {"connection_id":218377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:13:54] local.INFO: TCP Data received {"connection_id":218376,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:13:54] local.INFO: Processing buffer {"connection_id":218376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:13:54] local.INFO: Packet analysis {"connection_id":218376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:13:54] local.INFO: Extracted packet for processing {"connection_id":218376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790527232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792150798000,"timestamp_ms":1792150798000,"timestamp_seconds":1792150798,"priority":1,"record_length":96,"hex_timestamp":"000001a14482feb0"} 
[2026-10-16 17:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:13:54] 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-10-16 17:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790527232001,"66":25756,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790527232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:13:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:13:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790527232001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":218376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:13:54] local.INFO: GPS data processed {"connection_id":218376,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:13:54] local.INFO: Acknowledgment sent {"connection_id":218376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:14:15] local.INFO: TCP Data received {"connection_id":217049,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:14:15] local.INFO: Processing buffer {"connection_id":217049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:14:15] local.INFO: IMEI packet received {"connection_id":217049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":217049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:14:21] local.INFO: TCP Data received {"connection_id":217049,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:14:21] local.INFO: Processing buffer {"connection_id":217049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:14:21] local.INFO: IMEI packet received {"connection_id":217049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":217049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:14:22] local.INFO: TCP Data received {"connection_id":217049,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:14:22] local.INFO: Processing buffer {"connection_id":217049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:14:22] local.INFO: Packet analysis {"connection_id":217049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:14:22] local.INFO: Extracted packet for processing {"connection_id":217049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790527232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792150798000,"timestamp_ms":1792150798000,"timestamp_seconds":1792150798,"priority":1,"record_length":96,"hex_timestamp":"000001a14482feb0"} 
[2026-10-16 17:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:14:22] 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-10-16 17:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790527232001,"66":25756,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790527232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:14:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:14:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790527232001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":217049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:14:22] local.INFO: GPS data processed {"connection_id":217049,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:14:22] local.INFO: Acknowledgment sent {"connection_id":217049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:14:41] local.INFO: TCP Data received {"connection_id":217048,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217048,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:14:41] local.INFO: Processing buffer {"connection_id":217048,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:14:41] local.INFO: IMEI packet received {"connection_id":217048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":217048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:14:42] local.INFO: TCP Data received {"connection_id":217048,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 17:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217048,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 17:14:42] local.INFO: Processing buffer {"connection_id":217048,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-10-16 17:14:42] local.INFO: IMEI packet received {"connection_id":217048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":217048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:14:42] local.INFO: TCP Data received {"connection_id":217048,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144830a68012d0b12800702a128001000631c..."} 
[2026-10-16 17:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144830a68012d0b12800702a128001000631c..."} 
[2026-10-16 17:14:42] local.INFO: Processing buffer {"connection_id":217048,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a144..."} 
[2026-10-16 17:14:42] local.INFO: IMEI packet received {"connection_id":217048,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":217048,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:14:43] local.INFO: TCP Data received {"connection_id":217048,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144830e50012d0b13000702a108001000721c..."} 
[2026-10-16 17:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144830e50012d0b13000702a108001000721c..."} 
[2026-10-16 17:14:43] local.INFO: Processing buffer {"connection_id":217048,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a144830a68012d0b12800702a128001000631c..."} 
[2026-10-16 17:14:43] local.INFO: Packet analysis {"connection_id":217048,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a14483"} 
[2026-10-16 17:14:43] local.INFO: Extracted packet for processing {"connection_id":217048,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14483"} 
[2026-10-16 17:14:43] local.INFO: GPS Element Parsed {"raw_longitude":755700352,"raw_latitude":117612840,"longitude_deg":75.5700352,"latitude_deg":11.761284,"altitude":16,"angle":99,"satellites":28,"speed":2,"hex_longitude":"2d0b1280","hex_latitude":"0702a128","is_valid_coordinates":true} 
[2026-10-16 17:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790602496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588731905343488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083570176,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:43] 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-10-16 17:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792150801000,"timestamp_ms":1792150801000,"timestamp_seconds":1792150801,"priority":1,"record_length":96,"hex_timestamp":"000001a144830a68"} 
[2026-10-16 17:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:14: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-10-16 17:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 17:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":217048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":217048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":217048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790602496001,"66":14407,"36":206,"94":11008,"24":2,"16":36588731905343488,"45":797981589083570176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-10-16 17:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790602496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:14:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-10-16 17:14:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588731905343488,"km_value":36588731905343.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083570176,"description":"Unknown IO ID 45"} 
[2026-10-16 17:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790602496001,"power":14407,"unknown_36":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":797981589083570176}} 
[2026-10-16 17:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":217048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":786,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:14:44] local.INFO: GPS data processed {"connection_id":217048,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:14:44] local.INFO: Acknowledgment sent {"connection_id":217048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:14:44] local.INFO: Packet analysis {"connection_id":217048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14483"} 
[2026-10-16 17:14:44] local.INFO: Extracted packet for processing {"connection_id":217048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14483"} 
[2026-10-16 17:14:44] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612808,"longitude_deg":75.570048,"latitude_deg":11.7612808,"altitude":16,"angle":114,"satellites":28,"speed":2,"hex_longitude":"2d0b1300","hex_latitude":"0702a108","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790605056001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797840851595241472,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:44] 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-10-16 17:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792150802000,"timestamp_ms":1792150802000,"timestamp_seconds":1792150802,"priority":1,"record_length":96,"hex_timestamp":"000001a144830e50"} 
[2026-10-16 17:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 17:14: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-10-16 17: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-10-16 17:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":217048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":217048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":217048,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790605056001,"66":14559,"36":206,"94":11008,"24":2,"16":36588736200310784,"45":797840851595241472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-10-16 17:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790605056001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:14:44] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-10-16 17:14:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":797840851595241472,"description":"Unknown IO ID 45"} 
[2026-10-16 17:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790605056001,"power":14559,"unknown_36":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":797840851595241472}} 
[2026-10-16 17:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":217048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":787,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:14:44] local.INFO: GPS data processed {"connection_id":217048,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:14:44] local.INFO: Acknowledgment sent {"connection_id":217048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:14:54] local.INFO: TCP Data received {"connection_id":217049,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:14:54] local.INFO: Processing buffer {"connection_id":217049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:14:54] local.INFO: Packet analysis {"connection_id":217049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:14:54] local.INFO: Extracted packet for processing {"connection_id":217049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790527232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792150798000,"timestamp_ms":1792150798000,"timestamp_seconds":1792150798,"priority":1,"record_length":96,"hex_timestamp":"000001a14482feb0"} 
[2026-10-16 17:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:14:54] 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-10-16 17: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-10-16 17:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790527232001,"66":25756,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790527232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:14:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:14:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790527232001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":217049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:14:54] local.INFO: GPS data processed {"connection_id":217049,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:14:54] local.INFO: Acknowledgment sent {"connection_id":217049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:15:06] local.INFO: TCP Data received {"connection_id":218379,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:15:06] local.INFO: Processing buffer {"connection_id":218379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:15:06] local.INFO: IMEI packet received {"connection_id":218379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":218379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:15:11] local.INFO: TCP Data received {"connection_id":218379,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:15:11] local.INFO: Processing buffer {"connection_id":218379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:15:11] local.INFO: IMEI packet received {"connection_id":218379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":218379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:15:12] local.INFO: TCP Data received {"connection_id":218379,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144832d90012d0b13000702a100000f00721c..."} 
[2026-10-16 17:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144832d90012d0b13000702a100000f00721c..."} 
[2026-10-16 17:15:12] local.INFO: Processing buffer {"connection_id":218379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144832d90012d0b13000702a100000f00721c..."} 
[2026-10-16 17:15:12] local.INFO: Packet analysis {"connection_id":218379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14483"} 
[2026-10-16 17:15:12] local.INFO: Extracted packet for processing {"connection_id":218379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14483"} 
[2026-10-16 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612800,"longitude_deg":75.570048,"latitude_deg":11.76128,"altitude":15,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a100","is_valid_coordinates":true} 
[2026-10-16 17:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790607360001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083586560,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792150810000,"timestamp_ms":1792150810000,"timestamp_seconds":1792150810,"priority":1,"record_length":96,"hex_timestamp":"000001a144832d90"} 
[2026-10-16 17:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:15:12] 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-10-16 17:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":218379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":218379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":218379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790607360001,"66":14428,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083586560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790607360001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:15:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083586560,"description":"Unknown IO ID 45"} 
[2026-10-16 17:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790607360001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083586560}} 
[2026-10-16 17:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":218379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:15:12] local.INFO: GPS data processed {"connection_id":218379,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:15:12] local.INFO: Acknowledgment sent {"connection_id":218379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:15:15] local.INFO: TCP Data received {"connection_id":217050,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:15:15] local.INFO: Processing buffer {"connection_id":217050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:15:15] local.INFO: IMEI packet received {"connection_id":217050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":217050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:15:20] local.INFO: TCP Data received {"connection_id":218378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:15:20] local.INFO: Processing buffer {"connection_id":218378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:15:20] local.INFO: IMEI packet received {"connection_id":218378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":218378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:15:20] local.INFO: TCP Data received {"connection_id":217050,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:15:20] local.INFO: Processing buffer {"connection_id":217050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:15:20] local.INFO: IMEI packet received {"connection_id":217050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":217050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:15:21] local.INFO: TCP Data received {"connection_id":217050,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:15:21] local.INFO: Processing buffer {"connection_id":217050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14482feb0012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:15:21] local.INFO: Packet analysis {"connection_id":217050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:15:21] local.INFO: Extracted packet for processing {"connection_id":217050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14482"} 
[2026-10-16 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790527232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792150798000,"timestamp_ms":1792150798000,"timestamp_seconds":1792150798,"priority":1,"record_length":96,"hex_timestamp":"000001a14482feb0"} 
[2026-10-16 17:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:15:21] 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-10-16 17:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790527232001,"66":25756,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790527232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:15:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:15:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790527232001,"power":25756,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":217050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:15:21] local.INFO: GPS data processed {"connection_id":217050,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:15:21] local.INFO: Acknowledgment sent {"connection_id":217050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:15:42] local.INFO: TCP Data received {"connection_id":218379,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144832d90012d0b13000702a100000f00721c..."} 
[2026-10-16 17:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144832d90012d0b13000702a100000f00721c..."} 
[2026-10-16 17:15:42] local.INFO: Processing buffer {"connection_id":218379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144832d90012d0b13000702a100000f00721c..."} 
[2026-10-16 17:15:42] local.INFO: Packet analysis {"connection_id":218379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14483"} 
[2026-10-16 17:15:42] local.INFO: Extracted packet for processing {"connection_id":218379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14483"} 
[2026-10-16 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612800,"longitude_deg":75.570048,"latitude_deg":11.76128,"altitude":15,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a100","is_valid_coordinates":true} 
[2026-10-16 17:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790607360001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083586560,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792150810000,"timestamp_ms":1792150810000,"timestamp_seconds":1792150810,"priority":1,"record_length":96,"hex_timestamp":"000001a144832d90"} 
[2026-10-16 17:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":218379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":218379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":218379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790607360001,"66":14428,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083586560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790607360001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:15:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083586560,"description":"Unknown IO ID 45"} 
[2026-10-16 17:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790607360001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083586560}} 
[2026-10-16 17:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":218379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:15:42] local.INFO: GPS data processed {"connection_id":218379,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:15:42] local.INFO: Acknowledgment sent {"connection_id":218379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:15:50] local.INFO: TCP Data received {"connection_id":218380,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:15:50] local.INFO: Processing buffer {"connection_id":218380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:15:50] local.INFO: IMEI packet received {"connection_id":218380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":218380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:15:54] local.INFO: TCP Data received {"connection_id":217050,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:15:54] local.INFO: Processing buffer {"connection_id":217050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:15:54] local.INFO: Packet analysis {"connection_id":217050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:15:54] local.INFO: Extracted packet for processing {"connection_id":217050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:15:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:15:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":217050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:15:54] local.INFO: GPS data processed {"connection_id":217050,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:15:54] local.INFO: Acknowledgment sent {"connection_id":217050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:16:21] local.INFO: TCP Data received {"connection_id":218381,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:16:21] local.INFO: Processing buffer {"connection_id":218381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:16:21] local.INFO: IMEI packet received {"connection_id":218381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":218381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:16:21] local.INFO: TCP Data received {"connection_id":220110,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220110,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:16:21] local.INFO: Processing buffer {"connection_id":220110,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:16:21] local.INFO: IMEI packet received {"connection_id":220110,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":220110,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:16:26] local.INFO: TCP Data received {"connection_id":220110,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220110,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:16:26] local.INFO: Processing buffer {"connection_id":220110,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:16:26] local.INFO: IMEI packet received {"connection_id":220110,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":220110,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:16:26] local.INFO: TCP Data received {"connection_id":218381,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:16:26] local.INFO: Processing buffer {"connection_id":218381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:16:26] local.INFO: IMEI packet received {"connection_id":218381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":218381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:16:27] local.INFO: TCP Data received {"connection_id":220110,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:16:27] local.INFO: Processing buffer {"connection_id":220110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:16:27] local.INFO: Packet analysis {"connection_id":220110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:16:27] local.INFO: Extracted packet for processing {"connection_id":220110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:16:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790607360001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083586560,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:27] 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-10-16 17:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792151115000,"timestamp_ms":1792151115000,"timestamp_seconds":1792151115,"priority":1,"record_length":96,"hex_timestamp":"000001a14487d4f8"} 
[2026-10-16 17:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:16: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-10-16 17: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-10-16 17:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790607360001,"66":12841,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083586560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790607360001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:16:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083586560,"description":"Unknown IO ID 45"} 
[2026-10-16 17:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790607360001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083586560}} 
[2026-10-16 17:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":220110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":793,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:16:27] local.INFO: GPS data processed {"connection_id":220110,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:16:27] local.INFO: Acknowledgment sent {"connection_id":220110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:16:29] local.INFO: TCP Data received {"connection_id":218381,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:16:29] local.INFO: Processing buffer {"connection_id":218381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:16:29] local.INFO: Packet analysis {"connection_id":218381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:16:29] local.INFO: Extracted packet for processing {"connection_id":218381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:16: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-10-16 17:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:16: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-10-16 17:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:16:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:16:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":218381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:16:29] local.INFO: GPS data processed {"connection_id":218381,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:16:29] local.INFO: Acknowledgment sent {"connection_id":218381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:16:32] local.INFO: TCP Data received {"connection_id":218381,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:16:32] local.INFO: Processing buffer {"connection_id":218381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:16:32] local.INFO: Packet analysis {"connection_id":218381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:16:32] local.INFO: Extracted packet for processing {"connection_id":218381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:16:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:16:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":218381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:16:32] local.INFO: GPS data processed {"connection_id":218381,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:16:32] local.INFO: Acknowledgment sent {"connection_id":218381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:16:37] local.INFO: TCP Data received {"connection_id":218381,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:16:37] local.INFO: Processing buffer {"connection_id":218381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:16:37] local.INFO: Packet analysis {"connection_id":218381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:16:37] local.INFO: Extracted packet for processing {"connection_id":218381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 17:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 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-10-16 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 17:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":218381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":218381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":218381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:16:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:16:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":218381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:16:37] local.INFO: GPS data processed {"connection_id":218381,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:16:37] local.INFO: Acknowledgment sent {"connection_id":218381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:17:01] local.INFO: TCP Data received {"connection_id":220112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:17:01] local.INFO: Processing buffer {"connection_id":220112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:17:01] local.INFO: IMEI packet received {"connection_id":220112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":220112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:17:06] local.INFO: TCP Data received {"connection_id":220112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:17:06] local.INFO: Processing buffer {"connection_id":220112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:17:06] local.INFO: IMEI packet received {"connection_id":220112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":220112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:17:07] local.INFO: TCP Data received {"connection_id":220112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:17:07] local.INFO: Processing buffer {"connection_id":220112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:17:07] local.INFO: Packet analysis {"connection_id":220112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:17:07] local.INFO: Extracted packet for processing {"connection_id":220112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 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-10-16 17:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790607360001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083586560,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792151115000,"timestamp_ms":1792151115000,"timestamp_seconds":1792151115,"priority":1,"record_length":96,"hex_timestamp":"000001a14487d4f8"} 
[2026-10-16 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-10-16 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:17: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-10-16 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-10-16 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-10-16 17:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":220112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":220112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":220112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790607360001,"66":12841,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083586560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790607360001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:17:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083586560,"description":"Unknown IO ID 45"} 
[2026-10-16 17:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790607360001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083586560}} 
[2026-10-16 17:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":220112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":797,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:17:07] local.INFO: GPS data processed {"connection_id":220112,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:17:07] local.INFO: Acknowledgment sent {"connection_id":220112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:17:16] local.INFO: TCP Data received {"connection_id":217051,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:17:16] local.INFO: Processing buffer {"connection_id":217051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:17:16] local.INFO: IMEI packet received {"connection_id":217051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":217051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:17:21] local.INFO: TCP Data received {"connection_id":217051,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:17:21] local.INFO: Processing buffer {"connection_id":217051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:17:21] local.INFO: IMEI packet received {"connection_id":217051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":217051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:17:22] local.INFO: TCP Data received {"connection_id":217051,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:17:22] local.INFO: Processing buffer {"connection_id":217051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:17:22] local.INFO: Packet analysis {"connection_id":217051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:17:22] local.INFO: Extracted packet for processing {"connection_id":217051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:17:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:17:22] 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-10-16 17:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:17:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:17:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":217051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:17:22] local.INFO: GPS data processed {"connection_id":217051,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:17:22] local.INFO: Acknowledgment sent {"connection_id":217051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:17:38] local.INFO: TCP Data received {"connection_id":220112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:17:38] local.INFO: Processing buffer {"connection_id":220112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:17:38] local.INFO: Packet analysis {"connection_id":220112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:17:38] local.INFO: Extracted packet for processing {"connection_id":220112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:17:38] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 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-10-16 17:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790607360001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083586560,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792151115000,"timestamp_ms":1792151115000,"timestamp_seconds":1792151115,"priority":1,"record_length":96,"hex_timestamp":"000001a14487d4f8"} 
[2026-10-16 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-10-16 17:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:17: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-10-16 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-10-16 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-10-16 17:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":220112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":220112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":220112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790607360001,"66":12841,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083586560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790607360001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:17:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083586560,"description":"Unknown IO ID 45"} 
[2026-10-16 17:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790607360001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083586560}} 
[2026-10-16 17:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":220112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":799,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:17:39] local.INFO: GPS data processed {"connection_id":220112,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:17:39] local.INFO: Acknowledgment sent {"connection_id":220112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:17:54] local.INFO: TCP Data received {"connection_id":217051,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:17:54] local.INFO: Processing buffer {"connection_id":217051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:17:54] local.INFO: Packet analysis {"connection_id":217051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:17:54] local.INFO: Extracted packet for processing {"connection_id":217051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:17:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:17:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":217051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:17:54] local.INFO: GPS data processed {"connection_id":217051,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:17:54] local.INFO: Acknowledgment sent {"connection_id":217051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:18:06] local.INFO: TCP Data received {"connection_id":218382,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:18:06] local.INFO: Processing buffer {"connection_id":218382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:18:06] local.INFO: IMEI packet received {"connection_id":218382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":218382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:18:11] local.INFO: TCP Data received {"connection_id":218382,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:18:11] local.INFO: Processing buffer {"connection_id":218382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:18:11] local.INFO: IMEI packet received {"connection_id":218382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":218382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:18:15] local.INFO: TCP Data received {"connection_id":218383,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:18:15] local.INFO: Processing buffer {"connection_id":218383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:18:15] local.INFO: IMEI packet received {"connection_id":218383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":218383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:18:21] local.INFO: TCP Data received {"connection_id":218383,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:18:21] local.INFO: Processing buffer {"connection_id":218383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:18:21] local.INFO: IMEI packet received {"connection_id":218383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":218383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:18:22] local.INFO: TCP Data received {"connection_id":218382,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:18:22] local.INFO: Processing buffer {"connection_id":218382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:18:22] local.INFO: Packet analysis {"connection_id":218382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:18:22] local.INFO: Extracted packet for processing {"connection_id":218382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:18:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790607360001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083586560,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:22] 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-10-16 17:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151115000,"timestamp_ms":1792151115000,"timestamp_seconds":1792151115,"priority":1,"record_length":96,"hex_timestamp":"000001a14487d4f8"} 
[2026-10-16 17:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:18: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-10-16 17:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790607360001,"66":12841,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083586560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790607360001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:18:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083586560,"description":"Unknown IO ID 45"} 
[2026-10-16 17:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790607360001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083586560}} 
[2026-10-16 17:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":218382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:18:22] local.INFO: GPS data processed {"connection_id":218382,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:18:22] local.INFO: Acknowledgment sent {"connection_id":218382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:18:22] local.INFO: TCP Data received {"connection_id":218383,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:18:22] local.INFO: Processing buffer {"connection_id":218383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:18:22] local.INFO: Packet analysis {"connection_id":218383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:18:22] local.INFO: Extracted packet for processing {"connection_id":218383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:18:22] 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-10-16 17:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:18:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:18:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":218383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:18:22] local.INFO: GPS data processed {"connection_id":218383,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:18:22] local.INFO: Acknowledgment sent {"connection_id":218383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:18:23] local.INFO: TCP Data received {"connection_id":218382,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:18:23] local.INFO: Processing buffer {"connection_id":218382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:18:23] local.INFO: Packet analysis {"connection_id":218382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:18:23] local.INFO: Extracted packet for processing {"connection_id":218382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:18:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790607360001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083586560,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18: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-10-16 17:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792151115000,"timestamp_ms":1792151115000,"timestamp_seconds":1792151115,"priority":1,"record_length":96,"hex_timestamp":"000001a14487d4f8"} 
[2026-10-16 17:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790607360001,"66":12841,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083586560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790607360001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:18:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083586560,"description":"Unknown IO ID 45"} 
[2026-10-16 17:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790607360001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083586560}} 
[2026-10-16 17:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":218382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":803,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:18:23] local.INFO: GPS data processed {"connection_id":218382,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:18:23] local.INFO: Acknowledgment sent {"connection_id":218382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:18:55] local.INFO: TCP Data received {"connection_id":218383,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:18:55] local.INFO: Processing buffer {"connection_id":218383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:18:55] local.INFO: Packet analysis {"connection_id":218383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:18:55] local.INFO: Extracted packet for processing {"connection_id":218383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:18:55] 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-10-16 17:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:18:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:18:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":218383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:18:55] local.INFO: GPS data processed {"connection_id":218383,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:18:55] local.INFO: Acknowledgment sent {"connection_id":218383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:19:01] local.INFO: TCP Data received {"connection_id":217052,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217052,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:19:01] local.INFO: Processing buffer {"connection_id":217052,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:19:01] local.INFO: IMEI packet received {"connection_id":217052,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":217052,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:19:06] local.INFO: TCP Data received {"connection_id":217052,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217052,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:19:06] local.INFO: Processing buffer {"connection_id":217052,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:19:06] local.INFO: IMEI packet received {"connection_id":217052,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":217052,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:19:07] local.INFO: TCP Data received {"connection_id":217052,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:19:07] local.INFO: Processing buffer {"connection_id":217052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:19:07] local.INFO: Packet analysis {"connection_id":217052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:19:07] local.INFO: Extracted packet for processing {"connection_id":217052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790607360001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083586560,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792151115000,"timestamp_ms":1792151115000,"timestamp_seconds":1792151115,"priority":1,"record_length":96,"hex_timestamp":"000001a14487d4f8"} 
[2026-10-16 17:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:19: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-10-16 17: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-10-16 17:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":217052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":217052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":217052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790607360001,"66":12841,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083586560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790607360001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:19:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083586560,"description":"Unknown IO ID 45"} 
[2026-10-16 17:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790607360001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083586560}} 
[2026-10-16 17:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":217052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":805,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:19:07] local.INFO: GPS data processed {"connection_id":217052,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:19:07] local.INFO: Acknowledgment sent {"connection_id":217052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:19:15] local.INFO: TCP Data received {"connection_id":220114,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:19:15] local.INFO: Processing buffer {"connection_id":220114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:19:15] local.INFO: IMEI packet received {"connection_id":220114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":220114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:19:21] local.INFO: TCP Data received {"connection_id":220114,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:19:21] local.INFO: Processing buffer {"connection_id":220114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:19:21] local.INFO: IMEI packet received {"connection_id":220114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":220114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:19:22] local.INFO: TCP Data received {"connection_id":220114,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:19:22] local.INFO: Processing buffer {"connection_id":220114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:19:22] local.INFO: Packet analysis {"connection_id":220114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:19:22] local.INFO: Extracted packet for processing {"connection_id":220114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:19:22] 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-10-16 17:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:19:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:19:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":220114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:19:22] local.INFO: GPS data processed {"connection_id":220114,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:19:22] local.INFO: Acknowledgment sent {"connection_id":220114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:19:38] local.INFO: TCP Data received {"connection_id":217052,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:19:38] local.INFO: Processing buffer {"connection_id":217052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14487d4f8012d0b13000702a140000f00721e..."} 
[2026-10-16 17:19:38] local.INFO: Packet analysis {"connection_id":217052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:19:38] local.INFO: Extracted packet for processing {"connection_id":217052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:19:38] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 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-10-16 17:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790607360001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083586560,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792151115000,"timestamp_ms":1792151115000,"timestamp_seconds":1792151115,"priority":1,"record_length":96,"hex_timestamp":"000001a14487d4f8"} 
[2026-10-16 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-10-16 17:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:19: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-10-16 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-10-16 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-10-16 17:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790607360001,"66":12841,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083586560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790607360001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:19:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083586560,"description":"Unknown IO ID 45"} 
[2026-10-16 17:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790607360001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083586560}} 
[2026-10-16 17:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":217052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:19:38] local.INFO: GPS data processed {"connection_id":217052,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:19:38] local.INFO: Acknowledgment sent {"connection_id":217052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:19:54] local.INFO: TCP Data received {"connection_id":220114,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:19:54] local.INFO: Processing buffer {"connection_id":220114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:19:54] local.INFO: Packet analysis {"connection_id":220114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:19:54] local.INFO: Extracted packet for processing {"connection_id":220114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:19:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:19:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":220114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:19:54] local.INFO: GPS data processed {"connection_id":220114,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:19:54] local.INFO: Acknowledgment sent {"connection_id":220114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:20:21] local.INFO: TCP Data received {"connection_id":220115,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:20:21] local.INFO: Processing buffer {"connection_id":220115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:20:21] local.INFO: IMEI packet received {"connection_id":220115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":220115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:20:26] local.INFO: TCP Data received {"connection_id":220115,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:20:26] local.INFO: Processing buffer {"connection_id":220115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:20:26] local.INFO: IMEI packet received {"connection_id":220115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":220115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:20:27] local.INFO: TCP Data received {"connection_id":220115,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:20:27] local.INFO: Processing buffer {"connection_id":220115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:20:27] local.INFO: Packet analysis {"connection_id":220115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:20:27] local.INFO: Extracted packet for processing {"connection_id":220115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:20:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:20:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":220115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:20:27] local.INFO: GPS data processed {"connection_id":220115,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:20:27] local.INFO: Acknowledgment sent {"connection_id":220115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:20:31] local.INFO: TCP Data received {"connection_id":220115,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:20:31] local.INFO: Processing buffer {"connection_id":220115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144879678012d7fb08005afe5a0000000242b..."} 
[2026-10-16 17:20:31] local.INFO: Packet analysis {"connection_id":220115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:20:31] local.INFO: Extracted packet for processing {"connection_id":220115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14487"} 
[2026-10-16 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790604288001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792151099000,"timestamp_ms":1792151099000,"timestamp_seconds":1792151099,"priority":1,"record_length":96,"hex_timestamp":"000001a144879678"} 
[2026-10-16 17:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-10-16 17:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":220115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":220115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":220115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790604288001,"66":25734,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790604288001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:20:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790604288001,"power":25734,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":220115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:20:32] local.INFO: GPS data processed {"connection_id":220115,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:20:32] local.INFO: Acknowledgment sent {"connection_id":220115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:20:40] local.INFO: TCP Data received {"connection_id":218385,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:20:40] local.INFO: Processing buffer {"connection_id":218385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:20:40] local.INFO: IMEI packet received {"connection_id":218385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":218385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:20:41] local.INFO: TCP Data received {"connection_id":218385,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:20:41] local.INFO: Processing buffer {"connection_id":218385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:20:41] local.INFO: IMEI packet received {"connection_id":218385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":218385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:21:15] local.INFO: TCP Data received {"connection_id":217053,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:21:15] local.INFO: Processing buffer {"connection_id":217053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:21:15] local.INFO: IMEI packet received {"connection_id":217053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":217053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:21:15] local.INFO: TCP Data received {"connection_id":216819,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:21:15] local.INFO: Processing buffer {"connection_id":216819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:21:15] local.INFO: IMEI packet received {"connection_id":216819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":216819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:21:21] local.INFO: TCP Data received {"connection_id":217053,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:21:21] local.INFO: Processing buffer {"connection_id":217053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:21:21] local.INFO: IMEI packet received {"connection_id":217053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":217053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:21:22] local.INFO: TCP Data received {"connection_id":217053,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:21:22] local.INFO: Processing buffer {"connection_id":217053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:21:22] local.INFO: Packet analysis {"connection_id":217053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:21:22] local.INFO: Extracted packet for processing {"connection_id":217053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:21:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":39,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790681344001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151400000,"timestamp_ms":1792151400000,"timestamp_seconds":1792151400,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c2e40"} 
[2026-10-16 17:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 17:21:22] 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-10-16 17:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790681344001,"66":25712,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790681344001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:21:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:21:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790681344001,"power":25712,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":217053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:21:22] local.INFO: GPS data processed {"connection_id":217053,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:21:22] local.INFO: Acknowledgment sent {"connection_id":217053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:21:24] local.INFO: TCP Data received {"connection_id":218385,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:21:24] local.INFO: Processing buffer {"connection_id":218385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:21:24] local.INFO: Packet analysis {"connection_id":218385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:21:24] local.INFO: Extracted packet for processing {"connection_id":218385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:21:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790685440001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792151416000,"timestamp_ms":1792151416000,"timestamp_seconds":1792151416,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c6cc0"} 
[2026-10-16 17:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 17:21:24] 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-10-16 17:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":218385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":218385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":218385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790685440001,"66":12819,"178":206,"94":10240,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-10-16 17:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790685440001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:21:24] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-10-16 17:21:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 17:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790685440001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":218385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":812,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:21:24] local.INFO: GPS data processed {"connection_id":218385,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:21:24] local.INFO: Acknowledgment sent {"connection_id":218385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:21:36] local.INFO: TCP Data received {"connection_id":218386,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:21:36] local.INFO: Processing buffer {"connection_id":218386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:21:36] local.INFO: IMEI packet received {"connection_id":218386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":218386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:21:41] local.INFO: TCP Data received {"connection_id":218386,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:21:41] local.INFO: Processing buffer {"connection_id":218386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:21:41] local.INFO: IMEI packet received {"connection_id":218386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":218386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:21:46] local.INFO: TCP Data received {"connection_id":218386,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:21:46] local.INFO: Processing buffer {"connection_id":218386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:21:46] local.INFO: Packet analysis {"connection_id":218386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:21:46] local.INFO: Extracted packet for processing {"connection_id":218386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:21:46] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790685440001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792151416000,"timestamp_ms":1792151416000,"timestamp_seconds":1792151416,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c6cc0"} 
[2026-10-16 17:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 17:21:46] 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-10-16 17:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790685440001,"66":12819,"178":206,"94":10240,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-10-16 17:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790685440001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:21:46] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-10-16 17:21:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 17:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790685440001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":218386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:21:46] local.INFO: GPS data processed {"connection_id":218386,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:21:46] local.INFO: Acknowledgment sent {"connection_id":218386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:21:50] local.INFO: TCP Data received {"connection_id":220116,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:21:50] local.INFO: Processing buffer {"connection_id":220116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:21:50] local.INFO: IMEI packet received {"connection_id":220116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":220116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:21:53] local.INFO: TCP Data received {"connection_id":217053,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:21:53] local.INFO: Processing buffer {"connection_id":217053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:21:53] local.INFO: Packet analysis {"connection_id":217053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:21:53] local.INFO: Extracted packet for processing {"connection_id":217053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:21:53] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":39,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790681344001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792151400000,"timestamp_ms":1792151400000,"timestamp_seconds":1792151400,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c2e40"} 
[2026-10-16 17:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 17:21:53] 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-10-16 17:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":217053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":217053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":217053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790681344001,"66":25712,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790681344001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:21:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:21:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790681344001,"power":25712,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":217053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:21:53] local.INFO: GPS data processed {"connection_id":217053,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:21:53] local.INFO: Acknowledgment sent {"connection_id":217053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:22:08] local.INFO: TCP Data received {"connection_id":217054,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217054,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:22:08] local.INFO: Processing buffer {"connection_id":217054,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:22:08] local.INFO: IMEI packet received {"connection_id":217054,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":217054,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:22:11] local.INFO: TCP Data received {"connection_id":217054,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217054,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:22:11] local.INFO: Processing buffer {"connection_id":217054,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:22:11] local.INFO: IMEI packet received {"connection_id":217054,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":217054,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:22:12] local.INFO: TCP Data received {"connection_id":217054,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:22:12] local.INFO: Processing buffer {"connection_id":217054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:22:12] local.INFO: Packet analysis {"connection_id":217054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:22:12] local.INFO: Extracted packet for processing {"connection_id":217054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:22:12] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790685440001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1792151416000,"timestamp_ms":1792151416000,"timestamp_seconds":1792151416,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c6cc0"} 
[2026-10-16 17:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 17:22:12] 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-10-16 17: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-10-16 17:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":217054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":217054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":217054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790685440001,"66":12819,"178":206,"94":10240,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-10-16 17:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790685440001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:22:12] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-10-16 17:22:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 17:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790685440001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":217054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:22:12] local.INFO: GPS data processed {"connection_id":217054,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:22:12] local.INFO: Acknowledgment sent {"connection_id":217054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:22:15] local.INFO: TCP Data received {"connection_id":216820,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:22:15] local.INFO: Processing buffer {"connection_id":216820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:22:15] local.INFO: IMEI packet received {"connection_id":216820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":216820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:22:21] local.INFO: TCP Data received {"connection_id":216820,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:22:21] local.INFO: Processing buffer {"connection_id":216820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:22:21] local.INFO: IMEI packet received {"connection_id":216820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":216820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:22:22] local.INFO: TCP Data received {"connection_id":216820,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:22:22] local.INFO: Processing buffer {"connection_id":216820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:22:22] local.INFO: Packet analysis {"connection_id":216820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:22:22] local.INFO: Extracted packet for processing {"connection_id":216820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:22:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":39,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790681344001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151400000,"timestamp_ms":1792151400000,"timestamp_seconds":1792151400,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c2e40"} 
[2026-10-16 17:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 17:22:22] 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-10-16 17: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-10-16 17:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790681344001,"66":25712,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790681344001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:22:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:22:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790681344001,"power":25712,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":216820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:22:22] local.INFO: GPS data processed {"connection_id":216820,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:22:22] local.INFO: Acknowledgment sent {"connection_id":216820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:22:52] local.INFO: TCP Data received {"connection_id":217054,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:22:52] local.INFO: Processing buffer {"connection_id":217054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c6cc0012d0b13000702a140000f007220..."} 
[2026-10-16 17:22:52] local.INFO: Packet analysis {"connection_id":217054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:22:52] local.INFO: Extracted packet for processing {"connection_id":217054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:22:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":15,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790685440001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792151416000,"timestamp_ms":1792151416000,"timestamp_seconds":1792151416,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c6cc0"} 
[2026-10-16 17:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 17:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":217054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":217054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":217054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790685440001,"66":12819,"178":206,"94":10240,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-10-16 17:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790685440001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:22:52] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-10-16 17:22:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-10-16 17:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790685440001,"power":12819,"unknown_178":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":217054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:22:52] local.INFO: GPS data processed {"connection_id":217054,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:22:52] local.INFO: Acknowledgment sent {"connection_id":217054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:22:54] local.INFO: TCP Data received {"connection_id":216820,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:22:54] local.INFO: Processing buffer {"connection_id":216820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:22:54] local.INFO: Packet analysis {"connection_id":216820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:22:54] local.INFO: Extracted packet for processing {"connection_id":216820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":39,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790681344001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792151400000,"timestamp_ms":1792151400000,"timestamp_seconds":1792151400,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c2e40"} 
[2026-10-16 17:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 17:22:54] 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-10-16 17:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790681344001,"66":25712,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790681344001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:22:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:22:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790681344001,"power":25712,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":216820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:22:54] local.INFO: GPS data processed {"connection_id":216820,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:22:54] local.INFO: Acknowledgment sent {"connection_id":216820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:23:21] local.INFO: TCP Data received {"connection_id":220117,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:23:21] local.INFO: Processing buffer {"connection_id":220117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:23:21] local.INFO: IMEI packet received {"connection_id":220117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":220117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:23:26] local.INFO: TCP Data received {"connection_id":220117,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:23:26] local.INFO: Processing buffer {"connection_id":220117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:23:26] local.INFO: IMEI packet received {"connection_id":220117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":220117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:23:27] local.INFO: TCP Data received {"connection_id":220117,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:23:27] local.INFO: Processing buffer {"connection_id":220117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:23:27] local.INFO: Packet analysis {"connection_id":220117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:23:27] local.INFO: Extracted packet for processing {"connection_id":220117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":39,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790681344001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792151400000,"timestamp_ms":1792151400000,"timestamp_seconds":1792151400,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c2e40"} 
[2026-10-16 17:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 17:23:27] 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-10-16 17:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790681344001,"66":25712,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790681344001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:23:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:23:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790681344001,"power":25712,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":220117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:23:27] local.INFO: GPS data processed {"connection_id":220117,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:23:27] local.INFO: Acknowledgment sent {"connection_id":220117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:23:32] local.INFO: TCP Data received {"connection_id":220117,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:23:32] local.INFO: Processing buffer {"connection_id":220117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:23:32] local.INFO: Packet analysis {"connection_id":220117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:23:32] local.INFO: Extracted packet for processing {"connection_id":220117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":39,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790681344001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792151400000,"timestamp_ms":1792151400000,"timestamp_seconds":1792151400,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c2e40"} 
[2026-10-16 17:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 17:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":220117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":220117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":220117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790681344001,"66":25712,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790681344001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:23:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790681344001,"power":25712,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":220117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:23:32] local.INFO: GPS data processed {"connection_id":220117,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:23:32] local.INFO: Acknowledgment sent {"connection_id":220117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:24:15] local.INFO: TCP Data received {"connection_id":218389,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:24:15] local.INFO: Processing buffer {"connection_id":218389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:24:15] local.INFO: IMEI packet received {"connection_id":218389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":218389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:24:21] local.INFO: TCP Data received {"connection_id":218389,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:24:21] local.INFO: Processing buffer {"connection_id":218389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:24:21] local.INFO: IMEI packet received {"connection_id":218389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":218389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:24:22] local.INFO: TCP Data received {"connection_id":218389,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:24:22] local.INFO: Processing buffer {"connection_id":218389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:24:22] local.INFO: Packet analysis {"connection_id":218389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:24:22] local.INFO: Extracted packet for processing {"connection_id":218389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:24:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":39,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790681344001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151400000,"timestamp_ms":1792151400000,"timestamp_seconds":1792151400,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c2e40"} 
[2026-10-16 17:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 17:24:22] 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-10-16 17:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790681344001,"66":25712,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790681344001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:24:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:24:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790681344001,"power":25712,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":218389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:24:22] local.INFO: GPS data processed {"connection_id":218389,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:24:22] local.INFO: Acknowledgment sent {"connection_id":218389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:24:42] local.INFO: TCP Data received {"connection_id":220118,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220118,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:24:42] local.INFO: Processing buffer {"connection_id":220118,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:24:42] local.INFO: IMEI packet received {"connection_id":220118,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":220118,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:24:54] local.INFO: TCP Data received {"connection_id":218389,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:24:54] local.INFO: Processing buffer {"connection_id":218389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:24:54] local.INFO: Packet analysis {"connection_id":218389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:24:54] local.INFO: Extracted packet for processing {"connection_id":218389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":39,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790681344001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792151400000,"timestamp_ms":1792151400000,"timestamp_seconds":1792151400,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c2e40"} 
[2026-10-16 17:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 17:24:54] 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-10-16 17: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-10-16 17:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790681344001,"66":25712,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790681344001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:24:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:24:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790681344001,"power":25712,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":218389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:24:54] local.INFO: GPS data processed {"connection_id":218389,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:24:54] local.INFO: Acknowledgment sent {"connection_id":218389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:25:01] local.INFO: TCP Data received {"connection_id":216822,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:25:01] local.INFO: Processing buffer {"connection_id":216822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:25:01] local.INFO: IMEI packet received {"connection_id":216822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":216822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:25:06] local.INFO: TCP Data received {"connection_id":216822,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:25:06] local.INFO: Processing buffer {"connection_id":216822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:25:06] local.INFO: IMEI packet received {"connection_id":216822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":216822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:25:15] local.INFO: TCP Data received {"connection_id":217055,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:25:15] local.INFO: Processing buffer {"connection_id":217055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:25:15] local.INFO: IMEI packet received {"connection_id":217055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":217055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:25:21] local.INFO: TCP Data received {"connection_id":217055,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:25:21] local.INFO: Processing buffer {"connection_id":217055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:25:21] local.INFO: IMEI packet received {"connection_id":217055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":217055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:25:22] local.INFO: TCP Data received {"connection_id":217055,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:25:22] local.INFO: Processing buffer {"connection_id":217055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1448c2e40012d7fb08005afe5a00000002427..."} 
[2026-10-16 17:25:22] local.INFO: Packet analysis {"connection_id":217055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:25:22] local.INFO: Extracted packet for processing {"connection_id":217055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1448c"} 
[2026-10-16 17:25:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":39,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790681344001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151400000,"timestamp_ms":1792151400000,"timestamp_seconds":1792151400,"priority":1,"record_length":96,"hex_timestamp":"000001a1448c2e40"} 
[2026-10-16 17:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-10-16 17:25:22] 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-10-16 17:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790681344001,"66":25712,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790681344001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:25:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:25:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790681344001,"power":25712,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":217055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:25:22] local.INFO: GPS data processed {"connection_id":217055,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:25:22] local.INFO: Acknowledgment sent {"connection_id":217055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:25:23] local.INFO: TCP Data received {"connection_id":216822,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:25:23] local.INFO: Processing buffer {"connection_id":216822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:25:23] local.INFO: Packet analysis {"connection_id":216822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:25:23] local.INFO: Extracted packet for processing {"connection_id":216822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:25:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25: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-10-16 17:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 17:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:25:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 17:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:25:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":216822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:25:23] local.INFO: GPS data processed {"connection_id":216822,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:25:23] local.INFO: Acknowledgment sent {"connection_id":216822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:25:54] local.INFO: TCP Data received {"connection_id":217055,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:25:54] local.INFO: Processing buffer {"connection_id":217055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:25:54] local.INFO: Packet analysis {"connection_id":217055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:25:54] local.INFO: Extracted packet for processing {"connection_id":217055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790758400001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792151701000,"timestamp_ms":1792151701000,"timestamp_seconds":1792151701,"priority":1,"record_length":96,"hex_timestamp":"000001a14490c608"} 
[2026-10-16 17:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-16 17:25:54] 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-10-16 17: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-10-16 17:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790758400001,"66":25702,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790758400001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:25:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:25:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790758400001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":217055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:25:54] local.INFO: GPS data processed {"connection_id":217055,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:25:54] local.INFO: Acknowledgment sent {"connection_id":217055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:26:01] local.INFO: TCP Data received {"connection_id":220119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220119,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:26:01] local.INFO: Processing buffer {"connection_id":220119,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:26:01] local.INFO: IMEI packet received {"connection_id":220119,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":220119,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:26:06] local.INFO: TCP Data received {"connection_id":220119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220119,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:26:06] local.INFO: Processing buffer {"connection_id":220119,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:26:06] local.INFO: IMEI packet received {"connection_id":220119,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":220119,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:26:21] local.INFO: TCP Data received {"connection_id":216823,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:26:21] local.INFO: Processing buffer {"connection_id":216823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:26:21] local.INFO: IMEI packet received {"connection_id":216823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":216823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:26:26] local.INFO: TCP Data received {"connection_id":216823,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:26:26] local.INFO: Processing buffer {"connection_id":216823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:26:26] local.INFO: IMEI packet received {"connection_id":216823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":216823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:26:27] local.INFO: TCP Data received {"connection_id":216823,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:26:27] local.INFO: Processing buffer {"connection_id":216823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:26:27] local.INFO: Packet analysis {"connection_id":216823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:26:27] local.INFO: Extracted packet for processing {"connection_id":216823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790758400001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792151701000,"timestamp_ms":1792151701000,"timestamp_seconds":1792151701,"priority":1,"record_length":96,"hex_timestamp":"000001a14490c608"} 
[2026-10-16 17:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-16 17:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790758400001,"66":25702,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790758400001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:26:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:26:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790758400001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":216823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:26:27] local.INFO: GPS data processed {"connection_id":216823,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:26:27] local.INFO: Acknowledgment sent {"connection_id":216823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:26:32] local.INFO: TCP Data received {"connection_id":216823,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:26:32] local.INFO: Processing buffer {"connection_id":216823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:26:32] local.INFO: Packet analysis {"connection_id":216823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:26:32] local.INFO: Extracted packet for processing {"connection_id":216823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790758400001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792151701000,"timestamp_ms":1792151701000,"timestamp_seconds":1792151701,"priority":1,"record_length":96,"hex_timestamp":"000001a14490c608"} 
[2026-10-16 17:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-16 17:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790758400001,"66":25702,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790758400001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790758400001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":216823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:26:32] local.INFO: GPS data processed {"connection_id":216823,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:26:32] local.INFO: Acknowledgment sent {"connection_id":216823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:26:44] local.INFO: TCP Data received {"connection_id":220119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220119,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:26:44] local.INFO: Processing buffer {"connection_id":220119,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:26:44] local.INFO: IMEI packet received {"connection_id":220119,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":220119,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:26:45] local.INFO: TCP Data received {"connection_id":220119,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:26:45] local.INFO: Processing buffer {"connection_id":220119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:26:45] local.INFO: Packet analysis {"connection_id":220119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:26:45] local.INFO: Extracted packet for processing {"connection_id":220119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] 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-10-16 17:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 17:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:26:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 17:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":220119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":220119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":220119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:26:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":220119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":828,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:26:45] local.INFO: GPS data processed {"connection_id":220119,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:26:45] local.INFO: Acknowledgment sent {"connection_id":220119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:26:45] local.INFO: TCP Data received {"connection_id":220119,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:26:45] local.INFO: Processing buffer {"connection_id":220119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:26:45] local.INFO: Packet analysis {"connection_id":220119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:26:45] local.INFO: Extracted packet for processing {"connection_id":220119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] 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-10-16 17:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 17:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:26:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:26:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 17:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":220119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":220119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":220119,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:26:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":220119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:26:46] local.INFO: GPS data processed {"connection_id":220119,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:26:46] local.INFO: Acknowledgment sent {"connection_id":220119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:27:01] local.INFO: TCP Data received {"connection_id":216824,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216824,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:27:01] local.INFO: Processing buffer {"connection_id":216824,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:27:01] local.INFO: IMEI packet received {"connection_id":216824,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":216824,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:27:06] local.INFO: TCP Data received {"connection_id":216824,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216824,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:27:06] local.INFO: Processing buffer {"connection_id":216824,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:27:06] local.INFO: IMEI packet received {"connection_id":216824,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":216824,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:27:15] local.INFO: TCP Data received {"connection_id":216824,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:27:15] local.INFO: Processing buffer {"connection_id":216824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:27:15] local.INFO: Packet analysis {"connection_id":216824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:27:15] local.INFO: Extracted packet for processing {"connection_id":216824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:27:15] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27: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-10-16 17:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 17:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:27:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 17:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:27:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":216824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":830,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:27:15] local.INFO: GPS data processed {"connection_id":216824,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:27:15] local.INFO: Acknowledgment sent {"connection_id":216824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:27:16] local.INFO: TCP Data received {"connection_id":217056,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:27:16] local.INFO: Processing buffer {"connection_id":217056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:27:16] local.INFO: IMEI packet received {"connection_id":217056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":217056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:27:21] local.INFO: TCP Data received {"connection_id":217056,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:27:21] local.INFO: Processing buffer {"connection_id":217056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:27:21] local.INFO: IMEI packet received {"connection_id":217056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":217056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:27:22] local.INFO: TCP Data received {"connection_id":217056,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:27:22] local.INFO: Processing buffer {"connection_id":217056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:27:22] local.INFO: Packet analysis {"connection_id":217056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:27:22] local.INFO: Extracted packet for processing {"connection_id":217056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:27:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790758400001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151701000,"timestamp_ms":1792151701000,"timestamp_seconds":1792151701,"priority":1,"record_length":96,"hex_timestamp":"000001a14490c608"} 
[2026-10-16 17:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-16 17:27:22] 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-10-16 17: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-10-16 17:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790758400001,"66":25702,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790758400001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:27:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:27:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790758400001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":217056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:27:22] local.INFO: GPS data processed {"connection_id":217056,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:27:22] local.INFO: Acknowledgment sent {"connection_id":217056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:27:23] local.INFO: TCP Data received {"connection_id":220121,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:27:23] local.INFO: Processing buffer {"connection_id":220121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:27:23] local.INFO: IMEI packet received {"connection_id":220121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":220121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:27:49] local.INFO: TCP Data received {"connection_id":218390,"ip":"35.203.210.229","data_length":1483,"data_hex":"16030105c6010005c20303b13b236fedd0122b0e4604156997017d81f47a5b96..."} 
[2026-10-16 17:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218390,"packet_length":1483,"packet_hex":"16030105c6010005c20303b13b236fedd0122b0e4604156997017d81f47a5b96..."} 
[2026-10-16 17:27:49] local.INFO: Processing buffer {"connection_id":218390,"buffer_length":1483,"buffer_hex":"16030105c6010005c20303b13b236fedd0122b0e4604156997017d81f47a5b96..."} 
[2026-10-16 17:27:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":218390,"buffer_length":1483,"first_bytes_hex":"16030105c6010005c20303b13b236fed"} 
[2026-10-16 17:27:49] local.INFO: TCP Data received {"connection_id":217057,"ip":"35.203.210.229","data_length":207,"data_hex":"16030100ca010000c60303aac1cbefc6cbf24a49e75aa224e9e72c4cc6856017..."} 
[2026-10-16 17:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217057,"packet_length":207,"packet_hex":"16030100ca010000c60303aac1cbefc6cbf24a49e75aa224e9e72c4cc6856017..."} 
[2026-10-16 17:27:49] local.INFO: Processing buffer {"connection_id":217057,"buffer_length":207,"buffer_hex":"16030100ca010000c60303aac1cbefc6cbf24a49e75aa224e9e72c4cc6856017..."} 
[2026-10-16 17:27:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":217057,"buffer_length":207,"first_bytes_hex":"16030100ca010000c60303aac1cbefc6"} 
[2026-10-16 17:27:50] local.INFO: TCP Data received {"connection_id":217057,"ip":"35.203.210.229","data_length":7,"data_hex":"1503010002020a..."} 
[2026-10-16 17:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217057,"packet_length":7,"packet_hex":"1503010002020a..."} 
[2026-10-16 17:27:50] local.INFO: Processing buffer {"connection_id":217057,"buffer_length":7,"buffer_hex":"1503010002020a..."} 
[2026-10-16 17:27:54] local.INFO: TCP Data received {"connection_id":217056,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:27:54] local.INFO: Processing buffer {"connection_id":217056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:27:54] local.INFO: Packet analysis {"connection_id":217056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:27:54] local.INFO: Extracted packet for processing {"connection_id":217056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790758400001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792151701000,"timestamp_ms":1792151701000,"timestamp_seconds":1792151701,"priority":1,"record_length":96,"hex_timestamp":"000001a14490c608"} 
[2026-10-16 17:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-16 17:27:54] 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-10-16 17:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790758400001,"66":25702,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790758400001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:27:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:27:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790758400001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":217056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:27:54] local.INFO: GPS data processed {"connection_id":217056,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:27:54] local.INFO: Acknowledgment sent {"connection_id":217056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:27:55] local.INFO: TCP Data received {"connection_id":216824,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:27:55] local.INFO: Processing buffer {"connection_id":216824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:27:55] local.INFO: Packet analysis {"connection_id":216824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:27:55] local.INFO: Extracted packet for processing {"connection_id":216824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:27:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] 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-10-16 17:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 17:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:27:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:27:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 17:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:27:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":216824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:27:55] local.INFO: GPS data processed {"connection_id":216824,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:27:55] local.INFO: Acknowledgment sent {"connection_id":216824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:27:55] local.INFO: TCP Data received {"connection_id":218391,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:27:55] local.INFO: Processing buffer {"connection_id":218391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:27:55] local.INFO: IMEI packet received {"connection_id":218391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":218391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:28:07] local.INFO: TCP Data received {"connection_id":220122,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220122,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:28:07] local.INFO: Processing buffer {"connection_id":220122,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:28:07] local.INFO: IMEI packet received {"connection_id":220122,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":220122,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:28:13] local.INFO: TCP Data received {"connection_id":220122,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220122,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:28:13] local.INFO: Processing buffer {"connection_id":220122,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:28:13] local.INFO: IMEI packet received {"connection_id":220122,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":220122,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:28:13] local.INFO: TCP Data received {"connection_id":220122,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:28:13] local.INFO: Processing buffer {"connection_id":220122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:28:13] local.INFO: Packet analysis {"connection_id":220122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:28:13] local.INFO: Extracted packet for processing {"connection_id":220122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:28:13] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 17:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:13] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:28:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 17:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":220122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":220122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":220122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:28:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":220122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:28:13] local.INFO: GPS data processed {"connection_id":220122,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:28:13] local.INFO: Acknowledgment sent {"connection_id":220122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:28:15] local.INFO: TCP Data received {"connection_id":220123,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:28:15] local.INFO: Processing buffer {"connection_id":220123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:28:15] local.INFO: IMEI packet received {"connection_id":220123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":220123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:28:21] local.INFO: TCP Data received {"connection_id":220123,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:28:21] local.INFO: Processing buffer {"connection_id":220123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:28:21] local.INFO: IMEI packet received {"connection_id":220123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":220123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:28:22] local.INFO: TCP Data received {"connection_id":220123,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:28:22] local.INFO: Processing buffer {"connection_id":220123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14490c608012d7fb08005afe5a0000000242a..."} 
[2026-10-16 17:28:22] local.INFO: Packet analysis {"connection_id":220123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:28:22] local.INFO: Extracted packet for processing {"connection_id":220123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14490"} 
[2026-10-16 17:28:22] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790758400001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151701000,"timestamp_ms":1792151701000,"timestamp_seconds":1792151701,"priority":1,"record_length":96,"hex_timestamp":"000001a14490c608"} 
[2026-10-16 17:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-10-16 17:28:22] 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-10-16 17:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790758400001,"66":25702,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790758400001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:28:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:28:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790758400001,"power":25702,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":220123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:28:22] local.INFO: GPS data processed {"connection_id":220123,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:28:22] local.INFO: Acknowledgment sent {"connection_id":220123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:28:45] local.INFO: TCP Data received {"connection_id":220122,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:28:45] local.INFO: Processing buffer {"connection_id":220122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:28:45] local.INFO: Packet analysis {"connection_id":220122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:28:45] local.INFO: Extracted packet for processing {"connection_id":220122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:28:45] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] 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-10-16 17:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 17:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:28:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 17:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":220122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":220122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":220122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:28:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":220122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":836,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:28:45] local.INFO: GPS data processed {"connection_id":220122,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:28:45] local.INFO: Acknowledgment sent {"connection_id":220122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:28:54] local.INFO: TCP Data received {"connection_id":220123,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144938140012d7fb08005afe5a00000002423..."} 
[2026-10-16 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144938140012d7fb08005afe5a00000002423..."} 
[2026-10-16 17:28:54] local.INFO: Processing buffer {"connection_id":220123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144938140012d7fb08005afe5a00000002423..."} 
[2026-10-16 17:28:54] local.INFO: Packet analysis {"connection_id":220123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14493"} 
[2026-10-16 17:28:54] local.INFO: Extracted packet for processing {"connection_id":220123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14493"} 
[2026-10-16 17:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763342976,"raw_latitude":95413664,"longitude_deg":76.3342976,"latitude_deg":9.5413664,"altitude":0,"angle":36,"satellites":35,"speed":0,"hex_longitude":"2d7fb080","hex_latitude":"05afe5a0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790835456001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792151880000,"timestamp_ms":1792151880000,"timestamp_seconds":1792151880,"priority":1,"record_length":96,"hex_timestamp":"000001a144938140"} 
[2026-10-16 17:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-10-16 17:28:54] 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-10-16 17: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-10-16 17:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790835456001,"66":25680,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790835456001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:28:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:28:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790835456001,"power":25680,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":220123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:28:54] local.INFO: GPS data processed {"connection_id":220123,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:28:54] local.INFO: Acknowledgment sent {"connection_id":220123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:29:11] local.INFO: TCP Data received {"connection_id":220125,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:29:11] local.INFO: Processing buffer {"connection_id":220125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:29:11] local.INFO: IMEI packet received {"connection_id":220125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":220125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:29:19] local.INFO: TCP Data received {"connection_id":220125,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:29:19] local.INFO: Processing buffer {"connection_id":220125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:29:19] local.INFO: IMEI packet received {"connection_id":220125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":220125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:29:29] local.INFO: TCP Data received {"connection_id":216825,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:29] local.INFO: Processing buffer {"connection_id":216825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:29] local.INFO: IMEI packet received {"connection_id":216825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":216825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:29:30] local.INFO: TCP Data received {"connection_id":216825,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:30] local.INFO: Processing buffer {"connection_id":216825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:30] local.INFO: IMEI packet received {"connection_id":216825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":216825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:29:31] local.INFO: TCP Data received {"connection_id":216825,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:31] local.INFO: Processing buffer {"connection_id":216825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:31] local.INFO: IMEI packet received {"connection_id":216825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":216825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:29:33] local.INFO: TCP Data received {"connection_id":216825,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:33] local.INFO: Processing buffer {"connection_id":216825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:29:33] local.INFO: IMEI packet received {"connection_id":216825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":216825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:29:34] local.INFO: TCP Data received {"connection_id":216825,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144938cf8012d7fab0005afe6f00000000b23..."} 
[2026-10-16 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144938cf8012d7fab0005afe6f00000000b23..."} 
[2026-10-16 17:29:34] local.INFO: Processing buffer {"connection_id":216825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144938cf8012d7fab0005afe6f00000000b23..."} 
[2026-10-16 17:29:34] local.INFO: Packet analysis {"connection_id":216825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14493"} 
[2026-10-16 17:29:34] local.INFO: Extracted packet for processing {"connection_id":216825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14493"} 
[2026-10-16 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95414000,"longitude_deg":76.3341568,"latitude_deg":9.5414,"altitude":0,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d7fab00","hex_latitude":"05afe6f0","is_valid_coordinates":true} 
[2026-10-16 17:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790881280001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205494192865280,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200994800632176640,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792151883000,"timestamp_ms":1792151883000,"timestamp_seconds":1792151883,"priority":1,"record_length":96,"hex_timestamp":"000001a144938cf8"} 
[2026-10-16 17:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-10-16 17:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790881280001,"66":21364,"236":206,"19":45568,"24":0,"16":15205494192865280,"45":9200994800632176640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790881280001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:29:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:29:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205494192865280,"km_value":15205494192865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200994800632176640,"description":"Unknown IO ID 45"} 
[2026-10-16 17:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790881280001,"power":21364,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9200994800632176640}} 
[2026-10-16 17:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":216825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:29:34] local.INFO: GPS data processed {"connection_id":216825,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:29:34] local.INFO: Acknowledgment sent {"connection_id":216825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:29:40] local.INFO: TCP Data received {"connection_id":220125,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:29:40] local.INFO: Processing buffer {"connection_id":220125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:29:40] local.INFO: Packet analysis {"connection_id":220125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:29:40] local.INFO: Extracted packet for processing {"connection_id":220125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:29:40] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 17:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:29:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 17:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":220125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":220125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":220125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:29:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":220125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:29:40] local.INFO: GPS data processed {"connection_id":220125,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:29:40] local.INFO: Acknowledgment sent {"connection_id":220125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:29:46] local.INFO: TCP Data received {"connection_id":220125,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:29:46] local.INFO: Processing buffer {"connection_id":220125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:29:46] local.INFO: Packet analysis {"connection_id":220125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:29:46] local.INFO: Extracted packet for processing {"connection_id":220125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29: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-10-16 17:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 17:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:29:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:29:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 17:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":220125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":220125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":220125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:29:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":220125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:29:47] local.INFO: GPS data processed {"connection_id":220125,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:29:47] local.INFO: Acknowledgment sent {"connection_id":220125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:30:03] local.INFO: TCP Data received {"connection_id":216827,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:30:03] local.INFO: Processing buffer {"connection_id":216827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:30:03] local.INFO: IMEI packet received {"connection_id":216827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":216827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:30:06] local.INFO: TCP Data received {"connection_id":216827,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:30:06] local.INFO: Processing buffer {"connection_id":216827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:30:06] local.INFO: IMEI packet received {"connection_id":216827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":216827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:30:07] local.INFO: TCP Data received {"connection_id":216827,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:30:07] local.INFO: Processing buffer {"connection_id":216827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:30:07] local.INFO: Packet analysis {"connection_id":216827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:30:07] local.INFO: Extracted packet for processing {"connection_id":216827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:30:07] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 17:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:30:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 17:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":216827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":216827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":216827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:30:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":216827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":841,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:30:07] local.INFO: GPS data processed {"connection_id":216827,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:30:07] local.INFO: Acknowledgment sent {"connection_id":216827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:30:11] local.INFO: TCP Data received {"connection_id":216827,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:30:11] local.INFO: Processing buffer {"connection_id":216827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449100a0012d0b13000702a140000c007222..."} 
[2026-10-16 17:30:11] local.INFO: Packet analysis {"connection_id":216827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:30:11] local.INFO: Extracted packet for processing {"connection_id":216827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14491"} 
[2026-10-16 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 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-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790762496001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792151716000,"timestamp_ms":1792151716000,"timestamp_seconds":1792151716,"priority":1,"record_length":96,"hex_timestamp":"000001a1449100a0"} 
[2026-10-16 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-10-16 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":19,"data_length":795,"current_offset":136} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7000588953,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504157926653952,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-9036155987919432576,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147943073,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189318310385507869,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-1945329247694303650,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84736150665101984,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4505103352463360,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,178,94,24,241,157,16,253,161,212,45,15,30,10,66,17,28,240,92,227,68,2,4,113,205,18,40,239,1,56,36,129,7,55,43,63,69,32,152],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-10-16 17:30:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080989392333438976,"timestamp_seconds":1080989392333439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-10-16 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-10-16 17:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":216827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":216827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":216827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790762496001,"66":12645,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790762496001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:30:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790762496001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":216827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:30:12] local.INFO: GPS data processed {"connection_id":216827,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:30:12] local.INFO: Acknowledgment sent {"connection_id":216827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:30:14] local.INFO: TCP Data received {"connection_id":218392,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:30:14] local.INFO: Processing buffer {"connection_id":218392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:30:14] local.INFO: IMEI packet received {"connection_id":218392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":218392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:30:15] local.INFO: TCP Data received {"connection_id":218392,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:30:15] local.INFO: Processing buffer {"connection_id":218392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:30:15] local.INFO: IMEI packet received {"connection_id":218392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":218392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:30:21] local.INFO: TCP Data received {"connection_id":218392,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:30:21] local.INFO: Processing buffer {"connection_id":218392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:30:21] local.INFO: IMEI packet received {"connection_id":218392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":218392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:30:22] local.INFO: TCP Data received {"connection_id":218392,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144949a80012d7f9d0005afd708000200ca2c..."} 
[2026-10-16 17:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144949a80012d7f9d0005afd708000200ca2c..."} 
[2026-10-16 17:30:22] local.INFO: Processing buffer {"connection_id":218392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144949a80012d7f9d0005afd708000200ca2c..."} 
[2026-10-16 17:30:22] local.INFO: Packet analysis {"connection_id":218392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14494"} 
[2026-10-16 17:30:22] local.INFO: Extracted packet for processing {"connection_id":218392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14494"} 
[2026-10-16 17:30:22] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95409928,"longitude_deg":76.3337984,"latitude_deg":9.5409928,"altitude":2,"angle":202,"satellites":44,"speed":11,"hex_longitude":"2d7f9d00","hex_latitude":"05afd708","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790899456001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205799135543296,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817954816,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792151952000,"timestamp_ms":1792151952000,"timestamp_seconds":1792151952,"priority":1,"record_length":96,"hex_timestamp":"000001a144949a80"} 
[2026-10-16 17:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:30: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-10-16 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 17:30:22] 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-10-16 17: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-10-16 17:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790899456001,"66":27745,"236":206,"19":45568,"24":11,"16":15205799135543296,"45":9195717144817954816},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790899456001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:30:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:30:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205799135543296,"km_value":15205799135543.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817954816,"description":"Unknown IO ID 45"} 
[2026-10-16 17:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790899456001,"power":27745,"unknown_236":206,"unknown_19":45568,"ignition":11,"odometer":null,"unknown_45":9195717144817954816}} 
[2026-10-16 17:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":218392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:30:22] local.INFO: GPS data processed {"connection_id":218392,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:30:22] local.INFO: Acknowledgment sent {"connection_id":218392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:30:43] local.INFO: TCP Data received {"connection_id":216827,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:30:43] local.INFO: Processing buffer {"connection_id":216827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:30:43] local.INFO: Packet analysis {"connection_id":216827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:30:43] local.INFO: Extracted packet for processing {"connection_id":216827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:30:43] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790839296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30: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-10-16 17:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1792152017000,"timestamp_ms":1792152017000,"timestamp_seconds":1792152017,"priority":1,"record_length":96,"hex_timestamp":"000001a144959868"} 
[2026-10-16 17:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 17:30:43] 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-10-16 17: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-10-16 17:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":216827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":216827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":216827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790839296001,"66":12798,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790839296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:30:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790839296001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":216827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:30:43] local.INFO: GPS data processed {"connection_id":216827,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:30:43] local.INFO: Acknowledgment sent {"connection_id":216827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:30:53] local.INFO: TCP Data received {"connection_id":218392,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144949e68012d7f9cc005afd5f0000200bc2c..."} 
[2026-10-16 17:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144949e68012d7f9cc005afd5f0000200bc2c..."} 
[2026-10-16 17:30:53] local.INFO: Processing buffer {"connection_id":218392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144949e68012d7f9cc005afd5f0000200bc2c..."} 
[2026-10-16 17:30:53] local.INFO: Packet analysis {"connection_id":218392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14494"} 
[2026-10-16 17:30:53] local.INFO: Extracted packet for processing {"connection_id":218392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14494"} 
[2026-10-16 17:30:53] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95409648,"longitude_deg":76.333792,"latitude_deg":9.5409648,"altitude":2,"angle":188,"satellites":44,"speed":10,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd5f0","is_valid_coordinates":true} 
[2026-10-16 17:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790899712001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205812020445184,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585362432,"note":"Value kept but may cause issues"} 
[2026-10-16 17:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792151953000,"timestamp_ms":1792151953000,"timestamp_seconds":1792151953,"priority":1,"record_length":96,"hex_timestamp":"000001a144949e68"} 
[2026-10-16 17:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:30: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-10-16 17:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:30: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-10-16 17:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790899712001,"66":27745,"236":206,"19":45568,"24":10,"16":15205812020445184,"45":9195506038585362432},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790899712001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:30:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:30:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205812020445184,"km_value":15205812020445.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585362432,"description":"Unknown IO ID 45"} 
[2026-10-16 17:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790899712001,"power":27745,"unknown_236":206,"unknown_19":45568,"ignition":10,"odometer":null,"unknown_45":9195506038585362432}} 
[2026-10-16 17:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":218392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:30:53] local.INFO: GPS data processed {"connection_id":218392,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:30:53] local.INFO: Acknowledgment sent {"connection_id":218392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:31:01] local.INFO: TCP Data received {"connection_id":217058,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217058,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:31:01] local.INFO: Processing buffer {"connection_id":217058,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:31:01] local.INFO: IMEI packet received {"connection_id":217058,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":217058,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:31:06] local.INFO: TCP Data received {"connection_id":217058,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217058,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:31:06] local.INFO: Processing buffer {"connection_id":217058,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:31:06] local.INFO: IMEI packet received {"connection_id":217058,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":217058,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:31:09] local.INFO: TCP Data received {"connection_id":217058,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:31:09] local.INFO: Processing buffer {"connection_id":217058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:31:09] local.INFO: Packet analysis {"connection_id":217058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:31:09] local.INFO: Extracted packet for processing {"connection_id":217058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790839296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792152017000,"timestamp_ms":1792152017000,"timestamp_seconds":1792152017,"priority":1,"record_length":96,"hex_timestamp":"000001a144959868"} 
[2026-10-16 17:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 17:31: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-10-16 17: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-10-16 17:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":217058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":217058,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":217058,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790839296001,"66":12798,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790839296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:31:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790839296001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":217058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:31:09] local.INFO: GPS data processed {"connection_id":217058,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:31:09] local.INFO: Acknowledgment sent {"connection_id":217058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:31:15] local.INFO: TCP Data received {"connection_id":216828,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:31:15] local.INFO: Processing buffer {"connection_id":216828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:31:15] local.INFO: IMEI packet received {"connection_id":216828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":216828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:31:21] local.INFO: TCP Data received {"connection_id":216828,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:31:21] local.INFO: Processing buffer {"connection_id":216828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:31:21] local.INFO: IMEI packet received {"connection_id":216828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":216828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:31:24] local.INFO: TCP Data received {"connection_id":216828,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14494a638012d7f9cc005afd410000300b12c..."} 
[2026-10-16 17:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14494a638012d7f9cc005afd410000300b12c..."} 
[2026-10-16 17:31:24] local.INFO: Processing buffer {"connection_id":216828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14494a638012d7f9cc005afd410000300b12c..."} 
[2026-10-16 17:31:24] local.INFO: Packet analysis {"connection_id":216828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14494"} 
[2026-10-16 17:31:24] local.INFO: Extracted packet for processing {"connection_id":216828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14494"} 
[2026-10-16 17:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95409168,"longitude_deg":76.333792,"latitude_deg":9.5409168,"altitude":3,"angle":177,"satellites":44,"speed":6,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd410","is_valid_coordinates":true} 
[2026-10-16 17:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790899968001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205837790248960,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669841113088,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792151955000,"timestamp_ms":1792151955000,"timestamp_seconds":1792151955,"priority":1,"record_length":96,"hex_timestamp":"000001a14494a638"} 
[2026-10-16 17:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:31: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-10-16 17:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790899968001,"66":27919,"236":206,"19":45568,"24":6,"16":15205837790248960,"45":9195435669841113088},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790899968001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:31:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:31:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205837790248960,"km_value":15205837790248.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669841113088,"description":"Unknown IO ID 45"} 
[2026-10-16 17:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790899968001,"power":27919,"unknown_236":206,"unknown_19":45568,"ignition":6,"odometer":null,"unknown_45":9195435669841113088}} 
[2026-10-16 17:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":216828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:31:24] local.INFO: GPS data processed {"connection_id":216828,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:31:24] local.INFO: Acknowledgment sent {"connection_id":216828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:31:40] local.INFO: TCP Data received {"connection_id":217058,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:31:40] local.INFO: Processing buffer {"connection_id":217058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:31:40] local.INFO: Packet analysis {"connection_id":217058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:31:40] local.INFO: Extracted packet for processing {"connection_id":217058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790839296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792152017000,"timestamp_ms":1792152017000,"timestamp_seconds":1792152017,"priority":1,"record_length":96,"hex_timestamp":"000001a144959868"} 
[2026-10-16 17:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 17:31:40] 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-10-16 17: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-10-16 17:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":217058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":217058,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":217058,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790839296001,"66":12798,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790839296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:31:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790839296001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":217058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":848,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:31:40] local.INFO: GPS data processed {"connection_id":217058,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:31:40] local.INFO: Acknowledgment sent {"connection_id":217058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:31:56] local.INFO: TCP Data received {"connection_id":216828,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a14494f840012d7f9c8005afcee8000600af2d..."} 
[2026-10-16 17:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14494f840012d7f9c8005afcee8000600af2d..."} 
[2026-10-16 17:31:56] local.INFO: Processing buffer {"connection_id":216828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14494f840012d7f9c8005afcee8000600af2d..."} 
[2026-10-16 17:31:56] local.INFO: Packet analysis {"connection_id":216828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14494"} 
[2026-10-16 17:31:56] local.INFO: Extracted packet for processing {"connection_id":216828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14494"} 
[2026-10-16 17:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95407848,"longitude_deg":76.3337856,"latitude_deg":9.5407848,"altitude":6,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afcee8","is_valid_coordinates":true} 
[2026-10-16 17:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790900480001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205902214758400,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840990208,"note":"Value kept but may cause issues"} 
[2026-10-16 17:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792151976000,"timestamp_ms":1792151976000,"timestamp_seconds":1792151976,"priority":1,"record_length":96,"hex_timestamp":"000001a14494f840"} 
[2026-10-16 17:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 17:31:56] 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-10-16 17:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790900480001,"66":27930,"236":206,"19":45568,"24":0,"16":15205902214758400,"45":9195435669840990208},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790900480001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:31:56] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:31:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205902214758400,"km_value":15205902214758.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840990208,"description":"Unknown IO ID 45"} 
[2026-10-16 17:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790900480001,"power":27930,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9195435669840990208}} 
[2026-10-16 17:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":216828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:31:56] local.INFO: GPS data processed {"connection_id":216828,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:31:56] local.INFO: Acknowledgment sent {"connection_id":216828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:32:02] local.INFO: TCP Data received {"connection_id":220127,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220127,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:32:02] local.INFO: Processing buffer {"connection_id":220127,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:32:02] local.INFO: IMEI packet received {"connection_id":220127,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":220127,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:32:06] local.INFO: TCP Data received {"connection_id":220127,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220127,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:32:06] local.INFO: Processing buffer {"connection_id":220127,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:32:06] local.INFO: IMEI packet received {"connection_id":220127,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":220127,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:32:07] local.INFO: TCP Data received {"connection_id":220127,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:32:07] local.INFO: Processing buffer {"connection_id":220127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:32:07] local.INFO: Packet analysis {"connection_id":220127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:32:07] local.INFO: Extracted packet for processing {"connection_id":220127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790839296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792152017000,"timestamp_ms":1792152017000,"timestamp_seconds":1792152017,"priority":1,"record_length":96,"hex_timestamp":"000001a144959868"} 
[2026-10-16 17:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 17:32: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-10-16 17:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":220127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":220127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":220127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790839296001,"66":12798,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790839296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:32:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790839296001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":220127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":850,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:32:07] local.INFO: GPS data processed {"connection_id":220127,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:32:07] local.INFO: Acknowledgment sent {"connection_id":220127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:32:21] local.INFO: TCP Data received {"connection_id":217060,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:32:21] local.INFO: Processing buffer {"connection_id":217060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:32:21] local.INFO: IMEI packet received {"connection_id":217060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":217060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:32:26] local.INFO: TCP Data received {"connection_id":217060,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:32:26] local.INFO: Processing buffer {"connection_id":217060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:32:26] local.INFO: IMEI packet received {"connection_id":217060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":217060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:32:27] local.INFO: TCP Data received {"connection_id":217060,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144954a48012d7f9d0005afcfd8000700af2a..."} 
[2026-10-16 17:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144954a48012d7f9d0005afcfd8000700af2a..."} 
[2026-10-16 17:32:27] local.INFO: Processing buffer {"connection_id":217060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144954a48012d7f9d0005afcfd8000700af2a..."} 
[2026-10-16 17:32:27] local.INFO: Packet analysis {"connection_id":217060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:32:27] local.INFO: Extracted packet for processing {"connection_id":217060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408088,"longitude_deg":76.3337984,"latitude_deg":9.5408088,"altitude":7,"angle":175,"satellites":42,"speed":2,"hex_longitude":"2d7f9d00","hex_latitude":"05afcfd8","is_valid_coordinates":true} 
[2026-10-16 17:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790905856001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205919394627584,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096474624,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792151997000,"timestamp_ms":1792151997000,"timestamp_seconds":1792151997,"priority":1,"record_length":96,"hex_timestamp":"000001a144954a48"} 
[2026-10-16 17:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:32: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-10-16 17:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-10-16 17:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790905856001,"66":27821,"236":206,"19":45568,"24":2,"16":15205919394627584,"45":9195365301096474624},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790905856001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:32:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:32:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205919394627584,"km_value":15205919394627.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096474624,"description":"Unknown IO ID 45"} 
[2026-10-16 17:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790905856001,"power":27821,"unknown_236":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9195365301096474624}} 
[2026-10-16 17:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":217060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:32:27] local.INFO: GPS data processed {"connection_id":217060,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:32:27] local.INFO: Acknowledgment sent {"connection_id":217060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:32:31] local.INFO: TCP Data received {"connection_id":217060,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144957158012d7f9e0005afcf80000600af2d..."} 
[2026-10-16 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144957158012d7f9e0005afcf80000600af2d..."} 
[2026-10-16 17:32:31] local.INFO: Processing buffer {"connection_id":217060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144957158012d7f9e0005afcf80000600af2d..."} 
[2026-10-16 17:32:31] local.INFO: Packet analysis {"connection_id":217060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:32:31] local.INFO: Extracted packet for processing {"connection_id":217060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":95408000,"longitude_deg":76.333824,"latitude_deg":9.5408,"altitude":6,"angle":175,"satellites":45,"speed":4,"hex_longitude":"2d7f9e00","hex_latitude":"05afcf80","is_valid_coordinates":true} 
[2026-10-16 17:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790911232001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584891392,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792152007000,"timestamp_ms":1792152007000,"timestamp_seconds":1792152007,"priority":1,"record_length":96,"hex_timestamp":"000001a144957158"} 
[2026-10-16 17:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 17:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-10-16 17:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":217060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":217060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":217060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790911232001,"66":27593,"236":206,"19":45568,"24":4,"16":15205936574496768,"45":9195506038584891392},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790911232001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:32:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:32:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584891392,"description":"Unknown IO ID 45"} 
[2026-10-16 17:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790911232001,"power":27593,"unknown_236":206,"unknown_19":45568,"ignition":4,"odometer":null,"unknown_45":9195506038584891392}} 
[2026-10-16 17:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":217060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:32:31] local.INFO: GPS data processed {"connection_id":217060,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:32:31] local.INFO: Acknowledgment sent {"connection_id":217060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:32:38] local.INFO: TCP Data received {"connection_id":220127,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:32:38] local.INFO: Processing buffer {"connection_id":220127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:32:38] local.INFO: Packet analysis {"connection_id":220127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:32:38] local.INFO: Extracted packet for processing {"connection_id":220127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:32:38] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 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-10-16 17:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790839296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792152017000,"timestamp_ms":1792152017000,"timestamp_seconds":1792152017,"priority":1,"record_length":96,"hex_timestamp":"000001a144959868"} 
[2026-10-16 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-10-16 17:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":101,"data_length":795,"current_offset":136} 
[2026-10-16 17:32: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-10-16 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-10-16 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-10-16 17:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":220127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":220127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":220127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790839296001,"66":12798,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790839296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:32:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790839296001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":220127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":853,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:32:39] local.INFO: GPS data processed {"connection_id":220127,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:32:39] local.INFO: Acknowledgment sent {"connection_id":220127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:33:01] local.INFO: TCP Data received {"connection_id":216829,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216829,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:33:01] local.INFO: Processing buffer {"connection_id":216829,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:33:01] local.INFO: IMEI packet received {"connection_id":216829,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":216829,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:33:06] local.INFO: TCP Data received {"connection_id":216829,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216829,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:33:06] local.INFO: Processing buffer {"connection_id":216829,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:33:06] local.INFO: IMEI packet received {"connection_id":216829,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":216829,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:33:10] local.INFO: TCP Data received {"connection_id":216829,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:33:10] local.INFO: Processing buffer {"connection_id":216829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:33:10] local.INFO: Packet analysis {"connection_id":216829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:33:10] local.INFO: Extracted packet for processing {"connection_id":216829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:33:10] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790839296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792152017000,"timestamp_ms":1792152017000,"timestamp_seconds":1792152017,"priority":1,"record_length":96,"hex_timestamp":"000001a144959868"} 
[2026-10-16 17:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 17:33:10] 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-10-16 17: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-10-16 17:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":216829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":216829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":216829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790839296001,"66":12798,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790839296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:33:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790839296001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":216829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":854,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:33:10] local.INFO: GPS data processed {"connection_id":216829,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:33:10] local.INFO: Acknowledgment sent {"connection_id":216829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:33:15] local.INFO: TCP Data received {"connection_id":217062,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:33:15] local.INFO: Processing buffer {"connection_id":217062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:33:15] local.INFO: IMEI packet received {"connection_id":217062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":217062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:33:20] local.INFO: TCP Data received {"connection_id":217062,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:33:20] local.INFO: Processing buffer {"connection_id":217062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:33:20] local.INFO: IMEI packet received {"connection_id":217062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":217062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:33:21] local.INFO: TCP Data received {"connection_id":217062,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144957540012d7f9e8005afcf400006006e2d..."} 
[2026-10-16 17:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144957540012d7f9e8005afcf400006006e2d..."} 
[2026-10-16 17:33:21] local.INFO: Processing buffer {"connection_id":217062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144957540012d7f9e8005afcf400006006e2d..."} 
[2026-10-16 17:33:21] local.INFO: Packet analysis {"connection_id":217062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:33:21] local.INFO: Extracted packet for processing {"connection_id":217062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:33:21] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95407936,"longitude_deg":76.3338368,"latitude_deg":9.5407936,"altitude":6,"angle":110,"satellites":45,"speed":7,"hex_longitude":"2d7f9e80","hex_latitude":"05afcf40","is_valid_coordinates":true} 
[2026-10-16 17:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790913792001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513561579520,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792152008000,"timestamp_ms":1792152008000,"timestamp_seconds":1792152008,"priority":1,"record_length":96,"hex_timestamp":"000001a144957540"} 
[2026-10-16 17:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-10-16 17:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790913792001,"66":27865,"236":206,"19":45568,"24":7,"16":15205936574496768,"45":9195787513561579520},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790913792001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:33:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:33:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513561579520,"description":"Unknown IO ID 45"} 
[2026-10-16 17:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790913792001,"power":27865,"unknown_236":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":9195787513561579520}} 
[2026-10-16 17:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":217062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:33:21] local.INFO: GPS data processed {"connection_id":217062,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:33:21] local.INFO: Acknowledgment sent {"connection_id":217062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:33:30] local.INFO: TCP Data received {"connection_id":217061,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:33:30] local.INFO: Processing buffer {"connection_id":217061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:33:30] local.INFO: IMEI packet received {"connection_id":217061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":217061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:33:41] local.INFO: TCP Data received {"connection_id":216829,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:33:41] local.INFO: Processing buffer {"connection_id":216829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:33:41] local.INFO: Packet analysis {"connection_id":216829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:33:41] local.INFO: Extracted packet for processing {"connection_id":216829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:33:41] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790839296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792152017000,"timestamp_ms":1792152017000,"timestamp_seconds":1792152017,"priority":1,"record_length":96,"hex_timestamp":"000001a144959868"} 
[2026-10-16 17:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 17:33:41] 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-10-16 17: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-10-16 17:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":216829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":216829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":216829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790839296001,"66":12798,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790839296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:33:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790839296001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":216829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:33:42] local.INFO: GPS data processed {"connection_id":216829,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:33:42] local.INFO: Acknowledgment sent {"connection_id":216829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:33:50] local.INFO: TCP Data received {"connection_id":220128,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:33:50] local.INFO: Processing buffer {"connection_id":220128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:33:50] local.INFO: IMEI packet received {"connection_id":220128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":220128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:33:52] local.INFO: TCP Data received {"connection_id":217062,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144957928012d7f9f4005afcf180006005d2d..."} 
[2026-10-16 17:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144957928012d7f9f4005afcf180006005d2d..."} 
[2026-10-16 17:33:52] local.INFO: Processing buffer {"connection_id":217062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144957928012d7f9f4005afcf180006005d2d..."} 
[2026-10-16 17:33:52] local.INFO: Packet analysis {"connection_id":217062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:33:52] local.INFO: Extracted packet for processing {"connection_id":217062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:33:52] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95407896,"longitude_deg":76.333856,"latitude_deg":9.5407896,"altitude":6,"angle":93,"satellites":45,"speed":7,"hex_longitude":"2d7f9f40","hex_latitude":"05afcf18","is_valid_coordinates":true} 
[2026-10-16 17:33: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-10-16 17:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914048001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251049918464,"note":"Value kept but may cause issues"} 
[2026-10-16 17:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792152009000,"timestamp_ms":1792152009000,"timestamp_seconds":1792152009,"priority":1,"record_length":96,"hex_timestamp":"000001a144957928"} 
[2026-10-16 17:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:33: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":217,"data_length":795,"current_offset":136} 
[2026-10-16 17:33:52] 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-10-16 17:33: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-10-16 17:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":217062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":217062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":217062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914048001,"66":27865,"236":206,"19":45568,"24":7,"16":15205936574496768,"45":9195928251049918464},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914048001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:33:52] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:33:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251049918464,"description":"Unknown IO ID 45"} 
[2026-10-16 17:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914048001,"power":27865,"unknown_236":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":9195928251049918464}} 
[2026-10-16 17:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":217062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:33:52] local.INFO: GPS data processed {"connection_id":217062,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:33:52] local.INFO: Acknowledgment sent {"connection_id":217062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:34:01] local.INFO: TCP Data received {"connection_id":217063,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217063,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:34:01] local.INFO: Processing buffer {"connection_id":217063,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:34:01] local.INFO: IMEI packet received {"connection_id":217063,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":217063,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:34:09] local.INFO: TCP Data received {"connection_id":217063,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217063,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:34:09] local.INFO: Processing buffer {"connection_id":217063,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:34:09] local.INFO: IMEI packet received {"connection_id":217063,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":217063,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:34:14] local.INFO: TCP Data received {"connection_id":217063,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:34:14] local.INFO: Processing buffer {"connection_id":217063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:34:14] local.INFO: Packet analysis {"connection_id":217063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:34:14] local.INFO: Extracted packet for processing {"connection_id":217063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:34:14] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 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-10-16 17:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790839296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34: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-10-16 17:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792152017000,"timestamp_ms":1792152017000,"timestamp_seconds":1792152017,"priority":1,"record_length":96,"hex_timestamp":"000001a144959868"} 
[2026-10-16 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-10-16 17:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":101,"data_length":795,"current_offset":136} 
[2026-10-16 17:34:14] 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-10-16 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-10-16 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-10-16 17:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":217063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":217063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":217063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790839296001,"66":12798,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790839296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:34:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790839296001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":217063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":858,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:34:14] local.INFO: GPS data processed {"connection_id":217063,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:34:14] local.INFO: Acknowledgment sent {"connection_id":217063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:34:15] local.INFO: TCP Data received {"connection_id":217064,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:34:15] local.INFO: Processing buffer {"connection_id":217064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:34:15] local.INFO: IMEI packet received {"connection_id":217064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":217064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:34:20] local.INFO: TCP Data received {"connection_id":217064,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:34:20] local.INFO: Processing buffer {"connection_id":217064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:34:20] local.INFO: IMEI packet received {"connection_id":217064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":217064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:34:21] local.INFO: TCP Data received {"connection_id":217064,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449580f8012d7fa0c005afcf48000600482d..."} 
[2026-10-16 17:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449580f8012d7fa0c005afcf48000600482d..."} 
[2026-10-16 17:34:21] local.INFO: Processing buffer {"connection_id":217064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449580f8012d7fa0c005afcf48000600482d..."} 
[2026-10-16 17:34:21] local.INFO: Packet analysis {"connection_id":217064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:34:21] local.INFO: Extracted packet for processing {"connection_id":217064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95407944,"longitude_deg":76.3338944,"latitude_deg":9.5407944,"altitude":6,"angle":72,"satellites":45,"speed":7,"hex_longitude":"2d7fa0c0","hex_latitude":"05afcf48","is_valid_coordinates":true} 
[2026-10-16 17:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914304001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282441216,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792152011000,"timestamp_ms":1792152011000,"timestamp_seconds":1792152011,"priority":1,"record_length":96,"hex_timestamp":"000001a1449580f8"} 
[2026-10-16 17:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 17:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914304001,"66":27484,"236":206,"19":45568,"24":7,"16":15205936574496768,"45":9196139357282441216},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914304001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:34:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:34:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282441216,"description":"Unknown IO ID 45"} 
[2026-10-16 17:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914304001,"power":27484,"unknown_236":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":9196139357282441216}} 
[2026-10-16 17:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":217064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:34:21] local.INFO: GPS data processed {"connection_id":217064,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:34:21] local.INFO: Acknowledgment sent {"connection_id":217064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:34:45] local.INFO: TCP Data received {"connection_id":217063,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:34:45] local.INFO: Processing buffer {"connection_id":217063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:34:45] local.INFO: Packet analysis {"connection_id":217063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:34:45] local.INFO: Extracted packet for processing {"connection_id":217063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:34:45] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17:34: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-10-16 17:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790839296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:45] 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-10-16 17:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792152017000,"timestamp_ms":1792152017000,"timestamp_seconds":1792152017,"priority":1,"record_length":96,"hex_timestamp":"000001a144959868"} 
[2026-10-16 17:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 17:34:45] 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-10-16 17: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-10-16 17:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":217063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":217063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":217063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790839296001,"66":12798,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790839296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:34:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790839296001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":217063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":860,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:34:46] local.INFO: GPS data processed {"connection_id":217063,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:34:46] local.INFO: Acknowledgment sent {"connection_id":217063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:34:53] local.INFO: TCP Data received {"connection_id":217064,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449580f8012d7fa0c005afcf48000600482d..."} 
[2026-10-16 17:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449580f8012d7fa0c005afcf48000600482d..."} 
[2026-10-16 17:34:53] local.INFO: Processing buffer {"connection_id":217064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449580f8012d7fa0c005afcf48000600482d..."} 
[2026-10-16 17:34:53] local.INFO: Packet analysis {"connection_id":217064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:34:53] local.INFO: Extracted packet for processing {"connection_id":217064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:34:53] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95407944,"longitude_deg":76.3338944,"latitude_deg":9.5407944,"altitude":6,"angle":72,"satellites":45,"speed":7,"hex_longitude":"2d7fa0c0","hex_latitude":"05afcf48","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914304001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282441216,"note":"Value kept but may cause issues"} 
[2026-10-16 17:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792152011000,"timestamp_ms":1792152011000,"timestamp_seconds":1792152011,"priority":1,"record_length":96,"hex_timestamp":"000001a1449580f8"} 
[2026-10-16 17:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 17:34: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-10-16 17: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-10-16 17:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":217064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":217064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":217064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914304001,"66":27484,"236":206,"19":45568,"24":7,"16":15205936574496768,"45":9196139357282441216},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914304001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:34:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:34:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282441216,"description":"Unknown IO ID 45"} 
[2026-10-16 17:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914304001,"power":27484,"unknown_236":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":9196139357282441216}} 
[2026-10-16 17:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":217064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:34:53] local.INFO: GPS data processed {"connection_id":217064,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:34:53] local.INFO: Acknowledgment sent {"connection_id":217064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:35:01] local.INFO: TCP Data received {"connection_id":218394,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:35:01] local.INFO: Processing buffer {"connection_id":218394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:35:01] local.INFO: IMEI packet received {"connection_id":218394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":218394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:35:06] local.INFO: TCP Data received {"connection_id":218394,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:35:06] local.INFO: Processing buffer {"connection_id":218394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:35:06] local.INFO: IMEI packet received {"connection_id":218394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":218394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:35:07] local.INFO: TCP Data received {"connection_id":218394,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:35:07] local.INFO: Processing buffer {"connection_id":218394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144959868012d0b13000702a140000c00721e..."} 
[2026-10-16 17:35:07] local.INFO: Packet analysis {"connection_id":218394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:35:07] local.INFO: Extracted packet for processing {"connection_id":218394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:35:07] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":12,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 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-10-16 17:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790839296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792152017000,"timestamp_ms":1792152017000,"timestamp_seconds":1792152017,"priority":1,"record_length":96,"hex_timestamp":"000001a144959868"} 
[2026-10-16 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-10-16 17:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-10-16 17:35: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-10-16 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-10-16 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-10-16 17:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":218394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":218394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":218394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790839296001,"66":12798,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790839296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:35:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790839296001,"power":12798,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":218394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":862,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:35:07] local.INFO: GPS data processed {"connection_id":218394,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:35:07] local.INFO: Acknowledgment sent {"connection_id":218394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:35:16] local.INFO: TCP Data received {"connection_id":220130,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:35:16] local.INFO: Processing buffer {"connection_id":220130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:35:16] local.INFO: IMEI packet received {"connection_id":220130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":220130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:35:21] local.INFO: TCP Data received {"connection_id":220130,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:35:21] local.INFO: Processing buffer {"connection_id":220130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:35:21] local.INFO: IMEI packet received {"connection_id":220130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":220130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:35:22] local.INFO: TCP Data received {"connection_id":220130,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449580f8012d7fa0c005afcf48000600482d..."} 
[2026-10-16 17:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449580f8012d7fa0c005afcf48000600482d..."} 
[2026-10-16 17:35:22] local.INFO: Processing buffer {"connection_id":220130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449580f8012d7fa0c005afcf48000600482d..."} 
[2026-10-16 17:35:22] local.INFO: Packet analysis {"connection_id":220130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:35:22] local.INFO: Extracted packet for processing {"connection_id":220130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14495"} 
[2026-10-16 17:35:22] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95407944,"longitude_deg":76.3338944,"latitude_deg":9.5407944,"altitude":6,"angle":72,"satellites":45,"speed":7,"hex_longitude":"2d7fa0c0","hex_latitude":"05afcf48","is_valid_coordinates":true} 
[2026-10-16 17:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914304001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282441216,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152011000,"timestamp_ms":1792152011000,"timestamp_seconds":1792152011,"priority":1,"record_length":96,"hex_timestamp":"000001a1449580f8"} 
[2026-10-16 17:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-10-16 17:35:22] 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-10-16 17:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914304001,"66":27484,"236":206,"19":45568,"24":7,"16":15205936574496768,"45":9196139357282441216},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914304001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:35:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:35:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282441216,"description":"Unknown IO ID 45"} 
[2026-10-16 17:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914304001,"power":27484,"unknown_236":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":9196139357282441216}} 
[2026-10-16 17:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":220130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:35:22] local.INFO: GPS data processed {"connection_id":220130,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:35:22] local.INFO: Acknowledgment sent {"connection_id":220130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:35:39] local.INFO: TCP Data received {"connection_id":218394,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a3030012d0b13000702a140000400721f..."} 
[2026-10-16 17:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a3030012d0b13000702a140000400721f..."} 
[2026-10-16 17:35:39] local.INFO: Processing buffer {"connection_id":218394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a3030012d0b13000702a140000400721f..."} 
[2026-10-16 17:35:39] local.INFO: Packet analysis {"connection_id":218394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:35:39] local.INFO: Extracted packet for processing {"connection_id":218394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:35:39] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612864,"longitude_deg":75.570048,"latitude_deg":11.7612864,"altitude":4,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790916352001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":36588736200310784,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083602944,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35: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-10-16 17:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792152318000,"timestamp_ms":1792152318000,"timestamp_seconds":1792152318,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a3030"} 
[2026-10-16 17:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:35:39] 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-10-16 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 17:35: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-10-16 17: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-10-16 17:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":218394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":218394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":218394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-10-16 17:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-10-16 17:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-10-16 17:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790916352001,"66":12841,"17":206,"94":11008,"24":0,"16":36588736200310784,"45":797981589083602944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-10-16 17:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-10-16 17:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-10-16 17:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790916352001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:35:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-10-16 17:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":36588736200310784,"km_value":36588736200310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083602944,"description":"Unknown IO ID 45"} 
[2026-10-16 17:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790916352001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083602944}} 
[2026-10-16 17:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":218394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":864,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:35:39] local.INFO: GPS data processed {"connection_id":218394,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:35:39] local.INFO: Acknowledgment sent {"connection_id":218394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:35:53] local.INFO: TCP Data received {"connection_id":220130,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:35:53] local.INFO: Processing buffer {"connection_id":220130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:35:53] local.INFO: Packet analysis {"connection_id":220130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:35:53] local.INFO: Extracted packet for processing {"connection_id":220130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:35:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914816001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569747519488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792152313000,"timestamp_ms":1792152313000,"timestamp_seconds":1792152313,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a1ca8"} 
[2026-10-16 17:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:35:53] 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-10-16 17:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":220130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":220130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":220130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914816001,"66":26039,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9196561569747519488},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914816001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:35:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:35:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569747519488,"description":"Unknown IO ID 45"} 
[2026-10-16 17:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914816001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196561569747519488}} 
[2026-10-16 17:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":220130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:35:53] local.INFO: GPS data processed {"connection_id":220130,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:35:53] local.INFO: Acknowledgment sent {"connection_id":220130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:36:01] local.INFO: TCP Data received {"connection_id":217065,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:36:01] local.INFO: Processing buffer {"connection_id":217065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:36:01] local.INFO: IMEI packet received {"connection_id":217065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-10-16 17:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":217065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:36:15] local.INFO: TCP Data received {"connection_id":216831,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:36:15] local.INFO: Processing buffer {"connection_id":216831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:36:15] local.INFO: IMEI packet received {"connection_id":216831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":216831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:36:20] local.INFO: TCP Data received {"connection_id":216831,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:36:20] local.INFO: Processing buffer {"connection_id":216831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:36:20] local.INFO: IMEI packet received {"connection_id":216831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":216831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:36:21] local.INFO: TCP Data received {"connection_id":216831,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:36:21] local.INFO: Processing buffer {"connection_id":216831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:36:21] local.INFO: Packet analysis {"connection_id":216831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:36:21] local.INFO: Extracted packet for processing {"connection_id":216831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914816001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569747519488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792152313000,"timestamp_ms":1792152313000,"timestamp_seconds":1792152313,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a1ca8"} 
[2026-10-16 17:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":216831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":216831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":216831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914816001,"66":26039,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9196561569747519488},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914816001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:36:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:36:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569747519488,"description":"Unknown IO ID 45"} 
[2026-10-16 17:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914816001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196561569747519488}} 
[2026-10-16 17:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":216831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:36:21] local.INFO: GPS data processed {"connection_id":216831,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:36:21] local.INFO: Acknowledgment sent {"connection_id":216831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:36:43] local.INFO: TCP Data received {"connection_id":217065,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:36:43] local.INFO: Processing buffer {"connection_id":217065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-10-16 17:36:43] local.INFO: IMEI packet received {"connection_id":217065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-10-16 17:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":217065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:36:53] local.INFO: TCP Data received {"connection_id":216831,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:36:53] local.INFO: Processing buffer {"connection_id":216831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:36:53] local.INFO: Packet analysis {"connection_id":216831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:36:53] local.INFO: Extracted packet for processing {"connection_id":216831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:36:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914816001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569747519488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792152313000,"timestamp_ms":1792152313000,"timestamp_seconds":1792152313,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a1ca8"} 
[2026-10-16 17:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:36:53] 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-10-16 17:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914816001,"66":26039,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9196561569747519488},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914816001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:36:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:36:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569747519488,"description":"Unknown IO ID 45"} 
[2026-10-16 17:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914816001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196561569747519488}} 
[2026-10-16 17:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":216831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:36:53] local.INFO: GPS data processed {"connection_id":216831,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:36:53] local.INFO: Acknowledgment sent {"connection_id":216831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:37:15] local.INFO: TCP Data received {"connection_id":218396,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:37:15] local.INFO: Processing buffer {"connection_id":218396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:37:15] local.INFO: IMEI packet received {"connection_id":218396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":218396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:37:20] local.INFO: TCP Data received {"connection_id":218396,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:37:20] local.INFO: Processing buffer {"connection_id":218396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:37:20] local.INFO: IMEI packet received {"connection_id":218396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":218396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:37:22] local.INFO: TCP Data received {"connection_id":218396,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:37:22] local.INFO: Processing buffer {"connection_id":218396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:37:22] local.INFO: Packet analysis {"connection_id":218396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:37:22] local.INFO: Extracted packet for processing {"connection_id":218396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:37:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914816001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569747519488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152313000,"timestamp_ms":1792152313000,"timestamp_seconds":1792152313,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a1ca8"} 
[2026-10-16 17:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:37:22] 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-10-16 17:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914816001,"66":26039,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9196561569747519488},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914816001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:37:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:37:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569747519488,"description":"Unknown IO ID 45"} 
[2026-10-16 17:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914816001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196561569747519488}} 
[2026-10-16 17:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":218396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:37:22] local.INFO: GPS data processed {"connection_id":218396,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:37:22] local.INFO: Acknowledgment sent {"connection_id":218396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:37:54] local.INFO: TCP Data received {"connection_id":218396,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:37:54] local.INFO: Processing buffer {"connection_id":218396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:37:54] local.INFO: Packet analysis {"connection_id":218396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:37:54] local.INFO: Extracted packet for processing {"connection_id":218396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914816001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569747519488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792152313000,"timestamp_ms":1792152313000,"timestamp_seconds":1792152313,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a1ca8"} 
[2026-10-16 17:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:37:54] 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-10-16 17:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914816001,"66":26039,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9196561569747519488},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914816001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:37:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:37:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569747519488,"description":"Unknown IO ID 45"} 
[2026-10-16 17:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914816001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196561569747519488}} 
[2026-10-16 17:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":218396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:37:54] local.INFO: GPS data processed {"connection_id":218396,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:37:54] local.INFO: Acknowledgment sent {"connection_id":218396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:38:15] local.INFO: TCP Data received {"connection_id":217066,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:38:15] local.INFO: Processing buffer {"connection_id":217066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:38:15] local.INFO: IMEI packet received {"connection_id":217066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":217066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:38:21] local.INFO: TCP Data received {"connection_id":217066,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:38:21] local.INFO: Processing buffer {"connection_id":217066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:38:21] local.INFO: IMEI packet received {"connection_id":217066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":217066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:38:22] local.INFO: TCP Data received {"connection_id":217066,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:38:22] local.INFO: Processing buffer {"connection_id":217066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:38:22] local.INFO: Packet analysis {"connection_id":217066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:38:22] local.INFO: Extracted packet for processing {"connection_id":217066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:38:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914816001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569747519488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152313000,"timestamp_ms":1792152313000,"timestamp_seconds":1792152313,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a1ca8"} 
[2026-10-16 17:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:38:22] 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-10-16 17:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914816001,"66":26039,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9196561569747519488},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914816001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:38:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:38:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569747519488,"description":"Unknown IO ID 45"} 
[2026-10-16 17:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914816001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196561569747519488}} 
[2026-10-16 17:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":217066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:38:22] local.INFO: GPS data processed {"connection_id":217066,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:38:22] local.INFO: Acknowledgment sent {"connection_id":217066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:38:54] local.INFO: TCP Data received {"connection_id":217066,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:38:54] local.INFO: Processing buffer {"connection_id":217066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:38:54] local.INFO: Packet analysis {"connection_id":217066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:38:54] local.INFO: Extracted packet for processing {"connection_id":217066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914816001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569747519488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792152313000,"timestamp_ms":1792152313000,"timestamp_seconds":1792152313,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a1ca8"} 
[2026-10-16 17:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:38:54] 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-10-16 17:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914816001,"66":26039,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9196561569747519488},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914816001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:38:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:38:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569747519488,"description":"Unknown IO ID 45"} 
[2026-10-16 17:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914816001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196561569747519488}} 
[2026-10-16 17:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":217066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:38:54] local.INFO: GPS data processed {"connection_id":217066,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:38:54] local.INFO: Acknowledgment sent {"connection_id":217066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:39:06] local.INFO: TCP Data received {"connection_id":218397,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:39:06] local.INFO: Processing buffer {"connection_id":218397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:39:06] local.INFO: IMEI packet received {"connection_id":218397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":218397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:39:21] local.INFO: TCP Data received {"connection_id":218398,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:39:21] local.INFO: Processing buffer {"connection_id":218398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:39:21] local.INFO: IMEI packet received {"connection_id":218398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":218398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:39:26] local.INFO: TCP Data received {"connection_id":218398,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:39:26] local.INFO: Processing buffer {"connection_id":218398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:39:26] local.INFO: IMEI packet received {"connection_id":218398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":218398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:39:27] local.INFO: TCP Data received {"connection_id":218398,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:39:27] local.INFO: Processing buffer {"connection_id":218398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:39:27] local.INFO: Packet analysis {"connection_id":218398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:39:27] local.INFO: Extracted packet for processing {"connection_id":218398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914816001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569747519488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792152313000,"timestamp_ms":1792152313000,"timestamp_seconds":1792152313,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a1ca8"} 
[2026-10-16 17:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914816001,"66":26039,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9196561569747519488},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914816001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:39:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:39:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569747519488,"description":"Unknown IO ID 45"} 
[2026-10-16 17:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914816001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196561569747519488}} 
[2026-10-16 17:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":218398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:39:27] local.INFO: GPS data processed {"connection_id":218398,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:39:27] local.INFO: Acknowledgment sent {"connection_id":218398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:39:31] local.INFO: TCP Data received {"connection_id":218398,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:39:31] local.INFO: Processing buffer {"connection_id":218398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:39:31] local.INFO: Packet analysis {"connection_id":218398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:39:31] local.INFO: Extracted packet for processing {"connection_id":218398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914816001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569747519488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792152313000,"timestamp_ms":1792152313000,"timestamp_seconds":1792152313,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a1ca8"} 
[2026-10-16 17:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":218398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":218398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":218398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914816001,"66":26039,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9196561569747519488},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914816001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:39:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:39:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569747519488,"description":"Unknown IO ID 45"} 
[2026-10-16 17:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914816001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196561569747519488}} 
[2026-10-16 17:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":218398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:39:31] local.INFO: GPS data processed {"connection_id":218398,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:39:31] local.INFO: Acknowledgment sent {"connection_id":218398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:39:56] local.INFO: TCP Data received {"connection_id":220132,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:39:56] local.INFO: Processing buffer {"connection_id":220132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:39:56] local.INFO: IMEI packet received {"connection_id":220132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":220132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:40:15] local.INFO: TCP Data received {"connection_id":216832,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:40:15] local.INFO: Processing buffer {"connection_id":216832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:40:15] local.INFO: IMEI packet received {"connection_id":216832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":216832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:40:21] local.INFO: TCP Data received {"connection_id":216832,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:40:21] local.INFO: Processing buffer {"connection_id":216832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:40:21] local.INFO: IMEI packet received {"connection_id":216832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":216832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:40:22] local.INFO: TCP Data received {"connection_id":216832,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:40:22] local.INFO: Processing buffer {"connection_id":216832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449a1ca8012d7fa40005afccb00007004e2d..."} 
[2026-10-16 17:40:22] local.INFO: Packet analysis {"connection_id":216832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:40:22] local.INFO: Extracted packet for processing {"connection_id":216832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449a"} 
[2026-10-16 17:40:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":45,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790914816001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569747519488,"note":"Value kept but may cause issues"} 
[2026-10-16 17:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152313000,"timestamp_ms":1792152313000,"timestamp_seconds":1792152313,"priority":1,"record_length":96,"hex_timestamp":"000001a1449a1ca8"} 
[2026-10-16 17:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 17:40:22] 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-10-16 17:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790914816001,"66":26039,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9196561569747519488},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790914816001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:40:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:40:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569747519488,"description":"Unknown IO ID 45"} 
[2026-10-16 17:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790914816001,"power":26039,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9196561569747519488}} 
[2026-10-16 17:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":216832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:40:22] local.INFO: GPS data processed {"connection_id":216832,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:40:22] local.INFO: Acknowledgment sent {"connection_id":216832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:40:54] local.INFO: TCP Data received {"connection_id":216832,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:40:54] local.INFO: Processing buffer {"connection_id":216832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:40:54] local.INFO: Packet analysis {"connection_id":216832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:40:54] local.INFO: Extracted packet for processing {"connection_id":216832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:40:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:40:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":216832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:40:54] local.INFO: GPS data processed {"connection_id":216832,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:40:54] local.INFO: Acknowledgment sent {"connection_id":216832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:41:16] local.INFO: TCP Data received {"connection_id":216833,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:41:16] local.INFO: Processing buffer {"connection_id":216833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:41:16] local.INFO: IMEI packet received {"connection_id":216833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":216833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:41:21] local.INFO: TCP Data received {"connection_id":216833,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:41:21] local.INFO: Processing buffer {"connection_id":216833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:41:21] local.INFO: IMEI packet received {"connection_id":216833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":216833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:41:22] local.INFO: TCP Data received {"connection_id":216833,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:41:22] local.INFO: Processing buffer {"connection_id":216833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:41:22] local.INFO: Packet analysis {"connection_id":216833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:41:22] local.INFO: Extracted packet for processing {"connection_id":216833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:41:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:41:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":216833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:41:22] local.INFO: GPS data processed {"connection_id":216833,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:41:22] local.INFO: Acknowledgment sent {"connection_id":216833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:41:54] local.INFO: TCP Data received {"connection_id":216833,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:41:54] local.INFO: Processing buffer {"connection_id":216833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:41:54] local.INFO: Packet analysis {"connection_id":216833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:41:54] local.INFO: Extracted packet for processing {"connection_id":216833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:41:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:41:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":216833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:41:54] local.INFO: GPS data processed {"connection_id":216833,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:41:54] local.INFO: Acknowledgment sent {"connection_id":216833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:42:15] local.INFO: TCP Data received {"connection_id":218400,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:42:15] local.INFO: Processing buffer {"connection_id":218400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:42:15] local.INFO: IMEI packet received {"connection_id":218400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":218400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:42:21] local.INFO: TCP Data received {"connection_id":218400,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:42:21] local.INFO: Processing buffer {"connection_id":218400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:42:21] local.INFO: IMEI packet received {"connection_id":218400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":218400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:42:22] local.INFO: TCP Data received {"connection_id":218400,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:42:22] local.INFO: Processing buffer {"connection_id":218400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:42:22] local.INFO: Packet analysis {"connection_id":218400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:42:22] local.INFO: Extracted packet for processing {"connection_id":218400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:42:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:42:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":218400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:42:22] local.INFO: GPS data processed {"connection_id":218400,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:42:22] local.INFO: Acknowledgment sent {"connection_id":218400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:42:54] local.INFO: TCP Data received {"connection_id":218400,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:42:54] local.INFO: Processing buffer {"connection_id":218400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:42:54] local.INFO: Packet analysis {"connection_id":218400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:42:54] local.INFO: Extracted packet for processing {"connection_id":218400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:42:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:42:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":218400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:42:54] local.INFO: GPS data processed {"connection_id":218400,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:42:54] local.INFO: Acknowledgment sent {"connection_id":218400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:43:15] local.INFO: TCP Data received {"connection_id":217068,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:43:15] local.INFO: Processing buffer {"connection_id":217068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:43:15] local.INFO: IMEI packet received {"connection_id":217068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":217068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:43:21] local.INFO: TCP Data received {"connection_id":217068,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:43:21] local.INFO: Processing buffer {"connection_id":217068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:43:21] local.INFO: IMEI packet received {"connection_id":217068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":217068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:43:22] local.INFO: TCP Data received {"connection_id":217068,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:43:22] local.INFO: Processing buffer {"connection_id":217068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:43:22] local.INFO: Packet analysis {"connection_id":217068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:43:22] local.INFO: Extracted packet for processing {"connection_id":217068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:43:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:43:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":217068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:43:22] local.INFO: GPS data processed {"connection_id":217068,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:43:22] local.INFO: Acknowledgment sent {"connection_id":217068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:43:54] local.INFO: TCP Data received {"connection_id":217068,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:43:54] local.INFO: Processing buffer {"connection_id":217068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:43:54] local.INFO: Packet analysis {"connection_id":217068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:43:54] local.INFO: Extracted packet for processing {"connection_id":217068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:43:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:43:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":217068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:43:54] local.INFO: GPS data processed {"connection_id":217068,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:43:54] local.INFO: Acknowledgment sent {"connection_id":217068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:44:21] local.INFO: TCP Data received {"connection_id":218401,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:44:21] local.INFO: Processing buffer {"connection_id":218401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:44:21] local.INFO: IMEI packet received {"connection_id":218401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":218401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:44:26] local.INFO: TCP Data received {"connection_id":218401,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:44:26] local.INFO: Processing buffer {"connection_id":218401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:44:26] local.INFO: IMEI packet received {"connection_id":218401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":218401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:44:27] local.INFO: TCP Data received {"connection_id":218401,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:44:27] local.INFO: Processing buffer {"connection_id":218401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:44:27] local.INFO: Packet analysis {"connection_id":218401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:44:27] local.INFO: Extracted packet for processing {"connection_id":218401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:44:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:44:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":218401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:44:27] local.INFO: GPS data processed {"connection_id":218401,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:44:27] local.INFO: Acknowledgment sent {"connection_id":218401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:44:32] local.INFO: TCP Data received {"connection_id":218401,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:44:32] local.INFO: Processing buffer {"connection_id":218401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:44:32] local.INFO: Packet analysis {"connection_id":218401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:44:32] local.INFO: Extracted packet for processing {"connection_id":218401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:44:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":218401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:44:32] local.INFO: GPS data processed {"connection_id":218401,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:44:32] local.INFO: Acknowledgment sent {"connection_id":218401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:45:05] local.INFO: TCP Data received {"connection_id":220134,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:45:05] local.INFO: Processing buffer {"connection_id":220134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:45:05] local.INFO: IMEI packet received {"connection_id":220134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":220134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:45:15] local.INFO: TCP Data received {"connection_id":216835,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:45:15] local.INFO: Processing buffer {"connection_id":216835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:45:15] local.INFO: IMEI packet received {"connection_id":216835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":216835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:45:21] local.INFO: TCP Data received {"connection_id":216835,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:45:21] local.INFO: Processing buffer {"connection_id":216835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:45:21] local.INFO: IMEI packet received {"connection_id":216835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":216835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:45:22] local.INFO: TCP Data received {"connection_id":216835,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:45:22] local.INFO: Processing buffer {"connection_id":216835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:45:22] local.INFO: Packet analysis {"connection_id":216835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:45:22] local.INFO: Extracted packet for processing {"connection_id":216835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:45:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:45:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:45:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":216835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:45:22] local.INFO: GPS data processed {"connection_id":216835,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:45:22] local.INFO: Acknowledgment sent {"connection_id":216835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:45:54] local.INFO: TCP Data received {"connection_id":216835,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:45:54] local.INFO: Processing buffer {"connection_id":216835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1449eb470012d7fa40005afccb00007004e31..."} 
[2026-10-16 17:45:54] local.INFO: Packet analysis {"connection_id":216835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:45:54] local.INFO: Extracted packet for processing {"connection_id":216835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1449e"} 
[2026-10-16 17:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":49,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458790992128001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792152614000,"timestamp_ms":1792152614000,"timestamp_seconds":1792152614,"priority":1,"record_length":96,"hex_timestamp":"000001a1449eb470"} 
[2026-10-16 17:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-10-16 17:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458790992128001,"66":25625,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458790992128001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:45:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:45:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458790992128001,"power":25625,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":216835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:45:54] local.INFO: GPS data processed {"connection_id":216835,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:45:54] local.INFO: Acknowledgment sent {"connection_id":216835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:46:04] local.INFO: TCP Data received {"connection_id":220135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:46:04] local.INFO: Processing buffer {"connection_id":220135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:46:04] local.INFO: IMEI packet received {"connection_id":220135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":220135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:46:15] local.INFO: TCP Data received {"connection_id":217069,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:46:15] local.INFO: Processing buffer {"connection_id":217069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:46:15] local.INFO: IMEI packet received {"connection_id":217069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":217069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:46:21] local.INFO: TCP Data received {"connection_id":217069,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:46:21] local.INFO: Processing buffer {"connection_id":217069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:46:21] local.INFO: IMEI packet received {"connection_id":217069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":217069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:46:22] local.INFO: TCP Data received {"connection_id":217069,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:46:22] local.INFO: Processing buffer {"connection_id":217069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:46:22] local.INFO: Packet analysis {"connection_id":217069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:46:22] local.INFO: Extracted packet for processing {"connection_id":217069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:46:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791069184001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152915000,"timestamp_ms":1792152915000,"timestamp_seconds":1792152915,"priority":1,"record_length":96,"hex_timestamp":"000001a144a34c38"} 
[2026-10-16 17:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 17:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791069184001,"66":25441,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791069184001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:46:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:46:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791069184001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":217069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:46:22] local.INFO: GPS data processed {"connection_id":217069,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:46:22] local.INFO: Acknowledgment sent {"connection_id":217069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:46:54] local.INFO: TCP Data received {"connection_id":217069,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:46:54] local.INFO: Processing buffer {"connection_id":217069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:46:54] local.INFO: Packet analysis {"connection_id":217069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:46:54] local.INFO: Extracted packet for processing {"connection_id":217069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791069184001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792152915000,"timestamp_ms":1792152915000,"timestamp_seconds":1792152915,"priority":1,"record_length":96,"hex_timestamp":"000001a144a34c38"} 
[2026-10-16 17:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 17:46:54] 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-10-16 17:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791069184001,"66":25441,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791069184001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:46:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:46:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791069184001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":217069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:46:54] local.INFO: GPS data processed {"connection_id":217069,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:46:54] local.INFO: Acknowledgment sent {"connection_id":217069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:47:15] local.INFO: TCP Data received {"connection_id":218403,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:47:15] local.INFO: Processing buffer {"connection_id":218403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:47:15] local.INFO: IMEI packet received {"connection_id":218403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":218403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:47:21] local.INFO: TCP Data received {"connection_id":218403,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:47:21] local.INFO: Processing buffer {"connection_id":218403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:47:21] local.INFO: IMEI packet received {"connection_id":218403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":218403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:47:22] local.INFO: TCP Data received {"connection_id":218403,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:47:22] local.INFO: Processing buffer {"connection_id":218403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:47:22] local.INFO: Packet analysis {"connection_id":218403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:47:22] local.INFO: Extracted packet for processing {"connection_id":218403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:47:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791069184001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152915000,"timestamp_ms":1792152915000,"timestamp_seconds":1792152915,"priority":1,"record_length":96,"hex_timestamp":"000001a144a34c38"} 
[2026-10-16 17:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 17:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791069184001,"66":25441,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791069184001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:47:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:47:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791069184001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":218403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:47:22] local.INFO: GPS data processed {"connection_id":218403,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:47:22] local.INFO: Acknowledgment sent {"connection_id":218403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:47:54] local.INFO: TCP Data received {"connection_id":218403,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:47:54] local.INFO: Processing buffer {"connection_id":218403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:47:54] local.INFO: Packet analysis {"connection_id":218403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:47:54] local.INFO: Extracted packet for processing {"connection_id":218403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791069184001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792152915000,"timestamp_ms":1792152915000,"timestamp_seconds":1792152915,"priority":1,"record_length":96,"hex_timestamp":"000001a144a34c38"} 
[2026-10-16 17:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 17:47:54] 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-10-16 17:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791069184001,"66":25441,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791069184001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:47:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:47:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791069184001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":218403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:47:54] local.INFO: GPS data processed {"connection_id":218403,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:47:54] local.INFO: Acknowledgment sent {"connection_id":218403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:48:21] local.INFO: TCP Data received {"connection_id":220136,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:48:21] local.INFO: Processing buffer {"connection_id":220136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:48:21] local.INFO: IMEI packet received {"connection_id":220136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":220136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:48:26] local.INFO: TCP Data received {"connection_id":220136,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:48:26] local.INFO: Processing buffer {"connection_id":220136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:48:26] local.INFO: IMEI packet received {"connection_id":220136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":220136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:48:27] local.INFO: TCP Data received {"connection_id":220136,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:48:27] local.INFO: Processing buffer {"connection_id":220136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:48:27] local.INFO: Packet analysis {"connection_id":220136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:48:27] local.INFO: Extracted packet for processing {"connection_id":220136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791069184001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792152915000,"timestamp_ms":1792152915000,"timestamp_seconds":1792152915,"priority":1,"record_length":96,"hex_timestamp":"000001a144a34c38"} 
[2026-10-16 17:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 17:48:27] 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-10-16 17:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791069184001,"66":25441,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791069184001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:48:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:48:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791069184001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":220136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:48:27] local.INFO: GPS data processed {"connection_id":220136,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:48:27] local.INFO: Acknowledgment sent {"connection_id":220136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:48:31] local.INFO: TCP Data received {"connection_id":220136,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:48:31] local.INFO: Processing buffer {"connection_id":220136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:48:31] local.INFO: Packet analysis {"connection_id":220136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:48:31] local.INFO: Extracted packet for processing {"connection_id":220136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791069184001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792152915000,"timestamp_ms":1792152915000,"timestamp_seconds":1792152915,"priority":1,"record_length":96,"hex_timestamp":"000001a144a34c38"} 
[2026-10-16 17:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 17:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":220136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":220136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":220136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791069184001,"66":25441,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791069184001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:48:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:48:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791069184001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":220136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:48:31] local.INFO: GPS data processed {"connection_id":220136,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:48:31] local.INFO: Acknowledgment sent {"connection_id":220136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:49:15] local.INFO: TCP Data received {"connection_id":218406,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:49:15] local.INFO: Processing buffer {"connection_id":218406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:49:15] local.INFO: IMEI packet received {"connection_id":218406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":218406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:49:20] local.INFO: TCP Data received {"connection_id":218406,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:49:20] local.INFO: Processing buffer {"connection_id":218406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:49:20] local.INFO: IMEI packet received {"connection_id":218406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":218406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:49:22] local.INFO: TCP Data received {"connection_id":218406,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:49:22] local.INFO: Processing buffer {"connection_id":218406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:49:22] local.INFO: Packet analysis {"connection_id":218406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:49:22] local.INFO: Extracted packet for processing {"connection_id":218406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:49:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791069184001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152915000,"timestamp_ms":1792152915000,"timestamp_seconds":1792152915,"priority":1,"record_length":96,"hex_timestamp":"000001a144a34c38"} 
[2026-10-16 17:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 17:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791069184001,"66":25441,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791069184001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:49:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:49:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791069184001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":218406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:49:22] local.INFO: GPS data processed {"connection_id":218406,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:49:22] local.INFO: Acknowledgment sent {"connection_id":218406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:49:53] local.INFO: TCP Data received {"connection_id":218406,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:49:53] local.INFO: Processing buffer {"connection_id":218406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:49:53] local.INFO: Packet analysis {"connection_id":218406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:49:53] local.INFO: Extracted packet for processing {"connection_id":218406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:49:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791069184001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792152915000,"timestamp_ms":1792152915000,"timestamp_seconds":1792152915,"priority":1,"record_length":96,"hex_timestamp":"000001a144a34c38"} 
[2026-10-16 17:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 17:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791069184001,"66":25441,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791069184001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:49:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:49:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791069184001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":218406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:49:53] local.INFO: GPS data processed {"connection_id":218406,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:49:53] local.INFO: Acknowledgment sent {"connection_id":218406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:50:15] local.INFO: TCP Data received {"connection_id":217070,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:50:15] local.INFO: Processing buffer {"connection_id":217070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:50:15] local.INFO: IMEI packet received {"connection_id":217070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":217070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:50:21] local.INFO: TCP Data received {"connection_id":217070,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:50:21] local.INFO: Processing buffer {"connection_id":217070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:50:21] local.INFO: IMEI packet received {"connection_id":217070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":217070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:50:22] local.INFO: TCP Data received {"connection_id":217070,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:50:22] local.INFO: Processing buffer {"connection_id":217070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:50:22] local.INFO: Packet analysis {"connection_id":217070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:50:22] local.INFO: Extracted packet for processing {"connection_id":217070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:50:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791069184001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792152915000,"timestamp_ms":1792152915000,"timestamp_seconds":1792152915,"priority":1,"record_length":96,"hex_timestamp":"000001a144a34c38"} 
[2026-10-16 17:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 17:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791069184001,"66":25441,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791069184001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:50:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:50:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791069184001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":217070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:50:22] local.INFO: GPS data processed {"connection_id":217070,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:50:22] local.INFO: Acknowledgment sent {"connection_id":217070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:50:54] local.INFO: TCP Data received {"connection_id":217070,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:50:54] local.INFO: Processing buffer {"connection_id":217070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a34c38012d7fa40005afccb00007004e30..."} 
[2026-10-16 17:50:54] local.INFO: Packet analysis {"connection_id":217070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:50:54] local.INFO: Extracted packet for processing {"connection_id":217070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a3"} 
[2026-10-16 17:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":48,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791069184001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792152915000,"timestamp_ms":1792152915000,"timestamp_seconds":1792152915,"priority":1,"record_length":96,"hex_timestamp":"000001a144a34c38"} 
[2026-10-16 17:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-10-16 17:50:54] 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-10-16 17:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791069184001,"66":25441,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791069184001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:50:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:50:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791069184001,"power":25441,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":217070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:50:54] local.INFO: GPS data processed {"connection_id":217070,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:50:54] local.INFO: Acknowledgment sent {"connection_id":217070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:51:09] local.INFO: TCP Data received {"connection_id":217071,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:51:09] local.INFO: Processing buffer {"connection_id":217071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:51:09] local.INFO: IMEI packet received {"connection_id":217071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":217071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:51:20] local.INFO: TCP Data received {"connection_id":220137,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:51:20] local.INFO: Processing buffer {"connection_id":220137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:51:20] local.INFO: IMEI packet received {"connection_id":220137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":220137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:51:26] local.INFO: TCP Data received {"connection_id":220137,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:51:26] local.INFO: Processing buffer {"connection_id":220137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:51:26] local.INFO: IMEI packet received {"connection_id":220137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":220137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:51:27] local.INFO: TCP Data received {"connection_id":220137,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:51:27] local.INFO: Processing buffer {"connection_id":220137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:51:27] local.INFO: Packet analysis {"connection_id":220137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:51:27] local.INFO: Extracted packet for processing {"connection_id":220137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791146240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792153216000,"timestamp_ms":1792153216000,"timestamp_seconds":1792153216,"priority":1,"record_length":96,"hex_timestamp":"000001a144a7e400"} 
[2026-10-16 17:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791146240001,"66":25212,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791146240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:51:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:51:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791146240001,"power":25212,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":220137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:51:27] local.INFO: GPS data processed {"connection_id":220137,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:51:27] local.INFO: Acknowledgment sent {"connection_id":220137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:51:49] local.INFO: TCP Data received {"connection_id":218407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:51:49] local.INFO: Processing buffer {"connection_id":218407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:51:49] local.INFO: IMEI packet received {"connection_id":218407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":218407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:51:59] local.INFO: TCP Data received {"connection_id":220137,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:51:59] local.INFO: Processing buffer {"connection_id":220137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:51:59] local.INFO: Packet analysis {"connection_id":220137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:51:59] local.INFO: Extracted packet for processing {"connection_id":220137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791146240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792153216000,"timestamp_ms":1792153216000,"timestamp_seconds":1792153216,"priority":1,"record_length":96,"hex_timestamp":"000001a144a7e400"} 
[2026-10-16 17:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":220137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":220137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":220137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791146240001,"66":25212,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791146240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:51:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:51:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791146240001,"power":25212,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":220137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:51:59] local.INFO: GPS data processed {"connection_id":220137,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:51:59] local.INFO: Acknowledgment sent {"connection_id":220137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:52:15] local.INFO: TCP Data received {"connection_id":216837,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:52:15] local.INFO: Processing buffer {"connection_id":216837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:52:15] local.INFO: IMEI packet received {"connection_id":216837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":216837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:52:20] local.INFO: TCP Data received {"connection_id":216837,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:52:20] local.INFO: Processing buffer {"connection_id":216837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:52:20] local.INFO: IMEI packet received {"connection_id":216837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":216837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:52:22] local.INFO: TCP Data received {"connection_id":216837,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:52:22] local.INFO: Processing buffer {"connection_id":216837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:52:22] local.INFO: Packet analysis {"connection_id":216837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:52:22] local.INFO: Extracted packet for processing {"connection_id":216837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:52:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791146240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792153216000,"timestamp_ms":1792153216000,"timestamp_seconds":1792153216,"priority":1,"record_length":96,"hex_timestamp":"000001a144a7e400"} 
[2026-10-16 17:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791146240001,"66":25212,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791146240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:52:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:52:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791146240001,"power":25212,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":216837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:52:22] local.INFO: GPS data processed {"connection_id":216837,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:52:22] local.INFO: Acknowledgment sent {"connection_id":216837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:52:54] local.INFO: TCP Data received {"connection_id":216837,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:52:54] local.INFO: Processing buffer {"connection_id":216837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:52:54] local.INFO: Packet analysis {"connection_id":216837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:52:54] local.INFO: Extracted packet for processing {"connection_id":216837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791146240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792153216000,"timestamp_ms":1792153216000,"timestamp_seconds":1792153216,"priority":1,"record_length":96,"hex_timestamp":"000001a144a7e400"} 
[2026-10-16 17:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791146240001,"66":25212,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791146240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:52:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:52:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791146240001,"power":25212,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":216837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:52:54] local.INFO: GPS data processed {"connection_id":216837,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:52:54] local.INFO: Acknowledgment sent {"connection_id":216837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:53:15] local.INFO: TCP Data received {"connection_id":218409,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:53:15] local.INFO: Processing buffer {"connection_id":218409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:53:15] local.INFO: IMEI packet received {"connection_id":218409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":218409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:53:20] local.INFO: TCP Data received {"connection_id":218409,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:53:20] local.INFO: Processing buffer {"connection_id":218409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:53:20] local.INFO: IMEI packet received {"connection_id":218409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":218409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:53:21] local.INFO: TCP Data received {"connection_id":218409,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:53:21] local.INFO: Processing buffer {"connection_id":218409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:53:21] local.INFO: Packet analysis {"connection_id":218409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:53:21] local.INFO: Extracted packet for processing {"connection_id":218409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:53:21] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791146240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792153216000,"timestamp_ms":1792153216000,"timestamp_seconds":1792153216,"priority":1,"record_length":96,"hex_timestamp":"000001a144a7e400"} 
[2026-10-16 17:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":218409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":218409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":218409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791146240001,"66":25212,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791146240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:53:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:53:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791146240001,"power":25212,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":218409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:53:21] local.INFO: GPS data processed {"connection_id":218409,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:53:21] local.INFO: Acknowledgment sent {"connection_id":218409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:53:53] local.INFO: TCP Data received {"connection_id":218409,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:53:53] local.INFO: Processing buffer {"connection_id":218409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:53:53] local.INFO: Packet analysis {"connection_id":218409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:53:53] local.INFO: Extracted packet for processing {"connection_id":218409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:53:53] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791146240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792153216000,"timestamp_ms":1792153216000,"timestamp_seconds":1792153216,"priority":1,"record_length":96,"hex_timestamp":"000001a144a7e400"} 
[2026-10-16 17:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791146240001,"66":25212,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791146240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:53:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:53:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791146240001,"power":25212,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":218409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:53:53] local.INFO: GPS data processed {"connection_id":218409,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:53:53] local.INFO: Acknowledgment sent {"connection_id":218409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:54:15] local.INFO: TCP Data received {"connection_id":217073,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:54:15] local.INFO: Processing buffer {"connection_id":217073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:54:15] local.INFO: IMEI packet received {"connection_id":217073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":217073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:54:21] local.INFO: TCP Data received {"connection_id":217073,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:54:21] local.INFO: Processing buffer {"connection_id":217073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:54:21] local.INFO: IMEI packet received {"connection_id":217073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":217073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:54:22] local.INFO: TCP Data received {"connection_id":217073,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:54:22] local.INFO: Processing buffer {"connection_id":217073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:54:22] local.INFO: Packet analysis {"connection_id":217073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:54:22] local.INFO: Extracted packet for processing {"connection_id":217073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:54:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791146240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792153216000,"timestamp_ms":1792153216000,"timestamp_seconds":1792153216,"priority":1,"record_length":96,"hex_timestamp":"000001a144a7e400"} 
[2026-10-16 17:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791146240001,"66":25212,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791146240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:54:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:54:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791146240001,"power":25212,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":217073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:54:22] local.INFO: GPS data processed {"connection_id":217073,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:54:22] local.INFO: Acknowledgment sent {"connection_id":217073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:54:54] local.INFO: TCP Data received {"connection_id":217073,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:54:54] local.INFO: Processing buffer {"connection_id":217073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:54:54] local.INFO: Packet analysis {"connection_id":217073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:54:54] local.INFO: Extracted packet for processing {"connection_id":217073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791146240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792153216000,"timestamp_ms":1792153216000,"timestamp_seconds":1792153216,"priority":1,"record_length":96,"hex_timestamp":"000001a144a7e400"} 
[2026-10-16 17:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17: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-10-16 17:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791146240001,"66":25212,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791146240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:54:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:54:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791146240001,"power":25212,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":217073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:54:54] local.INFO: GPS data processed {"connection_id":217073,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:54:54] local.INFO: Acknowledgment sent {"connection_id":217073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:55:15] local.INFO: TCP Data received {"connection_id":220139,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:55:15] local.INFO: Processing buffer {"connection_id":220139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:55:15] local.INFO: IMEI packet received {"connection_id":220139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":220139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:55:21] local.INFO: TCP Data received {"connection_id":220139,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:55:21] local.INFO: Processing buffer {"connection_id":220139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:55:21] local.INFO: IMEI packet received {"connection_id":220139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":220139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:55:22] local.INFO: TCP Data received {"connection_id":220139,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:55:22] local.INFO: Processing buffer {"connection_id":220139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:55:22] local.INFO: Packet analysis {"connection_id":220139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:55:22] local.INFO: Extracted packet for processing {"connection_id":220139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791146240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792153216000,"timestamp_ms":1792153216000,"timestamp_seconds":1792153216,"priority":1,"record_length":96,"hex_timestamp":"000001a144a7e400"} 
[2026-10-16 17:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791146240001,"66":25212,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791146240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:55:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:55:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791146240001,"power":25212,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":220139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:55:22] local.INFO: GPS data processed {"connection_id":220139,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:55:22] local.INFO: Acknowledgment sent {"connection_id":220139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:55:54] local.INFO: TCP Data received {"connection_id":220139,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:55:54] local.INFO: Processing buffer {"connection_id":220139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144a7e400012d7fa40005afccb00007004e2f..."} 
[2026-10-16 17:55:54] local.INFO: Packet analysis {"connection_id":220139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:55:54] local.INFO: Extracted packet for processing {"connection_id":220139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144a7"} 
[2026-10-16 17:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791146240001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792153216000,"timestamp_ms":1792153216000,"timestamp_seconds":1792153216,"priority":1,"record_length":96,"hex_timestamp":"000001a144a7e400"} 
[2026-10-16 17:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 17:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 17:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791146240001,"66":25212,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791146240001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:55:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:55:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791146240001,"power":25212,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":220139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:55:54] local.INFO: GPS data processed {"connection_id":220139,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:55:54] local.INFO: Acknowledgment sent {"connection_id":220139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:56:21] local.INFO: TCP Data received {"connection_id":220140,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:56:21] local.INFO: Processing buffer {"connection_id":220140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:56:21] local.INFO: IMEI packet received {"connection_id":220140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":220140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:56:26] local.INFO: TCP Data received {"connection_id":220140,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:56:26] local.INFO: Processing buffer {"connection_id":220140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:56:26] local.INFO: IMEI packet received {"connection_id":220140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":220140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:56:28] local.INFO: TCP Data received {"connection_id":220140,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:56:28] local.INFO: Processing buffer {"connection_id":220140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:56:28] local.INFO: Packet analysis {"connection_id":220140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:56:28] local.INFO: Extracted packet for processing {"connection_id":220140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791223296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792153517000,"timestamp_ms":1792153517000,"timestamp_seconds":1792153517,"priority":1,"record_length":96,"hex_timestamp":"000001a144ac7bc8"} 
[2026-10-16 17:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 17:56:28] 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-10-16 17:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":220140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":220140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":220140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791223296001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791223296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:56:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:56:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791223296001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":220140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:56:28] local.INFO: GPS data processed {"connection_id":220140,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:56:28] local.INFO: Acknowledgment sent {"connection_id":220140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:57:00] local.INFO: TCP Data received {"connection_id":220140,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:57:00] local.INFO: Processing buffer {"connection_id":220140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:57:00] local.INFO: Packet analysis {"connection_id":220140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:57:00] local.INFO: Extracted packet for processing {"connection_id":220140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:57: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-10-16 17:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791223296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792153517000,"timestamp_ms":1792153517000,"timestamp_seconds":1792153517,"priority":1,"record_length":96,"hex_timestamp":"000001a144ac7bc8"} 
[2026-10-16 17:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 17:57:00] 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-10-16 17:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":220140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":220140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":220140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791223296001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791223296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:57:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:57:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791223296001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":220140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:57:00] local.INFO: GPS data processed {"connection_id":220140,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:57:00] local.INFO: Acknowledgment sent {"connection_id":220140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:57:15] local.INFO: TCP Data received {"connection_id":220141,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:57:15] local.INFO: Processing buffer {"connection_id":220141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:57:15] local.INFO: IMEI packet received {"connection_id":220141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":220141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:57:21] local.INFO: TCP Data received {"connection_id":220141,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:57:21] local.INFO: Processing buffer {"connection_id":220141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:57:21] local.INFO: IMEI packet received {"connection_id":220141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":220141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:57:22] local.INFO: TCP Data received {"connection_id":220141,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:57:22] local.INFO: Processing buffer {"connection_id":220141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:57:22] local.INFO: Packet analysis {"connection_id":220141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:57:22] local.INFO: Extracted packet for processing {"connection_id":220141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:57:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791223296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792153517000,"timestamp_ms":1792153517000,"timestamp_seconds":1792153517,"priority":1,"record_length":96,"hex_timestamp":"000001a144ac7bc8"} 
[2026-10-16 17:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 17:57:22] 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-10-16 17: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-10-16 17:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791223296001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791223296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:57:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:57:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791223296001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":220141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:57:22] local.INFO: GPS data processed {"connection_id":220141,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:57:22] local.INFO: Acknowledgment sent {"connection_id":220141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:57:25] local.INFO: TCP Data received {"connection_id":216840,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:57:25] local.INFO: Processing buffer {"connection_id":216840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:57:25] local.INFO: IMEI packet received {"connection_id":216840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":216840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:57:52] local.INFO: TCP Data received {"connection_id":217074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:57:52] local.INFO: Processing buffer {"connection_id":217074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 17:57:52] local.INFO: IMEI packet received {"connection_id":217074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 17:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":217074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:57:54] local.INFO: TCP Data received {"connection_id":220141,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:57:54] local.INFO: Processing buffer {"connection_id":220141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:57:54] local.INFO: Packet analysis {"connection_id":220141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:57:54] local.INFO: Extracted packet for processing {"connection_id":220141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791223296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792153517000,"timestamp_ms":1792153517000,"timestamp_seconds":1792153517,"priority":1,"record_length":96,"hex_timestamp":"000001a144ac7bc8"} 
[2026-10-16 17:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 17:57:54] 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-10-16 17: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-10-16 17:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791223296001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791223296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:57:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:57:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791223296001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":220141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:57:54] local.INFO: GPS data processed {"connection_id":220141,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:57:54] local.INFO: Acknowledgment sent {"connection_id":220141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:58:15] local.INFO: TCP Data received {"connection_id":218410,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:58:15] local.INFO: Processing buffer {"connection_id":218410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:58:15] local.INFO: IMEI packet received {"connection_id":218410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":218410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:58:21] local.INFO: TCP Data received {"connection_id":218410,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:58:21] local.INFO: Processing buffer {"connection_id":218410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:58:21] local.INFO: IMEI packet received {"connection_id":218410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":218410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:58:23] local.INFO: TCP Data received {"connection_id":218410,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:58:23] local.INFO: Processing buffer {"connection_id":218410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:58:23] local.INFO: Packet analysis {"connection_id":218410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:58:23] local.INFO: Extracted packet for processing {"connection_id":218410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791223296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792153517000,"timestamp_ms":1792153517000,"timestamp_seconds":1792153517,"priority":1,"record_length":96,"hex_timestamp":"000001a144ac7bc8"} 
[2026-10-16 17:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 17:58:23] 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-10-16 17: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-10-16 17:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791223296001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791223296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:58:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:58:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791223296001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":218410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:58:23] local.INFO: GPS data processed {"connection_id":218410,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:58:23] local.INFO: Acknowledgment sent {"connection_id":218410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:58:55] local.INFO: TCP Data received {"connection_id":218410,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:58:55] local.INFO: Processing buffer {"connection_id":218410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:58:55] local.INFO: Packet analysis {"connection_id":218410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:58:55] local.INFO: Extracted packet for processing {"connection_id":218410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791223296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792153517000,"timestamp_ms":1792153517000,"timestamp_seconds":1792153517,"priority":1,"record_length":96,"hex_timestamp":"000001a144ac7bc8"} 
[2026-10-16 17:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 17:58:55] 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-10-16 17: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-10-16 17:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791223296001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791223296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:58:55] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:58:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791223296001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":218410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:58:55] local.INFO: GPS data processed {"connection_id":218410,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:58:55] local.INFO: Acknowledgment sent {"connection_id":218410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:59:15] local.INFO: TCP Data received {"connection_id":217075,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:59:15] local.INFO: Processing buffer {"connection_id":217075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:59:15] local.INFO: IMEI packet received {"connection_id":217075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 17:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":217075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 17:59:21] local.INFO: TCP Data received {"connection_id":217075,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:59:21] local.INFO: Processing buffer {"connection_id":217075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 17:59:21] local.INFO: IMEI packet received {"connection_id":217075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 17:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":217075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 17:59:22] local.INFO: TCP Data received {"connection_id":217075,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:59:22] local.INFO: Processing buffer {"connection_id":217075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:59:22] local.INFO: Packet analysis {"connection_id":217075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:59:22] local.INFO: Extracted packet for processing {"connection_id":217075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 17:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791223296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792153517000,"timestamp_ms":1792153517000,"timestamp_seconds":1792153517,"priority":1,"record_length":96,"hex_timestamp":"000001a144ac7bc8"} 
[2026-10-16 17:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 17:59:22] 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-10-16 17:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 17:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791223296001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791223296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:59:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:59:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791223296001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":217075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:59:22] local.INFO: GPS data processed {"connection_id":217075,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:59:22] local.INFO: Acknowledgment sent {"connection_id":217075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 17:59:54] local.INFO: TCP Data received {"connection_id":217075,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:59:54] local.INFO: Processing buffer {"connection_id":217075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 17:59:54] local.INFO: Packet analysis {"connection_id":217075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:59:54] local.INFO: Extracted packet for processing {"connection_id":217075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 17:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 17: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-10-16 17:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791223296001,"note":"Value kept but may cause issues"} 
[2026-10-16 17:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 17:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 17:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 17:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792153517000,"timestamp_ms":1792153517000,"timestamp_seconds":1792153517,"priority":1,"record_length":96,"hex_timestamp":"000001a144ac7bc8"} 
[2026-10-16 17:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 17:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 17: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 17:59:54] 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-10-16 17: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-10-16 17:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 17:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 17:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 17:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 17:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 17:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 17:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 17:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791223296001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 17:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 17:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 17:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791223296001,"description":"Unknown IO ID 0"} 
[2026-10-16 17:59:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 17:59:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 17:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 17:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 17:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791223296001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 17:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":217075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 17:59:54] local.INFO: GPS data processed {"connection_id":217075,"processed":1,"errors":0,"total":1} 
[2026-10-16 17:59:54] local.INFO: Acknowledgment sent {"connection_id":217075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:00:21] local.INFO: TCP Data received {"connection_id":220142,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:00:21] local.INFO: Processing buffer {"connection_id":220142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:00:21] local.INFO: IMEI packet received {"connection_id":220142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":220142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:00:25] local.INFO: TCP Data received {"connection_id":220142,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:00:25] local.INFO: Processing buffer {"connection_id":220142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:00:25] local.INFO: IMEI packet received {"connection_id":220142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":220142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:00:27] local.INFO: TCP Data received {"connection_id":220142,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 18:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 18:00:27] local.INFO: Processing buffer {"connection_id":220142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 18:00:27] local.INFO: Packet analysis {"connection_id":220142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 18:00:27] local.INFO: Extracted packet for processing {"connection_id":220142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 18:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791223296001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792153517000,"timestamp_ms":1792153517000,"timestamp_seconds":1792153517,"priority":1,"record_length":96,"hex_timestamp":"000001a144ac7bc8"} 
[2026-10-16 18:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 18:00:27] 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-10-16 18:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791223296001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791223296001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:00:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:00:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791223296001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":220142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:00:27] local.INFO: GPS data processed {"connection_id":220142,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:00:27] local.INFO: Acknowledgment sent {"connection_id":220142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:00:32] local.INFO: TCP Data received {"connection_id":220142,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 18:00:32] local.INFO: Processing buffer {"connection_id":220142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ac7bc8012d7fa40005afccb00007004e2c..."} 
[2026-10-16 18:00:32] local.INFO: Packet analysis {"connection_id":220142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 18:00:32] local.INFO: Extracted packet for processing {"connection_id":220142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ac"} 
[2026-10-16 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791223296001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792153517000,"timestamp_ms":1792153517000,"timestamp_seconds":1792153517,"priority":1,"record_length":96,"hex_timestamp":"000001a144ac7bc8"} 
[2026-10-16 18:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-10-16 18:00:32] 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-10-16 18:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":220142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":220142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":220142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791223296001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791223296001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:00:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:00:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791223296001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":220142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:00:32] local.INFO: GPS data processed {"connection_id":220142,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:00:32] local.INFO: Acknowledgment sent {"connection_id":220142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:01:15] local.INFO: TCP Data received {"connection_id":217077,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:01:15] local.INFO: Processing buffer {"connection_id":217077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:01:15] local.INFO: IMEI packet received {"connection_id":217077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":217077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:01:21] local.INFO: TCP Data received {"connection_id":217077,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:01:21] local.INFO: Processing buffer {"connection_id":217077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:01:21] local.INFO: IMEI packet received {"connection_id":217077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":217077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:01:23] local.INFO: TCP Data received {"connection_id":217077,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:01:23] local.INFO: Processing buffer {"connection_id":217077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:01:23] local.INFO: Packet analysis {"connection_id":217077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:01:23] local.INFO: Extracted packet for processing {"connection_id":217077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791300352001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792153818000,"timestamp_ms":1792153818000,"timestamp_seconds":1792153818,"priority":1,"record_length":96,"hex_timestamp":"000001a144b11390"} 
[2026-10-16 18:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18: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-10-16 18:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791300352001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791300352001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:01:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:01:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791300352001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":217077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:01:23] local.INFO: GPS data processed {"connection_id":217077,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:01:23] local.INFO: Acknowledgment sent {"connection_id":217077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:01:54] local.INFO: TCP Data received {"connection_id":217077,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:01:54] local.INFO: Processing buffer {"connection_id":217077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:01:54] local.INFO: Packet analysis {"connection_id":217077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:01:54] local.INFO: Extracted packet for processing {"connection_id":217077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791300352001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792153818000,"timestamp_ms":1792153818000,"timestamp_seconds":1792153818,"priority":1,"record_length":96,"hex_timestamp":"000001a144b11390"} 
[2026-10-16 18:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791300352001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791300352001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:01:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:01:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791300352001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":217077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:01:54] local.INFO: GPS data processed {"connection_id":217077,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:01:54] local.INFO: Acknowledgment sent {"connection_id":217077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:02:15] local.INFO: TCP Data received {"connection_id":216843,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:02:15] local.INFO: Processing buffer {"connection_id":216843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:02:15] local.INFO: IMEI packet received {"connection_id":216843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":216843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:02:21] local.INFO: TCP Data received {"connection_id":216843,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:02:21] local.INFO: Processing buffer {"connection_id":216843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:02:21] local.INFO: IMEI packet received {"connection_id":216843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":216843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:02:22] local.INFO: TCP Data received {"connection_id":216843,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:02:22] local.INFO: Processing buffer {"connection_id":216843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:02:22] local.INFO: Packet analysis {"connection_id":216843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:02:22] local.INFO: Extracted packet for processing {"connection_id":216843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:02:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791300352001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792153818000,"timestamp_ms":1792153818000,"timestamp_seconds":1792153818,"priority":1,"record_length":96,"hex_timestamp":"000001a144b11390"} 
[2026-10-16 18:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791300352001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791300352001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:02:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:02:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791300352001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":216843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:02:22] local.INFO: GPS data processed {"connection_id":216843,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:02:22] local.INFO: Acknowledgment sent {"connection_id":216843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:02:54] local.INFO: TCP Data received {"connection_id":216843,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:02:54] local.INFO: Processing buffer {"connection_id":216843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:02:54] local.INFO: Packet analysis {"connection_id":216843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:02:54] local.INFO: Extracted packet for processing {"connection_id":216843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791300352001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792153818000,"timestamp_ms":1792153818000,"timestamp_seconds":1792153818,"priority":1,"record_length":96,"hex_timestamp":"000001a144b11390"} 
[2026-10-16 18:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791300352001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791300352001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:02:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:02:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791300352001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":216843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:02:54] local.INFO: GPS data processed {"connection_id":216843,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:02:54] local.INFO: Acknowledgment sent {"connection_id":216843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:03:15] local.INFO: TCP Data received {"connection_id":217078,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:03:15] local.INFO: Processing buffer {"connection_id":217078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:03:15] local.INFO: IMEI packet received {"connection_id":217078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":217078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:03:21] local.INFO: TCP Data received {"connection_id":217078,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:03:21] local.INFO: Processing buffer {"connection_id":217078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:03:21] local.INFO: IMEI packet received {"connection_id":217078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":217078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:03:22] local.INFO: TCP Data received {"connection_id":217078,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:03:22] local.INFO: Processing buffer {"connection_id":217078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:03:22] local.INFO: Packet analysis {"connection_id":217078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:03:22] local.INFO: Extracted packet for processing {"connection_id":217078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791300352001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792153818000,"timestamp_ms":1792153818000,"timestamp_seconds":1792153818,"priority":1,"record_length":96,"hex_timestamp":"000001a144b11390"} 
[2026-10-16 18:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791300352001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791300352001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:03:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:03:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791300352001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":217078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:03:22] local.INFO: GPS data processed {"connection_id":217078,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:03:22] local.INFO: Acknowledgment sent {"connection_id":217078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:03:26] local.INFO: TCP Data received {"connection_id":220143,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:03:26] local.INFO: Processing buffer {"connection_id":220143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:03:26] local.INFO: IMEI packet received {"connection_id":220143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":220143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:03:50] local.INFO: TCP Data received {"connection_id":217079,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:03:50] local.INFO: Processing buffer {"connection_id":217079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:03:50] local.INFO: IMEI packet received {"connection_id":217079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":217079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:03:54] local.INFO: TCP Data received {"connection_id":217078,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:03:54] local.INFO: Processing buffer {"connection_id":217078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:03:54] local.INFO: Packet analysis {"connection_id":217078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:03:54] local.INFO: Extracted packet for processing {"connection_id":217078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791300352001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792153818000,"timestamp_ms":1792153818000,"timestamp_seconds":1792153818,"priority":1,"record_length":96,"hex_timestamp":"000001a144b11390"} 
[2026-10-16 18:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791300352001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791300352001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:03:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:03:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791300352001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":217078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:03:54] local.INFO: GPS data processed {"connection_id":217078,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:03:54] local.INFO: Acknowledgment sent {"connection_id":217078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:04:21] local.INFO: TCP Data received {"connection_id":218412,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:04:21] local.INFO: Processing buffer {"connection_id":218412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:04:21] local.INFO: IMEI packet received {"connection_id":218412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":218412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:04:26] local.INFO: TCP Data received {"connection_id":218412,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:04:26] local.INFO: Processing buffer {"connection_id":218412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:04:26] local.INFO: IMEI packet received {"connection_id":218412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":218412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:04:27] local.INFO: TCP Data received {"connection_id":218412,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:04:27] local.INFO: Processing buffer {"connection_id":218412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:04:27] local.INFO: Packet analysis {"connection_id":218412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:04:27] local.INFO: Extracted packet for processing {"connection_id":218412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791300352001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792153818000,"timestamp_ms":1792153818000,"timestamp_seconds":1792153818,"priority":1,"record_length":96,"hex_timestamp":"000001a144b11390"} 
[2026-10-16 18:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791300352001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791300352001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:04:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:04:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791300352001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":218412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:04:27] local.INFO: GPS data processed {"connection_id":218412,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:04:27] local.INFO: Acknowledgment sent {"connection_id":218412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:04:32] local.INFO: TCP Data received {"connection_id":218412,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:04:32] local.INFO: Processing buffer {"connection_id":218412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:04:32] local.INFO: Packet analysis {"connection_id":218412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:04:32] local.INFO: Extracted packet for processing {"connection_id":218412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791300352001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792153818000,"timestamp_ms":1792153818000,"timestamp_seconds":1792153818,"priority":1,"record_length":96,"hex_timestamp":"000001a144b11390"} 
[2026-10-16 18:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791300352001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791300352001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:04:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:04:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791300352001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":218412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:04:32] local.INFO: GPS data processed {"connection_id":218412,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:04:32] local.INFO: Acknowledgment sent {"connection_id":218412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:05:15] local.INFO: TCP Data received {"connection_id":217080,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:05:15] local.INFO: Processing buffer {"connection_id":217080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:05:15] local.INFO: IMEI packet received {"connection_id":217080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":217080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:05:21] local.INFO: TCP Data received {"connection_id":217080,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:05:21] local.INFO: Processing buffer {"connection_id":217080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:05:21] local.INFO: IMEI packet received {"connection_id":217080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":217080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:05:22] local.INFO: TCP Data received {"connection_id":217080,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:05:22] local.INFO: Processing buffer {"connection_id":217080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:05:22] local.INFO: Packet analysis {"connection_id":217080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:05:22] local.INFO: Extracted packet for processing {"connection_id":217080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:05:22] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791300352001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792153818000,"timestamp_ms":1792153818000,"timestamp_seconds":1792153818,"priority":1,"record_length":96,"hex_timestamp":"000001a144b11390"} 
[2026-10-16 18:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791300352001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791300352001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:05:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:05:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791300352001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":217080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:05:22] local.INFO: GPS data processed {"connection_id":217080,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:05:22] local.INFO: Acknowledgment sent {"connection_id":217080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:05:54] local.INFO: TCP Data received {"connection_id":217080,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:05:54] local.INFO: Processing buffer {"connection_id":217080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b11390012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:05:54] local.INFO: Packet analysis {"connection_id":217080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:05:54] local.INFO: Extracted packet for processing {"connection_id":217080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b1"} 
[2026-10-16 18:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791300352001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792153818000,"timestamp_ms":1792153818000,"timestamp_seconds":1792153818,"priority":1,"record_length":96,"hex_timestamp":"000001a144b11390"} 
[2026-10-16 18:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791300352001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791300352001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:05:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:05:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791300352001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":217080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:05:54] local.INFO: GPS data processed {"connection_id":217080,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:05:54] local.INFO: Acknowledgment sent {"connection_id":217080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:06:16] local.INFO: TCP Data received {"connection_id":218413,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:06:16] local.INFO: Processing buffer {"connection_id":218413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:06:16] local.INFO: IMEI packet received {"connection_id":218413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":218413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:06:17] local.INFO: TCP Data received {"connection_id":218413,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:06:17] local.INFO: Processing buffer {"connection_id":218413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:06:17] local.INFO: IMEI packet received {"connection_id":218413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":218413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:06:18] local.INFO: TCP Data received {"connection_id":218413,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b59bb8012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b59bb8012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:06:18] local.INFO: Processing buffer {"connection_id":218413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b59bb8012d7fa40005afccb00007004e2f..."} 
[2026-10-16 18:06:18] local.INFO: Packet analysis {"connection_id":218413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b5"} 
[2026-10-16 18:06:18] local.INFO: Extracted packet for processing {"connection_id":218413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b5"} 
[2026-10-16 18:06:18] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":95407280,"longitude_deg":76.3339776,"latitude_deg":9.540728,"altitude":7,"angle":78,"satellites":47,"speed":0,"hex_longitude":"2d7fa400","hex_latitude":"05afccb0","is_valid_coordinates":true} 
[2026-10-16 18:06: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-10-16 18:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791377408001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792154115000,"timestamp_ms":1792154115000,"timestamp_seconds":1792154115,"priority":1,"record_length":96,"hex_timestamp":"000001a144b59bb8"} 
[2026-10-16 18:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 18:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18: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-10-16 18:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":218413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":218413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":218413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791377408001,"66":25321,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791377408001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:06:18] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:06:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791377408001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":218413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:06:18] local.INFO: GPS data processed {"connection_id":218413,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:06:18] local.INFO: Acknowledgment sent {"connection_id":218413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:06:50] local.INFO: TCP Data received {"connection_id":218413,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b5a770012d7fa34005afccd8000700cd30..."} 
[2026-10-16 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b5a770012d7fa34005afccd8000700cd30..."} 
[2026-10-16 18:06:50] local.INFO: Processing buffer {"connection_id":218413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b5a770012d7fa34005afccd8000700cd30..."} 
[2026-10-16 18:06:50] local.INFO: Packet analysis {"connection_id":218413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b5"} 
[2026-10-16 18:06:50] local.INFO: Extracted packet for processing {"connection_id":218413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b5"} 
[2026-10-16 18:06:50] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407320,"longitude_deg":76.3339584,"latitude_deg":9.540732,"altitude":7,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afccd8","is_valid_coordinates":true} 
[2026-10-16 18:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791453440001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363421659136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792154118000,"timestamp_ms":1792154118000,"timestamp_seconds":1792154118,"priority":1,"record_length":96,"hex_timestamp":"000001a144b5a770"} 
[2026-10-16 18:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-10-16 18:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":218413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":218413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":218413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791453440001,"66":27615,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197476363421659136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791453440001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:06:50] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:06:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363421659136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791453440001,"power":27615,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197476363421659136}} 
[2026-10-16 18:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":218413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:06:50] local.INFO: GPS data processed {"connection_id":218413,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:06:50] local.INFO: Acknowledgment sent {"connection_id":218413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:07:16] local.INFO: TCP Data received {"connection_id":218414,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:07:16] local.INFO: Processing buffer {"connection_id":218414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:07:16] local.INFO: IMEI packet received {"connection_id":218414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":218414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:07:21] local.INFO: TCP Data received {"connection_id":218414,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:07:21] local.INFO: Processing buffer {"connection_id":218414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:07:21] local.INFO: IMEI packet received {"connection_id":218414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":218414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:07:23] local.INFO: TCP Data received {"connection_id":218414,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b5f978012d7fa34005afccd8000700cd2e..."} 
[2026-10-16 18:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b5f978012d7fa34005afccd8000700cd2e..."} 
[2026-10-16 18:07:23] local.INFO: Processing buffer {"connection_id":218414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b5f978012d7fa34005afccd8000700cd2e..."} 
[2026-10-16 18:07:23] local.INFO: Packet analysis {"connection_id":218414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b5"} 
[2026-10-16 18:07:23] local.INFO: Extracted packet for processing {"connection_id":218414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b5"} 
[2026-10-16 18:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407320,"longitude_deg":76.3339584,"latitude_deg":9.540732,"altitude":7,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afccd8","is_valid_coordinates":true} 
[2026-10-16 18:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791454208001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189136384,"note":"Value kept but may cause issues"} 
[2026-10-16 18:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792154139000,"timestamp_ms":1792154139000,"timestamp_seconds":1792154139,"priority":1,"record_length":96,"hex_timestamp":"000001a144b5f978"} 
[2026-10-16 18:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 18:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791454208001,"66":27745,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197265257189136384},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791454208001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:07:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:07:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189136384,"description":"Unknown IO ID 45"} 
[2026-10-16 18:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791454208001,"power":27745,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189136384}} 
[2026-10-16 18:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":218414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:07:23] local.INFO: GPS data processed {"connection_id":218414,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:07:23] local.INFO: Acknowledgment sent {"connection_id":218414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:07:54] local.INFO: TCP Data received {"connection_id":218414,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b64b80012d7fa34005afccd8000700cd30..."} 
[2026-10-16 18:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b64b80012d7fa34005afccd8000700cd30..."} 
[2026-10-16 18:07:54] local.INFO: Processing buffer {"connection_id":218414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b64b80012d7fa34005afccd8000700cd30..."} 
[2026-10-16 18:07:54] local.INFO: Packet analysis {"connection_id":218414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b6"} 
[2026-10-16 18:07:54] local.INFO: Extracted packet for processing {"connection_id":218414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b6"} 
[2026-10-16 18:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95407320,"longitude_deg":76.3339584,"latitude_deg":9.540732,"altitude":7,"angle":205,"satellites":48,"speed":0,"hex_longitude":"2d7fa340","hex_latitude":"05afccd8","is_valid_coordinates":true} 
[2026-10-16 18:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791459584001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205936574496768,"note":"Value kept but may cause issues"} 
[2026-10-16 18:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189136384,"note":"Value kept but may cause issues"} 
[2026-10-16 18:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792154160000,"timestamp_ms":1792154160000,"timestamp_seconds":1792154160,"priority":1,"record_length":96,"hex_timestamp":"000001a144b64b80"} 
[2026-10-16 18:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 18:07:54] 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-10-16 18:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791459584001,"66":27604,"236":206,"19":45568,"24":0,"16":15205936574496768,"45":9197265257189136384},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791459584001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:07:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:07:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205936574496768,"km_value":15205936574496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189136384,"description":"Unknown IO ID 45"} 
[2026-10-16 18:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791459584001,"power":27604,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9197265257189136384}} 
[2026-10-16 18:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":218414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:07:54] local.INFO: GPS data processed {"connection_id":218414,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:07:54] local.INFO: Acknowledgment sent {"connection_id":218414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:08:13] local.INFO: TCP Data received {"connection_id":220145,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:08:13] local.INFO: Processing buffer {"connection_id":220145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:08:13] local.INFO: IMEI packet received {"connection_id":220145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":220145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:08:15] local.INFO: TCP Data received {"connection_id":220145,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:08:15] local.INFO: Processing buffer {"connection_id":220145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:08:15] local.INFO: IMEI packet received {"connection_id":220145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":220145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:08:21] local.INFO: TCP Data received {"connection_id":220145,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:08:21] local.INFO: Processing buffer {"connection_id":220145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:08:21] local.INFO: IMEI packet received {"connection_id":220145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":220145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:08:22] local.INFO: TCP Data received {"connection_id":220145,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b662f0012d7fa24005afcaf8000100dc2f..."} 
[2026-10-16 18:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b662f0012d7fa24005afcaf8000100dc2f..."} 
[2026-10-16 18:08:22] local.INFO: Processing buffer {"connection_id":220145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b662f0012d7fa24005afcaf8000100dc2f..."} 
[2026-10-16 18:08:22] local.INFO: Packet analysis {"connection_id":220145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b6"} 
[2026-10-16 18:08:22] local.INFO: Extracted packet for processing {"connection_id":220145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b6"} 
[2026-10-16 18:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":95406840,"longitude_deg":76.3339328,"latitude_deg":9.540684,"altitude":1,"angle":220,"satellites":47,"speed":4,"hex_longitude":"2d7fa240","hex_latitude":"05afcaf8","is_valid_coordinates":true} 
[2026-10-16 18:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791464960001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205966639267840,"note":"Value kept but may cause issues"} 
[2026-10-16 18:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197265257189136384,"note":"Value kept but may cause issues"} 
[2026-10-16 18:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792154166000,"timestamp_ms":1792154166000,"timestamp_seconds":1792154166,"priority":1,"record_length":96,"hex_timestamp":"000001a144b662f0"} 
[2026-10-16 18:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:08: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-10-16 18:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 18:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791464960001,"66":27658,"236":206,"19":45568,"24":4,"16":15205966639267840,"45":9197265257189136384},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791464960001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:08:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:08:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205966639267840,"km_value":15205966639267.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197265257189136384,"description":"Unknown IO ID 45"} 
[2026-10-16 18:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791464960001,"power":27658,"unknown_236":206,"unknown_19":45568,"ignition":4,"odometer":null,"unknown_45":9197265257189136384}} 
[2026-10-16 18:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":220145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:08:22] local.INFO: GPS data processed {"connection_id":220145,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:08:22] local.INFO: Acknowledgment sent {"connection_id":220145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:08:54] local.INFO: TCP Data received {"connection_id":220145,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b67290012d7fa0c005afc910000100c630..."} 
[2026-10-16 18:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b67290012d7fa0c005afc910000100c630..."} 
[2026-10-16 18:08:54] local.INFO: Processing buffer {"connection_id":220145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b67290012d7fa0c005afc910000100c630..."} 
[2026-10-16 18:08:54] local.INFO: Packet analysis {"connection_id":220145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b6"} 
[2026-10-16 18:08:54] local.INFO: Extracted packet for processing {"connection_id":220145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b6"} 
[2026-10-16 18:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95406352,"longitude_deg":76.3338944,"latitude_deg":9.5406352,"altitude":1,"angle":198,"satellites":48,"speed":6,"hex_longitude":"2d7fa0c0","hex_latitude":"05afc910","is_valid_coordinates":true} 
[2026-10-16 18:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791466496001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15205996704038912,"note":"Value kept but may cause issues"} 
[2026-10-16 18:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782212302848,"note":"Value kept but may cause issues"} 
[2026-10-16 18:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792154170000,"timestamp_ms":1792154170000,"timestamp_seconds":1792154170,"priority":1,"record_length":96,"hex_timestamp":"000001a144b67290"} 
[2026-10-16 18:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-16 18:08:54] 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-10-16 18:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791466496001,"66":27745,"236":206,"19":45568,"24":6,"16":15205996704038912,"45":9196983782212302848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791466496001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:08:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:08:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15205996704038912,"km_value":15205996704038.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782212302848,"description":"Unknown IO ID 45"} 
[2026-10-16 18:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791466496001,"power":27745,"unknown_236":206,"unknown_19":45568,"ignition":6,"odometer":null,"unknown_45":9196983782212302848}} 
[2026-10-16 18:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":220145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:08:54] local.INFO: GPS data processed {"connection_id":220145,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:08:54] local.INFO: Acknowledgment sent {"connection_id":220145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:09:04] local.INFO: TCP Data received {"connection_id":218416,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:09:04] local.INFO: Processing buffer {"connection_id":218416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:09:04] local.INFO: IMEI packet received {"connection_id":218416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":218416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:09:26] local.INFO: TCP Data received {"connection_id":218417,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:09:26] local.INFO: Processing buffer {"connection_id":218417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:09:26] local.INFO: IMEI packet received {"connection_id":218417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":218417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:09:28] local.INFO: TCP Data received {"connection_id":218417,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:09:28] local.INFO: Processing buffer {"connection_id":218417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:09:28] local.INFO: IMEI packet received {"connection_id":218417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":218417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:09:29] local.INFO: TCP Data received {"connection_id":218417,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b881e8012d7f9dc005afb8300006010930..."} 
[2026-10-16 18:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b881e8012d7f9dc005afb8300006010930..."} 
[2026-10-16 18:09:29] local.INFO: Processing buffer {"connection_id":218417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b881e8012d7f9dc005afb8300006010930..."} 
[2026-10-16 18:09:29] local.INFO: Packet analysis {"connection_id":218417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b8"} 
[2026-10-16 18:09:29] local.INFO: Extracted packet for processing {"connection_id":218417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b8"} 
[2026-10-16 18:09:29] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95402032,"longitude_deg":76.3338176,"latitude_deg":9.5402032,"altitude":6,"angle":265,"satellites":48,"speed":4,"hex_longitude":"2d7f9dc0","hex_latitude":"05afb830","is_valid_coordinates":true} 
[2026-10-16 18:09: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-10-16 18:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791501824001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15206224337305600,"note":"Value kept but may cause issues"} 
[2026-10-16 18:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513560053760,"note":"Value kept but may cause issues"} 
[2026-10-16 18:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792154305000,"timestamp_ms":1792154305000,"timestamp_seconds":1792154305,"priority":1,"record_length":96,"hex_timestamp":"000001a144b881e8"} 
[2026-10-16 18:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 18:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:09: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-10-16 18:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791501824001,"66":27484,"236":206,"19":45568,"24":4,"16":15206224337305600,"45":9195787513560053760},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791501824001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:09:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:09:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15206224337305600,"km_value":15206224337305.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513560053760,"description":"Unknown IO ID 45"} 
[2026-10-16 18:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791501824001,"power":27484,"unknown_236":206,"unknown_19":45568,"ignition":4,"odometer":null,"unknown_45":9195787513560053760}} 
[2026-10-16 18:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":218417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:09:29] local.INFO: GPS data processed {"connection_id":218417,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:09:29] local.INFO: Acknowledgment sent {"connection_id":218417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:09:50] local.INFO: TCP Data received {"connection_id":217081,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:09:50] local.INFO: Processing buffer {"connection_id":217081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:09:50] local.INFO: IMEI packet received {"connection_id":217081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":217081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:10:00] local.INFO: TCP Data received {"connection_id":218417,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b889b8012d7f9c0005afb8580005011830..."} 
[2026-10-16 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b889b8012d7f9c0005afb8580005011830..."} 
[2026-10-16 18:10:00] local.INFO: Processing buffer {"connection_id":218417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b889b8012d7f9c0005afb8580005011830..."} 
[2026-10-16 18:10:00] local.INFO: Packet analysis {"connection_id":218417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b8"} 
[2026-10-16 18:10:00] local.INFO: Extracted packet for processing {"connection_id":218417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b8"} 
[2026-10-16 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763337728,"raw_latitude":95402072,"longitude_deg":76.3337728,"latitude_deg":9.5402072,"altitude":5,"angle":280,"satellites":48,"speed":11,"hex_longitude":"2d7f9c00","hex_latitude":"05afb858","is_valid_coordinates":true} 
[2026-10-16 18:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791502080001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15206245812142080,"note":"Value kept but may cause issues"} 
[2026-10-16 18:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144815874048,"note":"Value kept but may cause issues"} 
[2026-10-16 18:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792154307000,"timestamp_ms":1792154307000,"timestamp_seconds":1792154307,"priority":1,"record_length":96,"hex_timestamp":"000001a144b889b8"} 
[2026-10-16 18:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 18:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":218417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":218417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":218417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791502080001,"66":27376,"236":206,"19":45568,"24":11,"16":15206245812142080,"45":9195717144815874048},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791502080001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:10:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:10:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15206245812142080,"km_value":15206245812142.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144815874048,"description":"Unknown IO ID 45"} 
[2026-10-16 18:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791502080001,"power":27376,"unknown_236":206,"unknown_19":45568,"ignition":11,"odometer":null,"unknown_45":9195717144815874048}} 
[2026-10-16 18:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":218417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:10:00] local.INFO: GPS data processed {"connection_id":218417,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:10:00] local.INFO: Acknowledgment sent {"connection_id":218417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:10:16] local.INFO: TCP Data received {"connection_id":216846,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:10:16] local.INFO: Processing buffer {"connection_id":216846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:10:16] local.INFO: IMEI packet received {"connection_id":216846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":216846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:10:21] local.INFO: TCP Data received {"connection_id":216846,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:10:21] local.INFO: Processing buffer {"connection_id":216846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:10:21] local.INFO: IMEI packet received {"connection_id":216846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":216846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:10:22] local.INFO: TCP Data received {"connection_id":216846,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144b89958012d7f960005afb8d80005010b2e..."} 
[2026-10-16 18:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144b89958012d7f960005afb8d80005010b2e..."} 
[2026-10-16 18:10:22] local.INFO: Processing buffer {"connection_id":216846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144b89958012d7f960005afb8d80005010b2e..."} 
[2026-10-16 18:10:22] local.INFO: Packet analysis {"connection_id":216846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144b8"} 
[2026-10-16 18:10:22] local.INFO: Extracted packet for processing {"connection_id":216846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144b8"} 
[2026-10-16 18:10:22] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95402200,"longitude_deg":76.3336192,"latitude_deg":9.54022,"altitude":5,"angle":267,"satellites":46,"speed":16,"hex_longitude":"2d7f9600","hex_latitude":"05afb8d8","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791502592001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15206323121553408,"note":"Value kept but may cause issues"} 
[2026-10-16 18:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195224563606640640,"note":"Value kept but may cause issues"} 
[2026-10-16 18:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792154311000,"timestamp_ms":1792154311000,"timestamp_seconds":1792154311,"priority":1,"record_length":96,"hex_timestamp":"000001a144b89958"} 
[2026-10-16 18:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:10: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-10-16 18: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 18:10:22] 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-10-16 18: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-10-16 18:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791502592001,"66":27484,"236":206,"19":45568,"24":16,"16":15206323121553408,"45":9195224563606640640},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-10-16 18:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791502592001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:10:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-10-16 18:10:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15206323121553408,"km_value":15206323121553.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195224563606640640,"description":"Unknown IO ID 45"} 
[2026-10-16 18:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791502592001,"power":27484,"unknown_236":206,"unknown_19":45568,"ignition":16,"odometer":null,"unknown_45":9195224563606640640}} 
[2026-10-16 18:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":216846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:10:22] local.INFO: GPS data processed {"connection_id":216846,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:10:22] local.INFO: Acknowledgment sent {"connection_id":216846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:10:55] local.INFO: TCP Data received {"connection_id":216846,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ba1058012d7f260005af6ac80004014e2e..."} 
[2026-10-16 18:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ba1058012d7f260005af6ac80004014e2e..."} 
[2026-10-16 18:10:55] local.INFO: Processing buffer {"connection_id":216846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ba1058012d7f260005af6ac80004014e2e..."} 
[2026-10-16 18:10:55] local.INFO: Packet analysis {"connection_id":216846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ba"} 
[2026-10-16 18:10:55] local.INFO: Extracted packet for processing {"connection_id":216846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ba"} 
[2026-10-16 18:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763307520,"raw_latitude":95382216,"longitude_deg":76.330752,"latitude_deg":9.5382216,"altitude":4,"angle":334,"satellites":46,"speed":25,"hex_longitude":"2d7f2600","hex_latitude":"05af6ac8","is_valid_coordinates":true} 
[2026-10-16 18:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791526400001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15208990296244224,"note":"Value kept but may cause issues"} 
[2026-10-16 18:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163347522488033280,"note":"Value kept but may cause issues"} 
[2026-10-16 18:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792154407000,"timestamp_ms":1792154407000,"timestamp_seconds":1792154407,"priority":1,"record_length":96,"hex_timestamp":"000001a144ba1058"} 
[2026-10-16 18:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 18:10:55] 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-10-16 18:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791526400001,"66":27800,"241":206,"19":45568,"24":25,"16":15208990296244224,"45":9163347522488033280},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,19,24,16,45]} 
[2026-10-16 18:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791526400001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:10:55] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-16 18:10:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15208990296244224,"km_value":15208990296244.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163347522488033280,"description":"Unknown IO ID 45"} 
[2026-10-16 18:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791526400001,"power":27800,"unknown_241":206,"unknown_19":45568,"ignition":25,"odometer":null,"unknown_45":9163347522488033280}} 
[2026-10-16 18:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":216846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:10:55] local.INFO: GPS data processed {"connection_id":216846,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:10:55] local.INFO: Acknowledgment sent {"connection_id":216846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:11:16] local.INFO: TCP Data received {"connection_id":217082,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:11:16] local.INFO: Processing buffer {"connection_id":217082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:11:16] local.INFO: IMEI packet received {"connection_id":217082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":217082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:11:18] local.INFO: TCP Data received {"connection_id":217082,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:11:18] local.INFO: Processing buffer {"connection_id":217082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:11:18] local.INFO: IMEI packet received {"connection_id":217082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":217082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:11:20] local.INFO: TCP Data received {"connection_id":217082,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:11:20] local.INFO: Processing buffer {"connection_id":217082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:11:20] local.INFO: IMEI packet received {"connection_id":217082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":217082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:11:22] local.INFO: TCP Data received {"connection_id":217082,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ba1828012d7f234005af6f080004013d2d..."} 
[2026-10-16 18:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ba1828012d7f234005af6f080004013d2d..."} 
[2026-10-16 18:11:22] local.INFO: Processing buffer {"connection_id":217082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ba1828012d7f234005af6f080004013d2d..."} 
[2026-10-16 18:11:22] local.INFO: Packet analysis {"connection_id":217082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ba"} 
[2026-10-16 18:11:22] local.INFO: Extracted packet for processing {"connection_id":217082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ba"} 
[2026-10-16 18:11:22] local.INFO: GPS Element Parsed {"raw_longitude":763306816,"raw_latitude":95383304,"longitude_deg":76.3306816,"latitude_deg":9.5383304,"altitude":4,"angle":317,"satellites":45,"speed":24,"hex_longitude":"2d7f2340","hex_latitude":"05af6f08","is_valid_coordinates":true} 
[2026-10-16 18:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791528192001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15209054720753664,"note":"Value kept but may cause issues"} 
[2026-10-16 18:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162010516349700096,"note":"Value kept but may cause issues"} 
[2026-10-16 18:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792154409000,"timestamp_ms":1792154409000,"timestamp_seconds":1792154409,"priority":1,"record_length":96,"hex_timestamp":"000001a144ba1828"} 
[2026-10-16 18:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:11: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-10-16 18:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-10-16 18:11:22] 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-10-16 18:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791528192001,"66":27658,"241":206,"19":45568,"24":24,"16":15209054720753664,"45":9162010516349700096},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,19,24,16,45]} 
[2026-10-16 18:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791528192001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:11:22] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-16 18:11:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15209054720753664,"km_value":15209054720753.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162010516349700096,"description":"Unknown IO ID 45"} 
[2026-10-16 18:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791528192001,"power":27658,"unknown_241":206,"unknown_19":45568,"ignition":24,"odometer":null,"unknown_45":9162010516349700096}} 
[2026-10-16 18:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":217082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:11:22] local.INFO: GPS data processed {"connection_id":217082,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:11:22] local.INFO: Acknowledgment sent {"connection_id":217082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:11:27] local.INFO: TCP Data received {"connection_id":217082,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ba1ff8012d7f200005af71e0000501302c..."} 
[2026-10-16 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ba1ff8012d7f200005af71e0000501302c..."} 
[2026-10-16 18:11:27] local.INFO: Processing buffer {"connection_id":217082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ba1ff8012d7f200005af71e0000501302c..."} 
[2026-10-16 18:11:27] local.INFO: Packet analysis {"connection_id":217082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ba"} 
[2026-10-16 18:11:27] local.INFO: Extracted packet for processing {"connection_id":217082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ba"} 
[2026-10-16 18:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763305984,"raw_latitude":95384032,"longitude_deg":76.3305984,"latitude_deg":9.5384032,"altitude":5,"angle":304,"satellites":44,"speed":18,"hex_longitude":"2d7f2000","hex_latitude":"05af71e0","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791528704001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15209106260361216,"note":"Value kept but may cause issues"} 
[2026-10-16 18:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161236460164024320,"note":"Value kept but may cause issues"} 
[2026-10-16 18:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792154411000,"timestamp_ms":1792154411000,"timestamp_seconds":1792154411,"priority":1,"record_length":96,"hex_timestamp":"000001a144ba1ff8"} 
[2026-10-16 18:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-16 18:11:27] 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-10-16 18: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-10-16 18:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791528704001,"66":27713,"241":206,"19":45568,"24":18,"16":15209106260361216,"45":9161236460164024320},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,19,24,16,45]} 
[2026-10-16 18:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791528704001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:11:27] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-16 18:11:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15209106260361216,"km_value":15209106260361.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161236460164024320,"description":"Unknown IO ID 45"} 
[2026-10-16 18:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791528704001,"power":27713,"unknown_241":206,"unknown_19":45568,"ignition":18,"odometer":null,"unknown_45":9161236460164024320}} 
[2026-10-16 18:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":217082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:11:27] local.INFO: GPS data processed {"connection_id":217082,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:11:27] local.INFO: Acknowledgment sent {"connection_id":217082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:11:58] local.INFO: TCP Data received {"connection_id":217082,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ba2f98012d7f198005af75d0000601242d..."} 
[2026-10-16 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ba2f98012d7f198005af75d0000601242d..."} 
[2026-10-16 18:11:58] local.INFO: Processing buffer {"connection_id":217082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ba2f98012d7f198005af75d0000601242d..."} 
[2026-10-16 18:11:58] local.INFO: Packet analysis {"connection_id":217082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ba"} 
[2026-10-16 18:11:58] local.INFO: Extracted packet for processing {"connection_id":217082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ba"} 
[2026-10-16 18:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763304320,"raw_latitude":95385040,"longitude_deg":76.330432,"latitude_deg":9.538504,"altitude":6,"angle":292,"satellites":45,"speed":17,"hex_longitude":"2d7f1980","hex_latitude":"05af75d0","is_valid_coordinates":true} 
[2026-10-16 18:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791529216001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15209200749641728,"note":"Value kept but may cause issues"} 
[2026-10-16 18:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160321666489901056,"note":"Value kept but may cause issues"} 
[2026-10-16 18:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792154415000,"timestamp_ms":1792154415000,"timestamp_seconds":1792154415,"priority":1,"record_length":96,"hex_timestamp":"000001a144ba2f98"} 
[2026-10-16 18:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 18:11:58] 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-10-16 18:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791529216001,"66":27691,"241":206,"19":45568,"24":17,"16":15209200749641728,"45":9160321666489901056},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,19,24,16,45]} 
[2026-10-16 18:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791529216001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:11:58] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-10-16 18:11:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15209200749641728,"km_value":15209200749641.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160321666489901056,"description":"Unknown IO ID 45"} 
[2026-10-16 18:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791529216001,"power":27691,"unknown_241":206,"unknown_19":45568,"ignition":17,"odometer":null,"unknown_45":9160321666489901056}} 
[2026-10-16 18:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":217082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:11:58] local.INFO: GPS data processed {"connection_id":217082,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:11:58] local.INFO: Acknowledgment sent {"connection_id":217082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:12:13] local.INFO: TCP Data received {"connection_id":218418,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:13] local.INFO: Processing buffer {"connection_id":218418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:13] local.INFO: IMEI packet received {"connection_id":218418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":218418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:12:15] local.INFO: TCP Data received {"connection_id":218418,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:15] local.INFO: Processing buffer {"connection_id":218418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:15] local.INFO: IMEI packet received {"connection_id":218418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":218418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:12:16] local.INFO: TCP Data received {"connection_id":218418,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:16] local.INFO: Processing buffer {"connection_id":218418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:16] local.INFO: IMEI packet received {"connection_id":218418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":218418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:12:20] local.INFO: TCP Data received {"connection_id":218418,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:20] local.INFO: Processing buffer {"connection_id":218418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:12:20] local.INFO: IMEI packet received {"connection_id":218418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":218418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:12:21] local.INFO: TCP Data received {"connection_id":218418,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144bb4cc0012d7e9a4005af75e80005013923..."} 
[2026-10-16 18:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144bb4cc0012d7e9a4005af75e80005013923..."} 
[2026-10-16 18:12:21] local.INFO: Processing buffer {"connection_id":218418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144bb4cc0012d7e9a4005af75e80005013923..."} 
[2026-10-16 18:12:21] local.INFO: Packet analysis {"connection_id":218418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144bb"} 
[2026-10-16 18:12:21] local.INFO: Extracted packet for processing {"connection_id":218418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144bb"} 
[2026-10-16 18:12:21] local.INFO: GPS Element Parsed {"raw_longitude":763271744,"raw_latitude":95385064,"longitude_deg":76.3271744,"latitude_deg":9.5385064,"altitude":5,"angle":313,"satellites":35,"speed":2,"hex_longitude":"2d7e9a40","hex_latitude":"05af75e8","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791548160001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15210794182508544,"note":"Value kept but may cause issues"} 
[2026-10-16 18:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122744757099257856,"note":"Value kept but may cause issues"} 
[2026-10-16 18:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792154488000,"timestamp_ms":1792154488000,"timestamp_seconds":1792154488,"priority":1,"record_length":96,"hex_timestamp":"000001a144bb4cc0"} 
[2026-10-16 18:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:12: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-10-16 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 18:12:21] 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-10-16 18: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-10-16 18:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":218418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":218418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":218418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791548160001,"66":27658,"141":206,"19":45568,"24":2,"16":15210794182508544,"45":9122744757099257856},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-10-16 18:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791548160001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:12:21] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-10-16 18:12:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15210794182508544,"km_value":15210794182508.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122744757099257856,"description":"Unknown IO ID 45"} 
[2026-10-16 18:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791548160001,"power":27658,"unknown_141":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9122744757099257856}} 
[2026-10-16 18:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":218418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:12:21] local.INFO: GPS data processed {"connection_id":218418,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:12:21] local.INFO: Acknowledgment sent {"connection_id":218418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:12:52] local.INFO: TCP Data received {"connection_id":218418,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144bb50a8012d7e9a4005af76200005015323..."} 
[2026-10-16 18:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144bb50a8012d7e9a4005af76200005015323..."} 
[2026-10-16 18:12:52] local.INFO: Processing buffer {"connection_id":218418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144bb50a8012d7e9a4005af76200005015323..."} 
[2026-10-16 18:12:52] local.INFO: Packet analysis {"connection_id":218418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144bb"} 
[2026-10-16 18:12:52] local.INFO: Extracted packet for processing {"connection_id":218418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144bb"} 
[2026-10-16 18:12:52] local.INFO: GPS Element Parsed {"raw_longitude":763271744,"raw_latitude":95385120,"longitude_deg":76.3271744,"latitude_deg":9.538512,"altitude":5,"angle":339,"satellites":35,"speed":2,"hex_longitude":"2d7e9a40","hex_latitude":"05af7620","is_valid_coordinates":true} 
[2026-10-16 18:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791548928001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15210798477475840,"note":"Value kept but may cause issues"} 
[2026-10-16 18:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122674388355115008,"note":"Value kept but may cause issues"} 
[2026-10-16 18:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792154489000,"timestamp_ms":1792154489000,"timestamp_seconds":1792154489,"priority":1,"record_length":96,"hex_timestamp":"000001a144bb50a8"} 
[2026-10-16 18:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:12: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-10-16 18:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-16 18:12:52] 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-10-16 18:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":218418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":218418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":218418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791548928001,"66":27658,"141":206,"19":45568,"24":2,"16":15210798477475840,"45":9122674388355115008},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,19,24,16,45]} 
[2026-10-16 18:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791548928001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:12:52] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-10-16 18:12:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15210798477475840,"km_value":15210798477475.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122674388355115008,"description":"Unknown IO ID 45"} 
[2026-10-16 18:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791548928001,"power":27658,"unknown_141":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":9122674388355115008}} 
[2026-10-16 18:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":218418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:12:52] local.INFO: GPS data processed {"connection_id":218418,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:12:52] local.INFO: Acknowledgment sent {"connection_id":218418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:13:21] local.INFO: TCP Data received {"connection_id":217083,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:13:21] local.INFO: Processing buffer {"connection_id":217083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:13:21] local.INFO: IMEI packet received {"connection_id":217083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":217083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:13:21] local.INFO: TCP Data received {"connection_id":217083,"ip":"117.225.177.58","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 18:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217083,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 18:13:21] local.INFO: Processing buffer {"connection_id":217083,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 18:13:21] local.INFO: IMEI packet received {"connection_id":217083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":217083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:13:23] local.INFO: TCP Data received {"connection_id":217083,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:13:23] local.INFO: Processing buffer {"connection_id":217083,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 18:13:23] local.INFO: IMEI packet received {"connection_id":217083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":217083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:15:23] local.INFO: TCP Data received {"connection_id":220151,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:15:23] local.INFO: Processing buffer {"connection_id":220151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:15:23] local.INFO: IMEI packet received {"connection_id":220151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":220151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:15:55] local.INFO: TCP Data received {"connection_id":217084,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:15:55] local.INFO: Processing buffer {"connection_id":217084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:15:55] local.INFO: IMEI packet received {"connection_id":217084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":217084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:18:25] local.INFO: TCP Data received {"connection_id":218419,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:18:25] local.INFO: Processing buffer {"connection_id":218419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:18:25] local.INFO: IMEI packet received {"connection_id":218419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":218419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:18:26] local.INFO: TCP Data received {"connection_id":218419,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c0b390012d7eba4005b26660000600012f..."} 
[2026-10-16 18:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c0b390012d7eba4005b26660000600012f..."} 
[2026-10-16 18:18:26] local.INFO: Processing buffer {"connection_id":218419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c0b390012d7eba4005b26660000600012f..."} 
[2026-10-16 18:18:26] local.INFO: Packet analysis {"connection_id":218419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c0"} 
[2026-10-16 18:18:26] local.INFO: Extracted packet for processing {"connection_id":218419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c0"} 
[2026-10-16 18:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763279936,"raw_latitude":95577696,"longitude_deg":76.3279936,"latitude_deg":9.5577696,"altitude":6,"angle":1,"satellites":47,"speed":48,"hex_longitude":"2d7eba40","hex_latitude":"05b26660","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791637504001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15220290355200000,"note":"Value kept but may cause issues"} 
[2026-10-16 18:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131118637703391232,"note":"Value kept but may cause issues"} 
[2026-10-16 18:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792154842000,"timestamp_ms":1792154842000,"timestamp_seconds":1792154842,"priority":1,"record_length":96,"hex_timestamp":"000001a144c0b390"} 
[2026-10-16 18:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:18: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-10-16 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-16 18:18:26] 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-10-16 18: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-10-16 18:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791637504001,"66":27767,"55":206,"19":45568,"24":48,"16":15220290355200000,"45":9131118637703391232},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 18:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791637504001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:18:26] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 18:18:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15220290355200000,"km_value":15220290355200,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131118637703391232,"description":"Unknown IO ID 45"} 
[2026-10-16 18:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791637504001,"power":27767,"unknown_55":206,"unknown_19":45568,"ignition":48,"odometer":null,"unknown_45":9131118637703391232}} 
[2026-10-16 18:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":218419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:18:26] local.INFO: GPS data processed {"connection_id":218419,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:18:26] local.INFO: Acknowledgment sent {"connection_id":218419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:18:58] local.INFO: TCP Data received {"connection_id":218419,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c0cee8012d7ebb0005b28948000700002f..."} 
[2026-10-16 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c0cee8012d7ebb0005b28948000700002f..."} 
[2026-10-16 18:18:58] local.INFO: Processing buffer {"connection_id":218419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c0cee8012d7ebb0005b28948000700002f..."} 
[2026-10-16 18:18:58] local.INFO: Packet analysis {"connection_id":218419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c0"} 
[2026-10-16 18:18:58] local.INFO: Extracted packet for processing {"connection_id":218419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c0"} 
[2026-10-16 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763280128,"raw_latitude":95586632,"longitude_deg":76.3280128,"latitude_deg":9.5586632,"altitude":7,"angle":0,"satellites":47,"speed":52,"hex_longitude":"2d7ebb00","hex_latitude":"05b28948","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791639552001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15220724146896896,"note":"Value kept but may cause issues"} 
[2026-10-16 18:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131681587659169792,"note":"Value kept but may cause issues"} 
[2026-10-16 18:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792154849000,"timestamp_ms":1792154849000,"timestamp_seconds":1792154849,"priority":1,"record_length":96,"hex_timestamp":"000001a144c0cee8"} 
[2026-10-16 18:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 18:18:58] 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-10-16 18: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-10-16 18:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791639552001,"66":27767,"55":206,"19":45568,"24":52,"16":15220724146896896,"45":9131681587659169792},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 18:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791639552001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:18:58] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 18:18:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15220724146896896,"km_value":15220724146896.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131681587659169792,"description":"Unknown IO ID 45"} 
[2026-10-16 18:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791639552001,"power":27767,"unknown_55":206,"unknown_19":45568,"ignition":52,"odometer":null,"unknown_45":9131681587659169792}} 
[2026-10-16 18:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":218419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:18:58] local.INFO: GPS data processed {"connection_id":218419,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:18:58] local.INFO: Acknowledgment sent {"connection_id":218419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:19:16] local.INFO: TCP Data received {"connection_id":217089,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:19:16] local.INFO: Processing buffer {"connection_id":217089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:19:16] local.INFO: IMEI packet received {"connection_id":217089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":217089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:19:17] local.INFO: TCP Data received {"connection_id":217089,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:19:17] local.INFO: Processing buffer {"connection_id":217089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:19:17] local.INFO: IMEI packet received {"connection_id":217089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":217089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:19:18] local.INFO: TCP Data received {"connection_id":217089,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c0ea40012d7eba0005b2adb0000701652e..."} 
[2026-10-16 18:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c0ea40012d7eba0005b2adb0000701652e..."} 
[2026-10-16 18:19:18] local.INFO: Processing buffer {"connection_id":217089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c0ea40012d7eba0005b2adb0000701652e..."} 
[2026-10-16 18:19:18] local.INFO: Packet analysis {"connection_id":217089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c0"} 
[2026-10-16 18:19:18] local.INFO: Extracted packet for processing {"connection_id":217089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c0"} 
[2026-10-16 18:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763279872,"raw_latitude":95595952,"longitude_deg":76.3279872,"latitude_deg":9.5595952,"altitude":7,"angle":357,"satellites":46,"speed":53,"hex_longitude":"2d7eba00","hex_latitude":"05b2adb0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 18:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791641344001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15221179413430272,"note":"Value kept but may cause issues"} 
[2026-10-16 18:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131892693893990400,"note":"Value kept but may cause issues"} 
[2026-10-16 18:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792154856000,"timestamp_ms":1792154856000,"timestamp_seconds":1792154856,"priority":1,"record_length":96,"hex_timestamp":"000001a144c0ea40"} 
[2026-10-16 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-10-16 18:19: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-10-16 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 18:19:18] 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-10-16 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-10-16 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-10-16 18:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":217089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":217089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":217089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791641344001,"66":27745,"55":206,"19":45568,"24":53,"16":15221179413430272,"45":9131892693893990400},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 18:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791641344001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:19:18] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 18:19:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15221179413430272,"km_value":15221179413430.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131892693893990400,"description":"Unknown IO ID 45"} 
[2026-10-16 18:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791641344001,"power":27745,"unknown_55":206,"unknown_19":45568,"ignition":53,"odometer":null,"unknown_45":9131892693893990400}} 
[2026-10-16 18:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":217089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:19:18] local.INFO: GPS data processed {"connection_id":217089,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:19:18] local.INFO: Acknowledgment sent {"connection_id":217089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:19:21] local.INFO: TCP Data received {"connection_id":217089,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c10598012d7eb88005b2d300000701672e..."} 
[2026-10-16 18:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c10598012d7eb88005b2d300000701672e..."} 
[2026-10-16 18:19:21] local.INFO: Processing buffer {"connection_id":217089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c10598012d7eb88005b2d300000701672e..."} 
[2026-10-16 18:19:21] local.INFO: Packet analysis {"connection_id":217089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c1"} 
[2026-10-16 18:19:21] local.INFO: Extracted packet for processing {"connection_id":217089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c1"} 
[2026-10-16 18:19:21] local.INFO: GPS Element Parsed {"raw_longitude":763279488,"raw_latitude":95605504,"longitude_deg":76.3279488,"latitude_deg":9.5605504,"altitude":7,"angle":359,"satellites":46,"speed":55,"hex_longitude":"2d7eb880","hex_latitude":"05b2d300","is_valid_coordinates":true} 
[2026-10-16 18:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791643136001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15221638974930944,"note":"Value kept but may cause issues"} 
[2026-10-16 18:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131611218919665664,"note":"Value kept but may cause issues"} 
[2026-10-16 18:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792154863000,"timestamp_ms":1792154863000,"timestamp_seconds":1792154863,"priority":1,"record_length":96,"hex_timestamp":"000001a144c10598"} 
[2026-10-16 18:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:19: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-10-16 18:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 18:19:21] 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-10-16 18:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791643136001,"66":27745,"55":206,"19":45568,"24":55,"16":15221638974930944,"45":9131611218919665664},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 18:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791643136001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:19:21] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 18:19:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15221638974930944,"km_value":15221638974930.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131611218919665664,"description":"Unknown IO ID 45"} 
[2026-10-16 18:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791643136001,"power":27745,"unknown_55":206,"unknown_19":45568,"ignition":55,"odometer":null,"unknown_45":9131611218919665664}} 
[2026-10-16 18:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":217089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:19:21] local.INFO: GPS data processed {"connection_id":217089,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:19:21] local.INFO: Acknowledgment sent {"connection_id":217089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:19:53] local.INFO: TCP Data received {"connection_id":217089,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c120f0012d7eb7c005b2f9f8000701652e..."} 
[2026-10-16 18:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c120f0012d7eb7c005b2f9f8000701652e..."} 
[2026-10-16 18:19:53] local.INFO: Processing buffer {"connection_id":217089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c120f0012d7eb7c005b2f9f8000701652e..."} 
[2026-10-16 18:19:53] local.INFO: Packet analysis {"connection_id":217089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c1"} 
[2026-10-16 18:19:53] local.INFO: Extracted packet for processing {"connection_id":217089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c1"} 
[2026-10-16 18:19:53] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":95615480,"longitude_deg":76.3279296,"latitude_deg":9.561548,"altitude":7,"angle":357,"satellites":46,"speed":57,"hex_longitude":"2d7eb7c0","hex_latitude":"05b2f9f8","is_valid_coordinates":true} 
[2026-10-16 18:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791644928001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15222124306235392,"note":"Value kept but may cause issues"} 
[2026-10-16 18:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131189006457044992,"note":"Value kept but may cause issues"} 
[2026-10-16 18:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792154870000,"timestamp_ms":1792154870000,"timestamp_seconds":1792154870,"priority":1,"record_length":96,"hex_timestamp":"000001a144c120f0"} 
[2026-10-16 18:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:19: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-10-16 18:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 18:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":217089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":217089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":217089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791644928001,"66":27658,"55":206,"19":45568,"24":57,"16":15222124306235392,"45":9131189006457044992},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 18:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791644928001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:19:53] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 18:19:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15222124306235392,"km_value":15222124306235.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131189006457044992,"description":"Unknown IO ID 45"} 
[2026-10-16 18:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791644928001,"power":27658,"unknown_55":206,"unknown_19":45568,"ignition":57,"odometer":null,"unknown_45":9131189006457044992}} 
[2026-10-16 18:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":217089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:19:53] local.INFO: GPS data processed {"connection_id":217089,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:19:53] local.INFO: Acknowledgment sent {"connection_id":217089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:20:15] local.INFO: TCP Data received {"connection_id":220152,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:20:15] local.INFO: Processing buffer {"connection_id":220152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:20:15] local.INFO: IMEI packet received {"connection_id":220152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":220152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:20:21] local.INFO: TCP Data received {"connection_id":220152,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:20:21] local.INFO: Processing buffer {"connection_id":220152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:20:21] local.INFO: IMEI packet received {"connection_id":220152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":220152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:20:22] local.INFO: TCP Data received {"connection_id":220152,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c24db8012d7ea9c005b49bb0000601632e..."} 
[2026-10-16 18:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c24db8012d7ea9c005b49bb0000601632e..."} 
[2026-10-16 18:20:22] local.INFO: Processing buffer {"connection_id":220152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c24db8012d7ea9c005b49bb0000601632e..."} 
[2026-10-16 18:20:22] local.INFO: Packet analysis {"connection_id":220152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c2"} 
[2026-10-16 18:20:22] local.INFO: Extracted packet for processing {"connection_id":220152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c2"} 
[2026-10-16 18:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763275712,"raw_latitude":95722416,"longitude_deg":76.3275712,"latitude_deg":9.5722416,"altitude":6,"angle":355,"satellites":46,"speed":55,"hex_longitude":"2d7ea9c0","hex_latitude":"05b49bb0","is_valid_coordinates":true} 
[2026-10-16 18:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791664640001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15227312626728960,"note":"Value kept but may cause issues"} 
[2026-10-16 18:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127670569275623424,"note":"Value kept but may cause issues"} 
[2026-10-16 18:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792154947000,"timestamp_ms":1792154947000,"timestamp_seconds":1792154947,"priority":1,"record_length":96,"hex_timestamp":"000001a144c24db8"} 
[2026-10-16 18:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:20: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-10-16 18:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-10-16 18:20:22] 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-10-16 18:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791664640001,"66":27604,"199":206,"19":45568,"24":55,"16":15227312626728960,"45":9127670569275623424},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-10-16 18:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791664640001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:20:22] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-16 18:20:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15227312626728960,"km_value":15227312626728.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127670569275623424,"description":"Unknown IO ID 45"} 
[2026-10-16 18:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791664640001,"power":27604,"trip_odometer":0.206,"unknown_19":45568,"ignition":55,"odometer":null,"unknown_45":9127670569275623424}} 
[2026-10-16 18:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":220152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:20:22] local.INFO: GPS data processed {"connection_id":220152,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:20:22] local.INFO: Acknowledgment sent {"connection_id":220152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:20:54] local.INFO: TCP Data received {"connection_id":220152,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c26910012d7ea70005b4c180000401642d..."} 
[2026-10-16 18:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c26910012d7ea70005b4c180000401642d..."} 
[2026-10-16 18:20:54] local.INFO: Processing buffer {"connection_id":220152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c26910012d7ea70005b4c180000401642d..."} 
[2026-10-16 18:20:54] local.INFO: Packet analysis {"connection_id":220152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c2"} 
[2026-10-16 18:20:54] local.INFO: Extracted packet for processing {"connection_id":220152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c2"} 
[2026-10-16 18:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763275008,"raw_latitude":95732096,"longitude_deg":76.3275008,"latitude_deg":9.5732096,"altitude":4,"angle":356,"satellites":45,"speed":53,"hex_longitude":"2d7ea700","hex_latitude":"05b4c180","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791666432001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15227785073131520,"note":"Value kept but may cause issues"} 
[2026-10-16 18:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127037250580492288,"note":"Value kept but may cause issues"} 
[2026-10-16 18:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792154954000,"timestamp_ms":1792154954000,"timestamp_seconds":1792154954,"priority":1,"record_length":96,"hex_timestamp":"000001a144c26910"} 
[2026-10-16 18:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 18:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18: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-10-16 18:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791666432001,"66":27658,"199":206,"19":45568,"24":53,"16":15227785073131520,"45":9127037250580492288},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-10-16 18:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791666432001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:20:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-16 18:20:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15227785073131520,"km_value":15227785073131.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127037250580492288,"description":"Unknown IO ID 45"} 
[2026-10-16 18:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791666432001,"power":27658,"trip_odometer":0.206,"unknown_19":45568,"ignition":53,"odometer":null,"unknown_45":9127037250580492288}} 
[2026-10-16 18:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":220152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:20:54] local.INFO: GPS data processed {"connection_id":220152,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:20:54] local.INFO: Acknowledgment sent {"connection_id":220152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:21:00] local.INFO: TCP Data received {"connection_id":218420,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:21:00] local.INFO: Processing buffer {"connection_id":218420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:21:00] local.INFO: IMEI packet received {"connection_id":218420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":218420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:21:16] local.INFO: TCP Data received {"connection_id":216851,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:21:16] local.INFO: Processing buffer {"connection_id":216851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:21:16] local.INFO: IMEI packet received {"connection_id":216851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":216851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:21:17] local.INFO: TCP Data received {"connection_id":216851,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:21:17] local.INFO: Processing buffer {"connection_id":216851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:21:17] local.INFO: IMEI packet received {"connection_id":216851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":216851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:21:20] local.INFO: TCP Data received {"connection_id":216851,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:21:20] local.INFO: Processing buffer {"connection_id":216851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:21:20] local.INFO: IMEI packet received {"connection_id":216851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":216851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:21:22] local.INFO: TCP Data received {"connection_id":216851,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c28468012d7ea5c005b4e6d8000501652f..."} 
[2026-10-16 18:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c28468012d7ea5c005b4e6d8000501652f..."} 
[2026-10-16 18:21:22] local.INFO: Processing buffer {"connection_id":216851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c28468012d7ea5c005b4e6d8000501652f..."} 
[2026-10-16 18:21:22] local.INFO: Packet analysis {"connection_id":216851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c2"} 
[2026-10-16 18:21:22] local.INFO: Extracted packet for processing {"connection_id":216851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c2"} 
[2026-10-16 18:21:22] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":95741656,"longitude_deg":76.3274688,"latitude_deg":9.5741656,"altitude":5,"angle":357,"satellites":47,"speed":54,"hex_longitude":"2d7ea5c0","hex_latitude":"05b4e6d8","is_valid_coordinates":true} 
[2026-10-16 18:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791668224001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15228248929599488,"note":"Value kept but may cause issues"} 
[2026-10-16 18:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126263194397016064,"note":"Value kept but may cause issues"} 
[2026-10-16 18:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792154961000,"timestamp_ms":1792154961000,"timestamp_seconds":1792154961,"priority":1,"record_length":96,"hex_timestamp":"000001a144c28468"} 
[2026-10-16 18:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:21: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-10-16 18:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-10-16 18:21:22] 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-10-16 18:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791668224001,"66":27767,"199":206,"19":45568,"24":54,"16":15228248929599488,"45":9126263194397016064},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-10-16 18:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791668224001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:21:22] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-16 18:21:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15228248929599488,"km_value":15228248929599.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126263194397016064,"description":"Unknown IO ID 45"} 
[2026-10-16 18:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791668224001,"power":27767,"trip_odometer":0.206,"unknown_19":45568,"ignition":54,"odometer":null,"unknown_45":9126263194397016064}} 
[2026-10-16 18:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":216851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:21:22] local.INFO: GPS data processed {"connection_id":216851,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:21:22] local.INFO: Acknowledgment sent {"connection_id":216851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:21:53] local.INFO: TCP Data received {"connection_id":216851,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c29fc0012d7ea4c005b50c70000501672d..."} 
[2026-10-16 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c29fc0012d7ea4c005b50c70000501672d..."} 
[2026-10-16 18:21:53] local.INFO: Processing buffer {"connection_id":216851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c29fc0012d7ea4c005b50c70000501672d..."} 
[2026-10-16 18:21:53] local.INFO: Packet analysis {"connection_id":216851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c2"} 
[2026-10-16 18:21:53] local.INFO: Extracted packet for processing {"connection_id":216851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c2"} 
[2026-10-16 18:21:53] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":95751280,"longitude_deg":76.3274432,"latitude_deg":9.575128,"altitude":5,"angle":359,"satellites":45,"speed":54,"hex_longitude":"2d7ea4c0","hex_latitude":"05b50c70","is_valid_coordinates":true} 
[2026-10-16 18:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791670016001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15228712786067456,"note":"Value kept but may cause issues"} 
[2026-10-16 18:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350678575104,"note":"Value kept but may cause issues"} 
[2026-10-16 18:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792154968000,"timestamp_ms":1792154968000,"timestamp_seconds":1792154968,"priority":1,"record_length":96,"hex_timestamp":"000001a144c29fc0"} 
[2026-10-16 18:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:21: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-10-16 18:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 18:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791670016001,"66":27745,"199":206,"19":45568,"24":54,"16":15228712786067456,"45":9125911350678575104},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-10-16 18:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791670016001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:21:53] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-10-16 18:21:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15228712786067456,"km_value":15228712786067.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350678575104,"description":"Unknown IO ID 45"} 
[2026-10-16 18:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791670016001,"power":27745,"trip_odometer":0.206,"unknown_19":45568,"ignition":54,"odometer":null,"unknown_45":9125911350678575104}} 
[2026-10-16 18:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":216851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:21:53] local.INFO: GPS data processed {"connection_id":216851,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:21:53] local.INFO: Acknowledgment sent {"connection_id":216851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:22:15] local.INFO: TCP Data received {"connection_id":220153,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:22:15] local.INFO: Processing buffer {"connection_id":220153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:22:15] local.INFO: IMEI packet received {"connection_id":220153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":220153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:22:21] local.INFO: TCP Data received {"connection_id":220153,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:22:21] local.INFO: Processing buffer {"connection_id":220153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:22:21] local.INFO: IMEI packet received {"connection_id":220153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":220153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:22:23] local.INFO: TCP Data received {"connection_id":220153,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c42660012d7ea44005b629b8000800002d..."} 
[2026-10-16 18:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c42660012d7ea44005b629b8000800002d..."} 
[2026-10-16 18:22:23] local.INFO: Processing buffer {"connection_id":220153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c42660012d7ea44005b629b8000800002d..."} 
[2026-10-16 18:22:23] local.INFO: Packet analysis {"connection_id":220153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c4"} 
[2026-10-16 18:22:23] local.INFO: Extracted packet for processing {"connection_id":220153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c4"} 
[2026-10-16 18:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95824312,"longitude_deg":76.3274304,"latitude_deg":9.5824312,"altitude":8,"angle":0,"satellites":45,"speed":28,"hex_longitude":"2d7ea440","hex_latitude":"05b629b8","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791693824001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:22:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-16 18:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15232286198857728,"note":"Value kept but may cause issues"} 
[2026-10-16 18:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350697455616,"note":"Value kept but may cause issues"} 
[2026-10-16 18:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-10-16 18:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792155068000,"timestamp_ms":1792155068000,"timestamp_seconds":1792155068,"priority":1,"record_length":96,"hex_timestamp":"000001a144c42660"} 
[2026-10-16 18:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18: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-10-16 18:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 18:22:23] 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-10-16 18: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-10-16 18:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791693824001,"66":27300,"200":0,"19":45568,"24":28,"16":15232286198857728,"45":9125911350697455616},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,19,24,16,45]} 
[2026-10-16 18:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791693824001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:22:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15232286198857728,"km_value":15232286198857.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350697455616,"description":"Unknown IO ID 45"} 
[2026-10-16 18:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791693824001,"power":27300,"gsm_signal":0,"unknown_19":45568,"ignition":28,"odometer":null,"unknown_45":9125911350697455616}} 
[2026-10-16 18:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":220153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:22:23] local.INFO: GPS data processed {"connection_id":220153,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:22:23] local.INFO: Acknowledgment sent {"connection_id":220153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:22:55] local.INFO: TCP Data received {"connection_id":220153,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c45540012d7ea58005b64ef8000700032d..."} 
[2026-10-16 18:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c45540012d7ea58005b64ef8000700032d..."} 
[2026-10-16 18:22:55] local.INFO: Processing buffer {"connection_id":220153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c45540012d7ea58005b64ef8000700032d..."} 
[2026-10-16 18:22:55] local.INFO: Packet analysis {"connection_id":220153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c4"} 
[2026-10-16 18:22:55] local.INFO: Extracted packet for processing {"connection_id":220153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c4"} 
[2026-10-16 18:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95833848,"longitude_deg":76.3274624,"latitude_deg":9.5833848,"altitude":7,"angle":3,"satellites":45,"speed":36,"hex_longitude":"2d7ea580","hex_latitude":"05b64ef8","is_valid_coordinates":true} 
[2026-10-16 18:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791697408001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:22:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-10-16 18:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15232750055325696,"note":"Value kept but may cause issues"} 
[2026-10-16 18:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138234669056,"note":"Value kept but may cause issues"} 
[2026-10-16 18:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-10-16 18:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792155080000,"timestamp_ms":1792155080000,"timestamp_seconds":1792155080,"priority":1,"record_length":96,"hex_timestamp":"000001a144c45540"} 
[2026-10-16 18:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 18:22:55] 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-10-16 18:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791697408001,"66":27093,"200":0,"19":45568,"24":36,"16":15232750055325696,"45":9125489138234669056},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,19,24,16,45]} 
[2026-10-16 18:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791697408001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:22:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15232750055325696,"km_value":15232750055325.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138234669056,"description":"Unknown IO ID 45"} 
[2026-10-16 18:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791697408001,"power":27093,"gsm_signal":0,"unknown_19":45568,"ignition":36,"odometer":null,"unknown_45":9125489138234669056}} 
[2026-10-16 18:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":220153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:22:55] local.INFO: GPS data processed {"connection_id":220153,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:22:55] local.INFO: Acknowledgment sent {"connection_id":220153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:23:17] local.INFO: TCP Data received {"connection_id":217090,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:23:17] local.INFO: Processing buffer {"connection_id":217090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:23:17] local.INFO: IMEI packet received {"connection_id":217090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":217090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:23:20] local.INFO: TCP Data received {"connection_id":217090,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:23:20] local.INFO: Processing buffer {"connection_id":217090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:23:20] local.INFO: IMEI packet received {"connection_id":217090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":217090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:23:23] local.INFO: TCP Data received {"connection_id":217090,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:23:23] local.INFO: Processing buffer {"connection_id":217090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:23:23] local.INFO: IMEI packet received {"connection_id":217090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":217090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:23:24] local.INFO: TCP Data received {"connection_id":217090,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c48038012d7ea58005b67410000700012d..."} 
[2026-10-16 18:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c48038012d7ea58005b67410000700012d..."} 
[2026-10-16 18:23:24] local.INFO: Processing buffer {"connection_id":217090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c48038012d7ea58005b67410000700012d..."} 
[2026-10-16 18:23:24] local.INFO: Packet analysis {"connection_id":217090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c4"} 
[2026-10-16 18:23:24] local.INFO: Extracted packet for processing {"connection_id":217090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c4"} 
[2026-10-16 18:23:24] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95843344,"longitude_deg":76.3274624,"latitude_deg":9.5843344,"altitude":7,"angle":1,"satellites":45,"speed":35,"hex_longitude":"2d7ea580","hex_latitude":"05b67410","is_valid_coordinates":true} 
[2026-10-16 18:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791700480001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15233209616826368,"note":"Value kept but may cause issues"} 
[2026-10-16 18:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981957998592,"note":"Value kept but may cause issues"} 
[2026-10-16 18:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792155091000,"timestamp_ms":1792155091000,"timestamp_seconds":1792155091,"priority":1,"record_length":96,"hex_timestamp":"000001a144c48038"} 
[2026-10-16 18:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:23: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-10-16 18:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-10-16 18:23:24] 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-10-16 18:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791700480001,"66":27093,"197":206,"19":45568,"24":35,"16":15233209616826368,"45":9125840981957998592},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-10-16 18:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791700480001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:23:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-16 18:23:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15233209616826368,"km_value":15233209616826.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981957998592,"description":"Unknown IO ID 45"} 
[2026-10-16 18:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791700480001,"power":27093,"unknown_197":206,"unknown_19":45568,"ignition":35,"odometer":null,"unknown_45":9125840981957998592}} 
[2026-10-16 18:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":217090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:23:24] local.INFO: GPS data processed {"connection_id":217090,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:23:24] local.INFO: Acknowledgment sent {"connection_id":217090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:23:25] local.INFO: TCP Data received {"connection_id":217090,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c4ab30012d7ea64005b69a40000700022d..."} 
[2026-10-16 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c4ab30012d7ea64005b69a40000700022d..."} 
[2026-10-16 18:23:25] local.INFO: Processing buffer {"connection_id":217090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c4ab30012d7ea64005b69a40000700022d..."} 
[2026-10-16 18:23:25] local.INFO: Packet analysis {"connection_id":217090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c4"} 
[2026-10-16 18:23:25] local.INFO: Extracted packet for processing {"connection_id":217090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c4"} 
[2026-10-16 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763274816,"raw_latitude":95853120,"longitude_deg":76.3274816,"latitude_deg":9.585312,"altitude":7,"angle":2,"satellites":45,"speed":38,"hex_longitude":"2d7ea640","hex_latitude":"05b69a40","is_valid_coordinates":true} 
[2026-10-16 18:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791703296001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15233686358196224,"note":"Value kept but may cause issues"} 
[2026-10-16 18:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981960429568,"note":"Value kept but may cause issues"} 
[2026-10-16 18:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792155102000,"timestamp_ms":1792155102000,"timestamp_seconds":1792155102,"priority":1,"record_length":96,"hex_timestamp":"000001a144c4ab30"} 
[2026-10-16 18:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:23: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-10-16 18:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-10-16 18:23:25] 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-10-16 18:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791703296001,"66":27093,"197":206,"19":45568,"24":38,"16":15233686358196224,"45":9125840981960429568},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-10-16 18:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791703296001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:23:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-16 18:23:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15233686358196224,"km_value":15233686358196.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981960429568,"description":"Unknown IO ID 45"} 
[2026-10-16 18:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791703296001,"power":27093,"unknown_197":206,"unknown_19":45568,"ignition":38,"odometer":null,"unknown_45":9125840981960429568}} 
[2026-10-16 18:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":217090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:23:25] local.INFO: GPS data processed {"connection_id":217090,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:23:25] local.INFO: Acknowledgment sent {"connection_id":217090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:23:57] local.INFO: TCP Data received {"connection_id":217090,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c5e798012d7eb68005b82778000700002c..."} 
[2026-10-16 18:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c5e798012d7eb68005b82778000700002c..."} 
[2026-10-16 18:23:57] local.INFO: Processing buffer {"connection_id":217090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c5e798012d7eb68005b82778000700002c..."} 
[2026-10-16 18:23:57] local.INFO: Packet analysis {"connection_id":217090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c5"} 
[2026-10-16 18:23:57] local.INFO: Extracted packet for processing {"connection_id":217090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c5"} 
[2026-10-16 18:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763278976,"raw_latitude":95954808,"longitude_deg":76.3278976,"latitude_deg":9.5954808,"altitude":7,"angle":0,"satellites":44,"speed":59,"hex_longitude":"2d7eb680","hex_latitude":"05b82778","is_valid_coordinates":true} 
[2026-10-16 18:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791725312001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15238621275619328,"note":"Value kept but may cause issues"} 
[2026-10-16 18:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130203844125689856,"note":"Value kept but may cause issues"} 
[2026-10-16 18:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792155183000,"timestamp_ms":1792155183000,"timestamp_seconds":1792155183,"priority":1,"record_length":96,"hex_timestamp":"000001a144c5e798"} 
[2026-10-16 18:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-10-16 18:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791725312001,"66":26930,"197":206,"19":45568,"24":59,"16":15238621275619328,"45":9130203844125689856},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-10-16 18:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791725312001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:23:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-10-16 18:23:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15238621275619328,"km_value":15238621275619.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130203844125689856,"description":"Unknown IO ID 45"} 
[2026-10-16 18:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791725312001,"power":26930,"unknown_197":206,"unknown_19":45568,"ignition":59,"odometer":null,"unknown_45":9130203844125689856}} 
[2026-10-16 18:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":217090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:23:57] local.INFO: GPS data processed {"connection_id":217090,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:23:57] local.INFO: Acknowledgment sent {"connection_id":217090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:24:15] local.INFO: TCP Data received {"connection_id":216853,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:24:15] local.INFO: Processing buffer {"connection_id":216853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:24:15] local.INFO: IMEI packet received {"connection_id":216853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":216853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:24:17] local.INFO: TCP Data received {"connection_id":216853,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:24:17] local.INFO: Processing buffer {"connection_id":216853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:24:17] local.INFO: IMEI packet received {"connection_id":216853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":216853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:24:18] local.INFO: TCP Data received {"connection_id":216853,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c602f0012d7eb6c005b84e90000800002c..."} 
[2026-10-16 18:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c602f0012d7eb6c005b84e90000800002c..."} 
[2026-10-16 18:24:18] local.INFO: Processing buffer {"connection_id":216853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c602f0012d7eb6c005b84e90000800002c..."} 
[2026-10-16 18:24:18] local.INFO: Packet analysis {"connection_id":216853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c6"} 
[2026-10-16 18:24:18] local.INFO: Extracted packet for processing {"connection_id":216853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c6"} 
[2026-10-16 18:24:18] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95964816,"longitude_deg":76.327904,"latitude_deg":9.5964816,"altitude":8,"angle":0,"satellites":44,"speed":53,"hex_longitude":"2d7eb6c0","hex_latitude":"05b84e90","is_valid_coordinates":true} 
[2026-10-16 18:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791726848001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15239106606923776,"note":"Value kept but may cause issues"} 
[2026-10-16 18:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130626056593045504,"note":"Value kept but may cause issues"} 
[2026-10-16 18:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792155190000,"timestamp_ms":1792155190000,"timestamp_seconds":1792155190,"priority":1,"record_length":96,"hex_timestamp":"000001a144c602f0"} 
[2026-10-16 18:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:24: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-10-16 18:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 18:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":216853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":216853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":216853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791726848001,"66":26854,"121":206,"19":45568,"24":53,"16":15239106606923776,"45":9130626056593045504},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-10-16 18:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791726848001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:24:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-16 18:24:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15239106606923776,"km_value":15239106606923.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130626056593045504,"description":"Unknown IO ID 45"} 
[2026-10-16 18:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791726848001,"power":26854,"unknown_121":206,"unknown_19":45568,"ignition":53,"odometer":null,"unknown_45":9130626056593045504}} 
[2026-10-16 18:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":216853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:24:18] local.INFO: GPS data processed {"connection_id":216853,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:24:18] local.INFO: Acknowledgment sent {"connection_id":216853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:24:50] local.INFO: TCP Data received {"connection_id":216853,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c61e48012d7eb7c005b87570000700022c..."} 
[2026-10-16 18:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c61e48012d7eb7c005b87570000700022c..."} 
[2026-10-16 18:24:50] local.INFO: Processing buffer {"connection_id":216853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c61e48012d7eb7c005b87570000700022c..."} 
[2026-10-16 18:24:50] local.INFO: Packet analysis {"connection_id":216853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c6"} 
[2026-10-16 18:24:50] local.INFO: Extracted packet for processing {"connection_id":216853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c6"} 
[2026-10-16 18:24:50] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":95974768,"longitude_deg":76.3279296,"latitude_deg":9.5974768,"altitude":7,"angle":2,"satellites":44,"speed":58,"hex_longitude":"2d7eb7c0","hex_latitude":"05b87570","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791728640001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15239591938228224,"note":"Value kept but may cause issues"} 
[2026-10-16 18:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130696425339785216,"note":"Value kept but may cause issues"} 
[2026-10-16 18:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792155197000,"timestamp_ms":1792155197000,"timestamp_seconds":1792155197,"priority":1,"record_length":96,"hex_timestamp":"000001a144c61e48"} 
[2026-10-16 18:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:24: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-10-16 18: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 18:24:50] 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-10-16 18: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-10-16 18:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":216853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":216853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":216853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791728640001,"66":26767,"121":206,"19":45568,"24":58,"16":15239591938228224,"45":9130696425339785216},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-10-16 18:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791728640001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:24:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-16 18:24:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15239591938228224,"km_value":15239591938228.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130696425339785216,"description":"Unknown IO ID 45"} 
[2026-10-16 18:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791728640001,"power":26767,"unknown_121":206,"unknown_19":45568,"ignition":58,"odometer":null,"unknown_45":9130696425339785216}} 
[2026-10-16 18:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":216853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:24:50] local.INFO: GPS data processed {"connection_id":216853,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:24:50] local.INFO: Acknowledgment sent {"connection_id":216853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:25:15] local.INFO: TCP Data received {"connection_id":217092,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:25:15] local.INFO: Processing buffer {"connection_id":217092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:25:15] local.INFO: IMEI packet received {"connection_id":217092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":217092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:25:16] local.INFO: TCP Data received {"connection_id":217092,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:25:16] local.INFO: Processing buffer {"connection_id":217092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:25:16] local.INFO: IMEI packet received {"connection_id":217092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":217092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:25:21] local.INFO: TCP Data received {"connection_id":217092,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:25:21] local.INFO: Processing buffer {"connection_id":217092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:25:21] local.INFO: IMEI packet received {"connection_id":217092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":217092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:25:22] local.INFO: TCP Data received {"connection_id":217092,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c639a0012d7ebb4005b89840000700082d..."} 
[2026-10-16 18:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c639a0012d7ebb4005b89840000700082d..."} 
[2026-10-16 18:25:22] local.INFO: Processing buffer {"connection_id":217092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c639a0012d7ebb4005b89840000700082d..."} 
[2026-10-16 18:25:22] local.INFO: Packet analysis {"connection_id":217092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c6"} 
[2026-10-16 18:25:22] local.INFO: Extracted packet for processing {"connection_id":217092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c6"} 
[2026-10-16 18:25:22] local.INFO: GPS Element Parsed {"raw_longitude":763280192,"raw_latitude":95983680,"longitude_deg":76.3280192,"latitude_deg":9.598368,"altitude":7,"angle":8,"satellites":45,"speed":45,"hex_longitude":"2d7ebb40","hex_latitude":"05b89840","is_valid_coordinates":true} 
[2026-10-16 18:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15240025729925120,"note":"Value kept but may cause issues"} 
[2026-10-16 18:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130977900319043584,"note":"Value kept but may cause issues"} 
[2026-10-16 18:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792155204000,"timestamp_ms":1792155204000,"timestamp_seconds":1792155204,"priority":1,"record_length":96,"hex_timestamp":"000001a144c639a0"} 
[2026-10-16 18:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:25: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-10-16 18:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-10-16 18:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791730432001,"66":26832,"121":206,"19":45568,"24":45,"16":15240025729925120,"45":9130977900319043584},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-10-16 18:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791730432001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:25:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-16 18:25:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15240025729925120,"km_value":15240025729925.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130977900319043584,"description":"Unknown IO ID 45"} 
[2026-10-16 18:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791730432001,"power":26832,"unknown_121":206,"unknown_19":45568,"ignition":45,"odometer":null,"unknown_45":9130977900319043584}} 
[2026-10-16 18:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":217092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:25:22] local.INFO: GPS data processed {"connection_id":217092,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:25:22] local.INFO: Acknowledgment sent {"connection_id":217092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:25:54] local.INFO: TCP Data received {"connection_id":217092,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c658e0012d7ebfc005b8bfa8000700072c..."} 
[2026-10-16 18:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c658e0012d7ebfc005b8bfa8000700072c..."} 
[2026-10-16 18:25:54] local.INFO: Processing buffer {"connection_id":217092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c658e0012d7ebfc005b8bfa8000700072c..."} 
[2026-10-16 18:25:54] local.INFO: Packet analysis {"connection_id":217092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c6"} 
[2026-10-16 18:25:54] local.INFO: Extracted packet for processing {"connection_id":217092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c6"} 
[2026-10-16 18:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763281344,"raw_latitude":95993768,"longitude_deg":76.3281344,"latitude_deg":9.5993768,"altitude":7,"angle":7,"satellites":44,"speed":54,"hex_longitude":"2d7ebfc0","hex_latitude":"05b8bfa8","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791732224001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15240515356196864,"note":"Value kept but may cause issues"} 
[2026-10-16 18:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963062739812352,"note":"Value kept but may cause issues"} 
[2026-10-16 18:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792155212000,"timestamp_ms":1792155212000,"timestamp_seconds":1792155212,"priority":1,"record_length":96,"hex_timestamp":"000001a144c658e0"} 
[2026-10-16 18:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-10-16 18:25:54] 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-10-16 18: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-10-16 18:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791732224001,"66":27017,"121":206,"19":45568,"24":54,"16":15240515356196864,"45":9131963062739812352},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-10-16 18:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791732224001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:25:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-16 18:25:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15240515356196864,"km_value":15240515356196.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963062739812352,"description":"Unknown IO ID 45"} 
[2026-10-16 18:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791732224001,"power":27017,"unknown_121":206,"unknown_19":45568,"ignition":54,"odometer":null,"unknown_45":9131963062739812352}} 
[2026-10-16 18:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":217092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:25:54] local.INFO: GPS data processed {"connection_id":217092,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:25:54] local.INFO: Acknowledgment sent {"connection_id":217092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:26:25] local.INFO: TCP Data received {"connection_id":220155,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:26:25] local.INFO: Processing buffer {"connection_id":220155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:26:25] local.INFO: IMEI packet received {"connection_id":220155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":220155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:26:28] local.INFO: TCP Data received {"connection_id":220155,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:26:28] local.INFO: Processing buffer {"connection_id":220155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:26:28] local.INFO: IMEI packet received {"connection_id":220155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":220155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:26:30] local.INFO: TCP Data received {"connection_id":220155,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c7d7b0012d7eefc005ba15c8000900042d..."} 
[2026-10-16 18:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c7d7b0012d7eefc005ba15c8000900042d..."} 
[2026-10-16 18:26:30] local.INFO: Processing buffer {"connection_id":220155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c7d7b0012d7eefc005ba15c8000900042d..."} 
[2026-10-16 18:26:30] local.INFO: Packet analysis {"connection_id":220155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c7"} 
[2026-10-16 18:26:30] local.INFO: Extracted packet for processing {"connection_id":220155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c7"} 
[2026-10-16 18:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763293632,"raw_latitude":96081352,"longitude_deg":76.3293632,"latitude_deg":9.6081352,"altitude":9,"angle":4,"satellites":45,"speed":14,"hex_longitude":"2d7eefc0","hex_latitude":"05ba15c8","is_valid_coordinates":true} 
[2026-10-16 18:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791753984001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15244814618460160,"note":"Value kept but may cause issues"} 
[2026-10-16 18:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145614599133372416,"note":"Value kept but may cause issues"} 
[2026-10-16 18:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792155310000,"timestamp_ms":1792155310000,"timestamp_seconds":1792155310,"priority":1,"record_length":96,"hex_timestamp":"000001a144c7d7b0"} 
[2026-10-16 18:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 18:26:30] 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-10-16 18:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":220155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":220155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":220155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791753984001,"66":27115,"121":206,"19":45568,"24":14,"16":15244814618460160,"45":9145614599133372416},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-10-16 18:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791753984001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:26:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-16 18:26:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15244814618460160,"km_value":15244814618460.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145614599133372416,"description":"Unknown IO ID 45"} 
[2026-10-16 18:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791753984001,"power":27115,"unknown_121":206,"unknown_19":45568,"ignition":14,"odometer":null,"unknown_45":9145614599133372416}} 
[2026-10-16 18:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":220155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:26:30] local.INFO: GPS data processed {"connection_id":220155,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:26:30] local.INFO: Acknowledgment sent {"connection_id":220155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:26:50] local.INFO: TCP Data received {"connection_id":216854,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:26:50] local.INFO: Processing buffer {"connection_id":216854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:26:50] local.INFO: IMEI packet received {"connection_id":216854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":216854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:27:02] local.INFO: TCP Data received {"connection_id":220155,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c81e00012d7ef64005ba3910000600082d..."} 
[2026-10-16 18:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c81e00012d7ef64005ba3910000600082d..."} 
[2026-10-16 18:27:02] local.INFO: Processing buffer {"connection_id":220155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c81e00012d7ef64005ba3910000600082d..."} 
[2026-10-16 18:27:02] local.INFO: Packet analysis {"connection_id":220155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c8"} 
[2026-10-16 18:27:02] local.INFO: Extracted packet for processing {"connection_id":220155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c8"} 
[2026-10-16 18:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763295296,"raw_latitude":96090384,"longitude_deg":76.3295296,"latitude_deg":9.6090384,"altitude":6,"angle":8,"satellites":45,"speed":15,"hex_longitude":"2d7ef640","hex_latitude":"05ba3910","is_valid_coordinates":true} 
[2026-10-16 18:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791759360001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15245261295058944,"note":"Value kept but may cause issues"} 
[2026-10-16 18:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146740499042125824,"note":"Value kept but may cause issues"} 
[2026-10-16 18:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792155328000,"timestamp_ms":1792155328000,"timestamp_seconds":1792155328,"priority":1,"record_length":96,"hex_timestamp":"000001a144c81e00"} 
[2026-10-16 18:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 18:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":220155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":220155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":220155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791759360001,"66":27017,"121":206,"19":45568,"24":15,"16":15245261295058944,"45":9146740499042125824},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-10-16 18:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791759360001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:27:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-10-16 18:27:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15245261295058944,"km_value":15245261295058.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146740499042125824,"description":"Unknown IO ID 45"} 
[2026-10-16 18:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791759360001,"power":27017,"unknown_121":206,"unknown_19":45568,"ignition":15,"odometer":null,"unknown_45":9146740499042125824}} 
[2026-10-16 18:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":220155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:27:02] local.INFO: GPS data processed {"connection_id":220155,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:27:02] local.INFO: Acknowledgment sent {"connection_id":220155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:27:15] local.INFO: TCP Data received {"connection_id":217093,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:27:15] local.INFO: Processing buffer {"connection_id":217093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:27:15] local.INFO: IMEI packet received {"connection_id":217093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":217093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:27:22] local.INFO: TCP Data received {"connection_id":217093,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:27:22] local.INFO: Processing buffer {"connection_id":217093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:27:22] local.INFO: IMEI packet received {"connection_id":217093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":217093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:27:24] local.INFO: TCP Data received {"connection_id":217093,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c87008012d7efa0005ba4fb80008000b2e..."} 
[2026-10-16 18:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c87008012d7efa0005ba4fb80008000b2e..."} 
[2026-10-16 18:27:24] local.INFO: Processing buffer {"connection_id":217093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c87008012d7efa0005ba4fb80008000b2e..."} 
[2026-10-16 18:27:24] local.INFO: Packet analysis {"connection_id":217093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c8"} 
[2026-10-16 18:27:24] local.INFO: Extracted packet for processing {"connection_id":217093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c8"} 
[2026-10-16 18:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763296256,"raw_latitude":96096184,"longitude_deg":76.3296256,"latitude_deg":9.6096184,"altitude":8,"angle":11,"satellites":46,"speed":21,"hex_longitude":"2d7efa00","hex_latitude":"05ba4fb8","is_valid_coordinates":true} 
[2026-10-16 18:27: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-10-16 18:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791763968001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15245549057867776,"note":"Value kept but may cause issues"} 
[2026-10-16 18:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148570086393057280,"note":"Value kept but may cause issues"} 
[2026-10-16 18:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792155349000,"timestamp_ms":1792155349000,"timestamp_seconds":1792155349,"priority":1,"record_length":96,"hex_timestamp":"000001a144c87008"} 
[2026-10-16 18:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:27: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-10-16 18:27: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":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 18:27:24] 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-10-16 18:27: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-10-16 18:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791763968001,"66":26908,"119":206,"19":45568,"24":21,"16":15245549057867776,"45":9148570086393057280},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,19,24,16,45]} 
[2026-10-16 18:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791763968001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:27:24] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-10-16 18:27:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15245549057867776,"km_value":15245549057867.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148570086393057280,"description":"Unknown IO ID 45"} 
[2026-10-16 18:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791763968001,"power":26908,"unknown_119":206,"unknown_19":45568,"ignition":21,"odometer":null,"unknown_45":9148570086393057280}} 
[2026-10-16 18:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":217093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:27:24] local.INFO: GPS data processed {"connection_id":217093,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:27:24] local.INFO: Acknowledgment sent {"connection_id":217093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:27:51] local.INFO: TCP Data received {"connection_id":216855,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:27:51] local.INFO: Processing buffer {"connection_id":216855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:27:51] local.INFO: IMEI packet received {"connection_id":216855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":216855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:27:55] local.INFO: TCP Data received {"connection_id":217093,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c89ee8012d7eff4005ba7228000700072c..."} 
[2026-10-16 18:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c89ee8012d7eff4005ba7228000700072c..."} 
[2026-10-16 18:27:55] local.INFO: Processing buffer {"connection_id":217093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c89ee8012d7eff4005ba7228000700072c..."} 
[2026-10-16 18:27:55] local.INFO: Packet analysis {"connection_id":217093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c8"} 
[2026-10-16 18:27:55] local.INFO: Extracted packet for processing {"connection_id":217093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c8"} 
[2026-10-16 18:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763297600,"raw_latitude":96105000,"longitude_deg":76.32976,"latitude_deg":9.6105,"altitude":7,"angle":7,"satellites":44,"speed":36,"hex_longitude":"2d7eff40","hex_latitude":"05ba7228","is_valid_coordinates":true} 
[2026-10-16 18:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791769344001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15245978554597376,"note":"Value kept but may cause issues"} 
[2026-10-16 18:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149625617557207040,"note":"Value kept but may cause issues"} 
[2026-10-16 18:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792155361000,"timestamp_ms":1792155361000,"timestamp_seconds":1792155361,"priority":1,"record_length":96,"hex_timestamp":"000001a144c89ee8"} 
[2026-10-16 18:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-16 18:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:27: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-10-16 18:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791769344001,"66":27039,"119":206,"19":45568,"24":36,"16":15245978554597376,"45":9149625617557207040},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,19,24,16,45]} 
[2026-10-16 18:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791769344001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:27:55] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-10-16 18:27:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15245978554597376,"km_value":15245978554597.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149625617557207040,"description":"Unknown IO ID 45"} 
[2026-10-16 18:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791769344001,"power":27039,"unknown_119":206,"unknown_19":45568,"ignition":36,"odometer":null,"unknown_45":9149625617557207040}} 
[2026-10-16 18:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":217093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:27:55] local.INFO: GPS data processed {"connection_id":217093,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:27:55] local.INFO: Acknowledgment sent {"connection_id":217093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:28:15] local.INFO: TCP Data received {"connection_id":217094,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:28:15] local.INFO: Processing buffer {"connection_id":217094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:28:15] local.INFO: IMEI packet received {"connection_id":217094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":217094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:28:18] local.INFO: TCP Data received {"connection_id":217094,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:28:18] local.INFO: Processing buffer {"connection_id":217094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:28:18] local.INFO: IMEI packet received {"connection_id":217094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":217094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:28:20] local.INFO: TCP Data received {"connection_id":217094,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:28:20] local.INFO: Processing buffer {"connection_id":217094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:28:20] local.INFO: IMEI packet received {"connection_id":217094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":217094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:28:21] local.INFO: TCP Data received {"connection_id":217094,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c8c5f8012d7f040005ba97a8000500092b..."} 
[2026-10-16 18:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c8c5f8012d7f040005ba97a8000500092b..."} 
[2026-10-16 18:28:21] local.INFO: Processing buffer {"connection_id":217094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c8c5f8012d7f040005ba97a8000500092b..."} 
[2026-10-16 18:28:21] local.INFO: Packet analysis {"connection_id":217094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c8"} 
[2026-10-16 18:28:21] local.INFO: Extracted packet for processing {"connection_id":217094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c8"} 
[2026-10-16 18:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763298816,"raw_latitude":96114600,"longitude_deg":76.3298816,"latitude_deg":9.61146,"altitude":5,"angle":9,"satellites":43,"speed":42,"hex_longitude":"2d7f0400","hex_latitude":"05ba97a8","is_valid_coordinates":true} 
[2026-10-16 18:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791772416001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15246451000999936,"note":"Value kept but may cause issues"} 
[2026-10-16 18:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151103361187194880,"note":"Value kept but may cause issues"} 
[2026-10-16 18:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792155371000,"timestamp_ms":1792155371000,"timestamp_seconds":1792155371,"priority":1,"record_length":96,"hex_timestamp":"000001a144c8c5f8"} 
[2026-10-16 18:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:28: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-10-16 18:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-10-16 18:28:21] 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-10-16 18:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791772416001,"66":27050,"119":206,"19":45568,"24":42,"16":15246451000999936,"45":9151103361187194880},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,19,24,16,45]} 
[2026-10-16 18:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791772416001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:28:21] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-10-16 18:28:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15246451000999936,"km_value":15246451000999.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151103361187194880,"description":"Unknown IO ID 45"} 
[2026-10-16 18:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791772416001,"power":27050,"unknown_119":206,"unknown_19":45568,"ignition":42,"odometer":null,"unknown_45":9151103361187194880}} 
[2026-10-16 18:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":217094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:28:21] local.INFO: GPS data processed {"connection_id":217094,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:28:21] local.INFO: Acknowledgment sent {"connection_id":217094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:28:26] local.INFO: TCP Data received {"connection_id":217094,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144c8f0f0012d7f0a8005baba70000600082d..."} 
[2026-10-16 18:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144c8f0f0012d7f0a8005baba70000600082d..."} 
[2026-10-16 18:28:26] local.INFO: Processing buffer {"connection_id":217094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144c8f0f0012d7f0a8005baba70000600082d..."} 
[2026-10-16 18:28:26] local.INFO: Packet analysis {"connection_id":217094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144c8"} 
[2026-10-16 18:28:26] local.INFO: Extracted packet for processing {"connection_id":217094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144c8"} 
[2026-10-16 18:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763300480,"raw_latitude":96123504,"longitude_deg":76.330048,"latitude_deg":9.6123504,"altitude":6,"angle":8,"satellites":45,"speed":27,"hex_longitude":"2d7f0a80","hex_latitude":"05baba70","is_valid_coordinates":true} 
[2026-10-16 18:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791774976001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15246889087664128,"note":"Value kept but may cause issues"} 
[2026-10-16 18:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152440367329028096,"note":"Value kept but may cause issues"} 
[2026-10-16 18:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792155382000,"timestamp_ms":1792155382000,"timestamp_seconds":1792155382,"priority":1,"record_length":96,"hex_timestamp":"000001a144c8f0f0"} 
[2026-10-16 18:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:28: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-10-16 18:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 18:28:26] 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-10-16 18:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":217094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":217094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":217094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791774976001,"66":27039,"119":206,"19":45568,"24":27,"16":15246889087664128,"45":9152440367329028096},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,19,24,16,45]} 
[2026-10-16 18:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791774976001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:28:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-10-16 18:28:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15246889087664128,"km_value":15246889087664.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152440367329028096,"description":"Unknown IO ID 45"} 
[2026-10-16 18:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791774976001,"power":27039,"unknown_119":206,"unknown_19":45568,"ignition":27,"odometer":null,"unknown_45":9152440367329028096}} 
[2026-10-16 18:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":217094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:28:26] local.INFO: GPS data processed {"connection_id":217094,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:28:26] local.INFO: Acknowledgment sent {"connection_id":217094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:28:57] local.INFO: TCP Data received {"connection_id":217094,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ca7b78012d7f4a8005bc18a8000800092f..."} 
[2026-10-16 18:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ca7b78012d7f4a8005bc18a8000800092f..."} 
[2026-10-16 18:28:57] local.INFO: Processing buffer {"connection_id":217094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ca7b78012d7f4a8005bc18a8000800092f..."} 
[2026-10-16 18:28:57] local.INFO: Packet analysis {"connection_id":217094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ca"} 
[2026-10-16 18:28:57] local.INFO: Extracted packet for processing {"connection_id":217094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ca"} 
[2026-10-16 18:28:57] local.INFO: GPS Element Parsed {"raw_longitude":763316864,"raw_latitude":96213160,"longitude_deg":76.3316864,"latitude_deg":9.621316,"altitude":8,"angle":9,"satellites":47,"speed":55,"hex_longitude":"2d7f4a80","hex_latitude":"05bc18a8","is_valid_coordinates":true} 
[2026-10-16 18:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791801856001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15251321493913600,"note":"Value kept but may cause issues"} 
[2026-10-16 18:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170454765861339136,"note":"Value kept but may cause issues"} 
[2026-10-16 18:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792155483000,"timestamp_ms":1792155483000,"timestamp_seconds":1792155483,"priority":1,"record_length":96,"hex_timestamp":"000001a144ca7b78"} 
[2026-10-16 18:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-10-16 18:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791801856001,"66":27093,"208":206,"19":45568,"24":55,"16":15251321493913600,"45":9170454765861339136},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,19,24,16,45]} 
[2026-10-16 18:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791801856001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:28:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 18:28:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15251321493913600,"km_value":15251321493913.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170454765861339136,"description":"Unknown IO ID 45"} 
[2026-10-16 18:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791801856001,"power":27093,"unknown_208":206,"unknown_19":45568,"ignition":55,"odometer":null,"unknown_45":9170454765861339136}} 
[2026-10-16 18:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":217094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:28:57] local.INFO: GPS data processed {"connection_id":217094,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:28:57] local.INFO: Acknowledgment sent {"connection_id":217094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:29:15] local.INFO: TCP Data received {"connection_id":218423,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:29:15] local.INFO: Processing buffer {"connection_id":218423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:29:15] local.INFO: IMEI packet received {"connection_id":218423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":218423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:29:17] local.INFO: TCP Data received {"connection_id":218423,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:29:17] local.INFO: Processing buffer {"connection_id":218423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:29:17] local.INFO: IMEI packet received {"connection_id":218423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":218423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:29:20] local.INFO: TCP Data received {"connection_id":218423,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:29:20] local.INFO: Processing buffer {"connection_id":218423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:29:20] local.INFO: IMEI packet received {"connection_id":218423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":218423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:29:22] local.INFO: TCP Data received {"connection_id":218423,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ca96d0012d7f50c005bc3e20000800082e..."} 
[2026-10-16 18:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ca96d0012d7f50c005bc3e20000800082e..."} 
[2026-10-16 18:29:22] local.INFO: Processing buffer {"connection_id":218423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ca96d0012d7f50c005bc3e20000800082e..."} 
[2026-10-16 18:29:22] local.INFO: Packet analysis {"connection_id":218423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ca"} 
[2026-10-16 18:29:22] local.INFO: Extracted packet for processing {"connection_id":218423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ca"} 
[2026-10-16 18:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763318464,"raw_latitude":96222752,"longitude_deg":76.3318464,"latitude_deg":9.6222752,"altitude":8,"angle":8,"satellites":46,"speed":54,"hex_longitude":"2d7f50c0","hex_latitude":"05bc3e20","is_valid_coordinates":true} 
[2026-10-16 18:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791803648001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15251793940316160,"note":"Value kept but may cause issues"} 
[2026-10-16 18:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172284353212360704,"note":"Value kept but may cause issues"} 
[2026-10-16 18:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792155490000,"timestamp_ms":1792155490000,"timestamp_seconds":1792155490,"priority":1,"record_length":96,"hex_timestamp":"000001a144ca96d0"} 
[2026-10-16 18:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:29: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-10-16 18:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-10-16 18:29:22] 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-10-16 18:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791803648001,"66":26832,"208":206,"19":45568,"24":54,"16":15251793940316160,"45":9172284353212360704},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,19,24,16,45]} 
[2026-10-16 18:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791803648001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:29:22] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 18:29:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15251793940316160,"km_value":15251793940316.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172284353212360704,"description":"Unknown IO ID 45"} 
[2026-10-16 18:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791803648001,"power":26832,"unknown_208":206,"unknown_19":45568,"ignition":54,"odometer":null,"unknown_45":9172284353212360704}} 
[2026-10-16 18:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":218423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:29:22] local.INFO: GPS data processed {"connection_id":218423,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:29:22] local.INFO: Acknowledgment sent {"connection_id":218423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:29:54] local.INFO: TCP Data received {"connection_id":218423,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144cab228012d7f56c005bc63300009000a2f..."} 
[2026-10-16 18:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144cab228012d7f56c005bc63300009000a2f..."} 
[2026-10-16 18:29:54] local.INFO: Processing buffer {"connection_id":218423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144cab228012d7f56c005bc63300009000a2f..."} 
[2026-10-16 18:29:54] local.INFO: Packet analysis {"connection_id":218423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ca"} 
[2026-10-16 18:29:54] local.INFO: Extracted packet for processing {"connection_id":218423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ca"} 
[2026-10-16 18:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763320000,"raw_latitude":96232240,"longitude_deg":76.332,"latitude_deg":9.623224,"altitude":9,"angle":10,"satellites":47,"speed":55,"hex_longitude":"2d7f56c0","hex_latitude":"05bc6330","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791805440001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15252262091751424,"note":"Value kept but may cause issues"} 
[2026-10-16 18:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174043571819257856,"note":"Value kept but may cause issues"} 
[2026-10-16 18:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792155497000,"timestamp_ms":1792155497000,"timestamp_seconds":1792155497,"priority":1,"record_length":96,"hex_timestamp":"000001a144cab228"} 
[2026-10-16 18:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-10-16 18:29:54] 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-10-16 18:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791805440001,"66":27050,"208":206,"19":45568,"24":55,"16":15252262091751424,"45":9174043571819257856},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,19,24,16,45]} 
[2026-10-16 18:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791805440001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:29:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-10-16 18:29:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15252262091751424,"km_value":15252262091751.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174043571819257856,"description":"Unknown IO ID 45"} 
[2026-10-16 18:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791805440001,"power":27050,"unknown_208":206,"unknown_19":45568,"ignition":55,"odometer":null,"unknown_45":9174043571819257856}} 
[2026-10-16 18:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":218423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:29:54] local.INFO: GPS data processed {"connection_id":218423,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:29:54] local.INFO: Acknowledgment sent {"connection_id":218423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:30:17] local.INFO: TCP Data received {"connection_id":218424,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:30:17] local.INFO: Processing buffer {"connection_id":218424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:30:17] local.INFO: IMEI packet received {"connection_id":218424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":218424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:30:20] local.INFO: TCP Data received {"connection_id":218424,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:30:20] local.INFO: Processing buffer {"connection_id":218424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:30:20] local.INFO: IMEI packet received {"connection_id":218424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":218424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:30:25] local.INFO: TCP Data received {"connection_id":218424,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:30:25] local.INFO: Processing buffer {"connection_id":218424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:30:25] local.INFO: IMEI packet received {"connection_id":218424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":218424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:30:27] local.INFO: TCP Data received {"connection_id":218424,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144cacd80012d7f5e0005bc89b00009000a2e..."} 
[2026-10-16 18:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144cacd80012d7f5e0005bc89b00009000a2e..."} 
[2026-10-16 18:30:27] local.INFO: Processing buffer {"connection_id":218424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144cacd80012d7f5e0005bc89b00009000a2e..."} 
[2026-10-16 18:30:27] local.INFO: Packet analysis {"connection_id":218424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ca"} 
[2026-10-16 18:30:27] local.INFO: Extracted packet for processing {"connection_id":218424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ca"} 
[2026-10-16 18:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763321856,"raw_latitude":96242096,"longitude_deg":76.3321856,"latitude_deg":9.6242096,"altitude":9,"angle":10,"satellites":46,"speed":57,"hex_longitude":"2d7f5e00","hex_latitude":"05bc89b0","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791807232001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15252747423055872,"note":"Value kept but may cause issues"} 
[2026-10-16 18:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175732421681950720,"note":"Value kept but may cause issues"} 
[2026-10-16 18:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792155504000,"timestamp_ms":1792155504000,"timestamp_seconds":1792155504,"priority":1,"record_length":96,"hex_timestamp":"000001a144cacd80"} 
[2026-10-16 18:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:30: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-10-16 18: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 18:30:27] 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-10-16 18: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-10-16 18:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791807232001,"66":26984,"210":206,"19":45568,"24":57,"16":15252747423055872,"45":9175732421681950720},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-10-16 18:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791807232001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:30:27] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-10-16 18:30:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15252747423055872,"km_value":15252747423055.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175732421681950720,"description":"Unknown IO ID 45"} 
[2026-10-16 18:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791807232001,"power":26984,"unknown_210":206,"unknown_19":45568,"ignition":57,"odometer":null,"unknown_45":9175732421681950720}} 
[2026-10-16 18:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":218424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:30:27] local.INFO: GPS data processed {"connection_id":218424,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:30:27] local.INFO: Acknowledgment sent {"connection_id":218424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:30:59] local.INFO: TCP Data received {"connection_id":218424,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144cc4480012d7fb3c005be65b0000b000a2c..."} 
[2026-10-16 18:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144cc4480012d7fb3c005be65b0000b000a2c..."} 
[2026-10-16 18:30:59] local.INFO: Processing buffer {"connection_id":218424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144cc4480012d7fb3c005be65b0000b000a2c..."} 
[2026-10-16 18:30:59] local.INFO: Packet analysis {"connection_id":218424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144cc"} 
[2026-10-16 18:30:59] local.INFO: Extracted packet for processing {"connection_id":218424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144cc"} 
[2026-10-16 18:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763343808,"raw_latitude":96363952,"longitude_deg":76.3343808,"latitude_deg":9.6363952,"altitude":11,"angle":10,"satellites":44,"speed":51,"hex_longitude":"2d7fb3c0","hex_latitude":"05be65b0","is_valid_coordinates":true} 
[2026-10-16 18:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791831808001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15258747492368384,"note":"Value kept but may cause issues"} 
[2026-10-16 18:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638454568960,"note":"Value kept but may cause issues"} 
[2026-10-16 18:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792155600000,"timestamp_ms":1792155600000,"timestamp_seconds":1792155600,"priority":1,"record_length":96,"hex_timestamp":"000001a144cc4480"} 
[2026-10-16 18:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 18:30:59] 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-10-16 18:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791831808001,"66":27137,"166":206,"19":45568,"24":51,"16":15258747492368384,"45":9200009638454568960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791831808001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:30:59] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:30:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15258747492368384,"km_value":15258747492368.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638454568960,"description":"Unknown IO ID 45"} 
[2026-10-16 18:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791831808001,"power":27137,"unknown_166":206,"unknown_19":45568,"ignition":51,"odometer":null,"unknown_45":9200009638454568960}} 
[2026-10-16 18:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":218424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:30:59] local.INFO: GPS data processed {"connection_id":218424,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:30:59] local.INFO: Acknowledgment sent {"connection_id":218424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:31:14] local.INFO: TCP Data received {"connection_id":217097,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:31:14] local.INFO: Processing buffer {"connection_id":217097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:31:14] local.INFO: IMEI packet received {"connection_id":217097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":217097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:31:15] local.INFO: TCP Data received {"connection_id":217097,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:31:15] local.INFO: Processing buffer {"connection_id":217097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:31:15] local.INFO: IMEI packet received {"connection_id":217097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":217097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:31:21] local.INFO: TCP Data received {"connection_id":217097,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:31:21] local.INFO: Processing buffer {"connection_id":217097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:31:21] local.INFO: IMEI packet received {"connection_id":217097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":217097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:31:22] local.INFO: TCP Data received {"connection_id":217097,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144cc5fd8012d7fba4005be87f8000d000a2c..."} 
[2026-10-16 18:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144cc5fd8012d7fba4005be87f8000d000a2c..."} 
[2026-10-16 18:31:22] local.INFO: Processing buffer {"connection_id":217097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144cc5fd8012d7fba4005be87f8000d000a2c..."} 
[2026-10-16 18:31:22] local.INFO: Packet analysis {"connection_id":217097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144cc"} 
[2026-10-16 18:31:22] local.INFO: Extracted packet for processing {"connection_id":217097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144cc"} 
[2026-10-16 18:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763345472,"raw_latitude":96372728,"longitude_deg":76.3345472,"latitude_deg":9.6372728,"altitude":13,"angle":10,"satellites":44,"speed":48,"hex_longitude":"2d7fba40","hex_latitude":"05be87f8","is_valid_coordinates":true} 
[2026-10-16 18:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791833600001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15259181284065280,"note":"Value kept but may cause issues"} 
[2026-10-16 18:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201909594549760000,"note":"Value kept but may cause issues"} 
[2026-10-16 18:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792155607000,"timestamp_ms":1792155607000,"timestamp_seconds":1792155607,"priority":1,"record_length":96,"hex_timestamp":"000001a144cc5fd8"} 
[2026-10-16 18:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:31: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-10-16 18:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-10-16 18:31:22] 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-10-16 18:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791833600001,"66":27115,"166":206,"19":45568,"24":48,"16":15259181284065280,"45":9201909594549760000},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791833600001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:31:22] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:31:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15259181284065280,"km_value":15259181284065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201909594549760000,"description":"Unknown IO ID 45"} 
[2026-10-16 18:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791833600001,"power":27115,"unknown_166":206,"unknown_19":45568,"ignition":48,"odometer":null,"unknown_45":9201909594549760000}} 
[2026-10-16 18:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":217097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:31:22] local.INFO: GPS data processed {"connection_id":217097,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:31:22] local.INFO: Acknowledgment sent {"connection_id":217097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:31:54] local.INFO: TCP Data received {"connection_id":217097,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144cc7f18012d7fc0c005beac58000d00082d..."} 
[2026-10-16 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144cc7f18012d7fc0c005beac58000d00082d..."} 
[2026-10-16 18:31:54] local.INFO: Processing buffer {"connection_id":217097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144cc7f18012d7fc0c005beac58000d00082d..."} 
[2026-10-16 18:31:54] local.INFO: Packet analysis {"connection_id":217097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144cc"} 
[2026-10-16 18:31:54] local.INFO: Extracted packet for processing {"connection_id":217097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144cc"} 
[2026-10-16 18:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763347136,"raw_latitude":96382040,"longitude_deg":76.3347136,"latitude_deg":9.638204,"altitude":13,"angle":8,"satellites":45,"speed":48,"hex_longitude":"2d7fc0c0","hex_latitude":"05beac58","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791835392001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15259640845565952,"note":"Value kept but may cause issues"} 
[2026-10-16 18:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9203739181900625920,"note":"Value kept but may cause issues"} 
[2026-10-16 18:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792155615000,"timestamp_ms":1792155615000,"timestamp_seconds":1792155615,"priority":1,"record_length":96,"hex_timestamp":"000001a144cc7f18"} 
[2026-10-16 18:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 18:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791835392001,"66":27234,"166":206,"19":45568,"24":48,"16":15259640845565952,"45":9203739181900625920},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791835392001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:31:54] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:31:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15259640845565952,"km_value":15259640845565.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9203739181900625920,"description":"Unknown IO ID 45"} 
[2026-10-16 18:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791835392001,"power":27234,"unknown_166":206,"unknown_19":45568,"ignition":48,"odometer":null,"unknown_45":9203739181900625920}} 
[2026-10-16 18:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":217097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:31:54] local.INFO: GPS data processed {"connection_id":217097,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:31:54] local.INFO: Acknowledgment sent {"connection_id":217097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:32:14] local.INFO: TCP Data received {"connection_id":216858,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:32:14] local.INFO: Processing buffer {"connection_id":216858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:32:14] local.INFO: IMEI packet received {"connection_id":216858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":216858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:32:15] local.INFO: TCP Data received {"connection_id":216858,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:32:15] local.INFO: Processing buffer {"connection_id":216858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:32:15] local.INFO: IMEI packet received {"connection_id":216858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":216858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:32:21] local.INFO: TCP Data received {"connection_id":216858,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:32:21] local.INFO: Processing buffer {"connection_id":216858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:32:21] local.INFO: IMEI packet received {"connection_id":216858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":216858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:32:22] local.INFO: TCP Data received {"connection_id":216858,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144cc9a70012d7fc60005beceb0000b00082d..."} 
[2026-10-16 18:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144cc9a70012d7fc60005beceb0000b00082d..."} 
[2026-10-16 18:32:22] local.INFO: Processing buffer {"connection_id":216858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144cc9a70012d7fc60005beceb0000b00082d..."} 
[2026-10-16 18:32:22] local.INFO: Packet analysis {"connection_id":216858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144cc"} 
[2026-10-16 18:32:22] local.INFO: Extracted packet for processing {"connection_id":216858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144cc"} 
[2026-10-16 18:32:22] local.INFO: GPS Element Parsed {"raw_longitude":763348480,"raw_latitude":96390832,"longitude_deg":76.334848,"latitude_deg":9.6390832,"altitude":11,"angle":8,"satellites":45,"speed":53,"hex_longitude":"2d7fc600","hex_latitude":"05beceb0","is_valid_coordinates":true} 
[2026-10-16 18:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791837440001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15260070342295552,"note":"Value kept but may cause issues"} 
[2026-10-16 18:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205568769251629056,"note":"Value kept but may cause issues"} 
[2026-10-16 18:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792155622000,"timestamp_ms":1792155622000,"timestamp_seconds":1792155622,"priority":1,"record_length":96,"hex_timestamp":"000001a144cc9a70"} 
[2026-10-16 18:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:32: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-10-16 18:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 18:32:22] 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-10-16 18:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791837440001,"66":27169,"166":206,"19":45568,"24":53,"16":15260070342295552,"45":9205568769251629056},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791837440001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:32:22] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:32:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15260070342295552,"km_value":15260070342295.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205568769251629056,"description":"Unknown IO ID 45"} 
[2026-10-16 18:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791837440001,"power":27169,"unknown_166":206,"unknown_19":45568,"ignition":53,"odometer":null,"unknown_45":9205568769251629056}} 
[2026-10-16 18:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":216858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:32:22] local.INFO: GPS data processed {"connection_id":216858,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:32:22] local.INFO: Acknowledgment sent {"connection_id":216858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:32:53] local.INFO: TCP Data received {"connection_id":216858,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ce0d88012d80128005c0a480000a00062d..."} 
[2026-10-16 18:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ce0d88012d80128005c0a480000a00062d..."} 
[2026-10-16 18:32:53] local.INFO: Processing buffer {"connection_id":216858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ce0d88012d80128005c0a480000a00062d..."} 
[2026-10-16 18:32:53] local.INFO: Packet analysis {"connection_id":216858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:32:53] local.INFO: Extracted packet for processing {"connection_id":216858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:32:53] local.INFO: GPS Element Parsed {"raw_longitude":763368064,"raw_latitude":96511104,"longitude_deg":76.3368064,"latitude_deg":9.6511104,"altitude":10,"angle":6,"satellites":45,"speed":52,"hex_longitude":"2d801280","hex_latitude":"05c0a480","is_valid_coordinates":true} 
[2026-10-16 18:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791861760001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15265980217294848,"note":"Value kept but may cause issues"} 
[2026-10-16 18:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219642468708843520,"note":"Value kept but may cause issues"} 
[2026-10-16 18:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792155717000,"timestamp_ms":1792155717000,"timestamp_seconds":1792155717,"priority":1,"record_length":96,"hex_timestamp":"000001a144ce0d88"} 
[2026-10-16 18:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:32: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-10-16 18:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 18:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791861760001,"66":27213,"166":206,"19":45568,"24":52,"16":15265980217294848,"45":-9219642468708843520},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791861760001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:32:53] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:32:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15265980217294848,"km_value":15265980217294.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219642468708843520,"description":"Unknown IO ID 45"} 
[2026-10-16 18:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791861760001,"power":27213,"unknown_166":206,"unknown_19":45568,"ignition":52,"odometer":null,"unknown_45":-9219642468708843520}} 
[2026-10-16 18:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":216858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:32:53] local.INFO: GPS data processed {"connection_id":216858,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:32:53] local.INFO: Acknowledgment sent {"connection_id":216858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:32:55] local.INFO: TCP Data received {"connection_id":218425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:32:55] local.INFO: Processing buffer {"connection_id":218425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:32:55] local.INFO: IMEI packet received {"connection_id":218425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":218425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:33:15] local.INFO: TCP Data received {"connection_id":220157,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:33:15] local.INFO: Processing buffer {"connection_id":220157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:33:15] local.INFO: IMEI packet received {"connection_id":220157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":220157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:33:21] local.INFO: TCP Data received {"connection_id":220157,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:33:21] local.INFO: Processing buffer {"connection_id":220157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:33:21] local.INFO: IMEI packet received {"connection_id":220157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":220157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:33:23] local.INFO: TCP Data received {"connection_id":220157,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ce28e0012d80178005c0c7a0000b00072d..."} 
[2026-10-16 18:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ce28e0012d80178005c0c7a0000b00072d..."} 
[2026-10-16 18:33:23] local.INFO: Processing buffer {"connection_id":220157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ce28e0012d80178005c0c7a0000b00072d..."} 
[2026-10-16 18:33:23] local.INFO: Packet analysis {"connection_id":220157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:33:23] local.INFO: Extracted packet for processing {"connection_id":220157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763369344,"raw_latitude":96520096,"longitude_deg":76.3369344,"latitude_deg":9.6520096,"altitude":11,"angle":7,"satellites":45,"speed":50,"hex_longitude":"2d801780","hex_latitude":"05c0c7a0","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791863552001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15266418303959040,"note":"Value kept but may cause issues"} 
[2026-10-16 18:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218164725078786048,"note":"Value kept but may cause issues"} 
[2026-10-16 18:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792155724000,"timestamp_ms":1792155724000,"timestamp_seconds":1792155724,"priority":1,"record_length":96,"hex_timestamp":"000001a144ce28e0"} 
[2026-10-16 18:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:33: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-10-16 18: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 18:33:23] 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-10-16 18: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-10-16 18:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791863552001,"66":27050,"166":206,"19":45568,"24":50,"16":15266418303959040,"45":-9218164725078786048},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791863552001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:33:23] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:33:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15266418303959040,"km_value":15266418303959.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218164725078786048,"description":"Unknown IO ID 45"} 
[2026-10-16 18:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791863552001,"power":27050,"unknown_166":206,"unknown_19":45568,"ignition":50,"odometer":null,"unknown_45":-9218164725078786048}} 
[2026-10-16 18:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":220157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:33:23] local.INFO: GPS data processed {"connection_id":220157,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:33:23] local.INFO: Acknowledgment sent {"connection_id":220157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:33:54] local.INFO: TCP Data received {"connection_id":220157,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ce4438012d801d0005c0eaf8000a00072c..."} 
[2026-10-16 18:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ce4438012d801d0005c0eaf8000a00072c..."} 
[2026-10-16 18:33:54] local.INFO: Processing buffer {"connection_id":220157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ce4438012d801d0005c0eaf8000a00072c..."} 
[2026-10-16 18:33:54] local.INFO: Packet analysis {"connection_id":220157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:33:54] local.INFO: Extracted packet for processing {"connection_id":220157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763370752,"raw_latitude":96529144,"longitude_deg":76.3370752,"latitude_deg":9.6529144,"altitude":10,"angle":7,"satellites":44,"speed":52,"hex_longitude":"2d801d00","hex_latitude":"05c0eaf8","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791865344001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15266860685590528,"note":"Value kept but may cause issues"} 
[2026-10-16 18:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216757350192930816,"note":"Value kept but may cause issues"} 
[2026-10-16 18:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792155731000,"timestamp_ms":1792155731000,"timestamp_seconds":1792155731,"priority":1,"record_length":96,"hex_timestamp":"000001a144ce4438"} 
[2026-10-16 18:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 18:33:54] 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-10-16 18:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791865344001,"66":27071,"166":206,"19":45568,"24":52,"16":15266860685590528,"45":-9216757350192930816},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791865344001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:33:54] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:33:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15266860685590528,"km_value":15266860685590.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216757350192930816,"description":"Unknown IO ID 45"} 
[2026-10-16 18:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791865344001,"power":27071,"unknown_166":206,"unknown_19":45568,"ignition":52,"odometer":null,"unknown_45":-9216757350192930816}} 
[2026-10-16 18:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":220157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:33:54] local.INFO: GPS data processed {"connection_id":220157,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:33:54] local.INFO: Acknowledgment sent {"connection_id":220157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:34:16] local.INFO: TCP Data received {"connection_id":216860,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:34:16] local.INFO: Processing buffer {"connection_id":216860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:34:16] local.INFO: IMEI packet received {"connection_id":216860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":216860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:34:20] local.INFO: TCP Data received {"connection_id":216860,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:34:20] local.INFO: Processing buffer {"connection_id":216860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:34:20] local.INFO: IMEI packet received {"connection_id":216860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":216860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:34:25] local.INFO: TCP Data received {"connection_id":216860,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ce5f90012d80218005c10e00000c00062b..."} 
[2026-10-16 18:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ce5f90012d80218005c10e00000c00062b..."} 
[2026-10-16 18:34:25] local.INFO: Processing buffer {"connection_id":216860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ce5f90012d80218005c10e00000c00062b..."} 
[2026-10-16 18:34:25] local.INFO: Packet analysis {"connection_id":216860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:34:25] local.INFO: Extracted packet for processing {"connection_id":216860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763371904,"raw_latitude":96538112,"longitude_deg":76.3371904,"latitude_deg":9.6538112,"altitude":12,"angle":6,"satellites":43,"speed":50,"hex_longitude":"2d802180","hex_latitude":"05c10e00","is_valid_coordinates":true} 
[2026-10-16 18:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791867136001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15267298772254720,"note":"Value kept but may cause issues"} 
[2026-10-16 18:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215209237818705920,"note":"Value kept but may cause issues"} 
[2026-10-16 18:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792155738000,"timestamp_ms":1792155738000,"timestamp_seconds":1792155738,"priority":1,"record_length":96,"hex_timestamp":"000001a144ce5f90"} 
[2026-10-16 18:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 18:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791867136001,"66":27104,"166":206,"19":45568,"24":50,"16":15267298772254720,"45":-9215209237818705920},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791867136001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:34:25] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:34:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15267298772254720,"km_value":15267298772254.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215209237818705920,"description":"Unknown IO ID 45"} 
[2026-10-16 18:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791867136001,"power":27104,"unknown_166":206,"unknown_19":45568,"ignition":50,"odometer":null,"unknown_45":-9215209237818705920}} 
[2026-10-16 18:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":216860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:34:25] local.INFO: GPS data processed {"connection_id":216860,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:34:25] local.INFO: Acknowledgment sent {"connection_id":216860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:34:57] local.INFO: TCP Data received {"connection_id":216860,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ce7ed0012d80254005c13380000e00042c..."} 
[2026-10-16 18:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ce7ed0012d80254005c13380000e00042c..."} 
[2026-10-16 18:34:57] local.INFO: Processing buffer {"connection_id":216860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ce7ed0012d80254005c13380000e00042c..."} 
[2026-10-16 18:34:57] local.INFO: Packet analysis {"connection_id":216860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:34:57] local.INFO: Extracted packet for processing {"connection_id":216860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763372864,"raw_latitude":96547712,"longitude_deg":76.3372864,"latitude_deg":9.6547712,"altitude":14,"angle":4,"satellites":44,"speed":46,"hex_longitude":"2d802540","hex_latitude":"05c13380","is_valid_coordinates":true} 
[2026-10-16 18:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791868928001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15267766923689984,"note":"Value kept but may cause issues"} 
[2026-10-16 18:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9213942600421212160,"note":"Value kept but may cause issues"} 
[2026-10-16 18:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792155746000,"timestamp_ms":1792155746000,"timestamp_seconds":1792155746,"priority":1,"record_length":96,"hex_timestamp":"000001a144ce7ed0"} 
[2026-10-16 18:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 18:34:57] 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-10-16 18:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791868928001,"66":27180,"166":206,"19":45568,"24":46,"16":15267766923689984,"45":-9213942600421212160},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791868928001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:34:57] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:34:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15267766923689984,"km_value":15267766923689.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9213942600421212160,"description":"Unknown IO ID 45"} 
[2026-10-16 18:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791868928001,"power":27180,"unknown_166":206,"unknown_19":45568,"ignition":46,"odometer":null,"unknown_45":-9213942600421212160}} 
[2026-10-16 18:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":216860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:34:57] local.INFO: GPS data processed {"connection_id":216860,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:34:57] local.INFO: Acknowledgment sent {"connection_id":216860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:35:21] local.INFO: TCP Data received {"connection_id":220158,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:35:21] local.INFO: Processing buffer {"connection_id":220158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:35:21] local.INFO: IMEI packet received {"connection_id":220158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":220158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:35:26] local.INFO: TCP Data received {"connection_id":220158,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:35:26] local.INFO: Processing buffer {"connection_id":220158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:35:26] local.INFO: IMEI packet received {"connection_id":220158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":220158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:35:28] local.INFO: TCP Data received {"connection_id":220158,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ce9e10012d80294005c155e0000e00072d..."} 
[2026-10-16 18:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ce9e10012d80294005c155e0000e00072d..."} 
[2026-10-16 18:35:28] local.INFO: Processing buffer {"connection_id":220158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ce9e10012d80294005c155e0000e00072d..."} 
[2026-10-16 18:35:28] local.INFO: Packet analysis {"connection_id":220158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:35:28] local.INFO: Extracted packet for processing {"connection_id":220158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763373888,"raw_latitude":96556512,"longitude_deg":76.3373888,"latitude_deg":9.6556512,"altitude":14,"angle":7,"satellites":45,"speed":45,"hex_longitude":"2d802940","hex_latitude":"05c155e0","is_valid_coordinates":true} 
[2026-10-16 18:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791870976001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15268196420419584,"note":"Value kept but may cause issues"} 
[2026-10-16 18:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212887069256089600,"note":"Value kept but may cause issues"} 
[2026-10-16 18:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792155754000,"timestamp_ms":1792155754000,"timestamp_seconds":1792155754,"priority":1,"record_length":96,"hex_timestamp":"000001a144ce9e10"} 
[2026-10-16 18:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:35: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-10-16 18:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 18:35:28] 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-10-16 18:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":220158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":220158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":220158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791870976001,"66":27213,"166":206,"19":45568,"24":45,"16":15268196420419584,"45":-9212887069256089600},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791870976001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:35:28] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:35:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15268196420419584,"km_value":15268196420419.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212887069256089600,"description":"Unknown IO ID 45"} 
[2026-10-16 18:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791870976001,"power":27213,"unknown_166":206,"unknown_19":45568,"ignition":45,"odometer":null,"unknown_45":-9212887069256089600}} 
[2026-10-16 18:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":220158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:35:28] local.INFO: GPS data processed {"connection_id":220158,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:35:28] local.INFO: Acknowledgment sent {"connection_id":220158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:35:31] local.INFO: TCP Data received {"connection_id":220158,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144cebd50012d802ec005c17b10000c000a2d..."} 
[2026-10-16 18:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144cebd50012d802ec005c17b10000c000a2d..."} 
[2026-10-16 18:35:31] local.INFO: Processing buffer {"connection_id":220158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144cebd50012d802ec005c17b10000c000a2d..."} 
[2026-10-16 18:35:31] local.INFO: Packet analysis {"connection_id":220158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:35:31] local.INFO: Extracted packet for processing {"connection_id":220158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ce"} 
[2026-10-16 18:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763375296,"raw_latitude":96566032,"longitude_deg":76.3375296,"latitude_deg":9.6566032,"altitude":12,"angle":10,"satellites":45,"speed":46,"hex_longitude":"2d802ec0","hex_latitude":"05c17b10","is_valid_coordinates":true} 
[2026-10-16 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791873024001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15268664571854848,"note":"Value kept but may cause issues"} 
[2026-10-16 18:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9211761169346994176,"note":"Value kept but may cause issues"} 
[2026-10-16 18:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792155762000,"timestamp_ms":1792155762000,"timestamp_seconds":1792155762,"priority":1,"record_length":96,"hex_timestamp":"000001a144cebd50"} 
[2026-10-16 18:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 18:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":220158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":220158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":220158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791873024001,"66":27213,"166":206,"19":45568,"24":46,"16":15268664571854848,"45":-9211761169346994176},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,19,24,16,45]} 
[2026-10-16 18:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791873024001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:35:31] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-10-16 18:35:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15268664571854848,"km_value":15268664571854.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9211761169346994176,"description":"Unknown IO ID 45"} 
[2026-10-16 18:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791873024001,"power":27213,"unknown_166":206,"unknown_19":45568,"ignition":46,"odometer":null,"unknown_45":-9211761169346994176}} 
[2026-10-16 18:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":220158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:35:31] local.INFO: GPS data processed {"connection_id":220158,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:35:31] local.INFO: Acknowledgment sent {"connection_id":220158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:36:16] local.INFO: TCP Data received {"connection_id":217098,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:36:16] local.INFO: Processing buffer {"connection_id":217098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:36:16] local.INFO: IMEI packet received {"connection_id":217098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":217098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:36:17] local.INFO: TCP Data received {"connection_id":217098,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:36:17] local.INFO: Processing buffer {"connection_id":217098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:36:17] local.INFO: IMEI packet received {"connection_id":217098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":217098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:36:19] local.INFO: TCP Data received {"connection_id":217098,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d0c8c0012d805d0005c2afe8000a00042d..."} 
[2026-10-16 18:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d0c8c0012d805d0005c2afe8000a00042d..."} 
[2026-10-16 18:36:19] local.INFO: Processing buffer {"connection_id":217098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d0c8c0012d805d0005c2afe8000a00042d..."} 
[2026-10-16 18:36:19] local.INFO: Packet analysis {"connection_id":217098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d0"} 
[2026-10-16 18:36:19] local.INFO: Extracted packet for processing {"connection_id":217098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d0"} 
[2026-10-16 18:36:19] local.INFO: GPS Element Parsed {"raw_longitude":763387136,"raw_latitude":96645096,"longitude_deg":76.3387136,"latitude_deg":9.6645096,"altitude":10,"angle":4,"satellites":45,"speed":6,"hex_longitude":"2d805d00","hex_latitude":"05c2afe8","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791904000001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272551517257728,"note":"Value kept but may cause issues"} 
[2026-10-16 18:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197335576768321536,"note":"Value kept but may cause issues"} 
[2026-10-16 18:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792155896000,"timestamp_ms":1792155896000,"timestamp_seconds":1792155896,"priority":1,"record_length":96,"hex_timestamp":"000001a144d0c8c0"} 
[2026-10-16 18:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:36: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-10-16 18: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 18:36:19] 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-10-16 18: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-10-16 18:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":217098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":217098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":217098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791904000001,"66":27017,"167":206,"19":45568,"24":6,"16":15272551517257728,"45":-9197335576768321536},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791904000001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:36:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:36:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272551517257728,"km_value":15272551517257.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197335576768321536,"description":"Unknown IO ID 45"} 
[2026-10-16 18:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791904000001,"power":27017,"unknown_167":206,"unknown_19":45568,"ignition":6,"odometer":null,"unknown_45":-9197335576768321536}} 
[2026-10-16 18:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":217098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:36:19] local.INFO: GPS data processed {"connection_id":217098,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:36:19] local.INFO: Acknowledgment sent {"connection_id":217098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:36:21] local.INFO: TCP Data received {"connection_id":217098,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d11ac8012d805e0005c2b528000b00062d..."} 
[2026-10-16 18:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d11ac8012d805e0005c2b528000b00062d..."} 
[2026-10-16 18:36:21] local.INFO: Processing buffer {"connection_id":217098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d11ac8012d805e0005c2b528000b00062d..."} 
[2026-10-16 18:36:21] local.INFO: Packet analysis {"connection_id":217098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d1"} 
[2026-10-16 18:36:21] local.INFO: Extracted packet for processing {"connection_id":217098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d1"} 
[2026-10-16 18:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763387392,"raw_latitude":96646440,"longitude_deg":76.3387392,"latitude_deg":9.664644,"altitude":11,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d805e00","hex_latitude":"05c2b528","is_valid_coordinates":true} 
[2026-10-16 18:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791909376001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272620236734464,"note":"Value kept but may cause issues"} 
[2026-10-16 18:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197194839279540224,"note":"Value kept but may cause issues"} 
[2026-10-16 18:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792155917000,"timestamp_ms":1792155917000,"timestamp_seconds":1792155917,"priority":1,"record_length":96,"hex_timestamp":"000001a144d11ac8"} 
[2026-10-16 18:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:36: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-10-16 18:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 18:36:21] 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-10-16 18:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791909376001,"66":27158,"167":206,"19":45568,"24":0,"16":15272620236734464,"45":-9197194839279540224},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791909376001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:36:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:36:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272620236734464,"km_value":15272620236734.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197194839279540224,"description":"Unknown IO ID 45"} 
[2026-10-16 18:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791909376001,"power":27158,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9197194839279540224}} 
[2026-10-16 18:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":217098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:36:21] local.INFO: GPS data processed {"connection_id":217098,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:36:21] local.INFO: Acknowledgment sent {"connection_id":217098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:36:54] local.INFO: TCP Data received {"connection_id":217098,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d16cd0012d805e0005c2b6e0000900062d..."} 
[2026-10-16 18:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d16cd0012d805e0005c2b6e0000900062d..."} 
[2026-10-16 18:36:54] local.INFO: Processing buffer {"connection_id":217098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d16cd0012d805e0005c2b6e0000900062d..."} 
[2026-10-16 18:36:54] local.INFO: Packet analysis {"connection_id":217098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d1"} 
[2026-10-16 18:36:54] local.INFO: Extracted packet for processing {"connection_id":217098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d1"} 
[2026-10-16 18:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763387392,"raw_latitude":96646880,"longitude_deg":76.3387392,"latitude_deg":9.664688,"altitude":9,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d805e00","hex_latitude":"05c2b6e0","is_valid_coordinates":true} 
[2026-10-16 18:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791914752001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272641711570944,"note":"Value kept but may cause issues"} 
[2026-10-16 18:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196913364302485504,"note":"Value kept but may cause issues"} 
[2026-10-16 18:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792155938000,"timestamp_ms":1792155938000,"timestamp_seconds":1792155938,"priority":1,"record_length":96,"hex_timestamp":"000001a144d16cd0"} 
[2026-10-16 18:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 18:36:54] 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-10-16 18:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791914752001,"66":27180,"167":206,"19":45568,"24":0,"16":15272641711570944,"45":-9196913364302485504},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791914752001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:36:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:36:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272641711570944,"km_value":15272641711570.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196913364302485504,"description":"Unknown IO ID 45"} 
[2026-10-16 18:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791914752001,"power":27180,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196913364302485504}} 
[2026-10-16 18:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":217098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:36:54] local.INFO: GPS data processed {"connection_id":217098,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:36:54] local.INFO: Acknowledgment sent {"connection_id":217098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:37:16] local.INFO: TCP Data received {"connection_id":218428,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:37:16] local.INFO: Processing buffer {"connection_id":218428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:37:16] local.INFO: IMEI packet received {"connection_id":218428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":218428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:37:20] local.INFO: TCP Data received {"connection_id":218428,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:37:20] local.INFO: Processing buffer {"connection_id":218428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:37:20] local.INFO: IMEI packet received {"connection_id":218428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":218428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:37:22] local.INFO: TCP Data received {"connection_id":218428,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d1bed8012d805e4005c2b9c0000a00042b..."} 
[2026-10-16 18:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d1bed8012d805e4005c2b9c0000a00042b..."} 
[2026-10-16 18:37:22] local.INFO: Processing buffer {"connection_id":218428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d1bed8012d805e4005c2b9c0000a00042b..."} 
[2026-10-16 18:37:22] local.INFO: Packet analysis {"connection_id":218428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d1"} 
[2026-10-16 18:37:22] local.INFO: Extracted packet for processing {"connection_id":218428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d1"} 
[2026-10-16 18:37:22] local.INFO: GPS Element Parsed {"raw_longitude":763387456,"raw_latitude":96647616,"longitude_deg":76.3387456,"latitude_deg":9.6647616,"altitude":10,"angle":4,"satellites":43,"speed":0,"hex_longitude":"2d805e40","hex_latitude":"05c2b9c0","is_valid_coordinates":true} 
[2026-10-16 18:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791920128001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272684661243904,"note":"Value kept but may cause issues"} 
[2026-10-16 18:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196913364302372864,"note":"Value kept but may cause issues"} 
[2026-10-16 18:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792155959000,"timestamp_ms":1792155959000,"timestamp_seconds":1792155959,"priority":1,"record_length":96,"hex_timestamp":"000001a144d1bed8"} 
[2026-10-16 18:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:37: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-10-16 18:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 18:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791920128001,"66":27104,"167":206,"19":45568,"24":0,"16":15272684661243904,"45":-9196913364302372864},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791920128001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:37:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:37:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272684661243904,"km_value":15272684661243.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196913364302372864,"description":"Unknown IO ID 45"} 
[2026-10-16 18:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791920128001,"power":27104,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196913364302372864}} 
[2026-10-16 18:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":218428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:37:22] local.INFO: GPS data processed {"connection_id":218428,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:37:22] local.INFO: Acknowledgment sent {"connection_id":218428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:37:55] local.INFO: TCP Data received {"connection_id":218428,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d210e0012d805e4005c2b9c0000a00042d..."} 
[2026-10-16 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d210e0012d805e4005c2b9c0000a00042d..."} 
[2026-10-16 18:37:55] local.INFO: Processing buffer {"connection_id":218428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d210e0012d805e4005c2b9c0000a00042d..."} 
[2026-10-16 18:37:55] local.INFO: Packet analysis {"connection_id":218428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d2"} 
[2026-10-16 18:37:55] local.INFO: Extracted packet for processing {"connection_id":218428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d2"} 
[2026-10-16 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763387456,"raw_latitude":96647616,"longitude_deg":76.3387456,"latitude_deg":9.6647616,"altitude":10,"angle":4,"satellites":45,"speed":0,"hex_longitude":"2d805e40","hex_latitude":"05c2b9c0","is_valid_coordinates":true} 
[2026-10-16 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791925504001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272684661243904,"note":"Value kept but may cause issues"} 
[2026-10-16 18:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196842995558006784,"note":"Value kept but may cause issues"} 
[2026-10-16 18:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792155980000,"timestamp_ms":1792155980000,"timestamp_seconds":1792155980,"priority":1,"record_length":96,"hex_timestamp":"000001a144d210e0"} 
[2026-10-16 18:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 18:37:55] 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-10-16 18:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791925504001,"66":27082,"167":206,"19":45568,"24":0,"16":15272684661243904,"45":-9196842995558006784},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791925504001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:37:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:37:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272684661243904,"km_value":15272684661243.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196842995558006784,"description":"Unknown IO ID 45"} 
[2026-10-16 18:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791925504001,"power":27082,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196842995558006784}} 
[2026-10-16 18:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":218428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:37:55] local.INFO: GPS data processed {"connection_id":218428,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:37:55] local.INFO: Acknowledgment sent {"connection_id":218428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:38:15] local.INFO: TCP Data received {"connection_id":220160,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:38:15] local.INFO: Processing buffer {"connection_id":220160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:38:15] local.INFO: IMEI packet received {"connection_id":220160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":220160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:38:21] local.INFO: TCP Data received {"connection_id":220160,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:38:21] local.INFO: Processing buffer {"connection_id":220160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:38:21] local.INFO: IMEI packet received {"connection_id":220160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":220160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:38:23] local.INFO: TCP Data received {"connection_id":220160,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d262e8012d805fc005c2be10000c00072d..."} 
[2026-10-16 18:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d262e8012d805fc005c2be10000c00072d..."} 
[2026-10-16 18:38:23] local.INFO: Processing buffer {"connection_id":220160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d262e8012d805fc005c2be10000c00072d..."} 
[2026-10-16 18:38:23] local.INFO: Packet analysis {"connection_id":220160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d2"} 
[2026-10-16 18:38:23] local.INFO: Extracted packet for processing {"connection_id":220160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d2"} 
[2026-10-16 18:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763387840,"raw_latitude":96648720,"longitude_deg":76.338784,"latitude_deg":9.664872,"altitude":12,"angle":7,"satellites":45,"speed":0,"hex_longitude":"2d805fc0","hex_latitude":"05c2be10","is_valid_coordinates":true} 
[2026-10-16 18:38: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-10-16 18:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791930880001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272740495818752,"note":"Value kept but may cause issues"} 
[2026-10-16 18:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196842995558006784,"note":"Value kept but may cause issues"} 
[2026-10-16 18:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792156001000,"timestamp_ms":1792156001000,"timestamp_seconds":1792156001,"priority":1,"record_length":96,"hex_timestamp":"000001a144d262e8"} 
[2026-10-16 18:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:38: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-10-16 18:38: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 18:38:23] 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-10-16 18:38: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-10-16 18:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791930880001,"66":27180,"167":206,"19":45568,"24":0,"16":15272740495818752,"45":-9196842995558006784},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791930880001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:38:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:38:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272740495818752,"km_value":15272740495818.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196842995558006784,"description":"Unknown IO ID 45"} 
[2026-10-16 18:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791930880001,"power":27180,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196842995558006784}} 
[2026-10-16 18:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":220160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:38:23] local.INFO: GPS data processed {"connection_id":220160,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:38:23] local.INFO: Acknowledgment sent {"connection_id":220160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:38:30] local.INFO: TCP Data received {"connection_id":216861,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:38:30] local.INFO: Processing buffer {"connection_id":216861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:38:30] local.INFO: IMEI packet received {"connection_id":216861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":216861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:38:50] local.INFO: TCP Data received {"connection_id":220161,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:38:50] local.INFO: Processing buffer {"connection_id":220161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:38:50] local.INFO: IMEI packet received {"connection_id":220161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":220161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:38:57] local.INFO: TCP Data received {"connection_id":220160,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d2b4f0012d80600005c2c098000b000b2c..."} 
[2026-10-16 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d2b4f0012d80600005c2c098000b000b2c..."} 
[2026-10-16 18:38:57] local.INFO: Processing buffer {"connection_id":220160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d2b4f0012d80600005c2c098000b000b2c..."} 
[2026-10-16 18:38:57] local.INFO: Packet analysis {"connection_id":220160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d2"} 
[2026-10-16 18:38:57] local.INFO: Extracted packet for processing {"connection_id":220160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d2"} 
[2026-10-16 18:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763387904,"raw_latitude":96649368,"longitude_deg":76.3387904,"latitude_deg":9.6649368,"altitude":11,"angle":11,"satellites":44,"speed":6,"hex_longitude":"2d806000","hex_latitude":"05c2c098","is_valid_coordinates":true} 
[2026-10-16 18:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791936256001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272774855557120,"note":"Value kept but may cause issues"} 
[2026-10-16 18:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196420783092658176,"note":"Value kept but may cause issues"} 
[2026-10-16 18:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792156022000,"timestamp_ms":1792156022000,"timestamp_seconds":1792156022,"priority":1,"record_length":96,"hex_timestamp":"000001a144d2b4f0"} 
[2026-10-16 18:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 18:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":220160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":220160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":220160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791936256001,"66":26963,"167":206,"19":45568,"24":6,"16":15272774855557120,"45":-9196420783092658176},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791936256001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:38:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:38:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272774855557120,"km_value":15272774855557.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196420783092658176,"description":"Unknown IO ID 45"} 
[2026-10-16 18:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791936256001,"power":26963,"unknown_167":206,"unknown_19":45568,"ignition":6,"odometer":null,"unknown_45":-9196420783092658176}} 
[2026-10-16 18:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":220160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:38:57] local.INFO: GPS data processed {"connection_id":220160,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:38:57] local.INFO: Acknowledgment sent {"connection_id":220160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:39:15] local.INFO: TCP Data received {"connection_id":216862,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:39:15] local.INFO: Processing buffer {"connection_id":216862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:39:15] local.INFO: IMEI packet received {"connection_id":216862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":216862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:39:21] local.INFO: TCP Data received {"connection_id":216862,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:39:21] local.INFO: Processing buffer {"connection_id":216862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:39:21] local.INFO: IMEI packet received {"connection_id":216862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":216862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:39:23] local.INFO: TCP Data received {"connection_id":216862,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d306f8012d80604005c2c388000b000b2d..."} 
[2026-10-16 18:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d306f8012d80604005c2c388000b000b2d..."} 
[2026-10-16 18:39:23] local.INFO: Processing buffer {"connection_id":216862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d306f8012d80604005c2c388000b000b2d..."} 
[2026-10-16 18:39:23] local.INFO: Packet analysis {"connection_id":216862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d3"} 
[2026-10-16 18:39:23] local.INFO: Extracted packet for processing {"connection_id":216862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d3"} 
[2026-10-16 18:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96650120,"longitude_deg":76.3387968,"latitude_deg":9.665012,"altitude":11,"angle":11,"satellites":45,"speed":0,"hex_longitude":"2d806040","hex_latitude":"05c2c388","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791941632001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272813510262784,"note":"Value kept but may cause issues"} 
[2026-10-16 18:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196350414348314624,"note":"Value kept but may cause issues"} 
[2026-10-16 18:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792156043000,"timestamp_ms":1792156043000,"timestamp_seconds":1792156043,"priority":1,"record_length":96,"hex_timestamp":"000001a144d306f8"} 
[2026-10-16 18:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:39: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-10-16 18: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-10-16 18:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18: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-10-16 18:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791941632001,"66":27071,"167":206,"19":45568,"24":0,"16":15272813510262784,"45":-9196350414348314624},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791941632001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:39:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:39:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272813510262784,"km_value":15272813510262.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196350414348314624,"description":"Unknown IO ID 45"} 
[2026-10-16 18:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791941632001,"power":27071,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196350414348314624}} 
[2026-10-16 18:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":216862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:39:23] local.INFO: GPS data processed {"connection_id":216862,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:39:23] local.INFO: Acknowledgment sent {"connection_id":216862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:39:57] local.INFO: TCP Data received {"connection_id":216862,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d35900012d80604005c2c388000b000b2d..."} 
[2026-10-16 18:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d35900012d80604005c2c388000b000b2d..."} 
[2026-10-16 18:39:57] local.INFO: Processing buffer {"connection_id":216862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d35900012d80604005c2c388000b000b2d..."} 
[2026-10-16 18:39:57] local.INFO: Packet analysis {"connection_id":216862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d3"} 
[2026-10-16 18:39:57] local.INFO: Extracted packet for processing {"connection_id":216862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d3"} 
[2026-10-16 18:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96650120,"longitude_deg":76.3387968,"latitude_deg":9.665012,"altitude":11,"angle":11,"satellites":45,"speed":0,"hex_longitude":"2d806040","hex_latitude":"05c2c388","is_valid_coordinates":true} 
[2026-10-16 18:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791947008001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272813510262784,"note":"Value kept but may cause issues"} 
[2026-10-16 18:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045603944448,"note":"Value kept but may cause issues"} 
[2026-10-16 18:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792156064000,"timestamp_ms":1792156064000,"timestamp_seconds":1792156064,"priority":1,"record_length":96,"hex_timestamp":"000001a144d35900"} 
[2026-10-16 18:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 18:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791947008001,"66":26984,"167":206,"19":45568,"24":0,"16":15272813510262784,"45":-9196280045603944448},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791947008001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:39:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:39:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272813510262784,"km_value":15272813510262.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045603944448,"description":"Unknown IO ID 45"} 
[2026-10-16 18:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791947008001,"power":26984,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196280045603944448}} 
[2026-10-16 18:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":216862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:39:57] local.INFO: GPS data processed {"connection_id":216862,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:39:57] local.INFO: Acknowledgment sent {"connection_id":216862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:40:16] local.INFO: TCP Data received {"connection_id":220162,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:40:16] local.INFO: Processing buffer {"connection_id":220162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:40:16] local.INFO: IMEI packet received {"connection_id":220162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":220162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:40:21] local.INFO: TCP Data received {"connection_id":220162,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:40:21] local.INFO: Processing buffer {"connection_id":220162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:40:21] local.INFO: IMEI packet received {"connection_id":220162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":220162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:40:24] local.INFO: TCP Data received {"connection_id":220162,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d38bc8012d80600005c2c460000801622e..."} 
[2026-10-16 18:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d38bc8012d80600005c2c460000801622e..."} 
[2026-10-16 18:40:24] local.INFO: Processing buffer {"connection_id":220162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d38bc8012d80600005c2c460000801622e..."} 
[2026-10-16 18:40:24] local.INFO: Packet analysis {"connection_id":220162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d3"} 
[2026-10-16 18:40:24] local.INFO: Extracted packet for processing {"connection_id":220162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d3"} 
[2026-10-16 18:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763387904,"raw_latitude":96650336,"longitude_deg":76.3387904,"latitude_deg":9.6650336,"altitude":8,"angle":354,"satellites":46,"speed":5,"hex_longitude":"2d806000","hex_latitude":"05c2c460","is_valid_coordinates":true} 
[2026-10-16 18:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791952384001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272826395164672,"note":"Value kept but may cause issues"} 
[2026-10-16 18:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045603944448,"note":"Value kept but may cause issues"} 
[2026-10-16 18:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792156077000,"timestamp_ms":1792156077000,"timestamp_seconds":1792156077,"priority":1,"record_length":96,"hex_timestamp":"000001a144d38bc8"} 
[2026-10-16 18:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:40: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-10-16 18:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 18:40:24] 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-10-16 18:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":220162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":220162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":220162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791952384001,"66":27115,"167":206,"19":45568,"24":5,"16":15272826395164672,"45":-9196280045603944448},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791952384001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:40:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:40:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272826395164672,"km_value":15272826395164.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045603944448,"description":"Unknown IO ID 45"} 
[2026-10-16 18:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791952384001,"power":27115,"unknown_167":206,"unknown_19":45568,"ignition":5,"odometer":null,"unknown_45":-9196280045603944448}} 
[2026-10-16 18:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":220162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:40:24] local.INFO: GPS data processed {"connection_id":220162,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:40:24] local.INFO: Acknowledgment sent {"connection_id":220162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:40:56] local.INFO: TCP Data received {"connection_id":220162,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d3c660012d80600005c2c658000800072d..."} 
[2026-10-16 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d3c660012d80600005c2c658000800072d..."} 
[2026-10-16 18:40:56] local.INFO: Processing buffer {"connection_id":220162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d3c660012d80600005c2c658000800072d..."} 
[2026-10-16 18:40:56] local.INFO: Packet analysis {"connection_id":220162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d3"} 
[2026-10-16 18:40:56] local.INFO: Extracted packet for processing {"connection_id":220162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d3"} 
[2026-10-16 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763387904,"raw_latitude":96650840,"longitude_deg":76.3387904,"latitude_deg":9.665084,"altitude":8,"angle":7,"satellites":45,"speed":3,"hex_longitude":"2d806000","hex_latitude":"05c2c658","is_valid_coordinates":true} 
[2026-10-16 18:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791955712001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272852164968448,"note":"Value kept but may cause issues"} 
[2026-10-16 18:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196350414348066816,"note":"Value kept but may cause issues"} 
[2026-10-16 18:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792156092000,"timestamp_ms":1792156092000,"timestamp_seconds":1792156092,"priority":1,"record_length":96,"hex_timestamp":"000001a144d3c660"} 
[2026-10-16 18:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 18:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":220162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":220162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":220162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791955712001,"66":26930,"167":206,"19":45568,"24":3,"16":15272852164968448,"45":-9196350414348066816},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791955712001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:40:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:40:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272852164968448,"km_value":15272852164968.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196350414348066816,"description":"Unknown IO ID 45"} 
[2026-10-16 18:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791955712001,"power":26930,"unknown_167":206,"unknown_19":45568,"ignition":3,"odometer":null,"unknown_45":-9196350414348066816}} 
[2026-10-16 18:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":220162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:40:56] local.INFO: GPS data processed {"connection_id":220162,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:40:56] local.INFO: Acknowledgment sent {"connection_id":220162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:41:18] local.INFO: TCP Data received {"connection_id":218429,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:41:18] local.INFO: Processing buffer {"connection_id":218429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:41:18] local.INFO: IMEI packet received {"connection_id":218429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":218429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:41:20] local.INFO: TCP Data received {"connection_id":218429,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:41:20] local.INFO: Processing buffer {"connection_id":218429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:41:20] local.INFO: IMEI packet received {"connection_id":218429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":218429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:41:26] local.INFO: TCP Data received {"connection_id":218429,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:41:26] local.INFO: Processing buffer {"connection_id":218429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:41:26] local.INFO: IMEI packet received {"connection_id":218429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":218429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:41:27] local.INFO: TCP Data received {"connection_id":218429,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d41868012d80604005c2c718000800062d..."} 
[2026-10-16 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d41868012d80604005c2c718000800062d..."} 
[2026-10-16 18:41:27] local.INFO: Processing buffer {"connection_id":218429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d41868012d80604005c2c718000800062d..."} 
[2026-10-16 18:41:27] local.INFO: Packet analysis {"connection_id":218429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d4"} 
[2026-10-16 18:41:27] local.INFO: Extracted packet for processing {"connection_id":218429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d4"} 
[2026-10-16 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96651032,"longitude_deg":76.3387968,"latitude_deg":9.6651032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d806040","hex_latitude":"05c2c718","is_valid_coordinates":true} 
[2026-10-16 18:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791959552001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272865049870336,"note":"Value kept but may cause issues"} 
[2026-10-16 18:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196350414347937792,"note":"Value kept but may cause issues"} 
[2026-10-16 18:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792156113000,"timestamp_ms":1792156113000,"timestamp_seconds":1792156113,"priority":1,"record_length":96,"hex_timestamp":"000001a144d41868"} 
[2026-10-16 18:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:41: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-10-16 18:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 18:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791959552001,"66":27180,"167":206,"19":45568,"24":0,"16":15272865049870336,"45":-9196350414347937792},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791959552001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:41:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:41:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272865049870336,"km_value":15272865049870.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196350414347937792,"description":"Unknown IO ID 45"} 
[2026-10-16 18:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791959552001,"power":27180,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196350414347937792}} 
[2026-10-16 18:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":218429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:41:27] local.INFO: GPS data processed {"connection_id":218429,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:41:27] local.INFO: Acknowledgment sent {"connection_id":218429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:41:31] local.INFO: TCP Data received {"connection_id":218429,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d46a70012d80604005c2c718000800062d..."} 
[2026-10-16 18:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d46a70012d80604005c2c718000800062d..."} 
[2026-10-16 18:41:31] local.INFO: Processing buffer {"connection_id":218429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d46a70012d80604005c2c718000800062d..."} 
[2026-10-16 18:41:31] local.INFO: Packet analysis {"connection_id":218429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d4"} 
[2026-10-16 18:41:31] local.INFO: Extracted packet for processing {"connection_id":218429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d4"} 
[2026-10-16 18:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96651032,"longitude_deg":76.3387968,"latitude_deg":9.6651032,"altitude":8,"angle":6,"satellites":45,"speed":0,"hex_longitude":"2d806040","hex_latitude":"05c2c718","is_valid_coordinates":true} 
[2026-10-16 18:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791964928001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272865049870336,"note":"Value kept but may cause issues"} 
[2026-10-16 18:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045603710976,"note":"Value kept but may cause issues"} 
[2026-10-16 18:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792156134000,"timestamp_ms":1792156134000,"timestamp_seconds":1792156134,"priority":1,"record_length":96,"hex_timestamp":"000001a144d46a70"} 
[2026-10-16 18:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 18:41:31] 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-10-16 18:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":218429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":218429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":218429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791964928001,"66":26930,"167":206,"19":45568,"24":0,"16":15272865049870336,"45":-9196280045603710976},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791964928001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:41:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:41:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272865049870336,"km_value":15272865049870.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045603710976,"description":"Unknown IO ID 45"} 
[2026-10-16 18:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791964928001,"power":26930,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196280045603710976}} 
[2026-10-16 18:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":218429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:41:31] local.INFO: GPS data processed {"connection_id":218429,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:41:31] local.INFO: Acknowledgment sent {"connection_id":218429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:42:16] local.INFO: TCP Data received {"connection_id":216864,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:42:16] local.INFO: Processing buffer {"connection_id":216864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:42:16] local.INFO: IMEI packet received {"connection_id":216864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":216864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:42:21] local.INFO: TCP Data received {"connection_id":216864,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:42:21] local.INFO: Processing buffer {"connection_id":216864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:42:21] local.INFO: IMEI packet received {"connection_id":216864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":216864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:42:24] local.INFO: TCP Data received {"connection_id":216864,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d4bc78012d80604005c2c718000800062c..."} 
[2026-10-16 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d4bc78012d80604005c2c718000800062c..."} 
[2026-10-16 18:42:24] local.INFO: Processing buffer {"connection_id":216864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d4bc78012d80604005c2c718000800062c..."} 
[2026-10-16 18:42:24] local.INFO: Packet analysis {"connection_id":216864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d4"} 
[2026-10-16 18:42:24] local.INFO: Extracted packet for processing {"connection_id":216864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d4"} 
[2026-10-16 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96651032,"longitude_deg":76.3387968,"latitude_deg":9.6651032,"altitude":8,"angle":6,"satellites":44,"speed":0,"hex_longitude":"2d806040","hex_latitude":"05c2c718","is_valid_coordinates":true} 
[2026-10-16 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791970304001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272865049870336,"note":"Value kept but may cause issues"} 
[2026-10-16 18:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045603710976,"note":"Value kept but may cause issues"} 
[2026-10-16 18:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792156155000,"timestamp_ms":1792156155000,"timestamp_seconds":1792156155,"priority":1,"record_length":96,"hex_timestamp":"000001a144d4bc78"} 
[2026-10-16 18:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:42: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-10-16 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 18:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791970304001,"66":27115,"167":206,"19":45568,"24":0,"16":15272865049870336,"45":-9196280045603710976},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791970304001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:42:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:42:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272865049870336,"km_value":15272865049870.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045603710976,"description":"Unknown IO ID 45"} 
[2026-10-16 18:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791970304001,"power":27115,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196280045603710976}} 
[2026-10-16 18:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":216864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:42:24] local.INFO: GPS data processed {"connection_id":216864,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:42:24] local.INFO: Acknowledgment sent {"connection_id":216864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:42:57] local.INFO: TCP Data received {"connection_id":216864,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d50e80012d80604005c2c908000900032c..."} 
[2026-10-16 18:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d50e80012d80604005c2c908000900032c..."} 
[2026-10-16 18:42:57] local.INFO: Processing buffer {"connection_id":216864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d50e80012d80604005c2c908000900032c..."} 
[2026-10-16 18:42:57] local.INFO: Packet analysis {"connection_id":216864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d5"} 
[2026-10-16 18:42:57] local.INFO: Extracted packet for processing {"connection_id":216864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d5"} 
[2026-10-16 18:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96651528,"longitude_deg":76.3387968,"latitude_deg":9.6651528,"altitude":9,"angle":3,"satellites":44,"speed":0,"hex_longitude":"2d806040","hex_latitude":"05c2c908","is_valid_coordinates":true} 
[2026-10-16 18:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791975680001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272890819674112,"note":"Value kept but may cause issues"} 
[2026-10-16 18:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045603710976,"note":"Value kept but may cause issues"} 
[2026-10-16 18:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792156176000,"timestamp_ms":1792156176000,"timestamp_seconds":1792156176,"priority":1,"record_length":96,"hex_timestamp":"000001a144d50e80"} 
[2026-10-16 18:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 18:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791975680001,"66":27071,"167":206,"19":45568,"24":0,"16":15272890819674112,"45":-9196280045603710976},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791975680001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:42:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:42:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272890819674112,"km_value":15272890819674.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045603710976,"description":"Unknown IO ID 45"} 
[2026-10-16 18:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791975680001,"power":27071,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196280045603710976}} 
[2026-10-16 18:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":216864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:42:57] local.INFO: GPS data processed {"connection_id":216864,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:42:57] local.INFO: Acknowledgment sent {"connection_id":216864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:43:16] local.INFO: TCP Data received {"connection_id":218431,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:43:16] local.INFO: Processing buffer {"connection_id":218431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:43:16] local.INFO: IMEI packet received {"connection_id":218431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":218431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:43:17] local.INFO: TCP Data received {"connection_id":218431,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:43:17] local.INFO: Processing buffer {"connection_id":218431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:43:17] local.INFO: IMEI packet received {"connection_id":218431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":218431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:43:21] local.INFO: TCP Data received {"connection_id":218431,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:43:21] local.INFO: Processing buffer {"connection_id":218431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:43:21] local.INFO: IMEI packet received {"connection_id":218431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":218431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:43:23] local.INFO: TCP Data received {"connection_id":218431,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d56088012d80604005c2c908000900032a..."} 
[2026-10-16 18:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d56088012d80604005c2c908000900032a..."} 
[2026-10-16 18:43:23] local.INFO: Processing buffer {"connection_id":218431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d56088012d80604005c2c908000900032a..."} 
[2026-10-16 18:43:23] local.INFO: Packet analysis {"connection_id":218431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d5"} 
[2026-10-16 18:43:23] local.INFO: Extracted packet for processing {"connection_id":218431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d5"} 
[2026-10-16 18:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96651528,"longitude_deg":76.3387968,"latitude_deg":9.6651528,"altitude":9,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d806040","hex_latitude":"05c2c908","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791981056001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272890819674112,"note":"Value kept but may cause issues"} 
[2026-10-16 18:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045603584000,"note":"Value kept but may cause issues"} 
[2026-10-16 18:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792156197000,"timestamp_ms":1792156197000,"timestamp_seconds":1792156197,"priority":1,"record_length":96,"hex_timestamp":"000001a144d56088"} 
[2026-10-16 18:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:43: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-10-16 18: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 18:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791981056001,"66":26908,"167":206,"19":45568,"24":0,"16":15272890819674112,"45":-9196280045603584000},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791981056001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:43:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:43:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272890819674112,"km_value":15272890819674.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045603584000,"description":"Unknown IO ID 45"} 
[2026-10-16 18:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791981056001,"power":26908,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196280045603584000}} 
[2026-10-16 18:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":218431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:43:23] local.INFO: GPS data processed {"connection_id":218431,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:43:23] local.INFO: Acknowledgment sent {"connection_id":218431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:43:28] local.INFO: TCP Data received {"connection_id":218431,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d5b290012d80604005c2c908000900032c..."} 
[2026-10-16 18:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d5b290012d80604005c2c908000900032c..."} 
[2026-10-16 18:43:28] local.INFO: Processing buffer {"connection_id":218431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d5b290012d80604005c2c908000900032c..."} 
[2026-10-16 18:43:28] local.INFO: Packet analysis {"connection_id":218431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d5"} 
[2026-10-16 18:43:28] local.INFO: Extracted packet for processing {"connection_id":218431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d5"} 
[2026-10-16 18:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96651528,"longitude_deg":76.3387968,"latitude_deg":9.6651528,"altitude":9,"angle":3,"satellites":44,"speed":0,"hex_longitude":"2d806040","hex_latitude":"05c2c908","is_valid_coordinates":true} 
[2026-10-16 18:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791986432001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272890819674112,"note":"Value kept but may cause issues"} 
[2026-10-16 18:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045603584000,"note":"Value kept but may cause issues"} 
[2026-10-16 18:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792156218000,"timestamp_ms":1792156218000,"timestamp_seconds":1792156218,"priority":1,"record_length":96,"hex_timestamp":"000001a144d5b290"} 
[2026-10-16 18:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:43: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-10-16 18:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-16 18:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791986432001,"66":27039,"167":206,"19":45568,"24":0,"16":15272890819674112,"45":-9196280045603584000},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791986432001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:43:28] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:43:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272890819674112,"km_value":15272890819674.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045603584000,"description":"Unknown IO ID 45"} 
[2026-10-16 18:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791986432001,"power":27039,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196280045603584000}} 
[2026-10-16 18:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":218431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:43:28] local.INFO: GPS data processed {"connection_id":218431,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:43:28] local.INFO: Acknowledgment sent {"connection_id":218431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:44:00] local.INFO: TCP Data received {"connection_id":218431,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d60498012d80604005c2c908000900032c..."} 
[2026-10-16 18:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d60498012d80604005c2c908000900032c..."} 
[2026-10-16 18:44:00] local.INFO: Processing buffer {"connection_id":218431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d60498012d80604005c2c908000900032c..."} 
[2026-10-16 18:44:00] local.INFO: Packet analysis {"connection_id":218431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d6"} 
[2026-10-16 18:44:00] local.INFO: Extracted packet for processing {"connection_id":218431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d6"} 
[2026-10-16 18:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96651528,"longitude_deg":76.3387968,"latitude_deg":9.6651528,"altitude":9,"angle":3,"satellites":44,"speed":0,"hex_longitude":"2d806040","hex_latitude":"05c2c908","is_valid_coordinates":true} 
[2026-10-16 18:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791991808001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272890819674112,"note":"Value kept but may cause issues"} 
[2026-10-16 18:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045603584000,"note":"Value kept but may cause issues"} 
[2026-10-16 18:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792156239000,"timestamp_ms":1792156239000,"timestamp_seconds":1792156239,"priority":1,"record_length":96,"hex_timestamp":"000001a144d60498"} 
[2026-10-16 18:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-10-16 18:44:00] 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-10-16 18:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":218431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":218431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":218431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791991808001,"66":27104,"167":206,"19":45568,"24":0,"16":15272890819674112,"45":-9196280045603584000},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791991808001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:44:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:44:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272890819674112,"km_value":15272890819674.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045603584000,"description":"Unknown IO ID 45"} 
[2026-10-16 18:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791991808001,"power":27104,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196280045603584000}} 
[2026-10-16 18:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":218431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:44:00] local.INFO: GPS data processed {"connection_id":218431,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:44:00] local.INFO: Acknowledgment sent {"connection_id":218431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:44:10] local.INFO: TCP Data received {"connection_id":218432,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:44:10] local.INFO: Processing buffer {"connection_id":218432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:44:10] local.INFO: IMEI packet received {"connection_id":218432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":218432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:44:15] local.INFO: TCP Data received {"connection_id":216865,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:44:15] local.INFO: Processing buffer {"connection_id":216865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:44:15] local.INFO: IMEI packet received {"connection_id":216865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":216865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:44:20] local.INFO: TCP Data received {"connection_id":216865,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:44:20] local.INFO: Processing buffer {"connection_id":216865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:44:20] local.INFO: IMEI packet received {"connection_id":216865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":216865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:44:22] local.INFO: TCP Data received {"connection_id":216865,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d656a0012d80604005c2c908000900032c..."} 
[2026-10-16 18:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d656a0012d80604005c2c908000900032c..."} 
[2026-10-16 18:44:22] local.INFO: Processing buffer {"connection_id":216865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d656a0012d80604005c2c908000900032c..."} 
[2026-10-16 18:44:22] local.INFO: Packet analysis {"connection_id":216865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d6"} 
[2026-10-16 18:44:22] local.INFO: Extracted packet for processing {"connection_id":216865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d6"} 
[2026-10-16 18:44:22] local.INFO: GPS Element Parsed {"raw_longitude":763387968,"raw_latitude":96651528,"longitude_deg":76.3387968,"latitude_deg":9.6651528,"altitude":9,"angle":3,"satellites":44,"speed":0,"hex_longitude":"2d806040","hex_latitude":"05c2c908","is_valid_coordinates":true} 
[2026-10-16 18:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458791997184001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15272890819674112,"note":"Value kept but may cause issues"} 
[2026-10-16 18:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196280045603584000,"note":"Value kept but may cause issues"} 
[2026-10-16 18:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792156260000,"timestamp_ms":1792156260000,"timestamp_seconds":1792156260,"priority":1,"record_length":96,"hex_timestamp":"000001a144d656a0"} 
[2026-10-16 18:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:44: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-10-16 18:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 18:44:22] 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-10-16 18:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458791997184001,"66":26908,"167":206,"19":45568,"24":0,"16":15272890819674112,"45":-9196280045603584000},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458791997184001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:44:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:44:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15272890819674112,"km_value":15272890819674.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196280045603584000,"description":"Unknown IO ID 45"} 
[2026-10-16 18:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458791997184001,"power":26908,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9196280045603584000}} 
[2026-10-16 18:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":216865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:44:22] local.INFO: GPS data processed {"connection_id":216865,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:44:22] local.INFO: Acknowledgment sent {"connection_id":216865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:44:50] local.INFO: TCP Data received {"connection_id":218433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:44:50] local.INFO: Processing buffer {"connection_id":218433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:44:50] local.INFO: IMEI packet received {"connection_id":218433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":218433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:44:55] local.INFO: TCP Data received {"connection_id":216865,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d8e6e0012d80664005c2f270000601622d..."} 
[2026-10-16 18:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d8e6e0012d80664005c2f270000601622d..."} 
[2026-10-16 18:44:55] local.INFO: Processing buffer {"connection_id":216865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d8e6e0012d80664005c2f270000601622d..."} 
[2026-10-16 18:44:55] local.INFO: Packet analysis {"connection_id":216865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d8"} 
[2026-10-16 18:44:55] local.INFO: Extracted packet for processing {"connection_id":216865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d8"} 
[2026-10-16 18:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763389504,"raw_latitude":96662128,"longitude_deg":76.3389504,"latitude_deg":9.6662128,"altitude":6,"angle":354,"satellites":45,"speed":2,"hex_longitude":"2d806640","hex_latitude":"05c2f270","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792044288001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273427690586112,"note":"Value kept but may cause issues"} 
[2026-10-16 18:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194591195740712960,"note":"Value kept but may cause issues"} 
[2026-10-16 18:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792156428000,"timestamp_ms":1792156428000,"timestamp_seconds":1792156428,"priority":1,"record_length":96,"hex_timestamp":"000001a144d8e6e0"} 
[2026-10-16 18:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 18:44:55] 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-10-16 18: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-10-16 18:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792044288001,"66":27039,"167":206,"19":45568,"24":2,"16":15273427690586112,"45":-9194591195740712960},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792044288001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:44:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:44:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273427690586112,"km_value":15273427690586.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194591195740712960,"description":"Unknown IO ID 45"} 
[2026-10-16 18:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792044288001,"power":27039,"unknown_167":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":-9194591195740712960}} 
[2026-10-16 18:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":216865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:44:55] local.INFO: GPS data processed {"connection_id":216865,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:44:55] local.INFO: Acknowledgment sent {"connection_id":216865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:45:15] local.INFO: TCP Data received {"connection_id":218434,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:45:15] local.INFO: Processing buffer {"connection_id":218434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:45:15] local.INFO: IMEI packet received {"connection_id":218434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":218434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:45:20] local.INFO: TCP Data received {"connection_id":218434,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:45:20] local.INFO: Processing buffer {"connection_id":218434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:45:20] local.INFO: IMEI packet received {"connection_id":218434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":218434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:45:23] local.INFO: TCP Data received {"connection_id":218434,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d8eeb0012d80668005c2f318000500062d..."} 
[2026-10-16 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d8eeb0012d80668005c2f318000500062d..."} 
[2026-10-16 18:45:23] local.INFO: Processing buffer {"connection_id":218434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d8eeb0012d80668005c2f318000500062d..."} 
[2026-10-16 18:45:23] local.INFO: Packet analysis {"connection_id":218434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d8"} 
[2026-10-16 18:45:23] local.INFO: Extracted packet for processing {"connection_id":218434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d8"} 
[2026-10-16 18:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763389568,"raw_latitude":96662296,"longitude_deg":76.3389568,"latitude_deg":9.6662296,"altitude":5,"angle":6,"satellites":45,"speed":4,"hex_longitude":"2d806680","hex_latitude":"05c2f318","is_valid_coordinates":true} 
[2026-10-16 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-10-16 18:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792045568001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273440575488000,"note":"Value kept but may cause issues"} 
[2026-10-16 18:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194591195740606464,"note":"Value kept but may cause issues"} 
[2026-10-16 18:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792156430000,"timestamp_ms":1792156430000,"timestamp_seconds":1792156430,"priority":1,"record_length":96,"hex_timestamp":"000001a144d8eeb0"} 
[2026-10-16 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-10-16 18:45: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-10-16 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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-10-16 18:45:23] 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-10-16 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-10-16 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-10-16 18:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792045568001,"66":27180,"167":206,"19":45568,"24":4,"16":15273440575488000,"45":-9194591195740606464},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792045568001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:45:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:45:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273440575488000,"km_value":15273440575488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194591195740606464,"description":"Unknown IO ID 45"} 
[2026-10-16 18:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792045568001,"power":27180,"unknown_167":206,"unknown_19":45568,"ignition":4,"odometer":null,"unknown_45":-9194591195740606464}} 
[2026-10-16 18:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":218434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:45:23] local.INFO: GPS data processed {"connection_id":218434,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:45:23] local.INFO: Acknowledgment sent {"connection_id":218434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:45:55] local.INFO: TCP Data received {"connection_id":218434,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d940b8012d80678005c2fa48000600072d..."} 
[2026-10-16 18:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d940b8012d80678005c2fa48000600072d..."} 
[2026-10-16 18:45:55] local.INFO: Processing buffer {"connection_id":218434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d940b8012d80678005c2fa48000600072d..."} 
[2026-10-16 18:45:55] local.INFO: Packet analysis {"connection_id":218434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d9"} 
[2026-10-16 18:45:55] local.INFO: Extracted packet for processing {"connection_id":218434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d9"} 
[2026-10-16 18:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763389824,"raw_latitude":96664136,"longitude_deg":76.3389824,"latitude_deg":9.6664136,"altitude":6,"angle":7,"satellites":45,"speed":4,"hex_longitude":"2d806780","hex_latitude":"05c2fa48","is_valid_coordinates":true} 
[2026-10-16 18:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792046080001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273530769801216,"note":"Value kept but may cause issues"} 
[2026-10-16 18:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194520826996385792,"note":"Value kept but may cause issues"} 
[2026-10-16 18:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792156451000,"timestamp_ms":1792156451000,"timestamp_seconds":1792156451,"priority":1,"record_length":96,"hex_timestamp":"000001a144d940b8"} 
[2026-10-16 18:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 18:45:55] 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-10-16 18:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792046080001,"66":27115,"167":206,"19":45568,"24":4,"16":15273530769801216,"45":-9194520826996385792},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792046080001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:45:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:45:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273530769801216,"km_value":15273530769801.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194520826996385792,"description":"Unknown IO ID 45"} 
[2026-10-16 18:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792046080001,"power":27115,"unknown_167":206,"unknown_19":45568,"ignition":4,"odometer":null,"unknown_45":-9194520826996385792}} 
[2026-10-16 18:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":218434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:45:55] local.INFO: GPS data processed {"connection_id":218434,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:45:55] local.INFO: Acknowledgment sent {"connection_id":218434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:46:15] local.INFO: TCP Data received {"connection_id":220164,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:15] local.INFO: Processing buffer {"connection_id":220164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:15] local.INFO: IMEI packet received {"connection_id":220164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":220164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:46:16] local.INFO: TCP Data received {"connection_id":220164,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:16] local.INFO: Processing buffer {"connection_id":220164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:16] local.INFO: IMEI packet received {"connection_id":220164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":220164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:46:18] local.INFO: TCP Data received {"connection_id":220164,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:18] local.INFO: Processing buffer {"connection_id":220164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:18] local.INFO: IMEI packet received {"connection_id":220164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":220164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:46:20] local.INFO: TCP Data received {"connection_id":220164,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:20] local.INFO: Processing buffer {"connection_id":220164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:46:20] local.INFO: IMEI packet received {"connection_id":220164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":220164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:46:22] local.INFO: TCP Data received {"connection_id":220164,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d95058012d8067c005c2fb88000600132d..."} 
[2026-10-16 18:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d95058012d8067c005c2fb88000600132d..."} 
[2026-10-16 18:46:22] local.INFO: Processing buffer {"connection_id":220164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d95058012d8067c005c2fb88000600132d..."} 
[2026-10-16 18:46:22] local.INFO: Packet analysis {"connection_id":220164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d9"} 
[2026-10-16 18:46:22] local.INFO: Extracted packet for processing {"connection_id":220164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d9"} 
[2026-10-16 18:46:22] local.INFO: GPS Element Parsed {"raw_longitude":763389888,"raw_latitude":96664456,"longitude_deg":76.3389888,"latitude_deg":9.6664456,"altitude":6,"angle":19,"satellites":45,"speed":1,"hex_longitude":"2d8067c0","hex_latitude":"05c2fb88","is_valid_coordinates":true} 
[2026-10-16 18:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792051456001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273552244637696,"note":"Value kept but may cause issues"} 
[2026-10-16 18:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194239352019204096,"note":"Value kept but may cause issues"} 
[2026-10-16 18:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792156455000,"timestamp_ms":1792156455000,"timestamp_seconds":1792156455,"priority":1,"record_length":96,"hex_timestamp":"000001a144d95058"} 
[2026-10-16 18:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:46: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-10-16 18:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 18:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792051456001,"66":26930,"167":206,"19":45568,"24":1,"16":15273552244637696,"45":-9194239352019204096},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792051456001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:46:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:46:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273552244637696,"km_value":15273552244637.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194239352019204096,"description":"Unknown IO ID 45"} 
[2026-10-16 18:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792051456001,"power":26930,"unknown_167":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":-9194239352019204096}} 
[2026-10-16 18:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":220164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:46:22] local.INFO: GPS data processed {"connection_id":220164,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:46:22] local.INFO: Acknowledgment sent {"connection_id":220164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:46:54] local.INFO: TCP Data received {"connection_id":220164,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144d996a8012d80680005c2fd38000700082d..."} 
[2026-10-16 18:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144d996a8012d80680005c2fd38000700082d..."} 
[2026-10-16 18:46:54] local.INFO: Processing buffer {"connection_id":220164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144d996a8012d80680005c2fd38000700082d..."} 
[2026-10-16 18:46:54] local.INFO: Packet analysis {"connection_id":220164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144d9"} 
[2026-10-16 18:46:54] local.INFO: Extracted packet for processing {"connection_id":220164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144d9"} 
[2026-10-16 18:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763389952,"raw_latitude":96664888,"longitude_deg":76.3389952,"latitude_deg":9.6664888,"altitude":7,"angle":8,"satellites":45,"speed":7,"hex_longitude":"2d806800","hex_latitude":"05c2fd38","is_valid_coordinates":true} 
[2026-10-16 18:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792052480001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273569424506880,"note":"Value kept but may cause issues"} 
[2026-10-16 18:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194168983274944512,"note":"Value kept but may cause issues"} 
[2026-10-16 18:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792156473000,"timestamp_ms":1792156473000,"timestamp_seconds":1792156473,"priority":1,"record_length":96,"hex_timestamp":"000001a144d996a8"} 
[2026-10-16 18:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 18:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792052480001,"66":27071,"167":206,"19":45568,"24":7,"16":15273569424506880,"45":-9194168983274944512},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792052480001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:46:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:46:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273569424506880,"km_value":15273569424506.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194168983274944512,"description":"Unknown IO ID 45"} 
[2026-10-16 18:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792052480001,"power":27071,"unknown_167":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":-9194168983274944512}} 
[2026-10-16 18:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":220164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:46:54] local.INFO: GPS data processed {"connection_id":220164,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:46:54] local.INFO: Acknowledgment sent {"connection_id":220164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:47:15] local.INFO: TCP Data received {"connection_id":220165,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:47:15] local.INFO: Processing buffer {"connection_id":220165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:47:15] local.INFO: IMEI packet received {"connection_id":220165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":220165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:47:20] local.INFO: TCP Data received {"connection_id":220165,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:47:20] local.INFO: Processing buffer {"connection_id":220165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:47:20] local.INFO: IMEI packet received {"connection_id":220165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":220165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:47:23] local.INFO: TCP Data received {"connection_id":220165,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144dafe08012d806a4005c30bc8000a01672d..."} 
[2026-10-16 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144dafe08012d806a4005c30bc8000a01672d..."} 
[2026-10-16 18:47:23] local.INFO: Processing buffer {"connection_id":220165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144dafe08012d806a4005c30bc8000a01672d..."} 
[2026-10-16 18:47:23] local.INFO: Packet analysis {"connection_id":220165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144da"} 
[2026-10-16 18:47:23] local.INFO: Extracted packet for processing {"connection_id":220165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144da"} 
[2026-10-16 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763390528,"raw_latitude":96668616,"longitude_deg":76.3390528,"latitude_deg":9.6668616,"altitude":10,"angle":359,"satellites":45,"speed":1,"hex_longitude":"2d806a40","hex_latitude":"05c30bc8","is_valid_coordinates":true} 
[2026-10-16 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792078592001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273762698035200,"note":"Value kept but may cause issues"} 
[2026-10-16 18:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193606033320609792,"note":"Value kept but may cause issues"} 
[2026-10-16 18:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792156565000,"timestamp_ms":1792156565000,"timestamp_seconds":1792156565,"priority":1,"record_length":96,"hex_timestamp":"000001a144dafe08"} 
[2026-10-16 18:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:47: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-10-16 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 18:47:23] 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-10-16 18:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":220165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":220165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":220165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792078592001,"66":27039,"167":206,"19":45568,"24":1,"16":15273762698035200,"45":-9193606033320609792},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792078592001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:47:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:47:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273762698035200,"km_value":15273762698035.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193606033320609792,"description":"Unknown IO ID 45"} 
[2026-10-16 18:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792078592001,"power":27039,"unknown_167":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":-9193606033320609792}} 
[2026-10-16 18:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":220165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:47:23] local.INFO: GPS data processed {"connection_id":220165,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:47:23] local.INFO: Acknowledgment sent {"connection_id":220165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:47:54] local.INFO: TCP Data received {"connection_id":220165,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144db5010012d806a4005c30bd8000a01672c..."} 
[2026-10-16 18:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144db5010012d806a4005c30bd8000a01672c..."} 
[2026-10-16 18:47:54] local.INFO: Processing buffer {"connection_id":220165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144db5010012d806a4005c30bd8000a01672c..."} 
[2026-10-16 18:47:54] local.INFO: Packet analysis {"connection_id":220165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144db"} 
[2026-10-16 18:47:54] local.INFO: Extracted packet for processing {"connection_id":220165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144db"} 
[2026-10-16 18:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763390528,"raw_latitude":96668632,"longitude_deg":76.3390528,"latitude_deg":9.6668632,"altitude":10,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d806a40","hex_latitude":"05c30bd8","is_valid_coordinates":true} 
[2026-10-16 18:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792080640001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273762698035200,"note":"Value kept but may cause issues"} 
[2026-10-16 18:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193465295832102912,"note":"Value kept but may cause issues"} 
[2026-10-16 18:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792156586000,"timestamp_ms":1792156586000,"timestamp_seconds":1792156586,"priority":1,"record_length":96,"hex_timestamp":"000001a144db5010"} 
[2026-10-16 18:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-10-16 18:47:54] 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-10-16 18:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792080640001,"66":27104,"167":206,"19":45568,"24":0,"16":15273762698035200,"45":-9193465295832102912},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792080640001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:47:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:47:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273762698035200,"km_value":15273762698035.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193465295832102912,"description":"Unknown IO ID 45"} 
[2026-10-16 18:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792080640001,"power":27104,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9193465295832102912}} 
[2026-10-16 18:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":220165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:47:54] local.INFO: GPS data processed {"connection_id":220165,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:47:54] local.INFO: Acknowledgment sent {"connection_id":220165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:48:20] local.INFO: TCP Data received {"connection_id":216867,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:48:20] local.INFO: Processing buffer {"connection_id":216867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:48:20] local.INFO: IMEI packet received {"connection_id":216867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":216867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:48:26] local.INFO: TCP Data received {"connection_id":216867,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:48:26] local.INFO: Processing buffer {"connection_id":216867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:48:26] local.INFO: IMEI packet received {"connection_id":216867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":216867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:48:29] local.INFO: TCP Data received {"connection_id":216867,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144db57e0012d806a8005c30d48000a000a2d..."} 
[2026-10-16 18:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144db57e0012d806a8005c30d48000a000a2d..."} 
[2026-10-16 18:48:29] local.INFO: Processing buffer {"connection_id":216867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144db57e0012d806a8005c30d48000a000a2d..."} 
[2026-10-16 18:48:29] local.INFO: Packet analysis {"connection_id":216867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144db"} 
[2026-10-16 18:48:29] local.INFO: Extracted packet for processing {"connection_id":216867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144db"} 
[2026-10-16 18:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763390592,"raw_latitude":96669000,"longitude_deg":76.3390592,"latitude_deg":9.6669,"altitude":10,"angle":10,"satellites":45,"speed":5,"hex_longitude":"2d806a80","hex_latitude":"05c30d48","is_valid_coordinates":true} 
[2026-10-16 18:48: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-10-16 18:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792086016001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273779877904384,"note":"Value kept but may cause issues"} 
[2026-10-16 18:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193465295832098816,"note":"Value kept but may cause issues"} 
[2026-10-16 18:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792156588000,"timestamp_ms":1792156588000,"timestamp_seconds":1792156588,"priority":1,"record_length":96,"hex_timestamp":"000001a144db57e0"} 
[2026-10-16 18:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:48: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 18:48:29] 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-10-16 18:48: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-10-16 18:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792086016001,"66":27126,"167":206,"19":45568,"24":5,"16":15273779877904384,"45":-9193465295832098816},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792086016001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:48:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:48:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273779877904384,"km_value":15273779877904.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193465295832098816,"description":"Unknown IO ID 45"} 
[2026-10-16 18:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792086016001,"power":27126,"unknown_167":206,"unknown_19":45568,"ignition":5,"odometer":null,"unknown_45":-9193465295832098816}} 
[2026-10-16 18:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":216867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:48:29] local.INFO: GPS data processed {"connection_id":216867,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:48:29] local.INFO: Acknowledgment sent {"connection_id":216867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:48:31] local.INFO: TCP Data received {"connection_id":216867,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144dba9e8012d806bc005c31578000800142c..."} 
[2026-10-16 18:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144dba9e8012d806bc005c31578000800142c..."} 
[2026-10-16 18:48:31] local.INFO: Processing buffer {"connection_id":216867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144dba9e8012d806bc005c31578000800142c..."} 
[2026-10-16 18:48:31] local.INFO: Packet analysis {"connection_id":216867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144db"} 
[2026-10-16 18:48:31] local.INFO: Extracted packet for processing {"connection_id":216867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144db"} 
[2026-10-16 18:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763390912,"raw_latitude":96671096,"longitude_deg":76.3390912,"latitude_deg":9.6671096,"altitude":8,"angle":20,"satellites":44,"speed":0,"hex_longitude":"2d806bc0","hex_latitude":"05c31578","is_valid_coordinates":true} 
[2026-10-16 18:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792086528001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273887252086784,"note":"Value kept but may cause issues"} 
[2026-10-16 18:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193394927087826944,"note":"Value kept but may cause issues"} 
[2026-10-16 18:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792156609000,"timestamp_ms":1792156609000,"timestamp_seconds":1792156609,"priority":1,"record_length":96,"hex_timestamp":"000001a144dba9e8"} 
[2026-10-16 18:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-16 18:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792086528001,"66":26930,"167":206,"19":45568,"24":0,"16":15273887252086784,"45":-9193394927087826944},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792086528001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:48:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:48:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273887252086784,"km_value":15273887252086.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193394927087826944,"description":"Unknown IO ID 45"} 
[2026-10-16 18:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792086528001,"power":26930,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9193394927087826944}} 
[2026-10-16 18:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":216867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:48:31] local.INFO: GPS data processed {"connection_id":216867,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:48:31] local.INFO: Acknowledgment sent {"connection_id":216867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:49:13] local.INFO: TCP Data received {"connection_id":217101,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:13] local.INFO: Processing buffer {"connection_id":217101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:13] local.INFO: IMEI packet received {"connection_id":217101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":217101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:49:15] local.INFO: TCP Data received {"connection_id":217101,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:15] local.INFO: Processing buffer {"connection_id":217101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:15] local.INFO: IMEI packet received {"connection_id":217101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":217101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:49:16] local.INFO: TCP Data received {"connection_id":217101,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:16] local.INFO: Processing buffer {"connection_id":217101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:16] local.INFO: IMEI packet received {"connection_id":217101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":217101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:49:21] local.INFO: TCP Data received {"connection_id":217101,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:21] local.INFO: Processing buffer {"connection_id":217101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:49:21] local.INFO: IMEI packet received {"connection_id":217101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":217101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:49:23] local.INFO: TCP Data received {"connection_id":217101,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144dbdcb0012d806c8005c317c8000800042d..."} 
[2026-10-16 18:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144dbdcb0012d806c8005c317c8000800042d..."} 
[2026-10-16 18:49:23] local.INFO: Processing buffer {"connection_id":217101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144dbdcb0012d806c8005c317c8000800042d..."} 
[2026-10-16 18:49:23] local.INFO: Packet analysis {"connection_id":217101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144db"} 
[2026-10-16 18:49:23] local.INFO: Extracted packet for processing {"connection_id":217101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144db"} 
[2026-10-16 18:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763391104,"raw_latitude":96671688,"longitude_deg":76.3391104,"latitude_deg":9.6671688,"altitude":8,"angle":4,"satellites":45,"speed":3,"hex_longitude":"2d806c80","hex_latitude":"05c317c8","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792091904001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273921611825152,"note":"Value kept but may cause issues"} 
[2026-10-16 18:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193043083366402048,"note":"Value kept but may cause issues"} 
[2026-10-16 18:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792156622000,"timestamp_ms":1792156622000,"timestamp_seconds":1792156622,"priority":1,"record_length":96,"hex_timestamp":"000001a144dbdcb0"} 
[2026-10-16 18:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:49: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-10-16 18: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 18:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18: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-10-16 18:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":217101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":217101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":217101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792091904001,"66":26908,"167":206,"19":45568,"24":3,"16":15273921611825152,"45":-9193043083366402048},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792091904001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:49:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:49:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273921611825152,"km_value":15273921611825.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193043083366402048,"description":"Unknown IO ID 45"} 
[2026-10-16 18:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792091904001,"power":26908,"unknown_167":206,"unknown_19":45568,"ignition":3,"odometer":null,"unknown_45":-9193043083366402048}} 
[2026-10-16 18:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":217101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:49:23] local.INFO: GPS data processed {"connection_id":217101,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:49:23] local.INFO: Acknowledgment sent {"connection_id":217101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:49:56] local.INFO: TCP Data received {"connection_id":217101,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144dd8e48012d80710005c33698000701522d..."} 
[2026-10-16 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144dd8e48012d80710005c33698000701522d..."} 
[2026-10-16 18:49:56] local.INFO: Processing buffer {"connection_id":217101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144dd8e48012d80710005c33698000701522d..."} 
[2026-10-16 18:49:56] local.INFO: Packet analysis {"connection_id":217101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144dd"} 
[2026-10-16 18:49:56] local.INFO: Extracted packet for processing {"connection_id":217101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144dd"} 
[2026-10-16 18:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763392256,"raw_latitude":96679576,"longitude_deg":76.3392256,"latitude_deg":9.6679576,"altitude":7,"angle":338,"satellites":45,"speed":2,"hex_longitude":"2d807100","hex_latitude":"05c33698","is_valid_coordinates":true} 
[2026-10-16 18:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792123136001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274321043783680,"note":"Value kept but may cause issues"} 
[2026-10-16 18:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191565339736526848,"note":"Value kept but may cause issues"} 
[2026-10-16 18:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792156733000,"timestamp_ms":1792156733000,"timestamp_seconds":1792156733,"priority":1,"record_length":96,"hex_timestamp":"000001a144dd8e48"} 
[2026-10-16 18:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 18:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792123136001,"66":27115,"167":206,"19":45568,"24":2,"16":15274321043783680,"45":-9191565339736526848},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792123136001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:49:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:49:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274321043783680,"km_value":15274321043783.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191565339736526848,"description":"Unknown IO ID 45"} 
[2026-10-16 18:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792123136001,"power":27115,"unknown_167":206,"unknown_19":45568,"ignition":2,"odometer":null,"unknown_45":-9191565339736526848}} 
[2026-10-16 18:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":217101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:49:56] local.INFO: GPS data processed {"connection_id":217101,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:49:56] local.INFO: Acknowledgment sent {"connection_id":217101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:50:15] local.INFO: TCP Data received {"connection_id":218436,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:50:15] local.INFO: Processing buffer {"connection_id":218436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:50:15] local.INFO: IMEI packet received {"connection_id":218436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":218436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:50:20] local.INFO: TCP Data received {"connection_id":218436,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:50:20] local.INFO: Processing buffer {"connection_id":218436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:50:20] local.INFO: IMEI packet received {"connection_id":218436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":218436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:50:20] local.INFO: TCP Data received {"connection_id":220166,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:50:20] local.INFO: Processing buffer {"connection_id":220166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:50:20] local.INFO: IMEI packet received {"connection_id":220166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":220166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:50:21] local.INFO: TCP Data received {"connection_id":218436,"ip":"117.225.177.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:50:21] local.INFO: Processing buffer {"connection_id":218436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:50:21] local.INFO: IMEI packet received {"connection_id":218436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":218436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:50:24] local.INFO: TCP Data received {"connection_id":218436,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144dd9a00012d8070c005c337700007015f2d..."} 
[2026-10-16 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144dd9a00012d8070c005c337700007015f2d..."} 
[2026-10-16 18:50:24] local.INFO: Processing buffer {"connection_id":218436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144dd9a00012d8070c005c337700007015f2d..."} 
[2026-10-16 18:50:24] local.INFO: Packet analysis {"connection_id":218436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144dd"} 
[2026-10-16 18:50:24] local.INFO: Extracted packet for processing {"connection_id":218436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144dd"} 
[2026-10-16 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763392192,"raw_latitude":96679792,"longitude_deg":76.3392192,"latitude_deg":9.6679792,"altitude":7,"angle":351,"satellites":45,"speed":4,"hex_longitude":"2d8070c0","hex_latitude":"05c33770","is_valid_coordinates":true} 
[2026-10-16 18:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792123648001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274329633718272,"note":"Value kept but may cause issues"} 
[2026-10-16 18:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191565339736500224,"note":"Value kept but may cause issues"} 
[2026-10-16 18:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792156736000,"timestamp_ms":1792156736000,"timestamp_seconds":1792156736,"priority":1,"record_length":96,"hex_timestamp":"000001a144dd9a00"} 
[2026-10-16 18:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:50: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-10-16 18:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 18:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":218436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":218436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":218436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792123648001,"66":27234,"167":206,"19":45568,"24":4,"16":15274329633718272,"45":-9191565339736500224},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792123648001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:50:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:50:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274329633718272,"km_value":15274329633718.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191565339736500224,"description":"Unknown IO ID 45"} 
[2026-10-16 18:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792123648001,"power":27234,"unknown_167":206,"unknown_19":45568,"ignition":4,"odometer":null,"unknown_45":-9191565339736500224}} 
[2026-10-16 18:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":218436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:50:24] local.INFO: GPS data processed {"connection_id":218436,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:50:24] local.INFO: Acknowledgment sent {"connection_id":218436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:50:26] local.INFO: TCP Data received {"connection_id":218436,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144dda1d0012d8070c005c338c8000800042d..."} 
[2026-10-16 18:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144dda1d0012d8070c005c338c8000800042d..."} 
[2026-10-16 18:50:26] local.INFO: Processing buffer {"connection_id":218436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144dda1d0012d8070c005c338c8000800042d..."} 
[2026-10-16 18:50:26] local.INFO: Packet analysis {"connection_id":218436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144dd"} 
[2026-10-16 18:50:26] local.INFO: Extracted packet for processing {"connection_id":218436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144dd"} 
[2026-10-16 18:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763392192,"raw_latitude":96680136,"longitude_deg":76.3392192,"latitude_deg":9.6680136,"altitude":8,"angle":4,"satellites":45,"speed":7,"hex_longitude":"2d8070c0","hex_latitude":"05c338c8","is_valid_coordinates":true} 
[2026-10-16 18:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792124416001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274346813587456,"note":"Value kept but may cause issues"} 
[2026-10-16 18:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191635708480622592,"note":"Value kept but may cause issues"} 
[2026-10-16 18:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792156738000,"timestamp_ms":1792156738000,"timestamp_seconds":1792156738,"priority":1,"record_length":96,"hex_timestamp":"000001a144dda1d0"} 
[2026-10-16 18:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:50: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-10-16 18:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 18:50:26] 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-10-16 18:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792124416001,"66":27267,"167":206,"19":45568,"24":7,"16":15274346813587456,"45":-9191635708480622592},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792124416001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:50:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:50:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274346813587456,"km_value":15274346813587.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191635708480622592,"description":"Unknown IO ID 45"} 
[2026-10-16 18:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792124416001,"power":27267,"unknown_167":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":-9191635708480622592}} 
[2026-10-16 18:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":218436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:50:26] local.INFO: GPS data processed {"connection_id":218436,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:50:26] local.INFO: Acknowledgment sent {"connection_id":218436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:50:51] local.INFO: TCP Data received {"connection_id":218437,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:50:51] local.INFO: Processing buffer {"connection_id":218437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:50:51] local.INFO: IMEI packet received {"connection_id":218437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":218437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:50:58] local.INFO: TCP Data received {"connection_id":218436,"ip":"117.225.177.58","data_length":795,"data_hex":"000000000000030f8e0a000001a144ddf3d8012d80710005c33bb00007000a2d..."} 
[2026-10-16 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ddf3d8012d80710005c33bb00007000a2d..."} 
[2026-10-16 18:50:58] local.INFO: Processing buffer {"connection_id":218436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ddf3d8012d80710005c33bb00007000a2d..."} 
[2026-10-16 18:50:58] local.INFO: Packet analysis {"connection_id":218436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144dd"} 
[2026-10-16 18:50:58] local.INFO: Extracted packet for processing {"connection_id":218436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144dd"} 
[2026-10-16 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763392256,"raw_latitude":96680880,"longitude_deg":76.3392256,"latitude_deg":9.668088,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d807100","hex_latitude":"05c33bb0","is_valid_coordinates":true} 
[2026-10-16 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792124928001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274385468293120,"note":"Value kept but may cause issues"} 
[2026-10-16 18:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191635708480534528,"note":"Value kept but may cause issues"} 
[2026-10-16 18:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792156759000,"timestamp_ms":1792156759000,"timestamp_seconds":1792156759,"priority":1,"record_length":96,"hex_timestamp":"000001a144ddf3d8"} 
[2026-10-16 18:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 18:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792124928001,"66":27300,"167":206,"19":45568,"24":0,"16":15274385468293120,"45":-9191635708480534528},"client_ip":"117.225.177.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792124928001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:50:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:50:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274385468293120,"km_value":15274385468293.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191635708480534528,"description":"Unknown IO ID 45"} 
[2026-10-16 18:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792124928001,"power":27300,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9191635708480534528}} 
[2026-10-16 18:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":218436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:50:58] local.INFO: GPS data processed {"connection_id":218436,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:50:58] local.INFO: Acknowledgment sent {"connection_id":218436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:52:31] local.INFO: TCP Data received {"connection_id":218438,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:52:31] local.INFO: Processing buffer {"connection_id":218438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:52:31] local.INFO: IMEI packet received {"connection_id":218438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":218438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:52:35] local.INFO: TCP Data received {"connection_id":218438,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:52:35] local.INFO: Processing buffer {"connection_id":218438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:52:35] local.INFO: IMEI packet received {"connection_id":218438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":218438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:52:38] local.INFO: TCP Data received {"connection_id":218438,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e05920012d80740005c34b700006000b2c..."} 
[2026-10-16 18:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e05920012d80740005c34b700006000b2c..."} 
[2026-10-16 18:52:38] local.INFO: Processing buffer {"connection_id":218438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e05920012d80740005c34b700006000b2c..."} 
[2026-10-16 18:52:38] local.INFO: Packet analysis {"connection_id":218438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e0"} 
[2026-10-16 18:52:38] local.INFO: Extracted packet for processing {"connection_id":218438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e0"} 
[2026-10-16 18:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763393024,"raw_latitude":96684912,"longitude_deg":76.3393024,"latitude_deg":9.6684912,"altitude":6,"angle":11,"satellites":44,"speed":0,"hex_longitude":"2d807400","hex_latitude":"05c34b70","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792162048001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274552972017664,"note":"Value kept but may cause issues"} 
[2026-10-16 18:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190720914805020672,"note":"Value kept but may cause issues"} 
[2026-10-16 18:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792156916000,"timestamp_ms":1792156916000,"timestamp_seconds":1792156916,"priority":1,"record_length":96,"hex_timestamp":"000001a144e05920"} 
[2026-10-16 18:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18: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-10-16 18: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-10-16 18:52:38] 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-10-16 18: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-10-16 18:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":218438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792162048001,"66":26876,"130":206,"19":45568,"24":0,"16":15274552972017664,"45":-9190720914805020672},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 18:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792162048001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:52:38] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 18:52:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274552972017664,"km_value":15274552972017.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190720914805020672,"description":"Unknown IO ID 45"} 
[2026-10-16 18:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792162048001,"power":26876,"unknown_130":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9190720914805020672}} 
[2026-10-16 18:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":218438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:52:38] local.INFO: GPS data processed {"connection_id":218438,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:52:38] local.INFO: Acknowledgment sent {"connection_id":218438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:53:10] local.INFO: TCP Data received {"connection_id":218438,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e0ab28012d80740005c34b700006000b2d..."} 
[2026-10-16 18:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e0ab28012d80740005c34b700006000b2d..."} 
[2026-10-16 18:53:10] local.INFO: Processing buffer {"connection_id":218438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e0ab28012d80740005c34b700006000b2d..."} 
[2026-10-16 18:53:10] local.INFO: Packet analysis {"connection_id":218438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e0"} 
[2026-10-16 18:53:10] local.INFO: Extracted packet for processing {"connection_id":218438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e0"} 
[2026-10-16 18:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763393024,"raw_latitude":96684912,"longitude_deg":76.3393024,"latitude_deg":9.6684912,"altitude":6,"angle":11,"satellites":45,"speed":0,"hex_longitude":"2d807400","hex_latitude":"05c34b70","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792170496001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274552972017664,"note":"Value kept but may cause issues"} 
[2026-10-16 18:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190720914805002240,"note":"Value kept but may cause issues"} 
[2026-10-16 18:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792156937000,"timestamp_ms":1792156937000,"timestamp_seconds":1792156937,"priority":1,"record_length":96,"hex_timestamp":"000001a144e0ab28"} 
[2026-10-16 18:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:53: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-10-16 18: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 18:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18: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-10-16 18:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":218438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792170496001,"66":26984,"130":206,"19":45568,"24":0,"16":15274552972017664,"45":-9190720914805002240},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 18:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792170496001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:53:10] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 18:53:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274552972017664,"km_value":15274552972017.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190720914805002240,"description":"Unknown IO ID 45"} 
[2026-10-16 18:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792170496001,"power":26984,"unknown_130":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9190720914805002240}} 
[2026-10-16 18:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":218438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:53:10] local.INFO: GPS data processed {"connection_id":218438,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:53:10] local.INFO: Acknowledgment sent {"connection_id":218438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:53:42] local.INFO: TCP Data received {"connection_id":218438,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e0fd30012d80740005c34b700006000b2d..."} 
[2026-10-16 18:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e0fd30012d80740005c34b700006000b2d..."} 
[2026-10-16 18:53:42] local.INFO: Processing buffer {"connection_id":218438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e0fd30012d80740005c34b700006000b2d..."} 
[2026-10-16 18:53:42] local.INFO: Packet analysis {"connection_id":218438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e0"} 
[2026-10-16 18:53:42] local.INFO: Extracted packet for processing {"connection_id":218438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e0"} 
[2026-10-16 18:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763393024,"raw_latitude":96684912,"longitude_deg":76.3393024,"latitude_deg":9.6684912,"altitude":6,"angle":11,"satellites":45,"speed":0,"hex_longitude":"2d807400","hex_latitude":"05c34b70","is_valid_coordinates":true} 
[2026-10-16 18:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792175872001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274552972017664,"note":"Value kept but may cause issues"} 
[2026-10-16 18:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190720914805002240,"note":"Value kept but may cause issues"} 
[2026-10-16 18:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792156958000,"timestamp_ms":1792156958000,"timestamp_seconds":1792156958,"priority":1,"record_length":96,"hex_timestamp":"000001a144e0fd30"} 
[2026-10-16 18:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:53: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-10-16 18:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 18:53:42] 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-10-16 18:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":218438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792175872001,"66":27017,"167":206,"19":45568,"24":0,"16":15274552972017664,"45":-9190720914805002240},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792175872001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:53:42] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:53:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274552972017664,"km_value":15274552972017.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190720914805002240,"description":"Unknown IO ID 45"} 
[2026-10-16 18:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792175872001,"power":27017,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9190720914805002240}} 
[2026-10-16 18:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":218438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:53:42] local.INFO: GPS data processed {"connection_id":218438,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:53:42] local.INFO: Acknowledgment sent {"connection_id":218438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:54:14] local.INFO: TCP Data received {"connection_id":218438,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e14f38012d8073c005c34c500007000a2d..."} 
[2026-10-16 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e14f38012d8073c005c34c500007000a2d..."} 
[2026-10-16 18:54:14] local.INFO: Processing buffer {"connection_id":218438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e14f38012d8073c005c34c500007000a2d..."} 
[2026-10-16 18:54:14] local.INFO: Packet analysis {"connection_id":218438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e1"} 
[2026-10-16 18:54:14] local.INFO: Extracted packet for processing {"connection_id":218438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e1"} 
[2026-10-16 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":763392960,"raw_latitude":96685136,"longitude_deg":76.339296,"latitude_deg":9.6685136,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d8073c0","hex_latitude":"05c34c50","is_valid_coordinates":true} 
[2026-10-16 18:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792181248001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274561561952256,"note":"Value kept but may cause issues"} 
[2026-10-16 18:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190720914805002240,"note":"Value kept but may cause issues"} 
[2026-10-16 18:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792156979000,"timestamp_ms":1792156979000,"timestamp_seconds":1792156979,"priority":1,"record_length":96,"hex_timestamp":"000001a144e14f38"} 
[2026-10-16 18:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:54: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-10-16 18:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 18:54:14] 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-10-16 18:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792181248001,"66":26876,"167":206,"19":45568,"24":0,"16":15274561561952256,"45":-9190720914805002240},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792181248001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:54:14] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:54:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274561561952256,"km_value":15274561561952.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190720914805002240,"description":"Unknown IO ID 45"} 
[2026-10-16 18:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792181248001,"power":26876,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9190720914805002240}} 
[2026-10-16 18:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":218438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:54:14] local.INFO: GPS data processed {"connection_id":218438,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:54:14] local.INFO: Acknowledgment sent {"connection_id":218438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:54:46] local.INFO: TCP Data received {"connection_id":218438,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e15af0012d80740005c34d50000601672d..."} 
[2026-10-16 18:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e15af0012d80740005c34d50000601672d..."} 
[2026-10-16 18:54:46] local.INFO: Processing buffer {"connection_id":218438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e15af0012d80740005c34d50000601672d..."} 
[2026-10-16 18:54:46] local.INFO: Packet analysis {"connection_id":218438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e1"} 
[2026-10-16 18:54:46] local.INFO: Extracted packet for processing {"connection_id":218438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e1"} 
[2026-10-16 18:54:46] local.INFO: GPS Element Parsed {"raw_longitude":763393024,"raw_latitude":96685392,"longitude_deg":76.3393024,"latitude_deg":9.6685392,"altitude":6,"angle":359,"satellites":45,"speed":1,"hex_longitude":"2d807400","hex_latitude":"05c34d50","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792186624001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274574446854144,"note":"Value kept but may cause issues"} 
[2026-10-16 18:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190791283549122560,"note":"Value kept but may cause issues"} 
[2026-10-16 18:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792156982000,"timestamp_ms":1792156982000,"timestamp_seconds":1792156982,"priority":1,"record_length":96,"hex_timestamp":"000001a144e15af0"} 
[2026-10-16 18:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:54: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-10-16 18: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 18:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18: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-10-16 18:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792186624001,"66":26876,"167":206,"19":45568,"24":1,"16":15274574446854144,"45":-9190791283549122560},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792186624001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:54:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:54:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274574446854144,"km_value":15274574446854.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190791283549122560,"description":"Unknown IO ID 45"} 
[2026-10-16 18:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792186624001,"power":26876,"unknown_167":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":-9190791283549122560}} 
[2026-10-16 18:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":218438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:54:46] local.INFO: GPS data processed {"connection_id":218438,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:54:46] local.INFO: Acknowledgment sent {"connection_id":218438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:55:18] local.INFO: TCP Data received {"connection_id":218438,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e1acf8012d80740005c34fc0000601562d..."} 
[2026-10-16 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e1acf8012d80740005c34fc0000601562d..."} 
[2026-10-16 18:55:18] local.INFO: Processing buffer {"connection_id":218438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e1acf8012d80740005c34fc0000601562d..."} 
[2026-10-16 18:55:18] local.INFO: Packet analysis {"connection_id":218438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e1"} 
[2026-10-16 18:55:18] local.INFO: Extracted packet for processing {"connection_id":218438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e1"} 
[2026-10-16 18:55:18] local.INFO: GPS Element Parsed {"raw_longitude":763393024,"raw_latitude":96686016,"longitude_deg":76.3393024,"latitude_deg":9.6686016,"altitude":6,"angle":342,"satellites":45,"speed":0,"hex_longitude":"2d807400","hex_latitude":"05c34fc0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 18:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792187392001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274608806592512,"note":"Value kept but may cause issues"} 
[2026-10-16 18:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190720914804879360,"note":"Value kept but may cause issues"} 
[2026-10-16 18:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792157003000,"timestamp_ms":1792157003000,"timestamp_seconds":1792157003,"priority":1,"record_length":96,"hex_timestamp":"000001a144e1acf8"} 
[2026-10-16 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-10-16 18:55: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-10-16 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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 18:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 18:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":218438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792187392001,"66":26713,"167":206,"19":45568,"24":0,"16":15274608806592512,"45":-9190720914804879360},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792187392001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:55:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:55:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274608806592512,"km_value":15274608806592.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190720914804879360,"description":"Unknown IO ID 45"} 
[2026-10-16 18:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792187392001,"power":26713,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9190720914804879360}} 
[2026-10-16 18:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":218438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:55:18] local.INFO: GPS data processed {"connection_id":218438,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:55:18] local.INFO: Acknowledgment sent {"connection_id":218438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:55:50] local.INFO: TCP Data received {"connection_id":218438,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e1acf8012d80740005c34fc0000601562d..."} 
[2026-10-16 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e1acf8012d80740005c34fc0000601562d..."} 
[2026-10-16 18:55:50] local.INFO: Processing buffer {"connection_id":218438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e1acf8012d80740005c34fc0000601562d..."} 
[2026-10-16 18:55:50] local.INFO: Packet analysis {"connection_id":218438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e1"} 
[2026-10-16 18:55:50] local.INFO: Extracted packet for processing {"connection_id":218438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e1"} 
[2026-10-16 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":763393024,"raw_latitude":96686016,"longitude_deg":76.3393024,"latitude_deg":9.6686016,"altitude":6,"angle":342,"satellites":45,"speed":0,"hex_longitude":"2d807400","hex_latitude":"05c34fc0","is_valid_coordinates":true} 
[2026-10-16 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274608806592512,"note":"Value kept but may cause issues"} 
[2026-10-16 18:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190720914804719616,"note":"Value kept but may cause issues"} 
[2026-10-16 18:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792157003000,"timestamp_ms":1792157003000,"timestamp_seconds":1792157003,"priority":1,"record_length":96,"hex_timestamp":"000001a144e1acf8"} 
[2026-10-16 18:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:55: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-10-16 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-16 18:55:50] 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-10-16 18:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":218438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792192768001,"66":26713,"167":206,"19":45568,"24":0,"16":15274608806592512,"45":-9190720914804719616},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:55:50] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:55:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274608806592512,"km_value":15274608806592.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190720914804719616,"description":"Unknown IO ID 45"} 
[2026-10-16 18:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792192768001,"power":26713,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9190720914804719616}} 
[2026-10-16 18:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":218438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:55:50] local.INFO: GPS data processed {"connection_id":218438,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:55:50] local.INFO: Acknowledgment sent {"connection_id":218438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:56:23] local.INFO: TCP Data received {"connection_id":218438,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e1ff00012d80740005c351a00006015c2e..."} 
[2026-10-16 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e1ff00012d80740005c351a00006015c2e..."} 
[2026-10-16 18:56:23] local.INFO: Processing buffer {"connection_id":218438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e1ff00012d80740005c351a00006015c2e..."} 
[2026-10-16 18:56:23] local.INFO: Packet analysis {"connection_id":218438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e1"} 
[2026-10-16 18:56:23] local.INFO: Extracted packet for processing {"connection_id":218438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e1"} 
[2026-10-16 18:56:23] local.INFO: GPS Element Parsed {"raw_longitude":763393024,"raw_latitude":96686496,"longitude_deg":76.3393024,"latitude_deg":9.6686496,"altitude":6,"angle":348,"satellites":46,"speed":0,"hex_longitude":"2d807400","hex_latitude":"05c351a0","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792192768001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274630281428992,"note":"Value kept but may cause issues"} 
[2026-10-16 18:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190720914804719616,"note":"Value kept but may cause issues"} 
[2026-10-16 18:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792157024000,"timestamp_ms":1792157024000,"timestamp_seconds":1792157024,"priority":1,"record_length":96,"hex_timestamp":"000001a144e1ff00"} 
[2026-10-16 18:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:56: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-10-16 18: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":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-10-16 18:56:23] 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-10-16 18: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-10-16 18:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792192768001,"66":26876,"167":206,"19":45568,"24":0,"16":15274630281428992,"45":-9190720914804719616},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792192768001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:56:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:56:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274630281428992,"km_value":15274630281428.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190720914804719616,"description":"Unknown IO ID 45"} 
[2026-10-16 18:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792192768001,"power":26876,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9190720914804719616}} 
[2026-10-16 18:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":218438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:56:23] local.INFO: GPS data processed {"connection_id":218438,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:56:23] local.INFO: Acknowledgment sent {"connection_id":218438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:56:48] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:56:48] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:56:48] local.INFO: IMEI packet received {"connection_id":216872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":216872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:56:50] local.INFO: TCP Data received {"connection_id":217104,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:56:50] local.INFO: Processing buffer {"connection_id":217104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 18:56:50] local.INFO: IMEI packet received {"connection_id":217104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 18:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":217104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:56:51] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:56:51] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:56:51] local.INFO: IMEI packet received {"connection_id":216872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":216872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:56:52] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:56:52] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:56:52] local.INFO: IMEI packet received {"connection_id":216872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":216872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:56:53] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e3eb30012d80770005c372a8000600052d..."} 
[2026-10-16 18:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e3eb30012d80770005c372a8000600052d..."} 
[2026-10-16 18:56:53] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e3eb30012d80770005c372a8000600052d..."} 
[2026-10-16 18:56:53] local.INFO: Packet analysis {"connection_id":216872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e3"} 
[2026-10-16 18:56:53] local.INFO: Extracted packet for processing {"connection_id":216872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e3"} 
[2026-10-16 18:56:53] local.INFO: GPS Element Parsed {"raw_longitude":763393792,"raw_latitude":96694952,"longitude_deg":76.3393792,"latitude_deg":9.6694952,"altitude":6,"angle":5,"satellites":45,"speed":1,"hex_longitude":"2d807700","hex_latitude":"05c372a8","is_valid_coordinates":true} 
[2026-10-16 18:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792225024001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275055483191296,"note":"Value kept but may cause issues"} 
[2026-10-16 18:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190087596105091072,"note":"Value kept but may cause issues"} 
[2026-10-16 18:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792157150000,"timestamp_ms":1792157150000,"timestamp_seconds":1792157150,"priority":1,"record_length":96,"hex_timestamp":"000001a144e3eb30"} 
[2026-10-16 18:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:56: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-10-16 18:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 18:56: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-10-16 18:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792225024001,"66":27180,"167":206,"19":45568,"24":1,"16":15275055483191296,"45":-9190087596105091072},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792225024001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:56:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:56:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275055483191296,"km_value":15275055483191.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190087596105091072,"description":"Unknown IO ID 45"} 
[2026-10-16 18:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792225024001,"power":27180,"unknown_167":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":-9190087596105091072}} 
[2026-10-16 18:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":216872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:56:54] local.INFO: GPS data processed {"connection_id":216872,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:56:54] local.INFO: Acknowledgment sent {"connection_id":216872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:57:25] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e3f300012d80774005c37300000600122d..."} 
[2026-10-16 18:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e3f300012d80774005c37300000600122d..."} 
[2026-10-16 18:57:25] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e3f300012d80774005c37300000600122d..."} 
[2026-10-16 18:57:25] local.INFO: Packet analysis {"connection_id":216872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e3"} 
[2026-10-16 18:57:25] local.INFO: Extracted packet for processing {"connection_id":216872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e3"} 
[2026-10-16 18:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763393856,"raw_latitude":96695040,"longitude_deg":76.3393856,"latitude_deg":9.669504,"altitude":6,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2d807740","hex_latitude":"05c37300","is_valid_coordinates":true} 
[2026-10-16 18:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792230400001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275064073125888,"note":"Value kept but may cause issues"} 
[2026-10-16 18:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189876489872300032,"note":"Value kept but may cause issues"} 
[2026-10-16 18:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792157152000,"timestamp_ms":1792157152000,"timestamp_seconds":1792157152,"priority":1,"record_length":96,"hex_timestamp":"000001a144e3f300"} 
[2026-10-16 18:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:57: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-10-16 18:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 18:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792230400001,"66":27180,"167":206,"19":45568,"24":0,"16":15275064073125888,"45":-9189876489872300032},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792230400001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:57:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:57:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275064073125888,"km_value":15275064073125.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189876489872300032,"description":"Unknown IO ID 45"} 
[2026-10-16 18:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792230400001,"power":27180,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9189876489872300032}} 
[2026-10-16 18:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":216872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:57:25] local.INFO: GPS data processed {"connection_id":216872,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:57:25] local.INFO: Acknowledgment sent {"connection_id":216872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:57:56] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e44508012d80774005c37320000700122b..."} 
[2026-10-16 18:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e44508012d80774005c37320000700122b..."} 
[2026-10-16 18:57:56] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e44508012d80774005c37320000700122b..."} 
[2026-10-16 18:57:56] local.INFO: Packet analysis {"connection_id":216872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e4"} 
[2026-10-16 18:57:56] local.INFO: Extracted packet for processing {"connection_id":216872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e4"} 
[2026-10-16 18:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763393856,"raw_latitude":96695072,"longitude_deg":76.3393856,"latitude_deg":9.6695072,"altitude":7,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2d807740","hex_latitude":"05c37320","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792230912001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275064073125888,"note":"Value kept but may cause issues"} 
[2026-10-16 18:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189806121128099840,"note":"Value kept but may cause issues"} 
[2026-10-16 18:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792157173000,"timestamp_ms":1792157173000,"timestamp_seconds":1792157173,"priority":1,"record_length":96,"hex_timestamp":"000001a144e44508"} 
[2026-10-16 18:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 18:57:56] 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-10-16 18: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-10-16 18:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792230912001,"66":27071,"167":206,"19":45568,"24":0,"16":15275064073125888,"45":-9189806121128099840},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792230912001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:57:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:57:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275064073125888,"km_value":15275064073125.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189806121128099840,"description":"Unknown IO ID 45"} 
[2026-10-16 18:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792230912001,"power":27071,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9189806121128099840}} 
[2026-10-16 18:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":216872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:57:56] local.INFO: GPS data processed {"connection_id":216872,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:57:56] local.INFO: Acknowledgment sent {"connection_id":216872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:58:28] local.INFO: TCP Data received {"connection_id":216872,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e46060012d80778005c37570000600022b..."} 
[2026-10-16 18:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e46060012d80778005c37570000600022b..."} 
[2026-10-16 18:58:28] local.INFO: Processing buffer {"connection_id":216872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e46060012d80778005c37570000600022b..."} 
[2026-10-16 18:58:28] local.INFO: Packet analysis {"connection_id":216872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e4"} 
[2026-10-16 18:58:28] local.INFO: Extracted packet for processing {"connection_id":216872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e4"} 
[2026-10-16 18:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763393920,"raw_latitude":96695664,"longitude_deg":76.339392,"latitude_deg":9.6695664,"altitude":6,"angle":2,"satellites":43,"speed":1,"hex_longitude":"2d807780","hex_latitude":"05c37570","is_valid_coordinates":true} 
[2026-10-16 18:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792236288001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275094137896960,"note":"Value kept but may cause issues"} 
[2026-10-16 18:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189806121128091648,"note":"Value kept but may cause issues"} 
[2026-10-16 18:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792157180000,"timestamp_ms":1792157180000,"timestamp_seconds":1792157180,"priority":1,"record_length":96,"hex_timestamp":"000001a144e46060"} 
[2026-10-16 18:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:58: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-10-16 18:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 18:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792236288001,"66":27169,"167":206,"19":45568,"24":1,"16":15275094137896960,"45":-9189806121128091648},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792236288001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:58:28] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:58:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275094137896960,"km_value":15275094137896.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189806121128091648,"description":"Unknown IO ID 45"} 
[2026-10-16 18:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792236288001,"power":27169,"unknown_167":206,"unknown_19":45568,"ignition":1,"odometer":null,"unknown_45":-9189806121128091648}} 
[2026-10-16 18:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":216872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:58:28] local.INFO: GPS data processed {"connection_id":216872,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:58:28] local.INFO: Acknowledgment sent {"connection_id":216872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:58:53] local.INFO: TCP Data received {"connection_id":217106,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:58:53] local.INFO: Processing buffer {"connection_id":217106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:58:53] local.INFO: IMEI packet received {"connection_id":217106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":217106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:58:58] local.INFO: TCP Data received {"connection_id":217106,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:58:58] local.INFO: Processing buffer {"connection_id":217106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:58:58] local.INFO: IMEI packet received {"connection_id":217106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":217106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:59:00] local.INFO: TCP Data received {"connection_id":217106,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e46c18012d80778005c37658000601522e..."} 
[2026-10-16 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e46c18012d80778005c37658000601522e..."} 
[2026-10-16 18:59:00] local.INFO: Processing buffer {"connection_id":217106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e46c18012d80778005c37658000601522e..."} 
[2026-10-16 18:59:00] local.INFO: Packet analysis {"connection_id":217106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e4"} 
[2026-10-16 18:59:00] local.INFO: Extracted packet for processing {"connection_id":217106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e4"} 
[2026-10-16 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763393920,"raw_latitude":96695896,"longitude_deg":76.339392,"latitude_deg":9.6695896,"altitude":6,"angle":338,"satellites":46,"speed":0,"hex_longitude":"2d807780","hex_latitude":"05c37658","is_valid_coordinates":true} 
[2026-10-16 18:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792238080001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275107022798848,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189735752383762432,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792157183000,"timestamp_ms":1792157183000,"timestamp_seconds":1792157183,"priority":1,"record_length":96,"hex_timestamp":"000001a144e46c18"} 
[2026-10-16 18:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-16 18:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792238080001,"66":27343,"167":206,"19":45568,"24":0,"16":15275107022798848,"45":-9189735752383762432},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792238080001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:59:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:59:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275107022798848,"km_value":15275107022798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189735752383762432,"description":"Unknown IO ID 45"} 
[2026-10-16 18:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792238080001,"power":27343,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9189735752383762432}} 
[2026-10-16 18:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":217106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:59:00] local.INFO: GPS data processed {"connection_id":217106,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:59:00] local.INFO: Acknowledgment sent {"connection_id":217106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:59:03] local.INFO: TCP Data received {"connection_id":217106,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e4be20012d80778005c37670000601522d..."} 
[2026-10-16 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e4be20012d80778005c37670000601522d..."} 
[2026-10-16 18:59:03] local.INFO: Processing buffer {"connection_id":217106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e4be20012d80778005c37670000601522d..."} 
[2026-10-16 18:59:03] local.INFO: Packet analysis {"connection_id":217106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e4"} 
[2026-10-16 18:59:03] local.INFO: Extracted packet for processing {"connection_id":217106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e4"} 
[2026-10-16 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763393920,"raw_latitude":96695920,"longitude_deg":76.339392,"latitude_deg":9.669592,"altitude":6,"angle":338,"satellites":45,"speed":0,"hex_longitude":"2d807780","hex_latitude":"05c37670","is_valid_coordinates":true} 
[2026-10-16 18: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-10-16 18:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792238848001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275107022798848,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189735752383703040,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792157204000,"timestamp_ms":1792157204000,"timestamp_seconds":1792157204,"priority":1,"record_length":96,"hex_timestamp":"000001a144e4be20"} 
[2026-10-16 18:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:59: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-10-16 18: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 18:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18: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-10-16 18:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792238848001,"66":27310,"167":206,"19":45568,"24":0,"16":15275107022798848,"45":-9189735752383703040},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792238848001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:59:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:59:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275107022798848,"km_value":15275107022798.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189735752383703040,"description":"Unknown IO ID 45"} 
[2026-10-16 18:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792238848001,"power":27310,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9189735752383703040}} 
[2026-10-16 18:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":217106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:59:03] local.INFO: GPS data processed {"connection_id":217106,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:59:03] local.INFO: Acknowledgment sent {"connection_id":217106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:59:49] local.INFO: TCP Data received {"connection_id":220169,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:59:49] local.INFO: Processing buffer {"connection_id":220169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:59:49] local.INFO: IMEI packet received {"connection_id":220169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 18:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":220169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 18:59:53] local.INFO: TCP Data received {"connection_id":220169,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:59:53] local.INFO: Processing buffer {"connection_id":220169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 18:59:53] local.INFO: IMEI packet received {"connection_id":220169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 18:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":220169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 18:59:54] local.INFO: TCP Data received {"connection_id":220169,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e6d160012d807a8005c38838000900082b..."} 
[2026-10-16 18:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e6d160012d807a8005c38838000900082b..."} 
[2026-10-16 18:59:54] local.INFO: Processing buffer {"connection_id":220169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e6d160012d807a8005c38838000900082b..."} 
[2026-10-16 18:59:54] local.INFO: Packet analysis {"connection_id":220169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e6"} 
[2026-10-16 18:59:54] local.INFO: Extracted packet for processing {"connection_id":220169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e6"} 
[2026-10-16 18:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763394688,"raw_latitude":96700472,"longitude_deg":76.3394688,"latitude_deg":9.6700472,"altitude":9,"angle":8,"satellites":43,"speed":4,"hex_longitude":"2d807a80","hex_latitude":"05c38838","is_valid_coordinates":true} 
[2026-10-16 18:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792279040001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275338951032832,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188891327452399616,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792157340000,"timestamp_ms":1792157340000,"timestamp_seconds":1792157340,"priority":1,"record_length":96,"hex_timestamp":"000001a144e6d160"} 
[2026-10-16 18:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 18:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792279040001,"66":27332,"167":206,"19":45568,"24":4,"16":15275338951032832,"45":-9188891327452399616},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792279040001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:59:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:59:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275338951032832,"km_value":15275338951032.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188891327452399616,"description":"Unknown IO ID 45"} 
[2026-10-16 18:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792279040001,"power":27332,"unknown_167":206,"unknown_19":45568,"ignition":4,"odometer":null,"unknown_45":-9188891327452399616}} 
[2026-10-16 18:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":220169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:59:54] local.INFO: GPS data processed {"connection_id":220169,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:59:54] local.INFO: Acknowledgment sent {"connection_id":220169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 18:59:56] local.INFO: TCP Data received {"connection_id":220169,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e6dd18012d807ac005c389a00009015d2b..."} 
[2026-10-16 18:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e6dd18012d807ac005c389a00009015d2b..."} 
[2026-10-16 18:59:56] local.INFO: Processing buffer {"connection_id":220169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e6dd18012d807ac005c389a00009015d2b..."} 
[2026-10-16 18:59:56] local.INFO: Packet analysis {"connection_id":220169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e6"} 
[2026-10-16 18:59:56] local.INFO: Extracted packet for processing {"connection_id":220169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e6"} 
[2026-10-16 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763394752,"raw_latitude":96700832,"longitude_deg":76.3394752,"latitude_deg":9.6700832,"altitude":9,"angle":349,"satellites":43,"speed":0,"hex_longitude":"2d807ac0","hex_latitude":"05c389a0","is_valid_coordinates":true} 
[2026-10-16 18:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 18:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792279040001,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275356130902016,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188891327452399616,"note":"Value kept but may cause issues"} 
[2026-10-16 18:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 18:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792157343000,"timestamp_ms":1792157343000,"timestamp_seconds":1792157343,"priority":1,"record_length":96,"hex_timestamp":"000001a144e6dd18"} 
[2026-10-16 18:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 18:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 18:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 18:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 18:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 18:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 18:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":220169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 18:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":220169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":220169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 18:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 18:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 18:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 18:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792279040001,"66":27180,"167":206,"19":45568,"24":0,"16":15275356130902016,"45":-9188891327452399616},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 18:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 18:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 18:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792279040001,"description":"Unknown IO ID 0"} 
[2026-10-16 18:59:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 18:59:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 18:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275356130902016,"km_value":15275356130902.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 18:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188891327452399616,"description":"Unknown IO ID 45"} 
[2026-10-16 18:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792279040001,"power":27180,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9188891327452399616}} 
[2026-10-16 18:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":220169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 18:59:56] local.INFO: GPS data processed {"connection_id":220169,"processed":1,"errors":0,"total":1} 
[2026-10-16 18:59:56] local.INFO: Acknowledgment sent {"connection_id":220169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:00:29] local.INFO: TCP Data received {"connection_id":220169,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e6e4e8012d807ac005c389e0000900012c..."} 
[2026-10-16 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e6e4e8012d807ac005c389e0000900012c..."} 
[2026-10-16 19:00:29] local.INFO: Processing buffer {"connection_id":220169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e6e4e8012d807ac005c389e0000900012c..."} 
[2026-10-16 19:00:29] local.INFO: Packet analysis {"connection_id":220169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e6"} 
[2026-10-16 19:00:29] local.INFO: Extracted packet for processing {"connection_id":220169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e6"} 
[2026-10-16 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763394752,"raw_latitude":96700896,"longitude_deg":76.3394752,"latitude_deg":9.6700896,"altitude":9,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d807ac0","hex_latitude":"05c389e0","is_valid_coordinates":true} 
[2026-10-16 19:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792279808001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275360425869312,"note":"Value kept but may cause issues"} 
[2026-10-16 19:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188820958708129792,"note":"Value kept but may cause issues"} 
[2026-10-16 19:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792157345000,"timestamp_ms":1792157345000,"timestamp_seconds":1792157345,"priority":1,"record_length":96,"hex_timestamp":"000001a144e6e4e8"} 
[2026-10-16 19:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 19:00:29] 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-10-16 19:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":220169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":220169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":220169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792279808001,"66":27180,"167":206,"19":45568,"24":0,"16":15275360425869312,"45":-9188820958708129792},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,19,24,16,45]} 
[2026-10-16 19:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792279808001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:00:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-10-16 19:00:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275360425869312,"km_value":15275360425869.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188820958708129792,"description":"Unknown IO ID 45"} 
[2026-10-16 19:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792279808001,"power":27180,"unknown_167":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9188820958708129792}} 
[2026-10-16 19:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":220169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:00:29] local.INFO: GPS data processed {"connection_id":220169,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:00:29] local.INFO: Acknowledgment sent {"connection_id":220169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:00:50] local.INFO: TCP Data received {"connection_id":218439,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:00:50] local.INFO: Processing buffer {"connection_id":218439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:00:50] local.INFO: IMEI packet received {"connection_id":218439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":218439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:00:50] local.INFO: TCP Data received {"connection_id":218439,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:00:50] local.INFO: Processing buffer {"connection_id":218439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:00:50] local.INFO: IMEI packet received {"connection_id":218439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":218439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:00:53] local.INFO: TCP Data received {"connection_id":218439,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:00:53] local.INFO: Processing buffer {"connection_id":218439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:00:53] local.INFO: IMEI packet received {"connection_id":218439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":218439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:00:55] local.INFO: TCP Data received {"connection_id":218439,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e713c8012d807b8005c38e700008000d2c..."} 
[2026-10-16 19:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e713c8012d807b8005c38e700008000d2c..."} 
[2026-10-16 19:00:55] local.INFO: Processing buffer {"connection_id":218439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e713c8012d807b8005c38e700008000d2c..."} 
[2026-10-16 19:00:55] local.INFO: Packet analysis {"connection_id":218439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e7"} 
[2026-10-16 19:00:55] local.INFO: Extracted packet for processing {"connection_id":218439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e7"} 
[2026-10-16 19:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763394944,"raw_latitude":96702064,"longitude_deg":76.3394944,"latitude_deg":9.6702064,"altitude":8,"angle":13,"satellites":44,"speed":0,"hex_longitude":"2d807b80","hex_latitude":"05c38e70","is_valid_coordinates":true} 
[2026-10-16 19:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792280320001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275420555411456,"note":"Value kept but may cause issues"} 
[2026-10-16 19:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188820958708113408,"note":"Value kept but may cause issues"} 
[2026-10-16 19:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792157357000,"timestamp_ms":1792157357000,"timestamp_seconds":1792157357,"priority":1,"record_length":96,"hex_timestamp":"000001a144e713c8"} 
[2026-10-16 19:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 19:00:55] 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-10-16 19:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792280320001,"66":27213,"130":206,"19":45568,"24":0,"16":15275420555411456,"45":-9188820958708113408},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792280320001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:00:55] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:00:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275420555411456,"km_value":15275420555411.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188820958708113408,"description":"Unknown IO ID 45"} 
[2026-10-16 19:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792280320001,"power":27213,"unknown_130":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9188820958708113408}} 
[2026-10-16 19:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":218439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:00:55] local.INFO: GPS data processed {"connection_id":218439,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:00:55] local.INFO: Acknowledgment sent {"connection_id":218439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:01:00] local.INFO: TCP Data received {"connection_id":218439,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e71b98012d807b8005c38eb8000801632c..."} 
[2026-10-16 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e71b98012d807b8005c38eb8000801632c..."} 
[2026-10-16 19:01:00] local.INFO: Processing buffer {"connection_id":218439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e71b98012d807b8005c38eb8000801632c..."} 
[2026-10-16 19:01:00] local.INFO: Packet analysis {"connection_id":218439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e7"} 
[2026-10-16 19:01:00] local.INFO: Extracted packet for processing {"connection_id":218439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e7"} 
[2026-10-16 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763394944,"raw_latitude":96702136,"longitude_deg":76.3394944,"latitude_deg":9.6702136,"altitude":8,"angle":355,"satellites":44,"speed":0,"hex_longitude":"2d807b80","hex_latitude":"05c38eb8","is_valid_coordinates":true} 
[2026-10-16 19:01: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-10-16 19:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792283392001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275424850378752,"note":"Value kept but may cause issues"} 
[2026-10-16 19:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188609852475281408,"note":"Value kept but may cause issues"} 
[2026-10-16 19:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792157359000,"timestamp_ms":1792157359000,"timestamp_seconds":1792157359,"priority":1,"record_length":96,"hex_timestamp":"000001a144e71b98"} 
[2026-10-16 19:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 19:01:00] 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-10-16 19:01: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-10-16 19:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":218439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":218439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":218439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792283392001,"66":27213,"130":206,"19":45568,"24":0,"16":15275424850378752,"45":-9188609852475281408},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792283392001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:01:00] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:01:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275424850378752,"km_value":15275424850378.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188609852475281408,"description":"Unknown IO ID 45"} 
[2026-10-16 19:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792283392001,"power":27213,"unknown_130":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9188609852475281408}} 
[2026-10-16 19:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":218439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:01:00] local.INFO: GPS data processed {"connection_id":218439,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:01:00] local.INFO: Acknowledgment sent {"connection_id":218439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:01:31] local.INFO: TCP Data received {"connection_id":218439,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e72f20012d807bc005c38fb8000801562c..."} 
[2026-10-16 19:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e72f20012d807bc005c38fb8000801562c..."} 
[2026-10-16 19:01:31] local.INFO: Processing buffer {"connection_id":218439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e72f20012d807bc005c38fb8000801562c..."} 
[2026-10-16 19:01:31] local.INFO: Packet analysis {"connection_id":218439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e7"} 
[2026-10-16 19:01:31] local.INFO: Extracted packet for processing {"connection_id":218439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e7"} 
[2026-10-16 19:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763395008,"raw_latitude":96702392,"longitude_deg":76.3395008,"latitude_deg":9.6702392,"altitude":8,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d807bc0","hex_latitude":"05c38fb8","is_valid_coordinates":true} 
[2026-10-16 19:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792283904001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275437735280640,"note":"Value kept but may cause issues"} 
[2026-10-16 19:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188609852475262976,"note":"Value kept but may cause issues"} 
[2026-10-16 19:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792157364000,"timestamp_ms":1792157364000,"timestamp_seconds":1792157364,"priority":1,"record_length":96,"hex_timestamp":"000001a144e72f20"} 
[2026-10-16 19:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 19:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":218439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":218439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":218439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792283904001,"66":27365,"130":206,"19":45568,"24":0,"16":15275437735280640,"45":-9188609852475262976},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792283904001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:01:31] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:01:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275437735280640,"km_value":15275437735280.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188609852475262976,"description":"Unknown IO ID 45"} 
[2026-10-16 19:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792283904001,"power":27365,"unknown_130":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9188609852475262976}} 
[2026-10-16 19:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":218439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:01:31] local.INFO: GPS data processed {"connection_id":218439,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:01:31] local.INFO: Acknowledgment sent {"connection_id":218439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:01:48] local.INFO: TCP Data received {"connection_id":217108,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:01:48] local.INFO: Processing buffer {"connection_id":217108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:01:48] local.INFO: IMEI packet received {"connection_id":217108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":217108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:01:54] local.INFO: TCP Data received {"connection_id":217108,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:01:54] local.INFO: Processing buffer {"connection_id":217108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:01:54] local.INFO: IMEI packet received {"connection_id":217108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":217108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:01:56] local.INFO: TCP Data received {"connection_id":217108,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e736f0012d807bc005c39010000801672c..."} 
[2026-10-16 19:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e736f0012d807bc005c39010000801672c..."} 
[2026-10-16 19:01:56] local.INFO: Processing buffer {"connection_id":217108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e736f0012d807bc005c39010000801672c..."} 
[2026-10-16 19:01:56] local.INFO: Packet analysis {"connection_id":217108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e7"} 
[2026-10-16 19:01:56] local.INFO: Extracted packet for processing {"connection_id":217108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e7"} 
[2026-10-16 19:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763395008,"raw_latitude":96702480,"longitude_deg":76.3395008,"latitude_deg":9.670248,"altitude":8,"angle":359,"satellites":44,"speed":0,"hex_longitude":"2d807bc0","hex_latitude":"05c39010","is_valid_coordinates":true} 
[2026-10-16 19:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792285184001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275442030247936,"note":"Value kept but may cause issues"} 
[2026-10-16 19:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188539483731019776,"note":"Value kept but may cause issues"} 
[2026-10-16 19:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792157366000,"timestamp_ms":1792157366000,"timestamp_seconds":1792157366,"priority":1,"record_length":96,"hex_timestamp":"000001a144e736f0"} 
[2026-10-16 19:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 19:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792285184001,"66":27376,"130":206,"19":45568,"24":0,"16":15275442030247936,"45":-9188539483731019776},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792285184001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:01:56] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:01:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275442030247936,"km_value":15275442030247.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188539483731019776,"description":"Unknown IO ID 45"} 
[2026-10-16 19:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792285184001,"power":27376,"unknown_130":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":-9188539483731019776}} 
[2026-10-16 19:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":217108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:01:56] local.INFO: GPS data processed {"connection_id":217108,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:01:56] local.INFO: Acknowledgment sent {"connection_id":217108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:02:15] local.INFO: TCP Data received {"connection_id":220171,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:02:15] local.INFO: Processing buffer {"connection_id":220171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:02:15] local.INFO: IMEI packet received {"connection_id":220171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":220171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:02:28] local.INFO: TCP Data received {"connection_id":217108,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e8fff8012d80800005c3aec0000b000b2d..."} 
[2026-10-16 19:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e8fff8012d80800005c3aec0000b000b2d..."} 
[2026-10-16 19:02:28] local.INFO: Processing buffer {"connection_id":217108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e8fff8012d80800005c3aec0000b000b2d..."} 
[2026-10-16 19:02:28] local.INFO: Packet analysis {"connection_id":217108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e8"} 
[2026-10-16 19:02:28] local.INFO: Extracted packet for processing {"connection_id":217108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e8"} 
[2026-10-16 19:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763396096,"raw_latitude":96710336,"longitude_deg":76.3396096,"latitude_deg":9.6710336,"altitude":11,"angle":11,"satellites":45,"speed":4,"hex_longitude":"2d808000","hex_latitude":"05c3aec0","is_valid_coordinates":true} 
[2026-10-16 19:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792314880001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275845757173760,"note":"Value kept but may cause issues"} 
[2026-10-16 19:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187343215078035456,"note":"Value kept but may cause issues"} 
[2026-10-16 19:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792157483000,"timestamp_ms":1792157483000,"timestamp_seconds":1792157483,"priority":1,"record_length":96,"hex_timestamp":"000001a144e8fff8"} 
[2026-10-16 19:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:02: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-10-16 19:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 19:02:28] 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-10-16 19:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792314880001,"66":27267,"130":206,"19":45568,"24":4,"16":15275845757173760,"45":-9187343215078035456},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792314880001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:02:28] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:02:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275845757173760,"km_value":15275845757173.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187343215078035456,"description":"Unknown IO ID 45"} 
[2026-10-16 19:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792314880001,"power":27267,"unknown_130":206,"unknown_19":45568,"ignition":4,"odometer":null,"unknown_45":-9187343215078035456}} 
[2026-10-16 19:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":217108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:02:28] local.INFO: GPS data processed {"connection_id":217108,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:02:28] local.INFO: Acknowledgment sent {"connection_id":217108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:02:47] local.INFO: TCP Data received {"connection_id":217109,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:02:47] local.INFO: Processing buffer {"connection_id":217109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:02:47] local.INFO: IMEI packet received {"connection_id":217109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":217109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:02:47] local.INFO: TCP Data received {"connection_id":217110,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:47] local.INFO: Processing buffer {"connection_id":217110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:47] local.INFO: IMEI packet received {"connection_id":217110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":217110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:02:50] local.INFO: TCP Data received {"connection_id":217110,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:50] local.INFO: Processing buffer {"connection_id":217110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:50] local.INFO: IMEI packet received {"connection_id":217110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":217110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:02:51] local.INFO: TCP Data received {"connection_id":217110,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:51] local.INFO: Processing buffer {"connection_id":217110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:51] local.INFO: IMEI packet received {"connection_id":217110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":217110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:02:53] local.INFO: TCP Data received {"connection_id":217110,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:53] local.INFO: Processing buffer {"connection_id":217110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:02:53] local.INFO: IMEI packet received {"connection_id":217110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":217110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:02:54] local.INFO: TCP Data received {"connection_id":217110,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e92ed8012d80808005c3b5e0000901642e..."} 
[2026-10-16 19:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e92ed8012d80808005c3b5e0000901642e..."} 
[2026-10-16 19:02:54] local.INFO: Processing buffer {"connection_id":217110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e92ed8012d80808005c3b5e0000901642e..."} 
[2026-10-16 19:02:54] local.INFO: Packet analysis {"connection_id":217110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e9"} 
[2026-10-16 19:02:54] local.INFO: Extracted packet for processing {"connection_id":217110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e9"} 
[2026-10-16 19:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763396224,"raw_latitude":96712160,"longitude_deg":76.3396224,"latitude_deg":9.671216,"altitude":9,"angle":356,"satellites":46,"speed":5,"hex_longitude":"2d808080","hex_latitude":"05c3b5e0","is_valid_coordinates":true} 
[2026-10-16 19:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792315648001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275935951486976,"note":"Value kept but may cause issues"} 
[2026-10-16 19:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187343215077965824,"note":"Value kept but may cause issues"} 
[2026-10-16 19:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792157495000,"timestamp_ms":1792157495000,"timestamp_seconds":1792157495,"priority":1,"record_length":96,"hex_timestamp":"000001a144e92ed8"} 
[2026-10-16 19:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 19:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792315648001,"66":27343,"130":206,"19":45568,"24":5,"16":15275935951486976,"45":-9187343215077965824},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792315648001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:02:54] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:02:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275935951486976,"km_value":15275935951486.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187343215077965824,"description":"Unknown IO ID 45"} 
[2026-10-16 19:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792315648001,"power":27343,"unknown_130":206,"unknown_19":45568,"ignition":5,"odometer":null,"unknown_45":-9187343215077965824}} 
[2026-10-16 19:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":217110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:02:54] local.INFO: GPS data processed {"connection_id":217110,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:02:54] local.INFO: Acknowledgment sent {"connection_id":217110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:03:25] local.INFO: TCP Data received {"connection_id":217110,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e936a8012d80804005c3b718000900062e..."} 
[2026-10-16 19:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e936a8012d80804005c3b718000900062e..."} 
[2026-10-16 19:03:25] local.INFO: Processing buffer {"connection_id":217110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e936a8012d80804005c3b718000900062e..."} 
[2026-10-16 19:03:25] local.INFO: Packet analysis {"connection_id":217110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e9"} 
[2026-10-16 19:03:25] local.INFO: Extracted packet for processing {"connection_id":217110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e9"} 
[2026-10-16 19:03:25] local.INFO: GPS Element Parsed {"raw_longitude":763396160,"raw_latitude":96712472,"longitude_deg":76.339616,"latitude_deg":9.6712472,"altitude":9,"angle":6,"satellites":46,"speed":5,"hex_longitude":"2d808040","hex_latitude":"05c3b718","is_valid_coordinates":true} 
[2026-10-16 19:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792318720001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275953131356160,"note":"Value kept but may cause issues"} 
[2026-10-16 19:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187202477589143552,"note":"Value kept but may cause issues"} 
[2026-10-16 19:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792157497000,"timestamp_ms":1792157497000,"timestamp_seconds":1792157497,"priority":1,"record_length":96,"hex_timestamp":"000001a144e936a8"} 
[2026-10-16 19:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:03: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-10-16 19:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:03: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-10-16 19:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792318720001,"66":27213,"130":206,"19":45568,"24":5,"16":15275953131356160,"45":-9187202477589143552},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792318720001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:03:25] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:03:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275953131356160,"km_value":15275953131356.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187202477589143552,"description":"Unknown IO ID 45"} 
[2026-10-16 19:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792318720001,"power":27213,"unknown_130":206,"unknown_19":45568,"ignition":5,"odometer":null,"unknown_45":-9187202477589143552}} 
[2026-10-16 19:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":217110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:03:25] local.INFO: GPS data processed {"connection_id":217110,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:03:25] local.INFO: Acknowledgment sent {"connection_id":217110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:03:48] local.INFO: TCP Data received {"connection_id":216873,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:03:48] local.INFO: Processing buffer {"connection_id":216873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:03:48] local.INFO: IMEI packet received {"connection_id":216873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":216873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:03:48] local.INFO: TCP Data received {"connection_id":216873,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:03:48] local.INFO: Processing buffer {"connection_id":216873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:03:48] local.INFO: IMEI packet received {"connection_id":216873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":216873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:03:53] local.INFO: TCP Data received {"connection_id":216873,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:03:53] local.INFO: Processing buffer {"connection_id":216873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:03:53] local.INFO: IMEI packet received {"connection_id":216873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":216873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:03:55] local.INFO: TCP Data received {"connection_id":216873,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144e988b0012d80824005c3c398000b000b2a..."} 
[2026-10-16 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144e988b0012d80824005c3c398000b000b2a..."} 
[2026-10-16 19:03:55] local.INFO: Processing buffer {"connection_id":216873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144e988b0012d80824005c3c398000b000b2a..."} 
[2026-10-16 19:03:55] local.INFO: Packet analysis {"connection_id":216873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144e9"} 
[2026-10-16 19:03:55] local.INFO: Extracted packet for processing {"connection_id":216873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144e9"} 
[2026-10-16 19:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763396672,"raw_latitude":96715672,"longitude_deg":76.3396672,"latitude_deg":9.6715672,"altitude":11,"angle":11,"satellites":42,"speed":5,"hex_longitude":"2d808240","hex_latitude":"05c3c398","is_valid_coordinates":true} 
[2026-10-16 19:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792319232001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15276116340113408,"note":"Value kept but may cause issues"} 
[2026-10-16 19:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187272846333241344,"note":"Value kept but may cause issues"} 
[2026-10-16 19:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792157518000,"timestamp_ms":1792157518000,"timestamp_seconds":1792157518,"priority":1,"record_length":96,"hex_timestamp":"000001a144e988b0"} 
[2026-10-16 19:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 19:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792319232001,"66":27234,"130":206,"19":45568,"24":5,"16":15276116340113408,"45":-9187272846333241344},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792319232001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:03:55] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:03:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15276116340113408,"km_value":15276116340113.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187272846333241344,"description":"Unknown IO ID 45"} 
[2026-10-16 19:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792319232001,"power":27234,"unknown_130":206,"unknown_19":45568,"ignition":5,"odometer":null,"unknown_45":-9187272846333241344}} 
[2026-10-16 19:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":216873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:03:55] local.INFO: GPS data processed {"connection_id":216873,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:03:55] local.INFO: Acknowledgment sent {"connection_id":216873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:04:28] local.INFO: TCP Data received {"connection_id":216873,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144ead8a0012d808bc005c3f2d8000900082e..."} 
[2026-10-16 19:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ead8a0012d808bc005c3f2d8000900082e..."} 
[2026-10-16 19:04:28] local.INFO: Processing buffer {"connection_id":216873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ead8a0012d808bc005c3f2d8000900082e..."} 
[2026-10-16 19:04:28] local.INFO: Packet analysis {"connection_id":216873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ea"} 
[2026-10-16 19:04:28] local.INFO: Extracted packet for processing {"connection_id":216873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ea"} 
[2026-10-16 19:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763399104,"raw_latitude":96727768,"longitude_deg":76.3399104,"latitude_deg":9.6727768,"altitude":9,"angle":8,"satellites":46,"speed":8,"hex_longitude":"2d808bc0","hex_latitude":"05c3f2d8","is_valid_coordinates":true} 
[2026-10-16 19:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792345600001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15276730520436736,"note":"Value kept but may cause issues"} 
[2026-10-16 19:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184246990329843712,"note":"Value kept but may cause issues"} 
[2026-10-16 19:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792157604000,"timestamp_ms":1792157604000,"timestamp_seconds":1792157604,"priority":1,"record_length":96,"hex_timestamp":"000001a144ead8a0"} 
[2026-10-16 19:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:04: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-10-16 19:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 19:04:28] 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-10-16 19:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792345600001,"66":27213,"130":206,"19":45568,"24":8,"16":15276730520436736,"45":-9184246990329843712},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792345600001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:04:28] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:04:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15276730520436736,"km_value":15276730520436.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184246990329843712,"description":"Unknown IO ID 45"} 
[2026-10-16 19:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792345600001,"power":27213,"unknown_130":206,"unknown_19":45568,"ignition":8,"odometer":null,"unknown_45":-9184246990329843712}} 
[2026-10-16 19:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":216873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:04:28] local.INFO: GPS data processed {"connection_id":216873,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:04:28] local.INFO: Acknowledgment sent {"connection_id":216873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:04:48] local.INFO: TCP Data received {"connection_id":220173,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:04:48] local.INFO: Processing buffer {"connection_id":220173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:04:48] local.INFO: IMEI packet received {"connection_id":220173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":220173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:04:53] local.INFO: TCP Data received {"connection_id":220173,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:04:53] local.INFO: Processing buffer {"connection_id":220173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:04:53] local.INFO: IMEI packet received {"connection_id":220173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":220173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:04:56] local.INFO: TCP Data received {"connection_id":220173,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144eb0f50012d808d0005c3fdc8000801622e..."} 
[2026-10-16 19:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144eb0f50012d808d0005c3fdc8000801622e..."} 
[2026-10-16 19:04:56] local.INFO: Processing buffer {"connection_id":220173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144eb0f50012d808d0005c3fdc8000801622e..."} 
[2026-10-16 19:04:56] local.INFO: Packet analysis {"connection_id":220173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:04:56] local.INFO: Extracted packet for processing {"connection_id":220173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763399424,"raw_latitude":96730568,"longitude_deg":76.3399424,"latitude_deg":9.6730568,"altitude":8,"angle":354,"satellites":46,"speed":9,"hex_longitude":"2d808d00","hex_latitude":"05c3fdc8","is_valid_coordinates":true} 
[2026-10-16 19:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792346624001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15276867959390208,"note":"Value kept but may cause issues"} 
[2026-10-16 19:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184035884097153024,"note":"Value kept but may cause issues"} 
[2026-10-16 19:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792157618000,"timestamp_ms":1792157618000,"timestamp_seconds":1792157618,"priority":1,"record_length":96,"hex_timestamp":"000001a144eb0f50"} 
[2026-10-16 19:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 19:04:56] 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-10-16 19:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":220173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":220173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":220173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792346624001,"66":27115,"130":206,"19":45568,"24":9,"16":15276867959390208,"45":-9184035884097153024},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792346624001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:04:56] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:04:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15276867959390208,"km_value":15276867959390.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184035884097153024,"description":"Unknown IO ID 45"} 
[2026-10-16 19:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792346624001,"power":27115,"unknown_130":206,"unknown_19":45568,"ignition":9,"odometer":null,"unknown_45":-9184035884097153024}} 
[2026-10-16 19:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":220173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:04:56] local.INFO: GPS data processed {"connection_id":220173,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:04:56] local.INFO: Acknowledgment sent {"connection_id":220173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:05:29] local.INFO: TCP Data received {"connection_id":220173,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144eb26c0012d808d0005c40350000900052e..."} 
[2026-10-16 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144eb26c0012d808d0005c40350000900052e..."} 
[2026-10-16 19:05:29] local.INFO: Processing buffer {"connection_id":220173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144eb26c0012d808d0005c40350000900052e..."} 
[2026-10-16 19:05:29] local.INFO: Packet analysis {"connection_id":220173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:05:29] local.INFO: Extracted packet for processing {"connection_id":220173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763399424,"raw_latitude":96731984,"longitude_deg":76.3399424,"latitude_deg":9.6731984,"altitude":9,"angle":5,"satellites":46,"speed":9,"hex_longitude":"2d808d00","hex_latitude":"05c40350","is_valid_coordinates":true} 
[2026-10-16 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792350208001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15276936678866944,"note":"Value kept but may cause issues"} 
[2026-10-16 19:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183684040375547904,"note":"Value kept but may cause issues"} 
[2026-10-16 19:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792157624000,"timestamp_ms":1792157624000,"timestamp_seconds":1792157624,"priority":1,"record_length":96,"hex_timestamp":"000001a144eb26c0"} 
[2026-10-16 19:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 19:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":220173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":220173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":220173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792350208001,"66":27463,"130":206,"19":45568,"24":9,"16":15276936678866944,"45":-9183684040375547904},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792350208001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:05:29] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:05:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15276936678866944,"km_value":15276936678866.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183684040375547904,"description":"Unknown IO ID 45"} 
[2026-10-16 19:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792350208001,"power":27463,"unknown_130":206,"unknown_19":45568,"ignition":9,"odometer":null,"unknown_45":-9183684040375547904}} 
[2026-10-16 19:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":220173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:05:29] local.INFO: GPS data processed {"connection_id":220173,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:05:29] local.INFO: Acknowledgment sent {"connection_id":220173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:05:53] local.INFO: TCP Data received {"connection_id":218441,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:05:53] local.INFO: Processing buffer {"connection_id":218441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:05:53] local.INFO: IMEI packet received {"connection_id":218441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":218441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:05:57] local.INFO: TCP Data received {"connection_id":218441,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:05:57] local.INFO: Processing buffer {"connection_id":218441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:05:57] local.INFO: IMEI packet received {"connection_id":218441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":218441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:05:58] local.INFO: TCP Data received {"connection_id":218441,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144eb4dd0012d808d4005c410e0000901622d..."} 
[2026-10-16 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144eb4dd0012d808d4005c410e0000901622d..."} 
[2026-10-16 19:05:58] local.INFO: Processing buffer {"connection_id":218441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144eb4dd0012d808d4005c410e0000901622d..."} 
[2026-10-16 19:05:58] local.INFO: Packet analysis {"connection_id":218441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:05:58] local.INFO: Extracted packet for processing {"connection_id":218441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763399488,"raw_latitude":96735456,"longitude_deg":76.3399488,"latitude_deg":9.6735456,"altitude":9,"angle":354,"satellites":45,"speed":19,"hex_longitude":"2d808d40","hex_latitude":"05c410e0","is_valid_coordinates":true} 
[2026-10-16 19:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792351744001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15277108477558784,"note":"Value kept but may cause issues"} 
[2026-10-16 19:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183684040375185408,"note":"Value kept but may cause issues"} 
[2026-10-16 19:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792157634000,"timestamp_ms":1792157634000,"timestamp_seconds":1792157634,"priority":1,"record_length":96,"hex_timestamp":"000001a144eb4dd0"} 
[2026-10-16 19:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 19:05:58] 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-10-16 19:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792351744001,"66":27213,"130":206,"19":45568,"24":19,"16":15277108477558784,"45":-9183684040375185408},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792351744001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:05:58] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:05:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15277108477558784,"km_value":15277108477558.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183684040375185408,"description":"Unknown IO ID 45"} 
[2026-10-16 19:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792351744001,"power":27213,"unknown_130":206,"unknown_19":45568,"ignition":19,"odometer":null,"unknown_45":-9183684040375185408}} 
[2026-10-16 19:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":218441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:05:58] local.INFO: GPS data processed {"connection_id":218441,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:05:58] local.INFO: Acknowledgment sent {"connection_id":218441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:06:00] local.INFO: TCP Data received {"connection_id":218441,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144eb8480012d8087c005c430a80009015529..."} 
[2026-10-16 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144eb8480012d8087c005c430a80009015529..."} 
[2026-10-16 19:06:00] local.INFO: Processing buffer {"connection_id":218441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144eb8480012d8087c005c430a80009015529..."} 
[2026-10-16 19:06:00] local.INFO: Packet analysis {"connection_id":218441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:06:00] local.INFO: Extracted packet for processing {"connection_id":218441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763398080,"raw_latitude":96743592,"longitude_deg":76.339808,"latitude_deg":9.6743592,"altitude":9,"angle":341,"satellites":41,"speed":25,"hex_longitude":"2d8087c0","hex_latitude":"05c430a8","is_valid_coordinates":true} 
[2026-10-16 19:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792354304001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15277507909517312,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183613671630118912,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792157648000,"timestamp_ms":1792157648000,"timestamp_seconds":1792157648,"priority":1,"record_length":96,"hex_timestamp":"000001a144eb8480"} 
[2026-10-16 19:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 19:06:00] 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-10-16 19:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":218441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":218441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":218441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792354304001,"66":27376,"130":206,"19":45568,"24":25,"16":15277507909517312,"45":-9183613671630118912},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792354304001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:06:00] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:06:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15277507909517312,"km_value":15277507909517.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183613671630118912,"description":"Unknown IO ID 45"} 
[2026-10-16 19:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792354304001,"power":27376,"unknown_130":206,"unknown_19":45568,"ignition":25,"odometer":null,"unknown_45":-9183613671630118912}} 
[2026-10-16 19:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":218441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:06:01] local.INFO: GPS data processed {"connection_id":218441,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:06:01] local.INFO: Acknowledgment sent {"connection_id":218441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:06:32] local.INFO: TCP Data received {"connection_id":218441,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144ebb360012d807cc005c44778000601492c..."} 
[2026-10-16 19:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ebb360012d807cc005c44778000601492c..."} 
[2026-10-16 19:06:32] local.INFO: Processing buffer {"connection_id":218441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ebb360012d807cc005c44778000601492c..."} 
[2026-10-16 19:06:32] local.INFO: Packet analysis {"connection_id":218441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:06:32] local.INFO: Extracted packet for processing {"connection_id":218441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763395264,"raw_latitude":96749432,"longitude_deg":76.3395264,"latitude_deg":9.6749432,"altitude":6,"angle":329,"satellites":44,"speed":16,"hex_longitude":"2d807cc0","hex_latitude":"05c44778","is_valid_coordinates":true} 
[2026-10-16 19:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792357888001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15277821442129920,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185161783999944704,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792157660000,"timestamp_ms":1792157660000,"timestamp_seconds":1792157660,"priority":1,"record_length":96,"hex_timestamp":"000001a144ebb360"} 
[2026-10-16 19:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 19:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792357888001,"66":27300,"130":206,"19":45568,"24":16,"16":15277821442129920,"45":-9185161783999944704},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792357888001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:06:32] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:06:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15277821442129920,"km_value":15277821442129.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185161783999944704,"description":"Unknown IO ID 45"} 
[2026-10-16 19:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792357888001,"power":27300,"unknown_130":206,"unknown_19":45568,"ignition":16,"odometer":null,"unknown_45":-9185161783999944704}} 
[2026-10-16 19:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":218441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:06:32] local.INFO: GPS data processed {"connection_id":218441,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:06:32] local.INFO: Acknowledgment sent {"connection_id":218441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:06:48] local.INFO: TCP Data received {"connection_id":216875,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:06:48] local.INFO: Processing buffer {"connection_id":216875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:06:48] local.INFO: IMEI packet received {"connection_id":216875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":216875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:06:51] local.INFO: TCP Data received {"connection_id":216875,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:06:51] local.INFO: Processing buffer {"connection_id":216875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:06:51] local.INFO: IMEI packet received {"connection_id":216875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":216875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:06:54] local.INFO: TCP Data received {"connection_id":216875,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144ebfd98012d80698005c46590000801462d..."} 
[2026-10-16 19:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ebfd98012d80698005c46590000801462d..."} 
[2026-10-16 19:06:54] local.INFO: Processing buffer {"connection_id":216875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ebfd98012d80698005c46590000801462d..."} 
[2026-10-16 19:06:54] local.INFO: Packet analysis {"connection_id":216875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:06:54] local.INFO: Extracted packet for processing {"connection_id":216875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144eb"} 
[2026-10-16 19:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763390336,"raw_latitude":96757136,"longitude_deg":76.3390336,"latitude_deg":9.6757136,"altitude":8,"angle":326,"satellites":45,"speed":20,"hex_longitude":"2d806980","hex_latitude":"05c46590","is_valid_coordinates":true} 
[2026-10-16 19:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792360960001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15278263823761408,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188258008742266880,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792157679000,"timestamp_ms":1792157679000,"timestamp_seconds":1792157679,"priority":1,"record_length":96,"hex_timestamp":"000001a144ebfd98"} 
[2026-10-16 19:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 19:06:54] 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-10-16 19:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792360960001,"66":27376,"130":206,"19":45568,"24":20,"16":15278263823761408,"45":-9188258008742266880},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792360960001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:06:54] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:06:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15278263823761408,"km_value":15278263823761.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188258008742266880,"description":"Unknown IO ID 45"} 
[2026-10-16 19:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792360960001,"power":27376,"unknown_130":206,"unknown_19":45568,"ignition":20,"odometer":null,"unknown_45":-9188258008742266880}} 
[2026-10-16 19:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":216875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:06:54] local.INFO: GPS data processed {"connection_id":216875,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:06:54] local.INFO: Acknowledgment sent {"connection_id":216875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:06:58] local.INFO: TCP Data received {"connection_id":216875,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144ec4fa0012d805e4005c47710000601482d..."} 
[2026-10-16 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ec4fa0012d805e4005c47710000601482d..."} 
[2026-10-16 19:06:58] local.INFO: Processing buffer {"connection_id":216875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ec4fa0012d805e4005c47710000601482d..."} 
[2026-10-16 19:06:58] local.INFO: Packet analysis {"connection_id":216875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ec"} 
[2026-10-16 19:06:58] local.INFO: Extracted packet for processing {"connection_id":216875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ec"} 
[2026-10-16 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763387456,"raw_latitude":96761616,"longitude_deg":76.3387456,"latitude_deg":9.6761616,"altitude":6,"angle":328,"satellites":45,"speed":7,"hex_longitude":"2d805e40","hex_latitude":"05c47710","is_valid_coordinates":true} 
[2026-10-16 19:06: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-10-16 19:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792365824001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15278525816766464,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193676402041974784,"note":"Value kept but may cause issues"} 
[2026-10-16 19:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792157700000,"timestamp_ms":1792157700000,"timestamp_seconds":1792157700,"priority":1,"record_length":96,"hex_timestamp":"000001a144ec4fa0"} 
[2026-10-16 19:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:06: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":240,"data_length":795,"current_offset":136} 
[2026-10-16 19:06:58] 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-10-16 19:06: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-10-16 19:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792365824001,"66":27484,"130":206,"19":45568,"24":7,"16":15278525816766464,"45":-9193676402041974784},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792365824001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:06:58] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:06:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15278525816766464,"km_value":15278525816766.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193676402041974784,"description":"Unknown IO ID 45"} 
[2026-10-16 19:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792365824001,"power":27484,"unknown_130":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":-9193676402041974784}} 
[2026-10-16 19:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":216875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:06:58] local.INFO: GPS data processed {"connection_id":216875,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:06:58] local.INFO: Acknowledgment sent {"connection_id":216875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:07:29] local.INFO: TCP Data received {"connection_id":216875,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144eca1a8012d80564005c483a00008014a2c..."} 
[2026-10-16 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144eca1a8012d80564005c483a00008014a2c..."} 
[2026-10-16 19:07:29] local.INFO: Processing buffer {"connection_id":216875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144eca1a8012d80564005c483a00008014a2c..."} 
[2026-10-16 19:07:29] local.INFO: Packet analysis {"connection_id":216875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ec"} 
[2026-10-16 19:07:29] local.INFO: Extracted packet for processing {"connection_id":216875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ec"} 
[2026-10-16 19:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763385408,"raw_latitude":96764832,"longitude_deg":76.3385408,"latitude_deg":9.6764832,"altitude":8,"angle":330,"satellites":44,"speed":7,"hex_longitude":"2d805640","hex_latitude":"05c483a0","is_valid_coordinates":true} 
[2026-10-16 19:07: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-10-16 19:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792371200001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15278710500360192,"note":"Value kept but may cause issues"} 
[2026-10-16 19:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196842995528822784,"note":"Value kept but may cause issues"} 
[2026-10-16 19:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792157721000,"timestamp_ms":1792157721000,"timestamp_seconds":1792157721,"priority":1,"record_length":96,"hex_timestamp":"000001a144eca1a8"} 
[2026-10-16 19:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 19:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:07: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-10-16 19:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792371200001,"66":27321,"130":206,"19":45568,"24":7,"16":15278710500360192,"45":-9196842995528822784},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792371200001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:07:29] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:07:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15278710500360192,"km_value":15278710500360.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196842995528822784,"description":"Unknown IO ID 45"} 
[2026-10-16 19:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792371200001,"power":27321,"unknown_130":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":-9196842995528822784}} 
[2026-10-16 19:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":216875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:07:29] local.INFO: GPS data processed {"connection_id":216875,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:07:29] local.INFO: Acknowledgment sent {"connection_id":216875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:07:47] local.INFO: TCP Data received {"connection_id":217111,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:07:47] local.INFO: Processing buffer {"connection_id":217111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:07:47] local.INFO: IMEI packet received {"connection_id":217111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":217111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:07:52] local.INFO: TCP Data received {"connection_id":220174,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:07:52] local.INFO: Processing buffer {"connection_id":220174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:07:52] local.INFO: IMEI packet received {"connection_id":220174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":220174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:07:53] local.INFO: TCP Data received {"connection_id":217111,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:07:53] local.INFO: Processing buffer {"connection_id":217111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:07:53] local.INFO: IMEI packet received {"connection_id":217111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":217111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:07:54] local.INFO: TCP Data received {"connection_id":217111,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144ecf3b0012d80508005c48cf80008014c2e..."} 
[2026-10-16 19:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ecf3b0012d80508005c48cf80008014c2e..."} 
[2026-10-16 19:07:54] local.INFO: Processing buffer {"connection_id":217111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ecf3b0012d80508005c48cf80008014c2e..."} 
[2026-10-16 19:07:54] local.INFO: Packet analysis {"connection_id":217111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ec"} 
[2026-10-16 19:07:54] local.INFO: Extracted packet for processing {"connection_id":217111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ec"} 
[2026-10-16 19:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763383936,"raw_latitude":96767224,"longitude_deg":76.3383936,"latitude_deg":9.6767224,"altitude":8,"angle":332,"satellites":46,"speed":13,"hex_longitude":"2d805080","hex_latitude":"05c48cf8","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792376576001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15278852234280960,"note":"Value kept but may cause issues"} 
[2026-10-16 19:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199094795341684736,"note":"Value kept but may cause issues"} 
[2026-10-16 19:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792157742000,"timestamp_ms":1792157742000,"timestamp_seconds":1792157742,"priority":1,"record_length":96,"hex_timestamp":"000001a144ecf3b0"} 
[2026-10-16 19:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 19:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19: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-10-16 19:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792376576001,"66":27245,"130":206,"19":45568,"24":13,"16":15278852234280960,"45":-9199094795341684736},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792376576001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:07:54] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:07:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15278852234280960,"km_value":15278852234280.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199094795341684736,"description":"Unknown IO ID 45"} 
[2026-10-16 19:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792376576001,"power":27245,"unknown_130":206,"unknown_19":45568,"ignition":13,"odometer":null,"unknown_45":-9199094795341684736}} 
[2026-10-16 19:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":217111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:07:54] local.INFO: GPS data processed {"connection_id":217111,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:07:54] local.INFO: Acknowledgment sent {"connection_id":217111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:08:27] local.INFO: TCP Data received {"connection_id":217111,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144ed2678012d803dc005c4aac8000901482e..."} 
[2026-10-16 19:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ed2678012d803dc005c4aac8000901482e..."} 
[2026-10-16 19:08:27] local.INFO: Processing buffer {"connection_id":217111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ed2678012d803dc005c4aac8000901482e..."} 
[2026-10-16 19:08:27] local.INFO: Packet analysis {"connection_id":217111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ed"} 
[2026-10-16 19:08:27] local.INFO: Extracted packet for processing {"connection_id":217111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ed"} 
[2026-10-16 19:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763379136,"raw_latitude":96774856,"longitude_deg":76.3379136,"latitude_deg":9.6774856,"altitude":9,"angle":328,"satellites":46,"speed":39,"hex_longitude":"2d803dc0","hex_latitude":"05c4aac8","is_valid_coordinates":true} 
[2026-10-16 19:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792381952001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15279290320945152,"note":"Value kept but may cause issues"} 
[2026-10-16 19:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200713276457158656,"note":"Value kept but may cause issues"} 
[2026-10-16 19:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792157755000,"timestamp_ms":1792157755000,"timestamp_seconds":1792157755,"priority":1,"record_length":96,"hex_timestamp":"000001a144ed2678"} 
[2026-10-16 19:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:08: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-10-16 19:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 19:08:27] 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-10-16 19:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792381952001,"66":27180,"130":206,"19":45568,"24":39,"16":15279290320945152,"45":-9200713276457158656},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,19,24,16,45]} 
[2026-10-16 19:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792381952001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:08:27] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-10-16 19:08:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15279290320945152,"km_value":15279290320945.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200713276457158656,"description":"Unknown IO ID 45"} 
[2026-10-16 19:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792381952001,"power":27180,"unknown_130":206,"unknown_19":45568,"ignition":39,"odometer":null,"unknown_45":-9200713276457158656}} 
[2026-10-16 19:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":217111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:08:27] local.INFO: GPS data processed {"connection_id":217111,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:08:27] local.INFO: Acknowledgment sent {"connection_id":217111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:08:47] local.INFO: TCP Data received {"connection_id":216876,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:08:47] local.INFO: Processing buffer {"connection_id":216876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:08:47] local.INFO: IMEI packet received {"connection_id":216876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":216876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:08:54] local.INFO: TCP Data received {"connection_id":216876,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:08:54] local.INFO: Processing buffer {"connection_id":216876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:08:54] local.INFO: IMEI packet received {"connection_id":216876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":216876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:08:55] local.INFO: TCP Data received {"connection_id":216876,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144eef750012d7f894005c59eb8000701452b..."} 
[2026-10-16 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144eef750012d7f894005c59eb8000701452b..."} 
[2026-10-16 19:08:55] local.INFO: Processing buffer {"connection_id":216876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144eef750012d7f894005c59eb8000701452b..."} 
[2026-10-16 19:08:55] local.INFO: Packet analysis {"connection_id":216876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ee"} 
[2026-10-16 19:08:55] local.INFO: Extracted packet for processing {"connection_id":216876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ee"} 
[2026-10-16 19:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":96837304,"longitude_deg":76.3332928,"latitude_deg":9.6837304,"altitude":7,"angle":325,"satellites":43,"speed":32,"hex_longitude":"2d7f8940","hex_latitude":"05c59eb8","is_valid_coordinates":true} 
[2026-10-16 19:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792412672001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15283048417329152,"note":"Value kept but may cause issues"} 
[2026-10-16 19:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196068988902264832,"note":"Value kept but may cause issues"} 
[2026-10-16 19:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792157874000,"timestamp_ms":1792157874000,"timestamp_seconds":1792157874,"priority":1,"record_length":96,"hex_timestamp":"000001a144eef750"} 
[2026-10-16 19:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792412672001,"66":27180,"144":206,"19":45568,"24":32,"16":15283048417329152,"45":9196068988902264832},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-10-16 19:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792412672001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:08:55] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 19:08:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15283048417329152,"km_value":15283048417329.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196068988902264832,"description":"Unknown IO ID 45"} 
[2026-10-16 19:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792412672001,"power":27180,"unknown_144":206,"unknown_19":45568,"ignition":32,"odometer":null,"unknown_45":9196068988902264832}} 
[2026-10-16 19:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":216876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:08:55] local.INFO: GPS data processed {"connection_id":216876,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:08:55] local.INFO: Acknowledgment sent {"connection_id":216876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:09:54] local.INFO: TCP Data received {"connection_id":216876,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144ef2248012d7f73c005c5bd10000901462b..."} 
[2026-10-16 19:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ef2248012d7f73c005c5bd10000901462b..."} 
[2026-10-16 19:09:54] local.INFO: Processing buffer {"connection_id":216876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ef2248012d7f73c005c5bd10000901462b..."} 
[2026-10-16 19:09:54] local.INFO: Packet analysis {"connection_id":216876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:09:54] local.INFO: Extracted packet for processing {"connection_id":216876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763327424,"raw_latitude":96845072,"longitude_deg":76.3327424,"latitude_deg":9.6845072,"altitude":9,"angle":326,"satellites":43,"speed":35,"hex_longitude":"2d7f73c0","hex_latitude":"05c5bd10","is_valid_coordinates":true} 
[2026-10-16 19:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792415744001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15283507978829824,"note":"Value kept but may cause issues"} 
[2026-10-16 19:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946908160735232,"note":"Value kept but may cause issues"} 
[2026-10-16 19:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792157885000,"timestamp_ms":1792157885000,"timestamp_seconds":1792157885,"priority":1,"record_length":96,"hex_timestamp":"000001a144ef2248"} 
[2026-10-16 19:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 19:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792415744001,"66":25582,"144":206,"19":45568,"24":35,"16":15283507978829824,"45":9189946908160735232},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-10-16 19:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792415744001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:09:54] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 19:09:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15283507978829824,"km_value":15283507978829.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946908160735232,"description":"Unknown IO ID 45"} 
[2026-10-16 19:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792415744001,"power":25582,"unknown_144":206,"unknown_19":45568,"ignition":35,"odometer":null,"unknown_45":9189946908160735232}} 
[2026-10-16 19:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":216876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:09:54] local.INFO: GPS data processed {"connection_id":216876,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:09:54] local.INFO: Acknowledgment sent {"connection_id":216876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:10:00] local.INFO: TCP Data received {"connection_id":218446,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:00] local.INFO: Processing buffer {"connection_id":218446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:00] local.INFO: IMEI packet received {"connection_id":218446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":218446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:10:03] local.INFO: TCP Data received {"connection_id":218446,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:03] local.INFO: Processing buffer {"connection_id":218446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:03] local.INFO: IMEI packet received {"connection_id":218446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":218446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:10:05] local.INFO: TCP Data received {"connection_id":218446,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:05] local.INFO: Processing buffer {"connection_id":218446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:05] local.INFO: IMEI packet received {"connection_id":218446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":218446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:10:06] local.INFO: TCP Data received {"connection_id":218446,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144ef4958012d7f5e4005c5d9b8000901472e..."} 
[2026-10-16 19:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ef4958012d7f5e4005c5d9b8000901472e..."} 
[2026-10-16 19:10:06] local.INFO: Processing buffer {"connection_id":218446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ef4958012d7f5e4005c5d9b8000901472e..."} 
[2026-10-16 19:10:06] local.INFO: Packet analysis {"connection_id":218446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:10:06] local.INFO: Extracted packet for processing {"connection_id":218446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763321920,"raw_latitude":96852408,"longitude_deg":76.332192,"latitude_deg":9.6852408,"altitude":9,"angle":327,"satellites":46,"speed":32,"hex_longitude":"2d7f5e40","hex_latitude":"05c5d9b8","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792418560001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15283950360461312,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183895196163444736,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792157895000,"timestamp_ms":1792157895000,"timestamp_seconds":1792157895,"priority":1,"record_length":96,"hex_timestamp":"000001a144ef4958"} 
[2026-10-16 19:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:10: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-10-16 19: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-10-16 19:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19: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-10-16 19:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":218446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":218446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":218446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792418560001,"66":27039,"144":206,"19":45568,"24":32,"16":15283950360461312,"45":9183895196163444736},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-10-16 19:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792418560001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:10:06] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 19:10:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15283950360461312,"km_value":15283950360461.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183895196163444736,"description":"Unknown IO ID 45"} 
[2026-10-16 19:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792418560001,"power":27039,"unknown_144":206,"unknown_19":45568,"ignition":32,"odometer":null,"unknown_45":9183895196163444736}} 
[2026-10-16 19:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":218446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:10:06] local.INFO: GPS data processed {"connection_id":218446,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:10:06] local.INFO: Acknowledgment sent {"connection_id":218446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:10:08] local.INFO: TCP Data received {"connection_id":218446,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144ef7068012d7f49c005c5f5d0000801432b..."} 
[2026-10-16 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144ef7068012d7f49c005c5f5d0000801432b..."} 
[2026-10-16 19:10:08] local.INFO: Processing buffer {"connection_id":218446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144ef7068012d7f49c005c5f5d0000801432b..."} 
[2026-10-16 19:10:08] local.INFO: Packet analysis {"connection_id":218446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:10:08] local.INFO: Extracted packet for processing {"connection_id":218446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763316672,"raw_latitude":96859600,"longitude_deg":76.3316672,"latitude_deg":9.68596,"altitude":8,"angle":323,"satellites":43,"speed":35,"hex_longitude":"2d7f49c0","hex_latitude":"05c5f5d0","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792421120001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15284379857190912,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177843484166043648,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792157905000,"timestamp_ms":1792157905000,"timestamp_seconds":1792157905,"priority":1,"record_length":96,"hex_timestamp":"000001a144ef7068"} 
[2026-10-16 19:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:10: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-10-16 19: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-10-16 19:10: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-10-16 19: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-10-16 19:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":218446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":218446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":218446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792421120001,"66":27071,"144":206,"19":45568,"24":35,"16":15284379857190912,"45":9177843484166043648},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-10-16 19:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792421120001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:10:08] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 19:10:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15284379857190912,"km_value":15284379857190.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177843484166043648,"description":"Unknown IO ID 45"} 
[2026-10-16 19:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792421120001,"power":27071,"unknown_144":206,"unknown_19":45568,"ignition":35,"odometer":null,"unknown_45":9177843484166043648}} 
[2026-10-16 19:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":218446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:10:08] local.INFO: GPS data processed {"connection_id":218446,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:10:08] local.INFO: Acknowledgment sent {"connection_id":218446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:10:49] local.INFO: TCP Data received {"connection_id":216877,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:49] local.INFO: Processing buffer {"connection_id":216877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:49] local.INFO: IMEI packet received {"connection_id":216877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":216877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:10:54] local.INFO: TCP Data received {"connection_id":216877,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:54] local.INFO: Processing buffer {"connection_id":216877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:10:54] local.INFO: IMEI packet received {"connection_id":216877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":216877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:10:55] local.INFO: TCP Data received {"connection_id":216877,"ip":"117.225.177.112","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a144..."} 
[2026-10-16 19:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216877,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a144..."} 
[2026-10-16 19:10:55] local.INFO: Processing buffer {"connection_id":216877,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a144..."} 
[2026-10-16 19:10:55] local.INFO: IMEI packet received {"connection_id":216877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":216877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:10:56] local.INFO: TCP Data received {"connection_id":216877,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144efd210012d7f270005c623f00009015329..."} 
[2026-10-16 19:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144efd210012d7f270005c623f00009015329..."} 
[2026-10-16 19:10:56] local.INFO: Processing buffer {"connection_id":216877,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a144ef9778012d7f34c005c61228000a014427..."} 
[2026-10-16 19:10:56] local.INFO: Packet analysis {"connection_id":216877,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:10:56] local.INFO: Extracted packet for processing {"connection_id":216877,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763311296,"raw_latitude":96866856,"longitude_deg":76.3311296,"latitude_deg":9.6866856,"altitude":10,"angle":324,"satellites":39,"speed":26,"hex_longitude":"2d7f34c0","hex_latitude":"05c61228","is_valid_coordinates":true} 
[2026-10-16 19:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792423680001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15284813648887808,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172073247145316352,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792157915000,"timestamp_ms":1792157915000,"timestamp_seconds":1792157915,"priority":1,"record_length":96,"hex_timestamp":"000001a144ef9778"} 
[2026-10-16 19:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 19:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792423680001,"66":27104,"144":206,"19":45568,"24":26,"16":15284813648887808,"45":9172073247145316352},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-10-16 19:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792423680001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:10:56] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 19:10:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15284813648887808,"km_value":15284813648887.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172073247145316352,"description":"Unknown IO ID 45"} 
[2026-10-16 19:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792423680001,"power":27104,"unknown_144":206,"unknown_19":45568,"ignition":26,"odometer":null,"unknown_45":9172073247145316352}} 
[2026-10-16 19:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":216877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:10:56] local.INFO: GPS data processed {"connection_id":216877,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:10:56] local.INFO: Acknowledgment sent {"connection_id":216877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:10:56] local.INFO: Packet analysis {"connection_id":216877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:10:56] local.INFO: Extracted packet for processing {"connection_id":216877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763307776,"raw_latitude":96871408,"longitude_deg":76.3307776,"latitude_deg":9.6871408,"altitude":9,"angle":339,"satellites":41,"speed":15,"hex_longitude":"2d7f2700","hex_latitude":"05c623f0","is_valid_coordinates":true} 
[2026-10-16 19:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792426240001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15285092821762048,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166162272636250112,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792157930000,"timestamp_ms":1792157930000,"timestamp_seconds":1792157930,"priority":1,"record_length":96,"hex_timestamp":"000001a144efd210"} 
[2026-10-16 19:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 19:10:56] 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-10-16 19:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792426240001,"66":27050,"144":206,"19":45568,"24":15,"16":15285092821762048,"45":9166162272636250112},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-10-16 19:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792426240001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:10:56] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 19:10:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15285092821762048,"km_value":15285092821762.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166162272636250112,"description":"Unknown IO ID 45"} 
[2026-10-16 19:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792426240001,"power":27050,"unknown_144":206,"unknown_19":45568,"ignition":15,"odometer":null,"unknown_45":9166162272636250112}} 
[2026-10-16 19:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":216877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:10:56] local.INFO: GPS data processed {"connection_id":216877,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:10:56] local.INFO: Acknowledgment sent {"connection_id":216877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:10:58] local.INFO: TCP Data received {"connection_id":216877,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144eff538012d7f1f0005c634d8000901462d..."} 
[2026-10-16 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144eff538012d7f1f0005c634d8000901462d..."} 
[2026-10-16 19:10:58] local.INFO: Processing buffer {"connection_id":216877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144eff538012d7f1f0005c634d8000901462d..."} 
[2026-10-16 19:10:58] local.INFO: Packet analysis {"connection_id":216877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:10:58] local.INFO: Extracted packet for processing {"connection_id":216877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144ef"} 
[2026-10-16 19:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763305728,"raw_latitude":96875736,"longitude_deg":76.3305728,"latitude_deg":9.6875736,"altitude":9,"angle":326,"satellites":45,"speed":28,"hex_longitude":"2d7f1f00","hex_latitude":"05c634d8","is_valid_coordinates":true} 
[2026-10-16 19:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792430080001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15285324749996032,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162291991707643904,"note":"Value kept but may cause issues"} 
[2026-10-16 19:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792157939000,"timestamp_ms":1792157939000,"timestamp_seconds":1792157939,"priority":1,"record_length":96,"hex_timestamp":"000001a144eff538"} 
[2026-10-16 19:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 19:10:58] 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-10-16 19:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792430080001,"66":26963,"144":206,"19":45568,"24":28,"16":15285324749996032,"45":9162291991707643904},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,19,24,16,45]} 
[2026-10-16 19:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792430080001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:10:58] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 19:10:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15285324749996032,"km_value":15285324749996.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162291991707643904,"description":"Unknown IO ID 45"} 
[2026-10-16 19:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792430080001,"power":26963,"unknown_144":206,"unknown_19":45568,"ignition":28,"odometer":null,"unknown_45":9162291991707643904}} 
[2026-10-16 19:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":216877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:10:58] local.INFO: GPS data processed {"connection_id":216877,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:10:58] local.INFO: Acknowledgment sent {"connection_id":216877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:11:29] local.INFO: TCP Data received {"connection_id":216877,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f177f0012d7deec005c72720000601312d..."} 
[2026-10-16 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f177f0012d7deec005c72720000601312d..."} 
[2026-10-16 19:11:29] local.INFO: Processing buffer {"connection_id":216877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f177f0012d7deec005c72720000601312d..."} 
[2026-10-16 19:11:29] local.INFO: Packet analysis {"connection_id":216877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f1"} 
[2026-10-16 19:11:29] local.INFO: Extracted packet for processing {"connection_id":216877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f1"} 
[2026-10-16 19:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763227840,"raw_latitude":96937760,"longitude_deg":76.322784,"latitude_deg":9.693776,"altitude":6,"angle":305,"satellites":45,"speed":57,"hex_longitude":"2d7deec0","hex_latitude":"05c72720","is_valid_coordinates":true} 
[2026-10-16 19:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792456192001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15290156588204032,"note":"Value kept but may cause issues"} 
[2026-10-16 19:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9082353098337454080,"note":"Value kept but may cause issues"} 
[2026-10-16 19:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792158038000,"timestamp_ms":1792158038000,"timestamp_seconds":1792158038,"priority":1,"record_length":96,"hex_timestamp":"000001a144f177f0"} 
[2026-10-16 19:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 19:11:30] 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-10-16 19:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792456192001,"66":27158,"12":206,"19":45568,"24":57,"16":15290156588204032,"45":9082353098337454080},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-10-16 19:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792456192001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:11:30] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-16 19:11:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15290156588204032,"km_value":15290156588204.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9082353098337454080,"description":"Unknown IO ID 45"} 
[2026-10-16 19:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792456192001,"power":27158,"unknown_12":206,"unknown_19":45568,"ignition":57,"odometer":null,"unknown_45":9082353098337454080}} 
[2026-10-16 19:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":216877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:11:30] local.INFO: GPS data processed {"connection_id":216877,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:11:30] local.INFO: Acknowledgment sent {"connection_id":216877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:11:48] local.INFO: TCP Data received {"connection_id":216879,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:11:48] local.INFO: Processing buffer {"connection_id":216879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:11:48] local.INFO: IMEI packet received {"connection_id":216879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":216879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:11:50] local.INFO: TCP Data received {"connection_id":216879,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:11:50] local.INFO: Processing buffer {"connection_id":216879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:11:50] local.INFO: IMEI packet received {"connection_id":216879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":216879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:11:52] local.INFO: TCP Data received {"connection_id":216879,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:11:52] local.INFO: Processing buffer {"connection_id":216879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:11:52] local.INFO: IMEI packet received {"connection_id":216879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":216879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:11:53] local.INFO: TCP Data received {"connection_id":216879,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f19348012d7dd1c005c73c08000601302d..."} 
[2026-10-16 19:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f19348012d7dd1c005c73c08000601302d..."} 
[2026-10-16 19:11:53] local.INFO: Processing buffer {"connection_id":216879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f19348012d7dd1c005c73c08000601302d..."} 
[2026-10-16 19:11:53] local.INFO: Packet analysis {"connection_id":216879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f1"} 
[2026-10-16 19:11:53] local.INFO: Extracted packet for processing {"connection_id":216879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f1"} 
[2026-10-16 19:11:53] local.INFO: GPS Element Parsed {"raw_longitude":763220416,"raw_latitude":96943112,"longitude_deg":76.3220416,"latitude_deg":9.6943112,"altitude":6,"angle":304,"satellites":45,"speed":46,"hex_longitude":"2d7dd1c0","hex_latitude":"05c73c08","is_valid_coordinates":true} 
[2026-10-16 19:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792457728001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15290594674868224,"note":"Value kept but may cause issues"} 
[2026-10-16 19:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074401430246727680,"note":"Value kept but may cause issues"} 
[2026-10-16 19:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792158045000,"timestamp_ms":1792158045000,"timestamp_seconds":1792158045,"priority":1,"record_length":96,"hex_timestamp":"000001a144f19348"} 
[2026-10-16 19:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:11: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-10-16 19:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-10-16 19:11:53] 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-10-16 19:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792457728001,"66":27213,"12":206,"19":45568,"24":46,"16":15290594674868224,"45":9074401430246727680},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-10-16 19:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792457728001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:11:53] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-16 19:11:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15290594674868224,"km_value":15290594674868.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074401430246727680,"description":"Unknown IO ID 45"} 
[2026-10-16 19:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792457728001,"power":27213,"unknown_12":206,"unknown_19":45568,"ignition":46,"odometer":null,"unknown_45":9074401430246727680}} 
[2026-10-16 19:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":216879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:11:53] local.INFO: GPS data processed {"connection_id":216879,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:11:53] local.INFO: Acknowledgment sent {"connection_id":216879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:11:59] local.INFO: TCP Data received {"connection_id":216879,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f1aab8012d7dbf8005c74800000601252c..."} 
[2026-10-16 19:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f1aab8012d7dbf8005c74800000601252c..."} 
[2026-10-16 19:11:59] local.INFO: Processing buffer {"connection_id":216879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f1aab8012d7dbf8005c74800000601252c..."} 
[2026-10-16 19:11:59] local.INFO: Packet analysis {"connection_id":216879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f1"} 
[2026-10-16 19:11:59] local.INFO: Extracted packet for processing {"connection_id":216879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f1"} 
[2026-10-16 19:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763215744,"raw_latitude":96946176,"longitude_deg":76.3215744,"latitude_deg":9.6946176,"altitude":6,"angle":293,"satellites":44,"speed":25,"hex_longitude":"2d7dbf80","hex_latitude":"05c74800","is_valid_coordinates":true} 
[2026-10-16 19:11: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-10-16 19:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792459520001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15290865257807872,"note":"Value kept but may cause issues"} 
[2026-10-16 19:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9066238655923488768,"note":"Value kept but may cause issues"} 
[2026-10-16 19:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792158051000,"timestamp_ms":1792158051000,"timestamp_seconds":1792158051,"priority":1,"record_length":96,"hex_timestamp":"000001a144f1aab8"} 
[2026-10-16 19:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:11: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-10-16 19:11: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-10-16 19:11: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-10-16 19:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792459520001,"66":27169,"12":206,"19":45568,"24":25,"16":15290865257807872,"45":9066238655923488768},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-10-16 19:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792459520001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:11:59] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-16 19:11:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15290865257807872,"km_value":15290865257807.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9066238655923488768,"description":"Unknown IO ID 45"} 
[2026-10-16 19:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792459520001,"power":27169,"unknown_12":206,"unknown_19":45568,"ignition":25,"odometer":null,"unknown_45":9066238655923488768}} 
[2026-10-16 19:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":216879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:11:59] local.INFO: GPS data processed {"connection_id":216879,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:11:59] local.INFO: Acknowledgment sent {"connection_id":216879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:12:31] local.INFO: TCP Data received {"connection_id":216879,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f1d998012d7da08005c75aa8000601302e..."} 
[2026-10-16 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f1d998012d7da08005c75aa8000601302e..."} 
[2026-10-16 19:12:31] local.INFO: Processing buffer {"connection_id":216879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f1d998012d7da08005c75aa8000601302e..."} 
[2026-10-16 19:12:31] local.INFO: Packet analysis {"connection_id":216879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f1"} 
[2026-10-16 19:12:31] local.INFO: Extracted packet for processing {"connection_id":216879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f1"} 
[2026-10-16 19:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763207808,"raw_latitude":96950952,"longitude_deg":76.3207808,"latitude_deg":9.6950952,"altitude":6,"angle":304,"satellites":46,"speed":40,"hex_longitude":"2d7da080","hex_latitude":"05c75aa8","is_valid_coordinates":true} 
[2026-10-16 19:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792461056001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15291311934406656,"note":"Value kept but may cause issues"} 
[2026-10-16 19:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061101737599303680,"note":"Value kept but may cause issues"} 
[2026-10-16 19:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792158063000,"timestamp_ms":1792158063000,"timestamp_seconds":1792158063,"priority":1,"record_length":96,"hex_timestamp":"000001a144f1d998"} 
[2026-10-16 19:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-10-16 19:12:31] 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-10-16 19:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":216879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":216879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":216879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792461056001,"66":27180,"12":206,"19":45568,"24":40,"16":15291311934406656,"45":9061101737599303680},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-10-16 19:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792461056001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:12:31] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-16 19:12:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15291311934406656,"km_value":15291311934406.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061101737599303680,"description":"Unknown IO ID 45"} 
[2026-10-16 19:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792461056001,"power":27180,"unknown_12":206,"unknown_19":45568,"ignition":40,"odometer":null,"unknown_45":9061101737599303680}} 
[2026-10-16 19:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":216879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:12:31] local.INFO: GPS data processed {"connection_id":216879,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:12:31] local.INFO: Acknowledgment sent {"connection_id":216879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:12:47] local.INFO: TCP Data received {"connection_id":217112,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:12:47] local.INFO: Processing buffer {"connection_id":217112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:12:47] local.INFO: IMEI packet received {"connection_id":217112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":217112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:12:48] local.INFO: TCP Data received {"connection_id":217112,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:12:48] local.INFO: Processing buffer {"connection_id":217112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:12:48] local.INFO: IMEI packet received {"connection_id":217112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":217112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:12:53] local.INFO: TCP Data received {"connection_id":217112,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:12:53] local.INFO: Processing buffer {"connection_id":217112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:12:53] local.INFO: IMEI packet received {"connection_id":217112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":217112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:12:55] local.INFO: TCP Data received {"connection_id":217112,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f1fcc0012d7d824005c77158000701382d..."} 
[2026-10-16 19:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f1fcc0012d7d824005c77158000701382d..."} 
[2026-10-16 19:12:55] local.INFO: Processing buffer {"connection_id":217112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f1fcc0012d7d824005c77158000701382d..."} 
[2026-10-16 19:12:55] local.INFO: Packet analysis {"connection_id":217112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f1"} 
[2026-10-16 19:12:55] local.INFO: Extracted packet for processing {"connection_id":217112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f1"} 
[2026-10-16 19:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763200064,"raw_latitude":96956760,"longitude_deg":76.3200064,"latitude_deg":9.695676,"altitude":7,"angle":312,"satellites":45,"speed":44,"hex_longitude":"2d7d8240","hex_latitude":"05c77158","is_valid_coordinates":true} 
[2026-10-16 19:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792464128001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15291775790874624,"note":"Value kept but may cause issues"} 
[2026-10-16 19:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052376013322496000,"note":"Value kept but may cause issues"} 
[2026-10-16 19:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792158072000,"timestamp_ms":1792158072000,"timestamp_seconds":1792158072,"priority":1,"record_length":96,"hex_timestamp":"000001a144f1fcc0"} 
[2026-10-16 19:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 19:12:55] 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-10-16 19:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792464128001,"66":27137,"12":206,"19":45568,"24":44,"16":15291775790874624,"45":9052376013322496000},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-10-16 19:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792464128001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:12:55] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-16 19:12:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15291775790874624,"km_value":15291775790874.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052376013322496000,"description":"Unknown IO ID 45"} 
[2026-10-16 19:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792464128001,"power":27137,"unknown_12":206,"unknown_19":45568,"ignition":44,"odometer":null,"unknown_45":9052376013322496000}} 
[2026-10-16 19:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":217112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:12:55] local.INFO: GPS data processed {"connection_id":217112,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:12:55] local.INFO: Acknowledgment sent {"connection_id":217112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:13:12] local.INFO: TCP Data received {"connection_id":216880,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:13:12] local.INFO: Processing buffer {"connection_id":216880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:13:12] local.INFO: IMEI packet received {"connection_id":216880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":216880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:13:27] local.INFO: TCP Data received {"connection_id":217112,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f21fe8012d7d668005c78cf0000a013e2d..."} 
[2026-10-16 19:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f21fe8012d7d668005c78cf0000a013e2d..."} 
[2026-10-16 19:13:27] local.INFO: Processing buffer {"connection_id":217112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f21fe8012d7d668005c78cf0000a013e2d..."} 
[2026-10-16 19:13:27] local.INFO: Packet analysis {"connection_id":217112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f2"} 
[2026-10-16 19:13:27] local.INFO: Extracted packet for processing {"connection_id":217112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f2"} 
[2026-10-16 19:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763192960,"raw_latitude":96963824,"longitude_deg":76.319296,"latitude_deg":9.6963824,"altitude":10,"angle":318,"satellites":45,"speed":44,"hex_longitude":"2d7d6680","hex_latitude":"05c78cf0","is_valid_coordinates":true} 
[2026-10-16 19:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792466432001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15292256827211776,"note":"Value kept but may cause issues"} 
[2026-10-16 19:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9043861395278485504,"note":"Value kept but may cause issues"} 
[2026-10-16 19:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792158081000,"timestamp_ms":1792158081000,"timestamp_seconds":1792158081,"priority":1,"record_length":96,"hex_timestamp":"000001a144f21fe8"} 
[2026-10-16 19:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:13: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-10-16 19:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-10-16 19:13:27] 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-10-16 19:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792466432001,"66":27082,"12":206,"19":45568,"24":44,"16":15292256827211776,"45":9043861395278485504},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-10-16 19:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792466432001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:13:27] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-10-16 19:13:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15292256827211776,"km_value":15292256827211.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9043861395278485504,"description":"Unknown IO ID 45"} 
[2026-10-16 19:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792466432001,"power":27082,"unknown_12":206,"unknown_19":45568,"ignition":44,"odometer":null,"unknown_45":9043861395278485504}} 
[2026-10-16 19:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":217112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:13:27] local.INFO: GPS data processed {"connection_id":217112,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:13:27] local.INFO: Acknowledgment sent {"connection_id":217112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:13:48] local.INFO: TCP Data received {"connection_id":218448,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:13:48] local.INFO: Processing buffer {"connection_id":218448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:13:48] local.INFO: IMEI packet received {"connection_id":218448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":218448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:13:52] local.INFO: TCP Data received {"connection_id":218448,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:13:52] local.INFO: Processing buffer {"connection_id":218448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:13:52] local.INFO: IMEI packet received {"connection_id":218448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":218448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:13:53] local.INFO: TCP Data received {"connection_id":218448,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:13:53] local.INFO: Processing buffer {"connection_id":218448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:13:53] local.INFO: IMEI packet received {"connection_id":218448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":218448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:13:55] local.INFO: TCP Data received {"connection_id":218448,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f344e0012d7d0a4005c914a0000401632c..."} 
[2026-10-16 19:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f344e0012d7d0a4005c914a0000401632c..."} 
[2026-10-16 19:13:55] local.INFO: Processing buffer {"connection_id":218448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f344e0012d7d0a4005c914a0000401632c..."} 
[2026-10-16 19:13:55] local.INFO: Packet analysis {"connection_id":218448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f3"} 
[2026-10-16 19:13:55] local.INFO: Extracted packet for processing {"connection_id":218448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f3"} 
[2026-10-16 19:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763169344,"raw_latitude":97064096,"longitude_deg":76.3169344,"latitude_deg":9.7064096,"altitude":4,"angle":355,"satellites":44,"speed":48,"hex_longitude":"2d7d0a40","hex_latitude":"05c914a0","is_valid_coordinates":true} 
[2026-10-16 19:13: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-10-16 19:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792486144001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15297342068490240,"note":"Value kept but may cause issues"} 
[2026-10-16 19:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010999191772502016,"note":"Value kept but may cause issues"} 
[2026-10-16 19:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792158156000,"timestamp_ms":1792158156000,"timestamp_seconds":1792158156,"priority":1,"record_length":96,"hex_timestamp":"000001a144f344e0"} 
[2026-10-16 19:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-10-16 19:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:13: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-10-16 19:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792486144001,"66":27050,"10":206,"19":45568,"24":48,"16":15297342068490240,"45":9010999191772502016},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,19,24,16,45]} 
[2026-10-16 19:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792486144001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:13:55] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 19:13:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15297342068490240,"km_value":15297342068490.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010999191772502016,"description":"Unknown IO ID 45"} 
[2026-10-16 19:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792486144001,"power":27050,"unknown_10":206,"unknown_19":45568,"ignition":48,"odometer":null,"unknown_45":9010999191772502016}} 
[2026-10-16 19:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":218448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:13:55] local.INFO: GPS data processed {"connection_id":218448,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:13:55] local.INFO: Acknowledgment sent {"connection_id":218448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:13:55] local.INFO: TCP Data received {"connection_id":216881,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:13:55] local.INFO: Processing buffer {"connection_id":216881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:13:55] local.INFO: IMEI packet received {"connection_id":216881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":216881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:13:58] local.INFO: TCP Data received {"connection_id":218448,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f37b90012d7d090005c93898000401662d..."} 
[2026-10-16 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f37b90012d7d090005c93898000401662d..."} 
[2026-10-16 19:13:58] local.INFO: Processing buffer {"connection_id":218448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f37b90012d7d090005c93898000401662d..."} 
[2026-10-16 19:13:58] local.INFO: Packet analysis {"connection_id":218448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f3"} 
[2026-10-16 19:13:58] local.INFO: Extracted packet for processing {"connection_id":218448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f3"} 
[2026-10-16 19:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763169024,"raw_latitude":97073304,"longitude_deg":76.3169024,"latitude_deg":9.7073304,"altitude":4,"angle":358,"satellites":45,"speed":33,"hex_longitude":"2d7d0900","hex_latitude":"05c93898","is_valid_coordinates":true} 
[2026-10-16 19:13: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-10-16 19:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792487936001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15297788745089024,"note":"Value kept but may cause issues"} 
[2026-10-16 19:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010084398100684800,"note":"Value kept but may cause issues"} 
[2026-10-16 19:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792158170000,"timestamp_ms":1792158170000,"timestamp_seconds":1792158170,"priority":1,"record_length":96,"hex_timestamp":"000001a144f37b90"} 
[2026-10-16 19:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:13: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 19:13:58] 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-10-16 19:13: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-10-16 19:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":218448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":218448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":218448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792487936001,"66":26876,"10":206,"19":45568,"24":33,"16":15297788745089024,"45":9010084398100684800},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,19,24,16,45]} 
[2026-10-16 19:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792487936001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:13:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 19:13:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15297788745089024,"km_value":15297788745089.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010084398100684800,"description":"Unknown IO ID 45"} 
[2026-10-16 19:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792487936001,"power":26876,"unknown_10":206,"unknown_19":45568,"ignition":33,"odometer":null,"unknown_45":9010084398100684800}} 
[2026-10-16 19:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":218448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:13:58] local.INFO: GPS data processed {"connection_id":218448,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:13:58] local.INFO: Acknowledgment sent {"connection_id":218448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:14:34] local.INFO: TCP Data received {"connection_id":218448,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f39eb8012d7d07c005c95c78000301662d..."} 
[2026-10-16 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f39eb8012d7d07c005c95c78000301662d..."} 
[2026-10-16 19:14:34] local.INFO: Processing buffer {"connection_id":218448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f39eb8012d7d07c005c95c78000301662d..."} 
[2026-10-16 19:14:34] local.INFO: Packet analysis {"connection_id":218448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f3"} 
[2026-10-16 19:14:34] local.INFO: Extracted packet for processing {"connection_id":218448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f3"} 
[2026-10-16 19:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763168704,"raw_latitude":97082488,"longitude_deg":76.3168704,"latitude_deg":9.7082488,"altitude":3,"angle":358,"satellites":45,"speed":45,"hex_longitude":"2d7d07c0","hex_latitude":"05c95c78","is_valid_coordinates":true} 
[2026-10-16 19:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792491520001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15298235421687808,"note":"Value kept but may cause issues"} 
[2026-10-16 19:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009732554382153728,"note":"Value kept but may cause issues"} 
[2026-10-16 19:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792158179000,"timestamp_ms":1792158179000,"timestamp_seconds":1792158179,"priority":1,"record_length":96,"hex_timestamp":"000001a144f39eb8"} 
[2026-10-16 19:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:14: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-10-16 19:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 19:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":218448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":218448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":218448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792491520001,"66":26854,"10":206,"19":45568,"24":45,"16":15298235421687808,"45":9009732554382153728},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,19,24,16,45]} 
[2026-10-16 19:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792491520001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:14:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 19:14:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15298235421687808,"km_value":15298235421687.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009732554382153728,"description":"Unknown IO ID 45"} 
[2026-10-16 19:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792491520001,"power":26854,"unknown_10":206,"unknown_19":45568,"ignition":45,"odometer":null,"unknown_45":9009732554382153728}} 
[2026-10-16 19:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":218448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:14:34] local.INFO: GPS data processed {"connection_id":218448,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:14:34] local.INFO: Acknowledgment sent {"connection_id":218448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:14:53] local.INFO: TCP Data received {"connection_id":220175,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:14:53] local.INFO: Processing buffer {"connection_id":220175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:14:53] local.INFO: IMEI packet received {"connection_id":220175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":220175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:14:54] local.INFO: TCP Data received {"connection_id":220175,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:14:54] local.INFO: Processing buffer {"connection_id":220175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:14:54] local.INFO: IMEI packet received {"connection_id":220175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":220175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:14:55] local.INFO: TCP Data received {"connection_id":220175,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f3bdf8012d7d080005c98058000300032d..."} 
[2026-10-16 19:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f3bdf8012d7d080005c98058000300032d..."} 
[2026-10-16 19:14:55] local.INFO: Processing buffer {"connection_id":220175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f3bdf8012d7d080005c98058000300032d..."} 
[2026-10-16 19:14:55] local.INFO: Packet analysis {"connection_id":220175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f3"} 
[2026-10-16 19:14:55] local.INFO: Extracted packet for processing {"connection_id":220175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f3"} 
[2026-10-16 19:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763168768,"raw_latitude":97091672,"longitude_deg":76.3168768,"latitude_deg":9.7091672,"altitude":3,"angle":3,"satellites":45,"speed":46,"hex_longitude":"2d7d0800","hex_latitude":"05c98058","is_valid_coordinates":true} 
[2026-10-16 19:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792493824001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15298682098286592,"note":"Value kept but may cause issues"} 
[2026-10-16 19:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009380710663616512,"note":"Value kept but may cause issues"} 
[2026-10-16 19:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792158187000,"timestamp_ms":1792158187000,"timestamp_seconds":1792158187,"priority":1,"record_length":96,"hex_timestamp":"000001a144f3bdf8"} 
[2026-10-16 19:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-10-16 19:14:55] 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-10-16 19:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792493824001,"66":26876,"10":206,"19":45568,"24":46,"16":15298682098286592,"45":9009380710663616512},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,19,24,16,45]} 
[2026-10-16 19:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792493824001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:14:55] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 19:14:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15298682098286592,"km_value":15298682098286.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009380710663616512,"description":"Unknown IO ID 45"} 
[2026-10-16 19:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792493824001,"power":26876,"unknown_10":206,"unknown_19":45568,"ignition":46,"odometer":null,"unknown_45":9009380710663616512}} 
[2026-10-16 19:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":220175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:14:55] local.INFO: GPS data processed {"connection_id":220175,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:14:55] local.INFO: Acknowledgment sent {"connection_id":220175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:14:58] local.INFO: TCP Data received {"connection_id":220175,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f3d950012d7d0a8005c9a310000300042d..."} 
[2026-10-16 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f3d950012d7d0a8005c9a310000300042d..."} 
[2026-10-16 19:14:58] local.INFO: Processing buffer {"connection_id":220175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f3d950012d7d0a8005c9a310000300042d..."} 
[2026-10-16 19:14:58] local.INFO: Packet analysis {"connection_id":220175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f3"} 
[2026-10-16 19:14:58] local.INFO: Extracted packet for processing {"connection_id":220175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f3"} 
[2026-10-16 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":97100560,"longitude_deg":76.3169408,"latitude_deg":9.710056,"altitude":3,"angle":4,"satellites":45,"speed":53,"hex_longitude":"2d7d0a80","hex_latitude":"05c9a310","is_valid_coordinates":true} 
[2026-10-16 19:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792495872001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15299111595016192,"note":"Value kept but may cause issues"} 
[2026-10-16 19:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009451079410145280,"note":"Value kept but may cause issues"} 
[2026-10-16 19:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792158194000,"timestamp_ms":1792158194000,"timestamp_seconds":1792158194,"priority":1,"record_length":96,"hex_timestamp":"000001a144f3d950"} 
[2026-10-16 19:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 19:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":220175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":220175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":220175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792495872001,"66":27006,"10":206,"19":45568,"24":53,"16":15299111595016192,"45":9009451079410145280},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,19,24,16,45]} 
[2026-10-16 19:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792495872001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:14:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 19:14:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15299111595016192,"km_value":15299111595016.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009451079410145280,"description":"Unknown IO ID 45"} 
[2026-10-16 19:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792495872001,"power":27006,"unknown_10":206,"unknown_19":45568,"ignition":53,"odometer":null,"unknown_45":9009451079410145280}} 
[2026-10-16 19:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":220175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:14:58] local.INFO: GPS data processed {"connection_id":220175,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:14:58] local.INFO: Acknowledgment sent {"connection_id":220175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:15:30] local.INFO: TCP Data received {"connection_id":220175,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f50618012d7d2dc005cb4eb0000500032d..."} 
[2026-10-16 19:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f50618012d7d2dc005cb4eb0000500032d..."} 
[2026-10-16 19:15:30] local.INFO: Processing buffer {"connection_id":220175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f50618012d7d2dc005cb4eb0000500032d..."} 
[2026-10-16 19:15:30] local.INFO: Packet analysis {"connection_id":220175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f5"} 
[2026-10-16 19:15:30] local.INFO: Extracted packet for processing {"connection_id":220175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f5"} 
[2026-10-16 19:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":97210032,"longitude_deg":76.3178432,"latitude_deg":9.7210032,"altitude":5,"angle":3,"satellites":45,"speed":47,"hex_longitude":"2d7d2dc0","hex_latitude":"05cb4eb0","is_valid_coordinates":true} 
[2026-10-16 19:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792515328001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15304441649430528,"note":"Value kept but may cause issues"} 
[2026-10-16 19:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019654547343835136,"note":"Value kept but may cause issues"} 
[2026-10-16 19:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792158271000,"timestamp_ms":1792158271000,"timestamp_seconds":1792158271,"priority":1,"record_length":96,"hex_timestamp":"000001a144f50618"} 
[2026-10-16 19:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 19:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":220175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":220175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":220175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792515328001,"66":27071,"246":206,"19":45568,"24":47,"16":15304441649430528,"45":9019654547343835136},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-10-16 19:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792515328001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:15:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15304441649430528,"km_value":15304441649430.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019654547343835136,"description":"Unknown IO ID 45"} 
[2026-10-16 19:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792515328001,"power":27071,"main_input_voltage":206,"unknown_19":45568,"ignition":47,"odometer":null,"unknown_45":9019654547343835136}} 
[2026-10-16 19:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":220175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:15:30] local.INFO: GPS data processed {"connection_id":220175,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:15:30] local.INFO: Acknowledgment sent {"connection_id":220175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:15:48] local.INFO: TCP Data received {"connection_id":218449,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:15:48] local.INFO: Processing buffer {"connection_id":218449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:15:48] local.INFO: IMEI packet received {"connection_id":218449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":218449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:15:48] local.INFO: TCP Data received {"connection_id":218449,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:15:48] local.INFO: Processing buffer {"connection_id":218449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:15:48] local.INFO: IMEI packet received {"connection_id":218449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":218449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:15:53] local.INFO: TCP Data received {"connection_id":218449,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:15:53] local.INFO: Processing buffer {"connection_id":218449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:15:53] local.INFO: IMEI packet received {"connection_id":218449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":218449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:15:55] local.INFO: TCP Data received {"connection_id":218449,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f52940012d7d30c005cb74a0000600032d..."} 
[2026-10-16 19:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f52940012d7d30c005cb74a0000600032d..."} 
[2026-10-16 19:15:55] local.INFO: Processing buffer {"connection_id":218449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f52940012d7d30c005cb74a0000600032d..."} 
[2026-10-16 19:15:55] local.INFO: Packet analysis {"connection_id":218449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f5"} 
[2026-10-16 19:15:55] local.INFO: Extracted packet for processing {"connection_id":218449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f5"} 
[2026-10-16 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":97219744,"longitude_deg":76.31792,"latitude_deg":9.7219744,"altitude":6,"angle":3,"satellites":45,"speed":38,"hex_longitude":"2d7d30c0","hex_latitude":"05cb74a0","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792517376001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15304914095833088,"note":"Value kept but may cause issues"} 
[2026-10-16 19:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020076759811272704,"note":"Value kept but may cause issues"} 
[2026-10-16 19:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792158280000,"timestamp_ms":1792158280000,"timestamp_seconds":1792158280,"priority":1,"record_length":96,"hex_timestamp":"000001a144f52940"} 
[2026-10-16 19:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 19:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19: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-10-16 19:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792517376001,"66":27213,"246":206,"19":45568,"24":38,"16":15304914095833088,"45":9020076759811272704},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-10-16 19:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792517376001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:15:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15304914095833088,"km_value":15304914095833.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020076759811272704,"description":"Unknown IO ID 45"} 
[2026-10-16 19:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792517376001,"power":27213,"main_input_voltage":206,"unknown_19":45568,"ignition":38,"odometer":null,"unknown_45":9020076759811272704}} 
[2026-10-16 19:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":218449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:15:55] local.INFO: GPS data processed {"connection_id":218449,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:15:55] local.INFO: Acknowledgment sent {"connection_id":218449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:16:27] local.INFO: TCP Data received {"connection_id":218449,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f55438012d7d334005cb9a38000800052d..."} 
[2026-10-16 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f55438012d7d334005cb9a38000800052d..."} 
[2026-10-16 19:16:27] local.INFO: Processing buffer {"connection_id":218449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f55438012d7d334005cb9a38000800052d..."} 
[2026-10-16 19:16:27] local.INFO: Packet analysis {"connection_id":218449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f5"} 
[2026-10-16 19:16:27] local.INFO: Extracted packet for processing {"connection_id":218449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f5"} 
[2026-10-16 19:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":97229368,"longitude_deg":76.317984,"latitude_deg":9.7229368,"altitude":8,"angle":5,"satellites":45,"speed":36,"hex_longitude":"2d7d3340","hex_latitude":"05cb9a38","is_valid_coordinates":true} 
[2026-10-16 19:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792519680001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15305377952301056,"note":"Value kept but may cause issues"} 
[2026-10-16 19:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921184743890944,"note":"Value kept but may cause issues"} 
[2026-10-16 19:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792158291000,"timestamp_ms":1792158291000,"timestamp_seconds":1792158291,"priority":1,"record_length":96,"hex_timestamp":"000001a144f55438"} 
[2026-10-16 19:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:16: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-10-16 19:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 19:16: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-10-16 19:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792519680001,"66":27082,"246":206,"19":45568,"24":36,"16":15305377952301056,"45":9020921184743890944},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-10-16 19:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792519680001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:16:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15305377952301056,"km_value":15305377952301.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921184743890944,"description":"Unknown IO ID 45"} 
[2026-10-16 19:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792519680001,"power":27082,"main_input_voltage":206,"unknown_19":45568,"ignition":36,"odometer":null,"unknown_45":9020921184743890944}} 
[2026-10-16 19:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":218449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:16:27] local.INFO: GPS data processed {"connection_id":218449,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:16:27] local.INFO: Acknowledgment sent {"connection_id":218449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:16:48] local.INFO: TCP Data received {"connection_id":216882,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:16:48] local.INFO: Processing buffer {"connection_id":216882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:16:48] local.INFO: IMEI packet received {"connection_id":216882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":216882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:16:50] local.INFO: TCP Data received {"connection_id":216882,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:16:50] local.INFO: Processing buffer {"connection_id":216882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:16:50] local.INFO: IMEI packet received {"connection_id":216882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":216882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:16:54] local.INFO: TCP Data received {"connection_id":216882,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:16:54] local.INFO: Processing buffer {"connection_id":216882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:16:54] local.INFO: IMEI packet received {"connection_id":216882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":216882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:16:55] local.INFO: TCP Data received {"connection_id":216882,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f57b48012d7d374005cbbe780009000a2d..."} 
[2026-10-16 19:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f57b48012d7d374005cbbe780009000a2d..."} 
[2026-10-16 19:16:55] local.INFO: Processing buffer {"connection_id":216882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f57b48012d7d374005cbbe780009000a2d..."} 
[2026-10-16 19:16:55] local.INFO: Packet analysis {"connection_id":216882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f5"} 
[2026-10-16 19:16:55] local.INFO: Extracted packet for processing {"connection_id":216882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f5"} 
[2026-10-16 19:16:55] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":97238648,"longitude_deg":76.3180864,"latitude_deg":9.7238648,"altitude":9,"angle":10,"satellites":45,"speed":36,"hex_longitude":"2d7d3740","hex_latitude":"05cbbe78","is_valid_coordinates":true} 
[2026-10-16 19:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792522496001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15305833218834432,"note":"Value kept but may cause issues"} 
[2026-10-16 19:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872188131328,"note":"Value kept but may cause issues"} 
[2026-10-16 19:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792158301000,"timestamp_ms":1792158301000,"timestamp_seconds":1792158301,"priority":1,"record_length":96,"hex_timestamp":"000001a144f57b48"} 
[2026-10-16 19:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 19:16:55] 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-10-16 19:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792522496001,"66":26865,"246":206,"19":45568,"24":36,"16":15305833218834432,"45":9021624872188131328},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-10-16 19:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792522496001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:16:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15305833218834432,"km_value":15305833218834.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872188131328,"description":"Unknown IO ID 45"} 
[2026-10-16 19:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792522496001,"power":26865,"main_input_voltage":206,"unknown_19":45568,"ignition":36,"odometer":null,"unknown_45":9021624872188131328}} 
[2026-10-16 19:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":216882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:16:55] local.INFO: GPS data processed {"connection_id":216882,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:16:55] local.INFO: Acknowledgment sent {"connection_id":216882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:16:56] local.INFO: TCP Data received {"connection_id":216882,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f59e70012d7d3d8005cbe238000800082e..."} 
[2026-10-16 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f59e70012d7d3d8005cbe238000800082e..."} 
[2026-10-16 19:16:56] local.INFO: Processing buffer {"connection_id":216882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f59e70012d7d3d8005cbe238000800082e..."} 
[2026-10-16 19:16:56] local.INFO: Packet analysis {"connection_id":216882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f5"} 
[2026-10-16 19:16:56] local.INFO: Extracted packet for processing {"connection_id":216882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f5"} 
[2026-10-16 19:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97247800,"longitude_deg":76.3182464,"latitude_deg":9.72478,"altitude":8,"angle":8,"satellites":46,"speed":46,"hex_longitude":"2d7d3d80","hex_latitude":"05cbe238","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792525056001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15306284190400512,"note":"Value kept but may cause issues"} 
[2026-10-16 19:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772097349632,"note":"Value kept but may cause issues"} 
[2026-10-16 19:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792158310000,"timestamp_ms":1792158310000,"timestamp_seconds":1792158310,"priority":1,"record_length":96,"hex_timestamp":"000001a144f59e70"} 
[2026-10-16 19:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19: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":104,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-10-16 19:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2887,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19: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-10-16 19:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792525056001,"66":26832,"246":206,"19":45568,"24":46,"16":15306284190400512,"45":9022750772097349632},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-10-16 19:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792525056001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:16:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15306284190400512,"km_value":15306284190400.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772097349632,"description":"Unknown IO ID 45"} 
[2026-10-16 19:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792525056001,"power":26832,"main_input_voltage":206,"unknown_19":45568,"ignition":46,"odometer":null,"unknown_45":9022750772097349632}} 
[2026-10-16 19:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":216882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:16:56] local.INFO: GPS data processed {"connection_id":216882,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:16:56] local.INFO: Acknowledgment sent {"connection_id":216882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:17:39] local.INFO: TCP Data received {"connection_id":216882,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f6d6f0012d7d478005cd65d8000601612d..."} 
[2026-10-16 19:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f6d6f0012d7d478005cd65d8000601612d..."} 
[2026-10-16 19:17:39] local.INFO: Processing buffer {"connection_id":216882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f6d6f0012d7d478005cd65d8000601612d..."} 
[2026-10-16 19:17:39] local.INFO: Packet analysis {"connection_id":216882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f6"} 
[2026-10-16 19:17:39] local.INFO: Extracted packet for processing {"connection_id":216882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f6"} 
[2026-10-16 19:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763185024,"raw_latitude":97347032,"longitude_deg":76.3185024,"latitude_deg":9.7347032,"altitude":6,"angle":353,"satellites":45,"speed":55,"hex_longitude":"2d7d4780","hex_latitude":"05cd65d8","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792546304001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15311124618543104,"note":"Value kept but may cause issues"} 
[2026-10-16 19:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521009145411584,"note":"Value kept but may cause issues"} 
[2026-10-16 19:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792158390000,"timestamp_ms":1792158390000,"timestamp_seconds":1792158390,"priority":1,"record_length":96,"hex_timestamp":"000001a144f6d6f0"} 
[2026-10-16 19:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:17: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-10-16 19: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-10-16 19:17:39] 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-10-16 19: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-10-16 19:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792546304001,"66":27082,"246":206,"19":45568,"24":55,"16":15311124618543104,"45":9028521009145411584},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-10-16 19:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792546304001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:17:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15311124618543104,"km_value":15311124618543.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521009145411584,"description":"Unknown IO ID 45"} 
[2026-10-16 19:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792546304001,"power":27082,"main_input_voltage":206,"unknown_19":45568,"ignition":55,"odometer":null,"unknown_45":9028521009145411584}} 
[2026-10-16 19:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":216882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:17:39] local.INFO: GPS data processed {"connection_id":216882,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:17:39] local.INFO: Acknowledgment sent {"connection_id":216882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:17:47] local.INFO: TCP Data received {"connection_id":217114,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:17:47] local.INFO: Processing buffer {"connection_id":217114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:17:47] local.INFO: IMEI packet received {"connection_id":217114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":217114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:17:53] local.INFO: TCP Data received {"connection_id":217114,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:17:53] local.INFO: Processing buffer {"connection_id":217114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:17:53] local.INFO: IMEI packet received {"connection_id":217114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":217114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:17:55] local.INFO: TCP Data received {"connection_id":217114,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f6f630012d7d450005cd8c68000501652d..."} 
[2026-10-16 19:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f6f630012d7d450005cd8c68000501652d..."} 
[2026-10-16 19:17:55] local.INFO: Processing buffer {"connection_id":217114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f6f630012d7d450005cd8c68000501652d..."} 
[2026-10-16 19:17:55] local.INFO: Packet analysis {"connection_id":217114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f6"} 
[2026-10-16 19:17:55] local.INFO: Extracted packet for processing {"connection_id":217114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f6"} 
[2026-10-16 19:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":97356904,"longitude_deg":76.3184384,"latitude_deg":9.7356904,"altitude":5,"angle":357,"satellites":45,"speed":50,"hex_longitude":"2d7d4500","hex_latitude":"05cd8c68","is_valid_coordinates":true} 
[2026-10-16 19:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792547840001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15311605654880256,"note":"Value kept but may cause issues"} 
[2026-10-16 19:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027324740496644096,"note":"Value kept but may cause issues"} 
[2026-10-16 19:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792158398000,"timestamp_ms":1792158398000,"timestamp_seconds":1792158398,"priority":1,"record_length":96,"hex_timestamp":"000001a144f6f630"} 
[2026-10-16 19:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 19:17:55] 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-10-16 19:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792547840001,"66":27180,"246":206,"19":45568,"24":50,"16":15311605654880256,"45":9027324740496644096},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-10-16 19:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792547840001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:17:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15311605654880256,"km_value":15311605654880.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027324740496644096,"description":"Unknown IO ID 45"} 
[2026-10-16 19:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792547840001,"power":27180,"main_input_voltage":206,"unknown_19":45568,"ignition":50,"odometer":null,"unknown_45":9027324740496644096}} 
[2026-10-16 19:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":217114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:17:55] local.INFO: GPS data processed {"connection_id":217114,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:17:55] local.INFO: Acknowledgment sent {"connection_id":217114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:18:29] local.INFO: TCP Data received {"connection_id":217114,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f71188012d7d420005cdaf50000501642d..."} 
[2026-10-16 19:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f71188012d7d420005cdaf50000501642d..."} 
[2026-10-16 19:18:29] local.INFO: Processing buffer {"connection_id":217114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f71188012d7d420005cdaf50000501642d..."} 
[2026-10-16 19:18:29] local.INFO: Packet analysis {"connection_id":217114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f7"} 
[2026-10-16 19:18:29] local.INFO: Extracted packet for processing {"connection_id":217114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f7"} 
[2026-10-16 19:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763183616,"raw_latitude":97365840,"longitude_deg":76.3183616,"latitude_deg":9.736584,"altitude":5,"angle":356,"satellites":45,"speed":53,"hex_longitude":"2d7d4200","hex_latitude":"05cdaf50","is_valid_coordinates":true} 
[2026-10-16 19:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792549888001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15312039446577152,"note":"Value kept but may cause issues"} 
[2026-10-16 19:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053057394688,"note":"Value kept but may cause issues"} 
[2026-10-16 19:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792158405000,"timestamp_ms":1792158405000,"timestamp_seconds":1792158405,"priority":1,"record_length":96,"hex_timestamp":"000001a144f71188"} 
[2026-10-16 19:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 19:18:29] 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-10-16 19:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792549888001,"66":27137,"246":206,"19":45568,"24":53,"16":15312039446577152,"45":9026621053057394688},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-10-16 19:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792549888001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:18:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15312039446577152,"km_value":15312039446577.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053057394688,"description":"Unknown IO ID 45"} 
[2026-10-16 19:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792549888001,"power":27137,"main_input_voltage":206,"unknown_19":45568,"ignition":53,"odometer":null,"unknown_45":9026621053057394688}} 
[2026-10-16 19:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":217114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:18:29] local.INFO: GPS data processed {"connection_id":217114,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:18:29] local.INFO: Acknowledgment sent {"connection_id":217114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:18:47] local.INFO: TCP Data received {"connection_id":216883,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:18:48] local.INFO: Processing buffer {"connection_id":216883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:18:48] local.INFO: IMEI packet received {"connection_id":216883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":216883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:18:51] local.INFO: TCP Data received {"connection_id":216883,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:18:51] local.INFO: Processing buffer {"connection_id":216883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:18:51] local.INFO: IMEI packet received {"connection_id":216883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":216883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:18:52] local.INFO: TCP Data received {"connection_id":216883,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:18:52] local.INFO: Processing buffer {"connection_id":216883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:18:52] local.INFO: IMEI packet received {"connection_id":216883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":216883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:18:54] local.INFO: TCP Data received {"connection_id":216883,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f72ce0012d7d400005cdd4e0000701672d..."} 
[2026-10-16 19:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f72ce0012d7d400005cdd4e0000701672d..."} 
[2026-10-16 19:18:54] local.INFO: Processing buffer {"connection_id":216883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f72ce0012d7d400005cdd4e0000701672d..."} 
[2026-10-16 19:18:54] local.INFO: Packet analysis {"connection_id":216883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f7"} 
[2026-10-16 19:18:54] local.INFO: Extracted packet for processing {"connection_id":216883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f7"} 
[2026-10-16 19:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97375456,"longitude_deg":76.3183104,"latitude_deg":9.7375456,"altitude":7,"angle":359,"satellites":45,"speed":55,"hex_longitude":"2d7d4000","hex_latitude":"05cdd4e0","is_valid_coordinates":true} 
[2026-10-16 19:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792551680001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15312507598012416,"note":"Value kept but may cause issues"} 
[2026-10-16 19:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025776628129550336,"note":"Value kept but may cause issues"} 
[2026-10-16 19:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792158412000,"timestamp_ms":1792158412000,"timestamp_seconds":1792158412,"priority":1,"record_length":96,"hex_timestamp":"000001a144f72ce0"} 
[2026-10-16 19:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-10-16 19:18:54] 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-10-16 19:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792551680001,"66":27115,"246":206,"19":45568,"24":55,"16":15312507598012416,"45":9025776628129550336},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-10-16 19:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792551680001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:18:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15312507598012416,"km_value":15312507598012.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025776628129550336,"description":"Unknown IO ID 45"} 
[2026-10-16 19:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792551680001,"power":27115,"main_input_voltage":206,"unknown_19":45568,"ignition":55,"odometer":null,"unknown_45":9025776628129550336}} 
[2026-10-16 19:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":216883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:18:54] local.INFO: GPS data processed {"connection_id":216883,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:18:54] local.INFO: Acknowledgment sent {"connection_id":216883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:19:20] local.INFO: TCP Data received {"connection_id":220178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:19:20] local.INFO: Processing buffer {"connection_id":220178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:19:20] local.INFO: IMEI packet received {"connection_id":220178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":220178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:19:26] local.INFO: TCP Data received {"connection_id":216883,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f8af98012d7d4ac005cfafc0000501672d..."} 
[2026-10-16 19:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f8af98012d7d4ac005cfafc0000501672d..."} 
[2026-10-16 19:19:26] local.INFO: Processing buffer {"connection_id":216883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f8af98012d7d4ac005cfafc0000501672d..."} 
[2026-10-16 19:19:26] local.INFO: Packet analysis {"connection_id":216883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f8"} 
[2026-10-16 19:19:26] local.INFO: Extracted packet for processing {"connection_id":216883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f8"} 
[2026-10-16 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97497024,"longitude_deg":76.3185856,"latitude_deg":9.7497024,"altitude":5,"angle":359,"satellites":45,"speed":59,"hex_longitude":"2d7d4ac0","hex_latitude":"05cfafc0","is_valid_coordinates":true} 
[2026-10-16 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792577280001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15318404588109824,"note":"Value kept but may cause issues"} 
[2026-10-16 19:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640439586816,"note":"Value kept but may cause issues"} 
[2026-10-16 19:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792158511000,"timestamp_ms":1792158511000,"timestamp_seconds":1792158511,"priority":1,"record_length":96,"hex_timestamp":"000001a144f8af98"} 
[2026-10-16 19:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:19: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-10-16 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 19:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":216883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":216883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":216883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792577280001,"66":27267,"251":206,"19":45568,"24":59,"16":15318404588109824,"45":9028450640439586816},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-10-16 19:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792577280001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:19:26] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 19:19:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15318404588109824,"km_value":15318404588109.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640439586816,"description":"Unknown IO ID 45"} 
[2026-10-16 19:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792577280001,"power":27267,"unknown_251":206,"unknown_19":45568,"ignition":59,"odometer":null,"unknown_45":9028450640439586816}} 
[2026-10-16 19:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":216883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:19:26] local.INFO: GPS data processed {"connection_id":216883,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:19:26] local.INFO: Acknowledgment sent {"connection_id":216883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:19:53] local.INFO: TCP Data received {"connection_id":218450,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:19:53] local.INFO: Processing buffer {"connection_id":218450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:19:53] local.INFO: IMEI packet received {"connection_id":218450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":218450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:19:58] local.INFO: TCP Data received {"connection_id":218450,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:19:58] local.INFO: Processing buffer {"connection_id":218450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:19:58] local.INFO: IMEI packet received {"connection_id":218450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":218450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:19:59] local.INFO: TCP Data received {"connection_id":218450,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f8c708012d7d4a8005cfd288000500002c..."} 
[2026-10-16 19:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f8c708012d7d4a8005cfd288000500002c..."} 
[2026-10-16 19:19:59] local.INFO: Processing buffer {"connection_id":218450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f8c708012d7d4a8005cfd288000500002c..."} 
[2026-10-16 19:19:59] local.INFO: Packet analysis {"connection_id":218450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f8"} 
[2026-10-16 19:19:59] local.INFO: Extracted packet for processing {"connection_id":218450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f8"} 
[2026-10-16 19:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97505928,"longitude_deg":76.3185792,"latitude_deg":9.7505928,"altitude":5,"angle":0,"satellites":44,"speed":59,"hex_longitude":"2d7d4a80","hex_latitude":"05cfd288","is_valid_coordinates":true} 
[2026-10-16 19:19: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-10-16 19:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792578816001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15318838379806720,"note":"Value kept but may cause issues"} 
[2026-10-16 19:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534209351680,"note":"Value kept but may cause issues"} 
[2026-10-16 19:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792158517000,"timestamp_ms":1792158517000,"timestamp_seconds":1792158517,"priority":1,"record_length":96,"hex_timestamp":"000001a144f8c708"} 
[2026-10-16 19:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 19:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:19: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-10-16 19:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":218450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":218450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":218450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792578816001,"66":27234,"251":206,"19":45568,"24":59,"16":15318838379806720,"45":9028239534209351680},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-10-16 19:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792578816001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:19:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 19:19:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15318838379806720,"km_value":15318838379806.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534209351680,"description":"Unknown IO ID 45"} 
[2026-10-16 19:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792578816001,"power":27234,"unknown_251":206,"unknown_19":45568,"ignition":59,"odometer":null,"unknown_45":9028239534209351680}} 
[2026-10-16 19:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":218450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:19:59] local.INFO: GPS data processed {"connection_id":218450,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:19:59] local.INFO: Acknowledgment sent {"connection_id":218450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:20:00] local.INFO: TCP Data received {"connection_id":218451,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:20:00] local.INFO: Processing buffer {"connection_id":218451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:20:00] local.INFO: IMEI packet received {"connection_id":218451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":218451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:20:32] local.INFO: TCP Data received {"connection_id":218450,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f8de78012d7d4a4005cff568000401672c..."} 
[2026-10-16 19:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f8de78012d7d4a4005cff568000401672c..."} 
[2026-10-16 19:20:32] local.INFO: Processing buffer {"connection_id":218450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f8de78012d7d4a4005cff568000401672c..."} 
[2026-10-16 19:20:32] local.INFO: Packet analysis {"connection_id":218450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f8"} 
[2026-10-16 19:20:32] local.INFO: Extracted packet for processing {"connection_id":218450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f8"} 
[2026-10-16 19:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97514856,"longitude_deg":76.3185728,"latitude_deg":9.7514856,"altitude":4,"angle":359,"satellites":44,"speed":59,"hex_longitude":"2d7d4a40","hex_latitude":"05cff568","is_valid_coordinates":true} 
[2026-10-16 19:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792580352001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15319267876536320,"note":"Value kept but may cause issues"} 
[2026-10-16 19:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165467453440,"note":"Value kept but may cause issues"} 
[2026-10-16 19:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792158523000,"timestamp_ms":1792158523000,"timestamp_seconds":1792158523,"priority":1,"record_length":96,"hex_timestamp":"000001a144f8de78"} 
[2026-10-16 19:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 19:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":218450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":218450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":218450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792580352001,"66":27180,"251":206,"19":45568,"24":59,"16":15319267876536320,"45":9028169165467453440},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-10-16 19:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792580352001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:20:32] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 19:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15319267876536320,"km_value":15319267876536.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165467453440,"description":"Unknown IO ID 45"} 
[2026-10-16 19:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792580352001,"power":27180,"unknown_251":206,"unknown_19":45568,"ignition":59,"odometer":null,"unknown_45":9028169165467453440}} 
[2026-10-16 19:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":218450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:20:32] local.INFO: GPS data processed {"connection_id":218450,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:20:32] local.INFO: Acknowledgment sent {"connection_id":218450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:20:52] local.INFO: TCP Data received {"connection_id":216885,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:20:52] local.INFO: Processing buffer {"connection_id":216885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:20:52] local.INFO: IMEI packet received {"connection_id":216885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":216885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:20:54] local.INFO: TCP Data received {"connection_id":216885,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:20:54] local.INFO: Processing buffer {"connection_id":216885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:20:54] local.INFO: IMEI packet received {"connection_id":216885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":216885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:20:55] local.INFO: TCP Data received {"connection_id":216885,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f8f9d0012d7d494005d019f0000501662b..."} 
[2026-10-16 19:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f8f9d0012d7d494005d019f0000501662b..."} 
[2026-10-16 19:20:55] local.INFO: Processing buffer {"connection_id":216885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f8f9d0012d7d494005d019f0000501662b..."} 
[2026-10-16 19:20:55] local.INFO: Packet analysis {"connection_id":216885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f8"} 
[2026-10-16 19:20:55] local.INFO: Extracted packet for processing {"connection_id":216885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f8"} 
[2026-10-16 19:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97524208,"longitude_deg":76.3185472,"latitude_deg":9.7524208,"altitude":5,"angle":358,"satellites":43,"speed":38,"hex_longitude":"2d7d4940","hex_latitude":"05d019f0","is_valid_coordinates":true} 
[2026-10-16 19:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792581888001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15319723143069696,"note":"Value kept but may cause issues"} 
[2026-10-16 19:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796725561344,"note":"Value kept but may cause issues"} 
[2026-10-16 19:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792158530000,"timestamp_ms":1792158530000,"timestamp_seconds":1792158530,"priority":1,"record_length":96,"hex_timestamp":"000001a144f8f9d0"} 
[2026-10-16 19:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 19:20:55] 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-10-16 19:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":216885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":216885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":216885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792581888001,"66":27300,"251":206,"19":45568,"24":38,"16":15319723143069696,"45":9028098796725561344},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-10-16 19:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792581888001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:20:55] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 19:20:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15319723143069696,"km_value":15319723143069.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796725561344,"description":"Unknown IO ID 45"} 
[2026-10-16 19:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792581888001,"power":27300,"unknown_251":206,"unknown_19":45568,"ignition":38,"odometer":null,"unknown_45":9028098796725561344}} 
[2026-10-16 19:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":216885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:20:55] local.INFO: GPS data processed {"connection_id":216885,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:20:55] local.INFO: Acknowledgment sent {"connection_id":216885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:21:00] local.INFO: TCP Data received {"connection_id":216885,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144f93850012d7d490005d02d90000600132d..."} 
[2026-10-16 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144f93850012d7d490005d02d90000600132d..."} 
[2026-10-16 19:21:00] local.INFO: Processing buffer {"connection_id":216885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144f93850012d7d490005d02d90000600132d..."} 
[2026-10-16 19:21:00] local.INFO: Packet analysis {"connection_id":216885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144f9"} 
[2026-10-16 19:21:00] local.INFO: Extracted packet for processing {"connection_id":216885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144f9"} 
[2026-10-16 19:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97529232,"longitude_deg":76.3185408,"latitude_deg":9.7529232,"altitude":6,"angle":19,"satellites":45,"speed":7,"hex_longitude":"2d7d4900","hex_latitude":"05d02d90","is_valid_coordinates":true} 
[2026-10-16 19:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792583680001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15319967956205568,"note":"Value kept but may cause issues"} 
[2026-10-16 19:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321751244800,"note":"Value kept but may cause issues"} 
[2026-10-16 19:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792158546000,"timestamp_ms":1792158546000,"timestamp_seconds":1792158546,"priority":1,"record_length":96,"hex_timestamp":"000001a144f93850"} 
[2026-10-16 19:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 19:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792583680001,"66":27300,"251":206,"19":45568,"24":7,"16":15319967956205568,"45":9027817321751244800},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-10-16 19:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792583680001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:21:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-10-16 19:21:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-10-16 19:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15319967956205568,"km_value":15319967956205.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321751244800,"description":"Unknown IO ID 45"} 
[2026-10-16 19:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792583680001,"power":27300,"unknown_251":206,"unknown_19":45568,"ignition":7,"odometer":null,"unknown_45":9027817321751244800}} 
[2026-10-16 19:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":216885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:21:00] local.INFO: GPS data processed {"connection_id":216885,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:21:00] local.INFO: Acknowledgment sent {"connection_id":216885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:21:32] local.INFO: TCP Data received {"connection_id":216885,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fab720012d7d2e4005d1a4e00005014b2c..."} 
[2026-10-16 19:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fab720012d7d2e4005d1a4e00005014b2c..."} 
[2026-10-16 19:21:32] local.INFO: Processing buffer {"connection_id":216885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fab720012d7d2e4005d1a4e00005014b2c..."} 
[2026-10-16 19:21:32] local.INFO: Packet analysis {"connection_id":216885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fa"} 
[2026-10-16 19:21:32] local.INFO: Extracted packet for processing {"connection_id":216885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fa"} 
[2026-10-16 19:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":97625312,"longitude_deg":76.317856,"latitude_deg":9.7625312,"altitude":5,"angle":331,"satellites":44,"speed":31,"hex_longitude":"2d7d2e40","hex_latitude":"05d1a4e0","is_valid_coordinates":true} 
[2026-10-16 19:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792612352001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15324653765525504,"note":"Value kept but may cause issues"} 
[2026-10-16 19:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447358922752,"note":"Value kept but may cause issues"} 
[2026-10-16 19:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792158644000,"timestamp_ms":1792158644000,"timestamp_seconds":1792158644,"priority":1,"record_length":96,"hex_timestamp":"000001a144fab720"} 
[2026-10-16 19:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":216885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":216885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":216885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792612352001,"66":27343,"173":206,"19":45824,"24":31,"16":15324653765525504,"45":9020780447358922752},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-10-16 19:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792612352001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:21:32] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-10-16 19:21:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15324653765525504,"km_value":15324653765525.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447358922752,"description":"Unknown IO ID 45"} 
[2026-10-16 19:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792612352001,"power":27343,"unknown_173":206,"unknown_19":45824,"ignition":31,"odometer":null,"unknown_45":9020780447358922752}} 
[2026-10-16 19:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":216885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:21:32] local.INFO: GPS data processed {"connection_id":216885,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:21:32] local.INFO: Acknowledgment sent {"connection_id":216885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:21:47] local.INFO: TCP Data received {"connection_id":220179,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:21:47] local.INFO: Processing buffer {"connection_id":220179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:21:47] local.INFO: IMEI packet received {"connection_id":220179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":220179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:21:49] local.INFO: TCP Data received {"connection_id":220179,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:21:49] local.INFO: Processing buffer {"connection_id":220179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:21:49] local.INFO: IMEI packet received {"connection_id":220179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":220179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:21:52] local.INFO: TCP Data received {"connection_id":220179,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:21:52] local.INFO: Processing buffer {"connection_id":220179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:21:52] local.INFO: IMEI packet received {"connection_id":220179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":220179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:21:54] local.INFO: TCP Data received {"connection_id":220179,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fac6c0012d7d280005d1af20000401562c..."} 
[2026-10-16 19:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fac6c0012d7d280005d1af20000401562c..."} 
[2026-10-16 19:21:54] local.INFO: Processing buffer {"connection_id":220179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fac6c0012d7d280005d1af20000401562c..."} 
[2026-10-16 19:21:54] local.INFO: Packet analysis {"connection_id":220179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fa"} 
[2026-10-16 19:21:54] local.INFO: Extracted packet for processing {"connection_id":220179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fa"} 
[2026-10-16 19:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97627936,"longitude_deg":76.317696,"latitude_deg":9.7627936,"altitude":4,"angle":342,"satellites":44,"speed":28,"hex_longitude":"2d7d2800","hex_latitude":"05d1af20","is_valid_coordinates":true} 
[2026-10-16 19:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792612864001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15324799794413568,"note":"Value kept but may cause issues"} 
[2026-10-16 19:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497405939712,"note":"Value kept but may cause issues"} 
[2026-10-16 19:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792158648000,"timestamp_ms":1792158648000,"timestamp_seconds":1792158648,"priority":1,"record_length":96,"hex_timestamp":"000001a144fac6c0"} 
[2026-10-16 19:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792612864001,"66":27343,"173":206,"19":45824,"24":28,"16":15324799794413568,"45":9020217497405939712},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-10-16 19:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792612864001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:21:54] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-10-16 19:21:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15324799794413568,"km_value":15324799794413.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497405939712,"description":"Unknown IO ID 45"} 
[2026-10-16 19:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792612864001,"power":27343,"unknown_173":206,"unknown_19":45824,"ignition":28,"odometer":null,"unknown_45":9020217497405939712}} 
[2026-10-16 19:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":220179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:21:54] local.INFO: GPS data processed {"connection_id":220179,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:21:54] local.INFO: Acknowledgment sent {"connection_id":220179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:22:26] local.INFO: TCP Data received {"connection_id":220179,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144facaa8012d7d278005d1b1b8000401622c..."} 
[2026-10-16 19:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144facaa8012d7d278005d1b1b8000401622c..."} 
[2026-10-16 19:22:26] local.INFO: Processing buffer {"connection_id":220179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144facaa8012d7d278005d1b1b8000401622c..."} 
[2026-10-16 19:22:26] local.INFO: Packet analysis {"connection_id":220179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fa"} 
[2026-10-16 19:22:26] local.INFO: Extracted packet for processing {"connection_id":220179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fa"} 
[2026-10-16 19:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763176832,"raw_latitude":97628600,"longitude_deg":76.3176832,"latitude_deg":9.76286,"altitude":4,"angle":354,"satellites":44,"speed":26,"hex_longitude":"2d7d2780","hex_latitude":"05d1b1b8","is_valid_coordinates":true} 
[2026-10-16 19:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792613888001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15324834154151936,"note":"Value kept but may cause issues"} 
[2026-10-16 19:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278802169856,"note":"Value kept but may cause issues"} 
[2026-10-16 19:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792158649000,"timestamp_ms":1792158649000,"timestamp_seconds":1792158649,"priority":1,"record_length":96,"hex_timestamp":"000001a144facaa8"} 
[2026-10-16 19:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:22: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-10-16 19:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":220179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":220179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":220179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792613888001,"66":27365,"173":206,"19":45824,"24":26,"16":15324834154151936,"45":9018458278802169856},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,19,24,16,45]} 
[2026-10-16 19:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792613888001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:22:26] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-10-16 19:22:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15324834154151936,"km_value":15324834154151.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278802169856,"description":"Unknown IO ID 45"} 
[2026-10-16 19:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792613888001,"power":27365,"unknown_173":206,"unknown_19":45824,"ignition":26,"odometer":null,"unknown_45":9018458278802169856}} 
[2026-10-16 19:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":220179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:22:26] local.INFO: GPS data processed {"connection_id":220179,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:22:26] local.INFO: Acknowledgment sent {"connection_id":220179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:22:53] local.INFO: TCP Data received {"connection_id":217116,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:22:53] local.INFO: Processing buffer {"connection_id":217116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:22:53] local.INFO: IMEI packet received {"connection_id":217116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":217116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:22:56] local.INFO: TCP Data received {"connection_id":217116,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:22:56] local.INFO: Processing buffer {"connection_id":217116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:22:56] local.INFO: IMEI packet received {"connection_id":217116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":217116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:22:59] local.INFO: TCP Data received {"connection_id":217116,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144faf988012d7d254005d1d640000601622c..."} 
[2026-10-16 19:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144faf988012d7d254005d1d640000601622c..."} 
[2026-10-16 19:22:59] local.INFO: Processing buffer {"connection_id":217116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144faf988012d7d254005d1d640000601622c..."} 
[2026-10-16 19:22:59] local.INFO: Packet analysis {"connection_id":217116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fa"} 
[2026-10-16 19:22:59] local.INFO: Extracted packet for processing {"connection_id":217116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fa"} 
[2026-10-16 19:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763176256,"raw_latitude":97637952,"longitude_deg":76.3176256,"latitude_deg":9.7637952,"altitude":6,"angle":354,"satellites":44,"speed":35,"hex_longitude":"2d7d2540","hex_latitude":"05d1d640","is_valid_coordinates":true} 
[2026-10-16 19:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792614144001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15325289420685312,"note":"Value kept but may cause issues"} 
[2026-10-16 19:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018317541313984512,"note":"Value kept but may cause issues"} 
[2026-10-16 19:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792158661000,"timestamp_ms":1792158661000,"timestamp_seconds":1792158661,"priority":1,"record_length":96,"hex_timestamp":"000001a144faf988"} 
[2026-10-16 19:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 19:22:59] 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-10-16 19:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792614144001,"66":27376,"163":206,"19":45824,"24":35,"16":15325289420685312,"45":9018317541313984512},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-10-16 19:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792614144001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:22:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 19:22:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15325289420685312,"km_value":15325289420685.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018317541313984512,"description":"Unknown IO ID 45"} 
[2026-10-16 19:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792614144001,"power":27376,"unknown_163":206,"unknown_19":45824,"ignition":35,"odometer":null,"unknown_45":9018317541313984512}} 
[2026-10-16 19:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":217116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:22:59] local.INFO: GPS data processed {"connection_id":217116,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:22:59] local.INFO: Acknowledgment sent {"connection_id":217116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:23:01] local.INFO: TCP Data received {"connection_id":217116,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fb2098012d7d240005d1f9a00006000127..."} 
[2026-10-16 19:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fb2098012d7d240005d1f9a00006000127..."} 
[2026-10-16 19:23:01] local.INFO: Processing buffer {"connection_id":217116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fb2098012d7d240005d1f9a00006000127..."} 
[2026-10-16 19:23:01] local.INFO: Packet analysis {"connection_id":217116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fb"} 
[2026-10-16 19:23:01] local.INFO: Extracted packet for processing {"connection_id":217116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fb"} 
[2026-10-16 19:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763175936,"raw_latitude":97647008,"longitude_deg":76.3175936,"latitude_deg":9.7647008,"altitude":6,"angle":1,"satellites":39,"speed":35,"hex_longitude":"2d7d2400","hex_latitude":"05d1f9a0","is_valid_coordinates":true} 
[2026-10-16 19:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792617216001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15325727507349504,"note":"Value kept but may cause issues"} 
[2026-10-16 19:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222618779648,"note":"Value kept but may cause issues"} 
[2026-10-16 19:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792158671000,"timestamp_ms":1792158671000,"timestamp_seconds":1792158671,"priority":1,"record_length":96,"hex_timestamp":"000001a144fb2098"} 
[2026-10-16 19:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:23: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-10-16 19:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 19:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792617216001,"66":27234,"163":206,"19":45824,"24":35,"16":15325727507349504,"45":9017684222618779648},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-10-16 19:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792617216001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:23:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 19:23:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15325727507349504,"km_value":15325727507349.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222618779648,"description":"Unknown IO ID 45"} 
[2026-10-16 19:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792617216001,"power":27234,"unknown_163":206,"unknown_19":45824,"ignition":35,"odometer":null,"unknown_45":9017684222618779648}} 
[2026-10-16 19:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":217116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:23:01] local.INFO: GPS data processed {"connection_id":217116,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:23:01] local.INFO: Acknowledgment sent {"connection_id":217116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:23:32] local.INFO: TCP Data received {"connection_id":217116,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fb4b90012d7d27c005d21d180004000925..."} 
[2026-10-16 19:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fb4b90012d7d27c005d21d180004000925..."} 
[2026-10-16 19:23:32] local.INFO: Processing buffer {"connection_id":217116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fb4b90012d7d27c005d21d180004000925..."} 
[2026-10-16 19:23:32] local.INFO: Packet analysis {"connection_id":217116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fb"} 
[2026-10-16 19:23:32] local.INFO: Extracted packet for processing {"connection_id":217116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fb"} 
[2026-10-16 19:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97656088,"longitude_deg":76.3176896,"latitude_deg":9.7656088,"altitude":4,"angle":9,"satellites":37,"speed":30,"hex_longitude":"2d7d27c0","hex_latitude":"05d21d18","is_valid_coordinates":true} 
[2026-10-16 19:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792619776001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15326169888980992,"note":"Value kept but may cause issues"} 
[2026-10-16 19:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017332378900209664,"note":"Value kept but may cause issues"} 
[2026-10-16 19:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792158682000,"timestamp_ms":1792158682000,"timestamp_seconds":1792158682,"priority":1,"record_length":96,"hex_timestamp":"000001a144fb4b90"} 
[2026-10-16 19:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 19:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792619776001,"66":27343,"163":206,"19":45824,"24":30,"16":15326169888980992,"45":9017332378900209664},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-10-16 19:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792619776001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:23:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 19:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15326169888980992,"km_value":15326169888980.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017332378900209664,"description":"Unknown IO ID 45"} 
[2026-10-16 19:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792619776001,"power":27343,"unknown_163":206,"unknown_19":45824,"ignition":30,"odometer":null,"unknown_45":9017332378900209664}} 
[2026-10-16 19:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":217116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:23:32] local.INFO: GPS data processed {"connection_id":217116,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:23:32] local.INFO: Acknowledgment sent {"connection_id":217116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:23:48] local.INFO: TCP Data received {"connection_id":218452,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:23:48] local.INFO: Processing buffer {"connection_id":218452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:23:48] local.INFO: IMEI packet received {"connection_id":218452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":218452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:23:53] local.INFO: TCP Data received {"connection_id":218452,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:23:53] local.INFO: Processing buffer {"connection_id":218452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:23:53] local.INFO: IMEI packet received {"connection_id":218452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":218452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:23:55] local.INFO: TCP Data received {"connection_id":218452,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fb7e58012d7d2cc005d241480006000a25..."} 
[2026-10-16 19:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fb7e58012d7d2cc005d241480006000a25..."} 
[2026-10-16 19:23:55] local.INFO: Processing buffer {"connection_id":218452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fb7e58012d7d2cc005d241480006000a25..."} 
[2026-10-16 19:23:55] local.INFO: Packet analysis {"connection_id":218452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fb"} 
[2026-10-16 19:23:55] local.INFO: Extracted packet for processing {"connection_id":218452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fb"} 
[2026-10-16 19:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":97665352,"longitude_deg":76.3178176,"latitude_deg":9.7665352,"altitude":6,"angle":10,"satellites":37,"speed":19,"hex_longitude":"2d7d2cc0","hex_latitude":"05d24148","is_valid_coordinates":true} 
[2026-10-16 19:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792622592001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15326625155514368,"note":"Value kept but may cause issues"} 
[2026-10-16 19:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910065199104,"note":"Value kept but may cause issues"} 
[2026-10-16 19:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792158695000,"timestamp_ms":1792158695000,"timestamp_seconds":1792158695,"priority":1,"record_length":96,"hex_timestamp":"000001a144fb7e58"} 
[2026-10-16 19:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792622592001,"66":27137,"163":206,"19":45824,"24":19,"16":15326625155514368,"45":9018387910065199104},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-10-16 19:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792622592001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:23:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 19:23:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15326625155514368,"km_value":15326625155514.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910065199104,"description":"Unknown IO ID 45"} 
[2026-10-16 19:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792622592001,"power":27137,"unknown_163":206,"unknown_19":45824,"ignition":19,"odometer":null,"unknown_45":9018387910065199104}} 
[2026-10-16 19:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":218452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:23:55] local.INFO: GPS data processed {"connection_id":218452,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:23:55] local.INFO: Acknowledgment sent {"connection_id":218452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:24:28] local.INFO: TCP Data received {"connection_id":218452,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fbd060012d7d314005d25758000600092d..."} 
[2026-10-16 19:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fbd060012d7d314005d25758000600092d..."} 
[2026-10-16 19:24:28] local.INFO: Processing buffer {"connection_id":218452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fbd060012d7d314005d25758000600092d..."} 
[2026-10-16 19:24:28] local.INFO: Packet analysis {"connection_id":218452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fb"} 
[2026-10-16 19:24:28] local.INFO: Extracted packet for processing {"connection_id":218452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fb"} 
[2026-10-16 19:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":97671000,"longitude_deg":76.3179328,"latitude_deg":9.7671,"altitude":6,"angle":9,"satellites":45,"speed":12,"hex_longitude":"2d7d3140","hex_latitude":"05d25758","is_valid_coordinates":true} 
[2026-10-16 19:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792625920001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15326908623355904,"note":"Value kept but may cause issues"} 
[2026-10-16 19:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795284951123968,"note":"Value kept but may cause issues"} 
[2026-10-16 19:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792158716000,"timestamp_ms":1792158716000,"timestamp_seconds":1792158716,"priority":1,"record_length":96,"hex_timestamp":"000001a144fbd060"} 
[2026-10-16 19:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:24: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-10-16 19:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-10-16 19:24:28] 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-10-16 19:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792625920001,"66":27397,"163":206,"19":45824,"24":12,"16":15326908623355904,"45":9019795284951123968},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-10-16 19:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792625920001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:24:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 19:24:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15326908623355904,"km_value":15326908623355.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795284951123968,"description":"Unknown IO ID 45"} 
[2026-10-16 19:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792625920001,"power":27397,"unknown_163":206,"unknown_19":45824,"ignition":12,"odometer":null,"unknown_45":9019795284951123968}} 
[2026-10-16 19:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":218452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:24:28] local.INFO: GPS data processed {"connection_id":218452,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:24:28] local.INFO: Acknowledgment sent {"connection_id":218452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:24:46] local.INFO: TCP Data received {"connection_id":217117,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:24:46] local.INFO: Processing buffer {"connection_id":217117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:24:46] local.INFO: IMEI packet received {"connection_id":217117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":217117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:24:47] local.INFO: TCP Data received {"connection_id":217117,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:24:47] local.INFO: Processing buffer {"connection_id":217117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:24:47] local.INFO: IMEI packet received {"connection_id":217117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":217117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:24:52] local.INFO: TCP Data received {"connection_id":217117,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:24:52] local.INFO: Processing buffer {"connection_id":217117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:24:52] local.INFO: IMEI packet received {"connection_id":217117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":217117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:24:53] local.INFO: TCP Data received {"connection_id":217117,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fd6e70012d7d380005d327e00000016526..."} 
[2026-10-16 19:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fd6e70012d7d380005d327e00000016526..."} 
[2026-10-16 19:24:53] local.INFO: Processing buffer {"connection_id":217117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fd6e70012d7d380005d327e00000016526..."} 
[2026-10-16 19:24:53] local.INFO: Packet analysis {"connection_id":217117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fd"} 
[2026-10-16 19:24:53] local.INFO: Extracted packet for processing {"connection_id":217117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fd"} 
[2026-10-16 19:24:53] local.INFO: GPS Element Parsed {"raw_longitude":763181056,"raw_latitude":97724384,"longitude_deg":76.3181056,"latitude_deg":9.7724384,"altitude":0,"angle":357,"satellites":38,"speed":53,"hex_longitude":"2d7d3800","hex_latitude":"05d327e0","is_valid_coordinates":true} 
[2026-10-16 19:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792656640001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15329519963471872,"note":"Value kept but may cause issues"} 
[2026-10-16 19:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090916939776,"note":"Value kept but may cause issues"} 
[2026-10-16 19:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792158822000,"timestamp_ms":1792158822000,"timestamp_seconds":1792158822,"priority":1,"record_length":96,"hex_timestamp":"000001a144fd6e70"} 
[2026-10-16 19:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:24: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-10-16 19:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:24: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-10-16 19:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":217117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":217117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":217117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792656640001,"66":27213,"112":206,"19":45824,"24":53,"16":15329519963471872,"45":9023384090916939776},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-10-16 19:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792656640001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:24:53] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-16 19:24:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15329519963471872,"km_value":15329519963471.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090916939776,"description":"Unknown IO ID 45"} 
[2026-10-16 19:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792656640001,"power":27213,"unknown_112":206,"unknown_19":45824,"ignition":53,"odometer":null,"unknown_45":9023384090916939776}} 
[2026-10-16 19:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":217117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:24:53] local.INFO: GPS data processed {"connection_id":217117,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:24:53] local.INFO: Acknowledgment sent {"connection_id":217117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:25:15] local.INFO: TCP Data received {"connection_id":216886,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:25:15] local.INFO: Processing buffer {"connection_id":216886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:25:15] local.INFO: IMEI packet received {"connection_id":216886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":216886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:25:25] local.INFO: TCP Data received {"connection_id":217117,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fd89c8012d7d368005d34f900000016522..."} 
[2026-10-16 19:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fd89c8012d7d368005d34f900000016522..."} 
[2026-10-16 19:25:25] local.INFO: Processing buffer {"connection_id":217117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fd89c8012d7d368005d34f900000016522..."} 
[2026-10-16 19:25:25] local.INFO: Packet analysis {"connection_id":217117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fd"} 
[2026-10-16 19:25:25] local.INFO: Extracted packet for processing {"connection_id":217117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fd"} 
[2026-10-16 19:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":97734544,"longitude_deg":76.3180672,"latitude_deg":9.7734544,"altitude":0,"angle":357,"satellites":34,"speed":60,"hex_longitude":"2d7d3680","hex_latitude":"05d34f90","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792658432001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15330013884710912,"note":"Value kept but may cause issues"} 
[2026-10-16 19:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878454231040,"note":"Value kept but may cause issues"} 
[2026-10-16 19:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792158829000,"timestamp_ms":1792158829000,"timestamp_seconds":1792158829,"priority":1,"record_length":96,"hex_timestamp":"000001a144fd89c8"} 
[2026-10-16 19:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:25: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-10-16 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 19:25: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-10-16 19: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-10-16 19:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792658432001,"66":27332,"112":206,"19":45824,"24":60,"16":15330013884710912,"45":9022961878454231040},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-10-16 19:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792658432001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:25:25] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-16 19:25:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15330013884710912,"km_value":15330013884710.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878454231040,"description":"Unknown IO ID 45"} 
[2026-10-16 19:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792658432001,"power":27332,"unknown_112":206,"unknown_19":45824,"ignition":60,"odometer":null,"unknown_45":9022961878454231040}} 
[2026-10-16 19:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":217117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:25:25] local.INFO: GPS data processed {"connection_id":217117,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:25:25] local.INFO: Acknowledgment sent {"connection_id":217117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:25:48] local.INFO: TCP Data received {"connection_id":220183,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:25:48] local.INFO: Processing buffer {"connection_id":220183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:25:48] local.INFO: IMEI packet received {"connection_id":220183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":220183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:25:50] local.INFO: TCP Data received {"connection_id":216887,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:25:50] local.INFO: Processing buffer {"connection_id":216887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:25:50] local.INFO: IMEI packet received {"connection_id":216887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":216887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:25:53] local.INFO: TCP Data received {"connection_id":220183,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:25:53] local.INFO: Processing buffer {"connection_id":220183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:25:53] local.INFO: IMEI packet received {"connection_id":220183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":220183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:25:54] local.INFO: TCP Data received {"connection_id":220183,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fe9368012d7d2b8005d4d9a00000016221..."} 
[2026-10-16 19:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fe9368012d7d2b8005d4d9a00000016221..."} 
[2026-10-16 19:25:54] local.INFO: Processing buffer {"connection_id":220183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fe9368012d7d2b8005d4d9a00000016221..."} 
[2026-10-16 19:25:54] local.INFO: Packet analysis {"connection_id":220183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fe"} 
[2026-10-16 19:25:54] local.INFO: Extracted packet for processing {"connection_id":220183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fe"} 
[2026-10-16 19:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763177856,"raw_latitude":97835424,"longitude_deg":76.3177856,"latitude_deg":9.7835424,"altitude":0,"angle":354,"satellites":33,"speed":58,"hex_longitude":"2d7d2b80","hex_latitude":"05d4d9a0","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792675840001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15334927327297536,"note":"Value kept but may cause issues"} 
[2026-10-16 19:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447410526208,"note":"Value kept but may cause issues"} 
[2026-10-16 19:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792158897000,"timestamp_ms":1792158897000,"timestamp_seconds":1792158897,"priority":1,"record_length":96,"hex_timestamp":"000001a144fe9368"} 
[2026-10-16 19:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 19:25:54] 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-10-16 19: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-10-16 19:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792675840001,"66":27300,"112":206,"19":45824,"24":58,"16":15334927327297536,"45":9020780447410526208},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-10-16 19:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792675840001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:25:54] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-16 19:25:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15334927327297536,"km_value":15334927327297.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447410526208,"description":"Unknown IO ID 45"} 
[2026-10-16 19:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792675840001,"power":27300,"unknown_112":206,"unknown_19":45824,"ignition":58,"odometer":null,"unknown_45":9020780447410526208}} 
[2026-10-16 19:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":220183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:25:54] local.INFO: GPS data processed {"connection_id":220183,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:25:54] local.INFO: Acknowledgment sent {"connection_id":220183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:26:26] local.INFO: TCP Data received {"connection_id":220183,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144feaad8012d7d294005d4fc380000016524..."} 
[2026-10-16 19:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144feaad8012d7d294005d4fc380000016524..."} 
[2026-10-16 19:26:26] local.INFO: Processing buffer {"connection_id":220183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144feaad8012d7d294005d4fc380000016524..."} 
[2026-10-16 19:26:26] local.INFO: Packet analysis {"connection_id":220183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fe"} 
[2026-10-16 19:26:26] local.INFO: Extracted packet for processing {"connection_id":220183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fe"} 
[2026-10-16 19:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":97844280,"longitude_deg":76.317728,"latitude_deg":9.784428,"altitude":0,"angle":357,"satellites":36,"speed":58,"hex_longitude":"2d7d2940","hex_latitude":"05d4fc38","is_valid_coordinates":true} 
[2026-10-16 19:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792677632001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15335361118994432,"note":"Value kept but may cause issues"} 
[2026-10-16 19:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019443441273774080,"note":"Value kept but may cause issues"} 
[2026-10-16 19:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792158903000,"timestamp_ms":1792158903000,"timestamp_seconds":1792158903,"priority":1,"record_length":96,"hex_timestamp":"000001a144feaad8"} 
[2026-10-16 19:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:26: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-10-16 19:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 19:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":220183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":220183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":220183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792677632001,"66":27300,"112":206,"19":45824,"24":58,"16":15335361118994432,"45":9019443441273774080},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-10-16 19:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792677632001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:26:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-16 19:26:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15335361118994432,"km_value":15335361118994.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019443441273774080,"description":"Unknown IO ID 45"} 
[2026-10-16 19:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792677632001,"power":27300,"unknown_112":206,"unknown_19":45824,"ignition":58,"odometer":null,"unknown_45":9019443441273774080}} 
[2026-10-16 19:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":220183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:26:26] local.INFO: GPS data processed {"connection_id":220183,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:26:26] local.INFO: Acknowledgment sent {"connection_id":220183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:26:47] local.INFO: TCP Data received {"connection_id":220184,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:26:47] local.INFO: Processing buffer {"connection_id":220184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:26:47] local.INFO: IMEI packet received {"connection_id":220184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":220184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:26:52] local.INFO: TCP Data received {"connection_id":220184,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:26:52] local.INFO: Processing buffer {"connection_id":220184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:26:52] local.INFO: IMEI packet received {"connection_id":220184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":220184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:26:53] local.INFO: TCP Data received {"connection_id":220184,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:26:53] local.INFO: Processing buffer {"connection_id":220184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:26:53] local.INFO: IMEI packet received {"connection_id":220184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":220184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:26:54] local.INFO: TCP Data received {"connection_id":220184,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fec248012d7d284005d51ef00000016723..."} 
[2026-10-16 19:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fec248012d7d284005d51ef00000016723..."} 
[2026-10-16 19:26:54] local.INFO: Processing buffer {"connection_id":220184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fec248012d7d284005d51ef00000016723..."} 
[2026-10-16 19:26:54] local.INFO: Packet analysis {"connection_id":220184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fe"} 
[2026-10-16 19:26:54] local.INFO: Extracted packet for processing {"connection_id":220184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fe"} 
[2026-10-16 19:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97853168,"longitude_deg":76.3177024,"latitude_deg":9.7853168,"altitude":0,"angle":359,"satellites":35,"speed":58,"hex_longitude":"2d7d2840","hex_latitude":"05d51ef0","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792679168001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15335790615724032,"note":"Value kept but may cause issues"} 
[2026-10-16 19:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122578442240,"note":"Value kept but may cause issues"} 
[2026-10-16 19:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792158909000,"timestamp_ms":1792158909000,"timestamp_seconds":1792158909,"priority":1,"record_length":96,"hex_timestamp":"000001a144fec248"} 
[2026-10-16 19:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 19:26:54] 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-10-16 19: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-10-16 19:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792679168001,"66":27310,"112":206,"19":45824,"24":58,"16":15335790615724032,"45":9018810122578442240},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-10-16 19:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792679168001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:26:54] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-16 19:26:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15335790615724032,"km_value":15335790615724.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122578442240,"description":"Unknown IO ID 45"} 
[2026-10-16 19:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792679168001,"power":27310,"unknown_112":206,"unknown_19":45824,"ignition":58,"odometer":null,"unknown_45":9018810122578442240}} 
[2026-10-16 19:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":220184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:26:54] local.INFO: GPS data processed {"connection_id":220184,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:26:54] local.INFO: Acknowledgment sent {"connection_id":220184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:26:59] local.INFO: TCP Data received {"connection_id":220184,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a144fed9b8012d7d27c005d541e00000016522..."} 
[2026-10-16 19:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a144fed9b8012d7d27c005d541e00000016522..."} 
[2026-10-16 19:26:59] local.INFO: Processing buffer {"connection_id":220184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a144fed9b8012d7d27c005d541e00000016522..."} 
[2026-10-16 19:26:59] local.INFO: Packet analysis {"connection_id":220184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a144fe"} 
[2026-10-16 19:26:59] local.INFO: Extracted packet for processing {"connection_id":220184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a144fe"} 
[2026-10-16 19:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97862112,"longitude_deg":76.3176896,"latitude_deg":9.7862112,"altitude":0,"angle":357,"satellites":34,"speed":59,"hex_longitude":"2d7d27c0","hex_latitude":"05d541e0","is_valid_coordinates":true} 
[2026-10-16 19:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792680704001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15336224407420928,"note":"Value kept but may cause issues"} 
[2026-10-16 19:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647604006912,"note":"Value kept but may cause issues"} 
[2026-10-16 19:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792158915000,"timestamp_ms":1792158915000,"timestamp_seconds":1792158915,"priority":1,"record_length":96,"hex_timestamp":"000001a144fed9b8"} 
[2026-10-16 19:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 19:26:59] 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-10-16 19:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":220184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":220184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":220184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792680704001,"66":27332,"112":206,"19":45824,"24":59,"16":15336224407420928,"45":9018528647604006912},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-10-16 19:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792680704001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:26:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-16 19:26:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15336224407420928,"km_value":15336224407420.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647604006912,"description":"Unknown IO ID 45"} 
[2026-10-16 19:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792680704001,"power":27332,"unknown_112":206,"unknown_19":45824,"ignition":59,"odometer":null,"unknown_45":9018528647604006912}} 
[2026-10-16 19:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":220184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:26:59] local.INFO: GPS data processed {"connection_id":220184,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:26:59] local.INFO: Acknowledgment sent {"connection_id":220184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:28:00] local.INFO: TCP Data received {"connection_id":220184,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145001620012d7cd2c005d6f2000000015728..."} 
[2026-10-16 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145001620012d7cd2c005d6f2000000015728..."} 
[2026-10-16 19:28:00] local.INFO: Processing buffer {"connection_id":220184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145001620012d7cd2c005d6f2000000015728..."} 
[2026-10-16 19:28:00] local.INFO: Packet analysis {"connection_id":220184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14500"} 
[2026-10-16 19:28:00] local.INFO: Extracted packet for processing {"connection_id":220184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14500"} 
[2026-10-16 19:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763155136,"raw_latitude":97972736,"longitude_deg":76.3155136,"latitude_deg":9.7972736,"altitude":0,"angle":343,"satellites":40,"speed":52,"hex_longitude":"2d7cd2c0","hex_latitude":"05d6f200","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792700928001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15341717670592512,"note":"Value kept but may cause issues"} 
[2026-10-16 19:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997629130611388416,"note":"Value kept but may cause issues"} 
[2026-10-16 19:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792158996000,"timestamp_ms":1792158996000,"timestamp_seconds":1792158996,"priority":1,"record_length":96,"hex_timestamp":"000001a145001620"} 
[2026-10-16 19:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 19:28:00] 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-10-16 19: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-10-16 19:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":220184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":220184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":220184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792700928001,"66":27343,"110":206,"19":45824,"24":52,"16":15341717670592512,"45":8997629130611388416},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,19,24,16,45]} 
[2026-10-16 19:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792700928001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:28:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 19:28:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15341717670592512,"km_value":15341717670592.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997629130611388416,"description":"Unknown IO ID 45"} 
[2026-10-16 19:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792700928001,"power":27343,"unknown_110":206,"unknown_19":45824,"ignition":52,"odometer":null,"unknown_45":8997629130611388416}} 
[2026-10-16 19:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":220184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:28:00] local.INFO: GPS data processed {"connection_id":220184,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:28:00] local.INFO: Acknowledgment sent {"connection_id":220184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:28:12] local.INFO: TCP Data received {"connection_id":216890,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:12] local.INFO: Processing buffer {"connection_id":216890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:12] local.INFO: IMEI packet received {"connection_id":216890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":216890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:28:22] local.INFO: TCP Data received {"connection_id":216891,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:22] local.INFO: Processing buffer {"connection_id":216891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:22] local.INFO: IMEI packet received {"connection_id":216891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":216891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:28:22] local.INFO: TCP Data received {"connection_id":216891,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:22] local.INFO: Processing buffer {"connection_id":216891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:22] local.INFO: IMEI packet received {"connection_id":216891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":216891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:28:28] local.INFO: TCP Data received {"connection_id":216891,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:28] local.INFO: Processing buffer {"connection_id":216891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:28] local.INFO: IMEI packet received {"connection_id":216891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":216891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:28:30] local.INFO: TCP Data received {"connection_id":216891,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145003178012d7cc80005d715200000015627..."} 
[2026-10-16 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145003178012d7cc80005d715200000015627..."} 
[2026-10-16 19:28:30] local.INFO: Processing buffer {"connection_id":216891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145003178012d7cc80005d715200000015627..."} 
[2026-10-16 19:28:30] local.INFO: Packet analysis {"connection_id":216891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14500"} 
[2026-10-16 19:28:30] local.INFO: Extracted packet for processing {"connection_id":216891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14500"} 
[2026-10-16 19:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763152384,"raw_latitude":97981728,"longitude_deg":76.3152384,"latitude_deg":9.7981728,"altitude":0,"angle":342,"satellites":39,"speed":51,"hex_longitude":"2d7cc800","hex_latitude":"05d71520","is_valid_coordinates":true} 
[2026-10-16 19:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792702976001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15342172937125888,"note":"Value kept but may cause issues"} 
[2026-10-16 19:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994462537125855232,"note":"Value kept but may cause issues"} 
[2026-10-16 19:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792159003000,"timestamp_ms":1792159003000,"timestamp_seconds":1792159003,"priority":1,"record_length":96,"hex_timestamp":"000001a145003178"} 
[2026-10-16 19:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792702976001,"66":27223,"110":206,"19":45824,"24":51,"16":15342172937125888,"45":8994462537125855232},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,19,24,16,45]} 
[2026-10-16 19:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792702976001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:28:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 19:28:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15342172937125888,"km_value":15342172937125.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994462537125855232,"description":"Unknown IO ID 45"} 
[2026-10-16 19:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792702976001,"power":27223,"unknown_110":206,"unknown_19":45824,"ignition":51,"odometer":null,"unknown_45":8994462537125855232}} 
[2026-10-16 19:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":216891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:28:30] local.INFO: GPS data processed {"connection_id":216891,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:28:30] local.INFO: Acknowledgment sent {"connection_id":216891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:28:52] local.INFO: TCP Data received {"connection_id":216892,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:52] local.INFO: Processing buffer {"connection_id":216892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:52] local.INFO: IMEI packet received {"connection_id":216892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":216892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:28:57] local.INFO: TCP Data received {"connection_id":216892,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:57] local.INFO: Processing buffer {"connection_id":216892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:57] local.INFO: IMEI packet received {"connection_id":216892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":216892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:28:58] local.INFO: TCP Data received {"connection_id":216892,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:58] local.INFO: Processing buffer {"connection_id":216892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:28:58] local.INFO: IMEI packet received {"connection_id":216892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":216892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:28:59] local.INFO: TCP Data received {"connection_id":216892,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145004cd0012d7cbd4005d737000000015725..."} 
[2026-10-16 19:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145004cd0012d7cbd4005d737000000015725..."} 
[2026-10-16 19:28:59] local.INFO: Processing buffer {"connection_id":216892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145004cd0012d7cbd4005d737000000015725..."} 
[2026-10-16 19:28:59] local.INFO: Packet analysis {"connection_id":216892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14500"} 
[2026-10-16 19:28:59] local.INFO: Extracted packet for processing {"connection_id":216892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14500"} 
[2026-10-16 19:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763149632,"raw_latitude":97990400,"longitude_deg":76.3149632,"latitude_deg":9.79904,"altitude":0,"angle":343,"satellites":37,"speed":51,"hex_longitude":"2d7cbd40","hex_latitude":"05d73700","is_valid_coordinates":true} 
[2026-10-16 19:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792704768001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15342615318757376,"note":"Value kept but may cause issues"} 
[2026-10-16 19:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991436681128517632,"note":"Value kept but may cause issues"} 
[2026-10-16 19:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792159010000,"timestamp_ms":1792159010000,"timestamp_seconds":1792159010,"priority":1,"record_length":96,"hex_timestamp":"000001a145004cd0"} 
[2026-10-16 19:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-10-16 19:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792704768001,"66":27397,"110":206,"19":45824,"24":51,"16":15342615318757376,"45":8991436681128517632},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,19,24,16,45]} 
[2026-10-16 19:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792704768001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:28:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 19:28:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15342615318757376,"km_value":15342615318757.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991436681128517632,"description":"Unknown IO ID 45"} 
[2026-10-16 19:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792704768001,"power":27397,"unknown_110":206,"unknown_19":45824,"ignition":51,"odometer":null,"unknown_45":8991436681128517632}} 
[2026-10-16 19:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":216892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:28:59] local.INFO: GPS data processed {"connection_id":216892,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:28:59] local.INFO: Acknowledgment sent {"connection_id":216892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:29:02] local.INFO: TCP Data received {"connection_id":216892,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145006c10012d7cb2c005d75c400000015924..."} 
[2026-10-16 19:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145006c10012d7cb2c005d75c400000015924..."} 
[2026-10-16 19:29:02] local.INFO: Processing buffer {"connection_id":216892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145006c10012d7cb2c005d75c400000015924..."} 
[2026-10-16 19:29:02] local.INFO: Packet analysis {"connection_id":216892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14500"} 
[2026-10-16 19:29:02] local.INFO: Extracted packet for processing {"connection_id":216892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14500"} 
[2026-10-16 19:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763146944,"raw_latitude":97999936,"longitude_deg":76.3146944,"latitude_deg":9.7999936,"altitude":0,"angle":345,"satellites":36,"speed":48,"hex_longitude":"2d7cb2c0","hex_latitude":"05d75c40","is_valid_coordinates":true} 
[2026-10-16 19:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792706560001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15343092060127232,"note":"Value kept but may cause issues"} 
[2026-10-16 19:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988410825131098112,"note":"Value kept but may cause issues"} 
[2026-10-16 19:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792159018000,"timestamp_ms":1792159018000,"timestamp_seconds":1792159018,"priority":1,"record_length":96,"hex_timestamp":"000001a145006c10"} 
[2026-10-16 19:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:29: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-10-16 19:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 19:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792706560001,"66":27376,"110":206,"19":45824,"24":48,"16":15343092060127232,"45":8988410825131098112},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,19,24,16,45]} 
[2026-10-16 19:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792706560001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:29:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 19:29:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15343092060127232,"km_value":15343092060127.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988410825131098112,"description":"Unknown IO ID 45"} 
[2026-10-16 19:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792706560001,"power":27376,"unknown_110":206,"unknown_19":45824,"ignition":48,"odometer":null,"unknown_45":8988410825131098112}} 
[2026-10-16 19:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":216892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:29:02] local.INFO: GPS data processed {"connection_id":216892,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:29:02] local.INFO: Acknowledgment sent {"connection_id":216892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:29:52] local.INFO: TCP Data received {"connection_id":216893,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:29:52] local.INFO: Processing buffer {"connection_id":216893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:29:52] local.INFO: IMEI packet received {"connection_id":216893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":216893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:29:54] local.INFO: TCP Data received {"connection_id":216893,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:29:54] local.INFO: Processing buffer {"connection_id":216893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:29:54] local.INFO: IMEI packet received {"connection_id":216893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":216893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:29:58] local.INFO: TCP Data received {"connection_id":216893,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:29:58] local.INFO: Processing buffer {"connection_id":216893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:29:58] local.INFO: IMEI packet received {"connection_id":216893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":216893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:30:00] local.INFO: TCP Data received {"connection_id":216893,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a14501eae0012d7c874005d936280000016229..."} 
[2026-10-16 19:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14501eae0012d7c874005d936280000016229..."} 
[2026-10-16 19:30:00] local.INFO: Processing buffer {"connection_id":216893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14501eae0012d7c874005d936280000016229..."} 
[2026-10-16 19:30:00] local.INFO: Packet analysis {"connection_id":216893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14501"} 
[2026-10-16 19:30:00] local.INFO: Extracted packet for processing {"connection_id":216893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14501"} 
[2026-10-16 19:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763135808,"raw_latitude":98121256,"longitude_deg":76.3135808,"latitude_deg":9.8121256,"altitude":0,"angle":354,"satellites":41,"speed":59,"hex_longitude":"2d7c8740","hex_latitude":"05d93628","is_valid_coordinates":true} 
[2026-10-16 19:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792732160001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15349010525061120,"note":"Value kept but may cause issues"} 
[2026-10-16 19:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974196338838435840,"note":"Value kept but may cause issues"} 
[2026-10-16 19:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792159116000,"timestamp_ms":1792159116000,"timestamp_seconds":1792159116,"priority":1,"record_length":96,"hex_timestamp":"000001a14501eae0"} 
[2026-10-16 19:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 19:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":216893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":216893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":216893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792732160001,"66":27365,"106":206,"19":45824,"24":59,"16":15349010525061120,"45":8974196338838435840},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,19,24,16,45]} 
[2026-10-16 19:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792732160001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:30:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-16 19:30:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15349010525061120,"km_value":15349010525061.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974196338838435840,"description":"Unknown IO ID 45"} 
[2026-10-16 19:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792732160001,"power":27365,"unknown_106":206,"unknown_19":45824,"ignition":59,"odometer":null,"unknown_45":8974196338838435840}} 
[2026-10-16 19:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":216893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:30:00] local.INFO: GPS data processed {"connection_id":216893,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:30:00] local.INFO: Acknowledgment sent {"connection_id":216893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:30:35] local.INFO: TCP Data received {"connection_id":216893,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145020638012d7c834005d95d900000016228..."} 
[2026-10-16 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145020638012d7c834005d95d900000016228..."} 
[2026-10-16 19:30:35] local.INFO: Processing buffer {"connection_id":216893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145020638012d7c834005d95d900000016228..."} 
[2026-10-16 19:30:35] local.INFO: Packet analysis {"connection_id":216893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14502"} 
[2026-10-16 19:30:35] local.INFO: Extracted packet for processing {"connection_id":216893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14502"} 
[2026-10-16 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763134784,"raw_latitude":98131344,"longitude_deg":76.3134784,"latitude_deg":9.8131344,"altitude":0,"angle":354,"satellites":40,"speed":56,"hex_longitude":"2d7c8340","hex_latitude":"05d95d90","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792733696001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15349504446300160,"note":"Value kept but may cause issues"} 
[2026-10-16 19:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176422221824,"note":"Value kept but may cause issues"} 
[2026-10-16 19:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792159123000,"timestamp_ms":1792159123000,"timestamp_seconds":1792159123,"priority":1,"record_length":96,"hex_timestamp":"000001a145020638"} 
[2026-10-16 19:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19: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-10-16 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 19:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19: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-10-16 19:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":216893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":216893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":216893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792733696001,"66":27321,"106":206,"19":45824,"24":56,"16":15349504446300160,"45":8973211176422221824},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,19,24,16,45]} 
[2026-10-16 19:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792733696001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:30:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-16 19:30:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15349504446300160,"km_value":15349504446300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176422221824,"description":"Unknown IO ID 45"} 
[2026-10-16 19:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792733696001,"power":27321,"unknown_106":206,"unknown_19":45824,"ignition":56,"odometer":null,"unknown_45":8973211176422221824}} 
[2026-10-16 19:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":216893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:30:35] local.INFO: GPS data processed {"connection_id":216893,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:30:35] local.INFO: Acknowledgment sent {"connection_id":216893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:30:47] local.INFO: TCP Data received {"connection_id":217118,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:30:47] local.INFO: Processing buffer {"connection_id":217118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:30:47] local.INFO: IMEI packet received {"connection_id":217118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":217118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:30:53] local.INFO: TCP Data received {"connection_id":217118,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:30:53] local.INFO: Processing buffer {"connection_id":217118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:30:53] local.INFO: IMEI packet received {"connection_id":217118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":217118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:30:54] local.INFO: TCP Data received {"connection_id":217118,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145022190012d7c7f0005d983d80000016126..."} 
[2026-10-16 19:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145022190012d7c7f0005d983d80000016126..."} 
[2026-10-16 19:30:54] local.INFO: Processing buffer {"connection_id":217118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145022190012d7c7f0005d983d80000016126..."} 
[2026-10-16 19:30:54] local.INFO: Packet analysis {"connection_id":217118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14502"} 
[2026-10-16 19:30:54] local.INFO: Extracted packet for processing {"connection_id":217118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14502"} 
[2026-10-16 19:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763133696,"raw_latitude":98141144,"longitude_deg":76.3133696,"latitude_deg":9.8141144,"altitude":0,"angle":353,"satellites":38,"speed":57,"hex_longitude":"2d7c7f00","hex_latitude":"05d983d8","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792735488001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15349981187670016,"note":"Value kept but may cause issues"} 
[2026-10-16 19:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972085276517961728,"note":"Value kept but may cause issues"} 
[2026-10-16 19:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792159130000,"timestamp_ms":1792159130000,"timestamp_seconds":1792159130,"priority":1,"record_length":96,"hex_timestamp":"000001a145022190"} 
[2026-10-16 19:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 19:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792735488001,"66":27343,"106":206,"19":45824,"24":57,"16":15349981187670016,"45":8972085276517961728},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,19,24,16,45]} 
[2026-10-16 19:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792735488001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:30:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-10-16 19:30:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15349981187670016,"km_value":15349981187670.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972085276517961728,"description":"Unknown IO ID 45"} 
[2026-10-16 19:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792735488001,"power":27343,"unknown_106":206,"unknown_19":45824,"ignition":57,"odometer":null,"unknown_45":8972085276517961728}} 
[2026-10-16 19:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":217118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:30:54] local.INFO: GPS data processed {"connection_id":217118,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:30:54] local.INFO: Acknowledgment sent {"connection_id":217118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:31:17] local.INFO: TCP Data received {"connection_id":216894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:31:17] local.INFO: Processing buffer {"connection_id":216894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:31:17] local.INFO: IMEI packet received {"connection_id":216894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":216894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:31:26] local.INFO: TCP Data received {"connection_id":217118,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145037d38012d7c1f4005db09400000015c2a..."} 
[2026-10-16 19:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145037d38012d7c1f4005db09400000015c2a..."} 
[2026-10-16 19:31:26] local.INFO: Processing buffer {"connection_id":217118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145037d38012d7c1f4005db09400000015c2a..."} 
[2026-10-16 19:31:26] local.INFO: Packet analysis {"connection_id":217118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14503"} 
[2026-10-16 19:31:26] local.INFO: Extracted packet for processing {"connection_id":217118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14503"} 
[2026-10-16 19:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763109184,"raw_latitude":98240832,"longitude_deg":76.3109184,"latitude_deg":9.8240832,"altitude":0,"angle":348,"satellites":42,"speed":22,"hex_longitude":"2d7c1f40","hex_latitude":"05db0940","is_valid_coordinates":true} 
[2026-10-16 19:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792755200001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15354976234635264,"note":"Value kept but may cause issues"} 
[2026-10-16 19:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946259947430490112,"note":"Value kept but may cause issues"} 
[2026-10-16 19:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792159219000,"timestamp_ms":1792159219000,"timestamp_seconds":1792159219,"priority":1,"record_length":96,"hex_timestamp":"000001a145037d38"} 
[2026-10-16 19:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":217118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":217118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":217118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792755200001,"66":27245,"50":206,"19":45824,"24":22,"16":15354976234635264,"45":8946259947430490112},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-10-16 19:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792755200001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:31:26] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-16 19:31:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15354976234635264,"km_value":15354976234635.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946259947430490112,"description":"Unknown IO ID 45"} 
[2026-10-16 19:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792755200001,"power":27245,"unknown_50":206,"unknown_19":45824,"ignition":22,"odometer":null,"unknown_45":8946259947430490112}} 
[2026-10-16 19:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":217118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:31:26] local.INFO: GPS data processed {"connection_id":217118,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:31:26] local.INFO: Acknowledgment sent {"connection_id":217118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:31:47] local.INFO: TCP Data received {"connection_id":220186,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:31:47] local.INFO: Processing buffer {"connection_id":220186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:31:47] local.INFO: IMEI packet received {"connection_id":220186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":220186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:31:50] local.INFO: TCP Data received {"connection_id":220187,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:31:50] local.INFO: Processing buffer {"connection_id":220187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:31:50] local.INFO: IMEI packet received {"connection_id":220187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":220187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:31:53] local.INFO: TCP Data received {"connection_id":220186,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:31:53] local.INFO: Processing buffer {"connection_id":220186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:31:53] local.INFO: IMEI packet received {"connection_id":220186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":220186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:31:55] local.INFO: TCP Data received {"connection_id":220186,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a14503b000012d7c16c005db2bc00000015926..."} 
[2026-10-16 19:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14503b000012d7c16c005db2bc00000015926..."} 
[2026-10-16 19:31:55] local.INFO: Processing buffer {"connection_id":220186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14503b000012d7c16c005db2bc00000015926..."} 
[2026-10-16 19:31:55] local.INFO: Packet analysis {"connection_id":220186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14503"} 
[2026-10-16 19:31:55] local.INFO: Extracted packet for processing {"connection_id":220186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14503"} 
[2026-10-16 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763107008,"raw_latitude":98249664,"longitude_deg":76.3107008,"latitude_deg":9.8249664,"altitude":0,"angle":345,"satellites":38,"speed":34,"hex_longitude":"2d7c16c0","hex_latitude":"05db2bc0","is_valid_coordinates":true} 
[2026-10-16 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792760064001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15355418616266752,"note":"Value kept but may cause issues"} 
[2026-10-16 19:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943937778874925056,"note":"Value kept but may cause issues"} 
[2026-10-16 19:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792159232000,"timestamp_ms":1792159232000,"timestamp_seconds":1792159232,"priority":1,"record_length":96,"hex_timestamp":"000001a14503b000"} 
[2026-10-16 19:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 19:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792760064001,"66":27376,"50":206,"19":45824,"24":34,"16":15355418616266752,"45":8943937778874925056},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-10-16 19:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792760064001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:31:55] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-16 19:31:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15355418616266752,"km_value":15355418616266.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943937778874925056,"description":"Unknown IO ID 45"} 
[2026-10-16 19:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792760064001,"power":27376,"unknown_50":206,"unknown_19":45824,"ignition":34,"odometer":null,"unknown_45":8943937778874925056}} 
[2026-10-16 19:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":220186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:31:55] local.INFO: GPS data processed {"connection_id":220186,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:31:55] local.INFO: Acknowledgment sent {"connection_id":220186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:32:20] local.INFO: TCP Data received {"connection_id":218454,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:32:20] local.INFO: Processing buffer {"connection_id":218454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:32:20] local.INFO: IMEI packet received {"connection_id":218454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":218454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:32:29] local.INFO: TCP Data received {"connection_id":220186,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a14503d710012d7c0d8005db50480000015b26..."} 
[2026-10-16 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14503d710012d7c0d8005db50480000015b26..."} 
[2026-10-16 19:32:29] local.INFO: Processing buffer {"connection_id":220186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14503d710012d7c0d8005db50480000015b26..."} 
[2026-10-16 19:32:29] local.INFO: Packet analysis {"connection_id":220186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14503"} 
[2026-10-16 19:32:29] local.INFO: Extracted packet for processing {"connection_id":220186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14503"} 
[2026-10-16 19:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763104640,"raw_latitude":98259016,"longitude_deg":76.310464,"latitude_deg":9.8259016,"altitude":0,"angle":347,"satellites":38,"speed":40,"hex_longitude":"2d7c0d80","hex_latitude":"05db5048","is_valid_coordinates":true} 
[2026-10-16 19:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792763392001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15355882472734720,"note":"Value kept but may cause issues"} 
[2026-10-16 19:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941545241575145472,"note":"Value kept but may cause issues"} 
[2026-10-16 19:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792159242000,"timestamp_ms":1792159242000,"timestamp_seconds":1792159242,"priority":1,"record_length":96,"hex_timestamp":"000001a14503d710"} 
[2026-10-16 19:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 19:32:29] 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-10-16 19:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":220186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":220186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":220186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792763392001,"66":27071,"50":206,"19":45824,"24":40,"16":15355882472734720,"45":8941545241575145472},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-10-16 19:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792763392001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:32:29] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-16 19:32:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15355882472734720,"km_value":15355882472734.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941545241575145472,"description":"Unknown IO ID 45"} 
[2026-10-16 19:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792763392001,"power":27071,"unknown_50":206,"unknown_19":45824,"ignition":40,"odometer":null,"unknown_45":8941545241575145472}} 
[2026-10-16 19:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":220186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:32:29] local.INFO: GPS data processed {"connection_id":220186,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:32:29] local.INFO: Acknowledgment sent {"connection_id":220186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:33:01] local.INFO: TCP Data received {"connection_id":216895,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:33:01] local.INFO: Processing buffer {"connection_id":216895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:33:01] local.INFO: IMEI packet received {"connection_id":216895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":216895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:33:04] local.INFO: TCP Data received {"connection_id":216895,"ip":"117.225.177.112","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216895,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 19:33:04] local.INFO: Processing buffer {"connection_id":216895,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 19:33:04] local.INFO: IMEI packet received {"connection_id":216895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":216895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:33:07] local.INFO: TCP Data received {"connection_id":216895,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a14503fa38012d7c048005db75780000015a26..."} 
[2026-10-16 19:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14503fa38012d7c048005db75780000015a26..."} 
[2026-10-16 19:33:07] local.INFO: Processing buffer {"connection_id":216895,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a145..."} 
[2026-10-16 19:33:07] local.INFO: IMEI packet received {"connection_id":216895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":216895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:33:09] local.INFO: TCP Data received {"connection_id":216895,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145041978012d7bfc4005db9a780000015b21..."} 
[2026-10-16 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145041978012d7bfc4005db9a780000015b21..."} 
[2026-10-16 19:33:09] local.INFO: Processing buffer {"connection_id":216895,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a14503fa38012d7c048005db75780000015a26..."} 
[2026-10-16 19:33:09] local.INFO: Packet analysis {"connection_id":216895,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a14503"} 
[2026-10-16 19:33:09] local.INFO: Extracted packet for processing {"connection_id":216895,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14503"} 
[2026-10-16 19:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98268536,"longitude_deg":76.3102336,"latitude_deg":9.8268536,"altitude":0,"angle":346,"satellites":38,"speed":45,"hex_longitude":"2d7c0480","hex_latitude":"05db7578","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792765952001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15356359214104576,"note":"Value kept but may cause issues"} 
[2026-10-16 19:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938941598042966016,"note":"Value kept but may cause issues"} 
[2026-10-16 19:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792159251000,"timestamp_ms":1792159251000,"timestamp_seconds":1792159251,"priority":1,"record_length":96,"hex_timestamp":"000001a14503fa38"} 
[2026-10-16 19:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19: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-10-16 19: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 19:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19: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-10-16 19:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792765952001,"66":27397,"50":206,"19":45824,"24":45,"16":15356359214104576,"45":8938941598042966016},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-10-16 19:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792765952001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:33:09] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-16 19:33:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15356359214104576,"km_value":15356359214104.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938941598042966016,"description":"Unknown IO ID 45"} 
[2026-10-16 19:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792765952001,"power":27397,"unknown_50":206,"unknown_19":45824,"ignition":45,"odometer":null,"unknown_45":8938941598042966016}} 
[2026-10-16 19:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":216895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:33:09] local.INFO: GPS data processed {"connection_id":216895,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:33:09] local.INFO: Acknowledgment sent {"connection_id":216895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:33:09] local.INFO: Packet analysis {"connection_id":216895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14504"} 
[2026-10-16 19:33:09] local.INFO: Extracted packet for processing {"connection_id":216895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14504"} 
[2026-10-16 19:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763100224,"raw_latitude":98278008,"longitude_deg":76.3100224,"latitude_deg":9.8278008,"altitude":0,"angle":347,"satellites":33,"speed":50,"hex_longitude":"2d7bfc40","hex_latitude":"05db9a78","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792768256001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15356827365539840,"note":"Value kept but may cause issues"} 
[2026-10-16 19:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323255007232,"note":"Value kept but may cause issues"} 
[2026-10-16 19:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792159259000,"timestamp_ms":1792159259000,"timestamp_seconds":1792159259,"priority":1,"record_length":96,"hex_timestamp":"000001a145041978"} 
[2026-10-16 19:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:33: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-10-16 19:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 19:33:09] 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-10-16 19: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-10-16 19:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":216895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":216895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":216895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792768256001,"66":27517,"50":206,"19":45824,"24":50,"16":15356827365539840,"45":8936408323255007232},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-10-16 19:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792768256001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:33:09] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-16 19:33:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15356827365539840,"km_value":15356827365539.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323255007232,"description":"Unknown IO ID 45"} 
[2026-10-16 19:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792768256001,"power":27517,"unknown_50":206,"unknown_19":45824,"ignition":50,"odometer":null,"unknown_45":8936408323255007232}} 
[2026-10-16 19:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":216895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:33:09] local.INFO: GPS data processed {"connection_id":216895,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:33:09] local.INFO: Acknowledgment sent {"connection_id":216895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:33:11] local.INFO: TCP Data received {"connection_id":216895,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a1450438b8012d7bf38005dbbf200000015b20..."} 
[2026-10-16 19:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1450438b8012d7bf38005dbbf200000015b20..."} 
[2026-10-16 19:33:11] local.INFO: Processing buffer {"connection_id":216895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1450438b8012d7bf38005dbbf200000015b20..."} 
[2026-10-16 19:33:11] local.INFO: Packet analysis {"connection_id":216895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14504"} 
[2026-10-16 19:33:11] local.INFO: Extracted packet for processing {"connection_id":216895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14504"} 
[2026-10-16 19:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763097984,"raw_latitude":98287392,"longitude_deg":76.3097984,"latitude_deg":9.8287392,"altitude":0,"angle":347,"satellites":32,"speed":42,"hex_longitude":"2d7bf380","hex_latitude":"05dbbf20","is_valid_coordinates":true} 
[2026-10-16 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-10-16 19:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792770304001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15357295516975104,"note":"Value kept but may cause issues"} 
[2026-10-16 19:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934086154699569152,"note":"Value kept but may cause issues"} 
[2026-10-16 19:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792159267000,"timestamp_ms":1792159267000,"timestamp_seconds":1792159267,"priority":1,"record_length":96,"hex_timestamp":"000001a1450438b8"} 
[2026-10-16 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-10-16 19:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 19:33:11] 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-10-16 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-10-16 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-10-16 19:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":216895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":216895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":216895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792770304001,"66":27343,"50":206,"19":45824,"24":42,"16":15357295516975104,"45":8934086154699569152},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,19,24,16,45]} 
[2026-10-16 19:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792770304001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:33:11] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-10-16 19:33:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15357295516975104,"km_value":15357295516975.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934086154699569152,"description":"Unknown IO ID 45"} 
[2026-10-16 19:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792770304001,"power":27343,"unknown_50":206,"unknown_19":45824,"ignition":42,"odometer":null,"unknown_45":8934086154699569152}} 
[2026-10-16 19:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":216895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:33:11] local.INFO: GPS data processed {"connection_id":216895,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:33:11] local.INFO: Acknowledgment sent {"connection_id":216895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:34:25] local.INFO: TCP Data received {"connection_id":220188,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:34:25] local.INFO: Processing buffer {"connection_id":220188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:34:25] local.INFO: IMEI packet received {"connection_id":220188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":220188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:34:29] local.INFO: TCP Data received {"connection_id":220188,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:34:29] local.INFO: Processing buffer {"connection_id":220188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:34:29] local.INFO: IMEI packet received {"connection_id":220188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":220188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:35:36] local.INFO: TCP Data received {"connection_id":220188,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a14505b3a0012d7bd70005dd52000000016026..."} 
[2026-10-16 19:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14505b3a0012d7bd70005dd52000000016026..."} 
[2026-10-16 19:35:36] local.INFO: Processing buffer {"connection_id":220188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14505b3a0012d7bd70005dd52000000016026..."} 
[2026-10-16 19:35:36] local.INFO: Packet analysis {"connection_id":220188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14505"} 
[2026-10-16 19:35:36] local.INFO: Extracted packet for processing {"connection_id":220188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14505"} 
[2026-10-16 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763090688,"raw_latitude":98390528,"longitude_deg":76.3090688,"latitude_deg":9.8390528,"altitude":0,"angle":352,"satellites":38,"speed":60,"hex_longitude":"2d7bd700","hex_latitude":"05dd5200","is_valid_coordinates":true} 
[2026-10-16 19:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792795648001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15362316333744128,"note":"Value kept but may cause issues"} 
[2026-10-16 19:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924867849238824960,"note":"Value kept but may cause issues"} 
[2026-10-16 19:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792159364000,"timestamp_ms":1792159364000,"timestamp_seconds":1792159364,"priority":1,"record_length":96,"hex_timestamp":"000001a14505b3a0"} 
[2026-10-16 19:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-10-16 19:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":220188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":220188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":220188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792795648001,"66":27115,"51":206,"19":45824,"24":60,"16":15362316333744128,"45":8924867849238824960},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-10-16 19:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792795648001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:35:36] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-10-16 19:35:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15362316333744128,"km_value":15362316333744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924867849238824960,"description":"Unknown IO ID 45"} 
[2026-10-16 19:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792795648001,"power":27115,"unknown_51":206,"unknown_19":45824,"ignition":60,"odometer":null,"unknown_45":8924867849238824960}} 
[2026-10-16 19:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":220188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:35:36] local.INFO: GPS data processed {"connection_id":220188,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:35:36] local.INFO: Acknowledgment sent {"connection_id":220188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:35:38] local.INFO: TCP Data received {"connection_id":220188,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a14505cb10012d7bd28005dd74800000016025..."} 
[2026-10-16 19:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14505cb10012d7bd28005dd74800000016025..."} 
[2026-10-16 19:35:38] local.INFO: Processing buffer {"connection_id":220188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14505cb10012d7bd28005dd74800000016025..."} 
[2026-10-16 19:35:38] local.INFO: Packet analysis {"connection_id":220188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14505"} 
[2026-10-16 19:35:38] local.INFO: Extracted packet for processing {"connection_id":220188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14505"} 
[2026-10-16 19:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763089536,"raw_latitude":98399360,"longitude_deg":76.3089536,"latitude_deg":9.839936,"altitude":0,"angle":352,"satellites":37,"speed":59,"hex_longitude":"2d7bd280","hex_latitude":"05dd7480","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792797184001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15362745830473728,"note":"Value kept but may cause issues"} 
[2026-10-16 19:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923601211845902336,"note":"Value kept but may cause issues"} 
[2026-10-16 19:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792159370000,"timestamp_ms":1792159370000,"timestamp_seconds":1792159370,"priority":1,"record_length":96,"hex_timestamp":"000001a14505cb10"} 
[2026-10-16 19:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:35: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-10-16 19: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 19:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19: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-10-16 19:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":220188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":220188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":220188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792797184001,"66":27234,"51":206,"19":45824,"24":59,"16":15362745830473728,"45":8923601211845902336},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-10-16 19:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792797184001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:35:38] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-10-16 19:35:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-10-16 19:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15362745830473728,"km_value":15362745830473.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923601211845902336,"description":"Unknown IO ID 45"} 
[2026-10-16 19:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792797184001,"power":27234,"unknown_51":206,"unknown_19":45824,"ignition":59,"odometer":null,"unknown_45":8923601211845902336}} 
[2026-10-16 19:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":220188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:35:38] local.INFO: GPS data processed {"connection_id":220188,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:35:38] local.INFO: Acknowledgment sent {"connection_id":220188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:36:15] local.INFO: TCP Data received {"connection_id":220189,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:36:15] local.INFO: Processing buffer {"connection_id":220189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:36:15] local.INFO: IMEI packet received {"connection_id":220189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":220189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:36:17] local.INFO: TCP Data received {"connection_id":220189,"ip":"117.225.177.112","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 19:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220189,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 19:36:17] local.INFO: Processing buffer {"connection_id":220189,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 19:36:17] local.INFO: IMEI packet received {"connection_id":220189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":220189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:36:18] local.INFO: TCP Data received {"connection_id":220189,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:36:18] local.INFO: Processing buffer {"connection_id":220189,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 19:36:18] local.INFO: IMEI packet received {"connection_id":220189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":220189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:37:25] local.INFO: TCP Data received {"connection_id":218455,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:37:25] local.INFO: Processing buffer {"connection_id":218455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:37:25] local.INFO: IMEI packet received {"connection_id":218455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":218455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:37:50] local.INFO: TCP Data received {"connection_id":220191,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:37:50] local.INFO: Processing buffer {"connection_id":220191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:37:50] local.INFO: IMEI packet received {"connection_id":220191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":220191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:41:19] local.INFO: TCP Data received {"connection_id":220193,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:19] local.INFO: Processing buffer {"connection_id":220193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:19] local.INFO: IMEI packet received {"connection_id":220193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":220193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:41:21] local.INFO: TCP Data received {"connection_id":220193,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a1450c9558012d7b73c005e3e3c8000a00202e..."} 
[2026-10-16 19:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1450c9558012d7b73c005e3e3c8000a00202e..."} 
[2026-10-16 19:41:21] local.INFO: Processing buffer {"connection_id":220193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1450c9558012d7b73c005e3e3c8000a00202e..."} 
[2026-10-16 19:41:21] local.INFO: Packet analysis {"connection_id":220193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1450c"} 
[2026-10-16 19:41:21] local.INFO: Extracted packet for processing {"connection_id":220193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1450c"} 
[2026-10-16 19:41:21] local.INFO: GPS Element Parsed {"raw_longitude":763065280,"raw_latitude":98821064,"longitude_deg":76.306528,"latitude_deg":9.8821064,"altitude":10,"angle":32,"satellites":46,"speed":40,"hex_longitude":"2d7b73c0","hex_latitude":"05e3e3c8","is_valid_coordinates":true} 
[2026-10-16 19:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792910080001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15383799760158720,"note":"Value kept but may cause issues"} 
[2026-10-16 19:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889824214748827648,"note":"Value kept but may cause issues"} 
[2026-10-16 19:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792159815000,"timestamp_ms":1792159815000,"timestamp_seconds":1792159815,"priority":1,"record_length":96,"hex_timestamp":"000001a1450c9558"} 
[2026-10-16 19:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:41: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-10-16 19:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:41:21] 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-10-16 19:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":220193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":220193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":220193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792910080001,"66":27071,"21":206,"9":25088,"24":40,"16":15383799760158720,"45":8889824214748827648},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,45]} 
[2026-10-16 19:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792910080001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:41:21] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 19:41:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15383799760158720,"km_value":15383799760158.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889824214748827648,"description":"Unknown IO ID 45"} 
[2026-10-16 19:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792910080001,"power":27071,"unknown_21":206,"unknown_9":25088,"ignition":40,"odometer":null,"unknown_45":8889824214748827648}} 
[2026-10-16 19:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":220193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:41:21] local.INFO: GPS data processed {"connection_id":220193,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:41:21] local.INFO: Acknowledgment sent {"connection_id":220193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:41:47] local.INFO: TCP Data received {"connection_id":217123,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:47] local.INFO: Processing buffer {"connection_id":217123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:47] local.INFO: IMEI packet received {"connection_id":217123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":217123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:41:47] local.INFO: TCP Data received {"connection_id":217123,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:47] local.INFO: Processing buffer {"connection_id":217123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:47] local.INFO: IMEI packet received {"connection_id":217123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":217123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:41:52] local.INFO: TCP Data received {"connection_id":217123,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:52] local.INFO: Processing buffer {"connection_id":217123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:41:52] local.INFO: IMEI packet received {"connection_id":217123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":217123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:41:54] local.INFO: TCP Data received {"connection_id":217123,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a1450cb880012d7b874005e401f0000b00212d..."} 
[2026-10-16 19:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1450cb880012d7b874005e401f0000b00212d..."} 
[2026-10-16 19:41:54] local.INFO: Processing buffer {"connection_id":217123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1450cb880012d7b874005e401f0000b00212d..."} 
[2026-10-16 19:41:54] local.INFO: Packet analysis {"connection_id":217123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1450c"} 
[2026-10-16 19:41:54] local.INFO: Extracted packet for processing {"connection_id":217123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1450c"} 
[2026-10-16 19:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763070272,"raw_latitude":98828784,"longitude_deg":76.3070272,"latitude_deg":9.8828784,"altitude":11,"angle":33,"satellites":45,"speed":42,"hex_longitude":"2d7b8740","hex_latitude":"05e401f0","is_valid_coordinates":true} 
[2026-10-16 19:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792912640001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15384242141790208,"note":"Value kept but may cause issues"} 
[2026-10-16 19:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895664820517586944,"note":"Value kept but may cause issues"} 
[2026-10-16 19:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792159824000,"timestamp_ms":1792159824000,"timestamp_seconds":1792159824,"priority":1,"record_length":96,"hex_timestamp":"000001a1450cb880"} 
[2026-10-16 19:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 19:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792912640001,"66":27213,"21":206,"9":25088,"24":42,"16":15384242141790208,"45":8895664820517586944},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,45]} 
[2026-10-16 19:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792912640001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:41:54] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 19:41:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15384242141790208,"km_value":15384242141790.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895664820517586944,"description":"Unknown IO ID 45"} 
[2026-10-16 19:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792912640001,"power":27213,"unknown_21":206,"unknown_9":25088,"ignition":42,"odometer":null,"unknown_45":8895664820517586944}} 
[2026-10-16 19:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":217123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:41:54] local.INFO: GPS data processed {"connection_id":217123,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:41:54] local.INFO: Acknowledgment sent {"connection_id":217123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:42:16] local.INFO: TCP Data received {"connection_id":216899,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 19:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216899,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 19:42:16] local.INFO: Processing buffer {"connection_id":216899,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 19:42:16] local.INFO: Packet analysis {"connection_id":216899,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 19:42:16] local.INFO: Extracted packet for processing {"connection_id":216899,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 19:42:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 19:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-10-16 19:42:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-10-16 19:42:16] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-10-16 19:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-10-16 19:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-10-16 19:42:16] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216899,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-10-16 19:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216899,"device_imei":null,"avl_records_count":1} 
[2026-10-16 19:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216899,"device_imei":null,"avl_records_count":1} 
[2026-10-16 19:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":216899,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 19:42:16] local.INFO: GPS data processed {"connection_id":216899,"processed":0,"errors":0,"total":1} 
[2026-10-16 19:42:16] local.INFO: Acknowledgment sent {"connection_id":216899,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:42:19] local.INFO: TCP Data received {"connection_id":217124,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 19:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217124,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 19:42:19] local.INFO: Processing buffer {"connection_id":217124,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-10-16 19:42:19] local.INFO: Packet analysis {"connection_id":217124,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 19:42:19] local.INFO: Extracted packet for processing {"connection_id":217124,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-10-16 19:42:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 19:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-10-16 19:42:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-10-16 19:42:19] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-10-16 19:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-10-16 19:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-10-16 19:42:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":217124,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-10-16 19:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":217124,"device_imei":null,"avl_records_count":1} 
[2026-10-16 19:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":217124,"device_imei":null,"avl_records_count":1} 
[2026-10-16 19:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":217124,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 19:42:19] local.INFO: GPS data processed {"connection_id":217124,"processed":0,"errors":0,"total":1} 
[2026-10-16 19:42:19] local.INFO: Acknowledgment sent {"connection_id":217124,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:42:25] local.INFO: TCP Data received {"connection_id":217123,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a1450cdba8012d7b9cc005e42268000c00212d..."} 
[2026-10-16 19:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1450cdba8012d7b9cc005e42268000c00212d..."} 
[2026-10-16 19:42:25] local.INFO: Processing buffer {"connection_id":217123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1450cdba8012d7b9cc005e42268000c00212d..."} 
[2026-10-16 19:42:25] local.INFO: Packet analysis {"connection_id":217123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1450c"} 
[2026-10-16 19:42:25] local.INFO: Extracted packet for processing {"connection_id":217123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1450c"} 
[2026-10-16 19:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763075776,"raw_latitude":98837096,"longitude_deg":76.3075776,"latitude_deg":9.8837096,"altitude":12,"angle":33,"satellites":45,"speed":45,"hex_longitude":"2d7b9cc0","hex_latitude":"05e42268","is_valid_coordinates":true} 
[2026-10-16 19:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792914944001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15384723178127360,"note":"Value kept but may cause issues"} 
[2026-10-16 19:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901153582565421056,"note":"Value kept but may cause issues"} 
[2026-10-16 19:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792159833000,"timestamp_ms":1792159833000,"timestamp_seconds":1792159833,"priority":1,"record_length":96,"hex_timestamp":"000001a1450cdba8"} 
[2026-10-16 19:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:42: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-10-16 19:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 19:42: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-10-16 19:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792914944001,"66":27213,"21":206,"9":25088,"24":45,"16":15384723178127360,"45":8901153582565421056},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,45]} 
[2026-10-16 19:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792914944001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:42:25] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 19:42:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15384723178127360,"km_value":15384723178127.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901153582565421056,"description":"Unknown IO ID 45"} 
[2026-10-16 19:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792914944001,"power":27213,"unknown_21":206,"unknown_9":25088,"ignition":45,"odometer":null,"unknown_45":8901153582565421056}} 
[2026-10-16 19:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":217123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:42:25] local.INFO: GPS data processed {"connection_id":217123,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:42:25] local.INFO: Acknowledgment sent {"connection_id":217123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:42:48] local.INFO: TCP Data received {"connection_id":220194,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:42:48] local.INFO: Processing buffer {"connection_id":220194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:42:48] local.INFO: IMEI packet received {"connection_id":220194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":220194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:42:48] local.INFO: TCP Data received {"connection_id":220194,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:42:48] local.INFO: Processing buffer {"connection_id":220194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:42:48] local.INFO: IMEI packet received {"connection_id":220194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":220194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:42:52] local.INFO: TCP Data received {"connection_id":220194,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:42:52] local.INFO: Processing buffer {"connection_id":220194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:42:52] local.INFO: IMEI packet received {"connection_id":220194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":220194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:42:54] local.INFO: TCP Data received {"connection_id":220194,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a1450cfae8012d7bb1c005e44200000d00202e..."} 
[2026-10-16 19:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1450cfae8012d7bb1c005e44200000d00202e..."} 
[2026-10-16 19:42:54] local.INFO: Processing buffer {"connection_id":220194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1450cfae8012d7bb1c005e44200000d00202e..."} 
[2026-10-16 19:42:54] local.INFO: Packet analysis {"connection_id":220194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1450c"} 
[2026-10-16 19:42:54] local.INFO: Extracted packet for processing {"connection_id":220194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1450c"} 
[2026-10-16 19:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763081152,"raw_latitude":98845184,"longitude_deg":76.3081152,"latitude_deg":9.8845184,"altitude":13,"angle":32,"satellites":46,"speed":50,"hex_longitude":"2d7bb1c0","hex_latitude":"05e44200","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792917248001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15385191329562624,"note":"Value kept but may cause issues"} 
[2026-10-16 19:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907205294566828032,"note":"Value kept but may cause issues"} 
[2026-10-16 19:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792159841000,"timestamp_ms":1792159841000,"timestamp_seconds":1792159841,"priority":1,"record_length":96,"hex_timestamp":"000001a1450cfae8"} 
[2026-10-16 19:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 19:42:54] 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-10-16 19:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792917248001,"66":27343,"21":206,"9":25088,"24":50,"16":15385191329562624,"45":8907205294566828032},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,45]} 
[2026-10-16 19:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792917248001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:42:54] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-10-16 19:42:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15385191329562624,"km_value":15385191329562.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907205294566828032,"description":"Unknown IO ID 45"} 
[2026-10-16 19:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792917248001,"power":27343,"unknown_21":206,"unknown_9":25088,"ignition":50,"odometer":null,"unknown_45":8907205294566828032}} 
[2026-10-16 19:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":220194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:42:54] local.INFO: GPS data processed {"connection_id":220194,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:42:54] local.INFO: Acknowledgment sent {"connection_id":220194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:43:05] local.INFO: TCP Data received {"connection_id":220195,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:43:05] local.INFO: Processing buffer {"connection_id":220195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:43:05] local.INFO: IMEI packet received {"connection_id":220195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":220195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:43:25] local.INFO: TCP Data received {"connection_id":220194,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a1450e5690012d7c77c005e5a3600004000b2c..."} 
[2026-10-16 19:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1450e5690012d7c77c005e5a3600004000b2c..."} 
[2026-10-16 19:43:25] local.INFO: Processing buffer {"connection_id":220194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1450e5690012d7c77c005e5a3600004000b2c..."} 
[2026-10-16 19:43:25] local.INFO: Packet analysis {"connection_id":220194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1450e"} 
[2026-10-16 19:43:25] local.INFO: Extracted packet for processing {"connection_id":220194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1450e"} 
[2026-10-16 19:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763131840,"raw_latitude":98935648,"longitude_deg":76.313184,"latitude_deg":9.8935648,"altitude":4,"angle":11,"satellites":44,"speed":53,"hex_longitude":"2d7c77c0","hex_latitude":"05e5a360","is_valid_coordinates":true} 
[2026-10-16 19:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792940288001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15390233621168128,"note":"Value kept but may cause issues"} 
[2026-10-16 19:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966103933466249216,"note":"Value kept but may cause issues"} 
[2026-10-16 19:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792159930000,"timestamp_ms":1792159930000,"timestamp_seconds":1792159930,"priority":1,"record_length":96,"hex_timestamp":"000001a1450e5690"} 
[2026-10-16 19:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:43: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-10-16 19:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 19:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":220194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":220194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":220194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792940288001,"66":27310,"20":206,"9":25088,"24":53,"16":15390233621168128,"45":8966103933466249216},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,9,24,16,45]} 
[2026-10-16 19:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792940288001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:43:25] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-10-16 19:43:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15390233621168128,"km_value":15390233621168.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966103933466249216,"description":"Unknown IO ID 45"} 
[2026-10-16 19:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792940288001,"power":27310,"unknown_20":206,"unknown_9":25088,"ignition":53,"odometer":null,"unknown_45":8966103933466249216}} 
[2026-10-16 19:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":220194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:43:25] local.INFO: GPS data processed {"connection_id":220194,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:43:25] local.INFO: Acknowledgment sent {"connection_id":220194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:43:47] local.INFO: TCP Data received {"connection_id":218459,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:43:47] local.INFO: Processing buffer {"connection_id":218459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:43:47] local.INFO: IMEI packet received {"connection_id":218459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":218459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:43:50] local.INFO: TCP Data received {"connection_id":220196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:43:50] local.INFO: Processing buffer {"connection_id":220196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:43:50] local.INFO: IMEI packet received {"connection_id":220196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":220196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:43:52] local.INFO: TCP Data received {"connection_id":218459,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:43:52] local.INFO: Processing buffer {"connection_id":218459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:43:52] local.INFO: IMEI packet received {"connection_id":218459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":218459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:43:54] local.INFO: TCP Data received {"connection_id":218459,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a1450e79b8012d7c7dc005e5c7f8000300082d..."} 
[2026-10-16 19:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1450e79b8012d7c7dc005e5c7f8000300082d..."} 
[2026-10-16 19:43:54] local.INFO: Processing buffer {"connection_id":218459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1450e79b8012d7c7dc005e5c7f8000300082d..."} 
[2026-10-16 19:43:54] local.INFO: Packet analysis {"connection_id":218459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1450e"} 
[2026-10-16 19:43:54] local.INFO: Extracted packet for processing {"connection_id":218459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1450e"} 
[2026-10-16 19:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763133376,"raw_latitude":98945016,"longitude_deg":76.3133376,"latitude_deg":9.8945016,"altitude":3,"angle":8,"satellites":45,"speed":33,"hex_longitude":"2d7c7dc0","hex_latitude":"05e5c7f8","is_valid_coordinates":true} 
[2026-10-16 19:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792942080001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15390693182668800,"note":"Value kept but may cause issues"} 
[2026-10-16 19:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968848314491691008,"note":"Value kept but may cause issues"} 
[2026-10-16 19:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792159939000,"timestamp_ms":1792159939000,"timestamp_seconds":1792159939,"priority":1,"record_length":96,"hex_timestamp":"000001a1450e79b8"} 
[2026-10-16 19:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 19:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792942080001,"66":27300,"20":206,"9":25088,"24":33,"16":15390693182668800,"45":8968848314491691008},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,9,24,16,45]} 
[2026-10-16 19:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792942080001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:43:54] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-10-16 19:43:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15390693182668800,"km_value":15390693182668.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968848314491691008,"description":"Unknown IO ID 45"} 
[2026-10-16 19:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792942080001,"power":27300,"unknown_20":206,"unknown_9":25088,"ignition":33,"odometer":null,"unknown_45":8968848314491691008}} 
[2026-10-16 19:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":218459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:43:54] local.INFO: GPS data processed {"connection_id":218459,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:43:54] local.INFO: Acknowledgment sent {"connection_id":218459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:44:26] local.INFO: TCP Data received {"connection_id":218459,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a1450ecbc0012d7c828005e5e158000300072d..."} 
[2026-10-16 19:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1450ecbc0012d7c828005e5e158000300072d..."} 
[2026-10-16 19:44:26] local.INFO: Processing buffer {"connection_id":218459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1450ecbc0012d7c828005e5e158000300072d..."} 
[2026-10-16 19:44:26] local.INFO: Packet analysis {"connection_id":218459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1450e"} 
[2026-10-16 19:44:26] local.INFO: Extracted packet for processing {"connection_id":218459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1450e"} 
[2026-10-16 19:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98951512,"longitude_deg":76.3134592,"latitude_deg":9.8951512,"altitude":3,"angle":7,"satellites":45,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05e5e158","is_valid_coordinates":true} 
[2026-10-16 19:44: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-10-16 19:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792944384001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15391015305216000,"note":"Value kept but may cause issues"} 
[2026-10-16 19:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970537164354353152,"note":"Value kept but may cause issues"} 
[2026-10-16 19:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792159960000,"timestamp_ms":1792159960000,"timestamp_seconds":1792159960,"priority":1,"record_length":96,"hex_timestamp":"000001a1450ecbc0"} 
[2026-10-16 19:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:44: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-10-16 19:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 19:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:44: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-10-16 19:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":218459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":218459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":218459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792944384001,"66":27376,"20":206,"9":25088,"24":0,"16":15391015305216000,"45":8970537164354353152},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,9,24,16,45]} 
[2026-10-16 19:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792944384001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:44:26] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-10-16 19:44:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15391015305216000,"km_value":15391015305216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970537164354353152,"description":"Unknown IO ID 45"} 
[2026-10-16 19:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792944384001,"power":27376,"unknown_20":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8970537164354353152}} 
[2026-10-16 19:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":218459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:44:26] local.INFO: GPS data processed {"connection_id":218459,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:44:26] local.INFO: Acknowledgment sent {"connection_id":218459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:44:57] local.INFO: TCP Data received {"connection_id":220197,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:44:57] local.INFO: Processing buffer {"connection_id":220197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:44:57] local.INFO: IMEI packet received {"connection_id":220197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":220197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:44:58] local.INFO: TCP Data received {"connection_id":220197,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:44:58] local.INFO: Processing buffer {"connection_id":220197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:44:58] local.INFO: IMEI packet received {"connection_id":220197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":220197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:45:03] local.INFO: TCP Data received {"connection_id":220197,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:03] local.INFO: Processing buffer {"connection_id":220197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:03] local.INFO: IMEI packet received {"connection_id":220197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":220197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:45:05] local.INFO: TCP Data received {"connection_id":220197,"ip":"117.225.177.112","data_length":1360,"data_hex":"000000000000030f8e0a000001a1450f1dc8012d7c828005e5e158000300072b..."} 
[2026-10-16 19:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220197,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1450f1dc8012d7c828005e5e158000300072b..."} 
[2026-10-16 19:45:05] local.INFO: Processing buffer {"connection_id":220197,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a1450f1dc8012d7c828005e5e158000300072b..."} 
[2026-10-16 19:45:05] local.INFO: Packet analysis {"connection_id":220197,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a1450f"} 
[2026-10-16 19:45:05] local.INFO: Extracted packet for processing {"connection_id":220197,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1450f"} 
[2026-10-16 19:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98951512,"longitude_deg":76.3134592,"latitude_deg":9.8951512,"altitude":3,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d7c8280","hex_latitude":"05e5e158","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792949760001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15391015305216000,"note":"Value kept but may cause issues"} 
[2026-10-16 19:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971874170495391744,"note":"Value kept but may cause issues"} 
[2026-10-16 19:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792159981000,"timestamp_ms":1792159981000,"timestamp_seconds":1792159981,"priority":1,"record_length":96,"hex_timestamp":"000001a1450f1dc8"} 
[2026-10-16 19:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:45: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-10-16 19:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 19:45: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-10-16 19: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-10-16 19:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":220197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":220197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":220197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792949760001,"66":27397,"20":206,"9":25088,"24":0,"16":15391015305216000,"45":8971874170495391744},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,9,24,16,45]} 
[2026-10-16 19:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792949760001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:45:05] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-10-16 19:45:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15391015305216000,"km_value":15391015305216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971874170495391744,"description":"Unknown IO ID 45"} 
[2026-10-16 19:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792949760001,"power":27397,"unknown_20":206,"unknown_9":25088,"ignition":0,"odometer":null,"unknown_45":8971874170495391744}} 
[2026-10-16 19:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":220197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:45:05] local.INFO: GPS data processed {"connection_id":220197,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:45:05] local.INFO: Acknowledgment sent {"connection_id":220197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:45:05] local.INFO: Packet analysis {"connection_id":220197,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1450f"} 
[2026-10-16 19:45:05] local.INFO: Incomplete packet, waiting for more data {"connection_id":220197,"needed":795,"available":565} 
[2026-10-16 19:45:11] local.INFO: TCP Data received {"connection_id":220197,"ip":"117.225.177.112","data_length":230,"data_hex":"2d7c51c005e53ac00007001b2d00290000000a000400ef0100715f00f0010045..."} 
[2026-10-16 19:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220197,"packet_length":230,"packet_hex":"2d7c51c005e53ac00007001b2d00290000000a000400ef0100715f00f0010045..."} 
[2026-10-16 19:45:11] local.INFO: Processing buffer {"connection_id":220197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1450f6fd0012d7c834005e5e3800000000729..."} 
[2026-10-16 19:45:11] local.INFO: Packet analysis {"connection_id":220197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1450f"} 
[2026-10-16 19:45:11] local.INFO: Extracted packet for processing {"connection_id":220197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1450f"} 
[2026-10-16 19:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763134784,"raw_latitude":98952064,"longitude_deg":76.3134784,"latitude_deg":9.8952064,"altitude":0,"angle":7,"satellites":41,"speed":2,"hex_longitude":"2d7c8340","hex_latitude":"05e5e380","is_valid_coordinates":true} 
[2026-10-16 19:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792955136001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15391045369987072,"note":"Value kept but may cause issues"} 
[2026-10-16 19:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971874170495391744,"note":"Value kept but may cause issues"} 
[2026-10-16 19:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1792160002000,"timestamp_ms":1792160002000,"timestamp_seconds":1792160002,"priority":1,"record_length":96,"hex_timestamp":"000001a1450f6fd0"} 
[2026-10-16 19:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:45: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-10-16 19:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 19:45:11] 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-10-16 19:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":220197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":220197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":220197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792955136001,"66":27376,"20":206,"9":25088,"24":2,"16":15391045369987072,"45":8971874170495391744},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,9,24,16,45]} 
[2026-10-16 19:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792955136001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:45:11] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-10-16 19:45:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15391045369987072,"km_value":15391045369987.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971874170495391744,"description":"Unknown IO ID 45"} 
[2026-10-16 19:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792955136001,"power":27376,"unknown_20":206,"unknown_9":25088,"ignition":2,"odometer":null,"unknown_45":8971874170495391744}} 
[2026-10-16 19:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":220197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:45:11] local.INFO: GPS data processed {"connection_id":220197,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:45:11] local.INFO: Acknowledgment sent {"connection_id":220197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:45:47] local.INFO: TCP Data received {"connection_id":216900,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:47] local.INFO: Processing buffer {"connection_id":216900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:47] local.INFO: IMEI packet received {"connection_id":216900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":216900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:45:47] local.INFO: TCP Data received {"connection_id":216900,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:47] local.INFO: Processing buffer {"connection_id":216900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:47] local.INFO: IMEI packet received {"connection_id":216900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":216900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:45:52] local.INFO: TCP Data received {"connection_id":216900,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:52] local.INFO: Processing buffer {"connection_id":216900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:45:52] local.INFO: IMEI packet received {"connection_id":216900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":216900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:45:53] local.INFO: TCP Data received {"connection_id":216900,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a1450fc1d8012d7c88c005e5fe500003000c27..."} 
[2026-10-16 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1450fc1d8012d7c88c005e5fe500003000c27..."} 
[2026-10-16 19:45:53] local.INFO: Processing buffer {"connection_id":216900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1450fc1d8012d7c88c005e5fe500003000c27..."} 
[2026-10-16 19:45:53] local.INFO: Packet analysis {"connection_id":216900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1450f"} 
[2026-10-16 19:45:53] local.INFO: Extracted packet for processing {"connection_id":216900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1450f"} 
[2026-10-16 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":763136192,"raw_latitude":98958928,"longitude_deg":76.3136192,"latitude_deg":9.8958928,"altitude":3,"angle":12,"satellites":39,"speed":32,"hex_longitude":"2d7c88c0","hex_latitude":"05e5fe50","is_valid_coordinates":true} 
[2026-10-16 19:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792960512001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15391384672403456,"note":"Value kept but may cause issues"} 
[2026-10-16 19:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972085276728066048,"note":"Value kept but may cause issues"} 
[2026-10-16 19:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792160023000,"timestamp_ms":1792160023000,"timestamp_seconds":1792160023,"priority":1,"record_length":96,"hex_timestamp":"000001a1450fc1d8"} 
[2026-10-16 19:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:45: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-10-16 19:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 19:45:53] 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-10-16 19:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792960512001,"66":27267,"179":206,"9":25088,"24":32,"16":15391384672403456,"45":8972085276728066048},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,9,24,16,45]} 
[2026-10-16 19:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792960512001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:45:54] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-10-16 19:45:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15391384672403456,"km_value":15391384672403.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972085276728066048,"description":"Unknown IO ID 45"} 
[2026-10-16 19:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792960512001,"power":27267,"unknown_179":206,"unknown_9":25088,"ignition":32,"odometer":null,"unknown_45":8972085276728066048}} 
[2026-10-16 19:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":216900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:45:54] local.INFO: GPS data processed {"connection_id":216900,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:45:54] local.INFO: Acknowledgment sent {"connection_id":216900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:46:24] local.INFO: TCP Data received {"connection_id":216900,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a1451167b8012d7cf50005e7f1900004000c2c..."} 
[2026-10-16 19:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451167b8012d7cf50005e7f1900004000c2c..."} 
[2026-10-16 19:46:24] local.INFO: Processing buffer {"connection_id":216900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451167b8012d7cf50005e7f1900004000c2c..."} 
[2026-10-16 19:46:24] local.INFO: Packet analysis {"connection_id":216900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14511"} 
[2026-10-16 19:46:24] local.INFO: Extracted packet for processing {"connection_id":216900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14511"} 
[2026-10-16 19:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763163904,"raw_latitude":99086736,"longitude_deg":76.3163904,"latitude_deg":9.9086736,"altitude":4,"angle":12,"satellites":44,"speed":58,"hex_longitude":"2d7cf500","hex_latitude":"05e7f190","is_valid_coordinates":true} 
[2026-10-16 19:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792992000001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15397724044132352,"note":"Value kept but may cause issues"} 
[2026-10-16 19:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001991993035765760,"note":"Value kept but may cause issues"} 
[2026-10-16 19:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792160131000,"timestamp_ms":1792160131000,"timestamp_seconds":1792160131,"priority":1,"record_length":96,"hex_timestamp":"000001a1451167b8"} 
[2026-10-16 19:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:46: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-10-16 19:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 19:46:24] 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-10-16 19:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792992000001,"66":27397,"173":206,"9":25088,"24":58,"16":15397724044132352,"45":9001991993035765760},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16,45]} 
[2026-10-16 19:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792992000001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:46:25] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-10-16 19:46:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15397724044132352,"km_value":15397724044132.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001991993035765760,"description":"Unknown IO ID 45"} 
[2026-10-16 19:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792992000001,"power":27397,"unknown_173":206,"unknown_9":25088,"ignition":58,"odometer":null,"unknown_45":9001991993035765760}} 
[2026-10-16 19:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":216900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:46:25] local.INFO: GPS data processed {"connection_id":216900,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:46:25] local.INFO: Acknowledgment sent {"connection_id":216900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:46:47] local.INFO: TCP Data received {"connection_id":216901,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:46:47] local.INFO: Processing buffer {"connection_id":216901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:46:47] local.INFO: IMEI packet received {"connection_id":216901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":216901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:46:53] local.INFO: TCP Data received {"connection_id":216901,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:46:53] local.INFO: Processing buffer {"connection_id":216901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:46:53] local.INFO: IMEI packet received {"connection_id":216901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":216901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:46:54] local.INFO: TCP Data received {"connection_id":216901,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145117f28012d7cfb8005e813f0000400092d..."} 
[2026-10-16 19:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145117f28012d7cfb8005e813f0000400092d..."} 
[2026-10-16 19:46:54] local.INFO: Processing buffer {"connection_id":216901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145117f28012d7cfb8005e813f0000400092d..."} 
[2026-10-16 19:46:54] local.INFO: Packet analysis {"connection_id":216901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14511"} 
[2026-10-16 19:46:54] local.INFO: Extracted packet for processing {"connection_id":216901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14511"} 
[2026-10-16 19:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763165568,"raw_latitude":99095536,"longitude_deg":76.3165568,"latitude_deg":9.9095536,"altitude":4,"angle":9,"satellites":45,"speed":59,"hex_longitude":"2d7cfb80","hex_latitude":"05e813f0","is_valid_coordinates":true} 
[2026-10-16 19:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792993536001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15398157835829248,"note":"Value kept but may cause issues"} 
[2026-10-16 19:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004103055363379200,"note":"Value kept but may cause issues"} 
[2026-10-16 19:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792160137000,"timestamp_ms":1792160137000,"timestamp_seconds":1792160137,"priority":1,"record_length":96,"hex_timestamp":"000001a145117f28"} 
[2026-10-16 19:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 19:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792993536001,"66":27050,"173":206,"9":25088,"24":59,"16":15398157835829248,"45":9004103055363379200},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16,45]} 
[2026-10-16 19:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792993536001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:46:54] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-10-16 19:46:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15398157835829248,"km_value":15398157835829.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004103055363379200,"description":"Unknown IO ID 45"} 
[2026-10-16 19:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792993536001,"power":27050,"unknown_173":206,"unknown_9":25088,"ignition":59,"odometer":null,"unknown_45":9004103055363379200}} 
[2026-10-16 19:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":216901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:46:54] local.INFO: GPS data processed {"connection_id":216901,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:46:54] local.INFO: Acknowledgment sent {"connection_id":216901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:47:57] local.INFO: TCP Data received {"connection_id":220199,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:47:57] local.INFO: Processing buffer {"connection_id":220199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:47:57] local.INFO: IMEI packet received {"connection_id":220199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":220199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:48:03] local.INFO: TCP Data received {"connection_id":220199,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:03] local.INFO: Processing buffer {"connection_id":220199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:03] local.INFO: IMEI packet received {"connection_id":220199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":220199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:48:04] local.INFO: TCP Data received {"connection_id":220199,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145119a80012d7d000005e836480004000526..."} 
[2026-10-16 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145119a80012d7d000005e836480004000526..."} 
[2026-10-16 19:48:04] local.INFO: Processing buffer {"connection_id":220199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145119a80012d7d000005e836480004000526..."} 
[2026-10-16 19:48:04] local.INFO: Packet analysis {"connection_id":220199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14511"} 
[2026-10-16 19:48:04] local.INFO: Extracted packet for processing {"connection_id":220199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14511"} 
[2026-10-16 19:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763166720,"raw_latitude":99104328,"longitude_deg":76.316672,"latitude_deg":9.9104328,"altitude":4,"angle":5,"satellites":38,"speed":32,"hex_longitude":"2d7d0000","hex_latitude":"05e83648","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792995072001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15398587332558848,"note":"Value kept but may cause issues"} 
[2026-10-16 19:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005932642714251264,"note":"Value kept but may cause issues"} 
[2026-10-16 19:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792160144000,"timestamp_ms":1792160144000,"timestamp_seconds":1792160144,"priority":1,"record_length":96,"hex_timestamp":"000001a145119a80"} 
[2026-10-16 19:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:48: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-10-16 19: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 19:48:04] 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-10-16 19: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-10-16 19:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":220199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":220199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":220199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792995072001,"66":27343,"173":206,"9":25088,"24":32,"16":15398587332558848,"45":9005932642714251264},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16,45]} 
[2026-10-16 19:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792995072001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:48:04] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-10-16 19:48:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15398587332558848,"km_value":15398587332558.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005932642714251264,"description":"Unknown IO ID 45"} 
[2026-10-16 19:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792995072001,"power":27343,"unknown_173":206,"unknown_9":25088,"ignition":32,"odometer":null,"unknown_45":9005932642714251264}} 
[2026-10-16 19:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":220199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:48:04] local.INFO: GPS data processed {"connection_id":220199,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:48:04] local.INFO: Acknowledgment sent {"connection_id":220199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:48:47] local.INFO: TCP Data received {"connection_id":217126,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:48] local.INFO: Processing buffer {"connection_id":217126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:48] local.INFO: IMEI packet received {"connection_id":217126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":217126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:48:51] local.INFO: TCP Data received {"connection_id":217126,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:51] local.INFO: Processing buffer {"connection_id":217126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:51] local.INFO: IMEI packet received {"connection_id":217126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":217126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:48:53] local.INFO: TCP Data received {"connection_id":217126,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:53] local.INFO: Processing buffer {"connection_id":217126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:48:53] local.INFO: IMEI packet received {"connection_id":217126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":217126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:48:54] local.INFO: TCP Data received {"connection_id":217126,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a14511a638012d7d004005e83c900004016327..."} 
[2026-10-16 19:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14511a638012d7d004005e83c900004016327..."} 
[2026-10-16 19:48:54] local.INFO: Processing buffer {"connection_id":217126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14511a638012d7d004005e83c900004016327..."} 
[2026-10-16 19:48:54] local.INFO: Packet analysis {"connection_id":217126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14511"} 
[2026-10-16 19:48:54] local.INFO: Extracted packet for processing {"connection_id":217126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14511"} 
[2026-10-16 19:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763166784,"raw_latitude":99105936,"longitude_deg":76.3166784,"latitude_deg":9.9105936,"altitude":4,"angle":355,"satellites":39,"speed":12,"hex_longitude":"2d7d0040","hex_latitude":"05e83c90","is_valid_coordinates":true} 
[2026-10-16 19:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792996864001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15398664641970176,"note":"Value kept but may cause issues"} 
[2026-10-16 19:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007199280111699968,"note":"Value kept but may cause issues"} 
[2026-10-16 19:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792160147000,"timestamp_ms":1792160147000,"timestamp_seconds":1792160147,"priority":1,"record_length":96,"hex_timestamp":"000001a14511a638"} 
[2026-10-16 19:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":217126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":217126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":217126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792996864001,"66":27343,"173":206,"9":25088,"24":12,"16":15398664641970176,"45":9007199280111699968},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16,45]} 
[2026-10-16 19:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792996864001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:48:54] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-10-16 19:48:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15398664641970176,"km_value":15398664641970.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007199280111699968,"description":"Unknown IO ID 45"} 
[2026-10-16 19:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792996864001,"power":27343,"unknown_173":206,"unknown_9":25088,"ignition":12,"odometer":null,"unknown_45":9007199280111699968}} 
[2026-10-16 19:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":217126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:48:54] local.INFO: GPS data processed {"connection_id":217126,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:48:54] local.INFO: Acknowledgment sent {"connection_id":217126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:48:59] local.INFO: TCP Data received {"connection_id":217126,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a14511f840012d7d018005e856f0000400012a..."} 
[2026-10-16 19:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14511f840012d7d018005e856f0000400012a..."} 
[2026-10-16 19:48:59] local.INFO: Processing buffer {"connection_id":217126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14511f840012d7d018005e856f0000400012a..."} 
[2026-10-16 19:48:59] local.INFO: Packet analysis {"connection_id":217126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14511"} 
[2026-10-16 19:48:59] local.INFO: Extracted packet for processing {"connection_id":217126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14511"} 
[2026-10-16 19:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763167104,"raw_latitude":99112688,"longitude_deg":76.3167104,"latitude_deg":9.9112688,"altitude":4,"angle":1,"satellites":42,"speed":13,"hex_longitude":"2d7d0180","hex_latitude":"05e856f0","is_valid_coordinates":true} 
[2026-10-16 19:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792997632001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15398995354451968,"note":"Value kept but may cause issues"} 
[2026-10-16 19:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007269648856289280,"note":"Value kept but may cause issues"} 
[2026-10-16 19:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792160168000,"timestamp_ms":1792160168000,"timestamp_seconds":1792160168,"priority":1,"record_length":96,"hex_timestamp":"000001a14511f840"} 
[2026-10-16 19:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 19:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":217126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":217126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":217126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792997632001,"66":27365,"173":206,"9":25088,"24":13,"16":15398995354451968,"45":9007269648856289280},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16,45]} 
[2026-10-16 19:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792997632001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:48:59] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-10-16 19:48:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15398995354451968,"km_value":15398995354451.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007269648856289280,"description":"Unknown IO ID 45"} 
[2026-10-16 19:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792997632001,"power":27365,"unknown_173":206,"unknown_9":25088,"ignition":13,"odometer":null,"unknown_45":9007269648856289280}} 
[2026-10-16 19:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":217126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:48:59] local.INFO: GPS data processed {"connection_id":217126,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:48:59] local.INFO: Acknowledgment sent {"connection_id":217126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:49:05] local.INFO: TCP Data received {"connection_id":218462,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:49:05] local.INFO: Processing buffer {"connection_id":218462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:49:05] local.INFO: IMEI packet received {"connection_id":218462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":218462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:49:30] local.INFO: TCP Data received {"connection_id":217126,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145141738012d7d11c005e96290000600042d..."} 
[2026-10-16 19:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145141738012d7d11c005e96290000600042d..."} 
[2026-10-16 19:49:30] local.INFO: Processing buffer {"connection_id":217126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145141738012d7d11c005e96290000600042d..."} 
[2026-10-16 19:49:30] local.INFO: Packet analysis {"connection_id":217126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14514"} 
[2026-10-16 19:49:30] local.INFO: Extracted packet for processing {"connection_id":217126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14514"} 
[2026-10-16 19:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763171264,"raw_latitude":99181200,"longitude_deg":76.3171264,"latitude_deg":9.91812,"altitude":6,"angle":4,"satellites":45,"speed":56,"hex_longitude":"2d7d11c0","hex_latitude":"05e96290","is_valid_coordinates":true} 
[2026-10-16 19:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793036800001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15402323954106368,"note":"Value kept but may cause issues"} 
[2026-10-16 19:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011491773523742720,"note":"Value kept but may cause issues"} 
[2026-10-16 19:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792160307000,"timestamp_ms":1792160307000,"timestamp_seconds":1792160307,"priority":1,"record_length":96,"hex_timestamp":"000001a145141738"} 
[2026-10-16 19:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 19:49:30] 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-10-16 19:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793036800001,"66":27300,"172":206,"9":25088,"24":56,"16":15402323954106368,"45":9011491773523742720},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,45]} 
[2026-10-16 19:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793036800001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:49:30] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-10-16 19:49:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15402323954106368,"km_value":15402323954106.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011491773523742720,"description":"Unknown IO ID 45"} 
[2026-10-16 19:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793036800001,"power":27300,"unknown_172":206,"unknown_9":25088,"ignition":56,"odometer":null,"unknown_45":9011491773523742720}} 
[2026-10-16 19:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":217126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:49:30] local.INFO: GPS data processed {"connection_id":217126,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:49:30] local.INFO: Acknowledgment sent {"connection_id":217126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:49:48] local.INFO: TCP Data received {"connection_id":216903,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:49:48] local.INFO: Processing buffer {"connection_id":216903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:49:48] local.INFO: IMEI packet received {"connection_id":216903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":216903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:49:50] local.INFO: TCP Data received {"connection_id":216904,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:49:50] local.INFO: Processing buffer {"connection_id":216904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:49:50] local.INFO: IMEI packet received {"connection_id":216904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":216904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:49:53] local.INFO: TCP Data received {"connection_id":216903,"ip":"117.225.177.112","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:49:53] local.INFO: Processing buffer {"connection_id":216903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:49:53] local.INFO: IMEI packet received {"connection_id":216903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":216903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:49:55] local.INFO: TCP Data received {"connection_id":216904,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:49:55] local.INFO: Processing buffer {"connection_id":216904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:49:55] local.INFO: IMEI packet received {"connection_id":216904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 19:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":216904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:49:56] local.INFO: TCP Data received {"connection_id":216904,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a14506bd40012cbd1680076ce3f0003e00a530..."} 
[2026-10-16 19:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14506bd40012cbd1680076ce3f0003e00a530..."} 
[2026-10-16 19:49:56] local.INFO: Processing buffer {"connection_id":216904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14506bd40012cbd1680076ce3f0003e00a530..."} 
[2026-10-16 19:49:56] local.INFO: Packet analysis {"connection_id":216904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14506"} 
[2026-10-16 19:49:56] local.INFO: Extracted packet for processing {"connection_id":216904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14506"} 
[2026-10-16 19:49:56] local.INFO: GPS Element Parsed {"raw_longitude":750589568,"raw_latitude":124576752,"longitude_deg":75.0589568,"latitude_deg":12.4576752,"altitude":62,"angle":165,"satellites":48,"speed":0,"hex_longitude":"2cbd1680","hex_latitude":"076ce3f0","is_valid_coordinates":true} 
[2026-10-16 19:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458792813824001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 19:49:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4821525581673533440,"note":"Value kept but may cause issues"} 
[2026-10-16 19:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792159432000,"timestamp_ms":1792159432000,"timestamp_seconds":1792159432,"priority":1,"record_length":96,"hex_timestamp":"000001a14506bd40"} 
[2026-10-16 19:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-10-16 19:49:56] 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-10-16 19:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 19:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 19:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 19:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 19:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458792813824001,"66":27908,"43":206,"85":37888,"24":0,"16":13211598575370240,"44":-4821525581673533440},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,44]} 
[2026-10-16 19:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 19:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 19:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458792813824001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:49:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-10-16 19:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-10-16 19:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:49:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4821525581673533440,"description":"Unknown IO ID 44"} 
[2026-10-16 19:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458792813824001,"power":27908,"unknown_43":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-4821525581673533440}} 
[2026-10-16 19:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":216904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:49:56] local.INFO: GPS data processed {"connection_id":216904,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:49:56] local.INFO: Acknowledgment sent {"connection_id":216904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:49:58] local.INFO: TCP Data received {"connection_id":216903,"ip":"117.225.177.112","data_length":795,"data_hex":"000000000000030f8e0a000001a145143290012d7d13c005e987c8000800022d..."} 
[2026-10-16 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145143290012d7d13c005e987c8000800022d..."} 
[2026-10-16 19:49:58] local.INFO: Processing buffer {"connection_id":216903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145143290012d7d13c005e987c8000800022d..."} 
[2026-10-16 19:49:58] local.INFO: Packet analysis {"connection_id":216903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14514"} 
[2026-10-16 19:49:58] local.INFO: Extracted packet for processing {"connection_id":216903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14514"} 
[2026-10-16 19:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763171776,"raw_latitude":99190728,"longitude_deg":76.3171776,"latitude_deg":9.9190728,"altitude":8,"angle":2,"satellites":45,"speed":38,"hex_longitude":"2d7d13c0","hex_latitude":"05e987c8","is_valid_coordinates":true} 
[2026-10-16 19:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 19:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793038592001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15402787810574336,"note":"Value kept but may cause issues"} 
[2026-10-16 19:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012195460967993344,"note":"Value kept but may cause issues"} 
[2026-10-16 19:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792160314000,"timestamp_ms":1792160314000,"timestamp_seconds":1792160314,"priority":1,"record_length":96,"hex_timestamp":"000001a145143290"} 
[2026-10-16 19:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 19:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 19:49:58] 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-10-16 19:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 19:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.177.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793038592001,"66":27267,"172":206,"9":25088,"24":38,"16":15402787810574336,"45":9012195460967993344},"client_ip":"117.225.177.112","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,45]} 
[2026-10-16 19:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793038592001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:49:58] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-10-16 19:49:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-10-16 19:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15402787810574336,"km_value":15402787810574.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012195460967993344,"description":"Unknown IO ID 45"} 
[2026-10-16 19:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793038592001,"power":27267,"unknown_172":206,"unknown_9":25088,"ignition":38,"odometer":null,"unknown_45":9012195460967993344}} 
[2026-10-16 19:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":216903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:49:58] local.INFO: GPS data processed {"connection_id":216903,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:49:58] local.INFO: Acknowledgment sent {"connection_id":216903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:50:40] local.INFO: TCP Data received {"connection_id":218463,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:50:40] local.INFO: Processing buffer {"connection_id":218463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:50:40] local.INFO: IMEI packet received {"connection_id":218463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":218463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:55:55] local.INFO: TCP Data received {"connection_id":218466,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:55:55] local.INFO: Processing buffer {"connection_id":218466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 19:55:55] local.INFO: IMEI packet received {"connection_id":218466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 19:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":218466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:57:44] local.INFO: TCP Data received {"connection_id":218467,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:57:44] local.INFO: Processing buffer {"connection_id":218467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:57:44] local.INFO: IMEI packet received {"connection_id":218467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 19:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":218467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 19:57:49] local.INFO: TCP Data received {"connection_id":218467,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:57:49] local.INFO: Processing buffer {"connection_id":218467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 19:57:49] local.INFO: IMEI packet received {"connection_id":218467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 19:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":218467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 19:57:51] local.INFO: TCP Data received {"connection_id":218467,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1451bbc40012d7d34c005f167a00008016129..."} 
[2026-10-16 19:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451bbc40012d7d34c005f167a00008016129..."} 
[2026-10-16 19:57:51] local.INFO: Processing buffer {"connection_id":218467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451bbc40012d7d34c005f167a00008016129..."} 
[2026-10-16 19:57:51] local.INFO: Packet analysis {"connection_id":218467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1451b"} 
[2026-10-16 19:57:51] local.INFO: Extracted packet for processing {"connection_id":218467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1451b"} 
[2026-10-16 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99706784,"longitude_deg":76.3180224,"latitude_deg":9.9706784,"altitude":8,"angle":353,"satellites":41,"speed":20,"hex_longitude":"2d7d34c0","hex_latitude":"05f167a0","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793164288001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15425804540313600,"note":"Value kept but may cause issues"} 
[2026-10-16 19:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772726880256,"note":"Value kept but may cause issues"} 
[2026-10-16 19:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792160808000,"timestamp_ms":1792160808000,"timestamp_seconds":1792160808,"priority":1,"record_length":96,"hex_timestamp":"000001a1451bbc40"} 
[2026-10-16 19:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:57:51] 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-10-16 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 19:57:51] 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-10-16 19: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-10-16 19:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":218467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793164288001,"66":27397,"152":206,"8":64768,"24":20,"16":15425804540313600,"45":9022750772726880256},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,8,24,16,45]} 
[2026-10-16 19:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793164288001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:57:51] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-10-16 19:57:51] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 19:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15425804540313600,"km_value":15425804540313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772726880256,"description":"Unknown IO ID 45"} 
[2026-10-16 19:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793164288001,"power":27397,"unknown_152":206,"unknown_8":64768,"ignition":20,"odometer":null,"unknown_45":9022750772726880256}} 
[2026-10-16 19:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":218467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:57:51] local.INFO: GPS data processed {"connection_id":218467,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:57:51] local.INFO: Acknowledgment sent {"connection_id":218467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:58:23] local.INFO: TCP Data received {"connection_id":218467,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1451be738012d7d314005f18c20000701602a..."} 
[2026-10-16 19:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451be738012d7d314005f18c20000701602a..."} 
[2026-10-16 19:58:23] local.INFO: Processing buffer {"connection_id":218467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451be738012d7d314005f18c20000701602a..."} 
[2026-10-16 19:58:23] local.INFO: Packet analysis {"connection_id":218467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1451b"} 
[2026-10-16 19:58:23] local.INFO: Extracted packet for processing {"connection_id":218467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1451b"} 
[2026-10-16 19:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":99716128,"longitude_deg":76.3179328,"latitude_deg":9.9716128,"altitude":7,"angle":352,"satellites":42,"speed":40,"hex_longitude":"2d7d3140","hex_latitude":"05f18c20","is_valid_coordinates":true} 
[2026-10-16 19: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-10-16 19:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793166848001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15426259806846976,"note":"Value kept but may cause issues"} 
[2026-10-16 19:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047085287415808,"note":"Value kept but may cause issues"} 
[2026-10-16 19:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792160819000,"timestamp_ms":1792160819000,"timestamp_seconds":1792160819,"priority":1,"record_length":96,"hex_timestamp":"000001a1451be738"} 
[2026-10-16 19:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 19:58:23] 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-10-16 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 19:58:23] 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-10-16 19: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-10-16 19:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 19:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793166848001,"66":27343,"152":206,"8":64768,"24":40,"16":15426259806846976,"45":9022047085287415808},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,8,24,16,45]} 
[2026-10-16 19:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793166848001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:58:23] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-10-16 19:58:23] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 19:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15426259806846976,"km_value":15426259806846.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047085287415808,"description":"Unknown IO ID 45"} 
[2026-10-16 19:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793166848001,"power":27343,"unknown_152":206,"unknown_8":64768,"ignition":40,"odometer":null,"unknown_45":9022047085287415808}} 
[2026-10-16 19:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":218467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:58:23] local.INFO: GPS data processed {"connection_id":218467,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:58:23] local.INFO: Acknowledgment sent {"connection_id":218467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 19:59:10] local.INFO: TCP Data received {"connection_id":218467,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1451c1618012d7d2e0005f1b098000801632a..."} 
[2026-10-16 19:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451c1618012d7d2e0005f1b098000801632a..."} 
[2026-10-16 19:59:10] local.INFO: Processing buffer {"connection_id":218467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451c1618012d7d2e0005f1b098000801632a..."} 
[2026-10-16 19:59:10] local.INFO: Packet analysis {"connection_id":218467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1451c"} 
[2026-10-16 19:59:10] local.INFO: Extracted packet for processing {"connection_id":218467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1451c"} 
[2026-10-16 19:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":99725464,"longitude_deg":76.3178496,"latitude_deg":9.9725464,"altitude":8,"angle":355,"satellites":42,"speed":25,"hex_longitude":"2d7d2e00","hex_latitude":"05f1b098","is_valid_coordinates":true} 
[2026-10-16 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-10-16 19:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793169664001,"note":"Value kept but may cause issues"} 
[2026-10-16 19:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15426715073380352,"note":"Value kept but may cause issues"} 
[2026-10-16 19:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922871320576,"note":"Value kept but may cause issues"} 
[2026-10-16 19:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 19:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792160831000,"timestamp_ms":1792160831000,"timestamp_seconds":1792160831,"priority":1,"record_length":96,"hex_timestamp":"000001a1451c1618"} 
[2026-10-16 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-10-16 19:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 19:59: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-10-16 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-10-16 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-10-16 19:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 19:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":218467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 19:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 19:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 19:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 19:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 19:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793169664001,"66":27343,"152":206,"8":64768,"24":25,"16":15426715073380352,"45":9021061922871320576},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,8,24,16,45]} 
[2026-10-16 19:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 19:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 19:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793169664001,"description":"Unknown IO ID 0"} 
[2026-10-16 19:59:10] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-10-16 19:59:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 19:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15426715073380352,"km_value":15426715073380.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 19:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922871320576,"description":"Unknown IO ID 45"} 
[2026-10-16 19:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793169664001,"power":27343,"unknown_152":206,"unknown_8":64768,"ignition":25,"odometer":null,"unknown_45":9021061922871320576}} 
[2026-10-16 19:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":218467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 19:59:10] local.INFO: GPS data processed {"connection_id":218467,"processed":1,"errors":0,"total":1} 
[2026-10-16 19:59:10] local.INFO: Acknowledgment sent {"connection_id":218467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:00:23] local.INFO: TCP Data received {"connection_id":218467,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1451c44f8012d7d2a0005f1d3380009016128..."} 
[2026-10-16 20:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451c44f8012d7d2a0005f1d3380009016128..."} 
[2026-10-16 20:00:23] local.INFO: Processing buffer {"connection_id":218467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451c44f8012d7d2a0005f1d3380009016128..."} 
[2026-10-16 20:00:23] local.INFO: Packet analysis {"connection_id":218467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1451c"} 
[2026-10-16 20:00:23] local.INFO: Extracted packet for processing {"connection_id":218467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1451c"} 
[2026-10-16 20:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":99734328,"longitude_deg":76.3177472,"latitude_deg":9.9734328,"altitude":9,"angle":353,"satellites":40,"speed":35,"hex_longitude":"2d7d2a00","hex_latitude":"05f1d338","is_valid_coordinates":true} 
[2026-10-16 20:00: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-10-16 20:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793172736001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15427148865077248,"note":"Value kept but may cause issues"} 
[2026-10-16 20:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020147129199400960,"note":"Value kept but may cause issues"} 
[2026-10-16 20:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792160843000,"timestamp_ms":1792160843000,"timestamp_seconds":1792160843,"priority":1,"record_length":96,"hex_timestamp":"000001a1451c44f8"} 
[2026-10-16 20:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:00: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-10-16 20:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 20:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:00: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-10-16 20:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793172736001,"66":27180,"152":206,"8":64768,"24":35,"16":15427148865077248,"45":9020147129199400960},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,8,24,16,45]} 
[2026-10-16 20:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793172736001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:00:23] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-10-16 20:00:23] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15427148865077248,"km_value":15427148865077.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020147129199400960,"description":"Unknown IO ID 45"} 
[2026-10-16 20:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793172736001,"power":27180,"unknown_152":206,"unknown_8":64768,"ignition":35,"odometer":null,"unknown_45":9020147129199400960}} 
[2026-10-16 20:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":218467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:00:23] local.INFO: GPS data processed {"connection_id":218467,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:00:23] local.INFO: Acknowledgment sent {"connection_id":218467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:00:47] local.INFO: TCP Data received {"connection_id":218467,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1451c6c08012d7d264005f1f730000a01612a..."} 
[2026-10-16 20:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451c6c08012d7d264005f1f730000a01612a..."} 
[2026-10-16 20:00:47] local.INFO: Processing buffer {"connection_id":218467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451c6c08012d7d264005f1f730000a01612a..."} 
[2026-10-16 20:00:47] local.INFO: Packet analysis {"connection_id":218467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1451c"} 
[2026-10-16 20:00:47] local.INFO: Extracted packet for processing {"connection_id":218467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1451c"} 
[2026-10-16 20:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":99743536,"longitude_deg":76.3176512,"latitude_deg":9.9743536,"altitude":10,"angle":353,"satellites":42,"speed":33,"hex_longitude":"2d7d2640","hex_latitude":"05f1f730","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793175808001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15427595541676032,"note":"Value kept but may cause issues"} 
[2026-10-16 20:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021229294827520,"note":"Value kept but may cause issues"} 
[2026-10-16 20:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792160853000,"timestamp_ms":1792160853000,"timestamp_seconds":1792160853,"priority":1,"record_length":96,"hex_timestamp":"000001a1451c6c08"} 
[2026-10-16 20:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:00: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-10-16 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 20:00:47] 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-10-16 20: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-10-16 20:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793175808001,"66":27463,"152":206,"8":64768,"24":33,"16":15427595541676032,"45":9019021229294827520},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,8,24,16,45]} 
[2026-10-16 20:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793175808001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:00:47] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-10-16 20:00:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15427595541676032,"km_value":15427595541676.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021229294827520,"description":"Unknown IO ID 45"} 
[2026-10-16 20:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793175808001,"power":27463,"unknown_152":206,"unknown_8":64768,"ignition":33,"odometer":null,"unknown_45":9019021229294827520}} 
[2026-10-16 20:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":218467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:00:47] local.INFO: GPS data processed {"connection_id":218467,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:00:47] local.INFO: Acknowledgment sent {"connection_id":218467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:01:23] local.INFO: TCP Data received {"connection_id":218467,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1451ef090012d7cce8005f460200009015d27..."} 
[2026-10-16 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451ef090012d7cce8005f460200009015d27..."} 
[2026-10-16 20:01:23] local.INFO: Processing buffer {"connection_id":218467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451ef090012d7cce8005f460200009015d27..."} 
[2026-10-16 20:01:23] local.INFO: Packet analysis {"connection_id":218467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1451e"} 
[2026-10-16 20:01:23] local.INFO: Extracted packet for processing {"connection_id":218467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1451e"} 
[2026-10-16 20:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763154048,"raw_latitude":99901472,"longitude_deg":76.3154048,"latitude_deg":9.9901472,"altitude":9,"angle":349,"satellites":39,"speed":34,"hex_longitude":"2d7cce80","hex_latitude":"05f46020","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793218560001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15435335072743424,"note":"Value kept but may cause issues"} 
[2026-10-16 20:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994955118826596352,"note":"Value kept but may cause issues"} 
[2026-10-16 20:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792161018000,"timestamp_ms":1792161018000,"timestamp_seconds":1792161018,"priority":1,"record_length":96,"hex_timestamp":"000001a1451ef090"} 
[2026-10-16 20:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:01: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-10-16 20: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-10-16 20:01:23] 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-10-16 20: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-10-16 20:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":218467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":218467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793218560001,"66":26832,"75":206,"8":64768,"24":34,"16":15435335072743424,"45":8994955118826596352},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,8,24,16,45]} 
[2026-10-16 20:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793218560001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:01:23] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-16 20:01:23] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15435335072743424,"km_value":15435335072743.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994955118826596352,"description":"Unknown IO ID 45"} 
[2026-10-16 20:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793218560001,"power":26832,"unknown_75":206,"unknown_8":64768,"ignition":34,"odometer":null,"unknown_45":8994955118826596352}} 
[2026-10-16 20:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":218467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:01:23] local.INFO: GPS data processed {"connection_id":218467,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:01:23] local.INFO: Acknowledgment sent {"connection_id":218467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:01:31] local.INFO: TCP Data received {"connection_id":218469,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:01:31] local.INFO: Processing buffer {"connection_id":218469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:01:31] local.INFO: IMEI packet received {"connection_id":218469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":218469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:02:16] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:02:16] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:02:16] local.INFO: IMEI packet received {"connection_id":220203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":220203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:02:18] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:02:18] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:02:18] local.INFO: IMEI packet received {"connection_id":220203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":220203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:02:20] local.INFO: TCP Data received {"connection_id":216906,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:02:20] local.INFO: Processing buffer {"connection_id":216906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:02:20] local.INFO: IMEI packet received {"connection_id":216906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":216906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:02:23] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:02:23] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:02:23] local.INFO: IMEI packet received {"connection_id":220203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":220203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:02:24] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1451f17a0012d7cc90005f483e0000a016021..."} 
[2026-10-16 20:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451f17a0012d7cc90005f483e0000a016021..."} 
[2026-10-16 20:02:24] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451f17a0012d7cc90005f483e0000a016021..."} 
[2026-10-16 20:02:24] local.INFO: Packet analysis {"connection_id":220203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1451f"} 
[2026-10-16 20:02:24] local.INFO: Extracted packet for processing {"connection_id":220203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1451f"} 
[2026-10-16 20:02:24] local.INFO: GPS Element Parsed {"raw_longitude":763152640,"raw_latitude":99910624,"longitude_deg":76.315264,"latitude_deg":9.9910624,"altitude":10,"angle":352,"satellites":33,"speed":39,"hex_longitude":"2d7cc900","hex_latitude":"05f483e0","is_valid_coordinates":true} 
[2026-10-16 20:02: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-10-16 20:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793220608001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15435786044309504,"note":"Value kept but may cause issues"} 
[2026-10-16 20:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993266268968591360,"note":"Value kept but may cause issues"} 
[2026-10-16 20:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792161028000,"timestamp_ms":1792161028000,"timestamp_seconds":1792161028,"priority":1,"record_length":96,"hex_timestamp":"000001a1451f17a0"} 
[2026-10-16 20:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:02: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-10-16 20:02: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-10-16 20:02:24] 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-10-16 20:02: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-10-16 20:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":220203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793220608001,"66":27082,"75":206,"8":64768,"24":39,"16":15435786044309504,"45":8993266268968591360},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,8,24,16,45]} 
[2026-10-16 20:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793220608001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:02:24] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-16 20:02:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15435786044309504,"km_value":15435786044309.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993266268968591360,"description":"Unknown IO ID 45"} 
[2026-10-16 20:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793220608001,"power":27082,"unknown_75":206,"unknown_8":64768,"ignition":39,"odometer":null,"unknown_45":8993266268968591360}} 
[2026-10-16 20:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":220203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:02:24] local.INFO: GPS data processed {"connection_id":220203,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:02:24] local.INFO: Acknowledgment sent {"connection_id":220203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:02:25] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1451f3ac8012d7cc34005f4a9a0000b015e26..."} 
[2026-10-16 20:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451f3ac8012d7cc34005f4a9a0000b015e26..."} 
[2026-10-16 20:02:25] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451f3ac8012d7cc34005f4a9a0000b015e26..."} 
[2026-10-16 20:02:25] local.INFO: Packet analysis {"connection_id":220203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1451f"} 
[2026-10-16 20:02:25] local.INFO: Extracted packet for processing {"connection_id":220203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1451f"} 
[2026-10-16 20:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763151168,"raw_latitude":99920288,"longitude_deg":76.3151168,"latitude_deg":9.9920288,"altitude":11,"angle":350,"satellites":38,"speed":45,"hex_longitude":"2d7cc340","hex_latitude":"05f4a9a0","is_valid_coordinates":true} 
[2026-10-16 20:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793223168001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15436258490712064,"note":"Value kept but may cause issues"} 
[2026-10-16 20:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991718156599025664,"note":"Value kept but may cause issues"} 
[2026-10-16 20:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792161037000,"timestamp_ms":1792161037000,"timestamp_seconds":1792161037,"priority":1,"record_length":96,"hex_timestamp":"000001a1451f3ac8"} 
[2026-10-16 20:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:02: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-10-16 20:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 20:02:25] 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-10-16 20:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":220203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793223168001,"66":27365,"75":206,"8":64768,"24":45,"16":15436258490712064,"45":8991718156599025664},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,8,24,16,45]} 
[2026-10-16 20:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793223168001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:02:25] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-16 20:02:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15436258490712064,"km_value":15436258490712.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991718156599025664,"description":"Unknown IO ID 45"} 
[2026-10-16 20:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793223168001,"power":27365,"unknown_75":206,"unknown_8":64768,"ignition":45,"odometer":null,"unknown_45":8991718156599025664}} 
[2026-10-16 20:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":220203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:02:26] local.INFO: GPS data processed {"connection_id":220203,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:02:26] local.INFO: Acknowledgment sent {"connection_id":220203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:02:50] local.INFO: TCP Data received {"connection_id":218470,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:02:50] local.INFO: Processing buffer {"connection_id":218470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:02:50] local.INFO: IMEI packet received {"connection_id":218470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":218470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:03:08] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1451f5df0012d7cbcc005f4cf50000c015e28..."} 
[2026-10-16 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451f5df0012d7cbcc005f4cf50000c015e28..."} 
[2026-10-16 20:03:08] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451f5df0012d7cbcc005f4cf50000c015e28..."} 
[2026-10-16 20:03:08] local.INFO: Packet analysis {"connection_id":220203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1451f"} 
[2026-10-16 20:03:08] local.INFO: Extracted packet for processing {"connection_id":220203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1451f"} 
[2026-10-16 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763149504,"raw_latitude":99929936,"longitude_deg":76.3149504,"latitude_deg":9.9929936,"altitude":12,"angle":350,"satellites":40,"speed":37,"hex_longitude":"2d7cbcc0","hex_latitude":"05f4cf50","is_valid_coordinates":true} 
[2026-10-16 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-10-16 20:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793225472001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15436735232081920,"note":"Value kept but may cause issues"} 
[2026-10-16 20:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990099675485413376,"note":"Value kept but may cause issues"} 
[2026-10-16 20:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792161046000,"timestamp_ms":1792161046000,"timestamp_seconds":1792161046,"priority":1,"record_length":96,"hex_timestamp":"000001a1451f5df0"} 
[2026-10-16 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-10-16 20:03: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-10-16 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 20:03: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-10-16 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-10-16 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-10-16 20:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":220203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793225472001,"66":27267,"75":206,"8":64768,"24":37,"16":15436735232081920,"45":8990099675485413376},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,8,24,16,45]} 
[2026-10-16 20:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793225472001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:03:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-10-16 20:03:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15436735232081920,"km_value":15436735232081.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990099675485413376,"description":"Unknown IO ID 45"} 
[2026-10-16 20:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793225472001,"power":27267,"unknown_75":206,"unknown_8":64768,"ignition":37,"odometer":null,"unknown_45":8990099675485413376}} 
[2026-10-16 20:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":220203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:03:08] local.INFO: GPS data processed {"connection_id":220203,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:03:08] local.INFO: Acknowledgment sent {"connection_id":220203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:04:20] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1451f8118012d7cb68005f4f2d8000c015d29..."} 
[2026-10-16 20:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1451f8118012d7cb68005f4f2d8000c015d29..."} 
[2026-10-16 20:04:20] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1451f8118012d7cb68005f4f2d8000c015d29..."} 
[2026-10-16 20:04:20] local.INFO: Packet analysis {"connection_id":220203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1451f"} 
[2026-10-16 20:04:20] local.INFO: Extracted packet for processing {"connection_id":220203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1451f"} 
[2026-10-16 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":763147904,"raw_latitude":99939032,"longitude_deg":76.3147904,"latitude_deg":9.9939032,"altitude":12,"angle":349,"satellites":41,"speed":41,"hex_longitude":"2d7cb680","hex_latitude":"05f4f2d8","is_valid_coordinates":true} 
[2026-10-16 20:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793227776001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15437181908680704,"note":"Value kept but may cause issues"} 
[2026-10-16 20:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988270088139264000,"note":"Value kept but may cause issues"} 
[2026-10-16 20:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792161055000,"timestamp_ms":1792161055000,"timestamp_seconds":1792161055,"priority":1,"record_length":96,"hex_timestamp":"000001a1451f8118"} 
[2026-10-16 20:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:04: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-10-16 20:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 20:04:20] 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-10-16 20:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":220203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793227776001,"66":27332,"55":206,"8":64768,"24":41,"16":15437181908680704,"45":8988270088139264000},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,8,24,16,45]} 
[2026-10-16 20:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793227776001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:04:20] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 20:04:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15437181908680704,"km_value":15437181908680.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988270088139264000,"description":"Unknown IO ID 45"} 
[2026-10-16 20:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793227776001,"power":27332,"unknown_55":206,"unknown_8":64768,"ignition":41,"odometer":null,"unknown_45":8988270088139264000}} 
[2026-10-16 20:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":220203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:04:20] local.INFO: GPS data processed {"connection_id":220203,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:04:20] local.INFO: Acknowledgment sent {"connection_id":220203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:05:05] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14521bb68012d7c50c005f69d50000d01002a..."} 
[2026-10-16 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14521bb68012d7c50c005f69d50000d01002a..."} 
[2026-10-16 20:05:05] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14521bb68012d7c50c005f69d50000d01002a..."} 
[2026-10-16 20:05:05] local.INFO: Packet analysis {"connection_id":220203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14521"} 
[2026-10-16 20:05:05] local.INFO: Extracted packet for processing {"connection_id":220203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14521"} 
[2026-10-16 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763121856,"raw_latitude":100048208,"longitude_deg":76.3121856,"latitude_deg":10.0048208,"altitude":13,"angle":256,"satellites":42,"speed":18,"hex_longitude":"2d7c50c0","hex_latitude":"05f69d50","is_valid_coordinates":true} 
[2026-10-16 20:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793264640001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15442932869890048,"note":"Value kept but may cause issues"} 
[2026-10-16 20:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964274346405240832,"note":"Value kept but may cause issues"} 
[2026-10-16 20:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792161201000,"timestamp_ms":1792161201000,"timestamp_seconds":1792161201,"priority":1,"record_length":96,"hex_timestamp":"000001a14521bb68"} 
[2026-10-16 20:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 20:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 20:05: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-10-16 20:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":220203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793264640001,"66":27300,"54":206,"8":64768,"24":18,"16":15442932869890048,"45":8964274346405240832},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,8,24,16,45]} 
[2026-10-16 20:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793264640001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:05:05] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-10-16 20:05:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15442932869890048,"km_value":15442932869890.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964274346405240832,"description":"Unknown IO ID 45"} 
[2026-10-16 20:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793264640001,"power":27300,"unknown_54":206,"unknown_8":64768,"ignition":18,"odometer":null,"unknown_45":8964274346405240832}} 
[2026-10-16 20:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":220203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:05:05] local.INFO: GPS data processed {"connection_id":220203,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:05:05] local.INFO: Acknowledgment sent {"connection_id":220203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:05:09] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14521c338012d7c4d4005f69cc0000d010c29..."} 
[2026-10-16 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14521c338012d7c4d4005f69cc0000d010c29..."} 
[2026-10-16 20:05:09] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14521c338012d7c4d4005f69cc0000d010c29..."} 
[2026-10-16 20:05:09] local.INFO: Packet analysis {"connection_id":220203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14521"} 
[2026-10-16 20:05:09] local.INFO: Extracted packet for processing {"connection_id":220203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14521"} 
[2026-10-16 20:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763120960,"raw_latitude":100048064,"longitude_deg":76.312096,"latitude_deg":10.0048064,"altitude":13,"angle":268,"satellites":41,"speed":16,"hex_longitude":"2d7c4d40","hex_latitude":"05f69cc0","is_valid_coordinates":true} 
[2026-10-16 20:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793267456001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15442975819563008,"note":"Value kept but may cause issues"} 
[2026-10-16 20:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957870790684790784,"note":"Value kept but may cause issues"} 
[2026-10-16 20:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792161203000,"timestamp_ms":1792161203000,"timestamp_seconds":1792161203,"priority":1,"record_length":96,"hex_timestamp":"000001a14521c338"} 
[2026-10-16 20:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20: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-10-16 20:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 20:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":220203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793267456001,"66":27397,"54":206,"8":64768,"24":16,"16":15442975819563008,"45":8957870790684790784},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,8,24,16,45]} 
[2026-10-16 20:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793267456001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:05:09] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-10-16 20:05:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15442975819563008,"km_value":15442975819563.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957870790684790784,"description":"Unknown IO ID 45"} 
[2026-10-16 20:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793267456001,"power":27397,"unknown_54":206,"unknown_8":64768,"ignition":16,"odometer":null,"unknown_45":8957870790684790784}} 
[2026-10-16 20:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":220203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:05:09] local.INFO: GPS data processed {"connection_id":220203,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:05:09] local.INFO: Acknowledgment sent {"connection_id":220203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:05:41] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14521cb08012d7c49c005f69be0000d00fd29..."} 
[2026-10-16 20:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14521cb08012d7c49c005f69be0000d00fd29..."} 
[2026-10-16 20:05:41] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14521cb08012d7c49c005f69be0000d00fd29..."} 
[2026-10-16 20:05:41] local.INFO: Packet analysis {"connection_id":220203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14521"} 
[2026-10-16 20:05:41] local.INFO: Extracted packet for processing {"connection_id":220203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14521"} 
[2026-10-16 20:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763120064,"raw_latitude":100047840,"longitude_deg":76.3120064,"latitude_deg":10.004784,"altitude":13,"angle":253,"satellites":41,"speed":21,"hex_longitude":"2d7c49c0","hex_latitude":"05f69be0","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793267968001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15443018769235968,"note":"Value kept but may cause issues"} 
[2026-10-16 20:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956885628266266624,"note":"Value kept but may cause issues"} 
[2026-10-16 20:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1792161205000,"timestamp_ms":1792161205000,"timestamp_seconds":1792161205,"priority":1,"record_length":96,"hex_timestamp":"000001a14521cb08"} 
[2026-10-16 20:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:05: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-10-16 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 20:05: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-10-16 20: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-10-16 20:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":220203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793267968001,"66":27321,"54":206,"8":64768,"24":21,"16":15443018769235968,"45":8956885628266266624},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,8,24,16,45]} 
[2026-10-16 20:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793267968001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:05:41] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-10-16 20:05:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15443018769235968,"km_value":15443018769235.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956885628266266624,"description":"Unknown IO ID 45"} 
[2026-10-16 20:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793267968001,"power":27321,"unknown_54":206,"unknown_8":64768,"ignition":21,"odometer":null,"unknown_45":8956885628266266624}} 
[2026-10-16 20:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":220203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:05:41] local.INFO: GPS data processed {"connection_id":220203,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:05:41] local.INFO: Acknowledgment sent {"connection_id":220203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:06:14] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1452205a0012d7c26c005f69300000900ff28..."} 
[2026-10-16 20:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1452205a0012d7c26c005f69300000900ff28..."} 
[2026-10-16 20:06:14] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1452205a0012d7c26c005f69300000900ff28..."} 
[2026-10-16 20:06:14] local.INFO: Packet analysis {"connection_id":220203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14522"} 
[2026-10-16 20:06:14] local.INFO: Extracted packet for processing {"connection_id":220203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14522"} 
[2026-10-16 20:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763111104,"raw_latitude":100045568,"longitude_deg":76.3111104,"latitude_deg":10.0045568,"altitude":9,"angle":255,"satellites":40,"speed":28,"hex_longitude":"2d7c26c0","hex_latitude":"05f69300","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793268480001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15443461150867456,"note":"Value kept but may cause issues"} 
[2026-10-16 20:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955900465847721984,"note":"Value kept but may cause issues"} 
[2026-10-16 20:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792161220000,"timestamp_ms":1792161220000,"timestamp_seconds":1792161220,"priority":1,"record_length":96,"hex_timestamp":"000001a1452205a0"} 
[2026-10-16 20:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:06: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-10-16 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 20:06:14] 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-10-16 20: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-10-16 20:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":220203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793268480001,"66":27343,"122":206,"8":64768,"24":28,"16":15443461150867456,"45":8955900465847721984},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,8,24,16,45]} 
[2026-10-16 20:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793268480001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:06:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-10-16 20:06:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15443461150867456,"km_value":15443461150867.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955900465847721984,"description":"Unknown IO ID 45"} 
[2026-10-16 20:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793268480001,"power":27343,"unknown_122":206,"unknown_8":64768,"ignition":28,"odometer":null,"unknown_45":8955900465847721984}} 
[2026-10-16 20:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":220203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:06:14] local.INFO: GPS data processed {"connection_id":220203,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:06:14] local.INFO: Acknowledgment sent {"connection_id":220203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:06:46] local.INFO: TCP Data received {"connection_id":220203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14523cac0012d7b724005f62d70000d009d2c..."} 
[2026-10-16 20:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14523cac0012d7b724005f62d70000d009d2c..."} 
[2026-10-16 20:06:46] local.INFO: Processing buffer {"connection_id":220203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14523cac0012d7b724005f62d70000d009d2c..."} 
[2026-10-16 20:06:46] local.INFO: Packet analysis {"connection_id":220203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14523"} 
[2026-10-16 20:06:46] local.INFO: Extracted packet for processing {"connection_id":220203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14523"} 
[2026-10-16 20:06:46] local.INFO: GPS Element Parsed {"raw_longitude":763064896,"raw_latitude":100019568,"longitude_deg":76.3064896,"latitude_deg":10.0019568,"altitude":13,"angle":157,"satellites":44,"speed":20,"hex_longitude":"2d7b7240","hex_latitude":"05f62d70","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793299968001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15446239994707968,"note":"Value kept but may cause issues"} 
[2026-10-16 20:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893131546034739200,"note":"Value kept but may cause issues"} 
[2026-10-16 20:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792161336000,"timestamp_ms":1792161336000,"timestamp_seconds":1792161336,"priority":1,"record_length":96,"hex_timestamp":"000001a14523cac0"} 
[2026-10-16 20:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:06: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-10-16 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-10-16 20:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20: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-10-16 20:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":220203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":220203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793299968001,"66":26636,"125":206,"8":64768,"24":20,"16":15446239994707968,"45":8893131546034739200},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793299968001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:06:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:06:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15446239994707968,"km_value":15446239994707.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893131546034739200,"description":"Unknown IO ID 45"} 
[2026-10-16 20:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793299968001,"power":26636,"unknown_125":206,"unknown_8":64768,"ignition":20,"odometer":null,"unknown_45":8893131546034739200}} 
[2026-10-16 20:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":220203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:06:46] local.INFO: GPS data processed {"connection_id":220203,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:06:46] local.INFO: Acknowledgment sent {"connection_id":220203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:07:08] local.INFO: TCP Data received {"connection_id":217130,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:08] local.INFO: Processing buffer {"connection_id":217130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:08] local.INFO: IMEI packet received {"connection_id":217130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":217130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:07:09] local.INFO: TCP Data received {"connection_id":217130,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:09] local.INFO: Processing buffer {"connection_id":217130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:09] local.INFO: IMEI packet received {"connection_id":217130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":217130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:07:09] local.INFO: TCP Data received {"connection_id":217130,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:09] local.INFO: Processing buffer {"connection_id":217130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:09] local.INFO: IMEI packet received {"connection_id":217130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":217130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:07:14] local.INFO: TCP Data received {"connection_id":217130,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:14] local.INFO: Processing buffer {"connection_id":217130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:07:14] local.INFO: IMEI packet received {"connection_id":217130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":217130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:07:15] local.INFO: TCP Data received {"connection_id":217130,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14523de48012d7b754005f62250000c00a92a..."} 
[2026-10-16 20:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14523de48012d7b754005f62250000c00a92a..."} 
[2026-10-16 20:07:15] local.INFO: Processing buffer {"connection_id":217130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14523de48012d7b754005f62250000c00a92a..."} 
[2026-10-16 20:07:15] local.INFO: Packet analysis {"connection_id":217130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14523"} 
[2026-10-16 20:07:15] local.INFO: Extracted packet for processing {"connection_id":217130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14523"} 
[2026-10-16 20:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763065664,"raw_latitude":100016720,"longitude_deg":76.3065664,"latitude_deg":10.001672,"altitude":12,"angle":169,"satellites":42,"speed":19,"hex_longitude":"2d7b7540","hex_latitude":"05f62250","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793302016001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15446381728628736,"note":"Value kept but may cause issues"} 
[2026-10-16 20:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895242608359337984,"note":"Value kept but may cause issues"} 
[2026-10-16 20:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792161341000,"timestamp_ms":1792161341000,"timestamp_seconds":1792161341,"priority":1,"record_length":96,"hex_timestamp":"000001a14523de48"} 
[2026-10-16 20:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:07: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-10-16 20: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-10-16 20:07:15] 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-10-16 20: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-10-16 20:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793302016001,"66":27321,"125":206,"8":64768,"24":19,"16":15446381728628736,"45":8895242608359337984},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793302016001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:07:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:07:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15446381728628736,"km_value":15446381728628.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895242608359337984,"description":"Unknown IO ID 45"} 
[2026-10-16 20:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793302016001,"power":27321,"unknown_125":206,"unknown_8":64768,"ignition":19,"odometer":null,"unknown_45":8895242608359337984}} 
[2026-10-16 20:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":217130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:07:15] local.INFO: GPS data processed {"connection_id":217130,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:07:15] local.INFO: Acknowledgment sent {"connection_id":217130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:07:47] local.INFO: TCP Data received {"connection_id":217130,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145243050012d7b7b8005f60690000b00a62a..."} 
[2026-10-16 20:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145243050012d7b7b8005f60690000b00a62a..."} 
[2026-10-16 20:07:47] local.INFO: Processing buffer {"connection_id":217130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145243050012d7b7b8005f60690000b00a62a..."} 
[2026-10-16 20:07:47] local.INFO: Packet analysis {"connection_id":217130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:07:47] local.INFO: Extracted packet for processing {"connection_id":217130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:07:47] local.INFO: GPS Element Parsed {"raw_longitude":763067264,"raw_latitude":100009616,"longitude_deg":76.3067264,"latitude_deg":10.0009616,"altitude":11,"angle":166,"satellites":42,"speed":23,"hex_longitude":"2d7b7b80","hex_latitude":"05f60690","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793303296001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15446738210914304,"note":"Value kept but may cause issues"} 
[2026-10-16 20:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896087033288740864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792161362000,"timestamp_ms":1792161362000,"timestamp_seconds":1792161362,"priority":1,"record_length":96,"hex_timestamp":"000001a145243050"} 
[2026-10-16 20:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:07: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-10-16 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 20:07: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-10-16 20: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-10-16 20:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793303296001,"66":27463,"125":206,"8":64768,"24":23,"16":15446738210914304,"45":8896087033288740864},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793303296001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:07:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:07:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15446738210914304,"km_value":15446738210914.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896087033288740864,"description":"Unknown IO ID 45"} 
[2026-10-16 20:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793303296001,"power":27463,"unknown_125":206,"unknown_8":64768,"ignition":23,"odometer":null,"unknown_45":8896087033288740864}} 
[2026-10-16 20:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":217130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:07:47] local.INFO: GPS data processed {"connection_id":217130,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:07:47] local.INFO: Acknowledgment sent {"connection_id":217130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:07:54] local.INFO: TCP Data received {"connection_id":220204,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:07:54] local.INFO: Processing buffer {"connection_id":220204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:07:54] local.INFO: IMEI packet received {"connection_id":220204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":220204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:08:09] local.INFO: TCP Data received {"connection_id":220205,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:08:09] local.INFO: Processing buffer {"connection_id":220205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:08:09] local.INFO: IMEI packet received {"connection_id":220205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":220205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:08:14] local.INFO: TCP Data received {"connection_id":220205,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:08:14] local.INFO: Processing buffer {"connection_id":220205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:08:14] local.INFO: IMEI packet received {"connection_id":220205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":220205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:08:15] local.INFO: TCP Data received {"connection_id":220205,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145244ba8012d7b800005f5f8d8000c009a2b..."} 
[2026-10-16 20:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145244ba8012d7b800005f5f8d8000c009a2b..."} 
[2026-10-16 20:08:15] local.INFO: Processing buffer {"connection_id":220205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145244ba8012d7b800005f5f8d8000c009a2b..."} 
[2026-10-16 20:08:15] local.INFO: Packet analysis {"connection_id":220205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:08:15] local.INFO: Extracted packet for processing {"connection_id":220205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:08:15] local.INFO: GPS Element Parsed {"raw_longitude":763068416,"raw_latitude":100006104,"longitude_deg":76.3068416,"latitude_deg":10.0006104,"altitude":12,"angle":154,"satellites":43,"speed":19,"hex_longitude":"2d7b8000","hex_latitude":"05f5f8d8","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793308672001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15446918599540736,"note":"Value kept but may cause issues"} 
[2026-10-16 20:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251891363840,"note":"Value kept but may cause issues"} 
[2026-10-16 20:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792161369000,"timestamp_ms":1792161369000,"timestamp_seconds":1792161369,"priority":1,"record_length":96,"hex_timestamp":"000001a145244ba8"} 
[2026-10-16 20:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:08: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-10-16 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 20:08:15] 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-10-16 20: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-10-16 20:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793308672001,"66":27343,"125":206,"8":64768,"24":19,"16":15446918599540736,"45":8897846251891363840},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793308672001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:08:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:08:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15446918599540736,"km_value":15446918599540.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251891363840,"description":"Unknown IO ID 45"} 
[2026-10-16 20:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793308672001,"power":27343,"unknown_125":206,"unknown_8":64768,"ignition":19,"odometer":null,"unknown_45":8897846251891363840}} 
[2026-10-16 20:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":220205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:08:15] local.INFO: GPS data processed {"connection_id":220205,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:08:15] local.INFO: Acknowledgment sent {"connection_id":220205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:08:48] local.INFO: TCP Data received {"connection_id":220205,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145249db0012d7b85c005f5ebe8000a009c2a..."} 
[2026-10-16 20:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145249db0012d7b85c005f5ebe8000a009c2a..."} 
[2026-10-16 20:08:48] local.INFO: Processing buffer {"connection_id":220205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145249db0012d7b85c005f5ebe8000a009c2a..."} 
[2026-10-16 20:08:48] local.INFO: Packet analysis {"connection_id":220205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:08:48] local.INFO: Extracted packet for processing {"connection_id":220205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:08:48] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":100002792,"longitude_deg":76.3069888,"latitude_deg":10.0002792,"altitude":10,"angle":156,"satellites":42,"speed":2,"hex_longitude":"2d7b85c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793310464001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447098988167168,"note":"Value kept but may cause issues"} 
[2026-10-16 20:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899112889285662720,"note":"Value kept but may cause issues"} 
[2026-10-16 20:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792161390000,"timestamp_ms":1792161390000,"timestamp_seconds":1792161390,"priority":1,"record_length":96,"hex_timestamp":"000001a145249db0"} 
[2026-10-16 20:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:08: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-10-16 20:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 20:08:48] 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-10-16 20:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":220205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":220205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":220205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793310464001,"66":27713,"125":206,"8":64768,"24":2,"16":15447098988167168,"45":8899112889285662720},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793310464001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:08:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:08:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447098988167168,"km_value":15447098988167.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899112889285662720,"description":"Unknown IO ID 45"} 
[2026-10-16 20:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793310464001,"power":27713,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8899112889285662720}} 
[2026-10-16 20:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":220205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:08:48] local.INFO: GPS data processed {"connection_id":220205,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:08:48] local.INFO: Acknowledgment sent {"connection_id":220205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:09:08] local.INFO: TCP Data received {"connection_id":217131,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:09:08] local.INFO: Processing buffer {"connection_id":217131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:09:08] local.INFO: IMEI packet received {"connection_id":217131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":217131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:09:14] local.INFO: TCP Data received {"connection_id":217131,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:09:14] local.INFO: Processing buffer {"connection_id":217131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:09:14] local.INFO: IMEI packet received {"connection_id":217131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":217131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:09:15] local.INFO: TCP Data received {"connection_id":217131,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:09:15] local.INFO: Processing buffer {"connection_id":217131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:09:15] local.INFO: Packet analysis {"connection_id":217131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:09:15] local.INFO: Extracted packet for processing {"connection_id":217131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":100002712,"longitude_deg":76.3069888,"latitude_deg":10.0002712,"altitude":10,"angle":156,"satellites":42,"speed":2,"hex_longitude":"2d7b85c0","hex_latitude":"05f5eb98","is_valid_coordinates":true} 
[2026-10-16 20:09: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-10-16 20:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793315840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400901120,"note":"Value kept but may cause issues"} 
[2026-10-16 20:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792161391000,"timestamp_ms":1792161391000,"timestamp_seconds":1792161391,"priority":1,"record_length":96,"hex_timestamp":"000001a14524a198"} 
[2026-10-16 20:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:09: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-10-16 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:09:15] 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-10-16 20: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-10-16 20:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793315840001,"66":27713,"125":206,"8":64768,"24":2,"16":15447103283134464,"45":8900731370400901120},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793315840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:09:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:09:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400901120,"description":"Unknown IO ID 45"} 
[2026-10-16 20:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793315840001,"power":27713,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8900731370400901120}} 
[2026-10-16 20:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":217131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:09:15] local.INFO: GPS data processed {"connection_id":217131,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:09:15] local.INFO: Acknowledgment sent {"connection_id":217131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:09:48] local.INFO: TCP Data received {"connection_id":217131,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:09:48] local.INFO: Processing buffer {"connection_id":217131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:09:48] local.INFO: Packet analysis {"connection_id":217131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:09:48] local.INFO: Extracted packet for processing {"connection_id":217131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:09:48] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":100002712,"longitude_deg":76.3069888,"latitude_deg":10.0002712,"altitude":10,"angle":156,"satellites":42,"speed":2,"hex_longitude":"2d7b85c0","hex_latitude":"05f5eb98","is_valid_coordinates":true} 
[2026-10-16 20:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793315840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400901120,"note":"Value kept but may cause issues"} 
[2026-10-16 20:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792161391000,"timestamp_ms":1792161391000,"timestamp_seconds":1792161391,"priority":1,"record_length":96,"hex_timestamp":"000001a14524a198"} 
[2026-10-16 20:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:09: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-10-16 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:09:48] 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-10-16 20: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-10-16 20:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":217131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":217131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":217131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793315840001,"66":27713,"125":206,"8":64768,"24":2,"16":15447103283134464,"45":8900731370400901120},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793315840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:09:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:09:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400901120,"description":"Unknown IO ID 45"} 
[2026-10-16 20:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793315840001,"power":27713,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8900731370400901120}} 
[2026-10-16 20:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":217131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:09:48] local.INFO: GPS data processed {"connection_id":217131,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:09:48] local.INFO: Acknowledgment sent {"connection_id":217131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:10:13] local.INFO: TCP Data received {"connection_id":218473,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:10:13] local.INFO: Processing buffer {"connection_id":218473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:10:13] local.INFO: IMEI packet received {"connection_id":218473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":218473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:10:19] local.INFO: TCP Data received {"connection_id":218473,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:10:19] local.INFO: Processing buffer {"connection_id":218473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:10:19] local.INFO: IMEI packet received {"connection_id":218473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":218473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:10:20] local.INFO: TCP Data received {"connection_id":218473,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:10:20] local.INFO: Processing buffer {"connection_id":218473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:10:20] local.INFO: Packet analysis {"connection_id":218473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:10:20] local.INFO: Extracted packet for processing {"connection_id":218473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:10:20] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":100002712,"longitude_deg":76.3069888,"latitude_deg":10.0002712,"altitude":10,"angle":156,"satellites":42,"speed":2,"hex_longitude":"2d7b85c0","hex_latitude":"05f5eb98","is_valid_coordinates":true} 
[2026-10-16 20:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793315840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400901120,"note":"Value kept but may cause issues"} 
[2026-10-16 20:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792161391000,"timestamp_ms":1792161391000,"timestamp_seconds":1792161391,"priority":1,"record_length":96,"hex_timestamp":"000001a14524a198"} 
[2026-10-16 20:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:10: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-10-16 20:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:10:20] 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-10-16 20:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":218473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":218473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":218473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793315840001,"66":27713,"125":206,"8":64768,"24":2,"16":15447103283134464,"45":8900731370400901120},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793315840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:10:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:10:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400901120,"description":"Unknown IO ID 45"} 
[2026-10-16 20:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793315840001,"power":27713,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8900731370400901120}} 
[2026-10-16 20:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":218473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:10:20] local.INFO: GPS data processed {"connection_id":218473,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:10:20] local.INFO: Acknowledgment sent {"connection_id":218473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:10:53] local.INFO: TCP Data received {"connection_id":218473,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:10:53] local.INFO: Processing buffer {"connection_id":218473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:10:53] local.INFO: Packet analysis {"connection_id":218473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:10:53] local.INFO: Extracted packet for processing {"connection_id":218473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":100002712,"longitude_deg":76.3069888,"latitude_deg":10.0002712,"altitude":10,"angle":156,"satellites":42,"speed":2,"hex_longitude":"2d7b85c0","hex_latitude":"05f5eb98","is_valid_coordinates":true} 
[2026-10-16 20:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793315840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400901120,"note":"Value kept but may cause issues"} 
[2026-10-16 20:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792161391000,"timestamp_ms":1792161391000,"timestamp_seconds":1792161391,"priority":1,"record_length":96,"hex_timestamp":"000001a14524a198"} 
[2026-10-16 20:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:10: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-10-16 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20: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-10-16 20:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":218473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":218473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":218473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793315840001,"66":27713,"125":206,"8":64768,"24":2,"16":15447103283134464,"45":8900731370400901120},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793315840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:10:53] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:10:53] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400901120,"description":"Unknown IO ID 45"} 
[2026-10-16 20:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793315840001,"power":27713,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8900731370400901120}} 
[2026-10-16 20:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":218473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:10:53] local.INFO: GPS data processed {"connection_id":218473,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:10:53] local.INFO: Acknowledgment sent {"connection_id":218473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:11:08] local.INFO: TCP Data received {"connection_id":217133,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:11:09] local.INFO: Processing buffer {"connection_id":217133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:11:09] local.INFO: IMEI packet received {"connection_id":217133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":217133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:11:14] local.INFO: TCP Data received {"connection_id":217133,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:11:14] local.INFO: Processing buffer {"connection_id":217133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:11:14] local.INFO: IMEI packet received {"connection_id":217133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":217133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:11:17] local.INFO: TCP Data received {"connection_id":217133,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:11:17] local.INFO: Processing buffer {"connection_id":217133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:11:17] local.INFO: Packet analysis {"connection_id":217133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:11:17] local.INFO: Extracted packet for processing {"connection_id":217133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:11:17] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":100002712,"longitude_deg":76.3069888,"latitude_deg":10.0002712,"altitude":10,"angle":156,"satellites":42,"speed":2,"hex_longitude":"2d7b85c0","hex_latitude":"05f5eb98","is_valid_coordinates":true} 
[2026-10-16 20:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793315840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400901120,"note":"Value kept but may cause issues"} 
[2026-10-16 20:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792161391000,"timestamp_ms":1792161391000,"timestamp_seconds":1792161391,"priority":1,"record_length":96,"hex_timestamp":"000001a14524a198"} 
[2026-10-16 20:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:11: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-10-16 20:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:11:17] 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-10-16 20:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":217133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":217133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":217133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793315840001,"66":27713,"125":206,"8":64768,"24":2,"16":15447103283134464,"45":8900731370400901120},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793315840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:11:17] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:11:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400901120,"description":"Unknown IO ID 45"} 
[2026-10-16 20:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793315840001,"power":27713,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8900731370400901120}} 
[2026-10-16 20:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":217133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:11:17] local.INFO: GPS data processed {"connection_id":217133,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:11:17] local.INFO: Acknowledgment sent {"connection_id":217133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:11:49] local.INFO: TCP Data received {"connection_id":217133,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:11:49] local.INFO: Processing buffer {"connection_id":217133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:11:49] local.INFO: Packet analysis {"connection_id":217133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:11:49] local.INFO: Extracted packet for processing {"connection_id":217133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:11:49] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":100002712,"longitude_deg":76.3069888,"latitude_deg":10.0002712,"altitude":10,"angle":156,"satellites":42,"speed":2,"hex_longitude":"2d7b85c0","hex_latitude":"05f5eb98","is_valid_coordinates":true} 
[2026-10-16 20:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793315840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400901120,"note":"Value kept but may cause issues"} 
[2026-10-16 20:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792161391000,"timestamp_ms":1792161391000,"timestamp_seconds":1792161391,"priority":1,"record_length":96,"hex_timestamp":"000001a14524a198"} 
[2026-10-16 20:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:11: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-10-16 20:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:11:49] 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-10-16 20:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":217133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":217133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":217133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793315840001,"66":27713,"125":206,"8":64768,"24":2,"16":15447103283134464,"45":8900731370400901120},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793315840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:11:49] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:11:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400901120,"description":"Unknown IO ID 45"} 
[2026-10-16 20:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793315840001,"power":27713,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8900731370400901120}} 
[2026-10-16 20:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":217133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:11:49] local.INFO: GPS data processed {"connection_id":217133,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:11:49] local.INFO: Acknowledgment sent {"connection_id":217133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:12:09] local.INFO: TCP Data received {"connection_id":217134,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:12:09] local.INFO: Processing buffer {"connection_id":217134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:12:09] local.INFO: IMEI packet received {"connection_id":217134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":217134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:12:13] local.INFO: TCP Data received {"connection_id":217134,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:12:13] local.INFO: Processing buffer {"connection_id":217134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:12:13] local.INFO: IMEI packet received {"connection_id":217134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":217134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:12:16] local.INFO: TCP Data received {"connection_id":217134,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:12:16] local.INFO: Processing buffer {"connection_id":217134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14524a198012d7b85c005f5eb98000a009c2a..."} 
[2026-10-16 20:12:16] local.INFO: Packet analysis {"connection_id":217134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:12:16] local.INFO: Extracted packet for processing {"connection_id":217134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14524"} 
[2026-10-16 20:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":100002712,"longitude_deg":76.3069888,"latitude_deg":10.0002712,"altitude":10,"angle":156,"satellites":42,"speed":2,"hex_longitude":"2d7b85c0","hex_latitude":"05f5eb98","is_valid_coordinates":true} 
[2026-10-16 20:12: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-10-16 20:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793315840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400901120,"note":"Value kept but may cause issues"} 
[2026-10-16 20:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792161391000,"timestamp_ms":1792161391000,"timestamp_seconds":1792161391,"priority":1,"record_length":96,"hex_timestamp":"000001a14524a198"} 
[2026-10-16 20:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:12: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-10-16 20:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:12:16] 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-10-16 20:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":217134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":217134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":217134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793315840001,"66":27713,"125":206,"8":64768,"24":2,"16":15447103283134464,"45":8900731370400901120},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793315840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:12:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:12:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400901120,"description":"Unknown IO ID 45"} 
[2026-10-16 20:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793315840001,"power":27713,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8900731370400901120}} 
[2026-10-16 20:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":217134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:12:16] local.INFO: GPS data processed {"connection_id":217134,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:12:16] local.INFO: Acknowledgment sent {"connection_id":217134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:12:18] local.INFO: TCP Data received {"connection_id":217134,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:12:18] local.INFO: Processing buffer {"connection_id":217134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:12:18] local.INFO: Packet analysis {"connection_id":217134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:12:18] local.INFO: Extracted packet for processing {"connection_id":217134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:12:18] 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-10-16 20:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":217134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":217134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":217134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:12:18] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:12:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":217134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:12:18] local.INFO: GPS data processed {"connection_id":217134,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:12:18] local.INFO: Acknowledgment sent {"connection_id":217134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:12:53] local.INFO: TCP Data received {"connection_id":217134,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:12:53] local.INFO: Processing buffer {"connection_id":217134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:12:53] local.INFO: Packet analysis {"connection_id":217134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:12:53] local.INFO: Extracted packet for processing {"connection_id":217134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:12:53] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:12: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-10-16 20:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:12: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-10-16 20:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":217134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":217134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":217134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:12:53] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:12:53] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":217134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:12:53] local.INFO: GPS data processed {"connection_id":217134,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:12:53] local.INFO: Acknowledgment sent {"connection_id":217134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:13:14] local.INFO: TCP Data received {"connection_id":218474,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:13:14] local.INFO: Processing buffer {"connection_id":218474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:13:14] local.INFO: IMEI packet received {"connection_id":218474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":218474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:13:17] local.INFO: TCP Data received {"connection_id":217135,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:13:17] local.INFO: Processing buffer {"connection_id":217135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:13:17] local.INFO: IMEI packet received {"connection_id":217135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":217135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:13:19] local.INFO: TCP Data received {"connection_id":218474,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:13:19] local.INFO: Processing buffer {"connection_id":218474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:13:19] local.INFO: IMEI packet received {"connection_id":218474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":218474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:13:20] local.INFO: TCP Data received {"connection_id":218474,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:13:20] local.INFO: Processing buffer {"connection_id":218474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:13:20] local.INFO: Packet analysis {"connection_id":218474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:13:20] local.INFO: Extracted packet for processing {"connection_id":218474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:13:20] 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-10-16 20:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":218474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":218474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":218474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:13:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:13:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":218474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:13:20] local.INFO: GPS data processed {"connection_id":218474,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:13:20] local.INFO: Acknowledgment sent {"connection_id":218474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:13:25] local.INFO: TCP Data received {"connection_id":218474,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:13:25] local.INFO: Processing buffer {"connection_id":218474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:13:25] local.INFO: Packet analysis {"connection_id":218474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:13:25] local.INFO: Extracted packet for processing {"connection_id":218474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20: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-10-16 20:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":218474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":218474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":218474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:13:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:13:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":218474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:13:25] local.INFO: GPS data processed {"connection_id":218474,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:13:25] local.INFO: Acknowledgment sent {"connection_id":218474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:13:50] local.INFO: TCP Data received {"connection_id":216909,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:13:50] local.INFO: Processing buffer {"connection_id":216909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:13:50] local.INFO: IMEI packet received {"connection_id":216909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":216909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:14:09] local.INFO: TCP Data received {"connection_id":220207,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:14:09] local.INFO: Processing buffer {"connection_id":220207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:14:09] local.INFO: IMEI packet received {"connection_id":220207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":220207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:14:14] local.INFO: TCP Data received {"connection_id":220207,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:14:14] local.INFO: Processing buffer {"connection_id":220207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:14:14] local.INFO: IMEI packet received {"connection_id":220207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":220207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:14:15] local.INFO: TCP Data received {"connection_id":220207,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:14:15] local.INFO: Processing buffer {"connection_id":220207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:14:15] local.INFO: Packet analysis {"connection_id":220207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:14:15] local.INFO: Extracted packet for processing {"connection_id":220207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:14:15] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:14:15] 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-10-16 20:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:14:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:14:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":220207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:14:15] local.INFO: GPS data processed {"connection_id":220207,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:14:15] local.INFO: Acknowledgment sent {"connection_id":220207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:14:47] local.INFO: TCP Data received {"connection_id":220207,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:14:47] local.INFO: Processing buffer {"connection_id":220207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:14:47] local.INFO: Packet analysis {"connection_id":220207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:14:47] local.INFO: Extracted packet for processing {"connection_id":220207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:14: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-10-16 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:14:47] 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-10-16 20: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-10-16 20:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:14:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:14:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":220207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:14:47] local.INFO: GPS data processed {"connection_id":220207,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:14:47] local.INFO: Acknowledgment sent {"connection_id":220207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:15:08] local.INFO: TCP Data received {"connection_id":217136,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:15:08] local.INFO: Processing buffer {"connection_id":217136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:15:08] local.INFO: IMEI packet received {"connection_id":217136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":217136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:15:14] local.INFO: TCP Data received {"connection_id":217136,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:15:14] local.INFO: Processing buffer {"connection_id":217136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:15:14] local.INFO: IMEI packet received {"connection_id":217136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":217136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:15:15] local.INFO: TCP Data received {"connection_id":217136,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:15:15] local.INFO: Processing buffer {"connection_id":217136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:15:15] local.INFO: Packet analysis {"connection_id":217136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:15:15] local.INFO: Extracted packet for processing {"connection_id":217136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:15: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-10-16 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:15:15] 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-10-16 20: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-10-16 20:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:15:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:15:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":217136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:15:15] local.INFO: GPS data processed {"connection_id":217136,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:15:15] local.INFO: Acknowledgment sent {"connection_id":217136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:15:46] local.INFO: TCP Data received {"connection_id":217136,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:15:46] local.INFO: Processing buffer {"connection_id":217136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:15:46] local.INFO: Packet analysis {"connection_id":217136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:15:46] local.INFO: Extracted packet for processing {"connection_id":217136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:15:46] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:15: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-10-16 20:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:15:46] 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-10-16 20:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":217136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":217136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":217136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:15:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:15:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":217136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:15:46] local.INFO: GPS data processed {"connection_id":217136,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:15:46] local.INFO: Acknowledgment sent {"connection_id":217136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:16:09] local.INFO: TCP Data received {"connection_id":220208,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:16:09] local.INFO: Processing buffer {"connection_id":220208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:16:09] local.INFO: IMEI packet received {"connection_id":220208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":220208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:16:14] local.INFO: TCP Data received {"connection_id":220208,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:16:14] local.INFO: Processing buffer {"connection_id":220208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:16:14] local.INFO: IMEI packet received {"connection_id":220208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":220208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:16:15] local.INFO: TCP Data received {"connection_id":220208,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:16:15] local.INFO: Processing buffer {"connection_id":220208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:16:15] local.INFO: Packet analysis {"connection_id":220208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:16:15] local.INFO: Extracted packet for processing {"connection_id":220208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:16:15] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:16: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-10-16 20:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:16:15] 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-10-16 20:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:16:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:16:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":220208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:16:15] local.INFO: GPS data processed {"connection_id":220208,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:16:15] local.INFO: Acknowledgment sent {"connection_id":220208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:16:47] local.INFO: TCP Data received {"connection_id":220208,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:16:47] local.INFO: Processing buffer {"connection_id":220208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:16:47] local.INFO: Packet analysis {"connection_id":220208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:16:47] local.INFO: Extracted packet for processing {"connection_id":220208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:16:47] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20: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-10-16 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:16:47] 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-10-16 20: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-10-16 20:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:16:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:16:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":220208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:16:47] local.INFO: GPS data processed {"connection_id":220208,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:16:47] local.INFO: Acknowledgment sent {"connection_id":220208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:17:09] local.INFO: TCP Data received {"connection_id":218476,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:17:09] local.INFO: Processing buffer {"connection_id":218476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:17:09] local.INFO: IMEI packet received {"connection_id":218476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":218476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:17:14] local.INFO: TCP Data received {"connection_id":218476,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:17:14] local.INFO: Processing buffer {"connection_id":218476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:17:14] local.INFO: IMEI packet received {"connection_id":218476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":218476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:17:15] local.INFO: TCP Data received {"connection_id":218476,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:17:15] local.INFO: Processing buffer {"connection_id":218476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145294ce8012d7b84c005f5ebe8000c009c2b..."} 
[2026-10-16 20:17:15] local.INFO: Packet analysis {"connection_id":218476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:17:15] local.INFO: Extracted packet for processing {"connection_id":218476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14529"} 
[2026-10-16 20:17:15] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793316096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370400880640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792161697000,"timestamp_ms":1792161697000,"timestamp_seconds":1792161697,"priority":1,"record_length":96,"hex_timestamp":"000001a145294ce8"} 
[2026-10-16 20:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:17: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-10-16 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-10-16 20:17:15] 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-10-16 20: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-10-16 20:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793316096001,"66":26560,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900731370400880640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793316096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:17:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:17:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370400880640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793316096001,"power":26560,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900731370400880640}} 
[2026-10-16 20:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":218476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:17:15] local.INFO: GPS data processed {"connection_id":218476,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:17:15] local.INFO: Acknowledgment sent {"connection_id":218476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:17:47] local.INFO: TCP Data received {"connection_id":218476,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:17:47] local.INFO: Processing buffer {"connection_id":218476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:17:47] local.INFO: Packet analysis {"connection_id":218476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:17:47] local.INFO: Extracted packet for processing {"connection_id":218476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:17:47] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793394432001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424190464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792161998000,"timestamp_ms":1792161998000,"timestamp_seconds":1792161998,"priority":1,"record_length":96,"hex_timestamp":"000001a1452de4b0"} 
[2026-10-16 20:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:17: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-10-16 20:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 20:17:47] 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-10-16 20:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793394432001,"66":26299,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900449895424190464},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793394432001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:17:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:17:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424190464,"description":"Unknown IO ID 45"} 
[2026-10-16 20:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793394432001,"power":26299,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900449895424190464}} 
[2026-10-16 20:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":218476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:17:47] local.INFO: GPS data processed {"connection_id":218476,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:17:47] local.INFO: Acknowledgment sent {"connection_id":218476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:18:09] local.INFO: TCP Data received {"connection_id":220209,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:18:09] local.INFO: Processing buffer {"connection_id":220209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:18:09] local.INFO: IMEI packet received {"connection_id":220209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":220209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:18:14] local.INFO: TCP Data received {"connection_id":220209,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:18:14] local.INFO: Processing buffer {"connection_id":220209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:18:14] local.INFO: IMEI packet received {"connection_id":220209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":220209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:18:15] local.INFO: TCP Data received {"connection_id":220209,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:18:15] local.INFO: Processing buffer {"connection_id":220209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:18:15] local.INFO: Packet analysis {"connection_id":220209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:18:15] local.INFO: Extracted packet for processing {"connection_id":220209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793394432001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424190464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792161998000,"timestamp_ms":1792161998000,"timestamp_seconds":1792161998,"priority":1,"record_length":96,"hex_timestamp":"000001a1452de4b0"} 
[2026-10-16 20:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:18: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-10-16 20: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 20:18:15] 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-10-16 20: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-10-16 20:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793394432001,"66":26299,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900449895424190464},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793394432001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:18:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:18:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424190464,"description":"Unknown IO ID 45"} 
[2026-10-16 20:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793394432001,"power":26299,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900449895424190464}} 
[2026-10-16 20:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":220209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:18:15] local.INFO: GPS data processed {"connection_id":220209,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:18:15] local.INFO: Acknowledgment sent {"connection_id":220209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:18:47] local.INFO: TCP Data received {"connection_id":220209,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:18:47] local.INFO: Processing buffer {"connection_id":220209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:18:47] local.INFO: Packet analysis {"connection_id":220209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:18:47] local.INFO: Extracted packet for processing {"connection_id":220209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793394432001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424190464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792161998000,"timestamp_ms":1792161998000,"timestamp_seconds":1792161998,"priority":1,"record_length":96,"hex_timestamp":"000001a1452de4b0"} 
[2026-10-16 20:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:18: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-10-16 20:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 20:18:47] 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-10-16 20:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793394432001,"66":26299,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900449895424190464},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793394432001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:18:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:18:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424190464,"description":"Unknown IO ID 45"} 
[2026-10-16 20:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793394432001,"power":26299,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900449895424190464}} 
[2026-10-16 20:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":220209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:18:47] local.INFO: GPS data processed {"connection_id":220209,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:18:47] local.INFO: Acknowledgment sent {"connection_id":220209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:19:08] local.INFO: TCP Data received {"connection_id":217139,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:19:08] local.INFO: Processing buffer {"connection_id":217139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:19:08] local.INFO: IMEI packet received {"connection_id":217139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":217139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:19:14] local.INFO: TCP Data received {"connection_id":217139,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:19:14] local.INFO: Processing buffer {"connection_id":217139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:19:14] local.INFO: IMEI packet received {"connection_id":217139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":217139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:19:15] local.INFO: TCP Data received {"connection_id":217139,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:19:15] local.INFO: Processing buffer {"connection_id":217139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:19:15] local.INFO: Packet analysis {"connection_id":217139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:19:15] local.INFO: Extracted packet for processing {"connection_id":217139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:19:15] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793394432001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424190464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792161998000,"timestamp_ms":1792161998000,"timestamp_seconds":1792161998,"priority":1,"record_length":96,"hex_timestamp":"000001a1452de4b0"} 
[2026-10-16 20:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:19: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-10-16 20: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 20:19:15] 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-10-16 20: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-10-16 20:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793394432001,"66":26299,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900449895424190464},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793394432001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:19:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:19:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424190464,"description":"Unknown IO ID 45"} 
[2026-10-16 20:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793394432001,"power":26299,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900449895424190464}} 
[2026-10-16 20:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":217139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:19:15] local.INFO: GPS data processed {"connection_id":217139,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:19:15] local.INFO: Acknowledgment sent {"connection_id":217139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:19:20] local.INFO: TCP Data received {"connection_id":216911,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:19:20] local.INFO: Processing buffer {"connection_id":216911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:19:20] local.INFO: IMEI packet received {"connection_id":216911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":216911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:19:47] local.INFO: TCP Data received {"connection_id":217139,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:19:47] local.INFO: Processing buffer {"connection_id":217139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:19:47] local.INFO: Packet analysis {"connection_id":217139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:19:47] local.INFO: Extracted packet for processing {"connection_id":217139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:19:47] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793394432001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424190464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792161998000,"timestamp_ms":1792161998000,"timestamp_seconds":1792161998,"priority":1,"record_length":96,"hex_timestamp":"000001a1452de4b0"} 
[2026-10-16 20:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:19: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-10-16 20:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 20:19:47] 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-10-16 20:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793394432001,"66":26299,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900449895424190464},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793394432001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:19:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:19:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424190464,"description":"Unknown IO ID 45"} 
[2026-10-16 20:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793394432001,"power":26299,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900449895424190464}} 
[2026-10-16 20:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":217139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:19:47] local.INFO: GPS data processed {"connection_id":217139,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:19:47] local.INFO: Acknowledgment sent {"connection_id":217139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:19:50] local.INFO: TCP Data received {"connection_id":216912,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:19:50] local.INFO: Processing buffer {"connection_id":216912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:19:50] local.INFO: IMEI packet received {"connection_id":216912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":216912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:20:15] local.INFO: TCP Data received {"connection_id":220210,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:20:15] local.INFO: Processing buffer {"connection_id":220210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:20:15] local.INFO: IMEI packet received {"connection_id":220210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":220210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:20:19] local.INFO: TCP Data received {"connection_id":220210,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:20:19] local.INFO: Processing buffer {"connection_id":220210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:20:19] local.INFO: IMEI packet received {"connection_id":220210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":220210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:20:20] local.INFO: TCP Data received {"connection_id":220210,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:20:20] local.INFO: Processing buffer {"connection_id":220210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:20:20] local.INFO: Packet analysis {"connection_id":220210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:20:20] local.INFO: Extracted packet for processing {"connection_id":220210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:20:20] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793394432001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424190464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792161998000,"timestamp_ms":1792161998000,"timestamp_seconds":1792161998,"priority":1,"record_length":96,"hex_timestamp":"000001a1452de4b0"} 
[2026-10-16 20:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 20:20:20] 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-10-16 20:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":220210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":220210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":220210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793394432001,"66":26299,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900449895424190464},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793394432001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:20:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:20:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424190464,"description":"Unknown IO ID 45"} 
[2026-10-16 20:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793394432001,"power":26299,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900449895424190464}} 
[2026-10-16 20:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":220210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:20:20] local.INFO: GPS data processed {"connection_id":220210,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:20:20] local.INFO: Acknowledgment sent {"connection_id":220210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:20:24] local.INFO: TCP Data received {"connection_id":220210,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:20:24] local.INFO: Processing buffer {"connection_id":220210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1452de4b0012d7b84c005f5ebe8000c009c2a..."} 
[2026-10-16 20:20:24] local.INFO: Packet analysis {"connection_id":220210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:20:24] local.INFO: Extracted packet for processing {"connection_id":220210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1452d"} 
[2026-10-16 20:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100002792,"longitude_deg":76.3069632,"latitude_deg":10.0002792,"altitude":12,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ebe8","is_valid_coordinates":true} 
[2026-10-16 20:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793394432001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447103283134464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424190464,"note":"Value kept but may cause issues"} 
[2026-10-16 20:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792161998000,"timestamp_ms":1792161998000,"timestamp_seconds":1792161998,"priority":1,"record_length":96,"hex_timestamp":"000001a1452de4b0"} 
[2026-10-16 20:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 20:20:24] 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-10-16 20:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":220210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":220210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":220210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793394432001,"66":26299,"125":206,"8":64768,"24":0,"16":15447103283134464,"45":8900449895424190464},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793394432001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:20:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:20:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447103283134464,"km_value":15447103283134.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424190464,"description":"Unknown IO ID 45"} 
[2026-10-16 20:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793394432001,"power":26299,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900449895424190464}} 
[2026-10-16 20:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":220210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:20:24] local.INFO: GPS data processed {"connection_id":220210,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:20:24] local.INFO: Acknowledgment sent {"connection_id":220210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:21:16] local.INFO: TCP Data received {"connection_id":217140,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:21:16] local.INFO: Processing buffer {"connection_id":217140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:21:16] local.INFO: IMEI packet received {"connection_id":217140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":217140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:21:24] local.INFO: TCP Data received {"connection_id":217140,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:21:24] local.INFO: Processing buffer {"connection_id":217140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:21:24] local.INFO: IMEI packet received {"connection_id":217140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":217140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:21:24] local.INFO: TCP Data received {"connection_id":217140,"ip":"117.224.25.43","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 20:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217140,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 20:21:24] local.INFO: Processing buffer {"connection_id":217140,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 20:21:24] local.INFO: IMEI packet received {"connection_id":217140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":217140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:25:16] local.INFO: TCP Data received {"connection_id":220214,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:25:16] local.INFO: Processing buffer {"connection_id":220214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:25:16] local.INFO: IMEI packet received {"connection_id":220214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":220214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:25:53] local.INFO: TCP Data received {"connection_id":216917,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:25:53] local.INFO: Processing buffer {"connection_id":216917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:25:53] local.INFO: IMEI packet received {"connection_id":216917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":216917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:26:29] local.INFO: TCP Data received {"connection_id":216918,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:26:29] local.INFO: Processing buffer {"connection_id":216918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:26:29] local.INFO: IMEI packet received {"connection_id":216918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":216918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:26:30] local.INFO: TCP Data received {"connection_id":216918,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14535b898012d7b844005f5ef38000700712c..."} 
[2026-10-16 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14535b898012d7b844005f5ef38000700712c..."} 
[2026-10-16 20:26:30] local.INFO: Processing buffer {"connection_id":216918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14535b898012d7b844005f5ef38000700712c..."} 
[2026-10-16 20:26:30] local.INFO: Packet analysis {"connection_id":216918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:26:30] local.INFO: Extracted packet for processing {"connection_id":216918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763069504,"raw_latitude":100003640,"longitude_deg":76.3069504,"latitude_deg":10.000364,"altitude":7,"angle":113,"satellites":44,"speed":3,"hex_longitude":"2d7b8440","hex_latitude":"05f5ef38","is_valid_coordinates":true} 
[2026-10-16 20:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793602560001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447202067382272,"note":"Value kept but may cause issues"} 
[2026-10-16 20:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191886848,"note":"Value kept but may cause issues"} 
[2026-10-16 20:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792162511000,"timestamp_ms":1792162511000,"timestamp_seconds":1792162511,"priority":1,"record_length":96,"hex_timestamp":"000001a14535b898"} 
[2026-10-16 20:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 20:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 20:26:30] 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-10-16 20:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793602560001,"66":27919,"125":206,"8":64768,"24":3,"16":15447202067382272,"45":8900238789191886848},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793602560001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:26:30] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:26:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447202067382272,"km_value":15447202067382.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191886848,"description":"Unknown IO ID 45"} 
[2026-10-16 20:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793602560001,"power":27919,"unknown_125":206,"unknown_8":64768,"ignition":3,"odometer":null,"unknown_45":8900238789191886848}} 
[2026-10-16 20:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":216918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:26:30] local.INFO: GPS data processed {"connection_id":216918,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:26:30] local.INFO: Acknowledgment sent {"connection_id":216918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:27:13] local.INFO: TCP Data received {"connection_id":220215,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:27:13] local.INFO: Processing buffer {"connection_id":220215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:27:13] local.INFO: IMEI packet received {"connection_id":220215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":220215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:27:19] local.INFO: TCP Data received {"connection_id":220215,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:27:19] local.INFO: Processing buffer {"connection_id":220215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:27:19] local.INFO: IMEI packet received {"connection_id":220215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":220215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:27:21] local.INFO: TCP Data received {"connection_id":220215,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14535c450012d7b850005f5eef0000800542d..."} 
[2026-10-16 20:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14535c450012d7b850005f5eef0000800542d..."} 
[2026-10-16 20:27:21] local.INFO: Processing buffer {"connection_id":220215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14535c450012d7b850005f5eef0000800542d..."} 
[2026-10-16 20:27:21] local.INFO: Packet analysis {"connection_id":220215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:27:21] local.INFO: Extracted packet for processing {"connection_id":220215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:27:21] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003568,"longitude_deg":76.3069696,"latitude_deg":10.0003568,"altitude":8,"angle":84,"satellites":45,"speed":2,"hex_longitude":"2d7b8500","hex_latitude":"05f5eef0","is_valid_coordinates":true} 
[2026-10-16 20:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793602816001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936052224,"note":"Value kept but may cause issues"} 
[2026-10-16 20:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792162514000,"timestamp_ms":1792162514000,"timestamp_seconds":1792162514,"priority":1,"record_length":96,"hex_timestamp":"000001a14535c450"} 
[2026-10-16 20:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:27: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-10-16 20:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-10-16 20:27:21] 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-10-16 20:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":220215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":220215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":220215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793602816001,"66":27843,"125":206,"8":64768,"24":2,"16":15447210657316864,"45":8900309157936052224},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793602816001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:27:21] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:27:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936052224,"description":"Unknown IO ID 45"} 
[2026-10-16 20:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793602816001,"power":27843,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8900309157936052224}} 
[2026-10-16 20:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":220215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:27:21] local.INFO: GPS data processed {"connection_id":220215,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:27:21] local.INFO: Acknowledgment sent {"connection_id":220215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:27:54] local.INFO: TCP Data received {"connection_id":220215,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14535c450012d7b850005f5eef0000800542d..."} 
[2026-10-16 20:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14535c450012d7b850005f5eef0000800542d..."} 
[2026-10-16 20:27:54] local.INFO: Processing buffer {"connection_id":220215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14535c450012d7b850005f5eef0000800542d..."} 
[2026-10-16 20:27:54] local.INFO: Packet analysis {"connection_id":220215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:27:54] local.INFO: Extracted packet for processing {"connection_id":220215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003568,"longitude_deg":76.3069696,"latitude_deg":10.0003568,"altitude":8,"angle":84,"satellites":45,"speed":2,"hex_longitude":"2d7b8500","hex_latitude":"05f5eef0","is_valid_coordinates":true} 
[2026-10-16 20:27: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-10-16 20:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793603584001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168566784,"note":"Value kept but may cause issues"} 
[2026-10-16 20:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792162514000,"timestamp_ms":1792162514000,"timestamp_seconds":1792162514,"priority":1,"record_length":96,"hex_timestamp":"000001a14535c450"} 
[2026-10-16 20:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 20:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-16 20:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793603584001,"66":27843,"125":206,"8":64768,"24":2,"16":15447210657316864,"45":8900520264168566784},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793603584001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:27:54] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:27:54] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168566784,"description":"Unknown IO ID 45"} 
[2026-10-16 20:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793603584001,"power":27843,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8900520264168566784}} 
[2026-10-16 20:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":220215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:27:54] local.INFO: GPS data processed {"connection_id":220215,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:27:54] local.INFO: Acknowledgment sent {"connection_id":220215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:28:09] local.INFO: TCP Data received {"connection_id":218478,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:28:09] local.INFO: Processing buffer {"connection_id":218478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:28:09] local.INFO: IMEI packet received {"connection_id":218478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":218478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:28:14] local.INFO: TCP Data received {"connection_id":218478,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:28:14] local.INFO: Processing buffer {"connection_id":218478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:28:14] local.INFO: IMEI packet received {"connection_id":218478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":218478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:28:15] local.INFO: TCP Data received {"connection_id":218478,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14535c838012d7b854005f5ef08000800382d..."} 
[2026-10-16 20:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14535c838012d7b854005f5ef08000800382d..."} 
[2026-10-16 20:28:15] local.INFO: Processing buffer {"connection_id":218478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14535c838012d7b854005f5ef08000800382d..."} 
[2026-10-16 20:28:15] local.INFO: Packet analysis {"connection_id":218478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:28:15] local.INFO: Extracted packet for processing {"connection_id":218478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763069760,"raw_latitude":100003592,"longitude_deg":76.306976,"latitude_deg":10.0003592,"altitude":8,"angle":56,"satellites":45,"speed":2,"hex_longitude":"2d7b8540","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793603584001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168566784,"note":"Value kept but may cause issues"} 
[2026-10-16 20:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792162515000,"timestamp_ms":1792162515000,"timestamp_seconds":1792162515,"priority":1,"record_length":96,"hex_timestamp":"000001a14535c838"} 
[2026-10-16 20:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:28: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-10-16 20: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":195,"data_length":795,"current_offset":136} 
[2026-10-16 20:28: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-10-16 20: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-10-16 20:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793603584001,"66":27843,"125":206,"8":64768,"24":2,"16":15447210657316864,"45":8900520264168566784},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793603584001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:28:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:28:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168566784,"description":"Unknown IO ID 45"} 
[2026-10-16 20:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793603584001,"power":27843,"unknown_125":206,"unknown_8":64768,"ignition":2,"odometer":null,"unknown_45":8900520264168566784}} 
[2026-10-16 20:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":218478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:28:15] local.INFO: GPS data processed {"connection_id":218478,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:28:15] local.INFO: Acknowledgment sent {"connection_id":218478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:28:47] local.INFO: TCP Data received {"connection_id":218478,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:28:47] local.INFO: Processing buffer {"connection_id":218478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:28:47] local.INFO: Packet analysis {"connection_id":218478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:28:47] local.INFO: Extracted packet for processing {"connection_id":218478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:28:47] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":100003656,"longitude_deg":76.3069824,"latitude_deg":10.0003656,"altitude":8,"angle":42,"satellites":44,"speed":3,"hex_longitude":"2d7b8580","hex_latitude":"05f5ef48","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793603840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632912750592,"note":"Value kept but may cause issues"} 
[2026-10-16 20:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792162516000,"timestamp_ms":1792162516000,"timestamp_seconds":1792162516,"priority":1,"record_length":96,"hex_timestamp":"000001a14535cc20"} 
[2026-10-16 20:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:28: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-10-16 20: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-16 20:28:47] 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-10-16 20: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-10-16 20:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793603840001,"66":27332,"125":206,"8":64768,"24":3,"16":15447210657316864,"45":8900590632912750592},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793603840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:28:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:28:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632912750592,"description":"Unknown IO ID 45"} 
[2026-10-16 20:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793603840001,"power":27332,"unknown_125":206,"unknown_8":64768,"ignition":3,"odometer":null,"unknown_45":8900590632912750592}} 
[2026-10-16 20:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":218478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:28:47] local.INFO: GPS data processed {"connection_id":218478,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:28:47] local.INFO: Acknowledgment sent {"connection_id":218478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:29:09] local.INFO: TCP Data received {"connection_id":216919,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:29:09] local.INFO: Processing buffer {"connection_id":216919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:29:09] local.INFO: IMEI packet received {"connection_id":216919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":216919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:29:14] local.INFO: TCP Data received {"connection_id":216919,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:29:14] local.INFO: Processing buffer {"connection_id":216919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:29:14] local.INFO: IMEI packet received {"connection_id":216919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":216919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:29:15] local.INFO: TCP Data received {"connection_id":216919,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:29:15] local.INFO: Processing buffer {"connection_id":216919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:29:15] local.INFO: Packet analysis {"connection_id":216919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:29:15] local.INFO: Extracted packet for processing {"connection_id":216919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":100003656,"longitude_deg":76.3069824,"latitude_deg":10.0003656,"altitude":8,"angle":42,"satellites":44,"speed":3,"hex_longitude":"2d7b8580","hex_latitude":"05f5ef48","is_valid_coordinates":true} 
[2026-10-16 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-10-16 20:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793603840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632912750592,"note":"Value kept but may cause issues"} 
[2026-10-16 20:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792162516000,"timestamp_ms":1792162516000,"timestamp_seconds":1792162516,"priority":1,"record_length":96,"hex_timestamp":"000001a14535cc20"} 
[2026-10-16 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-10-16 20: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-10-16 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-16 20:29: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-10-16 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-10-16 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-10-16 20:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793603840001,"66":27332,"125":206,"8":64768,"24":3,"16":15447210657316864,"45":8900590632912750592},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793603840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:29:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:29:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632912750592,"description":"Unknown IO ID 45"} 
[2026-10-16 20:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793603840001,"power":27332,"unknown_125":206,"unknown_8":64768,"ignition":3,"odometer":null,"unknown_45":8900590632912750592}} 
[2026-10-16 20:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":216919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:29:15] local.INFO: GPS data processed {"connection_id":216919,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:29:15] local.INFO: Acknowledgment sent {"connection_id":216919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:29:56] local.INFO: TCP Data received {"connection_id":216919,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:29:56] local.INFO: Processing buffer {"connection_id":216919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:29:56] local.INFO: Packet analysis {"connection_id":216919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:29:56] local.INFO: Extracted packet for processing {"connection_id":216919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":100003656,"longitude_deg":76.3069824,"latitude_deg":10.0003656,"altitude":8,"angle":42,"satellites":44,"speed":3,"hex_longitude":"2d7b8580","hex_latitude":"05f5ef48","is_valid_coordinates":true} 
[2026-10-16 20:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793603840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632912750592,"note":"Value kept but may cause issues"} 
[2026-10-16 20:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792162516000,"timestamp_ms":1792162516000,"timestamp_seconds":1792162516,"priority":1,"record_length":96,"hex_timestamp":"000001a14535cc20"} 
[2026-10-16 20:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-16 20:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793603840001,"66":27332,"125":206,"8":64768,"24":3,"16":15447210657316864,"45":8900590632912750592},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793603840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:29:56] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:29:56] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632912750592,"description":"Unknown IO ID 45"} 
[2026-10-16 20:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793603840001,"power":27332,"unknown_125":206,"unknown_8":64768,"ignition":3,"odometer":null,"unknown_45":8900590632912750592}} 
[2026-10-16 20:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":216919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:29:56] local.INFO: GPS data processed {"connection_id":216919,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:29:56] local.INFO: Acknowledgment sent {"connection_id":216919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:30:14] local.INFO: TCP Data received {"connection_id":218480,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:30:14] local.INFO: Processing buffer {"connection_id":218480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:30:14] local.INFO: IMEI packet received {"connection_id":218480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":218480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:30:19] local.INFO: TCP Data received {"connection_id":218480,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:30:19] local.INFO: Processing buffer {"connection_id":218480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:30:19] local.INFO: IMEI packet received {"connection_id":218480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":218480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:30:22] local.INFO: TCP Data received {"connection_id":218480,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:30:22] local.INFO: Processing buffer {"connection_id":218480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:30:22] local.INFO: Packet analysis {"connection_id":218480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:30:22] local.INFO: Extracted packet for processing {"connection_id":218480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:30:22] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":100003656,"longitude_deg":76.3069824,"latitude_deg":10.0003656,"altitude":8,"angle":42,"satellites":44,"speed":3,"hex_longitude":"2d7b8580","hex_latitude":"05f5ef48","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793603840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632912750592,"note":"Value kept but may cause issues"} 
[2026-10-16 20:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792162516000,"timestamp_ms":1792162516000,"timestamp_seconds":1792162516,"priority":1,"record_length":96,"hex_timestamp":"000001a14535cc20"} 
[2026-10-16 20:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-16 20:30:22] 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-10-16 20: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-10-16 20:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793603840001,"66":27332,"125":206,"8":64768,"24":3,"16":15447210657316864,"45":8900590632912750592},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793603840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:30:22] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:30:22] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632912750592,"description":"Unknown IO ID 45"} 
[2026-10-16 20:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793603840001,"power":27332,"unknown_125":206,"unknown_8":64768,"ignition":3,"odometer":null,"unknown_45":8900590632912750592}} 
[2026-10-16 20:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":218480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:30:22] local.INFO: GPS data processed {"connection_id":218480,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:30:22] local.INFO: Acknowledgment sent {"connection_id":218480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:30:25] local.INFO: TCP Data received {"connection_id":218480,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:30:25] local.INFO: Processing buffer {"connection_id":218480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14535cc20012d7b858005f5ef480008002a2c..."} 
[2026-10-16 20:30:25] local.INFO: Packet analysis {"connection_id":218480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:30:25] local.INFO: Extracted packet for processing {"connection_id":218480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14535"} 
[2026-10-16 20:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":100003656,"longitude_deg":76.3069824,"latitude_deg":10.0003656,"altitude":8,"angle":42,"satellites":44,"speed":3,"hex_longitude":"2d7b8580","hex_latitude":"05f5ef48","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793603840001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632912750592,"note":"Value kept but may cause issues"} 
[2026-10-16 20:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792162516000,"timestamp_ms":1792162516000,"timestamp_seconds":1792162516,"priority":1,"record_length":96,"hex_timestamp":"000001a14535cc20"} 
[2026-10-16 20:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-10-16 20:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":218480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":218480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":218480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793603840001,"66":27332,"125":206,"8":64768,"24":3,"16":15447210657316864,"45":8900590632912750592},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793603840001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:30:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:30:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632912750592,"description":"Unknown IO ID 45"} 
[2026-10-16 20:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793603840001,"power":27332,"unknown_125":206,"unknown_8":64768,"ignition":3,"odometer":null,"unknown_45":8900590632912750592}} 
[2026-10-16 20:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":218480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:30:25] local.INFO: GPS data processed {"connection_id":218480,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:30:25] local.INFO: Acknowledgment sent {"connection_id":218480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:31:08] local.INFO: TCP Data received {"connection_id":216920,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:31:09] local.INFO: Processing buffer {"connection_id":216920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:31:09] local.INFO: IMEI packet received {"connection_id":216920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":216920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:31:10] local.INFO: TCP Data received {"connection_id":220216,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:31:10] local.INFO: Processing buffer {"connection_id":220216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:31:10] local.INFO: IMEI packet received {"connection_id":220216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":220216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:31:14] local.INFO: TCP Data received {"connection_id":216920,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:31:14] local.INFO: Processing buffer {"connection_id":216920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:31:14] local.INFO: IMEI packet received {"connection_id":216920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":216920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:31:15] local.INFO: TCP Data received {"connection_id":216920,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:31:16] local.INFO: Processing buffer {"connection_id":216920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:31:16] local.INFO: Packet analysis {"connection_id":216920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:31:16] local.INFO: Extracted packet for processing {"connection_id":216920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:31:16] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793604096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656944640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792162817000,"timestamp_ms":1792162817000,"timestamp_seconds":1792162817,"priority":1,"record_length":96,"hex_timestamp":"000001a1453a63e8"} 
[2026-10-16 20:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:31: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-10-16 20:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 20:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793604096001,"66":26452,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8900661001656944640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793604096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:31:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:31:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656944640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793604096001,"power":26452,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900661001656944640}} 
[2026-10-16 20:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":216920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:31:16] local.INFO: GPS data processed {"connection_id":216920,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:31:16] local.INFO: Acknowledgment sent {"connection_id":216920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:31:48] local.INFO: TCP Data received {"connection_id":216920,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:31:48] local.INFO: Processing buffer {"connection_id":216920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:31:48] local.INFO: Packet analysis {"connection_id":216920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:31:48] local.INFO: Extracted packet for processing {"connection_id":216920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:31:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793604096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656944640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792162817000,"timestamp_ms":1792162817000,"timestamp_seconds":1792162817,"priority":1,"record_length":96,"hex_timestamp":"000001a1453a63e8"} 
[2026-10-16 20:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:31: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-10-16 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 20:31:48] 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-10-16 20: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-10-16 20:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793604096001,"66":26452,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8900661001656944640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793604096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:31:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:31:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656944640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793604096001,"power":26452,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900661001656944640}} 
[2026-10-16 20:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":216920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:31:48] local.INFO: GPS data processed {"connection_id":216920,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:31:48] local.INFO: Acknowledgment sent {"connection_id":216920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:31:51] local.INFO: TCP Data received {"connection_id":216921,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:31:51] local.INFO: Processing buffer {"connection_id":216921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:31:51] local.INFO: IMEI packet received {"connection_id":216921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":216921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:32:09] local.INFO: TCP Data received {"connection_id":220217,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:32:09] local.INFO: Processing buffer {"connection_id":220217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:32:09] local.INFO: IMEI packet received {"connection_id":220217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":220217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:32:14] local.INFO: TCP Data received {"connection_id":220217,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:32:14] local.INFO: Processing buffer {"connection_id":220217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:32:14] local.INFO: IMEI packet received {"connection_id":220217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":220217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:32:15] local.INFO: TCP Data received {"connection_id":220217,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:32:15] local.INFO: Processing buffer {"connection_id":220217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:32:15] local.INFO: Packet analysis {"connection_id":220217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:32:15] local.INFO: Extracted packet for processing {"connection_id":220217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:32:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793604096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656944640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792162817000,"timestamp_ms":1792162817000,"timestamp_seconds":1792162817,"priority":1,"record_length":96,"hex_timestamp":"000001a1453a63e8"} 
[2026-10-16 20:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:32: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-10-16 20:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 20:32:15] 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-10-16 20:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793604096001,"66":26452,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8900661001656944640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793604096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:32:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:32:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656944640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793604096001,"power":26452,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900661001656944640}} 
[2026-10-16 20:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":220217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:32:15] local.INFO: GPS data processed {"connection_id":220217,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:32:15] local.INFO: Acknowledgment sent {"connection_id":220217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:32:46] local.INFO: TCP Data received {"connection_id":220217,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:32:46] local.INFO: Processing buffer {"connection_id":220217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:32:46] local.INFO: Packet analysis {"connection_id":220217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:32:46] local.INFO: Extracted packet for processing {"connection_id":220217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:32:46] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793604096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656944640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792162817000,"timestamp_ms":1792162817000,"timestamp_seconds":1792162817,"priority":1,"record_length":96,"hex_timestamp":"000001a1453a63e8"} 
[2026-10-16 20:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:32: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-10-16 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 20:32:46] 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-10-16 20: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-10-16 20:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":220217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":220217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":220217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793604096001,"66":26452,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8900661001656944640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793604096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:32:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:32:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656944640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793604096001,"power":26452,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900661001656944640}} 
[2026-10-16 20:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":220217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:32:46] local.INFO: GPS data processed {"connection_id":220217,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:32:46] local.INFO: Acknowledgment sent {"connection_id":220217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:33:14] local.INFO: TCP Data received {"connection_id":216922,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:33:14] local.INFO: Processing buffer {"connection_id":216922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:33:14] local.INFO: IMEI packet received {"connection_id":216922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":216922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:33:19] local.INFO: TCP Data received {"connection_id":216922,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:33:19] local.INFO: Processing buffer {"connection_id":216922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:33:19] local.INFO: IMEI packet received {"connection_id":216922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":216922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:33:20] local.INFO: TCP Data received {"connection_id":216922,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:33:20] local.INFO: Processing buffer {"connection_id":216922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:33:20] local.INFO: Packet analysis {"connection_id":216922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:33:20] local.INFO: Extracted packet for processing {"connection_id":216922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:33:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:33: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-10-16 20:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793604096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656944640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792162817000,"timestamp_ms":1792162817000,"timestamp_seconds":1792162817,"priority":1,"record_length":96,"hex_timestamp":"000001a1453a63e8"} 
[2026-10-16 20:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:33: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 20:33:20] 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-10-16 20:33: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-10-16 20:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":216922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":216922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":216922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793604096001,"66":26452,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8900661001656944640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793604096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:33:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:33:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656944640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793604096001,"power":26452,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900661001656944640}} 
[2026-10-16 20:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":216922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:33:20] local.INFO: GPS data processed {"connection_id":216922,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:33:20] local.INFO: Acknowledgment sent {"connection_id":216922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:33:54] local.INFO: TCP Data received {"connection_id":216922,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:33:54] local.INFO: Processing buffer {"connection_id":216922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:33:54] local.INFO: Packet analysis {"connection_id":216922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:33:54] local.INFO: Extracted packet for processing {"connection_id":216922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793604096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656944640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792162817000,"timestamp_ms":1792162817000,"timestamp_seconds":1792162817,"priority":1,"record_length":96,"hex_timestamp":"000001a1453a63e8"} 
[2026-10-16 20:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 20:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793604096001,"66":26452,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8900661001656944640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793604096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:33:54] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:33:54] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656944640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793604096001,"power":26452,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900661001656944640}} 
[2026-10-16 20:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":216922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:33:54] local.INFO: GPS data processed {"connection_id":216922,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:33:54] local.INFO: Acknowledgment sent {"connection_id":216922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:34:08] local.INFO: TCP Data received {"connection_id":218482,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:34:08] local.INFO: Processing buffer {"connection_id":218482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:34:08] local.INFO: IMEI packet received {"connection_id":218482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":218482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:34:14] local.INFO: TCP Data received {"connection_id":218482,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:34:14] local.INFO: Processing buffer {"connection_id":218482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:34:14] local.INFO: IMEI packet received {"connection_id":218482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":218482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:34:15] local.INFO: TCP Data received {"connection_id":218482,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:34:15] local.INFO: Processing buffer {"connection_id":218482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:34:15] local.INFO: Packet analysis {"connection_id":218482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:34:15] local.INFO: Extracted packet for processing {"connection_id":218482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 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-10-16 20:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793604096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656944640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792162817000,"timestamp_ms":1792162817000,"timestamp_seconds":1792162817,"priority":1,"record_length":96,"hex_timestamp":"000001a1453a63e8"} 
[2026-10-16 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-10-16 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 20:34:15] 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-10-16 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-10-16 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-10-16 20:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793604096001,"66":26452,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8900661001656944640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793604096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:34:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:34:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656944640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793604096001,"power":26452,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900661001656944640}} 
[2026-10-16 20:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":218482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:34:15] local.INFO: GPS data processed {"connection_id":218482,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:34:15] local.INFO: Acknowledgment sent {"connection_id":218482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:34:47] local.INFO: TCP Data received {"connection_id":218482,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:34:47] local.INFO: Processing buffer {"connection_id":218482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:34:47] local.INFO: Packet analysis {"connection_id":218482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:34:47] local.INFO: Extracted packet for processing {"connection_id":218482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:34:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793604096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656944640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792162817000,"timestamp_ms":1792162817000,"timestamp_seconds":1792162817,"priority":1,"record_length":96,"hex_timestamp":"000001a1453a63e8"} 
[2026-10-16 20:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:34: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-10-16 20:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 20:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793604096001,"66":26452,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8900661001656944640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793604096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:34:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:34:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656944640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793604096001,"power":26452,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900661001656944640}} 
[2026-10-16 20:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":218482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:34:47] local.INFO: GPS data processed {"connection_id":218482,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:34:47] local.INFO: Acknowledgment sent {"connection_id":218482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:35:14] local.INFO: TCP Data received {"connection_id":220219,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:35:14] local.INFO: Processing buffer {"connection_id":220219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:35:14] local.INFO: IMEI packet received {"connection_id":220219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":220219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:35:19] local.INFO: TCP Data received {"connection_id":220219,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:35:19] local.INFO: Processing buffer {"connection_id":220219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:35:19] local.INFO: IMEI packet received {"connection_id":220219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":220219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:35:20] local.INFO: TCP Data received {"connection_id":220219,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:35:20] local.INFO: Processing buffer {"connection_id":220219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:35:20] local.INFO: Packet analysis {"connection_id":220219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:35:20] local.INFO: Extracted packet for processing {"connection_id":220219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:35:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793604096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656944640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792162817000,"timestamp_ms":1792162817000,"timestamp_seconds":1792162817,"priority":1,"record_length":96,"hex_timestamp":"000001a1453a63e8"} 
[2026-10-16 20:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 20:35:20] 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-10-16 20:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":220219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":220219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":220219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793604096001,"66":26452,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8900661001656944640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793604096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:35:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:35:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656944640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793604096001,"power":26452,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900661001656944640}} 
[2026-10-16 20:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":220219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:35:20] local.INFO: GPS data processed {"connection_id":220219,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:35:20] local.INFO: Acknowledgment sent {"connection_id":220219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:35:24] local.INFO: TCP Data received {"connection_id":220219,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:35:24] local.INFO: Processing buffer {"connection_id":220219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453a63e8012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:35:24] local.INFO: Packet analysis {"connection_id":220219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:35:24] local.INFO: Extracted packet for processing {"connection_id":220219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453a"} 
[2026-10-16 20:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793604096001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001656944640,"note":"Value kept but may cause issues"} 
[2026-10-16 20:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792162817000,"timestamp_ms":1792162817000,"timestamp_seconds":1792162817,"priority":1,"record_length":96,"hex_timestamp":"000001a1453a63e8"} 
[2026-10-16 20:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 20:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":220219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":220219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":220219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793604096001,"66":26452,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8900661001656944640},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793604096001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:35:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:35:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001656944640,"description":"Unknown IO ID 45"} 
[2026-10-16 20:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793604096001,"power":26452,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900661001656944640}} 
[2026-10-16 20:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":220219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:35:24] local.INFO: GPS data processed {"connection_id":220219,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:35:24] local.INFO: Acknowledgment sent {"connection_id":220219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:36:10] local.INFO: TCP Data received {"connection_id":217146,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:36:10] local.INFO: Processing buffer {"connection_id":217146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:36:10] local.INFO: IMEI packet received {"connection_id":217146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":217146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:36:14] local.INFO: TCP Data received {"connection_id":217146,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:36:14] local.INFO: Processing buffer {"connection_id":217146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:36:14] local.INFO: IMEI packet received {"connection_id":217146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":217146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:36:15] local.INFO: TCP Data received {"connection_id":217146,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:36:15] local.INFO: Processing buffer {"connection_id":217146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:36:15] local.INFO: Packet analysis {"connection_id":217146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:36:15] local.INFO: Extracted packet for processing {"connection_id":217146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:36:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:36: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-10-16 20: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:36:15] 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-10-16 20: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-10-16 20:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:36:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:36:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":217146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:36:15] local.INFO: GPS data processed {"connection_id":217146,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:36:15] local.INFO: Acknowledgment sent {"connection_id":217146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:36:19] local.INFO: TCP Data received {"connection_id":217146,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:36:19] local.INFO: Processing buffer {"connection_id":217146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:36:19] local.INFO: Packet analysis {"connection_id":217146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:36:19] local.INFO: Extracted packet for processing {"connection_id":217146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:36:19] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:36: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-10-16 20: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:36:19] 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-10-16 20: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-10-16 20:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":217146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":217146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":217146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:36:19] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:36:19] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":217146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:36:19] local.INFO: GPS data processed {"connection_id":217146,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:36:19] local.INFO: Acknowledgment sent {"connection_id":217146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:36:51] local.INFO: TCP Data received {"connection_id":217146,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:36:51] local.INFO: Processing buffer {"connection_id":217146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:36:51] local.INFO: Packet analysis {"connection_id":217146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:36:51] local.INFO: Extracted packet for processing {"connection_id":217146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:36:51] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:36:51] 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-10-16 20:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":217146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":217146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":217146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:36:51] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:36:51] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":217146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:36:51] local.INFO: GPS data processed {"connection_id":217146,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:36:51] local.INFO: Acknowledgment sent {"connection_id":217146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:37:08] local.INFO: TCP Data received {"connection_id":217147,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:37:08] local.INFO: Processing buffer {"connection_id":217147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:37:08] local.INFO: IMEI packet received {"connection_id":217147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":217147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:37:14] local.INFO: TCP Data received {"connection_id":217147,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:37:14] local.INFO: Processing buffer {"connection_id":217147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:37:14] local.INFO: IMEI packet received {"connection_id":217147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":217147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:37:15] local.INFO: TCP Data received {"connection_id":217147,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:37:15] local.INFO: Processing buffer {"connection_id":217147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:37:15] local.INFO: Packet analysis {"connection_id":217147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:37:15] local.INFO: Extracted packet for processing {"connection_id":217147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:37: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-10-16 20:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:37:15] 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-10-16 20:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:37:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:37:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":217147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:37:15] local.INFO: GPS data processed {"connection_id":217147,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:37:15] local.INFO: Acknowledgment sent {"connection_id":217147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:37:26] local.INFO: TCP Data received {"connection_id":216923,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:37:26] local.INFO: Processing buffer {"connection_id":216923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:37:26] local.INFO: IMEI packet received {"connection_id":216923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":216923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:37:47] local.INFO: TCP Data received {"connection_id":217147,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:37:48] local.INFO: Processing buffer {"connection_id":217147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:37:48] local.INFO: Packet analysis {"connection_id":217147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:37:48] local.INFO: Extracted packet for processing {"connection_id":217147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:37:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:37: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-10-16 20: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:37: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-10-16 20: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-10-16 20:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":217147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":217147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":217147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:37:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:37:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":217147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:37:48] local.INFO: GPS data processed {"connection_id":217147,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:37:48] local.INFO: Acknowledgment sent {"connection_id":217147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:37:53] local.INFO: TCP Data received {"connection_id":216924,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:37:53] local.INFO: Processing buffer {"connection_id":216924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:37:53] local.INFO: IMEI packet received {"connection_id":216924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":216924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:38:08] local.INFO: TCP Data received {"connection_id":218483,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:38:08] local.INFO: Processing buffer {"connection_id":218483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:38:08] local.INFO: IMEI packet received {"connection_id":218483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":218483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:38:14] local.INFO: TCP Data received {"connection_id":218483,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:38:14] local.INFO: Processing buffer {"connection_id":218483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:38:14] local.INFO: IMEI packet received {"connection_id":218483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":218483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:38:15] local.INFO: TCP Data received {"connection_id":218483,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:38:15] local.INFO: Processing buffer {"connection_id":218483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:38:15] local.INFO: Packet analysis {"connection_id":218483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:38:15] local.INFO: Extracted packet for processing {"connection_id":218483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:38:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:38: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-10-16 20: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:38:15] 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-10-16 20: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-10-16 20:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:38:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:38:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":218483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:38:15] local.INFO: GPS data processed {"connection_id":218483,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:38:15] local.INFO: Acknowledgment sent {"connection_id":218483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:38:47] local.INFO: TCP Data received {"connection_id":218483,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:38:47] local.INFO: Processing buffer {"connection_id":218483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:38:47] local.INFO: Packet analysis {"connection_id":218483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:38:47] local.INFO: Extracted packet for processing {"connection_id":218483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:38:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20: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-10-16 20: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:38: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-10-16 20: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-10-16 20:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:38:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:38:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":218483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:38:47] local.INFO: GPS data processed {"connection_id":218483,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:38:47] local.INFO: Acknowledgment sent {"connection_id":218483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:39:14] local.INFO: TCP Data received {"connection_id":218484,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:39:14] local.INFO: Processing buffer {"connection_id":218484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:39:14] local.INFO: IMEI packet received {"connection_id":218484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":218484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:39:19] local.INFO: TCP Data received {"connection_id":218484,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:39:19] local.INFO: Processing buffer {"connection_id":218484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:39:19] local.INFO: IMEI packet received {"connection_id":218484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":218484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:39:20] local.INFO: TCP Data received {"connection_id":218484,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:39:20] local.INFO: Processing buffer {"connection_id":218484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:39:20] local.INFO: Packet analysis {"connection_id":218484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:39:20] local.INFO: Extracted packet for processing {"connection_id":218484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:39:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:39:20] 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-10-16 20:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":218484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":218484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":218484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:39:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:39:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":218484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:39:20] local.INFO: GPS data processed {"connection_id":218484,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:39:20] local.INFO: Acknowledgment sent {"connection_id":218484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:39:52] local.INFO: TCP Data received {"connection_id":218484,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:39:52] local.INFO: Processing buffer {"connection_id":218484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:39:52] local.INFO: Packet analysis {"connection_id":218484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:39:52] local.INFO: Extracted packet for processing {"connection_id":218484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:39:52] 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-10-16 20:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":218484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":218484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":218484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:39:52] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:39:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":218484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:39:52] local.INFO: GPS data processed {"connection_id":218484,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:39:52] local.INFO: Acknowledgment sent {"connection_id":218484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:40:09] local.INFO: TCP Data received {"connection_id":220222,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:40:09] local.INFO: Processing buffer {"connection_id":220222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:40:09] local.INFO: IMEI packet received {"connection_id":220222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":220222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:40:14] local.INFO: TCP Data received {"connection_id":220222,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:40:14] local.INFO: Processing buffer {"connection_id":220222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:40:14] local.INFO: IMEI packet received {"connection_id":220222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":220222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:40:20] local.INFO: TCP Data received {"connection_id":220222,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:40:20] local.INFO: Processing buffer {"connection_id":220222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:40:20] local.INFO: Packet analysis {"connection_id":220222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:40:20] local.INFO: Extracted packet for processing {"connection_id":220222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:40:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:40:20] 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-10-16 20: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-10-16 20:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":220222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":220222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":220222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:40:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:40:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":220222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:40:20] local.INFO: GPS data processed {"connection_id":220222,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:40:20] local.INFO: Acknowledgment sent {"connection_id":220222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:40:51] local.INFO: TCP Data received {"connection_id":220222,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:40:51] local.INFO: Processing buffer {"connection_id":220222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1453efbb0012d7b89c005f5f340000a002829..."} 
[2026-10-16 20:40:51] local.INFO: Packet analysis {"connection_id":220222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:40:51] local.INFO: Extracted packet for processing {"connection_id":220222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1453e"} 
[2026-10-16 20:40:51] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793681152001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792163118000,"timestamp_ms":1792163118000,"timestamp_seconds":1792163118,"priority":1,"record_length":96,"hex_timestamp":"000001a1453efbb0"} 
[2026-10-16 20:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 20:40:51] 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-10-16 20: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-10-16 20:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":220222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":220222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":220222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793681152001,"66":26245,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793681152001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:40:51] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:40:51] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793681152001,"power":26245,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":220222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:40:51] local.INFO: GPS data processed {"connection_id":220222,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:40:51] local.INFO: Acknowledgment sent {"connection_id":220222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:41:08] local.INFO: TCP Data received {"connection_id":217149,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:41:08] local.INFO: Processing buffer {"connection_id":217149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:41:08] local.INFO: IMEI packet received {"connection_id":217149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":217149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:41:14] local.INFO: TCP Data received {"connection_id":217149,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:41:14] local.INFO: Processing buffer {"connection_id":217149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:41:14] local.INFO: IMEI packet received {"connection_id":217149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":217149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:41:16] local.INFO: TCP Data received {"connection_id":217149,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:41:16] local.INFO: Processing buffer {"connection_id":217149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:41:16] local.INFO: Packet analysis {"connection_id":217149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:41:16] local.INFO: Extracted packet for processing {"connection_id":217149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:41:16] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793758208001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792163419000,"timestamp_ms":1792163419000,"timestamp_seconds":1792163419,"priority":1,"record_length":96,"hex_timestamp":"000001a145439378"} 
[2026-10-16 20:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:41: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-10-16 20:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-16 20:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":217149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":217149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":217149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793758208001,"66":26115,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793758208001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:41:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:41:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793758208001,"power":26115,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":217149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:41:16] local.INFO: GPS data processed {"connection_id":217149,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:41:16] local.INFO: Acknowledgment sent {"connection_id":217149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:41:47] local.INFO: TCP Data received {"connection_id":217149,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:41:47] local.INFO: Processing buffer {"connection_id":217149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:41:47] local.INFO: Packet analysis {"connection_id":217149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:41:47] local.INFO: Extracted packet for processing {"connection_id":217149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:41:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793758208001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792163419000,"timestamp_ms":1792163419000,"timestamp_seconds":1792163419,"priority":1,"record_length":96,"hex_timestamp":"000001a145439378"} 
[2026-10-16 20:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:41: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-10-16 20: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":133,"data_length":795,"current_offset":136} 
[2026-10-16 20:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20: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-10-16 20:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793758208001,"66":26115,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793758208001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:41:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:41:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793758208001,"power":26115,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":217149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:41:47] local.INFO: GPS data processed {"connection_id":217149,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:41:47] local.INFO: Acknowledgment sent {"connection_id":217149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:42:14] local.INFO: TCP Data received {"connection_id":220223,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:42:14] local.INFO: Processing buffer {"connection_id":220223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:42:14] local.INFO: IMEI packet received {"connection_id":220223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":220223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:42:18] local.INFO: TCP Data received {"connection_id":220223,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:42:18] local.INFO: Processing buffer {"connection_id":220223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:42:18] local.INFO: IMEI packet received {"connection_id":220223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":220223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:42:20] local.INFO: TCP Data received {"connection_id":220223,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:42:20] local.INFO: Processing buffer {"connection_id":220223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:42:20] local.INFO: Packet analysis {"connection_id":220223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:42:20] local.INFO: Extracted packet for processing {"connection_id":220223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:42:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793758208001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792163419000,"timestamp_ms":1792163419000,"timestamp_seconds":1792163419,"priority":1,"record_length":96,"hex_timestamp":"000001a145439378"} 
[2026-10-16 20:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-16 20:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":220223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":220223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":220223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793758208001,"66":26115,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793758208001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:42:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:42:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793758208001,"power":26115,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":220223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:42:20] local.INFO: GPS data processed {"connection_id":220223,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:42:20] local.INFO: Acknowledgment sent {"connection_id":220223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:42:25] local.INFO: TCP Data received {"connection_id":220223,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:42:25] local.INFO: Processing buffer {"connection_id":220223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:42:25] local.INFO: Packet analysis {"connection_id":220223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:42:25] local.INFO: Extracted packet for processing {"connection_id":220223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793758208001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792163419000,"timestamp_ms":1792163419000,"timestamp_seconds":1792163419,"priority":1,"record_length":96,"hex_timestamp":"000001a145439378"} 
[2026-10-16 20:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-16 20:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":220223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":220223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":220223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793758208001,"66":26115,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793758208001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:42:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:42:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793758208001,"power":26115,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":220223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:42:26] local.INFO: GPS data processed {"connection_id":220223,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:42:26] local.INFO: Acknowledgment sent {"connection_id":220223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:43:09] local.INFO: TCP Data received {"connection_id":218487,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:43:09] local.INFO: Processing buffer {"connection_id":218487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:43:09] local.INFO: IMEI packet received {"connection_id":218487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":218487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:43:15] local.INFO: TCP Data received {"connection_id":218487,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:43:15] local.INFO: Processing buffer {"connection_id":218487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:43:15] local.INFO: IMEI packet received {"connection_id":218487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":218487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:43:18] local.INFO: TCP Data received {"connection_id":218487,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:43:18] local.INFO: Processing buffer {"connection_id":218487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:43:18] local.INFO: Packet analysis {"connection_id":218487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:43:18] local.INFO: Extracted packet for processing {"connection_id":218487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793758208001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792163419000,"timestamp_ms":1792163419000,"timestamp_seconds":1792163419,"priority":1,"record_length":96,"hex_timestamp":"000001a145439378"} 
[2026-10-16 20:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-16 20:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":218487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":218487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":218487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793758208001,"66":26115,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793758208001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:43:18] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:43:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793758208001,"power":26115,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":218487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:43:18] local.INFO: GPS data processed {"connection_id":218487,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:43:18] local.INFO: Acknowledgment sent {"connection_id":218487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:43:20] local.INFO: TCP Data received {"connection_id":216926,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:43:20] local.INFO: Processing buffer {"connection_id":216926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:43:20] local.INFO: IMEI packet received {"connection_id":216926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":216926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:43:49] local.INFO: TCP Data received {"connection_id":218487,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:43:49] local.INFO: Processing buffer {"connection_id":218487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:43:49] local.INFO: Packet analysis {"connection_id":218487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:43:49] local.INFO: Extracted packet for processing {"connection_id":218487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:43:49] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793758208001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792163419000,"timestamp_ms":1792163419000,"timestamp_seconds":1792163419,"priority":1,"record_length":96,"hex_timestamp":"000001a145439378"} 
[2026-10-16 20:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:43: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-10-16 20:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-16 20:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":218487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":218487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":218487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793758208001,"66":26115,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793758208001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:43:49] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:43:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793758208001,"power":26115,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":218487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:43:49] local.INFO: GPS data processed {"connection_id":218487,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:43:49] local.INFO: Acknowledgment sent {"connection_id":218487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:43:53] local.INFO: TCP Data received {"connection_id":220224,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:43:53] local.INFO: Processing buffer {"connection_id":220224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:43:53] local.INFO: IMEI packet received {"connection_id":220224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":220224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:44:09] local.INFO: TCP Data received {"connection_id":216927,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:44:09] local.INFO: Processing buffer {"connection_id":216927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:44:09] local.INFO: IMEI packet received {"connection_id":216927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":216927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:44:14] local.INFO: TCP Data received {"connection_id":216927,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:44:14] local.INFO: Processing buffer {"connection_id":216927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:44:14] local.INFO: IMEI packet received {"connection_id":216927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":216927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:44:16] local.INFO: TCP Data received {"connection_id":216927,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:44:16] local.INFO: Processing buffer {"connection_id":216927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:44:16] local.INFO: Packet analysis {"connection_id":216927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:44:16] local.INFO: Extracted packet for processing {"connection_id":216927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:44:16] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793758208001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792163419000,"timestamp_ms":1792163419000,"timestamp_seconds":1792163419,"priority":1,"record_length":96,"hex_timestamp":"000001a145439378"} 
[2026-10-16 20:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:44: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-10-16 20:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-16 20:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793758208001,"66":26115,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793758208001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:44:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:44:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793758208001,"power":26115,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":216927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:44:16] local.INFO: GPS data processed {"connection_id":216927,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:44:16] local.INFO: Acknowledgment sent {"connection_id":216927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:44:47] local.INFO: TCP Data received {"connection_id":216927,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:44:47] local.INFO: Processing buffer {"connection_id":216927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:44:47] local.INFO: Packet analysis {"connection_id":216927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:44:47] local.INFO: Extracted packet for processing {"connection_id":216927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:44:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793758208001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792163419000,"timestamp_ms":1792163419000,"timestamp_seconds":1792163419,"priority":1,"record_length":96,"hex_timestamp":"000001a145439378"} 
[2026-10-16 20:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:44: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-10-16 20: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":133,"data_length":795,"current_offset":136} 
[2026-10-16 20:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20: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-10-16 20:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793758208001,"66":26115,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793758208001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:44:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:44:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793758208001,"power":26115,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":216927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:44:47] local.INFO: GPS data processed {"connection_id":216927,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:44:47] local.INFO: Acknowledgment sent {"connection_id":216927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:45:08] local.INFO: TCP Data received {"connection_id":220226,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:45:08] local.INFO: Processing buffer {"connection_id":220226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:45:08] local.INFO: IMEI packet received {"connection_id":220226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":220226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:45:14] local.INFO: TCP Data received {"connection_id":220226,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:45:14] local.INFO: Processing buffer {"connection_id":220226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:45:14] local.INFO: IMEI packet received {"connection_id":220226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":220226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:45:16] local.INFO: TCP Data received {"connection_id":220226,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:45:16] local.INFO: Processing buffer {"connection_id":220226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:45:16] local.INFO: Packet analysis {"connection_id":220226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:45:16] local.INFO: Extracted packet for processing {"connection_id":220226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:45:16] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793758208001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792163419000,"timestamp_ms":1792163419000,"timestamp_seconds":1792163419,"priority":1,"record_length":96,"hex_timestamp":"000001a145439378"} 
[2026-10-16 20:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:45: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-10-16 20:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-16 20:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":220226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":220226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":220226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793758208001,"66":26115,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793758208001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:45:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:45:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793758208001,"power":26115,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":220226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:45:16] local.INFO: GPS data processed {"connection_id":220226,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:45:16] local.INFO: Acknowledgment sent {"connection_id":220226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:45:54] local.INFO: TCP Data received {"connection_id":220226,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:45:54] local.INFO: Processing buffer {"connection_id":220226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145439378012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:45:54] local.INFO: Packet analysis {"connection_id":220226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:45:54] local.INFO: Extracted packet for processing {"connection_id":220226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14543"} 
[2026-10-16 20:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793758208001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792163419000,"timestamp_ms":1792163419000,"timestamp_seconds":1792163419,"priority":1,"record_length":96,"hex_timestamp":"000001a145439378"} 
[2026-10-16 20:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-10-16 20:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793758208001,"66":26115,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793758208001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:45:54] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:45:54] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793758208001,"power":26115,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":220226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:45:54] local.INFO: GPS data processed {"connection_id":220226,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:45:54] local.INFO: Acknowledgment sent {"connection_id":220226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:46:14] local.INFO: TCP Data received {"connection_id":218489,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:46:14] local.INFO: Processing buffer {"connection_id":218489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:46:14] local.INFO: IMEI packet received {"connection_id":218489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":218489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:46:18] local.INFO: TCP Data received {"connection_id":218489,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:46:18] local.INFO: Processing buffer {"connection_id":218489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:46:18] local.INFO: IMEI packet received {"connection_id":218489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":218489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:46:20] local.INFO: TCP Data received {"connection_id":218489,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:46:20] local.INFO: Processing buffer {"connection_id":218489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:46:20] local.INFO: Packet analysis {"connection_id":218489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:46:20] local.INFO: Extracted packet for processing {"connection_id":218489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:46:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793835264001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792163720000,"timestamp_ms":1792163720000,"timestamp_seconds":1792163720,"priority":1,"record_length":96,"hex_timestamp":"000001a145482b40"} 
[2026-10-16 20:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 20:46:20] 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-10-16 20: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-10-16 20:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":218489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":218489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":218489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793835264001,"66":26082,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793835264001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:46:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:46:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793835264001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":218489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:46:20] local.INFO: GPS data processed {"connection_id":218489,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:46:20] local.INFO: Acknowledgment sent {"connection_id":218489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:46:27] local.INFO: TCP Data received {"connection_id":218489,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:46:27] local.INFO: Processing buffer {"connection_id":218489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:46:27] local.INFO: Packet analysis {"connection_id":218489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:46:27] local.INFO: Extracted packet for processing {"connection_id":218489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793835264001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792163720000,"timestamp_ms":1792163720000,"timestamp_seconds":1792163720,"priority":1,"record_length":96,"hex_timestamp":"000001a145482b40"} 
[2026-10-16 20:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 20:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 20:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793835264001,"66":26082,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793835264001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:46:27] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:46:27] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793835264001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":218489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:46:27] local.INFO: GPS data processed {"connection_id":218489,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:46:27] local.INFO: Acknowledgment sent {"connection_id":218489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:47:09] local.INFO: TCP Data received {"connection_id":217151,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:47:09] local.INFO: Processing buffer {"connection_id":217151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:47:09] local.INFO: IMEI packet received {"connection_id":217151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":217151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:47:14] local.INFO: TCP Data received {"connection_id":217151,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:47:14] local.INFO: Processing buffer {"connection_id":217151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:47:14] local.INFO: IMEI packet received {"connection_id":217151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":217151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:47:48] local.INFO: TCP Data received {"connection_id":216928,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:47:48] local.INFO: Processing buffer {"connection_id":216928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:47:48] local.INFO: IMEI packet received {"connection_id":216928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":216928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:48:18] local.INFO: TCP Data received {"connection_id":220229,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:48:18] local.INFO: Processing buffer {"connection_id":220229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:48:18] local.INFO: IMEI packet received {"connection_id":220229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":220229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:48:24] local.INFO: TCP Data received {"connection_id":220229,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:48:24] local.INFO: Processing buffer {"connection_id":220229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:48:24] local.INFO: IMEI packet received {"connection_id":220229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":220229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:48:26] local.INFO: TCP Data received {"connection_id":220229,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:48:26] local.INFO: Processing buffer {"connection_id":220229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:48:26] local.INFO: Packet analysis {"connection_id":220229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:48:26] local.INFO: Extracted packet for processing {"connection_id":220229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793835264001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792163720000,"timestamp_ms":1792163720000,"timestamp_seconds":1792163720,"priority":1,"record_length":96,"hex_timestamp":"000001a145482b40"} 
[2026-10-16 20:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 20:48:26] 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-10-16 20:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":220229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":220229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":220229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793835264001,"66":26082,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793835264001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:48:26] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:48:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793835264001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":220229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:48:26] local.INFO: GPS data processed {"connection_id":220229,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:48:26] local.INFO: Acknowledgment sent {"connection_id":220229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:49:09] local.INFO: TCP Data received {"connection_id":216929,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:49:09] local.INFO: Processing buffer {"connection_id":216929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:49:09] local.INFO: IMEI packet received {"connection_id":216929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":216929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:49:14] local.INFO: TCP Data received {"connection_id":216929,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:49:14] local.INFO: Processing buffer {"connection_id":216929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:49:14] local.INFO: IMEI packet received {"connection_id":216929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":216929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:49:15] local.INFO: TCP Data received {"connection_id":217152,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:49:15] local.INFO: Processing buffer {"connection_id":217152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:49:15] local.INFO: IMEI packet received {"connection_id":217152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":217152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:49:23] local.INFO: TCP Data received {"connection_id":216929,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:49:23] local.INFO: Processing buffer {"connection_id":216929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:49:23] local.INFO: Packet analysis {"connection_id":216929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:49:23] local.INFO: Extracted packet for processing {"connection_id":216929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793835264001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1792163720000,"timestamp_ms":1792163720000,"timestamp_seconds":1792163720,"priority":1,"record_length":96,"hex_timestamp":"000001a145482b40"} 
[2026-10-16 20:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 20:49:23] 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-10-16 20: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-10-16 20:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":216929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":216929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":216929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793835264001,"66":26082,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793835264001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:49:23] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:49:23] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793835264001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":216929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:49:23] local.INFO: GPS data processed {"connection_id":216929,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:49:23] local.INFO: Acknowledgment sent {"connection_id":216929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:49:47] local.INFO: TCP Data received {"connection_id":216929,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:49:47] local.INFO: Processing buffer {"connection_id":216929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:49:47] local.INFO: Packet analysis {"connection_id":216929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:49:47] local.INFO: Extracted packet for processing {"connection_id":216929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793835264001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792163720000,"timestamp_ms":1792163720000,"timestamp_seconds":1792163720,"priority":1,"record_length":96,"hex_timestamp":"000001a145482b40"} 
[2026-10-16 20:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:49: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-10-16 20:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 20:49: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-10-16 20: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-10-16 20:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793835264001,"66":26082,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793835264001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:49:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:49:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793835264001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":216929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:49:47] local.INFO: GPS data processed {"connection_id":216929,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:49:47] local.INFO: Acknowledgment sent {"connection_id":216929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:49:55] local.INFO: TCP Data received {"connection_id":218490,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:49:55] local.INFO: Processing buffer {"connection_id":218490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:49:55] local.INFO: IMEI packet received {"connection_id":218490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":218490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:50:14] local.INFO: TCP Data received {"connection_id":217153,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:50:14] local.INFO: Processing buffer {"connection_id":217153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:50:14] local.INFO: IMEI packet received {"connection_id":217153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":217153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:50:18] local.INFO: TCP Data received {"connection_id":217153,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:50:18] local.INFO: Processing buffer {"connection_id":217153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:50:18] local.INFO: IMEI packet received {"connection_id":217153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":217153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:50:21] local.INFO: TCP Data received {"connection_id":217153,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:50:21] local.INFO: Processing buffer {"connection_id":217153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:50:21] local.INFO: Packet analysis {"connection_id":217153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:50:21] local.INFO: Extracted packet for processing {"connection_id":217153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:50:21] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793835264001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792163720000,"timestamp_ms":1792163720000,"timestamp_seconds":1792163720,"priority":1,"record_length":96,"hex_timestamp":"000001a145482b40"} 
[2026-10-16 20:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 20:50:21] 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-10-16 20:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793835264001,"66":26082,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793835264001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:50:21] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:50:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793835264001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":217153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:50:21] local.INFO: GPS data processed {"connection_id":217153,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:50:21] local.INFO: Acknowledgment sent {"connection_id":217153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:50:29] local.INFO: TCP Data received {"connection_id":217153,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:50:29] local.INFO: Processing buffer {"connection_id":217153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145482b40012d7b89c005f5f340000a002828..."} 
[2026-10-16 20:50:29] local.INFO: Packet analysis {"connection_id":217153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:50:29] local.INFO: Extracted packet for processing {"connection_id":217153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14548"} 
[2026-10-16 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793835264001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792163720000,"timestamp_ms":1792163720000,"timestamp_seconds":1792163720,"priority":1,"record_length":96,"hex_timestamp":"000001a145482b40"} 
[2026-10-16 20:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-10-16 20:50:29] 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-10-16 20:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793835264001,"66":26082,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793835264001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:50:29] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:50:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793835264001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":217153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:50:29] local.INFO: GPS data processed {"connection_id":217153,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:50:29] local.INFO: Acknowledgment sent {"connection_id":217153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:51:09] local.INFO: TCP Data received {"connection_id":216931,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:51:09] local.INFO: Processing buffer {"connection_id":216931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:51:09] local.INFO: IMEI packet received {"connection_id":216931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":216931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:51:14] local.INFO: TCP Data received {"connection_id":216931,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:51:14] local.INFO: Processing buffer {"connection_id":216931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:51:14] local.INFO: IMEI packet received {"connection_id":216931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":216931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:51:15] local.INFO: TCP Data received {"connection_id":216931,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:51:15] local.INFO: Processing buffer {"connection_id":216931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:51:15] local.INFO: Packet analysis {"connection_id":216931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:51:15] local.INFO: Extracted packet for processing {"connection_id":216931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:51:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:51: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-10-16 20: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:51:15] 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-10-16 20: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-10-16 20:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:51:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:51:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":216931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:51:15] local.INFO: GPS data processed {"connection_id":216931,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:51:15] local.INFO: Acknowledgment sent {"connection_id":216931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:51:48] local.INFO: TCP Data received {"connection_id":216931,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:51:48] local.INFO: Processing buffer {"connection_id":216931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:51:48] local.INFO: Packet analysis {"connection_id":216931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:51:48] local.INFO: Extracted packet for processing {"connection_id":216931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:51:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:51:48] 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-10-16 20:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:51:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:51:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":216931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:51:48] local.INFO: GPS data processed {"connection_id":216931,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:51:48] local.INFO: Acknowledgment sent {"connection_id":216931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:52:08] local.INFO: TCP Data received {"connection_id":220232,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:52:08] local.INFO: Processing buffer {"connection_id":220232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:52:08] local.INFO: IMEI packet received {"connection_id":220232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":220232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:52:14] local.INFO: TCP Data received {"connection_id":220232,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:52:14] local.INFO: Processing buffer {"connection_id":220232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:52:14] local.INFO: IMEI packet received {"connection_id":220232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":220232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:52:15] local.INFO: TCP Data received {"connection_id":220232,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:52:15] local.INFO: Processing buffer {"connection_id":220232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:52:15] local.INFO: Packet analysis {"connection_id":220232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:52:15] local.INFO: Extracted packet for processing {"connection_id":220232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:52:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:52: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-10-16 20: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:52:15] 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-10-16 20: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-10-16 20:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:52:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:52:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":220232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:52:15] local.INFO: GPS data processed {"connection_id":220232,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:52:15] local.INFO: Acknowledgment sent {"connection_id":220232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:52:48] local.INFO: TCP Data received {"connection_id":220232,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:52:48] local.INFO: Processing buffer {"connection_id":220232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:52:48] local.INFO: Packet analysis {"connection_id":220232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:52:48] local.INFO: Extracted packet for processing {"connection_id":220232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:52:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:52: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-10-16 20: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:52:48] 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-10-16 20: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-10-16 20:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":220232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":220232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":220232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:52:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:52:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":220232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:52:48] local.INFO: GPS data processed {"connection_id":220232,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:52:48] local.INFO: Acknowledgment sent {"connection_id":220232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:53:14] local.INFO: TCP Data received {"connection_id":216933,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:53:14] local.INFO: Processing buffer {"connection_id":216933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:53:14] local.INFO: IMEI packet received {"connection_id":216933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":216933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:53:19] local.INFO: TCP Data received {"connection_id":216933,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:53:19] local.INFO: Processing buffer {"connection_id":216933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:53:19] local.INFO: IMEI packet received {"connection_id":216933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":216933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:53:21] local.INFO: TCP Data received {"connection_id":216933,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:53:21] local.INFO: Processing buffer {"connection_id":216933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:53:21] local.INFO: Packet analysis {"connection_id":216933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:53:21] local.INFO: Extracted packet for processing {"connection_id":216933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:53:21] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:53:22] 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-10-16 20:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":216933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":216933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":216933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:53:22] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:53:22] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":216933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:53:22] local.INFO: GPS data processed {"connection_id":216933,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:53:22] local.INFO: Acknowledgment sent {"connection_id":216933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:53:25] local.INFO: TCP Data received {"connection_id":216933,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:53:25] local.INFO: Processing buffer {"connection_id":216933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:53:25] local.INFO: Packet analysis {"connection_id":216933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:53:25] local.INFO: Extracted packet for processing {"connection_id":216933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:53:25] 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-10-16 20:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:53:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:53:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":216933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:53:25] local.INFO: GPS data processed {"connection_id":216933,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:53:25] local.INFO: Acknowledgment sent {"connection_id":216933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:54:10] local.INFO: TCP Data received {"connection_id":218491,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:54:10] local.INFO: Processing buffer {"connection_id":218491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:54:10] local.INFO: IMEI packet received {"connection_id":218491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":218491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:54:14] local.INFO: TCP Data received {"connection_id":218491,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:54:14] local.INFO: Processing buffer {"connection_id":218491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:54:14] local.INFO: IMEI packet received {"connection_id":218491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":218491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:54:16] local.INFO: TCP Data received {"connection_id":218491,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:54:16] local.INFO: Processing buffer {"connection_id":218491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:54:16] local.INFO: Packet analysis {"connection_id":218491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:54:16] local.INFO: Extracted packet for processing {"connection_id":218491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:54: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-10-16 20: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:54:16] 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-10-16 20: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-10-16 20:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":218491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":218491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":218491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:54:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:54:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":218491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:54:16] local.INFO: GPS data processed {"connection_id":218491,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:54:16] local.INFO: Acknowledgment sent {"connection_id":218491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:54:20] local.INFO: TCP Data received {"connection_id":218491,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:54:20] local.INFO: Processing buffer {"connection_id":218491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:54:20] local.INFO: Packet analysis {"connection_id":218491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:54:20] local.INFO: Extracted packet for processing {"connection_id":218491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:54:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:54:20] 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-10-16 20:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":218491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":218491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":218491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:54:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:54:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":218491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:54:20] local.INFO: GPS data processed {"connection_id":218491,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:54:20] local.INFO: Acknowledgment sent {"connection_id":218491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:54:52] local.INFO: TCP Data received {"connection_id":218491,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:54:52] local.INFO: Processing buffer {"connection_id":218491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:54:52] local.INFO: Packet analysis {"connection_id":218491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:54:52] local.INFO: Extracted packet for processing {"connection_id":218491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:54:52] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:54:52] 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-10-16 20:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":218491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":218491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":218491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:54:52] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:54:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":218491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:54:52] local.INFO: GPS data processed {"connection_id":218491,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:54:52] local.INFO: Acknowledgment sent {"connection_id":218491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:55:08] local.INFO: TCP Data received {"connection_id":216934,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:55:08] local.INFO: Processing buffer {"connection_id":216934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:55:08] local.INFO: IMEI packet received {"connection_id":216934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":216934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:55:14] local.INFO: TCP Data received {"connection_id":216934,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:55:14] local.INFO: Processing buffer {"connection_id":216934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:55:14] local.INFO: IMEI packet received {"connection_id":216934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":216934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:55:15] local.INFO: TCP Data received {"connection_id":216934,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:55:15] local.INFO: Processing buffer {"connection_id":216934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:55:15] local.INFO: Packet analysis {"connection_id":216934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:55:15] local.INFO: Extracted packet for processing {"connection_id":216934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:55:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:55: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-10-16 20: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:55:15] 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-10-16 20: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-10-16 20:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:55:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:55:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":216934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:55:15] local.INFO: GPS data processed {"connection_id":216934,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:55:15] local.INFO: Acknowledgment sent {"connection_id":216934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:55:20] local.INFO: TCP Data received {"connection_id":220233,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:55:20] local.INFO: Processing buffer {"connection_id":220233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:55:20] local.INFO: IMEI packet received {"connection_id":220233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":220233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:55:47] local.INFO: TCP Data received {"connection_id":216934,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:55:47] local.INFO: Processing buffer {"connection_id":216934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1454cc308012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:55:47] local.INFO: Packet analysis {"connection_id":216934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:55:47] local.INFO: Extracted packet for processing {"connection_id":216934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1454c"} 
[2026-10-16 20:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793912320001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792164021000,"timestamp_ms":1792164021000,"timestamp_seconds":1792164021,"priority":1,"record_length":96,"hex_timestamp":"000001a1454cc308"} 
[2026-10-16 20:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:55: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-10-16 20: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 20:55:47] 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-10-16 20: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-10-16 20:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793912320001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793912320001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:55:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:55:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793912320001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":216934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:55:47] local.INFO: GPS data processed {"connection_id":216934,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:55:47] local.INFO: Acknowledgment sent {"connection_id":216934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:55:50] local.INFO: TCP Data received {"connection_id":217155,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:55:50] local.INFO: Processing buffer {"connection_id":217155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 20:55:50] local.INFO: IMEI packet received {"connection_id":217155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 20:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":217155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:56:08] local.INFO: TCP Data received {"connection_id":220234,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:56:08] local.INFO: Processing buffer {"connection_id":220234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:56:08] local.INFO: IMEI packet received {"connection_id":220234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":220234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:56:15] local.INFO: TCP Data received {"connection_id":220234,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:56:15] local.INFO: Processing buffer {"connection_id":220234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:56:15] local.INFO: IMEI packet received {"connection_id":220234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":220234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:56:16] local.INFO: TCP Data received {"connection_id":220234,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:56:16] local.INFO: Processing buffer {"connection_id":220234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:56:16] local.INFO: Packet analysis {"connection_id":220234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:56:16] local.INFO: Extracted packet for processing {"connection_id":220234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:56:16] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793989376001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792164322000,"timestamp_ms":1792164322000,"timestamp_seconds":1792164322,"priority":1,"record_length":96,"hex_timestamp":"000001a145515ad0"} 
[2026-10-16 20:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:56: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-10-16 20: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":150,"data_length":795,"current_offset":136} 
[2026-10-16 20:56:16] 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-10-16 20: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-10-16 20:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":220234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":220234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":220234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793989376001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793989376001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:56:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:56:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793989376001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":220234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:56:16] local.INFO: GPS data processed {"connection_id":220234,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:56:16] local.INFO: Acknowledgment sent {"connection_id":220234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:56:48] local.INFO: TCP Data received {"connection_id":220234,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:56:48] local.INFO: Processing buffer {"connection_id":220234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:56:48] local.INFO: Packet analysis {"connection_id":220234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:56:48] local.INFO: Extracted packet for processing {"connection_id":220234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:56:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793989376001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792164322000,"timestamp_ms":1792164322000,"timestamp_seconds":1792164322,"priority":1,"record_length":96,"hex_timestamp":"000001a145515ad0"} 
[2026-10-16 20:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:56: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-10-16 20: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-10-16 20: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-10-16 20: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-10-16 20:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":220234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":220234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":220234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793989376001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793989376001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:56:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:56:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793989376001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":220234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:56:48] local.INFO: GPS data processed {"connection_id":220234,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:56:48] local.INFO: Acknowledgment sent {"connection_id":220234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:57:14] local.INFO: TCP Data received {"connection_id":218492,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:57:14] local.INFO: Processing buffer {"connection_id":218492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:57:14] local.INFO: IMEI packet received {"connection_id":218492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":218492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:57:19] local.INFO: TCP Data received {"connection_id":218492,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:57:19] local.INFO: Processing buffer {"connection_id":218492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:57:19] local.INFO: IMEI packet received {"connection_id":218492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":218492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:57:20] local.INFO: TCP Data received {"connection_id":218492,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:57:20] local.INFO: Processing buffer {"connection_id":218492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:57:20] local.INFO: Packet analysis {"connection_id":218492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:57:20] local.INFO: Extracted packet for processing {"connection_id":218492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:57:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793989376001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792164322000,"timestamp_ms":1792164322000,"timestamp_seconds":1792164322,"priority":1,"record_length":96,"hex_timestamp":"000001a145515ad0"} 
[2026-10-16 20:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 20:57:20] 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-10-16 20:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":218492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":218492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":218492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793989376001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793989376001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:57:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:57:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793989376001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":218492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:57:20] local.INFO: GPS data processed {"connection_id":218492,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:57:20] local.INFO: Acknowledgment sent {"connection_id":218492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:57:51] local.INFO: TCP Data received {"connection_id":218492,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:57:51] local.INFO: Processing buffer {"connection_id":218492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:57:51] local.INFO: Packet analysis {"connection_id":218492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:57:51] local.INFO: Extracted packet for processing {"connection_id":218492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:57:51] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793989376001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792164322000,"timestamp_ms":1792164322000,"timestamp_seconds":1792164322,"priority":1,"record_length":96,"hex_timestamp":"000001a145515ad0"} 
[2026-10-16 20:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 20:57:51] 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-10-16 20: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-10-16 20:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":218492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":218492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":218492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793989376001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793989376001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:57:51] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:57:51] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793989376001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":218492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:57:51] local.INFO: GPS data processed {"connection_id":218492,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:57:51] local.INFO: Acknowledgment sent {"connection_id":218492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:58:15] local.INFO: TCP Data received {"connection_id":218493,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:58:15] local.INFO: Processing buffer {"connection_id":218493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:58:15] local.INFO: IMEI packet received {"connection_id":218493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":218493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:58:18] local.INFO: TCP Data received {"connection_id":218493,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:58:18] local.INFO: Processing buffer {"connection_id":218493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:58:18] local.INFO: IMEI packet received {"connection_id":218493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":218493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:58:20] local.INFO: TCP Data received {"connection_id":218493,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:58:20] local.INFO: Processing buffer {"connection_id":218493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:58:20] local.INFO: Packet analysis {"connection_id":218493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:58:20] local.INFO: Extracted packet for processing {"connection_id":218493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:58:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20: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-10-16 20:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793989376001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792164322000,"timestamp_ms":1792164322000,"timestamp_seconds":1792164322,"priority":1,"record_length":96,"hex_timestamp":"000001a145515ad0"} 
[2026-10-16 20:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 20:58:20] 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-10-16 20: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-10-16 20:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":218493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":218493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":218493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793989376001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793989376001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:58:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:58:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793989376001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":218493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:58:20] local.INFO: GPS data processed {"connection_id":218493,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:58:20] local.INFO: Acknowledgment sent {"connection_id":218493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:58:24] local.INFO: TCP Data received {"connection_id":218493,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:58:24] local.INFO: Processing buffer {"connection_id":218493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:58:24] local.INFO: Packet analysis {"connection_id":218493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:58:24] local.INFO: Extracted packet for processing {"connection_id":218493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:58:24] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793989376001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792164322000,"timestamp_ms":1792164322000,"timestamp_seconds":1792164322,"priority":1,"record_length":96,"hex_timestamp":"000001a145515ad0"} 
[2026-10-16 20:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 20:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 20:58:24] 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-10-16 20:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":218493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":218493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":218493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793989376001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793989376001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:58:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:58:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793989376001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":218493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:58:24] local.INFO: GPS data processed {"connection_id":218493,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:58:24] local.INFO: Acknowledgment sent {"connection_id":218493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:59:09] local.INFO: TCP Data received {"connection_id":217156,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:59:09] local.INFO: Processing buffer {"connection_id":217156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:59:09] local.INFO: IMEI packet received {"connection_id":217156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 20:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":217156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 20:59:14] local.INFO: TCP Data received {"connection_id":217156,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:59:14] local.INFO: Processing buffer {"connection_id":217156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 20:59:14] local.INFO: IMEI packet received {"connection_id":217156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 20:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":217156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 20:59:17] local.INFO: TCP Data received {"connection_id":217156,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:59:17] local.INFO: Processing buffer {"connection_id":217156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:59:17] local.INFO: Packet analysis {"connection_id":217156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:59:17] local.INFO: Extracted packet for processing {"connection_id":217156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:59:17] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793989376001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792164322000,"timestamp_ms":1792164322000,"timestamp_seconds":1792164322,"priority":1,"record_length":96,"hex_timestamp":"000001a145515ad0"} 
[2026-10-16 20:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:59: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-10-16 20:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 20:59:17] 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-10-16 20:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":217156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":217156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":217156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793989376001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793989376001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:59:17] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:59:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793989376001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":217156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:59:17] local.INFO: GPS data processed {"connection_id":217156,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:59:17] local.INFO: Acknowledgment sent {"connection_id":217156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 20:59:49] local.INFO: TCP Data received {"connection_id":217156,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:59:49] local.INFO: Processing buffer {"connection_id":217156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 20:59:49] local.INFO: Packet analysis {"connection_id":217156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:59:49] local.INFO: Extracted packet for processing {"connection_id":217156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 20:59:49] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 20:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 20:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793989376001,"note":"Value kept but may cause issues"} 
[2026-10-16 20:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 20:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 20:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 20:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792164322000,"timestamp_ms":1792164322000,"timestamp_seconds":1792164322,"priority":1,"record_length":96,"hex_timestamp":"000001a145515ad0"} 
[2026-10-16 20:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 20:59: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-10-16 20:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 20:59:49] 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-10-16 20:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 20:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 20:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 20:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":217156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 20:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":217156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":217156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 20:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 20:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 20:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 20:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793989376001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 20:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 20:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 20:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793989376001,"description":"Unknown IO ID 0"} 
[2026-10-16 20:59:49] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 20:59:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 20:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 20:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 20:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793989376001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 20:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":217156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 20:59:49] local.INFO: GPS data processed {"connection_id":217156,"processed":1,"errors":0,"total":1} 
[2026-10-16 20:59:49] local.INFO: Acknowledgment sent {"connection_id":217156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:00:08] local.INFO: TCP Data received {"connection_id":220237,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:00:08] local.INFO: Processing buffer {"connection_id":220237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:00:08] local.INFO: IMEI packet received {"connection_id":220237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":220237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:00:14] local.INFO: TCP Data received {"connection_id":220237,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:00:14] local.INFO: Processing buffer {"connection_id":220237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:00:14] local.INFO: IMEI packet received {"connection_id":220237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":220237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:00:15] local.INFO: TCP Data received {"connection_id":220237,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 21:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 21:00:15] local.INFO: Processing buffer {"connection_id":220237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 21:00:15] local.INFO: Packet analysis {"connection_id":220237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 21:00:15] local.INFO: Extracted packet for processing {"connection_id":220237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 21:00:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793989376001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792164322000,"timestamp_ms":1792164322000,"timestamp_seconds":1792164322,"priority":1,"record_length":96,"hex_timestamp":"000001a145515ad0"} 
[2026-10-16 21:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:00: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-10-16 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:00:15] 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-10-16 21: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-10-16 21:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793989376001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793989376001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:00:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:00:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793989376001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":220237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:00:15] local.INFO: GPS data processed {"connection_id":220237,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:00:15] local.INFO: Acknowledgment sent {"connection_id":220237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:00:48] local.INFO: TCP Data received {"connection_id":220237,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 21:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 21:00:48] local.INFO: Processing buffer {"connection_id":220237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145515ad0012d7b89c005f5f340000a002827..."} 
[2026-10-16 21:00:48] local.INFO: Packet analysis {"connection_id":220237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 21:00:48] local.INFO: Extracted packet for processing {"connection_id":220237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14551"} 
[2026-10-16 21:00:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458793989376001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792164322000,"timestamp_ms":1792164322000,"timestamp_seconds":1792164322,"priority":1,"record_length":96,"hex_timestamp":"000001a145515ad0"} 
[2026-10-16 21:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:00: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-10-16 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:00: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-10-16 21: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-10-16 21:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":220237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":220237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":220237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458793989376001,"66":26006,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458793989376001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:00:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:00:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458793989376001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":220237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:00:48] local.INFO: GPS data processed {"connection_id":220237,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:00:48] local.INFO: Acknowledgment sent {"connection_id":220237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:01:08] local.INFO: TCP Data received {"connection_id":216937,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:01:08] local.INFO: Processing buffer {"connection_id":216937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:01:08] local.INFO: IMEI packet received {"connection_id":216937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":216937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:01:13] local.INFO: TCP Data received {"connection_id":216937,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:01:13] local.INFO: Processing buffer {"connection_id":216937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:01:13] local.INFO: IMEI packet received {"connection_id":216937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":216937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:01:15] local.INFO: TCP Data received {"connection_id":216937,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:01:15] local.INFO: Processing buffer {"connection_id":216937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:01:15] local.INFO: Packet analysis {"connection_id":216937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:01:15] local.INFO: Extracted packet for processing {"connection_id":216937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:01:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794066432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792164623000,"timestamp_ms":1792164623000,"timestamp_seconds":1792164623,"priority":1,"record_length":96,"hex_timestamp":"000001a14555f298"} 
[2026-10-16 21:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:01: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-10-16 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:01:15] 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-10-16 21: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-10-16 21:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794066432001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794066432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:01:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:01:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794066432001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":216937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:01:15] local.INFO: GPS data processed {"connection_id":216937,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:01:15] local.INFO: Acknowledgment sent {"connection_id":216937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:01:20] local.INFO: TCP Data received {"connection_id":217157,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:01:20] local.INFO: Processing buffer {"connection_id":217157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:01:20] local.INFO: IMEI packet received {"connection_id":217157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":217157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:01:46] local.INFO: TCP Data received {"connection_id":216937,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:01:46] local.INFO: Processing buffer {"connection_id":216937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:01:46] local.INFO: Packet analysis {"connection_id":216937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:01:46] local.INFO: Extracted packet for processing {"connection_id":216937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:01:46] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794066432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792164623000,"timestamp_ms":1792164623000,"timestamp_seconds":1792164623,"priority":1,"record_length":96,"hex_timestamp":"000001a14555f298"} 
[2026-10-16 21:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:01: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-10-16 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:01: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-10-16 21: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-10-16 21:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794066432001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794066432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:01:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:01:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794066432001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":216937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:01:46] local.INFO: GPS data processed {"connection_id":216937,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:01:46] local.INFO: Acknowledgment sent {"connection_id":216937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:01:50] local.INFO: TCP Data received {"connection_id":218494,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:01:50] local.INFO: Processing buffer {"connection_id":218494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:01:50] local.INFO: IMEI packet received {"connection_id":218494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":218494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:02:08] local.INFO: TCP Data received {"connection_id":217158,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:02:08] local.INFO: Processing buffer {"connection_id":217158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:02:08] local.INFO: IMEI packet received {"connection_id":217158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":217158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:02:14] local.INFO: TCP Data received {"connection_id":217158,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:02:14] local.INFO: Processing buffer {"connection_id":217158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:02:14] local.INFO: IMEI packet received {"connection_id":217158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":217158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:02:15] local.INFO: TCP Data received {"connection_id":217158,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:02:15] local.INFO: Processing buffer {"connection_id":217158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:02:15] local.INFO: Packet analysis {"connection_id":217158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:02:15] local.INFO: Extracted packet for processing {"connection_id":217158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:02:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794066432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792164623000,"timestamp_ms":1792164623000,"timestamp_seconds":1792164623,"priority":1,"record_length":96,"hex_timestamp":"000001a14555f298"} 
[2026-10-16 21:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:02: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-10-16 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:02:15] 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-10-16 21: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-10-16 21:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794066432001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794066432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:02:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:02:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794066432001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":217158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:02:15] local.INFO: GPS data processed {"connection_id":217158,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:02:15] local.INFO: Acknowledgment sent {"connection_id":217158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:02:47] local.INFO: TCP Data received {"connection_id":217158,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:02:47] local.INFO: Processing buffer {"connection_id":217158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:02:47] local.INFO: Packet analysis {"connection_id":217158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:02:47] local.INFO: Extracted packet for processing {"connection_id":217158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794066432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792164623000,"timestamp_ms":1792164623000,"timestamp_seconds":1792164623,"priority":1,"record_length":96,"hex_timestamp":"000001a14555f298"} 
[2026-10-16 21:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:02: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-10-16 21:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:02: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-10-16 21:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794066432001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794066432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:02:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:02:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794066432001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":217158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:02:47] local.INFO: GPS data processed {"connection_id":217158,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:02:47] local.INFO: Acknowledgment sent {"connection_id":217158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:03:08] local.INFO: TCP Data received {"connection_id":220239,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:03:08] local.INFO: Processing buffer {"connection_id":220239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:03:08] local.INFO: IMEI packet received {"connection_id":220239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":220239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:03:14] local.INFO: TCP Data received {"connection_id":220239,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:03:14] local.INFO: Processing buffer {"connection_id":220239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:03:14] local.INFO: IMEI packet received {"connection_id":220239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":220239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:03:15] local.INFO: TCP Data received {"connection_id":220239,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:03:15] local.INFO: Processing buffer {"connection_id":220239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:03:15] local.INFO: Packet analysis {"connection_id":220239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:03:15] local.INFO: Extracted packet for processing {"connection_id":220239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794066432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792164623000,"timestamp_ms":1792164623000,"timestamp_seconds":1792164623,"priority":1,"record_length":96,"hex_timestamp":"000001a14555f298"} 
[2026-10-16 21:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:03: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-10-16 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:03:15] 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-10-16 21: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-10-16 21:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794066432001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794066432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:03:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:03:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794066432001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":220239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:03:15] local.INFO: GPS data processed {"connection_id":220239,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:03:15] local.INFO: Acknowledgment sent {"connection_id":220239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:03:47] local.INFO: TCP Data received {"connection_id":220239,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:03:47] local.INFO: Processing buffer {"connection_id":220239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:03:47] local.INFO: Packet analysis {"connection_id":220239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:03:47] local.INFO: Extracted packet for processing {"connection_id":220239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794066432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792164623000,"timestamp_ms":1792164623000,"timestamp_seconds":1792164623,"priority":1,"record_length":96,"hex_timestamp":"000001a14555f298"} 
[2026-10-16 21:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:03: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-10-16 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:03: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-10-16 21:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794066432001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794066432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:03:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:03:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794066432001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":220239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:03:47] local.INFO: GPS data processed {"connection_id":220239,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:03:47] local.INFO: Acknowledgment sent {"connection_id":220239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:04:14] local.INFO: TCP Data received {"connection_id":217161,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:04:14] local.INFO: Processing buffer {"connection_id":217161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:04:14] local.INFO: IMEI packet received {"connection_id":217161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":217161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:04:18] local.INFO: TCP Data received {"connection_id":217161,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:04:18] local.INFO: Processing buffer {"connection_id":217161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:04:18] local.INFO: IMEI packet received {"connection_id":217161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":217161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:04:20] local.INFO: TCP Data received {"connection_id":217161,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:04:20] local.INFO: Processing buffer {"connection_id":217161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:04:20] local.INFO: Packet analysis {"connection_id":217161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:04:20] local.INFO: Extracted packet for processing {"connection_id":217161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:04:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794066432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792164623000,"timestamp_ms":1792164623000,"timestamp_seconds":1792164623,"priority":1,"record_length":96,"hex_timestamp":"000001a14555f298"} 
[2026-10-16 21:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:04:20] 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-10-16 21:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":217161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":217161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":217161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794066432001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794066432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:04:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:04:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794066432001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":217161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:04:20] local.INFO: GPS data processed {"connection_id":217161,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:04:20] local.INFO: Acknowledgment sent {"connection_id":217161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:04:25] local.INFO: TCP Data received {"connection_id":217161,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:04:25] local.INFO: Processing buffer {"connection_id":217161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:04:25] local.INFO: Packet analysis {"connection_id":217161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:04:25] local.INFO: Extracted packet for processing {"connection_id":217161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794066432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792164623000,"timestamp_ms":1792164623000,"timestamp_seconds":1792164623,"priority":1,"record_length":96,"hex_timestamp":"000001a14555f298"} 
[2026-10-16 21:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:04:25] 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-10-16 21:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794066432001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794066432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:04:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:04:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794066432001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":217161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:04:25] local.INFO: GPS data processed {"connection_id":217161,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:04:25] local.INFO: Acknowledgment sent {"connection_id":217161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:05:09] local.INFO: TCP Data received {"connection_id":218495,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:05:09] local.INFO: Processing buffer {"connection_id":218495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:05:09] local.INFO: IMEI packet received {"connection_id":218495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":218495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:05:14] local.INFO: TCP Data received {"connection_id":218495,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:05:14] local.INFO: Processing buffer {"connection_id":218495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:05:14] local.INFO: IMEI packet received {"connection_id":218495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":218495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:05:15] local.INFO: TCP Data received {"connection_id":218495,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:05:15] local.INFO: Processing buffer {"connection_id":218495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:05:15] local.INFO: Packet analysis {"connection_id":218495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:05:15] local.INFO: Extracted packet for processing {"connection_id":218495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794066432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792164623000,"timestamp_ms":1792164623000,"timestamp_seconds":1792164623,"priority":1,"record_length":96,"hex_timestamp":"000001a14555f298"} 
[2026-10-16 21:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:05: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-10-16 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:05:15] 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-10-16 21: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-10-16 21:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794066432001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794066432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:05:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:05:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794066432001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":218495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:05:15] local.INFO: GPS data processed {"connection_id":218495,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:05:15] local.INFO: Acknowledgment sent {"connection_id":218495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:05:47] local.INFO: TCP Data received {"connection_id":218495,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:05:47] local.INFO: Processing buffer {"connection_id":218495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14555f298012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:05:47] local.INFO: Packet analysis {"connection_id":218495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:05:47] local.INFO: Extracted packet for processing {"connection_id":218495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14555"} 
[2026-10-16 21:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794066432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792164623000,"timestamp_ms":1792164623000,"timestamp_seconds":1792164623,"priority":1,"record_length":96,"hex_timestamp":"000001a14555f298"} 
[2026-10-16 21:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:05: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-10-16 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:05: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-10-16 21: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-10-16 21:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794066432001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794066432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:05:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:05:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794066432001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":218495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:05:47] local.INFO: GPS data processed {"connection_id":218495,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:05:47] local.INFO: Acknowledgment sent {"connection_id":218495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:06:08] local.INFO: TCP Data received {"connection_id":216939,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:06:08] local.INFO: Processing buffer {"connection_id":216939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:06:08] local.INFO: IMEI packet received {"connection_id":216939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":216939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:06:16] local.INFO: TCP Data received {"connection_id":216939,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:06:16] local.INFO: Processing buffer {"connection_id":216939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:06:16] local.INFO: IMEI packet received {"connection_id":216939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":216939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:06:17] local.INFO: TCP Data received {"connection_id":216939,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:06:17] local.INFO: Processing buffer {"connection_id":216939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:06:17] local.INFO: Packet analysis {"connection_id":216939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:06:17] local.INFO: Extracted packet for processing {"connection_id":216939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:06:17] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 21:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:06: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-10-16 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:06:17] 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-10-16 21: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-10-16 21:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":216939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":216939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":216939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:06:17] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:06:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":216939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:06:17] local.INFO: GPS data processed {"connection_id":216939,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:06:17] local.INFO: Acknowledgment sent {"connection_id":216939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:06:50] local.INFO: TCP Data received {"connection_id":216939,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:06:50] local.INFO: Processing buffer {"connection_id":216939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:06:50] local.INFO: Packet analysis {"connection_id":216939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:06:50] local.INFO: Extracted packet for processing {"connection_id":216939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:06:50] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 21:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:06:50] 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-10-16 21:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":216939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":216939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":216939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:06:50] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:06:50] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":216939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:06:50] local.INFO: GPS data processed {"connection_id":216939,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:06:50] local.INFO: Acknowledgment sent {"connection_id":216939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:07:23] local.INFO: TCP Data received {"connection_id":216941,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:07:23] local.INFO: Processing buffer {"connection_id":216941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:07:23] local.INFO: IMEI packet received {"connection_id":216941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":216941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:07:24] local.INFO: TCP Data received {"connection_id":216941,"ip":"117.224.25.43","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 21:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216941,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 21:07:24] local.INFO: Processing buffer {"connection_id":216941,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 21:07:24] local.INFO: IMEI packet received {"connection_id":216941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":216941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:07:29] local.INFO: TCP Data received {"connection_id":216941,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:07:29] local.INFO: Processing buffer {"connection_id":216941,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 21:07:29] local.INFO: IMEI packet received {"connection_id":216941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":216941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:07:30] local.INFO: TCP Data received {"connection_id":216940,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:07:30] local.INFO: Processing buffer {"connection_id":216940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:07:30] local.INFO: IMEI packet received {"connection_id":216940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":216940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:07:30] local.INFO: TCP Data received {"connection_id":216941,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:07:30] local.INFO: Processing buffer {"connection_id":216941,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a145..."} 
[2026-10-16 21:07:30] local.INFO: IMEI packet received {"connection_id":216941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":216941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:07:38] local.INFO: TCP Data received {"connection_id":216941,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:07:38] local.INFO: Processing buffer {"connection_id":216941,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:07:38] local.INFO: Packet analysis {"connection_id":216941,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:07:38] local.INFO: Extracted packet for processing {"connection_id":216941,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 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-10-16 21:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 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-10-16 21: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-10-16 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:07:38] 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-10-16 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-10-16 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-10-16 21:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:07:38] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:07:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":216941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:07:38] local.INFO: GPS data processed {"connection_id":216941,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:07:38] local.INFO: Acknowledgment sent {"connection_id":216941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:07:38] local.INFO: Packet analysis {"connection_id":216941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:07:38] local.INFO: Extracted packet for processing {"connection_id":216941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 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-10-16 21:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 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-10-16 21: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-10-16 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:07:38] 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-10-16 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-10-16 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-10-16 21:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":216941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":216941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":216941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:07:38] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:07:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":216941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:07:38] local.INFO: GPS data processed {"connection_id":216941,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:07:38] local.INFO: Acknowledgment sent {"connection_id":216941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:07:39] local.INFO: TCP Data received {"connection_id":216941,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:07:39] local.INFO: Processing buffer {"connection_id":216941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:07:39] local.INFO: Packet analysis {"connection_id":216941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:07:39] local.INFO: Extracted packet for processing {"connection_id":216941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 21:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:07: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-10-16 21:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:07:39] 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-10-16 21:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":216941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":216941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":216941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:07:39] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:07:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":216941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:07:39] local.INFO: GPS data processed {"connection_id":216941,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:07:39] local.INFO: Acknowledgment sent {"connection_id":216941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:07:50] local.INFO: TCP Data received {"connection_id":218496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:07:50] local.INFO: Processing buffer {"connection_id":218496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:07:50] local.INFO: IMEI packet received {"connection_id":218496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":218496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:08:08] local.INFO: TCP Data received {"connection_id":220241,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:08:08] local.INFO: Processing buffer {"connection_id":220241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:08:08] local.INFO: IMEI packet received {"connection_id":220241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":220241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:08:14] local.INFO: TCP Data received {"connection_id":220241,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:08:14] local.INFO: Processing buffer {"connection_id":220241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:08:14] local.INFO: IMEI packet received {"connection_id":220241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":220241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:08:16] local.INFO: TCP Data received {"connection_id":220241,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:08:16] local.INFO: Processing buffer {"connection_id":220241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:08:16] local.INFO: Packet analysis {"connection_id":220241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:08:16] local.INFO: Extracted packet for processing {"connection_id":220241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:08:16] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 21:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21: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-10-16 21: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":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:08:16] 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-10-16 21: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-10-16 21:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":220241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":220241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":220241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:08:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:08:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":220241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:08:16] local.INFO: GPS data processed {"connection_id":220241,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:08:16] local.INFO: Acknowledgment sent {"connection_id":220241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:08:48] local.INFO: TCP Data received {"connection_id":220241,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:08:48] local.INFO: Processing buffer {"connection_id":220241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:08:48] local.INFO: Packet analysis {"connection_id":220241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:08:48] local.INFO: Extracted packet for processing {"connection_id":220241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:08:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 21:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:08:48] 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-10-16 21: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-10-16 21:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":220241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":220241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":220241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:08:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:08:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":220241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:08:48] local.INFO: GPS data processed {"connection_id":220241,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:08:48] local.INFO: Acknowledgment sent {"connection_id":220241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:09:08] local.INFO: TCP Data received {"connection_id":217162,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:09:08] local.INFO: Processing buffer {"connection_id":217162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:09:08] local.INFO: IMEI packet received {"connection_id":217162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":217162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:09:14] local.INFO: TCP Data received {"connection_id":217162,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:09:14] local.INFO: Processing buffer {"connection_id":217162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:09:14] local.INFO: IMEI packet received {"connection_id":217162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":217162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:09:16] local.INFO: TCP Data received {"connection_id":217162,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:09:16] local.INFO: Processing buffer {"connection_id":217162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:09:16] local.INFO: Packet analysis {"connection_id":217162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:09:16] local.INFO: Extracted packet for processing {"connection_id":217162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:09:16] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 21:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:09: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-10-16 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:09:16] 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-10-16 21: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-10-16 21:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":217162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":217162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":217162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:09:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:09:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":217162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:09:16] local.INFO: GPS data processed {"connection_id":217162,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:09:16] local.INFO: Acknowledgment sent {"connection_id":217162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:09:48] local.INFO: TCP Data received {"connection_id":217162,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:09:48] local.INFO: Processing buffer {"connection_id":217162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:09:48] local.INFO: Packet analysis {"connection_id":217162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:09:48] local.INFO: Extracted packet for processing {"connection_id":217162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:09:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 21:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:09: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-10-16 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:09:48] 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-10-16 21: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-10-16 21:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":217162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":217162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":217162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:09:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:09:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":217162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:09:48] local.INFO: GPS data processed {"connection_id":217162,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:09:48] local.INFO: Acknowledgment sent {"connection_id":217162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:10:08] local.INFO: TCP Data received {"connection_id":216944,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:10:08] local.INFO: Processing buffer {"connection_id":216944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:10:08] local.INFO: IMEI packet received {"connection_id":216944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":216944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:10:14] local.INFO: TCP Data received {"connection_id":216944,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:10:14] local.INFO: Processing buffer {"connection_id":216944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:10:14] local.INFO: IMEI packet received {"connection_id":216944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":216944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:10:15] local.INFO: TCP Data received {"connection_id":216944,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:10:15] local.INFO: Processing buffer {"connection_id":216944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:10:15] local.INFO: Packet analysis {"connection_id":216944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:10:15] local.INFO: Extracted packet for processing {"connection_id":216944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 21:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:10: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-10-16 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:10:15] 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-10-16 21: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-10-16 21:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:10:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:10:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":216944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:10:15] local.INFO: GPS data processed {"connection_id":216944,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:10:15] local.INFO: Acknowledgment sent {"connection_id":216944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:10:49] local.INFO: TCP Data received {"connection_id":216944,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:10:49] local.INFO: Processing buffer {"connection_id":216944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455a8a60012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:10:49] local.INFO: Packet analysis {"connection_id":216944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:10:49] local.INFO: Extracted packet for processing {"connection_id":216944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455a"} 
[2026-10-16 21:10:49] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794143488001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792164924000,"timestamp_ms":1792164924000,"timestamp_seconds":1792164924,"priority":1,"record_length":96,"hex_timestamp":"000001a1455a8a60"} 
[2026-10-16 21:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:10: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-10-16 21:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:10:49] 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-10-16 21:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":216944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":216944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":216944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794143488001,"66":25995,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794143488001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:10:49] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:10:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794143488001,"power":25995,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":216944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:10:49] local.INFO: GPS data processed {"connection_id":216944,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:10:49] local.INFO: Acknowledgment sent {"connection_id":216944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:11:14] local.INFO: TCP Data received {"connection_id":217163,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:11:14] local.INFO: Processing buffer {"connection_id":217163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:11:14] local.INFO: IMEI packet received {"connection_id":217163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":217163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:11:19] local.INFO: TCP Data received {"connection_id":217163,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:11:19] local.INFO: Processing buffer {"connection_id":217163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:11:19] local.INFO: IMEI packet received {"connection_id":217163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":217163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:11:21] local.INFO: TCP Data received {"connection_id":217163,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:11:21] local.INFO: Processing buffer {"connection_id":217163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:11:21] local.INFO: Packet analysis {"connection_id":217163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:11:21] local.INFO: Extracted packet for processing {"connection_id":217163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:11:21] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792165224000,"timestamp_ms":1792165224000,"timestamp_seconds":1792165224,"priority":1,"record_length":96,"hex_timestamp":"000001a1455f1e40"} 
[2026-10-16 21:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:11:21] 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-10-16 21: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-10-16 21:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794220544001,"66":25973,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:11:21] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:11:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794220544001,"power":25973,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":217163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:11:21] local.INFO: GPS data processed {"connection_id":217163,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:11:21] local.INFO: Acknowledgment sent {"connection_id":217163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:11:25] local.INFO: TCP Data received {"connection_id":217163,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:11:25] local.INFO: Processing buffer {"connection_id":217163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:11:25] local.INFO: Packet analysis {"connection_id":217163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:11:25] local.INFO: Extracted packet for processing {"connection_id":217163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792165224000,"timestamp_ms":1792165224000,"timestamp_seconds":1792165224,"priority":1,"record_length":96,"hex_timestamp":"000001a1455f1e40"} 
[2026-10-16 21:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:11:25] 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-10-16 21:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794220544001,"66":25973,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:11:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:11:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794220544001,"power":25973,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":217163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:11:25] local.INFO: GPS data processed {"connection_id":217163,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:11:25] local.INFO: Acknowledgment sent {"connection_id":217163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:12:08] local.INFO: TCP Data received {"connection_id":220243,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:12:08] local.INFO: Processing buffer {"connection_id":220243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:12:08] local.INFO: IMEI packet received {"connection_id":220243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":220243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:12:14] local.INFO: TCP Data received {"connection_id":220243,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:12:14] local.INFO: Processing buffer {"connection_id":220243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:12:14] local.INFO: IMEI packet received {"connection_id":220243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":220243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:12:15] local.INFO: TCP Data received {"connection_id":220243,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:12:15] local.INFO: Processing buffer {"connection_id":220243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:12:15] local.INFO: Packet analysis {"connection_id":220243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:12:15] local.INFO: Extracted packet for processing {"connection_id":220243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:12:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792165224000,"timestamp_ms":1792165224000,"timestamp_seconds":1792165224,"priority":1,"record_length":96,"hex_timestamp":"000001a1455f1e40"} 
[2026-10-16 21:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:12: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-10-16 21:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:12:15] 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-10-16 21:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794220544001,"66":25973,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:12:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:12:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794220544001,"power":25973,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":220243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:12:15] local.INFO: GPS data processed {"connection_id":220243,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:12:15] local.INFO: Acknowledgment sent {"connection_id":220243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:12:47] local.INFO: TCP Data received {"connection_id":220243,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:12:47] local.INFO: Processing buffer {"connection_id":220243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:12:47] local.INFO: Packet analysis {"connection_id":220243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:12:47] local.INFO: Extracted packet for processing {"connection_id":220243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792165224000,"timestamp_ms":1792165224000,"timestamp_seconds":1792165224,"priority":1,"record_length":96,"hex_timestamp":"000001a1455f1e40"} 
[2026-10-16 21:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:12:47] 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-10-16 21:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794220544001,"66":25973,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:12:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:12:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794220544001,"power":25973,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":220243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:12:47] local.INFO: GPS data processed {"connection_id":220243,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:12:47] local.INFO: Acknowledgment sent {"connection_id":220243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:13:08] local.INFO: TCP Data received {"connection_id":220244,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:13:08] local.INFO: Processing buffer {"connection_id":220244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:13:08] local.INFO: IMEI packet received {"connection_id":220244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":220244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:13:14] local.INFO: TCP Data received {"connection_id":220244,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:13:14] local.INFO: Processing buffer {"connection_id":220244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:13:14] local.INFO: IMEI packet received {"connection_id":220244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":220244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:13:15] local.INFO: TCP Data received {"connection_id":216946,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:13:15] local.INFO: Processing buffer {"connection_id":216946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:13:15] local.INFO: IMEI packet received {"connection_id":216946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":216946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:13:15] local.INFO: TCP Data received {"connection_id":220244,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:13:15] local.INFO: Processing buffer {"connection_id":220244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:13:15] local.INFO: Packet analysis {"connection_id":220244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:13:15] local.INFO: Extracted packet for processing {"connection_id":220244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:13:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792165224000,"timestamp_ms":1792165224000,"timestamp_seconds":1792165224,"priority":1,"record_length":96,"hex_timestamp":"000001a1455f1e40"} 
[2026-10-16 21:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:13: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-10-16 21:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:13:15] 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-10-16 21:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794220544001,"66":25973,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:13:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:13:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794220544001,"power":25973,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":220244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:13:15] local.INFO: GPS data processed {"connection_id":220244,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:13:15] local.INFO: Acknowledgment sent {"connection_id":220244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:13:48] local.INFO: TCP Data received {"connection_id":220244,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:13:48] local.INFO: Processing buffer {"connection_id":220244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:13:48] local.INFO: Packet analysis {"connection_id":220244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:13:48] local.INFO: Extracted packet for processing {"connection_id":220244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:13:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792165224000,"timestamp_ms":1792165224000,"timestamp_seconds":1792165224,"priority":1,"record_length":96,"hex_timestamp":"000001a1455f1e40"} 
[2026-10-16 21:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:13: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-10-16 21:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:13:48] 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-10-16 21: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-10-16 21:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":220244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":220244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":220244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794220544001,"66":25973,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:13:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:13:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794220544001,"power":25973,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":220244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:13:48] local.INFO: GPS data processed {"connection_id":220244,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:13:48] local.INFO: Acknowledgment sent {"connection_id":220244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:13:55] local.INFO: TCP Data received {"connection_id":217164,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:13:55] local.INFO: Processing buffer {"connection_id":217164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:13:55] local.INFO: IMEI packet received {"connection_id":217164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":217164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:14:15] local.INFO: TCP Data received {"connection_id":217165,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:14:15] local.INFO: Processing buffer {"connection_id":217165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:14:15] local.INFO: IMEI packet received {"connection_id":217165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":217165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:14:18] local.INFO: TCP Data received {"connection_id":217165,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:14:18] local.INFO: Processing buffer {"connection_id":217165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:14:18] local.INFO: IMEI packet received {"connection_id":217165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":217165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:14:20] local.INFO: TCP Data received {"connection_id":217165,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:14:20] local.INFO: Processing buffer {"connection_id":217165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:14:20] local.INFO: Packet analysis {"connection_id":217165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:14:20] local.INFO: Extracted packet for processing {"connection_id":217165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:14:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792165224000,"timestamp_ms":1792165224000,"timestamp_seconds":1792165224,"priority":1,"record_length":96,"hex_timestamp":"000001a1455f1e40"} 
[2026-10-16 21:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:14:20] 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-10-16 21:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":217165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":217165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":217165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794220544001,"66":25973,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:14:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:14:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794220544001,"power":25973,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":217165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:14:20] local.INFO: GPS data processed {"connection_id":217165,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:14:20] local.INFO: Acknowledgment sent {"connection_id":217165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:14:25] local.INFO: TCP Data received {"connection_id":217165,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:14:25] local.INFO: Processing buffer {"connection_id":217165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:14:25] local.INFO: Packet analysis {"connection_id":217165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:14:25] local.INFO: Extracted packet for processing {"connection_id":217165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:14:25] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792165224000,"timestamp_ms":1792165224000,"timestamp_seconds":1792165224,"priority":1,"record_length":96,"hex_timestamp":"000001a1455f1e40"} 
[2026-10-16 21:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:14:25] 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-10-16 21:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794220544001,"66":25973,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:14:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:14:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794220544001,"power":25973,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":217165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:14:25] local.INFO: GPS data processed {"connection_id":217165,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:14:25] local.INFO: Acknowledgment sent {"connection_id":217165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:15:09] local.INFO: TCP Data received {"connection_id":216947,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:15:09] local.INFO: Processing buffer {"connection_id":216947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:15:09] local.INFO: IMEI packet received {"connection_id":216947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":216947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:15:14] local.INFO: TCP Data received {"connection_id":216947,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:15:14] local.INFO: Processing buffer {"connection_id":216947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:15:14] local.INFO: IMEI packet received {"connection_id":216947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":216947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:15:15] local.INFO: TCP Data received {"connection_id":216947,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:15:15] local.INFO: Processing buffer {"connection_id":216947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:15:15] local.INFO: Packet analysis {"connection_id":216947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:15:15] local.INFO: Extracted packet for processing {"connection_id":216947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792165224000,"timestamp_ms":1792165224000,"timestamp_seconds":1792165224,"priority":1,"record_length":96,"hex_timestamp":"000001a1455f1e40"} 
[2026-10-16 21:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:15: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-10-16 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:15:15] 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-10-16 21: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-10-16 21:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794220544001,"66":25973,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:15:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:15:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794220544001,"power":25973,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":216947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:15:15] local.INFO: GPS data processed {"connection_id":216947,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:15:15] local.INFO: Acknowledgment sent {"connection_id":216947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:15:53] local.INFO: TCP Data received {"connection_id":216947,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:15:53] local.INFO: Processing buffer {"connection_id":216947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1455f1e40012d7b89c005f5f340000a002829..."} 
[2026-10-16 21:15:53] local.INFO: Packet analysis {"connection_id":216947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:15:53] local.INFO: Extracted packet for processing {"connection_id":216947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1455f"} 
[2026-10-16 21:15:53] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794220544001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792165224000,"timestamp_ms":1792165224000,"timestamp_seconds":1792165224,"priority":1,"record_length":96,"hex_timestamp":"000001a1455f1e40"} 
[2026-10-16 21:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-10-16 21:15:53] 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-10-16 21: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-10-16 21:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":216947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":216947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":216947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794220544001,"66":25973,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794220544001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:15:53] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:15:53] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794220544001,"power":25973,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":216947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:15:53] local.INFO: GPS data processed {"connection_id":216947,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:15:53] local.INFO: Acknowledgment sent {"connection_id":216947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:16:08] local.INFO: TCP Data received {"connection_id":216948,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:16:08] local.INFO: Processing buffer {"connection_id":216948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:16:08] local.INFO: IMEI packet received {"connection_id":216948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":216948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:16:15] local.INFO: TCP Data received {"connection_id":216948,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:16:15] local.INFO: Processing buffer {"connection_id":216948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:16:15] local.INFO: IMEI packet received {"connection_id":216948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":216948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:16:16] local.INFO: TCP Data received {"connection_id":216948,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:16:16] local.INFO: Processing buffer {"connection_id":216948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:16:16] local.INFO: Packet analysis {"connection_id":216948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:16:16] local.INFO: Extracted packet for processing {"connection_id":216948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792165525000,"timestamp_ms":1792165525000,"timestamp_seconds":1792165525,"priority":1,"record_length":96,"hex_timestamp":"000001a14563b608"} 
[2026-10-16 21:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 21:16:16] 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-10-16 21: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-10-16 21:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794297344001,"66":25897,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:16:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:16:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794297344001,"power":25897,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":216948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:16:16] local.INFO: GPS data processed {"connection_id":216948,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:16:16] local.INFO: Acknowledgment sent {"connection_id":216948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:16:47] local.INFO: TCP Data received {"connection_id":216948,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:16:47] local.INFO: Processing buffer {"connection_id":216948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:16:47] local.INFO: Packet analysis {"connection_id":216948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:16:47] local.INFO: Extracted packet for processing {"connection_id":216948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:16:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792165525000,"timestamp_ms":1792165525000,"timestamp_seconds":1792165525,"priority":1,"record_length":96,"hex_timestamp":"000001a14563b608"} 
[2026-10-16 21:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21: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-10-16 21: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":117,"data_length":795,"current_offset":136} 
[2026-10-16 21:16:47] 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-10-16 21: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-10-16 21:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794297344001,"66":25897,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:16:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:16:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794297344001,"power":25897,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":216948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:16:47] local.INFO: GPS data processed {"connection_id":216948,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:16:47] local.INFO: Acknowledgment sent {"connection_id":216948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:17:14] local.INFO: TCP Data received {"connection_id":217166,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:17:14] local.INFO: Processing buffer {"connection_id":217166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:17:14] local.INFO: IMEI packet received {"connection_id":217166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":217166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:17:19] local.INFO: TCP Data received {"connection_id":217166,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:17:19] local.INFO: Processing buffer {"connection_id":217166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:17:19] local.INFO: IMEI packet received {"connection_id":217166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":217166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:17:20] local.INFO: TCP Data received {"connection_id":217166,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:17:20] local.INFO: Processing buffer {"connection_id":217166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:17:20] local.INFO: Packet analysis {"connection_id":217166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:17:20] local.INFO: Extracted packet for processing {"connection_id":217166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:17:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792165525000,"timestamp_ms":1792165525000,"timestamp_seconds":1792165525,"priority":1,"record_length":96,"hex_timestamp":"000001a14563b608"} 
[2026-10-16 21:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 21:17:20] 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-10-16 21:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":217166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":217166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":217166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794297344001,"66":25897,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:17:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:17:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794297344001,"power":25897,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":217166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:17:20] local.INFO: GPS data processed {"connection_id":217166,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:17:20] local.INFO: Acknowledgment sent {"connection_id":217166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:17:25] local.INFO: TCP Data received {"connection_id":217166,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:17:25] local.INFO: Processing buffer {"connection_id":217166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:17:25] local.INFO: Packet analysis {"connection_id":217166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:17:25] local.INFO: Extracted packet for processing {"connection_id":217166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792165525000,"timestamp_ms":1792165525000,"timestamp_seconds":1792165525,"priority":1,"record_length":96,"hex_timestamp":"000001a14563b608"} 
[2026-10-16 21:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 21:17:25] 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-10-16 21:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794297344001,"66":25897,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:17:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:17:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794297344001,"power":25897,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":217166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:17:25] local.INFO: GPS data processed {"connection_id":217166,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:17:25] local.INFO: Acknowledgment sent {"connection_id":217166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:18:09] local.INFO: TCP Data received {"connection_id":216949,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:18:09] local.INFO: Processing buffer {"connection_id":216949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:18:09] local.INFO: IMEI packet received {"connection_id":216949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":216949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:18:14] local.INFO: TCP Data received {"connection_id":216949,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:18:14] local.INFO: Processing buffer {"connection_id":216949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:18:14] local.INFO: IMEI packet received {"connection_id":216949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":216949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:18:15] local.INFO: TCP Data received {"connection_id":216949,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:18:15] local.INFO: Processing buffer {"connection_id":216949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:18:15] local.INFO: Packet analysis {"connection_id":216949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:18:15] local.INFO: Extracted packet for processing {"connection_id":216949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792165525000,"timestamp_ms":1792165525000,"timestamp_seconds":1792165525,"priority":1,"record_length":96,"hex_timestamp":"000001a14563b608"} 
[2026-10-16 21:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:18: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-10-16 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 21:18:15] 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-10-16 21: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-10-16 21:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794297344001,"66":25897,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:18:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:18:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794297344001,"power":25897,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":216949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:18:15] local.INFO: GPS data processed {"connection_id":216949,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:18:15] local.INFO: Acknowledgment sent {"connection_id":216949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:18:48] local.INFO: TCP Data received {"connection_id":216949,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:18:48] local.INFO: Processing buffer {"connection_id":216949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:18:48] local.INFO: Packet analysis {"connection_id":216949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:18:48] local.INFO: Extracted packet for processing {"connection_id":216949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:18:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792165525000,"timestamp_ms":1792165525000,"timestamp_seconds":1792165525,"priority":1,"record_length":96,"hex_timestamp":"000001a14563b608"} 
[2026-10-16 21:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:18: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-10-16 21:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 21:18:48] 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-10-16 21:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794297344001,"66":25897,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:18:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:18:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794297344001,"power":25897,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":216949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:18:48] local.INFO: GPS data processed {"connection_id":216949,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:18:48] local.INFO: Acknowledgment sent {"connection_id":216949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:19:08] local.INFO: TCP Data received {"connection_id":220247,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:19:08] local.INFO: Processing buffer {"connection_id":220247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:19:08] local.INFO: IMEI packet received {"connection_id":220247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":220247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:19:14] local.INFO: TCP Data received {"connection_id":220247,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:19:14] local.INFO: Processing buffer {"connection_id":220247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:19:14] local.INFO: IMEI packet received {"connection_id":220247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":220247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:19:15] local.INFO: TCP Data received {"connection_id":220247,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:19:15] local.INFO: Processing buffer {"connection_id":220247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:19:15] local.INFO: Packet analysis {"connection_id":220247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:19:15] local.INFO: Extracted packet for processing {"connection_id":220247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 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-10-16 21:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792165525000,"timestamp_ms":1792165525000,"timestamp_seconds":1792165525,"priority":1,"record_length":96,"hex_timestamp":"000001a14563b608"} 
[2026-10-16 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-10-16 21:19: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-10-16 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 21:19:15] 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-10-16 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-10-16 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-10-16 21:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794297344001,"66":25897,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:19:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:19:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794297344001,"power":25897,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":220247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:19:15] local.INFO: GPS data processed {"connection_id":220247,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:19:15] local.INFO: Acknowledgment sent {"connection_id":220247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:19:25] local.INFO: TCP Data received {"connection_id":218499,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:19:25] local.INFO: Processing buffer {"connection_id":218499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:19:25] local.INFO: IMEI packet received {"connection_id":218499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":218499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:19:48] local.INFO: TCP Data received {"connection_id":220247,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:19:48] local.INFO: Processing buffer {"connection_id":220247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:19:48] local.INFO: Packet analysis {"connection_id":220247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:19:48] local.INFO: Extracted packet for processing {"connection_id":220247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:19:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792165525000,"timestamp_ms":1792165525000,"timestamp_seconds":1792165525,"priority":1,"record_length":96,"hex_timestamp":"000001a14563b608"} 
[2026-10-16 21:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21: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-10-16 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 21:19:48] 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-10-16 21: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-10-16 21:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":220247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":220247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":220247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794297344001,"66":25897,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:19:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:19:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794297344001,"power":25897,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":220247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:19:48] local.INFO: GPS data processed {"connection_id":220247,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:19:48] local.INFO: Acknowledgment sent {"connection_id":220247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:19:55] local.INFO: TCP Data received {"connection_id":217167,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:19:55] local.INFO: Processing buffer {"connection_id":217167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:19:55] local.INFO: IMEI packet received {"connection_id":217167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":217167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:20:08] local.INFO: TCP Data received {"connection_id":218500,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:20:08] local.INFO: Processing buffer {"connection_id":218500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:20:08] local.INFO: IMEI packet received {"connection_id":218500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":218500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:20:14] local.INFO: TCP Data received {"connection_id":218500,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:20:14] local.INFO: Processing buffer {"connection_id":218500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:20:14] local.INFO: IMEI packet received {"connection_id":218500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":218500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:20:22] local.INFO: TCP Data received {"connection_id":218500,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:20:22] local.INFO: Processing buffer {"connection_id":218500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:20:22] local.INFO: Packet analysis {"connection_id":218500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:20:22] local.INFO: Extracted packet for processing {"connection_id":218500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792165525000,"timestamp_ms":1792165525000,"timestamp_seconds":1792165525,"priority":1,"record_length":96,"hex_timestamp":"000001a14563b608"} 
[2026-10-16 21:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 21:20:22] 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-10-16 21:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":218500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":218500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":218500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794297344001,"66":25897,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:20:22] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:20:22] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794297344001,"power":25897,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":218500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:20:22] local.INFO: GPS data processed {"connection_id":218500,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:20:22] local.INFO: Acknowledgment sent {"connection_id":218500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:20:53] local.INFO: TCP Data received {"connection_id":218500,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:20:54] local.INFO: Processing buffer {"connection_id":218500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14563b608012d7b89c005f5f340000a00282a..."} 
[2026-10-16 21:20:54] local.INFO: Packet analysis {"connection_id":218500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:20:54] local.INFO: Extracted packet for processing {"connection_id":218500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14563"} 
[2026-10-16 21:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794297344001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792165525000,"timestamp_ms":1792165525000,"timestamp_seconds":1792165525,"priority":1,"record_length":96,"hex_timestamp":"000001a14563b608"} 
[2026-10-16 21:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-10-16 21:20:54] 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-10-16 21: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-10-16 21:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":218500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":218500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":218500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794297344001,"66":25897,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794297344001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:20:54] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:20:54] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794297344001,"power":25897,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":218500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:20:54] local.INFO: GPS data processed {"connection_id":218500,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:20:54] local.INFO: Acknowledgment sent {"connection_id":218500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:21:14] local.INFO: TCP Data received {"connection_id":216951,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:21:14] local.INFO: Processing buffer {"connection_id":216951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:21:14] local.INFO: IMEI packet received {"connection_id":216951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":216951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:21:19] local.INFO: TCP Data received {"connection_id":216951,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:21:19] local.INFO: Processing buffer {"connection_id":216951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:21:19] local.INFO: IMEI packet received {"connection_id":216951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":216951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:21:21] local.INFO: TCP Data received {"connection_id":216951,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:21:21] local.INFO: Processing buffer {"connection_id":216951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:21:21] local.INFO: Packet analysis {"connection_id":216951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:21:21] local.INFO: Extracted packet for processing {"connection_id":216951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 21:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:21:21] 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-10-16 21:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":216951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":216951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":216951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:21:21] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:21:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":216951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:21:21] local.INFO: GPS data processed {"connection_id":216951,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:21:21] local.INFO: Acknowledgment sent {"connection_id":216951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:21:25] local.INFO: TCP Data received {"connection_id":216951,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:21:25] local.INFO: Processing buffer {"connection_id":216951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:21:25] local.INFO: Packet analysis {"connection_id":216951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:21:25] local.INFO: Extracted packet for processing {"connection_id":216951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 21:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:21:25] 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-10-16 21: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-10-16 21:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:21:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:21:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":216951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:21:25] local.INFO: GPS data processed {"connection_id":216951,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:21:25] local.INFO: Acknowledgment sent {"connection_id":216951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:22:08] local.INFO: TCP Data received {"connection_id":218503,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:22:08] local.INFO: Processing buffer {"connection_id":218503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:22:08] local.INFO: IMEI packet received {"connection_id":218503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":218503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:22:14] local.INFO: TCP Data received {"connection_id":218503,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:22:14] local.INFO: Processing buffer {"connection_id":218503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:22:14] local.INFO: IMEI packet received {"connection_id":218503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":218503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:22:15] local.INFO: TCP Data received {"connection_id":218503,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:22:15] local.INFO: Processing buffer {"connection_id":218503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:22:15] local.INFO: Packet analysis {"connection_id":218503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:22:15] local.INFO: Extracted packet for processing {"connection_id":218503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:22:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 21:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:22:15] 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-10-16 21: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-10-16 21:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:22:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:22:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":218503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:22:15] local.INFO: GPS data processed {"connection_id":218503,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:22:15] local.INFO: Acknowledgment sent {"connection_id":218503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:22:48] local.INFO: TCP Data received {"connection_id":218503,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:22:48] local.INFO: Processing buffer {"connection_id":218503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:22:48] local.INFO: Packet analysis {"connection_id":218503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:22:48] local.INFO: Extracted packet for processing {"connection_id":218503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:22:48] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 21:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:22: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-10-16 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:22:48] 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-10-16 21: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-10-16 21:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":218503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":218503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":218503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:22:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:22:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":218503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:22:48] local.INFO: GPS data processed {"connection_id":218503,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:22:48] local.INFO: Acknowledgment sent {"connection_id":218503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:23:14] local.INFO: TCP Data received {"connection_id":216952,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:23:14] local.INFO: Processing buffer {"connection_id":216952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:23:14] local.INFO: IMEI packet received {"connection_id":216952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":216952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:23:19] local.INFO: TCP Data received {"connection_id":216952,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:23:19] local.INFO: Processing buffer {"connection_id":216952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:23:19] local.INFO: IMEI packet received {"connection_id":216952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":216952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:23:20] local.INFO: TCP Data received {"connection_id":216952,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:23:20] local.INFO: Processing buffer {"connection_id":216952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:23:20] local.INFO: Packet analysis {"connection_id":216952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:23:20] local.INFO: Extracted packet for processing {"connection_id":216952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:23:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:23: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-10-16 21:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 21:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:23: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:23:20] 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-10-16 21:23: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-10-16 21:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":216952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":216952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":216952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:23:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:23:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":216952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:23:20] local.INFO: GPS data processed {"connection_id":216952,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:23:20] local.INFO: Acknowledgment sent {"connection_id":216952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:23:25] local.INFO: TCP Data received {"connection_id":216952,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:23:25] local.INFO: Processing buffer {"connection_id":216952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:23:25] local.INFO: Packet analysis {"connection_id":216952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:23:25] local.INFO: Extracted packet for processing {"connection_id":216952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 21:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:23:25] 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-10-16 21:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:23:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:23:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":216952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:23:25] local.INFO: GPS data processed {"connection_id":216952,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:23:25] local.INFO: Acknowledgment sent {"connection_id":216952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:24:11] local.INFO: TCP Data received {"connection_id":218505,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:24:11] local.INFO: Processing buffer {"connection_id":218505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:24:11] local.INFO: IMEI packet received {"connection_id":218505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":218505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:24:13] local.INFO: TCP Data received {"connection_id":218505,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:24:13] local.INFO: Processing buffer {"connection_id":218505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:24:13] local.INFO: IMEI packet received {"connection_id":218505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":218505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:24:15] local.INFO: TCP Data received {"connection_id":218505,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:24:15] local.INFO: Processing buffer {"connection_id":218505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:24:15] local.INFO: Packet analysis {"connection_id":218505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:24:15] local.INFO: Extracted packet for processing {"connection_id":218505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:24:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 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-10-16 21:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 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-10-16 21:24: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-10-16 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:24:15] 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-10-16 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-10-16 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-10-16 21:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:24:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:24:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":218505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:24:15] local.INFO: GPS data processed {"connection_id":218505,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:24:15] local.INFO: Acknowledgment sent {"connection_id":218505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:24:19] local.INFO: TCP Data received {"connection_id":218505,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:24:19] local.INFO: Processing buffer {"connection_id":218505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:24:19] local.INFO: Packet analysis {"connection_id":218505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:24:19] local.INFO: Extracted packet for processing {"connection_id":218505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 21:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:24: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-10-16 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:24:19] 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-10-16 21:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":218505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":218505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":218505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:24:19] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:24:19] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":218505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:24:19] local.INFO: GPS data processed {"connection_id":218505,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:24:19] local.INFO: Acknowledgment sent {"connection_id":218505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:24:51] local.INFO: TCP Data received {"connection_id":218505,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:24:51] local.INFO: Processing buffer {"connection_id":218505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:24:51] local.INFO: Packet analysis {"connection_id":218505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:24:51] local.INFO: Extracted packet for processing {"connection_id":218505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:24:51] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 21:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:24:51] 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-10-16 21:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":218505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":218505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":218505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:24:51] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:24:51] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":218505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:24:51] local.INFO: GPS data processed {"connection_id":218505,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:24:51] local.INFO: Acknowledgment sent {"connection_id":218505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:25:09] local.INFO: TCP Data received {"connection_id":216953,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:25:09] local.INFO: Processing buffer {"connection_id":216953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:25:09] local.INFO: IMEI packet received {"connection_id":216953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":216953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:25:14] local.INFO: TCP Data received {"connection_id":216953,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:25:14] local.INFO: Processing buffer {"connection_id":216953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:25:14] local.INFO: IMEI packet received {"connection_id":216953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":216953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:25:15] local.INFO: TCP Data received {"connection_id":216953,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:25:15] local.INFO: Processing buffer {"connection_id":216953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:25:15] local.INFO: Packet analysis {"connection_id":216953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:25:15] local.INFO: Extracted packet for processing {"connection_id":216953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:25:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 21:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:25: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-10-16 21: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:25:15] 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-10-16 21: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-10-16 21:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:25:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:25:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":216953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:25:15] local.INFO: GPS data processed {"connection_id":216953,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:25:15] local.INFO: Acknowledgment sent {"connection_id":216953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:25:46] local.INFO: TCP Data received {"connection_id":216953,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:25:46] local.INFO: Processing buffer {"connection_id":216953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145684dd0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:25:46] local.INFO: Packet analysis {"connection_id":216953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:25:46] local.INFO: Extracted packet for processing {"connection_id":216953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14568"} 
[2026-10-16 21:25:46] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794374400001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792165826000,"timestamp_ms":1792165826000,"timestamp_seconds":1792165826,"priority":1,"record_length":96,"hex_timestamp":"000001a145684dd0"} 
[2026-10-16 21:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:25: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-10-16 21:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-10-16 21:25:46] 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-10-16 21:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794374400001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794374400001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:25:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:25:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794374400001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":216953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:25:46] local.INFO: GPS data processed {"connection_id":216953,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:25:46] local.INFO: Acknowledgment sent {"connection_id":216953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:26:08] local.INFO: TCP Data received {"connection_id":220248,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:26:08] local.INFO: Processing buffer {"connection_id":220248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:26:08] local.INFO: IMEI packet received {"connection_id":220248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":220248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:26:08] local.INFO: TCP Data received {"connection_id":220249,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:26:08] local.INFO: Processing buffer {"connection_id":220249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:26:08] local.INFO: IMEI packet received {"connection_id":220249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":220249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:26:14] local.INFO: TCP Data received {"connection_id":220249,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:26:14] local.INFO: Processing buffer {"connection_id":220249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:26:14] local.INFO: IMEI packet received {"connection_id":220249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":220249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:26:19] local.INFO: TCP Data received {"connection_id":220249,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:26:19] local.INFO: Processing buffer {"connection_id":220249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:26:19] local.INFO: Packet analysis {"connection_id":220249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:26:19] local.INFO: Extracted packet for processing {"connection_id":220249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:26:19] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794451456001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792166127000,"timestamp_ms":1792166127000,"timestamp_seconds":1792166127,"priority":1,"record_length":96,"hex_timestamp":"000001a1456ce598"} 
[2026-10-16 21:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:26: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-10-16 21:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 21:26:19] 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-10-16 21:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":220249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":220249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":220249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794451456001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794451456001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:26:19] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:26:19] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794451456001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":220249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:26:19] local.INFO: GPS data processed {"connection_id":220249,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:26:19] local.INFO: Acknowledgment sent {"connection_id":220249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:26:51] local.INFO: TCP Data received {"connection_id":220249,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:26:51] local.INFO: Processing buffer {"connection_id":220249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:26:51] local.INFO: Packet analysis {"connection_id":220249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:26:51] local.INFO: Extracted packet for processing {"connection_id":220249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:26:51] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794451456001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792166127000,"timestamp_ms":1792166127000,"timestamp_seconds":1792166127,"priority":1,"record_length":96,"hex_timestamp":"000001a1456ce598"} 
[2026-10-16 21:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 21:26:51] 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-10-16 21: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-10-16 21:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":220249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":220249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":220249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794451456001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794451456001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:26:51] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:26:51] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794451456001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":220249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:26:51] local.INFO: GPS data processed {"connection_id":220249,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:26:51] local.INFO: Acknowledgment sent {"connection_id":220249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:27:14] local.INFO: TCP Data received {"connection_id":217169,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:27:14] local.INFO: Processing buffer {"connection_id":217169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:27:14] local.INFO: IMEI packet received {"connection_id":217169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":217169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:27:19] local.INFO: TCP Data received {"connection_id":217169,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:27:19] local.INFO: Processing buffer {"connection_id":217169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:27:19] local.INFO: IMEI packet received {"connection_id":217169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":217169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:27:20] local.INFO: TCP Data received {"connection_id":217169,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:27:20] local.INFO: Processing buffer {"connection_id":217169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:27:20] local.INFO: Packet analysis {"connection_id":217169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:27:20] local.INFO: Extracted packet for processing {"connection_id":217169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:27:20] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794451456001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792166127000,"timestamp_ms":1792166127000,"timestamp_seconds":1792166127,"priority":1,"record_length":96,"hex_timestamp":"000001a1456ce598"} 
[2026-10-16 21:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 21:27:20] 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-10-16 21:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":217169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":217169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":217169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794451456001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794451456001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:27:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:27:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794451456001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":217169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:27:20] local.INFO: GPS data processed {"connection_id":217169,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:27:20] local.INFO: Acknowledgment sent {"connection_id":217169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:27:25] local.INFO: TCP Data received {"connection_id":217169,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:27:25] local.INFO: Processing buffer {"connection_id":217169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:27:25] local.INFO: Packet analysis {"connection_id":217169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:27:25] local.INFO: Extracted packet for processing {"connection_id":217169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794451456001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792166127000,"timestamp_ms":1792166127000,"timestamp_seconds":1792166127,"priority":1,"record_length":96,"hex_timestamp":"000001a1456ce598"} 
[2026-10-16 21:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 21:27:25] 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-10-16 21: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-10-16 21:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":217169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":217169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":217169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794451456001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794451456001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:27:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:27:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794451456001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":217169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:27:25] local.INFO: GPS data processed {"connection_id":217169,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:27:25] local.INFO: Acknowledgment sent {"connection_id":217169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:27:31] local.INFO: TCP Data received {"connection_id":218506,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:27:31] local.INFO: Processing buffer {"connection_id":218506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:27:31] local.INFO: IMEI packet received {"connection_id":218506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":218506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:28:09] local.INFO: TCP Data received {"connection_id":216954,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:28:09] local.INFO: Processing buffer {"connection_id":216954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:28:09] local.INFO: IMEI packet received {"connection_id":216954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":216954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:28:14] local.INFO: TCP Data received {"connection_id":216954,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:28:14] local.INFO: Processing buffer {"connection_id":216954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:28:14] local.INFO: IMEI packet received {"connection_id":216954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":216954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:28:15] local.INFO: TCP Data received {"connection_id":216954,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:28:15] local.INFO: Processing buffer {"connection_id":216954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:28:15] local.INFO: Packet analysis {"connection_id":216954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:28:15] local.INFO: Extracted packet for processing {"connection_id":216954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 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-10-16 21:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794451456001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792166127000,"timestamp_ms":1792166127000,"timestamp_seconds":1792166127,"priority":1,"record_length":96,"hex_timestamp":"000001a1456ce598"} 
[2026-10-16 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-10-16 21:28: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-10-16 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 21:28:15] 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-10-16 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-10-16 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-10-16 21:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794451456001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794451456001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:28:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:28:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794451456001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":216954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:28:15] local.INFO: GPS data processed {"connection_id":216954,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:28:15] local.INFO: Acknowledgment sent {"connection_id":216954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:28:47] local.INFO: TCP Data received {"connection_id":216954,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:28:47] local.INFO: Processing buffer {"connection_id":216954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:28:47] local.INFO: Packet analysis {"connection_id":216954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:28:47] local.INFO: Extracted packet for processing {"connection_id":216954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:28:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794451456001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792166127000,"timestamp_ms":1792166127000,"timestamp_seconds":1792166127,"priority":1,"record_length":96,"hex_timestamp":"000001a1456ce598"} 
[2026-10-16 21:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:28: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-10-16 21: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-10-16 21: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-10-16 21: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-10-16 21:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794451456001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794451456001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:28:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:28:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794451456001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":216954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:28:47] local.INFO: GPS data processed {"connection_id":216954,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:28:47] local.INFO: Acknowledgment sent {"connection_id":216954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:29:08] local.INFO: TCP Data received {"connection_id":220251,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:29:08] local.INFO: Processing buffer {"connection_id":220251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:29:08] local.INFO: IMEI packet received {"connection_id":220251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":220251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:29:14] local.INFO: TCP Data received {"connection_id":220251,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:29:14] local.INFO: Processing buffer {"connection_id":220251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:29:14] local.INFO: IMEI packet received {"connection_id":220251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":220251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:29:15] local.INFO: TCP Data received {"connection_id":220251,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:29:15] local.INFO: Processing buffer {"connection_id":220251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:29:15] local.INFO: Packet analysis {"connection_id":220251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:29:15] local.INFO: Extracted packet for processing {"connection_id":220251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794451456001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792166127000,"timestamp_ms":1792166127000,"timestamp_seconds":1792166127,"priority":1,"record_length":96,"hex_timestamp":"000001a1456ce598"} 
[2026-10-16 21:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21: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-10-16 21: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 21:29:15] 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-10-16 21: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-10-16 21:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794451456001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794451456001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:29:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:29:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794451456001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":220251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:29:15] local.INFO: GPS data processed {"connection_id":220251,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:29:15] local.INFO: Acknowledgment sent {"connection_id":220251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:29:47] local.INFO: TCP Data received {"connection_id":220251,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:29:47] local.INFO: Processing buffer {"connection_id":220251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:29:47] local.INFO: Packet analysis {"connection_id":220251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:29:47] local.INFO: Extracted packet for processing {"connection_id":220251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:29:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794451456001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792166127000,"timestamp_ms":1792166127000,"timestamp_seconds":1792166127,"priority":1,"record_length":96,"hex_timestamp":"000001a1456ce598"} 
[2026-10-16 21:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:29: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-10-16 21: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 21:29: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-10-16 21: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-10-16 21:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794451456001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794451456001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:29:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:29:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794451456001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":220251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:29:47] local.INFO: GPS data processed {"connection_id":220251,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:29:47] local.INFO: Acknowledgment sent {"connection_id":220251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:30:08] local.INFO: TCP Data received {"connection_id":216956,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:30:08] local.INFO: Processing buffer {"connection_id":216956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:30:08] local.INFO: IMEI packet received {"connection_id":216956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":216956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:30:14] local.INFO: TCP Data received {"connection_id":216956,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:30:14] local.INFO: Processing buffer {"connection_id":216956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:30:14] local.INFO: IMEI packet received {"connection_id":216956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":216956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:30:15] local.INFO: TCP Data received {"connection_id":216956,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:30:15] local.INFO: Processing buffer {"connection_id":216956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1456ce598012d7b89c005f5f340000a00282c..."} 
[2026-10-16 21:30:15] local.INFO: Packet analysis {"connection_id":216956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:30:15] local.INFO: Extracted packet for processing {"connection_id":216956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1456c"} 
[2026-10-16 21:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794451456001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792166127000,"timestamp_ms":1792166127000,"timestamp_seconds":1792166127,"priority":1,"record_length":96,"hex_timestamp":"000001a1456ce598"} 
[2026-10-16 21:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:30: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-10-16 21: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 21:30:15] 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-10-16 21: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-10-16 21:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794451456001,"66":25952,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794451456001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:30:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:30:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794451456001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":216956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:30:15] local.INFO: GPS data processed {"connection_id":216956,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:30:15] local.INFO: Acknowledgment sent {"connection_id":216956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:30:47] local.INFO: TCP Data received {"connection_id":216956,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14570f0c0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14570f0c0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:30:47] local.INFO: Processing buffer {"connection_id":216956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14570f0c0012d7b89c005f5f340000a002828..."} 
[2026-10-16 21:30:47] local.INFO: Packet analysis {"connection_id":216956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14570"} 
[2026-10-16 21:30:47] local.INFO: Extracted packet for processing {"connection_id":216956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14570"} 
[2026-10-16 21:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004672,"longitude_deg":76.3070912,"latitude_deg":10.0004672,"altitude":10,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f340","is_valid_coordinates":true} 
[2026-10-16 21:30: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-10-16 21:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794528512001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792166392000,"timestamp_ms":1792166392000,"timestamp_seconds":1792166392,"priority":1,"record_length":96,"hex_timestamp":"000001a14570f0c0"} 
[2026-10-16 21:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:30: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-10-16 21: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 21:30: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-10-16 21: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-10-16 21:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794528512001,"66":25919,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794528512001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:30:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:30:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794528512001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":216956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:30:47] local.INFO: GPS data processed {"connection_id":216956,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:30:47] local.INFO: Acknowledgment sent {"connection_id":216956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:31:15] local.INFO: TCP Data received {"connection_id":218508,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:31:15] local.INFO: Processing buffer {"connection_id":218508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:31:15] local.INFO: IMEI packet received {"connection_id":218508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":218508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:31:17] local.INFO: TCP Data received {"connection_id":218508,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:31:17] local.INFO: Processing buffer {"connection_id":218508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:31:17] local.INFO: IMEI packet received {"connection_id":218508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":218508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:31:19] local.INFO: TCP Data received {"connection_id":218508,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145714e80012d7b89c005f5f3c0000a002f2a..."} 
[2026-10-16 21:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145714e80012d7b89c005f5f3c0000a002f2a..."} 
[2026-10-16 21:31:19] local.INFO: Processing buffer {"connection_id":218508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145714e80012d7b89c005f5f3c0000a002f2a..."} 
[2026-10-16 21:31:19] local.INFO: Packet analysis {"connection_id":218508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:31:19] local.INFO: Extracted packet for processing {"connection_id":218508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:31:19] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004800,"longitude_deg":76.3070912,"latitude_deg":10.00048,"altitude":10,"angle":47,"satellites":42,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f3c0","is_valid_coordinates":true} 
[2026-10-16 21:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794596352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308225024,"note":"Value kept but may cause issues"} 
[2026-10-16 21:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792166416000,"timestamp_ms":1792166416000,"timestamp_seconds":1792166416,"priority":1,"record_length":96,"hex_timestamp":"000001a145714e80"} 
[2026-10-16 21:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:31: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-10-16 21:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 21:31:19] 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-10-16 21:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":218508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":218508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":218508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794596352001,"66":27484,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308225024},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794596352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:31:19] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:31:19] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308225024,"description":"Unknown IO ID 45"} 
[2026-10-16 21:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794596352001,"power":27484,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308225024}} 
[2026-10-16 21:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":218508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:31:19] local.INFO: GPS data processed {"connection_id":218508,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:31:19] local.INFO: Acknowledgment sent {"connection_id":218508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:31:23] local.INFO: TCP Data received {"connection_id":218508,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14571a470012d7b89c005f5f3c0000a002f29..."} 
[2026-10-16 21:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14571a470012d7b89c005f5f3c0000a002f29..."} 
[2026-10-16 21:31:24] local.INFO: Processing buffer {"connection_id":218508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14571a470012d7b89c005f5f3c0000a002f29..."} 
[2026-10-16 21:31:24] local.INFO: Packet analysis {"connection_id":218508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:31:24] local.INFO: Extracted packet for processing {"connection_id":218508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":100004800,"longitude_deg":76.3070912,"latitude_deg":10.00048,"altitude":10,"angle":47,"satellites":41,"speed":0,"hex_longitude":"2d7b89c0","hex_latitude":"05f5f3c0","is_valid_coordinates":true} 
[2026-10-16 21:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794602496001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447210657316864,"note":"Value kept but may cause issues"} 
[2026-10-16 21:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308257792,"note":"Value kept but may cause issues"} 
[2026-10-16 21:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792166438000,"timestamp_ms":1792166438000,"timestamp_seconds":1792166438,"priority":1,"record_length":96,"hex_timestamp":"000001a14571a470"} 
[2026-10-16 21:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:31:24] 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-10-16 21:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 21:31:24] 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-10-16 21:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":218508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":218508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":218508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794602496001,"66":27397,"125":206,"8":64768,"24":0,"16":15447210657316864,"45":8901857270308257792},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794602496001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:31:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:31:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447210657316864,"km_value":15447210657316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308257792,"description":"Unknown IO ID 45"} 
[2026-10-16 21:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794602496001,"power":27397,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8901857270308257792}} 
[2026-10-16 21:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":218508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:31:24] local.INFO: GPS data processed {"connection_id":218508,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:31:24] local.INFO: Acknowledgment sent {"connection_id":218508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:32:10] local.INFO: TCP Data received {"connection_id":216957,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:32:10] local.INFO: Processing buffer {"connection_id":216957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:32:10] local.INFO: IMEI packet received {"connection_id":216957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":216957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:32:14] local.INFO: TCP Data received {"connection_id":216957,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:32:14] local.INFO: Processing buffer {"connection_id":216957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:32:14] local.INFO: IMEI packet received {"connection_id":216957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":216957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:32:16] local.INFO: TCP Data received {"connection_id":216957,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14571b028012d7b8b4005f5f3a8000600e528..."} 
[2026-10-16 21:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14571b028012d7b8b4005f5f3a8000600e528..."} 
[2026-10-16 21:32:16] local.INFO: Processing buffer {"connection_id":216957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14571b028012d7b8b4005f5f3a8000600e528..."} 
[2026-10-16 21:32:16] local.INFO: Packet analysis {"connection_id":216957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:32:16] local.INFO: Extracted packet for processing {"connection_id":216957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":100004776,"longitude_deg":76.3071296,"latitude_deg":10.0004776,"altitude":6,"angle":229,"satellites":40,"speed":6,"hex_longitude":"2d7b8b40","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794608128001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447227837186048,"note":"Value kept but may cause issues"} 
[2026-10-16 21:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270308257792,"note":"Value kept but may cause issues"} 
[2026-10-16 21:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792166441000,"timestamp_ms":1792166441000,"timestamp_seconds":1792166441,"priority":1,"record_length":96,"hex_timestamp":"000001a14571b028"} 
[2026-10-16 21:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:32: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-10-16 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 21:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21: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-10-16 21:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794608128001,"66":27234,"125":206,"8":64768,"24":6,"16":15447227837186048,"45":8901857270308257792},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794608128001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:32:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:32:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447227837186048,"km_value":15447227837186.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270308257792,"description":"Unknown IO ID 45"} 
[2026-10-16 21:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794608128001,"power":27234,"unknown_125":206,"unknown_8":64768,"ignition":6,"odometer":null,"unknown_45":8901857270308257792}} 
[2026-10-16 21:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":216957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:32:16] local.INFO: GPS data processed {"connection_id":216957,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:32:16] local.INFO: Acknowledgment sent {"connection_id":216957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:32:30] local.INFO: TCP Data received {"connection_id":218509,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:32:30] local.INFO: Processing buffer {"connection_id":218509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:32:30] local.INFO: IMEI packet received {"connection_id":218509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":218509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:32:47] local.INFO: TCP Data received {"connection_id":216957,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14571c3b0012d7b898005f5f1e0000700cb2a..."} 
[2026-10-16 21:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14571c3b0012d7b898005f5f1e0000700cb2a..."} 
[2026-10-16 21:32:47] local.INFO: Processing buffer {"connection_id":216957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14571c3b0012d7b898005f5f1e0000700cb2a..."} 
[2026-10-16 21:32:47] local.INFO: Packet analysis {"connection_id":216957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:32:47] local.INFO: Extracted packet for processing {"connection_id":216957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004320,"longitude_deg":76.3070848,"latitude_deg":10.000432,"altitude":7,"angle":203,"satellites":42,"speed":3,"hex_longitude":"2d7b8980","hex_latitude":"05f5f1e0","is_valid_coordinates":true} 
[2026-10-16 21:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794608896001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447262196924416,"note":"Value kept but may cause issues"} 
[2026-10-16 21:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482773317632,"note":"Value kept but may cause issues"} 
[2026-10-16 21:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792166446000,"timestamp_ms":1792166446000,"timestamp_seconds":1792166446,"priority":1,"record_length":96,"hex_timestamp":"000001a14571c3b0"} 
[2026-10-16 21:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:32: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-10-16 21:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 21:32:47] 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-10-16 21:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794608896001,"66":27571,"125":206,"8":64768,"24":3,"16":15447262196924416,"45":8902279482773317632},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794608896001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:32:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:32:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447262196924416,"km_value":15447262196924.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482773317632,"description":"Unknown IO ID 45"} 
[2026-10-16 21:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794608896001,"power":27571,"unknown_125":206,"unknown_8":64768,"ignition":3,"odometer":null,"unknown_45":8902279482773317632}} 
[2026-10-16 21:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":216957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:32:47] local.INFO: GPS data processed {"connection_id":216957,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:32:47] local.INFO: Acknowledgment sent {"connection_id":216957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:32:50] local.INFO: TCP Data received {"connection_id":217171,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:32:50] local.INFO: Processing buffer {"connection_id":217171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:32:50] local.INFO: IMEI packet received {"connection_id":217171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":217171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:33:08] local.INFO: TCP Data received {"connection_id":218510,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:33:08] local.INFO: Processing buffer {"connection_id":218510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:33:08] local.INFO: IMEI packet received {"connection_id":218510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":218510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:33:14] local.INFO: TCP Data received {"connection_id":218510,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:33:14] local.INFO: Processing buffer {"connection_id":218510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:33:14] local.INFO: IMEI packet received {"connection_id":218510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":218510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:33:15] local.INFO: TCP Data received {"connection_id":218510,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14571c798012d7b894005f5f1b8000600d62a..."} 
[2026-10-16 21:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14571c798012d7b894005f5f1b8000600d62a..."} 
[2026-10-16 21:33:15] local.INFO: Processing buffer {"connection_id":218510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14571c798012d7b894005f5f1b8000600d62a..."} 
[2026-10-16 21:33:15] local.INFO: Packet analysis {"connection_id":218510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:33:15] local.INFO: Extracted packet for processing {"connection_id":218510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:33:15] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004280,"longitude_deg":76.3070784,"latitude_deg":10.000428,"altitude":6,"angle":214,"satellites":42,"speed":1,"hex_longitude":"2d7b8940","hex_latitude":"05f5f1b8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 21:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794610176001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447266491891712,"note":"Value kept but may cause issues"} 
[2026-10-16 21:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901563957248,"note":"Value kept but may cause issues"} 
[2026-10-16 21:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792166447000,"timestamp_ms":1792166447000,"timestamp_seconds":1792166447,"priority":1,"record_length":96,"hex_timestamp":"000001a14571c798"} 
[2026-10-16 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-10-16 21:33: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-10-16 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 21:33:15] 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-10-16 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-10-16 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-10-16 21:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794610176001,"66":27571,"125":206,"8":64768,"24":1,"16":15447266491891712,"45":8901786901563957248},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794610176001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:33:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:33:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447266491891712,"km_value":15447266491891.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901563957248,"description":"Unknown IO ID 45"} 
[2026-10-16 21:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794610176001,"power":27571,"unknown_125":206,"unknown_8":64768,"ignition":1,"odometer":null,"unknown_45":8901786901563957248}} 
[2026-10-16 21:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":218510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:33:15] local.INFO: GPS data processed {"connection_id":218510,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:33:15] local.INFO: Acknowledgment sent {"connection_id":218510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:33:48] local.INFO: TCP Data received {"connection_id":218510,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14571cb80012d7b894005f5f190000600c92a..."} 
[2026-10-16 21:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14571cb80012d7b894005f5f190000600c92a..."} 
[2026-10-16 21:33:48] local.INFO: Processing buffer {"connection_id":218510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14571cb80012d7b894005f5f190000600c92a..."} 
[2026-10-16 21:33:48] local.INFO: Packet analysis {"connection_id":218510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:33:48] local.INFO: Extracted packet for processing {"connection_id":218510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:33:48] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004240,"longitude_deg":76.3070784,"latitude_deg":10.000424,"altitude":6,"angle":201,"satellites":42,"speed":1,"hex_longitude":"2d7b8940","hex_latitude":"05f5f190","is_valid_coordinates":true} 
[2026-10-16 21:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794610432001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447266491891712,"note":"Value kept but may cause issues"} 
[2026-10-16 21:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532819769344,"note":"Value kept but may cause issues"} 
[2026-10-16 21:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792166448000,"timestamp_ms":1792166448000,"timestamp_seconds":1792166448,"priority":1,"record_length":96,"hex_timestamp":"000001a14571cb80"} 
[2026-10-16 21:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:33: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-10-16 21:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 21:33:48] 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-10-16 21:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":218510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":218510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":218510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794610432001,"66":27365,"125":206,"8":64768,"24":1,"16":15447266491891712,"45":8901716532819769344},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794610432001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:33:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:33:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447266491891712,"km_value":15447266491891.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532819769344,"description":"Unknown IO ID 45"} 
[2026-10-16 21:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794610432001,"power":27365,"unknown_125":206,"unknown_8":64768,"ignition":1,"odometer":null,"unknown_45":8901716532819769344}} 
[2026-10-16 21:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":218510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:33:48] local.INFO: GPS data processed {"connection_id":218510,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:33:48] local.INFO: Acknowledgment sent {"connection_id":218510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:34:08] local.INFO: TCP Data received {"connection_id":220252,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:34:08] local.INFO: Processing buffer {"connection_id":220252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:34:08] local.INFO: IMEI packet received {"connection_id":220252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":220252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:34:15] local.INFO: TCP Data received {"connection_id":220252,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:34:15] local.INFO: Processing buffer {"connection_id":220252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:34:15] local.INFO: IMEI packet received {"connection_id":220252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":220252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:34:16] local.INFO: TCP Data received {"connection_id":220252,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14571d738012d7b888005f5f048000500e42a..."} 
[2026-10-16 21:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14571d738012d7b888005f5f048000500e42a..."} 
[2026-10-16 21:34:16] local.INFO: Processing buffer {"connection_id":220252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14571d738012d7b888005f5f048000500e42a..."} 
[2026-10-16 21:34:16] local.INFO: Packet analysis {"connection_id":220252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:34:16] local.INFO: Extracted packet for processing {"connection_id":220252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:34:16] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":100003912,"longitude_deg":76.3070592,"latitude_deg":10.0003912,"altitude":5,"angle":228,"satellites":42,"speed":4,"hex_longitude":"2d7b8880","hex_latitude":"05f5f048","is_valid_coordinates":true} 
[2026-10-16 21:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794610688001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447283671760896,"note":"Value kept but may cause issues"} 
[2026-10-16 21:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532819759104,"note":"Value kept but may cause issues"} 
[2026-10-16 21:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792166451000,"timestamp_ms":1792166451000,"timestamp_seconds":1792166451,"priority":1,"record_length":96,"hex_timestamp":"000001a14571d738"} 
[2026-10-16 21:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:34: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-10-16 21:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 21:34:16] 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-10-16 21:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":220252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":220252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":220252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794610688001,"66":27310,"125":206,"8":64768,"24":4,"16":15447283671760896,"45":8901716532819759104},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794610688001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:34:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:34:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447283671760896,"km_value":15447283671760.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532819759104,"description":"Unknown IO ID 45"} 
[2026-10-16 21:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794610688001,"power":27310,"unknown_125":206,"unknown_8":64768,"ignition":4,"odometer":null,"unknown_45":8901716532819759104}} 
[2026-10-16 21:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":220252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:34:16] local.INFO: GPS data processed {"connection_id":220252,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:34:16] local.INFO: Acknowledgment sent {"connection_id":220252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:34:53] local.INFO: TCP Data received {"connection_id":220252,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14571db20012d7b884005f5eff8000500f22b..."} 
[2026-10-16 21:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14571db20012d7b884005f5eff8000500f22b..."} 
[2026-10-16 21:34:53] local.INFO: Processing buffer {"connection_id":220252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14571db20012d7b884005f5eff8000500f22b..."} 
[2026-10-16 21:34:53] local.INFO: Packet analysis {"connection_id":220252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:34:53] local.INFO: Extracted packet for processing {"connection_id":220252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:34:53] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":100003832,"longitude_deg":76.3070528,"latitude_deg":10.0003832,"altitude":5,"angle":242,"satellites":43,"speed":4,"hex_longitude":"2d7b8840","hex_latitude":"05f5eff8","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794611456001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447292261695488,"note":"Value kept but may cause issues"} 
[2026-10-16 21:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426587142144,"note":"Value kept but may cause issues"} 
[2026-10-16 21:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792166452000,"timestamp_ms":1792166452000,"timestamp_seconds":1792166452,"priority":1,"record_length":96,"hex_timestamp":"000001a14571db20"} 
[2026-10-16 21:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:34: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-10-16 21: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 21:34:53] 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-10-16 21: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-10-16 21:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":220252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":220252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":220252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794611456001,"66":27343,"125":206,"8":64768,"24":4,"16":15447292261695488,"45":8901505426587142144},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794611456001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:34:53] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:34:53] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447292261695488,"km_value":15447292261695.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426587142144,"description":"Unknown IO ID 45"} 
[2026-10-16 21:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794611456001,"power":27343,"unknown_125":206,"unknown_8":64768,"ignition":4,"odometer":null,"unknown_45":8901505426587142144}} 
[2026-10-16 21:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":220252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:34:53] local.INFO: GPS data processed {"connection_id":220252,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:34:53] local.INFO: Acknowledgment sent {"connection_id":220252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:35:13] local.INFO: TCP Data received {"connection_id":218511,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:35:13] local.INFO: Processing buffer {"connection_id":218511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:35:13] local.INFO: IMEI packet received {"connection_id":218511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":218511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:35:19] local.INFO: TCP Data received {"connection_id":218511,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:35:19] local.INFO: Processing buffer {"connection_id":218511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:35:19] local.INFO: IMEI packet received {"connection_id":218511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":218511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:35:28] local.INFO: TCP Data received {"connection_id":218511,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14571fe48012d7b854005f5eeb8000601022a..."} 
[2026-10-16 21:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14571fe48012d7b854005f5eeb8000601022a..."} 
[2026-10-16 21:35:28] local.INFO: Processing buffer {"connection_id":218511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14571fe48012d7b854005f5eeb8000601022a..."} 
[2026-10-16 21:35:28] local.INFO: Packet analysis {"connection_id":218511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:35:28] local.INFO: Extracted packet for processing {"connection_id":218511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14571"} 
[2026-10-16 21:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763069760,"raw_latitude":100003512,"longitude_deg":76.306976,"latitude_deg":10.0003512,"altitude":6,"angle":258,"satellites":42,"speed":1,"hex_longitude":"2d7b8540","hex_latitude":"05f5eeb8","is_valid_coordinates":true} 
[2026-10-16 21:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794611712001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447330916401152,"note":"Value kept but may cause issues"} 
[2026-10-16 21:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057842944000,"note":"Value kept but may cause issues"} 
[2026-10-16 21:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792166461000,"timestamp_ms":1792166461000,"timestamp_seconds":1792166461,"priority":1,"record_length":96,"hex_timestamp":"000001a14571fe48"} 
[2026-10-16 21:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:35:28] 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-10-16 21:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 21:35:28] 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-10-16 21:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794611712001,"66":27908,"125":206,"8":64768,"24":1,"16":15447330916401152,"45":8901435057842944000},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794611712001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:35:28] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:35:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447330916401152,"km_value":15447330916401.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057842944000,"description":"Unknown IO ID 45"} 
[2026-10-16 21:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794611712001,"power":27908,"unknown_125":206,"unknown_8":64768,"ignition":1,"odometer":null,"unknown_45":8901435057842944000}} 
[2026-10-16 21:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":218511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:35:28] local.INFO: GPS data processed {"connection_id":218511,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:35:28] local.INFO: Acknowledgment sent {"connection_id":218511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:36:08] local.INFO: TCP Data received {"connection_id":216959,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:36:08] local.INFO: Processing buffer {"connection_id":216959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:36:08] local.INFO: IMEI packet received {"connection_id":216959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":216959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:36:14] local.INFO: TCP Data received {"connection_id":216959,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:36:14] local.INFO: Processing buffer {"connection_id":216959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:36:14] local.INFO: IMEI packet received {"connection_id":216959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":216959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:36:15] local.INFO: TCP Data received {"connection_id":216959,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145720618012d7b84c005f5ee98000600f22a..."} 
[2026-10-16 21:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145720618012d7b84c005f5ee98000600f22a..."} 
[2026-10-16 21:36:15] local.INFO: Processing buffer {"connection_id":216959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145720618012d7b84c005f5ee98000600f22a..."} 
[2026-10-16 21:36:15] local.INFO: Packet analysis {"connection_id":216959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14572"} 
[2026-10-16 21:36:15] local.INFO: Extracted packet for processing {"connection_id":216959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14572"} 
[2026-10-16 21:36:15] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":100003480,"longitude_deg":76.3069632,"latitude_deg":10.000348,"altitude":6,"angle":242,"satellites":42,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05f5ee98","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794614016001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632912730112,"note":"Value kept but may cause issues"} 
[2026-10-16 21:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792166463000,"timestamp_ms":1792166463000,"timestamp_seconds":1792166463,"priority":1,"record_length":96,"hex_timestamp":"000001a145720618"} 
[2026-10-16 21:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:36: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-10-16 21: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:36:15] 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-10-16 21: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-10-16 21:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794614016001,"66":27767,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900590632912730112},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794614016001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:36:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:36:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632912730112,"description":"Unknown IO ID 45"} 
[2026-10-16 21:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794614016001,"power":27767,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900590632912730112}} 
[2026-10-16 21:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":216959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:36:15] local.INFO: GPS data processed {"connection_id":216959,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:36:15] local.INFO: Acknowledgment sent {"connection_id":216959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:36:47] local.INFO: TCP Data received {"connection_id":216959,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145720a00012d7b844005f5ee88000600e02a..."} 
[2026-10-16 21:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145720a00012d7b844005f5ee88000600e02a..."} 
[2026-10-16 21:36:47] local.INFO: Processing buffer {"connection_id":216959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145720a00012d7b844005f5ee88000600e02a..."} 
[2026-10-16 21:36:47] local.INFO: Packet analysis {"connection_id":216959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14572"} 
[2026-10-16 21:36:47] local.INFO: Extracted packet for processing {"connection_id":216959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14572"} 
[2026-10-16 21:36:47] local.INFO: GPS Element Parsed {"raw_longitude":763069504,"raw_latitude":100003464,"longitude_deg":76.3069504,"latitude_deg":10.0003464,"altitude":6,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8440","hex_latitude":"05f5ee88","is_valid_coordinates":true} 
[2026-10-16 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-10-16 21:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794614528001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895424366592,"note":"Value kept but may cause issues"} 
[2026-10-16 21:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792166464000,"timestamp_ms":1792166464000,"timestamp_seconds":1792166464,"priority":1,"record_length":96,"hex_timestamp":"000001a145720a00"} 
[2026-10-16 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-10-16 21:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-10-16 21:36: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-10-16 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-10-16 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-10-16 21:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794614528001,"66":27908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900449895424366592},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794614528001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:36:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:36:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895424366592,"description":"Unknown IO ID 45"} 
[2026-10-16 21:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794614528001,"power":27908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900449895424366592}} 
[2026-10-16 21:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":216959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:36:47] local.INFO: GPS data processed {"connection_id":216959,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:36:47] local.INFO: Acknowledgment sent {"connection_id":216959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:37:14] local.INFO: TCP Data received {"connection_id":216960,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:37:14] local.INFO: Processing buffer {"connection_id":216960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:37:14] local.INFO: IMEI packet received {"connection_id":216960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":216960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:37:19] local.INFO: TCP Data received {"connection_id":216960,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:37:19] local.INFO: Processing buffer {"connection_id":216960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:37:19] local.INFO: IMEI packet received {"connection_id":216960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":216960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:37:20] local.INFO: TCP Data received {"connection_id":216960,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145720de8012d7b844005f5ee88000600e02a..."} 
[2026-10-16 21:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145720de8012d7b844005f5ee88000600e02a..."} 
[2026-10-16 21:37:20] local.INFO: Processing buffer {"connection_id":216960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145720de8012d7b844005f5ee88000600e02a..."} 
[2026-10-16 21:37:20] local.INFO: Packet analysis {"connection_id":216960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14572"} 
[2026-10-16 21:37:20] local.INFO: Extracted packet for processing {"connection_id":216960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14572"} 
[2026-10-16 21:37:20] local.INFO: GPS Element Parsed {"raw_longitude":763069504,"raw_latitude":100003464,"longitude_deg":76.3069504,"latitude_deg":10.0003464,"altitude":6,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8440","hex_latitude":"05f5ee88","is_valid_coordinates":true} 
[2026-10-16 21:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794614784001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936007168,"note":"Value kept but may cause issues"} 
[2026-10-16 21:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792166465000,"timestamp_ms":1792166465000,"timestamp_seconds":1792166465,"priority":1,"record_length":96,"hex_timestamp":"000001a145720de8"} 
[2026-10-16 21:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:37: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-10-16 21:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:37:20] 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-10-16 21:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":216960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":216960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":216960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794614784001,"66":27908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900309157936007168},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794614784001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:37:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:37:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936007168,"description":"Unknown IO ID 45"} 
[2026-10-16 21:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794614784001,"power":27908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900309157936007168}} 
[2026-10-16 21:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":216960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:37:20] local.INFO: GPS data processed {"connection_id":216960,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:37:20] local.INFO: Acknowledgment sent {"connection_id":216960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:37:25] local.INFO: TCP Data received {"connection_id":216960,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:37:25] local.INFO: Processing buffer {"connection_id":216960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:37:25] local.INFO: Packet analysis {"connection_id":216960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:37:25] local.INFO: Extracted packet for processing {"connection_id":216960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:37:25] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794615040001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936007168,"note":"Value kept but may cause issues"} 
[2026-10-16 21:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792166767000,"timestamp_ms":1792166767000,"timestamp_seconds":1792166767,"priority":1,"record_length":96,"hex_timestamp":"000001a14576a998"} 
[2026-10-16 21:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:37:25] 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-10-16 21:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21: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-10-16 21:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":216960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":216960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":216960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794615040001,"66":26408,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900309157936007168},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794615040001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:37:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:37:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936007168,"description":"Unknown IO ID 45"} 
[2026-10-16 21:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794615040001,"power":26408,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900309157936007168}} 
[2026-10-16 21:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":216960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:37:25] local.INFO: GPS data processed {"connection_id":216960,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:37:25] local.INFO: Acknowledgment sent {"connection_id":216960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:38:10] local.INFO: TCP Data received {"connection_id":218513,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:38:10] local.INFO: Processing buffer {"connection_id":218513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:38:10] local.INFO: IMEI packet received {"connection_id":218513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":218513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:38:15] local.INFO: TCP Data received {"connection_id":218513,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:38:15] local.INFO: Processing buffer {"connection_id":218513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:38:15] local.INFO: IMEI packet received {"connection_id":218513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":218513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:38:15] local.INFO: TCP Data received {"connection_id":220253,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:38:15] local.INFO: Processing buffer {"connection_id":220253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:38:15] local.INFO: IMEI packet received {"connection_id":220253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":220253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:38:17] local.INFO: TCP Data received {"connection_id":218513,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:38:17] local.INFO: Processing buffer {"connection_id":218513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:38:17] local.INFO: Packet analysis {"connection_id":218513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:38:17] local.INFO: Extracted packet for processing {"connection_id":218513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794615040001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936007168,"note":"Value kept but may cause issues"} 
[2026-10-16 21:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792166767000,"timestamp_ms":1792166767000,"timestamp_seconds":1792166767,"priority":1,"record_length":96,"hex_timestamp":"000001a14576a998"} 
[2026-10-16 21:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:38:17] 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-10-16 21:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:38:17] 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-10-16 21:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":218513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":218513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":218513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794615040001,"66":26408,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900309157936007168},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794615040001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:38:17] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:38:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936007168,"description":"Unknown IO ID 45"} 
[2026-10-16 21:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794615040001,"power":26408,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900309157936007168}} 
[2026-10-16 21:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":218513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:38:17] local.INFO: GPS data processed {"connection_id":218513,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:38:17] local.INFO: Acknowledgment sent {"connection_id":218513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:38:19] local.INFO: TCP Data received {"connection_id":218513,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:38:19] local.INFO: Processing buffer {"connection_id":218513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:38:19] local.INFO: Packet analysis {"connection_id":218513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:38:19] local.INFO: Extracted packet for processing {"connection_id":218513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:38:19] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794615040001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936007168,"note":"Value kept but may cause issues"} 
[2026-10-16 21:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792166767000,"timestamp_ms":1792166767000,"timestamp_seconds":1792166767,"priority":1,"record_length":96,"hex_timestamp":"000001a14576a998"} 
[2026-10-16 21:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:38:19] 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-10-16 21:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:38:19] 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-10-16 21:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":218513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":218513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":218513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794615040001,"66":26408,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900309157936007168},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794615040001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:38:19] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:38:19] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936007168,"description":"Unknown IO ID 45"} 
[2026-10-16 21:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794615040001,"power":26408,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900309157936007168}} 
[2026-10-16 21:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":218513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:38:19] local.INFO: GPS data processed {"connection_id":218513,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:38:19] local.INFO: Acknowledgment sent {"connection_id":218513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:38:50] local.INFO: TCP Data received {"connection_id":216961,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:38:50] local.INFO: Processing buffer {"connection_id":216961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:38:50] local.INFO: IMEI packet received {"connection_id":216961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":216961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:38:52] local.INFO: TCP Data received {"connection_id":218513,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:38:52] local.INFO: Processing buffer {"connection_id":218513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:38:52] local.INFO: Packet analysis {"connection_id":218513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:38:52] local.INFO: Extracted packet for processing {"connection_id":218513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:38: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-10-16 21:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794615040001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936007168,"note":"Value kept but may cause issues"} 
[2026-10-16 21:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792166767000,"timestamp_ms":1792166767000,"timestamp_seconds":1792166767,"priority":1,"record_length":96,"hex_timestamp":"000001a14576a998"} 
[2026-10-16 21:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:38:52] 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-10-16 21:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:38:52] 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-10-16 21:38: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-10-16 21:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":218513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":218513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":218513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794615040001,"66":26408,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900309157936007168},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794615040001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:38:52] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:38:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936007168,"description":"Unknown IO ID 45"} 
[2026-10-16 21:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794615040001,"power":26408,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900309157936007168}} 
[2026-10-16 21:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":218513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:38:52] local.INFO: GPS data processed {"connection_id":218513,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:38:52] local.INFO: Acknowledgment sent {"connection_id":218513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:39:09] local.INFO: TCP Data received {"connection_id":217174,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:39:09] local.INFO: Processing buffer {"connection_id":217174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:39:09] local.INFO: IMEI packet received {"connection_id":217174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":217174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:39:14] local.INFO: TCP Data received {"connection_id":217174,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:39:14] local.INFO: Processing buffer {"connection_id":217174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:39:14] local.INFO: IMEI packet received {"connection_id":217174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":217174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:39:15] local.INFO: TCP Data received {"connection_id":217174,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:39:15] local.INFO: Processing buffer {"connection_id":217174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:39:15] local.INFO: Packet analysis {"connection_id":217174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:39:15] local.INFO: Extracted packet for processing {"connection_id":217174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794615040001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936007168,"note":"Value kept but may cause issues"} 
[2026-10-16 21:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792166767000,"timestamp_ms":1792166767000,"timestamp_seconds":1792166767,"priority":1,"record_length":96,"hex_timestamp":"000001a14576a998"} 
[2026-10-16 21:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:39:15] 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-10-16 21:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:39:15] 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-10-16 21:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794615040001,"66":26408,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900309157936007168},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794615040001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:39:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:39:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936007168,"description":"Unknown IO ID 45"} 
[2026-10-16 21:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794615040001,"power":26408,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900309157936007168}} 
[2026-10-16 21:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":217174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:39:15] local.INFO: GPS data processed {"connection_id":217174,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:39:15] local.INFO: Acknowledgment sent {"connection_id":217174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:39:47] local.INFO: TCP Data received {"connection_id":217174,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:39:47] local.INFO: Processing buffer {"connection_id":217174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:39:47] local.INFO: Packet analysis {"connection_id":217174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:39:47] local.INFO: Extracted packet for processing {"connection_id":217174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794615040001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936007168,"note":"Value kept but may cause issues"} 
[2026-10-16 21:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792166767000,"timestamp_ms":1792166767000,"timestamp_seconds":1792166767,"priority":1,"record_length":96,"hex_timestamp":"000001a14576a998"} 
[2026-10-16 21:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21: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-10-16 21: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:39:47] 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-10-16 21: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-10-16 21:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794615040001,"66":26408,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900309157936007168},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794615040001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:39:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:39:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936007168,"description":"Unknown IO ID 45"} 
[2026-10-16 21:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794615040001,"power":26408,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900309157936007168}} 
[2026-10-16 21:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":217174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:39:47] local.INFO: GPS data processed {"connection_id":217174,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:39:47] local.INFO: Acknowledgment sent {"connection_id":217174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:40:08] local.INFO: TCP Data received {"connection_id":216962,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:40:08] local.INFO: Processing buffer {"connection_id":216962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:40:08] local.INFO: IMEI packet received {"connection_id":216962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":216962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:40:14] local.INFO: TCP Data received {"connection_id":216962,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:40:14] local.INFO: Processing buffer {"connection_id":216962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:40:14] local.INFO: IMEI packet received {"connection_id":216962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":216962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:40:15] local.INFO: TCP Data received {"connection_id":216962,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:40:15] local.INFO: Processing buffer {"connection_id":216962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:40:15] local.INFO: Packet analysis {"connection_id":216962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:40:15] local.INFO: Extracted packet for processing {"connection_id":216962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794615040001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936007168,"note":"Value kept but may cause issues"} 
[2026-10-16 21:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792166767000,"timestamp_ms":1792166767000,"timestamp_seconds":1792166767,"priority":1,"record_length":96,"hex_timestamp":"000001a14576a998"} 
[2026-10-16 21:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:40:15] 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-10-16 21:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:40:15] 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-10-16 21:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794615040001,"66":26408,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900309157936007168},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794615040001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:40:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:40:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936007168,"description":"Unknown IO ID 45"} 
[2026-10-16 21:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794615040001,"power":26408,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900309157936007168}} 
[2026-10-16 21:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":216962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:40:15] local.INFO: GPS data processed {"connection_id":216962,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:40:15] local.INFO: Acknowledgment sent {"connection_id":216962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:40:49] local.INFO: TCP Data received {"connection_id":216962,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:40:49] local.INFO: Processing buffer {"connection_id":216962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:40:49] local.INFO: Packet analysis {"connection_id":216962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:40:49] local.INFO: Extracted packet for processing {"connection_id":216962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:40:49] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794615040001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936007168,"note":"Value kept but may cause issues"} 
[2026-10-16 21:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792166767000,"timestamp_ms":1792166767000,"timestamp_seconds":1792166767,"priority":1,"record_length":96,"hex_timestamp":"000001a14576a998"} 
[2026-10-16 21:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:40:49] 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-10-16 21:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:40:49] 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-10-16 21:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":216962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":216962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":216962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794615040001,"66":26408,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900309157936007168},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794615040001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:40:49] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:40:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936007168,"description":"Unknown IO ID 45"} 
[2026-10-16 21:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794615040001,"power":26408,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900309157936007168}} 
[2026-10-16 21:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":216962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:40:49] local.INFO: GPS data processed {"connection_id":216962,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:40:49] local.INFO: Acknowledgment sent {"connection_id":216962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:41:08] local.INFO: TCP Data received {"connection_id":218515,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:41:08] local.INFO: Processing buffer {"connection_id":218515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:41:08] local.INFO: IMEI packet received {"connection_id":218515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":218515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:41:14] local.INFO: TCP Data received {"connection_id":218515,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:41:14] local.INFO: Processing buffer {"connection_id":218515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:41:14] local.INFO: IMEI packet received {"connection_id":218515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":218515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:41:15] local.INFO: TCP Data received {"connection_id":218515,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:41:15] local.INFO: Processing buffer {"connection_id":218515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14576a998012d7b834005f5ef08000000e02a..."} 
[2026-10-16 21:41:15] local.INFO: Packet analysis {"connection_id":218515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:41:15] local.INFO: Extracted packet for processing {"connection_id":218515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14576"} 
[2026-10-16 21:41:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 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-10-16 21:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794615040001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157936007168,"note":"Value kept but may cause issues"} 
[2026-10-16 21:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792166767000,"timestamp_ms":1792166767000,"timestamp_seconds":1792166767,"priority":1,"record_length":96,"hex_timestamp":"000001a14576a998"} 
[2026-10-16 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-10-16 21:41:15] 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-10-16 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-10-16 21:41:15] 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-10-16 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-10-16 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-10-16 21:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794615040001,"66":26408,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900309157936007168},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794615040001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:41:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:41:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157936007168,"description":"Unknown IO ID 45"} 
[2026-10-16 21:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794615040001,"power":26408,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900309157936007168}} 
[2026-10-16 21:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":218515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:41:15] local.INFO: GPS data processed {"connection_id":218515,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:41:15] local.INFO: Acknowledgment sent {"connection_id":218515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:41:48] local.INFO: TCP Data received {"connection_id":218515,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:41:48] local.INFO: Processing buffer {"connection_id":218515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:41:48] local.INFO: Packet analysis {"connection_id":218515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:41:48] local.INFO: Extracted packet for processing {"connection_id":218515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:41:48] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:41: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-10-16 21: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":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:41:48] 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-10-16 21: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-10-16 21:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":218515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":218515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":218515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:41:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:41:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":218515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:41:48] local.INFO: GPS data processed {"connection_id":218515,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:41:48] local.INFO: Acknowledgment sent {"connection_id":218515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:42:13] local.INFO: TCP Data received {"connection_id":217177,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:42:13] local.INFO: Processing buffer {"connection_id":217177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:42:13] local.INFO: IMEI packet received {"connection_id":217177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":217177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:42:19] local.INFO: TCP Data received {"connection_id":217177,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:42:19] local.INFO: Processing buffer {"connection_id":217177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:42:19] local.INFO: IMEI packet received {"connection_id":217177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":217177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:42:21] local.INFO: TCP Data received {"connection_id":217177,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:42:21] local.INFO: Processing buffer {"connection_id":217177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:42:21] local.INFO: Packet analysis {"connection_id":217177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:42:21] local.INFO: Extracted packet for processing {"connection_id":217177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:42:21] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:42:21] 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-10-16 21:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:42:21] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:42:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":217177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:42:21] local.INFO: GPS data processed {"connection_id":217177,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:42:21] local.INFO: Acknowledgment sent {"connection_id":217177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:42:53] local.INFO: TCP Data received {"connection_id":217177,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:42:53] local.INFO: Processing buffer {"connection_id":217177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:42:53] local.INFO: Packet analysis {"connection_id":217177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:42:53] local.INFO: Extracted packet for processing {"connection_id":217177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:42:53] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:42:53] 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-10-16 21: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-10-16 21:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":217177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":217177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":217177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:42:53] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:42:53] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":217177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:42:53] local.INFO: GPS data processed {"connection_id":217177,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:42:53] local.INFO: Acknowledgment sent {"connection_id":217177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:43:09] local.INFO: TCP Data received {"connection_id":218516,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:43:09] local.INFO: Processing buffer {"connection_id":218516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:43:09] local.INFO: IMEI packet received {"connection_id":218516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":218516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:43:14] local.INFO: TCP Data received {"connection_id":218516,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:43:14] local.INFO: Processing buffer {"connection_id":218516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:43:14] local.INFO: IMEI packet received {"connection_id":218516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":218516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:43:15] local.INFO: TCP Data received {"connection_id":218516,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:43:15] local.INFO: Processing buffer {"connection_id":218516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:43:15] local.INFO: Packet analysis {"connection_id":218516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:43:15] local.INFO: Extracted packet for processing {"connection_id":218516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:43:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:43: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-10-16 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:43:15] 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-10-16 21: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-10-16 21:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:43:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:43:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":218516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:43:15] local.INFO: GPS data processed {"connection_id":218516,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:43:15] local.INFO: Acknowledgment sent {"connection_id":218516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:43:47] local.INFO: TCP Data received {"connection_id":218516,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:43:47] local.INFO: Processing buffer {"connection_id":218516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:43:47] local.INFO: Packet analysis {"connection_id":218516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:43:47] local.INFO: Extracted packet for processing {"connection_id":218516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:43:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:43: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-10-16 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:43:47] 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-10-16 21: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-10-16 21:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:43:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:43:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":218516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:43:47] local.INFO: GPS data processed {"connection_id":218516,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:43:47] local.INFO: Acknowledgment sent {"connection_id":218516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:44:08] local.INFO: TCP Data received {"connection_id":220255,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:44:08] local.INFO: Processing buffer {"connection_id":220255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:44:08] local.INFO: IMEI packet received {"connection_id":220255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":220255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:44:13] local.INFO: TCP Data received {"connection_id":220255,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:44:13] local.INFO: Processing buffer {"connection_id":220255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:44:13] local.INFO: IMEI packet received {"connection_id":220255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":220255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:44:15] local.INFO: TCP Data received {"connection_id":220255,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:44:15] local.INFO: Processing buffer {"connection_id":220255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:44:15] local.INFO: Packet analysis {"connection_id":220255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:44:15] local.INFO: Extracted packet for processing {"connection_id":220255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:44:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:44: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-10-16 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:44:15] 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-10-16 21: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-10-16 21:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:44:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:44:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":220255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:44:15] local.INFO: GPS data processed {"connection_id":220255,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:44:15] local.INFO: Acknowledgment sent {"connection_id":220255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:44:20] local.INFO: TCP Data received {"connection_id":216963,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:44:20] local.INFO: Processing buffer {"connection_id":216963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:44:20] local.INFO: IMEI packet received {"connection_id":216963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":216963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:44:47] local.INFO: TCP Data received {"connection_id":220255,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:44:47] local.INFO: Processing buffer {"connection_id":220255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:44:47] local.INFO: Packet analysis {"connection_id":220255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:44:47] local.INFO: Extracted packet for processing {"connection_id":220255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:44:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:44: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-10-16 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:44:47] 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-10-16 21: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-10-16 21:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:44:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:44:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":220255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:44:47] local.INFO: GPS data processed {"connection_id":220255,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:44:47] local.INFO: Acknowledgment sent {"connection_id":220255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:44:49] local.INFO: TCP Data received {"connection_id":217178,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:44:49] local.INFO: Processing buffer {"connection_id":217178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:44:49] local.INFO: IMEI packet received {"connection_id":217178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":217178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:45:08] local.INFO: TCP Data received {"connection_id":218517,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:45:08] local.INFO: Processing buffer {"connection_id":218517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:45:08] local.INFO: IMEI packet received {"connection_id":218517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":218517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:45:14] local.INFO: TCP Data received {"connection_id":218517,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:45:14] local.INFO: Processing buffer {"connection_id":218517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:45:14] local.INFO: IMEI packet received {"connection_id":218517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":218517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:45:15] local.INFO: TCP Data received {"connection_id":218517,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:45:15] local.INFO: Processing buffer {"connection_id":218517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:45:15] local.INFO: Packet analysis {"connection_id":218517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:45:15] local.INFO: Extracted packet for processing {"connection_id":218517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:45:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:45: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-10-16 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:45:15] 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-10-16 21: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-10-16 21:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:45:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:45:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":218517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:45:15] local.INFO: GPS data processed {"connection_id":218517,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:45:15] local.INFO: Acknowledgment sent {"connection_id":218517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:45:47] local.INFO: TCP Data received {"connection_id":218517,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:45:47] local.INFO: Processing buffer {"connection_id":218517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:45:47] local.INFO: Packet analysis {"connection_id":218517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:45:47] local.INFO: Extracted packet for processing {"connection_id":218517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:45: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-10-16 21:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:45:47] 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-10-16 21:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:45:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:45:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":218517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:45:47] local.INFO: GPS data processed {"connection_id":218517,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:45:47] local.INFO: Acknowledgment sent {"connection_id":218517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:46:08] local.INFO: TCP Data received {"connection_id":218518,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:46:08] local.INFO: Processing buffer {"connection_id":218518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:46:08] local.INFO: IMEI packet received {"connection_id":218518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":218518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:46:14] local.INFO: TCP Data received {"connection_id":218518,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:46:14] local.INFO: Processing buffer {"connection_id":218518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:46:14] local.INFO: IMEI packet received {"connection_id":218518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":218518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:46:15] local.INFO: TCP Data received {"connection_id":218518,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:46:15] local.INFO: Processing buffer {"connection_id":218518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:46:15] local.INFO: Packet analysis {"connection_id":218518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:46:15] local.INFO: Extracted packet for processing {"connection_id":218518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:46: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-10-16 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:46:15] 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-10-16 21: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-10-16 21:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:46:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:46:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":218518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:46:15] local.INFO: GPS data processed {"connection_id":218518,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:46:15] local.INFO: Acknowledgment sent {"connection_id":218518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:46:47] local.INFO: TCP Data received {"connection_id":218518,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:46:47] local.INFO: Processing buffer {"connection_id":218518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457b4160012d7b834005f5ef08000000e028..."} 
[2026-10-16 21:46:47] local.INFO: Packet analysis {"connection_id":218518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:46:47] local.INFO: Extracted packet for processing {"connection_id":218518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457b"} 
[2026-10-16 21:46:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794692352001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792167068000,"timestamp_ms":1792167068000,"timestamp_seconds":1792167068,"priority":1,"record_length":96,"hex_timestamp":"000001a1457b4160"} 
[2026-10-16 21:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:46: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-10-16 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 21:46:47] 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-10-16 21: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-10-16 21:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794692352001,"66":26158,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794692352001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:46:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:46:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794692352001,"power":26158,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":218518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:46:47] local.INFO: GPS data processed {"connection_id":218518,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:46:47] local.INFO: Acknowledgment sent {"connection_id":218518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:47:14] local.INFO: TCP Data received {"connection_id":220257,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:47:14] local.INFO: Processing buffer {"connection_id":220257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:47:14] local.INFO: IMEI packet received {"connection_id":220257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":220257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:47:19] local.INFO: TCP Data received {"connection_id":220257,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:47:19] local.INFO: Processing buffer {"connection_id":220257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:47:19] local.INFO: IMEI packet received {"connection_id":220257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":220257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:47:20] local.INFO: TCP Data received {"connection_id":220257,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:47:20] local.INFO: Processing buffer {"connection_id":220257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:47:20] local.INFO: Packet analysis {"connection_id":220257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:47:20] local.INFO: Extracted packet for processing {"connection_id":220257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:47:20] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794769408001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792167368000,"timestamp_ms":1792167368000,"timestamp_seconds":1792167368,"priority":1,"record_length":96,"hex_timestamp":"000001a1457fd540"} 
[2026-10-16 21:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 21:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":220257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":220257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":220257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794769408001,"66":26082,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794769408001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:47:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:47:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794769408001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":220257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:47:20] local.INFO: GPS data processed {"connection_id":220257,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:47:20] local.INFO: Acknowledgment sent {"connection_id":220257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:47:52] local.INFO: TCP Data received {"connection_id":220257,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:47:52] local.INFO: Processing buffer {"connection_id":220257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:47:52] local.INFO: Packet analysis {"connection_id":220257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:47:52] local.INFO: Extracted packet for processing {"connection_id":220257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:47:52] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:47: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-10-16 21:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794769408001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792167368000,"timestamp_ms":1792167368000,"timestamp_seconds":1792167368,"priority":1,"record_length":96,"hex_timestamp":"000001a1457fd540"} 
[2026-10-16 21:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:47: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 21:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21:47: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-10-16 21:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":220257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":220257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":220257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794769408001,"66":26082,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794769408001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:47:52] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:47:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794769408001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":220257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:47:52] local.INFO: GPS data processed {"connection_id":220257,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:47:52] local.INFO: Acknowledgment sent {"connection_id":220257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:48:09] local.INFO: TCP Data received {"connection_id":217180,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:48:09] local.INFO: Processing buffer {"connection_id":217180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:48:09] local.INFO: IMEI packet received {"connection_id":217180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":217180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:48:14] local.INFO: TCP Data received {"connection_id":217180,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:48:14] local.INFO: Processing buffer {"connection_id":217180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:48:14] local.INFO: IMEI packet received {"connection_id":217180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":217180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:48:15] local.INFO: TCP Data received {"connection_id":217180,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:48:15] local.INFO: Processing buffer {"connection_id":217180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:48:15] local.INFO: Packet analysis {"connection_id":217180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:48:15] local.INFO: Extracted packet for processing {"connection_id":217180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:48:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794769408001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167368000,"timestamp_ms":1792167368000,"timestamp_seconds":1792167368,"priority":1,"record_length":96,"hex_timestamp":"000001a1457fd540"} 
[2026-10-16 21:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:48: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-10-16 21: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 21:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21: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-10-16 21:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794769408001,"66":26082,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794769408001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:48:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:48:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794769408001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":217180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:48:15] local.INFO: GPS data processed {"connection_id":217180,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:48:15] local.INFO: Acknowledgment sent {"connection_id":217180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:48:47] local.INFO: TCP Data received {"connection_id":217180,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:48:47] local.INFO: Processing buffer {"connection_id":217180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:48:47] local.INFO: Packet analysis {"connection_id":217180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:48:47] local.INFO: Extracted packet for processing {"connection_id":217180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:48:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794769408001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792167368000,"timestamp_ms":1792167368000,"timestamp_seconds":1792167368,"priority":1,"record_length":96,"hex_timestamp":"000001a1457fd540"} 
[2026-10-16 21:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:48: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-10-16 21: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 21:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21: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-10-16 21:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794769408001,"66":26082,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794769408001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:48:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:48:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794769408001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":217180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:48:47] local.INFO: GPS data processed {"connection_id":217180,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:48:47] local.INFO: Acknowledgment sent {"connection_id":217180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:49:08] local.INFO: TCP Data received {"connection_id":216965,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:49:08] local.INFO: Processing buffer {"connection_id":216965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:49:08] local.INFO: IMEI packet received {"connection_id":216965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":216965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:49:14] local.INFO: TCP Data received {"connection_id":216965,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:49:14] local.INFO: Processing buffer {"connection_id":216965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:49:14] local.INFO: IMEI packet received {"connection_id":216965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":216965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:49:15] local.INFO: TCP Data received {"connection_id":216965,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:49:15] local.INFO: Processing buffer {"connection_id":216965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:49:15] local.INFO: Packet analysis {"connection_id":216965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:49:15] local.INFO: Extracted packet for processing {"connection_id":216965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:49:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794769408001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167368000,"timestamp_ms":1792167368000,"timestamp_seconds":1792167368,"priority":1,"record_length":96,"hex_timestamp":"000001a1457fd540"} 
[2026-10-16 21:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:49: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-10-16 21: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 21:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21: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-10-16 21:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794769408001,"66":26082,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794769408001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:49:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:49:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794769408001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":216965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:49:15] local.INFO: GPS data processed {"connection_id":216965,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:49:15] local.INFO: Acknowledgment sent {"connection_id":216965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:49:48] local.INFO: TCP Data received {"connection_id":216965,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:49:48] local.INFO: Processing buffer {"connection_id":216965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:49:48] local.INFO: Packet analysis {"connection_id":216965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:49:48] local.INFO: Extracted packet for processing {"connection_id":216965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:49:48] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794769408001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792167368000,"timestamp_ms":1792167368000,"timestamp_seconds":1792167368,"priority":1,"record_length":96,"hex_timestamp":"000001a1457fd540"} 
[2026-10-16 21:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21: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-10-16 21: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 21:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21: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-10-16 21:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":216965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":216965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":216965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794769408001,"66":26082,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794769408001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:49:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:49:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794769408001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":216965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:49:48] local.INFO: GPS data processed {"connection_id":216965,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:49:48] local.INFO: Acknowledgment sent {"connection_id":216965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:50:08] local.INFO: TCP Data received {"connection_id":217181,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:50:08] local.INFO: Processing buffer {"connection_id":217181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:50:08] local.INFO: IMEI packet received {"connection_id":217181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":217181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:50:10] local.INFO: TCP Data received {"connection_id":220259,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:50:10] local.INFO: Processing buffer {"connection_id":220259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:50:10] local.INFO: IMEI packet received {"connection_id":220259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":220259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:50:14] local.INFO: TCP Data received {"connection_id":217181,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:50:14] local.INFO: Processing buffer {"connection_id":217181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:50:14] local.INFO: IMEI packet received {"connection_id":217181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":217181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:50:15] local.INFO: TCP Data received {"connection_id":217181,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:50:15] local.INFO: Processing buffer {"connection_id":217181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:50:15] local.INFO: Packet analysis {"connection_id":217181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:50:15] local.INFO: Extracted packet for processing {"connection_id":217181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:50:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794769408001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167368000,"timestamp_ms":1792167368000,"timestamp_seconds":1792167368,"priority":1,"record_length":96,"hex_timestamp":"000001a1457fd540"} 
[2026-10-16 21:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:50: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-10-16 21: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 21:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21: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-10-16 21:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794769408001,"66":26082,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794769408001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:50:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:50:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794769408001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":217181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:50:15] local.INFO: GPS data processed {"connection_id":217181,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:50:15] local.INFO: Acknowledgment sent {"connection_id":217181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:50:47] local.INFO: TCP Data received {"connection_id":217181,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:50:47] local.INFO: Processing buffer {"connection_id":217181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:50:47] local.INFO: Packet analysis {"connection_id":217181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:50:47] local.INFO: Extracted packet for processing {"connection_id":217181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:50:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794769408001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792167368000,"timestamp_ms":1792167368000,"timestamp_seconds":1792167368,"priority":1,"record_length":96,"hex_timestamp":"000001a1457fd540"} 
[2026-10-16 21:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:50: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-10-16 21: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 21:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21: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-10-16 21:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794769408001,"66":26082,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794769408001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:50:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:50:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794769408001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":217181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:50:47] local.INFO: GPS data processed {"connection_id":217181,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:50:47] local.INFO: Acknowledgment sent {"connection_id":217181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:50:50] local.INFO: TCP Data received {"connection_id":220260,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:50:50] local.INFO: Processing buffer {"connection_id":220260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:50:50] local.INFO: IMEI packet received {"connection_id":220260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":220260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:51:14] local.INFO: TCP Data received {"connection_id":220261,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:51:14] local.INFO: Processing buffer {"connection_id":220261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:51:14] local.INFO: IMEI packet received {"connection_id":220261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":220261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:51:19] local.INFO: TCP Data received {"connection_id":220261,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:51:19] local.INFO: Processing buffer {"connection_id":220261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:51:19] local.INFO: IMEI packet received {"connection_id":220261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":220261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:51:20] local.INFO: TCP Data received {"connection_id":220261,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:51:20] local.INFO: Processing buffer {"connection_id":220261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:51:20] local.INFO: Packet analysis {"connection_id":220261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:51:20] local.INFO: Extracted packet for processing {"connection_id":220261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:51:20] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794769408001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792167368000,"timestamp_ms":1792167368000,"timestamp_seconds":1792167368,"priority":1,"record_length":96,"hex_timestamp":"000001a1457fd540"} 
[2026-10-16 21:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 21:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":220261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":220261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":220261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794769408001,"66":26082,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794769408001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:51:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:51:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794769408001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":220261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:51:20] local.INFO: GPS data processed {"connection_id":220261,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:51:20] local.INFO: Acknowledgment sent {"connection_id":220261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:51:25] local.INFO: TCP Data received {"connection_id":220261,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:51:25] local.INFO: Processing buffer {"connection_id":220261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1457fd540012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:51:25] local.INFO: Packet analysis {"connection_id":220261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:51:25] local.INFO: Extracted packet for processing {"connection_id":220261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1457f"} 
[2026-10-16 21:51:25] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:51: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-10-16 21:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794769408001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792167368000,"timestamp_ms":1792167368000,"timestamp_seconds":1792167368,"priority":1,"record_length":96,"hex_timestamp":"000001a1457fd540"} 
[2026-10-16 21:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-10-16 21:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":220261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":220261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":220261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794769408001,"66":26082,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794769408001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:51:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:51:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794769408001,"power":26082,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":220261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:51:25] local.INFO: GPS data processed {"connection_id":220261,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:51:25] local.INFO: Acknowledgment sent {"connection_id":220261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:52:08] local.INFO: TCP Data received {"connection_id":218519,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:52:08] local.INFO: Processing buffer {"connection_id":218519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:52:08] local.INFO: IMEI packet received {"connection_id":218519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":218519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:52:14] local.INFO: TCP Data received {"connection_id":218519,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:52:14] local.INFO: Processing buffer {"connection_id":218519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:52:14] local.INFO: IMEI packet received {"connection_id":218519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":218519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:52:15] local.INFO: TCP Data received {"connection_id":218519,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:52:15] local.INFO: Processing buffer {"connection_id":218519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:52:15] local.INFO: Packet analysis {"connection_id":218519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:52:15] local.INFO: Extracted packet for processing {"connection_id":218519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:52:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794846208001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167669000,"timestamp_ms":1792167669000,"timestamp_seconds":1792167669,"priority":1,"record_length":96,"hex_timestamp":"000001a145846d08"} 
[2026-10-16 21:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:52: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-10-16 21: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 21:52:15] 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-10-16 21: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-10-16 21:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794846208001,"66":26006,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794846208001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:52:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:52:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794846208001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":218519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:52:15] local.INFO: GPS data processed {"connection_id":218519,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:52:15] local.INFO: Acknowledgment sent {"connection_id":218519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:52:48] local.INFO: TCP Data received {"connection_id":218519,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:52:48] local.INFO: Processing buffer {"connection_id":218519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:52:48] local.INFO: Packet analysis {"connection_id":218519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:52:48] local.INFO: Extracted packet for processing {"connection_id":218519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:52:48] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794846208001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792167669000,"timestamp_ms":1792167669000,"timestamp_seconds":1792167669,"priority":1,"record_length":96,"hex_timestamp":"000001a145846d08"} 
[2026-10-16 21:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:52: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-10-16 21: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 21:52:48] 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-10-16 21: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-10-16 21:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":218519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":218519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":218519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794846208001,"66":26006,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794846208001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:52:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:52:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794846208001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":218519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:52:48] local.INFO: GPS data processed {"connection_id":218519,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:52:48] local.INFO: Acknowledgment sent {"connection_id":218519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:53:08] local.INFO: TCP Data received {"connection_id":220263,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:53:08] local.INFO: Processing buffer {"connection_id":220263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:53:08] local.INFO: IMEI packet received {"connection_id":220263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":220263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:53:14] local.INFO: TCP Data received {"connection_id":220263,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:53:14] local.INFO: Processing buffer {"connection_id":220263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:53:14] local.INFO: IMEI packet received {"connection_id":220263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":220263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:53:15] local.INFO: TCP Data received {"connection_id":220263,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:53:15] local.INFO: Processing buffer {"connection_id":220263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:53:15] local.INFO: Packet analysis {"connection_id":220263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:53:15] local.INFO: Extracted packet for processing {"connection_id":220263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:53:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794846208001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167669000,"timestamp_ms":1792167669000,"timestamp_seconds":1792167669,"priority":1,"record_length":96,"hex_timestamp":"000001a145846d08"} 
[2026-10-16 21:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:53: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-10-16 21: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 21:53:15] 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-10-16 21: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-10-16 21:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794846208001,"66":26006,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794846208001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:53:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:53:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794846208001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":220263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:53:15] local.INFO: GPS data processed {"connection_id":220263,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:53:15] local.INFO: Acknowledgment sent {"connection_id":220263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:53:47] local.INFO: TCP Data received {"connection_id":220263,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:53:47] local.INFO: Processing buffer {"connection_id":220263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:53:47] local.INFO: Packet analysis {"connection_id":220263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:53:47] local.INFO: Extracted packet for processing {"connection_id":220263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794846208001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792167669000,"timestamp_ms":1792167669000,"timestamp_seconds":1792167669,"priority":1,"record_length":96,"hex_timestamp":"000001a145846d08"} 
[2026-10-16 21:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:53: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-10-16 21:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 21:53:47] 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-10-16 21:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794846208001,"66":26006,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794846208001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:53:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:53:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794846208001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":220263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:53:47] local.INFO: GPS data processed {"connection_id":220263,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:53:47] local.INFO: Acknowledgment sent {"connection_id":220263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:54:08] local.INFO: TCP Data received {"connection_id":218520,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:54:08] local.INFO: Processing buffer {"connection_id":218520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:54:08] local.INFO: IMEI packet received {"connection_id":218520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":218520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:54:14] local.INFO: TCP Data received {"connection_id":218520,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:54:14] local.INFO: Processing buffer {"connection_id":218520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:54:14] local.INFO: IMEI packet received {"connection_id":218520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":218520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:54:15] local.INFO: TCP Data received {"connection_id":218520,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:54:15] local.INFO: Processing buffer {"connection_id":218520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:54:15] local.INFO: Packet analysis {"connection_id":218520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:54:15] local.INFO: Extracted packet for processing {"connection_id":218520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:54:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794846208001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167669000,"timestamp_ms":1792167669000,"timestamp_seconds":1792167669,"priority":1,"record_length":96,"hex_timestamp":"000001a145846d08"} 
[2026-10-16 21:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:54: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-10-16 21: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 21:54:15] 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-10-16 21: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-10-16 21:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794846208001,"66":26006,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794846208001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:54:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:54:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794846208001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":218520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:54:15] local.INFO: GPS data processed {"connection_id":218520,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:54:15] local.INFO: Acknowledgment sent {"connection_id":218520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:54:48] local.INFO: TCP Data received {"connection_id":218520,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:54:48] local.INFO: Processing buffer {"connection_id":218520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:54:48] local.INFO: Packet analysis {"connection_id":218520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:54:48] local.INFO: Extracted packet for processing {"connection_id":218520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:54:48] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794846208001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792167669000,"timestamp_ms":1792167669000,"timestamp_seconds":1792167669,"priority":1,"record_length":96,"hex_timestamp":"000001a145846d08"} 
[2026-10-16 21:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:54: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-10-16 21:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 21:54:48] 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-10-16 21:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":218520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":218520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":218520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794846208001,"66":26006,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794846208001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:54:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:54:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794846208001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":218520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:54:48] local.INFO: GPS data processed {"connection_id":218520,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:54:48] local.INFO: Acknowledgment sent {"connection_id":218520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:55:14] local.INFO: TCP Data received {"connection_id":218521,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:55:14] local.INFO: Processing buffer {"connection_id":218521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:55:14] local.INFO: IMEI packet received {"connection_id":218521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":218521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:55:19] local.INFO: TCP Data received {"connection_id":218521,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:55:19] local.INFO: Processing buffer {"connection_id":218521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:55:19] local.INFO: IMEI packet received {"connection_id":218521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":218521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:55:20] local.INFO: TCP Data received {"connection_id":218521,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:55:20] local.INFO: Processing buffer {"connection_id":218521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:55:20] local.INFO: Packet analysis {"connection_id":218521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:55:20] local.INFO: Extracted packet for processing {"connection_id":218521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:55:20] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794846208001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792167669000,"timestamp_ms":1792167669000,"timestamp_seconds":1792167669,"priority":1,"record_length":96,"hex_timestamp":"000001a145846d08"} 
[2026-10-16 21:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 21:55:20] 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-10-16 21:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":218521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":218521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":218521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794846208001,"66":26006,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794846208001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:55:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:55:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794846208001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":218521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:55:20] local.INFO: GPS data processed {"connection_id":218521,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:55:20] local.INFO: Acknowledgment sent {"connection_id":218521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:55:52] local.INFO: TCP Data received {"connection_id":218521,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:55:52] local.INFO: Processing buffer {"connection_id":218521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:55:52] local.INFO: Packet analysis {"connection_id":218521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:55:52] local.INFO: Extracted packet for processing {"connection_id":218521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:55:52] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:55: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-10-16 21:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794846208001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792167669000,"timestamp_ms":1792167669000,"timestamp_seconds":1792167669,"priority":1,"record_length":96,"hex_timestamp":"000001a145846d08"} 
[2026-10-16 21:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:55: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 21:55:52] 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-10-16 21:55: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-10-16 21:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":218521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":218521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":218521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794846208001,"66":26006,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794846208001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:55:52] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:55:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794846208001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":218521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:55:52] local.INFO: GPS data processed {"connection_id":218521,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:55:52] local.INFO: Acknowledgment sent {"connection_id":218521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:56:05] local.INFO: TCP Data received {"connection_id":217183,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:56:05] local.INFO: Processing buffer {"connection_id":217183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:56:05] local.INFO: IMEI packet received {"connection_id":217183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":217183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:56:09] local.INFO: TCP Data received {"connection_id":217184,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:56:09] local.INFO: Processing buffer {"connection_id":217184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:56:09] local.INFO: IMEI packet received {"connection_id":217184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":217184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:56:14] local.INFO: TCP Data received {"connection_id":217184,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:56:14] local.INFO: Processing buffer {"connection_id":217184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:56:14] local.INFO: IMEI packet received {"connection_id":217184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":217184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:56:15] local.INFO: TCP Data received {"connection_id":217184,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:56:15] local.INFO: Processing buffer {"connection_id":217184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:56:15] local.INFO: Packet analysis {"connection_id":217184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:56:15] local.INFO: Extracted packet for processing {"connection_id":217184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:56:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794846208001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167669000,"timestamp_ms":1792167669000,"timestamp_seconds":1792167669,"priority":1,"record_length":96,"hex_timestamp":"000001a145846d08"} 
[2026-10-16 21:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:56: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-10-16 21:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 21:56:15] 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-10-16 21:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794846208001,"66":26006,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794846208001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:56:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:56:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794846208001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":217184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:56:15] local.INFO: GPS data processed {"connection_id":217184,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:56:15] local.INFO: Acknowledgment sent {"connection_id":217184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:56:46] local.INFO: TCP Data received {"connection_id":217184,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:56:46] local.INFO: Processing buffer {"connection_id":217184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145846d08012d7b834005f5ef08000000e02b..."} 
[2026-10-16 21:56:46] local.INFO: Packet analysis {"connection_id":217184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:56:46] local.INFO: Extracted packet for processing {"connection_id":217184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14584"} 
[2026-10-16 21:56:46] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794846208001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792167669000,"timestamp_ms":1792167669000,"timestamp_seconds":1792167669,"priority":1,"record_length":96,"hex_timestamp":"000001a145846d08"} 
[2026-10-16 21:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:56: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-10-16 21:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-10-16 21:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 21:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":217184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":217184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":217184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794846208001,"66":26006,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794846208001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:56:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:56:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794846208001,"power":26006,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":217184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:56:47] local.INFO: GPS data processed {"connection_id":217184,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:56:47] local.INFO: Acknowledgment sent {"connection_id":217184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:56:50] local.INFO: TCP Data received {"connection_id":218522,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:56:50] local.INFO: Processing buffer {"connection_id":218522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 21:56:50] local.INFO: IMEI packet received {"connection_id":218522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 21:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":218522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:57:08] local.INFO: TCP Data received {"connection_id":220265,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:57:08] local.INFO: Processing buffer {"connection_id":220265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:57:08] local.INFO: IMEI packet received {"connection_id":220265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":220265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:57:14] local.INFO: TCP Data received {"connection_id":220265,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:57:14] local.INFO: Processing buffer {"connection_id":220265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:57:14] local.INFO: IMEI packet received {"connection_id":220265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":220265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:57:15] local.INFO: TCP Data received {"connection_id":220265,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:57:15] local.INFO: Processing buffer {"connection_id":220265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:57:15] local.INFO: Packet analysis {"connection_id":220265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:57:15] local.INFO: Extracted packet for processing {"connection_id":220265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794923264001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167970000,"timestamp_ms":1792167970000,"timestamp_seconds":1792167970,"priority":1,"record_length":96,"hex_timestamp":"000001a1458904d0"} 
[2026-10-16 21:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:57: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-10-16 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:57:15] 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-10-16 21: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-10-16 21:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794923264001,"66":25919,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794923264001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:57:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:57:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794923264001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":220265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:57:15] local.INFO: GPS data processed {"connection_id":220265,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:57:15] local.INFO: Acknowledgment sent {"connection_id":220265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:57:47] local.INFO: TCP Data received {"connection_id":220265,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:57:47] local.INFO: Processing buffer {"connection_id":220265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:57:47] local.INFO: Packet analysis {"connection_id":220265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:57:47] local.INFO: Extracted packet for processing {"connection_id":220265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21: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-10-16 21:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794923264001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792167970000,"timestamp_ms":1792167970000,"timestamp_seconds":1792167970,"priority":1,"record_length":96,"hex_timestamp":"000001a1458904d0"} 
[2026-10-16 21:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21: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":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:57: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-10-16 21: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-10-16 21:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794923264001,"66":25919,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794923264001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:57:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:57:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794923264001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":220265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:57:47] local.INFO: GPS data processed {"connection_id":220265,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:57:47] local.INFO: Acknowledgment sent {"connection_id":220265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:58:08] local.INFO: TCP Data received {"connection_id":217185,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:58:08] local.INFO: Processing buffer {"connection_id":217185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:58:08] local.INFO: IMEI packet received {"connection_id":217185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":217185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:58:14] local.INFO: TCP Data received {"connection_id":217185,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:58:14] local.INFO: Processing buffer {"connection_id":217185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:58:14] local.INFO: IMEI packet received {"connection_id":217185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":217185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:58:15] local.INFO: TCP Data received {"connection_id":217185,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:58:15] local.INFO: Processing buffer {"connection_id":217185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:58:15] local.INFO: Packet analysis {"connection_id":217185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:58:15] local.INFO: Extracted packet for processing {"connection_id":217185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:58:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 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-10-16 21:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794923264001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167970000,"timestamp_ms":1792167970000,"timestamp_seconds":1792167970,"priority":1,"record_length":96,"hex_timestamp":"000001a1458904d0"} 
[2026-10-16 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-10-16 21:58: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-10-16 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:58:15] 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-10-16 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-10-16 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-10-16 21:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794923264001,"66":25919,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794923264001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:58:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:58:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794923264001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":217185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:58:15] local.INFO: GPS data processed {"connection_id":217185,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:58:15] local.INFO: Acknowledgment sent {"connection_id":217185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:59:02] local.INFO: TCP Data received {"connection_id":217185,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:59:02] local.INFO: Processing buffer {"connection_id":217185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:59:02] local.INFO: Packet analysis {"connection_id":217185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:59:02] local.INFO: Extracted packet for processing {"connection_id":217185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794923264001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792167970000,"timestamp_ms":1792167970000,"timestamp_seconds":1792167970,"priority":1,"record_length":96,"hex_timestamp":"000001a1458904d0"} 
[2026-10-16 21:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:59:02] 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-10-16 21:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":217185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":217185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":217185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794923264001,"66":25919,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794923264001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:59:02] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:59:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794923264001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":217185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:59:02] local.INFO: GPS data processed {"connection_id":217185,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:59:02] local.INFO: Acknowledgment sent {"connection_id":217185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:59:14] local.INFO: TCP Data received {"connection_id":217186,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:59:14] local.INFO: Processing buffer {"connection_id":217186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:59:14] local.INFO: IMEI packet received {"connection_id":217186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 21:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":217186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 21:59:19] local.INFO: TCP Data received {"connection_id":217186,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:59:19] local.INFO: Processing buffer {"connection_id":217186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 21:59:19] local.INFO: IMEI packet received {"connection_id":217186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 21:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":217186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 21:59:20] local.INFO: TCP Data received {"connection_id":217186,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:59:20] local.INFO: Processing buffer {"connection_id":217186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:59:20] local.INFO: Packet analysis {"connection_id":217186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:59:20] local.INFO: Extracted packet for processing {"connection_id":217186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:59:20] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794923264001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792167970000,"timestamp_ms":1792167970000,"timestamp_seconds":1792167970,"priority":1,"record_length":96,"hex_timestamp":"000001a1458904d0"} 
[2026-10-16 21:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:59:20] 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-10-16 21:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":217186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":217186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":217186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794923264001,"66":25919,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794923264001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:59:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:59:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794923264001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":217186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:59:20] local.INFO: GPS data processed {"connection_id":217186,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:59:20] local.INFO: Acknowledgment sent {"connection_id":217186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 21:59:26] local.INFO: TCP Data received {"connection_id":217186,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:59:26] local.INFO: Processing buffer {"connection_id":217186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 21:59:26] local.INFO: Packet analysis {"connection_id":217186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:59:26] local.INFO: Extracted packet for processing {"connection_id":217186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 21:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 21:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 21:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794923264001,"note":"Value kept but may cause issues"} 
[2026-10-16 21:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 21:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 21:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 21:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1792167970000,"timestamp_ms":1792167970000,"timestamp_seconds":1792167970,"priority":1,"record_length":96,"hex_timestamp":"000001a1458904d0"} 
[2026-10-16 21:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 21:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 21:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 21:59:26] 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-10-16 21:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 21:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 21:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 21:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":217186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 21:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":217186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":217186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 21:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 21:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 21:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 21:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794923264001,"66":25919,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 21:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 21:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 21:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794923264001,"description":"Unknown IO ID 0"} 
[2026-10-16 21:59:26] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 21:59:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 21:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 21:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 21:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794923264001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 21:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":217186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 21:59:26] local.INFO: GPS data processed {"connection_id":217186,"processed":1,"errors":0,"total":1} 
[2026-10-16 21:59:26] local.INFO: Acknowledgment sent {"connection_id":217186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:00:08] local.INFO: TCP Data received {"connection_id":220266,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:00:08] local.INFO: Processing buffer {"connection_id":220266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:00:08] local.INFO: IMEI packet received {"connection_id":220266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":220266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:00:14] local.INFO: TCP Data received {"connection_id":220266,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:00:14] local.INFO: Processing buffer {"connection_id":220266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:00:14] local.INFO: IMEI packet received {"connection_id":220266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":220266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:00:15] local.INFO: TCP Data received {"connection_id":220266,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:00:15] local.INFO: Processing buffer {"connection_id":220266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:00:15] local.INFO: Packet analysis {"connection_id":220266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 22:00:15] local.INFO: Extracted packet for processing {"connection_id":220266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 22:00:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794923264001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792167970000,"timestamp_ms":1792167970000,"timestamp_seconds":1792167970,"priority":1,"record_length":96,"hex_timestamp":"000001a1458904d0"} 
[2026-10-16 22:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:00: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-10-16 22: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 22:00:15] 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-10-16 22: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-10-16 22:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794923264001,"66":25919,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794923264001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:00:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:00:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794923264001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":220266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:00:15] local.INFO: GPS data processed {"connection_id":220266,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:00:15] local.INFO: Acknowledgment sent {"connection_id":220266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:00:48] local.INFO: TCP Data received {"connection_id":220266,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:00:48] local.INFO: Processing buffer {"connection_id":220266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:00:48] local.INFO: Packet analysis {"connection_id":220266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 22:00:48] local.INFO: Extracted packet for processing {"connection_id":220266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 22:00:48] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 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-10-16 22:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794923264001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792167970000,"timestamp_ms":1792167970000,"timestamp_seconds":1792167970,"priority":1,"record_length":96,"hex_timestamp":"000001a1458904d0"} 
[2026-10-16 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-10-16 22:00: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-10-16 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 22:00: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-10-16 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-10-16 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-10-16 22:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":220266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":220266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":220266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794923264001,"66":25919,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794923264001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:00:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:00:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794923264001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":220266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:00:48] local.INFO: GPS data processed {"connection_id":220266,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:00:48] local.INFO: Acknowledgment sent {"connection_id":220266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:01:14] local.INFO: TCP Data received {"connection_id":217188,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:01:14] local.INFO: Processing buffer {"connection_id":217188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:01:14] local.INFO: IMEI packet received {"connection_id":217188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":217188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:01:20] local.INFO: TCP Data received {"connection_id":217188,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:01:20] local.INFO: Processing buffer {"connection_id":217188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:01:20] local.INFO: IMEI packet received {"connection_id":217188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":217188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:01:21] local.INFO: TCP Data received {"connection_id":217188,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:01:21] local.INFO: Processing buffer {"connection_id":217188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:01:21] local.INFO: Packet analysis {"connection_id":217188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 22:01:21] local.INFO: Extracted packet for processing {"connection_id":217188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 22:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794923264001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792167970000,"timestamp_ms":1792167970000,"timestamp_seconds":1792167970,"priority":1,"record_length":96,"hex_timestamp":"000001a1458904d0"} 
[2026-10-16 22:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 22:01:21] 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-10-16 22:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794923264001,"66":25919,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794923264001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:01:21] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:01:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794923264001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":217188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:01:21] local.INFO: GPS data processed {"connection_id":217188,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:01:21] local.INFO: Acknowledgment sent {"connection_id":217188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:01:24] local.INFO: TCP Data received {"connection_id":217188,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:01:24] local.INFO: Processing buffer {"connection_id":217188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458904d0012d7b834005f5ef08000000e02e..."} 
[2026-10-16 22:01:24] local.INFO: Packet analysis {"connection_id":217188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 22:01:24] local.INFO: Extracted packet for processing {"connection_id":217188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14589"} 
[2026-10-16 22:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458794923264001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792167970000,"timestamp_ms":1792167970000,"timestamp_seconds":1792167970,"priority":1,"record_length":96,"hex_timestamp":"000001a1458904d0"} 
[2026-10-16 22:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 22:01:24] 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-10-16 22:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458794923264001,"66":25919,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458794923264001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:01:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:01:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458794923264001,"power":25919,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":217188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:01:24] local.INFO: GPS data processed {"connection_id":217188,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:01:24] local.INFO: Acknowledgment sent {"connection_id":217188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:02:08] local.INFO: TCP Data received {"connection_id":216969,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:02:08] local.INFO: Processing buffer {"connection_id":216969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:02:08] local.INFO: IMEI packet received {"connection_id":216969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":216969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:02:14] local.INFO: TCP Data received {"connection_id":216969,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:02:14] local.INFO: Processing buffer {"connection_id":216969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:02:14] local.INFO: IMEI packet received {"connection_id":216969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":216969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:02:15] local.INFO: TCP Data received {"connection_id":216969,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:02:15] local.INFO: Processing buffer {"connection_id":216969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:02:15] local.INFO: Packet analysis {"connection_id":216969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:02:15] local.INFO: Extracted packet for processing {"connection_id":216969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 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-10-16 22:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795000320001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792168271000,"timestamp_ms":1792168271000,"timestamp_seconds":1792168271,"priority":1,"record_length":96,"hex_timestamp":"000001a1458d9c98"} 
[2026-10-16 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-10-16 22:02: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-10-16 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 22:02:15] 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-10-16 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-10-16 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-10-16 22:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795000320001,"66":25952,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795000320001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:02:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:02:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795000320001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":216969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:02:15] local.INFO: GPS data processed {"connection_id":216969,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:02:15] local.INFO: Acknowledgment sent {"connection_id":216969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:02:20] local.INFO: TCP Data received {"connection_id":218524,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:02:20] local.INFO: Processing buffer {"connection_id":218524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:02:20] local.INFO: IMEI packet received {"connection_id":218524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":218524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:02:47] local.INFO: TCP Data received {"connection_id":216969,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:02:47] local.INFO: Processing buffer {"connection_id":216969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:02:47] local.INFO: Packet analysis {"connection_id":216969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:02:47] local.INFO: Extracted packet for processing {"connection_id":216969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795000320001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792168271000,"timestamp_ms":1792168271000,"timestamp_seconds":1792168271,"priority":1,"record_length":96,"hex_timestamp":"000001a1458d9c98"} 
[2026-10-16 22:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:02: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-10-16 22:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 22:02: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-10-16 22:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795000320001,"66":25952,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795000320001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:02:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:02:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795000320001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":216969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:02:47] local.INFO: GPS data processed {"connection_id":216969,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:02:47] local.INFO: Acknowledgment sent {"connection_id":216969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:02:57] local.INFO: TCP Data received {"connection_id":216970,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:02:57] local.INFO: Processing buffer {"connection_id":216970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:02:57] local.INFO: IMEI packet received {"connection_id":216970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":216970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:03:08] local.INFO: TCP Data received {"connection_id":217189,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:03:08] local.INFO: Processing buffer {"connection_id":217189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:03:08] local.INFO: IMEI packet received {"connection_id":217189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":217189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:03:14] local.INFO: TCP Data received {"connection_id":217189,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:03:14] local.INFO: Processing buffer {"connection_id":217189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:03:14] local.INFO: IMEI packet received {"connection_id":217189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":217189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:03:15] local.INFO: TCP Data received {"connection_id":217189,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:03:15] local.INFO: Processing buffer {"connection_id":217189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:03:15] local.INFO: Packet analysis {"connection_id":217189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:03:15] local.INFO: Extracted packet for processing {"connection_id":217189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:03:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795000320001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792168271000,"timestamp_ms":1792168271000,"timestamp_seconds":1792168271,"priority":1,"record_length":96,"hex_timestamp":"000001a1458d9c98"} 
[2026-10-16 22:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:03: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-10-16 22: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 22:03:15] 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-10-16 22: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-10-16 22:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795000320001,"66":25952,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795000320001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:03:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:03:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795000320001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":217189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:03:15] local.INFO: GPS data processed {"connection_id":217189,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:03:15] local.INFO: Acknowledgment sent {"connection_id":217189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:03:47] local.INFO: TCP Data received {"connection_id":217189,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:03:47] local.INFO: Processing buffer {"connection_id":217189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:03:47] local.INFO: Packet analysis {"connection_id":217189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:03:47] local.INFO: Extracted packet for processing {"connection_id":217189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795000320001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792168271000,"timestamp_ms":1792168271000,"timestamp_seconds":1792168271,"priority":1,"record_length":96,"hex_timestamp":"000001a1458d9c98"} 
[2026-10-16 22:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:03: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-10-16 22:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 22:03: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-10-16 22:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795000320001,"66":25952,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795000320001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:03:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:03:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795000320001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":217189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:03:47] local.INFO: GPS data processed {"connection_id":217189,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:03:47] local.INFO: Acknowledgment sent {"connection_id":217189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:04:08] local.INFO: TCP Data received {"connection_id":216971,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:04:08] local.INFO: Processing buffer {"connection_id":216971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:04:08] local.INFO: IMEI packet received {"connection_id":216971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":216971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:04:14] local.INFO: TCP Data received {"connection_id":216971,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:04:14] local.INFO: Processing buffer {"connection_id":216971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:04:14] local.INFO: IMEI packet received {"connection_id":216971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":216971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:04:16] local.INFO: TCP Data received {"connection_id":216971,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:04:16] local.INFO: Processing buffer {"connection_id":216971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:04:16] local.INFO: Packet analysis {"connection_id":216971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:04:16] local.INFO: Extracted packet for processing {"connection_id":216971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:04:16] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795000320001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792168271000,"timestamp_ms":1792168271000,"timestamp_seconds":1792168271,"priority":1,"record_length":96,"hex_timestamp":"000001a1458d9c98"} 
[2026-10-16 22:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:04: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-10-16 22: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 22:04:16] 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-10-16 22: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-10-16 22:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":216971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":216971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":216971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795000320001,"66":25952,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795000320001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:04:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:04:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795000320001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":216971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:04:16] local.INFO: GPS data processed {"connection_id":216971,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:04:16] local.INFO: Acknowledgment sent {"connection_id":216971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:04:58] local.INFO: TCP Data received {"connection_id":216971,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:04:58] local.INFO: Processing buffer {"connection_id":216971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:04:58] local.INFO: Packet analysis {"connection_id":216971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:04:58] local.INFO: Extracted packet for processing {"connection_id":216971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795000320001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792168271000,"timestamp_ms":1792168271000,"timestamp_seconds":1792168271,"priority":1,"record_length":96,"hex_timestamp":"000001a1458d9c98"} 
[2026-10-16 22:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 22:04:58] 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-10-16 22:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":216971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":216971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":216971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795000320001,"66":25952,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795000320001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:04:58] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:04:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795000320001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":216971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:04:58] local.INFO: GPS data processed {"connection_id":216971,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:04:58] local.INFO: Acknowledgment sent {"connection_id":216971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:05:13] local.INFO: TCP Data received {"connection_id":220268,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:05:13] local.INFO: Processing buffer {"connection_id":220268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:05:13] local.INFO: IMEI packet received {"connection_id":220268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":220268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:05:19] local.INFO: TCP Data received {"connection_id":220268,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:05:19] local.INFO: Processing buffer {"connection_id":220268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:05:19] local.INFO: IMEI packet received {"connection_id":220268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":220268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:05:20] local.INFO: TCP Data received {"connection_id":220268,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:05:20] local.INFO: Processing buffer {"connection_id":220268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:05:20] local.INFO: Packet analysis {"connection_id":220268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:05:20] local.INFO: Extracted packet for processing {"connection_id":220268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795000320001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792168271000,"timestamp_ms":1792168271000,"timestamp_seconds":1792168271,"priority":1,"record_length":96,"hex_timestamp":"000001a1458d9c98"} 
[2026-10-16 22:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 22:05:20] 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-10-16 22:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":220268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":220268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":220268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795000320001,"66":25952,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795000320001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:05:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:05:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795000320001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":220268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:05:20] local.INFO: GPS data processed {"connection_id":220268,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:05:20] local.INFO: Acknowledgment sent {"connection_id":220268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:05:52] local.INFO: TCP Data received {"connection_id":220268,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:05:52] local.INFO: Processing buffer {"connection_id":220268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:05:52] local.INFO: Packet analysis {"connection_id":220268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:05:52] local.INFO: Extracted packet for processing {"connection_id":220268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795000320001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792168271000,"timestamp_ms":1792168271000,"timestamp_seconds":1792168271,"priority":1,"record_length":96,"hex_timestamp":"000001a1458d9c98"} 
[2026-10-16 22:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 22:05:52] 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-10-16 22: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-10-16 22:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":220268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":220268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":220268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795000320001,"66":25952,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795000320001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:05:52] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:05:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795000320001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":220268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:05:52] local.INFO: GPS data processed {"connection_id":220268,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:05:52] local.INFO: Acknowledgment sent {"connection_id":220268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:06:14] local.INFO: TCP Data received {"connection_id":217190,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:06:14] local.INFO: Processing buffer {"connection_id":217190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:06:14] local.INFO: IMEI packet received {"connection_id":217190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":217190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:06:20] local.INFO: TCP Data received {"connection_id":217190,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:06:20] local.INFO: Processing buffer {"connection_id":217190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:06:20] local.INFO: IMEI packet received {"connection_id":217190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":217190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:06:21] local.INFO: TCP Data received {"connection_id":217190,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:06:21] local.INFO: Processing buffer {"connection_id":217190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1458d9c98012d7b834005f5ef08000000e02a..."} 
[2026-10-16 22:06:21] local.INFO: Packet analysis {"connection_id":217190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:06:21] local.INFO: Extracted packet for processing {"connection_id":217190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1458d"} 
[2026-10-16 22:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795000320001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792168271000,"timestamp_ms":1792168271000,"timestamp_seconds":1792168271,"priority":1,"record_length":96,"hex_timestamp":"000001a1458d9c98"} 
[2026-10-16 22:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-10-16 22:06:21] 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-10-16 22:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":217190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":217190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":217190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795000320001,"66":25952,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795000320001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:06:21] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:06:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795000320001,"power":25952,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":217190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:06:21] local.INFO: GPS data processed {"connection_id":217190,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:06:21] local.INFO: Acknowledgment sent {"connection_id":217190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:06:52] local.INFO: TCP Data received {"connection_id":217190,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:06:52] local.INFO: Processing buffer {"connection_id":217190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:06:52] local.INFO: Packet analysis {"connection_id":217190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:06:52] local.INFO: Extracted packet for processing {"connection_id":217190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:06:52] 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-10-16 22:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":217190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":217190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":217190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:06:52] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:06:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":217190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:06:52] local.INFO: GPS data processed {"connection_id":217190,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:06:52] local.INFO: Acknowledgment sent {"connection_id":217190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:07:08] local.INFO: TCP Data received {"connection_id":216973,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:07:08] local.INFO: Processing buffer {"connection_id":216973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:07:08] local.INFO: IMEI packet received {"connection_id":216973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":216973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:07:14] local.INFO: TCP Data received {"connection_id":216973,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:07:14] local.INFO: Processing buffer {"connection_id":216973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:07:14] local.INFO: IMEI packet received {"connection_id":216973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":216973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:07:15] local.INFO: TCP Data received {"connection_id":216973,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:07:15] local.INFO: Processing buffer {"connection_id":216973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:07:15] local.INFO: Packet analysis {"connection_id":216973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:07:15] local.INFO: Extracted packet for processing {"connection_id":216973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:07: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-10-16 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:07:15] 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-10-16 22: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-10-16 22:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:07:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:07:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":216973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:07:15] local.INFO: GPS data processed {"connection_id":216973,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:07:15] local.INFO: Acknowledgment sent {"connection_id":216973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:07:47] local.INFO: TCP Data received {"connection_id":216973,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:07:47] local.INFO: Processing buffer {"connection_id":216973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:07:47] local.INFO: Packet analysis {"connection_id":216973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:07:47] local.INFO: Extracted packet for processing {"connection_id":216973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:07:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:07: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-10-16 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:07: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-10-16 22: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-10-16 22:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:07:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:07:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":216973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:07:47] local.INFO: GPS data processed {"connection_id":216973,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:07:47] local.INFO: Acknowledgment sent {"connection_id":216973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:08:08] local.INFO: TCP Data received {"connection_id":217191,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:08:08] local.INFO: Processing buffer {"connection_id":217191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:08:08] local.INFO: IMEI packet received {"connection_id":217191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":217191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:08:14] local.INFO: TCP Data received {"connection_id":217191,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:08:14] local.INFO: Processing buffer {"connection_id":217191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:08:14] local.INFO: IMEI packet received {"connection_id":217191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":217191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:08:15] local.INFO: TCP Data received {"connection_id":217191,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:08:15] local.INFO: Processing buffer {"connection_id":217191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:08:15] local.INFO: Packet analysis {"connection_id":217191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:08:15] local.INFO: Extracted packet for processing {"connection_id":217191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:08:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:08: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-10-16 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:08:15] 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-10-16 22: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-10-16 22:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:08:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:08:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":217191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:08:15] local.INFO: GPS data processed {"connection_id":217191,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:08:15] local.INFO: Acknowledgment sent {"connection_id":217191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:08:20] local.INFO: TCP Data received {"connection_id":218528,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:08:20] local.INFO: Processing buffer {"connection_id":218528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:08:20] local.INFO: IMEI packet received {"connection_id":218528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":218528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:08:47] local.INFO: TCP Data received {"connection_id":217191,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:08:47] local.INFO: Processing buffer {"connection_id":217191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:08:47] local.INFO: Packet analysis {"connection_id":217191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:08:47] local.INFO: Extracted packet for processing {"connection_id":217191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:08:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:08: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-10-16 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:08: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-10-16 22: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-10-16 22:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":217191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":217191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":217191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:08:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:08:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":217191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:08:47] local.INFO: GPS data processed {"connection_id":217191,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:08:47] local.INFO: Acknowledgment sent {"connection_id":217191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:08:50] local.INFO: TCP Data received {"connection_id":220269,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:08:50] local.INFO: Processing buffer {"connection_id":220269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:08:50] local.INFO: IMEI packet received {"connection_id":220269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":220269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:09:08] local.INFO: TCP Data received {"connection_id":220270,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:09:08] local.INFO: Processing buffer {"connection_id":220270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:09:08] local.INFO: IMEI packet received {"connection_id":220270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":220270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:09:14] local.INFO: TCP Data received {"connection_id":220270,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:09:14] local.INFO: Processing buffer {"connection_id":220270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:09:14] local.INFO: IMEI packet received {"connection_id":220270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":220270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:09:15] local.INFO: TCP Data received {"connection_id":220270,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:09:15] local.INFO: Processing buffer {"connection_id":220270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:09:15] local.INFO: Packet analysis {"connection_id":220270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:09:15] local.INFO: Extracted packet for processing {"connection_id":220270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:09: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-10-16 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:09:15] 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-10-16 22: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-10-16 22:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:09:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:09:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":220270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:09:15] local.INFO: GPS data processed {"connection_id":220270,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:09:15] local.INFO: Acknowledgment sent {"connection_id":220270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:09:47] local.INFO: TCP Data received {"connection_id":220270,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:09:47] local.INFO: Processing buffer {"connection_id":220270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:09:47] local.INFO: Packet analysis {"connection_id":220270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:09:47] local.INFO: Extracted packet for processing {"connection_id":220270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:09:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22: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-10-16 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:09: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-10-16 22: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-10-16 22:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:09:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:09:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":220270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:09:47] local.INFO: GPS data processed {"connection_id":220270,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:09:47] local.INFO: Acknowledgment sent {"connection_id":220270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:10:13] local.INFO: TCP Data received {"connection_id":217193,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:10:13] local.INFO: Processing buffer {"connection_id":217193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:10:13] local.INFO: IMEI packet received {"connection_id":217193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":217193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:10:19] local.INFO: TCP Data received {"connection_id":217193,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:10:19] local.INFO: Processing buffer {"connection_id":217193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:10:19] local.INFO: IMEI packet received {"connection_id":217193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":217193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:10:20] local.INFO: TCP Data received {"connection_id":217193,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:10:20] local.INFO: Processing buffer {"connection_id":217193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:10:20] local.INFO: Packet analysis {"connection_id":217193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:10:20] local.INFO: Extracted packet for processing {"connection_id":217193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:10:20] 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-10-16 22:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":217193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":217193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":217193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:10:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:10:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":217193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:10:20] local.INFO: GPS data processed {"connection_id":217193,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:10:20] local.INFO: Acknowledgment sent {"connection_id":217193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:10:24] local.INFO: TCP Data received {"connection_id":217193,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:10:24] local.INFO: Processing buffer {"connection_id":217193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:10:24] local.INFO: Packet analysis {"connection_id":217193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:10:24] local.INFO: Extracted packet for processing {"connection_id":217193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:10:24] 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-10-16 22:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:10:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:10:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":217193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:10:24] local.INFO: GPS data processed {"connection_id":217193,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:10:24] local.INFO: Acknowledgment sent {"connection_id":217193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:11:10] local.INFO: TCP Data received {"connection_id":216974,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:11:10] local.INFO: Processing buffer {"connection_id":216974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:11:10] local.INFO: IMEI packet received {"connection_id":216974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":216974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:11:14] local.INFO: TCP Data received {"connection_id":216974,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:11:14] local.INFO: Processing buffer {"connection_id":216974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:11:14] local.INFO: IMEI packet received {"connection_id":216974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":216974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:11:21] local.INFO: TCP Data received {"connection_id":216974,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:11:21] local.INFO: Processing buffer {"connection_id":216974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:11:21] local.INFO: Packet analysis {"connection_id":216974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:11:21] local.INFO: Extracted packet for processing {"connection_id":216974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:11:21] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:11:21] 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-10-16 22: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-10-16 22:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":216974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":216974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":216974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:11:21] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:11:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":216974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:11:21] local.INFO: GPS data processed {"connection_id":216974,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:11:21] local.INFO: Acknowledgment sent {"connection_id":216974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:11:30] local.INFO: TCP Data received {"connection_id":216974,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:11:30] local.INFO: Processing buffer {"connection_id":216974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145923460012d7b834005f5ef08000000e029..."} 
[2026-10-16 22:11:30] local.INFO: Packet analysis {"connection_id":216974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:11:30] local.INFO: Extracted packet for processing {"connection_id":216974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14592"} 
[2026-10-16 22:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795077376001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792168572000,"timestamp_ms":1792168572000,"timestamp_seconds":1792168572,"priority":1,"record_length":96,"hex_timestamp":"000001a145923460"} 
[2026-10-16 22:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-10-16 22:11:30] 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-10-16 22:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":216974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":216974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":216974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795077376001,"66":25908,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795077376001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:11:30] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:11:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795077376001,"power":25908,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":216974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:11:30] local.INFO: GPS data processed {"connection_id":216974,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:11:30] local.INFO: Acknowledgment sent {"connection_id":216974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:12:08] local.INFO: TCP Data received {"connection_id":218529,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:12:08] local.INFO: Processing buffer {"connection_id":218529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:12:08] local.INFO: IMEI packet received {"connection_id":218529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":218529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:12:14] local.INFO: TCP Data received {"connection_id":218529,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:12:14] local.INFO: Processing buffer {"connection_id":218529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:12:14] local.INFO: IMEI packet received {"connection_id":218529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":218529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:12:15] local.INFO: TCP Data received {"connection_id":218529,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:12:15] local.INFO: Processing buffer {"connection_id":218529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:12:15] local.INFO: Packet analysis {"connection_id":218529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:12:15] local.INFO: Extracted packet for processing {"connection_id":218529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:12:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795154432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792168873000,"timestamp_ms":1792168873000,"timestamp_seconds":1792168873,"priority":1,"record_length":96,"hex_timestamp":"000001a14596cc28"} 
[2026-10-16 22:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:12: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-10-16 22:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 22:12:15] 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-10-16 22:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795154432001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795154432001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:12:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:12:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795154432001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":218529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:12:15] local.INFO: GPS data processed {"connection_id":218529,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:12:15] local.INFO: Acknowledgment sent {"connection_id":218529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:12:32] local.INFO: TCP Data received {"connection_id":220272,"ip":"192.161.49.2","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-10-16 22:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220272,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-10-16 22:12:32] local.INFO: Processing buffer {"connection_id":220272,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-10-16 22:12:32] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":220272,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-10-16 22:12:46] local.INFO: TCP Data received {"connection_id":218529,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:12:46] local.INFO: Processing buffer {"connection_id":218529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:12:46] local.INFO: Packet analysis {"connection_id":218529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:12:46] local.INFO: Extracted packet for processing {"connection_id":218529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:12:46] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795154432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792168873000,"timestamp_ms":1792168873000,"timestamp_seconds":1792168873,"priority":1,"record_length":96,"hex_timestamp":"000001a14596cc28"} 
[2026-10-16 22:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:12: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-10-16 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 22:12:46] 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-10-16 22: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-10-16 22:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795154432001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795154432001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:12:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:12:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795154432001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":218529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:12:46] local.INFO: GPS data processed {"connection_id":218529,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:12:46] local.INFO: Acknowledgment sent {"connection_id":218529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:13:08] local.INFO: TCP Data received {"connection_id":217194,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:13:08] local.INFO: Processing buffer {"connection_id":217194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:13:08] local.INFO: IMEI packet received {"connection_id":217194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":217194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:13:15] local.INFO: TCP Data received {"connection_id":217194,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:13:15] local.INFO: Processing buffer {"connection_id":217194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:13:15] local.INFO: IMEI packet received {"connection_id":217194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":217194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:13:16] local.INFO: TCP Data received {"connection_id":217194,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:13:16] local.INFO: Processing buffer {"connection_id":217194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:13:16] local.INFO: Packet analysis {"connection_id":217194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:13:16] local.INFO: Extracted packet for processing {"connection_id":217194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795154432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792168873000,"timestamp_ms":1792168873000,"timestamp_seconds":1792168873,"priority":1,"record_length":96,"hex_timestamp":"000001a14596cc28"} 
[2026-10-16 22:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:13: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-10-16 22:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 22:13:16] 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-10-16 22:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":217194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":217194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":217194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795154432001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795154432001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:13:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:13:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795154432001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":217194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:13:16] local.INFO: GPS data processed {"connection_id":217194,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:13:16] local.INFO: Acknowledgment sent {"connection_id":217194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:13:47] local.INFO: TCP Data received {"connection_id":217194,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:13:48] local.INFO: Processing buffer {"connection_id":217194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:13:48] local.INFO: Packet analysis {"connection_id":217194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:13:48] local.INFO: Extracted packet for processing {"connection_id":217194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:13:48] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795154432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792168873000,"timestamp_ms":1792168873000,"timestamp_seconds":1792168873,"priority":1,"record_length":96,"hex_timestamp":"000001a14596cc28"} 
[2026-10-16 22:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:13: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-10-16 22:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 22:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22: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-10-16 22:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":217194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":217194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":217194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795154432001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795154432001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:13:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:13:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795154432001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":217194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:13:48] local.INFO: GPS data processed {"connection_id":217194,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:13:48] local.INFO: Acknowledgment sent {"connection_id":217194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:14:05] local.INFO: TCP Data received {"connection_id":218530,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:14:05] local.INFO: Processing buffer {"connection_id":218530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:14:05] local.INFO: IMEI packet received {"connection_id":218530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":218530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:14:14] local.INFO: TCP Data received {"connection_id":220274,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:14:14] local.INFO: Processing buffer {"connection_id":220274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:14:14] local.INFO: IMEI packet received {"connection_id":220274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":220274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:14:19] local.INFO: TCP Data received {"connection_id":220274,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:14:19] local.INFO: Processing buffer {"connection_id":220274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:14:19] local.INFO: IMEI packet received {"connection_id":220274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":220274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:14:22] local.INFO: TCP Data received {"connection_id":220274,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:14:22] local.INFO: Processing buffer {"connection_id":220274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:14:22] local.INFO: Packet analysis {"connection_id":220274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:14:22] local.INFO: Extracted packet for processing {"connection_id":220274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795154432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792168873000,"timestamp_ms":1792168873000,"timestamp_seconds":1792168873,"priority":1,"record_length":96,"hex_timestamp":"000001a14596cc28"} 
[2026-10-16 22:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 22:14:22] 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-10-16 22:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":220274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":220274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":220274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795154432001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795154432001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:14:22] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:14:22] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795154432001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":220274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:14:22] local.INFO: GPS data processed {"connection_id":220274,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:14:22] local.INFO: Acknowledgment sent {"connection_id":220274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:14:24] local.INFO: TCP Data received {"connection_id":220274,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:14:24] local.INFO: Processing buffer {"connection_id":220274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:14:24] local.INFO: Packet analysis {"connection_id":220274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:14:24] local.INFO: Extracted packet for processing {"connection_id":220274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795154432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792168873000,"timestamp_ms":1792168873000,"timestamp_seconds":1792168873,"priority":1,"record_length":96,"hex_timestamp":"000001a14596cc28"} 
[2026-10-16 22:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 22:14:24] 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-10-16 22:14: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-10-16 22:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":220274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":220274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":220274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795154432001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795154432001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:14:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:14:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795154432001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":220274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:14:24] local.INFO: GPS data processed {"connection_id":220274,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:14:24] local.INFO: Acknowledgment sent {"connection_id":220274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:14:50] local.INFO: TCP Data received {"connection_id":216976,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:14:50] local.INFO: Processing buffer {"connection_id":216976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:14:50] local.INFO: IMEI packet received {"connection_id":216976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":216976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:15:09] local.INFO: TCP Data received {"connection_id":220275,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:15:09] local.INFO: Processing buffer {"connection_id":220275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:15:09] local.INFO: IMEI packet received {"connection_id":220275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":220275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:15:14] local.INFO: TCP Data received {"connection_id":220275,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:15:14] local.INFO: Processing buffer {"connection_id":220275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:15:14] local.INFO: IMEI packet received {"connection_id":220275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":220275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:15:15] local.INFO: TCP Data received {"connection_id":220275,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:15:15] local.INFO: Processing buffer {"connection_id":220275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:15:15] local.INFO: Packet analysis {"connection_id":220275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:15:15] local.INFO: Extracted packet for processing {"connection_id":220275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795154432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792168873000,"timestamp_ms":1792168873000,"timestamp_seconds":1792168873,"priority":1,"record_length":96,"hex_timestamp":"000001a14596cc28"} 
[2026-10-16 22:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:15: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-10-16 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 22:15:15] 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-10-16 22: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-10-16 22:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795154432001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795154432001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:15:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:15:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795154432001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":220275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:15:15] local.INFO: GPS data processed {"connection_id":220275,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:15:15] local.INFO: Acknowledgment sent {"connection_id":220275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:15:47] local.INFO: TCP Data received {"connection_id":220275,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:15:47] local.INFO: Processing buffer {"connection_id":220275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:15:47] local.INFO: Packet analysis {"connection_id":220275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:15:47] local.INFO: Extracted packet for processing {"connection_id":220275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795154432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792168873000,"timestamp_ms":1792168873000,"timestamp_seconds":1792168873,"priority":1,"record_length":96,"hex_timestamp":"000001a14596cc28"} 
[2026-10-16 22:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:15: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-10-16 22:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 22:15:47] 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-10-16 22:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795154432001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795154432001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:15:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:15:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795154432001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":220275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:15:47] local.INFO: GPS data processed {"connection_id":220275,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:15:47] local.INFO: Acknowledgment sent {"connection_id":220275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:16:08] local.INFO: TCP Data received {"connection_id":218532,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:16:08] local.INFO: Processing buffer {"connection_id":218532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:16:08] local.INFO: IMEI packet received {"connection_id":218532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":218532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:16:14] local.INFO: TCP Data received {"connection_id":218532,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:16:14] local.INFO: Processing buffer {"connection_id":218532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:16:14] local.INFO: IMEI packet received {"connection_id":218532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":218532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:16:16] local.INFO: TCP Data received {"connection_id":218532,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:16:16] local.INFO: Processing buffer {"connection_id":218532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:16:16] local.INFO: Packet analysis {"connection_id":218532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:16:16] local.INFO: Extracted packet for processing {"connection_id":218532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795154432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792168873000,"timestamp_ms":1792168873000,"timestamp_seconds":1792168873,"priority":1,"record_length":96,"hex_timestamp":"000001a14596cc28"} 
[2026-10-16 22:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 22:16:16] 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-10-16 22: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-10-16 22:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":218532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":218532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":218532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795154432001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795154432001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:16:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:16:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795154432001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":218532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:16:16] local.INFO: GPS data processed {"connection_id":218532,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:16:16] local.INFO: Acknowledgment sent {"connection_id":218532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:16:48] local.INFO: TCP Data received {"connection_id":218532,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:16:48] local.INFO: Processing buffer {"connection_id":218532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a14596cc28012d7b834005f5ef08000000e02c..."} 
[2026-10-16 22:16:48] local.INFO: Packet analysis {"connection_id":218532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:16:48] local.INFO: Extracted packet for processing {"connection_id":218532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a14596"} 
[2026-10-16 22:16:48] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795154432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792168873000,"timestamp_ms":1792168873000,"timestamp_seconds":1792168873,"priority":1,"record_length":96,"hex_timestamp":"000001a14596cc28"} 
[2026-10-16 22:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:16: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-10-16 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-10-16 22:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22: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-10-16 22:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":218532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":218532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":218532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795154432001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795154432001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:16:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:16:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795154432001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":218532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:16:48] local.INFO: GPS data processed {"connection_id":218532,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:16:48] local.INFO: Acknowledgment sent {"connection_id":218532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:17:08] local.INFO: TCP Data received {"connection_id":217195,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:17:08] local.INFO: Processing buffer {"connection_id":217195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:17:08] local.INFO: IMEI packet received {"connection_id":217195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":217195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:17:16] local.INFO: TCP Data received {"connection_id":217195,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:17:16] local.INFO: Processing buffer {"connection_id":217195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:17:16] local.INFO: IMEI packet received {"connection_id":217195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":217195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:17:17] local.INFO: TCP Data received {"connection_id":217195,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:17:17] local.INFO: Processing buffer {"connection_id":217195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:17:17] local.INFO: Packet analysis {"connection_id":217195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:17:17] local.INFO: Extracted packet for processing {"connection_id":217195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:17:17] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795231488001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792169174000,"timestamp_ms":1792169174000,"timestamp_seconds":1792169174,"priority":1,"record_length":96,"hex_timestamp":"000001a1459b63f0"} 
[2026-10-16 22:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:17: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-10-16 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:17:17] 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-10-16 22: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-10-16 22:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":217195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":217195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":217195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795231488001,"66":25843,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795231488001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:17:17] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:17:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795231488001,"power":25843,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":217195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:17:17] local.INFO: GPS data processed {"connection_id":217195,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:17:17] local.INFO: Acknowledgment sent {"connection_id":217195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:17:49] local.INFO: TCP Data received {"connection_id":217195,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:17:49] local.INFO: Processing buffer {"connection_id":217195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:17:49] local.INFO: Packet analysis {"connection_id":217195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:17:49] local.INFO: Extracted packet for processing {"connection_id":217195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:17:49] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795231488001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792169174000,"timestamp_ms":1792169174000,"timestamp_seconds":1792169174,"priority":1,"record_length":96,"hex_timestamp":"000001a1459b63f0"} 
[2026-10-16 22:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:17: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-10-16 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:17: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-10-16 22: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-10-16 22:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":217195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":217195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":217195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795231488001,"66":25843,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795231488001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:17:49] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:17:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795231488001,"power":25843,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":217195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:17:49] local.INFO: GPS data processed {"connection_id":217195,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:17:49] local.INFO: Acknowledgment sent {"connection_id":217195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:18:14] local.INFO: TCP Data received {"connection_id":217196,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:18:14] local.INFO: Processing buffer {"connection_id":217196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:18:14] local.INFO: IMEI packet received {"connection_id":217196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":217196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:18:19] local.INFO: TCP Data received {"connection_id":217196,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:18:19] local.INFO: Processing buffer {"connection_id":217196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:18:19] local.INFO: IMEI packet received {"connection_id":217196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":217196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:18:19] local.INFO: TCP Data received {"connection_id":217196,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:18:19] local.INFO: Processing buffer {"connection_id":217196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:18:19] local.INFO: Packet analysis {"connection_id":217196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:18:19] local.INFO: Extracted packet for processing {"connection_id":217196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:18:19] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795231488001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792169174000,"timestamp_ms":1792169174000,"timestamp_seconds":1792169174,"priority":1,"record_length":96,"hex_timestamp":"000001a1459b63f0"} 
[2026-10-16 22:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:18: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-10-16 22:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:18:19] 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-10-16 22:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":217196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":217196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":217196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795231488001,"66":25843,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795231488001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:18:19] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:18:19] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795231488001,"power":25843,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":217196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:18:19] local.INFO: GPS data processed {"connection_id":217196,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:18:19] local.INFO: Acknowledgment sent {"connection_id":217196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:18:24] local.INFO: TCP Data received {"connection_id":217196,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:18:24] local.INFO: Processing buffer {"connection_id":217196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:18:24] local.INFO: Packet analysis {"connection_id":217196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:18:24] local.INFO: Extracted packet for processing {"connection_id":217196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795231488001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792169174000,"timestamp_ms":1792169174000,"timestamp_seconds":1792169174,"priority":1,"record_length":96,"hex_timestamp":"000001a1459b63f0"} 
[2026-10-16 22:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:18:24] 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-10-16 22:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795231488001,"66":25843,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795231488001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:18:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:18:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795231488001,"power":25843,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":217196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:18:24] local.INFO: GPS data processed {"connection_id":217196,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:18:24] local.INFO: Acknowledgment sent {"connection_id":217196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:19:09] local.INFO: TCP Data received {"connection_id":216978,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:19:09] local.INFO: Processing buffer {"connection_id":216978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:19:09] local.INFO: IMEI packet received {"connection_id":216978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":216978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:19:14] local.INFO: TCP Data received {"connection_id":216978,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:19:14] local.INFO: Processing buffer {"connection_id":216978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:19:14] local.INFO: IMEI packet received {"connection_id":216978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":216978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:19:15] local.INFO: TCP Data received {"connection_id":216978,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:19:15] local.INFO: Processing buffer {"connection_id":216978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:19:15] local.INFO: Packet analysis {"connection_id":216978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:19:15] local.INFO: Extracted packet for processing {"connection_id":216978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:19:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795231488001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792169174000,"timestamp_ms":1792169174000,"timestamp_seconds":1792169174,"priority":1,"record_length":96,"hex_timestamp":"000001a1459b63f0"} 
[2026-10-16 22:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:19: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-10-16 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:19: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-10-16 22: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-10-16 22:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795231488001,"66":25843,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795231488001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:19:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:19:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795231488001,"power":25843,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":216978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:19:15] local.INFO: GPS data processed {"connection_id":216978,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:19:15] local.INFO: Acknowledgment sent {"connection_id":216978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:19:46] local.INFO: TCP Data received {"connection_id":216978,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:19:46] local.INFO: Processing buffer {"connection_id":216978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:19:46] local.INFO: Packet analysis {"connection_id":216978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:19:46] local.INFO: Extracted packet for processing {"connection_id":216978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:19:46] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795231488001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792169174000,"timestamp_ms":1792169174000,"timestamp_seconds":1792169174,"priority":1,"record_length":96,"hex_timestamp":"000001a1459b63f0"} 
[2026-10-16 22:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:19: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-10-16 22:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:19:46] 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-10-16 22:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795231488001,"66":25843,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795231488001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:19:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:19:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795231488001,"power":25843,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":216978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:19:46] local.INFO: GPS data processed {"connection_id":216978,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:19:46] local.INFO: Acknowledgment sent {"connection_id":216978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:20:05] local.INFO: TCP Data received {"connection_id":217197,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:20:05] local.INFO: Processing buffer {"connection_id":217197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:20:05] local.INFO: IMEI packet received {"connection_id":217197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":217197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:20:08] local.INFO: TCP Data received {"connection_id":216979,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:20:08] local.INFO: Processing buffer {"connection_id":216979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:20:08] local.INFO: IMEI packet received {"connection_id":216979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":216979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:20:14] local.INFO: TCP Data received {"connection_id":216979,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:20:14] local.INFO: Processing buffer {"connection_id":216979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:20:14] local.INFO: IMEI packet received {"connection_id":216979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":216979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:20:15] local.INFO: TCP Data received {"connection_id":216979,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:20:15] local.INFO: Processing buffer {"connection_id":216979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:20:15] local.INFO: Packet analysis {"connection_id":216979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:20:15] local.INFO: Extracted packet for processing {"connection_id":216979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:20:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795231488001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792169174000,"timestamp_ms":1792169174000,"timestamp_seconds":1792169174,"priority":1,"record_length":96,"hex_timestamp":"000001a1459b63f0"} 
[2026-10-16 22:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:20: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-10-16 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:20: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-10-16 22: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-10-16 22:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795231488001,"66":25843,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795231488001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:20:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:20:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795231488001,"power":25843,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":216979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:20:15] local.INFO: GPS data processed {"connection_id":216979,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:20:15] local.INFO: Acknowledgment sent {"connection_id":216979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:20:46] local.INFO: TCP Data received {"connection_id":216979,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:20:46] local.INFO: Processing buffer {"connection_id":216979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:20:46] local.INFO: Packet analysis {"connection_id":216979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:20:46] local.INFO: Extracted packet for processing {"connection_id":216979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795231488001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792169174000,"timestamp_ms":1792169174000,"timestamp_seconds":1792169174,"priority":1,"record_length":96,"hex_timestamp":"000001a1459b63f0"} 
[2026-10-16 22:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22: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-10-16 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:20:46] 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-10-16 22: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-10-16 22:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795231488001,"66":25843,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795231488001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:20:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:20:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795231488001,"power":25843,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":216979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:20:46] local.INFO: GPS data processed {"connection_id":216979,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:20:46] local.INFO: Acknowledgment sent {"connection_id":216979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:20:55] local.INFO: TCP Data received {"connection_id":218534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:20:55] local.INFO: Processing buffer {"connection_id":218534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:20:55] local.INFO: IMEI packet received {"connection_id":218534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":218534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:21:08] local.INFO: TCP Data received {"connection_id":218535,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:21:08] local.INFO: Processing buffer {"connection_id":218535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:21:08] local.INFO: IMEI packet received {"connection_id":218535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":218535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:21:15] local.INFO: TCP Data received {"connection_id":218535,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:21:15] local.INFO: Processing buffer {"connection_id":218535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:21:15] local.INFO: IMEI packet received {"connection_id":218535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":218535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:21:16] local.INFO: TCP Data received {"connection_id":218535,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:21:16] local.INFO: Processing buffer {"connection_id":218535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:21:16] local.INFO: Packet analysis {"connection_id":218535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:21:16] local.INFO: Extracted packet for processing {"connection_id":218535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:21:16] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:21: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-10-16 22:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795231488001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792169174000,"timestamp_ms":1792169174000,"timestamp_seconds":1792169174,"priority":1,"record_length":96,"hex_timestamp":"000001a1459b63f0"} 
[2026-10-16 22:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:21: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-10-16 22:21: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-10-16 22:21: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-10-16 22:21: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-10-16 22:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":218535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":218535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":218535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795231488001,"66":25843,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795231488001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:21:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:21:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795231488001,"power":25843,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":218535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:21:16] local.INFO: GPS data processed {"connection_id":218535,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:21:16] local.INFO: Acknowledgment sent {"connection_id":218535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:21:47] local.INFO: TCP Data received {"connection_id":218535,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:21:47] local.INFO: Processing buffer {"connection_id":218535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459b63f0012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:21:47] local.INFO: Packet analysis {"connection_id":218535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:21:47] local.INFO: Extracted packet for processing {"connection_id":218535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459b"} 
[2026-10-16 22:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795231488001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792169174000,"timestamp_ms":1792169174000,"timestamp_seconds":1792169174,"priority":1,"record_length":96,"hex_timestamp":"000001a1459b63f0"} 
[2026-10-16 22:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:21: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-10-16 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:21: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-10-16 22: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-10-16 22:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":218535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":218535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":218535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795231488001,"66":25843,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795231488001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:21:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:21:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795231488001,"power":25843,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":218535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:21:47] local.INFO: GPS data processed {"connection_id":218535,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:21:47] local.INFO: Acknowledgment sent {"connection_id":218535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:22:14] local.INFO: TCP Data received {"connection_id":217199,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:22:14] local.INFO: Processing buffer {"connection_id":217199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:22:14] local.INFO: IMEI packet received {"connection_id":217199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":217199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:22:19] local.INFO: TCP Data received {"connection_id":217199,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:22:19] local.INFO: Processing buffer {"connection_id":217199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:22:19] local.INFO: IMEI packet received {"connection_id":217199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":217199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:22:20] local.INFO: TCP Data received {"connection_id":217199,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:22:20] local.INFO: Processing buffer {"connection_id":217199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:22:20] local.INFO: Packet analysis {"connection_id":217199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:22:20] local.INFO: Extracted packet for processing {"connection_id":217199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:22:20] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795308544001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792169475000,"timestamp_ms":1792169475000,"timestamp_seconds":1792169475,"priority":1,"record_length":96,"hex_timestamp":"000001a1459ffbb8"} 
[2026-10-16 22:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 22:22:20] 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-10-16 22:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":217199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":217199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":217199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795308544001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795308544001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:22:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:22:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795308544001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":217199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:22:20] local.INFO: GPS data processed {"connection_id":217199,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:22:20] local.INFO: Acknowledgment sent {"connection_id":217199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:22:24] local.INFO: TCP Data received {"connection_id":217199,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:22:24] local.INFO: Processing buffer {"connection_id":217199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:22:24] local.INFO: Packet analysis {"connection_id":217199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:22:24] local.INFO: Extracted packet for processing {"connection_id":217199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795308544001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792169475000,"timestamp_ms":1792169475000,"timestamp_seconds":1792169475,"priority":1,"record_length":96,"hex_timestamp":"000001a1459ffbb8"} 
[2026-10-16 22:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 22:22:24] 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-10-16 22:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":217199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":217199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":217199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795308544001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795308544001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:22:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:22:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795308544001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":217199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:22:24] local.INFO: GPS data processed {"connection_id":217199,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:22:24] local.INFO: Acknowledgment sent {"connection_id":217199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:23:08] local.INFO: TCP Data received {"connection_id":220277,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:23:08] local.INFO: Processing buffer {"connection_id":220277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:23:08] local.INFO: IMEI packet received {"connection_id":220277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":220277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:23:14] local.INFO: TCP Data received {"connection_id":220277,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:23:14] local.INFO: Processing buffer {"connection_id":220277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:23:14] local.INFO: IMEI packet received {"connection_id":220277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":220277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:23:15] local.INFO: TCP Data received {"connection_id":220277,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:23:15] local.INFO: Processing buffer {"connection_id":220277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:23:15] local.INFO: Packet analysis {"connection_id":220277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:23:15] local.INFO: Extracted packet for processing {"connection_id":220277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795308544001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792169475000,"timestamp_ms":1792169475000,"timestamp_seconds":1792169475,"priority":1,"record_length":96,"hex_timestamp":"000001a1459ffbb8"} 
[2026-10-16 22:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:23: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-10-16 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 22:23: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-10-16 22: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-10-16 22:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":220277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":220277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":220277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795308544001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795308544001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:23:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:23:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795308544001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":220277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:23:15] local.INFO: GPS data processed {"connection_id":220277,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:23:15] local.INFO: Acknowledgment sent {"connection_id":220277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:23:47] local.INFO: TCP Data received {"connection_id":220277,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:23:47] local.INFO: Processing buffer {"connection_id":220277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:23:47] local.INFO: Packet analysis {"connection_id":220277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:23:47] local.INFO: Extracted packet for processing {"connection_id":220277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:23:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795308544001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792169475000,"timestamp_ms":1792169475000,"timestamp_seconds":1792169475,"priority":1,"record_length":96,"hex_timestamp":"000001a1459ffbb8"} 
[2026-10-16 22:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22: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-10-16 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 22:23: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-10-16 22: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-10-16 22:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":220277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":220277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":220277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795308544001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795308544001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:23:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:23:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795308544001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":220277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:23:47] local.INFO: GPS data processed {"connection_id":220277,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:23:47] local.INFO: Acknowledgment sent {"connection_id":220277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:24:08] local.INFO: TCP Data received {"connection_id":218538,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:24:08] local.INFO: Processing buffer {"connection_id":218538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:24:08] local.INFO: IMEI packet received {"connection_id":218538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":218538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:24:14] local.INFO: TCP Data received {"connection_id":218538,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:24:14] local.INFO: Processing buffer {"connection_id":218538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:24:14] local.INFO: IMEI packet received {"connection_id":218538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":218538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:24:15] local.INFO: TCP Data received {"connection_id":218538,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:24:15] local.INFO: Processing buffer {"connection_id":218538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:24:15] local.INFO: Packet analysis {"connection_id":218538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:24:15] local.INFO: Extracted packet for processing {"connection_id":218538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:24:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795308544001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792169475000,"timestamp_ms":1792169475000,"timestamp_seconds":1792169475,"priority":1,"record_length":96,"hex_timestamp":"000001a1459ffbb8"} 
[2026-10-16 22:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:24: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-10-16 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 22:24: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-10-16 22: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-10-16 22:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795308544001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795308544001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:24:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:24:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795308544001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":218538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:24:15] local.INFO: GPS data processed {"connection_id":218538,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:24:15] local.INFO: Acknowledgment sent {"connection_id":218538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:24:46] local.INFO: TCP Data received {"connection_id":218538,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:24:46] local.INFO: Processing buffer {"connection_id":218538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:24:46] local.INFO: Packet analysis {"connection_id":218538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:24:46] local.INFO: Extracted packet for processing {"connection_id":218538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:24:46] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795308544001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792169475000,"timestamp_ms":1792169475000,"timestamp_seconds":1792169475,"priority":1,"record_length":96,"hex_timestamp":"000001a1459ffbb8"} 
[2026-10-16 22:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:24: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-10-16 22:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 22:24:46] 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-10-16 22:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795308544001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795308544001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:24:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:24:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795308544001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":218538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:24:46] local.INFO: GPS data processed {"connection_id":218538,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:24:46] local.INFO: Acknowledgment sent {"connection_id":218538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:25:15] local.INFO: TCP Data received {"connection_id":220278,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:25:15] local.INFO: Processing buffer {"connection_id":220278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:25:15] local.INFO: IMEI packet received {"connection_id":220278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":220278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:25:19] local.INFO: TCP Data received {"connection_id":220278,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:25:19] local.INFO: Processing buffer {"connection_id":220278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:25:19] local.INFO: IMEI packet received {"connection_id":220278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":220278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:25:20] local.INFO: TCP Data received {"connection_id":220278,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:25:20] local.INFO: Processing buffer {"connection_id":220278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:25:20] local.INFO: Packet analysis {"connection_id":220278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:25:20] local.INFO: Extracted packet for processing {"connection_id":220278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:25:20] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795308544001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792169475000,"timestamp_ms":1792169475000,"timestamp_seconds":1792169475,"priority":1,"record_length":96,"hex_timestamp":"000001a1459ffbb8"} 
[2026-10-16 22:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 22:25:20] 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-10-16 22:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":220278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":220278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":220278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795308544001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795308544001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:25:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:25:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795308544001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":220278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:25:20] local.INFO: GPS data processed {"connection_id":220278,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:25:20] local.INFO: Acknowledgment sent {"connection_id":220278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:25:25] local.INFO: TCP Data received {"connection_id":220278,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:25:25] local.INFO: Processing buffer {"connection_id":220278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:25:25] local.INFO: Packet analysis {"connection_id":220278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:25:25] local.INFO: Extracted packet for processing {"connection_id":220278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795308544001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792169475000,"timestamp_ms":1792169475000,"timestamp_seconds":1792169475,"priority":1,"record_length":96,"hex_timestamp":"000001a1459ffbb8"} 
[2026-10-16 22:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 22:25:25] 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-10-16 22: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-10-16 22:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":220278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":220278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":220278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795308544001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795308544001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:25:25] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:25:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795308544001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":220278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:25:25] local.INFO: GPS data processed {"connection_id":220278,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:25:25] local.INFO: Acknowledgment sent {"connection_id":220278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:26:08] local.INFO: TCP Data received {"connection_id":216981,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:26:08] local.INFO: Processing buffer {"connection_id":216981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:26:08] local.INFO: IMEI packet received {"connection_id":216981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":216981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:26:14] local.INFO: TCP Data received {"connection_id":216981,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:26:14] local.INFO: Processing buffer {"connection_id":216981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:26:14] local.INFO: IMEI packet received {"connection_id":216981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":216981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:26:15] local.INFO: TCP Data received {"connection_id":216981,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:26:15] local.INFO: Processing buffer {"connection_id":216981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:26:15] local.INFO: Packet analysis {"connection_id":216981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:26:15] local.INFO: Extracted packet for processing {"connection_id":216981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:26:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795308544001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792169475000,"timestamp_ms":1792169475000,"timestamp_seconds":1792169475,"priority":1,"record_length":96,"hex_timestamp":"000001a1459ffbb8"} 
[2026-10-16 22:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:26: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-10-16 22:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 22:26: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-10-16 22:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795308544001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795308544001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:26:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:26:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795308544001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":216981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:26:15] local.INFO: GPS data processed {"connection_id":216981,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:26:15] local.INFO: Acknowledgment sent {"connection_id":216981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:26:25] local.INFO: TCP Data received {"connection_id":217200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:26:25] local.INFO: Processing buffer {"connection_id":217200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:26:25] local.INFO: IMEI packet received {"connection_id":217200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":217200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:26:47] local.INFO: TCP Data received {"connection_id":216981,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:26:47] local.INFO: Processing buffer {"connection_id":216981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1459ffbb8012d7b834005f5ef08000000e02b..."} 
[2026-10-16 22:26:47] local.INFO: Packet analysis {"connection_id":216981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:26:47] local.INFO: Extracted packet for processing {"connection_id":216981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1459f"} 
[2026-10-16 22:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795308544001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1792169475000,"timestamp_ms":1792169475000,"timestamp_seconds":1792169475,"priority":1,"record_length":96,"hex_timestamp":"000001a1459ffbb8"} 
[2026-10-16 22:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:26: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-10-16 22:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-10-16 22:26: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-10-16 22:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":216981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":216981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":216981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795308544001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795308544001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:26:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:26:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795308544001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":216981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:26:47] local.INFO: GPS data processed {"connection_id":216981,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:26:47] local.INFO: Acknowledgment sent {"connection_id":216981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:26:52] local.INFO: TCP Data received {"connection_id":217201,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:26:52] local.INFO: Processing buffer {"connection_id":217201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:26:52] local.INFO: IMEI packet received {"connection_id":217201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":217201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:27:08] local.INFO: TCP Data received {"connection_id":216982,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:27:08] local.INFO: Processing buffer {"connection_id":216982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:27:08] local.INFO: IMEI packet received {"connection_id":216982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":216982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:27:13] local.INFO: TCP Data received {"connection_id":216982,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:27:13] local.INFO: Processing buffer {"connection_id":216982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:27:13] local.INFO: IMEI packet received {"connection_id":216982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":216982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:27:15] local.INFO: TCP Data received {"connection_id":216982,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:27:15] local.INFO: Processing buffer {"connection_id":216982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:27:15] local.INFO: Packet analysis {"connection_id":216982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145a4"} 
[2026-10-16 22:27:15] local.INFO: Extracted packet for processing {"connection_id":216982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145a4"} 
[2026-10-16 22:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":5,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795385600001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792169776000,"timestamp_ms":1792169776000,"timestamp_seconds":1792169776,"priority":1,"record_length":96,"hex_timestamp":"000001a145a49380"} 
[2026-10-16 22:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:27: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-10-16 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:27: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-10-16 22: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-10-16 22:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":216982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":216982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":216982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795385600001,"66":25854,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795385600001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:27:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:27:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795385600001,"power":25854,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":216982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:27:15] local.INFO: GPS data processed {"connection_id":216982,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:27:15] local.INFO: Acknowledgment sent {"connection_id":216982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:27:46] local.INFO: TCP Data received {"connection_id":216982,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:27:46] local.INFO: Processing buffer {"connection_id":216982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:27:46] local.INFO: Packet analysis {"connection_id":216982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145a4"} 
[2026-10-16 22:27:46] local.INFO: Extracted packet for processing {"connection_id":216982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145a4"} 
[2026-10-16 22:27:46] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":5,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795385600001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792169776000,"timestamp_ms":1792169776000,"timestamp_seconds":1792169776,"priority":1,"record_length":96,"hex_timestamp":"000001a145a49380"} 
[2026-10-16 22:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:27: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-10-16 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:27:46] 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-10-16 22: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-10-16 22:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":216982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":216982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":216982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795385600001,"66":25854,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795385600001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:27:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:27:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795385600001,"power":25854,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":216982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:27:46] local.INFO: GPS data processed {"connection_id":216982,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:27:46] local.INFO: Acknowledgment sent {"connection_id":216982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:28:19] local.INFO: TCP Data received {"connection_id":216983,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:28:19] local.INFO: Processing buffer {"connection_id":216983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:28:19] local.INFO: IMEI packet received {"connection_id":216983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":216983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:28:23] local.INFO: TCP Data received {"connection_id":216983,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:28:23] local.INFO: Processing buffer {"connection_id":216983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:28:23] local.INFO: IMEI packet received {"connection_id":216983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":216983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:28:24] local.INFO: TCP Data received {"connection_id":216983,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:28:24] local.INFO: Processing buffer {"connection_id":216983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:28:24] local.INFO: Packet analysis {"connection_id":216983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145a4"} 
[2026-10-16 22:28:24] local.INFO: Extracted packet for processing {"connection_id":216983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145a4"} 
[2026-10-16 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":5,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795385600001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792169776000,"timestamp_ms":1792169776000,"timestamp_seconds":1792169776,"priority":1,"record_length":96,"hex_timestamp":"000001a145a49380"} 
[2026-10-16 22:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:28:24] 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-10-16 22:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795385600001,"66":25854,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795385600001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:28:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:28:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795385600001,"power":25854,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":216983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:28:24] local.INFO: GPS data processed {"connection_id":216983,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:28:24] local.INFO: Acknowledgment sent {"connection_id":216983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:29:23] local.INFO: TCP Data received {"connection_id":218542,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:29:23] local.INFO: Processing buffer {"connection_id":218542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:29:23] local.INFO: IMEI packet received {"connection_id":218542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":218542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:29:28] local.INFO: TCP Data received {"connection_id":218542,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:29:28] local.INFO: Processing buffer {"connection_id":218542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:29:28] local.INFO: IMEI packet received {"connection_id":218542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":218542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:29:29] local.INFO: TCP Data received {"connection_id":218542,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:29:29] local.INFO: Processing buffer {"connection_id":218542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:29:29] local.INFO: Packet analysis {"connection_id":218542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145a4"} 
[2026-10-16 22:29:29] local.INFO: Extracted packet for processing {"connection_id":218542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145a4"} 
[2026-10-16 22:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":5,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795385600001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792169776000,"timestamp_ms":1792169776000,"timestamp_seconds":1792169776,"priority":1,"record_length":96,"hex_timestamp":"000001a145a49380"} 
[2026-10-16 22:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-10-16 22:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:29:29] 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-10-16 22:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795385600001,"66":25854,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795385600001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:29:29] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:29:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795385600001,"power":25854,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":218542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:29:29] local.INFO: GPS data processed {"connection_id":218542,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:29:29] local.INFO: Acknowledgment sent {"connection_id":218542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:30:09] local.INFO: TCP Data received {"connection_id":218543,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:30:09] local.INFO: Processing buffer {"connection_id":218543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:30:09] local.INFO: IMEI packet received {"connection_id":218543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":218543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:30:14] local.INFO: TCP Data received {"connection_id":218543,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:30:14] local.INFO: Processing buffer {"connection_id":218543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:30:14] local.INFO: IMEI packet received {"connection_id":218543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":218543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:30:14] local.INFO: TCP Data received {"connection_id":218543,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:30:14] local.INFO: Processing buffer {"connection_id":218543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145a49380012d7b834005f5ef08000500e02e..."} 
[2026-10-16 22:30:14] local.INFO: Packet analysis {"connection_id":218543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145a4"} 
[2026-10-16 22:30:14] local.INFO: Extracted packet for processing {"connection_id":218543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145a4"} 
[2026-10-16 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":5,"angle":224,"satellites":46,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795385600001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792169776000,"timestamp_ms":1792169776000,"timestamp_seconds":1792169776,"priority":1,"record_length":96,"hex_timestamp":"000001a145a49380"} 
[2026-10-16 22:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:30: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-10-16 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:30: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-10-16 22: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-10-16 22:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795385600001,"66":25854,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795385600001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:30:14] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:30:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795385600001,"power":25854,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":218543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:30:15] local.INFO: GPS data processed {"connection_id":218543,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:30:15] local.INFO: Acknowledgment sent {"connection_id":218543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:30:45] local.INFO: TCP Data received {"connection_id":218543,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145a81208012d7b834005f5ef08000000e026..."} 
[2026-10-16 22:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145a81208012d7b834005f5ef08000000e026..."} 
[2026-10-16 22:30:45] local.INFO: Processing buffer {"connection_id":218543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145a81208012d7b834005f5ef08000000e026..."} 
[2026-10-16 22:30:45] local.INFO: Packet analysis {"connection_id":218543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145a8"} 
[2026-10-16 22:30:45] local.INFO: Extracted packet for processing {"connection_id":218543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145a8"} 
[2026-10-16 22:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003592,"longitude_deg":76.3069248,"latitude_deg":10.0003592,"altitude":0,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5ef08","is_valid_coordinates":true} 
[2026-10-16 22:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795462656001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792170005000,"timestamp_ms":1792170005000,"timestamp_seconds":1792170005,"priority":1,"record_length":96,"hex_timestamp":"000001a145a81208"} 
[2026-10-16 22:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:30: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-10-16 22: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-10-16 22:30:45] 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-10-16 22: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-10-16 22:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795462656001,"66":25875,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795462656001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:30:45] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:30:45] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795462656001,"power":25875,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":218543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:30:45] local.INFO: GPS data processed {"connection_id":218543,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:30:45] local.INFO: Acknowledgment sent {"connection_id":218543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:31:08] local.INFO: TCP Data received {"connection_id":217203,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:31:08] local.INFO: Processing buffer {"connection_id":217203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:31:08] local.INFO: IMEI packet received {"connection_id":217203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":217203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:31:10] local.INFO: TCP Data received {"connection_id":217203,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:31:10] local.INFO: Processing buffer {"connection_id":217203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:31:10] local.INFO: IMEI packet received {"connection_id":217203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":217203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:31:13] local.INFO: TCP Data received {"connection_id":217203,"ip":"117.224.25.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:31:13] local.INFO: Processing buffer {"connection_id":217203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:31:13] local.INFO: IMEI packet received {"connection_id":217203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":217203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:31:15] local.INFO: TCP Data received {"connection_id":217203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145a82978012d7b83c005f5f0180000003027..."} 
[2026-10-16 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145a82978012d7b83c005f5f0180000003027..."} 
[2026-10-16 22:31:15] local.INFO: Processing buffer {"connection_id":217203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145a82978012d7b83c005f5f0180000003027..."} 
[2026-10-16 22:31:15] local.INFO: Packet analysis {"connection_id":217203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145a8"} 
[2026-10-16 22:31:15] local.INFO: Extracted packet for processing {"connection_id":217203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145a8"} 
[2026-10-16 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100003864,"longitude_deg":76.3069376,"latitude_deg":10.0003864,"altitude":0,"angle":48,"satellites":39,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f018","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795521280001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959329280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792170011000,"timestamp_ms":1792170011000,"timestamp_seconds":1792170011,"priority":1,"record_length":96,"hex_timestamp":"000001a145a82978"} 
[2026-10-16 22:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:31: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-10-16 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-10-16 22:31: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-10-16 22: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-10-16 22:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795521280001,"66":27626,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900027682959329280},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795521280001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:31:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:31:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959329280,"description":"Unknown IO ID 45"} 
[2026-10-16 22:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795521280001,"power":27626,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900027682959329280}} 
[2026-10-16 22:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":217203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:31:15] local.INFO: GPS data processed {"connection_id":217203,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:31:15] local.INFO: Acknowledgment sent {"connection_id":217203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:31:46] local.INFO: TCP Data received {"connection_id":217203,"ip":"117.224.25.43","data_length":795,"data_hex":"000000000000030f8e0a000001a145a87b80012d7b83c005f5f0180000003024..."} 
[2026-10-16 22:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145a87b80012d7b83c005f5f0180000003024..."} 
[2026-10-16 22:31:46] local.INFO: Processing buffer {"connection_id":217203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145a87b80012d7b83c005f5f0180000003024..."} 
[2026-10-16 22:31:46] local.INFO: Packet analysis {"connection_id":217203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145a8"} 
[2026-10-16 22:31:46] local.INFO: Extracted packet for processing {"connection_id":217203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145a8"} 
[2026-10-16 22:31:46] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":100003864,"longitude_deg":76.3069376,"latitude_deg":10.0003864,"altitude":0,"angle":48,"satellites":36,"speed":0,"hex_longitude":"2d7b83c0","hex_latitude":"05f5f018","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795522816001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15447339506335744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420447754240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792170032000,"timestamp_ms":1792170032000,"timestamp_seconds":1792170032,"priority":1,"record_length":96,"hex_timestamp":"000001a145a87b80"} 
[2026-10-16 22:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:31: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-10-16 22: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-10-16 22:31:46] 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-10-16 22: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-10-16 22:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":217203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":217203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":217203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.25.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795522816001,"66":27376,"125":206,"8":64768,"24":0,"16":15447339506335744,"45":8900168420447754240},"client_ip":"117.224.25.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,8,24,16,45]} 
[2026-10-16 22:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795522816001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:31:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-10-16 22:31:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-10-16 22:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15447339506335744,"km_value":15447339506335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420447754240,"description":"Unknown IO ID 45"} 
[2026-10-16 22:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795522816001,"power":27376,"unknown_125":206,"unknown_8":64768,"ignition":0,"odometer":null,"unknown_45":8900168420447754240}} 
[2026-10-16 22:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":217203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:31:46] local.INFO: GPS data processed {"connection_id":217203,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:31:46] local.INFO: Acknowledgment sent {"connection_id":217203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:32:55] local.INFO: TCP Data received {"connection_id":217204,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:32:55] local.INFO: Processing buffer {"connection_id":217204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:32:55] local.INFO: IMEI packet received {"connection_id":217204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":217204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:33:00] local.INFO: TCP Data received {"connection_id":217204,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:33:00] local.INFO: Processing buffer {"connection_id":217204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:33:00] local.INFO: IMEI packet received {"connection_id":217204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":217204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:33:01] local.INFO: TCP Data received {"connection_id":217204,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145aa21600100000000000000000000000000..."} 
[2026-10-16 22:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145aa21600100000000000000000000000000..."} 
[2026-10-16 22:33:01] local.INFO: Processing buffer {"connection_id":217204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145aa21600100000000000000000000000000..."} 
[2026-10-16 22:33:01] local.INFO: Packet analysis {"connection_id":217204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145aa"} 
[2026-10-16 22:33:01] local.INFO: Extracted packet for processing {"connection_id":217204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145aa"} 
[2026-10-16 22:33:01] 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-10-16 22:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795540992001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:33:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1372823799502567424,"note":"Value kept but may cause issues"} 
[2026-10-16 22:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792170140000,"timestamp_ms":1792170140000,"timestamp_seconds":1792170140,"priority":1,"record_length":96,"hex_timestamp":"000001a145aa2160"} 
[2026-10-16 22:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 22:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":217204,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:33:01] local.INFO: GPS data processed {"connection_id":217204,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:33:01] local.INFO: Acknowledgment sent {"connection_id":217204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:33:33] local.INFO: TCP Data received {"connection_id":217204,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145a998a8012cecc4c0072354e8001e00f02d..."} 
[2026-10-16 22:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145a998a8012cecc4c0072354e8001e00f02d..."} 
[2026-10-16 22:33:33] local.INFO: Processing buffer {"connection_id":217204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145a998a8012cecc4c0072354e8001e00f02d..."} 
[2026-10-16 22:33:33] local.INFO: Packet analysis {"connection_id":217204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145a9"} 
[2026-10-16 22:33:33] local.INFO: Extracted packet for processing {"connection_id":217204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145a9"} 
[2026-10-16 22:33:33] local.INFO: GPS Element Parsed {"raw_longitude":753714368,"raw_latitude":119756008,"longitude_deg":75.3714368,"latitude_deg":11.9756008,"altitude":30,"angle":240,"satellites":45,"speed":27,"hex_longitude":"2cecc4c0","hex_latitude":"072354e8","is_valid_coordinates":true} 
[2026-10-16 22:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:33:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,235,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792170105000,"timestamp_ms":1792170105000,"timestamp_seconds":1792170105,"priority":1,"record_length":96,"hex_timestamp":"000001a145a998a8"} 
[2026-10-16 22:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 22:33:33] 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-10-16 22:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":217204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":217204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":217204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27267,"235":206,"2":54272,"24":27,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16]} 
[2026-10-16 22:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:33:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-16 22:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:33:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27267,"unknown_235":206,"power_alt":54272,"ignition":27,"odometer":null}} 
[2026-10-16 22:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":217204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:33:33] local.INFO: GPS data processed {"connection_id":217204,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:33:33] local.INFO: Acknowledgment sent {"connection_id":217204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:34:02] local.INFO: TCP Data received {"connection_id":217205,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:02] local.INFO: Processing buffer {"connection_id":217205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:02] local.INFO: IMEI packet received {"connection_id":217205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":217205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:34:04] local.INFO: TCP Data received {"connection_id":217205,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:04] local.INFO: Processing buffer {"connection_id":217205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:04] local.INFO: IMEI packet received {"connection_id":217205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":217205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:34:06] local.INFO: TCP Data received {"connection_id":217205,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:06] local.INFO: Processing buffer {"connection_id":217205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:06] local.INFO: IMEI packet received {"connection_id":217205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":217205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:34:10] local.INFO: TCP Data received {"connection_id":217205,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145a9eab0012cec8180072340c8001e01072e..."} 
[2026-10-16 22:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145a9eab0012cec8180072340c8001e01072e..."} 
[2026-10-16 22:34:10] local.INFO: Processing buffer {"connection_id":217205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145a9eab0012cec8180072340c8001e01072e..."} 
[2026-10-16 22:34:10] local.INFO: Packet analysis {"connection_id":217205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145a9"} 
[2026-10-16 22:34:10] local.INFO: Extracted packet for processing {"connection_id":217205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145a9"} 
[2026-10-16 22:34:10] local.INFO: GPS Element Parsed {"raw_longitude":753697152,"raw_latitude":119750856,"longitude_deg":75.3697152,"latitude_deg":11.9750856,"altitude":30,"angle":263,"satellites":46,"speed":39,"hex_longitude":"2cec8180","hex_latitude":"072340c8","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795546880001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1385771648433199104,"note":"Value kept but may cause issues"} 
[2026-10-16 22:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792170126000,"timestamp_ms":1792170126000,"timestamp_seconds":1792170126,"priority":1,"record_length":96,"hex_timestamp":"000001a145a9eab0"} 
[2026-10-16 22:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:34: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-10-16 22: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":131,"data_length":795,"current_offset":136} 
[2026-10-16 22:34: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-10-16 22: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-10-16 22:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":217205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":217205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":217205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795546880001,"66":27234,"235":206,"2":54272,"24":39,"16":13211598575370240,"44":-1385771648433199104},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-10-16 22:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795546880001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:34:10] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-16 22:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1385771648433199104,"description":"Unknown IO ID 44"} 
[2026-10-16 22:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795546880001,"power":27234,"unknown_235":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1385771648433199104}} 
[2026-10-16 22:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":217205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:34:10] local.INFO: GPS data processed {"connection_id":217205,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:34:10] local.INFO: Acknowledgment sent {"connection_id":217205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:34:13] local.INFO: TCP Data received {"connection_id":217205,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145aa34e8012cec380007232e10001600f02d..."} 
[2026-10-16 22:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145aa34e8012cec380007232e10001600f02d..."} 
[2026-10-16 22:34:13] local.INFO: Processing buffer {"connection_id":217205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145aa34e8012cec380007232e10001600f02d..."} 
[2026-10-16 22:34:13] local.INFO: Packet analysis {"connection_id":217205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145aa"} 
[2026-10-16 22:34:13] local.INFO: Extracted packet for processing {"connection_id":217205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145aa"} 
[2026-10-16 22:34:13] local.INFO: GPS Element Parsed {"raw_longitude":753678336,"raw_latitude":119746064,"longitude_deg":75.3678336,"latitude_deg":11.9746064,"altitude":22,"angle":240,"satellites":45,"speed":42,"hex_longitude":"2cec3800","hex_latitude":"07232e10","is_valid_coordinates":true} 
[2026-10-16 22:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795552256001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1404700840618309632,"note":"Value kept but may cause issues"} 
[2026-10-16 22:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792170145000,"timestamp_ms":1792170145000,"timestamp_seconds":1792170145,"priority":1,"record_length":96,"hex_timestamp":"000001a145aa34e8"} 
[2026-10-16 22:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:34: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-10-16 22:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 22:34:13] 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-10-16 22: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-10-16 22:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":217205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":217205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":217205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795552256001,"66":27115,"235":206,"2":54272,"24":42,"16":13211598575370240,"44":-1404700840618309632},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-10-16 22:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795552256001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:34:13] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-16 22:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1404700840618309632,"description":"Unknown IO ID 44"} 
[2026-10-16 22:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795552256001,"power":27115,"unknown_235":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-1404700840618309632}} 
[2026-10-16 22:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":217205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1424,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:34:13] local.INFO: GPS data processed {"connection_id":217205,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:34:13] local.INFO: Acknowledgment sent {"connection_id":217205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:34:49] local.INFO: TCP Data received {"connection_id":216985,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:49] local.INFO: Processing buffer {"connection_id":216985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:49] local.INFO: IMEI packet received {"connection_id":216985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":216985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:34:55] local.INFO: TCP Data received {"connection_id":216985,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:55] local.INFO: Processing buffer {"connection_id":216985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:34:55] local.INFO: IMEI packet received {"connection_id":216985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":216985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:34:56] local.INFO: TCP Data received {"connection_id":216985,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145aa86f0012cebfe4007230da0001700f231..."} 
[2026-10-16 22:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145aa86f0012cebfe4007230da0001700f231..."} 
[2026-10-16 22:34:56] local.INFO: Processing buffer {"connection_id":216985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145aa86f0012cebfe4007230da0001700f231..."} 
[2026-10-16 22:34:56] local.INFO: Packet analysis {"connection_id":216985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145aa"} 
[2026-10-16 22:34:56] local.INFO: Extracted packet for processing {"connection_id":216985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145aa"} 
[2026-10-16 22:34:56] local.INFO: GPS Element Parsed {"raw_longitude":753663552,"raw_latitude":119737760,"longitude_deg":75.3663552,"latitude_deg":11.973776,"altitude":23,"angle":242,"satellites":49,"speed":0,"hex_longitude":"2cebfe40","hex_latitude":"07230da0","is_valid_coordinates":true} 
[2026-10-16 22:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795557120001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:34:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1425389251407769600,"note":"Value kept but may cause issues"} 
[2026-10-16 22:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792170166000,"timestamp_ms":1792170166000,"timestamp_seconds":1792170166,"priority":1,"record_length":96,"hex_timestamp":"000001a145aa86f0"} 
[2026-10-16 22:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 22:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795557120001,"66":27115,"235":206,"2":54272,"24":0,"16":13211598575370240,"44":-1425389251407769600},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-10-16 22:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795557120001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:34:56] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-10-16 22:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:34:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1425389251407769600,"description":"Unknown IO ID 44"} 
[2026-10-16 22:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795557120001,"power":27115,"unknown_235":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1425389251407769600}} 
[2026-10-16 22:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":216985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:34:56] local.INFO: GPS data processed {"connection_id":216985,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:34:56] local.INFO: Acknowledgment sent {"connection_id":216985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:35:29] local.INFO: TCP Data received {"connection_id":216985,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145aac958012cebc3800722e700001600e231..."} 
[2026-10-16 22:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145aac958012cebc3800722e700001600e231..."} 
[2026-10-16 22:35:29] local.INFO: Processing buffer {"connection_id":216985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145aac958012cebc3800722e700001600e231..."} 
[2026-10-16 22:35:29] local.INFO: Packet analysis {"connection_id":216985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145aa"} 
[2026-10-16 22:35:29] local.INFO: Extracted packet for processing {"connection_id":216985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145aa"} 
[2026-10-16 22:35:29] local.INFO: GPS Element Parsed {"raw_longitude":753648512,"raw_latitude":119727872,"longitude_deg":75.3648512,"latitude_deg":11.9727872,"altitude":22,"angle":226,"satellites":49,"speed":38,"hex_longitude":"2cebc380","hex_latitude":"0722e700","is_valid_coordinates":true} 
[2026-10-16 22:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795562496001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:35:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1441644431314935808,"note":"Value kept but may cause issues"} 
[2026-10-16 22:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792170183000,"timestamp_ms":1792170183000,"timestamp_seconds":1792170183,"priority":1,"record_length":96,"hex_timestamp":"000001a145aac958"} 
[2026-10-16 22:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 22:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795562496001,"66":27213,"250":206,"2":54272,"24":38,"16":13211598575370240,"44":-1441644431314935808},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,2,24,16,44]} 
[2026-10-16 22:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795562496001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:35:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1441644431314935808,"description":"Unknown IO ID 44"} 
[2026-10-16 22:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795562496001,"power":27213,"unknown_250":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1441644431314935808}} 
[2026-10-16 22:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":216985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:35:29] local.INFO: GPS data processed {"connection_id":216985,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:35:29] local.INFO: Acknowledgment sent {"connection_id":216985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:35:55] local.INFO: TCP Data received {"connection_id":216986,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:35:55] local.INFO: Processing buffer {"connection_id":216986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:35:55] local.INFO: IMEI packet received {"connection_id":216986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":216986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:35:56] local.INFO: TCP Data received {"connection_id":216986,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:35:56] local.INFO: Processing buffer {"connection_id":216986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:35:56] local.INFO: IMEI packet received {"connection_id":216986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":216986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:35:59] local.INFO: TCP Data received {"connection_id":216986,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145ab1b60012ceb8b800722bbd0001300e72b..."} 
[2026-10-16 22:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145ab1b60012ceb8b800722bbd0001300e72b..."} 
[2026-10-16 22:35:59] local.INFO: Processing buffer {"connection_id":216986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145ab1b60012ceb8b800722bbd0001300e72b..."} 
[2026-10-16 22:35:59] local.INFO: Packet analysis {"connection_id":216986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ab"} 
[2026-10-16 22:35:59] local.INFO: Extracted packet for processing {"connection_id":216986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ab"} 
[2026-10-16 22:35:59] local.INFO: GPS Element Parsed {"raw_longitude":753634176,"raw_latitude":119716816,"longitude_deg":75.3634176,"latitude_deg":11.9716816,"altitude":19,"angle":231,"satellites":43,"speed":0,"hex_longitude":"2ceb8b80","hex_latitude":"0722bbd0","is_valid_coordinates":true} 
[2026-10-16 22:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795566848001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:35:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1458181086199218176,"note":"Value kept but may cause issues"} 
[2026-10-16 22:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792170204000,"timestamp_ms":1792170204000,"timestamp_seconds":1792170204,"priority":1,"record_length":96,"hex_timestamp":"000001a145ab1b60"} 
[2026-10-16 22:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 22:35: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-10-16 22:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":216986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":216986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":216986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795566848001,"66":27050,"110":206,"2":54272,"24":0,"16":13211598575370240,"44":-1458181086199218176},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-10-16 22:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795566848001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:35:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 22:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:35:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1458181086199218176,"description":"Unknown IO ID 44"} 
[2026-10-16 22:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795566848001,"power":27050,"unknown_110":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1458181086199218176}} 
[2026-10-16 22:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":216986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:35:59] local.INFO: GPS data processed {"connection_id":216986,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:35:59] local.INFO: Acknowledgment sent {"connection_id":216986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:36:01] local.INFO: TCP Data received {"connection_id":216986,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145ab6d68012ceb5600072296b8000c00e629..."} 
[2026-10-16 22:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145ab6d68012ceb5600072296b8000c00e629..."} 
[2026-10-16 22:36:01] local.INFO: Processing buffer {"connection_id":216986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145ab6d68012ceb5600072296b8000c00e629..."} 
[2026-10-16 22:36:01] local.INFO: Packet analysis {"connection_id":216986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ab"} 
[2026-10-16 22:36:01] local.INFO: Extracted packet for processing {"connection_id":216986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ab"} 
[2026-10-16 22:36:01] local.INFO: GPS Element Parsed {"raw_longitude":753620480,"raw_latitude":119707320,"longitude_deg":75.362048,"latitude_deg":11.970732,"altitude":12,"angle":230,"satellites":41,"speed":37,"hex_longitude":"2ceb5600","hex_latitude":"072296b8","is_valid_coordinates":true} 
[2026-10-16 22:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795572224001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1473943684897845248,"note":"Value kept but may cause issues"} 
[2026-10-16 22:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792170225000,"timestamp_ms":1792170225000,"timestamp_seconds":1792170225,"priority":1,"record_length":96,"hex_timestamp":"000001a145ab6d68"} 
[2026-10-16 22:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 22:36:01] 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-10-16 22:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795572224001,"66":27245,"110":206,"2":54272,"24":37,"16":13211598575370240,"44":-1473943684897845248},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-10-16 22:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795572224001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:36:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 22:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1473943684897845248,"description":"Unknown IO ID 44"} 
[2026-10-16 22:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795572224001,"power":27245,"unknown_110":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1473943684897845248}} 
[2026-10-16 22:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":216986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:36:01] local.INFO: GPS data processed {"connection_id":216986,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:36:01] local.INFO: Acknowledgment sent {"connection_id":216986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:36:34] local.INFO: TCP Data received {"connection_id":216986,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145abb3b8012ceb268007225b00000c00d22b..."} 
[2026-10-16 22:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145abb3b8012ceb268007225b00000c00d22b..."} 
[2026-10-16 22:36:34] local.INFO: Processing buffer {"connection_id":216986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145abb3b8012ceb268007225b00000c00d22b..."} 
[2026-10-16 22:36:34] local.INFO: Packet analysis {"connection_id":216986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ab"} 
[2026-10-16 22:36:34] local.INFO: Extracted packet for processing {"connection_id":216986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ab"} 
[2026-10-16 22:36:34] local.INFO: GPS Element Parsed {"raw_longitude":753608320,"raw_latitude":119692032,"longitude_deg":75.360832,"latitude_deg":11.9692032,"altitude":12,"angle":210,"satellites":43,"speed":44,"hex_longitude":"2ceb2680","hex_latitude":"07225b00","is_valid_coordinates":true} 
[2026-10-16 22:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795577600001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:36:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1489002596154296320,"note":"Value kept but may cause issues"} 
[2026-10-16 22:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792170243000,"timestamp_ms":1792170243000,"timestamp_seconds":1792170243,"priority":1,"record_length":96,"hex_timestamp":"000001a145abb3b8"} 
[2026-10-16 22:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 22:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":216986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":216986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":216986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795577600001,"66":26908,"110":206,"2":54272,"24":44,"16":13211598575370240,"44":-1489002596154296320},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-10-16 22:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795577600001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:36:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 22:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:36:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1489002596154296320,"description":"Unknown IO ID 44"} 
[2026-10-16 22:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795577600001,"power":26908,"unknown_110":206,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-1489002596154296320}} 
[2026-10-16 22:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":216986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:36:34] local.INFO: GPS data processed {"connection_id":216986,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:36:34] local.INFO: Acknowledgment sent {"connection_id":216986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:36:50] local.INFO: TCP Data received {"connection_id":220280,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:36:50] local.INFO: Processing buffer {"connection_id":220280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:36:50] local.INFO: IMEI packet received {"connection_id":220280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":220280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:36:52] local.INFO: TCP Data received {"connection_id":220280,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:36:52] local.INFO: Processing buffer {"connection_id":220280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:36:52] local.INFO: IMEI packet received {"connection_id":220280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":220280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:36:55] local.INFO: TCP Data received {"connection_id":220280,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145ac05c0012ceb00c007221bd0000b00d52d..."} 
[2026-10-16 22:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145ac05c0012ceb00c007221bd0000b00d52d..."} 
[2026-10-16 22:36:55] local.INFO: Processing buffer {"connection_id":220280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145ac05c0012ceb00c007221bd0000b00d52d..."} 
[2026-10-16 22:36:55] local.INFO: Packet analysis {"connection_id":220280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ac"} 
[2026-10-16 22:36:55] local.INFO: Extracted packet for processing {"connection_id":220280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ac"} 
[2026-10-16 22:36:55] local.INFO: GPS Element Parsed {"raw_longitude":753598656,"raw_latitude":119675856,"longitude_deg":75.3598656,"latitude_deg":11.9675856,"altitude":11,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2ceb00c0","hex_latitude":"07221bd0","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795582208001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:36:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1502372657551966208,"note":"Value kept but may cause issues"} 
[2026-10-16 22:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792170264000,"timestamp_ms":1792170264000,"timestamp_seconds":1792170264,"priority":1,"record_length":96,"hex_timestamp":"000001a145ac05c0"} 
[2026-10-16 22:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-16 22:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22: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-10-16 22:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":220280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":220280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":220280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795582208001,"66":26560,"110":206,"2":54272,"24":0,"16":13211598575370240,"44":-1502372657551966208},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-10-16 22:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795582208001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:36:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 22:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:36:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1502372657551966208,"description":"Unknown IO ID 44"} 
[2026-10-16 22:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795582208001,"power":26560,"unknown_110":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1502372657551966208}} 
[2026-10-16 22:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":220280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1430,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:36:55] local.INFO: GPS data processed {"connection_id":220280,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:36:55] local.INFO: Acknowledgment sent {"connection_id":220280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:37:27] local.INFO: TCP Data received {"connection_id":220280,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145ac53e0012ceb03c00721d438000900a52e..."} 
[2026-10-16 22:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145ac53e0012ceb03c00721d438000900a52e..."} 
[2026-10-16 22:37:27] local.INFO: Processing buffer {"connection_id":220280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145ac53e0012ceb03c00721d438000900a52e..."} 
[2026-10-16 22:37:27] local.INFO: Packet analysis {"connection_id":220280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ac"} 
[2026-10-16 22:37:27] local.INFO: Extracted packet for processing {"connection_id":220280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ac"} 
[2026-10-16 22:37:27] local.INFO: GPS Element Parsed {"raw_longitude":753599424,"raw_latitude":119657528,"longitude_deg":75.3599424,"latitude_deg":11.9657528,"altitude":9,"angle":165,"satellites":46,"speed":46,"hex_longitude":"2ceb03c0","hex_latitude":"0721d438","is_valid_coordinates":true} 
[2026-10-16 22:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795587584001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:37:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512998337926934528,"note":"Value kept but may cause issues"} 
[2026-10-16 22:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792170284000,"timestamp_ms":1792170284000,"timestamp_seconds":1792170284,"priority":1,"record_length":96,"hex_timestamp":"000001a145ac53e0"} 
[2026-10-16 22:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:37: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-10-16 22:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 22:37:27] 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-10-16 22:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795587584001,"66":27343,"110":206,"2":54272,"24":46,"16":13211598575370240,"44":-1512998337926934528},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-10-16 22:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795587584001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:37:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-10-16 22:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:37:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512998337926934528,"description":"Unknown IO ID 44"} 
[2026-10-16 22:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795587584001,"power":27343,"unknown_110":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-1512998337926934528}} 
[2026-10-16 22:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":220280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:37:27] local.INFO: GPS data processed {"connection_id":220280,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:37:27] local.INFO: Acknowledgment sent {"connection_id":220280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:37:50] local.INFO: TCP Data received {"connection_id":217206,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:37:50] local.INFO: Processing buffer {"connection_id":217206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:37:50] local.INFO: IMEI packet received {"connection_id":217206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":217206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:37:55] local.INFO: TCP Data received {"connection_id":217206,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:37:55] local.INFO: Processing buffer {"connection_id":217206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:37:55] local.INFO: IMEI packet received {"connection_id":217206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":217206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:37:58] local.INFO: TCP Data received {"connection_id":217206,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145ac9648012ceb0f0007218848000900c129..."} 
[2026-10-16 22:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145ac9648012ceb0f0007218848000900c129..."} 
[2026-10-16 22:37:58] local.INFO: Processing buffer {"connection_id":217206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145ac9648012ceb0f0007218848000900c129..."} 
[2026-10-16 22:37:58] local.INFO: Packet analysis {"connection_id":217206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ac"} 
[2026-10-16 22:37:58] local.INFO: Extracted packet for processing {"connection_id":217206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ac"} 
[2026-10-16 22:37:58] local.INFO: GPS Element Parsed {"raw_longitude":753602304,"raw_latitude":119638088,"longitude_deg":75.3602304,"latitude_deg":11.9638088,"altitude":9,"angle":193,"satellites":41,"speed":45,"hex_longitude":"2ceb0f00","hex_latitude":"07218848","is_valid_coordinates":true} 
[2026-10-16 22:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795592704001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:37:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512153913001494528,"note":"Value kept but may cause issues"} 
[2026-10-16 22:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792170301000,"timestamp_ms":1792170301000,"timestamp_seconds":1792170301,"priority":1,"record_length":96,"hex_timestamp":"000001a145ac9648"} 
[2026-10-16 22:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 22:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795592704001,"66":27234,"112":206,"2":54272,"24":45,"16":13211598575370240,"44":-1512153913001494528},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,2,24,16,44]} 
[2026-10-16 22:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795592704001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:37:58] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-16 22:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:37:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512153913001494528,"description":"Unknown IO ID 44"} 
[2026-10-16 22:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795592704001,"power":27234,"unknown_112":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1512153913001494528}} 
[2026-10-16 22:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":217206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:37:58] local.INFO: GPS data processed {"connection_id":217206,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:37:58] local.INFO: Acknowledgment sent {"connection_id":217206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:38:30] local.INFO: TCP Data received {"connection_id":217206,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145acd8b0012ceae38007214548000900f22d..."} 
[2026-10-16 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145acd8b0012ceae38007214548000900f22d..."} 
[2026-10-16 22:38:30] local.INFO: Processing buffer {"connection_id":217206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145acd8b0012ceae38007214548000900f22d..."} 
[2026-10-16 22:38:30] local.INFO: Packet analysis {"connection_id":217206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ac"} 
[2026-10-16 22:38:30] local.INFO: Extracted packet for processing {"connection_id":217206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ac"} 
[2026-10-16 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":753591168,"raw_latitude":119620936,"longitude_deg":75.3591168,"latitude_deg":11.9620936,"altitude":9,"angle":242,"satellites":45,"speed":49,"hex_longitude":"2ceae380","hex_latitude":"07214548","is_valid_coordinates":true} 
[2026-10-16 22:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795597056001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1508987319518476288,"note":"Value kept but may cause issues"} 
[2026-10-16 22:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792170318000,"timestamp_ms":1792170318000,"timestamp_seconds":1792170318,"priority":1,"record_length":96,"hex_timestamp":"000001a145acd8b0"} 
[2026-10-16 22:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 22:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795597056001,"66":27300,"112":206,"2":54272,"24":49,"16":13211598575370240,"44":-1508987319518476288},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,2,24,16,44]} 
[2026-10-16 22:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795597056001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:38:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-10-16 22:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1508987319518476288,"description":"Unknown IO ID 44"} 
[2026-10-16 22:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795597056001,"power":27300,"unknown_112":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-1508987319518476288}} 
[2026-10-16 22:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":217206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:38:30] local.INFO: GPS data processed {"connection_id":217206,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:38:30] local.INFO: Acknowledgment sent {"connection_id":217206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:38:50] local.INFO: TCP Data received {"connection_id":216987,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:38:50] local.INFO: Processing buffer {"connection_id":216987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:38:50] local.INFO: IMEI packet received {"connection_id":216987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":216987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:38:55] local.INFO: TCP Data received {"connection_id":216987,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:38:55] local.INFO: Processing buffer {"connection_id":216987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:38:55] local.INFO: IMEI packet received {"connection_id":216987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":216987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:38:56] local.INFO: TCP Data received {"connection_id":216987,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145ad2ab8012cea9640072129f0000900ee24..."} 
[2026-10-16 22:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145ad2ab8012cea9640072129f0000900ee24..."} 
[2026-10-16 22:38:56] local.INFO: Processing buffer {"connection_id":216987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145ad2ab8012cea9640072129f0000900ee24..."} 
[2026-10-16 22:38:56] local.INFO: Packet analysis {"connection_id":216987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ad"} 
[2026-10-16 22:38:56] local.INFO: Extracted packet for processing {"connection_id":216987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ad"} 
[2026-10-16 22:38:56] local.INFO: GPS Element Parsed {"raw_longitude":753571392,"raw_latitude":119613936,"longitude_deg":75.3571392,"latitude_deg":11.9613936,"altitude":9,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cea9640","hex_latitude":"072129f0","is_valid_coordinates":true} 
[2026-10-16 22:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795601408001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:38:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1521231481009780736,"note":"Value kept but may cause issues"} 
[2026-10-16 22:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792170339000,"timestamp_ms":1792170339000,"timestamp_seconds":1792170339,"priority":1,"record_length":96,"hex_timestamp":"000001a145ad2ab8"} 
[2026-10-16 22:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 22:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795601408001,"66":27441,"6":206,"2":54272,"24":0,"16":13211598575370240,"44":-1521231481009780736},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-10-16 22:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795601408001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:38:56] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-16 22:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:38:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1521231481009780736,"description":"Unknown IO ID 44"} 
[2026-10-16 22:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795601408001,"power":27441,"unknown_6":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1521231481009780736}} 
[2026-10-16 22:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":216987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:38:56] local.INFO: GPS data processed {"connection_id":216987,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:38:56] local.INFO: Acknowledgment sent {"connection_id":216987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:39:28] local.INFO: TCP Data received {"connection_id":216987,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145af7890012cea5840071f8538000b00ad2a..."} 
[2026-10-16 22:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145af7890012cea5840071f8538000b00ad2a..."} 
[2026-10-16 22:39:28] local.INFO: Processing buffer {"connection_id":216987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145af7890012cea5840071f8538000b00ad2a..."} 
[2026-10-16 22:39:28] local.INFO: Packet analysis {"connection_id":216987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145af"} 
[2026-10-16 22:39:28] local.INFO: Extracted packet for processing {"connection_id":216987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145af"} 
[2026-10-16 22:39:28] local.INFO: GPS Element Parsed {"raw_longitude":753555520,"raw_latitude":119506232,"longitude_deg":75.355552,"latitude_deg":11.9506232,"altitude":11,"angle":173,"satellites":42,"speed":35,"hex_longitude":"2cea5840","hex_latitude":"071f8538","is_valid_coordinates":true} 
[2026-10-16 22:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:39:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,6,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792170490000,"timestamp_ms":1792170490000,"timestamp_seconds":1792170490,"priority":1,"record_length":96,"hex_timestamp":"000001a145af7890"} 
[2026-10-16 22:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 22:39:28] 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-10-16 22:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27245,"6":206,"2":54272,"24":35,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16]} 
[2026-10-16 22:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:39:28] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-16 22:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:39:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27245,"unknown_6":206,"power_alt":54272,"ignition":35,"odometer":null}} 
[2026-10-16 22:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":216987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:39:28] local.INFO: GPS data processed {"connection_id":216987,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:39:28] local.INFO: Acknowledgment sent {"connection_id":216987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:39:55] local.INFO: TCP Data received {"connection_id":217207,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:39:55] local.INFO: Processing buffer {"connection_id":217207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:39:55] local.INFO: IMEI packet received {"connection_id":217207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":217207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:39:56] local.INFO: TCP Data received {"connection_id":217207,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:39:56] local.INFO: Processing buffer {"connection_id":217207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:39:56] local.INFO: IMEI packet received {"connection_id":217207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":217207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:40:00] local.INFO: TCP Data received {"connection_id":217207,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:00] local.INFO: Processing buffer {"connection_id":217207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:00] local.INFO: IMEI packet received {"connection_id":217207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":217207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:40:02] local.INFO: TCP Data received {"connection_id":217207,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145afca98012cea5e80071f5690000a00e62d..."} 
[2026-10-16 22:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145afca98012cea5e80071f5690000a00e62d..."} 
[2026-10-16 22:40:02] local.INFO: Processing buffer {"connection_id":217207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145afca98012cea5e80071f5690000a00e62d..."} 
[2026-10-16 22:40:02] local.INFO: Packet analysis {"connection_id":217207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145af"} 
[2026-10-16 22:40:02] local.INFO: Extracted packet for processing {"connection_id":217207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145af"} 
[2026-10-16 22:40:02] local.INFO: GPS Element Parsed {"raw_longitude":753557120,"raw_latitude":119494288,"longitude_deg":75.355712,"latitude_deg":11.9494288,"altitude":10,"angle":230,"satellites":45,"speed":16,"hex_longitude":"2cea5e80","hex_latitude":"071f5690","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795645440001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1560426871546103808,"note":"Value kept but may cause issues"} 
[2026-10-16 22:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792170511000,"timestamp_ms":1792170511000,"timestamp_seconds":1792170511,"priority":1,"record_length":96,"hex_timestamp":"000001a145afca98"} 
[2026-10-16 22:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22: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":109,"data_length":795,"current_offset":136} 
[2026-10-16 22:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22: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-10-16 22:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":217207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":217207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":217207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795645440001,"66":27245,"6":206,"2":54272,"24":16,"16":13211598575370240,"44":-1560426871546103808},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-10-16 22:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795645440001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:40:02] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-16 22:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1560426871546103808,"description":"Unknown IO ID 44"} 
[2026-10-16 22:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795645440001,"power":27245,"unknown_6":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1560426871546103808}} 
[2026-10-16 22:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":217207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:40:02] local.INFO: GPS data processed {"connection_id":217207,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:40:02] local.INFO: Acknowledgment sent {"connection_id":217207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:40:07] local.INFO: TCP Data received {"connection_id":217207,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145afca98012cea5e80071f5690000a00e62d..."} 
[2026-10-16 22:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145afca98012cea5e80071f5690000a00e62d..."} 
[2026-10-16 22:40:07] local.INFO: Processing buffer {"connection_id":217207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145afca98012cea5e80071f5690000a00e62d..."} 
[2026-10-16 22:40:07] local.INFO: Packet analysis {"connection_id":217207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145af"} 
[2026-10-16 22:40:07] local.INFO: Extracted packet for processing {"connection_id":217207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145af"} 
[2026-10-16 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":753557120,"raw_latitude":119494288,"longitude_deg":75.355712,"latitude_deg":11.9494288,"altitude":10,"angle":230,"satellites":45,"speed":16,"hex_longitude":"2cea5e80","hex_latitude":"071f5690","is_valid_coordinates":true} 
[2026-10-16 22:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795650816001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:40:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558667652944719872,"note":"Value kept but may cause issues"} 
[2026-10-16 22:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792170511000,"timestamp_ms":1792170511000,"timestamp_seconds":1792170511,"priority":1,"record_length":96,"hex_timestamp":"000001a145afca98"} 
[2026-10-16 22:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:40: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-10-16 22:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 22:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":217207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":217207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":217207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795650816001,"66":27245,"6":206,"2":54272,"24":16,"16":13211598575370240,"44":-1558667652944719872},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-10-16 22:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795650816001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:40:07] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-16 22:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:40:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1558667652944719872,"description":"Unknown IO ID 44"} 
[2026-10-16 22:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795650816001,"power":27245,"unknown_6":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1558667652944719872}} 
[2026-10-16 22:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":217207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:40:07] local.INFO: GPS data processed {"connection_id":217207,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:40:07] local.INFO: Acknowledgment sent {"connection_id":217207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:40:48] local.INFO: TCP Data received {"connection_id":218544,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:48] local.INFO: Processing buffer {"connection_id":218544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:48] local.INFO: IMEI packet received {"connection_id":218544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":218544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:40:50] local.INFO: TCP Data received {"connection_id":218544,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:50] local.INFO: Processing buffer {"connection_id":218544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:50] local.INFO: IMEI packet received {"connection_id":218544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":218544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:40:55] local.INFO: TCP Data received {"connection_id":218544,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:55] local.INFO: Processing buffer {"connection_id":218544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:40:55] local.INFO: IMEI packet received {"connection_id":218544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":218544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:41:00] local.INFO: TCP Data received {"connection_id":218544,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b0ad280100000000000000000000000000..."} 
[2026-10-16 22:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b0ad280100000000000000000000000000..."} 
[2026-10-16 22:41:00] local.INFO: Processing buffer {"connection_id":218544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b0ad280100000000000000000000000000..."} 
[2026-10-16 22:41:00] local.INFO: Packet analysis {"connection_id":218544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b0"} 
[2026-10-16 22:41:00] local.INFO: Extracted packet for processing {"connection_id":218544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b0"} 
[2026-10-16 22:41: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-10-16 22:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795650816001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558667652944719872,"note":"Value kept but may cause issues"} 
[2026-10-16 22:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792170569000,"timestamp_ms":1792170569000,"timestamp_seconds":1792170569,"priority":1,"record_length":96,"hex_timestamp":"000001a145b0ad28"} 
[2026-10-16 22:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 22:41:00] 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-10-16 22:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":218544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":218544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":218544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":218544,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:41:00] local.INFO: GPS data processed {"connection_id":218544,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:41:00] local.INFO: Acknowledgment sent {"connection_id":218544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:41:33] local.INFO: TCP Data received {"connection_id":218544,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b03028012cea4880071f1ab0000d00c12b..."} 
[2026-10-16 22:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b03028012cea4880071f1ab0000d00c12b..."} 
[2026-10-16 22:41:33] local.INFO: Processing buffer {"connection_id":218544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b03028012cea4880071f1ab0000d00c12b..."} 
[2026-10-16 22:41:33] local.INFO: Packet analysis {"connection_id":218544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b0"} 
[2026-10-16 22:41:33] local.INFO: Extracted packet for processing {"connection_id":218544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b0"} 
[2026-10-16 22:41:33] local.INFO: GPS Element Parsed {"raw_longitude":753551488,"raw_latitude":119478960,"longitude_deg":75.3551488,"latitude_deg":11.947896,"altitude":13,"angle":193,"satellites":43,"speed":36,"hex_longitude":"2cea4880","hex_latitude":"071f1ab0","is_valid_coordinates":true} 
[2026-10-16 22:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:41:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,7,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792170537000,"timestamp_ms":1792170537000,"timestamp_seconds":1792170537,"priority":1,"record_length":96,"hex_timestamp":"000001a145b03028"} 
[2026-10-16 22:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-10-16 22:41:33] 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-10-16 22:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":218544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":218544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":218544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27289,"7":206,"2":54272,"24":36,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,2,24,16]} 
[2026-10-16 22:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:41:33] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-10-16 22:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:41:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27289,"unknown_7":206,"power_alt":54272,"ignition":36,"odometer":null}} 
[2026-10-16 22:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":218544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:41:33] local.INFO: GPS data processed {"connection_id":218544,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:41:33] local.INFO: Acknowledgment sent {"connection_id":218544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:41:50] local.INFO: TCP Data received {"connection_id":217208,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:41:50] local.INFO: Processing buffer {"connection_id":217208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:41:50] local.INFO: IMEI packet received {"connection_id":217208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":217208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:41:51] local.INFO: TCP Data received {"connection_id":217208,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:41:51] local.INFO: Processing buffer {"connection_id":217208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:41:51] local.INFO: IMEI packet received {"connection_id":217208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":217208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:41:55] local.INFO: TCP Data received {"connection_id":217208,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:41:55] local.INFO: Processing buffer {"connection_id":217208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:41:55] local.INFO: IMEI packet received {"connection_id":217208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":217208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:41:58] local.INFO: TCP Data received {"connection_id":217208,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b08230012cea34c0071ed410000f00c830..."} 
[2026-10-16 22:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b08230012cea34c0071ed410000f00c830..."} 
[2026-10-16 22:41:58] local.INFO: Processing buffer {"connection_id":217208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b08230012cea34c0071ed410000f00c830..."} 
[2026-10-16 22:41:58] local.INFO: Packet analysis {"connection_id":217208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b0"} 
[2026-10-16 22:41:58] local.INFO: Extracted packet for processing {"connection_id":217208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b0"} 
[2026-10-16 22:41:58] local.INFO: GPS Element Parsed {"raw_longitude":753546432,"raw_latitude":119460880,"longitude_deg":75.3546432,"latitude_deg":11.946088,"altitude":15,"angle":200,"satellites":48,"speed":0,"hex_longitude":"2cea34c0","hex_latitude":"071ed410","is_valid_coordinates":true} 
[2026-10-16 22:41: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-10-16 22:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795657472001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:41:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1564860102436278272,"note":"Value kept but may cause issues"} 
[2026-10-16 22:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792170558000,"timestamp_ms":1792170558000,"timestamp_seconds":1792170558,"priority":1,"record_length":96,"hex_timestamp":"000001a145b08230"} 
[2026-10-16 22:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:41: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":153,"data_length":795,"current_offset":136} 
[2026-10-16 22:41:58] 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-10-16 22:41: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-10-16 22:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795657472001,"66":27343,"7":206,"2":54272,"24":0,"16":13211598575370240,"44":-1564860102436278272},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,2,24,16,44]} 
[2026-10-16 22:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795657472001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:41:58] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-10-16 22:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:41:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1564860102436278272,"description":"Unknown IO ID 44"} 
[2026-10-16 22:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795657472001,"power":27343,"unknown_7":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1564860102436278272}} 
[2026-10-16 22:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":217208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:41:58] local.INFO: GPS data processed {"connection_id":217208,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:41:58] local.INFO: Acknowledgment sent {"connection_id":217208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:42:30] local.INFO: TCP Data received {"connection_id":217208,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b0d438012cea2000071e8f48000d00c02c..."} 
[2026-10-16 22:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b0d438012cea2000071e8f48000d00c02c..."} 
[2026-10-16 22:42:30] local.INFO: Processing buffer {"connection_id":217208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b0d438012cea2000071e8f48000d00c02c..."} 
[2026-10-16 22:42:30] local.INFO: Packet analysis {"connection_id":217208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b0"} 
[2026-10-16 22:42:30] local.INFO: Extracted packet for processing {"connection_id":217208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b0"} 
[2026-10-16 22:42:30] local.INFO: GPS Element Parsed {"raw_longitude":753541120,"raw_latitude":119443272,"longitude_deg":75.354112,"latitude_deg":11.9443272,"altitude":13,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2cea2000","hex_latitude":"071e8f48","is_valid_coordinates":true} 
[2026-10-16 22:42: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-10-16 22:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795662848001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1570419233230942208,"note":"Value kept but may cause issues"} 
[2026-10-16 22:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792170579000,"timestamp_ms":1792170579000,"timestamp_seconds":1792170579,"priority":1,"record_length":96,"hex_timestamp":"000001a145b0d438"} 
[2026-10-16 22:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 22:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:42: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-10-16 22:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795662848001,"66":27463,"7":206,"2":54272,"24":0,"16":13211598575370240,"44":-1570419233230942208},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,2,24,16,44]} 
[2026-10-16 22:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795662848001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:42:30] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-10-16 22:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1570419233230942208,"description":"Unknown IO ID 44"} 
[2026-10-16 22:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795662848001,"power":27463,"unknown_7":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1570419233230942208}} 
[2026-10-16 22:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":217208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:42:30] local.INFO: GPS data processed {"connection_id":217208,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:42:30] local.INFO: Acknowledgment sent {"connection_id":217208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:42:33] local.INFO: TCP Data received {"connection_id":218545,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:42:33] local.INFO: Processing buffer {"connection_id":218545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:42:33] local.INFO: IMEI packet received {"connection_id":218545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":218545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:42:39] local.INFO: TCP Data received {"connection_id":218545,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:42:39] local.INFO: Processing buffer {"connection_id":218545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:42:39] local.INFO: IMEI packet received {"connection_id":218545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":218545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:42:50] local.INFO: TCP Data received {"connection_id":216988,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:42:50] local.INFO: Processing buffer {"connection_id":216988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:42:50] local.INFO: IMEI packet received {"connection_id":216988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":216988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:42:51] local.INFO: TCP Data received {"connection_id":218545,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145aed480012d7c0e0005f8fc58001001592a..."} 
[2026-10-16 22:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145aed480012d7c0e0005f8fc58001001592a..."} 
[2026-10-16 22:42:51] local.INFO: Processing buffer {"connection_id":218545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145aed480012d7c0e0005f8fc58001001592a..."} 
[2026-10-16 22:42:51] local.INFO: Packet analysis {"connection_id":218545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ae"} 
[2026-10-16 22:42:51] local.INFO: Extracted packet for processing {"connection_id":218545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ae"} 
[2026-10-16 22:42:51] local.INFO: GPS Element Parsed {"raw_longitude":763104768,"raw_latitude":100203608,"longitude_deg":76.3104768,"latitude_deg":10.0203608,"altitude":16,"angle":345,"satellites":42,"speed":19,"hex_longitude":"2d7c0e00","hex_latitude":"05f8fc58","is_valid_coordinates":true} 
[2026-10-16 22:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795629312001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15459511443652608,"note":"Value kept but may cause issues"} 
[2026-10-16 22:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940700817143545856,"note":"Value kept but may cause issues"} 
[2026-10-16 22:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792170448000,"timestamp_ms":1792170448000,"timestamp_seconds":1792170448,"priority":1,"record_length":96,"hex_timestamp":"000001a145aed480"} 
[2026-10-16 22:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:42: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-10-16 22:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 22:42:51] 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-10-16 22:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":218545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":218545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":218545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:42:51] 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-10-16 22:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795629312001,"66":27517,"2":206,"8":65024,"24":19,"16":15459511443652608,"45":8940700817143545856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,8,24,16,45]} 
[2026-10-16 22:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795629312001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:42:51] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-10-16 22:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15459511443652608,"km_value":15459511443652.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940700817143545856,"description":"Unknown IO ID 45"} 
[2026-10-16 22:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795629312001,"power":27517,"power_alt":206,"unknown_8":65024,"ignition":19,"odometer":null,"unknown_45":8940700817143545856}} 
[2026-10-16 22:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":218545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:42:51] local.INFO: GPS data processed {"connection_id":218545,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:42:51] local.INFO: Acknowledgment sent {"connection_id":218545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:42:55] local.INFO: TCP Data received {"connection_id":216988,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:42:55] local.INFO: Processing buffer {"connection_id":216988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:42:55] local.INFO: IMEI packet received {"connection_id":216988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":216988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:42:57] local.INFO: TCP Data received {"connection_id":216988,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b1b6c80100000000000000000000000000..."} 
[2026-10-16 22:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b1b6c80100000000000000000000000000..."} 
[2026-10-16 22:42:57] local.INFO: Processing buffer {"connection_id":216988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b1b6c80100000000000000000000000000..."} 
[2026-10-16 22:42:57] local.INFO: Packet analysis {"connection_id":216988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b1"} 
[2026-10-16 22:42:57] local.INFO: Extracted packet for processing {"connection_id":216988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b1"} 
[2026-10-16 22:42:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 22:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795668224001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:42:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1576259839002195968,"note":"Value kept but may cause issues"} 
[2026-10-16 22:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792170637000,"timestamp_ms":1792170637000,"timestamp_seconds":1792170637,"priority":1,"record_length":96,"hex_timestamp":"000001a145b1b6c8"} 
[2026-10-16 22:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 22:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":216988,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:42:57] local.INFO: GPS data processed {"connection_id":216988,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:42:57] local.INFO: Acknowledgment sent {"connection_id":216988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:43:08] local.INFO: TCP Data received {"connection_id":218546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:43:08] local.INFO: Processing buffer {"connection_id":218546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:43:08] local.INFO: IMEI packet received {"connection_id":218546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":218546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:43:13] local.INFO: TCP Data received {"connection_id":218546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:43:13] local.INFO: Processing buffer {"connection_id":218546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:43:13] local.INFO: IMEI packet received {"connection_id":218546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":218546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:43:14] local.INFO: TCP Data received {"connection_id":218546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145b26690012d7bf4c005f93d50000b01502f..."} 
[2026-10-16 22:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b26690012d7bf4c005f93d50000b01502f..."} 
[2026-10-16 22:43:14] local.INFO: Processing buffer {"connection_id":218546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b26690012d7bf4c005f93d50000b01502f..."} 
[2026-10-16 22:43:14] local.INFO: Packet analysis {"connection_id":218546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b2"} 
[2026-10-16 22:43:14] local.INFO: Extracted packet for processing {"connection_id":218546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b2"} 
[2026-10-16 22:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763098304,"raw_latitude":100220240,"longitude_deg":76.3098304,"latitude_deg":10.022024,"altitude":11,"angle":336,"satellites":47,"speed":0,"hex_longitude":"2d7bf4c0","hex_latitude":"05f93d50","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795689216001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15460391911948288,"note":"Value kept but may cause issues"} 
[2026-10-16 22:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931975092871450624,"note":"Value kept but may cause issues"} 
[2026-10-16 22:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792170682000,"timestamp_ms":1792170682000,"timestamp_seconds":1792170682,"priority":1,"record_length":96,"hex_timestamp":"000001a145b26690"} 
[2026-10-16 22:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:43: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-10-16 22: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-10-16 22:43:14] 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-10-16 22: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-10-16 22:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:43: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-10-16 22:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795689216001,"66":27517,"250":206,"87":12800,"24":0,"16":15460391911948288,"45":8931975092871450624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-16 22:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795689216001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:43:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:43:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-16 22:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15460391911948288,"km_value":15460391911948.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931975092871450624,"description":"Unknown IO ID 45"} 
[2026-10-16 22:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795689216001,"power":27517,"unknown_250":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8931975092871450624}} 
[2026-10-16 22:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":218546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:43:14] local.INFO: GPS data processed {"connection_id":218546,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:43:14] local.INFO: Acknowledgment sent {"connection_id":218546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:43:29] local.INFO: TCP Data received {"connection_id":216988,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b14d50012cea1140071df2f0000900b82f..."} 
[2026-10-16 22:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b14d50012cea1140071df2f0000900b82f..."} 
[2026-10-16 22:43:29] local.INFO: Processing buffer {"connection_id":216988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b14d50012cea1140071df2f0000900b82f..."} 
[2026-10-16 22:43:29] local.INFO: Packet analysis {"connection_id":216988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b1"} 
[2026-10-16 22:43:29] local.INFO: Extracted packet for processing {"connection_id":216988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b1"} 
[2026-10-16 22:43:29] local.INFO: GPS Element Parsed {"raw_longitude":753537344,"raw_latitude":119403248,"longitude_deg":75.3537344,"latitude_deg":11.9403248,"altitude":9,"angle":184,"satellites":47,"speed":39,"hex_longitude":"2cea1140","hex_latitude":"071df2f0","is_valid_coordinates":true} 
[2026-10-16 22:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:43:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,165,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792170610000,"timestamp_ms":1792170610000,"timestamp_seconds":1792170610,"priority":1,"record_length":96,"hex_timestamp":"000001a145b14d50"} 
[2026-10-16 22:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 22:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27082,"165":206,"2":54272,"24":39,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16]} 
[2026-10-16 22:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:43:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 22:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:43:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27082,"unknown_165":206,"power_alt":54272,"ignition":39,"odometer":null}} 
[2026-10-16 22:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":216988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:43:29] local.INFO: GPS data processed {"connection_id":216988,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:43:29] local.INFO: Acknowledgment sent {"connection_id":216988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:43:45] local.INFO: TCP Data received {"connection_id":218546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145b2fee8012d7bf4c005f93d50000b01502b..."} 
[2026-10-16 22:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b2fee8012d7bf4c005f93d50000b01502b..."} 
[2026-10-16 22:43:45] local.INFO: Processing buffer {"connection_id":218546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b2fee8012d7bf4c005f93d50000b01502b..."} 
[2026-10-16 22:43:45] local.INFO: Packet analysis {"connection_id":218546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b2"} 
[2026-10-16 22:43:45] local.INFO: Extracted packet for processing {"connection_id":218546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b2"} 
[2026-10-16 22:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763098304,"raw_latitude":100220240,"longitude_deg":76.3098304,"latitude_deg":10.022024,"altitude":11,"angle":336,"satellites":43,"speed":0,"hex_longitude":"2d7bf4c0","hex_latitude":"05f93d50","is_valid_coordinates":true} 
[2026-10-16 22:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795694592001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15460391911948288,"note":"Value kept but may cause issues"} 
[2026-10-16 22:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931975092871450624,"note":"Value kept but may cause issues"} 
[2026-10-16 22:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792170721000,"timestamp_ms":1792170721000,"timestamp_seconds":1792170721,"priority":1,"record_length":96,"hex_timestamp":"000001a145b2fee8"} 
[2026-10-16 22:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:43: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-10-16 22:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 22:43:45] 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-10-16 22:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":218546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":218546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":218546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795694592001,"66":27365,"250":206,"87":12800,"24":0,"16":15460391911948288,"45":8931975092871450624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-16 22:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795694592001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:43:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:43:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-16 22:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15460391911948288,"km_value":15460391911948.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931975092871450624,"description":"Unknown IO ID 45"} 
[2026-10-16 22:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795694592001,"power":27365,"unknown_250":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8931975092871450624}} 
[2026-10-16 22:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":218546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:43:45] local.INFO: GPS data processed {"connection_id":218546,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:43:45] local.INFO: Acknowledgment sent {"connection_id":218546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:43:50] local.INFO: TCP Data received {"connection_id":218547,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:43:50] local.INFO: Processing buffer {"connection_id":218547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:43:50] local.INFO: IMEI packet received {"connection_id":218547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":218547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:43:55] local.INFO: TCP Data received {"connection_id":218547,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:43:55] local.INFO: Processing buffer {"connection_id":218547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:43:55] local.INFO: IMEI packet received {"connection_id":218547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":218547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:43:57] local.INFO: TCP Data received {"connection_id":218547,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b19f58012cea0d00071db1a0000700b72d..."} 
[2026-10-16 22:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b19f58012cea0d00071db1a0000700b72d..."} 
[2026-10-16 22:43:57] local.INFO: Processing buffer {"connection_id":218547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b19f58012cea0d00071db1a0000700b72d..."} 
[2026-10-16 22:43:57] local.INFO: Packet analysis {"connection_id":218547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b1"} 
[2026-10-16 22:43:57] local.INFO: Extracted packet for processing {"connection_id":218547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b1"} 
[2026-10-16 22:43:57] local.INFO: GPS Element Parsed {"raw_longitude":753536256,"raw_latitude":119386528,"longitude_deg":75.3536256,"latitude_deg":11.9386528,"altitude":7,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2cea0d00","hex_latitude":"071db1a0","is_valid_coordinates":true} 
[2026-10-16 22:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795676160001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:43:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580411594918924288,"note":"Value kept but may cause issues"} 
[2026-10-16 22:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792170631000,"timestamp_ms":1792170631000,"timestamp_seconds":1792170631,"priority":1,"record_length":96,"hex_timestamp":"000001a145b19f58"} 
[2026-10-16 22:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:43: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-10-16 22:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 22:43:57] 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-10-16 22:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":218547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":218547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":218547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795676160001,"66":27234,"165":206,"2":54272,"24":0,"16":13211598575370240,"44":-1580411594918924288},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-10-16 22:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795676160001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:43:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-10-16 22:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:43:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580411594918924288,"description":"Unknown IO ID 44"} 
[2026-10-16 22:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795676160001,"power":27234,"unknown_165":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1580411594918924288}} 
[2026-10-16 22:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":218547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1445,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:43:57] local.INFO: GPS data processed {"connection_id":218547,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:43:57] local.INFO: Acknowledgment sent {"connection_id":218547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:44:08] local.INFO: TCP Data received {"connection_id":217209,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:44:08] local.INFO: Processing buffer {"connection_id":217209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:44:08] local.INFO: IMEI packet received {"connection_id":217209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":217209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:44:13] local.INFO: TCP Data received {"connection_id":217209,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:44:13] local.INFO: Processing buffer {"connection_id":217209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:44:13] local.INFO: IMEI packet received {"connection_id":217209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":217209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:44:18] local.INFO: TCP Data received {"connection_id":217209,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145b350f0012d7bf4c005f93d50000b01502e..."} 
[2026-10-16 22:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b350f0012d7bf4c005f93d50000b01502e..."} 
[2026-10-16 22:44:18] local.INFO: Processing buffer {"connection_id":217209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b350f0012d7bf4c005f93d50000b01502e..."} 
[2026-10-16 22:44:18] local.INFO: Packet analysis {"connection_id":217209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b3"} 
[2026-10-16 22:44:18] local.INFO: Extracted packet for processing {"connection_id":217209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b3"} 
[2026-10-16 22:44:18] local.INFO: GPS Element Parsed {"raw_longitude":763098304,"raw_latitude":100220240,"longitude_deg":76.3098304,"latitude_deg":10.022024,"altitude":11,"angle":336,"satellites":46,"speed":0,"hex_longitude":"2d7bf4c0","hex_latitude":"05f93d50","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795704576001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15460391911948288,"note":"Value kept but may cause issues"} 
[2026-10-16 22:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931975092871450624,"note":"Value kept but may cause issues"} 
[2026-10-16 22:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792170742000,"timestamp_ms":1792170742000,"timestamp_seconds":1792170742,"priority":1,"record_length":96,"hex_timestamp":"000001a145b350f0"} 
[2026-10-16 22:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:44: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-10-16 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 22:44:18] 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-10-16 22: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-10-16 22:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":217209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":217209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":217209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:44:18] 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-10-16 22:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795704576001,"66":27321,"250":206,"87":12800,"24":0,"16":15460391911948288,"45":8931975092871450624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-16 22:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795704576001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:44:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:44:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-16 22:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15460391911948288,"km_value":15460391911948.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931975092871450624,"description":"Unknown IO ID 45"} 
[2026-10-16 22:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795704576001,"power":27321,"unknown_250":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8931975092871450624}} 
[2026-10-16 22:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":217209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:44:18] local.INFO: GPS data processed {"connection_id":217209,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:44:18] local.INFO: Acknowledgment sent {"connection_id":217209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:44:33] local.INFO: TCP Data received {"connection_id":218547,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b42bb0012ce9f3c0071c3190000a00b023..."} 
[2026-10-16 22:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b42bb0012ce9f3c0071c3190000a00b023..."} 
[2026-10-16 22:44:33] local.INFO: Processing buffer {"connection_id":218547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b42bb0012ce9f3c0071c3190000a00b023..."} 
[2026-10-16 22:44:33] local.INFO: Packet analysis {"connection_id":218547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:44:33] local.INFO: Extracted packet for processing {"connection_id":218547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:44:33] local.INFO: GPS Element Parsed {"raw_longitude":753529792,"raw_latitude":119288208,"longitude_deg":75.3529792,"latitude_deg":11.9288208,"altitude":10,"angle":176,"satellites":35,"speed":22,"hex_longitude":"2ce9f3c0","hex_latitude":"071c3190","is_valid_coordinates":true} 
[2026-10-16 22:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:44:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792170798000,"timestamp_ms":1792170798000,"timestamp_seconds":1792170798,"priority":1,"record_length":96,"hex_timestamp":"000001a145b42bb0"} 
[2026-10-16 22:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 22:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":218547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":218547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":218547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26876,"162":206,"2":54272,"24":22,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16]} 
[2026-10-16 22:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:44:33] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-16 22:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:44:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26876,"unknown_162":206,"power_alt":54272,"ignition":22,"odometer":null}} 
[2026-10-16 22:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":218547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:44:33] local.INFO: GPS data processed {"connection_id":218547,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:44:33] local.INFO: Acknowledgment sent {"connection_id":218547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:44:49] local.INFO: TCP Data received {"connection_id":217209,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145b3a2f8012d7bed8005f94b10000a014a2d..."} 
[2026-10-16 22:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b3a2f8012d7bed8005f94b10000a014a2d..."} 
[2026-10-16 22:44:49] local.INFO: Processing buffer {"connection_id":217209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b3a2f8012d7bed8005f94b10000a014a2d..."} 
[2026-10-16 22:44:49] local.INFO: Packet analysis {"connection_id":217209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b3"} 
[2026-10-16 22:44:49] local.INFO: Extracted packet for processing {"connection_id":217209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b3"} 
[2026-10-16 22:44:49] local.INFO: GPS Element Parsed {"raw_longitude":763096448,"raw_latitude":100223760,"longitude_deg":76.3096448,"latitude_deg":10.022376,"altitude":10,"angle":330,"satellites":45,"speed":12,"hex_longitude":"2d7bed80","hex_latitude":"05f94b10","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795709952001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15460585185476608,"note":"Value kept but may cause issues"} 
[2026-10-16 22:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931975092871450624,"note":"Value kept but may cause issues"} 
[2026-10-16 22:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1792170763000,"timestamp_ms":1792170763000,"timestamp_seconds":1792170763,"priority":1,"record_length":96,"hex_timestamp":"000001a145b3a2f8"} 
[2026-10-16 22:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:44: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-10-16 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 22:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22: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-10-16 22:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":217209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":217209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":217209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:44: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-10-16 22:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795709952001,"66":27332,"250":206,"87":12800,"24":12,"16":15460585185476608,"45":8931975092871450624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-16 22:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795709952001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:44:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:44:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-16 22:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15460585185476608,"km_value":15460585185476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931975092871450624,"description":"Unknown IO ID 45"} 
[2026-10-16 22:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795709952001,"power":27332,"unknown_250":206,"unknown_87":12800,"ignition":12,"odometer":null,"unknown_45":8931975092871450624}} 
[2026-10-16 22:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":217209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:44:49] local.INFO: GPS data processed {"connection_id":217209,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:44:49] local.INFO: Acknowledgment sent {"connection_id":217209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:44:55] local.INFO: TCP Data received {"connection_id":217210,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:44:55] local.INFO: Processing buffer {"connection_id":217210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:44:55] local.INFO: IMEI packet received {"connection_id":217210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":217210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:45:00] local.INFO: TCP Data received {"connection_id":217210,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:45:00] local.INFO: Processing buffer {"connection_id":217210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:45:00] local.INFO: IMEI packet received {"connection_id":217210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":217210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:45:02] local.INFO: TCP Data received {"connection_id":217210,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b50e400100000000000000000000000000..."} 
[2026-10-16 22:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b50e400100000000000000000000000000..."} 
[2026-10-16 22:45:02] local.INFO: Processing buffer {"connection_id":217210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b50e400100000000000000000000000000..."} 
[2026-10-16 22:45:02] local.INFO: Packet analysis {"connection_id":217210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:45:02] local.INFO: Extracted packet for processing {"connection_id":217210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:45: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-10-16 22:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795724288001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588715106761338880,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792170856000,"timestamp_ms":1792170856000,"timestamp_seconds":1792170856,"priority":1,"record_length":96,"hex_timestamp":"000001a145b50e40"} 
[2026-10-16 22:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:45: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-10-16 22:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-10-16 22:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":217210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":217210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":217210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":217210,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:45:02] local.INFO: GPS data processed {"connection_id":217210,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:45:02] local.INFO: Acknowledgment sent {"connection_id":217210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:45:06] local.INFO: TCP Data received {"connection_id":217210,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b48970012cea0000071bfb20001200a02b..."} 
[2026-10-16 22:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b48970012cea0000071bfb20001200a02b..."} 
[2026-10-16 22:45:06] local.INFO: Processing buffer {"connection_id":217210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b48970012cea0000071bfb20001200a02b..."} 
[2026-10-16 22:45:06] local.INFO: Packet analysis {"connection_id":217210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:45:06] local.INFO: Extracted packet for processing {"connection_id":217210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":753532928,"raw_latitude":119274272,"longitude_deg":75.3532928,"latitude_deg":11.9274272,"altitude":18,"angle":160,"satellites":43,"speed":22,"hex_longitude":"2cea0000","hex_latitude":"071bfb20","is_valid_coordinates":true} 
[2026-10-16 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-10-16 22:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792170822000,"timestamp_ms":1792170822000,"timestamp_seconds":1792170822,"priority":1,"record_length":96,"hex_timestamp":"000001a145b48970"} 
[2026-10-16 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-10-16 22: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-10-16 22:45:06] 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-10-16 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-10-16 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-10-16 22:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27006,"162":206,"2":54272,"24":22,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16]} 
[2026-10-16 22:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:45:06] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-16 22:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:45:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27006,"unknown_162":206,"power_alt":54272,"ignition":22,"odometer":null}} 
[2026-10-16 22:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":217210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:45:06] local.INFO: GPS data processed {"connection_id":217210,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:45:06] local.INFO: Acknowledgment sent {"connection_id":217210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:45:11] local.INFO: TCP Data received {"connection_id":218548,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:45:11] local.INFO: Processing buffer {"connection_id":218548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:45:11] local.INFO: IMEI packet received {"connection_id":218548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":218548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:45:14] local.INFO: TCP Data received {"connection_id":218548,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:45:14] local.INFO: Processing buffer {"connection_id":218548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:45:14] local.INFO: IMEI packet received {"connection_id":218548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":218548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:45:15] local.INFO: TCP Data received {"connection_id":218548,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145b3f500012d7be38005f95a58000d01482d..."} 
[2026-10-16 22:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b3f500012d7be38005f95a58000d01482d..."} 
[2026-10-16 22:45:15] local.INFO: Processing buffer {"connection_id":218548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b3f500012d7be38005f95a58000d01482d..."} 
[2026-10-16 22:45:15] local.INFO: Packet analysis {"connection_id":218548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b3"} 
[2026-10-16 22:45:15] local.INFO: Extracted packet for processing {"connection_id":218548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b3"} 
[2026-10-16 22:45:15] local.INFO: GPS Element Parsed {"raw_longitude":763093888,"raw_latitude":100227672,"longitude_deg":76.3093888,"latitude_deg":10.0227672,"altitude":13,"angle":328,"satellites":45,"speed":7,"hex_longitude":"2d7be380","hex_latitude":"05f95a58","is_valid_coordinates":true} 
[2026-10-16 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-10-16 22:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795715328001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15460812818743296,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929934399291199488,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792170784000,"timestamp_ms":1792170784000,"timestamp_seconds":1792170784,"priority":1,"record_length":96,"hex_timestamp":"000001a145b3f500"} 
[2026-10-16 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-10-16 22:45: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-10-16 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 22:45:15] 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-10-16 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-10-16 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-10-16 22:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":218548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":218548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":218548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:45: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-10-16 22:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795715328001,"66":27376,"250":206,"87":12800,"24":7,"16":15460812818743296,"45":8929934399291199488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-16 22:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795715328001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:45:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:45:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-16 22:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15460812818743296,"km_value":15460812818743.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929934399291199488,"description":"Unknown IO ID 45"} 
[2026-10-16 22:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795715328001,"power":27376,"unknown_250":206,"unknown_87":12800,"ignition":7,"odometer":null,"unknown_45":8929934399291199488}} 
[2026-10-16 22:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":218548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:45:15] local.INFO: GPS data processed {"connection_id":218548,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:45:15] local.INFO: Acknowledgment sent {"connection_id":218548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:45:46] local.INFO: TCP Data received {"connection_id":218548,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145b44708012d7bda8005f966e8000d013f2c..."} 
[2026-10-16 22:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b44708012d7bda8005f966e8000d013f2c..."} 
[2026-10-16 22:45:46] local.INFO: Processing buffer {"connection_id":218548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b44708012d7bda8005f966e8000d013f2c..."} 
[2026-10-16 22:45:46] local.INFO: Packet analysis {"connection_id":218548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:45:46] local.INFO: Extracted packet for processing {"connection_id":218548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:45:46] local.INFO: GPS Element Parsed {"raw_longitude":763091584,"raw_latitude":100230888,"longitude_deg":76.3091584,"latitude_deg":10.0230888,"altitude":13,"angle":319,"satellites":44,"speed":5,"hex_longitude":"2d7bda80","hex_latitude":"05f966e8","is_valid_coordinates":true} 
[2026-10-16 22:45: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-10-16 22:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795720704001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15461006092271616,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927119649525094400,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792170805000,"timestamp_ms":1792170805000,"timestamp_seconds":1792170805,"priority":1,"record_length":96,"hex_timestamp":"000001a145b44708"} 
[2026-10-16 22:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:45: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-10-16 22:45: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-10-16 22:45: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-10-16 22:45: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-10-16 22:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:45:46] 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-10-16 22:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795720704001,"66":27310,"250":206,"87":12800,"24":5,"16":15461006092271616,"45":8927119649525094400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-16 22:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795720704001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:45:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:45:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-16 22:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15461006092271616,"km_value":15461006092271.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927119649525094400,"description":"Unknown IO ID 45"} 
[2026-10-16 22:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795720704001,"power":27310,"unknown_250":206,"unknown_87":12800,"ignition":5,"odometer":null,"unknown_45":8927119649525094400}} 
[2026-10-16 22:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":218548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:45:46] local.INFO: GPS data processed {"connection_id":218548,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:45:46] local.INFO: Acknowledgment sent {"connection_id":218548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:45:49] local.INFO: TCP Data received {"connection_id":220281,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:45:50] local.INFO: Processing buffer {"connection_id":220281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:45:50] local.INFO: IMEI packet received {"connection_id":220281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":220281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:45:55] local.INFO: TCP Data received {"connection_id":220281,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:45:55] local.INFO: Processing buffer {"connection_id":220281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:45:55] local.INFO: IMEI packet received {"connection_id":220281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":220281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:45:56] local.INFO: TCP Data received {"connection_id":220281,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b56c000100000000000000000000000000..."} 
[2026-10-16 22:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b56c000100000000000000000000000000..."} 
[2026-10-16 22:45:56] local.INFO: Processing buffer {"connection_id":220281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b56c000100000000000000000000000000..."} 
[2026-10-16 22:45:56] local.INFO: Packet analysis {"connection_id":220281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:45:56] local.INFO: Extracted packet for processing {"connection_id":220281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22: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-10-16 22: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-10-16 22:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795730432001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585267038300200960,"note":"Value kept but may cause issues"} 
[2026-10-16 22:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792170880000,"timestamp_ms":1792170880000,"timestamp_seconds":1792170880,"priority":1,"record_length":96,"hex_timestamp":"000001a145b56c00"} 
[2026-10-16 22:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-10-16 22:45:56] 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-10-16 22:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":220281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":220281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":220281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":220281,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:45:56] local.INFO: GPS data processed {"connection_id":220281,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:45:56] local.INFO: Acknowledgment sent {"connection_id":220281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:46:09] local.INFO: TCP Data received {"connection_id":216989,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:46:09] local.INFO: Processing buffer {"connection_id":216989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:46:09] local.INFO: IMEI packet received {"connection_id":216989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":216989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:46:13] local.INFO: TCP Data received {"connection_id":216989,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:46:13] local.INFO: Processing buffer {"connection_id":216989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:46:13] local.INFO: IMEI packet received {"connection_id":216989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":216989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:46:18] local.INFO: TCP Data received {"connection_id":216989,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:46:18] local.INFO: Processing buffer {"connection_id":216989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:46:18] local.INFO: IMEI packet received {"connection_id":216989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":216989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:46:19] local.INFO: TCP Data received {"connection_id":216989,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145b49910012d7bd88005f968f0000f013f2b..."} 
[2026-10-16 22:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b49910012d7bd88005f968f0000f013f2b..."} 
[2026-10-16 22:46:19] local.INFO: Processing buffer {"connection_id":216989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b49910012d7bd88005f968f0000f013f2b..."} 
[2026-10-16 22:46:19] local.INFO: Packet analysis {"connection_id":216989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:46:19] local.INFO: Extracted packet for processing {"connection_id":216989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:46:19] local.INFO: GPS Element Parsed {"raw_longitude":763091072,"raw_latitude":100231408,"longitude_deg":76.3091072,"latitude_deg":10.0231408,"altitude":15,"angle":319,"satellites":43,"speed":0,"hex_longitude":"2d7bd880","hex_latitude":"05f968f0","is_valid_coordinates":true} 
[2026-10-16 22:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795726080001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15461044746977280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924586374735521792,"note":"Value kept but may cause issues"} 
[2026-10-16 22:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1792170826000,"timestamp_ms":1792170826000,"timestamp_seconds":1792170826,"priority":1,"record_length":96,"hex_timestamp":"000001a145b49910"} 
[2026-10-16 22:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:46: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-10-16 22:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 22:46:19] 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-10-16 22:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":216989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":216989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":216989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:46:19] 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-10-16 22:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795726080001,"66":27343,"250":206,"87":12800,"24":0,"16":15461044746977280,"45":8924586374735521792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-16 22:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795726080001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:46:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:46:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-16 22:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15461044746977280,"km_value":15461044746977.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924586374735521792,"description":"Unknown IO ID 45"} 
[2026-10-16 22:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795726080001,"power":27343,"unknown_250":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8924586374735521792}} 
[2026-10-16 22:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":216989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:46:20] local.INFO: GPS data processed {"connection_id":216989,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:46:20] local.INFO: Acknowledgment sent {"connection_id":216989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:46:24] local.INFO: TCP Data received {"connection_id":216989,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145b4eb18012d7bd88005f968f0000f013f2b..."} 
[2026-10-16 22:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b4eb18012d7bd88005f968f0000f013f2b..."} 
[2026-10-16 22:46:24] local.INFO: Processing buffer {"connection_id":216989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b4eb18012d7bd88005f968f0000f013f2b..."} 
[2026-10-16 22:46:24] local.INFO: Packet analysis {"connection_id":216989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:46:24] local.INFO: Extracted packet for processing {"connection_id":216989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763091072,"raw_latitude":100231408,"longitude_deg":76.3091072,"latitude_deg":10.0231408,"altitude":15,"angle":319,"satellites":43,"speed":0,"hex_longitude":"2d7bd880","hex_latitude":"05f968f0","is_valid_coordinates":true} 
[2026-10-16 22:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795731456001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15461044746977280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924023424782233600,"note":"Value kept but may cause issues"} 
[2026-10-16 22:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1792170847000,"timestamp_ms":1792170847000,"timestamp_seconds":1792170847,"priority":1,"record_length":96,"hex_timestamp":"000001a145b4eb18"} 
[2026-10-16 22:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:46: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-10-16 22:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 22:46:24] 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-10-16 22:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":216989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":216989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":216989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:46:24] 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-10-16 22:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795731456001,"66":27517,"250":206,"87":12800,"24":0,"16":15461044746977280,"45":8924023424782233600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-16 22:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795731456001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:46:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:46:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-16 22:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15461044746977280,"km_value":15461044746977.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924023424782233600,"description":"Unknown IO ID 45"} 
[2026-10-16 22:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795731456001,"power":27517,"unknown_250":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8924023424782233600}} 
[2026-10-16 22:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":216989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:46:24] local.INFO: GPS data processed {"connection_id":216989,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:46:24] local.INFO: Acknowledgment sent {"connection_id":216989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:46:28] local.INFO: TCP Data received {"connection_id":220281,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b4df60012cea1880071bb7680013009e2d..."} 
[2026-10-16 22:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b4df60012cea1880071bb7680013009e2d..."} 
[2026-10-16 22:46:28] local.INFO: Processing buffer {"connection_id":220281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b4df60012cea1880071bb7680013009e2d..."} 
[2026-10-16 22:46:28] local.INFO: Packet analysis {"connection_id":220281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:46:28] local.INFO: Extracted packet for processing {"connection_id":220281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b4"} 
[2026-10-16 22:46:28] local.INFO: GPS Element Parsed {"raw_longitude":753539200,"raw_latitude":119256936,"longitude_deg":75.35392,"latitude_deg":11.9256936,"altitude":19,"angle":158,"satellites":45,"speed":44,"hex_longitude":"2cea1880","hex_latitude":"071bb768","is_valid_coordinates":true} 
[2026-10-16 22:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:46:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792170844000,"timestamp_ms":1792170844000,"timestamp_seconds":1792170844,"priority":1,"record_length":96,"hex_timestamp":"000001a145b4df60"} 
[2026-10-16 22:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 22:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":220281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":220281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":220281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25745,"10":206,"2":54272,"24":44,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16]} 
[2026-10-16 22:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:46:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 22:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:46:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25745,"unknown_10":206,"power_alt":54272,"ignition":44,"odometer":null}} 
[2026-10-16 22:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":220281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:46:28] local.INFO: GPS data processed {"connection_id":220281,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:46:28] local.INFO: Acknowledgment sent {"connection_id":220281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:46:49] local.INFO: TCP Data received {"connection_id":216990,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:46:49] local.INFO: Processing buffer {"connection_id":216990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:46:49] local.INFO: IMEI packet received {"connection_id":216990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":216990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:46:55] local.INFO: TCP Data received {"connection_id":216990,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:46:55] local.INFO: Processing buffer {"connection_id":216990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:46:55] local.INFO: IMEI packet received {"connection_id":216990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":216990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:46:57] local.INFO: TCP Data received {"connection_id":216990,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b53168012cea2f40071b7718001000a22e..."} 
[2026-10-16 22:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b53168012cea2f40071b7718001000a22e..."} 
[2026-10-16 22:46:57] local.INFO: Processing buffer {"connection_id":216990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b53168012cea2f40071b7718001000a22e..."} 
[2026-10-16 22:46:57] local.INFO: Packet analysis {"connection_id":216990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:46:57] local.INFO: Extracted packet for processing {"connection_id":216990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:46:57] local.INFO: GPS Element Parsed {"raw_longitude":753545024,"raw_latitude":119240472,"longitude_deg":75.3545024,"latitude_deg":11.9240472,"altitude":16,"angle":162,"satellites":46,"speed":0,"hex_longitude":"2cea2f40","hex_latitude":"071b7718","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795736064001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:46:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578370901375227904,"note":"Value kept but may cause issues"} 
[2026-10-16 22:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792170865000,"timestamp_ms":1792170865000,"timestamp_seconds":1792170865,"priority":1,"record_length":96,"hex_timestamp":"000001a145b53168"} 
[2026-10-16 22:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22: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-10-16 22: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-10-16 22:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22: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-10-16 22:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":216990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":216990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":216990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795736064001,"66":27430,"10":206,"2":54272,"24":0,"16":13211598575370240,"44":-1578370901375227904},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-10-16 22:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795736064001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:46:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 22:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:46:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578370901375227904,"description":"Unknown IO ID 44"} 
[2026-10-16 22:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795736064001,"power":27430,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1578370901375227904}} 
[2026-10-16 22:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":216990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:46:57] local.INFO: GPS data processed {"connection_id":216990,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:46:57] local.INFO: Acknowledgment sent {"connection_id":216990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:47:08] local.INFO: TCP Data received {"connection_id":217211,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:47:08] local.INFO: Processing buffer {"connection_id":217211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:47:08] local.INFO: IMEI packet received {"connection_id":217211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":217211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:47:13] local.INFO: TCP Data received {"connection_id":217211,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:47:13] local.INFO: Processing buffer {"connection_id":217211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:47:13] local.INFO: IMEI packet received {"connection_id":217211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":217211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:47:13] local.INFO: TCP Data received {"connection_id":217211,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145b53d20012d7bd88005f968f0000f013f2b..."} 
[2026-10-16 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b53d20012d7bd88005f968f0000f013f2b..."} 
[2026-10-16 22:47:13] local.INFO: Processing buffer {"connection_id":217211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b53d20012d7bd88005f968f0000f013f2b..."} 
[2026-10-16 22:47:13] local.INFO: Packet analysis {"connection_id":217211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:47:13] local.INFO: Extracted packet for processing {"connection_id":217211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763091072,"raw_latitude":100231408,"longitude_deg":76.3091072,"latitude_deg":10.0231408,"altitude":15,"angle":319,"satellites":43,"speed":0,"hex_longitude":"2d7bd880","hex_latitude":"05f968f0","is_valid_coordinates":true} 
[2026-10-16 22:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795736832001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15461044746977280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924023424782233600,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792170868000,"timestamp_ms":1792170868000,"timestamp_seconds":1792170868,"priority":1,"record_length":96,"hex_timestamp":"000001a145b53d20"} 
[2026-10-16 22:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22: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-10-16 22:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 22:47:13] 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-10-16 22:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":217211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":217211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":217211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795736832001,"66":27365,"250":206,"87":12800,"24":0,"16":15461044746977280,"45":8924023424782233600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-16 22:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795736832001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:47:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:47:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-16 22:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15461044746977280,"km_value":15461044746977.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924023424782233600,"description":"Unknown IO ID 45"} 
[2026-10-16 22:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795736832001,"power":27365,"unknown_250":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8924023424782233600}} 
[2026-10-16 22:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":217211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:47:14] local.INFO: GPS data processed {"connection_id":217211,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:47:14] local.INFO: Acknowledgment sent {"connection_id":217211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:47:29] local.INFO: TCP Data received {"connection_id":216990,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b58370012cea42c0071b3608000f00a430..."} 
[2026-10-16 22:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b58370012cea42c0071b3608000f00a430..."} 
[2026-10-16 22:47:29] local.INFO: Processing buffer {"connection_id":216990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b58370012cea42c0071b3608000f00a430..."} 
[2026-10-16 22:47:29] local.INFO: Packet analysis {"connection_id":216990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:47:29] local.INFO: Extracted packet for processing {"connection_id":216990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:47:29] local.INFO: GPS Element Parsed {"raw_longitude":753550016,"raw_latitude":119223816,"longitude_deg":75.3550016,"latitude_deg":11.9223816,"altitude":15,"angle":164,"satellites":48,"speed":0,"hex_longitude":"2cea42c0","hex_latitude":"071b3608","is_valid_coordinates":true} 
[2026-10-16 22:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795741440001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1571967345659275264,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792170886000,"timestamp_ms":1792170886000,"timestamp_seconds":1792170886,"priority":1,"record_length":96,"hex_timestamp":"000001a145b58370"} 
[2026-10-16 22:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 22:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":216990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":216990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":216990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795741440001,"66":27213,"10":206,"2":54272,"24":0,"16":13211598575370240,"44":-1571967345659275264},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-10-16 22:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795741440001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:47:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 22:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1571967345659275264,"description":"Unknown IO ID 44"} 
[2026-10-16 22:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795741440001,"power":27213,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1571967345659275264}} 
[2026-10-16 22:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":216990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:47:29] local.INFO: GPS data processed {"connection_id":216990,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:47:29] local.INFO: Acknowledgment sent {"connection_id":216990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:47:46] local.INFO: TCP Data received {"connection_id":217211,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a145b58f28012d7bd88005f968f0000f013f2c..."} 
[2026-10-16 22:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b58f28012d7bd88005f968f0000f013f2c..."} 
[2026-10-16 22:47:46] local.INFO: Processing buffer {"connection_id":217211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b58f28012d7bd88005f968f0000f013f2c..."} 
[2026-10-16 22:47:46] local.INFO: Packet analysis {"connection_id":217211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:47:46] local.INFO: Extracted packet for processing {"connection_id":217211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:47:46] local.INFO: GPS Element Parsed {"raw_longitude":763091072,"raw_latitude":100231408,"longitude_deg":76.3091072,"latitude_deg":10.0231408,"altitude":15,"angle":319,"satellites":44,"speed":0,"hex_longitude":"2d7bd880","hex_latitude":"05f968f0","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795742208001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15461044746977280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924023424782233600,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792170889000,"timestamp_ms":1792170889000,"timestamp_seconds":1792170889,"priority":1,"record_length":96,"hex_timestamp":"000001a145b58f28"} 
[2026-10-16 22:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:47: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-10-16 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 22:47:46] 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-10-16 22: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-10-16 22:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":217211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":217211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":217211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:47:46] 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-10-16 22:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795742208001,"66":27517,"250":206,"87":12800,"24":0,"16":15461044746977280,"45":8924023424782233600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-10-16 22:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795742208001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:47:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-10-16 22:47:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-10-16 22:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15461044746977280,"km_value":15461044746977.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924023424782233600,"description":"Unknown IO ID 45"} 
[2026-10-16 22:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795742208001,"power":27517,"unknown_250":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8924023424782233600}} 
[2026-10-16 22:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":217211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:47:46] local.INFO: GPS data processed {"connection_id":217211,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:47:46] local.INFO: Acknowledgment sent {"connection_id":217211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:47:50] local.INFO: TCP Data received {"connection_id":218549,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:47:50] local.INFO: Processing buffer {"connection_id":218549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:47:50] local.INFO: IMEI packet received {"connection_id":218549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":218549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:47:55] local.INFO: TCP Data received {"connection_id":218549,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:47:55] local.INFO: Processing buffer {"connection_id":218549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:47:55] local.INFO: IMEI packet received {"connection_id":218549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":218549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:47:56] local.INFO: TCP Data received {"connection_id":218549,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b5d578012cea5a40071ae8b0000e00a42a..."} 
[2026-10-16 22:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b5d578012cea5a40071ae8b0000e00a42a..."} 
[2026-10-16 22:47:56] local.INFO: Processing buffer {"connection_id":218549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b5d578012cea5a40071ae8b0000e00a42a..."} 
[2026-10-16 22:47:56] local.INFO: Packet analysis {"connection_id":218549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:47:56] local.INFO: Extracted packet for processing {"connection_id":218549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b5"} 
[2026-10-16 22:47:56] local.INFO: GPS Element Parsed {"raw_longitude":753556032,"raw_latitude":119204016,"longitude_deg":75.3556032,"latitude_deg":11.9204016,"altitude":14,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2cea5a40","hex_latitude":"071ae8b0","is_valid_coordinates":true} 
[2026-10-16 22:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795746816001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1566478583617681408,"note":"Value kept but may cause issues"} 
[2026-10-16 22:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792170907000,"timestamp_ms":1792170907000,"timestamp_seconds":1792170907,"priority":1,"record_length":96,"hex_timestamp":"000001a145b5d578"} 
[2026-10-16 22:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 22:47:56] 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-10-16 22:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795746816001,"66":27071,"10":206,"2":54272,"24":0,"16":13211598575370240,"44":-1566478583617681408},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-10-16 22:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795746816001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:47:56] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 22:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:47:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1566478583617681408,"description":"Unknown IO ID 44"} 
[2026-10-16 22:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795746816001,"power":27071,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1566478583617681408}} 
[2026-10-16 22:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":218549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:47:56] local.INFO: GPS data processed {"connection_id":218549,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:47:56] local.INFO: Acknowledgment sent {"connection_id":218549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:48:28] local.INFO: TCP Data received {"connection_id":218549,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b62780012cea64c0071ac090000700a72d..."} 
[2026-10-16 22:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b62780012cea64c0071ac090000700a72d..."} 
[2026-10-16 22:48:28] local.INFO: Processing buffer {"connection_id":218549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b62780012cea64c0071ac090000700a72d..."} 
[2026-10-16 22:48:28] local.INFO: Packet analysis {"connection_id":218549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b6"} 
[2026-10-16 22:48:28] local.INFO: Extracted packet for processing {"connection_id":218549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b6"} 
[2026-10-16 22:48:28] local.INFO: GPS Element Parsed {"raw_longitude":753558720,"raw_latitude":119193744,"longitude_deg":75.355872,"latitude_deg":11.9193744,"altitude":7,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2cea64c0","hex_latitude":"071ac090","is_valid_coordinates":true} 
[2026-10-16 22:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795752192001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:48:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1559863921670049792,"note":"Value kept but may cause issues"} 
[2026-10-16 22:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792170928000,"timestamp_ms":1792170928000,"timestamp_seconds":1792170928,"priority":1,"record_length":96,"hex_timestamp":"000001a145b62780"} 
[2026-10-16 22:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 22:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795752192001,"66":27430,"10":206,"2":54272,"24":0,"16":13211598575370240,"44":-1559863921670049792},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-10-16 22:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795752192001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:48:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-10-16 22:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:48:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1559863921670049792,"description":"Unknown IO ID 44"} 
[2026-10-16 22:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795752192001,"power":27430,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1559863921670049792}} 
[2026-10-16 22:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":218549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:48:28] local.INFO: GPS data processed {"connection_id":218549,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:48:28] local.INFO: Acknowledgment sent {"connection_id":218549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:48:49] local.INFO: TCP Data received {"connection_id":220282,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:48:49] local.INFO: Processing buffer {"connection_id":220282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:48:49] local.INFO: IMEI packet received {"connection_id":220282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":220282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:48:55] local.INFO: TCP Data received {"connection_id":220282,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:48:55] local.INFO: Processing buffer {"connection_id":220282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:48:55] local.INFO: IMEI packet received {"connection_id":220282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":220282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:48:57] local.INFO: TCP Data received {"connection_id":220282,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b70a100100000000000000000000000000..."} 
[2026-10-16 22:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b70a100100000000000000000000000000..."} 
[2026-10-16 22:48:57] local.INFO: Processing buffer {"connection_id":220282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b70a100100000000000000000000000000..."} 
[2026-10-16 22:48:57] local.INFO: Packet analysis {"connection_id":220282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b7"} 
[2026-10-16 22:48:57] local.INFO: Extracted packet for processing {"connection_id":220282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b7"} 
[2026-10-16 22:48:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 22:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795757568001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:48:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1556908434417217536,"note":"Value kept but may cause issues"} 
[2026-10-16 22:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792170986000,"timestamp_ms":1792170986000,"timestamp_seconds":1792170986,"priority":1,"record_length":96,"hex_timestamp":"000001a145b70a10"} 
[2026-10-16 22:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:48: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-10-16 22:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 22:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":220282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":220282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":220282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":220282,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:48:57] local.INFO: GPS data processed {"connection_id":220282,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:48:57] local.INFO: Acknowledgment sent {"connection_id":220282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:49:29] local.INFO: TCP Data received {"connection_id":220282,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b954000100000000000000000000000000..."} 
[2026-10-16 22:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b954000100000000000000000000000000..."} 
[2026-10-16 22:49:29] local.INFO: Processing buffer {"connection_id":220282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b954000100000000000000000000000000..."} 
[2026-10-16 22:49:29] local.INFO: Packet analysis {"connection_id":220282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:49:29] local.INFO: Extracted packet for processing {"connection_id":220282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:49:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 22:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795795968001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481895353135763456,"note":"Value kept but may cause issues"} 
[2026-10-16 22:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792171136000,"timestamp_ms":1792171136000,"timestamp_seconds":1792171136,"priority":1,"record_length":96,"hex_timestamp":"000001a145b95400"} 
[2026-10-16 22:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 22:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":220282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":220282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":220282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":220282,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:49:29] local.INFO: GPS data processed {"connection_id":220282,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:49:29] local.INFO: Acknowledgment sent {"connection_id":220282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:49:55] local.INFO: TCP Data received {"connection_id":216991,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:49:55] local.INFO: Processing buffer {"connection_id":216991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:49:55] local.INFO: IMEI packet received {"connection_id":216991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":216991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:49:55] local.INFO: TCP Data received {"connection_id":216991,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:49:55] local.INFO: Processing buffer {"connection_id":216991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:49:55] local.INFO: IMEI packet received {"connection_id":216991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":216991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:49:59] local.INFO: TCP Data received {"connection_id":216991,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:49:59] local.INFO: Processing buffer {"connection_id":216991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:49:59] local.INFO: IMEI packet received {"connection_id":216991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":216991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:50:01] local.INFO: TCP Data received {"connection_id":216991,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b8c760012ceb90000719c790001f00982c..."} 
[2026-10-16 22:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b8c760012ceb90000719c790001f00982c..."} 
[2026-10-16 22:50:01] local.INFO: Processing buffer {"connection_id":216991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b8c760012ceb90000719c790001f00982c..."} 
[2026-10-16 22:50:01] local.INFO: Packet analysis {"connection_id":216991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b8"} 
[2026-10-16 22:50:01] local.INFO: Extracted packet for processing {"connection_id":216991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b8"} 
[2026-10-16 22:50:01] local.INFO: GPS Element Parsed {"raw_longitude":753635328,"raw_latitude":119130000,"longitude_deg":75.3635328,"latitude_deg":11.913,"altitude":31,"angle":152,"satellites":44,"speed":41,"hex_longitude":"2ceb9000","hex_latitude":"0719c790","is_valid_coordinates":true} 
[2026-10-16 22:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:50:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,161,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792171100000,"timestamp_ms":1792171100000,"timestamp_seconds":1792171100,"priority":1,"record_length":96,"hex_timestamp":"000001a145b8c760"} 
[2026-10-16 22:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 22:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26615,"161":206,"2":54272,"24":41,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16]} 
[2026-10-16 22:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:50:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 22:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:50:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26615,"unknown_161":206,"power_alt":54272,"ignition":41,"odometer":null}} 
[2026-10-16 22:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":216991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:50:01] local.INFO: GPS data processed {"connection_id":216991,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:50:01] local.INFO: Acknowledgment sent {"connection_id":216991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:50:05] local.INFO: TCP Data received {"connection_id":216991,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b91968012cebb58007198670002300942e..."} 
[2026-10-16 22:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b91968012cebb58007198670002300942e..."} 
[2026-10-16 22:50:05] local.INFO: Processing buffer {"connection_id":216991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b91968012cebb58007198670002300942e..."} 
[2026-10-16 22:50:05] local.INFO: Packet analysis {"connection_id":216991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:50:05] local.INFO: Extracted packet for processing {"connection_id":216991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:50:05] local.INFO: GPS Element Parsed {"raw_longitude":753644928,"raw_latitude":119113328,"longitude_deg":75.3644928,"latitude_deg":11.9113328,"altitude":35,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2cebb580","hex_latitude":"07198670","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795801600001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:50:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1472677047652872192,"note":"Value kept but may cause issues"} 
[2026-10-16 22:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792171121000,"timestamp_ms":1792171121000,"timestamp_seconds":1792171121,"priority":1,"record_length":96,"hex_timestamp":"000001a145b91968"} 
[2026-10-16 22:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:50: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-10-16 22: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 22:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22: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-10-16 22:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":216991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":216991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":216991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795801600001,"66":26006,"161":206,"2":54272,"24":0,"16":13211598575370240,"44":-1472677047652872192},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-10-16 22:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795801600001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:50:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-10-16 22:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:50:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1472677047652872192,"description":"Unknown IO ID 44"} 
[2026-10-16 22:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795801600001,"power":26006,"unknown_161":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1472677047652872192}} 
[2026-10-16 22:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":216991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:50:06] local.INFO: GPS data processed {"connection_id":216991,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:50:06] local.INFO: Acknowledgment sent {"connection_id":216991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:50:51] local.INFO: TCP Data received {"connection_id":220283,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:50:51] local.INFO: Processing buffer {"connection_id":220283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:50:51] local.INFO: IMEI packet received {"connection_id":220283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":220283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:51:03] local.INFO: TCP Data received {"connection_id":220283,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:51:03] local.INFO: Processing buffer {"connection_id":220283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:51:03] local.INFO: IMEI packet received {"connection_id":220283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":220283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:51:05] local.INFO: TCP Data received {"connection_id":220283,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b96b70012cebd5c007194aa80024009530..."} 
[2026-10-16 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b96b70012cebd5c007194aa80024009530..."} 
[2026-10-16 22:51:05] local.INFO: Processing buffer {"connection_id":220283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b96b70012cebd5c007194aa80024009530..."} 
[2026-10-16 22:51:05] local.INFO: Packet analysis {"connection_id":220283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:51:05] local.INFO: Extracted packet for processing {"connection_id":220283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":753653184,"raw_latitude":119098024,"longitude_deg":75.3653184,"latitude_deg":11.9098024,"altitude":36,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2cebd5c0","hex_latitude":"07194aa8","is_valid_coordinates":true} 
[2026-10-16 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-10-16 22:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795806976001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:51:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1462121736030490624,"note":"Value kept but may cause issues"} 
[2026-10-16 22:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792171142000,"timestamp_ms":1792171142000,"timestamp_seconds":1792171142,"priority":1,"record_length":96,"hex_timestamp":"000001a145b96b70"} 
[2026-10-16 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-10-16 22:51: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-10-16 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-10-16 22:51:05] 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-10-16 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-10-16 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-10-16 22:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":220283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":220283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":220283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795806976001,"66":26669,"174":206,"2":54272,"24":0,"16":13211598575370240,"44":-1462121736030490624},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-10-16 22:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795806976001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:51:05] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 22:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:51:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1462121736030490624,"description":"Unknown IO ID 44"} 
[2026-10-16 22:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795806976001,"power":26669,"unknown_174":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1462121736030490624}} 
[2026-10-16 22:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":220283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:51:06] local.INFO: GPS data processed {"connection_id":220283,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:51:06] local.INFO: Acknowledgment sent {"connection_id":220283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:51:49] local.INFO: TCP Data received {"connection_id":218550,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:51:49] local.INFO: Processing buffer {"connection_id":218550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:51:49] local.INFO: IMEI packet received {"connection_id":218550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":218550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:51:55] local.INFO: TCP Data received {"connection_id":218550,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:51:55] local.INFO: Processing buffer {"connection_id":218550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:51:55] local.INFO: IMEI packet received {"connection_id":218550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":218550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:51:56] local.INFO: TCP Data received {"connection_id":218550,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b9a608012cec05c007192690002200812c..."} 
[2026-10-16 22:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b9a608012cec05c007192690002200812c..."} 
[2026-10-16 22:51:56] local.INFO: Processing buffer {"connection_id":218550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b9a608012cec05c007192690002200812c..."} 
[2026-10-16 22:51:56] local.INFO: Packet analysis {"connection_id":218550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:51:56] local.INFO: Extracted packet for processing {"connection_id":218550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:51:56] local.INFO: GPS Element Parsed {"raw_longitude":753665472,"raw_latitude":119088784,"longitude_deg":75.3665472,"latitude_deg":11.9088784,"altitude":34,"angle":129,"satellites":44,"speed":28,"hex_longitude":"2cec05c0","hex_latitude":"07192690","is_valid_coordinates":true} 
[2026-10-16 22:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795812352001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:51:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1453044168035489792,"note":"Value kept but may cause issues"} 
[2026-10-16 22:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792171157000,"timestamp_ms":1792171157000,"timestamp_seconds":1792171157,"priority":1,"record_length":96,"hex_timestamp":"000001a145b9a608"} 
[2026-10-16 22:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-10-16 22:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1123,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795812352001,"66":27126,"174":206,"2":54272,"24":28,"16":13211598575370240,"44":-1453044168035489792},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-10-16 22:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795812352001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:51:56] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 22:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:51:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1453044168035489792,"description":"Unknown IO ID 44"} 
[2026-10-16 22:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795812352001,"power":27126,"unknown_174":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1453044168035489792}} 
[2026-10-16 22:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":218550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:51:56] local.INFO: GPS data processed {"connection_id":218550,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:51:56] local.INFO: Acknowledgment sent {"connection_id":218550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:52:27] local.INFO: TCP Data received {"connection_id":218550,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b9f810012cec33800718f3c00023008e2f..."} 
[2026-10-16 22:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b9f810012cec33800718f3c00023008e2f..."} 
[2026-10-16 22:52:27] local.INFO: Processing buffer {"connection_id":218550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b9f810012cec33800718f3c00023008e2f..."} 
[2026-10-16 22:52:27] local.INFO: Packet analysis {"connection_id":218550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:52:27] local.INFO: Extracted packet for processing {"connection_id":218550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:52:27] local.INFO: GPS Element Parsed {"raw_longitude":753677184,"raw_latitude":119075776,"longitude_deg":75.3677184,"latitude_deg":11.9075776,"altitude":35,"angle":142,"satellites":47,"speed":33,"hex_longitude":"2cec3380","hex_latitude":"0718f3c0","is_valid_coordinates":true} 
[2026-10-16 22:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795816192001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:52:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1439533369155743744,"note":"Value kept but may cause issues"} 
[2026-10-16 22:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792171178000,"timestamp_ms":1792171178000,"timestamp_seconds":1792171178,"priority":1,"record_length":96,"hex_timestamp":"000001a145b9f810"} 
[2026-10-16 22:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:52: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-10-16 22:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-10-16 22:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795816192001,"66":26984,"174":206,"2":54272,"24":33,"16":13211598575370240,"44":-1439533369155743744},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-10-16 22:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795816192001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:52:27] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 22:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:52:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1439533369155743744,"description":"Unknown IO ID 44"} 
[2026-10-16 22:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795816192001,"power":26984,"unknown_174":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1439533369155743744}} 
[2026-10-16 22:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":218550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:52:27] local.INFO: GPS data processed {"connection_id":218550,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:52:27] local.INFO: Acknowledgment sent {"connection_id":218550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:52:55] local.INFO: TCP Data received {"connection_id":216992,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:52:55] local.INFO: Processing buffer {"connection_id":216992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:52:55] local.INFO: IMEI packet received {"connection_id":216992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":216992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:53:00] local.INFO: TCP Data received {"connection_id":216992,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:00] local.INFO: Processing buffer {"connection_id":216992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:00] local.INFO: IMEI packet received {"connection_id":216992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":216992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:53:02] local.INFO: TCP Data received {"connection_id":216992,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145b9f810012cec33800718f3c00023008e2f..."} 
[2026-10-16 22:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145b9f810012cec33800718f3c00023008e2f..."} 
[2026-10-16 22:53:02] local.INFO: Processing buffer {"connection_id":216992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145b9f810012cec33800718f3c00023008e2f..."} 
[2026-10-16 22:53:02] local.INFO: Packet analysis {"connection_id":216992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:53:02] local.INFO: Extracted packet for processing {"connection_id":216992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145b9"} 
[2026-10-16 22:53:02] local.INFO: GPS Element Parsed {"raw_longitude":753677184,"raw_latitude":119075776,"longitude_deg":75.3677184,"latitude_deg":11.9075776,"altitude":35,"angle":142,"satellites":47,"speed":33,"hex_longitude":"2cec3380","hex_latitude":"0718f3c0","is_valid_coordinates":true} 
[2026-10-16 22:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795821568001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426655888974561280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792171178000,"timestamp_ms":1792171178000,"timestamp_seconds":1792171178,"priority":1,"record_length":96,"hex_timestamp":"000001a145b9f810"} 
[2026-10-16 22:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 22:53:02] 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-10-16 22:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795821568001,"66":26984,"174":206,"2":54272,"24":33,"16":13211598575370240,"44":-1426655888974561280},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-10-16 22:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795821568001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:53:02] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 22:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:53:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426655888974561280,"description":"Unknown IO ID 44"} 
[2026-10-16 22:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795821568001,"power":26984,"unknown_174":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1426655888974561280}} 
[2026-10-16 22:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":216992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1466,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:53:03] local.INFO: GPS data processed {"connection_id":216992,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:53:03] local.INFO: Acknowledgment sent {"connection_id":216992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:53:06] local.INFO: TCP Data received {"connection_id":216992,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145ba4630012cec54c00718b6c00023009f2c..."} 
[2026-10-16 22:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145ba4630012cec54c00718b6c00023009f2c..."} 
[2026-10-16 22:53:06] local.INFO: Processing buffer {"connection_id":216992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145ba4630012cec54c00718b6c00023009f2c..."} 
[2026-10-16 22:53:06] local.INFO: Packet analysis {"connection_id":216992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ba"} 
[2026-10-16 22:53:06] local.INFO: Extracted packet for processing {"connection_id":216992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ba"} 
[2026-10-16 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":753685696,"raw_latitude":119060160,"longitude_deg":75.3685696,"latitude_deg":11.906016,"altitude":35,"angle":159,"satellites":44,"speed":36,"hex_longitude":"2cec54c0","hex_latitude":"0718b6c0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 22:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795821568001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426655888974561280,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792171198000,"timestamp_ms":1792171198000,"timestamp_seconds":1792171198,"priority":1,"record_length":96,"hex_timestamp":"000001a145ba4630"} 
[2026-10-16 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-10-16 22:53: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-10-16 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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 22:53:06] 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-10-16 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-10-16 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-10-16 22:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":216992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":216992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":216992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795821568001,"66":26854,"174":206,"2":54272,"24":36,"16":13211598575370240,"44":-1426655888974561280},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-10-16 22:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795821568001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:53:06] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-10-16 22:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426655888974561280,"description":"Unknown IO ID 44"} 
[2026-10-16 22:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795821568001,"power":26854,"unknown_174":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1426655888974561280}} 
[2026-10-16 22:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":216992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:53:06] local.INFO: GPS data processed {"connection_id":216992,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:53:06] local.INFO: Acknowledgment sent {"connection_id":216992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:53:38] local.INFO: TCP Data received {"connection_id":220284,"ip":"117.224.205.227","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:53:38] local.INFO: Processing buffer {"connection_id":220284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:53:38] local.INFO: IMEI packet received {"connection_id":220284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":220284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:53:44] local.INFO: TCP Data received {"connection_id":220284,"ip":"117.224.205.227","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:53:44] local.INFO: Processing buffer {"connection_id":220284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:53:44] local.INFO: IMEI packet received {"connection_id":220284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":220284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:53:45] local.INFO: TCP Data received {"connection_id":220284,"ip":"117.224.205.227","data_length":795,"data_hex":"000000000000030f8e0a000001a145bb20f0012d7b364005fa9810000e015c29..."} 
[2026-10-16 22:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bb20f0012d7b364005fa9810000e015c29..."} 
[2026-10-16 22:53:45] local.INFO: Processing buffer {"connection_id":220284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bb20f0012d7b364005fa9810000e015c29..."} 
[2026-10-16 22:53:45] local.INFO: Packet analysis {"connection_id":220284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bb"} 
[2026-10-16 22:53:45] local.INFO: Extracted packet for processing {"connection_id":220284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bb"} 
[2026-10-16 22:53:45] local.INFO: GPS Element Parsed {"raw_longitude":763049536,"raw_latitude":100309008,"longitude_deg":76.3049536,"latitude_deg":10.0309008,"altitude":14,"angle":348,"satellites":41,"speed":28,"hex_longitude":"2d7b3640","hex_latitude":"05fa9810","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795840512001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15465464268324864,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478574614528,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792171254000,"timestamp_ms":1792171254000,"timestamp_seconds":1792171254,"priority":1,"record_length":96,"hex_timestamp":"000001a145bb20f0"} 
[2026-10-16 22:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:53: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-10-16 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 22:53: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-10-16 22: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-10-16 22:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":220284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":220284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":220284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.205.227","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795840512001,"66":27484,"54":206,"87":10752,"24":28,"16":15465464268324864,"45":8878424478574614528},"client_ip":"117.224.205.227","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-10-16 22:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795840512001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:53:45] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-10-16 22:53:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-16 22:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15465464268324864,"km_value":15465464268324.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478574614528,"description":"Unknown IO ID 45"} 
[2026-10-16 22:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795840512001,"power":27484,"unknown_54":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8878424478574614528}} 
[2026-10-16 22:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":220284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:53:45] local.INFO: GPS data processed {"connection_id":220284,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:53:45] local.INFO: Acknowledgment sent {"connection_id":220284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:53:50] local.INFO: TCP Data received {"connection_id":216993,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:50] local.INFO: Processing buffer {"connection_id":216993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:50] local.INFO: IMEI packet received {"connection_id":216993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":216993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:53:51] local.INFO: TCP Data received {"connection_id":216993,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:51] local.INFO: Processing buffer {"connection_id":216993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:51] local.INFO: IMEI packet received {"connection_id":216993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":216993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:53:53] local.INFO: TCP Data received {"connection_id":216993,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:53] local.INFO: Processing buffer {"connection_id":216993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:53:53] local.INFO: IMEI packet received {"connection_id":216993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":216993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:53:54] local.INFO: TCP Data received {"connection_id":216993,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145bcede0012cec59c00716b3980023009d2f..."} 
[2026-10-16 22:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bcede0012cec59c00716b3980023009d2f..."} 
[2026-10-16 22:53:54] local.INFO: Processing buffer {"connection_id":216993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bcede0012cec59c00716b3980023009d2f..."} 
[2026-10-16 22:53:54] local.INFO: Packet analysis {"connection_id":216993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bc"} 
[2026-10-16 22:53:54] local.INFO: Extracted packet for processing {"connection_id":216993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bc"} 
[2026-10-16 22:53:54] local.INFO: GPS Element Parsed {"raw_longitude":753686976,"raw_latitude":118928280,"longitude_deg":75.3686976,"latitude_deg":11.892828,"altitude":35,"angle":157,"satellites":47,"speed":36,"hex_longitude":"2cec59c0","hex_latitude":"0716b398","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,34,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792171372000,"timestamp_ms":1792171372000,"timestamp_seconds":1792171372,"priority":1,"record_length":96,"hex_timestamp":"000001a145bcede0"} 
[2026-10-16 22:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-10-16 22:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22: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-10-16 22:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":216993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":216993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":216993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27050,"34":206,"2":54272,"24":36,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16]} 
[2026-10-16 22:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:53:54] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 22:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:53:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27050,"unknown_34":206,"power_alt":54272,"ignition":36,"odometer":null}} 
[2026-10-16 22:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":216993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:53:54] local.INFO: GPS data processed {"connection_id":216993,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:53:54] local.INFO: Acknowledgment sent {"connection_id":216993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:53:56] local.INFO: TCP Data received {"connection_id":216993,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145bdd0700100000000000000000000000000..."} 
[2026-10-16 22:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bdd0700100000000000000000000000000..."} 
[2026-10-16 22:53:56] local.INFO: Processing buffer {"connection_id":216993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bdd0700100000000000000000000000000..."} 
[2026-10-16 22:53:56] local.INFO: Packet analysis {"connection_id":216993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:53:56] local.INFO: Extracted packet for processing {"connection_id":216993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:53: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-10-16 22:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795871232001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415889471153137664,"note":"Value kept but may cause issues"} 
[2026-10-16 22:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792171430000,"timestamp_ms":1792171430000,"timestamp_seconds":1792171430,"priority":1,"record_length":96,"hex_timestamp":"000001a145bdd070"} 
[2026-10-16 22:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 22:53:56] 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-10-16 22:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":216993,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:53:56] local.INFO: GPS data processed {"connection_id":216993,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:53:56] local.INFO: Acknowledgment sent {"connection_id":216993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:54:08] local.INFO: TCP Data received {"connection_id":217212,"ip":"117.224.205.227","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:54:08] local.INFO: Processing buffer {"connection_id":217212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:54:08] local.INFO: IMEI packet received {"connection_id":217212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":217212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:54:13] local.INFO: TCP Data received {"connection_id":217212,"ip":"117.224.205.227","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:54:13] local.INFO: Processing buffer {"connection_id":217212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:54:13] local.INFO: IMEI packet received {"connection_id":217212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":217212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:54:15] local.INFO: TCP Data received {"connection_id":217212,"ip":"117.224.205.227","data_length":795,"data_hex":"000000000000030f8e0a000001a145bb4fd0012d7b2c4005fabb98000f015729..."} 
[2026-10-16 22:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bb4fd0012d7b2c4005fabb98000f015729..."} 
[2026-10-16 22:54:15] local.INFO: Processing buffer {"connection_id":217212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bb4fd0012d7b2c4005fabb98000f015729..."} 
[2026-10-16 22:54:15] local.INFO: Packet analysis {"connection_id":217212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bb"} 
[2026-10-16 22:54:15] local.INFO: Extracted packet for processing {"connection_id":217212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bb"} 
[2026-10-16 22:54:15] local.INFO: GPS Element Parsed {"raw_longitude":763046976,"raw_latitude":100318104,"longitude_deg":76.3046976,"latitude_deg":10.0318104,"altitude":15,"angle":343,"satellites":41,"speed":30,"hex_longitude":"2d7b2c40","hex_latitude":"05fabb98","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795841024001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15465919534858240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878354109830795264,"note":"Value kept but may cause issues"} 
[2026-10-16 22:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792171266000,"timestamp_ms":1792171266000,"timestamp_seconds":1792171266,"priority":1,"record_length":96,"hex_timestamp":"000001a145bb4fd0"} 
[2026-10-16 22:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:54: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-10-16 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 22:54:15] 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-10-16 22: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-10-16 22:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.205.227","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795841024001,"66":27343,"54":206,"87":10752,"24":30,"16":15465919534858240,"45":8878354109830795264},"client_ip":"117.224.205.227","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-10-16 22:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795841024001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:54:15] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-10-16 22:54:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-10-16 22:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15465919534858240,"km_value":15465919534858.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878354109830795264,"description":"Unknown IO ID 45"} 
[2026-10-16 22:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795841024001,"power":27343,"unknown_54":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":8878354109830795264}} 
[2026-10-16 22:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":217212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:54:15] local.INFO: GPS data processed {"connection_id":217212,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:54:15] local.INFO: Acknowledgment sent {"connection_id":217212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:54:27] local.INFO: TCP Data received {"connection_id":216993,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145bd47b8012cec6d80071683e80019009e2a..."} 
[2026-10-16 22:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bd47b8012cec6d80071683e80019009e2a..."} 
[2026-10-16 22:54:27] local.INFO: Processing buffer {"connection_id":216993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bd47b8012cec6d80071683e80019009e2a..."} 
[2026-10-16 22:54:27] local.INFO: Packet analysis {"connection_id":216993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:54:27] local.INFO: Extracted packet for processing {"connection_id":216993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:54:27] local.INFO: GPS Element Parsed {"raw_longitude":753692032,"raw_latitude":118916072,"longitude_deg":75.3692032,"latitude_deg":11.8916072,"altitude":25,"angle":158,"satellites":42,"speed":18,"hex_longitude":"2cec6d80","hex_latitude":"071683e8","is_valid_coordinates":true} 
[2026-10-16 22: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-10-16 22:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:54:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,34,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792171395000,"timestamp_ms":1792171395000,"timestamp_seconds":1792171395,"priority":1,"record_length":96,"hex_timestamp":"000001a145bd47b8"} 
[2026-10-16 22:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:54: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-10-16 22:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22: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-10-16 22:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":216993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":216993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":216993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26908,"34":206,"2":54272,"24":18,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16]} 
[2026-10-16 22:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:54:27] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-10-16 22:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:54:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26908,"unknown_34":206,"power_alt":54272,"ignition":18,"odometer":null}} 
[2026-10-16 22:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":216993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:54:28] local.INFO: GPS data processed {"connection_id":216993,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:54:28] local.INFO: Acknowledgment sent {"connection_id":216993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:54:48] local.INFO: TCP Data received {"connection_id":217212,"ip":"117.224.205.227","data_length":795,"data_hex":"000000000000030f8e0a000001a145bd9da8012d7a6f4005fc36e0000d013e2e..."} 
[2026-10-16 22:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bd9da8012d7a6f4005fc36e0000d013e2e..."} 
[2026-10-16 22:54:48] local.INFO: Processing buffer {"connection_id":217212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bd9da8012d7a6f4005fc36e0000d013e2e..."} 
[2026-10-16 22:54:48] local.INFO: Packet analysis {"connection_id":217212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:54:48] local.INFO: Extracted packet for processing {"connection_id":217212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:54:48] local.INFO: GPS Element Parsed {"raw_longitude":762998592,"raw_latitude":100415200,"longitude_deg":76.2998592,"latitude_deg":10.04152,"altitude":13,"angle":318,"satellites":46,"speed":19,"hex_longitude":"2d7a6f40","hex_latitude":"05fc36e0","is_valid_coordinates":true} 
[2026-10-16 22:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795878912001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15471172279861248,"note":"Value kept but may cause issues"} 
[2026-10-16 22:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826773820373954560,"note":"Value kept but may cause issues"} 
[2026-10-16 22:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792171417000,"timestamp_ms":1792171417000,"timestamp_seconds":1792171417,"priority":1,"record_length":96,"hex_timestamp":"000001a145bd9da8"} 
[2026-10-16 22:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:54: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-10-16 22:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 22:54:48] 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-10-16 22:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":217212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":217212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":217212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.205.227","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795878912001,"66":27300,"67":206,"8":65024,"24":19,"16":15471172279861248,"45":8826773820373954560},"client_ip":"117.224.205.227","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,8,24,16,45]} 
[2026-10-16 22:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795878912001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:54:48] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-10-16 22:54:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-10-16 22:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15471172279861248,"km_value":15471172279861.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826773820373954560,"description":"Unknown IO ID 45"} 
[2026-10-16 22:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795878912001,"power":27300,"unknown_67":206,"unknown_8":65024,"ignition":19,"odometer":null,"unknown_45":8826773820373954560}} 
[2026-10-16 22:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":217212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:54:48] local.INFO: GPS data processed {"connection_id":217212,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:54:48] local.INFO: Acknowledgment sent {"connection_id":217212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:54:50] local.INFO: TCP Data received {"connection_id":220285,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:54:50] local.INFO: Processing buffer {"connection_id":220285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:54:50] local.INFO: IMEI packet received {"connection_id":220285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":220285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:54:55] local.INFO: TCP Data received {"connection_id":220285,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:54:55] local.INFO: Processing buffer {"connection_id":220285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:54:55] local.INFO: IMEI packet received {"connection_id":220285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":220285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:54:56] local.INFO: TCP Data received {"connection_id":220285,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145be2a480100000000000000000000000000..."} 
[2026-10-16 22:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145be2a480100000000000000000000000000..."} 
[2026-10-16 22:54:56] local.INFO: Processing buffer {"connection_id":220285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145be2a480100000000000000000000000000..."} 
[2026-10-16 22:54:56] local.INFO: Packet analysis {"connection_id":220285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145be"} 
[2026-10-16 22:54:56] local.INFO: Extracted packet for processing {"connection_id":220285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145be"} 
[2026-10-16 22:54: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-10-16 22:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795877120001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:54:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410330340366227456,"note":"Value kept but may cause issues"} 
[2026-10-16 22:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792171453000,"timestamp_ms":1792171453000,"timestamp_seconds":1792171453,"priority":1,"record_length":96,"hex_timestamp":"000001a145be2a48"} 
[2026-10-16 22:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-10-16 22:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":220285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":220285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":220285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":220285,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:54:56] local.INFO: GPS data processed {"connection_id":220285,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:54:56] local.INFO: Acknowledgment sent {"connection_id":220285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:55:22] local.INFO: TCP Data received {"connection_id":217213,"ip":"117.224.205.227","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:22] local.INFO: Processing buffer {"connection_id":217213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:22] local.INFO: IMEI packet received {"connection_id":217213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":217213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:55:24] local.INFO: TCP Data received {"connection_id":217213,"ip":"117.224.205.227","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:24] local.INFO: Processing buffer {"connection_id":217213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:24] local.INFO: IMEI packet received {"connection_id":217213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":217213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:55:24] local.INFO: TCP Data received {"connection_id":217213,"ip":"117.224.205.227","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:24] local.INFO: Processing buffer {"connection_id":217213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:24] local.INFO: IMEI packet received {"connection_id":217213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":217213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:55:27] local.INFO: TCP Data received {"connection_id":220285,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145bda960012cec8380071648c8001800a431..."} 
[2026-10-16 22:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bda960012cec8380071648c8001800a431..."} 
[2026-10-16 22:55:27] local.INFO: Processing buffer {"connection_id":220285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bda960012cec8380071648c8001800a431..."} 
[2026-10-16 22:55:27] local.INFO: Packet analysis {"connection_id":220285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:55:27] local.INFO: Extracted packet for processing {"connection_id":220285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:55:27] local.INFO: GPS Element Parsed {"raw_longitude":753697664,"raw_latitude":118900936,"longitude_deg":75.3697664,"latitude_deg":11.8900936,"altitude":24,"angle":164,"satellites":49,"speed":28,"hex_longitude":"2cec8380","hex_latitude":"071648c8","is_valid_coordinates":true} 
[2026-10-16 22:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:55:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,33,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792171420000,"timestamp_ms":1792171420000,"timestamp_seconds":1792171420,"priority":1,"record_length":96,"hex_timestamp":"000001a145bda960"} 
[2026-10-16 22:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:55: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 22:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":220285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":220285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":220285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27137,"33":206,"2":54272,"24":28,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16]} 
[2026-10-16 22:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:55:27] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-16 22:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:55:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27137,"unknown_33":206,"power_alt":54272,"ignition":28,"odometer":null}} 
[2026-10-16 22:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":220285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:55:27] local.INFO: GPS data processed {"connection_id":220285,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:55:27] local.INFO: Acknowledgment sent {"connection_id":220285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:55:29] local.INFO: TCP Data received {"connection_id":217213,"ip":"117.224.205.227","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:29] local.INFO: Processing buffer {"connection_id":217213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:55:29] local.INFO: IMEI packet received {"connection_id":217213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":217213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:55:30] local.INFO: TCP Data received {"connection_id":217213,"ip":"117.224.205.227","data_length":795,"data_hex":"000000000000030f8e0a000001a145bdb130012d7a680005fc3fc8000c014a2e..."} 
[2026-10-16 22:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bdb130012d7a680005fc3fc8000c014a2e..."} 
[2026-10-16 22:55:30] local.INFO: Processing buffer {"connection_id":217213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bdb130012d7a680005fc3fc8000c014a2e..."} 
[2026-10-16 22:55:30] local.INFO: Packet analysis {"connection_id":217213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:55:30] local.INFO: Extracted packet for processing {"connection_id":217213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:55:30] local.INFO: GPS Element Parsed {"raw_longitude":762996736,"raw_latitude":100417480,"longitude_deg":76.2996736,"latitude_deg":10.041748,"altitude":12,"angle":330,"satellites":46,"speed":25,"hex_longitude":"2d7a6800","hex_latitude":"05fc3fc8","is_valid_coordinates":true} 
[2026-10-16 22:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795882752001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15471314013782016,"note":"Value kept but may cause issues"} 
[2026-10-16 22:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822340589492559872,"note":"Value kept but may cause issues"} 
[2026-10-16 22:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792171422000,"timestamp_ms":1792171422000,"timestamp_seconds":1792171422,"priority":1,"record_length":96,"hex_timestamp":"000001a145bdb130"} 
[2026-10-16 22:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 22:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 22:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.205.227","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 22:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 22:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795882752001,"66":27484,"67":206,"8":65024,"24":25,"16":15471314013782016,"45":8822340589492559872},"client_ip":"117.224.205.227","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,8,24,16,45]} 
[2026-10-16 22:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 22:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 22:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795882752001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:55:30] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-10-16 22:55:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-10-16 22:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15471314013782016,"km_value":15471314013782.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822340589492559872,"description":"Unknown IO ID 45"} 
[2026-10-16 22:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795882752001,"power":27484,"unknown_67":206,"unknown_8":65024,"ignition":25,"odometer":null,"unknown_45":8822340589492559872}} 
[2026-10-16 22:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":217213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:55:30] local.INFO: GPS data processed {"connection_id":217213,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:55:30] local.INFO: Acknowledgment sent {"connection_id":217213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:55:49] local.INFO: TCP Data received {"connection_id":217214,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:55:49] local.INFO: Processing buffer {"connection_id":217214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:55:49] local.INFO: IMEI packet received {"connection_id":217214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":217214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:55:49] local.INFO: TCP Data received {"connection_id":217214,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:55:49] local.INFO: Processing buffer {"connection_id":217214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:55:49] local.INFO: IMEI packet received {"connection_id":217214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":217214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:55:55] local.INFO: TCP Data received {"connection_id":217214,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:55:55] local.INFO: Processing buffer {"connection_id":217214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:55:55] local.INFO: IMEI packet received {"connection_id":217214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":217214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:55:56] local.INFO: TCP Data received {"connection_id":217214,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145bdfb68012ceca140071619a8001d00892e..."} 
[2026-10-16 22:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bdfb68012ceca140071619a8001d00892e..."} 
[2026-10-16 22:55:56] local.INFO: Processing buffer {"connection_id":217214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bdfb68012ceca140071619a8001d00892e..."} 
[2026-10-16 22:55:56] local.INFO: Packet analysis {"connection_id":217214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:55:56] local.INFO: Extracted packet for processing {"connection_id":217214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:55:56] local.INFO: GPS Element Parsed {"raw_longitude":753705280,"raw_latitude":118888872,"longitude_deg":75.370528,"latitude_deg":11.8888872,"altitude":29,"angle":137,"satellites":46,"speed":25,"hex_longitude":"2ceca140","hex_latitude":"071619a8","is_valid_coordinates":true} 
[2026-10-16 22:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795883520001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:55:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1404137890882467840,"note":"Value kept but may cause issues"} 
[2026-10-16 22:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792171441000,"timestamp_ms":1792171441000,"timestamp_seconds":1792171441,"priority":1,"record_length":96,"hex_timestamp":"000001a145bdfb68"} 
[2026-10-16 22:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-10-16 22:55:56] 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-10-16 22:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795883520001,"66":26615,"33":206,"2":54272,"24":25,"16":13211598575370240,"44":-1404137890882467840},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-10-16 22:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795883520001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:55:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-16 22:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:55:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1404137890882467840,"description":"Unknown IO ID 44"} 
[2026-10-16 22:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795883520001,"power":26615,"unknown_33":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1404137890882467840}} 
[2026-10-16 22:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":217214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:55:56] local.INFO: GPS data processed {"connection_id":217214,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:55:56] local.INFO: Acknowledgment sent {"connection_id":217214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:56:13] local.INFO: TCP Data received {"connection_id":217215,"ip":"117.224.205.227","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:56:13] local.INFO: Processing buffer {"connection_id":217215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:56:13] local.INFO: IMEI packet received {"connection_id":217215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 22:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":217215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:56:18] local.INFO: TCP Data received {"connection_id":217215,"ip":"117.224.205.227","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:56:18] local.INFO: Processing buffer {"connection_id":217215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 22:56:18] local.INFO: IMEI packet received {"connection_id":217215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 22:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":217215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:56:27] local.INFO: TCP Data received {"connection_id":217214,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145bdfb68012ceca140071619a8001d00892e..."} 
[2026-10-16 22:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bdfb68012ceca140071619a8001d00892e..."} 
[2026-10-16 22:56:27] local.INFO: Processing buffer {"connection_id":217214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bdfb68012ceca140071619a8001d00892e..."} 
[2026-10-16 22:56:27] local.INFO: Packet analysis {"connection_id":217214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:56:27] local.INFO: Extracted packet for processing {"connection_id":217214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bd"} 
[2026-10-16 22:56:27] local.INFO: GPS Element Parsed {"raw_longitude":753705280,"raw_latitude":118888872,"longitude_deg":75.370528,"latitude_deg":11.8888872,"altitude":29,"angle":137,"satellites":46,"speed":25,"hex_longitude":"2ceca140","hex_latitude":"071619a8","is_valid_coordinates":true} 
[2026-10-16 22:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795888896001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:56:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1395764010328414208,"note":"Value kept but may cause issues"} 
[2026-10-16 22:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792171441000,"timestamp_ms":1792171441000,"timestamp_seconds":1792171441,"priority":1,"record_length":96,"hex_timestamp":"000001a145bdfb68"} 
[2026-10-16 22:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:56: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-10-16 22:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 22:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795888896001,"66":26615,"33":206,"2":54272,"24":25,"16":13211598575370240,"44":-1395764010328414208},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-10-16 22:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795888896001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:56:27] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-16 22:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:56:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1395764010328414208,"description":"Unknown IO ID 44"} 
[2026-10-16 22:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795888896001,"power":26615,"unknown_33":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1395764010328414208}} 
[2026-10-16 22:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":217214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:56:27] local.INFO: GPS data processed {"connection_id":217214,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:56:27] local.INFO: Acknowledgment sent {"connection_id":217214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:56:49] local.INFO: TCP Data received {"connection_id":217216,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:56:49] local.INFO: Processing buffer {"connection_id":217216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:56:49] local.INFO: IMEI packet received {"connection_id":217216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":217216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:56:56] local.INFO: TCP Data received {"connection_id":217216,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:56:56] local.INFO: Processing buffer {"connection_id":217216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:56:56] local.INFO: IMEI packet received {"connection_id":217216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":217216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:56:57] local.INFO: TCP Data received {"connection_id":217216,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145be4d70012cecc6400715e3b8001c00982f..."} 
[2026-10-16 22:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145be4d70012cecc6400715e3b8001c00982f..."} 
[2026-10-16 22:56:57] local.INFO: Processing buffer {"connection_id":217216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145be4d70012cecc6400715e3b8001c00982f..."} 
[2026-10-16 22:56:57] local.INFO: Packet analysis {"connection_id":217216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145be"} 
[2026-10-16 22:56:57] local.INFO: Extracted packet for processing {"connection_id":217216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145be"} 
[2026-10-16 22:56:57] local.INFO: GPS Element Parsed {"raw_longitude":753714752,"raw_latitude":118875064,"longitude_deg":75.3714752,"latitude_deg":11.8875064,"altitude":28,"angle":152,"satellites":47,"speed":34,"hex_longitude":"2cecc640","hex_latitude":"0715e3b8","is_valid_coordinates":true} 
[2026-10-16 22:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795888896001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:56:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1395764010328414208,"note":"Value kept but may cause issues"} 
[2026-10-16 22:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792171462000,"timestamp_ms":1792171462000,"timestamp_seconds":1792171462,"priority":1,"record_length":96,"hex_timestamp":"000001a145be4d70"} 
[2026-10-16 22:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-10-16 22:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 22:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795888896001,"66":27039,"33":206,"2":54272,"24":34,"16":13211598575370240,"44":-1395764010328414208},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-10-16 22:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795888896001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:56:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-16 22:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:56:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1395764010328414208,"description":"Unknown IO ID 44"} 
[2026-10-16 22:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795888896001,"power":27039,"unknown_33":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1395764010328414208}} 
[2026-10-16 22:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":217216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:56:57] local.INFO: GPS data processed {"connection_id":217216,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:56:57] local.INFO: Acknowledgment sent {"connection_id":217216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:57:29] local.INFO: TCP Data received {"connection_id":217216,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145be4d70012cecc6400715e3b8001c00982f..."} 
[2026-10-16 22:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145be4d70012cecc6400715e3b8001c00982f..."} 
[2026-10-16 22:57:29] local.INFO: Processing buffer {"connection_id":217216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145be4d70012cecc6400715e3b8001c00982f..."} 
[2026-10-16 22:57:29] local.INFO: Packet analysis {"connection_id":217216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145be"} 
[2026-10-16 22:57:29] local.INFO: Extracted packet for processing {"connection_id":217216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145be"} 
[2026-10-16 22:57:29] local.INFO: GPS Element Parsed {"raw_longitude":753714752,"raw_latitude":118875064,"longitude_deg":75.3714752,"latitude_deg":11.8875064,"altitude":28,"angle":152,"satellites":47,"speed":34,"hex_longitude":"2cecc640","hex_latitude":"0715e3b8","is_valid_coordinates":true} 
[2026-10-16 22:57: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-10-16 22:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795894272001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1385349436193654784,"note":"Value kept but may cause issues"} 
[2026-10-16 22:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792171462000,"timestamp_ms":1792171462000,"timestamp_seconds":1792171462,"priority":1,"record_length":96,"hex_timestamp":"000001a145be4d70"} 
[2026-10-16 22:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:57: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-10-16 22:57:29] 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-10-16 22:57: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-10-16 22:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795894272001,"66":27039,"33":206,"2":54272,"24":34,"16":13211598575370240,"44":-1385349436193654784},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-10-16 22:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795894272001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:57:29] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-16 22:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1385349436193654784,"description":"Unknown IO ID 44"} 
[2026-10-16 22:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795894272001,"power":27039,"unknown_33":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1385349436193654784}} 
[2026-10-16 22:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":217216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:57:29] local.INFO: GPS data processed {"connection_id":217216,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:57:29] local.INFO: Acknowledgment sent {"connection_id":217216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:57:55] local.INFO: TCP Data received {"connection_id":218551,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:57:55] local.INFO: Processing buffer {"connection_id":218551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:57:55] local.INFO: IMEI packet received {"connection_id":218551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":218551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:58:00] local.INFO: TCP Data received {"connection_id":218551,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:00] local.INFO: Processing buffer {"connection_id":218551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:00] local.INFO: IMEI packet received {"connection_id":218551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":218551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:58:01] local.INFO: TCP Data received {"connection_id":218551,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145be9f78012cecddc00715af28001e009b30..."} 
[2026-10-16 22:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145be9f78012cecddc00715af28001e009b30..."} 
[2026-10-16 22:58:01] local.INFO: Processing buffer {"connection_id":218551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145be9f78012cecddc00715af28001e009b30..."} 
[2026-10-16 22:58:01] local.INFO: Packet analysis {"connection_id":218551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145be"} 
[2026-10-16 22:58:01] local.INFO: Extracted packet for processing {"connection_id":218551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145be"} 
[2026-10-16 22:58:01] local.INFO: GPS Element Parsed {"raw_longitude":753720768,"raw_latitude":118861608,"longitude_deg":75.3720768,"latitude_deg":11.8861608,"altitude":30,"angle":155,"satellites":48,"speed":0,"hex_longitude":"2cecddc0","hex_latitude":"0715af28","is_valid_coordinates":true} 
[2026-10-16 22:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795894272001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1385349436193654784,"note":"Value kept but may cause issues"} 
[2026-10-16 22:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792171483000,"timestamp_ms":1792171483000,"timestamp_seconds":1792171483,"priority":1,"record_length":96,"hex_timestamp":"000001a145be9f78"} 
[2026-10-16 22:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-10-16 22:58:01] 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-10-16 22:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":218551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":218551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":218551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795894272001,"66":26354,"33":206,"2":54272,"24":0,"16":13211598575370240,"44":-1385349436193654784},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-10-16 22:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795894272001,"description":"Unknown IO ID 0"} 
[2026-10-16 22:58:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-10-16 22:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:58:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1385349436193654784,"description":"Unknown IO ID 44"} 
[2026-10-16 22:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795894272001,"power":26354,"unknown_33":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1385349436193654784}} 
[2026-10-16 22:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":218551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:58:01] local.INFO: GPS data processed {"connection_id":218551,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:58:01] local.INFO: Acknowledgment sent {"connection_id":218551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:58:05] local.INFO: TCP Data received {"connection_id":218551,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145bf82080100000000000000000000000000..."} 
[2026-10-16 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bf82080100000000000000000000000000..."} 
[2026-10-16 22:58:05] local.INFO: Processing buffer {"connection_id":218551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bf82080100000000000000000000000000..."} 
[2026-10-16 22:58:05] local.INFO: Packet analysis {"connection_id":218551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bf"} 
[2026-10-16 22:58:05] local.INFO: Extracted packet for processing {"connection_id":218551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bf"} 
[2026-10-16 22:58: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-10-16 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-10-16 22:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795899648001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1378734774244399104,"note":"Value kept but may cause issues"} 
[2026-10-16 22:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792171541000,"timestamp_ms":1792171541000,"timestamp_seconds":1792171541,"priority":1,"record_length":96,"hex_timestamp":"000001a145bf8208"} 
[2026-10-16 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-10-16 22:58: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-10-16 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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-10-16 22:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 22:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":218551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":218551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":218551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":218551,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:58:05] local.INFO: GPS data processed {"connection_id":218551,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:58:05] local.INFO: Acknowledgment sent {"connection_id":218551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:58:48] local.INFO: TCP Data received {"connection_id":218552,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:48] local.INFO: Processing buffer {"connection_id":218552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:48] local.INFO: IMEI packet received {"connection_id":218552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":218552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:58:49] local.INFO: TCP Data received {"connection_id":218552,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:49] local.INFO: Processing buffer {"connection_id":218552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:49] local.INFO: IMEI packet received {"connection_id":218552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":218552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:58:55] local.INFO: TCP Data received {"connection_id":218552,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:55] local.INFO: Processing buffer {"connection_id":218552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:58:55] local.INFO: IMEI packet received {"connection_id":218552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":218552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 22:58:56] local.INFO: TCP Data received {"connection_id":218552,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145bf0cd8012cecf78007157ed8001a009431..."} 
[2026-10-16 22:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bf0cd8012cecf78007157ed8001a009431..."} 
[2026-10-16 22:58:56] local.INFO: Processing buffer {"connection_id":218552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bf0cd8012cecf78007157ed8001a009431..."} 
[2026-10-16 22:58:56] local.INFO: Packet analysis {"connection_id":218552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bf"} 
[2026-10-16 22:58:56] local.INFO: Extracted packet for processing {"connection_id":218552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bf"} 
[2026-10-16 22:58:56] local.INFO: GPS Element Parsed {"raw_longitude":753727360,"raw_latitude":118849240,"longitude_deg":75.372736,"latitude_deg":11.884924,"altitude":26,"angle":148,"satellites":49,"speed":21,"hex_longitude":"2cecf780","hex_latitude":"07157ed8","is_valid_coordinates":true} 
[2026-10-16 22:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:58:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 22:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792171511000,"timestamp_ms":1792171511000,"timestamp_seconds":1792171511,"priority":1,"record_length":96,"hex_timestamp":"000001a145bf0cd8"} 
[2026-10-16 22:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-10-16 22:58:56] 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-10-16 22:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27017,"87":206,"2":54272,"24":21,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16]} 
[2026-10-16 22:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 22:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 22:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 22:58:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-10-16 22:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 22:58:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27017,"unknown_87":206,"power_alt":54272,"ignition":21,"odometer":null}} 
[2026-10-16 22:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":218552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1480,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 22:58:56] local.INFO: GPS data processed {"connection_id":218552,"processed":1,"errors":0,"total":1} 
[2026-10-16 22:58:56] local.INFO: Acknowledgment sent {"connection_id":218552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:59:28] local.INFO: TCP Data received {"connection_id":218552,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145bfef680100000000000000000000000000..."} 
[2026-10-16 22:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145bfef680100000000000000000000000000..."} 
[2026-10-16 22:59:28] local.INFO: Processing buffer {"connection_id":218552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145bfef680100000000000000000000000000..."} 
[2026-10-16 22:59:28] local.INFO: Packet analysis {"connection_id":218552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145bf"} 
[2026-10-16 22:59:28] local.INFO: Extracted packet for processing {"connection_id":218552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145bf"} 
[2026-10-16 22:59:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 22:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 22:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795906816001,"note":"Value kept but may cause issues"} 
[2026-10-16 22:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 22:59:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1371486793597265920,"note":"Value kept but may cause issues"} 
[2026-10-16 22:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 22:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792171569000,"timestamp_ms":1792171569000,"timestamp_seconds":1792171569,"priority":1,"record_length":96,"hex_timestamp":"000001a145bfef68"} 
[2026-10-16 22:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 22:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 22:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 22:59:28] 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-10-16 22:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 22:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 22:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 22:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 22:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 22:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 22:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 22:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 22:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":218552,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 22:59:28] local.INFO: GPS data processed {"connection_id":218552,"processed":0,"errors":0,"total":1} 
[2026-10-16 22:59:28] local.INFO: Acknowledgment sent {"connection_id":218552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 22:59:51] local.INFO: TCP Data received {"connection_id":220286,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:59:51] local.INFO: Processing buffer {"connection_id":220286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:59:51] local.INFO: IMEI packet received {"connection_id":220286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 22:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":220286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 22:59:55] local.INFO: TCP Data received {"connection_id":220286,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:59:55] local.INFO: Processing buffer {"connection_id":220286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 22:59:55] local.INFO: IMEI packet received {"connection_id":220286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 22:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":220286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:00:02] local.INFO: TCP Data received {"connection_id":220286,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:00:02] local.INFO: Processing buffer {"connection_id":220286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:00:02] local.INFO: IMEI packet received {"connection_id":220286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":220286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:00:03] local.INFO: TCP Data received {"connection_id":220286,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c21a18012ced39400714bf00002500a231..."} 
[2026-10-16 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c21a18012ced39400714bf00002500a231..."} 
[2026-10-16 23:00:03] local.INFO: Processing buffer {"connection_id":220286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c21a18012ced39400714bf00002500a231..."} 
[2026-10-16 23:00:03] local.INFO: Packet analysis {"connection_id":220286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c2"} 
[2026-10-16 23:00:03] local.INFO: Extracted packet for processing {"connection_id":220286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c2"} 
[2026-10-16 23:00:03] local.INFO: GPS Element Parsed {"raw_longitude":753744192,"raw_latitude":118800128,"longitude_deg":75.3744192,"latitude_deg":11.8800128,"altitude":37,"angle":162,"satellites":49,"speed":0,"hex_longitude":"2ced3940","hex_latitude":"0714bf00","is_valid_coordinates":true} 
[2026-10-16 23:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795952640001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352979813891112960,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792171711000,"timestamp_ms":1792171711000,"timestamp_seconds":1792171711,"priority":1,"record_length":96,"hex_timestamp":"000001a145c21a18"} 
[2026-10-16 23:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-10-16 23:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":220286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":220286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":220286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795952640001,"66":27223,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1352979813891112960},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795952640001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:00:03] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:00:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352979813891112960,"description":"Unknown IO ID 44"} 
[2026-10-16 23:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795952640001,"power":27223,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1352979813891112960}} 
[2026-10-16 23:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":220286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:00:04] local.INFO: GPS data processed {"connection_id":220286,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:00:04] local.INFO: Acknowledgment sent {"connection_id":220286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:00:05] local.INFO: TCP Data received {"connection_id":220286,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c26c20012ced39400714bf00002500a231..."} 
[2026-10-16 23:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c26c20012ced39400714bf00002500a231..."} 
[2026-10-16 23:00:05] local.INFO: Processing buffer {"connection_id":220286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c26c20012ced39400714bf00002500a231..."} 
[2026-10-16 23:00:05] local.INFO: Packet analysis {"connection_id":220286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c2"} 
[2026-10-16 23:00:05] local.INFO: Extracted packet for processing {"connection_id":220286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c2"} 
[2026-10-16 23:00:05] local.INFO: GPS Element Parsed {"raw_longitude":753744192,"raw_latitude":118800128,"longitude_deg":75.3744192,"latitude_deg":11.8800128,"altitude":37,"angle":162,"satellites":49,"speed":0,"hex_longitude":"2ced3940","hex_latitude":"0714bf00","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795958016001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352979813891112960,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792171732000,"timestamp_ms":1792171732000,"timestamp_seconds":1792171732,"priority":1,"record_length":96,"hex_timestamp":"000001a145c26c20"} 
[2026-10-16 23:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-10-16 23:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23: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-10-16 23:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":220286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":220286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":220286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795958016001,"66":26930,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1352979813891112960},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795958016001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:00:05] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352979813891112960,"description":"Unknown IO ID 44"} 
[2026-10-16 23:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795958016001,"power":26930,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1352979813891112960}} 
[2026-10-16 23:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":220286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:00:05] local.INFO: GPS data processed {"connection_id":220286,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:00:05] local.INFO: Acknowledgment sent {"connection_id":220286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:00:23] local.INFO: TCP Data received {"connection_id":218553,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:00:23] local.INFO: Processing buffer {"connection_id":218553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:00:23] local.INFO: IMEI packet received {"connection_id":218553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":218553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:00:28] local.INFO: TCP Data received {"connection_id":218553,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:00:28] local.INFO: Processing buffer {"connection_id":218553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:00:28] local.INFO: IMEI packet received {"connection_id":218553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":218553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:00:31] local.INFO: TCP Data received {"connection_id":218553,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c2c210012d78aa4005ff3958000f01222d..."} 
[2026-10-16 23:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c2c210012d78aa4005ff3958000f01222d..."} 
[2026-10-16 23:00:31] local.INFO: Processing buffer {"connection_id":218553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c2c210012d78aa4005ff3958000f01222d..."} 
[2026-10-16 23:00:31] local.INFO: Packet analysis {"connection_id":218553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c2"} 
[2026-10-16 23:00:31] local.INFO: Extracted packet for processing {"connection_id":218553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c2"} 
[2026-10-16 23:00:31] local.INFO: GPS Element Parsed {"raw_longitude":762882624,"raw_latitude":100612440,"longitude_deg":76.2882624,"latitude_deg":10.061244,"altitude":15,"angle":290,"satellites":45,"speed":22,"hex_longitude":"2d78aa40","hex_latitude":"05ff3958","is_valid_coordinates":true} 
[2026-10-16 23:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795968256001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15482111561564160,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8696662012441698304,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1792171754000,"timestamp_ms":1792171754000,"timestamp_seconds":1792171754,"priority":1,"record_length":96,"hex_timestamp":"000001a145c2c210"} 
[2026-10-16 23:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 23:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":218553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795968256001,"66":27376,"210":206,"8":65280,"24":22,"16":15482111561564160,"45":8696662012441698304},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-10-16 23:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795968256001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:00:31] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-10-16 23:00:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15482111561564160,"km_value":15482111561564.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8696662012441698304,"description":"Unknown IO ID 45"} 
[2026-10-16 23:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795968256001,"power":27376,"unknown_210":206,"unknown_8":65280,"ignition":22,"odometer":null,"unknown_45":8696662012441698304}} 
[2026-10-16 23:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":218553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:00:31] local.INFO: GPS data processed {"connection_id":218553,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:00:31] local.INFO: Acknowledgment sent {"connection_id":218553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:00:50] local.INFO: TCP Data received {"connection_id":217217,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:00:50] local.INFO: Processing buffer {"connection_id":217217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:00:50] local.INFO: IMEI packet received {"connection_id":217217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":217217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:00:54] local.INFO: TCP Data received {"connection_id":217217,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:00:54] local.INFO: Processing buffer {"connection_id":217217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:00:54] local.INFO: IMEI packet received {"connection_id":217217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":217217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:00:55] local.INFO: TCP Data received {"connection_id":217217,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c2be28012ced39400714bf00002500a231..."} 
[2026-10-16 23:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c2be28012ced39400714bf00002500a231..."} 
[2026-10-16 23:00:55] local.INFO: Processing buffer {"connection_id":217217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c2be28012ced39400714bf00002500a231..."} 
[2026-10-16 23:00:55] local.INFO: Packet analysis {"connection_id":217217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c2"} 
[2026-10-16 23:00:55] local.INFO: Extracted packet for processing {"connection_id":217217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c2"} 
[2026-10-16 23:00:55] local.INFO: GPS Element Parsed {"raw_longitude":753744192,"raw_latitude":118800128,"longitude_deg":75.3744192,"latitude_deg":11.8800128,"altitude":37,"angle":162,"satellites":49,"speed":0,"hex_longitude":"2ced3940","hex_latitude":"0714bf00","is_valid_coordinates":true} 
[2026-10-16 23:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795963392001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352979813891112960,"note":"Value kept but may cause issues"} 
[2026-10-16 23:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792171753000,"timestamp_ms":1792171753000,"timestamp_seconds":1792171753,"priority":1,"record_length":96,"hex_timestamp":"000001a145c2be28"} 
[2026-10-16 23:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 23:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":217217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":217217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":217217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795963392001,"66":27267,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1352979813891112960},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795963392001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:00:55] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352979813891112960,"description":"Unknown IO ID 44"} 
[2026-10-16 23:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795963392001,"power":27267,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1352979813891112960}} 
[2026-10-16 23:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":217217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:00:55] local.INFO: GPS data processed {"connection_id":217217,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:00:55] local.INFO: Acknowledgment sent {"connection_id":217217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:01:06] local.INFO: TCP Data received {"connection_id":218553,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c2c5f8012d78a84005ff3a78000f01332c..."} 
[2026-10-16 23:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c2c5f8012d78a84005ff3a78000f01332c..."} 
[2026-10-16 23:01:06] local.INFO: Processing buffer {"connection_id":218553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c2c5f8012d78a84005ff3a78000f01332c..."} 
[2026-10-16 23:01:06] local.INFO: Packet analysis {"connection_id":218553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c2"} 
[2026-10-16 23:01:06] local.INFO: Extracted packet for processing {"connection_id":218553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c2"} 
[2026-10-16 23:01:06] local.INFO: GPS Element Parsed {"raw_longitude":762882112,"raw_latitude":100612728,"longitude_deg":76.2882112,"latitude_deg":10.0612728,"altitude":15,"angle":307,"satellites":44,"speed":21,"hex_longitude":"2d78a840","hex_latitude":"05ff3a78","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795969024001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15482141626335232,"note":"Value kept but may cause issues"} 
[2026-10-16 23:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694832425093126144,"note":"Value kept but may cause issues"} 
[2026-10-16 23:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792171755000,"timestamp_ms":1792171755000,"timestamp_seconds":1792171755,"priority":1,"record_length":96,"hex_timestamp":"000001a145c2c5f8"} 
[2026-10-16 23:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23: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-10-16 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:01: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-10-16 23: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-10-16 23:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":218553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795969024001,"66":27310,"210":206,"8":65280,"24":21,"16":15482141626335232,"45":8694832425093126144},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-10-16 23:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795969024001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:01:06] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-10-16 23:01:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15482141626335232,"km_value":15482141626335.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694832425093126144,"description":"Unknown IO ID 45"} 
[2026-10-16 23:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795969024001,"power":27310,"unknown_210":206,"unknown_8":65280,"ignition":21,"odometer":null,"unknown_45":8694832425093126144}} 
[2026-10-16 23:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":218553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:01:06] local.INFO: GPS data processed {"connection_id":218553,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:01:06] local.INFO: Acknowledgment sent {"connection_id":218553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:01:27] local.INFO: TCP Data received {"connection_id":217217,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c31030012ced39400714bf00002500a231..."} 
[2026-10-16 23:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c31030012ced39400714bf00002500a231..."} 
[2026-10-16 23:01:27] local.INFO: Processing buffer {"connection_id":217217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c31030012ced39400714bf00002500a231..."} 
[2026-10-16 23:01:27] local.INFO: Packet analysis {"connection_id":217217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c3"} 
[2026-10-16 23:01:27] local.INFO: Extracted packet for processing {"connection_id":217217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c3"} 
[2026-10-16 23:01:27] local.INFO: GPS Element Parsed {"raw_longitude":753744192,"raw_latitude":118800128,"longitude_deg":75.3744192,"latitude_deg":11.8800128,"altitude":37,"angle":162,"satellites":49,"speed":0,"hex_longitude":"2ced3940","hex_latitude":"0714bf00","is_valid_coordinates":true} 
[2026-10-16 23:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795968768001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:01:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352979813891112960,"note":"Value kept but may cause issues"} 
[2026-10-16 23:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792171774000,"timestamp_ms":1792171774000,"timestamp_seconds":1792171774,"priority":1,"record_length":96,"hex_timestamp":"000001a145c31030"} 
[2026-10-16 23:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:01: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-10-16 23:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 23:01: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-10-16 23:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795968768001,"66":27441,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1352979813891112960},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795968768001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:01:27] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:01:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352979813891112960,"description":"Unknown IO ID 44"} 
[2026-10-16 23:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795968768001,"power":27441,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1352979813891112960}} 
[2026-10-16 23:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":217217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:01:27] local.INFO: GPS data processed {"connection_id":217217,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:01:27] local.INFO: Acknowledgment sent {"connection_id":217217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:01:49] local.INFO: TCP Data received {"connection_id":216994,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:01:49] local.INFO: Processing buffer {"connection_id":216994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:01:49] local.INFO: IMEI packet received {"connection_id":216994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":216994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:01:55] local.INFO: TCP Data received {"connection_id":216994,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:01:55] local.INFO: Processing buffer {"connection_id":216994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:01:55] local.INFO: IMEI packet received {"connection_id":216994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":216994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:01:56] local.INFO: TCP Data received {"connection_id":216994,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c36238012ced39400714bf00002500a231..."} 
[2026-10-16 23:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c36238012ced39400714bf00002500a231..."} 
[2026-10-16 23:01:56] local.INFO: Processing buffer {"connection_id":216994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c36238012ced39400714bf00002500a231..."} 
[2026-10-16 23:01:56] local.INFO: Packet analysis {"connection_id":216994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c3"} 
[2026-10-16 23:01:56] local.INFO: Extracted packet for processing {"connection_id":216994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c3"} 
[2026-10-16 23:01:56] local.INFO: GPS Element Parsed {"raw_longitude":753744192,"raw_latitude":118800128,"longitude_deg":75.3744192,"latitude_deg":11.8800128,"altitude":37,"angle":162,"satellites":49,"speed":0,"hex_longitude":"2ced3940","hex_latitude":"0714bf00","is_valid_coordinates":true} 
[2026-10-16 23:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795974144001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:01:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352979813891112960,"note":"Value kept but may cause issues"} 
[2026-10-16 23:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792171795000,"timestamp_ms":1792171795000,"timestamp_seconds":1792171795,"priority":1,"record_length":96,"hex_timestamp":"000001a145c36238"} 
[2026-10-16 23:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 23:01:56] 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-10-16 23:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":216994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":216994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":216994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795974144001,"66":27039,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1352979813891112960},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795974144001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:01:56] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:01:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352979813891112960,"description":"Unknown IO ID 44"} 
[2026-10-16 23:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795974144001,"power":27039,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1352979813891112960}} 
[2026-10-16 23:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":216994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1487,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:01:56] local.INFO: GPS data processed {"connection_id":216994,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:01:56] local.INFO: Acknowledgment sent {"connection_id":216994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:02:17] local.INFO: TCP Data received {"connection_id":218553,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c43910012d786a4006003d380008014a2e..."} 
[2026-10-16 23:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c43910012d786a4006003d380008014a2e..."} 
[2026-10-16 23:02:17] local.INFO: Processing buffer {"connection_id":218553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c43910012d786a4006003d380008014a2e..."} 
[2026-10-16 23:02:17] local.INFO: Packet analysis {"connection_id":218553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:02:17] local.INFO: Extracted packet for processing {"connection_id":218553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:02:17] local.INFO: GPS Element Parsed {"raw_longitude":762866240,"raw_latitude":100678968,"longitude_deg":76.286624,"latitude_deg":10.0678968,"altitude":8,"angle":330,"satellites":46,"speed":37,"hex_longitude":"2d786a40","hex_latitude":"06003d38","is_valid_coordinates":true} 
[2026-10-16 23:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795993600001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15485491700826112,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676818026600675328,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792171850000,"timestamp_ms":1792171850000,"timestamp_seconds":1792171850,"priority":1,"record_length":96,"hex_timestamp":"000001a145c43910"} 
[2026-10-16 23:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:02: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-10-16 23:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":218553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795993600001,"66":27463,"210":206,"8":65280,"24":37,"16":15485491700826112,"45":8676818026600675328},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-10-16 23:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795993600001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:02:17] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-10-16 23:02:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15485491700826112,"km_value":15485491700826.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676818026600675328,"description":"Unknown IO ID 45"} 
[2026-10-16 23:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795993600001,"power":27463,"unknown_210":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8676818026600675328}} 
[2026-10-16 23:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":218553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:02:17] local.INFO: GPS data processed {"connection_id":218553,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:02:17] local.INFO: Acknowledgment sent {"connection_id":218553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:02:28] local.INFO: TCP Data received {"connection_id":216994,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c3b440012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c3b440012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:02:28] local.INFO: Processing buffer {"connection_id":216994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c3b440012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:02:28] local.INFO: Packet analysis {"connection_id":216994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c3"} 
[2026-10-16 23:02:28] local.INFO: Extracted packet for processing {"connection_id":216994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c3"} 
[2026-10-16 23:02:28] local.INFO: GPS Element Parsed {"raw_longitude":753745728,"raw_latitude":118789928,"longitude_deg":75.3745728,"latitude_deg":11.8789928,"altitude":27,"angle":171,"satellites":49,"speed":0,"hex_longitude":"2ced3f40","hex_latitude":"07149728","is_valid_coordinates":true} 
[2026-10-16 23:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795979520001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352979813891112960,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792171816000,"timestamp_ms":1792171816000,"timestamp_seconds":1792171816,"priority":1,"record_length":96,"hex_timestamp":"000001a145c3b440"} 
[2026-10-16 23:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-10-16 23:02:28] 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-10-16 23:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":216994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":216994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":216994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795979520001,"66":27234,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1352979813891112960},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795979520001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:02:28] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:02:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352979813891112960,"description":"Unknown IO ID 44"} 
[2026-10-16 23:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795979520001,"power":27234,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1352979813891112960}} 
[2026-10-16 23:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":216994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:02:28] local.INFO: GPS data processed {"connection_id":216994,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:02:28] local.INFO: Acknowledgment sent {"connection_id":216994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:02:42] local.INFO: TCP Data received {"connection_id":218553,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c45c38012d7854c006005aa0000a013e2e..."} 
[2026-10-16 23:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c45c38012d7854c006005aa0000a013e2e..."} 
[2026-10-16 23:02:42] local.INFO: Processing buffer {"connection_id":218553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c45c38012d7854c006005aa0000a013e2e..."} 
[2026-10-16 23:02:42] local.INFO: Packet analysis {"connection_id":218553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:02:42] local.INFO: Extracted packet for processing {"connection_id":218553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:02:42] local.INFO: GPS Element Parsed {"raw_longitude":762860736,"raw_latitude":100686496,"longitude_deg":76.2860736,"latitude_deg":10.0686496,"altitude":10,"angle":318,"satellites":46,"speed":43,"hex_longitude":"2d7854c0","hex_latitude":"06005aa0","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795993600001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15485942672392192,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676818026600675328,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792171859000,"timestamp_ms":1792171859000,"timestamp_seconds":1792171859,"priority":1,"record_length":96,"hex_timestamp":"000001a145c45c38"} 
[2026-10-16 23:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:02: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-10-16 23: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-10-16 23:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":218553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795993600001,"66":27397,"210":206,"8":65280,"24":43,"16":15485942672392192,"45":8676818026600675328},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-10-16 23:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795993600001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:02:42] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-10-16 23:02:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15485942672392192,"km_value":15485942672392.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676818026600675328,"description":"Unknown IO ID 45"} 
[2026-10-16 23:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795993600001,"power":27397,"unknown_210":206,"unknown_8":65280,"ignition":43,"odometer":null,"unknown_45":8676818026600675328}} 
[2026-10-16 23:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":218553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:02:42] local.INFO: GPS data processed {"connection_id":218553,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:02:42] local.INFO: Acknowledgment sent {"connection_id":218553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:02:49] local.INFO: TCP Data received {"connection_id":220287,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:02:49] local.INFO: Processing buffer {"connection_id":220287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:02:49] local.INFO: IMEI packet received {"connection_id":220287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":220287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:02:55] local.INFO: TCP Data received {"connection_id":220287,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:02:55] local.INFO: Processing buffer {"connection_id":220287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:02:55] local.INFO: IMEI packet received {"connection_id":220287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":220287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:02:57] local.INFO: TCP Data received {"connection_id":220287,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c40648012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c40648012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:02:57] local.INFO: Processing buffer {"connection_id":220287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c40648012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:02:57] local.INFO: Packet analysis {"connection_id":220287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:02:57] local.INFO: Extracted packet for processing {"connection_id":220287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:02:57] local.INFO: GPS Element Parsed {"raw_longitude":753745728,"raw_latitude":118789928,"longitude_deg":75.3745728,"latitude_deg":11.8789928,"altitude":27,"angle":171,"satellites":49,"speed":0,"hex_longitude":"2ced3f40","hex_latitude":"07149728","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795984896001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351290964033460224,"note":"Value kept but may cause issues"} 
[2026-10-16 23:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792171837000,"timestamp_ms":1792171837000,"timestamp_seconds":1792171837,"priority":1,"record_length":96,"hex_timestamp":"000001a145c40648"} 
[2026-10-16 23:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 23:02:57] 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-10-16 23: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-10-16 23:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":220287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":220287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":220287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795984896001,"66":27430,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1351290964033460224},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795984896001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:02:57] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:02:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351290964033460224,"description":"Unknown IO ID 44"} 
[2026-10-16 23:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795984896001,"power":27430,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1351290964033460224}} 
[2026-10-16 23:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":220287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1491,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:02:57] local.INFO: GPS data processed {"connection_id":220287,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:02:57] local.INFO: Acknowledgment sent {"connection_id":220287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:03:14] local.INFO: TCP Data received {"connection_id":218553,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c58ce8012d7732c006015998001101382f..."} 
[2026-10-16 23:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c58ce8012d7732c006015998001101382f..."} 
[2026-10-16 23:03:14] local.INFO: Processing buffer {"connection_id":218553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c58ce8012d7732c006015998001101382f..."} 
[2026-10-16 23:03:14] local.INFO: Packet analysis {"connection_id":218553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:03:14] local.INFO: Extracted packet for processing {"connection_id":218553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:03:14] local.INFO: GPS Element Parsed {"raw_longitude":762786496,"raw_latitude":100751768,"longitude_deg":76.2786496,"latitude_deg":10.0751768,"altitude":17,"angle":312,"satellites":47,"speed":57,"hex_longitude":"2d7732c0","hex_latitude":"06015998","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796014080001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15490692906221568,"note":"Value kept but may cause issues"} 
[2026-10-16 23:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8597442083185221632,"note":"Value kept but may cause issues"} 
[2026-10-16 23:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1792171937000,"timestamp_ms":1792171937000,"timestamp_seconds":1792171937,"priority":1,"record_length":96,"hex_timestamp":"000001a145c58ce8"} 
[2026-10-16 23:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:03: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-10-16 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 23:03: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-10-16 23: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-10-16 23:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":218553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796014080001,"66":27332,"163":206,"8":65280,"24":57,"16":15490692906221568,"45":8597442083185221632},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-10-16 23:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796014080001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:03:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 23:03:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15490692906221568,"km_value":15490692906221.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8597442083185221632,"description":"Unknown IO ID 45"} 
[2026-10-16 23:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796014080001,"power":27332,"unknown_163":206,"unknown_8":65280,"ignition":57,"odometer":null,"unknown_45":8597442083185221632}} 
[2026-10-16 23:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":218553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:03:14] local.INFO: GPS data processed {"connection_id":218553,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:03:14] local.INFO: Acknowledgment sent {"connection_id":218553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:03:29] local.INFO: TCP Data received {"connection_id":220287,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c45850012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c45850012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:03:29] local.INFO: Processing buffer {"connection_id":220287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c45850012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:03:29] local.INFO: Packet analysis {"connection_id":220287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:03:29] local.INFO: Extracted packet for processing {"connection_id":220287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:03:29] local.INFO: GPS Element Parsed {"raw_longitude":753745728,"raw_latitude":118789928,"longitude_deg":75.3745728,"latitude_deg":11.8789928,"altitude":27,"angle":171,"satellites":49,"speed":0,"hex_longitude":"2ced3f40","hex_latitude":"07149728","is_valid_coordinates":true} 
[2026-10-16 23:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795990272001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351290964033460224,"note":"Value kept but may cause issues"} 
[2026-10-16 23:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792171858000,"timestamp_ms":1792171858000,"timestamp_seconds":1792171858,"priority":1,"record_length":96,"hex_timestamp":"000001a145c45850"} 
[2026-10-16 23:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-10-16 23:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":220287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":220287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":220287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795990272001,"66":27213,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1351290964033460224},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795990272001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:03:29] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351290964033460224,"description":"Unknown IO ID 44"} 
[2026-10-16 23:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795990272001,"power":27213,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1351290964033460224}} 
[2026-10-16 23:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":220287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1493,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:03:29] local.INFO: GPS data processed {"connection_id":220287,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:03:29] local.INFO: Acknowledgment sent {"connection_id":220287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:03:45] local.INFO: TCP Data received {"connection_id":218553,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c5a840012d771580060173d0000f013830..."} 
[2026-10-16 23:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c5a840012d771580060173d0000f013830..."} 
[2026-10-16 23:03:46] local.INFO: Processing buffer {"connection_id":218553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c5a840012d771580060173d0000f013830..."} 
[2026-10-16 23:03:46] local.INFO: Packet analysis {"connection_id":218553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:03:46] local.INFO: Extracted packet for processing {"connection_id":218553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:03:46] local.INFO: GPS Element Parsed {"raw_longitude":762779008,"raw_latitude":100758480,"longitude_deg":76.2779008,"latitude_deg":10.075848,"altitude":15,"angle":312,"satellites":48,"speed":54,"hex_longitude":"2d771580","hex_latitude":"060173d0","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796015872001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15491173942558720,"note":"Value kept but may cause issues"} 
[2026-10-16 23:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8589138571373942784,"note":"Value kept but may cause issues"} 
[2026-10-16 23:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1792171944000,"timestamp_ms":1792171944000,"timestamp_seconds":1792171944,"priority":1,"record_length":96,"hex_timestamp":"000001a145c5a840"} 
[2026-10-16 23:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:03: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-10-16 23:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 23:03:46] 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-10-16 23: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-10-16 23:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":218553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796015872001,"66":27539,"163":206,"8":65280,"24":54,"16":15491173942558720,"45":8589138571373942784},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-10-16 23:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796015872001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:03:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 23:03:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15491173942558720,"km_value":15491173942558.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8589138571373942784,"description":"Unknown IO ID 45"} 
[2026-10-16 23:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796015872001,"power":27539,"unknown_163":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":8589138571373942784}} 
[2026-10-16 23:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":218553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:03:46] local.INFO: GPS data processed {"connection_id":218553,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:03:46] local.INFO: Acknowledgment sent {"connection_id":218553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:03:55] local.INFO: TCP Data received {"connection_id":216995,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:03:55] local.INFO: Processing buffer {"connection_id":216995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:03:55] local.INFO: IMEI packet received {"connection_id":216995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":216995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:04:00] local.INFO: TCP Data received {"connection_id":216995,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:04:00] local.INFO: Processing buffer {"connection_id":216995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:04:00] local.INFO: IMEI packet received {"connection_id":216995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":216995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:04:01] local.INFO: TCP Data received {"connection_id":216995,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c4aa58012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c4aa58012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:04:01] local.INFO: Processing buffer {"connection_id":216995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c4aa58012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:04:01] local.INFO: Packet analysis {"connection_id":216995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:04:01] local.INFO: Extracted packet for processing {"connection_id":216995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:04:01] local.INFO: GPS Element Parsed {"raw_longitude":753745728,"raw_latitude":118789928,"longitude_deg":75.3745728,"latitude_deg":11.8789928,"altitude":27,"angle":171,"satellites":49,"speed":0,"hex_longitude":"2ced3f40","hex_latitude":"07149728","is_valid_coordinates":true} 
[2026-10-16 23:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458795995648001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351290964033460224,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792171879000,"timestamp_ms":1792171879000,"timestamp_seconds":1792171879,"priority":1,"record_length":96,"hex_timestamp":"000001a145c4aa58"} 
[2026-10-16 23:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 23:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458795995648001,"66":26028,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1351290964033460224},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458795995648001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:04:01] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351290964033460224,"description":"Unknown IO ID 44"} 
[2026-10-16 23:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458795995648001,"power":26028,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1351290964033460224}} 
[2026-10-16 23:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":216995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:04:01] local.INFO: GPS data processed {"connection_id":216995,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:04:01] local.INFO: Acknowledgment sent {"connection_id":216995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:04:16] local.INFO: TCP Data received {"connection_id":218553,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c5c398012d76f9c006018c10000c01382e..."} 
[2026-10-16 23:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c5c398012d76f9c006018c10000c01382e..."} 
[2026-10-16 23:04:16] local.INFO: Processing buffer {"connection_id":218553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c5c398012d76f9c006018c10000c01382e..."} 
[2026-10-16 23:04:16] local.INFO: Packet analysis {"connection_id":218553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:04:16] local.INFO: Extracted packet for processing {"connection_id":218553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:04:16] local.INFO: GPS Element Parsed {"raw_longitude":762771904,"raw_latitude":100764688,"longitude_deg":76.2771904,"latitude_deg":10.0764688,"altitude":12,"angle":312,"satellites":46,"speed":55,"hex_longitude":"2d76f9c0","hex_latitude":"06018c10","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796017664001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15491629209092096,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8580905428306874368,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792171951000,"timestamp_ms":1792171951000,"timestamp_seconds":1792171951,"priority":1,"record_length":96,"hex_timestamp":"000001a145c5c398"} 
[2026-10-16 23:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:04: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-10-16 23: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-10-16 23:04:16] 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-10-16 23: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-10-16 23:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":218553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":218553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796017664001,"66":27343,"163":206,"8":65280,"24":55,"16":15491629209092096,"45":8580905428306874368},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-10-16 23:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796017664001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:04:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-10-16 23:04:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15491629209092096,"km_value":15491629209092.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8580905428306874368,"description":"Unknown IO ID 45"} 
[2026-10-16 23:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796017664001,"power":27343,"unknown_163":206,"unknown_8":65280,"ignition":55,"odometer":null,"unknown_45":8580905428306874368}} 
[2026-10-16 23:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":218553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:04:17] local.INFO: GPS data processed {"connection_id":218553,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:04:17] local.INFO: Acknowledgment sent {"connection_id":218553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:04:33] local.INFO: TCP Data received {"connection_id":216995,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c4fc60012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c4fc60012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:04:33] local.INFO: Processing buffer {"connection_id":216995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c4fc60012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:04:33] local.INFO: Packet analysis {"connection_id":216995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:04:33] local.INFO: Extracted packet for processing {"connection_id":216995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c4"} 
[2026-10-16 23:04:33] local.INFO: GPS Element Parsed {"raw_longitude":753745728,"raw_latitude":118789928,"longitude_deg":75.3745728,"latitude_deg":11.8789928,"altitude":27,"angle":171,"satellites":49,"speed":0,"hex_longitude":"2ced3f40","hex_latitude":"07149728","is_valid_coordinates":true} 
[2026-10-16 23:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796001024001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351290964033460224,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792171900000,"timestamp_ms":1792171900000,"timestamp_seconds":1792171900,"priority":1,"record_length":96,"hex_timestamp":"000001a145c4fc60"} 
[2026-10-16 23:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-10-16 23:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796001024001,"66":27376,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1351290964033460224},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796001024001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:04:33] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:04:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351290964033460224,"description":"Unknown IO ID 44"} 
[2026-10-16 23:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796001024001,"power":27376,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1351290964033460224}} 
[2026-10-16 23:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":216995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:04:33] local.INFO: GPS data processed {"connection_id":216995,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:04:33] local.INFO: Acknowledgment sent {"connection_id":216995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:04:49] local.INFO: TCP Data received {"connection_id":218554,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:04:49] local.INFO: Processing buffer {"connection_id":218554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:04:49] local.INFO: IMEI packet received {"connection_id":218554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":218554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:04:56] local.INFO: TCP Data received {"connection_id":218554,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:04:56] local.INFO: Processing buffer {"connection_id":218554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:04:56] local.INFO: IMEI packet received {"connection_id":218554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":218554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:04:57] local.INFO: TCP Data received {"connection_id":218554,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c54e68012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c54e68012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:04:57] local.INFO: Processing buffer {"connection_id":218554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c54e68012ced3f4007149728001b00ab31..."} 
[2026-10-16 23:04:57] local.INFO: Packet analysis {"connection_id":218554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:04:57] local.INFO: Extracted packet for processing {"connection_id":218554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:04:57] local.INFO: GPS Element Parsed {"raw_longitude":753745728,"raw_latitude":118789928,"longitude_deg":75.3745728,"latitude_deg":11.8789928,"altitude":27,"angle":171,"satellites":49,"speed":0,"hex_longitude":"2ced3f40","hex_latitude":"07149728","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796006400001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351290964033460224,"note":"Value kept but may cause issues"} 
[2026-10-16 23:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792171921000,"timestamp_ms":1792171921000,"timestamp_seconds":1792171921,"priority":1,"record_length":96,"hex_timestamp":"000001a145c54e68"} 
[2026-10-16 23:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23: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-10-16 23:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":218554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":218554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":218554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796006400001,"66":27463,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1351290964033460224},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796006400001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:04:57] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:04:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351290964033460224,"description":"Unknown IO ID 44"} 
[2026-10-16 23:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796006400001,"power":27463,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1351290964033460224}} 
[2026-10-16 23:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":218554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:04:57] local.INFO: GPS data processed {"connection_id":218554,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:04:57] local.INFO: Acknowledgment sent {"connection_id":218554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:04:58] local.INFO: TCP Data received {"connection_id":220288,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:04:58] local.INFO: Processing buffer {"connection_id":220288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:04:58] local.INFO: IMEI packet received {"connection_id":220288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":220288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:05:06] local.INFO: TCP Data received {"connection_id":220288,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:05:06] local.INFO: Processing buffer {"connection_id":220288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:05:06] local.INFO: IMEI packet received {"connection_id":220288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":220288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:05:13] local.INFO: TCP Data received {"connection_id":220288,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c6d508012d76458006022280000b012f2f..."} 
[2026-10-16 23:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c6d508012d76458006022280000b012f2f..."} 
[2026-10-16 23:05:13] local.INFO: Processing buffer {"connection_id":220288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c6d508012d76458006022280000b012f2f..."} 
[2026-10-16 23:05:13] local.INFO: Packet analysis {"connection_id":220288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c6"} 
[2026-10-16 23:05:13] local.INFO: Extracted packet for processing {"connection_id":220288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c6"} 
[2026-10-16 23:05:13] local.INFO: GPS Element Parsed {"raw_longitude":762725760,"raw_latitude":100803200,"longitude_deg":76.272576,"latitude_deg":10.08032,"altitude":11,"angle":303,"satellites":47,"speed":20,"hex_longitude":"2d764580","hex_latitude":"06022280","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796036608001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15494558376787968,"note":"Value kept but may cause issues"} 
[2026-10-16 23:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8524117851766769664,"note":"Value kept but may cause issues"} 
[2026-10-16 23:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792172021000,"timestamp_ms":1792172021000,"timestamp_seconds":1792172021,"priority":1,"record_length":96,"hex_timestamp":"000001a145c6d508"} 
[2026-10-16 23:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:05: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-10-16 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 23:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23: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-10-16 23:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":220288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796036608001,"66":26517,"162":206,"8":65280,"24":20,"16":15494558376787968,"45":8524117851766769664},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16,45]} 
[2026-10-16 23:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796036608001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:05:13] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-10-16 23:05:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15494558376787968,"km_value":15494558376787.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8524117851766769664,"description":"Unknown IO ID 45"} 
[2026-10-16 23:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796036608001,"power":26517,"unknown_162":206,"unknown_8":65280,"ignition":20,"odometer":null,"unknown_45":8524117851766769664}} 
[2026-10-16 23:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":220288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:05:13] local.INFO: GPS data processed {"connection_id":220288,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:05:13] local.INFO: Acknowledgment sent {"connection_id":220288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:05:29] local.INFO: TCP Data received {"connection_id":218554,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c598a0012ced3500071462b8002000c72e..."} 
[2026-10-16 23:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c598a0012ced3500071462b8002000c72e..."} 
[2026-10-16 23:05:29] local.INFO: Processing buffer {"connection_id":218554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c598a0012ced3500071462b8002000c72e..."} 
[2026-10-16 23:05:29] local.INFO: Packet analysis {"connection_id":218554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:05:29] local.INFO: Extracted packet for processing {"connection_id":218554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:05:29] local.INFO: GPS Element Parsed {"raw_longitude":753743104,"raw_latitude":118776504,"longitude_deg":75.3743104,"latitude_deg":11.8776504,"altitude":32,"angle":199,"satellites":46,"speed":21,"hex_longitude":"2ced3500","hex_latitude":"071462b8","is_valid_coordinates":true} 
[2026-10-16 23:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796011776001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351290964033460224,"note":"Value kept but may cause issues"} 
[2026-10-16 23:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792171940000,"timestamp_ms":1792171940000,"timestamp_seconds":1792171940,"priority":1,"record_length":96,"hex_timestamp":"000001a145c598a0"} 
[2026-10-16 23:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:05:29] 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-10-16 23:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796011776001,"66":27071,"144":206,"2":54272,"24":21,"16":13211598575370240,"44":-1351290964033460224},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796011776001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:05:29] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351290964033460224,"description":"Unknown IO ID 44"} 
[2026-10-16 23:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796011776001,"power":27071,"unknown_144":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1351290964033460224}} 
[2026-10-16 23:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":218554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:05:29] local.INFO: GPS data processed {"connection_id":218554,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:05:29] local.INFO: Acknowledgment sent {"connection_id":218554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:05:44] local.INFO: TCP Data received {"connection_id":220288,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c71f40012d76294006023aa8000a01342f..."} 
[2026-10-16 23:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c71f40012d76294006023aa8000a01342f..."} 
[2026-10-16 23:05:44] local.INFO: Processing buffer {"connection_id":220288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c71f40012d76294006023aa8000a01342f..."} 
[2026-10-16 23:05:44] local.INFO: Packet analysis {"connection_id":220288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c7"} 
[2026-10-16 23:05:44] local.INFO: Extracted packet for processing {"connection_id":220288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c7"} 
[2026-10-16 23:05:44] local.INFO: GPS Element Parsed {"raw_longitude":762718528,"raw_latitude":100809384,"longitude_deg":76.2718528,"latitude_deg":10.0809384,"altitude":10,"angle":308,"satellites":47,"speed":33,"hex_longitude":"2d762940","hex_latitude":"06023aa8","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796037376001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15495017938288640,"note":"Value kept but may cause issues"} 
[2026-10-16 23:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8522358633162506240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1792172040000,"timestamp_ms":1792172040000,"timestamp_seconds":1792172040,"priority":1,"record_length":96,"hex_timestamp":"000001a145c71f40"} 
[2026-10-16 23:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:05: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-10-16 23: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-10-16 23:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23: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-10-16 23:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":220288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796037376001,"66":27376,"63":206,"8":65280,"24":33,"16":15495017938288640,"45":8522358633162506240},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-10-16 23:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796037376001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:05:44] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-10-16 23:05:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15495017938288640,"km_value":15495017938288.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8522358633162506240,"description":"Unknown IO ID 45"} 
[2026-10-16 23:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796037376001,"power":27376,"unknown_63":206,"unknown_8":65280,"ignition":33,"odometer":null,"unknown_45":8522358633162506240}} 
[2026-10-16 23:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":220288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:05:44] local.INFO: GPS data processed {"connection_id":220288,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:05:44] local.INFO: Acknowledgment sent {"connection_id":220288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:05:52] local.INFO: TCP Data received {"connection_id":217218,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:05:52] local.INFO: Processing buffer {"connection_id":217218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:05:52] local.INFO: IMEI packet received {"connection_id":217218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":217218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:05:55] local.INFO: TCP Data received {"connection_id":217218,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:05:55] local.INFO: Processing buffer {"connection_id":217218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:05:55] local.INFO: IMEI packet received {"connection_id":217218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":217218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:05:59] local.INFO: TCP Data received {"connection_id":217218,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:05:59] local.INFO: Processing buffer {"connection_id":217218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:05:59] local.INFO: IMEI packet received {"connection_id":217218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":217218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:06:01] local.INFO: TCP Data received {"connection_id":217218,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c5eaa8012ced3500071462b8002000c72e..."} 
[2026-10-16 23:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c5eaa8012ced3500071462b8002000c72e..."} 
[2026-10-16 23:06:01] local.INFO: Processing buffer {"connection_id":217218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c5eaa8012ced3500071462b8002000c72e..."} 
[2026-10-16 23:06:01] local.INFO: Packet analysis {"connection_id":217218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:06:01] local.INFO: Extracted packet for processing {"connection_id":217218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c5"} 
[2026-10-16 23:06:01] local.INFO: GPS Element Parsed {"raw_longitude":753743104,"raw_latitude":118776504,"longitude_deg":75.3743104,"latitude_deg":11.8776504,"altitude":32,"angle":199,"satellites":46,"speed":0,"hex_longitude":"2ced3500","hex_latitude":"071462b8","is_valid_coordinates":true} 
[2026-10-16 23:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796016640001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1354176082548180992,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792171961000,"timestamp_ms":1792171961000,"timestamp_seconds":1792171961,"priority":1,"record_length":96,"hex_timestamp":"000001a145c5eaa8"} 
[2026-10-16 23:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 23:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796016640001,"66":27234,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1354176082548180992},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796016640001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:06:01] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1354176082548180992,"description":"Unknown IO ID 44"} 
[2026-10-16 23:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796016640001,"power":27234,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1354176082548180992}} 
[2026-10-16 23:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":217218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:06:01] local.INFO: GPS data processed {"connection_id":217218,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:06:01] local.INFO: Acknowledgment sent {"connection_id":217218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:06:05] local.INFO: TCP Data received {"connection_id":217218,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c63cb0012ced23c007144270002000cb30..."} 
[2026-10-16 23:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c63cb0012ced23c007144270002000cb30..."} 
[2026-10-16 23:06:06] local.INFO: Processing buffer {"connection_id":217218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c63cb0012ced23c007144270002000cb30..."} 
[2026-10-16 23:06:06] local.INFO: Packet analysis {"connection_id":217218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c6"} 
[2026-10-16 23:06:06] local.INFO: Extracted packet for processing {"connection_id":217218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c6"} 
[2026-10-16 23:06:06] local.INFO: GPS Element Parsed {"raw_longitude":753738688,"raw_latitude":118768240,"longitude_deg":75.3738688,"latitude_deg":11.876824,"altitude":32,"angle":203,"satellites":48,"speed":0,"hex_longitude":"2ced23c0","hex_latitude":"07144270","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796022016001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1354176082548180992,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792171982000,"timestamp_ms":1792171982000,"timestamp_seconds":1792171982,"priority":1,"record_length":96,"hex_timestamp":"000001a145c63cb0"} 
[2026-10-16 23:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:06: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-10-16 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 23:06: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-10-16 23: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-10-16 23:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796022016001,"66":26419,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1354176082548180992},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796022016001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:06:06] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1354176082548180992,"description":"Unknown IO ID 44"} 
[2026-10-16 23:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796022016001,"power":26419,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1354176082548180992}} 
[2026-10-16 23:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":217218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1503,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:06:06] local.INFO: GPS data processed {"connection_id":217218,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:06:06] local.INFO: Acknowledgment sent {"connection_id":217218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:06:16] local.INFO: TCP Data received {"connection_id":220288,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c74268012d760d4006025138000901362f..."} 
[2026-10-16 23:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c74268012d760d4006025138000901362f..."} 
[2026-10-16 23:06:16] local.INFO: Processing buffer {"connection_id":220288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c74268012d760d4006025138000901362f..."} 
[2026-10-16 23:06:16] local.INFO: Packet analysis {"connection_id":220288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c7"} 
[2026-10-16 23:06:16] local.INFO: Extracted packet for processing {"connection_id":220288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c7"} 
[2026-10-16 23:06:16] local.INFO: GPS Element Parsed {"raw_longitude":762711360,"raw_latitude":100815160,"longitude_deg":76.271136,"latitude_deg":10.081516,"altitude":9,"angle":310,"satellites":47,"speed":44,"hex_longitude":"2d760d40","hex_latitude":"06025138","is_valid_coordinates":true} 
[2026-10-16 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-10-16 23:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796042240001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15495460319920128,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8514406965072013312,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792172049000,"timestamp_ms":1792172049000,"timestamp_seconds":1792172049,"priority":1,"record_length":96,"hex_timestamp":"000001a145c74268"} 
[2026-10-16 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-10-16 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-10-16 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":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:06: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-10-16 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-10-16 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-10-16 23:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":220288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796042240001,"66":27300,"63":206,"8":65280,"24":44,"16":15495460319920128,"45":8514406965072013312},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-10-16 23:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796042240001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:06:16] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-10-16 23:06:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15495460319920128,"km_value":15495460319920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8514406965072013312,"description":"Unknown IO ID 45"} 
[2026-10-16 23:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796042240001,"power":27300,"unknown_63":206,"unknown_8":65280,"ignition":44,"odometer":null,"unknown_45":8514406965072013312}} 
[2026-10-16 23:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":220288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:06:16] local.INFO: GPS data processed {"connection_id":220288,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:06:16] local.INFO: Acknowledgment sent {"connection_id":220288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:06:48] local.INFO: TCP Data received {"connection_id":218555,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:06:48] local.INFO: Processing buffer {"connection_id":218555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:06:48] local.INFO: IMEI packet received {"connection_id":218555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":218555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:06:48] local.INFO: TCP Data received {"connection_id":220288,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c89e10012d756ac00603b438000c01582d..."} 
[2026-10-16 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c89e10012d756ac00603b438000c01582d..."} 
[2026-10-16 23:06:48] local.INFO: Processing buffer {"connection_id":220288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c89e10012d756ac00603b438000c01582d..."} 
[2026-10-16 23:06:48] local.INFO: Packet analysis {"connection_id":220288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c8"} 
[2026-10-16 23:06:48] local.INFO: Extracted packet for processing {"connection_id":220288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c8"} 
[2026-10-16 23:06:48] local.INFO: GPS Element Parsed {"raw_longitude":762669760,"raw_latitude":100906040,"longitude_deg":76.266976,"latitude_deg":10.090604,"altitude":12,"angle":344,"satellites":45,"speed":38,"hex_longitude":"2d756ac0","hex_latitude":"0603b438","is_valid_coordinates":true} 
[2026-10-16 23:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796065280001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15500365172572160,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8463811838030843904,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792172138000,"timestamp_ms":1792172138000,"timestamp_seconds":1792172138,"priority":1,"record_length":96,"hex_timestamp":"000001a145c89e10"} 
[2026-10-16 23:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:06: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-10-16 23:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 23:06: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-10-16 23:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":220288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796065280001,"66":27463,"64":206,"8":65280,"24":38,"16":15500365172572160,"45":8463811838030843904},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,8,24,16,45]} 
[2026-10-16 23:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796065280001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:06:48] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-10-16 23:06:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15500365172572160,"km_value":15500365172572.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8463811838030843904,"description":"Unknown IO ID 45"} 
[2026-10-16 23:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796065280001,"power":27463,"unknown_64":206,"unknown_8":65280,"ignition":38,"odometer":null,"unknown_45":8463811838030843904}} 
[2026-10-16 23:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":220288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:06:48] local.INFO: GPS data processed {"connection_id":220288,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:06:48] local.INFO: Acknowledgment sent {"connection_id":220288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:06:49] local.INFO: TCP Data received {"connection_id":218555,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:06:49] local.INFO: Processing buffer {"connection_id":218555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:06:49] local.INFO: IMEI packet received {"connection_id":218555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":218555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:06:55] local.INFO: TCP Data received {"connection_id":218555,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:06:55] local.INFO: Processing buffer {"connection_id":218555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:06:55] local.INFO: IMEI packet received {"connection_id":218555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":218555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:06:57] local.INFO: TCP Data received {"connection_id":218555,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c68eb8012ced23c007144270002000cb30..."} 
[2026-10-16 23:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c68eb8012ced23c007144270002000cb30..."} 
[2026-10-16 23:06:57] local.INFO: Processing buffer {"connection_id":218555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c68eb8012ced23c007144270002000cb30..."} 
[2026-10-16 23:06:57] local.INFO: Packet analysis {"connection_id":218555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c6"} 
[2026-10-16 23:06:57] local.INFO: Extracted packet for processing {"connection_id":218555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c6"} 
[2026-10-16 23:06:57] local.INFO: GPS Element Parsed {"raw_longitude":753738688,"raw_latitude":118768240,"longitude_deg":75.3738688,"latitude_deg":11.876824,"altitude":32,"angle":203,"satellites":48,"speed":0,"hex_longitude":"2ced23c0","hex_latitude":"07144270","is_valid_coordinates":true} 
[2026-10-16 23:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796027392001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359031525898555392,"note":"Value kept but may cause issues"} 
[2026-10-16 23:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792172003000,"timestamp_ms":1792172003000,"timestamp_seconds":1792172003,"priority":1,"record_length":96,"hex_timestamp":"000001a145c68eb8"} 
[2026-10-16 23:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-16 23:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":218555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":218555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":218555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796027392001,"66":27017,"144":206,"2":54272,"24":0,"16":13211598575370240,"44":-1359031525898555392},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796027392001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:06:57] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:06:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359031525898555392,"description":"Unknown IO ID 44"} 
[2026-10-16 23:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796027392001,"power":27017,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1359031525898555392}} 
[2026-10-16 23:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":218555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:06:57] local.INFO: GPS data processed {"connection_id":218555,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:06:57] local.INFO: Acknowledgment sent {"connection_id":218555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:07:20] local.INFO: TCP Data received {"connection_id":220288,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c8c138012d7562800603d6f0000d015c2b..."} 
[2026-10-16 23:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c8c138012d7562800603d6f0000d015c2b..."} 
[2026-10-16 23:07:20] local.INFO: Processing buffer {"connection_id":220288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c8c138012d7562800603d6f0000d015c2b..."} 
[2026-10-16 23:07:20] local.INFO: Packet analysis {"connection_id":220288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c8"} 
[2026-10-16 23:07:20] local.INFO: Extracted packet for processing {"connection_id":220288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c8"} 
[2026-10-16 23:07:20] local.INFO: GPS Element Parsed {"raw_longitude":762667648,"raw_latitude":100914928,"longitude_deg":76.2667648,"latitude_deg":10.0914928,"altitude":13,"angle":348,"satellites":43,"speed":42,"hex_longitude":"2d756280","hex_latitude":"0603d6f0","is_valid_coordinates":true} 
[2026-10-16 23:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796067328001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15500807554203648,"note":"Value kept but may cause issues"} 
[2026-10-16 23:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8460785982033377280,"note":"Value kept but may cause issues"} 
[2026-10-16 23:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1792172147000,"timestamp_ms":1792172147000,"timestamp_seconds":1792172147,"priority":1,"record_length":96,"hex_timestamp":"000001a145c8c138"} 
[2026-10-16 23:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:07: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-10-16 23:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":220288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796067328001,"66":27397,"64":206,"8":65280,"24":42,"16":15500807554203648,"45":8460785982033377280},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,8,24,16,45]} 
[2026-10-16 23:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796067328001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:07:20] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-10-16 23:07:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15500807554203648,"km_value":15500807554203.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8460785982033377280,"description":"Unknown IO ID 45"} 
[2026-10-16 23:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796067328001,"power":27397,"unknown_64":206,"unknown_8":65280,"ignition":42,"odometer":null,"unknown_45":8460785982033377280}} 
[2026-10-16 23:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":220288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:07:20] local.INFO: GPS data processed {"connection_id":220288,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:07:20] local.INFO: Acknowledgment sent {"connection_id":220288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:07:29] local.INFO: TCP Data received {"connection_id":218555,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c6e0c0012ced2140071416f80021009d33..."} 
[2026-10-16 23:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c6e0c0012ced2140071416f80021009d33..."} 
[2026-10-16 23:07:29] local.INFO: Processing buffer {"connection_id":218555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c6e0c0012ced2140071416f80021009d33..."} 
[2026-10-16 23:07:29] local.INFO: Packet analysis {"connection_id":218555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c6"} 
[2026-10-16 23:07:29] local.INFO: Extracted packet for processing {"connection_id":218555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c6"} 
[2026-10-16 23:07:29] local.INFO: GPS Element Parsed {"raw_longitude":753738048,"raw_latitude":118757112,"longitude_deg":75.3738048,"latitude_deg":11.8757112,"altitude":33,"angle":157,"satellites":51,"speed":15,"hex_longitude":"2ced2140","hex_latitude":"071416f8","is_valid_coordinates":true} 
[2026-10-16 23:07: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-10-16 23:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796032768001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359031525898555392,"note":"Value kept but may cause issues"} 
[2026-10-16 23:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792172024000,"timestamp_ms":1792172024000,"timestamp_seconds":1792172024,"priority":1,"record_length":96,"hex_timestamp":"000001a145c6e0c0"} 
[2026-10-16 23:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:07: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":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 23:07:29] 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-10-16 23:07: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-10-16 23:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796032768001,"66":27115,"144":206,"2":54272,"24":15,"16":13211598575370240,"44":-1359031525898555392},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796032768001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:07:29] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359031525898555392,"description":"Unknown IO ID 44"} 
[2026-10-16 23:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796032768001,"power":27115,"unknown_144":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1359031525898555392}} 
[2026-10-16 23:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":218555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:07:29] local.INFO: GPS data processed {"connection_id":218555,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:07:29] local.INFO: Acknowledgment sent {"connection_id":218555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:07:50] local.INFO: TCP Data received {"connection_id":217219,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:07:50] local.INFO: Processing buffer {"connection_id":217219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:07:50] local.INFO: IMEI packet received {"connection_id":217219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":217219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:07:55] local.INFO: TCP Data received {"connection_id":217219,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:07:55] local.INFO: Processing buffer {"connection_id":217219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:07:55] local.INFO: IMEI packet received {"connection_id":217219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":217219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:07:56] local.INFO: TCP Data received {"connection_id":217219,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c6e0c0012ced2140071416f80021009d33..."} 
[2026-10-16 23:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c6e0c0012ced2140071416f80021009d33..."} 
[2026-10-16 23:07:56] local.INFO: Processing buffer {"connection_id":217219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c6e0c0012ced2140071416f80021009d33..."} 
[2026-10-16 23:07:56] local.INFO: Packet analysis {"connection_id":217219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c6"} 
[2026-10-16 23:07:56] local.INFO: Extracted packet for processing {"connection_id":217219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c6"} 
[2026-10-16 23:07:56] local.INFO: GPS Element Parsed {"raw_longitude":753738048,"raw_latitude":118757112,"longitude_deg":75.3738048,"latitude_deg":11.8757112,"altitude":33,"angle":157,"satellites":51,"speed":15,"hex_longitude":"2ced2140","hex_latitude":"071416f8","is_valid_coordinates":true} 
[2026-10-16 23:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796038144001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:07:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359735213343180800,"note":"Value kept but may cause issues"} 
[2026-10-16 23:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792172024000,"timestamp_ms":1792172024000,"timestamp_seconds":1792172024,"priority":1,"record_length":96,"hex_timestamp":"000001a145c6e0c0"} 
[2026-10-16 23:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-10-16 23:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796038144001,"66":27115,"144":206,"2":54272,"24":15,"16":13211598575370240,"44":-1359735213343180800},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-10-16 23:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796038144001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:07:56] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-10-16 23:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:07:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359735213343180800,"description":"Unknown IO ID 44"} 
[2026-10-16 23:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796038144001,"power":27115,"unknown_144":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1359735213343180800}} 
[2026-10-16 23:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":217219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1509,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:07:56] local.INFO: GPS data processed {"connection_id":217219,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:07:56] local.INFO: Acknowledgment sent {"connection_id":217219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:08:00] local.INFO: TCP Data received {"connection_id":220288,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c8f018012d755b800603fa88000c015f21..."} 
[2026-10-16 23:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c8f018012d755b800603fa88000c015f21..."} 
[2026-10-16 23:08:00] local.INFO: Processing buffer {"connection_id":220288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c8f018012d755b800603fa88000c015f21..."} 
[2026-10-16 23:08:00] local.INFO: Packet analysis {"connection_id":220288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c8"} 
[2026-10-16 23:08:00] local.INFO: Extracted packet for processing {"connection_id":220288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c8"} 
[2026-10-16 23:08:00] local.INFO: GPS Element Parsed {"raw_longitude":762665856,"raw_latitude":100924040,"longitude_deg":76.2665856,"latitude_deg":10.092404,"altitude":12,"angle":351,"satellites":33,"speed":31,"hex_longitude":"2d755b80","hex_latitude":"0603fa88","is_valid_coordinates":true} 
[2026-10-16 23:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796069632001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15501258525769728,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8458463813477789696,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792172159000,"timestamp_ms":1792172159000,"timestamp_seconds":1792172159,"priority":1,"record_length":96,"hex_timestamp":"000001a145c8f018"} 
[2026-10-16 23:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:08:00] 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-10-16 23:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":220288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796069632001,"66":27397,"23":206,"8":65280,"24":31,"16":15501258525769728,"45":8458463813477789696},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,8,24,16,45]} 
[2026-10-16 23:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796069632001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:08:00] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-10-16 23:08:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15501258525769728,"km_value":15501258525769.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8458463813477789696,"description":"Unknown IO ID 45"} 
[2026-10-16 23:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796069632001,"power":27397,"unknown_23":206,"unknown_8":65280,"ignition":31,"odometer":null,"unknown_45":8458463813477789696}} 
[2026-10-16 23:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":220288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:08:00] local.INFO: GPS data processed {"connection_id":220288,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:08:00] local.INFO: Acknowledgment sent {"connection_id":220288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:08:27] local.INFO: TCP Data received {"connection_id":217219,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145c9fda0012cee99800713dcb80025005032..."} 
[2026-10-16 23:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c9fda0012cee99800713dcb80025005032..."} 
[2026-10-16 23:08:27] local.INFO: Processing buffer {"connection_id":217219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c9fda0012cee99800713dcb80025005032..."} 
[2026-10-16 23:08:27] local.INFO: Packet analysis {"connection_id":217219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c9"} 
[2026-10-16 23:08:27] local.INFO: Extracted packet for processing {"connection_id":217219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c9"} 
[2026-10-16 23:08:27] local.INFO: GPS Element Parsed {"raw_longitude":753834368,"raw_latitude":118742200,"longitude_deg":75.3834368,"latitude_deg":11.87422,"altitude":37,"angle":80,"satellites":50,"speed":17,"hex_longitude":"2cee9980","hex_latitude":"0713dcb8","is_valid_coordinates":true} 
[2026-10-16 23:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796086272001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1270015064520638464,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792172228000,"timestamp_ms":1792172228000,"timestamp_seconds":1792172228,"priority":1,"record_length":96,"hex_timestamp":"000001a145c9fda0"} 
[2026-10-16 23:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:08: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-10-16 23:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-10-16 23:08:27] 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-10-16 23:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796086272001,"66":27234,"206":206,"2":54272,"24":17,"16":13211598575370240,"44":-1270015064520638464},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-10-16 23:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796086272001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:08:27] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-10-16 23:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:08:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1270015064520638464,"description":"Unknown IO ID 44"} 
[2026-10-16 23:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796086272001,"power":27234,"unknown_206":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-1270015064520638464}} 
[2026-10-16 23:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":217219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:08:28] local.INFO: GPS data processed {"connection_id":217219,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:08:28] local.INFO: Acknowledgment sent {"connection_id":217219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:08:36] local.INFO: TCP Data received {"connection_id":220288,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145c91b10012d7554c006041cf8000b015a27..."} 
[2026-10-16 23:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145c91b10012d7554c006041cf8000b015a27..."} 
[2026-10-16 23:08:36] local.INFO: Processing buffer {"connection_id":220288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145c91b10012d7554c006041cf8000b015a27..."} 
[2026-10-16 23:08:36] local.INFO: Packet analysis {"connection_id":220288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145c9"} 
[2026-10-16 23:08:36] local.INFO: Extracted packet for processing {"connection_id":220288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145c9"} 
[2026-10-16 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":762664128,"raw_latitude":100932856,"longitude_deg":76.2664128,"latitude_deg":10.0932856,"altitude":11,"angle":346,"satellites":39,"speed":33,"hex_longitude":"2d7554c0","hex_latitude":"06041cf8","is_valid_coordinates":true} 
[2026-10-16 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796072704001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15501692317466624,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8456493488643147776,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792172170000,"timestamp_ms":1792172170000,"timestamp_seconds":1792172170,"priority":1,"record_length":96,"hex_timestamp":"000001a145c91b10"} 
[2026-10-16 23:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23: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-10-16 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:08: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-10-16 23:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":220288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":220288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796072704001,"66":27484,"23":206,"8":65280,"24":33,"16":15501692317466624,"45":8456493488643147776},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,8,24,16,45]} 
[2026-10-16 23:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796072704001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:08:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-10-16 23:08:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15501692317466624,"km_value":15501692317466.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8456493488643147776,"description":"Unknown IO ID 45"} 
[2026-10-16 23:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796072704001,"power":27484,"unknown_23":206,"unknown_8":65280,"ignition":33,"odometer":null,"unknown_45":8456493488643147776}} 
[2026-10-16 23:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":220288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:08:36] local.INFO: GPS data processed {"connection_id":220288,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:08:36] local.INFO: Acknowledgment sent {"connection_id":220288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:08:49] local.INFO: TCP Data received {"connection_id":218556,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:08:49] local.INFO: Processing buffer {"connection_id":218556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:08:49] local.INFO: IMEI packet received {"connection_id":218556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":218556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:08:52] local.INFO: TCP Data received {"connection_id":218556,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:08:52] local.INFO: Processing buffer {"connection_id":218556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:08:52] local.INFO: IMEI packet received {"connection_id":218556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":218556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:08:55] local.INFO: TCP Data received {"connection_id":218556,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:08:55] local.INFO: Processing buffer {"connection_id":218556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:08:55] local.INFO: IMEI packet received {"connection_id":218556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":218556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:08:55] local.INFO: TCP Data received {"connection_id":218556,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cae0300100000000000000000000000000..."} 
[2026-10-16 23:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cae0300100000000000000000000000000..."} 
[2026-10-16 23:08:55] local.INFO: Processing buffer {"connection_id":218556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cae0300100000000000000000000000000..."} 
[2026-10-16 23:08:55] local.INFO: Packet analysis {"connection_id":218556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ca"} 
[2026-10-16 23:08:55] local.INFO: Extracted packet for processing {"connection_id":218556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ca"} 
[2026-10-16 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 23:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796090368001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1253830253359613952,"note":"Value kept but may cause issues"} 
[2026-10-16 23:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1792172286000,"timestamp_ms":1792172286000,"timestamp_seconds":1792172286,"priority":1,"record_length":96,"hex_timestamp":"000001a145cae030"} 
[2026-10-16 23:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 23:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":218556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":218556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":218556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":218556,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:08:55] local.INFO: GPS data processed {"connection_id":218556,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:08:55] local.INFO: Acknowledgment sent {"connection_id":218556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:09:08] local.INFO: TCP Data received {"connection_id":217220,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:09:08] local.INFO: Processing buffer {"connection_id":217220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:09:08] local.INFO: IMEI packet received {"connection_id":217220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":217220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:09:08] local.INFO: TCP Data received {"connection_id":217220,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:09:08] local.INFO: Processing buffer {"connection_id":217220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:09:08] local.INFO: IMEI packet received {"connection_id":217220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":217220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:09:14] local.INFO: TCP Data received {"connection_id":217220,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:09:14] local.INFO: Processing buffer {"connection_id":217220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:09:14] local.INFO: IMEI packet received {"connection_id":217220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":217220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:09:18] local.INFO: TCP Data received {"connection_id":217220,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145caebe8012d74d04006059350000c01572e..."} 
[2026-10-16 23:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145caebe8012d74d04006059350000c01572e..."} 
[2026-10-16 23:09:18] local.INFO: Processing buffer {"connection_id":217220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145caebe8012d74d04006059350000c01572e..."} 
[2026-10-16 23:09:18] local.INFO: Packet analysis {"connection_id":217220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ca"} 
[2026-10-16 23:09:18] local.INFO: Extracted packet for processing {"connection_id":217220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ca"} 
[2026-10-16 23:09:18] local.INFO: GPS Element Parsed {"raw_longitude":762630208,"raw_latitude":101028688,"longitude_deg":76.2630208,"latitude_deg":10.1028688,"altitude":12,"angle":343,"satellites":46,"speed":31,"hex_longitude":"2d74d040","hex_latitude":"06059350","is_valid_coordinates":true} 
[2026-10-16 23:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796103168001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15506618644955136,"note":"Value kept but may cause issues"} 
[2026-10-16 23:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8420112847927863296,"note":"Value kept but may cause issues"} 
[2026-10-16 23:09:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,8,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1792172289000,"timestamp_ms":1792172289000,"timestamp_seconds":1792172289,"priority":1,"record_length":96,"hex_timestamp":"000001a145caebe8"} 
[2026-10-16 23:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:09: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-10-16 23:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:09:18] 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-10-16 23:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":217220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":217220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":217220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796103168001,"66":27463,"24":31,"8":65280,"16":15506618644955136,"45":8420112847927863296},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-10-16 23:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796103168001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:09:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15506618644955136,"km_value":15506618644955.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8420112847927863296,"description":"Unknown IO ID 45"} 
[2026-10-16 23:09:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458796103168001,"power":27463,"ignition":31,"unknown_8":65280,"odometer":null,"unknown_45":8420112847927863296}} 
[2026-10-16 23:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":217220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:09:18] local.INFO: GPS data processed {"connection_id":217220,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:09:18] local.INFO: Acknowledgment sent {"connection_id":217220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:09:22] local.INFO: TCP Data received {"connection_id":217220,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145cb16e0012d74c5800605b640000c01562f..."} 
[2026-10-16 23:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cb16e0012d74c5800605b640000c01562f..."} 
[2026-10-16 23:09:22] local.INFO: Processing buffer {"connection_id":217220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cb16e0012d74c5800605b640000c01562f..."} 
[2026-10-16 23:09:22] local.INFO: Packet analysis {"connection_id":217220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cb"} 
[2026-10-16 23:09:22] local.INFO: Extracted packet for processing {"connection_id":217220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cb"} 
[2026-10-16 23:09:22] local.INFO: GPS Element Parsed {"raw_longitude":762627456,"raw_latitude":101037632,"longitude_deg":76.2627456,"latitude_deg":10.1037632,"altitude":12,"angle":342,"satellites":47,"speed":36,"hex_longitude":"2d74c580","hex_latitude":"0605b640","is_valid_coordinates":true} 
[2026-10-16 23:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796105984001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15507069616521216,"note":"Value kept but may cause issues"} 
[2026-10-16 23:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8417298098162978816,"note":"Value kept but may cause issues"} 
[2026-10-16 23:09:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,8,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1792172300000,"timestamp_ms":1792172300000,"timestamp_seconds":1792172300,"priority":1,"record_length":96,"hex_timestamp":"000001a145cb16e0"} 
[2026-10-16 23:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:09: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-10-16 23:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:09:22] 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-10-16 23:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":217220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":217220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":217220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796105984001,"66":27397,"24":36,"8":65280,"16":15507069616521216,"45":8417298098162978816},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-10-16 23:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796105984001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:09:22] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15507069616521216,"km_value":15507069616521.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8417298098162978816,"description":"Unknown IO ID 45"} 
[2026-10-16 23:09:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458796105984001,"power":27397,"ignition":36,"unknown_8":65280,"odometer":null,"unknown_45":8417298098162978816}} 
[2026-10-16 23:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":217220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:09:22] local.INFO: GPS data processed {"connection_id":217220,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:09:22] local.INFO: Acknowledgment sent {"connection_id":217220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:09:27] local.INFO: TCP Data received {"connection_id":218556,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145ca5b60012ceecf000713e1d00029005f31..."} 
[2026-10-16 23:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145ca5b60012ceecf000713e1d00029005f31..."} 
[2026-10-16 23:09:27] local.INFO: Processing buffer {"connection_id":218556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145ca5b60012ceecf000713e1d00029005f31..."} 
[2026-10-16 23:09:27] local.INFO: Packet analysis {"connection_id":218556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ca"} 
[2026-10-16 23:09:27] local.INFO: Extracted packet for processing {"connection_id":218556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ca"} 
[2026-10-16 23:09:27] local.INFO: GPS Element Parsed {"raw_longitude":753848064,"raw_latitude":118743504,"longitude_deg":75.3848064,"latitude_deg":11.8743504,"altitude":41,"angle":95,"satellites":49,"speed":12,"hex_longitude":"2ceecf00","hex_latitude":"0713e1d0","is_valid_coordinates":true} 
[2026-10-16 23:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:09:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,206,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792172252000,"timestamp_ms":1792172252000,"timestamp_seconds":1792172252,"priority":1,"record_length":96,"hex_timestamp":"000001a145ca5b60"} 
[2026-10-16 23:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:09: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-10-16 23:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27289,"206":206,"2":54272,"24":12,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16]} 
[2026-10-16 23:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:09:27] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-10-16 23:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:09:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27289,"unknown_206":206,"power_alt":54272,"ignition":12,"odometer":null}} 
[2026-10-16 23:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":218556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1515,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:09:27] local.INFO: GPS data processed {"connection_id":218556,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:09:27] local.INFO: Acknowledgment sent {"connection_id":218556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:10:00] local.INFO: TCP Data received {"connection_id":216996,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:00] local.INFO: Processing buffer {"connection_id":216996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:00] local.INFO: IMEI packet received {"connection_id":216996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":216996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:10:02] local.INFO: TCP Data received {"connection_id":216996,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:02] local.INFO: Processing buffer {"connection_id":216996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:02] local.INFO: IMEI packet received {"connection_id":216996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":216996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:10:03] local.INFO: TCP Data received {"connection_id":216996,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145caad68012ceecf000713e1d00029005f31..."} 
[2026-10-16 23:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145caad68012ceecf000713e1d00029005f31..."} 
[2026-10-16 23:10:03] local.INFO: Processing buffer {"connection_id":216996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145caad68012ceecf000713e1d00029005f31..."} 
[2026-10-16 23:10:03] local.INFO: Packet analysis {"connection_id":216996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ca"} 
[2026-10-16 23:10:03] local.INFO: Extracted packet for processing {"connection_id":216996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ca"} 
[2026-10-16 23:10:03] local.INFO: GPS Element Parsed {"raw_longitude":753848064,"raw_latitude":118743504,"longitude_deg":75.3848064,"latitude_deg":11.8743504,"altitude":41,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2ceecf00","hex_latitude":"0713e1d0","is_valid_coordinates":true} 
[2026-10-16 23:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796096512001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:10:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1238771342105260032,"note":"Value kept but may cause issues"} 
[2026-10-16 23:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792172273000,"timestamp_ms":1792172273000,"timestamp_seconds":1792172273,"priority":1,"record_length":96,"hex_timestamp":"000001a145caad68"} 
[2026-10-16 23:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 23:10:03] 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-10-16 23:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":216996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":216996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":216996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796096512001,"66":26539,"206":206,"2":54272,"24":0,"16":13211598575370240,"44":-1238771342105260032},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-10-16 23:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796096512001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:10:03] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-10-16 23:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1238771342105260032,"description":"Unknown IO ID 44"} 
[2026-10-16 23:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796096512001,"power":26539,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1238771342105260032}} 
[2026-10-16 23:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":216996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:10:03] local.INFO: GPS data processed {"connection_id":216996,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:10:03] local.INFO: Acknowledgment sent {"connection_id":216996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:10:04] local.INFO: TCP Data received {"connection_id":216996,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145caff70012ceecf000713e1d00029005f31..."} 
[2026-10-16 23:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145caff70012ceecf000713e1d00029005f31..."} 
[2026-10-16 23:10:04] local.INFO: Processing buffer {"connection_id":216996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145caff70012ceecf000713e1d00029005f31..."} 
[2026-10-16 23:10:04] local.INFO: Packet analysis {"connection_id":216996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ca"} 
[2026-10-16 23:10:04] local.INFO: Extracted packet for processing {"connection_id":216996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ca"} 
[2026-10-16 23:10:04] local.INFO: GPS Element Parsed {"raw_longitude":753848064,"raw_latitude":118743504,"longitude_deg":75.3848064,"latitude_deg":11.8743504,"altitude":41,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2ceecf00","hex_latitude":"0713e1d0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 23:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796101888001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1238771342105260032,"note":"Value kept but may cause issues"} 
[2026-10-16 23:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792172294000,"timestamp_ms":1792172294000,"timestamp_seconds":1792172294,"priority":1,"record_length":96,"hex_timestamp":"000001a145caff70"} 
[2026-10-16 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-10-16 23:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-10-16 23:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 23:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":216996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":216996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":216996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796101888001,"66":27213,"71":206,"2":54272,"24":0,"16":13211598575370240,"44":-1238771342105260032},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-10-16 23:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796101888001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:10:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1238771342105260032,"description":"Unknown IO ID 44"} 
[2026-10-16 23:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796101888001,"power":27213,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1238771342105260032}} 
[2026-10-16 23:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":216996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:10:04] local.INFO: GPS data processed {"connection_id":216996,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:10:04] local.INFO: Acknowledgment sent {"connection_id":216996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:10:04] local.INFO: TCP Data received {"connection_id":216997,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:10:04] local.INFO: Processing buffer {"connection_id":216997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:10:04] local.INFO: IMEI packet received {"connection_id":216997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":216997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:10:10] local.INFO: TCP Data received {"connection_id":216997,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:10:10] local.INFO: Processing buffer {"connection_id":216997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:10:10] local.INFO: IMEI packet received {"connection_id":216997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":216997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:10:11] local.INFO: TCP Data received {"connection_id":216997,"ip":"117.224.231.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 23:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216997,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 23:10:11] local.INFO: Processing buffer {"connection_id":216997,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-10-16 23:10:11] local.INFO: IMEI packet received {"connection_id":216997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":216997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:10:49] local.INFO: TCP Data received {"connection_id":218557,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:49] local.INFO: Processing buffer {"connection_id":218557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:49] local.INFO: IMEI packet received {"connection_id":218557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":218557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:10:55] local.INFO: TCP Data received {"connection_id":218557,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:55] local.INFO: Processing buffer {"connection_id":218557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:10:55] local.INFO: IMEI packet received {"connection_id":218557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":218557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:10:56] local.INFO: TCP Data received {"connection_id":218557,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cbe2000100000000000000000000000000..."} 
[2026-10-16 23:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cbe2000100000000000000000000000000..."} 
[2026-10-16 23:10:56] local.INFO: Processing buffer {"connection_id":218557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cbe2000100000000000000000000000000..."} 
[2026-10-16 23:10:56] local.INFO: Packet analysis {"connection_id":218557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cb"} 
[2026-10-16 23:10:56] local.INFO: Extracted packet for processing {"connection_id":218557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cb"} 
[2026-10-16 23:10: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-10-16 23:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796107264001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:10:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1238771342105260032,"note":"Value kept but may cause issues"} 
[2026-10-16 23:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792172352000,"timestamp_ms":1792172352000,"timestamp_seconds":1792172352,"priority":1,"record_length":96,"hex_timestamp":"000001a145cbe200"} 
[2026-10-16 23:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 23:10:56] 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-10-16 23:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":218557,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:10:56] local.INFO: GPS data processed {"connection_id":218557,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:10:56] local.INFO: Acknowledgment sent {"connection_id":218557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:11:28] local.INFO: TCP Data received {"connection_id":218557,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cb5948012ceef5c00713de80002e006332..."} 
[2026-10-16 23:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cb5948012ceef5c00713de80002e006332..."} 
[2026-10-16 23:11:28] local.INFO: Processing buffer {"connection_id":218557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cb5948012ceef5c00713de80002e006332..."} 
[2026-10-16 23:11:28] local.INFO: Packet analysis {"connection_id":218557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cb"} 
[2026-10-16 23:11:28] local.INFO: Extracted packet for processing {"connection_id":218557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cb"} 
[2026-10-16 23:11:28] local.INFO: GPS Element Parsed {"raw_longitude":753857984,"raw_latitude":118742656,"longitude_deg":75.3857984,"latitude_deg":11.8742656,"altitude":46,"angle":99,"satellites":50,"speed":8,"hex_longitude":"2ceef5c0","hex_latitude":"0713de80","is_valid_coordinates":true} 
[2026-10-16 23:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:11:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792172317000,"timestamp_ms":1792172317000,"timestamp_seconds":1792172317,"priority":1,"record_length":96,"hex_timestamp":"000001a145cb5948"} 
[2026-10-16 23:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-10-16 23:11:28] 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-10-16 23:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27376,"71":206,"2":54272,"24":8,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16]} 
[2026-10-16 23:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:11:28] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:11:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27376,"unknown_71":206,"power_alt":54272,"ignition":8,"odometer":null}} 
[2026-10-16 23:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":218557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:11:28] local.INFO: GPS data processed {"connection_id":218557,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:11:28] local.INFO: Acknowledgment sent {"connection_id":218557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:11:50] local.INFO: TCP Data received {"connection_id":220289,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:11:50] local.INFO: Processing buffer {"connection_id":220289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:11:50] local.INFO: IMEI packet received {"connection_id":220289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":220289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:11:55] local.INFO: TCP Data received {"connection_id":220289,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:11:55] local.INFO: Processing buffer {"connection_id":220289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:11:55] local.INFO: IMEI packet received {"connection_id":220289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":220289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:11:56] local.INFO: TCP Data received {"connection_id":220289,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cbab50012ceef5c00713de80002e006332..."} 
[2026-10-16 23:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cbab50012ceef5c00713de80002e006332..."} 
[2026-10-16 23:11:56] local.INFO: Processing buffer {"connection_id":220289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cbab50012ceef5c00713de80002e006332..."} 
[2026-10-16 23:11:56] local.INFO: Packet analysis {"connection_id":220289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cb"} 
[2026-10-16 23:11:56] local.INFO: Extracted packet for processing {"connection_id":220289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cb"} 
[2026-10-16 23:11:56] local.INFO: GPS Element Parsed {"raw_longitude":753857984,"raw_latitude":118742656,"longitude_deg":75.3857984,"latitude_deg":11.8742656,"altitude":46,"angle":99,"satellites":50,"speed":0,"hex_longitude":"2ceef5c0","hex_latitude":"0713de80","is_valid_coordinates":true} 
[2026-10-16 23:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796113152001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:11:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1227864186757939200,"note":"Value kept but may cause issues"} 
[2026-10-16 23:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792172338000,"timestamp_ms":1792172338000,"timestamp_seconds":1792172338,"priority":1,"record_length":96,"hex_timestamp":"000001a145cbab50"} 
[2026-10-16 23:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:11: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-10-16 23:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":220289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":220289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":220289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796113152001,"66":27332,"71":206,"2":54272,"24":0,"16":13211598575370240,"44":-1227864186757939200},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-10-16 23:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796113152001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:11:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:11:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1227864186757939200,"description":"Unknown IO ID 44"} 
[2026-10-16 23:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796113152001,"power":27332,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1227864186757939200}} 
[2026-10-16 23:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":220289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:11:56] local.INFO: GPS data processed {"connection_id":220289,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:11:56] local.INFO: Acknowledgment sent {"connection_id":220289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:12:28] local.INFO: TCP Data received {"connection_id":220289,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cc8de00100000000000000000000000000..."} 
[2026-10-16 23:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cc8de00100000000000000000000000000..."} 
[2026-10-16 23:12:28] local.INFO: Processing buffer {"connection_id":220289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cc8de00100000000000000000000000000..."} 
[2026-10-16 23:12:28] local.INFO: Packet analysis {"connection_id":220289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cc"} 
[2026-10-16 23:12:28] local.INFO: Extracted packet for processing {"connection_id":220289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cc"} 
[2026-10-16 23:12:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 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-10-16 23:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796118528001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:12:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1227864186757939200,"note":"Value kept but may cause issues"} 
[2026-10-16 23:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792172396000,"timestamp_ms":1792172396000,"timestamp_seconds":1792172396,"priority":1,"record_length":96,"hex_timestamp":"000001a145cc8de0"} 
[2026-10-16 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-10-16 23:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 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":196,"data_length":795,"current_offset":136} 
[2026-10-16 23:12:28] 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-10-16 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-10-16 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-10-16 23:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":220289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":220289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":220289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":220289,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:12:28] local.INFO: GPS data processed {"connection_id":220289,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:12:28] local.INFO: Acknowledgment sent {"connection_id":220289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:12:49] local.INFO: TCP Data received {"connection_id":217221,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:12:49] local.INFO: Processing buffer {"connection_id":217221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:12:49] local.INFO: IMEI packet received {"connection_id":217221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":217221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:12:55] local.INFO: TCP Data received {"connection_id":217221,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:12:55] local.INFO: Processing buffer {"connection_id":217221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:12:55] local.INFO: IMEI packet received {"connection_id":217221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":217221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:12:57] local.INFO: TCP Data received {"connection_id":217221,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cc0528012cef1c000713d8e00023005d30..."} 
[2026-10-16 23:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cc0528012cef1c000713d8e00023005d30..."} 
[2026-10-16 23:12:57] local.INFO: Processing buffer {"connection_id":217221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cc0528012cef1c000713d8e00023005d30..."} 
[2026-10-16 23:12:57] local.INFO: Packet analysis {"connection_id":217221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cc"} 
[2026-10-16 23:12:57] local.INFO: Extracted packet for processing {"connection_id":217221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cc"} 
[2026-10-16 23:12:57] local.INFO: GPS Element Parsed {"raw_longitude":753867776,"raw_latitude":118741216,"longitude_deg":75.3867776,"latitude_deg":11.8741216,"altitude":35,"angle":93,"satellites":48,"speed":5,"hex_longitude":"2cef1c00","hex_latitude":"0713d8e0","is_valid_coordinates":true} 
[2026-10-16 23:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:12:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792172361000,"timestamp_ms":1792172361000,"timestamp_seconds":1792172361,"priority":1,"record_length":96,"hex_timestamp":"000001a145cc0528"} 
[2026-10-16 23:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27343,"71":206,"2":54272,"24":5,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16]} 
[2026-10-16 23:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:12:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:12:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27343,"unknown_71":206,"power_alt":54272,"ignition":5,"odometer":null}} 
[2026-10-16 23:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":217221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1520,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:12:57] local.INFO: GPS data processed {"connection_id":217221,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:12:57] local.INFO: Acknowledgment sent {"connection_id":217221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:13:29] local.INFO: TCP Data received {"connection_id":217221,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cc5730012cef1c000713d8e00023005d30..."} 
[2026-10-16 23:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cc5730012cef1c000713d8e00023005d30..."} 
[2026-10-16 23:13:29] local.INFO: Processing buffer {"connection_id":217221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cc5730012cef1c000713d8e00023005d30..."} 
[2026-10-16 23:13:29] local.INFO: Packet analysis {"connection_id":217221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cc"} 
[2026-10-16 23:13:29] local.INFO: Extracted packet for processing {"connection_id":217221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cc"} 
[2026-10-16 23:13:29] local.INFO: GPS Element Parsed {"raw_longitude":753867776,"raw_latitude":118741216,"longitude_deg":75.3867776,"latitude_deg":11.8741216,"altitude":35,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2cef1c00","hex_latitude":"0713d8e0","is_valid_coordinates":true} 
[2026-10-16 23:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796124416001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1217097768899125248,"note":"Value kept but may cause issues"} 
[2026-10-16 23:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792172382000,"timestamp_ms":1792172382000,"timestamp_seconds":1792172382,"priority":1,"record_length":96,"hex_timestamp":"000001a145cc5730"} 
[2026-10-16 23:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796124416001,"66":26430,"71":206,"2":54272,"24":0,"16":13211598575370240,"44":-1217097768899125248},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-10-16 23:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796124416001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:13:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1217097768899125248,"description":"Unknown IO ID 44"} 
[2026-10-16 23:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796124416001,"power":26430,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1217097768899125248}} 
[2026-10-16 23:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":217221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:13:29] local.INFO: GPS data processed {"connection_id":217221,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:13:29] local.INFO: Acknowledgment sent {"connection_id":217221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:13:55] local.INFO: TCP Data received {"connection_id":216999,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:13:55] local.INFO: Processing buffer {"connection_id":216999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:13:55] local.INFO: IMEI packet received {"connection_id":216999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":216999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:14:00] local.INFO: TCP Data received {"connection_id":216999,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:14:00] local.INFO: Processing buffer {"connection_id":216999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:14:00] local.INFO: IMEI packet received {"connection_id":216999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":216999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:14:01] local.INFO: TCP Data received {"connection_id":216999,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cca938012cef1c000713d8e00023005d30..."} 
[2026-10-16 23:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cca938012cef1c000713d8e00023005d30..."} 
[2026-10-16 23:14:01] local.INFO: Processing buffer {"connection_id":216999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cca938012cef1c000713d8e00023005d30..."} 
[2026-10-16 23:14:01] local.INFO: Packet analysis {"connection_id":216999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cc"} 
[2026-10-16 23:14:01] local.INFO: Extracted packet for processing {"connection_id":216999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cc"} 
[2026-10-16 23:14:01] local.INFO: GPS Element Parsed {"raw_longitude":753867776,"raw_latitude":118741216,"longitude_deg":75.3867776,"latitude_deg":11.8741216,"altitude":35,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2cef1c00","hex_latitude":"0713d8e0","is_valid_coordinates":true} 
[2026-10-16 23:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796129792001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1217097768899125248,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792172403000,"timestamp_ms":1792172403000,"timestamp_seconds":1792172403,"priority":1,"record_length":96,"hex_timestamp":"000001a145cca938"} 
[2026-10-16 23:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-10-16 23:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":216999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":216999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":216999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796129792001,"66":26723,"71":206,"2":54272,"24":0,"16":13211598575370240,"44":-1217097768899125248},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-10-16 23:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796129792001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:14:01] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:14:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1217097768899125248,"description":"Unknown IO ID 44"} 
[2026-10-16 23:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796129792001,"power":26723,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1217097768899125248}} 
[2026-10-16 23:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":216999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:14:01] local.INFO: GPS data processed {"connection_id":216999,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:14:01] local.INFO: Acknowledgment sent {"connection_id":216999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:14:02] local.INFO: TCP Data received {"connection_id":216999,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145ccfb40012cef3f800713d5800029005d32..."} 
[2026-10-16 23:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145ccfb40012cef3f800713d5800029005d32..."} 
[2026-10-16 23:14:02] local.INFO: Processing buffer {"connection_id":216999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145ccfb40012cef3f800713d5800029005d32..."} 
[2026-10-16 23:14:02] local.INFO: Packet analysis {"connection_id":216999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cc"} 
[2026-10-16 23:14:02] local.INFO: Extracted packet for processing {"connection_id":216999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cc"} 
[2026-10-16 23:14:02] local.INFO: GPS Element Parsed {"raw_longitude":753876864,"raw_latitude":118740352,"longitude_deg":75.3876864,"latitude_deg":11.8740352,"altitude":41,"angle":93,"satellites":50,"speed":0,"hex_longitude":"2cef3f80","hex_latitude":"0713d580","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796135168001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1217097768899125248,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1792172424000,"timestamp_ms":1792172424000,"timestamp_seconds":1792172424,"priority":1,"record_length":96,"hex_timestamp":"000001a145ccfb40"} 
[2026-10-16 23:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23: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":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-10-16 23:14:02] 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-10-16 23: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-10-16 23:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":216999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":216999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":216999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796135168001,"66":26691,"71":206,"2":54272,"24":0,"16":13211598575370240,"44":-1217097768899125248},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-10-16 23:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796135168001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:14:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1217097768899125248,"description":"Unknown IO ID 44"} 
[2026-10-16 23:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796135168001,"power":26691,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1217097768899125248}} 
[2026-10-16 23:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":216999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1523,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:14:02] local.INFO: GPS data processed {"connection_id":216999,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:14:02] local.INFO: Acknowledgment sent {"connection_id":216999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:14:33] local.INFO: TCP Data received {"connection_id":216999,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cd4d48012cef3f800713d5800029005d32..."} 
[2026-10-16 23:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":216999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cd4d48012cef3f800713d5800029005d32..."} 
[2026-10-16 23:14:33] local.INFO: Processing buffer {"connection_id":216999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cd4d48012cef3f800713d5800029005d32..."} 
[2026-10-16 23:14:33] local.INFO: Packet analysis {"connection_id":216999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cd"} 
[2026-10-16 23:14:33] local.INFO: Extracted packet for processing {"connection_id":216999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cd"} 
[2026-10-16 23:14:33] local.INFO: GPS Element Parsed {"raw_longitude":753876864,"raw_latitude":118740352,"longitude_deg":75.3876864,"latitude_deg":11.8740352,"altitude":41,"angle":93,"satellites":50,"speed":0,"hex_longitude":"2cef3f80","hex_latitude":"0713d580","is_valid_coordinates":true} 
[2026-10-16 23:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796140544001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1207105407226118144,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1792172445000,"timestamp_ms":1792172445000,"timestamp_seconds":1792172445,"priority":1,"record_length":96,"hex_timestamp":"000001a145cd4d48"} 
[2026-10-16 23:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-10-16 23:14:33] 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-10-16 23:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":216999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":216999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":216999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796140544001,"66":27137,"71":206,"2":54272,"24":0,"16":13211598575370240,"44":-1207105407226118144},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-10-16 23:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796140544001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:14:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:14:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1207105407226118144,"description":"Unknown IO ID 44"} 
[2026-10-16 23:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796140544001,"power":27137,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1207105407226118144}} 
[2026-10-16 23:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":216999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:14:33] local.INFO: GPS data processed {"connection_id":216999,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:14:33] local.INFO: Acknowledgment sent {"connection_id":216999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:14:50] local.INFO: TCP Data received {"connection_id":218560,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:14:50] local.INFO: Processing buffer {"connection_id":218560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:14:50] local.INFO: IMEI packet received {"connection_id":218560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":218560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:14:54] local.INFO: TCP Data received {"connection_id":218560,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:14:54] local.INFO: Processing buffer {"connection_id":218560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:14:54] local.INFO: IMEI packet received {"connection_id":218560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":218560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:14:56] local.INFO: TCP Data received {"connection_id":218560,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cd9f50012cef3f800713d5800029005d32..."} 
[2026-10-16 23:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cd9f50012cef3f800713d5800029005d32..."} 
[2026-10-16 23:14:56] local.INFO: Processing buffer {"connection_id":218560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cd9f50012cef3f800713d5800029005d32..."} 
[2026-10-16 23:14:56] local.INFO: Packet analysis {"connection_id":218560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cd"} 
[2026-10-16 23:14:56] local.INFO: Extracted packet for processing {"connection_id":218560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cd"} 
[2026-10-16 23:14:56] local.INFO: GPS Element Parsed {"raw_longitude":753876864,"raw_latitude":118740352,"longitude_deg":75.3876864,"latitude_deg":11.8740352,"altitude":41,"angle":93,"satellites":50,"speed":0,"hex_longitude":"2cef3f80","hex_latitude":"0713d580","is_valid_coordinates":true} 
[2026-10-16 23:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796145920001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1207105407226118144,"note":"Value kept but may cause issues"} 
[2026-10-16 23:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792172466000,"timestamp_ms":1792172466000,"timestamp_seconds":1792172466,"priority":1,"record_length":96,"hex_timestamp":"000001a145cd9f50"} 
[2026-10-16 23:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-10-16 23:14:56] 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-10-16 23:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796145920001,"66":27615,"71":206,"2":54272,"24":0,"16":13211598575370240,"44":-1207105407226118144},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-10-16 23:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796145920001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:14:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1207105407226118144,"description":"Unknown IO ID 44"} 
[2026-10-16 23:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796145920001,"power":27615,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1207105407226118144}} 
[2026-10-16 23:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":218560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1525,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:14:56] local.INFO: GPS data processed {"connection_id":218560,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:14:56] local.INFO: Acknowledgment sent {"connection_id":218560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:15:13] local.INFO: TCP Data received {"connection_id":217000,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:15:13] local.INFO: Processing buffer {"connection_id":217000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:15:13] local.INFO: IMEI packet received {"connection_id":217000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":217000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:15:15] local.INFO: TCP Data received {"connection_id":217000,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d04ae8012d721e400608a758000e01222b..."} 
[2026-10-16 23:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d04ae8012d721e400608a758000e01222b..."} 
[2026-10-16 23:15:15] local.INFO: Processing buffer {"connection_id":217000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d04ae8012d721e400608a758000e01222b..."} 
[2026-10-16 23:15:15] local.INFO: Packet analysis {"connection_id":217000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d0"} 
[2026-10-16 23:15:15] local.INFO: Extracted packet for processing {"connection_id":217000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d0"} 
[2026-10-16 23:15:15] local.INFO: GPS Element Parsed {"raw_longitude":762453568,"raw_latitude":101230424,"longitude_deg":76.2453568,"latitude_deg":10.1230424,"altitude":14,"angle":290,"satellites":43,"speed":16,"hex_longitude":"2d721e40","hex_latitude":"0608a758","is_valid_coordinates":true} 
[2026-10-16 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-10-16 23:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796195840001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15522093412122624,"note":"Value kept but may cause issues"} 
[2026-10-16 23:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223432208005134336,"note":"Value kept but may cause issues"} 
[2026-10-16 23:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1792172641000,"timestamp_ms":1792172641000,"timestamp_seconds":1792172641,"priority":1,"record_length":96,"hex_timestamp":"000001a145d04ae8"} 
[2026-10-16 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-10-16 23:15: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-10-16 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 23:15: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-10-16 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-10-16 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-10-16 23:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":217000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":217000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":217000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796195840001,"66":27484,"233":206,"8":65280,"24":16,"16":15522093412122624,"45":8223432208005134336},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-10-16 23:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796195840001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:15:15] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-10-16 23:15:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15522093412122624,"km_value":15522093412122.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223432208005134336,"description":"Unknown IO ID 45"} 
[2026-10-16 23:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796195840001,"power":27484,"unknown_233":206,"unknown_8":65280,"ignition":16,"odometer":null,"unknown_45":8223432208005134336}} 
[2026-10-16 23:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":217000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:15:15] local.INFO: GPS data processed {"connection_id":217000,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:15:15] local.INFO: Acknowledgment sent {"connection_id":217000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:15:28] local.INFO: TCP Data received {"connection_id":218560,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145cdf158012cef64000713d520002d005930..."} 
[2026-10-16 23:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145cdf158012cef64000713d520002d005930..."} 
[2026-10-16 23:15:28] local.INFO: Processing buffer {"connection_id":218560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145cdf158012cef64000713d520002d005930..."} 
[2026-10-16 23:15:28] local.INFO: Packet analysis {"connection_id":218560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145cd"} 
[2026-10-16 23:15:28] local.INFO: Extracted packet for processing {"connection_id":218560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145cd"} 
[2026-10-16 23:15:28] local.INFO: GPS Element Parsed {"raw_longitude":753886208,"raw_latitude":118740256,"longitude_deg":75.3886208,"latitude_deg":11.8740256,"altitude":45,"angle":89,"satellites":48,"speed":0,"hex_longitude":"2cef6400","hex_latitude":"0713d520","is_valid_coordinates":true} 
[2026-10-16 23:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796151296001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:15:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1207105407226118144,"note":"Value kept but may cause issues"} 
[2026-10-16 23:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792172487000,"timestamp_ms":1792172487000,"timestamp_seconds":1792172487,"priority":1,"record_length":96,"hex_timestamp":"000001a145cdf158"} 
[2026-10-16 23:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-10-16 23:15:28] 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-10-16 23:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796151296001,"66":27234,"71":206,"2":54272,"24":0,"16":13211598575370240,"44":-1207105407226118144},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-10-16 23:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796151296001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:15:28] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:15:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1207105407226118144,"description":"Unknown IO ID 44"} 
[2026-10-16 23:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796151296001,"power":27234,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1207105407226118144}} 
[2026-10-16 23:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":218560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:15:28] local.INFO: GPS data processed {"connection_id":218560,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:15:28] local.INFO: Acknowledgment sent {"connection_id":218560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:15:50] local.INFO: TCP Data received {"connection_id":217222,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:15:50] local.INFO: Processing buffer {"connection_id":217222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:15:50] local.INFO: IMEI packet received {"connection_id":217222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":217222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:15:55] local.INFO: TCP Data received {"connection_id":217222,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:15:55] local.INFO: Processing buffer {"connection_id":217222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:15:55] local.INFO: IMEI packet received {"connection_id":217222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":217222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:15:56] local.INFO: TCP Data received {"connection_id":217222,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145ce4360012cef64000713d520002d005930..."} 
[2026-10-16 23:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145ce4360012cef64000713d520002d005930..."} 
[2026-10-16 23:15:56] local.INFO: Processing buffer {"connection_id":217222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145ce4360012cef64000713d520002d005930..."} 
[2026-10-16 23:15:56] local.INFO: Packet analysis {"connection_id":217222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145ce"} 
[2026-10-16 23:15:56] local.INFO: Extracted packet for processing {"connection_id":217222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145ce"} 
[2026-10-16 23:15:56] local.INFO: GPS Element Parsed {"raw_longitude":753886208,"raw_latitude":118740256,"longitude_deg":75.3886208,"latitude_deg":11.8740256,"altitude":45,"angle":89,"satellites":48,"speed":0,"hex_longitude":"2cef6400","hex_latitude":"0713d520","is_valid_coordinates":true} 
[2026-10-16 23:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796156672001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:15:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1196831570576203776,"note":"Value kept but may cause issues"} 
[2026-10-16 23:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792172508000,"timestamp_ms":1792172508000,"timestamp_seconds":1792172508,"priority":1,"record_length":96,"hex_timestamp":"000001a145ce4360"} 
[2026-10-16 23:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 23:15:56] 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-10-16 23:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796156672001,"66":27213,"71":206,"2":54272,"24":0,"16":13211598575370240,"44":-1196831570576203776},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-10-16 23:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796156672001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:15:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-10-16 23:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:15:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1196831570576203776,"description":"Unknown IO ID 44"} 
[2026-10-16 23:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796156672001,"power":27213,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1196831570576203776}} 
[2026-10-16 23:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":217222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:15:56] local.INFO: GPS data processed {"connection_id":217222,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:15:56] local.INFO: Acknowledgment sent {"connection_id":217222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:15:58] local.INFO: TCP Data received {"connection_id":217001,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:15:58] local.INFO: Processing buffer {"connection_id":217001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:15:58] local.INFO: IMEI packet received {"connection_id":217001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":217001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:16:02] local.INFO: TCP Data received {"connection_id":217001,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:16:02] local.INFO: Processing buffer {"connection_id":217001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:16:02] local.INFO: IMEI packet received {"connection_id":217001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":217001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:16:02] local.INFO: TCP Data received {"connection_id":217001,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d15870012d71cb40060953e0000d01472f..."} 
[2026-10-16 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d15870012d71cb40060953e0000d01472f..."} 
[2026-10-16 23:16:03] local.INFO: Processing buffer {"connection_id":217001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d15870012d71cb40060953e0000d01472f..."} 
[2026-10-16 23:16:03] local.INFO: Packet analysis {"connection_id":217001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:16:03] local.INFO: Extracted packet for processing {"connection_id":217001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:16:03] local.INFO: GPS Element Parsed {"raw_longitude":762432320,"raw_latitude":101274592,"longitude_deg":76.243232,"latitude_deg":10.1274592,"altitude":13,"angle":327,"satellites":47,"speed":24,"hex_longitude":"2d71cb40","hex_latitude":"060953e0","is_valid_coordinates":true} 
[2026-10-16 23:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796212736001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15524490003873792,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8201547528576788480,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792172710000,"timestamp_ms":1792172710000,"timestamp_seconds":1792172710,"priority":1,"record_length":96,"hex_timestamp":"000001a145d15870"} 
[2026-10-16 23:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796212736001,"66":27343,"234":206,"8":65280,"24":24,"16":15524490003873792,"45":8201547528576788480},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-10-16 23:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796212736001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:16:03] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-16 23:16:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15524490003873792,"km_value":15524490003873.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8201547528576788480,"description":"Unknown IO ID 45"} 
[2026-10-16 23:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796212736001,"power":27343,"unknown_234":206,"unknown_8":65280,"ignition":24,"odometer":null,"unknown_45":8201547528576788480}} 
[2026-10-16 23:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":217001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:16:03] local.INFO: GPS data processed {"connection_id":217001,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:16:03] local.INFO: Acknowledgment sent {"connection_id":217001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:16:27] local.INFO: TCP Data received {"connection_id":217222,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d150a0012cef9f800713ab70002b007c2f..."} 
[2026-10-16 23:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d150a0012cef9f800713ab70002b007c2f..."} 
[2026-10-16 23:16:27] local.INFO: Processing buffer {"connection_id":217222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d150a0012cef9f800713ab70002b007c2f..."} 
[2026-10-16 23:16:27] local.INFO: Packet analysis {"connection_id":217222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:16:27] local.INFO: Extracted packet for processing {"connection_id":217222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:16:27] local.INFO: GPS Element Parsed {"raw_longitude":753901440,"raw_latitude":118729584,"longitude_deg":75.390144,"latitude_deg":11.8729584,"altitude":43,"angle":124,"satellites":47,"speed":0,"hex_longitude":"2cef9f80","hex_latitude":"0713ab70","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796207872001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1180083809464651776,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792172708000,"timestamp_ms":1792172708000,"timestamp_seconds":1792172708,"priority":1,"record_length":96,"hex_timestamp":"000001a145d150a0"} 
[2026-10-16 23:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:16: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-10-16 23: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":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-10-16 23:16:27] 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-10-16 23: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-10-16 23:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796207872001,"66":27223,"154":206,"2":54272,"24":0,"16":13211598575370240,"44":-1180083809464651776},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-10-16 23:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796207872001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:16:27] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-16 23:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:16:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1180083809464651776,"description":"Unknown IO ID 44"} 
[2026-10-16 23:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796207872001,"power":27223,"unknown_154":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1180083809464651776}} 
[2026-10-16 23:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":217222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:16:27] local.INFO: GPS data processed {"connection_id":217222,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:16:27] local.INFO: Acknowledgment sent {"connection_id":217222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:16:35] local.INFO: TCP Data received {"connection_id":217001,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d16040012d71c94006095888000d015430..."} 
[2026-10-16 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d16040012d71c94006095888000d015430..."} 
[2026-10-16 23:16:35] local.INFO: Processing buffer {"connection_id":217001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d16040012d71c94006095888000d015430..."} 
[2026-10-16 23:16:35] local.INFO: Packet analysis {"connection_id":217001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:16:35] local.INFO: Extracted packet for processing {"connection_id":217001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:16:35] local.INFO: GPS Element Parsed {"raw_longitude":762431808,"raw_latitude":101275784,"longitude_deg":76.2431808,"latitude_deg":10.1275784,"altitude":13,"angle":340,"satellites":48,"speed":27,"hex_longitude":"2d71c940","hex_latitude":"06095888","is_valid_coordinates":true} 
[2026-10-16 23:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796213760001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15524554428383232,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8199717941228593152,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792172712000,"timestamp_ms":1792172712000,"timestamp_seconds":1792172712,"priority":1,"record_length":96,"hex_timestamp":"000001a145d16040"} 
[2026-10-16 23:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:16: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-10-16 23:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":217001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":217001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":217001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796213760001,"66":27463,"234":206,"8":65280,"24":27,"16":15524554428383232,"45":8199717941228593152},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-10-16 23:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796213760001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:16:35] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-16 23:16:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15524554428383232,"km_value":15524554428383.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8199717941228593152,"description":"Unknown IO ID 45"} 
[2026-10-16 23:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796213760001,"power":27463,"unknown_234":206,"unknown_8":65280,"ignition":27,"odometer":null,"unknown_45":8199717941228593152}} 
[2026-10-16 23:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":217001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:16:35] local.INFO: GPS data processed {"connection_id":217001,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:16:35] local.INFO: Acknowledgment sent {"connection_id":217001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:16:50] local.INFO: TCP Data received {"connection_id":218561,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:16:50] local.INFO: Processing buffer {"connection_id":218561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:16:50] local.INFO: IMEI packet received {"connection_id":218561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":218561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:16:55] local.INFO: TCP Data received {"connection_id":218561,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:16:55] local.INFO: Processing buffer {"connection_id":218561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:16:55] local.INFO: IMEI packet received {"connection_id":218561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":218561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:16:56] local.INFO: TCP Data received {"connection_id":218561,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d19308012cefbf800713a3980027004a30..."} 
[2026-10-16 23:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d19308012cefbf800713a3980027004a30..."} 
[2026-10-16 23:16:56] local.INFO: Processing buffer {"connection_id":218561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d19308012cefbf800713a3980027004a30..."} 
[2026-10-16 23:16:56] local.INFO: Packet analysis {"connection_id":218561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:16:56] local.INFO: Extracted packet for processing {"connection_id":218561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:16:56] local.INFO: GPS Element Parsed {"raw_longitude":753909632,"raw_latitude":118727576,"longitude_deg":75.3909632,"latitude_deg":11.8727576,"altitude":39,"angle":74,"satellites":48,"speed":0,"hex_longitude":"2cefbf80","hex_latitude":"0713a398","is_valid_coordinates":true} 
[2026-10-16 23:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796213248001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1180083809464651776,"note":"Value kept but may cause issues"} 
[2026-10-16 23:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792172725000,"timestamp_ms":1792172725000,"timestamp_seconds":1792172725,"priority":1,"record_length":96,"hex_timestamp":"000001a145d19308"} 
[2026-10-16 23:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-10-16 23:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796213248001,"66":27397,"154":206,"2":54272,"24":0,"16":13211598575370240,"44":-1180083809464651776},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-10-16 23:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796213248001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:16:56] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-16 23:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:16:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1180083809464651776,"description":"Unknown IO ID 44"} 
[2026-10-16 23:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796213248001,"power":27397,"unknown_154":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1180083809464651776}} 
[2026-10-16 23:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":218561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:16:56] local.INFO: GPS data processed {"connection_id":218561,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:16:56] local.INFO: Acknowledgment sent {"connection_id":218561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:16:58] local.INFO: TCP Data received {"connection_id":220291,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:16:58] local.INFO: Processing buffer {"connection_id":220291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:16:58] local.INFO: IMEI packet received {"connection_id":220291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":220291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:17:03] local.INFO: TCP Data received {"connection_id":220291,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:17:03] local.INFO: Processing buffer {"connection_id":220291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:17:03] local.INFO: IMEI packet received {"connection_id":220291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":220291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:17:03] local.INFO: TCP Data received {"connection_id":220291,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d18f20012d71bd0006097b88000c01542f..."} 
[2026-10-16 23:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d18f20012d71bd0006097b88000c01542f..."} 
[2026-10-16 23:17:04] local.INFO: Processing buffer {"connection_id":220291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d18f20012d71bd0006097b88000c01542f..."} 
[2026-10-16 23:17:04] local.INFO: Packet analysis {"connection_id":220291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:17:04] local.INFO: Extracted packet for processing {"connection_id":220291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:17:04] local.INFO: GPS Element Parsed {"raw_longitude":762428672,"raw_latitude":101284744,"longitude_deg":76.2428672,"latitude_deg":10.1284744,"altitude":12,"angle":340,"satellites":47,"speed":32,"hex_longitude":"2d71bd00","hex_latitude":"06097b88","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796214272001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15525013989883904,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8199154991275476992,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792172724000,"timestamp_ms":1792172724000,"timestamp_seconds":1792172724,"priority":1,"record_length":96,"hex_timestamp":"000001a145d18f20"} 
[2026-10-16 23:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:17: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-10-16 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23: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-10-16 23:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":220291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":220291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":220291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796214272001,"66":26832,"234":206,"8":65280,"24":32,"16":15525013989883904,"45":8199154991275476992},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-10-16 23:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796214272001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:17:04] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-16 23:17:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15525013989883904,"km_value":15525013989883.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8199154991275476992,"description":"Unknown IO ID 45"} 
[2026-10-16 23:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796214272001,"power":26832,"unknown_234":206,"unknown_8":65280,"ignition":32,"odometer":null,"unknown_45":8199154991275476992}} 
[2026-10-16 23:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":220291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:17:04] local.INFO: GPS data processed {"connection_id":220291,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:17:04] local.INFO: Acknowledgment sent {"connection_id":220291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:17:28] local.INFO: TCP Data received {"connection_id":218561,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d1e510012cefbf800713a3980027004a30..."} 
[2026-10-16 23:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d1e510012cefbf800713a3980027004a30..."} 
[2026-10-16 23:17:28] local.INFO: Processing buffer {"connection_id":218561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d1e510012cefbf800713a3980027004a30..."} 
[2026-10-16 23:17:28] local.INFO: Packet analysis {"connection_id":218561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:17:28] local.INFO: Extracted packet for processing {"connection_id":218561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:17:28] local.INFO: GPS Element Parsed {"raw_longitude":753909632,"raw_latitude":118727576,"longitude_deg":75.3909632,"latitude_deg":11.8727576,"altitude":39,"angle":74,"satellites":48,"speed":0,"hex_longitude":"2cefbf80","hex_latitude":"0713a398","is_valid_coordinates":true} 
[2026-10-16 23:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796217600001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1171076610210424832,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792172746000,"timestamp_ms":1792172746000,"timestamp_seconds":1792172746,"priority":1,"record_length":96,"hex_timestamp":"000001a145d1e510"} 
[2026-10-16 23:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:17:28] 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-10-16 23:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":218561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":218561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":218561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796217600001,"66":27441,"154":206,"2":54272,"24":0,"16":13211598575370240,"44":-1171076610210424832},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-10-16 23:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796217600001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:17:28] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-16 23:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:17:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1171076610210424832,"description":"Unknown IO ID 44"} 
[2026-10-16 23:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796217600001,"power":27441,"unknown_154":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1171076610210424832}} 
[2026-10-16 23:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":218561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:17:28] local.INFO: GPS data processed {"connection_id":218561,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:17:28] local.INFO: Acknowledgment sent {"connection_id":218561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:17:36] local.INFO: TCP Data received {"connection_id":220291,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d1ba18012d71b24006099b60000d01622c..."} 
[2026-10-16 23:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d1ba18012d71b24006099b60000d01622c..."} 
[2026-10-16 23:17:36] local.INFO: Processing buffer {"connection_id":220291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d1ba18012d71b24006099b60000d01622c..."} 
[2026-10-16 23:17:36] local.INFO: Packet analysis {"connection_id":220291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:17:36] local.INFO: Extracted packet for processing {"connection_id":220291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":762425920,"raw_latitude":101292896,"longitude_deg":76.242592,"latitude_deg":10.1292896,"altitude":13,"angle":354,"satellites":44,"speed":26,"hex_longitude":"2d71b240","hex_latitude":"06099b60","is_valid_coordinates":true} 
[2026-10-16 23:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796217344001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15525430601711616,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8195706922813065216,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792172735000,"timestamp_ms":1792172735000,"timestamp_seconds":1792172735,"priority":1,"record_length":96,"hex_timestamp":"000001a145d1ba18"} 
[2026-10-16 23:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:17: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-10-16 23:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-10-16 23:17:36] 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-10-16 23:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":220291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":220291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":220291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796217344001,"66":27463,"234":206,"8":65280,"24":26,"16":15525430601711616,"45":8195706922813065216},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-10-16 23:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796217344001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:17:36] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-16 23:17:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15525430601711616,"km_value":15525430601711.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8195706922813065216,"description":"Unknown IO ID 45"} 
[2026-10-16 23:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796217344001,"power":27463,"unknown_234":206,"unknown_8":65280,"ignition":26,"odometer":null,"unknown_45":8195706922813065216}} 
[2026-10-16 23:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":220291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:17:36] local.INFO: GPS data processed {"connection_id":220291,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:17:36] local.INFO: Acknowledgment sent {"connection_id":220291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:17:49] local.INFO: TCP Data received {"connection_id":217223,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:17:49] local.INFO: Processing buffer {"connection_id":217223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:17:49] local.INFO: IMEI packet received {"connection_id":217223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":217223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:17:50] local.INFO: TCP Data received {"connection_id":217223,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:17:50] local.INFO: Processing buffer {"connection_id":217223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:17:50] local.INFO: IMEI packet received {"connection_id":217223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":217223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:17:55] local.INFO: TCP Data received {"connection_id":217223,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:17:55] local.INFO: Processing buffer {"connection_id":217223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:17:55] local.INFO: IMEI packet received {"connection_id":217223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":217223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:17:56] local.INFO: TCP Data received {"connection_id":217223,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d23718012cefbf800713a3980027004a30..."} 
[2026-10-16 23:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d23718012cefbf800713a3980027004a30..."} 
[2026-10-16 23:17:56] local.INFO: Processing buffer {"connection_id":217223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d23718012cefbf800713a3980027004a30..."} 
[2026-10-16 23:17:56] local.INFO: Packet analysis {"connection_id":217223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d2"} 
[2026-10-16 23:17:56] local.INFO: Extracted packet for processing {"connection_id":217223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d2"} 
[2026-10-16 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":753909632,"raw_latitude":118727576,"longitude_deg":75.3909632,"latitude_deg":11.8727576,"altitude":39,"angle":74,"satellites":48,"speed":0,"hex_longitude":"2cefbf80","hex_latitude":"0713a398","is_valid_coordinates":true} 
[2026-10-16 23:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796222976001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1171076610210424832,"note":"Value kept but may cause issues"} 
[2026-10-16 23:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792172767000,"timestamp_ms":1792172767000,"timestamp_seconds":1792172767,"priority":1,"record_length":96,"hex_timestamp":"000001a145d23718"} 
[2026-10-16 23:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 23:17:56] 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-10-16 23:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796222976001,"66":26930,"154":206,"2":54272,"24":0,"16":13211598575370240,"44":-1171076610210424832},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-10-16 23:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796222976001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:17:56] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-16 23:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:17:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1171076610210424832,"description":"Unknown IO ID 44"} 
[2026-10-16 23:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796222976001,"power":26930,"unknown_154":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1171076610210424832}} 
[2026-10-16 23:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":217223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1536,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:17:57] local.INFO: GPS data processed {"connection_id":217223,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:17:57] local.INFO: Acknowledgment sent {"connection_id":217223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:17:58] local.INFO: TCP Data received {"connection_id":218562,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:17:58] local.INFO: Processing buffer {"connection_id":218562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:17:58] local.INFO: IMEI packet received {"connection_id":218562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":218562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:18:02] local.INFO: TCP Data received {"connection_id":218562,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:18:02] local.INFO: Processing buffer {"connection_id":218562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:18:02] local.INFO: IMEI packet received {"connection_id":218562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":218562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:18:03] local.INFO: TCP Data received {"connection_id":218562,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:18:03] local.INFO: Processing buffer {"connection_id":218562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:18:03] local.INFO: IMEI packet received {"connection_id":218562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":218562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:18:03] local.INFO: TCP Data received {"connection_id":218562,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d1d188012d71afc00609ab38000c01522c..."} 
[2026-10-16 23:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d1d188012d71afc00609ab38000c01522c..."} 
[2026-10-16 23:18:03] local.INFO: Processing buffer {"connection_id":218562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d1d188012d71afc00609ab38000c01522c..."} 
[2026-10-16 23:18:03] local.INFO: Packet analysis {"connection_id":218562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:18:03] local.INFO: Extracted packet for processing {"connection_id":218562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:18:03] local.INFO: GPS Element Parsed {"raw_longitude":762425280,"raw_latitude":101296952,"longitude_deg":76.242528,"latitude_deg":10.1296952,"altitude":12,"angle":338,"satellites":44,"speed":29,"hex_longitude":"2d71afc0","hex_latitude":"0609ab38","is_valid_coordinates":true} 
[2026-10-16 23:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796220160001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15525632465174528,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8192681066815512576,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792172741000,"timestamp_ms":1792172741000,"timestamp_seconds":1792172741,"priority":1,"record_length":96,"hex_timestamp":"000001a145d1d188"} 
[2026-10-16 23:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":218562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":218562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":218562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796220160001,"66":27517,"234":206,"8":65280,"24":29,"16":15525632465174528,"45":8192681066815512576},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-10-16 23:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796220160001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:18:03] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-16 23:18:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15525632465174528,"km_value":15525632465174.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8192681066815512576,"description":"Unknown IO ID 45"} 
[2026-10-16 23:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796220160001,"power":27517,"unknown_234":206,"unknown_8":65280,"ignition":29,"odometer":null,"unknown_45":8192681066815512576}} 
[2026-10-16 23:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":218562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:18:03] local.INFO: GPS data processed {"connection_id":218562,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:18:03] local.INFO: Acknowledgment sent {"connection_id":218562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:18:09] local.INFO: TCP Data received {"connection_id":218562,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d1fc80012d71a1400609cb70000c014d2c..."} 
[2026-10-16 23:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d1fc80012d71a1400609cb70000c014d2c..."} 
[2026-10-16 23:18:09] local.INFO: Processing buffer {"connection_id":218562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d1fc80012d71a1400609cb70000c014d2c..."} 
[2026-10-16 23:18:09] local.INFO: Packet analysis {"connection_id":218562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:18:09] local.INFO: Extracted packet for processing {"connection_id":218562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d1"} 
[2026-10-16 23:18:09] local.INFO: GPS Element Parsed {"raw_longitude":762421568,"raw_latitude":101305200,"longitude_deg":76.2421568,"latitude_deg":10.13052,"altitude":12,"angle":333,"satellites":44,"speed":32,"hex_longitude":"2d71a140","hex_latitude":"0609cb70","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796221696001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15526070551838720,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8191977379374774272,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792172752000,"timestamp_ms":1792172752000,"timestamp_seconds":1792172752,"priority":1,"record_length":96,"hex_timestamp":"000001a145d1fc80"} 
[2026-10-16 23:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 23:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23: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-10-16 23:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":218562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":218562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":218562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796221696001,"66":27050,"234":206,"8":65280,"24":32,"16":15526070551838720,"45":8191977379374774272},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-10-16 23:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796221696001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:18:09] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-10-16 23:18:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15526070551838720,"km_value":15526070551838.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8191977379374774272,"description":"Unknown IO ID 45"} 
[2026-10-16 23:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796221696001,"power":27050,"unknown_234":206,"unknown_8":65280,"ignition":32,"odometer":null,"unknown_45":8191977379374774272}} 
[2026-10-16 23:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":218562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:18:09] local.INFO: GPS data processed {"connection_id":218562,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:18:09] local.INFO: Acknowledgment sent {"connection_id":218562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:18:29] local.INFO: TCP Data received {"connection_id":217223,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d319a80100000000000000000000000000..."} 
[2026-10-16 23:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d319a80100000000000000000000000000..."} 
[2026-10-16 23:18:29] local.INFO: Processing buffer {"connection_id":217223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d319a80100000000000000000000000000..."} 
[2026-10-16 23:18:29] local.INFO: Packet analysis {"connection_id":217223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d3"} 
[2026-10-16 23:18:29] local.INFO: Extracted packet for processing {"connection_id":217223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d3"} 
[2026-10-16 23:18:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 23:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796228352001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1171076610210424832,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792172825000,"timestamp_ms":1792172825000,"timestamp_seconds":1792172825,"priority":1,"record_length":96,"hex_timestamp":"000001a145d319a8"} 
[2026-10-16 23:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 23:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":217223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":217223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":217223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":217223,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:18:29] local.INFO: GPS data processed {"connection_id":217223,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:18:29] local.INFO: Acknowledgment sent {"connection_id":217223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:18:40] local.INFO: TCP Data received {"connection_id":218562,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d3a260012d70ed80060b1d08000c01662d..."} 
[2026-10-16 23:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d3a260012d70ed80060b1d08000c01662d..."} 
[2026-10-16 23:18:40] local.INFO: Processing buffer {"connection_id":218562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d3a260012d70ed80060b1d08000c01662d..."} 
[2026-10-16 23:18:40] local.INFO: Packet analysis {"connection_id":218562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d3"} 
[2026-10-16 23:18:40] local.INFO: Extracted packet for processing {"connection_id":218562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d3"} 
[2026-10-16 23:18:40] local.INFO: GPS Element Parsed {"raw_longitude":762375552,"raw_latitude":101391624,"longitude_deg":76.2375552,"latitude_deg":10.1391624,"altitude":12,"angle":358,"satellites":45,"speed":30,"hex_longitude":"2d70ed80","hex_latitude":"060b1d08","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796250880001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15530812195733504,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8138497133823033344,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1792172860000,"timestamp_ms":1792172860000,"timestamp_seconds":1792172860,"priority":1,"record_length":96,"hex_timestamp":"000001a145d3a260"} 
[2026-10-16 23:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:18: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-10-16 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 23:18:40] 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-10-16 23: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-10-16 23:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":218562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":218562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":218562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796250880001,"66":27376,"29":206,"8":65280,"24":30,"16":15530812195733504,"45":8138497133823033344},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-10-16 23:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796250880001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:18:40] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-10-16 23:18:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15530812195733504,"km_value":15530812195733.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8138497133823033344,"description":"Unknown IO ID 45"} 
[2026-10-16 23:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796250880001,"power":27376,"unknown_29":206,"unknown_8":65280,"ignition":30,"odometer":null,"unknown_45":8138497133823033344}} 
[2026-10-16 23:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":218562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:18:40] local.INFO: GPS data processed {"connection_id":218562,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:18:40] local.INFO: Acknowledgment sent {"connection_id":218562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:18:55] local.INFO: TCP Data received {"connection_id":220292,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:18:55] local.INFO: Processing buffer {"connection_id":220292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:18:55] local.INFO: IMEI packet received {"connection_id":220292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":220292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:18:57] local.INFO: TCP Data received {"connection_id":220292,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:18:57] local.INFO: Processing buffer {"connection_id":220292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:18:57] local.INFO: IMEI packet received {"connection_id":220292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":220292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:18:59] local.INFO: TCP Data received {"connection_id":220292,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d294d8012cefe3c007139ad80027006d30..."} 
[2026-10-16 23:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d294d8012cefe3c007139ad80027006d30..."} 
[2026-10-16 23:18:59] local.INFO: Processing buffer {"connection_id":220292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d294d8012cefe3c007139ad80027006d30..."} 
[2026-10-16 23:18:59] local.INFO: Packet analysis {"connection_id":220292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d2"} 
[2026-10-16 23:18:59] local.INFO: Extracted packet for processing {"connection_id":220292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d2"} 
[2026-10-16 23:18:59] local.INFO: GPS Element Parsed {"raw_longitude":753918912,"raw_latitude":118725336,"longitude_deg":75.3918912,"latitude_deg":11.8725336,"altitude":39,"angle":109,"satellites":48,"speed":0,"hex_longitude":"2cefe3c0","hex_latitude":"07139ad8","is_valid_coordinates":true} 
[2026-10-16 23:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:18:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,154,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1792172791000,"timestamp_ms":1792172791000,"timestamp_seconds":1792172791,"priority":1,"record_length":96,"hex_timestamp":"000001a145d294d8"} 
[2026-10-16 23:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 23:18:59] 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-10-16 23:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":220292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":220292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":220292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27050,"154":206,"2":54272,"24":0,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16]} 
[2026-10-16 23:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:18:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-16 23:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:18:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27050,"unknown_154":206,"power_alt":54272,"ignition":0,"odometer":null}} 
[2026-10-16 23:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":220292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:18:59] local.INFO: GPS data processed {"connection_id":220292,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:18:59] local.INFO: Acknowledgment sent {"connection_id":220292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:18:59] local.INFO: TCP Data received {"connection_id":220293,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:18:59] local.INFO: Processing buffer {"connection_id":220293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:18:59] local.INFO: IMEI packet received {"connection_id":220293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":220293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:19:00] local.INFO: TCP Data received {"connection_id":220293,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:19:00] local.INFO: Processing buffer {"connection_id":220293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:19:00] local.INFO: IMEI packet received {"connection_id":220293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":220293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:19:00] local.INFO: TCP Data received {"connection_id":220292,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d2e6e0012cefe3c007139ad80027006d30..."} 
[2026-10-16 23:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d2e6e0012cefe3c007139ad80027006d30..."} 
[2026-10-16 23:19:00] local.INFO: Processing buffer {"connection_id":220292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d2e6e0012cefe3c007139ad80027006d30..."} 
[2026-10-16 23:19:00] local.INFO: Packet analysis {"connection_id":220292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d2"} 
[2026-10-16 23:19:00] local.INFO: Extracted packet for processing {"connection_id":220292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d2"} 
[2026-10-16 23:19:00] local.INFO: GPS Element Parsed {"raw_longitude":753918912,"raw_latitude":118725336,"longitude_deg":75.3918912,"latitude_deg":11.8725336,"altitude":39,"angle":109,"satellites":48,"speed":0,"hex_longitude":"2cefe3c0","hex_latitude":"07139ad8","is_valid_coordinates":true} 
[2026-10-16 23:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796234496001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1160873142305236992,"note":"Value kept but may cause issues"} 
[2026-10-16 23:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792172812000,"timestamp_ms":1792172812000,"timestamp_seconds":1792172812,"priority":1,"record_length":96,"hex_timestamp":"000001a145d2e6e0"} 
[2026-10-16 23:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-10-16 23:19:00] 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-10-16 23:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":220292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":220292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":220292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796234496001,"66":27234,"154":206,"2":54272,"24":0,"16":13211598575370240,"44":-1160873142305236992},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-10-16 23:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796234496001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:19:00] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-16 23:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1160873142305236992,"description":"Unknown IO ID 44"} 
[2026-10-16 23:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796234496001,"power":27234,"unknown_154":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1160873142305236992}} 
[2026-10-16 23:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":220292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:19:00] local.INFO: GPS data processed {"connection_id":220292,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:19:00] local.INFO: Acknowledgment sent {"connection_id":220292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:19:01] local.INFO: TCP Data received {"connection_id":220293,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:19:01] local.INFO: Processing buffer {"connection_id":220293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:19:01] local.INFO: IMEI packet received {"connection_id":220293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":220293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:19:02] local.INFO: TCP Data received {"connection_id":220293,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:19:02] local.INFO: Processing buffer {"connection_id":220293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:19:02] local.INFO: IMEI packet received {"connection_id":220293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":220293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:19:32] local.INFO: TCP Data received {"connection_id":220292,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d338e8012cefe3c007139ad80027006d30..."} 
[2026-10-16 23:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d338e8012cefe3c007139ad80027006d30..."} 
[2026-10-16 23:19:32] local.INFO: Processing buffer {"connection_id":220292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d338e8012cefe3c007139ad80027006d30..."} 
[2026-10-16 23:19:32] local.INFO: Packet analysis {"connection_id":220292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d3"} 
[2026-10-16 23:19:32] local.INFO: Extracted packet for processing {"connection_id":220292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d3"} 
[2026-10-16 23:19:32] local.INFO: GPS Element Parsed {"raw_longitude":753918912,"raw_latitude":118725336,"longitude_deg":75.3918912,"latitude_deg":11.8725336,"altitude":39,"angle":109,"satellites":48,"speed":0,"hex_longitude":"2cefe3c0","hex_latitude":"07139ad8","is_valid_coordinates":true} 
[2026-10-16 23:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796239872001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1160873142305236992,"note":"Value kept but may cause issues"} 
[2026-10-16 23:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792172833000,"timestamp_ms":1792172833000,"timestamp_seconds":1792172833,"priority":1,"record_length":96,"hex_timestamp":"000001a145d338e8"} 
[2026-10-16 23:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-10-16 23:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":220292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":220292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":220292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796239872001,"66":27376,"154":206,"2":54272,"24":0,"16":13211598575370240,"44":-1160873142305236992},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-10-16 23:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796239872001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:19:32] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-10-16 23:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1160873142305236992,"description":"Unknown IO ID 44"} 
[2026-10-16 23:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796239872001,"power":27376,"unknown_154":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1160873142305236992}} 
[2026-10-16 23:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":220292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:19:32] local.INFO: GPS data processed {"connection_id":220292,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:19:32] local.INFO: Acknowledgment sent {"connection_id":220292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:19:49] local.INFO: TCP Data received {"connection_id":218563,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:19:49] local.INFO: Processing buffer {"connection_id":218563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:19:49] local.INFO: IMEI packet received {"connection_id":218563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":218563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:19:50] local.INFO: TCP Data received {"connection_id":218563,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:19:50] local.INFO: Processing buffer {"connection_id":218563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:19:50] local.INFO: IMEI packet received {"connection_id":218563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":218563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:19:55] local.INFO: TCP Data received {"connection_id":218563,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:19:55] local.INFO: Processing buffer {"connection_id":218563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:19:55] local.INFO: IMEI packet received {"connection_id":218563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":218563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:19:56] local.INFO: TCP Data received {"connection_id":218563,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d41b780100000000000000000000000000..."} 
[2026-10-16 23:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d41b780100000000000000000000000000..."} 
[2026-10-16 23:19:56] local.INFO: Processing buffer {"connection_id":218563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d41b780100000000000000000000000000..."} 
[2026-10-16 23:19:56] local.INFO: Packet analysis {"connection_id":218563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d4"} 
[2026-10-16 23:19:56] local.INFO: Extracted packet for processing {"connection_id":218563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d4"} 
[2026-10-16 23:19: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-10-16 23:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796245248001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:19:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1160873142305236992,"note":"Value kept but may cause issues"} 
[2026-10-16 23:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792172891000,"timestamp_ms":1792172891000,"timestamp_seconds":1792172891,"priority":1,"record_length":96,"hex_timestamp":"000001a145d41b78"} 
[2026-10-16 23:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:19: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-10-16 23:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":218563,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:19:56] local.INFO: GPS data processed {"connection_id":218563,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:19:56] local.INFO: Acknowledgment sent {"connection_id":218563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:20:27] local.INFO: TCP Data received {"connection_id":218563,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d39a90012cf0064007138e380028007130..."} 
[2026-10-16 23:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d39a90012cf0064007138e380028007130..."} 
[2026-10-16 23:20:27] local.INFO: Processing buffer {"connection_id":218563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d39a90012cf0064007138e380028007130..."} 
[2026-10-16 23:20:27] local.INFO: Packet analysis {"connection_id":218563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d3"} 
[2026-10-16 23:20:27] local.INFO: Extracted packet for processing {"connection_id":218563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d3"} 
[2026-10-16 23:20:27] local.INFO: GPS Element Parsed {"raw_longitude":753927744,"raw_latitude":118722104,"longitude_deg":75.3927744,"latitude_deg":11.8722104,"altitude":40,"angle":113,"satellites":48,"speed":4,"hex_longitude":"2cf00640","hex_latitude":"07138e38","is_valid_coordinates":true} 
[2026-10-16 23:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:20:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,152,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792172858000,"timestamp_ms":1792172858000,"timestamp_seconds":1792172858,"priority":1,"record_length":96,"hex_timestamp":"000001a145d39a90"} 
[2026-10-16 23:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:20: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:20:27] 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-10-16 23:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":218563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":218563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":218563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27571,"152":206,"2":54272,"24":4,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,2,24,16]} 
[2026-10-16 23:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:20:28] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-10-16 23:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:20:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27571,"unknown_152":206,"power_alt":54272,"ignition":4,"odometer":null}} 
[2026-10-16 23:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":218563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:20:28] local.INFO: GPS data processed {"connection_id":218563,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:20:28] local.INFO: Acknowledgment sent {"connection_id":218563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:20:49] local.INFO: TCP Data received {"connection_id":217002,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:20:49] local.INFO: Processing buffer {"connection_id":217002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:20:49] local.INFO: IMEI packet received {"connection_id":217002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":217002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:20:52] local.INFO: TCP Data received {"connection_id":217002,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:20:52] local.INFO: Processing buffer {"connection_id":217002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:20:52] local.INFO: IMEI packet received {"connection_id":217002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":217002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:20:55] local.INFO: TCP Data received {"connection_id":217002,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:20:55] local.INFO: Processing buffer {"connection_id":217002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:20:55] local.INFO: IMEI packet received {"connection_id":217002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":217002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:20:56] local.INFO: TCP Data received {"connection_id":217002,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d3ec98012cf0064007138e380028007130..."} 
[2026-10-16 23:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d3ec98012cf0064007138e380028007130..."} 
[2026-10-16 23:20:56] local.INFO: Processing buffer {"connection_id":217002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d3ec98012cf0064007138e380028007130..."} 
[2026-10-16 23:20:56] local.INFO: Packet analysis {"connection_id":217002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d3"} 
[2026-10-16 23:20:56] local.INFO: Extracted packet for processing {"connection_id":217002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d3"} 
[2026-10-16 23:20:56] local.INFO: GPS Element Parsed {"raw_longitude":753927744,"raw_latitude":118722104,"longitude_deg":75.3927744,"latitude_deg":11.8722104,"altitude":40,"angle":113,"satellites":48,"speed":0,"hex_longitude":"2cf00640","hex_latitude":"07138e38","is_valid_coordinates":true} 
[2026-10-16 23:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796251648001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:20:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1151162255609546752,"note":"Value kept but may cause issues"} 
[2026-10-16 23:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792172879000,"timestamp_ms":1792172879000,"timestamp_seconds":1792172879,"priority":1,"record_length":96,"hex_timestamp":"000001a145d3ec98"} 
[2026-10-16 23:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 23:20:56] 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-10-16 23:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796251648001,"66":27397,"152":206,"2":54272,"24":0,"16":13211598575370240,"44":-1151162255609546752},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,2,24,16,44]} 
[2026-10-16 23:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796251648001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:20:56] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-10-16 23:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:20:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1151162255609546752,"description":"Unknown IO ID 44"} 
[2026-10-16 23:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796251648001,"power":27397,"unknown_152":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1151162255609546752}} 
[2026-10-16 23:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":217002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:20:56] local.INFO: GPS data processed {"connection_id":217002,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:20:56] local.INFO: Acknowledgment sent {"connection_id":217002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:21:00] local.INFO: TCP Data received {"connection_id":217002,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d43ea0012cf0064007138e380028007130..."} 
[2026-10-16 23:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d43ea0012cf0064007138e380028007130..."} 
[2026-10-16 23:21:00] local.INFO: Processing buffer {"connection_id":217002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d43ea0012cf0064007138e380028007130..."} 
[2026-10-16 23:21:00] local.INFO: Packet analysis {"connection_id":217002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d4"} 
[2026-10-16 23:21:00] local.INFO: Extracted packet for processing {"connection_id":217002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d4"} 
[2026-10-16 23:21:00] local.INFO: GPS Element Parsed {"raw_longitude":753927744,"raw_latitude":118722104,"longitude_deg":75.3927744,"latitude_deg":11.8722104,"altitude":40,"angle":113,"satellites":48,"speed":0,"hex_longitude":"2cf00640","hex_latitude":"07138e38","is_valid_coordinates":true} 
[2026-10-16 23:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796257024001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:21:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1151162255609546752,"note":"Value kept but may cause issues"} 
[2026-10-16 23:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792172900000,"timestamp_ms":1792172900000,"timestamp_seconds":1792172900,"priority":1,"record_length":96,"hex_timestamp":"000001a145d43ea0"} 
[2026-10-16 23:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:21:00] 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-10-16 23:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796257024001,"66":27343,"64":206,"2":54272,"24":0,"16":13211598575370240,"44":-1151162255609546752},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-10-16 23:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796257024001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:21:00] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-10-16 23:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:21:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1151162255609546752,"description":"Unknown IO ID 44"} 
[2026-10-16 23:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796257024001,"power":27343,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1151162255609546752}} 
[2026-10-16 23:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":217002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1545,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:21:01] local.INFO: GPS data processed {"connection_id":217002,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:21:01] local.INFO: Acknowledgment sent {"connection_id":217002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:21:32] local.INFO: TCP Data received {"connection_id":217002,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d490a8012cf0270007137ac0002a00732e..."} 
[2026-10-16 23:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d490a8012cf0270007137ac0002a00732e..."} 
[2026-10-16 23:21:32] local.INFO: Processing buffer {"connection_id":217002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d490a8012cf0270007137ac0002a00732e..."} 
[2026-10-16 23:21:32] local.INFO: Packet analysis {"connection_id":217002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d4"} 
[2026-10-16 23:21:32] local.INFO: Extracted packet for processing {"connection_id":217002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d4"} 
[2026-10-16 23:21:32] local.INFO: GPS Element Parsed {"raw_longitude":753936128,"raw_latitude":118717120,"longitude_deg":75.3936128,"latitude_deg":11.871712,"altitude":42,"angle":115,"satellites":46,"speed":0,"hex_longitude":"2cf02700","hex_latitude":"07137ac0","is_valid_coordinates":true} 
[2026-10-16 23:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796262400001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:21:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1151162255609546752,"note":"Value kept but may cause issues"} 
[2026-10-16 23:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1792172921000,"timestamp_ms":1792172921000,"timestamp_seconds":1792172921,"priority":1,"record_length":96,"hex_timestamp":"000001a145d490a8"} 
[2026-10-16 23:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":217002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":217002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":217002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796262400001,"66":27245,"64":206,"2":54272,"24":0,"16":13211598575370240,"44":-1151162255609546752},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-10-16 23:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796262400001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:21:32] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-10-16 23:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:21:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1151162255609546752,"description":"Unknown IO ID 44"} 
[2026-10-16 23:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796262400001,"power":27245,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1151162255609546752}} 
[2026-10-16 23:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":217002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:21:32] local.INFO: GPS data processed {"connection_id":217002,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:21:32] local.INFO: Acknowledgment sent {"connection_id":217002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:21:49] local.INFO: TCP Data received {"connection_id":218565,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:21:49] local.INFO: Processing buffer {"connection_id":218565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:21:49] local.INFO: IMEI packet received {"connection_id":218565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":218565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:21:55] local.INFO: TCP Data received {"connection_id":218565,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:21:55] local.INFO: Processing buffer {"connection_id":218565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:21:55] local.INFO: IMEI packet received {"connection_id":218565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":218565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:21:56] local.INFO: TCP Data received {"connection_id":218565,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d573380100000000000000000000000000..."} 
[2026-10-16 23:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d573380100000000000000000000000000..."} 
[2026-10-16 23:21:56] local.INFO: Processing buffer {"connection_id":218565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d573380100000000000000000000000000..."} 
[2026-10-16 23:21:56] local.INFO: Packet analysis {"connection_id":218565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d5"} 
[2026-10-16 23:21:56] local.INFO: Extracted packet for processing {"connection_id":218565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d5"} 
[2026-10-16 23:21: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-10-16 23:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796267776001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:21:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1141943950123548672,"note":"Value kept but may cause issues"} 
[2026-10-16 23:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792172979000,"timestamp_ms":1792172979000,"timestamp_seconds":1792172979,"priority":1,"record_length":96,"hex_timestamp":"000001a145d57338"} 
[2026-10-16 23:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 23:21:56] 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-10-16 23:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":218565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":218565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":218565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":218565,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:21:56] local.INFO: GPS data processed {"connection_id":218565,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:21:56] local.INFO: Acknowledgment sent {"connection_id":218565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:22:29] local.INFO: TCP Data received {"connection_id":218565,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d505d8012cf052c007136d00002b005231..."} 
[2026-10-16 23:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d505d8012cf052c007136d00002b005231..."} 
[2026-10-16 23:22:29] local.INFO: Processing buffer {"connection_id":218565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d505d8012cf052c007136d00002b005231..."} 
[2026-10-16 23:22:29] local.INFO: Packet analysis {"connection_id":218565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d5"} 
[2026-10-16 23:22:29] local.INFO: Extracted packet for processing {"connection_id":218565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d5"} 
[2026-10-16 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":753947328,"raw_latitude":118713600,"longitude_deg":75.3947328,"latitude_deg":11.87136,"altitude":43,"angle":82,"satellites":49,"speed":12,"hex_longitude":"2cf052c0","hex_latitude":"07136d00","is_valid_coordinates":true} 
[2026-10-16 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:22:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,64,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1792172951000,"timestamp_ms":1792172951000,"timestamp_seconds":1792172951,"priority":1,"record_length":96,"hex_timestamp":"000001a145d505d8"} 
[2026-10-16 23:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:22:29] 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-10-16 23:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":218565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":218565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":218565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26289,"64":206,"2":54272,"24":12,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16]} 
[2026-10-16 23:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:22:29] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-10-16 23:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:22:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26289,"unknown_64":206,"power_alt":54272,"ignition":12,"odometer":null}} 
[2026-10-16 23:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":218565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:22:29] local.INFO: GPS data processed {"connection_id":218565,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:22:29] local.INFO: Acknowledgment sent {"connection_id":218565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:22:50] local.INFO: TCP Data received {"connection_id":217224,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:22:50] local.INFO: Processing buffer {"connection_id":217224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:22:50] local.INFO: IMEI packet received {"connection_id":217224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":217224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:22:55] local.INFO: TCP Data received {"connection_id":217224,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:22:55] local.INFO: Processing buffer {"connection_id":217224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:22:55] local.INFO: IMEI packet received {"connection_id":217224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":217224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:23:01] local.INFO: TCP Data received {"connection_id":217224,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d557e0012cf052c007136d00002b005231..."} 
[2026-10-16 23:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d557e0012cf052c007136d00002b005231..."} 
[2026-10-16 23:23:01] local.INFO: Processing buffer {"connection_id":217224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d557e0012cf052c007136d00002b005231..."} 
[2026-10-16 23:23:01] local.INFO: Packet analysis {"connection_id":217224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d5"} 
[2026-10-16 23:23:01] local.INFO: Extracted packet for processing {"connection_id":217224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d5"} 
[2026-10-16 23:23:01] local.INFO: GPS Element Parsed {"raw_longitude":753947328,"raw_latitude":118713600,"longitude_deg":75.3947328,"latitude_deg":11.87136,"altitude":43,"angle":82,"satellites":49,"speed":0,"hex_longitude":"2cf052c0","hex_latitude":"07136d00","is_valid_coordinates":true} 
[2026-10-16 23:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796275456001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1129629419893358592,"note":"Value kept but may cause issues"} 
[2026-10-16 23:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792172972000,"timestamp_ms":1792172972000,"timestamp_seconds":1792172972,"priority":1,"record_length":96,"hex_timestamp":"000001a145d557e0"} 
[2026-10-16 23:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-10-16 23:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796275456001,"66":27300,"64":206,"2":54272,"24":0,"16":13211598575370240,"44":-1129629419893358592},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-10-16 23:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796275456001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:23:01] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-10-16 23:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1129629419893358592,"description":"Unknown IO ID 44"} 
[2026-10-16 23:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796275456001,"power":27300,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1129629419893358592}} 
[2026-10-16 23:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":217224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:23:01] local.INFO: GPS data processed {"connection_id":217224,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:23:01] local.INFO: Acknowledgment sent {"connection_id":217224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:23:51] local.INFO: TCP Data received {"connection_id":217224,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d5a9e8012cf07dc007136f80002b004d30..."} 
[2026-10-16 23:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d5a9e8012cf07dc007136f80002b004d30..."} 
[2026-10-16 23:23:51] local.INFO: Processing buffer {"connection_id":217224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d5a9e8012cf07dc007136f80002b004d30..."} 
[2026-10-16 23:23:51] local.INFO: Packet analysis {"connection_id":217224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d5"} 
[2026-10-16 23:23:51] local.INFO: Extracted packet for processing {"connection_id":217224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d5"} 
[2026-10-16 23:23:51] local.INFO: GPS Element Parsed {"raw_longitude":753958336,"raw_latitude":118714240,"longitude_deg":75.3958336,"latitude_deg":11.871424,"altitude":43,"angle":77,"satellites":48,"speed":0,"hex_longitude":"2cf07dc0","hex_latitude":"07136f80","is_valid_coordinates":true} 
[2026-10-16 23:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796280832001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1129629419893358592,"note":"Value kept but may cause issues"} 
[2026-10-16 23:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1792172993000,"timestamp_ms":1792172993000,"timestamp_seconds":1792172993,"priority":1,"record_length":96,"hex_timestamp":"000001a145d5a9e8"} 
[2026-10-16 23:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 23:23:51] 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-10-16 23:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":217224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":217224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":217224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796280832001,"66":27180,"64":206,"2":54272,"24":0,"16":13211598575370240,"44":-1129629419893358592},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-10-16 23:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796280832001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:23:51] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-10-16 23:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1129629419893358592,"description":"Unknown IO ID 44"} 
[2026-10-16 23:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796280832001,"power":27180,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1129629419893358592}} 
[2026-10-16 23:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":217224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:23:51] local.INFO: GPS data processed {"connection_id":217224,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:23:51] local.INFO: Acknowledgment sent {"connection_id":217224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:24:03] local.INFO: TCP Data received {"connection_id":217005,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:24:03] local.INFO: Processing buffer {"connection_id":217005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:24:03] local.INFO: IMEI packet received {"connection_id":217005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":217005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:24:03] local.INFO: TCP Data received {"connection_id":217005,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d6d6b0012d6f0700060c64e0000c01412c..."} 
[2026-10-16 23:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d6d6b0012d6f0700060c64e0000c01412c..."} 
[2026-10-16 23:24:03] local.INFO: Processing buffer {"connection_id":217005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d6d6b0012d6f0700060c64e0000c01412c..."} 
[2026-10-16 23:24:03] local.INFO: Packet analysis {"connection_id":217005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d6"} 
[2026-10-16 23:24:03] local.INFO: Extracted packet for processing {"connection_id":217005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d6"} 
[2026-10-16 23:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762251008,"raw_latitude":101475552,"longitude_deg":76.2251008,"latitude_deg":10.1475552,"altitude":12,"angle":321,"satellites":44,"speed":40,"hex_longitude":"2d6f0700","hex_latitude":"060c64e0","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796303360001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15539857396858880,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8007118688463843328,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792173070000,"timestamp_ms":1792173070000,"timestamp_seconds":1792173070,"priority":1,"record_length":96,"hex_timestamp":"000001a145d6d6b0"} 
[2026-10-16 23:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23: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-10-16 23:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796303360001,"66":27310,"242":206,"8":65280,"24":40,"16":15539857396858880,"45":8007118688463843328},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-10-16 23:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796303360001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:24:03] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-10-16 23:24:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15539857396858880,"km_value":15539857396858.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8007118688463843328,"description":"Unknown IO ID 45"} 
[2026-10-16 23:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796303360001,"power":27310,"unknown_242":206,"unknown_8":65280,"ignition":40,"odometer":null,"unknown_45":8007118688463843328}} 
[2026-10-16 23:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":217005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:24:03] local.INFO: GPS data processed {"connection_id":217005,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:24:03] local.INFO: Acknowledgment sent {"connection_id":217005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:24:09] local.INFO: TCP Data received {"connection_id":218566,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:09] local.INFO: Processing buffer {"connection_id":218566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:09] local.INFO: IMEI packet received {"connection_id":218566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":218566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:24:15] local.INFO: TCP Data received {"connection_id":218566,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:15] local.INFO: Processing buffer {"connection_id":218566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:15] local.INFO: IMEI packet received {"connection_id":218566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":218566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:24:16] local.INFO: TCP Data received {"connection_id":218566,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d89018012cf2318007129ce0000f008f2e..."} 
[2026-10-16 23:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d89018012cf2318007129ce0000f008f2e..."} 
[2026-10-16 23:24:16] local.INFO: Processing buffer {"connection_id":218566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d89018012cf2318007129ce0000f008f2e..."} 
[2026-10-16 23:24:16] local.INFO: Packet analysis {"connection_id":218566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d8"} 
[2026-10-16 23:24:16] local.INFO: Extracted packet for processing {"connection_id":218566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d8"} 
[2026-10-16 23:24:16] local.INFO: GPS Element Parsed {"raw_longitude":754069888,"raw_latitude":118660320,"longitude_deg":75.4069888,"latitude_deg":11.866032,"altitude":15,"angle":143,"satellites":46,"speed":23,"hex_longitude":"2cf23180","hex_latitude":"07129ce0","is_valid_coordinates":true} 
[2026-10-16 23:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796329472001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1006413748849344512,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1792173183000,"timestamp_ms":1792173183000,"timestamp_seconds":1792173183,"priority":1,"record_length":96,"hex_timestamp":"000001a145d89018"} 
[2026-10-16 23:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:24: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-10-16 23:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":218566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":218566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":218566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796329472001,"66":27517,"96":206,"2":54272,"24":23,"16":13211598575370240,"44":-1006413748849344512},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-10-16 23:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796329472001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:24:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-16 23:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:24:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1006413748849344512,"description":"Unknown IO ID 44"} 
[2026-10-16 23:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796329472001,"power":27517,"unknown_96":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1006413748849344512}} 
[2026-10-16 23:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":218566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:24:16] local.INFO: GPS data processed {"connection_id":218566,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:24:16] local.INFO: Acknowledgment sent {"connection_id":218566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:24:35] local.INFO: TCP Data received {"connection_id":217005,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d95368012d6e9e80060cd8f8000c012c28..."} 
[2026-10-16 23:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d95368012d6e9e80060cd8f8000c012c28..."} 
[2026-10-16 23:24:35] local.INFO: Processing buffer {"connection_id":217005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d95368012d6e9e80060cd8f8000c012c28..."} 
[2026-10-16 23:24:35] local.INFO: Packet analysis {"connection_id":217005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:24:35] local.INFO: Extracted packet for processing {"connection_id":217005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:24:35] local.INFO: GPS Element Parsed {"raw_longitude":762224256,"raw_latitude":101505272,"longitude_deg":76.2224256,"latitude_deg":10.1505272,"altitude":12,"angle":300,"satellites":40,"speed":19,"hex_longitude":"2d6e9e80","hex_latitude":"060cd8f8","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796347136001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15542077894950912,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7971793578896029696,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792173233000,"timestamp_ms":1792173233000,"timestamp_seconds":1792173233,"priority":1,"record_length":96,"hex_timestamp":"000001a145d95368"} 
[2026-10-16 23:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:24: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-10-16 23: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-10-16 23:24:35] 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-10-16 23: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-10-16 23:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":217005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":217005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":217005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796347136001,"66":27343,"242":206,"8":65280,"24":19,"16":15542077894950912,"45":7971793578896029696},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-10-16 23:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796347136001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:24:35] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-10-16 23:24:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15542077894950912,"km_value":15542077894950.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7971793578896029696,"description":"Unknown IO ID 45"} 
[2026-10-16 23:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796347136001,"power":27343,"unknown_242":206,"unknown_8":65280,"ignition":19,"odometer":null,"unknown_45":7971793578896029696}} 
[2026-10-16 23:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":217005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:24:35] local.INFO: GPS data processed {"connection_id":217005,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:24:35] local.INFO: Acknowledgment sent {"connection_id":217005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:24:49] local.INFO: TCP Data received {"connection_id":217006,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:49] local.INFO: Processing buffer {"connection_id":217006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:49] local.INFO: IMEI packet received {"connection_id":217006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":217006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:24:53] local.INFO: TCP Data received {"connection_id":217006,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:53] local.INFO: Processing buffer {"connection_id":217006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:53] local.INFO: IMEI packet received {"connection_id":217006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":217006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:24:55] local.INFO: TCP Data received {"connection_id":217006,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:55] local.INFO: Processing buffer {"connection_id":217006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:24:55] local.INFO: IMEI packet received {"connection_id":217006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":217006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:24:57] local.INFO: TCP Data received {"connection_id":217006,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d89018012cf2318007129ce0000f008f2e..."} 
[2026-10-16 23:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d89018012cf2318007129ce0000f008f2e..."} 
[2026-10-16 23:24:57] local.INFO: Processing buffer {"connection_id":217006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d89018012cf2318007129ce0000f008f2e..."} 
[2026-10-16 23:24:57] local.INFO: Packet analysis {"connection_id":217006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d8"} 
[2026-10-16 23:24:57] local.INFO: Extracted packet for processing {"connection_id":217006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d8"} 
[2026-10-16 23:24:57] local.INFO: GPS Element Parsed {"raw_longitude":754069888,"raw_latitude":118660320,"longitude_deg":75.4069888,"latitude_deg":11.866032,"altitude":15,"angle":143,"satellites":46,"speed":23,"hex_longitude":"2cf23180","hex_latitude":"07129ce0","is_valid_coordinates":true} 
[2026-10-16 23:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796334848001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-994873274806771712,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792173183000,"timestamp_ms":1792173183000,"timestamp_seconds":1792173183,"priority":1,"record_length":96,"hex_timestamp":"000001a145d89018"} 
[2026-10-16 23:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 23:24:57] 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-10-16 23:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796334848001,"66":27517,"96":206,"2":54272,"24":23,"16":13211598575370240,"44":-994873274806771712},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-10-16 23:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796334848001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:24:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-16 23:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:24:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-994873274806771712,"description":"Unknown IO ID 44"} 
[2026-10-16 23:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796334848001,"power":27517,"unknown_96":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-994873274806771712}} 
[2026-10-16 23:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":217006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:24:57] local.INFO: GPS data processed {"connection_id":217006,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:24:57] local.INFO: Acknowledgment sent {"connection_id":217006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:24:58] local.INFO: TCP Data received {"connection_id":217006,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d972a80100000000000000000000000000..."} 
[2026-10-16 23:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d972a80100000000000000000000000000..."} 
[2026-10-16 23:24:58] local.INFO: Processing buffer {"connection_id":217006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d972a80100000000000000000000000000..."} 
[2026-10-16 23:24:58] local.INFO: Packet analysis {"connection_id":217006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:24:58] local.INFO: Extracted packet for processing {"connection_id":217006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:24:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 23:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796334848001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-994873274806771712,"note":"Value kept but may cause issues"} 
[2026-10-16 23:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792173241000,"timestamp_ms":1792173241000,"timestamp_seconds":1792173241,"priority":1,"record_length":96,"hex_timestamp":"000001a145d972a8"} 
[2026-10-16 23:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 23:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":217006,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:24:58] local.INFO: GPS data processed {"connection_id":217006,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:24:58] local.INFO: Acknowledgment sent {"connection_id":217006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:24:58] local.INFO: TCP Data received {"connection_id":217225,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:24:58] local.INFO: Processing buffer {"connection_id":217225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:24:58] local.INFO: IMEI packet received {"connection_id":217225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":217225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:25:03] local.INFO: TCP Data received {"connection_id":217225,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:25:03] local.INFO: Processing buffer {"connection_id":217225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:25:03] local.INFO: IMEI packet received {"connection_id":217225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":217225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:25:05] local.INFO: TCP Data received {"connection_id":217225,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d95750012d6e9cc0060cd9a0000c011b2a..."} 
[2026-10-16 23:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d95750012d6e9cc0060cd9a0000c011b2a..."} 
[2026-10-16 23:25:05] local.INFO: Processing buffer {"connection_id":217225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d95750012d6e9cc0060cd9a0000c011b2a..."} 
[2026-10-16 23:25:05] local.INFO: Packet analysis {"connection_id":217225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:25:05] local.INFO: Extracted packet for processing {"connection_id":217225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:25:05] local.INFO: GPS Element Parsed {"raw_longitude":762223808,"raw_latitude":101505440,"longitude_deg":76.2223808,"latitude_deg":10.150544,"altitude":12,"angle":283,"satellites":42,"speed":19,"hex_longitude":"2d6e9cc0","hex_latitude":"060cd9a0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 23:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796347648001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15542099369787392,"note":"Value kept but may cause issues"} 
[2026-10-16 23:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7970949153966061568,"note":"Value kept but may cause issues"} 
[2026-10-16 23:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792173234000,"timestamp_ms":1792173234000,"timestamp_seconds":1792173234,"priority":1,"record_length":96,"hex_timestamp":"000001a145d95750"} 
[2026-10-16 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-10-16 23:25: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-10-16 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":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 23:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796347648001,"66":27343,"242":206,"8":65280,"24":19,"16":15542099369787392,"45":7970949153966061568},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-10-16 23:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796347648001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:25:05] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-10-16 23:25:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15542099369787392,"km_value":15542099369787.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7970949153966061568,"description":"Unknown IO ID 45"} 
[2026-10-16 23:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796347648001,"power":27343,"unknown_242":206,"unknown_8":65280,"ignition":19,"odometer":null,"unknown_45":7970949153966061568}} 
[2026-10-16 23:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":217225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:25:05] local.INFO: GPS data processed {"connection_id":217225,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:25:05] local.INFO: Acknowledgment sent {"connection_id":217225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:25:30] local.INFO: TCP Data received {"connection_id":217006,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d8e608012cf250c007127250001000882e..."} 
[2026-10-16 23:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d8e608012cf250c007127250001000882e..."} 
[2026-10-16 23:25:30] local.INFO: Processing buffer {"connection_id":217006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d8e608012cf250c007127250001000882e..."} 
[2026-10-16 23:25:30] local.INFO: Packet analysis {"connection_id":217006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d8"} 
[2026-10-16 23:25:30] local.INFO: Extracted packet for processing {"connection_id":217006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d8"} 
[2026-10-16 23:25:30] local.INFO: GPS Element Parsed {"raw_longitude":754077888,"raw_latitude":118649424,"longitude_deg":75.4077888,"latitude_deg":11.8649424,"altitude":16,"angle":136,"satellites":46,"speed":17,"hex_longitude":"2cf250c0","hex_latitude":"07127250","is_valid_coordinates":true} 
[2026-10-16 23:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:25:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792173205000,"timestamp_ms":1792173205000,"timestamp_seconds":1792173205,"priority":1,"record_length":96,"hex_timestamp":"000001a145d8e608"} 
[2026-10-16 23:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 23:25:30] 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-10-16 23:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27343,"96":206,"2":54272,"24":17,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16]} 
[2026-10-16 23:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:25:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-10-16 23:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:25:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27343,"unknown_96":206,"power_alt":54272,"ignition":17,"odometer":null}} 
[2026-10-16 23:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":217006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:25:30] local.INFO: GPS data processed {"connection_id":217006,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:25:30] local.INFO: Acknowledgment sent {"connection_id":217006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:25:36] local.INFO: TCP Data received {"connection_id":217225,"ip":"117.224.231.14","data_length":795,"data_hex":"000000000000030f8e0a000001a145d95f20012d6e9940060cd9f0000b010b2b..."} 
[2026-10-16 23:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d95f20012d6e9940060cd9f0000b010b2b..."} 
[2026-10-16 23:25:36] local.INFO: Processing buffer {"connection_id":217225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d95f20012d6e9940060cd9f0000b010b2b..."} 
[2026-10-16 23:25:36] local.INFO: Packet analysis {"connection_id":217225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:25:36] local.INFO: Extracted packet for processing {"connection_id":217225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:25:36] local.INFO: GPS Element Parsed {"raw_longitude":762222912,"raw_latitude":101505520,"longitude_deg":76.2222912,"latitude_deg":10.150552,"altitude":11,"angle":267,"satellites":43,"speed":18,"hex_longitude":"2d6e9940","hex_latitude":"060cd9f0","is_valid_coordinates":true} 
[2026-10-16 23:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796347904001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15542142319460352,"note":"Value kept but may cause issues"} 
[2026-10-16 23:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7970456572756860928,"note":"Value kept but may cause issues"} 
[2026-10-16 23:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1792173236000,"timestamp_ms":1792173236000,"timestamp_seconds":1792173236,"priority":1,"record_length":96,"hex_timestamp":"000001a145d95f20"} 
[2026-10-16 23:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23: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-10-16 23:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:25: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-10-16 23:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":217225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":217225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":217225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.231.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796347904001,"66":27397,"242":206,"8":65280,"24":18,"16":15542142319460352,"45":7970456572756860928},"client_ip":"117.224.231.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-10-16 23:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796347904001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:25:36] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-10-16 23:25:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-10-16 23:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15542142319460352,"km_value":15542142319460.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7970456572756860928,"description":"Unknown IO ID 45"} 
[2026-10-16 23:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796347904001,"power":27397,"unknown_242":206,"unknown_8":65280,"ignition":18,"odometer":null,"unknown_45":7970456572756860928}} 
[2026-10-16 23:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":217225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:25:36] local.INFO: GPS data processed {"connection_id":217225,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:25:36] local.INFO: Acknowledgment sent {"connection_id":217225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:25:55] local.INFO: TCP Data received {"connection_id":218567,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:25:55] local.INFO: Processing buffer {"connection_id":218567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:25:55] local.INFO: IMEI packet received {"connection_id":218567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":218567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:25:59] local.INFO: TCP Data received {"connection_id":220295,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:25:59] local.INFO: Processing buffer {"connection_id":220295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:25:59] local.INFO: IMEI packet received {"connection_id":220295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":220295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:26:00] local.INFO: TCP Data received {"connection_id":220295,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:26:00] local.INFO: Processing buffer {"connection_id":220295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:26:00] local.INFO: IMEI packet received {"connection_id":220295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":220295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:26:01] local.INFO: TCP Data received {"connection_id":220295,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:26:01] local.INFO: Processing buffer {"connection_id":220295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:26:01] local.INFO: IMEI packet received {"connection_id":220295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":220295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:26:03] local.INFO: TCP Data received {"connection_id":220295,"ip":"117.224.231.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:26:03] local.INFO: Processing buffer {"connection_id":220295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:26:03] local.INFO: IMEI packet received {"connection_id":220295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":220295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:26:04] local.INFO: TCP Data received {"connection_id":218567,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:26:04] local.INFO: Processing buffer {"connection_id":218567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:26:04] local.INFO: IMEI packet received {"connection_id":218567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":218567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:26:06] local.INFO: TCP Data received {"connection_id":218567,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d9c8980100000000000000000000000000..."} 
[2026-10-16 23:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d9c8980100000000000000000000000000..."} 
[2026-10-16 23:26:06] local.INFO: Processing buffer {"connection_id":218567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d9c8980100000000000000000000000000..."} 
[2026-10-16 23:26:06] local.INFO: Packet analysis {"connection_id":218567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:26:06] local.INFO: Extracted packet for processing {"connection_id":218567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:26: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-10-16 23: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-10-16 23:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796340480001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-986077181787353088,"note":"Value kept but may cause issues"} 
[2026-10-16 23:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792173263000,"timestamp_ms":1792173263000,"timestamp_seconds":1792173263,"priority":1,"record_length":96,"hex_timestamp":"000001a145d9c898"} 
[2026-10-16 23:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:26: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-10-16 23: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":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:26: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-10-16 23: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-10-16 23:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":218567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":218567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":218567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":218567,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:26:06] local.INFO: GPS data processed {"connection_id":218567,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:26:06] local.INFO: Acknowledgment sent {"connection_id":218567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:26:07] local.INFO: TCP Data received {"connection_id":218567,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d95368012cf28380071255200015007830..."} 
[2026-10-16 23:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d95368012cf28380071255200015007830..."} 
[2026-10-16 23:26:07] local.INFO: Processing buffer {"connection_id":218567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d95368012cf28380071255200015007830..."} 
[2026-10-16 23:26:07] local.INFO: Packet analysis {"connection_id":218567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:26:07] local.INFO: Extracted packet for processing {"connection_id":218567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:26:07] local.INFO: GPS Element Parsed {"raw_longitude":754090880,"raw_latitude":118641952,"longitude_deg":75.409088,"latitude_deg":11.8641952,"altitude":21,"angle":120,"satellites":48,"speed":24,"hex_longitude":"2cf28380","hex_latitude":"07125520","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:26:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1792173233000,"timestamp_ms":1792173233000,"timestamp_seconds":1792173233,"priority":1,"record_length":96,"hex_timestamp":"000001a145d95368"} 
[2026-10-16 23:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:26: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-10-16 23:26:07] 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-10-16 23: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-10-16 23:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":218567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":218567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":218567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26984,"101":206,"2":54272,"24":24,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16]} 
[2026-10-16 23:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:26:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 23:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:26:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26984,"unknown_101":206,"power_alt":54272,"ignition":24,"odometer":null}} 
[2026-10-16 23:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":218567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:26:07] local.INFO: GPS data processed {"connection_id":218567,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:26:07] local.INFO: Acknowledgment sent {"connection_id":218567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:26:50] local.INFO: TCP Data received {"connection_id":217007,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:26:50] local.INFO: Processing buffer {"connection_id":217007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:26:50] local.INFO: IMEI packet received {"connection_id":217007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":217007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:26:55] local.INFO: TCP Data received {"connection_id":217007,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:26:55] local.INFO: Processing buffer {"connection_id":217007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:26:55] local.INFO: IMEI packet received {"connection_id":217007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":217007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:26:58] local.INFO: TCP Data received {"connection_id":217007,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145da35f80100000000000000000000000000..."} 
[2026-10-16 23:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145da35f80100000000000000000000000000..."} 
[2026-10-16 23:26:58] local.INFO: Processing buffer {"connection_id":217007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145da35f80100000000000000000000000000..."} 
[2026-10-16 23:26:58] local.INFO: Packet analysis {"connection_id":217007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145da"} 
[2026-10-16 23:26:58] local.INFO: Extracted packet for processing {"connection_id":217007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145da"} 
[2026-10-16 23:26:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 23:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796347648001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:26:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-971792326721200128,"note":"Value kept but may cause issues"} 
[2026-10-16 23:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792173291000,"timestamp_ms":1792173291000,"timestamp_seconds":1792173291,"priority":1,"record_length":96,"hex_timestamp":"000001a145da35f8"} 
[2026-10-16 23:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-10-16 23:26:58] 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-10-16 23:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":217007,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:26:58] local.INFO: GPS data processed {"connection_id":217007,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:26:58] local.INFO: Acknowledgment sent {"connection_id":217007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:27:30] local.INFO: TCP Data received {"connection_id":217007,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145d9b128012cf2ac0007123ce8001100792f..."} 
[2026-10-16 23:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145d9b128012cf2ac0007123ce8001100792f..."} 
[2026-10-16 23:27:30] local.INFO: Processing buffer {"connection_id":217007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145d9b128012cf2ac0007123ce8001100792f..."} 
[2026-10-16 23:27:30] local.INFO: Packet analysis {"connection_id":217007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:27:30] local.INFO: Extracted packet for processing {"connection_id":217007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145d9"} 
[2026-10-16 23:27:30] local.INFO: GPS Element Parsed {"raw_longitude":754101248,"raw_latitude":118635752,"longitude_deg":75.4101248,"latitude_deg":11.8635752,"altitude":17,"angle":121,"satellites":47,"speed":15,"hex_longitude":"2cf2ac00","hex_latitude":"07123ce8","is_valid_coordinates":true} 
[2026-10-16 23:27: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-10-16 23:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:27:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792173257000,"timestamp_ms":1792173257000,"timestamp_seconds":1792173257,"priority":1,"record_length":96,"hex_timestamp":"000001a145d9b128"} 
[2026-10-16 23:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:27: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 23:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:27: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-10-16 23:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27289,"101":206,"2":54272,"24":15,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16]} 
[2026-10-16 23:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:27:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 23:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:27:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27289,"unknown_101":206,"power_alt":54272,"ignition":15,"odometer":null}} 
[2026-10-16 23:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":217007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:27:30] local.INFO: GPS data processed {"connection_id":217007,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:27:30] local.INFO: Acknowledgment sent {"connection_id":217007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:28:26] local.INFO: TCP Data received {"connection_id":218569,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:26] local.INFO: Processing buffer {"connection_id":218569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:26] local.INFO: IMEI packet received {"connection_id":218569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":218569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:28:28] local.INFO: TCP Data received {"connection_id":218569,"ip":"117.224.23.215","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 23:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218569,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 23:28:28] local.INFO: Processing buffer {"connection_id":218569,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 23:28:28] local.INFO: IMEI packet received {"connection_id":218569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":218569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:28:31] local.INFO: TCP Data received {"connection_id":218569,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145da93b80100000000000000000000000000..."} 
[2026-10-16 23:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145da93b80100000000000000000000000000..."} 
[2026-10-16 23:28:31] local.INFO: Processing buffer {"connection_id":218569,"buffer_length":829,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-10-16 23:28:31] local.INFO: IMEI packet received {"connection_id":218569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":218569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:28:32] local.INFO: TCP Data received {"connection_id":218569,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145da16b8012cf2db8007121c38000f007f2f..."} 
[2026-10-16 23:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145da16b8012cf2db8007121c38000f007f2f..."} 
[2026-10-16 23:28:32] local.INFO: Processing buffer {"connection_id":218569,"buffer_length":1607,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a145..."} 
[2026-10-16 23:28:32] local.INFO: IMEI packet received {"connection_id":218569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":218569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:28:34] local.INFO: TCP Data received {"connection_id":218569,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145da68c0012cf310800711ed78000d00862d..."} 
[2026-10-16 23:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145da68c0012cf310800711ed78000d00862d..."} 
[2026-10-16 23:28:34] local.INFO: Processing buffer {"connection_id":218569,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a145da93b80100000000000000000000000000..."} 
[2026-10-16 23:28:34] local.INFO: Packet analysis {"connection_id":218569,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a145da"} 
[2026-10-16 23:28:34] local.INFO: Extracted packet for processing {"connection_id":218569,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a145da"} 
[2026-10-16 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 23:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796353792001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-960392590166005760,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792173315000,"timestamp_ms":1792173315000,"timestamp_seconds":1792173315,"priority":1,"record_length":96,"hex_timestamp":"000001a145da93b8"} 
[2026-10-16 23:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 23:28:34] 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-10-16 23:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":218569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":218569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":218569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":218569,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:28:34] local.INFO: GPS data processed {"connection_id":218569,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:28:34] local.INFO: Acknowledgment sent {"connection_id":218569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:28:34] local.INFO: Packet analysis {"connection_id":218569,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a145da"} 
[2026-10-16 23:28:34] local.INFO: Extracted packet for processing {"connection_id":218569,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145da"} 
[2026-10-16 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":754113408,"raw_latitude":118627384,"longitude_deg":75.4113408,"latitude_deg":11.8627384,"altitude":15,"angle":127,"satellites":47,"speed":28,"hex_longitude":"2cf2db80","hex_latitude":"07121c38","is_valid_coordinates":true} 
[2026-10-16 23:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792173283000,"timestamp_ms":1792173283000,"timestamp_seconds":1792173283,"priority":1,"record_length":96,"hex_timestamp":"000001a145da16b8"} 
[2026-10-16 23:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-10-16 23:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":218569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":218569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":218569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27289,"101":206,"2":54272,"24":28,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16]} 
[2026-10-16 23:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:28:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 23:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:28:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27289,"unknown_101":206,"power_alt":54272,"ignition":28,"odometer":null}} 
[2026-10-16 23:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":218569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:28:34] local.INFO: GPS data processed {"connection_id":218569,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:28:34] local.INFO: Acknowledgment sent {"connection_id":218569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:28:34] local.INFO: Packet analysis {"connection_id":218569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145da"} 
[2026-10-16 23:28:34] local.INFO: Extracted packet for processing {"connection_id":218569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145da"} 
[2026-10-16 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":754126976,"raw_latitude":118615416,"longitude_deg":75.4126976,"latitude_deg":11.8615416,"altitude":13,"angle":134,"satellites":45,"speed":0,"hex_longitude":"2cf31080","hex_latitude":"0711ed78","is_valid_coordinates":true} 
[2026-10-16 23:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796360448001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-947022528774391808,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792173304000,"timestamp_ms":1792173304000,"timestamp_seconds":1792173304,"priority":1,"record_length":96,"hex_timestamp":"000001a145da68c0"} 
[2026-10-16 23:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-10-16 23:28:34] 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-10-16 23:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":218569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":218569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":218569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796360448001,"66":27517,"101":206,"2":54272,"24":0,"16":13211598575370240,"44":-947022528774391808},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-10-16 23:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796360448001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:28:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 23:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-947022528774391808,"description":"Unknown IO ID 44"} 
[2026-10-16 23:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796360448001,"power":27517,"unknown_101":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-947022528774391808}} 
[2026-10-16 23:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":218569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:28:34] local.INFO: GPS data processed {"connection_id":218569,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:28:34] local.INFO: Acknowledgment sent {"connection_id":218569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:28:35] local.INFO: TCP Data received {"connection_id":218569,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145dabac8012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145dabac8012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:28:35] local.INFO: Processing buffer {"connection_id":218569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145dabac8012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:28:35] local.INFO: Packet analysis {"connection_id":218569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145da"} 
[2026-10-16 23:28:35] local.INFO: Extracted packet for processing {"connection_id":218569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145da"} 
[2026-10-16 23:28:35] local.INFO: GPS Element Parsed {"raw_longitude":754138560,"raw_latitude":118604008,"longitude_deg":75.413856,"latitude_deg":11.8604008,"altitude":13,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2cf33dc0","hex_latitude":"0711c0e8","is_valid_coordinates":true} 
[2026-10-16 23:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796365824001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-932104355011790848,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792173325000,"timestamp_ms":1792173325000,"timestamp_seconds":1792173325,"priority":1,"record_length":96,"hex_timestamp":"000001a145dabac8"} 
[2026-10-16 23:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 23:28:35] 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-10-16 23:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":218569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":218569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":218569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796365824001,"66":27397,"101":206,"2":54272,"24":0,"16":13211598575370240,"44":-932104355011790848},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-10-16 23:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796365824001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:28:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 23:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:28:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-932104355011790848,"description":"Unknown IO ID 44"} 
[2026-10-16 23:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796365824001,"power":27397,"unknown_101":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-932104355011790848}} 
[2026-10-16 23:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":218569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:28:35] local.INFO: GPS data processed {"connection_id":218569,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:28:35] local.ERROR: TCP Connection error {"connection_id":218569,"code":2,"message":"client closed"} 
[2026-10-16 23:28:35] local.INFO: Acknowledgment sent {"connection_id":218569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:28:49] local.INFO: TCP Data received {"connection_id":217008,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:49] local.INFO: Processing buffer {"connection_id":217008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:49] local.INFO: IMEI packet received {"connection_id":217008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":217008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:28:51] local.INFO: TCP Data received {"connection_id":217008,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:51] local.INFO: Processing buffer {"connection_id":217008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:51] local.INFO: IMEI packet received {"connection_id":217008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":217008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:28:57] local.INFO: TCP Data received {"connection_id":217008,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:57] local.INFO: Processing buffer {"connection_id":217008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:28:57] local.INFO: IMEI packet received {"connection_id":217008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":217008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:28:58] local.INFO: TCP Data received {"connection_id":217008,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145db0cd0012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145db0cd0012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:28:58] local.INFO: Processing buffer {"connection_id":217008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145db0cd0012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:28:58] local.INFO: Packet analysis {"connection_id":217008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145db"} 
[2026-10-16 23:28:58] local.INFO: Extracted packet for processing {"connection_id":217008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145db"} 
[2026-10-16 23:28:58] local.INFO: GPS Element Parsed {"raw_longitude":754138560,"raw_latitude":118604008,"longitude_deg":75.413856,"latitude_deg":11.8604008,"altitude":13,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2cf33dc0","hex_latitude":"0711c0e8","is_valid_coordinates":true} 
[2026-10-16 23:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796371200001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-919367612318554112,"note":"Value kept but may cause issues"} 
[2026-10-16 23:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792173346000,"timestamp_ms":1792173346000,"timestamp_seconds":1792173346,"priority":1,"record_length":96,"hex_timestamp":"000001a145db0cd0"} 
[2026-10-16 23:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":217008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":217008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":217008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796371200001,"66":27071,"101":206,"2":54272,"24":0,"16":13211598575370240,"44":-919367612318554112},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-10-16 23:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796371200001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:28:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 23:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:28:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-919367612318554112,"description":"Unknown IO ID 44"} 
[2026-10-16 23:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796371200001,"power":27071,"unknown_101":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-919367612318554112}} 
[2026-10-16 23:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":217008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:28:58] local.INFO: GPS data processed {"connection_id":217008,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:28:58] local.INFO: Acknowledgment sent {"connection_id":217008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:29:30] local.INFO: TCP Data received {"connection_id":217008,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145db5ed8012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145db5ed8012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:29:30] local.INFO: Processing buffer {"connection_id":217008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145db5ed8012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:29:30] local.INFO: Packet analysis {"connection_id":217008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145db"} 
[2026-10-16 23:29:30] local.INFO: Extracted packet for processing {"connection_id":217008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145db"} 
[2026-10-16 23:29:30] local.INFO: GPS Element Parsed {"raw_longitude":754138560,"raw_latitude":118604008,"longitude_deg":75.413856,"latitude_deg":11.8604008,"altitude":13,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2cf33dc0","hex_latitude":"0711c0e8","is_valid_coordinates":true} 
[2026-10-16 23:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796376576001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-919367612318554112,"note":"Value kept but may cause issues"} 
[2026-10-16 23:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792173367000,"timestamp_ms":1792173367000,"timestamp_seconds":1792173367,"priority":1,"record_length":96,"hex_timestamp":"000001a145db5ed8"} 
[2026-10-16 23:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-10-16 23:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796376576001,"66":26419,"101":206,"2":54272,"24":0,"16":13211598575370240,"44":-919367612318554112},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-10-16 23:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796376576001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:29:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 23:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-919367612318554112,"description":"Unknown IO ID 44"} 
[2026-10-16 23:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796376576001,"power":26419,"unknown_101":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-919367612318554112}} 
[2026-10-16 23:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":217008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1563,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:29:30] local.INFO: GPS data processed {"connection_id":217008,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:29:30] local.INFO: Acknowledgment sent {"connection_id":217008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:29:49] local.INFO: TCP Data received {"connection_id":217010,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:29:49] local.INFO: Processing buffer {"connection_id":217010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:29:49] local.INFO: IMEI packet received {"connection_id":217010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":217010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:29:55] local.INFO: TCP Data received {"connection_id":217010,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:29:55] local.INFO: Processing buffer {"connection_id":217010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:29:55] local.INFO: IMEI packet received {"connection_id":217010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":217010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:29:56] local.INFO: TCP Data received {"connection_id":217010,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145dbb0e0012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145dbb0e0012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:29:56] local.INFO: Processing buffer {"connection_id":217010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145dbb0e0012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:29:56] local.INFO: Packet analysis {"connection_id":217010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145db"} 
[2026-10-16 23:29:56] local.INFO: Extracted packet for processing {"connection_id":217010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145db"} 
[2026-10-16 23:29:56] local.INFO: GPS Element Parsed {"raw_longitude":754138560,"raw_latitude":118604008,"longitude_deg":75.413856,"latitude_deg":11.8604008,"altitude":13,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2cf33dc0","hex_latitude":"0711c0e8","is_valid_coordinates":true} 
[2026-10-16 23:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796381952001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:29:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-919367612318554112,"note":"Value kept but may cause issues"} 
[2026-10-16 23:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792173388000,"timestamp_ms":1792173388000,"timestamp_seconds":1792173388,"priority":1,"record_length":96,"hex_timestamp":"000001a145dbb0e0"} 
[2026-10-16 23:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-10-16 23:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":217010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":217010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":217010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796381952001,"66":27213,"101":206,"2":54272,"24":0,"16":13211598575370240,"44":-919367612318554112},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-10-16 23:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796381952001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:29:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 23:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:29:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-919367612318554112,"description":"Unknown IO ID 44"} 
[2026-10-16 23:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796381952001,"power":27213,"unknown_101":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-919367612318554112}} 
[2026-10-16 23:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":217010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:29:56] local.INFO: GPS data processed {"connection_id":217010,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:29:56] local.INFO: Acknowledgment sent {"connection_id":217010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:30:28] local.INFO: TCP Data received {"connection_id":217010,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145dc02e8012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145dc02e8012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:30:28] local.INFO: Processing buffer {"connection_id":217010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145dc02e8012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:30:28] local.INFO: Packet analysis {"connection_id":217010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145dc"} 
[2026-10-16 23:30:28] local.INFO: Extracted packet for processing {"connection_id":217010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145dc"} 
[2026-10-16 23:30:28] local.INFO: GPS Element Parsed {"raw_longitude":754138560,"raw_latitude":118604008,"longitude_deg":75.413856,"latitude_deg":11.8604008,"altitude":13,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2cf33dc0","hex_latitude":"0711c0e8","is_valid_coordinates":true} 
[2026-10-16 23:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796387328001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:30:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-919367612318554112,"note":"Value kept but may cause issues"} 
[2026-10-16 23:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792173409000,"timestamp_ms":1792173409000,"timestamp_seconds":1792173409,"priority":1,"record_length":96,"hex_timestamp":"000001a145dc02e8"} 
[2026-10-16 23:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 23:30:28] 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-10-16 23:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":217010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":217010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":217010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796387328001,"66":27267,"101":206,"2":54272,"24":0,"16":13211598575370240,"44":-919367612318554112},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-10-16 23:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796387328001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:30:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 23:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:30:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-919367612318554112,"description":"Unknown IO ID 44"} 
[2026-10-16 23:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796387328001,"power":27267,"unknown_101":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-919367612318554112}} 
[2026-10-16 23:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":217010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:30:28] local.INFO: GPS data processed {"connection_id":217010,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:30:28] local.INFO: Acknowledgment sent {"connection_id":217010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:30:55] local.INFO: TCP Data received {"connection_id":218571,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:30:55] local.INFO: Processing buffer {"connection_id":218571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:30:55] local.INFO: IMEI packet received {"connection_id":218571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":218571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:31:00] local.INFO: TCP Data received {"connection_id":218571,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:31:00] local.INFO: Processing buffer {"connection_id":218571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:31:00] local.INFO: IMEI packet received {"connection_id":218571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":218571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:31:01] local.INFO: TCP Data received {"connection_id":218571,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145dc54f0012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145dc54f0012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:31:01] local.INFO: Processing buffer {"connection_id":218571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145dc54f0012cf33dc00711c0e8000d00872f..."} 
[2026-10-16 23:31:01] local.INFO: Packet analysis {"connection_id":218571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145dc"} 
[2026-10-16 23:31:01] local.INFO: Extracted packet for processing {"connection_id":218571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145dc"} 
[2026-10-16 23:31:01] local.INFO: GPS Element Parsed {"raw_longitude":754138560,"raw_latitude":118604008,"longitude_deg":75.413856,"latitude_deg":11.8604008,"altitude":13,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2cf33dc0","hex_latitude":"0711c0e8","is_valid_coordinates":true} 
[2026-10-16 23:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796392704001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-919367612318554112,"note":"Value kept but may cause issues"} 
[2026-10-16 23:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792173430000,"timestamp_ms":1792173430000,"timestamp_seconds":1792173430,"priority":1,"record_length":96,"hex_timestamp":"000001a145dc54f0"} 
[2026-10-16 23:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-10-16 23:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":218571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":218571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":218571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796392704001,"66":27604,"101":206,"2":54272,"24":0,"16":13211598575370240,"44":-919367612318554112},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-10-16 23:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796392704001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:31:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-10-16 23:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-919367612318554112,"description":"Unknown IO ID 44"} 
[2026-10-16 23:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796392704001,"power":27604,"unknown_101":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-919367612318554112}} 
[2026-10-16 23:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":218571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:31:01] local.INFO: GPS data processed {"connection_id":218571,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:31:01] local.INFO: Acknowledgment sent {"connection_id":218571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:31:34] local.INFO: TCP Data received {"connection_id":218571,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145df6230012cf458800710afa8002300842f..."} 
[2026-10-16 23:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145df6230012cf458800710afa8002300842f..."} 
[2026-10-16 23:31:34] local.INFO: Processing buffer {"connection_id":218571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145df6230012cf458800710afa8002300842f..."} 
[2026-10-16 23:31:34] local.INFO: Packet analysis {"connection_id":218571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145df"} 
[2026-10-16 23:31:34] local.INFO: Extracted packet for processing {"connection_id":218571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145df"} 
[2026-10-16 23:31:34] local.INFO: GPS Element Parsed {"raw_longitude":754210944,"raw_latitude":118534056,"longitude_deg":75.4210944,"latitude_deg":11.8534056,"altitude":35,"angle":132,"satellites":47,"speed":0,"hex_longitude":"2cf45880","hex_latitude":"0710afa8","is_valid_coordinates":true} 
[2026-10-16 23:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796443904001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:31:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-839780562671523840,"note":"Value kept but may cause issues"} 
[2026-10-16 23:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792173630000,"timestamp_ms":1792173630000,"timestamp_seconds":1792173630,"priority":1,"record_length":96,"hex_timestamp":"000001a145df6230"} 
[2026-10-16 23:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-10-16 23:31:34] 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-10-16 23:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":218571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":218571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":218571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796443904001,"66":27365,"108":206,"2":54272,"24":0,"16":13211598575370240,"44":-839780562671523840},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-10-16 23:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796443904001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:31:34] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-10-16 23:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:31:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-839780562671523840,"description":"Unknown IO ID 44"} 
[2026-10-16 23:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796443904001,"power":27365,"unknown_108":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-839780562671523840}} 
[2026-10-16 23:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":218571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:31:34] local.INFO: GPS data processed {"connection_id":218571,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:31:34] local.INFO: Acknowledgment sent {"connection_id":218571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:31:50] local.INFO: TCP Data received {"connection_id":220296,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:31:50] local.INFO: Processing buffer {"connection_id":220296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:31:50] local.INFO: IMEI packet received {"connection_id":220296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":220296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:31:52] local.INFO: TCP Data received {"connection_id":220296,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:31:52] local.INFO: Processing buffer {"connection_id":220296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:31:52] local.INFO: IMEI packet received {"connection_id":220296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":220296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:31:54] local.INFO: TCP Data received {"connection_id":220296,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145e044c00100000000000000000000000000..."} 
[2026-10-16 23:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e044c00100000000000000000000000000..."} 
[2026-10-16 23:31:54] local.INFO: Processing buffer {"connection_id":220296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e044c00100000000000000000000000000..."} 
[2026-10-16 23:31:54] local.INFO: Packet analysis {"connection_id":220296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e0"} 
[2026-10-16 23:31:54] local.INFO: Extracted packet for processing {"connection_id":220296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e0"} 
[2026-10-16 23:31:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796449280001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:31:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-839780562671523840,"note":"Value kept but may cause issues"} 
[2026-10-16 23:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1792173688000,"timestamp_ms":1792173688000,"timestamp_seconds":1792173688,"priority":1,"record_length":96,"hex_timestamp":"000001a145e044c0"} 
[2026-10-16 23:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:31: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-10-16 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 23:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":220296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":220296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":220296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":220296,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:31:54] local.INFO: GPS data processed {"connection_id":220296,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:31:54] local.INFO: Acknowledgment sent {"connection_id":220296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:32:03] local.INFO: TCP Data received {"connection_id":217226,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:03] local.INFO: Processing buffer {"connection_id":217226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:03] local.INFO: IMEI packet received {"connection_id":217226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":217226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:32:04] local.INFO: TCP Data received {"connection_id":217226,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:04] local.INFO: Processing buffer {"connection_id":217226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:04] local.INFO: IMEI packet received {"connection_id":217226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":217226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:32:05] local.INFO: TCP Data received {"connection_id":217226,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145de3d38012d6d49c0060efe08000901552d..."} 
[2026-10-16 23:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145de3d38012d6d49c0060efe08000901552d..."} 
[2026-10-16 23:32:05] local.INFO: Processing buffer {"connection_id":217226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145de3d38012d6d49c0060efe08000901552d..."} 
[2026-10-16 23:32:05] local.INFO: Packet analysis {"connection_id":217226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145de"} 
[2026-10-16 23:32:05] local.INFO: Extracted packet for processing {"connection_id":217226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145de"} 
[2026-10-16 23:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762137024,"raw_latitude":101645832,"longitude_deg":76.2137024,"latitude_deg":10.1645832,"altitude":9,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d6d49c0","hex_latitude":"060efe08","is_valid_coordinates":true} 
[2026-10-16 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-10-16 23:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796424704001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15552939867242496,"note":"Value kept but may cause issues"} 
[2026-10-16 23:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7875177293176117248,"note":"Value kept but may cause issues"} 
[2026-10-16 23:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792173555000,"timestamp_ms":1792173555000,"timestamp_seconds":1792173555,"priority":1,"record_length":96,"hex_timestamp":"000001a145de3d38"} 
[2026-10-16 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-10-16 23:32: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-10-16 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 23:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 23:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796424704001,"66":27539,"59":206,"19":43264,"24":0,"16":15552939867242496,"45":7875177293176117248},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-10-16 23:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796424704001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:32:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-10-16 23:32:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 23:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15552939867242496,"km_value":15552939867242.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7875177293176117248,"description":"Unknown IO ID 45"} 
[2026-10-16 23:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796424704001,"power":27539,"unknown_59":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7875177293176117248}} 
[2026-10-16 23:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":217226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:32:05] local.INFO: GPS data processed {"connection_id":217226,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:32:05] local.INFO: Acknowledgment sent {"connection_id":217226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:32:08] local.INFO: TCP Data received {"connection_id":217226,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145de8f40012d6d4580060f0ac8000b01552a..."} 
[2026-10-16 23:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145de8f40012d6d4580060f0ac8000b01552a..."} 
[2026-10-16 23:32:08] local.INFO: Processing buffer {"connection_id":217226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145de8f40012d6d4580060f0ac8000b01552a..."} 
[2026-10-16 23:32:08] local.INFO: Packet analysis {"connection_id":217226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145de"} 
[2026-10-16 23:32:08] local.INFO: Extracted packet for processing {"connection_id":217226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145de"} 
[2026-10-16 23:32:08] local.INFO: GPS Element Parsed {"raw_longitude":762135936,"raw_latitude":101649096,"longitude_deg":76.2135936,"latitude_deg":10.1649096,"altitude":11,"angle":341,"satellites":42,"speed":13,"hex_longitude":"2d6d4580","hex_latitude":"060f0ac8","is_valid_coordinates":true} 
[2026-10-16 23:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796430080001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15553107370967040,"note":"Value kept but may cause issues"} 
[2026-10-16 23:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7875036555687888896,"note":"Value kept but may cause issues"} 
[2026-10-16 23:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792173576000,"timestamp_ms":1792173576000,"timestamp_seconds":1792173576,"priority":1,"record_length":96,"hex_timestamp":"000001a145de8f40"} 
[2026-10-16 23:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23: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-10-16 23:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-10-16 23:32:08] 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-10-16 23:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":217226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":217226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":217226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796430080001,"66":27245,"59":206,"19":43264,"24":13,"16":15553107370967040,"45":7875036555687888896},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-10-16 23:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796430080001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:32:08] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-10-16 23:32:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 23:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15553107370967040,"km_value":15553107370967.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7875036555687888896,"description":"Unknown IO ID 45"} 
[2026-10-16 23:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796430080001,"power":27245,"unknown_59":206,"unknown_19":43264,"ignition":13,"odometer":null,"unknown_45":7875036555687888896}} 
[2026-10-16 23:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":217226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:32:08] local.INFO: GPS data processed {"connection_id":217226,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:32:08] local.INFO: Acknowledgment sent {"connection_id":217226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:32:25] local.INFO: TCP Data received {"connection_id":220296,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145dfbff0012cf481c007109598002500872b..."} 
[2026-10-16 23:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145dfbff0012cf481c007109598002500872b..."} 
[2026-10-16 23:32:25] local.INFO: Processing buffer {"connection_id":220296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145dfbff0012cf481c007109598002500872b..."} 
[2026-10-16 23:32:25] local.INFO: Packet analysis {"connection_id":220296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145df"} 
[2026-10-16 23:32:25] local.INFO: Extracted packet for processing {"connection_id":220296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145df"} 
[2026-10-16 23:32:25] local.INFO: GPS Element Parsed {"raw_longitude":754221504,"raw_latitude":118527384,"longitude_deg":75.4221504,"latitude_deg":11.8527384,"altitude":37,"angle":135,"satellites":43,"speed":21,"hex_longitude":"2cf481c0","hex_latitude":"07109598","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:32:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,108,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1792173654000,"timestamp_ms":1792173654000,"timestamp_seconds":1792173654,"priority":1,"record_length":96,"hex_timestamp":"000001a145dfbff0"} 
[2026-10-16 23:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-10-16 23:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":220296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":220296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":220296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27332,"108":206,"2":54272,"24":21,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16]} 
[2026-10-16 23:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:32:25] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-10-16 23:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:32:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27332,"unknown_108":206,"power_alt":54272,"ignition":21,"odometer":null}} 
[2026-10-16 23:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":220296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:32:26] local.INFO: GPS data processed {"connection_id":220296,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:32:26] local.INFO: Acknowledgment sent {"connection_id":220296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:32:49] local.INFO: TCP Data received {"connection_id":220297,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:32:49] local.INFO: Processing buffer {"connection_id":220297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:32:49] local.INFO: IMEI packet received {"connection_id":220297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":220297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:32:55] local.INFO: TCP Data received {"connection_id":220297,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:32:55] local.INFO: Processing buffer {"connection_id":220297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:32:55] local.INFO: IMEI packet received {"connection_id":220297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":220297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:32:56] local.INFO: TCP Data received {"connection_id":217227,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:56] local.INFO: Processing buffer {"connection_id":217227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:56] local.INFO: IMEI packet received {"connection_id":217227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":217227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:32:56] local.INFO: TCP Data received {"connection_id":220297,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145e011f8012cf4b680071065b80022008124..."} 
[2026-10-16 23:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e011f8012cf4b680071065b80022008124..."} 
[2026-10-16 23:32:56] local.INFO: Processing buffer {"connection_id":220297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e011f8012cf4b680071065b80022008124..."} 
[2026-10-16 23:32:56] local.INFO: Packet analysis {"connection_id":220297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e0"} 
[2026-10-16 23:32:56] local.INFO: Extracted packet for processing {"connection_id":220297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e0"} 
[2026-10-16 23:32:56] local.INFO: GPS Element Parsed {"raw_longitude":754235008,"raw_latitude":118515128,"longitude_deg":75.4235008,"latitude_deg":11.8515128,"altitude":34,"angle":129,"satellites":36,"speed":34,"hex_longitude":"2cf4b680","hex_latitude":"071065b8","is_valid_coordinates":true} 
[2026-10-16 23:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796455424001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-828169719883917312,"note":"Value kept but may cause issues"} 
[2026-10-16 23:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1792173675000,"timestamp_ms":1792173675000,"timestamp_seconds":1792173675,"priority":1,"record_length":96,"hex_timestamp":"000001a145e011f8"} 
[2026-10-16 23:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 23:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":220297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":220297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":220297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796455424001,"66":26452,"36":206,"2":54272,"24":34,"16":13211598575370240,"44":-828169719883917312},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-10-16 23:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796455424001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:32:56] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-10-16 23:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-828169719883917312,"description":"Unknown IO ID 44"} 
[2026-10-16 23:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796455424001,"power":26452,"unknown_36":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-828169719883917312}} 
[2026-10-16 23:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":220297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:32:56] local.INFO: GPS data processed {"connection_id":220297,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:32:56] local.INFO: Acknowledgment sent {"connection_id":220297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:32:58] local.INFO: TCP Data received {"connection_id":217227,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:58] local.INFO: Processing buffer {"connection_id":217227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:32:58] local.INFO: IMEI packet received {"connection_id":217227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":217227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:33:02] local.INFO: TCP Data received {"connection_id":217227,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:33:02] local.INFO: Processing buffer {"connection_id":217227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:33:02] local.INFO: IMEI packet received {"connection_id":217227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":217227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:33:04] local.INFO: TCP Data received {"connection_id":217227,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145dee148012d6d3f80060f1f68000b015a2b..."} 
[2026-10-16 23:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145dee148012d6d3f80060f1f68000b015a2b..."} 
[2026-10-16 23:33:04] local.INFO: Processing buffer {"connection_id":217227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145dee148012d6d3f80060f1f68000b015a2b..."} 
[2026-10-16 23:33:04] local.INFO: Packet analysis {"connection_id":217227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145de"} 
[2026-10-16 23:33:04] local.INFO: Extracted packet for processing {"connection_id":217227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145de"} 
[2026-10-16 23:33:04] local.INFO: GPS Element Parsed {"raw_longitude":762134400,"raw_latitude":101654376,"longitude_deg":76.21344,"latitude_deg":10.1654376,"altitude":11,"angle":346,"satellites":43,"speed":5,"hex_longitude":"2d6d3f80","hex_latitude":"060f1f68","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796435456001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15553377953906688,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873840287037704192,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792173597000,"timestamp_ms":1792173597000,"timestamp_seconds":1792173597,"priority":1,"record_length":96,"hex_timestamp":"000001a145dee148"} 
[2026-10-16 23:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 23:33: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-10-16 23: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-10-16 23:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":217227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":217227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":217227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796435456001,"66":27300,"59":206,"19":43264,"24":5,"16":15553377953906688,"45":7873840287037704192},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-10-16 23:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796435456001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:33:04] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-10-16 23:33:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 23:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15553377953906688,"km_value":15553377953906.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873840287037704192,"description":"Unknown IO ID 45"} 
[2026-10-16 23:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796435456001,"power":27300,"unknown_59":206,"unknown_19":43264,"ignition":5,"odometer":null,"unknown_45":7873840287037704192}} 
[2026-10-16 23:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":217227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:33:04] local.INFO: GPS data processed {"connection_id":217227,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:33:04] local.INFO: Acknowledgment sent {"connection_id":217227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:33:08] local.INFO: TCP Data received {"connection_id":217227,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145df3350012d6d3d80060f2aa0000c015e2b..."} 
[2026-10-16 23:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145df3350012d6d3d80060f2aa0000c015e2b..."} 
[2026-10-16 23:33:08] local.INFO: Processing buffer {"connection_id":217227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145df3350012d6d3d80060f2aa0000c015e2b..."} 
[2026-10-16 23:33:08] local.INFO: Packet analysis {"connection_id":217227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145df"} 
[2026-10-16 23:33:08] local.INFO: Extracted packet for processing {"connection_id":217227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145df"} 
[2026-10-16 23:33:08] local.INFO: GPS Element Parsed {"raw_longitude":762133888,"raw_latitude":101657248,"longitude_deg":76.2133888,"latitude_deg":10.1657248,"altitude":12,"angle":350,"satellites":43,"speed":5,"hex_longitude":"2d6d3d80","hex_latitude":"060f2aa0","is_valid_coordinates":true} 
[2026-10-16 23:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796440832001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15553523982794752,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872151437178791936,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1792173618000,"timestamp_ms":1792173618000,"timestamp_seconds":1792173618,"priority":1,"record_length":96,"hex_timestamp":"000001a145df3350"} 
[2026-10-16 23:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:33: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-10-16 23:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-10-16 23:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":217227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":217227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":217227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796440832001,"66":27343,"246":206,"19":43264,"24":5,"16":15553523982794752,"45":7872151437178791936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-10-16 23:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796440832001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:33:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-10-16 23:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15553523982794752,"km_value":15553523982794.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872151437178791936,"description":"Unknown IO ID 45"} 
[2026-10-16 23:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796440832001,"power":27343,"main_input_voltage":206,"unknown_19":43264,"ignition":5,"odometer":null,"unknown_45":7872151437178791936}} 
[2026-10-16 23:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":217227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:33:08] local.INFO: GPS data processed {"connection_id":217227,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:33:08] local.INFO: Acknowledgment sent {"connection_id":217227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:33:28] local.INFO: TCP Data received {"connection_id":220297,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145e0f4880100000000000000000000000000..."} 
[2026-10-16 23:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e0f4880100000000000000000000000000..."} 
[2026-10-16 23:33:28] local.INFO: Processing buffer {"connection_id":220297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e0f4880100000000000000000000000000..."} 
[2026-10-16 23:33:28] local.INFO: Packet analysis {"connection_id":220297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e0"} 
[2026-10-16 23:33:28] local.INFO: Extracted packet for processing {"connection_id":220297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e0"} 
[2026-10-16 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 23:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796460800001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-813321914865567744,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1792173733000,"timestamp_ms":1792173733000,"timestamp_seconds":1792173733,"priority":1,"record_length":96,"hex_timestamp":"000001a145e0f488"} 
[2026-10-16 23:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 23:33:28] 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-10-16 23:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":220297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":220297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":220297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":220297,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:33:28] local.INFO: GPS data processed {"connection_id":220297,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:33:28] local.INFO: Acknowledgment sent {"connection_id":220297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:33:39] local.INFO: TCP Data received {"connection_id":217227,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e19c80012d6d1100060fd300000a014b2a..."} 
[2026-10-16 23:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e19c80012d6d1100060fd300000a014b2a..."} 
[2026-10-16 23:33:39] local.INFO: Processing buffer {"connection_id":217227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e19c80012d6d1100060fd300000a014b2a..."} 
[2026-10-16 23:33:39] local.INFO: Packet analysis {"connection_id":217227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:33:39] local.INFO: Extracted packet for processing {"connection_id":217227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:33:39] local.INFO: GPS Element Parsed {"raw_longitude":762122496,"raw_latitude":101700352,"longitude_deg":76.2122496,"latitude_deg":10.1700352,"altitude":10,"angle":331,"satellites":42,"speed":25,"hex_longitude":"2d6d1100","hex_latitude":"060fd300","is_valid_coordinates":true} 
[2026-10-16 23:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796484608001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15555744480886784,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7861596125563084800,"note":"Value kept but may cause issues"} 
[2026-10-16 23:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1792173776000,"timestamp_ms":1792173776000,"timestamp_seconds":1792173776,"priority":1,"record_length":96,"hex_timestamp":"000001a145e19c80"} 
[2026-10-16 23:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 23:33:39] 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-10-16 23:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":217227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":217227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":217227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796484608001,"66":27463,"205":206,"79":46336,"24":25,"16":15555744480886784,"45":7861596125563084800},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-10-16 23:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796484608001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:33:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15555744480886784,"km_value":15555744480886.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7861596125563084800,"description":"Unknown IO ID 45"} 
[2026-10-16 23:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796484608001,"power":27463,"cell_id":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7861596125563084800}} 
[2026-10-16 23:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":217227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:33:40] local.INFO: GPS data processed {"connection_id":217227,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:33:40] local.INFO: Acknowledgment sent {"connection_id":217227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:33:50] local.INFO: TCP Data received {"connection_id":217011,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:33:50] local.INFO: Processing buffer {"connection_id":217011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:33:50] local.INFO: IMEI packet received {"connection_id":217011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":217011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:33:55] local.INFO: TCP Data received {"connection_id":217011,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:33:55] local.INFO: Processing buffer {"connection_id":217011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:33:55] local.INFO: IMEI packet received {"connection_id":217011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":217011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:33:57] local.INFO: TCP Data received {"connection_id":220298,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:33:57] local.INFO: Processing buffer {"connection_id":220298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:33:57] local.INFO: IMEI packet received {"connection_id":220298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":220298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:33:58] local.INFO: TCP Data received {"connection_id":220298,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:33:58] local.INFO: Processing buffer {"connection_id":220298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:33:58] local.INFO: IMEI packet received {"connection_id":220298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":220298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:34:00] local.INFO: TCP Data received {"connection_id":217011,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:34:00] local.INFO: Processing buffer {"connection_id":217011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:34:00] local.INFO: IMEI packet received {"connection_id":217011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":217011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:34:01] local.INFO: TCP Data received {"connection_id":217011,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145e06bd0012cf4df80071040d8001f008a2e..."} 
[2026-10-16 23:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e06bd0012cf4df80071040d8001f008a2e..."} 
[2026-10-16 23:34:01] local.INFO: Processing buffer {"connection_id":217011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e06bd0012cf4df80071040d8001f008a2e..."} 
[2026-10-16 23:34:01] local.INFO: Packet analysis {"connection_id":217011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e0"} 
[2026-10-16 23:34:01] local.INFO: Extracted packet for processing {"connection_id":217011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e0"} 
[2026-10-16 23:34:01] local.INFO: GPS Element Parsed {"raw_longitude":754245504,"raw_latitude":118505688,"longitude_deg":75.4245504,"latitude_deg":11.8505688,"altitude":31,"angle":138,"satellites":46,"speed":27,"hex_longitude":"2cf4df80","hex_latitude":"071040d8","is_valid_coordinates":true} 
[2026-10-16 23:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792173698000,"timestamp_ms":1792173698000,"timestamp_seconds":1792173698,"priority":1,"record_length":96,"hex_timestamp":"000001a145e06bd0"} 
[2026-10-16 23:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":217011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":217011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":217011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26452,"36":206,"2":54272,"24":27,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16]} 
[2026-10-16 23:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:34:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-10-16 23:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:34:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26452,"unknown_36":206,"power_alt":54272,"ignition":27,"odometer":null}} 
[2026-10-16 23:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":217011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1575,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:34:01] local.INFO: GPS data processed {"connection_id":217011,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:34:01] local.INFO: Acknowledgment sent {"connection_id":217011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:34:03] local.INFO: TCP Data received {"connection_id":220298,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:34:03] local.INFO: Processing buffer {"connection_id":220298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:34:03] local.INFO: IMEI packet received {"connection_id":220298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":220298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:34:04] local.INFO: TCP Data received {"connection_id":220298,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e1a450012d6d0f00060fd7d0000b01592a..."} 
[2026-10-16 23:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e1a450012d6d0f00060fd7d0000b01592a..."} 
[2026-10-16 23:34:04] local.INFO: Processing buffer {"connection_id":220298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e1a450012d6d0f00060fd7d0000b01592a..."} 
[2026-10-16 23:34:04] local.INFO: Packet analysis {"connection_id":220298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:34:04] local.INFO: Extracted packet for processing {"connection_id":220298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:34:04] local.INFO: GPS Element Parsed {"raw_longitude":762121984,"raw_latitude":101701584,"longitude_deg":76.2121984,"latitude_deg":10.1701584,"altitude":11,"angle":345,"satellites":42,"speed":25,"hex_longitude":"2d6d0f00","hex_latitude":"060fd7d0","is_valid_coordinates":true} 
[2026-10-16 23:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796486656001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15555808905396224,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7859062850773516288,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792173778000,"timestamp_ms":1792173778000,"timestamp_seconds":1792173778,"priority":1,"record_length":96,"hex_timestamp":"000001a145e1a450"} 
[2026-10-16 23:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:34: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-10-16 23:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":220298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":220298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":220298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796486656001,"66":27245,"205":206,"79":46336,"24":25,"16":15555808905396224,"45":7859062850773516288},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-10-16 23:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796486656001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:34:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15555808905396224,"km_value":15555808905396.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7859062850773516288,"description":"Unknown IO ID 45"} 
[2026-10-16 23:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796486656001,"power":27245,"cell_id":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7859062850773516288}} 
[2026-10-16 23:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":220298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:34:04] local.INFO: GPS data processed {"connection_id":220298,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:34:04] local.INFO: Acknowledgment sent {"connection_id":220298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:34:17] local.INFO: TCP Data received {"connection_id":217011,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145e0b9f0012cf50ec0071023b0001a00692e..."} 
[2026-10-16 23:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e0b9f0012cf50ec0071023b0001a00692e..."} 
[2026-10-16 23:34:17] local.INFO: Processing buffer {"connection_id":217011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e0b9f0012cf50ec0071023b0001a00692e..."} 
[2026-10-16 23:34:17] local.INFO: Packet analysis {"connection_id":217011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e0"} 
[2026-10-16 23:34:17] local.INFO: Extracted packet for processing {"connection_id":217011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e0"} 
[2026-10-16 23:34:17] local.INFO: GPS Element Parsed {"raw_longitude":754257600,"raw_latitude":118498224,"longitude_deg":75.42576,"latitude_deg":11.8498224,"altitude":26,"angle":105,"satellites":46,"speed":16,"hex_longitude":"2cf50ec0","hex_latitude":"071023b0","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796466688001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-801781440822847488,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792173718000,"timestamp_ms":1792173718000,"timestamp_seconds":1792173718,"priority":1,"record_length":96,"hex_timestamp":"000001a145e0b9f0"} 
[2026-10-16 23:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:34: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-10-16 23: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-10-16 23:34:17] 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-10-16 23: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-10-16 23:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":217011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":217011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":217011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796466688001,"66":27082,"36":206,"2":54272,"24":16,"16":13211598575370240,"44":-801781440822847488},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-10-16 23:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796466688001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:34:17] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-10-16 23:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:34:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-801781440822847488,"description":"Unknown IO ID 44"} 
[2026-10-16 23:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796466688001,"power":27082,"unknown_36":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-801781440822847488}} 
[2026-10-16 23:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":217011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1577,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:34:17] local.INFO: GPS data processed {"connection_id":217011,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:34:17] local.INFO: Acknowledgment sent {"connection_id":217011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:34:48] local.INFO: TCP Data received {"connection_id":220298,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e1ac20012d6d0e40060fdcc8000b01662b..."} 
[2026-10-16 23:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e1ac20012d6d0e40060fdcc8000b01662b..."} 
[2026-10-16 23:34:48] local.INFO: Processing buffer {"connection_id":220298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e1ac20012d6d0e40060fdcc8000b01662b..."} 
[2026-10-16 23:34:48] local.INFO: Packet analysis {"connection_id":220298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:34:48] local.INFO: Extracted packet for processing {"connection_id":220298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:34:48] local.INFO: GPS Element Parsed {"raw_longitude":762121792,"raw_latitude":101702856,"longitude_deg":76.2121792,"latitude_deg":10.1702856,"altitude":11,"angle":358,"satellites":43,"speed":24,"hex_longitude":"2d6d0e40","hex_latitude":"060fdcc8","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796487168001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15555869034938368,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7858499900820410368,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1792173780000,"timestamp_ms":1792173780000,"timestamp_seconds":1792173780,"priority":1,"record_length":96,"hex_timestamp":"000001a145e1ac20"} 
[2026-10-16 23:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:34: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-10-16 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-10-16 23:34:48] 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-10-16 23: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-10-16 23:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":220298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":220298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":220298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796487168001,"66":27376,"205":206,"79":46336,"24":24,"16":15555869034938368,"45":7858499900820410368},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-10-16 23:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796487168001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:34:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15555869034938368,"km_value":15555869034938.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7858499900820410368,"description":"Unknown IO ID 45"} 
[2026-10-16 23:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796487168001,"power":27376,"cell_id":206,"unknown_79":46336,"ignition":24,"odometer":null,"unknown_45":7858499900820410368}} 
[2026-10-16 23:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":220298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:34:48] local.INFO: GPS data processed {"connection_id":220298,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:34:48] local.INFO: Acknowledgment sent {"connection_id":220298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:34:50] local.INFO: TCP Data received {"connection_id":217228,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:34:50] local.INFO: Processing buffer {"connection_id":217228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:34:50] local.INFO: IMEI packet received {"connection_id":217228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":217228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:34:55] local.INFO: TCP Data received {"connection_id":217228,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:34:55] local.INFO: Processing buffer {"connection_id":217228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:34:55] local.INFO: IMEI packet received {"connection_id":217228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":217228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:34:57] local.INFO: TCP Data received {"connection_id":217228,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145e19c800100000000000000000000000000..."} 
[2026-10-16 23:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e19c800100000000000000000000000000..."} 
[2026-10-16 23:34:57] local.INFO: Processing buffer {"connection_id":217228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e19c800100000000000000000000000000..."} 
[2026-10-16 23:34:57] local.INFO: Packet analysis {"connection_id":217228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:34:57] local.INFO: Extracted packet for processing {"connection_id":217228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:34:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-10-16 23:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796471808001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-788481748175179776,"note":"Value kept but may cause issues"} 
[2026-10-16 23:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1792173776000,"timestamp_ms":1792173776000,"timestamp_seconds":1792173776,"priority":1,"record_length":96,"hex_timestamp":"000001a145e19c80"} 
[2026-10-16 23:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:34: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-10-16 23:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-10-16 23:34:57] 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-10-16 23:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":217228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":217228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":217228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":217228,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-10-16 23:34:57] local.INFO: GPS data processed {"connection_id":217228,"processed":0,"errors":0,"total":1} 
[2026-10-16 23:34:57] local.INFO: Acknowledgment sent {"connection_id":217228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:34:58] local.INFO: TCP Data received {"connection_id":217229,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:34:58] local.INFO: Processing buffer {"connection_id":217229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:34:58] local.INFO: IMEI packet received {"connection_id":217229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":217229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:35:03] local.INFO: TCP Data received {"connection_id":217229,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:35:03] local.INFO: Processing buffer {"connection_id":217229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:35:03] local.INFO: IMEI packet received {"connection_id":217229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":217229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:35:04] local.INFO: TCP Data received {"connection_id":217229,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e1d718012d6d0b0006100060000901622b..."} 
[2026-10-16 23:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e1d718012d6d0b0006100060000901622b..."} 
[2026-10-16 23:35:04] local.INFO: Processing buffer {"connection_id":217229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e1d718012d6d0b0006100060000901622b..."} 
[2026-10-16 23:35:04] local.INFO: Packet analysis {"connection_id":217229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:35:04] local.INFO: Extracted packet for processing {"connection_id":217229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:35:04] local.INFO: GPS Element Parsed {"raw_longitude":762120960,"raw_latitude":101711968,"longitude_deg":76.212096,"latitude_deg":10.1711968,"altitude":9,"angle":354,"satellites":43,"speed":38,"hex_longitude":"2d6d0b00","hex_latitude":"06100060","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796487680001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15556315711537152,"note":"Value kept but may cause issues"} 
[2026-10-16 23:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7858288794588203008,"note":"Value kept but may cause issues"} 
[2026-10-16 23:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792173791000,"timestamp_ms":1792173791000,"timestamp_seconds":1792173791,"priority":1,"record_length":96,"hex_timestamp":"000001a145e1d718"} 
[2026-10-16 23:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:35: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-10-16 23:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:35: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-10-16 23: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-10-16 23:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":217229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":217229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":217229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796487680001,"66":27397,"205":206,"79":46336,"24":38,"16":15556315711537152,"45":7858288794588203008},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-10-16 23:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796487680001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:35:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15556315711537152,"km_value":15556315711537.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7858288794588203008,"description":"Unknown IO ID 45"} 
[2026-10-16 23:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796487680001,"power":27397,"cell_id":206,"unknown_79":46336,"ignition":38,"odometer":null,"unknown_45":7858288794588203008}} 
[2026-10-16 23:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":217229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:35:04] local.INFO: GPS data processed {"connection_id":217229,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:35:04] local.INFO: Acknowledgment sent {"connection_id":217229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:35:30] local.INFO: TCP Data received {"connection_id":217228,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145e113c8012cf54c0007100680001800752c..."} 
[2026-10-16 23:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e113c8012cf54c0007100680001800752c..."} 
[2026-10-16 23:35:30] local.INFO: Processing buffer {"connection_id":217228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e113c8012cf54c0007100680001800752c..."} 
[2026-10-16 23:35:30] local.INFO: Packet analysis {"connection_id":217228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:35:30] local.INFO: Extracted packet for processing {"connection_id":217228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:35:30] local.INFO: GPS Element Parsed {"raw_longitude":754273280,"raw_latitude":118490752,"longitude_deg":75.427328,"latitude_deg":11.8490752,"altitude":24,"angle":117,"satellites":44,"speed":36,"hex_longitude":"2cf54c00","hex_latitude":"07100680","is_valid_coordinates":true} 
[2026-10-16 23:35: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-10-16 23:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:35:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-10-16 23:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1792173741000,"timestamp_ms":1792173741000,"timestamp_seconds":1792173741,"priority":1,"record_length":96,"hex_timestamp":"000001a145e113c8"} 
[2026-10-16 23:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:35: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-10-16 23:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:35: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-10-16 23:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":217228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":217228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":217228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26767,"36":206,"2":54272,"24":36,"16":13211598575370240},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16]} 
[2026-10-16 23:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-10-16 23:35:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-10-16 23:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:35:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26767,"unknown_36":206,"power_alt":54272,"ignition":36,"odometer":null}} 
[2026-10-16 23:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":217228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:35:30] local.INFO: GPS data processed {"connection_id":217228,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:35:30] local.INFO: Acknowledgment sent {"connection_id":217228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:35:35] local.INFO: TCP Data received {"connection_id":217229,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e355e8012d6cda4006111b580009013d2b..."} 
[2026-10-16 23:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e355e8012d6cda4006111b580009013d2b..."} 
[2026-10-16 23:35:35] local.INFO: Processing buffer {"connection_id":217229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e355e8012d6cda4006111b580009013d2b..."} 
[2026-10-16 23:35:35] local.INFO: Packet analysis {"connection_id":217229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:35:35] local.INFO: Extracted packet for processing {"connection_id":217229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:35:35] local.INFO: GPS Element Parsed {"raw_longitude":762108480,"raw_latitude":101784408,"longitude_deg":76.210848,"latitude_deg":10.1784408,"altitude":9,"angle":317,"satellites":43,"speed":11,"hex_longitude":"2d6cda40","hex_latitude":"06111b58","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796515072001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15559957843804160,"note":"Value kept but may cause issues"} 
[2026-10-16 23:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7843933570796730368,"note":"Value kept but may cause issues"} 
[2026-10-16 23:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792173889000,"timestamp_ms":1792173889000,"timestamp_seconds":1792173889,"priority":1,"record_length":96,"hex_timestamp":"000001a145e355e8"} 
[2026-10-16 23:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:35: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-10-16 23:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:35:35] 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-10-16 23: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-10-16 23:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":217229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":217229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":217229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796515072001,"66":27365,"207":206,"79":46336,"24":11,"16":15559957843804160,"45":7843933570796730368},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-10-16 23:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796515072001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:35:35] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-16 23:35:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15559957843804160,"km_value":15559957843804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7843933570796730368,"description":"Unknown IO ID 45"} 
[2026-10-16 23:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796515072001,"power":27365,"unknown_207":206,"unknown_79":46336,"ignition":11,"odometer":null,"unknown_45":7843933570796730368}} 
[2026-10-16 23:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":217229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:35:35] local.INFO: GPS data processed {"connection_id":217229,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:35:35] local.INFO: Acknowledgment sent {"connection_id":217229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:35:49] local.INFO: TCP Data received {"connection_id":220299,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:35:49] local.INFO: Processing buffer {"connection_id":220299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:35:49] local.INFO: IMEI packet received {"connection_id":220299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":220299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:35:55] local.INFO: TCP Data received {"connection_id":220299,"ip":"117.224.23.215","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:35:55] local.INFO: Processing buffer {"connection_id":220299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:35:55] local.INFO: IMEI packet received {"connection_id":220299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-10-16 23:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":220299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:35:58] local.INFO: TCP Data received {"connection_id":217012,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:35:58] local.INFO: Processing buffer {"connection_id":217012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:35:58] local.INFO: IMEI packet received {"connection_id":217012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":217012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:35:58] local.INFO: TCP Data received {"connection_id":220299,"ip":"117.224.23.215","data_length":795,"data_hex":"000000000000030f8e0a000001a145e15e00012cf57d80070fd2b0001600992f..."} 
[2026-10-16 23:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e15e00012cf57d80070fd2b0001600992f..."} 
[2026-10-16 23:35:58] local.INFO: Processing buffer {"connection_id":220299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e15e00012cf57d80070fd2b0001600992f..."} 
[2026-10-16 23:35:58] local.INFO: Packet analysis {"connection_id":220299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:35:58] local.INFO: Extracted packet for processing {"connection_id":220299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e1"} 
[2026-10-16 23:35:58] local.INFO: GPS Element Parsed {"raw_longitude":754285952,"raw_latitude":118477488,"longitude_deg":75.4285952,"latitude_deg":11.8477488,"altitude":22,"angle":153,"satellites":47,"speed":46,"hex_longitude":"2cf57d80","hex_latitude":"070fd2b0","is_valid_coordinates":true} 
[2026-10-16 23:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796477696001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13211598575370240,"note":"Value kept but may cause issues"} 
[2026-10-16 23:35:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-771241405853564928,"note":"Value kept but may cause issues"} 
[2026-10-16 23:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1792173760000,"timestamp_ms":1792173760000,"timestamp_seconds":1792173760,"priority":1,"record_length":96,"hex_timestamp":"000001a145e15e00"} 
[2026-10-16 23:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-10-16 23:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":220299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":220299,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":220299,"device_imei":"862567071632322","avl_records_count":1} 
[2026-10-16 23:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.23.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-10-16 23:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-10-16 23:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796477696001,"66":27365,"36":206,"2":54272,"24":46,"16":13211598575370240,"44":-771241405853564928},"client_ip":"117.224.23.215","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-10-16 23:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-10-16 23:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-10-16 23:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796477696001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:35:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-10-16 23:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13211598575370240,"km_value":13211598575370.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:35:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-771241405853564928,"description":"Unknown IO ID 44"} 
[2026-10-16 23:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796477696001,"power":27365,"unknown_36":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-771241405853564928}} 
[2026-10-16 23:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":220299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:35:58] local.INFO: GPS data processed {"connection_id":220299,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:35:58] local.INFO: Acknowledgment sent {"connection_id":220299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:36:03] local.INFO: TCP Data received {"connection_id":217012,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:36:03] local.INFO: Processing buffer {"connection_id":217012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:36:03] local.INFO: IMEI packet received {"connection_id":217012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":217012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:36:04] local.INFO: TCP Data received {"connection_id":217012,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e361a0012d6cd78006111db00009012a2a..."} 
[2026-10-16 23:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e361a0012d6cd78006111db00009012a2a..."} 
[2026-10-16 23:36:04] local.INFO: Processing buffer {"connection_id":217012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e361a0012d6cd78006111db00009012a2a..."} 
[2026-10-16 23:36:04] local.INFO: Packet analysis {"connection_id":217012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:36:04] local.INFO: Extracted packet for processing {"connection_id":217012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:36:04] local.INFO: GPS Element Parsed {"raw_longitude":762107776,"raw_latitude":101785008,"longitude_deg":76.2107776,"latitude_deg":10.1785008,"altitude":9,"angle":298,"satellites":42,"speed":14,"hex_longitude":"2d6cd780","hex_latitude":"06111db0","is_valid_coordinates":true} 
[2026-10-16 23:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796515584001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15560000793477120,"note":"Value kept but may cause issues"} 
[2026-10-16 23:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7843652095820126208,"note":"Value kept but may cause issues"} 
[2026-10-16 23:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792173892000,"timestamp_ms":1792173892000,"timestamp_seconds":1792173892,"priority":1,"record_length":96,"hex_timestamp":"000001a145e361a0"} 
[2026-10-16 23:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:36: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-10-16 23:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 23:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":217012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":217012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":217012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796515584001,"66":27463,"207":206,"79":46336,"24":14,"16":15560000793477120,"45":7843652095820126208},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-10-16 23:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796515584001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:36:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-16 23:36:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15560000793477120,"km_value":15560000793477.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7843652095820126208,"description":"Unknown IO ID 45"} 
[2026-10-16 23:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796515584001,"power":27463,"unknown_207":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7843652095820126208}} 
[2026-10-16 23:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":217012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:36:04] local.INFO: GPS data processed {"connection_id":217012,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:36:04] local.INFO: Acknowledgment sent {"connection_id":217012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:36:35] local.INFO: TCP Data received {"connection_id":217012,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e36970012d6cd48006111ec80009011829..."} 
[2026-10-16 23:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e36970012d6cd48006111ec80009011829..."} 
[2026-10-16 23:36:35] local.INFO: Processing buffer {"connection_id":217012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e36970012d6cd48006111ec80009011829..."} 
[2026-10-16 23:36:35] local.INFO: Packet analysis {"connection_id":217012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:36:35] local.INFO: Extracted packet for processing {"connection_id":217012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:36:35] local.INFO: GPS Element Parsed {"raw_longitude":762107008,"raw_latitude":101785288,"longitude_deg":76.2107008,"latitude_deg":10.1785288,"altitude":9,"angle":280,"satellites":41,"speed":15,"hex_longitude":"2d6cd480","hex_latitude":"06111ec8","is_valid_coordinates":true} 
[2026-10-16 23:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796516352001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15560039448182784,"note":"Value kept but may cause issues"} 
[2026-10-16 23:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7842878039634325504,"note":"Value kept but may cause issues"} 
[2026-10-16 23:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792173894000,"timestamp_ms":1792173894000,"timestamp_seconds":1792173894,"priority":1,"record_length":96,"hex_timestamp":"000001a145e36970"} 
[2026-10-16 23:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":217012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":217012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":217012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796516352001,"66":27376,"207":206,"79":46336,"24":15,"16":15560039448182784,"45":7842878039634325504},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-10-16 23:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796516352001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:36:35] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-10-16 23:36:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15560039448182784,"km_value":15560039448182.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7842878039634325504,"description":"Unknown IO ID 45"} 
[2026-10-16 23:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796516352001,"power":27376,"unknown_207":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7842878039634325504}} 
[2026-10-16 23:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":217012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:36:35] local.INFO: GPS data processed {"connection_id":217012,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:36:35] local.INFO: Acknowledgment sent {"connection_id":217012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:37:02] local.INFO: TCP Data received {"connection_id":217230,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:37:02] local.INFO: Processing buffer {"connection_id":217230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:37:02] local.INFO: IMEI packet received {"connection_id":217230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":217230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:37:03] local.INFO: TCP Data received {"connection_id":217230,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:37:03] local.INFO: Processing buffer {"connection_id":217230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:37:03] local.INFO: IMEI packet received {"connection_id":217230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":217230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:37:08] local.INFO: TCP Data received {"connection_id":217230,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:37:08] local.INFO: Processing buffer {"connection_id":217230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:37:08] local.INFO: IMEI packet received {"connection_id":217230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":217230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:37:13] local.INFO: TCP Data received {"connection_id":217230,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e380e0012d6ccb00061120200009010c2b..."} 
[2026-10-16 23:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e380e0012d6ccb00061120200009010c2b..."} 
[2026-10-16 23:37:13] local.INFO: Processing buffer {"connection_id":217230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e380e0012d6ccb00061120200009010c2b..."} 
[2026-10-16 23:37:13] local.INFO: Packet analysis {"connection_id":217230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:37:13] local.INFO: Extracted packet for processing {"connection_id":217230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:37:13] local.INFO: GPS Element Parsed {"raw_longitude":762104576,"raw_latitude":101785632,"longitude_deg":76.2104576,"latitude_deg":10.1785632,"altitude":9,"angle":268,"satellites":43,"speed":13,"hex_longitude":"2d6ccb00","hex_latitude":"06112020","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796516864001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15560159707267072,"note":"Value kept but may cause issues"} 
[2026-10-16 23:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7842033614704265216,"note":"Value kept but may cause issues"} 
[2026-10-16 23:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792173900000,"timestamp_ms":1792173900000,"timestamp_seconds":1792173900,"priority":1,"record_length":96,"hex_timestamp":"000001a145e380e0"} 
[2026-10-16 23:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:37: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-10-16 23:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:37: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-10-16 23: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-10-16 23:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":217230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":217230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":217230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796516864001,"66":27397,"193":206,"79":46336,"24":13,"16":15560159707267072,"45":7842033614704265216},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-10-16 23:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796516864001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:37:13] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-10-16 23:37:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15560159707267072,"km_value":15560159707267.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7842033614704265216,"description":"Unknown IO ID 45"} 
[2026-10-16 23:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796516864001,"power":27397,"unknown_193":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":7842033614704265216}} 
[2026-10-16 23:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":217230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:37:13] local.INFO: GPS data processed {"connection_id":217230,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:37:13] local.INFO: Acknowledgment sent {"connection_id":217230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:37:17] local.INFO: TCP Data received {"connection_id":217230,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e3bf60012d6ca74006111ea8000701132a..."} 
[2026-10-16 23:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e3bf60012d6ca74006111ea8000701132a..."} 
[2026-10-16 23:37:17] local.INFO: Processing buffer {"connection_id":217230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e3bf60012d6ca74006111ea8000701132a..."} 
[2026-10-16 23:37:17] local.INFO: Packet analysis {"connection_id":217230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:37:17] local.INFO: Extracted packet for processing {"connection_id":217230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":762095424,"raw_latitude":101785256,"longitude_deg":76.2095424,"latitude_deg":10.1785256,"altitude":7,"angle":275,"satellites":42,"speed":30,"hex_longitude":"2d6ca740","hex_latitude":"06111ea8","is_valid_coordinates":true} 
[2026-10-16 23:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796518400001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15560597793931264,"note":"Value kept but may cause issues"} 
[2026-10-16 23:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7839359602425602048,"note":"Value kept but may cause issues"} 
[2026-10-16 23:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1792173916000,"timestamp_ms":1792173916000,"timestamp_seconds":1792173916,"priority":1,"record_length":96,"hex_timestamp":"000001a145e3bf60"} 
[2026-10-16 23:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:37: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-10-16 23:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:37:17] 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-10-16 23:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":217230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":217230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":217230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796518400001,"66":27463,"193":206,"79":46336,"24":30,"16":15560597793931264,"45":7839359602425602048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-10-16 23:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796518400001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:37:17] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-10-16 23:37:17] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15560597793931264,"km_value":15560597793931.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":7839359602425602048,"description":"Unknown IO ID 45"} 
[2026-10-16 23:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796518400001,"power":27463,"unknown_193":206,"unknown_79":46336,"ignition":30,"odometer":null,"unknown_45":7839359602425602048}} 
[2026-10-16 23:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":217230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:37:17] local.INFO: GPS data processed {"connection_id":217230,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:37:17] local.INFO: Acknowledgment sent {"connection_id":217230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:38:00] local.INFO: TCP Data received {"connection_id":217013,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:38:00] local.INFO: Processing buffer {"connection_id":217013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:38:00] local.INFO: IMEI packet received {"connection_id":217013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":217013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:38:02] local.INFO: TCP Data received {"connection_id":217013,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:38:02] local.INFO: Processing buffer {"connection_id":217013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:38:02] local.INFO: IMEI packet received {"connection_id":217013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":217013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:38:03] local.INFO: TCP Data received {"connection_id":217013,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e3ee40012d6c83c0061124c00007011727..."} 
[2026-10-16 23:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e3ee40012d6c83c0061124c00007011727..."} 
[2026-10-16 23:38:03] local.INFO: Processing buffer {"connection_id":217013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e3ee40012d6c83c0061124c00007011727..."} 
[2026-10-16 23:38:03] local.INFO: Packet analysis {"connection_id":217013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:38:03] local.INFO: Extracted packet for processing {"connection_id":217013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e3"} 
[2026-10-16 23:38:03] local.INFO: GPS Element Parsed {"raw_longitude":762086336,"raw_latitude":101786816,"longitude_deg":76.2086336,"latitude_deg":10.1786816,"altitude":7,"angle":279,"satellites":39,"speed":29,"hex_longitude":"2d6c83c0","hex_latitude":"061124c0","is_valid_coordinates":true} 
[2026-10-16 23:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796522496001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15561035880595456,"note":"Value kept but may cause issues"} 
[2026-10-16 23:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7829296872008099840,"note":"Value kept but may cause issues"} 
[2026-10-16 23:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792173928000,"timestamp_ms":1792173928000,"timestamp_seconds":1792173928,"priority":1,"record_length":96,"hex_timestamp":"000001a145e3ee40"} 
[2026-10-16 23:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:38: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-10-16 23:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796522496001,"66":27213,"193":206,"79":46336,"24":29,"16":15561035880595456,"45":7829296872008099840},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-10-16 23:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796522496001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:38:03] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-10-16 23:38:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15561035880595456,"km_value":15561035880595.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7829296872008099840,"description":"Unknown IO ID 45"} 
[2026-10-16 23:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796522496001,"power":27213,"unknown_193":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7829296872008099840}} 
[2026-10-16 23:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":217013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:38:03] local.INFO: GPS data processed {"connection_id":217013,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:38:03] local.INFO: Acknowledgment sent {"connection_id":217013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:38:27] local.INFO: TCP Data received {"connection_id":217013,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e41168012d6c6a0006112a600006012928..."} 
[2026-10-16 23:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e41168012d6c6a0006112a600006012928..."} 
[2026-10-16 23:38:27] local.INFO: Processing buffer {"connection_id":217013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e41168012d6c6a0006112a600006012928..."} 
[2026-10-16 23:38:27] local.INFO: Packet analysis {"connection_id":217013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e4"} 
[2026-10-16 23:38:27] local.INFO: Extracted packet for processing {"connection_id":217013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e4"} 
[2026-10-16 23:38:27] local.INFO: GPS Element Parsed {"raw_longitude":762079744,"raw_latitude":101788256,"longitude_deg":76.2079744,"latitude_deg":10.1788256,"altitude":6,"angle":297,"satellites":40,"speed":28,"hex_longitude":"2d6c6a00","hex_latitude":"06112a60","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796525568001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15561358003142656,"note":"Value kept but may cause issues"} 
[2026-10-16 23:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7819304510335270912,"note":"Value kept but may cause issues"} 
[2026-10-16 23:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1792173937000,"timestamp_ms":1792173937000,"timestamp_seconds":1792173937,"priority":1,"record_length":96,"hex_timestamp":"000001a145e41168"} 
[2026-10-16 23:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:38: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-10-16 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-10-16 23:38: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-10-16 23: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-10-16 23:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":217013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":217013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":217013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796525568001,"66":27484,"193":206,"79":46336,"24":28,"16":15561358003142656,"45":7819304510335270912},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-10-16 23:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796525568001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:38:27] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-10-16 23:38:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15561358003142656,"km_value":15561358003142.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7819304510335270912,"description":"Unknown IO ID 45"} 
[2026-10-16 23:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796525568001,"power":27484,"unknown_193":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":7819304510335270912}} 
[2026-10-16 23:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":217013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:38:27] local.INFO: GPS data processed {"connection_id":217013,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:38:27] local.INFO: Acknowledgment sent {"connection_id":217013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:39:00] local.INFO: TCP Data received {"connection_id":220300,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:00] local.INFO: Processing buffer {"connection_id":220300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:00] local.INFO: IMEI packet received {"connection_id":220300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":220300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:39:00] local.INFO: TCP Data received {"connection_id":220300,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:00] local.INFO: Processing buffer {"connection_id":220300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:00] local.INFO: IMEI packet received {"connection_id":220300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":220300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:39:01] local.INFO: TCP Data received {"connection_id":220300,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e60950012d6bebc00611a378000900ef28..."} 
[2026-10-16 23:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e60950012d6bebc00611a378000900ef28..."} 
[2026-10-16 23:39:01] local.INFO: Processing buffer {"connection_id":220300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e60950012d6bebc00611a378000900ef28..."} 
[2026-10-16 23:39:01] local.INFO: Packet analysis {"connection_id":220300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e6"} 
[2026-10-16 23:39:01] local.INFO: Extracted packet for processing {"connection_id":220300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e6"} 
[2026-10-16 23:39:01] local.INFO: GPS Element Parsed {"raw_longitude":762047424,"raw_latitude":101819256,"longitude_deg":76.2047424,"latitude_deg":10.1819256,"altitude":9,"angle":239,"satellites":40,"speed":16,"hex_longitude":"2d6bebc0","hex_latitude":"0611a378","is_valid_coordinates":true} 
[2026-10-16 23:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796560640001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15563612860973056,"note":"Value kept but may cause issues"} 
[2026-10-16 23:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7776942526348654592,"note":"Value kept but may cause issues"} 
[2026-10-16 23:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1792174066000,"timestamp_ms":1792174066000,"timestamp_seconds":1792174066,"priority":1,"record_length":96,"hex_timestamp":"000001a145e60950"} 
[2026-10-16 23:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:39: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-10-16 23:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":220300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":220300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":220300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796560640001,"66":27376,"138":206,"79":46336,"24":16,"16":15563612860973056,"45":7776942526348654592},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-10-16 23:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796560640001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:39:01] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 23:39:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15563612860973056,"km_value":15563612860973.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7776942526348654592,"description":"Unknown IO ID 45"} 
[2026-10-16 23:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796560640001,"power":27376,"unknown_138":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7776942526348654592}} 
[2026-10-16 23:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":220300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:39:01] local.INFO: GPS data processed {"connection_id":220300,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:39:01] local.INFO: Acknowledgment sent {"connection_id":220300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:39:03] local.INFO: TCP Data received {"connection_id":220300,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e647d0012d6bd58006119450000b00fc2a..."} 
[2026-10-16 23:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e647d0012d6bd58006119450000b00fc2a..."} 
[2026-10-16 23:39:03] local.INFO: Processing buffer {"connection_id":220300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e647d0012d6bd58006119450000b00fc2a..."} 
[2026-10-16 23:39:03] local.INFO: Packet analysis {"connection_id":220300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e6"} 
[2026-10-16 23:39:03] local.INFO: Extracted packet for processing {"connection_id":220300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e6"} 
[2026-10-16 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":762041728,"raw_latitude":101815376,"longitude_deg":76.2041728,"latitude_deg":10.1815376,"altitude":11,"angle":252,"satellites":42,"speed":15,"hex_longitude":"2d6bd580","hex_latitude":"06119450","is_valid_coordinates":true} 
[2026-10-16 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796560896001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15563943573454848,"note":"Value kept but may cause issues"} 
[2026-10-16 23:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7776520313883555840,"note":"Value kept but may cause issues"} 
[2026-10-16 23:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792174082000,"timestamp_ms":1792174082000,"timestamp_seconds":1792174082,"priority":1,"record_length":96,"hex_timestamp":"000001a145e647d0"} 
[2026-10-16 23:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:39: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-10-16 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":220300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":220300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":220300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796560896001,"66":27463,"138":206,"79":46336,"24":15,"16":15563943573454848,"45":7776520313883555840},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-10-16 23:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796560896001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:39:03] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 23:39:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15563943573454848,"km_value":15563943573454.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7776520313883555840,"description":"Unknown IO ID 45"} 
[2026-10-16 23:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796560896001,"power":27463,"unknown_138":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7776520313883555840}} 
[2026-10-16 23:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":220300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:39:03] local.INFO: GPS data processed {"connection_id":220300,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:39:03] local.INFO: Acknowledgment sent {"connection_id":220300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:39:34] local.INFO: TCP Data received {"connection_id":220300,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e65388012d6bd0c0061193b0000b010e2a..."} 
[2026-10-16 23:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e65388012d6bd0c0061193b0000b010e2a..."} 
[2026-10-16 23:39:34] local.INFO: Processing buffer {"connection_id":220300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e65388012d6bd0c0061193b0000b010e2a..."} 
[2026-10-16 23:39:34] local.INFO: Packet analysis {"connection_id":220300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e6"} 
[2026-10-16 23:39:34] local.INFO: Extracted packet for processing {"connection_id":220300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e6"} 
[2026-10-16 23:39:34] local.INFO: GPS Element Parsed {"raw_longitude":762040512,"raw_latitude":101815216,"longitude_deg":76.2040512,"latitude_deg":10.1815216,"altitude":11,"angle":270,"satellites":42,"speed":16,"hex_longitude":"2d6bd0c0","hex_latitude":"061193b0","is_valid_coordinates":true} 
[2026-10-16 23:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796564992001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15564003702996992,"note":"Value kept but may cause issues"} 
[2026-10-16 23:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7770257495650750464,"note":"Value kept but may cause issues"} 
[2026-10-16 23:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792174085000,"timestamp_ms":1792174085000,"timestamp_seconds":1792174085,"priority":1,"record_length":96,"hex_timestamp":"000001a145e65388"} 
[2026-10-16 23:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:39: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-10-16 23:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:39:34] 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-10-16 23:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":220300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":220300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":220300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796564992001,"66":27397,"138":206,"79":46336,"24":16,"16":15564003702996992,"45":7770257495650750464},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-10-16 23:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796564992001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:39:34] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 23:39:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15564003702996992,"km_value":15564003702996.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7770257495650750464,"description":"Unknown IO ID 45"} 
[2026-10-16 23:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796564992001,"power":27397,"unknown_138":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7770257495650750464}} 
[2026-10-16 23:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":220300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:39:34] local.INFO: GPS data processed {"connection_id":220300,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:39:34] local.INFO: Acknowledgment sent {"connection_id":220300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:39:58] local.INFO: TCP Data received {"connection_id":217014,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:58] local.INFO: Processing buffer {"connection_id":217014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:58] local.INFO: IMEI packet received {"connection_id":217014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":217014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:39:59] local.INFO: TCP Data received {"connection_id":217014,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:59] local.INFO: Processing buffer {"connection_id":217014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:39:59] local.INFO: IMEI packet received {"connection_id":217014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":217014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:40:02] local.INFO: TCP Data received {"connection_id":217014,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:40:02] local.INFO: Processing buffer {"connection_id":217014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:40:02] local.INFO: IMEI packet received {"connection_id":217014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":217014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:40:03] local.INFO: TCP Data received {"connection_id":217014,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e65770012d6bcec0061193f0000b01192a..."} 
[2026-10-16 23:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e65770012d6bcec0061193f0000b01192a..."} 
[2026-10-16 23:40:03] local.INFO: Processing buffer {"connection_id":217014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e65770012d6bcec0061193f0000b01192a..."} 
[2026-10-16 23:40:03] local.INFO: Packet analysis {"connection_id":217014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e6"} 
[2026-10-16 23:40:03] local.INFO: Extracted packet for processing {"connection_id":217014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e6"} 
[2026-10-16 23:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762040000,"raw_latitude":101815280,"longitude_deg":76.204,"latitude_deg":10.181528,"altitude":11,"angle":281,"satellites":42,"speed":16,"hex_longitude":"2d6bcec0","hex_latitude":"061193f0","is_valid_coordinates":true} 
[2026-10-16 23:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796565760001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15564025177833472,"note":"Value kept but may cause issues"} 
[2026-10-16 23:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7768920489511333888,"note":"Value kept but may cause issues"} 
[2026-10-16 23:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792174086000,"timestamp_ms":1792174086000,"timestamp_seconds":1792174086,"priority":1,"record_length":96,"hex_timestamp":"000001a145e65770"} 
[2026-10-16 23:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796565760001,"66":27397,"138":206,"79":46336,"24":16,"16":15564025177833472,"45":7768920489511333888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-10-16 23:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796565760001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:40:03] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 23:40:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15564025177833472,"km_value":15564025177833.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7768920489511333888,"description":"Unknown IO ID 45"} 
[2026-10-16 23:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796565760001,"power":27397,"unknown_138":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7768920489511333888}} 
[2026-10-16 23:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":217014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:40:03] local.INFO: GPS data processed {"connection_id":217014,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:40:03] local.INFO: Acknowledgment sent {"connection_id":217014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:40:03] local.INFO: TCP Data received {"connection_id":217014,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e65b58012d6bcdc006119490000a012f2a..."} 
[2026-10-16 23:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e65b58012d6bcdc006119490000a012f2a..."} 
[2026-10-16 23:40:03] local.INFO: Processing buffer {"connection_id":217014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e65b58012d6bcdc006119490000a012f2a..."} 
[2026-10-16 23:40:03] local.INFO: Packet analysis {"connection_id":217014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e6"} 
[2026-10-16 23:40:03] local.INFO: Extracted packet for processing {"connection_id":217014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e6"} 
[2026-10-16 23:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762039744,"raw_latitude":101815440,"longitude_deg":76.2039744,"latitude_deg":10.181544,"altitude":10,"angle":303,"satellites":42,"speed":15,"hex_longitude":"2d6bcdc0","hex_latitude":"06119490","is_valid_coordinates":true} 
[2026-10-16 23:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796566016001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15564042357702656,"note":"Value kept but may cause issues"} 
[2026-10-16 23:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7768357539557928960,"note":"Value kept but may cause issues"} 
[2026-10-16 23:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1792174087000,"timestamp_ms":1792174087000,"timestamp_seconds":1792174087,"priority":1,"record_length":96,"hex_timestamp":"000001a145e65b58"} 
[2026-10-16 23:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":217014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":217014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":217014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796566016001,"66":27463,"138":206,"79":46336,"24":15,"16":15564042357702656,"45":7768357539557928960},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-10-16 23:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796566016001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:40:03] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-10-16 23:40:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15564042357702656,"km_value":15564042357702.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7768357539557928960,"description":"Unknown IO ID 45"} 
[2026-10-16 23:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796566016001,"power":27463,"unknown_138":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7768357539557928960}} 
[2026-10-16 23:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":217014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:40:03] local.INFO: GPS data processed {"connection_id":217014,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:40:03] local.INFO: Acknowledgment sent {"connection_id":217014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:40:04] local.INFO: TCP Data received {"connection_id":220301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:40:04] local.INFO: Processing buffer {"connection_id":220301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:40:04] local.INFO: IMEI packet received {"connection_id":220301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":220301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:40:34] local.INFO: TCP Data received {"connection_id":217014,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e7ab48012d6b7a0006129958000a01542b..."} 
[2026-10-16 23:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e7ab48012d6b7a0006129958000a01542b..."} 
[2026-10-16 23:40:34] local.INFO: Processing buffer {"connection_id":217014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e7ab48012d6b7a0006129958000a01542b..."} 
[2026-10-16 23:40:34] local.INFO: Packet analysis {"connection_id":217014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e7"} 
[2026-10-16 23:40:34] local.INFO: Extracted packet for processing {"connection_id":217014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e7"} 
[2026-10-16 23:40:34] local.INFO: GPS Element Parsed {"raw_longitude":762018304,"raw_latitude":101882200,"longitude_deg":76.2018304,"latitude_deg":10.18822,"altitude":10,"angle":340,"satellites":43,"speed":22,"hex_longitude":"2d6b7a00","hex_latitude":"06129958","is_valid_coordinates":true} 
[2026-10-16 23:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796587520001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15567465446637568,"note":"Value kept but may cause issues"} 
[2026-10-16 23:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744713641530970112,"note":"Value kept but may cause issues"} 
[2026-10-16 23:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1792174173000,"timestamp_ms":1792174173000,"timestamp_seconds":1792174173,"priority":1,"record_length":96,"hex_timestamp":"000001a145e7ab48"} 
[2026-10-16 23:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:40: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-10-16 23:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 23:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":217014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":217014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":217014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796587520001,"66":27571,"137":206,"79":46336,"24":22,"16":15567465446637568,"45":7744713641530970112},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-10-16 23:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796587520001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:40:34] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 23:40:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15567465446637568,"km_value":15567465446637.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744713641530970112,"description":"Unknown IO ID 45"} 
[2026-10-16 23:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796587520001,"power":27571,"unknown_137":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7744713641530970112}} 
[2026-10-16 23:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":217014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:40:34] local.INFO: GPS data processed {"connection_id":217014,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:40:34] local.INFO: Acknowledgment sent {"connection_id":217014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:40:58] local.INFO: TCP Data received {"connection_id":217016,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:40:58] local.INFO: Processing buffer {"connection_id":217016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:40:58] local.INFO: IMEI packet received {"connection_id":217016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":217016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:40:58] local.INFO: TCP Data received {"connection_id":217016,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:40:58] local.INFO: Processing buffer {"connection_id":217016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:40:58] local.INFO: IMEI packet received {"connection_id":217016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":217016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:41:03] local.INFO: TCP Data received {"connection_id":217016,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:41:03] local.INFO: Processing buffer {"connection_id":217016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:41:03] local.INFO: IMEI packet received {"connection_id":217016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":217016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:41:04] local.INFO: TCP Data received {"connection_id":217016,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a145e7b318012d6b780006129ce0000901482b..."} 
[2026-10-16 23:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145e7b318012d6b780006129ce0000901482b..."} 
[2026-10-16 23:41:04] local.INFO: Processing buffer {"connection_id":217016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145e7b318012d6b780006129ce0000901482b..."} 
[2026-10-16 23:41:04] local.INFO: Packet analysis {"connection_id":217016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145e7"} 
[2026-10-16 23:41:04] local.INFO: Extracted packet for processing {"connection_id":217016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145e7"} 
[2026-10-16 23:41:04] local.INFO: GPS Element Parsed {"raw_longitude":762017792,"raw_latitude":101883104,"longitude_deg":76.2017792,"latitude_deg":10.1883104,"altitude":9,"angle":328,"satellites":43,"speed":16,"hex_longitude":"2d6b7800","hex_latitude":"06129ce0","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796588288001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15567516986245120,"note":"Value kept but may cause issues"} 
[2026-10-16 23:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744502535298832384,"note":"Value kept but may cause issues"} 
[2026-10-16 23:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792174175000,"timestamp_ms":1792174175000,"timestamp_seconds":1792174175,"priority":1,"record_length":96,"hex_timestamp":"000001a145e7b318"} 
[2026-10-16 23:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:41: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-10-16 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 23:41:04] 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-10-16 23: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-10-16 23:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":217016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":217016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":217016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796588288001,"66":27604,"137":206,"79":46336,"24":16,"16":15567516986245120,"45":7744502535298832384},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-10-16 23:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796588288001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:41:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-10-16 23:41:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-10-16 23:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15567516986245120,"km_value":15567516986245.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744502535298832384,"description":"Unknown IO ID 45"} 
[2026-10-16 23:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796588288001,"power":27604,"unknown_137":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7744502535298832384}} 
[2026-10-16 23:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":217016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:41:04] local.INFO: GPS data processed {"connection_id":217016,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:41:04] local.INFO: Acknowledgment sent {"connection_id":217016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:45:24] local.INFO: TCP Data received {"connection_id":218572,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:45:24] local.INFO: Processing buffer {"connection_id":218572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:45:24] local.INFO: IMEI packet received {"connection_id":218572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":218572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:45:55] local.INFO: TCP Data received {"connection_id":217019,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:45:55] local.INFO: Processing buffer {"connection_id":217019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:45:55] local.INFO: IMEI packet received {"connection_id":217019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":217019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:46:02] local.INFO: TCP Data received {"connection_id":218573,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:46:02] local.INFO: Processing buffer {"connection_id":218573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:46:02] local.INFO: IMEI packet received {"connection_id":218573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":218573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:51:08] local.INFO: TCP Data received {"connection_id":217236,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:51:08] local.INFO: Processing buffer {"connection_id":217236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:51:08] local.INFO: IMEI packet received {"connection_id":217236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":217236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:51:10] local.INFO: TCP Data received {"connection_id":217236,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f04e38012d6a7f800618b438000a01602c..."} 
[2026-10-16 23:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f04e38012d6a7f800618b438000a01602c..."} 
[2026-10-16 23:51:10] local.INFO: Processing buffer {"connection_id":217236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f04e38012d6a7f800618b438000a01602c..."} 
[2026-10-16 23:51:10] local.INFO: Packet analysis {"connection_id":217236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f0"} 
[2026-10-16 23:51:10] local.INFO: Extracted packet for processing {"connection_id":217236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f0"} 
[2026-10-16 23:51:10] local.INFO: GPS Element Parsed {"raw_longitude":761954176,"raw_latitude":102282296,"longitude_deg":76.1954176,"latitude_deg":10.2282296,"altitude":10,"angle":352,"satellites":44,"speed":33,"hex_longitude":"2d6a7f80","hex_latitude":"0618b438","is_valid_coordinates":true} 
[2026-10-16 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-10-16 23:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796730112001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15587308195545088,"note":"Value kept but may cause issues"} 
[2026-10-16 23:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7675611534849013760,"note":"Value kept but may cause issues"} 
[2026-10-16 23:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1792174739000,"timestamp_ms":1792174739000,"timestamp_seconds":1792174739,"priority":1,"record_length":96,"hex_timestamp":"000001a145f04e38"} 
[2026-10-16 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-10-16 23:51: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-10-16 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:51: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-10-16 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-10-16 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-10-16 23:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":217236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":217236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":217236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796730112001,"66":27332,"6":206,"19":40704,"24":33,"16":15587308195545088,"45":7675611534849013760},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-10-16 23:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796730112001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:51:10] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-16 23:51:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15587308195545088,"km_value":15587308195545.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7675611534849013760,"description":"Unknown IO ID 45"} 
[2026-10-16 23:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796730112001,"power":27332,"unknown_6":206,"unknown_19":40704,"ignition":33,"odometer":null,"unknown_45":7675611534849013760}} 
[2026-10-16 23:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":217236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:51:10] local.INFO: GPS data processed {"connection_id":217236,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:51:10] local.INFO: Acknowledgment sent {"connection_id":217236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:51:24] local.INFO: TCP Data received {"connection_id":218575,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:51:24] local.INFO: Processing buffer {"connection_id":218575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:51:24] local.INFO: IMEI packet received {"connection_id":218575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":218575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:51:42] local.INFO: TCP Data received {"connection_id":217236,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f07548012d6a7d000618d6c0000901642e..."} 
[2026-10-16 23:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f07548012d6a7d000618d6c0000901642e..."} 
[2026-10-16 23:51:42] local.INFO: Processing buffer {"connection_id":217236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f07548012d6a7d000618d6c0000901642e..."} 
[2026-10-16 23:51:42] local.INFO: Packet analysis {"connection_id":217236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f0"} 
[2026-10-16 23:51:42] local.INFO: Extracted packet for processing {"connection_id":217236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f0"} 
[2026-10-16 23:51:42] local.INFO: GPS Element Parsed {"raw_longitude":761953536,"raw_latitude":102291136,"longitude_deg":76.1953536,"latitude_deg":10.2291136,"altitude":9,"angle":356,"satellites":46,"speed":34,"hex_longitude":"2d6a7d00","hex_latitude":"0618d6c0","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796733184001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15587737692274688,"note":"Value kept but may cause issues"} 
[2026-10-16 23:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7673993053735237632,"note":"Value kept but may cause issues"} 
[2026-10-16 23:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1792174749000,"timestamp_ms":1792174749000,"timestamp_seconds":1792174749,"priority":1,"record_length":96,"hex_timestamp":"000001a145f07548"} 
[2026-10-16 23:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:51: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-10-16 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-10-16 23:51: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-10-16 23: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-10-16 23:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":217236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":217236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":217236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796733184001,"66":27343,"6":206,"19":40704,"24":34,"16":15587737692274688,"45":7673993053735237632},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-10-16 23:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796733184001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:51:42] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-16 23:51:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15587737692274688,"km_value":15587737692274.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7673993053735237632,"description":"Unknown IO ID 45"} 
[2026-10-16 23:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796733184001,"power":27343,"unknown_6":206,"unknown_19":40704,"ignition":34,"odometer":null,"unknown_45":7673993053735237632}} 
[2026-10-16 23:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":217236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:51:42] local.INFO: GPS data processed {"connection_id":217236,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:51:42] local.INFO: Acknowledgment sent {"connection_id":217236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:51:52] local.INFO: TCP Data received {"connection_id":217021,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:51:52] local.INFO: Processing buffer {"connection_id":217021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:51:52] local.INFO: IMEI packet received {"connection_id":217021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":217021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:51:58] local.INFO: TCP Data received {"connection_id":217237,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:51:58] local.INFO: Processing buffer {"connection_id":217237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:51:58] local.INFO: IMEI packet received {"connection_id":217237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":217237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:52:03] local.INFO: TCP Data received {"connection_id":217237,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:52:03] local.INFO: Processing buffer {"connection_id":217237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:52:03] local.INFO: IMEI packet received {"connection_id":217237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":217237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:52:06] local.INFO: TCP Data received {"connection_id":217237,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f0a040012d6a7a800618fb68000901632e..."} 
[2026-10-16 23:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f0a040012d6a7a800618fb68000901632e..."} 
[2026-10-16 23:52:06] local.INFO: Processing buffer {"connection_id":217237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f0a040012d6a7a800618fb68000901632e..."} 
[2026-10-16 23:52:06] local.INFO: Packet analysis {"connection_id":217237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f0"} 
[2026-10-16 23:52:06] local.INFO: Extracted packet for processing {"connection_id":217237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f0"} 
[2026-10-16 23:52:06] local.INFO: GPS Element Parsed {"raw_longitude":761952896,"raw_latitude":102300520,"longitude_deg":76.1952896,"latitude_deg":10.230052,"altitude":9,"angle":355,"satellites":46,"speed":34,"hex_longitude":"2d6a7a80","hex_latitude":"0618fb68","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796735744001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15588192958808064,"note":"Value kept but may cause issues"} 
[2026-10-16 23:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7673289366295724032,"note":"Value kept but may cause issues"} 
[2026-10-16 23:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792174760000,"timestamp_ms":1792174760000,"timestamp_seconds":1792174760,"priority":1,"record_length":96,"hex_timestamp":"000001a145f0a040"} 
[2026-10-16 23:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:52: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-10-16 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:52: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-10-16 23: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-10-16 23:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796735744001,"66":27343,"6":206,"19":40704,"24":34,"16":15588192958808064,"45":7673289366295724032},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-10-16 23:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796735744001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:52:06] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-10-16 23:52:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15588192958808064,"km_value":15588192958808.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7673289366295724032,"description":"Unknown IO ID 45"} 
[2026-10-16 23:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796735744001,"power":27343,"unknown_6":206,"unknown_19":40704,"ignition":34,"odometer":null,"unknown_45":7673289366295724032}} 
[2026-10-16 23:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":217237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:52:06] local.INFO: GPS data processed {"connection_id":217237,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:52:06] local.INFO: Acknowledgment sent {"connection_id":217237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:52:37] local.INFO: TCP Data received {"connection_id":217237,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f28888012d6a0f80061a63580007015128..."} 
[2026-10-16 23:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f28888012d6a0f80061a63580007015128..."} 
[2026-10-16 23:52:37] local.INFO: Processing buffer {"connection_id":217237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f28888012d6a0f80061a63580007015128..."} 
[2026-10-16 23:52:37] local.INFO: Packet analysis {"connection_id":217237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f2"} 
[2026-10-16 23:52:37] local.INFO: Extracted packet for processing {"connection_id":217237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f2"} 
[2026-10-16 23:52:37] local.INFO: GPS Element Parsed {"raw_longitude":761925504,"raw_latitude":102392664,"longitude_deg":76.1925504,"latitude_deg":10.2392664,"altitude":7,"angle":337,"satellites":40,"speed":26,"hex_longitude":"2d6a0f80","hex_latitude":"061a6358","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796766720001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15592878768128000,"note":"Value kept but may cause issues"} 
[2026-10-16 23:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7646901087252932608,"note":"Value kept but may cause issues"} 
[2026-10-16 23:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792174885000,"timestamp_ms":1792174885000,"timestamp_seconds":1792174885,"priority":1,"record_length":96,"hex_timestamp":"000001a145f28888"} 
[2026-10-16 23:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23: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-10-16 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-10-16 23:52: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-10-16 23: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-10-16 23:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":217237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":217237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":217237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796766720001,"66":27397,"5":206,"19":40704,"24":26,"16":15592878768128000,"45":7646901087252932608},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-10-16 23:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796766720001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:52:37] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-16 23:52:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15592878768128000,"km_value":15592878768128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7646901087252932608,"description":"Unknown IO ID 45"} 
[2026-10-16 23:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796766720001,"power":27397,"unknown_5":206,"unknown_19":40704,"ignition":26,"odometer":null,"unknown_45":7646901087252932608}} 
[2026-10-16 23:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":217237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:52:37] local.INFO: GPS data processed {"connection_id":217237,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:52:37] local.INFO: Acknowledgment sent {"connection_id":217237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:52:57] local.INFO: TCP Data received {"connection_id":217023,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:52:57] local.INFO: Processing buffer {"connection_id":217023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:52:57] local.INFO: IMEI packet received {"connection_id":217023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":217023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:53:03] local.INFO: TCP Data received {"connection_id":217023,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:53:03] local.INFO: Processing buffer {"connection_id":217023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:53:03] local.INFO: IMEI packet received {"connection_id":217023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":217023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:53:05] local.INFO: TCP Data received {"connection_id":217023,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f2b768012d6a0280061a8448000c015528..."} 
[2026-10-16 23:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f2b768012d6a0280061a8448000c015528..."} 
[2026-10-16 23:53:05] local.INFO: Processing buffer {"connection_id":217023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f2b768012d6a0280061a8448000c015528..."} 
[2026-10-16 23:53:05] local.INFO: Packet analysis {"connection_id":217023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f2"} 
[2026-10-16 23:53:05] local.INFO: Extracted packet for processing {"connection_id":217023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f2"} 
[2026-10-16 23:53:05] local.INFO: GPS Element Parsed {"raw_longitude":761922176,"raw_latitude":102401096,"longitude_deg":76.1922176,"latitude_deg":10.2401096,"altitude":12,"angle":341,"satellites":40,"speed":31,"hex_longitude":"2d6a0280","hex_latitude":"061a8448","is_valid_coordinates":true} 
[2026-10-16 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-10-16 23:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796770560001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15593316854792192,"note":"Value kept but may cause issues"} 
[2026-10-16 23:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7642467856371898368,"note":"Value kept but may cause issues"} 
[2026-10-16 23:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792174897000,"timestamp_ms":1792174897000,"timestamp_seconds":1792174897,"priority":1,"record_length":96,"hex_timestamp":"000001a145f2b768"} 
[2026-10-16 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-10-16 23:53: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-10-16 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:53:05] 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-10-16 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-10-16 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-10-16 23:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796770560001,"66":27463,"5":206,"19":40704,"24":31,"16":15593316854792192,"45":7642467856371898368},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-10-16 23:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796770560001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:53:05] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-16 23:53:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15593316854792192,"km_value":15593316854792.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7642467856371898368,"description":"Unknown IO ID 45"} 
[2026-10-16 23:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796770560001,"power":27463,"unknown_5":206,"unknown_19":40704,"ignition":31,"odometer":null,"unknown_45":7642467856371898368}} 
[2026-10-16 23:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":217023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:53:05] local.INFO: GPS data processed {"connection_id":217023,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:53:05] local.INFO: Acknowledgment sent {"connection_id":217023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:53:38] local.INFO: TCP Data received {"connection_id":217023,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f2ea30012d69f500061aa6c80010015126..."} 
[2026-10-16 23:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f2ea30012d69f500061aa6c80010015126..."} 
[2026-10-16 23:53:38] local.INFO: Processing buffer {"connection_id":217023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f2ea30012d69f500061aa6c80010015126..."} 
[2026-10-16 23:53:38] local.INFO: Packet analysis {"connection_id":217023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f2"} 
[2026-10-16 23:53:38] local.INFO: Extracted packet for processing {"connection_id":217023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f2"} 
[2026-10-16 23:53:38] local.INFO: GPS Element Parsed {"raw_longitude":761918720,"raw_latitude":102409928,"longitude_deg":76.191872,"latitude_deg":10.2409928,"altitude":16,"angle":337,"satellites":38,"speed":26,"hex_longitude":"2d69f500","hex_latitude":"061aa6c8","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796773632001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15593776416292864,"note":"Value kept but may cause issues"} 
[2026-10-16 23:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7638808681676818432,"note":"Value kept but may cause issues"} 
[2026-10-16 23:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792174910000,"timestamp_ms":1792174910000,"timestamp_seconds":1792174910,"priority":1,"record_length":96,"hex_timestamp":"000001a145f2ea30"} 
[2026-10-16 23:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23: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":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:53: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-10-16 23: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-10-16 23:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796773632001,"66":27343,"5":206,"19":40704,"24":26,"16":15593776416292864,"45":7638808681676818432},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-10-16 23:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796773632001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:53:38] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-10-16 23:53:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15593776416292864,"km_value":15593776416292.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7638808681676818432,"description":"Unknown IO ID 45"} 
[2026-10-16 23:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796773632001,"power":27343,"unknown_5":206,"unknown_19":40704,"ignition":26,"odometer":null,"unknown_45":7638808681676818432}} 
[2026-10-16 23:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":217023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:53:38] local.INFO: GPS data processed {"connection_id":217023,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:53:38] local.INFO: Acknowledgment sent {"connection_id":217023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:53:58] local.INFO: TCP Data received {"connection_id":220305,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:53:58] local.INFO: Processing buffer {"connection_id":220305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:53:58] local.INFO: IMEI packet received {"connection_id":220305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":220305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:54:04] local.INFO: TCP Data received {"connection_id":220305,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:54:04] local.INFO: Processing buffer {"connection_id":220305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:54:04] local.INFO: IMEI packet received {"connection_id":220305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":220305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:54:05] local.INFO: TCP Data received {"connection_id":220305,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f320e0012d69e400061ac7c0000f014a27..."} 
[2026-10-16 23:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f320e0012d69e400061ac7c0000f014a27..."} 
[2026-10-16 23:54:05] local.INFO: Processing buffer {"connection_id":220305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f320e0012d69e400061ac7c0000f014a27..."} 
[2026-10-16 23:54:05] local.INFO: Packet analysis {"connection_id":220305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f3"} 
[2026-10-16 23:54:05] local.INFO: Extracted packet for processing {"connection_id":220305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f3"} 
[2026-10-16 23:54:05] local.INFO: GPS Element Parsed {"raw_longitude":761914368,"raw_latitude":102418368,"longitude_deg":76.1914368,"latitude_deg":10.2418368,"altitude":15,"angle":330,"satellites":39,"speed":28,"hex_longitude":"2d69e400","hex_latitude":"061ac7c0","is_valid_coordinates":true} 
[2026-10-16 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-10-16 23:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796776960001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594235977793536,"note":"Value kept but may cause issues"} 
[2026-10-16 23:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7635008769493485568,"note":"Value kept but may cause issues"} 
[2026-10-16 23:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792174924000,"timestamp_ms":1792174924000,"timestamp_seconds":1792174924,"priority":1,"record_length":96,"hex_timestamp":"000001a145f320e0"} 
[2026-10-16 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-10-16 23: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-10-16 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 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-10-16 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-10-16 23:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":220305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":220305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":220305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796776960001,"66":27571,"53":206,"19":40704,"24":28,"16":15594235977793536,"45":7635008769493485568},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-10-16 23:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796776960001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:54:05] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-10-16 23:54:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594235977793536,"km_value":15594235977793.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7635008769493485568,"description":"Unknown IO ID 45"} 
[2026-10-16 23:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796776960001,"power":27571,"unknown_53":206,"unknown_19":40704,"ignition":28,"odometer":null,"unknown_45":7635008769493485568}} 
[2026-10-16 23:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":220305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:54:05] local.INFO: GPS data processed {"connection_id":220305,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:54:05] local.INFO: Acknowledgment sent {"connection_id":220305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:54:37] local.INFO: TCP Data received {"connection_id":220305,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f34fc0012d69d100061ae728000d014b23..."} 
[2026-10-16 23:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":220305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f34fc0012d69d100061ae728000d014b23..."} 
[2026-10-16 23:54:37] local.INFO: Processing buffer {"connection_id":220305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f34fc0012d69d100061ae728000d014b23..."} 
[2026-10-16 23:54:37] local.INFO: Packet analysis {"connection_id":220305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f3"} 
[2026-10-16 23:54:37] local.INFO: Extracted packet for processing {"connection_id":220305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f3"} 
[2026-10-16 23:54:37] local.INFO: GPS Element Parsed {"raw_longitude":761909504,"raw_latitude":102426408,"longitude_deg":76.1909504,"latitude_deg":10.2426408,"altitude":13,"angle":331,"satellites":35,"speed":32,"hex_longitude":"2d69d100","hex_latitude":"061ae728","is_valid_coordinates":true} 
[2026-10-16 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-10-16 23:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796780544001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594691244326912,"note":"Value kept but may cause issues"} 
[2026-10-16 23:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7630223694891565056,"note":"Value kept but may cause issues"} 
[2026-10-16 23:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1792174936000,"timestamp_ms":1792174936000,"timestamp_seconds":1792174936,"priority":1,"record_length":96,"hex_timestamp":"000001a145f34fc0"} 
[2026-10-16 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-10-16 23: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-10-16 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-10-16 23:54: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-10-16 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-10-16 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-10-16 23:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":220305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":220305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":220305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796780544001,"66":27463,"53":206,"19":40704,"24":32,"16":15594691244326912,"45":7630223694891565056},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-10-16 23:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796780544001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:54:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-10-16 23:54:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594691244326912,"km_value":15594691244326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7630223694891565056,"description":"Unknown IO ID 45"} 
[2026-10-16 23:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796780544001,"power":27463,"unknown_53":206,"unknown_19":40704,"ignition":32,"odometer":null,"unknown_45":7630223694891565056}} 
[2026-10-16 23:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":220305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:54:37] local.INFO: GPS data processed {"connection_id":220305,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:54:37] local.INFO: Acknowledgment sent {"connection_id":220305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:54:58] local.INFO: TCP Data received {"connection_id":217024,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:54:58] local.INFO: Processing buffer {"connection_id":217024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:54:58] local.INFO: IMEI packet received {"connection_id":217024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":217024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:55:00] local.INFO: TCP Data received {"connection_id":217024,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:55:00] local.INFO: Processing buffer {"connection_id":217024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:55:00] local.INFO: IMEI packet received {"connection_id":217024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":217024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:55:02] local.INFO: TCP Data received {"connection_id":217024,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:55:02] local.INFO: Processing buffer {"connection_id":217024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:55:02] local.INFO: IMEI packet received {"connection_id":217024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":217024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:55:04] local.INFO: TCP Data received {"connection_id":217024,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f38e40012d69bf00061b06b0000e014d23..."} 
[2026-10-16 23:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f38e40012d69bf00061b06b0000e014d23..."} 
[2026-10-16 23:55:04] local.INFO: Processing buffer {"connection_id":217024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f38e40012d69bf00061b06b0000e014d23..."} 
[2026-10-16 23:55:04] local.INFO: Packet analysis {"connection_id":217024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f3"} 
[2026-10-16 23:55:04] local.INFO: Extracted packet for processing {"connection_id":217024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f3"} 
[2026-10-16 23:55:04] local.INFO: GPS Element Parsed {"raw_longitude":761904896,"raw_latitude":102434480,"longitude_deg":76.1904896,"latitude_deg":10.243448,"altitude":14,"angle":333,"satellites":35,"speed":19,"hex_longitude":"2d69bf00","hex_latitude":"061b06b0","is_valid_coordinates":true} 
[2026-10-16 23:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796783616001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15595137920925696,"note":"Value kept but may cause issues"} 
[2026-10-16 23:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7624875670336120832,"note":"Value kept but may cause issues"} 
[2026-10-16 23:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1792174952000,"timestamp_ms":1792174952000,"timestamp_seconds":1792174952,"priority":1,"record_length":96,"hex_timestamp":"000001a145f38e40"} 
[2026-10-16 23:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:55: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-10-16 23:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":217024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":217024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":217024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796783616001,"66":27365,"53":206,"19":40704,"24":19,"16":15595137920925696,"45":7624875670336120832},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-10-16 23:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796783616001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:55:04] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-10-16 23:55:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15595137920925696,"km_value":15595137920925.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7624875670336120832,"description":"Unknown IO ID 45"} 
[2026-10-16 23:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796783616001,"power":27365,"unknown_53":206,"unknown_19":40704,"ignition":19,"odometer":null,"unknown_45":7624875670336120832}} 
[2026-10-16 23:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":217024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:55:04] local.INFO: GPS data processed {"connection_id":217024,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:55:04] local.INFO: Acknowledgment sent {"connection_id":217024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:55:35] local.INFO: TCP Data received {"connection_id":217024,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f57a70012d693380061c2cc80008014a2f..."} 
[2026-10-16 23:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f57a70012d693380061c2cc80008014a2f..."} 
[2026-10-16 23:55:35] local.INFO: Processing buffer {"connection_id":217024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f57a70012d693380061c2cc80008014a2f..."} 
[2026-10-16 23:55:35] local.INFO: Packet analysis {"connection_id":217024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f5"} 
[2026-10-16 23:55:35] local.INFO: Extracted packet for processing {"connection_id":217024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f5"} 
[2026-10-16 23:55:35] local.INFO: GPS Element Parsed {"raw_longitude":761869184,"raw_latitude":102509768,"longitude_deg":76.1869184,"latitude_deg":10.2509768,"altitude":8,"angle":330,"satellites":47,"speed":51,"hex_longitude":"2d693380","hex_latitude":"061c2cc8","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796817920001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15599179485151232,"note":"Value kept but may cause issues"} 
[2026-10-16 23:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7585961754824982528,"note":"Value kept but may cause issues"} 
[2026-10-16 23:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1792175078000,"timestamp_ms":1792175078000,"timestamp_seconds":1792175078,"priority":1,"record_length":96,"hex_timestamp":"000001a145f57a70"} 
[2026-10-16 23:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:55: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-10-16 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-10-16 23:55: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-10-16 23: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-10-16 23:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":217024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":217024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":217024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796817920001,"66":27397,"55":206,"19":40704,"24":51,"16":15599179485151232,"45":7585961754824982528},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 23:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796817920001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:55:35] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 23:55:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15599179485151232,"km_value":15599179485151.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7585961754824982528,"description":"Unknown IO ID 45"} 
[2026-10-16 23:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796817920001,"power":27397,"unknown_55":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7585961754824982528}} 
[2026-10-16 23:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":217024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:55:35] local.INFO: GPS data processed {"connection_id":217024,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:55:35] local.INFO: Acknowledgment sent {"connection_id":217024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:55:59] local.INFO: TCP Data received {"connection_id":217025,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:55:59] local.INFO: Processing buffer {"connection_id":217025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:55:59] local.INFO: IMEI packet received {"connection_id":217025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":217025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:56:02] local.INFO: TCP Data received {"connection_id":217025,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:56:02] local.INFO: Processing buffer {"connection_id":217025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:56:02] local.INFO: IMEI packet received {"connection_id":217025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":217025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:56:07] local.INFO: TCP Data received {"connection_id":217025,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:56:07] local.INFO: Processing buffer {"connection_id":217025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:56:07] local.INFO: IMEI packet received {"connection_id":217025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":217025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:56:09] local.INFO: TCP Data received {"connection_id":217025,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f595c8012d692280061c4b880009014a30..."} 
[2026-10-16 23:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f595c8012d692280061c4b880009014a30..."} 
[2026-10-16 23:56:09] local.INFO: Processing buffer {"connection_id":217025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f595c8012d692280061c4b880009014a30..."} 
[2026-10-16 23:56:09] local.INFO: Packet analysis {"connection_id":217025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f5"} 
[2026-10-16 23:56:09] local.INFO: Extracted packet for processing {"connection_id":217025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f5"} 
[2026-10-16 23:56:09] local.INFO: GPS Element Parsed {"raw_longitude":761864832,"raw_latitude":102517640,"longitude_deg":76.1864832,"latitude_deg":10.251764,"altitude":9,"angle":330,"satellites":48,"speed":50,"hex_longitude":"2d692280","hex_latitude":"061c4b88","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796819968001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15599613276848128,"note":"Value kept but may cause issues"} 
[2026-10-16 23:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7580543361525532672,"note":"Value kept but may cause issues"} 
[2026-10-16 23:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792175085000,"timestamp_ms":1792175085000,"timestamp_seconds":1792175085,"priority":1,"record_length":96,"hex_timestamp":"000001a145f595c8"} 
[2026-10-16 23:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23: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-10-16 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:56:09] 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-10-16 23: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-10-16 23:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":217025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":217025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":217025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796819968001,"66":27365,"55":206,"19":40704,"24":50,"16":15599613276848128,"45":7580543361525532672},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 23:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796819968001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:56:09] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 23:56:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15599613276848128,"km_value":15599613276848.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7580543361525532672,"description":"Unknown IO ID 45"} 
[2026-10-16 23:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796819968001,"power":27365,"unknown_55":206,"unknown_19":40704,"ignition":50,"odometer":null,"unknown_45":7580543361525532672}} 
[2026-10-16 23:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":217025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:56:09] local.INFO: GPS data processed {"connection_id":217025,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:56:09] local.INFO: Acknowledgment sent {"connection_id":217025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:57:00] local.INFO: TCP Data received {"connection_id":217025,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f5b508012d691080061c6d600008014d2f..."} 
[2026-10-16 23:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f5b508012d691080061c6d600008014d2f..."} 
[2026-10-16 23:57:00] local.INFO: Processing buffer {"connection_id":217025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f5b508012d691080061c6d600008014d2f..."} 
[2026-10-16 23:57:00] local.INFO: Packet analysis {"connection_id":217025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f5"} 
[2026-10-16 23:57:00] local.INFO: Extracted packet for processing {"connection_id":217025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f5"} 
[2026-10-16 23:57:00] local.INFO: GPS Element Parsed {"raw_longitude":761860224,"raw_latitude":102526304,"longitude_deg":76.1860224,"latitude_deg":10.2526304,"altitude":8,"angle":333,"satellites":47,"speed":49,"hex_longitude":"2d691080","hex_latitude":"061c6d60","is_valid_coordinates":true} 
[2026-10-16 23:57: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-10-16 23:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796821760001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15600090018217984,"note":"Value kept but may cause issues"} 
[2026-10-16 23:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7575758286923466752,"note":"Value kept but may cause issues"} 
[2026-10-16 23:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1792175093000,"timestamp_ms":1792175093000,"timestamp_seconds":1792175093,"priority":1,"record_length":96,"hex_timestamp":"000001a145f5b508"} 
[2026-10-16 23:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-10-16 23:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":217025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":217025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":217025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796821760001,"66":27267,"55":206,"19":40704,"24":49,"16":15600090018217984,"45":7575758286923466752},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-10-16 23:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796821760001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:57:00] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-10-16 23:57:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15600090018217984,"km_value":15600090018217.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7575758286923466752,"description":"Unknown IO ID 45"} 
[2026-10-16 23:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796821760001,"power":27267,"unknown_55":206,"unknown_19":40704,"ignition":49,"odometer":null,"unknown_45":7575758286923466752}} 
[2026-10-16 23:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":217025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:57:00] local.INFO: GPS data processed {"connection_id":217025,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:57:00] local.INFO: Acknowledgment sent {"connection_id":217025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:57:03] local.INFO: TCP Data received {"connection_id":218578,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:57:03] local.INFO: Processing buffer {"connection_id":218578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:57:03] local.INFO: IMEI packet received {"connection_id":218578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":218578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:57:07] local.INFO: TCP Data received {"connection_id":218578,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:57:07] local.INFO: Processing buffer {"connection_id":218578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:57:07] local.INFO: IMEI packet received {"connection_id":218578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":218578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:57:08] local.INFO: TCP Data received {"connection_id":218578,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:57:08] local.INFO: Processing buffer {"connection_id":218578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:57:08] local.INFO: IMEI packet received {"connection_id":218578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":218578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:57:09] local.INFO: TCP Data received {"connection_id":218578,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f6dde8012d686a80061de0a0000901472f..."} 
[2026-10-16 23:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f6dde8012d686a80061de0a0000901472f..."} 
[2026-10-16 23:57:09] local.INFO: Processing buffer {"connection_id":218578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f6dde8012d686a80061de0a0000901472f..."} 
[2026-10-16 23:57:09] local.INFO: Packet analysis {"connection_id":218578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f6"} 
[2026-10-16 23:57:09] local.INFO: Extracted packet for processing {"connection_id":218578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f6"} 
[2026-10-16 23:57:09] local.INFO: GPS Element Parsed {"raw_longitude":761817728,"raw_latitude":102621344,"longitude_deg":76.1817728,"latitude_deg":10.2621344,"altitude":9,"angle":327,"satellites":47,"speed":58,"hex_longitude":"2d686a80","hex_latitude":"061de0a0","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796841472001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15605162374594560,"note":"Value kept but may cause issues"} 
[2026-10-16 23:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7530300078209089536,"note":"Value kept but may cause issues"} 
[2026-10-16 23:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792175169000,"timestamp_ms":1792175169000,"timestamp_seconds":1792175169,"priority":1,"record_length":96,"hex_timestamp":"000001a145f6dde8"} 
[2026-10-16 23:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:57: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-10-16 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-10-16 23:57:09] 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-10-16 23: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-10-16 23:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":218578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":218578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":218578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796841472001,"66":27376,"210":206,"19":40704,"24":58,"16":15605162374594560,"45":7530300078209089536},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-10-16 23:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796841472001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:57:09] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-10-16 23:57:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15605162374594560,"km_value":15605162374594.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7530300078209089536,"description":"Unknown IO ID 45"} 
[2026-10-16 23:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796841472001,"power":27376,"unknown_210":206,"unknown_19":40704,"ignition":58,"odometer":null,"unknown_45":7530300078209089536}} 
[2026-10-16 23:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":218578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:57:09] local.INFO: GPS data processed {"connection_id":218578,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:57:09] local.INFO: Acknowledgment sent {"connection_id":218578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:57:13] local.INFO: TCP Data received {"connection_id":218578,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f6f558012d685840061dff080008014b2f..."} 
[2026-10-16 23:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f6f558012d685840061dff080008014b2f..."} 
[2026-10-16 23:57:13] local.INFO: Processing buffer {"connection_id":218578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f6f558012d685840061dff080008014b2f..."} 
[2026-10-16 23:57:13] local.INFO: Packet analysis {"connection_id":218578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f6"} 
[2026-10-16 23:57:13] local.INFO: Extracted packet for processing {"connection_id":218578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f6"} 
[2026-10-16 23:57:13] local.INFO: GPS Element Parsed {"raw_longitude":761813056,"raw_latitude":102629128,"longitude_deg":76.1813056,"latitude_deg":10.2629128,"altitude":8,"angle":331,"satellites":47,"speed":60,"hex_longitude":"2d685840","hex_latitude":"061dff08","is_valid_coordinates":true} 
[2026-10-16 23:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-10-16 23:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796843264001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15605600461258752,"note":"Value kept but may cause issues"} 
[2026-10-16 23:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7523966891235254272,"note":"Value kept but may cause issues"} 
[2026-10-16 23:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1792175175000,"timestamp_ms":1792175175000,"timestamp_seconds":1792175175,"priority":1,"record_length":96,"hex_timestamp":"000001a145f6f558"} 
[2026-10-16 23:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:57: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-10-16 23:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:57: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-10-16 23:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-10-16 23:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":218578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":218578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":218578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796843264001,"66":27463,"210":206,"19":40704,"24":60,"16":15605600461258752,"45":7523966891235254272},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-10-16 23:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796843264001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:57:13] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-10-16 23:57:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15605600461258752,"km_value":15605600461258.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7523966891235254272,"description":"Unknown IO ID 45"} 
[2026-10-16 23:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796843264001,"power":27463,"unknown_210":206,"unknown_19":40704,"ignition":60,"odometer":null,"unknown_45":7523966891235254272}} 
[2026-10-16 23:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":218578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:57:13] local.INFO: GPS data processed {"connection_id":218578,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:57:13] local.INFO: Acknowledgment sent {"connection_id":218578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:57:16] local.INFO: TCP Data received {"connection_id":218577,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":218577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:57:16] local.INFO: Processing buffer {"connection_id":218577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:57:16] local.INFO: IMEI packet received {"connection_id":218577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":218577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:57:50] local.INFO: TCP Data received {"connection_id":217240,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:57:50] local.INFO: Processing buffer {"connection_id":217240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-10-16 23:57:50] local.INFO: IMEI packet received {"connection_id":217240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-10-16 23:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":217240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:58:00] local.INFO: TCP Data received {"connection_id":217241,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:00] local.INFO: Processing buffer {"connection_id":217241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:00] local.INFO: IMEI packet received {"connection_id":217241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":217241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:58:00] local.INFO: TCP Data received {"connection_id":217241,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:00] local.INFO: Processing buffer {"connection_id":217241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:00] local.INFO: IMEI packet received {"connection_id":217241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":217241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:58:02] local.INFO: TCP Data received {"connection_id":217241,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:02] local.INFO: Processing buffer {"connection_id":217241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:02] local.INFO: IMEI packet received {"connection_id":217241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":217241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:58:07] local.INFO: TCP Data received {"connection_id":217241,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:07] local.INFO: Processing buffer {"connection_id":217241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:07] local.INFO: IMEI packet received {"connection_id":217241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":217241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:58:09] local.INFO: TCP Data received {"connection_id":217241,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f710b0012d684580061e22680008014e2f..."} 
[2026-10-16 23:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f710b0012d684580061e22680008014e2f..."} 
[2026-10-16 23:58:09] local.INFO: Processing buffer {"connection_id":217241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f710b0012d684580061e22680008014e2f..."} 
[2026-10-16 23:58:09] local.INFO: Packet analysis {"connection_id":217241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f7"} 
[2026-10-16 23:58:09] local.INFO: Extracted packet for processing {"connection_id":217241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f7"} 
[2026-10-16 23:58:09] local.INFO: GPS Element Parsed {"raw_longitude":761808256,"raw_latitude":102638184,"longitude_deg":76.1808256,"latitude_deg":10.2638184,"altitude":8,"angle":334,"satellites":47,"speed":53,"hex_longitude":"2d684580","hex_latitude":"061e2268","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796844800001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15606098677465088,"note":"Value kept but may cause issues"} 
[2026-10-16 23:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7518829972912277504,"note":"Value kept but may cause issues"} 
[2026-10-16 23:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1792175182000,"timestamp_ms":1792175182000,"timestamp_seconds":1792175182,"priority":1,"record_length":96,"hex_timestamp":"000001a145f710b0"} 
[2026-10-16 23:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:58: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-10-16 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23: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-10-16 23:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":217241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":217241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":217241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796844800001,"66":27376,"210":206,"19":40704,"24":53,"16":15606098677465088,"45":7518829972912277504},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-10-16 23:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796844800001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:58:09] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-10-16 23:58:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15606098677465088,"km_value":15606098677465.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7518829972912277504,"description":"Unknown IO ID 45"} 
[2026-10-16 23:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796844800001,"power":27376,"unknown_210":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7518829972912277504}} 
[2026-10-16 23:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":217241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:58:09] local.INFO: GPS data processed {"connection_id":217241,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:58:09] local.INFO: Acknowledgment sent {"connection_id":217241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:58:45] local.INFO: TCP Data received {"connection_id":217241,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f84930012d679140061fbb18000d01592f..."} 
[2026-10-16 23:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f84930012d679140061fbb18000d01592f..."} 
[2026-10-16 23:58:45] local.INFO: Processing buffer {"connection_id":217241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f84930012d679140061fbb18000d01592f..."} 
[2026-10-16 23:58:45] local.INFO: Packet analysis {"connection_id":217241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f8"} 
[2026-10-16 23:58:45] local.INFO: Extracted packet for processing {"connection_id":217241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f8"} 
[2026-10-16 23:58:45] local.INFO: GPS Element Parsed {"raw_longitude":761762112,"raw_latitude":102742808,"longitude_deg":76.1762112,"latitude_deg":10.2742808,"altitude":13,"angle":345,"satellites":47,"speed":59,"hex_longitude":"2d679140","hex_latitude":"061fbb18","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796865280001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15611677839982592,"note":"Value kept but may cause issues"} 
[2026-10-16 23:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7465912677317228544,"note":"Value kept but may cause issues"} 
[2026-10-16 23:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1792175262000,"timestamp_ms":1792175262000,"timestamp_seconds":1792175262,"priority":1,"record_length":96,"hex_timestamp":"000001a145f84930"} 
[2026-10-16 23:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:58: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-10-16 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-10-16 23:58:45] 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-10-16 23: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-10-16 23:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":217241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":217241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":217241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796865280001,"66":27463,"237":206,"19":40704,"24":59,"16":15611677839982592,"45":7465912677317228544},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-10-16 23:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796865280001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:58:45] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-10-16 23:58:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15611677839982592,"km_value":15611677839982.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7465912677317228544,"description":"Unknown IO ID 45"} 
[2026-10-16 23:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796865280001,"power":27463,"unknown_237":206,"unknown_19":40704,"ignition":59,"odometer":null,"unknown_45":7465912677317228544}} 
[2026-10-16 23:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":217241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:58:45] local.INFO: GPS data processed {"connection_id":217241,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:58:45] local.INFO: Acknowledgment sent {"connection_id":217241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:58:57] local.INFO: TCP Data received {"connection_id":217026,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:57] local.INFO: Processing buffer {"connection_id":217026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:58:57] local.INFO: IMEI packet received {"connection_id":217026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-10-16 23:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":217026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-10-16 23:59:00] local.INFO: TCP Data received {"connection_id":217026,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:59:00] local.INFO: Processing buffer {"connection_id":217026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:59:00] local.INFO: IMEI packet received {"connection_id":217026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":217026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:59:04] local.INFO: TCP Data received {"connection_id":217026,"ip":"117.224.232.122","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:59:04] local.INFO: Processing buffer {"connection_id":217026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-10-16 23:59:04] local.INFO: IMEI packet received {"connection_id":217026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-10-16 23:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":217026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-10-16 23:59:05] local.INFO: TCP Data received {"connection_id":217026,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f86488012d678800061fe1e0000d015b2f..."} 
[2026-10-16 23:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f86488012d678800061fe1e0000d015b2f..."} 
[2026-10-16 23:59:05] local.INFO: Processing buffer {"connection_id":217026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f86488012d678800061fe1e0000d015b2f..."} 
[2026-10-16 23:59:05] local.INFO: Packet analysis {"connection_id":217026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f8"} 
[2026-10-16 23:59:05] local.INFO: Extracted packet for processing {"connection_id":217026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f8"} 
[2026-10-16 23:59:05] local.INFO: GPS Element Parsed {"raw_longitude":761759744,"raw_latitude":102752736,"longitude_deg":76.1759744,"latitude_deg":10.2752736,"altitude":13,"angle":347,"satellites":47,"speed":55,"hex_longitude":"2d678800","hex_latitude":"061fe1e0","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796867072001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15612171761221632,"note":"Value kept but may cause issues"} 
[2026-10-16 23:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7462816452575959040,"note":"Value kept but may cause issues"} 
[2026-10-16 23:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1792175269000,"timestamp_ms":1792175269000,"timestamp_seconds":1792175269,"priority":1,"record_length":96,"hex_timestamp":"000001a145f86488"} 
[2026-10-16 23:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:59: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-10-16 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-10-16 23: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-10-16 23:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":217026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":217026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":217026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796867072001,"66":27463,"237":206,"19":40704,"24":55,"16":15612171761221632,"45":7462816452575959040},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-10-16 23:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796867072001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:59:05] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-10-16 23:59:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15612171761221632,"km_value":15612171761221.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7462816452575959040,"description":"Unknown IO ID 45"} 
[2026-10-16 23:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796867072001,"power":27463,"unknown_237":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7462816452575959040}} 
[2026-10-16 23:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":217026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:59:05] local.INFO: GPS data processed {"connection_id":217026,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:59:05] local.INFO: Acknowledgment sent {"connection_id":217026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:59:06] local.INFO: TCP Data received {"connection_id":217026,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f87fe0012d678040062005c8000e015c2f..."} 
[2026-10-16 23:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f87fe0012d678040062005c8000e015c2f..."} 
[2026-10-16 23:59:06] local.INFO: Processing buffer {"connection_id":217026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f87fe0012d678040062005c8000e015c2f..."} 
[2026-10-16 23:59:06] local.INFO: Packet analysis {"connection_id":217026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f8"} 
[2026-10-16 23:59:06] local.INFO: Extracted packet for processing {"connection_id":217026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f8"} 
[2026-10-16 23:59:06] local.INFO: GPS Element Parsed {"raw_longitude":761757760,"raw_latitude":102761928,"longitude_deg":76.175776,"latitude_deg":10.2761928,"altitude":14,"angle":348,"satellites":47,"speed":53,"hex_longitude":"2d678040","hex_latitude":"062005c8","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796868864001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15612627027755008,"note":"Value kept but may cause issues"} 
[2026-10-16 23:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7460212809043927040,"note":"Value kept but may cause issues"} 
[2026-10-16 23:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1792175276000,"timestamp_ms":1792175276000,"timestamp_seconds":1792175276,"priority":1,"record_length":96,"hex_timestamp":"000001a145f87fe0"} 
[2026-10-16 23:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-10-16 23:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-10-16 23:59: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-10-16 23: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-10-16 23:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":217026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":217026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":217026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796868864001,"66":27376,"237":206,"19":40704,"24":53,"16":15612627027755008,"45":7460212809043927040},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-10-16 23:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796868864001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:59:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-10-16 23:59:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15612627027755008,"km_value":15612627027755.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7460212809043927040,"description":"Unknown IO ID 45"} 
[2026-10-16 23:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796868864001,"power":27376,"unknown_237":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7460212809043927040}} 
[2026-10-16 23:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":217026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:59:06] local.INFO: GPS data processed {"connection_id":217026,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:59:06] local.INFO: Acknowledgment sent {"connection_id":217026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-10-16 23:59:38] local.INFO: TCP Data received {"connection_id":217026,"ip":"117.224.232.122","data_length":795,"data_hex":"000000000000030f8e0a000001a145f89b38012d6778c006202a68000f015c2f..."} 
[2026-10-16 23:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":217026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a145f89b38012d6778c006202a68000f015c2f..."} 
[2026-10-16 23:59:38] local.INFO: Processing buffer {"connection_id":217026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a145f89b38012d6778c006202a68000f015c2f..."} 
[2026-10-16 23:59:38] local.INFO: Packet analysis {"connection_id":217026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a145f8"} 
[2026-10-16 23:59:38] local.INFO: Extracted packet for processing {"connection_id":217026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a145f8"} 
[2026-10-16 23:59:38] local.INFO: GPS Element Parsed {"raw_longitude":761755840,"raw_latitude":102771304,"longitude_deg":76.175584,"latitude_deg":10.2771304,"altitude":15,"angle":348,"satellites":47,"speed":55,"hex_longitude":"2d6778c0","hex_latitude":"06202a68","is_valid_coordinates":true} 
[2026-10-16 23: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-10-16 23:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458796870656001,"note":"Value kept but may cause issues"} 
[2026-10-16 23:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15613090884222976,"note":"Value kept but may cause issues"} 
[2026-10-16 23:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7458031377976772608,"note":"Value kept but may cause issues"} 
[2026-10-16 23:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-10-16 23:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1792175283000,"timestamp_ms":1792175283000,"timestamp_seconds":1792175283,"priority":1,"record_length":96,"hex_timestamp":"000001a145f89b38"} 
[2026-10-16 23:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-10-16 23:59: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-10-16 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-10-16 23:59: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-10-16 23: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-10-16 23:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-10-16 23:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-10-16 23:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":217026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-10-16 23:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":217026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":217026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-10-16 23:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.232.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-10-16 23:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-10-16 23:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-10-16 23:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458796870656001,"66":27463,"237":206,"19":40704,"24":55,"16":15613090884222976,"45":7458031377976772608},"client_ip":"117.224.232.122","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-10-16 23:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-10-16 23:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-10-16 23:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458796870656001,"description":"Unknown IO ID 0"} 
[2026-10-16 23:59:38] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-10-16 23:59:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-10-16 23:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15613090884222976,"km_value":15613090884222.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-10-16 23:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7458031377976772608,"description":"Unknown IO ID 45"} 
[2026-10-16 23:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458796870656001,"power":27463,"unknown_237":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7458031377976772608}} 
[2026-10-16 23:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":217026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":1614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-10-16 23:59:38] local.INFO: GPS data processed {"connection_id":217026,"processed":1,"errors":0,"total":1} 
[2026-10-16 23:59:38] local.INFO: Acknowledgment sent {"connection_id":217026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
